mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-26 10:51:12 -06:00
Rebuild frontend
This commit is contained in:
parent
9493046212
commit
0e8d2c5f0a
@ -1 +1 @@
|
||||
<!DOCTYPE html><html><head><base href=/v3/ ><title>Firefly III</title><meta charset=utf-8><meta name=description content="Personal finances manager"><meta name=format-detection content="telephone=no"><meta name=msapplication-tap-highlight content=no><meta name=viewport content="user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,width=device-width"><link rel=icon type=image/png sizes=32x32 href=favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=favicon-16x16.png><link rel=apple-touch-icon sizes=76x76 href=maskable76.png><link rel=apple-touch-icon sizes=120x120 href=maskable120.png><link rel=apple-touch-icon sizes=152x152 href=maskable152.png><link rel=apple-touch-icon sizes=180x180 href=apple-touch-icon.png><link rel=mask-icon href=safari-pinned-tab.svg color=#3c8dbc><link href=maskable192.png rel=icon sizes=192x192><link href=maskable128.png rel=icon sizes=128x128><link rel=manifest href=manifest.webmanifest><meta name=msapplication-TileColor content=#1e6581><meta name=msapplication-TileImage content=maskable512.png><meta name=msapplication-tap-highlight content=no><meta name=application-name content="Firefly III"><meta name=robots content="noindex, nofollow, noarchive, noodp, NoImageIndex, noydir"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-title content="Firefly III"><meta name=application-name content="Firefly III"><meta name=msapplication-TileColor content=#3c8dbc><meta name=msapplication-TileImage content="mstile-144x144.png?v=3e8AboOwbd"><meta name=theme-color content=#3c8dbc><script defer src=/v3/js/vendor.5bb4a90b.js></script><script defer src=/v3/js/app.813eaa78.js></script><link href=/v3/css/vendor.bbc37707.css rel=stylesheet><link href=/v3/css/app.50c7ba73.css rel=stylesheet></head><body><div id=q-app></div></body></html>
|
||||
<!DOCTYPE html><html><head><base href=/v3/ ><title>Firefly III</title><meta charset=utf-8><meta name=description content="Personal finances manager"><meta name=format-detection content="telephone=no"><meta name=msapplication-tap-highlight content=no><meta name=viewport content="user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,width=device-width"><link rel=icon type=image/png sizes=32x32 href=favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=favicon-16x16.png><link rel=apple-touch-icon sizes=76x76 href=maskable76.png><link rel=apple-touch-icon sizes=120x120 href=maskable120.png><link rel=apple-touch-icon sizes=152x152 href=maskable152.png><link rel=apple-touch-icon sizes=180x180 href=apple-touch-icon.png><link rel=mask-icon href=safari-pinned-tab.svg color=#3c8dbc><link href=maskable192.png rel=icon sizes=192x192><link href=maskable128.png rel=icon sizes=128x128><link rel=manifest href=manifest.webmanifest><meta name=msapplication-TileColor content=#1e6581><meta name=msapplication-TileImage content=maskable512.png><meta name=msapplication-tap-highlight content=no><meta name=application-name content="Firefly III"><meta name=robots content="noindex, nofollow, noarchive, noodp, NoImageIndex, noydir"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-title content="Firefly III"><meta name=application-name content="Firefly III"><meta name=msapplication-TileColor content=#3c8dbc><meta name=msapplication-TileImage content="mstile-144x144.png?v=3e8AboOwbd"><meta name=theme-color content=#3c8dbc><script defer src=/v3/js/vendor.2185bd8c.js></script><script defer src=/v3/js/app.fc9b9b3a.js></script><link href=/v3/css/vendor.bbc37707.css rel=stylesheet><link href=/v3/css/app.50c7ba73.css rel=stylesheet></head><body><div id=q-app></div></body></html>
|
1
public/v3/js/1181.0f44c4fe.js
vendored
Normal file
1
public/v3/js/1181.0f44c4fe.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/1181.c494420c.js
vendored
1
public/v3/js/1181.c494420c.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/1224.6f8f55ff.js
vendored
1
public/v3/js/1224.6f8f55ff.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/1224.b5951a25.js
vendored
Normal file
1
public/v3/js/1224.b5951a25.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/1381.2c1ded32.js
vendored
Normal file
1
public/v3/js/1381.2c1ded32.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/1381.30e6c3b7.js
vendored
1
public/v3/js/1381.30e6c3b7.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/1444.3103a646.js
vendored
Normal file
1
public/v3/js/1444.3103a646.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/1444.46a1355a.js
vendored
1
public/v3/js/1444.46a1355a.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/1473.e01b1c84.js
vendored
Normal file
1
public/v3/js/1473.e01b1c84.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/1473.ec3f2463.js
vendored
1
public/v3/js/1473.ec3f2463.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/1501.455846cc.js
vendored
1
public/v3/js/1501.455846cc.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[1501],{1501:(t,n,a)=>{a.r(n),a.d(n,{default:()=>z});var e=a(9835),s=a(6970);const i={class:"row q-mx-md"},r={class:"col-12"},o={class:"text-h6"},l={class:"row"},u={class:"col-12 q-mb-xs"},c=(0,e._)("br",null,null,-1),d=(0,e._)("br",null,null,-1),p=(0,e._)("br",null,null,-1);function g(t,n,a,g,w,h){const _=(0,e.up)("q-card-section"),f=(0,e.up)("q-card"),b=(0,e.up)("q-page");return(0,e.wg)(),(0,e.j4)(b,null,{default:(0,e.w5)((()=>[(0,e._)("div",i,[(0,e._)("div",r,[(0,e.Wm)(f,{bordered:""},{default:(0,e.w5)((()=>[(0,e.Wm)(_,null,{default:(0,e.w5)((()=>[(0,e._)("div",o,"Transaction: "+(0,s.zw)(w.title),1)])),_:1}),(0,e.Wm)(_,null,{default:(0,e.w5)((()=>[((0,e.wg)(!0),(0,e.iD)(e.HY,null,(0,e.Ko)(w.group.transactions,((t,n)=>((0,e.wg)(),(0,e.iD)("div",l,[(0,e._)("div",u,[(0,e._)("strong",null,"index "+(0,s.zw)(n),1),c,(0,e.Uk)(" "+(0,s.zw)(t.description),1),d,(0,e.Uk)(" "+(0,s.zw)(t.amount),1),p,(0,e.Uk)(" "+(0,s.zw)(t.source_name)+" --\x3e "+(0,s.zw)(t.destination_name),1)])])))),256))])),_:1})])),_:1})])])])),_:1})}var w=a(9466),h=a(5146);const _={name:"Show",data(){return{title:"",group:{transactions:[]},rows:[],rowsNumber:1,rowsPerPage:10,page:1}},created(){this.id=parseInt(this.$route.params.id),this.getTransaction()},mounted(){},components:{LargeTable:h.Z},methods:{onRequest:function(t){this.page=t.page,this.getTag()},getTransaction:function(){let t=new w.Z;this.loading=!0,t.get(this.id).then((t=>this.parseTransaction(t.data.data)))},parseTransaction:function(t){this.group={group_title:t.attributes.group_title,transactions:[]},null!==t.attributes.group_title&&(this.title=t.attributes.group_title);for(let n in t.attributes.transactions)if(t.attributes.transactions.hasOwnProperty(n)){let a=t.attributes.transactions[n];this.group.transactions.push(a),0===parseInt(n)&&null===t.attributes.group_title&&(this.title=a.description)}this.loading=!1}}};var f=a(1639),b=a(9885),m=a(4458),v=a(3190),k=a(9984),T=a.n(k);const q=(0,f.Z)(_,[["render",g]]),z=q;T()(_,"components",{QPage:b.Z,QCard:m.Z,QCardSection:v.Z})}}]);
|
1
public/v3/js/1501.dc203d97.js
vendored
Normal file
1
public/v3/js/1501.dc203d97.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[1501],{1501:(t,a,n)=>{n.r(a),n.d(a,{default:()=>z});var i=n(9835),s=n(6970);const e={class:"row q-mx-md"},r={class:"col-12"},o={class:"text-h6"},l={class:"row"},u={class:"col-12 q-mb-xs"},c=(0,i._)("br",null,null,-1),d=(0,i._)("br",null,null,-1),p=(0,i._)("br",null,null,-1);function g(t,a,n,g,h,w){const _=(0,i.up)("q-card-section"),b=(0,i.up)("q-card"),m=(0,i.up)("q-page");return(0,i.wg)(),(0,i.j4)(m,null,{default:(0,i.w5)((()=>[(0,i._)("div",e,[(0,i._)("div",r,[(0,i.Wm)(b,{bordered:""},{default:(0,i.w5)((()=>[(0,i.Wm)(_,null,{default:(0,i.w5)((()=>[(0,i._)("div",o,"Transaction: "+(0,s.zw)(h.title),1)])),_:1}),(0,i.Wm)(_,null,{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(h.group.transactions,((t,a)=>((0,i.wg)(),(0,i.iD)("div",l,[(0,i._)("div",u,[(0,i._)("strong",null,"index "+(0,s.zw)(a),1),c,(0,i.Uk)(" "+(0,s.zw)(t.description),1),d,(0,i.Uk)(" "+(0,s.zw)(t.amount),1),p,(0,i.Uk)(" "+(0,s.zw)(t.source_name)+" --\x3e "+(0,s.zw)(t.destination_name),1)])])))),256))])),_:1})])),_:1})])])])),_:1})}var h=n(9466),w=n(5146);const _={name:"Show",data(){return{title:"",group:{transactions:[]},rows:[],rowsNumber:1,rowsPerPage:10,page:1}},created(){this.id=parseInt(this.$route.params.id),this.getTransaction()},mounted(){},components:{LargeTable:w.Z},methods:{onRequest:function(t){this.page=t.page,this.getTag()},getTransaction:function(){let t=new h.Z;this.loading=!0,t.get(this.id).then((t=>this.parseTransaction(t.data.data)))},parseTransaction:function(t){this.group={group_title:t.attributes.group_title,transactions:[]},null!==t.attributes.group_title&&(this.title=t.attributes.group_title);for(let a in t.attributes.transactions)if(t.attributes.transactions.hasOwnProperty(a)){let n=t.attributes.transactions[a];this.group.transactions.push(n),0===parseInt(a)&&null===t.attributes.group_title&&(this.title=n.description)}this.loading=!1}}};var b=n(1639),m=n(9885),f=n(4458),T=n(3190),v=n(9984),k=n.n(v);const q=(0,b.Z)(_,[["render",g]]),z=q;k()(_,"components",{QPage:m.Z,QCard:f.Z,QCardSection:T.Z})}}]);
|
1
public/v3/js/1505.198cc04d.js
vendored
1
public/v3/js/1505.198cc04d.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/1505.a70a3858.js
vendored
Normal file
1
public/v3/js/1505.a70a3858.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/1543.77a13479.js
vendored
Normal file
1
public/v3/js/1543.77a13479.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/1543.a2c65361.js
vendored
1
public/v3/js/1543.a2c65361.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/1704.6ba92dee.js
vendored
Normal file
1
public/v3/js/1704.6ba92dee.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[1704],{1704:(e,s,t)=>{t.r(s),t.d(s,{default:()=>H});var r=t(9835),i=t(6970);const l={class:"row q-mx-md"},o={class:"col-12"},a={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Edit rule",-1),d={class:"row"},c={class:"col-12 q-mb-xs"},h={class:"row q-mx-md"},m={class:"col-12"},b={class:"row"},p={class:"col-12 text-right"},f={class:"row"},g={class:"col-12 text-right"};function w(e,s,t,w,_,v){const q=(0,r.up)("q-btn"),E=(0,r.up)("q-banner"),R=(0,r.up)("q-card-section"),k=(0,r.up)("q-input"),x=(0,r.up)("q-card"),C=(0,r.up)("q-checkbox"),S=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",l,[(0,r._)("div",o,[""!==_.errorMessage?((0,r.wg)(),(0,r.j4)(E,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",onClick:v.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,i.zw)(_.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",a,[(0,r._)("div",n,[(0,r.Wm)(x,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,[(0,r._)("div",c,[(0,r.Wm)(k,{"error-message":_.submissionErrors.title,error:_.hasSubmissionErrors.title,"bottom-slots":"",disable:v.disabledInput,type:"text",clearable:"",modelValue:_.title,"onUpdate:modelValue":s[0]||(s[0]=e=>_.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",h,[(0,r._)("div",m,[(0,r.Wm)(x,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",b,[(0,r._)("div",p,[(0,r.Wm)(q,{disable:v.disabledInput,color:"primary",label:"Update",onClick:v.submitRule},null,8,["disable","onClick"])])]),(0,r._)("div",f,[(0,r._)("div",g,[(0,r.Wm)(C,{disable:v.disabledInput,modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var _=t(9543),v=t(1569);class q{post(e,s){let t="/api/v1/rules/"+e;return v.api.put(t,s)}}var E=t(3555);const R={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",id:0,title:"",store:null}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.store=(0,E.S)(),this.collectRule()},methods:{collectRule:function(){let e=new _.Z;e.get(this.id).then((e=>this.parseRule(e)))},parseRule:function(e){this.title=e.data.data.attributes.title},resetErrors:function(){this.submissionErrors={title:""},this.hasSubmissionErrors={title:!1}},submitRule:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildRule();(new q).post(this.id,e).catch(this.processErrors).then(this.processSuccess)},buildRule:function(){return{title:this.title}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.store.refreshCacheKey(),!e)return;this.submitting=!1;let s={level:"success",text:"Rule is updated",show:!0,action:{show:!0,text:"Go to rule",link:{name:"rules.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var k=t(1639),x=t(9885),C=t(7128),S=t(8879),W=t(4458),Z=t(3190),I=t(6611),y=t(1221),Q=t(9984),M=t.n(Q);const V=(0,k.Z)(R,[["render",w]]),H=V;M()(R,"components",{QPage:x.Z,QBanner:C.Z,QBtn:S.Z,QCard:W.Z,QCardSection:Z.Z,QInput:I.Z,QCheckbox:y.Z})}}]);
|
1
public/v3/js/1704.b4f4e63a.js
vendored
1
public/v3/js/1704.b4f4e63a.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[1704],{1704:(e,s,t)=>{t.r(s),t.d(s,{default:()=>H});var r=t(9835),i=t(6970);const l={class:"row q-mx-md"},o={class:"col-12"},a={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Edit rule",-1),d={class:"row"},c={class:"col-12 q-mb-xs"},h={class:"row q-mx-md"},m={class:"col-12"},b={class:"row"},p={class:"col-12 text-right"},f={class:"row"},w={class:"col-12 text-right"};function g(e,s,t,g,_,v){const q=(0,r.up)("q-btn"),E=(0,r.up)("q-banner"),R=(0,r.up)("q-card-section"),k=(0,r.up)("q-input"),x=(0,r.up)("q-card"),C=(0,r.up)("q-checkbox"),S=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",l,[(0,r._)("div",o,[""!==_.errorMessage?((0,r.wg)(),(0,r.j4)(E,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",onClick:v.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,i.zw)(_.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",a,[(0,r._)("div",n,[(0,r.Wm)(x,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,[(0,r._)("div",c,[(0,r.Wm)(k,{"error-message":_.submissionErrors.title,error:_.hasSubmissionErrors.title,"bottom-slots":"",disable:v.disabledInput,type:"text",clearable:"",modelValue:_.title,"onUpdate:modelValue":s[0]||(s[0]=e=>_.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",h,[(0,r._)("div",m,[(0,r.Wm)(x,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",b,[(0,r._)("div",p,[(0,r.Wm)(q,{disable:v.disabledInput,color:"primary",label:"Update",onClick:v.submitRule},null,8,["disable","onClick"])])]),(0,r._)("div",f,[(0,r._)("div",w,[(0,r.Wm)(C,{disable:v.disabledInput,modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var _=t(9543),v=t(1569);class q{post(e,s){let t="/api/v1/rules/"+e;return v.api.put(t,s)}}var E=t(3555);const R={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",id:0,title:"",store:null}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.store=(0,E.S)(),this.collectRule()},methods:{collectRule:function(){let e=new _.Z;e.get(this.id).then((e=>this.parseRule(e)))},parseRule:function(e){this.title=e.data.data.attributes.title},resetErrors:function(){this.submissionErrors={title:""},this.hasSubmissionErrors={title:!1}},submitRule:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildRule();(new q).post(this.id,e).catch(this.processErrors).then(this.processSuccess)},buildRule:function(){return{title:this.title}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.store.refreshCacheKey(),!e)return;this.submitting=!1;let s={level:"success",text:"Rule is updated",show:!0,action:{show:!0,text:"Go to rule",link:{name:"rules.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var k=t(1639),x=t(9885),C=t(7128),S=t(8879),W=t(4458),Z=t(3190),I=t(6611),y=t(1221),Q=t(9984),M=t.n(Q);const V=(0,k.Z)(R,[["render",g]]),H=V;M()(R,"components",{QPage:x.Z,QBanner:C.Z,QBtn:S.Z,QCard:W.Z,QCardSection:Z.Z,QInput:I.Z,QCheckbox:y.Z})}}]);
|
1
public/v3/js/1730.d161ad4a.js
vendored
1
public/v3/js/1730.d161ad4a.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[1730],{1730:(e,t,s)=>{s.r(t),s.d(t,{default:()=>Z});var a=s(9835),r=s(6970);const o={class:"row q-mx-md"},i={class:"col-12"},n={class:"text-h6"},g={class:"row"},l={class:"col-12 q-mb-xs"},u=(0,a._)("br",null,null,-1),h={class:"row q-mt-sm"},c={class:"col-12"};function w(e,t,s,w,d,p){const m=(0,a.up)("q-card-section"),y=(0,a.up)("q-card"),b=(0,a.up)("LargeTable"),f=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(f,null,{default:(0,a.w5)((()=>[(0,a._)("div",o,[(0,a._)("div",i,[(0,a.Wm)(y,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(m,null,{default:(0,a.w5)((()=>[(0,a._)("div",n,(0,r.zw)(d.category.name),1)])),_:1}),(0,a.Wm)(m,null,{default:(0,a.w5)((()=>[(0,a._)("div",g,[(0,a._)("div",l,[(0,a.Uk)(" Name: "+(0,r.zw)(d.category.name),1),u])])])),_:1})])),_:1})])]),(0,a._)("div",h,[(0,a._)("div",c,[(0,a.Wm)(b,{ref:"table",title:"Transactions",rows:d.rows,loading:e.loading,onOnRequest:p.onRequest,"rows-number":d.rowsNumber,"rows-per-page":d.rowsPerPage,page:d.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var d=s(5146),p=s(4255),m=s(3247);const y={name:"Show",data(){return{category:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1,id:0}},created(){"no-category"===this.$route.params.id&&(this.id=0,this.getWithoutCategory()),"no-category"!==this.$route.params.id&&(this.id=parseInt(this.$route.params.id),this.getCategory())},components:{LargeTable:d.Z},methods:{onRequest:function(e){this.page=e.page,this.getCategory()},getWithoutCategory:function(){this.category={name:"(without category)"},this.loading=!0;const e=new m.Z;this.rows=[];let t=new p.Z;t.transactionsWithoutCategory(this.page,this.getCacheKey).then((t=>{let s=e.parseResponse(t);this.rowsPerPage=s.rowsPerPage,this.rowsNumber=s.rowsNumber,this.rows=s.rows,this.loading=!1}))},getCategory:function(){let e=new p.Z;e.get(this.id).then((e=>this.parseCategory(e))),this.loading=!0;const t=new m.Z;this.rows=[],e.transactions(this.id,this.page,this.getCacheKey).then((e=>{let s=t.parseResponse(e);this.rowsPerPage=s.rowsPerPage,this.rowsNumber=s.rowsNumber,this.rows=s.rows,this.loading=!1}))},parseCategory:function(e){this.category={name:e.data.data.attributes.name}}}};var b=s(1639),f=s(9885),C=s(4458),_=s(3190),P=s(9984),q=s.n(P);const v=(0,b.Z)(y,[["render",w]]),Z=v;q()(y,"components",{QPage:f.Z,QCard:C.Z,QCardSection:_.Z})}}]);
|
1
public/v3/js/1730.e34a4738.js
vendored
Normal file
1
public/v3/js/1730.e34a4738.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[1730],{1730:(e,t,s)=>{s.r(t),s.d(t,{default:()=>Z});var a=s(9835),r=s(6970);const o={class:"row q-mx-md"},i={class:"col-12"},n={class:"text-h6"},g={class:"row"},l={class:"col-12 q-mb-xs"},h=(0,a._)("br",null,null,-1),u={class:"row q-mt-sm"},c={class:"col-12"};function w(e,t,s,w,d,p){const m=(0,a.up)("q-card-section"),y=(0,a.up)("q-card"),b=(0,a.up)("LargeTable"),f=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(f,null,{default:(0,a.w5)((()=>[(0,a._)("div",o,[(0,a._)("div",i,[(0,a.Wm)(y,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(m,null,{default:(0,a.w5)((()=>[(0,a._)("div",n,(0,r.zw)(d.category.name),1)])),_:1}),(0,a.Wm)(m,null,{default:(0,a.w5)((()=>[(0,a._)("div",g,[(0,a._)("div",l,[(0,a.Uk)(" Name: "+(0,r.zw)(d.category.name),1),h])])])),_:1})])),_:1})])]),(0,a._)("div",u,[(0,a._)("div",c,[(0,a.Wm)(b,{ref:"table",title:"Transactions",rows:d.rows,loading:e.loading,onOnRequest:p.onRequest,"rows-number":d.rowsNumber,"rows-per-page":d.rowsPerPage,page:d.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var d=s(5146),p=s(4255),m=s(3247);const y={name:"Show",data(){return{category:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1,id:0}},created(){"no-category"===this.$route.params.id&&(this.id=0,this.getWithoutCategory()),"no-category"!==this.$route.params.id&&(this.id=parseInt(this.$route.params.id),this.getCategory())},components:{LargeTable:d.Z},methods:{onRequest:function(e){this.page=e.page,this.getCategory()},getWithoutCategory:function(){this.category={name:"(without category)"},this.loading=!0;const e=new m.Z;this.rows=[];let t=new p.Z;t.transactionsWithoutCategory(this.page,this.getCacheKey).then((t=>{let s=e.parseResponse(t);this.rowsPerPage=s.rowsPerPage,this.rowsNumber=s.rowsNumber,this.rows=s.rows,this.loading=!1}))},getCategory:function(){let e=new p.Z;e.get(this.id).then((e=>this.parseCategory(e))),this.loading=!0;const t=new m.Z;this.rows=[],e.transactions(this.id,this.page,this.getCacheKey).then((e=>{let s=t.parseResponse(e);this.rowsPerPage=s.rowsPerPage,this.rowsNumber=s.rowsNumber,this.rows=s.rows,this.loading=!1}))},parseCategory:function(e){this.category={name:e.data.data.attributes.name}}}};var b=s(1639),f=s(9885),C=s(4458),_=s(3190),P=s(9984),q=s.n(P);const v=(0,b.Z)(y,[["render",w]]),Z=v;q()(y,"components",{QPage:f.Z,QCard:C.Z,QCardSection:_.Z})}}]);
|
1
public/v3/js/1951.151d064f.js
vendored
1
public/v3/js/1951.151d064f.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[1951],{1951:(e,a,t)=>{t.r(a),t.d(a,{default:()=>Q});var i=t(9835);const s={class:"row q-mx-md"},n={class:"col-xl-4 col-lg-6 col-md-12 q-pa-xs"},l=(0,i._)("div",{class:"text-h6"},"Email address",-1),o=(0,i._)("p",{class:"text-primary"}," If you change your email address you will be logged out. You must confirm your address change before you can login again. ",-1),d=(0,i.Uk)("Change address");function r(e,a,t,r,u,c){const m=(0,i.up)("q-card-section"),p=(0,i.up)("q-icon"),f=(0,i.up)("q-input"),g=(0,i.up)("q-btn"),h=(0,i.up)("q-card-actions"),b=(0,i.up)("q-card"),w=(0,i.up)("q-fab-action"),q=(0,i.up)("q-fab"),_=(0,i.up)("q-page-sticky"),y=(0,i.up)("q-page");return(0,i.wg)(),(0,i.j4)(y,null,{default:(0,i.w5)((()=>[(0,i._)("div",s,[(0,i._)("div",n,[(0,i.Wm)(b,{bordered:""},{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[l])),_:1}),(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[(0,i.Wm)(f,{outlined:"",type:"email",required:"",modelValue:u.emailAddress,"onUpdate:modelValue":a[0]||(a[0]=e=>u.emailAddress=e),label:"Email address"},{prepend:(0,i.w5)((()=>[(0,i.Wm)(p,{name:"fas fa-envelope"})])),_:1},8,["modelValue"]),o])),_:1}),u.emailTouched?((0,i.wg)(),(0,i.j4)(h,{key:0},{default:(0,i.w5)((()=>[(0,i.Wm)(g,{flat:"",onClick:c.confirmAddressChange},{default:(0,i.w5)((()=>[d])),_:1},8,["onClick"])])),_:1})):(0,i.kq)("",!0)])),_:1})])]),(0,i.Wm)(_,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(q,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(w,{color:"primary",square:"",to:{name:"profile.data"},icon:"fas fa-database",label:"Manage data"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var u=t(1569);class c{get(){return u.api.get("/api/v1/about/user")}put(e,a){return console.log("here we are"),u.api.put("/api/v1/users/"+e,a)}logout(){return u.api.post("/logout")}}const m={name:"Index",data(){return{tab:"mails",id:0,emailAddress:"",emailOriginal:"",emailTouched:!1}},watch:{emailAddress:function(e){this.emailTouched=!1,this.emailOriginal!==e&&(this.emailTouched=!0)}},created(){this.getUserInfo()},methods:{getUserInfo:function(){(new c).get().then((e=>{this.emailAddress=e.data.data.attributes.email,this.emailOriginal=e.data.data.attributes.email,this.id=parseInt(e.data.data.id)}))},confirmAddressChange:function(){this.$q.dialog({title:"Confirm",message:"Are you sure?",cancel:!0,persistent:!1}).onOk((()=>{this.submitAddressChange()})).onCancel((()=>{})).onDismiss((()=>{}))},submitAddressChange:function(){(new c).put(this.id,{email:this.emailAddress}).then((e=>{(new c).logout()}))}}};var p=t(1639),f=t(9885),g=t(4458),h=t(3190),b=t(6611),w=t(2857),q=t(1821),_=t(8879),y=t(3388),A=t(9361),C=t(935),k=t(9984),v=t.n(k);const Z=(0,p.Z)(m,[["render",r]]),Q=Z;v()(m,"components",{QPage:f.Z,QCard:g.Z,QCardSection:h.Z,QInput:b.Z,QIcon:w.Z,QCardActions:q.Z,QBtn:_.Z,QPageSticky:y.Z,QFab:A.Z,QFabAction:C.Z})}}]);
|
1
public/v3/js/1951.93bb1276.js
vendored
Normal file
1
public/v3/js/1951.93bb1276.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[1951],{1951:(e,a,t)=>{t.r(a),t.d(a,{default:()=>Q});var i=t(9835);const s={class:"row q-mx-md"},l={class:"col-xl-4 col-lg-6 col-md-12 q-pa-xs"},n=(0,i._)("div",{class:"text-h6"},"Email address",-1),o=(0,i._)("p",{class:"text-primary"}," If you change your email address you will be logged out. You must confirm your address change before you can login again. ",-1),d=(0,i.Uk)("Change address");function r(e,a,t,r,u,c){const m=(0,i.up)("q-card-section"),p=(0,i.up)("q-icon"),f=(0,i.up)("q-input"),g=(0,i.up)("q-btn"),h=(0,i.up)("q-card-actions"),b=(0,i.up)("q-card"),w=(0,i.up)("q-fab-action"),q=(0,i.up)("q-fab"),_=(0,i.up)("q-page-sticky"),y=(0,i.up)("q-page");return(0,i.wg)(),(0,i.j4)(y,null,{default:(0,i.w5)((()=>[(0,i._)("div",s,[(0,i._)("div",l,[(0,i.Wm)(b,{bordered:""},{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[n])),_:1}),(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[(0,i.Wm)(f,{outlined:"",type:"email",required:"",modelValue:u.emailAddress,"onUpdate:modelValue":a[0]||(a[0]=e=>u.emailAddress=e),label:"Email address"},{prepend:(0,i.w5)((()=>[(0,i.Wm)(p,{name:"fas fa-envelope"})])),_:1},8,["modelValue"]),o])),_:1}),u.emailTouched?((0,i.wg)(),(0,i.j4)(h,{key:0},{default:(0,i.w5)((()=>[(0,i.Wm)(g,{flat:"",onClick:c.confirmAddressChange},{default:(0,i.w5)((()=>[d])),_:1},8,["onClick"])])),_:1})):(0,i.kq)("",!0)])),_:1})])]),(0,i.Wm)(_,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(q,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(w,{color:"primary",square:"",to:{name:"profile.data"},icon:"fas fa-database",label:"Manage data"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var u=t(1569);class c{get(){return u.api.get("/api/v1/about/user")}put(e,a){return console.log("here we are"),u.api.put("/api/v1/users/"+e,a)}logout(){return u.api.post("/logout")}}const m={name:"Index",data(){return{tab:"mails",id:0,emailAddress:"",emailOriginal:"",emailTouched:!1}},watch:{emailAddress:function(e){this.emailTouched=!1,this.emailOriginal!==e&&(this.emailTouched=!0)}},created(){this.getUserInfo()},methods:{getUserInfo:function(){(new c).get().then((e=>{this.emailAddress=e.data.data.attributes.email,this.emailOriginal=e.data.data.attributes.email,this.id=parseInt(e.data.data.id)}))},confirmAddressChange:function(){this.$q.dialog({title:"Confirm",message:"Are you sure?",cancel:!0,persistent:!1}).onOk((()=>{this.submitAddressChange()})).onCancel((()=>{})).onDismiss((()=>{}))},submitAddressChange:function(){(new c).put(this.id,{email:this.emailAddress}).then((e=>{(new c).logout()}))}}};var p=t(1639),f=t(9885),g=t(4458),h=t(3190),b=t(6611),w=t(2857),q=t(1821),_=t(8879),y=t(3388),A=t(9361),C=t(935),k=t(9984),v=t.n(k);const Z=(0,p.Z)(m,[["render",r]]),Q=Z;v()(m,"components",{QPage:f.Z,QCard:g.Z,QCardSection:h.Z,QInput:b.Z,QIcon:w.Z,QCardActions:q.Z,QBtn:_.Z,QPageSticky:y.Z,QFab:A.Z,QFabAction:C.Z})}}]);
|
1
public/v3/js/2106.9b1154a5.js
vendored
Normal file
1
public/v3/js/2106.9b1154a5.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/2106.a205192e.js
vendored
1
public/v3/js/2106.a205192e.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/2194.69a0787d.js
vendored
Normal file
1
public/v3/js/2194.69a0787d.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/2194.aa85a81a.js
vendored
1
public/v3/js/2194.aa85a81a.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/2324.7c1994c3.js
vendored
Normal file
1
public/v3/js/2324.7c1994c3.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[2324],{2324:(s,e,t)=>{t.r(e),t.d(e,{default:()=>M});var r=t(9835),i=t(6970);const a={class:"row q-mx-md"},n={class:"col-12"},o={class:"row q-mx-md q-mt-md"},l={class:"col-12"},d=(0,r._)("div",{class:"text-h6"},"Edit piggy bank",-1),u={class:"row"},c={class:"col-12 q-mb-xs"},m={class:"row q-mx-md"},h={class:"col-12"},g={class:"row"},b={class:"col-12 text-right"},p={class:"row"},f={class:"col-12 text-right"};function w(s,e,t,w,k,_){const v=(0,r.up)("q-btn"),y=(0,r.up)("q-banner"),q=(0,r.up)("q-card-section"),E=(0,r.up)("q-input"),x=(0,r.up)("q-card"),B=(0,r.up)("q-checkbox"),C=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(C,null,{default:(0,r.w5)((()=>[(0,r._)("div",a,[(0,r._)("div",n,[""!==k.errorMessage?((0,r.wg)(),(0,r.j4)(y,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(v,{flat:"",onClick:_.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,i.zw)(k.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",o,[(0,r._)("div",l,[(0,r.Wm)(x,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(q,null,{default:(0,r.w5)((()=>[d])),_:1}),(0,r.Wm)(q,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",c,[(0,r.Wm)(E,{"error-message":k.submissionErrors.name,error:k.hasSubmissionErrors.name,"bottom-slots":"",disable:_.disabledInput,type:"text",clearable:"",modelValue:k.name,"onUpdate:modelValue":e[0]||(e[0]=s=>k.name=s),label:s.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",m,[(0,r._)("div",h,[(0,r.Wm)(x,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(q,null,{default:(0,r.w5)((()=>[(0,r._)("div",g,[(0,r._)("div",b,[(0,r.Wm)(v,{disable:_.disabledInput,color:"primary",label:"Update",onClick:_.submitPiggyBank},null,8,["disable","onClick"])])]),(0,r._)("div",p,[(0,r._)("div",f,[(0,r.Wm)(B,{disable:_.disabledInput,modelValue:k.doReturnHere,"onUpdate:modelValue":e[1]||(e[1]=s=>k.doReturnHere=s),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var k=t(670),_=t(1569);class v{post(s,e){let t="/api/v1/piggy_banks/"+s;return _.api.put(t,e)}}var y=t(3555);const q={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",id:0,name:"",store:null}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectPiggyBank(),this.store=(0,y.S)()},methods:{collectPiggyBank:function(){let s=new k.Z;s.get(this.id).then((s=>this.parsePiggyBank(s)))},parsePiggyBank:function(s){this.name=s.data.data.attributes.name},resetErrors:function(){this.submissionErrors={name:""},this.hasSubmissionErrors={name:!1}},submitPiggyBank:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const s=this.buildPiggyBank();(new v).post(this.id,s).catch(this.processErrors).then(this.processSuccess)},buildPiggyBank:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(s){if(this.store.refreshCacheKey(),!s)return;this.submitting=!1;let e={level:"success",text:"Piggy is updated",show:!0,action:{show:!0,text:"Go to piggy",link:{name:"piggy-banks.show",params:{id:parseInt(s.data.data.id)}}}};this.$q.localStorage.set("flash",e),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(s){if(s.response){let e=s.response.data;this.errorMessage=e.message,console.log(e);for(let s in e.errors)e.errors.hasOwnProperty(s)&&(this.submissionErrors[s]=e.errors[s][0],this.hasSubmissionErrors[s]=!0)}this.submitting=!1}}};var E=t(1639),x=t(9885),B=t(7128),C=t(8879),P=t(4458),S=t(3190),W=t(6611),Z=t(1221),I=t(9984),Q=t.n(I);const R=(0,E.Z)(q,[["render",w]]),M=R;Q()(q,"components",{QPage:x.Z,QBanner:B.Z,QBtn:C.Z,QCard:P.Z,QCardSection:S.Z,QInput:W.Z,QCheckbox:Z.Z})}}]);
|
1
public/v3/js/2324.a7019e47.js
vendored
1
public/v3/js/2324.a7019e47.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[2324],{2324:(s,e,t)=>{t.r(e),t.d(e,{default:()=>M});var r=t(9835),i=t(6970);const a={class:"row q-mx-md"},n={class:"col-12"},o={class:"row q-mx-md q-mt-md"},l={class:"col-12"},d=(0,r._)("div",{class:"text-h6"},"Edit piggy bank",-1),u={class:"row"},c={class:"col-12 q-mb-xs"},m={class:"row q-mx-md"},h={class:"col-12"},g={class:"row"},b={class:"col-12 text-right"},p={class:"row"},f={class:"col-12 text-right"};function w(s,e,t,w,k,_){const v=(0,r.up)("q-btn"),y=(0,r.up)("q-banner"),q=(0,r.up)("q-card-section"),E=(0,r.up)("q-input"),x=(0,r.up)("q-card"),B=(0,r.up)("q-checkbox"),C=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(C,null,{default:(0,r.w5)((()=>[(0,r._)("div",a,[(0,r._)("div",n,[""!==k.errorMessage?((0,r.wg)(),(0,r.j4)(y,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(v,{flat:"",onClick:_.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,i.zw)(k.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",o,[(0,r._)("div",l,[(0,r.Wm)(x,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(q,null,{default:(0,r.w5)((()=>[d])),_:1}),(0,r.Wm)(q,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",c,[(0,r.Wm)(E,{"error-message":k.submissionErrors.name,error:k.hasSubmissionErrors.name,"bottom-slots":"",disable:_.disabledInput,type:"text",clearable:"",modelValue:k.name,"onUpdate:modelValue":e[0]||(e[0]=s=>k.name=s),label:s.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",m,[(0,r._)("div",h,[(0,r.Wm)(x,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(q,null,{default:(0,r.w5)((()=>[(0,r._)("div",g,[(0,r._)("div",b,[(0,r.Wm)(v,{disable:_.disabledInput,color:"primary",label:"Update",onClick:_.submitPiggyBank},null,8,["disable","onClick"])])]),(0,r._)("div",p,[(0,r._)("div",f,[(0,r.Wm)(B,{disable:_.disabledInput,modelValue:k.doReturnHere,"onUpdate:modelValue":e[1]||(e[1]=s=>k.doReturnHere=s),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var k=t(670),_=t(1569);class v{post(s,e){let t="/api/v1/piggy_banks/"+s;return _.api.put(t,e)}}var y=t(3555);const q={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",id:0,name:"",store:null}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectPiggyBank(),this.store=(0,y.S)()},methods:{collectPiggyBank:function(){let s=new k.Z;s.get(this.id).then((s=>this.parsePiggyBank(s)))},parsePiggyBank:function(s){this.name=s.data.data.attributes.name},resetErrors:function(){this.submissionErrors={name:""},this.hasSubmissionErrors={name:!1}},submitPiggyBank:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const s=this.buildPiggyBank();(new v).post(this.id,s).catch(this.processErrors).then(this.processSuccess)},buildPiggyBank:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(s){if(this.store.refreshCacheKey(),!s)return;this.submitting=!1;let e={level:"success",text:"Piggy is updated",show:!0,action:{show:!0,text:"Go to piggy",link:{name:"piggy-banks.show",params:{id:parseInt(s.data.data.id)}}}};this.$q.localStorage.set("flash",e),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(s){if(s.response){let e=s.response.data;this.errorMessage=e.message,console.log(e);for(let s in e.errors)e.errors.hasOwnProperty(s)&&(this.submissionErrors[s]=e.errors[s][0],this.hasSubmissionErrors[s]=!0)}this.submitting=!1}}};var E=t(1639),x=t(9885),B=t(7128),C=t(8879),P=t(4458),S=t(3190),W=t(6611),Z=t(1221),I=t(9984),Q=t.n(I);const R=(0,E.Z)(q,[["render",w]]),M=R;Q()(q,"components",{QPage:x.Z,QBanner:B.Z,QBtn:C.Z,QCard:P.Z,QCardSection:S.Z,QInput:W.Z,QCheckbox:Z.Z})}}]);
|
1
public/v3/js/2372.8a027506.js
vendored
Normal file
1
public/v3/js/2372.8a027506.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[2372],{2372:(t,e,i)=>{i.r(e),i.d(e,{default:()=>q});var a=i(9835),r=i(6970);const s={class:"row q-mx-md"},u={class:"col-12"},l={class:"text-h6"},n={class:"row"},o={class:"col-12 q-mb-xs"},d=(0,a._)("br",null,null,-1);function c(t,e,i,c,p,h){const g=(0,a.up)("q-card-section"),f=(0,a.up)("q-card"),w=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(w,null,{default:(0,a.w5)((()=>[(0,a._)("div",s,[(0,a._)("div",u,[(0,a.Wm)(f,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(g,null,{default:(0,a.w5)((()=>[(0,a._)("div",l,(0,r.zw)(p.group.title),1)])),_:1}),(0,a.Wm)(g,null,{default:(0,a.w5)((()=>[(0,a._)("div",n,[(0,a._)("div",o,[(0,a.Uk)(" Title: "+(0,r.zw)(p.group.title),1),d])])])),_:1})])),_:1})])])])),_:1})}var p=i(1741);const h={name:"Show",data(){return{group:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getGroup()},components:{},methods:{onRequest:function(t){this.page=t.page,this.getGroup()},getGroup:function(){let t=new p.Z;t.get(this.id).then((t=>this.parseGroup(t)))},parseGroup:function(t){this.group={title:t.data.data.attributes.title}}}};var g=i(1639),f=i(9885),w=i(4458),_=i(3190),m=i(9984),b=i.n(m);const v=(0,g.Z)(h,[["render",c]]),q=v;b()(h,"components",{QPage:f.Z,QCard:w.Z,QCardSection:_.Z})}}]);
|
1
public/v3/js/2372.a57b76b9.js
vendored
1
public/v3/js/2372.a57b76b9.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[2372],{2372:(t,e,i)=>{i.r(e),i.d(e,{default:()=>q});var r=i(9835),s=i(6970);const a={class:"row q-mx-md"},u={class:"col-12"},n={class:"text-h6"},l={class:"row"},o={class:"col-12 q-mb-xs"},d=(0,r._)("br",null,null,-1);function c(t,e,i,c,p,f){const h=(0,r.up)("q-card-section"),g=(0,r.up)("q-card"),w=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(w,null,{default:(0,r.w5)((()=>[(0,r._)("div",a,[(0,r._)("div",u,[(0,r.Wm)(g,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(h,null,{default:(0,r.w5)((()=>[(0,r._)("div",n,(0,s.zw)(p.group.title),1)])),_:1}),(0,r.Wm)(h,null,{default:(0,r.w5)((()=>[(0,r._)("div",l,[(0,r._)("div",o,[(0,r.Uk)(" Title: "+(0,s.zw)(p.group.title),1),d])])])),_:1})])),_:1})])])])),_:1})}var p=i(1741);const f={name:"Show",data(){return{group:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getGroup()},components:{},methods:{onRequest:function(t){this.page=t.page,this.getGroup()},getGroup:function(){let t=new p.Z;t.get(this.id).then((t=>this.parseGroup(t)))},parseGroup:function(t){this.group={title:t.data.data.attributes.title}}}};var h=i(1639),g=i(9885),w=i(4458),_=i(3190),m=i(9984),v=i.n(m);const b=(0,h.Z)(f,[["render",c]]),q=b;v()(f,"components",{QPage:g.Z,QCard:w.Z,QCardSection:_.Z})}}]);
|
1
public/v3/js/2686.24036762.js
vendored
Normal file
1
public/v3/js/2686.24036762.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[2686],{2686:(s,e,t)=>{t.r(e),t.d(e,{default:()=>k});var r=t(9835),a=t(6970);const i={class:"row q-mx-md"},n={class:"col-12"},o={class:"text-h6"},u={class:"row"},l={class:"col-12 q-mb-xs"},c=(0,r._)("br",null,null,-1),p={class:"row q-mt-sm"},d={class:"col-12"};function w(s,e,t,w,g,h){const b=(0,r.up)("q-card-section"),m=(0,r.up)("q-card"),f=(0,r.up)("LargeTable"),_=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(_,null,{default:(0,r.w5)((()=>[(0,r._)("div",i,[(0,r._)("div",n,[(0,r.Wm)(m,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(b,null,{default:(0,r.w5)((()=>[(0,r._)("div",o,(0,a.zw)(g.subscription.name),1)])),_:1}),(0,r.Wm)(b,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",l,[(0,r.Uk)(" Name: "+(0,a.zw)(g.subscription.name),1),c])])])),_:1})])),_:1})])]),(0,r._)("div",p,[(0,r._)("div",d,[(0,r.Wm)(f,{ref:"table",title:"Transactions",rows:g.rows,loading:s.loading,onOnRequest:h.onRequest,"rows-number":g.rowsNumber,"rows-per-page":g.rowsPerPage,page:g.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var g=t(5146),h=t(3684),b=t(3247);const m={name:"Show",data(){return{subscription:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1}},created(){this.id=parseInt(this.$route.params.id),this.getSubscription()},components:{LargeTable:g.Z},methods:{onRequest:function(s){this.page=s.page,this.getSubscription()},getSubscription:function(){let s=new h.Z;s.get(this.id).then((s=>this.parseSubscription(s))),this.loading=!0;const e=new b.Z;this.rows=[],s.transactions(this.id,this.page,this.getCacheKey).then((s=>{let t=e.parseResponse(s);this.rowsPerPage=t.rowsPerPage,this.rowsNumber=t.rowsNumber,this.rows=t.rows,this.loading=!1}))},parseSubscription:function(s){this.subscription={name:s.data.data.attributes.name}}}};var f=t(1639),_=t(9885),q=t(4458),v=t(3190),P=t(9984),S=t.n(P);const Z=(0,f.Z)(m,[["render",w]]),k=Z;S()(m,"components",{QPage:_.Z,QCard:q.Z,QCardSection:v.Z})}}]);
|
1
public/v3/js/2686.b49cab7a.js
vendored
1
public/v3/js/2686.b49cab7a.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[2686],{2686:(e,s,t)=>{t.r(s),t.d(s,{default:()=>k});var r=t(9835),a=t(6970);const i={class:"row q-mx-md"},n={class:"col-12"},o={class:"text-h6"},u={class:"row"},l={class:"col-12 q-mb-xs"},c=(0,r._)("br",null,null,-1),p={class:"row q-mt-sm"},d={class:"col-12"};function w(e,s,t,w,g,h){const m=(0,r.up)("q-card-section"),b=(0,r.up)("q-card"),f=(0,r.up)("LargeTable"),_=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(_,null,{default:(0,r.w5)((()=>[(0,r._)("div",i,[(0,r._)("div",n,[(0,r.Wm)(b,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(m,null,{default:(0,r.w5)((()=>[(0,r._)("div",o,(0,a.zw)(g.subscription.name),1)])),_:1}),(0,r.Wm)(m,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",l,[(0,r.Uk)(" Name: "+(0,a.zw)(g.subscription.name),1),c])])])),_:1})])),_:1})])]),(0,r._)("div",p,[(0,r._)("div",d,[(0,r.Wm)(f,{ref:"table",title:"Transactions",rows:g.rows,loading:e.loading,onOnRequest:h.onRequest,"rows-number":g.rowsNumber,"rows-per-page":g.rowsPerPage,page:g.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var g=t(5146),h=t(3684),m=t(3247);const b={name:"Show",data(){return{subscription:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1}},created(){this.id=parseInt(this.$route.params.id),this.getSubscription()},components:{LargeTable:g.Z},methods:{onRequest:function(e){this.page=e.page,this.getSubscription()},getSubscription:function(){let e=new h.Z;e.get(this.id).then((e=>this.parseSubscription(e))),this.loading=!0;const s=new m.Z;this.rows=[],e.transactions(this.id,this.page,this.getCacheKey).then((e=>{let t=s.parseResponse(e);this.rowsPerPage=t.rowsPerPage,this.rowsNumber=t.rowsNumber,this.rows=t.rows,this.loading=!1}))},parseSubscription:function(e){this.subscription={name:e.data.data.attributes.name}}}};var f=t(1639),_=t(9885),q=t(4458),v=t(3190),P=t(9984),S=t.n(P);const Z=(0,f.Z)(b,[["render",w]]),k=Z;S()(b,"components",{QPage:_.Z,QCard:q.Z,QCardSection:v.Z})}}]);
|
1
public/v3/js/2871.353f4a22.js
vendored
Normal file
1
public/v3/js/2871.353f4a22.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/2871.79eb4fc4.js
vendored
1
public/v3/js/2871.79eb4fc4.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/3270.325d1958.js
vendored
Normal file
1
public/v3/js/3270.325d1958.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[3270],{3270:(e,s,t)=>{t.r(s),t.d(s,{default:()=>V});var r=t(9835),i=t(6970);const l={class:"row q-mx-md"},o={class:"col-12"},a={class:"row q-mx-md q-mt-md"},u={class:"col-12"},n=(0,r._)("div",{class:"text-h6"},"Edit rule group",-1),d={class:"row"},c={class:"col-12 q-mb-xs"},h={class:"row q-mx-md"},m={class:"col-12"},p={class:"row"},b={class:"col-12 text-right"},g={class:"row"},f={class:"col-12 text-right"};function w(e,s,t,w,_,v){const q=(0,r.up)("q-btn"),E=(0,r.up)("q-banner"),R=(0,r.up)("q-card-section"),x=(0,r.up)("q-input"),k=(0,r.up)("q-card"),C=(0,r.up)("q-checkbox"),S=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",l,[(0,r._)("div",o,[""!==_.errorMessage?((0,r.wg)(),(0,r.j4)(E,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",onClick:v.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,i.zw)(_.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",a,[(0,r._)("div",u,[(0,r.Wm)(k,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[n])),_:1}),(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,[(0,r._)("div",c,[(0,r.Wm)(x,{"error-message":_.submissionErrors.title,error:_.hasSubmissionErrors.title,"bottom-slots":"",disable:v.disabledInput,type:"text",clearable:"",modelValue:_.title,"onUpdate:modelValue":s[0]||(s[0]=e=>_.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",h,[(0,r._)("div",m,[(0,r.Wm)(k,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",p,[(0,r._)("div",b,[(0,r.Wm)(q,{disable:v.disabledInput,color:"primary",label:"Update",onClick:v.submitRuleGroup},null,8,["disable","onClick"])])]),(0,r._)("div",g,[(0,r._)("div",f,[(0,r.Wm)(C,{disable:v.disabledInput,modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var _=t(6739),v=t(1569);class q{post(e,s){let t="/api/v1/rule_groups/"+e;return v.api.put(t,s)}}var E=t(3555);const R={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",id:0,title:"",store:null}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.store=(0,E.S)(),this.collectRuleGroup()},methods:{collectRuleGroup:function(){let e=new _.Z;e.get(this.id).then((e=>this.parseRuleGroup(e)))},parseRuleGroup:function(e){this.title=e.data.data.attributes.title},resetErrors:function(){this.submissionErrors={title:""},this.hasSubmissionErrors={title:!1}},submitRuleGroup:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildRuleGroup();(new q).post(this.id,e).catch(this.processErrors).then(this.processSuccess)},buildRuleGroup:function(){return{title:this.title}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.store.refreshCacheKey(),!e)return;this.submitting=!1;let s={level:"success",text:"Rule group is is updated",show:!0,action:{show:!0,text:"Go to rule group",link:{name:"rule.index"}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var x=t(1639),k=t(9885),C=t(7128),S=t(8879),G=t(4458),W=t(3190),Z=t(6611),y=t(1221),I=t(9984),Q=t.n(I);const M=(0,x.Z)(R,[["render",w]]),V=M;Q()(R,"components",{QPage:k.Z,QBanner:C.Z,QBtn:S.Z,QCard:G.Z,QCardSection:W.Z,QInput:Z.Z,QCheckbox:y.Z})}}]);
|
1
public/v3/js/3270.93f479e2.js
vendored
1
public/v3/js/3270.93f479e2.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[3270],{3270:(e,s,t)=>{t.r(s),t.d(s,{default:()=>V});var r=t(9835),i=t(6970);const l={class:"row q-mx-md"},o={class:"col-12"},a={class:"row q-mx-md q-mt-md"},u={class:"col-12"},n=(0,r._)("div",{class:"text-h6"},"Edit rule group",-1),d={class:"row"},c={class:"col-12 q-mb-xs"},h={class:"row q-mx-md"},m={class:"col-12"},p={class:"row"},b={class:"col-12 text-right"},f={class:"row"},g={class:"col-12 text-right"};function w(e,s,t,w,_,v){const q=(0,r.up)("q-btn"),E=(0,r.up)("q-banner"),R=(0,r.up)("q-card-section"),x=(0,r.up)("q-input"),k=(0,r.up)("q-card"),C=(0,r.up)("q-checkbox"),S=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",l,[(0,r._)("div",o,[""!==_.errorMessage?((0,r.wg)(),(0,r.j4)(E,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",onClick:v.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,i.zw)(_.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",a,[(0,r._)("div",u,[(0,r.Wm)(k,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[n])),_:1}),(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,[(0,r._)("div",c,[(0,r.Wm)(x,{"error-message":_.submissionErrors.title,error:_.hasSubmissionErrors.title,"bottom-slots":"",disable:v.disabledInput,type:"text",clearable:"",modelValue:_.title,"onUpdate:modelValue":s[0]||(s[0]=e=>_.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",h,[(0,r._)("div",m,[(0,r.Wm)(k,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",p,[(0,r._)("div",b,[(0,r.Wm)(q,{disable:v.disabledInput,color:"primary",label:"Update",onClick:v.submitRuleGroup},null,8,["disable","onClick"])])]),(0,r._)("div",f,[(0,r._)("div",g,[(0,r.Wm)(C,{disable:v.disabledInput,modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var _=t(6739),v=t(1569);class q{post(e,s){let t="/api/v1/rule_groups/"+e;return v.api.put(t,s)}}var E=t(3555);const R={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",id:0,title:"",store:null}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.store=(0,E.S)(),this.collectRuleGroup()},methods:{collectRuleGroup:function(){let e=new _.Z;e.get(this.id).then((e=>this.parseRuleGroup(e)))},parseRuleGroup:function(e){this.title=e.data.data.attributes.title},resetErrors:function(){this.submissionErrors={title:""},this.hasSubmissionErrors={title:!1}},submitRuleGroup:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildRuleGroup();(new q).post(this.id,e).catch(this.processErrors).then(this.processSuccess)},buildRuleGroup:function(){return{title:this.title}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.store.refreshCacheKey(),!e)return;this.submitting=!1;let s={level:"success",text:"Rule group is is updated",show:!0,action:{show:!0,text:"Go to rule group",link:{name:"rule.index"}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var x=t(1639),k=t(9885),C=t(7128),S=t(8879),G=t(4458),W=t(3190),Z=t(6611),y=t(1221),I=t(9984),Q=t.n(I);const M=(0,x.Z)(R,[["render",w]]),V=M;Q()(R,"components",{QPage:k.Z,QBanner:C.Z,QBtn:S.Z,QCard:G.Z,QCardSection:W.Z,QInput:Z.Z,QCheckbox:y.Z})}}]);
|
1
public/v3/js/3350.75666d5f.js
vendored
1
public/v3/js/3350.75666d5f.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[3350],{3350:(e,s,t)=>{t.r(s),t.d(s,{default:()=>V});var r=t(9835),i=t(6970);const a={class:"row q-mx-md"},o={class:"col-12"},n={class:"row q-mx-md q-mt-md"},l={class:"col-12"},d=(0,r._)("div",{class:"text-h6"},"Edit budget",-1),u={class:"row"},c={class:"col-12 q-mb-xs"},m={class:"row q-mx-md"},h={class:"col-12"},b={class:"row"},p={class:"col-12 text-right"},g={class:"row"},f={class:"col-12 text-right"};function w(e,s,t,w,_,v){const q=(0,r.up)("q-btn"),E=(0,r.up)("q-banner"),k=(0,r.up)("q-card-section"),x=(0,r.up)("q-input"),B=(0,r.up)("q-card"),C=(0,r.up)("q-checkbox"),S=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",a,[(0,r._)("div",o,[""!==_.errorMessage?((0,r.wg)(),(0,r.j4)(E,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",onClick:v.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,i.zw)(_.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",n,[(0,r._)("div",l,[(0,r.Wm)(B,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[d])),_:1}),(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",c,[(0,r.Wm)(x,{"error-message":_.submissionErrors.name,error:_.hasSubmissionErrors.name,"bottom-slots":"",disable:v.disabledInput,type:"text",clearable:"",modelValue:_.name,"onUpdate:modelValue":s[0]||(s[0]=e=>_.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",m,[(0,r._)("div",h,[(0,r.Wm)(B,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",b,[(0,r._)("div",p,[(0,r.Wm)(q,{disable:v.disabledInput,color:"primary",label:"Update",onClick:v.submitBudget},null,8,["disable","onClick"])])]),(0,r._)("div",g,[(0,r._)("div",f,[(0,r.Wm)(C,{disable:v.disabledInput,modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var _=t(7912),v=t(1569);class q{post(e,s){let t="/api/v1/budgets/"+e;return v.api.put(t,s)}}var E=t(3555);const k={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",id:0,name:"",store:null}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectBudget()},methods:{collectBudget:function(){let e=new _.Z;e.get(this.id).then((e=>this.parseBudget(e)))},parseBudget:function(e){this.name=e.data.data.attributes.name},resetErrors:function(){this.submissionErrors={name:""},this.hasSubmissionErrors={name:!1}},submitBudget:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildBudget();let s=new q;s.post(this.id,e).catch(this.processErrors).then(this.processSuccess)},buildBudget:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.store=(0,E.S)(),this.store.refreshCacheKey(),!e)return;this.submitting=!1;let s={level:"success",text:"Budget is updated",show:!0,action:{show:!0,text:"Go to budget",link:{name:"budgets.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var x=t(1639),B=t(9885),C=t(7128),S=t(8879),W=t(4458),Z=t(3190),y=t(6611),I=t(1221),Q=t(9984),R=t.n(Q);const M=(0,x.Z)(k,[["render",w]]),V=M;R()(k,"components",{QPage:B.Z,QBanner:C.Z,QBtn:S.Z,QCard:W.Z,QCardSection:Z.Z,QInput:y.Z,QCheckbox:I.Z})}}]);
|
1
public/v3/js/3350.ef108d69.js
vendored
Normal file
1
public/v3/js/3350.ef108d69.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[3350],{3350:(e,s,t)=>{t.r(s),t.d(s,{default:()=>V});var r=t(9835),i=t(6970);const a={class:"row q-mx-md"},o={class:"col-12"},n={class:"row q-mx-md q-mt-md"},l={class:"col-12"},d=(0,r._)("div",{class:"text-h6"},"Edit budget",-1),u={class:"row"},c={class:"col-12 q-mb-xs"},m={class:"row q-mx-md"},h={class:"col-12"},b={class:"row"},p={class:"col-12 text-right"},g={class:"row"},f={class:"col-12 text-right"};function w(e,s,t,w,_,v){const q=(0,r.up)("q-btn"),E=(0,r.up)("q-banner"),k=(0,r.up)("q-card-section"),x=(0,r.up)("q-input"),B=(0,r.up)("q-card"),C=(0,r.up)("q-checkbox"),S=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",a,[(0,r._)("div",o,[""!==_.errorMessage?((0,r.wg)(),(0,r.j4)(E,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",onClick:v.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,i.zw)(_.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",n,[(0,r._)("div",l,[(0,r.Wm)(B,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[d])),_:1}),(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",c,[(0,r.Wm)(x,{"error-message":_.submissionErrors.name,error:_.hasSubmissionErrors.name,"bottom-slots":"",disable:v.disabledInput,type:"text",clearable:"",modelValue:_.name,"onUpdate:modelValue":s[0]||(s[0]=e=>_.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",m,[(0,r._)("div",h,[(0,r.Wm)(B,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",b,[(0,r._)("div",p,[(0,r.Wm)(q,{disable:v.disabledInput,color:"primary",label:"Update",onClick:v.submitBudget},null,8,["disable","onClick"])])]),(0,r._)("div",g,[(0,r._)("div",f,[(0,r.Wm)(C,{disable:v.disabledInput,modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var _=t(7912),v=t(1569);class q{post(e,s){let t="/api/v1/budgets/"+e;return v.api.put(t,s)}}var E=t(3555);const k={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",id:0,name:"",store:null}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectBudget()},methods:{collectBudget:function(){let e=new _.Z;e.get(this.id).then((e=>this.parseBudget(e)))},parseBudget:function(e){this.name=e.data.data.attributes.name},resetErrors:function(){this.submissionErrors={name:""},this.hasSubmissionErrors={name:!1}},submitBudget:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildBudget();let s=new q;s.post(this.id,e).catch(this.processErrors).then(this.processSuccess)},buildBudget:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.store=(0,E.S)(),this.store.refreshCacheKey(),!e)return;this.submitting=!1;let s={level:"success",text:"Budget is updated",show:!0,action:{show:!0,text:"Go to budget",link:{name:"budgets.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var x=t(1639),B=t(9885),C=t(7128),S=t(8879),W=t(4458),Z=t(3190),y=t(6611),I=t(1221),Q=t(9984),R=t.n(Q);const M=(0,x.Z)(k,[["render",w]]),V=M;R()(k,"components",{QPage:B.Z,QBanner:C.Z,QBtn:S.Z,QCard:W.Z,QCardSection:Z.Z,QInput:y.Z,QCheckbox:I.Z})}}]);
|
1
public/v3/js/363.9bc83f3a.js
vendored
Normal file
1
public/v3/js/363.9bc83f3a.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[363],{363:(e,t,a)=>{a.r(t),a.d(t,{default:()=>$});var o=a(9835),i=a(6970);const n=(0,o.Uk)("Edit"),s=(0,o.Uk)("Delete");function l(e,t,a,l,r,p){const u=(0,o.up)("q-th"),d=(0,o.up)("q-tr"),g=(0,o.up)("router-link"),w=(0,o.up)("q-td"),h=(0,o.up)("q-item-label"),c=(0,o.up)("q-item-section"),m=(0,o.up)("q-item"),f=(0,o.up)("q-list"),b=(0,o.up)("q-btn-dropdown"),k=(0,o.up)("q-table"),y=(0,o.up)("q-fab-action"),q=(0,o.up)("q-fab"),_=(0,o.up)("q-page-sticky"),W=(0,o.up)("q-page"),Z=(0,o.Q2)("close-popup");return(0,o.wg)(),(0,o.j4)(W,null,{default:(0,o.w5)((()=>[(0,o.Wm)(k,{title:e.$t("firefly.webhooks"),rows:r.rows,columns:r.columns,"row-key":"id",onRequest:p.onRequest,pagination:r.pagination,"onUpdate:pagination":t[0]||(t[0]=e=>r.pagination=e),loading:r.loading,class:"q-ma-md"},{header:(0,o.w5)((e=>[(0,o.Wm)(d,{props:e},{default:(0,o.w5)((()=>[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.cols,(t=>((0,o.wg)(),(0,o.j4)(u,{key:t.name,props:e},{default:(0,o.w5)((()=>[(0,o.Uk)((0,i.zw)(t.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,o.w5)((e=>[(0,o.Wm)(d,{props:e},{default:(0,o.w5)((()=>[(0,o.Wm)(w,{key:"title",props:e},{default:(0,o.w5)((()=>[(0,o.Wm)(g,{to:{name:"webhooks.show",params:{id:e.row.id}},class:"text-primary"},{default:(0,o.w5)((()=>[(0,o.Uk)((0,i.zw)(e.row.title),1)])),_:2},1032,["to"])])),_:2},1032,["props"]),(0,o.Wm)(w,{key:"menu",props:e},{default:(0,o.w5)((()=>[(0,o.Wm)(b,{color:"primary",label:"Actions",size:"sm"},{default:(0,o.w5)((()=>[(0,o.Wm)(f,null,{default:(0,o.w5)((()=>[(0,o.wy)(((0,o.wg)(),(0,o.j4)(m,{clickable:"",to:{name:"webhooks.edit",params:{id:e.row.id}}},{default:(0,o.w5)((()=>[(0,o.Wm)(c,null,{default:(0,o.w5)((()=>[(0,o.Wm)(h,null,{default:(0,o.w5)((()=>[n])),_:1})])),_:1})])),_:2},1032,["to"])),[[Z]]),(0,o.wy)(((0,o.wg)(),(0,o.j4)(m,{clickable:"",onClick:t=>p.deleteWebhook(e.row.id,e.row.title)},{default:(0,o.w5)((()=>[(0,o.Wm)(c,null,{default:(0,o.w5)((()=>[(0,o.Wm)(h,null,{default:(0,o.w5)((()=>[s])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[Z]])])),_:2},1024)])),_:2},1024)])),_:2},1032,["props"])])),_:2},1032,["props"])])),_:1},8,["title","rows","columns","onRequest","pagination","loading"]),(0,o.Wm)(_,{position:"bottom-right",offset:[18,18]},{default:(0,o.w5)((()=>[(0,o.Wm)(q,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,o.w5)((()=>[(0,o.Wm)(y,{color:"primary",square:"",to:{name:"webhooks.create"},icon:"fas fa-exchange-alt",label:"New webhook"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var r=a(7913),p=a(1569);class u{list(e,t){let a="/api/v1/webhooks";return p.api.get(a,{params:{page:e,cache:t}})}}var d=a(3555);const g={name:"Index",watch:{$route(e){"webhooks.index"===e.name&&(this.page=1,this.updateBreadcrumbs(),this.triggerUpdate())}},data(){return{rows:[],pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:5,rowsNumber:100},loading:!1,columns:[{name:"title",label:"Title",field:"title",align:"left"},{name:"menu",label:" ",field:"menu",align:"right"}],store:null}},computed:{},created(){this.pagination.rowsPerPage=this.getListPageSize,this.store=(0,d.S)()},mounted(){this.triggerUpdate()},methods:{deleteWebhook:function(e,t){this.$q.dialog({title:"Confirm",message:'Do you want to delete webhook "'+t+'"?',cancel:!0,persistent:!0}).onOk((()=>{this.destroyWebhook(e)}))},destroyWebhook:function(e){new r.Z("webhooks").destroy(e).then((()=>{this.store.refreshCacheKey(),this.triggerUpdate()}))},updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly.webhooks",this.$route.meta.breadcrumbs=[{title:"webhooks"}]},onRequest:function(e){this.page=e.pagination.page,this.triggerUpdate()},triggerUpdate:function(){if(this.loading)return;this.loading=!0;const e=new u;this.rows=[],e.list(this.page,this.getCacheKey).then((e=>{this.pagination.rowsPerPage=e.data.meta.pagination.per_page,this.pagination.rowsNumber=e.data.meta.pagination.total,this.pagination.page=this.page;for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t],o={id:a.id,title:a.attributes.title};this.rows.push(o)}this.loading=!1}))}}};var w=a(1639),h=a(9885),c=a(9497),m=a(9546),f=a(1682),b=a(7220),k=a(2045),y=a(3246),q=a(490),_=a(1233),W=a(3115),Z=a(3388),Q=a(9361),P=a(935),U=a(2146),v=a(9984),C=a.n(v);const T=(0,w.Z)(g,[["render",l]]),$=T;C()(g,"components",{QPage:h.Z,QTable:c.Z,QTr:m.Z,QTh:f.Z,QTd:b.Z,QBtnDropdown:k.Z,QList:y.Z,QItem:q.Z,QItemSection:_.Z,QItemLabel:W.Z,QPageSticky:Z.Z,QFab:Q.Z,QFabAction:P.Z}),C()(g,"directives",{ClosePopup:U.Z})}}]);
|
1
public/v3/js/363.e40f7459.js
vendored
1
public/v3/js/363.e40f7459.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[363],{363:(e,t,a)=>{a.r(t),a.d(t,{default:()=>$});var o=a(9835),i=a(6970);const n=(0,o.Uk)("Edit"),s=(0,o.Uk)("Delete");function l(e,t,a,l,r,p){const u=(0,o.up)("q-th"),d=(0,o.up)("q-tr"),g=(0,o.up)("router-link"),w=(0,o.up)("q-td"),c=(0,o.up)("q-item-label"),h=(0,o.up)("q-item-section"),m=(0,o.up)("q-item"),f=(0,o.up)("q-list"),b=(0,o.up)("q-btn-dropdown"),k=(0,o.up)("q-table"),y=(0,o.up)("q-fab-action"),q=(0,o.up)("q-fab"),_=(0,o.up)("q-page-sticky"),W=(0,o.up)("q-page"),Z=(0,o.Q2)("close-popup");return(0,o.wg)(),(0,o.j4)(W,null,{default:(0,o.w5)((()=>[(0,o.Wm)(k,{title:e.$t("firefly.webhooks"),rows:r.rows,columns:r.columns,"row-key":"id",onRequest:p.onRequest,pagination:r.pagination,"onUpdate:pagination":t[0]||(t[0]=e=>r.pagination=e),loading:r.loading,class:"q-ma-md"},{header:(0,o.w5)((e=>[(0,o.Wm)(d,{props:e},{default:(0,o.w5)((()=>[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.cols,(t=>((0,o.wg)(),(0,o.j4)(u,{key:t.name,props:e},{default:(0,o.w5)((()=>[(0,o.Uk)((0,i.zw)(t.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,o.w5)((e=>[(0,o.Wm)(d,{props:e},{default:(0,o.w5)((()=>[(0,o.Wm)(w,{key:"title",props:e},{default:(0,o.w5)((()=>[(0,o.Wm)(g,{to:{name:"webhooks.show",params:{id:e.row.id}},class:"text-primary"},{default:(0,o.w5)((()=>[(0,o.Uk)((0,i.zw)(e.row.title),1)])),_:2},1032,["to"])])),_:2},1032,["props"]),(0,o.Wm)(w,{key:"menu",props:e},{default:(0,o.w5)((()=>[(0,o.Wm)(b,{color:"primary",label:"Actions",size:"sm"},{default:(0,o.w5)((()=>[(0,o.Wm)(f,null,{default:(0,o.w5)((()=>[(0,o.wy)(((0,o.wg)(),(0,o.j4)(m,{clickable:"",to:{name:"webhooks.edit",params:{id:e.row.id}}},{default:(0,o.w5)((()=>[(0,o.Wm)(h,null,{default:(0,o.w5)((()=>[(0,o.Wm)(c,null,{default:(0,o.w5)((()=>[n])),_:1})])),_:1})])),_:2},1032,["to"])),[[Z]]),(0,o.wy)(((0,o.wg)(),(0,o.j4)(m,{clickable:"",onClick:t=>p.deleteWebhook(e.row.id,e.row.title)},{default:(0,o.w5)((()=>[(0,o.Wm)(h,null,{default:(0,o.w5)((()=>[(0,o.Wm)(c,null,{default:(0,o.w5)((()=>[s])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[Z]])])),_:2},1024)])),_:2},1024)])),_:2},1032,["props"])])),_:2},1032,["props"])])),_:1},8,["title","rows","columns","onRequest","pagination","loading"]),(0,o.Wm)(_,{position:"bottom-right",offset:[18,18]},{default:(0,o.w5)((()=>[(0,o.Wm)(q,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,o.w5)((()=>[(0,o.Wm)(y,{color:"primary",square:"",to:{name:"webhooks.create"},icon:"fas fa-exchange-alt",label:"New webhook"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var r=a(7913),p=a(1569);class u{list(e,t){let a="/api/v1/webhooks";return p.api.get(a,{params:{page:e,cache:t}})}}var d=a(3555);const g={name:"Index",watch:{$route(e){"webhooks.index"===e.name&&(this.page=1,this.updateBreadcrumbs(),this.triggerUpdate())}},data(){return{rows:[],pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:5,rowsNumber:100},loading:!1,columns:[{name:"title",label:"Title",field:"title",align:"left"},{name:"menu",label:" ",field:"menu",align:"right"}],store:null}},computed:{},created(){this.pagination.rowsPerPage=this.getListPageSize,this.store=(0,d.S)()},mounted(){this.triggerUpdate()},methods:{deleteWebhook:function(e,t){this.$q.dialog({title:"Confirm",message:'Do you want to delete webhook "'+t+'"?',cancel:!0,persistent:!0}).onOk((()=>{this.destroyWebhook(e)}))},destroyWebhook:function(e){new r.Z("webhooks").destroy(e).then((()=>{this.store.refreshCacheKey(),this.triggerUpdate()}))},updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly.webhooks",this.$route.meta.breadcrumbs=[{title:"webhooks"}]},onRequest:function(e){this.page=e.pagination.page,this.triggerUpdate()},triggerUpdate:function(){if(this.loading)return;this.loading=!0;const e=new u;this.rows=[],e.list(this.page,this.getCacheKey).then((e=>{this.pagination.rowsPerPage=e.data.meta.pagination.per_page,this.pagination.rowsNumber=e.data.meta.pagination.total,this.pagination.page=this.page;for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t],o={id:a.id,title:a.attributes.title};this.rows.push(o)}this.loading=!1}))}}};var w=a(1639),c=a(9885),h=a(9497),m=a(9546),f=a(1682),b=a(7220),k=a(2045),y=a(3246),q=a(490),_=a(1233),W=a(3115),Z=a(3388),Q=a(9361),P=a(935),U=a(2146),v=a(9984),C=a.n(v);const T=(0,w.Z)(g,[["render",l]]),$=T;C()(g,"components",{QPage:c.Z,QTable:h.Z,QTr:m.Z,QTh:f.Z,QTd:b.Z,QBtnDropdown:k.Z,QList:y.Z,QItem:q.Z,QItemSection:_.Z,QItemLabel:W.Z,QPageSticky:Z.Z,QFab:Q.Z,QFabAction:P.Z}),C()(g,"directives",{ClosePopup:U.Z})}}]);
|
1
public/v3/js/379.0187e2f6.js
vendored
Normal file
1
public/v3/js/379.0187e2f6.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[379],{379:(e,t,n)=>{n.r(t),n.d(t,{default:()=>C});var s=n(9835),u=n(6970);const i={class:"q-mx-sm"},r=["title"],o=(0,s.Uk)(": "),a=["title"],d={key:0},l=(0,s._)("br",null,null,-1),m=["title"],c=["title"],p={key:0};function g(e,t,n,g,h,f){const v=(0,s.up)("q-item-label"),_=(0,s.up)("q-item-section"),b=(0,s.up)("q-item"),w=(0,s.up)("q-separator"),y=(0,s.up)("q-circular-progress"),A=(0,s.up)("q-card-section"),k=(0,s.up)("q-card");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s.Wm)(k,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(b,null,{default:(0,s.w5)((()=>[(0,s.Wm)(_,null,{default:(0,s.w5)((()=>[(0,s.Wm)(v,null,{default:(0,s.w5)((()=>[(0,s._)("strong",null,(0,u.zw)(e.$t("firefly.left_to_spend")),1)])),_:1})])),_:1})])),_:1}),(0,s.Wm)(w),(0,s.Wm)(A,{horizontal:""},{default:(0,s.w5)((()=>[(0,s.Wm)(A,null,{default:(0,s.w5)((()=>[(0,s.Wm)(y,{value:f.percentage,size:"50px",thickness:.22,color:"negative","track-color":"positive"},null,8,["value","thickness"])])),_:1}),(0,s.Wm)(w,{vertical:""}),0===h.budgeted.length&&0===h.spent.length?((0,s.wg)(),(0,s.j4)(A,{key:0},{default:(0,s.w5)((()=>[(0,s.Uk)((0,u.zw)(e.$t("firefly.no_budget")),1)])),_:1})):(0,s.kq)("",!0),h.budgeted.length>0||h.spent.length>0?((0,s.wg)(),(0,s.j4)(A,{key:1},{default:(0,s.w5)((()=>[(0,s._)("span",{title:f.formatAmount(this.currency,this.budgetedAmount)},(0,u.zw)(e.$t("firefly.budgeted")),9,r),o,((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(h.budgeted,((e,t)=>((0,s.wg)(),(0,s.iD)("span",null,[(0,s._)("span",{title:f.formatAmount(e.native_code,e.native_sum)},(0,u.zw)(f.formatAmount(e.code,e.sum)),9,a),t+1!==h.budgeted.length?((0,s.wg)(),(0,s.iD)("span",d," + ")):(0,s.kq)("",!0)])))),256)),l,h.spent.length>0?((0,s.wg)(),(0,s.iD)("span",{key:0,title:f.formatAmount(this.currency,this.spentAmount)},(0,u.zw)(e.$t("firefly.spent"))+": ",9,m)):(0,s.kq)("",!0),((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(h.spent,((e,t)=>((0,s.wg)(),(0,s.iD)("span",null,[(0,s._)("span",{title:f.formatAmount(e.native_code,e.native_sum)},(0,u.zw)(f.formatAmount(e.code,e.sum)),9,c),t+1!==h.spent.length?((0,s.wg)(),(0,s.iD)("span",p," + ")):(0,s.kq)("",!0)])))),256))])),_:1})):(0,s.kq)("",!0)])),_:1})])),_:1})])}var h=n(3555),f=n(1569),v=n(8898);class _{budgeted(e,t){let n="api/v2/budgets/sum/budgeted",s=(0,v.Z)(e,"y-MM-dd"),u=(0,v.Z)(t,"y-MM-dd");return f.api.get(n,{params:{start:s,end:u}})}spent(e,t){let n="api/v2/budgets/sum/spent",s=(0,v.Z)(e,"y-MM-dd"),u=(0,v.Z)(t,"y-MM-dd");return f.api.get(n,{params:{start:s,end:u}})}}const b={data(){return{store:null,budgeted:[],spent:[],currency:"EUR",budgetedAmount:0,spentAmount:0}},name:"SpendInsightBox",computed:{percentage:function(){if(0===this.budgetedAmount)return 100;if(0===this.spentAmount)return 0;const e=this.spentAmount/this.budgetedAmount*100;return e>100?100:e}},mounted(){this.store=(0,h.S)(),this.store.$onAction((({name:e,$store:t,args:n,after:s,onError:u})=>{s((t=>{"setRange"===e&&this.triggerUpdate()}))})),this.triggerUpdate()},methods:{triggerUpdate:function(){if(null!==this.store.getRange.start&&null!==this.store.getRange.end){this.budgeted=[];const e=new Date(this.store.getRange.start),t=new Date(this.store.getRange.end),n=new _;this.currency=this.store.getCurrencyCode,n.budgeted(e,t).then((e=>this.parseBudgetedResponse(e.data))),n.spent(e,t).then((e=>this.parseSpentResponse(e.data)))}},formatAmount:function(e,t){return Intl.NumberFormat(this.store.getLocale,{style:"currency",currency:e}).format(t)},parseBudgetedResponse:function(e){for(let t in e)if(e.hasOwnProperty(t)){const n=e[t],s=n.converted&&n.native_id!==n.id&&0!==parseFloat(n.native_sum);this.budgeted.push({sum:n.sum,code:n.code,native_sum:n.converted?n.native_sum:n.sum,native_code:n.converted?n.native_code:n.code,native:s}),n.converted&&(s||n.native_id===n.id)&&(this.budgetedAmount=this.budgetedAmount+parseFloat(n.native_sum)),n.converted||(this.budgetedAmount=this.budgetedAmount+parseFloat(n.sum))}},parseSpentResponse:function(e){for(let t in e)if(e.hasOwnProperty(t)){const n=e[t],s=n.converted&&n.native_id!==n.id&&0!==parseFloat(n.native_sum);this.spent.push({sum:n.sum,code:n.code,native_sum:n.converted?n.native_sum:n.sum,native_code:n.converted?n.native_code:n.code,native:s}),n.converted&&(s||n.native_id===n.id)&&(this.spentAmount=this.spentAmount+-1*parseFloat(n.native_sum)),n.converted||(this.spentAmount=this.spentAmount+-1*parseFloat(n.sum))}}}};var w=n(1639),y=n(4458),A=n(490),k=n(1233),q=n(3115),Z=n(926),D=n(3190),R=n(3302),W=n(9984),z=n.n(W);const M=(0,w.Z)(b,[["render",g]]),C=M;z()(b,"components",{QCard:y.Z,QItem:A.Z,QItemSection:k.Z,QItemLabel:q.Z,QSeparator:Z.Z,QCardSection:D.Z,QCircularProgress:R.Z})}}]);
|
1
public/v3/js/379.d59b7eb6.js
vendored
1
public/v3/js/379.d59b7eb6.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[379],{379:(e,t,n)=>{n.r(t),n.d(t,{default:()=>C});var s=n(9835),u=n(6970);const r={class:"q-mx-sm"},i=["title"],o=(0,s.Uk)(": "),a=["title"],d={key:0},l=(0,s._)("br",null,null,-1),m=["title"],c=["title"],p={key:0};function g(e,t,n,g,h,f){const v=(0,s.up)("q-item-label"),_=(0,s.up)("q-item-section"),w=(0,s.up)("q-item"),b=(0,s.up)("q-separator"),y=(0,s.up)("q-circular-progress"),A=(0,s.up)("q-card-section"),k=(0,s.up)("q-card");return(0,s.wg)(),(0,s.iD)("div",r,[(0,s.Wm)(k,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(w,null,{default:(0,s.w5)((()=>[(0,s.Wm)(_,null,{default:(0,s.w5)((()=>[(0,s.Wm)(v,null,{default:(0,s.w5)((()=>[(0,s._)("strong",null,(0,u.zw)(e.$t("firefly.left_to_spend")),1)])),_:1})])),_:1})])),_:1}),(0,s.Wm)(b),(0,s.Wm)(A,{horizontal:""},{default:(0,s.w5)((()=>[(0,s.Wm)(A,null,{default:(0,s.w5)((()=>[(0,s.Wm)(y,{value:f.percentage,size:"50px",thickness:.22,color:"negative","track-color":"positive"},null,8,["value","thickness"])])),_:1}),(0,s.Wm)(b,{vertical:""}),0===h.budgeted.length&&0===h.spent.length?((0,s.wg)(),(0,s.j4)(A,{key:0},{default:(0,s.w5)((()=>[(0,s.Uk)((0,u.zw)(e.$t("firefly.no_budget")),1)])),_:1})):(0,s.kq)("",!0),h.budgeted.length>0||h.spent.length>0?((0,s.wg)(),(0,s.j4)(A,{key:1},{default:(0,s.w5)((()=>[(0,s._)("span",{title:f.formatAmount(this.currency,this.budgetedAmount)},(0,u.zw)(e.$t("firefly.budgeted")),9,i),o,((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(h.budgeted,((e,t)=>((0,s.wg)(),(0,s.iD)("span",null,[(0,s._)("span",{title:f.formatAmount(e.native_code,e.native_sum)},(0,u.zw)(f.formatAmount(e.code,e.sum)),9,a),t+1!==h.budgeted.length?((0,s.wg)(),(0,s.iD)("span",d," + ")):(0,s.kq)("",!0)])))),256)),l,h.spent.length>0?((0,s.wg)(),(0,s.iD)("span",{key:0,title:f.formatAmount(this.currency,this.spentAmount)},(0,u.zw)(e.$t("firefly.spent"))+": ",9,m)):(0,s.kq)("",!0),((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(h.spent,((e,t)=>((0,s.wg)(),(0,s.iD)("span",null,[(0,s._)("span",{title:f.formatAmount(e.native_code,e.native_sum)},(0,u.zw)(f.formatAmount(e.code,e.sum)),9,c),t+1!==h.spent.length?((0,s.wg)(),(0,s.iD)("span",p," + ")):(0,s.kq)("",!0)])))),256))])),_:1})):(0,s.kq)("",!0)])),_:1})])),_:1})])}var h=n(3555),f=n(1569),v=n(8898);class _{budgeted(e,t){let n="api/v2/budgets/sum/budgeted",s=(0,v.Z)(e,"y-MM-dd"),u=(0,v.Z)(t,"y-MM-dd");return f.api.get(n,{params:{start:s,end:u}})}spent(e,t){let n="api/v2/budgets/sum/spent",s=(0,v.Z)(e,"y-MM-dd"),u=(0,v.Z)(t,"y-MM-dd");return f.api.get(n,{params:{start:s,end:u}})}}const w={data(){return{store:null,budgeted:[],spent:[],currency:"EUR",budgetedAmount:0,spentAmount:0}},name:"SpendInsightBox",computed:{percentage:function(){if(0===this.budgetedAmount)return 100;if(0===this.spentAmount)return 0;const e=this.spentAmount/this.budgetedAmount*100;return e>100?100:e}},mounted(){this.store=(0,h.S)(),this.store.$onAction((({name:e,$store:t,args:n,after:s,onError:u})=>{s((t=>{"setRange"===e&&this.triggerUpdate()}))})),this.triggerUpdate()},methods:{triggerUpdate:function(){if(null!==this.store.getRange.start&&null!==this.store.getRange.end){this.budgeted=[];const e=new Date(this.store.getRange.start),t=new Date(this.store.getRange.end),n=new _;this.currency=this.store.getCurrencyCode,n.budgeted(e,t).then((e=>this.parseBudgetedResponse(e.data))),n.spent(e,t).then((e=>this.parseSpentResponse(e.data)))}},formatAmount:function(e,t){return Intl.NumberFormat(this.store.getLocale,{style:"currency",currency:e}).format(t)},parseBudgetedResponse:function(e){for(let t in e)if(e.hasOwnProperty(t)){const n=e[t],s=n.converted&&n.native_id!==n.id&&0!==parseFloat(n.native_sum);this.budgeted.push({sum:n.sum,code:n.code,native_sum:n.converted?n.native_sum:n.sum,native_code:n.converted?n.native_code:n.code,native:s}),n.converted&&(s||n.native_id===n.id)&&(this.budgetedAmount=this.budgetedAmount+parseFloat(n.native_sum)),n.converted||(this.budgetedAmount=this.budgetedAmount+parseFloat(n.sum))}},parseSpentResponse:function(e){for(let t in e)if(e.hasOwnProperty(t)){const n=e[t],s=n.converted&&n.native_id!==n.id&&0!==parseFloat(n.native_sum);this.spent.push({sum:n.sum,code:n.code,native_sum:n.converted?n.native_sum:n.sum,native_code:n.converted?n.native_code:n.code,native:s}),n.converted&&(s||n.native_id===n.id)&&(this.spentAmount=this.spentAmount+-1*parseFloat(n.native_sum)),n.converted||(this.spentAmount=this.spentAmount+-1*parseFloat(n.sum))}}}};var b=n(1639),y=n(4458),A=n(490),k=n(1233),q=n(3115),Z=n(926),D=n(3190),R=n(3302),W=n(9984),z=n.n(W);const M=(0,b.Z)(w,[["render",g]]),C=M;z()(w,"components",{QCard:y.Z,QItem:A.Z,QItemSection:k.Z,QItemLabel:q.Z,QSeparator:Z.Z,QCardSection:D.Z,QCircularProgress:R.Z})}}]);
|
1
public/v3/js/3903.563210b9.js
vendored
1
public/v3/js/3903.563210b9.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[3903],{9172:(e,t,a)=>{a.r(t),a.d(t,{default:()=>N});var s=a(9835),n=a(6970);const r={class:"row q-mx-md"},o={class:"col-12"},i={class:"text-h6"},c={class:"row"},u={class:"col-12 q-mb-xs"},l=(0,s._)("br",null,null,-1),d=(0,s._)("br",null,null,-1),w={class:"row q-mt-sm"},g={class:"col-12"};function p(e,t,a,p,m,h){const b=(0,s.up)("q-card-section"),f=(0,s.up)("q-card"),_=(0,s.up)("LargeTable"),q=(0,s.up)("q-page");return(0,s.wg)(),(0,s.j4)(q,null,{default:(0,s.w5)((()=>[(0,s._)("div",r,[(0,s._)("div",o,[(0,s.Wm)(f,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(b,null,{default:(0,s.w5)((()=>[(0,s._)("div",i,(0,n.zw)(m.account.name),1)])),_:1}),(0,s.Wm)(b,null,{default:(0,s.w5)((()=>[(0,s._)("div",c,[(0,s._)("div",u,[(0,s.Uk)(" Name: "+(0,n.zw)(m.account.name),1),l,(0,s.Uk)(" IBAN: "+(0,n.zw)(m.account.iban),1),d])])])),_:1})])),_:1})])]),(0,s._)("div",w,[(0,s._)("div",g,[(0,s.Wm)(_,{ref:"table",title:"Transactions",rows:m.rows,loading:e.loading,onOnRequest:h.onRequest,"rows-number":m.rowsNumber,"rows-per-page":m.rowsPerPage,page:m.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var m=a(160),h=a(5146),b=a(3247);const f={name:"Show",data(){return{account:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1}},created(){this.id=parseInt(this.$route.params.id),this.getAccount()},mounted(){},components:{LargeTable:h.Z},methods:{onRequest:function(e){this.page=e.page,this.getAccount()},getAccount:function(){let e=new m.Z;e.get(this.id).then((e=>this.parseAccount(e))),this.loading=!0;const t=new b.Z;this.rows=[],e.transactions(this.id,this.page).then((e=>{let a=t.parseResponse(e);this.rowsPerPage=a.rowsPerPage,this.rowsNumber=a.rowsNumber,this.rows=a.rows,this.loading=!1}))},parseAccount:function(e){this.account={name:e.data.data.attributes.name,iban:e.data.data.attributes.iban}}}};var _=a(1639),q=a(9885),v=a(4458),P=a(3190),Z=a(9984),k=a.n(Z);const A=(0,_.Z)(f,[["render",p]]),N=A;k()(f,"components",{QPage:q.Z,QCard:v.Z,QCardSection:P.Z})}}]);
|
1
public/v3/js/3903.f60c3308.js
vendored
Normal file
1
public/v3/js/3903.f60c3308.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[3903],{9172:(e,a,t)=>{t.r(a),t.d(a,{default:()=>N});var s=t(9835),n=t(6970);const o={class:"row q-mx-md"},r={class:"col-12"},i={class:"text-h6"},c={class:"row"},u={class:"col-12 q-mb-xs"},l=(0,s._)("br",null,null,-1),d=(0,s._)("br",null,null,-1),w={class:"row q-mt-sm"},g={class:"col-12"};function p(e,a,t,p,h,m){const b=(0,s.up)("q-card-section"),_=(0,s.up)("q-card"),f=(0,s.up)("LargeTable"),q=(0,s.up)("q-page");return(0,s.wg)(),(0,s.j4)(q,null,{default:(0,s.w5)((()=>[(0,s._)("div",o,[(0,s._)("div",r,[(0,s.Wm)(_,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(b,null,{default:(0,s.w5)((()=>[(0,s._)("div",i,(0,n.zw)(h.account.name),1)])),_:1}),(0,s.Wm)(b,null,{default:(0,s.w5)((()=>[(0,s._)("div",c,[(0,s._)("div",u,[(0,s.Uk)(" Name: "+(0,n.zw)(h.account.name),1),l,(0,s.Uk)(" IBAN: "+(0,n.zw)(h.account.iban),1),d])])])),_:1})])),_:1})])]),(0,s._)("div",w,[(0,s._)("div",g,[(0,s.Wm)(f,{ref:"table",title:"Transactions",rows:h.rows,loading:e.loading,onOnRequest:m.onRequest,"rows-number":h.rowsNumber,"rows-per-page":h.rowsPerPage,page:h.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var h=t(160),m=t(5146),b=t(3247);const _={name:"Show",data(){return{account:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1}},created(){this.id=parseInt(this.$route.params.id),this.getAccount()},mounted(){},components:{LargeTable:m.Z},methods:{onRequest:function(e){this.page=e.page,this.getAccount()},getAccount:function(){let e=new h.Z;e.get(this.id).then((e=>this.parseAccount(e))),this.loading=!0;const a=new b.Z;this.rows=[],e.transactions(this.id,this.page).then((e=>{let t=a.parseResponse(e);this.rowsPerPage=t.rowsPerPage,this.rowsNumber=t.rowsNumber,this.rows=t.rows,this.loading=!1}))},parseAccount:function(e){this.account={name:e.data.data.attributes.name,iban:e.data.data.attributes.iban}}}};var f=t(1639),q=t(9885),v=t(4458),P=t(3190),Z=t(9984),k=t.n(Z);const A=(0,f.Z)(_,[["render",p]]),N=A;k()(_,"components",{QPage:q.Z,QCard:v.Z,QCardSection:P.Z})}}]);
|
1
public/v3/js/4012.8393d3e6.js
vendored
Normal file
1
public/v3/js/4012.8393d3e6.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[4012],{4012:(t,a,e)=>{e.r(a),e.d(a,{default:()=>_});var i=e(9835),s=e(6970);function n(t,a,e,n,r,g){const o=(0,i.up)("router-link"),l=(0,i.up)("q-badge"),u=(0,i.up)("q-card-section"),d=(0,i.up)("q-card"),p=(0,i.up)("q-fab-action"),c=(0,i.up)("q-fab"),h=(0,i.up)("q-page-sticky"),f=(0,i.up)("q-page");return(0,i.wg)(),(0,i.j4)(f,null,{default:(0,i.w5)((()=>[(0,i.Wm)(d,null,{default:(0,i.w5)((()=>[(0,i.Wm)(u,null,{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.tags,(t=>((0,i.wg)(),(0,i.iD)("span",null,[(0,i.Wm)(l,{outline:"",class:"q-ma-xs",color:"blue"},{default:(0,i.w5)((()=>[(0,i.Wm)(o,{to:{name:"tags.show",params:{id:t.id}}},{default:(0,i.w5)((()=>[(0,i.Uk)((0,s.zw)(t.attributes.tag),1)])),_:2},1032,["to"])])),_:2},1024)])))),256))])),_:1})])),_:1}),(0,i.Wm)(h,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(c,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(p,{color:"primary",square:"",to:{name:"tags.create"},icon:"fas fa-exchange-alt",label:"New tag"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var r=e(1569);class g{list(t,a){let e="/api/v1/tags";return r.api.get(e,{params:{page:t,cache:a}})}}const o={name:"Index",watch:{$route(t){"tags.index"===t.name&&(this.page=1,this.updateBreadcrumbs(),this.triggerUpdate())}},data(){return{tags:[],loading:!1}},computed:{},created(){},mounted(){null!==this.store.getRange.start&&null!==this.store.getRange.end||this.store.$onAction((({name:t,$store:a,args:e,after:i,onError:s})=>{i((a=>{"setRange"===t&&(this.range=a,this.triggerUpdate())}))})),null!==this.store.getRange.start&&null!==this.store.getRange.end&&(this.range={start:this.store.getRange.start,end:this.store.getRange.end},this.triggerUpdate())},methods:{updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly.tags",this.$route.meta.breadcrumbs=[{title:"tags"}]},onRequest:function(t){this.page=t.pagination.page,this.triggerUpdate()},triggerUpdate:function(){this.loading||(this.loading=!0,this.getPage(1))},getPage:function(t){const a=new g;this.rows=[],a.list(t,this.getCacheKey).then((a=>{for(let t in a.data.data)if(a.data.data.hasOwnProperty(t)){let e=a.data.data[t];this.tags.push(e)}t<parseInt(a.data.meta.pagination.total_pages)&&this.getPage(t+1),t===parseInt(a.data.meta.pagination.total_pages)&&(this.loading=!1)}))}}};var l=e(1639),u=e(9885),d=e(4458),p=e(3190),c=e(990),h=e(3388),f=e(9361),m=e(935),b=e(9984),w=e.n(b);const q=(0,l.Z)(o,[["render",n]]),_=q;w()(o,"components",{QPage:u.Z,QCard:d.Z,QCardSection:p.Z,QBadge:c.Z,QPageSticky:h.Z,QFab:f.Z,QFabAction:m.Z})}}]);
|
1
public/v3/js/4012.a14f320a.js
vendored
1
public/v3/js/4012.a14f320a.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[4012],{4012:(t,a,e)=>{e.r(a),e.d(a,{default:()=>_});var i=e(9835),s=e(6970);function n(t,a,e,n,r,g){const o=(0,i.up)("router-link"),l=(0,i.up)("q-badge"),u=(0,i.up)("q-card-section"),d=(0,i.up)("q-card"),p=(0,i.up)("q-fab-action"),c=(0,i.up)("q-fab"),h=(0,i.up)("q-page-sticky"),f=(0,i.up)("q-page");return(0,i.wg)(),(0,i.j4)(f,null,{default:(0,i.w5)((()=>[(0,i.Wm)(d,null,{default:(0,i.w5)((()=>[(0,i.Wm)(u,null,{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.tags,(t=>((0,i.wg)(),(0,i.iD)("span",null,[(0,i.Wm)(l,{outline:"",class:"q-ma-xs",color:"blue"},{default:(0,i.w5)((()=>[(0,i.Wm)(o,{to:{name:"tags.show",params:{id:t.id}}},{default:(0,i.w5)((()=>[(0,i.Uk)((0,s.zw)(t.attributes.tag),1)])),_:2},1032,["to"])])),_:2},1024)])))),256))])),_:1})])),_:1}),(0,i.Wm)(h,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(c,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(p,{color:"primary",square:"",to:{name:"tags.create"},icon:"fas fa-exchange-alt",label:"New tag"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var r=e(1569);class g{list(t,a){let e="/api/v1/tags";return r.api.get(e,{params:{page:t,cache:a}})}}const o={name:"Index",watch:{$route(t){"tags.index"===t.name&&(this.page=1,this.updateBreadcrumbs(),this.triggerUpdate())}},data(){return{tags:[],loading:!1}},computed:{},created(){},mounted(){null!==this.store.getRange.start&&null!==this.store.getRange.end||this.store.$onAction((({name:t,$store:a,args:e,after:i,onError:s})=>{i((a=>{"setRange"===t&&(this.range=a,this.triggerUpdate())}))})),null!==this.store.getRange.start&&null!==this.store.getRange.end&&(this.range={start:this.store.getRange.start,end:this.store.getRange.end},this.triggerUpdate())},methods:{updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly.tags",this.$route.meta.breadcrumbs=[{title:"tags"}]},onRequest:function(t){this.page=t.pagination.page,this.triggerUpdate()},triggerUpdate:function(){this.loading||(this.loading=!0,this.getPage(1))},getPage:function(t){const a=new g;this.rows=[],a.list(t,this.getCacheKey).then((a=>{for(let t in a.data.data)if(a.data.data.hasOwnProperty(t)){let e=a.data.data[t];this.tags.push(e)}t<parseInt(a.data.meta.pagination.total_pages)&&this.getPage(t+1),t===parseInt(a.data.meta.pagination.total_pages)&&(this.loading=!1)}))}}};var l=e(1639),u=e(9885),d=e(4458),p=e(3190),c=e(990),h=e(3388),f=e(9361),m=e(935),w=e(9984),b=e.n(w);const q=(0,l.Z)(o,[["render",n]]),_=q;b()(o,"components",{QPage:u.Z,QCard:d.Z,QCardSection:p.Z,QBadge:c.Z,QPageSticky:h.Z,QFab:f.Z,QFabAction:m.Z})}}]);
|
1
public/v3/js/4640.787a9bb1.js
vendored
1
public/v3/js/4640.787a9bb1.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[4640],{4640:(e,s,t)=>{t.r(s),t.d(s,{default:()=>Q});var r=t(9835),o=t(6970);const a={class:"row q-mx-md"},i={class:"col-12"},l={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Info for new budget",-1),d={class:"row"},m={class:"col-12 q-mb-xs"},c={class:"row q-mx-md"},b={class:"col-12"},h={class:"row"},p={class:"col-12 text-right"},f={class:"row"},g={class:"col-12 text-right"},w=(0,r._)("br",null,null,-1);function _(e,s,t,_,v,q){const E=(0,r.up)("q-btn"),k=(0,r.up)("q-banner"),x=(0,r.up)("q-card-section"),C=(0,r.up)("q-input"),R=(0,r.up)("q-card"),I=(0,r.up)("q-checkbox"),S=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",a,[(0,r._)("div",i,[""!==v.errorMessage?((0,r.wg)(),(0,r.j4)(k,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(E,{flat:"",onClick:q.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,o.zw)(v.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",l,[(0,r._)("div",n,[(0,r.Wm)(R,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(x,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(x,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,[(0,r._)("div",m,[(0,r.Wm)(C,{"error-message":v.submissionErrors.name,error:v.hasSubmissionErrors.name,"bottom-slots":"",disable:q.disabledInput,type:"text",clearable:"",modelValue:v.name,"onUpdate:modelValue":s[0]||(s[0]=e=>v.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",c,[(0,r._)("div",b,[(0,r.Wm)(R,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(x,null,{default:(0,r.w5)((()=>[(0,r._)("div",h,[(0,r._)("div",p,[(0,r.Wm)(E,{disable:q.disabledInput,color:"primary",label:"Submit",onClick:q.submitBudget},null,8,["disable","onClick"])])]),(0,r._)("div",f,[(0,r._)("div",g,[(0,r.Wm)(I,{disable:q.disabledInput,modelValue:v.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>v.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),w,(0,r.Wm)(I,{modelValue:v.doResetForm,"onUpdate:modelValue":s[2]||(s[2]=e=>v.doResetForm=e),"left-label":"",disable:!v.doReturnHere||q.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var v=t(1569);class q{post(e){let s="/api/v1/budgets";return v.api.post(s,e)}}const E={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",name:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.resetForm(),this.type=this.$route.params.type},methods:{resetForm:function(){this.name="",this.resetErrors()},resetErrors:function(){this.submissionErrors={name:""},this.hasSubmissionErrors={name:!1}},submitBudget:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildBudget();let s=new q;s.post(e).catch(this.processErrors).then(this.processSuccess)},buildBudget:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am new budget",show:!0,action:{show:!0,text:"Go to budget",link:{name:"budgets.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var k=t(1639),x=t(9885),C=t(7128),R=t(8879),I=t(4458),S=t(3190),W=t(6611),y=t(1221),V=t(9984),B=t.n(V);const Z=(0,k.Z)(E,[["render",_]]),Q=Z;B()(E,"components",{QPage:x.Z,QBanner:C.Z,QBtn:R.Z,QCard:I.Z,QCardSection:S.Z,QInput:W.Z,QCheckbox:y.Z})}}]);
|
1
public/v3/js/4640.7f16d860.js
vendored
Normal file
1
public/v3/js/4640.7f16d860.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[4640],{4640:(e,s,t)=>{t.r(s),t.d(s,{default:()=>Q});var r=t(9835),o=t(6970);const a={class:"row q-mx-md"},i={class:"col-12"},l={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Info for new budget",-1),d={class:"row"},m={class:"col-12 q-mb-xs"},c={class:"row q-mx-md"},b={class:"col-12"},h={class:"row"},p={class:"col-12 text-right"},g={class:"row"},f={class:"col-12 text-right"},w=(0,r._)("br",null,null,-1);function _(e,s,t,_,v,q){const E=(0,r.up)("q-btn"),k=(0,r.up)("q-banner"),x=(0,r.up)("q-card-section"),C=(0,r.up)("q-input"),R=(0,r.up)("q-card"),I=(0,r.up)("q-checkbox"),S=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",a,[(0,r._)("div",i,[""!==v.errorMessage?((0,r.wg)(),(0,r.j4)(k,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(E,{flat:"",onClick:q.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,o.zw)(v.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",l,[(0,r._)("div",n,[(0,r.Wm)(R,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(x,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(x,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,[(0,r._)("div",m,[(0,r.Wm)(C,{"error-message":v.submissionErrors.name,error:v.hasSubmissionErrors.name,"bottom-slots":"",disable:q.disabledInput,type:"text",clearable:"",modelValue:v.name,"onUpdate:modelValue":s[0]||(s[0]=e=>v.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",c,[(0,r._)("div",b,[(0,r.Wm)(R,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(x,null,{default:(0,r.w5)((()=>[(0,r._)("div",h,[(0,r._)("div",p,[(0,r.Wm)(E,{disable:q.disabledInput,color:"primary",label:"Submit",onClick:q.submitBudget},null,8,["disable","onClick"])])]),(0,r._)("div",g,[(0,r._)("div",f,[(0,r.Wm)(I,{disable:q.disabledInput,modelValue:v.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>v.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),w,(0,r.Wm)(I,{modelValue:v.doResetForm,"onUpdate:modelValue":s[2]||(s[2]=e=>v.doResetForm=e),"left-label":"",disable:!v.doReturnHere||q.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var v=t(1569);class q{post(e){let s="/api/v1/budgets";return v.api.post(s,e)}}const E={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",name:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.resetForm(),this.type=this.$route.params.type},methods:{resetForm:function(){this.name="",this.resetErrors()},resetErrors:function(){this.submissionErrors={name:""},this.hasSubmissionErrors={name:!1}},submitBudget:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildBudget();let s=new q;s.post(e).catch(this.processErrors).then(this.processSuccess)},buildBudget:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am new budget",show:!0,action:{show:!0,text:"Go to budget",link:{name:"budgets.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var k=t(1639),x=t(9885),C=t(7128),R=t(8879),I=t(4458),S=t(3190),W=t(6611),y=t(1221),V=t(9984),B=t.n(V);const Z=(0,k.Z)(E,[["render",_]]),Q=Z;B()(E,"components",{QPage:x.Z,QBanner:C.Z,QBtn:R.Z,QCard:I.Z,QCardSection:S.Z,QInput:W.Z,QCheckbox:y.Z})}}]);
|
1
public/v3/js/4851.342c8b1f.js
vendored
Normal file
1
public/v3/js/4851.342c8b1f.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[4851],{4851:(e,r,s)=>{s.r(r),s.d(r,{default:()=>k});var a=s(9835),t=s(6970);const n={class:"row q-mx-md"},o={class:"col-12"},c={class:"text-h6"},i={class:"row"},u={class:"col-12 q-mb-xs"},l=(0,a._)("br",null,null,-1),d=(0,a._)("br",null,null,-1),w={class:"row q-mt-sm"},g={class:"col-12"};function h(e,r,s,h,p,m){const b=(0,a.up)("q-card-section"),_=(0,a.up)("q-card"),f=(0,a.up)("LargeTable"),y=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(y,null,{default:(0,a.w5)((()=>[(0,a._)("div",n,[(0,a._)("div",o,[(0,a.Wm)(_,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(b,null,{default:(0,a.w5)((()=>[(0,a._)("div",c,(0,t.zw)(p.currency.name),1)])),_:1}),(0,a.Wm)(b,null,{default:(0,a.w5)((()=>[(0,a._)("div",i,[(0,a._)("div",u,[(0,a.Uk)(" Name: "+(0,t.zw)(p.currency.name),1),l,(0,a.Uk)(" Code: "+(0,t.zw)(p.currency.code),1),d])])])),_:1})])),_:1})])]),(0,a._)("div",w,[(0,a._)("div",g,[(0,a.Wm)(f,{ref:"table",title:"Transactions",rows:p.rows,loading:e.loading,onOnRequest:m.onRequest,"rows-number":p.rowsNumber,"rows-per-page":p.rowsPerPage,page:p.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var p=s(5146),m=s(1484),b=s(3247);const _={name:"Show",data(){return{currency:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1,code:""}},created(){this.code=this.$route.params.code,this.getCurrency()},components:{LargeTable:p.Z},methods:{onRequest:function(e){this.page=e.page,this.getCurrency()},getCurrency:function(){let e=new m.Z;e.get(this.code).then((e=>this.parseCurrency(e))),this.loading=!0;const r=new b.Z;this.rows=[],e.transactions(this.code,this.page,this.getCacheKey).then((e=>{let s=r.parseResponse(e);this.rowsPerPage=s.rowsPerPage,this.rowsNumber=s.rowsNumber,this.rows=s.rows,this.loading=!1}))},parseCurrency:function(e){this.currency={name:e.data.data.attributes.name,code:e.data.data.attributes.code}}}};var f=s(1639),y=s(9885),C=s(4458),q=s(3190),v=s(9984),P=s.n(v);const Z=(0,f.Z)(_,[["render",h]]),k=Z;P()(_,"components",{QPage:y.Z,QCard:C.Z,QCardSection:q.Z})}}]);
|
1
public/v3/js/4851.89f60adb.js
vendored
1
public/v3/js/4851.89f60adb.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[4851],{4851:(e,r,s)=>{s.r(r),s.d(r,{default:()=>k});var a=s(9835),t=s(6970);const n={class:"row q-mx-md"},o={class:"col-12"},c={class:"text-h6"},u={class:"row"},i={class:"col-12 q-mb-xs"},l=(0,a._)("br",null,null,-1),d=(0,a._)("br",null,null,-1),w={class:"row q-mt-sm"},g={class:"col-12"};function h(e,r,s,h,p,m){const b=(0,a.up)("q-card-section"),f=(0,a.up)("q-card"),_=(0,a.up)("LargeTable"),y=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(y,null,{default:(0,a.w5)((()=>[(0,a._)("div",n,[(0,a._)("div",o,[(0,a.Wm)(f,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(b,null,{default:(0,a.w5)((()=>[(0,a._)("div",c,(0,t.zw)(p.currency.name),1)])),_:1}),(0,a.Wm)(b,null,{default:(0,a.w5)((()=>[(0,a._)("div",u,[(0,a._)("div",i,[(0,a.Uk)(" Name: "+(0,t.zw)(p.currency.name),1),l,(0,a.Uk)(" Code: "+(0,t.zw)(p.currency.code),1),d])])])),_:1})])),_:1})])]),(0,a._)("div",w,[(0,a._)("div",g,[(0,a.Wm)(_,{ref:"table",title:"Transactions",rows:p.rows,loading:e.loading,onOnRequest:m.onRequest,"rows-number":p.rowsNumber,"rows-per-page":p.rowsPerPage,page:p.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var p=s(5146),m=s(1484),b=s(3247);const f={name:"Show",data(){return{currency:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1,code:""}},created(){this.code=this.$route.params.code,this.getCurrency()},components:{LargeTable:p.Z},methods:{onRequest:function(e){this.page=e.page,this.getCurrency()},getCurrency:function(){let e=new m.Z;e.get(this.code).then((e=>this.parseCurrency(e))),this.loading=!0;const r=new b.Z;this.rows=[],e.transactions(this.code,this.page,this.getCacheKey).then((e=>{let s=r.parseResponse(e);this.rowsPerPage=s.rowsPerPage,this.rowsNumber=s.rowsNumber,this.rows=s.rows,this.loading=!1}))},parseCurrency:function(e){this.currency={name:e.data.data.attributes.name,code:e.data.data.attributes.code}}}};var _=s(1639),y=s(9885),C=s(4458),q=s(3190),v=s(9984),P=s.n(v);const Z=(0,_.Z)(f,[["render",h]]),k=Z;P()(f,"components",{QPage:y.Z,QCard:C.Z,QCardSection:q.Z})}}]);
|
1
public/v3/js/4853.668d2e99.js
vendored
1
public/v3/js/4853.668d2e99.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/4853.ad002f0a.js
vendored
Normal file
1
public/v3/js/4853.ad002f0a.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/4902.34679708.js
vendored
Normal file
1
public/v3/js/4902.34679708.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[4902],{4902:(e,s,t)=>{t.r(s),t.d(s,{default:()=>y});var r=t(9835),l=t(6970);const o={class:"row q-mx-md"},i={class:"col-12"},a={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Info for new rule group",-1),d={class:"row q-mx-md"},c={class:"col-12"},m={class:"row"},b={class:"col-12 text-right"},h={class:"row"},p={class:"col-12 text-right"},f=(0,r._)("br",null,null,-1);function g(e,s,t,g,w,_){const v=(0,r.up)("q-btn"),q=(0,r.up)("q-banner"),E=(0,r.up)("q-card-section"),R=(0,r.up)("q-input"),k=(0,r.up)("q-card"),x=(0,r.up)("q-checkbox"),C=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(C,null,{default:(0,r.w5)((()=>[(0,r._)("div",o,[(0,r._)("div",i,[""!==w.errorMessage?((0,r.wg)(),(0,r.j4)(q,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(v,{flat:"",onClick:_.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,l.zw)(w.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",a,[(0,r._)("div",n,[(0,r.Wm)(k,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(E,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(E,null,{default:(0,r.w5)((()=>[(0,r.Wm)(R,{"error-message":w.submissionErrors.title,error:w.hasSubmissionErrors.title,"bottom-slots":"",disable:_.disabledInput,type:"text",clearable:"",modelValue:w.title,"onUpdate:modelValue":s[0]||(s[0]=e=>w.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])),_:1})])),_:1})])]),(0,r._)("div",d,[(0,r._)("div",c,[(0,r.Wm)(k,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(E,null,{default:(0,r.w5)((()=>[(0,r._)("div",m,[(0,r._)("div",b,[(0,r.Wm)(v,{disable:_.disabledInput,color:"primary",label:"Submit",onClick:_.submitRuleGroup},null,8,["disable","onClick"])])]),(0,r._)("div",h,[(0,r._)("div",p,[(0,r.Wm)(x,{disable:_.disabledInput,modelValue:w.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>w.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),f,(0,r.Wm)(x,{modelValue:w.doResetForm,"onUpdate:modelValue":s[2]||(s[2]=e=>w.doResetForm=e),"left-label":"",disable:!w.doReturnHere||_.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var w=t(1569);class _{post(e){let s="/api/v1/rule_groups";return w.api.post(s,e)}}const v={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",title:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.resetForm()},methods:{resetForm:function(){this.title="",this.resetErrors()},resetErrors:function(){this.submissionErrors={title:""},this.hasSubmissionErrors={title:!1}},submitRuleGroup:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildRuleGroup();(new _).post(e).catch(this.processErrors).then(this.processSuccess)},buildRuleGroup:function(){return{title:this.title}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am new rule group",show:!0,action:{show:!0,text:"Go to piggy",link:{name:"rule-groups.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var q=t(1639),E=t(9885),R=t(7128),k=t(8879),x=t(4458),C=t(3190),I=t(6611),S=t(1221),W=t(9984),V=t.n(W);const Z=(0,q.Z)(v,[["render",g]]),y=Z;V()(v,"components",{QPage:E.Z,QBanner:R.Z,QBtn:k.Z,QCard:x.Z,QCardSection:C.Z,QInput:I.Z,QCheckbox:S.Z})}}]);
|
1
public/v3/js/4902.c42bfdad.js
vendored
1
public/v3/js/4902.c42bfdad.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[4902],{4902:(e,s,t)=>{t.r(s),t.d(s,{default:()=>y});var r=t(9835),l=t(6970);const o={class:"row q-mx-md"},i={class:"col-12"},a={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Info for new rule group",-1),d={class:"row q-mx-md"},c={class:"col-12"},m={class:"row"},b={class:"col-12 text-right"},h={class:"row"},p={class:"col-12 text-right"},f=(0,r._)("br",null,null,-1);function g(e,s,t,g,w,_){const v=(0,r.up)("q-btn"),q=(0,r.up)("q-banner"),E=(0,r.up)("q-card-section"),R=(0,r.up)("q-input"),k=(0,r.up)("q-card"),x=(0,r.up)("q-checkbox"),C=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(C,null,{default:(0,r.w5)((()=>[(0,r._)("div",o,[(0,r._)("div",i,[""!==w.errorMessage?((0,r.wg)(),(0,r.j4)(q,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(v,{flat:"",onClick:_.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,l.zw)(w.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",a,[(0,r._)("div",n,[(0,r.Wm)(k,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(E,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(E,null,{default:(0,r.w5)((()=>[(0,r.Wm)(R,{"error-message":w.submissionErrors.title,error:w.hasSubmissionErrors.title,"bottom-slots":"",disable:_.disabledInput,type:"text",clearable:"",modelValue:w.title,"onUpdate:modelValue":s[0]||(s[0]=e=>w.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])),_:1})])),_:1})])]),(0,r._)("div",d,[(0,r._)("div",c,[(0,r.Wm)(k,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(E,null,{default:(0,r.w5)((()=>[(0,r._)("div",m,[(0,r._)("div",b,[(0,r.Wm)(v,{disable:_.disabledInput,color:"primary",label:"Submit",onClick:_.submitRuleGroup},null,8,["disable","onClick"])])]),(0,r._)("div",h,[(0,r._)("div",p,[(0,r.Wm)(x,{disable:_.disabledInput,modelValue:w.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>w.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),f,(0,r.Wm)(x,{modelValue:w.doResetForm,"onUpdate:modelValue":s[2]||(s[2]=e=>w.doResetForm=e),"left-label":"",disable:!w.doReturnHere||_.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var w=t(1569);class _{post(e){let s="/api/v1/rule_groups";return w.api.post(s,e)}}const v={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",title:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.resetForm()},methods:{resetForm:function(){this.title="",this.resetErrors()},resetErrors:function(){this.submissionErrors={title:""},this.hasSubmissionErrors={title:!1}},submitRuleGroup:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildRuleGroup();(new _).post(e).catch(this.processErrors).then(this.processSuccess)},buildRuleGroup:function(){return{title:this.title}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am new rule group",show:!0,action:{show:!0,text:"Go to piggy",link:{name:"rule-groups.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var q=t(1639),E=t(9885),R=t(7128),k=t(8879),x=t(4458),C=t(3190),I=t(6611),S=t(1221),W=t(9984),V=t.n(W);const Z=(0,q.Z)(v,[["render",g]]),y=Z;V()(v,"components",{QPage:E.Z,QBanner:R.Z,QBtn:k.Z,QCard:x.Z,QCardSection:C.Z,QInput:I.Z,QCheckbox:S.Z})}}]);
|
1
public/v3/js/5084.1231128e.js
vendored
Normal file
1
public/v3/js/5084.1231128e.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[5084],{5084:(e,t,a)=>{a.r(t),a.d(t,{default:()=>R});var n=a(9835);const r=(0,n._)("p",null," ",-1),s=(0,n._)("p",null," ",-1),i=(0,n._)("p",null," ",-1),l=(0,n._)("p",null," ",-1);function o(e,t,a,o,g,u){const p=(0,n.up)("LargeTable"),c=(0,n.up)("q-fab-action"),d=(0,n.up)("q-fab"),h=(0,n.up)("q-page-sticky"),m=(0,n.up)("q-page");return(0,n.wg)(),(0,n.j4)(m,null,{default:(0,n.w5)((()=>[(0,n.Wm)(p,{ref:"table",title:e.$t("firefly.title_"+this.type),rows:g.rows,loading:g.loading,onOnRequest:u.onRequest,"rows-number":g.rowsNumber,"rows-per-page":g.rowsPerPage,page:g.page},null,8,["title","rows","loading","onOnRequest","rows-number","rows-per-page","page"]),r,s,i,l,(0,n.Wm)(h,{position:"bottom-right",offset:[18,18]},{default:(0,n.w5)((()=>[(0,n.Wm)(d,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,n.w5)((()=>[(0,n.Wm)(c,{color:"primary",square:"",to:{name:"transactions.create",params:{type:"transfer"}},icon:"fas fa-exchange-alt",label:"New transfer"},null,8,["to"]),(0,n.Wm)(c,{color:"primary",square:"",to:{name:"transactions.create",params:{type:"deposit"}},icon:"fas fa-long-arrow-alt-right",label:"New deposit"},null,8,["to"]),(0,n.Wm)(c,{color:"primary",square:"",to:{name:"transactions.create",params:{type:"withdrawal"}},icon:"fas fa-long-arrow-alt-left",label:"New withdrawal"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var g=a(1569);class u{list(e,t,a){let n="api/v1/transactions";return g.api.get(n,{params:{page:t,cache:a,type:e}})}}var p=a(5146),c=a(3247);const d={name:"Index",components:{LargeTable:p.Z},watch:{$route(e){"transactions.index"===e.name&&(this.type=e.params.type,this.page=1,this.triggerUpdate())}},data(){return{loading:!1,rows:[],columns:[{name:"type",label:" ",field:"type",style:"width: 30px"},{name:"description",label:"Description",field:"description",align:"left"},{name:"amount",label:"Amount",field:"amount"},{name:"date",label:"Date",field:"date",align:"left"},{name:"source",label:"Source",field:"source",align:"left"},{name:"destination",label:"Destination",field:"destination",align:"left"},{name:"category",label:"Category",field:"category",align:"left"},{name:"budget",label:"Budget",field:"budget",align:"left"},{name:"menu",label:" ",field:"menu",align:"left"}],type:"withdrawal",page:1,rowsPerPage:50,rowsNumber:100,range:{start:null,end:null}}},computed:{},created(){this.rowsPerPage=this.getListPageSize},mounted(){this.type=this.$route.params.type,null!==this.store.getRange.start&&null!==this.store.getRange.end||this.store.$onAction((({name:e,$store:t,args:a,after:n,onError:r})=>{n((t=>{"setRange"===e&&(this.range=t,this.triggerUpdate())}))})),null!==this.store.getRange.start&&null!==this.store.getRange.end&&(this.range={start:this.store.getRange.start,end:this.store.getRange.end},this.triggerUpdate())},methods:{onRequest:function(e){this.page=e.page,this.triggerUpdate()},formatAmount:function(e,t){return Intl.NumberFormat("en-US",{style:"currency",currency:e}).format(t)},gotoTransaction:function(e,t){this.$router.push({name:"transactions.show",params:{id:1}})},triggerUpdate:function(){if(this.loading)return;if(null===this.range.start||null===this.range.end)return;this.loading=!0;const e=new u,t=new c.Z;this.rows=[],e.list(this.type,this.page,this.getCacheKey).then((e=>{let a=t.parseResponse(e);this.rowsPerPage=a.rowsPerPage,this.rowsNumber=a.rowsNumber,this.rows=a.rows,this.loading=!1}))}}};var h=a(1639),m=a(9885),f=a(3388),w=a(9361),b=a(935),y=a(9984),P=a.n(y);const q=(0,h.Z)(d,[["render",o]]),R=q;P()(d,"components",{QPage:m.Z,QPageSticky:f.Z,QFab:w.Z,QFabAction:b.Z})}}]);
|
1
public/v3/js/5084.6b8b2421.js
vendored
1
public/v3/js/5084.6b8b2421.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[5084],{5084:(e,t,a)=>{a.r(t),a.d(t,{default:()=>R});var n=a(9835);const r=(0,n._)("p",null," ",-1),s=(0,n._)("p",null," ",-1),i=(0,n._)("p",null," ",-1),l=(0,n._)("p",null," ",-1);function o(e,t,a,o,g,u){const p=(0,n.up)("LargeTable"),c=(0,n.up)("q-fab-action"),d=(0,n.up)("q-fab"),f=(0,n.up)("q-page-sticky"),m=(0,n.up)("q-page");return(0,n.wg)(),(0,n.j4)(m,null,{default:(0,n.w5)((()=>[(0,n.Wm)(p,{ref:"table",title:e.$t("firefly.title_"+this.type),rows:g.rows,loading:g.loading,onOnRequest:u.onRequest,"rows-number":g.rowsNumber,"rows-per-page":g.rowsPerPage,page:g.page},null,8,["title","rows","loading","onOnRequest","rows-number","rows-per-page","page"]),r,s,i,l,(0,n.Wm)(f,{position:"bottom-right",offset:[18,18]},{default:(0,n.w5)((()=>[(0,n.Wm)(d,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,n.w5)((()=>[(0,n.Wm)(c,{color:"primary",square:"",to:{name:"transactions.create",params:{type:"transfer"}},icon:"fas fa-exchange-alt",label:"New transfer"},null,8,["to"]),(0,n.Wm)(c,{color:"primary",square:"",to:{name:"transactions.create",params:{type:"deposit"}},icon:"fas fa-long-arrow-alt-right",label:"New deposit"},null,8,["to"]),(0,n.Wm)(c,{color:"primary",square:"",to:{name:"transactions.create",params:{type:"withdrawal"}},icon:"fas fa-long-arrow-alt-left",label:"New withdrawal"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var g=a(1569);class u{list(e,t,a){let n="api/v1/transactions";return g.api.get(n,{params:{page:t,cache:a,type:e}})}}var p=a(5146),c=a(3247);const d={name:"Index",components:{LargeTable:p.Z},watch:{$route(e){"transactions.index"===e.name&&(this.type=e.params.type,this.page=1,this.triggerUpdate())}},data(){return{loading:!1,rows:[],columns:[{name:"type",label:" ",field:"type",style:"width: 30px"},{name:"description",label:"Description",field:"description",align:"left"},{name:"amount",label:"Amount",field:"amount"},{name:"date",label:"Date",field:"date",align:"left"},{name:"source",label:"Source",field:"source",align:"left"},{name:"destination",label:"Destination",field:"destination",align:"left"},{name:"category",label:"Category",field:"category",align:"left"},{name:"budget",label:"Budget",field:"budget",align:"left"},{name:"menu",label:" ",field:"menu",align:"left"}],type:"withdrawal",page:1,rowsPerPage:50,rowsNumber:100,range:{start:null,end:null}}},computed:{},created(){this.rowsPerPage=this.getListPageSize},mounted(){this.type=this.$route.params.type,null!==this.store.getRange.start&&null!==this.store.getRange.end||this.store.$onAction((({name:e,$store:t,args:a,after:n,onError:r})=>{n((t=>{"setRange"===e&&(this.range=t,this.triggerUpdate())}))})),null!==this.store.getRange.start&&null!==this.store.getRange.end&&(this.range={start:this.store.getRange.start,end:this.store.getRange.end},this.triggerUpdate())},methods:{onRequest:function(e){this.page=e.page,this.triggerUpdate()},formatAmount:function(e,t){return Intl.NumberFormat("en-US",{style:"currency",currency:e}).format(t)},gotoTransaction:function(e,t){this.$router.push({name:"transactions.show",params:{id:1}})},triggerUpdate:function(){if(this.loading)return;if(null===this.range.start||null===this.range.end)return;this.loading=!0;const e=new u,t=new c.Z;this.rows=[],e.list(this.type,this.page,this.getCacheKey).then((e=>{let a=t.parseResponse(e);this.rowsPerPage=a.rowsPerPage,this.rowsNumber=a.rowsNumber,this.rows=a.rows,this.loading=!1}))}}};var f=a(1639),m=a(9885),h=a(3388),w=a(9361),b=a(935),y=a(9984),P=a.n(y);const q=(0,f.Z)(d,[["render",o]]),R=q;P()(d,"components",{QPage:m.Z,QPageSticky:h.Z,QFab:w.Z,QFabAction:b.Z})}}]);
|
1
public/v3/js/5348.5c3803c0.js
vendored
Normal file
1
public/v3/js/5348.5c3803c0.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[5348],{5348:(a,e,t)=>{t.r(e),t.d(e,{default:()=>B});var n=t(9835),i=t(6970);const s={class:"row q-mx-md"},g={class:"col-12"},r={class:"text-h6"},d={class:"row"},l={class:"col-12 q-mb-xs"},u=(0,n._)("br",null,null,-1);function c(a,e,t,c,o,p){const h=(0,n.up)("q-card-section"),m=(0,n.up)("q-card"),k=(0,n.up)("q-page");return(0,n.wg)(),(0,n.j4)(k,null,{default:(0,n.w5)((()=>[(0,n._)("div",s,[(0,n._)("div",g,[(0,n.Wm)(m,{bordered:""},{default:(0,n.w5)((()=>[(0,n.Wm)(h,null,{default:(0,n.w5)((()=>[(0,n._)("div",r,(0,i.zw)(o.piggyBank.name),1)])),_:1}),(0,n.Wm)(h,null,{default:(0,n.w5)((()=>[(0,n._)("div",d,[(0,n._)("div",l,[(0,n.Uk)(" Name: "+(0,i.zw)(o.piggyBank.name),1),u])])])),_:1})])),_:1})])])])),_:1})}var o=t(670);const p={name:"Show",data(){return{piggyBank:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getPiggyBank()},methods:{onRequest:function(a){this.page=a.page,this.getPiggyBank()},getPiggyBank:function(){(new o.Z).get(this.id).then((a=>this.parsePiggyBank(a)))},parsePiggyBank:function(a){this.piggyBank={name:a.data.data.attributes.name}}}};var h=t(1639),m=t(9885),k=t(4458),f=t(3190),w=t(9984),_=t.n(w);const y=(0,h.Z)(p,[["render",c]]),B=y;_()(p,"components",{QPage:m.Z,QCard:k.Z,QCardSection:f.Z})}}]);
|
1
public/v3/js/5348.97329b38.js
vendored
1
public/v3/js/5348.97329b38.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[5348],{5348:(a,e,t)=>{t.r(e),t.d(e,{default:()=>B});var n=t(9835),i=t(6970);const s={class:"row q-mx-md"},r={class:"col-12"},d={class:"text-h6"},g={class:"row"},l={class:"col-12 q-mb-xs"},u=(0,n._)("br",null,null,-1);function c(a,e,t,c,o,p){const f=(0,n.up)("q-card-section"),h=(0,n.up)("q-card"),m=(0,n.up)("q-page");return(0,n.wg)(),(0,n.j4)(m,null,{default:(0,n.w5)((()=>[(0,n._)("div",s,[(0,n._)("div",r,[(0,n.Wm)(h,{bordered:""},{default:(0,n.w5)((()=>[(0,n.Wm)(f,null,{default:(0,n.w5)((()=>[(0,n._)("div",d,(0,i.zw)(o.piggyBank.name),1)])),_:1}),(0,n.Wm)(f,null,{default:(0,n.w5)((()=>[(0,n._)("div",g,[(0,n._)("div",l,[(0,n.Uk)(" Name: "+(0,i.zw)(o.piggyBank.name),1),u])])])),_:1})])),_:1})])])])),_:1})}var o=t(670);const p={name:"Show",data(){return{piggyBank:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getPiggyBank()},methods:{onRequest:function(a){this.page=a.page,this.getPiggyBank()},getPiggyBank:function(){(new o.Z).get(this.id).then((a=>this.parsePiggyBank(a)))},parsePiggyBank:function(a){this.piggyBank={name:a.data.data.attributes.name}}}};var f=t(1639),h=t(9885),m=t(4458),k=t(3190),w=t(9984),_=t.n(w);const y=(0,f.Z)(p,[["render",c]]),B=y;_()(p,"components",{QPage:h.Z,QCard:m.Z,QCardSection:k.Z})}}]);
|
1
public/v3/js/5361.563c9f7c.js
vendored
Normal file
1
public/v3/js/5361.563c9f7c.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/5361.c1edaef3.js
vendored
1
public/v3/js/5361.c1edaef3.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/5439.2f3feb9b.js
vendored
1
public/v3/js/5439.2f3feb9b.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[5439],{1673:(t,e,a)=>{a.r(e),a.d(e,{default:()=>v});var l=a(9835);const s={class:"row q-mx-md"},d={class:"col-4"},n=(0,l._)("div",{class:"text-h6"},"Reports",-1);function o(t,e,a,o,i,u){const c=(0,l.up)("q-card-section"),r=(0,l.up)("q-select"),p=(0,l.up)("q-input"),m=(0,l.up)("q-btn"),b=(0,l.up)("q-card-actions"),h=(0,l.up)("q-card"),f=(0,l.up)("q-page");return(0,l.wg)(),(0,l.j4)(f,null,{default:(0,l.w5)((()=>[(0,l._)("div",s,[(0,l._)("div",d,[(0,l.Wm)(h,{bordered:""},{default:(0,l.w5)((()=>[(0,l.Wm)(c,null,{default:(0,l.w5)((()=>[n])),_:1}),(0,l.Wm)(c,null,{default:(0,l.w5)((()=>[(0,l.Wm)(r,{"bottom-slots":"",outlined:"",modelValue:i.type,"onUpdate:modelValue":e[0]||(e[0]=t=>i.type=t),"emit-value":"",class:"q-pr-xs","map-options":"",options:i.types,label:"Report type"},null,8,["modelValue","options"]),(0,l.Wm)(r,{"bottom-slots":"",outlined:"",disable:i.loading,modelValue:i.selectedAccounts,"onUpdate:modelValue":e[1]||(e[1]=t=>i.selectedAccounts=t),class:"q-pr-xs",multiple:"","emit-value":"","use-chips":"","map-options":"",options:i.accounts,label:"Included accounts"},null,8,["disable","modelValue","options"]),(0,l.Wm)(p,{"bottom-slots":"",type:"date",modelValue:i.start_date,"onUpdate:modelValue":e[2]||(e[2]=t=>i.start_date=t),label:t.$t("form.start_date"),hint:"Start date",outlined:""},null,8,["modelValue","label"]),(0,l.Wm)(p,{"bottom-slots":"",type:"date",modelValue:i.end_date,"onUpdate:modelValue":e[3]||(e[3]=t=>i.end_date=t),label:t.$t("form.start_date"),hint:"Start date",outlined:""},null,8,["modelValue","label"])])),_:1}),(0,l.Wm)(b,null,{default:(0,l.w5)((()=>[(0,l.Wm)(m,{disable:i.loading||i.selectedAccounts.length<1,onClick:u.submit,color:"primary",label:"View report"},null,8,["disable","onClick"])])),_:1})])),_:1})])])])),_:1})}a(8964);var i=a(3836),u=a(7164),c=a(8898),r=a(5057);const p={name:"Index",created(){this.getAccounts(),this.start_date=(0,c.Z)((0,u.Z)(new Date),"yyyy-MM-dd"),this.end_date=(0,c.Z)((0,r.Z)(new Date),"yyyy-MM-dd")},data(){return{loading:!1,type:"default",selectedAccounts:[],accounts:[],start_date:"",end_date:"",types:[{value:"default",label:"Default financial report"}]}},methods:{submit:function(){let t=this.start_date.replace("-",""),e=this.end_date.replace("-",""),a=this.selectedAccounts.join(",");"default"===this.type&&this.$router.push({name:"reports.default",params:{accounts:a,start:t,end:e}})},getAccounts:function(){this.loading=!0,this.getPage(1)},getPage:function(t){(new i.Z).list("all",t,this.getCacheKey).then((e=>{let a=parseInt(e.data.meta.pagination.total_pages);for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t];"liabilities"!==a.attributes.type&&"asset"!==a.attributes.type||this.accounts.push({value:parseInt(a.id),label:a.attributes.type+": "+a.attributes.name,decimal_places:parseInt(a.attributes.currency_decimal_places)})}t<a&&this.getPage(t+1),t===a&&(this.loading=!1,this.accounts.sort(((t,e)=>t.label>e.label?1:e.label>t.label?-1:0)))}))}}};var m=a(1639),b=a(9885),h=a(4458),f=a(3190),y=a(7887),_=a(6611),g=a(1821),w=a(8879),V=a(9984),Z=a.n(V);const q=(0,m.Z)(p,[["render",o]]),v=q;Z()(p,"components",{QPage:b.Z,QCard:h.Z,QCardSection:f.Z,QSelect:y.Z,QInput:_.Z,QCardActions:g.Z,QBtn:w.Z})}}]);
|
1
public/v3/js/5439.934100d5.js
vendored
Normal file
1
public/v3/js/5439.934100d5.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[5439],{1673:(t,e,a)=>{a.r(e),a.d(e,{default:()=>v});var l=a(9835);const s={class:"row q-mx-md"},d={class:"col-4"},n=(0,l._)("div",{class:"text-h6"},"Reports",-1);function o(t,e,a,o,i,u){const c=(0,l.up)("q-card-section"),r=(0,l.up)("q-select"),p=(0,l.up)("q-input"),m=(0,l.up)("q-btn"),b=(0,l.up)("q-card-actions"),h=(0,l.up)("q-card"),y=(0,l.up)("q-page");return(0,l.wg)(),(0,l.j4)(y,null,{default:(0,l.w5)((()=>[(0,l._)("div",s,[(0,l._)("div",d,[(0,l.Wm)(h,{bordered:""},{default:(0,l.w5)((()=>[(0,l.Wm)(c,null,{default:(0,l.w5)((()=>[n])),_:1}),(0,l.Wm)(c,null,{default:(0,l.w5)((()=>[(0,l.Wm)(r,{"bottom-slots":"",outlined:"",modelValue:i.type,"onUpdate:modelValue":e[0]||(e[0]=t=>i.type=t),"emit-value":"",class:"q-pr-xs","map-options":"",options:i.types,label:"Report type"},null,8,["modelValue","options"]),(0,l.Wm)(r,{"bottom-slots":"",outlined:"",disable:i.loading,modelValue:i.selectedAccounts,"onUpdate:modelValue":e[1]||(e[1]=t=>i.selectedAccounts=t),class:"q-pr-xs",multiple:"","emit-value":"","use-chips":"","map-options":"",options:i.accounts,label:"Included accounts"},null,8,["disable","modelValue","options"]),(0,l.Wm)(p,{"bottom-slots":"",type:"date",modelValue:i.start_date,"onUpdate:modelValue":e[2]||(e[2]=t=>i.start_date=t),label:t.$t("form.start_date"),hint:"Start date",outlined:""},null,8,["modelValue","label"]),(0,l.Wm)(p,{"bottom-slots":"",type:"date",modelValue:i.end_date,"onUpdate:modelValue":e[3]||(e[3]=t=>i.end_date=t),label:t.$t("form.start_date"),hint:"Start date",outlined:""},null,8,["modelValue","label"])])),_:1}),(0,l.Wm)(b,null,{default:(0,l.w5)((()=>[(0,l.Wm)(m,{disable:i.loading||i.selectedAccounts.length<1,onClick:u.submit,color:"primary",label:"View report"},null,8,["disable","onClick"])])),_:1})])),_:1})])])])),_:1})}a(8964);var i=a(3836),u=a(7164),c=a(8898),r=a(5057);const p={name:"Index",created(){this.getAccounts(),this.start_date=(0,c.Z)((0,u.Z)(new Date),"yyyy-MM-dd"),this.end_date=(0,c.Z)((0,r.Z)(new Date),"yyyy-MM-dd")},data(){return{loading:!1,type:"default",selectedAccounts:[],accounts:[],start_date:"",end_date:"",types:[{value:"default",label:"Default financial report"}]}},methods:{submit:function(){let t=this.start_date.replace("-",""),e=this.end_date.replace("-",""),a=this.selectedAccounts.join(",");"default"===this.type&&this.$router.push({name:"reports.default",params:{accounts:a,start:t,end:e}})},getAccounts:function(){this.loading=!0,this.getPage(1)},getPage:function(t){(new i.Z).list("all",t,this.getCacheKey).then((e=>{let a=parseInt(e.data.meta.pagination.total_pages);for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t];"liabilities"!==a.attributes.type&&"asset"!==a.attributes.type||this.accounts.push({value:parseInt(a.id),label:a.attributes.type+": "+a.attributes.name,decimal_places:parseInt(a.attributes.currency_decimal_places)})}t<a&&this.getPage(t+1),t===a&&(this.loading=!1,this.accounts.sort(((t,e)=>t.label>e.label?1:e.label>t.label?-1:0)))}))}}};var m=a(1639),b=a(9885),h=a(4458),y=a(3190),_=a(7887),f=a(6611),g=a(1821),w=a(8879),V=a(9984),Z=a.n(V);const q=(0,m.Z)(p,[["render",o]]),v=q;Z()(p,"components",{QPage:b.Z,QCard:h.Z,QCardSection:y.Z,QSelect:_.Z,QInput:f.Z,QCardActions:g.Z,QBtn:w.Z})}}]);
|
1
public/v3/js/5446.32c54f39.js
vendored
1
public/v3/js/5446.32c54f39.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[5446],{5446:(t,e,r)=>{r.r(e),r.d(e,{default:()=>D});var n=r(9835),a=r(6970);const i={class:"q-ml-sm"},o=(0,n._)("br",null,null,-1),s=["title"],l={key:0};function u(t,e,r,u,m,c){const d=(0,n.up)("q-item-label"),p=(0,n.up)("q-item-section"),h=(0,n.up)("q-item"),f=(0,n.up)("q-separator"),g=(0,n.up)("q-icon"),v=(0,n.up)("q-card-section"),_=(0,n.up)("q-card");return(0,n.wg)(),(0,n.iD)("div",i,[(0,n.Wm)(_,{bordered:""},{default:(0,n.w5)((()=>[(0,n.Wm)(h,null,{default:(0,n.w5)((()=>[(0,n.Wm)(p,null,{default:(0,n.w5)((()=>[(0,n.Wm)(d,null,{default:(0,n.w5)((()=>[(0,n._)("strong",null,(0,a.zw)(t.$t("firefly.net_worth")),1)])),_:1})])),_:1})])),_:1}),(0,n.Wm)(f),(0,n.Wm)(v,{horizontal:""},{default:(0,n.w5)((()=>[(0,n.Wm)(v,null,{default:(0,n.w5)((()=>[(0,n.Wm)(g,{name:"fas fa-chart-line",size:"50px",color:m.primary>0?"positive":"negative"},null,8,["color"])])),_:1}),(0,n.Wm)(f,{vertical:""}),(0,n.Wm)(v,null,{default:(0,n.w5)((()=>[(0,n._)("strong",null,(0,a.zw)(c.formatAmount(m.currency,m.primary)),1),o,(0,n._)("small",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(m.netWorth,((t,e)=>((0,n.wg)(),(0,n.iD)("span",null,[(0,n._)("span",{title:c.formatAmount(t.native_code,t.native_sum)},(0,a.zw)(c.formatAmount(t.code,t.sum)),9,s),e+1!==m.netWorth.length?((0,n.wg)(),(0,n.iD)("span",l," + ")):(0,n.kq)("",!0)])))),256))])])),_:1})])),_:1})])),_:1})])}var m=r(3555),c=r(1569),d=r(8898);class p{get(t){let e=(0,d.Z)(t,"y-MM-dd");return c.api.get("/api/v2/net-worth",{params:{date:e}})}}const h={name:"NetWorthInsightBox",data(){return{netWorth:[],primary:0,currency:"EUR",store:null}},mounted(){this.store=(0,m.S)(),this.store.$onAction((({name:t,$store:e,args:r,after:n,onError:a})=>{n((e=>{"setRange"===t&&this.triggerUpdate()}))})),this.triggerUpdate()},methods:{triggerUpdate:function(){if(null!==this.store.getRange.start&&null!==this.store.getRange.end){this.unpaid=[];const t=new Date(this.store.getRange.start),e=new Date(this.store.getRange.end),r=new Date;let n=e;r>=t&&r<=e&&(n=r),this.currency=this.store.getCurrencyCode,(new p).get(n).then((t=>this.parseResponse(t.data)))}},parseResponse(t){for(let e in t)if(t.hasOwnProperty(e)){const r=t[e],n=r.converted&&r.native_id!==r.id&&0!==parseFloat(r.native_sum);r.converted&&(n||r.native_id===r.id)&&(this.primary=this.primary+parseFloat(r.native_sum)),r.converted||(this.primary=this.primary+parseFloat(r.sum)),0!==parseFloat(r.sum)&&this.netWorth.push({sum:r.sum,code:r.code,native_sum:r.converted?r.native_sum:r.sum,native_code:r.converted?r.native_code:r.code,native:n})}},formatAmount:function(t,e){var r,n;return Intl.NumberFormat(null!==(r=null===(n=this.store)||void 0===n?void 0:n.getLocale)&&void 0!==r?r:"en-US",{style:"currency",currency:t}).format(e)}}};var f=r(1639),g=r(4458),v=r(490),_=r(1233),w=r(3115),y=r(926),W=r(3190),q=r(2857),Z=r(9984),R=r.n(Z);const b=(0,f.Z)(h,[["render",u]]),D=b;R()(h,"components",{QCard:g.Z,QItem:v.Z,QItemSection:_.Z,QItemLabel:w.Z,QSeparator:y.Z,QCardSection:W.Z,QIcon:q.Z})}}]);
|
1
public/v3/js/5446.a792624a.js
vendored
Normal file
1
public/v3/js/5446.a792624a.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[5446],{5446:(t,e,r)=>{r.r(e),r.d(e,{default:()=>D});var n=r(9835),a=r(6970);const i={class:"q-ml-sm"},o=(0,n._)("br",null,null,-1),s=["title"],l={key:0};function u(t,e,r,u,m,c){const d=(0,n.up)("q-item-label"),p=(0,n.up)("q-item-section"),h=(0,n.up)("q-item"),g=(0,n.up)("q-separator"),f=(0,n.up)("q-icon"),v=(0,n.up)("q-card-section"),_=(0,n.up)("q-card");return(0,n.wg)(),(0,n.iD)("div",i,[(0,n.Wm)(_,{bordered:""},{default:(0,n.w5)((()=>[(0,n.Wm)(h,null,{default:(0,n.w5)((()=>[(0,n.Wm)(p,null,{default:(0,n.w5)((()=>[(0,n.Wm)(d,null,{default:(0,n.w5)((()=>[(0,n._)("strong",null,(0,a.zw)(t.$t("firefly.net_worth")),1)])),_:1})])),_:1})])),_:1}),(0,n.Wm)(g),(0,n.Wm)(v,{horizontal:""},{default:(0,n.w5)((()=>[(0,n.Wm)(v,null,{default:(0,n.w5)((()=>[(0,n.Wm)(f,{name:"fas fa-chart-line",size:"50px",color:m.primary>0?"positive":"negative"},null,8,["color"])])),_:1}),(0,n.Wm)(g,{vertical:""}),(0,n.Wm)(v,null,{default:(0,n.w5)((()=>[(0,n._)("strong",null,(0,a.zw)(c.formatAmount(m.currency,m.primary)),1),o,(0,n._)("small",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(m.netWorth,((t,e)=>((0,n.wg)(),(0,n.iD)("span",null,[(0,n._)("span",{title:c.formatAmount(t.native_code,t.native_sum)},(0,a.zw)(c.formatAmount(t.code,t.sum)),9,s),e+1!==m.netWorth.length?((0,n.wg)(),(0,n.iD)("span",l," + ")):(0,n.kq)("",!0)])))),256))])])),_:1})])),_:1})])),_:1})])}var m=r(3555),c=r(1569),d=r(8898);class p{get(t){let e=(0,d.Z)(t,"y-MM-dd");return c.api.get("/api/v2/net-worth",{params:{date:e}})}}const h={name:"NetWorthInsightBox",data(){return{netWorth:[],primary:0,currency:"EUR",store:null}},mounted(){this.store=(0,m.S)(),this.store.$onAction((({name:t,$store:e,args:r,after:n,onError:a})=>{n((e=>{"setRange"===t&&this.triggerUpdate()}))})),this.triggerUpdate()},methods:{triggerUpdate:function(){if(null!==this.store.getRange.start&&null!==this.store.getRange.end){this.unpaid=[];const t=new Date(this.store.getRange.start),e=new Date(this.store.getRange.end),r=new Date;let n=e;r>=t&&r<=e&&(n=r),this.currency=this.store.getCurrencyCode,(new p).get(n).then((t=>this.parseResponse(t.data)))}},parseResponse(t){for(let e in t)if(t.hasOwnProperty(e)){const r=t[e],n=r.converted&&r.native_id!==r.id&&0!==parseFloat(r.native_sum);r.converted&&(n||r.native_id===r.id)&&(this.primary=this.primary+parseFloat(r.native_sum)),r.converted||(this.primary=this.primary+parseFloat(r.sum)),0!==parseFloat(r.sum)&&this.netWorth.push({sum:r.sum,code:r.code,native_sum:r.converted?r.native_sum:r.sum,native_code:r.converted?r.native_code:r.code,native:n})}},formatAmount:function(t,e){var r,n;return Intl.NumberFormat(null!==(r=null===(n=this.store)||void 0===n?void 0:n.getLocale)&&void 0!==r?r:"en-US",{style:"currency",currency:t}).format(e)}}};var g=r(1639),f=r(4458),v=r(490),_=r(1233),w=r(3115),y=r(926),W=r(3190),b=r(2857),q=r(9984),Z=r.n(q);const R=(0,g.Z)(h,[["render",u]]),D=R;Z()(h,"components",{QCard:f.Z,QItem:v.Z,QItemSection:_.Z,QItemLabel:w.Z,QSeparator:y.Z,QCardSection:W.Z,QIcon:b.Z})}}]);
|
1
public/v3/js/5724.4c13f372.js
vendored
1
public/v3/js/5724.4c13f372.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[5724],{5724:(e,a,l)=>{l.r(a),l.d(a,{default:()=>_});var n=l(9835);const r={class:"row q-mx-md"},t={class:"col-xl-4 col-lg-6 col-md-12 q-pa-xs"},c=(0,n.Uk)(" Empty / TODO ");function d(e,a,l,d,s,u){const i=(0,n.up)("q-card-section"),o=(0,n.up)("q-card"),f=(0,n.up)("q-page");return(0,n.wg)(),(0,n.j4)(f,null,{default:(0,n.w5)((()=>[(0,n._)("div",r,[(0,n._)("div",t,[(0,n.Wm)(o,{bordered:""},{default:(0,n.w5)((()=>[(0,n.Wm)(i,null,{default:(0,n.w5)((()=>[c])),_:1})])),_:1})])])])),_:1})}const s={name:"Data",data(){return{}}};var u=l(1639),i=l(9885),o=l(4458),f=l(3190),p=l(9984),m=l.n(p);const w=(0,u.Z)(s,[["render",d]]),_=w;m()(s,"components",{QPage:i.Z,QCard:o.Z,QCardSection:f.Z})}}]);
|
1
public/v3/js/5724.77c9628f.js
vendored
Normal file
1
public/v3/js/5724.77c9628f.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[5724],{5724:(a,e,l)=>{l.r(e),l.d(e,{default:()=>_});var n=l(9835);const r={class:"row q-mx-md"},t={class:"col-xl-4 col-lg-6 col-md-12 q-pa-xs"},c=(0,n.Uk)(" Empty / TODO ");function d(a,e,l,d,i,o){const s=(0,n.up)("q-card-section"),u=(0,n.up)("q-card"),p=(0,n.up)("q-page");return(0,n.wg)(),(0,n.j4)(p,null,{default:(0,n.w5)((()=>[(0,n._)("div",r,[(0,n._)("div",t,[(0,n.Wm)(u,{bordered:""},{default:(0,n.w5)((()=>[(0,n.Wm)(s,null,{default:(0,n.w5)((()=>[c])),_:1})])),_:1})])])])),_:1})}const i={name:"Data",data(){return{}}};var o=l(1639),s=l(9885),u=l(4458),p=l(3190),f=l(9984),m=l.n(f);const w=(0,o.Z)(i,[["render",d]]),_=w;m()(i,"components",{QPage:s.Z,QCard:u.Z,QCardSection:p.Z})}}]);
|
1
public/v3/js/576.7d825655.js
vendored
1
public/v3/js/576.7d825655.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[576],{576:(e,i,l)=>{l.r(i),l.d(i,{default:()=>h});var a=l(9835);const n=(0,a._)("div",{class:"row q-mx-md"},[(0,a._)("div",{class:"col-7"},[(0,a._)("p",null," Hi! With your active support and feedback I'm capable of building this fancy new layout. So thank you for testing and playing around. I'm grateful for your help. "),(0,a._)("p",null,[(0,a.Uk)(" The "),(0,a._)("strong",null,"v2"),(0,a.Uk)(" layout was built to be perfect for each page. This new "),(0,a._)("strong",null,"v3"),(0,a.Uk)(' layout has a different approach. I\'m building a "minimum viable product", where each page has '),(0,a._)("em",null,"minimal"),(0,a.Uk)(" functionality. But any functionality that's there should work. It may not do everything you need and stuff may be missing. The things that you see are things that work. ")]),(0,a._)("p",null," If you spot problems, feel free to report them. Here are some known issues. "),(0,a._)("ul",null,[(0,a._)("li",{class:"text-negative"},"You will lose data when you edit certain objects;"),(0,a._)("li",null,"Caching is fairly aggressive and a page refresh may be necessary to get new information. This is especially obvious when you make new transactions or accounts; "),(0,a._)("li",null,"Not all menu's are (un)folded correctly for all pages;"),(0,a._)("li",null,"Breadcrumbs are missing or incorrect;"),(0,a._)("li",null,"You can't make transaction splits;"),(0,a._)("li",null,"Accounts, budgets, transactions, etc. have only limited fields available in the edit, create and view screens;"),(0,a._)("li",null,'Occasionally, you may spot a "TODO". I\'ve limited their presence, but sometimes I just need a placeholder;'),(0,a._)("li",null,[(0,a.Uk)("Missing translations, "),(0,a._)("code",null,"firefly.abc"),(0,a.Uk)(" references, or transactions formatted in another locale;")])]),(0,a._)("p",null,[(0,a.Uk)(" If you need to visit a "),(0,a._)("strong",null,"v1"),(0,a.Uk)(" alternative for the page you are seeing, please change the URL to "),(0,a._)("code",null,"*/profile"),(0,a.Uk)(" (where "),(0,a._)("code",null,"*"),(0,a.Uk)(" is your Firefly III URL). From there, you can navigate to any "),(0,a._)("strong",null,"v1"),(0,a.Uk)(" page. You may not be able to visit the v1 dashboard. ")]),(0,a._)("p",null,[(0,a.Uk)(" Tickets on GitHub that concern v3 will be "),(0,a._)("em",{class:"text-negative"},"closed"),(0,a.Uk)(". This rule may change in the future. Until then, please leave your feedback here: ")]),(0,a._)("ul",null,[(0,a._)("li",null,[(0,a._)("a",{href:"https://github.com/firefly-iii/firefly-iii/discussions/5589"},"GitHub discussion")]),(0,a._)("li",null,[(0,a._)("a",{href:"https://gitter.im/firefly-iii/firefly-iii"},"Gitter.im chat")]),(0,a._)("li",null,[(0,a._)("a",{href:"mailto:james@firefly-iii.org"},"james@firefly-iii.org")])]),(0,a._)("p",null,[(0,a.Uk)(" Thanks again,"),(0,a._)("br"),(0,a.Uk)(" James ")])])],-1);function t(e,i,l,t,s,o){const r=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(r,null,{default:(0,a.w5)((()=>[n])),_:1})}const s={name:"Index"};var o=l(1639),r=l(9885),u=l(9984),c=l.n(u);const f=(0,o.Z)(s,[["render",t]]),h=f;c()(s,"components",{QPage:r.Z})}}]);
|
1
public/v3/js/576.f823f304.js
vendored
Normal file
1
public/v3/js/576.f823f304.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[576],{576:(e,i,l)=>{l.r(i),l.d(i,{default:()=>f});var a=l(9835);const n=(0,a._)("div",{class:"row q-mx-md"},[(0,a._)("div",{class:"col-7"},[(0,a._)("p",null," Hi! With your active support and feedback I'm capable of building this fancy new layout. So thank you for testing and playing around. I'm grateful for your help. "),(0,a._)("p",null,[(0,a.Uk)(" The "),(0,a._)("strong",null,"v2"),(0,a.Uk)(" layout was built to be perfect for each page. This new "),(0,a._)("strong",null,"v3"),(0,a.Uk)(' layout has a different approach. I\'m building a "minimum viable product", where each page has '),(0,a._)("em",null,"minimal"),(0,a.Uk)(" functionality. But any functionality that's there should work. It may not do everything you need and stuff may be missing. The things that you see are things that work. ")]),(0,a._)("p",null," If you spot problems, feel free to report them. Here are some known issues. "),(0,a._)("ul",null,[(0,a._)("li",{class:"text-negative"},"You will lose data when you edit certain objects;"),(0,a._)("li",null,"Caching is fairly aggressive and a page refresh may be necessary to get new information. This is especially obvious when you make new transactions or accounts; "),(0,a._)("li",null,"Not all menu's are (un)folded correctly for all pages;"),(0,a._)("li",null,"Breadcrumbs are missing or incorrect;"),(0,a._)("li",null,"You can't make transaction splits;"),(0,a._)("li",null,"Accounts, budgets, transactions, etc. have only limited fields available in the edit, create and view screens;"),(0,a._)("li",null,'Occasionally, you may spot a "TODO". I\'ve limited their presence, but sometimes I just need a placeholder;'),(0,a._)("li",null,[(0,a.Uk)("Missing translations, "),(0,a._)("code",null,"firefly.abc"),(0,a.Uk)(" references, or transactions formatted in another locale;")])]),(0,a._)("p",null,[(0,a.Uk)(" If you need to visit a "),(0,a._)("strong",null,"v1"),(0,a.Uk)(" alternative for the page you are seeing, please change the URL to "),(0,a._)("code",null,"*/profile"),(0,a.Uk)(" (where "),(0,a._)("code",null,"*"),(0,a.Uk)(" is your Firefly III URL). From there, you can navigate to any "),(0,a._)("strong",null,"v1"),(0,a.Uk)(" page. You may not be able to visit the v1 dashboard. ")]),(0,a._)("p",null,[(0,a.Uk)(" Tickets on GitHub that concern v3 will be "),(0,a._)("em",{class:"text-negative"},"closed"),(0,a.Uk)(". This rule may change in the future. Until then, please leave your feedback here: ")]),(0,a._)("ul",null,[(0,a._)("li",null,[(0,a._)("a",{href:"https://github.com/firefly-iii/firefly-iii/discussions/5589"},"GitHub discussion")]),(0,a._)("li",null,[(0,a._)("a",{href:"https://gitter.im/firefly-iii/firefly-iii"},"Gitter.im chat")]),(0,a._)("li",null,[(0,a._)("a",{href:"mailto:james@firefly-iii.org"},"james@firefly-iii.org")])]),(0,a._)("p",null,[(0,a.Uk)(" Thanks again,"),(0,a._)("br"),(0,a.Uk)(" James ")])])],-1);function t(e,i,l,t,o,s){const r=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(r,null,{default:(0,a.w5)((()=>[n])),_:1})}const o={name:"Index"};var s=l(1639),r=l(9885),u=l(9984),c=l.n(u);const h=(0,s.Z)(o,[["render",t]]),f=h;c()(o,"components",{QPage:r.Z})}}]);
|
1
public/v3/js/6100.7d72a863.js
vendored
1
public/v3/js/6100.7d72a863.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/6100.8a03a332.js
vendored
Normal file
1
public/v3/js/6100.8a03a332.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/6127.3629e6ec.js
vendored
Normal file
1
public/v3/js/6127.3629e6ec.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/6127.6b52bb7f.js
vendored
1
public/v3/js/6127.6b52bb7f.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/6205.1261bd83.js
vendored
1
public/v3/js/6205.1261bd83.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/6205.70ec4994.js
vendored
Normal file
1
public/v3/js/6205.70ec4994.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/6471.382cc6ed.js
vendored
1
public/v3/js/6471.382cc6ed.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[6471],{6471:(t,a,n)=>{n.r(a),n.d(a,{default:()=>O});var s=n(9835),e=n(6970);const i=(0,s.Uk)(" (balance)"),r=(0,s._)("thead",null,[(0,s._)("tr",null,[(0,s._)("th",{class:"text-left"},"Description"),(0,s._)("th",{class:"text-right"},"Opposing account"),(0,s._)("th",{class:"text-right"},"Amount")])],-1),o={class:"text-left"},c={key:0},u=(0,s._)("br",null,null,-1),l={key:0},p=(0,s._)("br",null,null,-1),h=(0,s._)("td",{class:"text-right"},"159",-1),d=(0,s._)("td",{class:"text-right"},"6",-1);function g(t,a,n,g,m,_){const w=(0,s.up)("q-item-label"),f=(0,s.up)("q-item-section"),b=(0,s.up)("q-item"),k=(0,s.up)("q-separator"),y=(0,s.up)("router-link"),T=(0,s.up)("q-markup-table"),G=(0,s.up)("q-card");return(0,s.wg)(),(0,s.iD)("div",null,[(0,s.Wm)(G,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(b,null,{default:(0,s.w5)((()=>[(0,s.Wm)(f,null,{default:(0,s.w5)((()=>[(0,s.Wm)(w,null,{default:(0,s.w5)((()=>[(0,s._)("strong",null,(0,e.zw)(m.accountName),1),i])),_:1})])),_:1})])),_:1}),(0,s.Wm)(k),(0,s.Wm)(T,null,{default:(0,s.w5)((()=>[r,(0,s._)("tbody",null,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(m.transactions,(t=>((0,s.wg)(),(0,s.iD)("tr",null,[(0,s._)("td",o,[(0,s.Wm)(y,{to:{name:"transactions.show",params:{id:t.transactionGroupId}}},{default:(0,s.w5)((()=>[t.transactions.length>1?((0,s.wg)(),(0,s.iD)("strong",c,[(0,s.Uk)((0,e.zw)(t.transactionGroupTitle),1),u])):(0,s.kq)("",!0)])),_:2},1032,["to"]),((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(t.transactions,(a=>((0,s.wg)(),(0,s.iD)("span",null,[t.transactions.length>1?((0,s.wg)(),(0,s.iD)("span",l,[(0,s.Uk)((0,e.zw)(a.description)+" ",1),p])):(0,s.kq)("",!0),1===t.transactions.length?((0,s.wg)(),(0,s.j4)(y,{key:1,to:{name:"transactions.show",params:{id:t.transactionGroupId}}},{default:(0,s.w5)((()=>[(0,s.Uk)((0,e.zw)(a.description),1)])),_:2},1032,["to"])):(0,s.kq)("",!0)])))),256))]),h,d])))),256))])])),_:1})])),_:1})])}var m=n(5148),_=n.n(m),w=n(1569);class f{constructor(t){_()(this,"root","/api/v2/"),_()(this,"path",""),this.path=t}apiPath(){return this.root+this.path}apiPathWithObject(t){return this.root+this.path+"/"+t}apiGet(t,a){let n=this.apiPathWithObject(t);return a?w.api.get(n,{params:a}):w.api.get(n)}apiGetTransactions(t,a){let n=this.apiPathWithObject(t)+"/transactions";return a?w.api.get(n,{params:a}):w.api.get(n)}}class b extends f{constructor(){super("accounts")}get(t,a){let n={date:a};return a?this.apiGet(t,n):this.apiGet(t)}transactions(t,a){return a?this.apiGetTransactions(t,a):this.apiGetTransactions(t)}}var k=n(3555),y=n(8898);const T={name:"TransactionList",props:{accountId:0},data(){return{store:null,accountName:"",transactions:[]}},mounted(){this.store=(0,k.S)(),0!==this.accountId&&(this.getAccount(),this.store.$onAction((({name:t,$store:a,args:n,after:s,onError:e})=>{s((a=>{"setRange"===t&&this.getTransactions()}))})),this.getTransactions())},methods:{getAccount:function(){(new b).get(this.accountId).then((t=>this.parseAccount(t.data)))},parseAccount:function(t){this.accountName=t.data.attributes.name},getTransactions:function(){if(null!==this.store.getRange.start&&null!==this.store.getRange.end){const t=new Date(this.store.getRange.start),a=new Date(this.store.getRange.end);let n=(0,y.Z)(t,"y-MM-dd"),s=(0,y.Z)(a,"y-MM-dd");(new b).transactions(this.accountId,{start:n,end:s,limit:10}).then((t=>this.parseTransactions(t.data)))}},parseTransactions:function(t){for(let a in t.data)if(t.data.hasOwnProperty(a)){let n=t.data[a],s={transactionGroupId:n.id,transactionGroupTitle:n.attributes.group_title,transactions:[]};for(let t in n.attributes.transactions)if(n.attributes.transactions.hasOwnProperty(t)){let a=n.attributes.transactions[t],e={journalId:a.transaction_journal_id,description:a.description,amount:a.amount,currency_code:a.currency_code,destination_name:a.destination_name,destination_id:a.destination_id,type:a.type};s.transactions.push(e)}this.transactions.push(s)}}}};var G=n(1639),I=n(4458),D=n(490),W=n(1233),q=n(3115),Z=n(926),x=n(6933),j=n(9984),v=n.n(j);const A=(0,G.Z)(T,[["render",g]]),O=A;v()(T,"components",{QCard:I.Z,QItem:D.Z,QItemSection:W.Z,QItemLabel:q.Z,QSeparator:Z.Z,QMarkupTable:x.Z})}}]);
|
1
public/v3/js/6471.cf358011.js
vendored
Normal file
1
public/v3/js/6471.cf358011.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[6471],{6471:(t,a,n)=>{n.r(a),n.d(a,{default:()=>O});var s=n(9835),e=n(6970);const i=(0,s.Uk)(" (balance)"),r=(0,s._)("thead",null,[(0,s._)("tr",null,[(0,s._)("th",{class:"text-left"},"Description"),(0,s._)("th",{class:"text-right"},"Opposing account"),(0,s._)("th",{class:"text-right"},"Amount")])],-1),o={class:"text-left"},c={key:0},u=(0,s._)("br",null,null,-1),l={key:0},p=(0,s._)("br",null,null,-1),h=(0,s._)("td",{class:"text-right"},"159",-1),d=(0,s._)("td",{class:"text-right"},"6",-1);function g(t,a,n,g,m,_){const w=(0,s.up)("q-item-label"),f=(0,s.up)("q-item-section"),b=(0,s.up)("q-item"),k=(0,s.up)("q-separator"),y=(0,s.up)("router-link"),T=(0,s.up)("q-markup-table"),G=(0,s.up)("q-card");return(0,s.wg)(),(0,s.iD)("div",null,[(0,s.Wm)(G,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(b,null,{default:(0,s.w5)((()=>[(0,s.Wm)(f,null,{default:(0,s.w5)((()=>[(0,s.Wm)(w,null,{default:(0,s.w5)((()=>[(0,s._)("strong",null,(0,e.zw)(m.accountName),1),i])),_:1})])),_:1})])),_:1}),(0,s.Wm)(k),(0,s.Wm)(T,null,{default:(0,s.w5)((()=>[r,(0,s._)("tbody",null,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(m.transactions,(t=>((0,s.wg)(),(0,s.iD)("tr",null,[(0,s._)("td",o,[(0,s.Wm)(y,{to:{name:"transactions.show",params:{id:t.transactionGroupId}}},{default:(0,s.w5)((()=>[t.transactions.length>1?((0,s.wg)(),(0,s.iD)("strong",c,[(0,s.Uk)((0,e.zw)(t.transactionGroupTitle),1),u])):(0,s.kq)("",!0)])),_:2},1032,["to"]),((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(t.transactions,(a=>((0,s.wg)(),(0,s.iD)("span",null,[t.transactions.length>1?((0,s.wg)(),(0,s.iD)("span",l,[(0,s.Uk)((0,e.zw)(a.description)+" ",1),p])):(0,s.kq)("",!0),1===t.transactions.length?((0,s.wg)(),(0,s.j4)(y,{key:1,to:{name:"transactions.show",params:{id:t.transactionGroupId}}},{default:(0,s.w5)((()=>[(0,s.Uk)((0,e.zw)(a.description),1)])),_:2},1032,["to"])):(0,s.kq)("",!0)])))),256))]),h,d])))),256))])])),_:1})])),_:1})])}var m=n(8761),_=n.n(m),w=n(1569);class f{constructor(t){_()(this,"root","/api/v2/"),_()(this,"path",""),this.path=t}apiPath(){return this.root+this.path}apiPathWithObject(t){return this.root+this.path+"/"+t}apiGet(t,a){let n=this.apiPathWithObject(t);return a?w.api.get(n,{params:a}):w.api.get(n)}apiGetTransactions(t,a){let n=this.apiPathWithObject(t)+"/transactions";return a?w.api.get(n,{params:a}):w.api.get(n)}}class b extends f{constructor(){super("accounts")}get(t,a){let n={date:a};return a?this.apiGet(t,n):this.apiGet(t)}transactions(t,a){return a?this.apiGetTransactions(t,a):this.apiGetTransactions(t)}}var k=n(3555),y=n(8898);const T={name:"TransactionList",props:{accountId:0},data(){return{store:null,accountName:"",transactions:[]}},mounted(){this.store=(0,k.S)(),0!==this.accountId&&(this.getAccount(),this.store.$onAction((({name:t,$store:a,args:n,after:s,onError:e})=>{s((a=>{"setRange"===t&&this.getTransactions()}))})),this.getTransactions())},methods:{getAccount:function(){(new b).get(this.accountId).then((t=>this.parseAccount(t.data)))},parseAccount:function(t){this.accountName=t.data.attributes.name},getTransactions:function(){if(null!==this.store.getRange.start&&null!==this.store.getRange.end){const t=new Date(this.store.getRange.start),a=new Date(this.store.getRange.end);let n=(0,y.Z)(t,"y-MM-dd"),s=(0,y.Z)(a,"y-MM-dd");(new b).transactions(this.accountId,{start:n,end:s,limit:10}).then((t=>this.parseTransactions(t.data)))}},parseTransactions:function(t){for(let a in t.data)if(t.data.hasOwnProperty(a)){let n=t.data[a],s={transactionGroupId:n.id,transactionGroupTitle:n.attributes.group_title,transactions:[]};for(let t in n.attributes.transactions)if(n.attributes.transactions.hasOwnProperty(t)){let a=n.attributes.transactions[t],e={journalId:a.transaction_journal_id,description:a.description,amount:a.amount,currency_code:a.currency_code,destination_name:a.destination_name,destination_id:a.destination_id,type:a.type};s.transactions.push(e)}this.transactions.push(s)}}}};var G=n(1639),I=n(4458),D=n(490),W=n(1233),q=n(3115),Z=n(926),x=n(6933),j=n(9984),v=n.n(j);const A=(0,G.Z)(T,[["render",g]]),O=A;v()(T,"components",{QCard:I.Z,QItem:D.Z,QItemSection:W.Z,QItemLabel:q.Z,QSeparator:Z.Z,QMarkupTable:x.Z})}}]);
|
1
public/v3/js/6676.0cb3d343.js
vendored
1
public/v3/js/6676.0cb3d343.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/6676.a25c01dd.js
vendored
Normal file
1
public/v3/js/6676.a25c01dd.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/6719.7fedbd75.js
vendored
Normal file
1
public/v3/js/6719.7fedbd75.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[6719],{6719:(e,t,a)=>{a.r(t),a.d(t,{default:()=>v});var o=a(9835),i=a(6970);const s={class:"row q-mx-md"},l={class:"col-12"},n={class:"text-h6"},r={class:"row"},d={class:"col-12 q-mb-xs"},u=(0,o._)("br",null,null,-1);function c(e,t,a,c,h,w){const b=(0,o.up)("q-card-section"),k=(0,o.up)("q-card"),f=(0,o.up)("q-page");return(0,o.wg)(),(0,o.j4)(f,null,{default:(0,o.w5)((()=>[(0,o._)("div",s,[(0,o._)("div",l,[(0,o.Wm)(k,{bordered:""},{default:(0,o.w5)((()=>[(0,o.Wm)(b,null,{default:(0,o.w5)((()=>[(0,o._)("div",n,(0,i.zw)(h.webhook.title),1)])),_:1}),(0,o.Wm)(b,null,{default:(0,o.w5)((()=>[(0,o._)("div",r,[(0,o._)("div",d,[(0,o.Uk)(" Name: "+(0,i.zw)(h.webhook.title),1),u])])])),_:1})])),_:1})])])])),_:1})}var h=a(9599);const w={name:"Show",data(){return{webhook:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getWebhook()},methods:{getWebhook:function(){(new h.Z).get(this.id).then((e=>this.parseWebhook(e)))},parseWebhook:function(e){this.webhook={title:e.data.data.attributes.title}}}};var b=a(1639),k=a(9885),f=a(4458),p=a(3190),_=a(9984),m=a.n(_);const g=(0,b.Z)(w,[["render",c]]),v=g;m()(w,"components",{QPage:k.Z,QCard:f.Z,QCardSection:p.Z})}}]);
|
1
public/v3/js/6719.94e80403.js
vendored
1
public/v3/js/6719.94e80403.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[6719],{6719:(e,t,a)=>{a.r(t),a.d(t,{default:()=>W});var o=a(9835),i=a(6970);const s={class:"row q-mx-md"},l={class:"col-12"},n={class:"text-h6"},r={class:"row"},d={class:"col-12 q-mb-xs"},u=(0,o._)("br",null,null,-1);function c(e,t,a,c,h,w){const b=(0,o.up)("q-card-section"),f=(0,o.up)("q-card"),k=(0,o.up)("q-page");return(0,o.wg)(),(0,o.j4)(k,null,{default:(0,o.w5)((()=>[(0,o._)("div",s,[(0,o._)("div",l,[(0,o.Wm)(f,{bordered:""},{default:(0,o.w5)((()=>[(0,o.Wm)(b,null,{default:(0,o.w5)((()=>[(0,o._)("div",n,(0,i.zw)(h.webhook.title),1)])),_:1}),(0,o.Wm)(b,null,{default:(0,o.w5)((()=>[(0,o._)("div",r,[(0,o._)("div",d,[(0,o.Uk)(" Name: "+(0,i.zw)(h.webhook.title),1),u])])])),_:1})])),_:1})])])])),_:1})}var h=a(9599);const w={name:"Show",data(){return{webhook:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getWebhook()},methods:{getWebhook:function(){(new h.Z).get(this.id).then((e=>this.parseWebhook(e)))},parseWebhook:function(e){this.webhook={title:e.data.data.attributes.title}}}};var b=a(1639),f=a(9885),k=a(4458),p=a(3190),_=a(9984),m=a.n(_);const v=(0,b.Z)(w,[["render",c]]),W=v;m()(w,"components",{QPage:f.Z,QCard:k.Z,QCardSection:p.Z})}}]);
|
1
public/v3/js/6919.13c1a73f.js
vendored
Normal file
1
public/v3/js/6919.13c1a73f.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[6919],{6919:(e,s,r)=>{r.r(s),r.d(s,{default:()=>H});var t=r(9835),o=r(6970);const a={class:"row q-mx-md"},i={class:"col-12"},l={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,t._)("div",{class:"text-h6"},"Info for new category",-1),d={class:"row"},m={class:"col-12 q-mb-xs"},c={class:"row q-mx-md"},h={class:"col-12"},b={class:"row"},p={class:"col-12 text-right"},g={class:"row"},f={class:"col-12 text-right"},w=(0,t._)("br",null,null,-1);function _(e,s,r,_,v,q){const y=(0,t.up)("q-btn"),C=(0,t.up)("q-banner"),E=(0,t.up)("q-card-section"),k=(0,t.up)("q-input"),x=(0,t.up)("q-card"),R=(0,t.up)("q-checkbox"),I=(0,t.up)("q-page");return(0,t.wg)(),(0,t.j4)(I,null,{default:(0,t.w5)((()=>[(0,t._)("div",a,[(0,t._)("div",i,[""!==v.errorMessage?((0,t.wg)(),(0,t.j4)(C,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,t.w5)((()=>[(0,t.Wm)(y,{flat:"",onClick:q.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,t.w5)((()=>[(0,t.Uk)((0,o.zw)(v.errorMessage)+" ",1)])),_:1})):(0,t.kq)("",!0)])]),(0,t._)("div",l,[(0,t._)("div",n,[(0,t.Wm)(x,{bordered:""},{default:(0,t.w5)((()=>[(0,t.Wm)(E,null,{default:(0,t.w5)((()=>[u])),_:1}),(0,t.Wm)(E,null,{default:(0,t.w5)((()=>[(0,t._)("div",d,[(0,t._)("div",m,[(0,t.Wm)(k,{"error-message":v.submissionErrors.name,error:v.hasSubmissionErrors.name,"bottom-slots":"",disable:q.disabledInput,type:"text",clearable:"",modelValue:v.name,"onUpdate:modelValue":s[0]||(s[0]=e=>v.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,t._)("div",c,[(0,t._)("div",h,[(0,t.Wm)(x,{class:"q-mt-xs"},{default:(0,t.w5)((()=>[(0,t.Wm)(E,null,{default:(0,t.w5)((()=>[(0,t._)("div",b,[(0,t._)("div",p,[(0,t.Wm)(y,{disable:q.disabledInput,color:"primary",label:"Submit",onClick:q.submitCategory},null,8,["disable","onClick"])])]),(0,t._)("div",g,[(0,t._)("div",f,[(0,t.Wm)(R,{disable:q.disabledInput,modelValue:v.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>v.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),w,(0,t.Wm)(R,{modelValue:v.doResetForm,"onUpdate:modelValue":s[2]||(s[2]=e=>v.doResetForm=e),"left-label":"",disable:!v.doReturnHere||q.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var v=r(1569);class q{post(e){let s="/api/v1/categories";return v.api.post(s,e)}}const y={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",name:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.resetForm(),this.type=this.$route.params.type},methods:{resetForm:function(){this.name="",this.resetErrors()},resetErrors:function(){this.submissionErrors={name:""},this.hasSubmissionErrors={name:!1}},submitCategory:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildCategory();let s=new q;s.post(e).catch(this.processErrors).then(this.processSuccess)},buildCategory:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am new category",show:!0,action:{show:!0,text:"Go to category",link:{name:"categories.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var C=r(1639),E=r(9885),k=r(7128),x=r(8879),R=r(4458),I=r(3190),S=r(6611),W=r(1221),V=r(9984),Z=r.n(V);const Q=(0,C.Z)(y,[["render",_]]),H=Q;Z()(y,"components",{QPage:E.Z,QBanner:k.Z,QBtn:x.Z,QCard:R.Z,QCardSection:I.Z,QInput:S.Z,QCheckbox:W.Z})}}]);
|
1
public/v3/js/6919.e84d5ba8.js
vendored
1
public/v3/js/6919.e84d5ba8.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[6919],{6919:(e,s,r)=>{r.r(s),r.d(s,{default:()=>H});var t=r(9835),o=r(6970);const a={class:"row q-mx-md"},i={class:"col-12"},l={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,t._)("div",{class:"text-h6"},"Info for new category",-1),d={class:"row"},m={class:"col-12 q-mb-xs"},c={class:"row q-mx-md"},h={class:"col-12"},b={class:"row"},p={class:"col-12 text-right"},f={class:"row"},g={class:"col-12 text-right"},w=(0,t._)("br",null,null,-1);function _(e,s,r,_,v,q){const y=(0,t.up)("q-btn"),C=(0,t.up)("q-banner"),E=(0,t.up)("q-card-section"),k=(0,t.up)("q-input"),x=(0,t.up)("q-card"),R=(0,t.up)("q-checkbox"),I=(0,t.up)("q-page");return(0,t.wg)(),(0,t.j4)(I,null,{default:(0,t.w5)((()=>[(0,t._)("div",a,[(0,t._)("div",i,[""!==v.errorMessage?((0,t.wg)(),(0,t.j4)(C,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,t.w5)((()=>[(0,t.Wm)(y,{flat:"",onClick:q.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,t.w5)((()=>[(0,t.Uk)((0,o.zw)(v.errorMessage)+" ",1)])),_:1})):(0,t.kq)("",!0)])]),(0,t._)("div",l,[(0,t._)("div",n,[(0,t.Wm)(x,{bordered:""},{default:(0,t.w5)((()=>[(0,t.Wm)(E,null,{default:(0,t.w5)((()=>[u])),_:1}),(0,t.Wm)(E,null,{default:(0,t.w5)((()=>[(0,t._)("div",d,[(0,t._)("div",m,[(0,t.Wm)(k,{"error-message":v.submissionErrors.name,error:v.hasSubmissionErrors.name,"bottom-slots":"",disable:q.disabledInput,type:"text",clearable:"",modelValue:v.name,"onUpdate:modelValue":s[0]||(s[0]=e=>v.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,t._)("div",c,[(0,t._)("div",h,[(0,t.Wm)(x,{class:"q-mt-xs"},{default:(0,t.w5)((()=>[(0,t.Wm)(E,null,{default:(0,t.w5)((()=>[(0,t._)("div",b,[(0,t._)("div",p,[(0,t.Wm)(y,{disable:q.disabledInput,color:"primary",label:"Submit",onClick:q.submitCategory},null,8,["disable","onClick"])])]),(0,t._)("div",f,[(0,t._)("div",g,[(0,t.Wm)(R,{disable:q.disabledInput,modelValue:v.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>v.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),w,(0,t.Wm)(R,{modelValue:v.doResetForm,"onUpdate:modelValue":s[2]||(s[2]=e=>v.doResetForm=e),"left-label":"",disable:!v.doReturnHere||q.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var v=r(1569);class q{post(e){let s="/api/v1/categories";return v.api.post(s,e)}}const y={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",name:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.resetForm(),this.type=this.$route.params.type},methods:{resetForm:function(){this.name="",this.resetErrors()},resetErrors:function(){this.submissionErrors={name:""},this.hasSubmissionErrors={name:!1}},submitCategory:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildCategory();let s=new q;s.post(e).catch(this.processErrors).then(this.processSuccess)},buildCategory:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am new category",show:!0,action:{show:!0,text:"Go to category",link:{name:"categories.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var C=r(1639),E=r(9885),k=r(7128),x=r(8879),R=r(4458),I=r(3190),S=r(6611),W=r(1221),V=r(9984),Z=r.n(V);const Q=(0,C.Z)(y,[["render",_]]),H=Q;Z()(y,"components",{QPage:E.Z,QBanner:k.Z,QBtn:x.Z,QCard:R.Z,QCardSection:I.Z,QInput:S.Z,QCheckbox:W.Z})}}]);
|
1
public/v3/js/6926.1b98abe4.js
vendored
Normal file
1
public/v3/js/6926.1b98abe4.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[6926],{6926:(t,n,s)=>{s.r(n),s.d(n,{default:()=>d});var c=s(9835);const a={class:"row"},i={class:"col q-mr-sm"};function o(t,n,s,o,e,r){const u=(0,c.up)("TransactionList");return(0,c.wg)(),(0,c.iD)("div",a,[((0,c.wg)(!0),(0,c.iD)(c.HY,null,(0,c.Ko)(e.accounts,(t=>((0,c.wg)(),(0,c.iD)("div",i,[(0,c.Wm)(u,{"account-id":t},null,8,["account-id"])])))),256))])}s(702);var e=s(1746);const r={name:"TransactionLists",components:{TransactionList:(0,c.RC)((()=>Promise.all([s.e(4736),s.e(6471)]).then(s.bind(s,6471))))},data(){return{accounts:[]}},mounted(){this.getAccounts()},methods:{getAccounts:function(){(new e.Z).get("frontpageAccounts").then((t=>this.parseAccounts(t.data)))},parseAccounts:function(t){const n=t.data.attributes.data;for(let s in n)n.hasOwnProperty(s)&&this.accounts.push(n[s])}}};var u=s(1639);const l=(0,u.Z)(r,[["render",o]]),d=l}}]);
|
1
public/v3/js/6926.7aca2ca9.js
vendored
1
public/v3/js/6926.7aca2ca9.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[6926],{6926:(t,n,s)=>{s.r(n),s.d(n,{default:()=>d});var c=s(9835);const a={class:"row"},i={class:"col q-mr-sm"};function o(t,n,s,o,e,r){const u=(0,c.up)("TransactionList");return(0,c.wg)(),(0,c.iD)("div",a,[((0,c.wg)(!0),(0,c.iD)(c.HY,null,(0,c.Ko)(e.accounts,(t=>((0,c.wg)(),(0,c.iD)("div",i,[(0,c.Wm)(u,{"account-id":t},null,8,["account-id"])])))),256))])}s(702);var e=s(1746);const r={name:"TransactionLists",components:{TransactionList:(0,c.RC)((()=>Promise.all([s.e(4736),s.e(6471)]).then(s.bind(s,6471))))},data(){return{accounts:[]}},mounted(){this.getAccounts()},methods:{getAccounts:function(){(new e.Z).get("frontpageAccounts").then((t=>this.parseAccounts(t.data)))},parseAccounts:function(t){const n=t.data.attributes.data;for(let s in n)n.hasOwnProperty(s)&&this.accounts.push(n[s])}}};var u=s(1639);const l=(0,u.Z)(r,[["render",o]]),d=l}}]);
|
1
public/v3/js/7039.19e19882.js
vendored
Normal file
1
public/v3/js/7039.19e19882.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[7039],{7039:(e,t,a)=>{a.r(t),a.d(t,{default:()=>$});var s=a(9835);const o={key:0},n={key:1};function i(e,t,a,i,l,r){const c=(0,s.up)("NewUser"),u=(0,s.up)("Dashboard"),d=(0,s.up)("q-page");return(0,s.wg)(),(0,s.j4)(d,null,{default:(0,s.w5)((()=>[0===e.assetCount?((0,s.wg)(),(0,s.iD)("div",o,[(0,s.Wm)(c,{onCreatedAccounts:e.refreshThenCount},null,8,["onCreatedAccounts"])])):(0,s.kq)("",!0),e.assetCount>0?((0,s.wg)(),(0,s.iD)("div",n,[(0,s.Wm)(u)])):(0,s.kq)("",!0)])),_:1})}a(702);var l=a(3836),r=a(3555);const c={class:"q-ma-md"},u={class:"row q-mb-sm"},d={class:"col"},m={class:"col"},h={class:"col"},f={class:"row q-mb-sm"},p={class:"col"},b={class:"row q-mb-sm"},v={class:"col"},g=(0,s.uE)('<div class="row q-mb-sm"><div class="col"> Budget box </div><div class="col"> Category box </div></div><div class="row q-mb-sm"><div class="col"> Expense Box </div><div class="col"> Revenue Box </div></div><div class="row q-mb-sm"><div class="col"> Piggy box </div><div class="col"> Bill box </div></div>',3);function w(e,t,a,o,n,i){const l=(0,s.up)("BillInsightBox"),r=(0,s.up)("SpendInsightBox"),w=(0,s.up)("NetWorthInsightBox"),y=(0,s.up)("AccountChart"),C=(0,s.up)("TransactionLists"),q=(0,s.up)("q-fab-action"),W=(0,s.up)("q-fab"),_=(0,s.up)("q-page-sticky");return(0,s.wg)(),(0,s.iD)("div",c,[(0,s._)("div",u,[(0,s._)("div",d,[(0,s.Wm)(l)]),(0,s._)("div",m,[(0,s.Wm)(r)]),(0,s._)("div",h,[(0,s.Wm)(w)])]),(0,s._)("div",f,[(0,s._)("div",p,[(0,s.Wm)(y)])]),(0,s._)("div",b,[(0,s._)("div",v,[(0,s.Wm)(C)])]),g,(0,s.Wm)(_,{position:"bottom-right",offset:[18,18]},{default:(0,s.w5)((()=>[(0,s.Wm)(W,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,s.w5)((()=>[(0,s.Wm)(q,{color:"primary",square:"",icon:"fas fa-chart-pie",label:e.$t("firefly.new_budget"),to:{name:"budgets.create"}},null,8,["label","to"]),(0,s.Wm)(q,{color:"primary",square:"",icon:"far fa-money-bill-alt",label:e.$t("firefly.new_asset_account"),to:{name:"accounts.create",params:{type:"asset"}}},null,8,["label","to"]),(0,s.Wm)(q,{color:"primary",square:"",icon:"fas fa-exchange-alt",label:e.$t("firefly.newTransfer"),to:{name:"transactions.create",params:{type:"transfer"}}},null,8,["label","to"]),(0,s.Wm)(q,{color:"primary",square:"",icon:"fas fa-long-arrow-alt-right",label:e.$t("firefly.newDeposit"),to:{name:"transactions.create",params:{type:"deposit"}}},null,8,["label","to"]),(0,s.Wm)(q,{color:"primary",square:"",icon:"fas fa-long-arrow-alt-left",label:e.$t("firefly.newWithdrawal"),to:{name:"transactions.create",params:{type:"withdrawal"}}},null,8,["label","to"])])),_:1})])),_:1})])}const y={name:"Dashboard",components:{TransactionLists:(0,s.RC)((()=>a.e(6926).then(a.bind(a,6926)))),AccountChart:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(7946)]).then(a.bind(a,7946)))),NetWorthInsightBox:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(5446)]).then(a.bind(a,5446)))),BillInsightBox:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(794)]).then(a.bind(a,794)))),SpendInsightBox:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(379)]).then(a.bind(a,379))))}};var C=a(1639),q=a(3388),W=a(9361),_=a(935),x=a(9984),A=a.n(x);const B=(0,C.Z)(y,[["render",w]]),k=B;A()(y,"components",{QPageSticky:q.Z,QFab:W.Z,QFabAction:_.Z});const P=(0,s.aZ)({name:"PageIndex",components:{Dashboard:k,NewUser:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(3064),a.e(1543)]).then(a.bind(a,1543))))},data(){return{assetCount:1,$store:null}},mounted(){this.countAssetAccounts()},methods:{refreshThenCount:function(){this.$store=(0,r.S)(),this.$store.refreshCacheKey(),this.countAssetAccounts()},countAssetAccounts:function(){let e=new l.Z;e.list("asset",1,this.getCacheKey).then((e=>{this.assetCount=parseInt(e.data.meta.pagination.total)}))}}});var I=a(9885);const Z=(0,C.Z)(P,[["render",i]]),$=Z;A()(P,"components",{QPage:I.Z})}}]);
|
1
public/v3/js/7039.973e2a95.js
vendored
1
public/v3/js/7039.973e2a95.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7039],{7039:(e,t,a)=>{a.r(t),a.d(t,{default:()=>$});var s=a(9835);const o={key:0},n={key:1};function i(e,t,a,i,l,r){const c=(0,s.up)("NewUser"),u=(0,s.up)("Dashboard"),d=(0,s.up)("q-page");return(0,s.wg)(),(0,s.j4)(d,null,{default:(0,s.w5)((()=>[0===e.assetCount?((0,s.wg)(),(0,s.iD)("div",o,[(0,s.Wm)(c,{onCreatedAccounts:e.refreshThenCount},null,8,["onCreatedAccounts"])])):(0,s.kq)("",!0),e.assetCount>0?((0,s.wg)(),(0,s.iD)("div",n,[(0,s.Wm)(u)])):(0,s.kq)("",!0)])),_:1})}a(702);var l=a(3836),r=a(3555);const c={class:"q-ma-md"},u={class:"row q-mb-sm"},d={class:"col"},m={class:"col"},f={class:"col"},h={class:"row q-mb-sm"},p={class:"col"},b={class:"row q-mb-sm"},v={class:"col"},g=(0,s.uE)('<div class="row q-mb-sm"><div class="col"> Budget box </div><div class="col"> Category box </div></div><div class="row q-mb-sm"><div class="col"> Expense Box </div><div class="col"> Revenue Box </div></div><div class="row q-mb-sm"><div class="col"> Piggy box </div><div class="col"> Bill box </div></div>',3);function w(e,t,a,o,n,i){const l=(0,s.up)("BillInsightBox"),r=(0,s.up)("SpendInsightBox"),w=(0,s.up)("NetWorthInsightBox"),y=(0,s.up)("AccountChart"),C=(0,s.up)("TransactionLists"),q=(0,s.up)("q-fab-action"),W=(0,s.up)("q-fab"),_=(0,s.up)("q-page-sticky");return(0,s.wg)(),(0,s.iD)("div",c,[(0,s._)("div",u,[(0,s._)("div",d,[(0,s.Wm)(l)]),(0,s._)("div",m,[(0,s.Wm)(r)]),(0,s._)("div",f,[(0,s.Wm)(w)])]),(0,s._)("div",h,[(0,s._)("div",p,[(0,s.Wm)(y)])]),(0,s._)("div",b,[(0,s._)("div",v,[(0,s.Wm)(C)])]),g,(0,s.Wm)(_,{position:"bottom-right",offset:[18,18]},{default:(0,s.w5)((()=>[(0,s.Wm)(W,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,s.w5)((()=>[(0,s.Wm)(q,{color:"primary",square:"",icon:"fas fa-chart-pie",label:e.$t("firefly.new_budget"),to:{name:"budgets.create"}},null,8,["label","to"]),(0,s.Wm)(q,{color:"primary",square:"",icon:"far fa-money-bill-alt",label:e.$t("firefly.new_asset_account"),to:{name:"accounts.create",params:{type:"asset"}}},null,8,["label","to"]),(0,s.Wm)(q,{color:"primary",square:"",icon:"fas fa-exchange-alt",label:e.$t("firefly.newTransfer"),to:{name:"transactions.create",params:{type:"transfer"}}},null,8,["label","to"]),(0,s.Wm)(q,{color:"primary",square:"",icon:"fas fa-long-arrow-alt-right",label:e.$t("firefly.newDeposit"),to:{name:"transactions.create",params:{type:"deposit"}}},null,8,["label","to"]),(0,s.Wm)(q,{color:"primary",square:"",icon:"fas fa-long-arrow-alt-left",label:e.$t("firefly.newWithdrawal"),to:{name:"transactions.create",params:{type:"withdrawal"}}},null,8,["label","to"])])),_:1})])),_:1})])}const y={name:"Dashboard",components:{TransactionLists:(0,s.RC)((()=>a.e(6926).then(a.bind(a,6926)))),AccountChart:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(7946)]).then(a.bind(a,7946)))),NetWorthInsightBox:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(5446)]).then(a.bind(a,5446)))),BillInsightBox:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(794)]).then(a.bind(a,794)))),SpendInsightBox:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(379)]).then(a.bind(a,379))))}};var C=a(1639),q=a(3388),W=a(9361),_=a(935),x=a(9984),A=a.n(x);const B=(0,C.Z)(y,[["render",w]]),k=B;A()(y,"components",{QPageSticky:q.Z,QFab:W.Z,QFabAction:_.Z});const P=(0,s.aZ)({name:"PageIndex",components:{Dashboard:k,NewUser:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(3064),a.e(1543)]).then(a.bind(a,1543))))},data(){return{assetCount:1,$store:null}},mounted(){this.countAssetAccounts()},methods:{refreshThenCount:function(){this.$store=(0,r.S)(),this.$store.refreshCacheKey(),this.countAssetAccounts()},countAssetAccounts:function(){let e=new l.Z;e.list("asset",1,this.getCacheKey).then((e=>{this.assetCount=parseInt(e.data.meta.pagination.total)}))}}});var I=a(9885);const Z=(0,C.Z)(P,[["render",i]]),$=Z;A()(P,"components",{QPage:I.Z})}}]);
|
1
public/v3/js/7222.10d16552.js
vendored
1
public/v3/js/7222.10d16552.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7222],{7222:(e,t,l)=>{l.r(t),l.d(t,{default:()=>b});var a=l(9835),i=l(6970);const s={class:"row q-mx-md"},u={class:"col-12"},r={class:"text-h6"},n={class:"row"},d={class:"col-12 q-mb-xs"},c=(0,a._)("br",null,null,-1);function o(e,t,l,o,f,h){const p=(0,a.up)("q-card-section"),w=(0,a.up)("q-card"),_=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(_,null,{default:(0,a.w5)((()=>[(0,a._)("div",s,[(0,a._)("div",u,[(0,a.Wm)(w,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(p,null,{default:(0,a.w5)((()=>[(0,a._)("div",r,(0,i.zw)(f.rule.title),1)])),_:1}),(0,a.Wm)(p,null,{default:(0,a.w5)((()=>[(0,a._)("div",n,[(0,a._)("div",d,[(0,a.Uk)(" Rule: "+(0,i.zw)(f.rule.title),1),c])])])),_:1})])),_:1})])])])),_:1})}var f=l(9543);const h={name:"Show",data(){return{rule:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getRule()},methods:{onRequest:function(e){this.page=e.page,this.getRule()},getRule:function(){(new f.Z).get(this.id).then((e=>this.parseRule(e)))},parseRule:function(e){this.rule={title:e.data.data.attributes.title}}}};var p=l(1639),w=l(9885),_=l(4458),m=l(3190),g=l(9984),v=l.n(g);const R=(0,p.Z)(h,[["render",o]]),b=R;v()(h,"components",{QPage:w.Z,QCard:_.Z,QCardSection:m.Z})}}]);
|
1
public/v3/js/7222.d061b18d.js
vendored
Normal file
1
public/v3/js/7222.d061b18d.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[7222],{7222:(e,t,l)=>{l.r(t),l.d(t,{default:()=>R});var a=l(9835),i=l(6970);const s={class:"row q-mx-md"},u={class:"col-12"},r={class:"text-h6"},n={class:"row"},d={class:"col-12 q-mb-xs"},c=(0,a._)("br",null,null,-1);function o(e,t,l,o,h,p){const f=(0,a.up)("q-card-section"),w=(0,a.up)("q-card"),_=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(_,null,{default:(0,a.w5)((()=>[(0,a._)("div",s,[(0,a._)("div",u,[(0,a.Wm)(w,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(f,null,{default:(0,a.w5)((()=>[(0,a._)("div",r,(0,i.zw)(h.rule.title),1)])),_:1}),(0,a.Wm)(f,null,{default:(0,a.w5)((()=>[(0,a._)("div",n,[(0,a._)("div",d,[(0,a.Uk)(" Rule: "+(0,i.zw)(h.rule.title),1),c])])])),_:1})])),_:1})])])])),_:1})}var h=l(9543);const p={name:"Show",data(){return{rule:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getRule()},methods:{onRequest:function(e){this.page=e.page,this.getRule()},getRule:function(){(new h.Z).get(this.id).then((e=>this.parseRule(e)))},parseRule:function(e){this.rule={title:e.data.data.attributes.title}}}};var f=l(1639),w=l(9885),_=l(4458),g=l(3190),m=l(9984),b=l.n(m);const v=(0,f.Z)(p,[["render",o]]),R=v;b()(p,"components",{QPage:w.Z,QCard:_.Z,QCardSection:g.Z})}}]);
|
1
public/v3/js/7407.2d0dc390.js
vendored
Normal file
1
public/v3/js/7407.2d0dc390.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[7407],{7407:(s,e,t)=>{t.r(e),t.d(e,{default:()=>$});var r=t(9835),a=t(6970);const i={class:"row q-mx-md"},o={class:"col-12"},n={class:"row q-mx-md q-mt-md"},l={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Edit account",-1),c={class:"row"},d={class:"col-12 q-mb-xs"},m={class:"row"},b={class:"col-12 q-mb-xs"},h={class:"row q-mx-md"},p={class:"col-12"},f={class:"row"},g={class:"col-12 text-right"},w={class:"row"},X={class:"col-12 text-right"};function _(s,e,t,_,v,E){const q=(0,r.up)("q-btn"),x=(0,r.up)("q-banner"),k=(0,r.up)("q-card-section"),C=(0,r.up)("q-input"),S=(0,r.up)("q-card"),A=(0,r.up)("q-checkbox"),I=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(I,null,{default:(0,r.w5)((()=>[(0,r._)("div",i,[(0,r._)("div",o,[""!==v.errorMessage?((0,r.wg)(),(0,r.j4)(x,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",onClick:E.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,a.zw)(v.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",n,[(0,r._)("div",l,[(0,r.Wm)(S,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",c,[(0,r._)("div",d,[(0,r.Wm)(C,{"error-message":v.submissionErrors.name,error:v.hasSubmissionErrors.name,"bottom-slots":"",disable:E.disabledInput,type:"text",clearable:"",modelValue:v.name,"onUpdate:modelValue":e[0]||(e[0]=s=>v.name=s),label:s.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,r._)("div",m,[(0,r._)("div",b,[(0,r.Wm)(C,{"error-message":v.submissionErrors.iban,error:v.hasSubmissionErrors.iban,mask:"AA## XXXX XXXX XXXX XXXX XXXX XXXX XXXX XX","bottom-slots":"",disable:E.disabledInput,type:"text",clearable:"",modelValue:v.iban,"onUpdate:modelValue":e[1]||(e[1]=s=>v.iban=s),label:s.$t("form.iban"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",h,[(0,r._)("div",p,[(0,r.Wm)(S,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",f,[(0,r._)("div",g,[(0,r.Wm)(q,{disable:E.disabledInput,color:"primary",label:"Update",onClick:E.submitAccount},null,8,["disable","onClick"])])]),(0,r._)("div",w,[(0,r._)("div",X,[(0,r.Wm)(A,{disable:E.disabledInput,modelValue:v.doReturnHere,"onUpdate:modelValue":e[2]||(e[2]=s=>v.doReturnHere=s),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var v=t(160),E=t(1569);class q{post(s,e){let t="/api/v1/accounts/"+s;return E.api.put(t,e)}}var x=t(3555);const k={name:"Edit",data(){return{tab:"split-0",submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",id:0,name:"",iban:"",store:null}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectAccount()},methods:{collectAccount:function(){let s=new v.Z;s.get(this.id).then((s=>this.parseAccount(s)))},parseAccount:function(s){this.name=s.data.data.attributes.name,this.iban=s.data.data.attributes.iban},resetErrors:function(){this.submissionErrors={name:"",iban:""},this.hasSubmissionErrors={name:!1,iban:!1}},submitAccount:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const s=this.buildAccount();let e=new q;e.post(this.id,s).catch(this.processErrors).then(this.processSuccess)},buildAccount:function(){let s={name:this.name,iban:this.iban};return s},dismissBanner:function(){this.errorMessage=""},processSuccess:function(s){if(this.store=(0,x.S)(),this.store.refreshCacheKey(),!s)return;this.submitting=!1;let e={level:"success",text:"TODO I am updated lol",show:!0,action:{show:!0,text:"Go to account",link:{name:"accounts.show",params:{id:parseInt(s.data.data.id)}}}};this.$q.localStorage.set("flash",e),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(s){if(s.response){let e=s.response.data;this.errorMessage=e.message,console.log(e);for(let s in e.errors)e.errors.hasOwnProperty(s)&&(this.submissionErrors[s]=e.errors[s][0],this.hasSubmissionErrors[s]=!0)}this.submitting=!1}}};var C=t(1639),S=t(9885),A=t(7128),I=t(8879),W=t(4458),y=t(3190),V=t(6611),Z=t(1221),Q=t(9984),R=t.n(Q);const M=(0,C.Z)(k,[["render",_]]),$=M;R()(k,"components",{QPage:S.Z,QBanner:A.Z,QBtn:I.Z,QCard:W.Z,QCardSection:y.Z,QInput:V.Z,QCheckbox:Z.Z})}}]);
|
1
public/v3/js/7407.efc507ea.js
vendored
1
public/v3/js/7407.efc507ea.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7407],{7407:(s,e,t)=>{t.r(e),t.d(e,{default:()=>$});var r=t(9835),a=t(6970);const i={class:"row q-mx-md"},o={class:"col-12"},n={class:"row q-mx-md q-mt-md"},l={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Edit account",-1),c={class:"row"},d={class:"col-12 q-mb-xs"},m={class:"row"},b={class:"col-12 q-mb-xs"},h={class:"row q-mx-md"},p={class:"col-12"},f={class:"row"},g={class:"col-12 text-right"},w={class:"row"},X={class:"col-12 text-right"};function _(s,e,t,_,v,E){const q=(0,r.up)("q-btn"),x=(0,r.up)("q-banner"),k=(0,r.up)("q-card-section"),C=(0,r.up)("q-input"),S=(0,r.up)("q-card"),A=(0,r.up)("q-checkbox"),I=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(I,null,{default:(0,r.w5)((()=>[(0,r._)("div",i,[(0,r._)("div",o,[""!==v.errorMessage?((0,r.wg)(),(0,r.j4)(x,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",onClick:E.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,a.zw)(v.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",n,[(0,r._)("div",l,[(0,r.Wm)(S,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",c,[(0,r._)("div",d,[(0,r.Wm)(C,{"error-message":v.submissionErrors.name,error:v.hasSubmissionErrors.name,"bottom-slots":"",disable:E.disabledInput,type:"text",clearable:"",modelValue:v.name,"onUpdate:modelValue":e[0]||(e[0]=s=>v.name=s),label:s.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,r._)("div",m,[(0,r._)("div",b,[(0,r.Wm)(C,{"error-message":v.submissionErrors.iban,error:v.hasSubmissionErrors.iban,mask:"AA## XXXX XXXX XXXX XXXX XXXX XXXX XXXX XX","bottom-slots":"",disable:E.disabledInput,type:"text",clearable:"",modelValue:v.iban,"onUpdate:modelValue":e[1]||(e[1]=s=>v.iban=s),label:s.$t("form.iban"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",h,[(0,r._)("div",p,[(0,r.Wm)(S,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",f,[(0,r._)("div",g,[(0,r.Wm)(q,{disable:E.disabledInput,color:"primary",label:"Update",onClick:E.submitAccount},null,8,["disable","onClick"])])]),(0,r._)("div",w,[(0,r._)("div",X,[(0,r.Wm)(A,{disable:E.disabledInput,modelValue:v.doReturnHere,"onUpdate:modelValue":e[2]||(e[2]=s=>v.doReturnHere=s),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var v=t(160),E=t(1569);class q{post(s,e){let t="/api/v1/accounts/"+s;return E.api.put(t,e)}}var x=t(3555);const k={name:"Edit",data(){return{tab:"split-0",submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",id:0,name:"",iban:"",store:null}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectAccount()},methods:{collectAccount:function(){let s=new v.Z;s.get(this.id).then((s=>this.parseAccount(s)))},parseAccount:function(s){this.name=s.data.data.attributes.name,this.iban=s.data.data.attributes.iban},resetErrors:function(){this.submissionErrors={name:"",iban:""},this.hasSubmissionErrors={name:!1,iban:!1}},submitAccount:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const s=this.buildAccount();let e=new q;e.post(this.id,s).catch(this.processErrors).then(this.processSuccess)},buildAccount:function(){let s={name:this.name,iban:this.iban};return s},dismissBanner:function(){this.errorMessage=""},processSuccess:function(s){if(this.store=(0,x.S)(),this.store.refreshCacheKey(),!s)return;this.submitting=!1;let e={level:"success",text:"TODO I am updated lol",show:!0,action:{show:!0,text:"Go to account",link:{name:"accounts.show",params:{id:parseInt(s.data.data.id)}}}};this.$q.localStorage.set("flash",e),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(s){if(s.response){let e=s.response.data;this.errorMessage=e.message,console.log(e);for(let s in e.errors)e.errors.hasOwnProperty(s)&&(this.submissionErrors[s]=e.errors[s][0],this.hasSubmissionErrors[s]=!0)}this.submitting=!1}}};var C=t(1639),S=t(9885),A=t(7128),I=t(8879),W=t(4458),y=t(3190),V=t(6611),Z=t(1221),Q=t(9984),R=t.n(Q);const M=(0,C.Z)(k,[["render",_]]),$=M;R()(k,"components",{QPage:S.Z,QBanner:A.Z,QBtn:I.Z,QCard:W.Z,QCardSection:y.Z,QInput:V.Z,QCheckbox:Z.Z})}}]);
|
1
public/v3/js/7458.2d00483e.js
vendored
Normal file
1
public/v3/js/7458.2d00483e.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/7458.68d4ff7c.js
vendored
1
public/v3/js/7458.68d4ff7c.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/7552.1c7019e7.js
vendored
1
public/v3/js/7552.1c7019e7.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/7552.abfde455.js
vendored
Normal file
1
public/v3/js/7552.abfde455.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/7697.322d5391.js
vendored
1
public/v3/js/7697.322d5391.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7697],{7697:(e,t,r)=>{r.r(t),r.d(t,{default:()=>q});var i=r(9835),n=r(6970);const a={class:"row q-mx-md"},c={class:"col-12"},s={class:"text-h6"},u={class:"row"},l={class:"col-12 q-mb-xs"},d=(0,i._)("br",null,null,-1);function o(e,t,r,o,f,h){const g=(0,i.up)("q-card-section"),p=(0,i.up)("q-card"),w=(0,i.up)("q-page");return(0,i.wg)(),(0,i.j4)(w,null,{default:(0,i.w5)((()=>[(0,i._)("div",a,[(0,i._)("div",c,[(0,i.Wm)(p,{bordered:""},{default:(0,i.w5)((()=>[(0,i.Wm)(g,null,{default:(0,i.w5)((()=>[(0,i._)("div",s,(0,n.zw)(f.recurrence.title),1)])),_:1}),(0,i.Wm)(g,null,{default:(0,i.w5)((()=>[(0,i._)("div",u,[(0,i._)("div",l,[(0,i.Uk)(" Title: "+(0,n.zw)(f.recurrence.title),1),d])])])),_:1})])),_:1})])])])),_:1})}var f=r(4352);const h={name:"Show",data(){return{recurrence:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getRecurring()},methods:{onRequest:function(e){this.page=e.page,this.getRecurring()},getRecurring:function(){(new f.Z).get(this.id).then((e=>this.parseRecurring(e)))},parseRecurring:function(e){this.recurrence={title:e.data.data.attributes.title}}}};var g=r(1639),p=r(9885),w=r(4458),_=r(3190),m=r(9984),v=r.n(m);const b=(0,g.Z)(h,[["render",o]]),q=b;v()(h,"components",{QPage:p.Z,QCard:w.Z,QCardSection:_.Z})}}]);
|
1
public/v3/js/7697.f0e4a310.js
vendored
Normal file
1
public/v3/js/7697.f0e4a310.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[7697],{7697:(e,t,r)=>{r.r(t),r.d(t,{default:()=>q});var i=r(9835),n=r(6970);const a={class:"row q-mx-md"},c={class:"col-12"},s={class:"text-h6"},u={class:"row"},l={class:"col-12 q-mb-xs"},d=(0,i._)("br",null,null,-1);function o(e,t,r,o,h,g){const p=(0,i.up)("q-card-section"),f=(0,i.up)("q-card"),w=(0,i.up)("q-page");return(0,i.wg)(),(0,i.j4)(w,null,{default:(0,i.w5)((()=>[(0,i._)("div",a,[(0,i._)("div",c,[(0,i.Wm)(f,{bordered:""},{default:(0,i.w5)((()=>[(0,i.Wm)(p,null,{default:(0,i.w5)((()=>[(0,i._)("div",s,(0,n.zw)(h.recurrence.title),1)])),_:1}),(0,i.Wm)(p,null,{default:(0,i.w5)((()=>[(0,i._)("div",u,[(0,i._)("div",l,[(0,i.Uk)(" Title: "+(0,n.zw)(h.recurrence.title),1),d])])])),_:1})])),_:1})])])])),_:1})}var h=r(4352);const g={name:"Show",data(){return{recurrence:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getRecurring()},methods:{onRequest:function(e){this.page=e.page,this.getRecurring()},getRecurring:function(){(new h.Z).get(this.id).then((e=>this.parseRecurring(e)))},parseRecurring:function(e){this.recurrence={title:e.data.data.attributes.title}}}};var p=r(1639),f=r(9885),w=r(4458),_=r(3190),m=r(9984),b=r.n(m);const v=(0,p.Z)(g,[["render",o]]),q=v;b()(g,"components",{QPage:f.Z,QCard:w.Z,QCardSection:_.Z})}}]);
|
1
public/v3/js/7736.5775e125.js
vendored
1
public/v3/js/7736.5775e125.js
vendored
File diff suppressed because one or more lines are too long
1
public/v3/js/7736.f642150a.js
vendored
Normal file
1
public/v3/js/7736.f642150a.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/v3/js/7840.5000c1ac.js
vendored
Normal file
1
public/v3/js/7840.5000c1ac.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user