Remove public references to v3 layout.
@@ -97,4 +97,5 @@ interface AccountRepositoryInterface
|
||||
*/
|
||||
public function searchAccount(string $query, array $types, int $limit): Collection;
|
||||
|
||||
|
||||
}
|
||||
|
Before Width: | Height: | Size: 6.7 KiB |
@@ -1,19 +0,0 @@
|
||||
/*!
|
||||
* app.scss
|
||||
* Copyright (c) 2022 james@firefly-iii.org
|
||||
*
|
||||
* This file is part of Firefly III (https://github.com/firefly-iii).
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
Before Width: | Height: | Size: 789 B |
Before Width: | Height: | Size: 1.2 KiB |
@@ -1,21 +0,0 @@
|
||||
<!--
|
||||
~ index.html
|
||||
~ Copyright (c) 2023 james@firefly-iii.org
|
||||
~
|
||||
~ This file is part of Firefly III (https://github.com/firefly-iii).
|
||||
~
|
||||
~ This program is free software: you can redistribute it and/or modify
|
||||
~ it under the terms of the GNU Affero General Public License as
|
||||
~ published by the Free Software Foundation, either version 3 of the
|
||||
~ License, or (at your option) any later version.
|
||||
~
|
||||
~ This program is distributed in the hope that it will be useful,
|
||||
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
~ GNU Affero General Public License for more details.
|
||||
~
|
||||
~ You should have received a copy of the GNU Affero General Public License
|
||||
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<!DOCTYPE html><html><head><base href=/v3/ ><title>Firefly III</title><meta charset=utf-8><meta content="Personal finances manager" name=description><meta content="telephone=no" name=format-detection><meta content=no name=msapplication-tap-highlight><meta content="user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,width=device-width" name=viewport><link href=favicon-32x32.png rel=icon sizes=32x32 type=image/png><link href=favicon-16x16.png rel=icon sizes=16x16 type=image/png><link href=maskable76.png rel=apple-touch-icon sizes=76x76><link href=maskable120.png rel=apple-touch-icon sizes=120x120><link href=maskable152.png rel=apple-touch-icon sizes=152x152><link href=apple-touch-icon.png rel=apple-touch-icon sizes=180x180><link color=#3c8dbc href=safari-pinned-tab.svg rel=mask-icon><link href=maskable192.png rel=icon sizes=192x192><link href=maskable128.png rel=icon sizes=128x128><link href=manifest.webmanifest rel=manifest><meta content=#1e6581 name=msapplication-TileColor><meta content=maskable512.png name=msapplication-TileImage><meta content=no name=msapplication-tap-highlight><meta content="Firefly III" name=application-name><meta content="noindex, nofollow, noarchive, noodp, NoImageIndex, noydir" name=robots><meta content=yes name=apple-mobile-web-app-capable><meta content="Firefly III" name=apple-mobile-web-app-title><meta content="Firefly III" name=application-name><meta content=#3c8dbc name=msapplication-TileColor><meta content="mstile-144x144.png?v=3e8AboOwbd" name=msapplication-TileImage><meta content=#3c8dbc name=theme-color><script defer src=/v3/js/vendor.fa245dad.js></script><script defer src=/v3/js/app.d0f06e34.js></script><link href=/v3/css/vendor.deebbe65.css rel=stylesheet><link href=/v3/css/app.50c7ba73.css rel=stylesheet></head><body><div id=q-app></div></body></html>
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[1019],{1019:(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,class:"bg-orange text-white","inline-actions":"",rounded:""},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",label:"Dismiss",onClick:v.dismissBanner},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,{modelValue:_.title,"onUpdate:modelValue":s[0]||(s[0]=e=>_.title=e),disable:v.disabledInput,error:_.hasSubmissionErrors.title,"error-message":_.submissionErrors.title,label:e.$t("form.title"),"bottom-slots":"",clearable:"",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","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,{modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),disable:v.disabledInput,label:"Return here","left-label":""},null,8,["modelValue","disable"])])])])),_: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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[1198],{1198:(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",loading:s.loading,page:g.page,rows:g.rows,"rows-number":g.rowsNumber,"rows-per-page":g.rowsPerPage,title:"Transactions",onOnRequest:h.onRequest},null,8,["loading","page","rows","rows-number","rows-per-page","onOnRequest"])])])])),_:1})}var g=t(1049),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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[1238],{1238:(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",loading:e.loading,page:p.page,rows:p.rows,"rows-number":p.rowsNumber,"rows-per-page":p.rowsPerPage,title:"Transactions",onOnRequest:m.onRequest},null,8,["loading","page","rows","rows-number","rows-per-page","onOnRequest"])])])])),_:1})}var p=s(1049),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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[1800],{1800:(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,class:"bg-orange text-white","inline-actions":"",rounded:""},{action:(0,r.w5)((()=>[(0,r.Wm)(v,{flat:"",label:"Dismiss",onClick:_.dismissBanner},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,{modelValue:w.title,"onUpdate:modelValue":s[0]||(s[0]=e=>w.title=e),disable:_.disabledInput,error:w.hasSubmissionErrors.title,"error-message":w.submissionErrors.title,label:e.$t("form.title"),"bottom-slots":"",clearable:"",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","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,{modelValue:w.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>w.doReturnHere=e),disable:_.disabledInput,label:"Return here to create another one","left-label":""},null,8,["modelValue","disable"]),f,(0,r.Wm)(x,{modelValue:w.doResetForm,"onUpdate:modelValue":s[2]||(s[2]=e=>w.doResetForm=e),disable:!w.doReturnHere||_.disabledInput,label:"Reset form after submission","left-label":""},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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[2255],{2255:(e,t,a)=>{a.r(t),a.d(t,{default:()=>h});var i=a(9835);const l={class:"q-ma-md"},n={class:"row q-mb-sm"},s={class:"col"},r={class:"q-mt-sm q-mr-sm"},d=(0,i._)("strong",null,"Financial administration",-1),u=(0,i._)("p",null," Bla bla bla List of groups. Edit members, edit group, delete group. add new administration. switch to new administration. ",-1);function m(e,t,a,m,o,c){const p=(0,i.up)("q-item-label"),_=(0,i.up)("q-item-section"),f=(0,i.up)("q-item"),w=(0,i.up)("q-separator"),b=(0,i.up)("q-card-section"),q=(0,i.up)("q-card");return(0,i.wg)(),(0,i.iD)("div",null,[(0,i._)("div",l,[(0,i._)("div",n,[(0,i._)("div",s,[(0,i._)("div",r,[(0,i.Wm)(q,{bordered:""},{default:(0,i.w5)((()=>[(0,i.Wm)(f,null,{default:(0,i.w5)((()=>[(0,i.Wm)(_,null,{default:(0,i.w5)((()=>[(0,i.Wm)(p,null,{default:(0,i.w5)((()=>[d])),_:1})])),_:1})])),_:1}),(0,i.Wm)(w),(0,i.Wm)(b,null,{default:(0,i.w5)((()=>[u])),_:1})])),_:1})])])])])])}const o={name:"Index"};var c=a(1639),p=a(4458),_=a(490),f=a(1233),w=a(3115),b=a(926),q=a(3190),g=a(9984),v=a.n(g);const Z=(0,c.Z)(o,[["render",m]]),h=Z;v()(o,"components",{QCard:p.Z,QItem:_.Z,QItemSection:f.Z,QItemLabel:w.Z,QSeparator:b.Z,QCardSection:q.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[2306],{2306:(e,t,a)=>{a.r(t),a.d(t,{default:()=>D});var s=a(9835);const o={key:0},l={key:1};function n(e,t,a,n,i,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",l,[(0,s.Wm)(u)])):(0,s.kq)("",!0)])),_:1})}var i=a(3836),r=a(3555);const c={class:"row"},u={class:"col-xl-4 col-lg-4 col-md-6 q-pr-sm"},d={class:"col-xl-4 col-lg-4 col-md-6 q-px-sm"},m={class:"col-xl-4 col-lg-4 col-md-6 q-pl-sm"},p={class:"row"},h={class:"col-12 q-pt-sm q-pb-sm"},f={class:"row"},g={class:"col"},b={class:"row"},w={class:"col"},_=(0,s._)("div",{class:"col"}," Category box ",-1),v=(0,s._)("div",{class:"row"},[(0,s._)("div",{class:"col"}," Expense Box "),(0,s._)("div",{class:"col"}," Revenue Box ")],-1),y=(0,s._)("div",{class:"row"},[(0,s._)("div",{class:"col"}," Piggy box "),(0,s._)("div",{class:"col"}," Bill box ")],-1);function C(e,t,a,o,l,n){const i=(0,s.up)("BillInsightBox"),r=(0,s.up)("SpendInsightBox"),C=(0,s.up)("NetWorthInsightBox"),x=(0,s.up)("AccountChart"),q=(0,s.up)("TransactionLists"),W=(0,s.up)("BudgetBox"),B=(0,s.up)("q-fab-action"),A=(0,s.up)("q-fab"),P=(0,s.up)("q-page-sticky"),k=(0,s.up)("q-page");return(0,s.wg)(),(0,s.j4)(k,{class:"q-ma-md"},{default:(0,s.w5)((()=>[(0,s._)("div",c,[(0,s._)("div",u,[(0,s.Wm)(i)]),(0,s._)("div",d,[(0,s.Wm)(r)]),(0,s._)("div",m,[(0,s.Wm)(C)])]),(0,s._)("div",p,[(0,s._)("div",h,[(0,s.Wm)(x)])]),(0,s._)("div",f,[(0,s._)("div",g,[(0,s.Wm)(q)])]),(0,s._)("div",b,[(0,s._)("div",w,[(0,s.Wm)(W)]),_]),v,y,(0,s.Wm)(P,{offset:[18,18],position:"bottom-right"},{default:(0,s.w5)((()=>[(0,s.Wm)(A,{color:"green",direction:"up",icon:"fas fa-chevron-up",label:"Actions","label-position":"left",square:"","vertical-actions-align":"right"},{default:(0,s.w5)((()=>[(0,s.Wm)(B,{label:e.$t("firefly.new_budget"),to:{name:"budgets.create"},color:"primary",icon:"fas fa-chart-pie",square:""},null,8,["label","to"]),(0,s.Wm)(B,{label:e.$t("firefly.new_asset_account"),to:{name:"accounts.create",params:{type:"asset"}},color:"primary",icon:"far fa-money-bill-alt",square:""},null,8,["label","to"]),(0,s.Wm)(B,{label:e.$t("firefly.newTransfer"),to:{name:"transactions.create",params:{type:"transfer"}},color:"primary",icon:"fas fa-exchange-alt",square:""},null,8,["label","to"]),(0,s.Wm)(B,{label:e.$t("firefly.newDeposit"),to:{name:"transactions.create",params:{type:"deposit"}},color:"primary",icon:"fas fa-long-arrow-alt-right",square:""},null,8,["label","to"]),(0,s.Wm)(B,{label:e.$t("firefly.newWithdrawal"),to:{name:"transactions.create",params:{type:"withdrawal"}},color:"primary",icon:"fas fa-long-arrow-alt-left",square:""},null,8,["label","to"])])),_:1})])),_:1})])),_:1})}const x={name:"Dashboard",components:{TransactionLists:(0,s.RC)((()=>a.e(936).then(a.bind(a,936)))),AccountChart:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(7700)]).then(a.bind(a,7700)))),NetWorthInsightBox:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(4777)]).then(a.bind(a,4777)))),BillInsightBox:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(7889)]).then(a.bind(a,7889)))),SpendInsightBox:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(8135)]).then(a.bind(a,8135)))),BudgetBox:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(3922)]).then(a.bind(a,3922))))}};var q=a(1639),W=a(9885),B=a(3388),A=a(9361),P=a(935),k=a(9984),Z=a.n(k);const I=(0,q.Z)(x,[["render",C]]),R=I;Z()(x,"components",{QPage:W.Z,QPageSticky:B.Z,QFab:A.Z,QFabAction:P.Z});const $=(0,s.aZ)({name:"PageIndex",components:{Dashboard:R,NewUser:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(3064),a.e(5389)]).then(a.bind(a,5389))))},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 i.Z;e.list("asset",1,this.getCacheKey).then((e=>{this.assetCount=parseInt(e.data.meta.pagination.total)}))}}}),T=(0,q.Z)($,[["render",n]]),D=T;Z()($,"components",{QPage:W.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[2769],{2769:(e,t,l)=>{l.r(t),l.d(t,{default:()=>d});var n=l(9835);const i={class:"fullscreen bg-blue text-white text-center q-pa-md flex flex-center"},o=(0,n._)("div",{style:{"font-size":"30vh"}}," 404 ",-1),s=(0,n._)("div",{class:"text-h2",style:{opacity:".4"}}," Oops. Nothing here... ",-1);function c(e,t,l,c,r,a){const u=(0,n.up)("q-btn");return(0,n.wg)(),(0,n.iD)("div",i,[(0,n._)("div",null,[o,s,(0,n.Wm)(u,{class:"q-mt-xl",color:"white",label:"Go Home","no-caps":"","text-color":"blue",to:"/",unelevated:""})])])}const r=(0,n.aZ)({name:"Error404"});var a=l(1639),u=l(8879),h=l(9984),f=l.n(h);const b=(0,a.Z)(r,[["render",c]]),d=b;f()(r,"components",{QBtn:u.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[3576],{3576:(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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[3611],{9286:(a,e,t)=>{t.r(e),t.d(e,{default:()=>C});var s=t(9835),r=t(6970);const n={class:"row q-mx-md"},o={class:"col-12"},i={class:"text-h6"},g={class:"row"},l={class:"col-12 q-mb-xs"},u=(0,s._)("br",null,null,-1),c={class:"row q-mt-sm"},d={class:"col-12"};function w(a,e,t,w,p,h){const m=(0,s.up)("q-card-section"),b=(0,s.up)("q-card"),f=(0,s.up)("LargeTable"),_=(0,s.up)("q-page");return(0,s.wg)(),(0,s.j4)(_,null,{default:(0,s.w5)((()=>[(0,s._)("div",n,[(0,s._)("div",o,[(0,s.Wm)(b,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(m,null,{default:(0,s.w5)((()=>[(0,s._)("div",i,(0,r.zw)(p.tag.tag),1)])),_:1}),(0,s.Wm)(m,null,{default:(0,s.w5)((()=>[(0,s._)("div",g,[(0,s._)("div",l,[(0,s.Uk)(" Tag: "+(0,r.zw)(p.tag.tag),1),u])])])),_:1})])),_:1})])]),(0,s._)("div",c,[(0,s._)("div",d,[(0,s.Wm)(f,{ref:"table",loading:a.loading,page:p.page,rows:p.rows,"rows-number":p.rowsNumber,"rows-per-page":p.rowsPerPage,title:"Transactions",onOnRequest:h.onRequest},null,8,["loading","page","rows","rows-number","rows-per-page","onOnRequest"])])])])),_:1})}var p=t(1569);class h{get(a){let e="/api/v1/tags/"+a;return p.api.get(e)}transactions(a,e,t){let s="/api/v1/tags/"+a+"/transactions";return p.api.get(s,{params:{page:e,cache:t}})}}var m=t(1049),b=t(3247);const f={name:"Show",data(){return{tag:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1}},created(){this.id=parseInt(this.$route.params.id),this.getTag()},mounted(){},components:{LargeTable:m.Z},methods:{onRequest:function(a){this.page=a.page,this.getTag()},getTag:function(){let a=new h;a.get(this.id).then((a=>this.parseTag(a))),this.loading=!0;const e=new b.Z;this.rows=[],a.transactions(this.id,this.page,this.getCacheKey).then((a=>{let t=e.parseResponse(a);this.rowsPerPage=t.rowsPerPage,this.rowsNumber=t.rowsNumber,this.rows=t.rows,this.loading=!1}))},parseTag:function(a){this.tag={tag:a.data.data.attributes.tag}}}};var _=t(1639),v=t(9885),T=t(4458),q=t(3190),P=t(9984),Z=t.n(P);const k=(0,_.Z)(f,[["render",w]]),C=k;Z()(f,"components",{QPage:v.Z,QCard:T.Z,QCardSection:q.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[4216],{4216:(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,class:"bg-orange text-white","inline-actions":"",rounded:""},{action:(0,r.w5)((()=>[(0,r.Wm)(v,{flat:"",label:"Dismiss",onClick:_.dismissBanner},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,{modelValue:k.name,"onUpdate:modelValue":e[0]||(e[0]=s=>k.name=s),disable:_.disabledInput,error:k.hasSubmissionErrors.name,"error-message":k.submissionErrors.name,label:s.$t("form.name"),"bottom-slots":"",clearable:"",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","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,{modelValue:k.doReturnHere,"onUpdate:modelValue":e[1]||(e[1]=s=>k.doReturnHere=s),disable:_.disabledInput,label:"Return here","left-label":""},null,8,["modelValue","disable"])])])])),_: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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[4575],{4575:(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",loading:e.loading,page:h.page,rows:h.rows,"rows-number":h.rowsNumber,"rows-per-page":h.rowsPerPage,title:"Transactions",onOnRequest:m.onRequest},null,8,["loading","page","rows","rows-number","rows-per-page","onOnRequest"])])])])),_:1})}var h=t(160),m=t(1049),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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[4647],{4647:(t,e,a)=>{a.r(e),a.d(e,{default:()=>P});var i=a(9835),s=a(6970);const r=(0,i.Uk)("Edit"),o=(0,i.Uk)("Delete");function n(t,e,a,n,l,p){const u=(0,i.up)("q-th"),g=(0,i.up)("q-tr"),d=(0,i.up)("router-link"),h=(0,i.up)("q-td"),m=(0,i.up)("q-item-label"),c=(0,i.up)("q-item-section"),w=(0,i.up)("q-item"),f=(0,i.up)("q-list"),b=(0,i.up)("q-btn-dropdown"),y=(0,i.up)("q-table"),_=(0,i.up)("q-page"),k=(0,i.Q2)("close-popup");return(0,i.wg)(),(0,i.j4)(_,null,{default:(0,i.w5)((()=>[(0,i.Wm)(y,{pagination:l.pagination,"onUpdate:pagination":e[0]||(e[0]=t=>l.pagination=t),columns:l.columns,loading:l.loading,rows:l.rows,title:t.$t("firefly.object_groups"),class:"q-ma-md","row-key":"id",onRequest:p.onRequest},{header:(0,i.w5)((t=>[(0,i.Wm)(g,{props:t},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(t.cols,(e=>((0,i.wg)(),(0,i.j4)(u,{key:e.name,props:t},{default:(0,i.w5)((()=>[(0,i.Uk)((0,s.zw)(e.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,i.w5)((t=>[(0,i.Wm)(g,{props:t},{default:(0,i.w5)((()=>[(0,i.Wm)(h,{key:"title",props:t},{default:(0,i.w5)((()=>[(0,i.Wm)(d,{to:{name:"groups.show",params:{id:t.row.id}},class:"text-primary"},{default:(0,i.w5)((()=>[(0,i.Uk)((0,s.zw)(t.row.title),1)])),_:2},1032,["to"])])),_:2},1032,["props"]),(0,i.Wm)(h,{key:"menu",props:t},{default:(0,i.w5)((()=>[(0,i.Wm)(b,{color:"primary",label:"Actions",size:"sm"},{default:(0,i.w5)((()=>[(0,i.Wm)(f,null,{default:(0,i.w5)((()=>[(0,i.wy)(((0,i.wg)(),(0,i.j4)(w,{to:{name:"groups.edit",params:{id:t.row.id}},clickable:""},{default:(0,i.w5)((()=>[(0,i.Wm)(c,null,{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[r])),_:1})])),_:1})])),_:2},1032,["to"])),[[k]]),(0,i.wy)(((0,i.wg)(),(0,i.j4)(w,{clickable:"",onClick:e=>p.deleteGroup(t.row.id,t.row.title)},{default:(0,i.w5)((()=>[(0,i.Wm)(c,null,{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[o])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[k]])])),_:2},1024)])),_:2},1024)])),_:2},1032,["props"])])),_:2},1032,["props"])])),_:1},8,["pagination","columns","loading","rows","title","onRequest"])])),_:1})}var l=a(7913),p=a(1569);class u{list(t,e,a){let i="/api/v1/object_groups";return p.api.get(i,{params:{page:e,cache:a,type:t}})}}var g=a(3555);const d={name:"Index",watch:{$route(t){"groups.index"===t.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,g.S)()},mounted(){this.type=this.$route.params.type,null!==this.store.getRange.start&&null!==this.store.getRange.end||this.store.$onAction((({name:t,$store:e,args:a,after:i,onError:s})=>{i((e=>{"setRange"===t&&(this.range=e,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:{deleteGroup:function(t,e){this.$q.dialog({title:"Confirm",message:'Do you want to delete group "'+e+'"? Any resources in this group will be saved.',cancel:!0,persistent:!0}).onOk((()=>{this.destroyGroup(t)}))},destroyGroup:function(t){new l.Z("object_groups").destroy(t).then((()=>{this.store.refreshCacheKey(),this.triggerUpdate()}))},updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly.groups",this.$route.meta.breadcrumbs=[{title:"groups"}]},onRequest:function(t){this.page=t.pagination.page,this.triggerUpdate()},triggerUpdate:function(){if(this.loading)return;if(null===this.range.start||null===this.range.end)return;this.loading=!0;const t=new u;this.rows=[],t.list(this.page,this.getCacheKey).then((t=>{this.pagination.rowsPerPage=t.data.meta.pagination.per_page,this.pagination.rowsNumber=t.data.meta.pagination.total,this.pagination.page=this.page;for(let e in t.data.data)if(t.data.data.hasOwnProperty(e)){let a=t.data.data[e],i={id:a.id,title:a.attributes.title};this.rows.push(i)}this.loading=!1}))}}};var h=a(1639),m=a(9885),c=a(2429),w=a(3532),f=a(1682),b=a(7220),y=a(2045),_=a(3246),k=a(490),q=a(1233),Z=a(3115),W=a(2146),Q=a(9984),R=a.n(Q);const U=(0,h.Z)(d,[["render",n]]),P=U;R()(d,"components",{QPage:m.Z,QTable:c.Z,QTr:w.Z,QTh:f.Z,QTd:b.Z,QBtnDropdown:y.Z,QList:_.Z,QItem:k.Z,QItemSection:q.Z,QItemLabel:Z.Z}),R()(d,"directives",{ClosePopup:W.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[4670],{4670:(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,class:"bg-orange text-white","inline-actions":"",rounded:""},{action:(0,r.w5)((()=>[(0,r.Wm)(E,{flat:"",label:"Dismiss",onClick:q.dismissBanner},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,{modelValue:v.name,"onUpdate:modelValue":s[0]||(s[0]=e=>v.name=e),disable:q.disabledInput,error:v.hasSubmissionErrors.name,"error-message":v.submissionErrors.name,label:e.$t("form.name"),"bottom-slots":"",clearable:"",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","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,{modelValue:v.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>v.doReturnHere=e),disable:q.disabledInput,label:"Return here to create another one","left-label":""},null,8,["modelValue","disable"]),w,(0,r.Wm)(I,{modelValue:v.doResetForm,"onUpdate:modelValue":s[2]||(s[2]=e=>v.doResetForm=e),disable:!v.doReturnHere||q.disabledInput,label:"Reset form after submission","left-label":""},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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[4777],{4777:(t,e,r)=>{r.r(e),r.d(e,{default:()=>R});var n=r(9835),a=r(6970);const o=(0,n._)("br",null,null,-1),i=["title"],s={key:0};function l(t,e,r,l,u,c){const m=(0,n.up)("q-item-label"),d=(0,n.up)("q-item-section"),p=(0,n.up)("q-item"),h=(0,n.up)("q-separator"),g=(0,n.up)("q-icon"),f=(0,n.up)("q-card-section"),_=(0,n.up)("q-card");return(0,n.wg)(),(0,n.j4)(_,{bordered:"",flat:"",class:"fit"},{default:(0,n.w5)((()=>[(0,n.Wm)(p,null,{default:(0,n.w5)((()=>[(0,n.Wm)(d,null,{default:(0,n.w5)((()=>[(0,n.Wm)(m,null,{default:(0,n.w5)((()=>[(0,n._)("strong",null,(0,a.zw)(t.$t("firefly.net_worth")),1)])),_:1})])),_:1})])),_:1}),(0,n.Wm)(h),(0,n.Wm)(f,{horizontal:""},{default:(0,n.w5)((()=>[(0,n.Wm)(f,null,{default:(0,n.w5)((()=>[(0,n.Wm)(g,{color:u.primary>0?"positive":"negative",name:"fas fa-chart-line",size:"50px"},null,8,["color"])])),_:1}),(0,n.Wm)(h,{vertical:""}),(0,n.Wm)(f,null,{default:(0,n.w5)((()=>[(0,n._)("strong",null,(0,a.zw)(c.formatAmount(u.currency,u.primary)),1),o,(0,n._)("small",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(u.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,i),e+1!==u.netWorth.length?((0,n.wg)(),(0,n.iD)("span",s," + ")):(0,n.kq)("",!0)])))),256))])])),_:1})])),_:1})])),_:1})}var u=r(3555),c=r(1569),m=r(8898);class d{get(t){let e=(0,m.Z)(t,"y-MM-dd");return c.api.get("/api/v2/net-worth",{params:{date:e}})}}const p={name:"NetWorthInsightBox",data(){return{netWorth:[],primary:0,currency:"EUR",store:null}},mounted(){this.store=(0,u.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 d).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){return Intl.NumberFormat(this.store?.getLocale??"en-US",{style:"currency",currency:t}).format(e)}}};var h=r(1639),g=r(4458),f=r(490),_=r(1233),v=r(3115),w=r(926),y=r(3190),W=r(2857),b=r(9984),Z=r.n(b);const q=(0,h.Z)(p,[["render",l]]),R=q;Z()(p,"components",{QCard:g.Z,QItem:f.Z,QItemSection:_.Z,QItemLabel:v.Z,QSeparator:w.Z,QCardSection:y.Z,QIcon:W.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[4799],{4799:(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,{modelValue:u.emailAddress,"onUpdate:modelValue":a[0]||(a[0]=e=>u.emailAddress=e),label:"Email address",outlined:"",required:"",type:"email"},{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)(_,{offset:[18,18],position:"bottom-right"},{default:(0,i.w5)((()=>[(0,i.Wm)(q,{color:"green",direction:"up",icon:"fas fa-chevron-up",label:"Actions","label-position":"left",square:"","vertical-actions-align":"right"},{default:(0,i.w5)((()=>[(0,i.Wm)(w,{to:{name:"profile.data"},color:"primary",icon:"fas fa-database",label:"Manage data",square:""},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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[5114],{5114:(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,{pagination:r.pagination,"onUpdate:pagination":t[0]||(t[0]=e=>r.pagination=e),columns:r.columns,loading:r.loading,rows:r.rows,title:e.$t("firefly.webhooks"),class:"q-ma-md","row-key":"id",onRequest:p.onRequest},{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,{to:{name:"webhooks.edit",params:{id:e.row.id}},clickable:""},{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,["pagination","columns","loading","rows","title","onRequest"]),(0,o.Wm)(_,{offset:[18,18],position:"bottom-right"},{default:(0,o.w5)((()=>[(0,o.Wm)(q,{color:"green",direction:"up",icon:"fas fa-chevron-up",label:"Actions","label-position":"left",square:"","vertical-actions-align":"right"},{default:(0,o.w5)((()=>[(0,o.Wm)(y,{to:{name:"webhooks.create"},color:"primary",icon:"fas fa-exchange-alt",label:"New webhook",square:""},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(2429),m=a(3532),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 +0,0 @@
|
||||
"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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[6745],{6745:(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,{class:"q-ma-xs",color:"blue",outline:""},{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,{offset:[18,18],position:"bottom-right"},{default:(0,i.w5)((()=>[(0,i.Wm)(c,{color:"green",direction:"up",icon:"fas fa-chevron-up",label:"Actions","label-position":"left",square:"","vertical-actions-align":"right"},{default:(0,i.w5)((()=>[(0,i.Wm)(p,{to:{name:"tags.create"},color:"primary",icon:"fas fa-exchange-alt",label:"New tag",square:""},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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[7039],{7039:(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",loading:e.loading,page:d.page,rows:d.rows,"rows-number":d.rowsNumber,"rows-per-page":d.rowsPerPage,title:"Transactions",onOnRequest:p.onRequest},null,8,["loading","page","rows","rows-number","rows-per-page","onOnRequest"])])])])),_:1})}var d=s(1049),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 +0,0 @@
|
||||
"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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[7450],{7450:(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,class:"bg-orange text-white","inline-actions":"",rounded:""},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",label:"Dismiss",onClick:v.dismissBanner},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,{modelValue:_.title,"onUpdate:modelValue":s[0]||(s[0]=e=>_.title=e),disable:v.disabledInput,error:_.hasSubmissionErrors.title,"error-message":_.submissionErrors.title,label:e.$t("form.title"),"bottom-slots":"",clearable:"",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","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,{modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),disable:v.disabledInput,label:"Return here","left-label":""},null,8,["modelValue","disable"])])])])),_: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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[7493],{7493:(s,e,t)=>{t.r(e),t.d(e,{default:()=>V});var r=t(9835),i=t(6970);const o={class:"row q-mx-md"},l={class:"col-12"},a={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Edit 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(s,e,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"),C=(0,r.up)("q-card"),G=(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",o,[(0,r._)("div",l,[""!==_.errorMessage?((0,r.wg)(),(0,r.j4)(E,{key:0,class:"bg-orange text-white","inline-actions":"",rounded:""},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",label:"Dismiss",onClick:v.dismissBanner},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)(C,{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",d,[(0,r._)("div",c,[(0,r.Wm)(x,{modelValue:_.title,"onUpdate:modelValue":e[0]||(e[0]=s=>_.title=s),disable:v.disabledInput,error:_.hasSubmissionErrors.title,"error-message":_.submissionErrors.title,label:s.$t("form.title"),"bottom-slots":"",clearable:"",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",h,[(0,r._)("div",m,[(0,r.Wm)(C,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(k,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.submitGroup},null,8,["disable","onClick"])])]),(0,r._)("div",g,[(0,r._)("div",f,[(0,r.Wm)(G,{modelValue:_.doReturnHere,"onUpdate:modelValue":e[1]||(e[1]=s=>_.doReturnHere=s),disable:v.disabledInput,label:"Return here","left-label":""},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var _=t(1741),v=t(1569);class q{post(s,e){let t="/api/v1/object_groups/"+s;return v.api.put(t,e)}}var E=t(3555);const k={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",id:0,title:"",store:null}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectGroup(),this.store=(0,E.S)()},methods:{collectGroup:function(){let s=new _.Z;s.get(this.id).then((s=>this.parseGroup(s)))},parseGroup:function(s){this.title=s.data.data.attributes.title},resetErrors:function(){this.submissionErrors={title:""},this.hasSubmissionErrors={title:!1}},submitGroup:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const s=this.buildGroup();let e=new q;e.post(this.id,s).catch(this.processErrors).then(this.processSuccess)},buildGroup:function(){return{title:this.title}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(s){if(this.store.refreshCacheKey(),!s)return;this.submitting=!1;let e={level:"success",text:"Group is updated",show:!0,action:{show:!0,text:"Go to group",link:{name:"groups.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 x=t(1639),C=t(9885),G=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:C.Z,QBanner:G.Z,QBtn:S.Z,QCard:W.Z,QCardSection:Z.Z,QInput:y.Z,QCheckbox:I.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[753],{753:(e,t,s)=>{s.r(t),s.d(t,{default:()=>N});var a=s(9835),r=s(6970);const o={class:"row q-mx-md"},i={class:"col-12"},n={class:"text-h6"},u={class:"row"},d={class:"col-12 q-mb-xs"},g=(0,a._)("br",null,null,-1),l={class:"row q-mt-sm"},h={class:"col-12"};function w(e,t,s,w,c,p){const m=(0,a.up)("q-card-section"),b=(0,a.up)("q-card"),f=(0,a.up)("LargeTable"),_=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(_,null,{default:(0,a.w5)((()=>[(0,a._)("div",o,[(0,a._)("div",i,[(0,a.Wm)(b,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(m,null,{default:(0,a.w5)((()=>[(0,a._)("div",n,(0,r.zw)(c.budget.name),1)])),_:1}),(0,a.Wm)(m,null,{default:(0,a.w5)((()=>[(0,a._)("div",u,[(0,a._)("div",d,[(0,a.Uk)(" Name: "+(0,r.zw)(c.budget.name),1),g])])])),_:1})])),_:1})])]),(0,a._)("div",l,[(0,a._)("div",h,[(0,a.Wm)(f,{ref:"table",loading:e.loading,page:c.page,rows:c.rows,"rows-number":c.rowsNumber,"rows-per-page":c.rowsPerPage,title:"Transactions",onOnRequest:p.onRequest},null,8,["loading","page","rows","rows-number","rows-per-page","onOnRequest"])])])])),_:1})}var c=s(1049),p=s(7912),m=s(3247);const b={name:"Show",data(){return{budget:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1}},created(){"no-budget"===this.$route.params.id&&(this.id=0,this.getWithoutBudget()),"no-budget"!==this.$route.params.id&&(this.id=parseInt(this.$route.params.id),this.getBudget())},components:{LargeTable:c.Z},methods:{onRequest:function(e){this.page=e.page,this.getBudget()},getWithoutBudget:function(){this.budget={name:"(without budget)"},this.loading=!0;const e=new m.Z;this.rows=[];let t=new p.Z;t.transactionsWithoutBudget(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}))},getBudget:function(){let e=new p.Z;e.get(this.id).then((e=>this.parseBudget(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}))},parseBudget:function(e){this.budget={name:e.data.data.attributes.name}}}};var f=s(1639),_=s(9885),P=s(4458),q=s(3190),v=s(9984),Z=s.n(v);const B=(0,f.Z)(b,[["render",w]]),N=B;Z()(b,"components",{QPage:_.Z,QCard:P.Z,QCardSection:q.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[7676],{7676:(e,i,l)=>{l.r(i),l.d(i,{default:()=>v});var t=l(9835),a=l(6970);const n={class:"row q-mx-md"},s={class:"col-7"},o=(0,t._)("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. ",-1),r=(0,t._)("p",null,[(0,t.Uk)(" The "),(0,t._)("strong",null,"v2"),(0,t.Uk)(" layout was built to be perfect for each page. This new "),(0,t._)("strong",null,"v3"),(0,t.Uk)(' layout has a different approach. I\'m building a "minimum viable product", where each page has '),(0,t._)("em",null,"minimal"),(0,t.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. ")],-1),u=(0,t._)("p",null," If you spot problems, feel free to report them. Here are some known issues. ",-1),c=(0,t._)("ul",null,[(0,t._)("li",{class:"text-negative"},"You will lose data when you edit certain objects;"),(0,t._)("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,t._)("li",null,"Not all menu's are (un)folded correctly for all pages;"),(0,t._)("li",null,"Breadcrumbs are missing or incorrect;"),(0,t._)("li",null,"You can't make transaction splits;"),(0,t._)("li",null,"Accounts, budgets, transactions, etc. have only limited fields available in the edit, create and view screens; "),(0,t._)("li",null,'Occasionally, you may spot a "TODO". I\'ve limited their presence, but sometimes I just need a placeholder; '),(0,t._)("li",null,[(0,t.Uk)("Missing translations, "),(0,t._)("code",null,"firefly.abc"),(0,t.Uk)(" references, or transactions formatted in another locale; ")])],-1),h=(0,t._)("p",null,[(0,t.Uk)(" If you need to visit a "),(0,t._)("strong",null,"v1"),(0,t.Uk)(" alternative for the page you are seeing, please change the URL to "),(0,t._)("code",null,"*/profile"),(0,t.Uk)(" (where "),(0,t._)("code",null,"*"),(0,t.Uk)(" is your Firefly III URL). From there, you can navigate to any "),(0,t._)("strong",null,"v1"),(0,t.Uk)(" page. You may not be able to visit the v1 dashboard. ")],-1),f=(0,t._)("p",null,[(0,t.Uk)(" Tickets on GitHub that concern v3 will be "),(0,t._)("em",{class:"text-negative"},"closed"),(0,t.Uk)(". This rule may change in the future. Until then, please leave your feedback here: ")],-1),d=(0,t._)("p",null,[(0,t.Uk)(" Thanks again,"),(0,t._)("br"),(0,t.Uk)(" James ")],-1);function y(e,i,l,y,m,g){const p=(0,t.up)("q-page");return(0,t.wg)(),(0,t.j4)(p,null,{default:(0,t.w5)((()=>[(0,t._)("div",n,[(0,t._)("div",s,[o,r,u,c,h,f,(0,t._)("ul",null,[(0,t._)("li",null,[(0,t._)("a",{class:(0,a.C_)(e.$q.dark.isActive?"text-red":"text-blue"),href:"https://github.com/firefly-iii/firefly-iii/discussions/5589"},"GitHub discussion",2)]),(0,t._)("li",null,[(0,t._)("a",{class:(0,a.C_)(e.$q.dark.isActive?"text-red":"text-blue"),href:"https://gitter.im/firefly-iii/firefly-iii"},"Gitter.im chat",2)]),(0,t._)("li",null,[(0,t._)("a",{class:(0,a.C_)(e.$q.dark.isActive?"text-red":"text-blue"),href:"mailto:james@firefly-iii.org"},"james@firefly-iii.org",2)])]),d])])])),_:1})}const m={name:"Index"};var g=l(1639),p=l(9885),_=l(9984),b=l.n(_);const k=(0,g.Z)(m,[["render",y]]),v=k;b()(m,"components",{QPage:p.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[7700],{7700:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var s=r(9835);function a(e,t,r,a,n,i){const o=(0,s.up)("ApexChart"),l=(0,s.up)("q-card");return(0,s.wg)(),(0,s.j4)(l,{flat:"",bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(o,{ref:"chart",options:n.options,series:n.series,height:"350",type:"line"},null,8,["options","series"])])),_:1})}var n=r(1569),i=r(8898);class o{overview(e,t){let r=(0,i.Z)(e.start,"y-MM-dd"),s=(0,i.Z)(e.end,"y-MM-dd");return n.api.get("/api/v2/chart/account/dashboard",{params:{start:r,end:s,cache:t}})}}var l=r(9302),c=r(3555);const h={name:"AccountChart",data(){return{loading:!1,currencies:[],options:{theme:{mode:"dark"},dataLabels:{enabled:!1},noData:{text:"Loading..."},chart:{id:"account-chart",toolbar:{show:!0,tools:{download:!1,selection:!1,pan:!1}}},yaxis:{labels:{formatter:this.numberFormatter}},labels:[],xaxis:{categories:[]}},series:[],locale:"en-US",dateFormat:"MMMM d, y",store:null}},created(){this.dateFormat=this.$t("config.month_and_day_fns")},mounted(){this.store=(0,c.S)();const e=(0,l.Z)();this.options.theme.mode=e.dark.isActive?"dark":"light",this.store.$onAction((({name:e,store:t,args:r,after:s,onError:a})=>{s((t=>{"setRange"===e&&(this.locale=this.store.getLocale,this.buildChart())}))})),null!==this.store.getRange.start&&null!==this.store.getRange.end&&this.buildChart()},methods:{numberFormatter:function(e,t){if(t instanceof Object){let r=this.currencies[t.seriesIndex]??"EUR";return Intl.NumberFormat(this.locale,{style:"currency",currency:r}).format(e)}if(Number.isInteger(t)){let r=this.currencies[t]??"EUR";return Intl.NumberFormat(this.locale,{style:"currency",currency:r}).format(e)}return"x"},buildChart:function(){if(console.log("buildChart"),null!==this.store.getRange.start&&null!==this.store.getRange.end&&!1===this.loading){console.log("buildChart go!");let e=this.store.getRange.start,t=this.store.getRange.end;!1===this.loading&&(this.loading=!0,this.generateStaticLabels({start:e,end:t}),(new o).overview({start:e,end:t},this.getCacheKey).then((e=>{this.generateSeries(e.data)})))}},generateSeries:function(e){let t;console.log("generateSeries"),this.series=[];for(let r in e)if(e.hasOwnProperty(r)){t={},t.name=e[r].label,t.data=[],e[r].converted||this.currencies.push(e[r].currency_code),e[r].converted&&this.currencies.push(e[r].native_code);for(let s in e[r].entries)t.data.push(e[r].entries[s]);this.series.push(t)}this.loading=!1},generateStaticLabels:function(e){let t,r=new Date(e.start),s=[];while(r<=e.end)s.push((0,i.Z)(r,this.dateFormat)),t=r.setDate(r.getDate()+1),r=new Date(t);this.options={...this.options,labels:s}}},components:{ApexChart:(0,s.RC)((()=>r.e(4736).then(r.t.bind(r,7092,23))))}};var d=r(1639),u=r(4458),g=r(9984),m=r.n(g);const b=(0,d.Z)(h,[["render",a]]),p=b;m()(h,"components",{QCard:u.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[7889],{7889:(t,e,n)=>{n.r(e),n.d(e,{default:()=>M});var i=n(9835),a=n(6970);const s=["title"],r=(0,i.Uk)(": "),o=["title"],u={key:0},d=(0,i._)("br",null,null,-1),l=["title"],p=["title"],m={key:0};function c(t,e,n,c,h,g){const f=(0,i.up)("q-item-label"),v=(0,i.up)("q-item-section"),_=(0,i.up)("q-item"),w=(0,i.up)("q-separator"),y=(0,i.up)("q-circular-progress"),A=(0,i.up)("q-card-section"),k=(0,i.up)("q-card");return(0,i.wg)(),(0,i.j4)(k,{bordered:"",flat:"",class:"fit"},{default:(0,i.w5)((()=>[(0,i.Wm)(_,null,{default:(0,i.w5)((()=>[(0,i.Wm)(v,null,{default:(0,i.w5)((()=>[(0,i.Wm)(f,null,{default:(0,i.w5)((()=>[(0,i._)("strong",null,(0,a.zw)(t.$t("firefly.bills")),1)])),_:1})])),_:1})])),_:1}),(0,i.Wm)(w),(0,i.Wm)(A,{horizontal:""},{default:(0,i.w5)((()=>[(0,i.Wm)(A,null,{default:(0,i.w5)((()=>[(0,i.Wm)(y,{thickness:.22,value:g.percentage,color:"positive",size:"50px","track-color":"negative"},null,8,["thickness","value"])])),_:1}),(0,i.Wm)(w,{vertical:""}),0===h.unpaid.length&&0===h.paid.length?((0,i.wg)(),(0,i.j4)(A,{key:0},{default:(0,i.w5)((()=>[(0,i.Uk)((0,a.zw)(t.$t("firefly.no_bill")),1)])),_:1})):(0,i.kq)("",!0),h.unpaid.length>0||h.paid.length>0?((0,i.wg)(),(0,i.j4)(A,{key:1},{default:(0,i.w5)((()=>[(0,i._)("span",{title:g.formatAmount(this.currency,this.unpaidAmount)},(0,a.zw)(t.$t("firefly.bills_to_pay")),9,s),r,((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(h.unpaid,((t,e)=>((0,i.wg)(),(0,i.iD)("span",null,[(0,i._)("span",{title:g.formatAmount(t.native_code,t.native_sum)},[(0,i.Uk)((0,a.zw)(g.formatAmount(t.code,t.sum)),1),e+1!==h.unpaid.length?((0,i.wg)(),(0,i.iD)("span",u," + ")):(0,i.kq)("",!0)],8,o)])))),256)),d,h.paid.length>0?((0,i.wg)(),(0,i.iD)("span",{key:0,title:g.formatAmount(this.currency,this.paidAmount)},(0,a.zw)(t.$t("firefly.bills_paid"))+":",9,l)):(0,i.kq)("",!0),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(h.paid,((t,e)=>((0,i.wg)(),(0,i.iD)("span",null,[(0,i._)("span",{title:g.formatAmount(t.native_code,t.native_sum)},(0,a.zw)(g.formatAmount(t.code,t.sum)),9,p),e+1!==h.paid.length?((0,i.wg)(),(0,i.iD)("span",m," + ")):(0,i.kq)("",!0)])))),256))])),_:1})):(0,i.kq)("",!0)])),_:1})])),_:1})}var h=n(3555),g=n(1569),f=n(8898);class v{unpaid(t,e){let n="api/v2/bills/sum/unpaid",i=(0,f.Z)(t,"y-MM-dd"),a=(0,f.Z)(e,"y-MM-dd");return g.api.get(n,{params:{start:i,end:a}})}paid(t,e){let n="api/v2/bills/sum/paid",i=(0,f.Z)(t,"y-MM-dd"),a=(0,f.Z)(e,"y-MM-dd");return g.api.get(n,{params:{start:i,end:a}})}}const _={data(){return{store:null,unpaid:[],paid:[],currency:"EUR",unpaidAmount:0,paidAmount:0}},name:"BillInsightBox",computed:{percentage:function(){if(0===this.unpaidAmount)return 100;if(0===this.paidAmount)return 0;const t=this.paidAmount+this.unpaidAmount,e=this.paidAmount/t*100;return e>100?100:e}},mounted(){this.store=(0,h.S)(),this.store.$onAction((({name:t,$store:e,args:n,after:i,onError:a})=>{i((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),n=new v;this.currency=this.store.getCurrencyCode,n.unpaid(t,e).then((t=>this.parseUnpaidResponse(t.data))),n.paid(t,e).then((t=>this.parsePaidResponse(t.data)))}},formatAmount:function(t,e){return Intl.NumberFormat(this.store.getLocale,{style:"currency",currency:t}).format(e)},parseUnpaidResponse:function(t){for(let e in t)if(t.hasOwnProperty(e)){const n=t[e],i=n.converted&&n.native_id!==n.id&&0!==parseFloat(n.native_sum);this.unpaid.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:i}),n.converted&&(i||n.native_id===n.id)&&(this.unpaidAmount=this.unpaidAmount+parseFloat(n.native_sum)),n.converted||(this.unpaidAmount=this.unpaidAmount+parseFloat(n.sum))}},parsePaidResponse:function(t){for(let e in t)if(t.hasOwnProperty(e)){const n=t[e],i=n.converted&&n.native_id!==n.id&&0!==parseFloat(n.native_sum);this.paid.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:i}),n.converted&&(i||n.native_id===n.id)&&(this.paidAmount=this.paidAmount+-1*parseFloat(n.native_sum)),n.converted||(this.paidAmount=this.paidAmount+-1*parseFloat(n.sum))}}}};var w=n(1639),y=n(4458),A=n(490),k=n(1233),b=n(3115),q=n(926),Z=n(3190),R=n(3302),D=n(9984),U=n.n(D);const z=(0,w.Z)(_,[["render",c]]),M=z;U()(_,"components",{QCard:y.Z,QItem:A.Z,QItemSection:k.Z,QItemLabel:b.Z,QSeparator:q.Z,QCardSection:Z.Z,QCircularProgress:R.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[7916],{7916:(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,class:"bg-orange text-white","inline-actions":"",rounded:""},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",label:"Dismiss",onClick:v.dismissBanner},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,{modelValue:_.name,"onUpdate:modelValue":s[0]||(s[0]=e=>_.name=e),disable:v.disabledInput,error:_.hasSubmissionErrors.name,"error-message":_.submissionErrors.name,label:e.$t("form.name"),"bottom-slots":"",clearable:"",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","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,{modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),disable:v.disabledInput,label:"Return here","left-label":""},null,8,["modelValue","disable"])])])])),_: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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[8006],{8006:(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,{modelValue:i.type,"onUpdate:modelValue":e[0]||(e[0]=t=>i.type=t),options:i.types,"bottom-slots":"",class:"q-pr-xs","emit-value":"",label:"Report type","map-options":"",outlined:""},null,8,["modelValue","options"]),(0,l.Wm)(r,{modelValue:i.selectedAccounts,"onUpdate:modelValue":e[1]||(e[1]=t=>i.selectedAccounts=t),disable:i.loading,options:i.accounts,"bottom-slots":"",class:"q-pr-xs","emit-value":"",label:"Included accounts","map-options":"",multiple:"",outlined:"","use-chips":""},null,8,["modelValue","disable","options"]),(0,l.Wm)(p,{modelValue:i.start_date,"onUpdate:modelValue":e[2]||(e[2]=t=>i.start_date=t),label:t.$t("form.start_date"),"bottom-slots":"",hint:"Start date",outlined:"",type:"date"},null,8,["modelValue","label"]),(0,l.Wm)(p,{modelValue:i.end_date,"onUpdate:modelValue":e[3]||(e[3]=t=>i.end_date=t),label:t.$t("form.start_date"),"bottom-slots":"",hint:"Start date",outlined:"",type:"date"},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,color:"primary",label:"View report",onClick:u.submit},null,8,["disable","onClick"])])),_:1})])),_:1})])])])),_:1})}var i=a(3836),u=a(8898),c=a(7164),r=a(5057);const p={name:"Index",created(){this.getAccounts(),this.start_date=(0,u.Z)((0,c.Z)(new Date),"yyyy-MM-dd"),this.end_date=(0,u.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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[8135],{8135:(e,t,n)=>{n.r(t),n.d(t,{default:()=>W});var s=n(9835),u=n(6970);const r=["title"],i=(0,s.Uk)(": "),o=["title"],a={key:0},d=(0,s._)("br",null,null,-1),l=["title"],m=["title"],p={key:0};function c(e,t,n,c,g,h){const f=(0,s.up)("q-item-label"),v=(0,s.up)("q-item-section"),_=(0,s.up)("q-item"),b=(0,s.up)("q-separator"),w=(0,s.up)("q-circular-progress"),y=(0,s.up)("q-card-section"),A=(0,s.up)("q-card");return(0,s.wg)(),(0,s.j4)(A,{bordered:"",flat:""},{default:(0,s.w5)((()=>[(0,s.Wm)(_,null,{default:(0,s.w5)((()=>[(0,s.Wm)(v,null,{default:(0,s.w5)((()=>[(0,s.Wm)(f,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)(y,{horizontal:""},{default:(0,s.w5)((()=>[(0,s.Wm)(y,null,{default:(0,s.w5)((()=>[(0,s.Wm)(w,{thickness:.22,value:h.percentage,color:"negative",size:"50px","track-color":"positive"},null,8,["thickness","value"])])),_:1}),(0,s.Wm)(b,{vertical:""}),0===g.budgeted.length&&0===g.spent.length?((0,s.wg)(),(0,s.j4)(y,{key:0},{default:(0,s.w5)((()=>[(0,s.Uk)((0,u.zw)(e.$t("firefly.no_budget")),1)])),_:1})):(0,s.kq)("",!0),g.budgeted.length>0||g.spent.length>0?((0,s.wg)(),(0,s.j4)(y,{key:1},{default:(0,s.w5)((()=>[(0,s._)("span",{title:h.formatAmount(this.currency,this.budgetedAmount)},(0,u.zw)(e.$t("firefly.budgeted")),9,r),i,((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(g.budgeted,((e,t)=>((0,s.wg)(),(0,s.iD)("span",null,[(0,s._)("span",{title:h.formatAmount(e.native_code,e.native_sum)},(0,u.zw)(h.formatAmount(e.code,e.sum)),9,o),t+1!==g.budgeted.length?((0,s.wg)(),(0,s.iD)("span",a," + ")):(0,s.kq)("",!0)])))),256)),d,g.spent.length>0?((0,s.wg)(),(0,s.iD)("span",{key:0,title:h.formatAmount(this.currency,this.spentAmount)},(0,u.zw)(e.$t("firefly.spent"))+": ",9,l)):(0,s.kq)("",!0),((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(g.spent,((e,t)=>((0,s.wg)(),(0,s.iD)("span",null,[(0,s._)("span",{title:h.formatAmount(e.native_code,e.native_sum)},(0,u.zw)(h.formatAmount(e.code,e.sum)),9,m),t+1!==g.spent.length?((0,s.wg)(),(0,s.iD)("span",p," + ")):(0,s.kq)("",!0)])))),256))])),_:1})):(0,s.kq)("",!0)])),_:1})])),_:1})}var g=n(3555),h=n(1569),f=n(8898);class v{budgeted(e,t){let n="api/v2/budgets/sum/budgeted",s=(0,f.Z)(e,"y-MM-dd"),u=(0,f.Z)(t,"y-MM-dd");return h.api.get(n,{params:{start:s,end:u}})}spent(e,t){let n="api/v2/budgets/sum/spent",s=(0,f.Z)(e,"y-MM-dd"),u=(0,f.Z)(t,"y-MM-dd");return h.api.get(n,{params:{start:s,end:u}})}}const _={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,g.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 v;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),w=n(4458),y=n(490),A=n(1233),k=n(3115),q=n(926),Z=n(3190),R=n(3302),D=n(9984),z=n.n(D);const M=(0,b.Z)(_,[["render",c]]),W=M;z()(_,"components",{QCard:w.Z,QItem:y.Z,QItemSection:A.Z,QItemLabel:k.Z,QSeparator:q.Z,QCardSection:Z.Z,QCircularProgress:R.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[8493],{8493:(t,a,e)=>{e.r(a),e.d(a,{default:()=>x});var n=e(9835);const o={class:"row q-mx-md"},s={class:"col-12"},l=(0,n._)("div",{class:"text-h6"},"Export page",-1),r=(0,n._)("p",null," Just to see if this works. Button defaults to this year. ",-1),c=(0,n.Uk)("Download transactions");function d(t,a,e,d,i,u){const p=(0,n.up)("q-card-section"),w=(0,n.up)("q-btn"),f=(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",o,[(0,n._)("div",s,[(0,n.Wm)(f,{bordered:""},{default:(0,n.w5)((()=>[(0,n.Wm)(p,null,{default:(0,n.w5)((()=>[l])),_:1}),(0,n.Wm)(p,null,{default:(0,n.w5)((()=>[r])),_:1}),(0,n.Wm)(p,null,{default:(0,n.w5)((()=>[(0,n._)("p",null,[(0,n.Wm)(w,{onClick:u.downloadTransactions},{default:(0,n.w5)((()=>[c])),_:1},8,["onClick"])])])),_:1})])),_:1})])])])),_:1})}var i=e(1569);class u{transactions(t,a){let e="/api/v1/data/export/transactions";return i.api.get(e,{params:{start:t,end:a}})}}var p=e(444),w=e(9771),f=e(8898);const m={name:"Index",methods:{downloadTransactions:function(){let t=new u,a=(0,f.Z)((0,p.Z)(new Date),"yyyy-MM-dd"),e=(0,f.Z)((0,w.Z)(new Date),"yyyy-MM-dd");t.transactions(a,e).then((t=>{let a="export-transactions.csv";const e=new Blob([t.data],{type:"application/octet-stream"}),n=document.createElement("a");n.href=URL.createObjectURL(e),n.download=a,n.click(),URL.revokeObjectURL(n.href)}))}}};var _=e(1639),h=e(9885),y=e(4458),k=e(3190),v=e(8879),b=e(9984),Z=e.n(b);const g=(0,_.Z)(m,[["render",d]]),x=g;Z()(m,"components",{QPage:h.Z,QCard:y.Z,QCardSection:k.Z,QBtn:v.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[8561],{8561:(e,s,t)=>{t.r(s),t.d(s,{default:()=>H});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"},d=(0,r._)("div",{class:"text-h6"},"Edit category",-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 C=(0,r.up)("q-btn"),y=(0,r.up)("q-banner"),q=(0,r.up)("q-card-section"),E=(0,r.up)("q-input"),k=(0,r.up)("q-card"),x=(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",i,[(0,r._)("div",o,[""!==_.errorMessage?((0,r.wg)(),(0,r.j4)(y,{key:0,class:"bg-orange text-white","inline-actions":"",rounded:""},{action:(0,r.w5)((()=>[(0,r.Wm)(C,{flat:"",label:"Dismiss",onClick:v.dismissBanner},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,a.zw)(_.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",n,[(0,r._)("div",l,[(0,r.Wm)(k,{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,{modelValue:_.name,"onUpdate:modelValue":s[0]||(s[0]=e=>_.name=e),disable:v.disabledInput,error:_.hasSubmissionErrors.name,"error-message":_.submissionErrors.name,label:e.$t("form.name"),"bottom-slots":"",clearable:"",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",m,[(0,r._)("div",h,[(0,r.Wm)(k,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(q,null,{default:(0,r.w5)((()=>[(0,r._)("div",b,[(0,r._)("div",p,[(0,r.Wm)(C,{disable:v.disabledInput,color:"primary",label:"Update",onClick:v.submitCategory},null,8,["disable","onClick"])])]),(0,r._)("div",g,[(0,r._)("div",f,[(0,r.Wm)(x,{modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),disable:v.disabledInput,label:"Return here","left-label":""},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var _=t(4255),v=t(1569);class C{post(e,s){let t="/api/v1/categories/"+e;return v.api.put(t,s)}}var y=t(3555);const q={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.collectCategory(),this.store=(0,y.S)()},methods:{collectCategory:function(){let e=new _.Z;e.get(this.id).then((e=>this.parseCategory(e)))},parseCategory:function(e){this.name=e.data.data.attributes.name},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 C;s.post(this.id,e).catch(this.processErrors).then(this.processSuccess)},buildCategory:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.store.refreshCacheKey(),!e)return;this.submitting=!1;let s={level:"success",text:"Category is updated",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 E=t(1639),k=t(9885),x=t(7128),S=t(8879),W=t(4458),Z=t(3190),I=t(6611),Q=t(1221),R=t(9984),M=t.n(R);const V=(0,E.Z)(q,[["render",w]]),H=V;M()(q,"components",{QPage:k.Z,QBanner:x.Z,QBtn:S.Z,QCard:W.Z,QCardSection:Z.Z,QInput:I.Z,QCheckbox:Q.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[8659],{8659:(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(1049);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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[9052],{9052:(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,class:"bg-orange text-white","inline-actions":"",rounded:""},{action:(0,t.w5)((()=>[(0,t.Wm)(y,{flat:"",label:"Dismiss",onClick:q.dismissBanner},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,{modelValue:v.name,"onUpdate:modelValue":s[0]||(s[0]=e=>v.name=e),disable:q.disabledInput,error:v.hasSubmissionErrors.name,"error-message":v.submissionErrors.name,label:e.$t("form.name"),"bottom-slots":"",clearable:"",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","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,{modelValue:v.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>v.doReturnHere=e),disable:q.disabledInput,label:"Return here to create another one","left-label":""},null,8,["modelValue","disable"]),w,(0,t.Wm)(R,{modelValue:v.doResetForm,"onUpdate:modelValue":s[2]||(s[2]=e=>v.doResetForm=e),disable:!v.doReturnHere||q.disabledInput,label:"Reset form after submission","left-label":""},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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[9253],{9253:(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,class:"bg-orange text-white","inline-actions":"",rounded:""},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",label:"Dismiss",onClick:E.dismissBanner},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,{modelValue:v.name,"onUpdate:modelValue":e[0]||(e[0]=s=>v.name=s),disable:E.disabledInput,error:v.hasSubmissionErrors.name,"error-message":v.submissionErrors.name,label:s.$t("form.name"),"bottom-slots":"",clearable:"",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","label"])])]),(0,r._)("div",m,[(0,r._)("div",b,[(0,r.Wm)(C,{modelValue:v.iban,"onUpdate:modelValue":e[1]||(e[1]=s=>v.iban=s),disable:E.disabledInput,error:v.hasSubmissionErrors.iban,"error-message":v.submissionErrors.iban,label:s.$t("form.iban"),"bottom-slots":"",clearable:"",mask:"AA## XXXX XXXX XXXX XXXX XXXX XXXX XXXX XX",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","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,{modelValue:v.doReturnHere,"onUpdate:modelValue":e[2]||(e[2]=s=>v.doReturnHere=s),disable:E.disabledInput,label:"Return here","left-label":""},null,8,["modelValue","disable"])])])])),_: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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[936],{936:(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))])}var e=s(1746);const r={name:"TransactionLists",components:{TransactionList:(0,c.RC)((()=>Promise.all([s.e(4736),s.e(2382)]).then(s.bind(s,2382))))},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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[9381],{9381:(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 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[9432],{9432:(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"},l={class:"col-12"},i={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u={class:"text-h6"},d={class:"row"},m={class:"col-12 q-mb-xs"},c={class:"row"},b={class:"col-12 q-mb-xs"},h={class:"row q-mx-md"},p={class:"col-12"},f={class:"row"},w={class:"col-12 text-right"},g={class:"row"},X={class:"col-12 text-right"},_=(0,r._)("br",null,null,-1);function v(e,s,t,v,q,x){const E=(0,r.up)("q-btn"),k=(0,r.up)("q-banner"),y=(0,r.up)("q-card-section"),V=(0,r.up)("q-input"),C=(0,r.up)("q-card"),I=(0,r.up)("q-checkbox"),R=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",a,[(0,r._)("div",l,[""!==q.errorMessage?((0,r.wg)(),(0,r.j4)(k,{key:0,class:"bg-orange text-white","inline-actions":"",rounded:""},{action:(0,r.w5)((()=>[(0,r.Wm)(E,{flat:"",label:"Dismiss",onClick:x.dismissBanner},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,o.zw)(q.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",i,[(0,r._)("div",n,[(0,r.Wm)(C,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(y,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,"Info for "+(0,o.zw)(e.$route.params.type)+" "+(0,o.zw)(e.index),1)])),_:1}),(0,r.Wm)(y,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,[(0,r._)("div",m,[(0,r.Wm)(V,{modelValue:q.name,"onUpdate:modelValue":s[0]||(s[0]=e=>q.name=e),disable:x.disabledInput,error:q.hasSubmissionErrors.name,"error-message":q.submissionErrors.name,label:e.$t("form.name"),"bottom-slots":"",clearable:"",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","label"])])]),(0,r._)("div",c,[(0,r._)("div",b,[(0,r.Wm)(V,{modelValue:q.iban,"onUpdate:modelValue":s[1]||(s[1]=e=>q.iban=e),disable:x.disabledInput,error:q.hasSubmissionErrors.iban,"error-message":q.submissionErrors.iban,label:e.$t("form.iban"),"bottom-slots":"",clearable:"",mask:"AA## XXXX XXXX XXXX XXXX XXXX XXXX XXXX XX",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",h,[(0,r._)("div",p,[(0,r.Wm)(C,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(y,null,{default:(0,r.w5)((()=>[(0,r._)("div",f,[(0,r._)("div",w,[(0,r.Wm)(E,{disable:x.disabledInput,color:"primary",label:"Submit",onClick:x.submitAccount},null,8,["disable","onClick"])])]),(0,r._)("div",g,[(0,r._)("div",X,[(0,r.Wm)(I,{modelValue:q.doReturnHere,"onUpdate:modelValue":s[2]||(s[2]=e=>q.doReturnHere=e),disable:x.disabledInput,label:"Return here to create another one","left-label":""},null,8,["modelValue","disable"]),_,(0,r.Wm)(I,{modelValue:q.doResetForm,"onUpdate:modelValue":s[3]||(s[3]=e=>q.doResetForm=e),disable:!q.doReturnHere||x.disabledInput,label:"Reset form after submission","left-label":""},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var q=t(1138);const x={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",name:"",iban:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.resetForm(),this.type=this.$route.params.type},methods:{resetForm:function(){this.name="",this.iban="",this.resetErrors()},resetErrors:function(){this.submissionErrors={name:"",iban:""},this.hasSubmissionErrors={name:!1,iban:!1}},submitAccount:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildAccount();let s=new q.Z;s.post(e).catch(this.processErrors).then(this.processSuccess)},buildAccount:function(){let e={name:this.name,iban:this.iban,type:this.type};return"asset"===this.type&&(e.account_role="defaultAsset"),e},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am new account lol",show:!0,action:{show:!0,text:"Go to account",link:{name:"accounts.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 E=t(1639),k=t(9885),y=t(7128),V=t(8879),C=t(4458),I=t(3190),R=t(6611),S=t(1221),W=t(9984),Z=t.n(W);const A=(0,E.Z)(x,[["render",v]]),Q=A;Z()(x,"components",{QPage:k.Z,QBanner:y.Z,QBtn:V.Z,QCard:C.Z,QCardSection:I.Z,QInput:R.Z,QCheckbox:S.Z})}}]);
|
@@ -1 +0,0 @@
|
||||
"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[990],{3694:(e,n,t)=>{t.r(n),t.d(n,{default:()=>p});var a=t(9835);const r=(0,a.Uk)(" Here be default report. ");function i(e,n,t,i,l,u){const o=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(o,null,{default:(0,a.w5)((()=>[r])),_:1})}const l={name:"Default"};var u=t(1639),o=t(9885),s=t(9984),c=t.n(s);const f=(0,u.Z)(l,[["render",i]]),p=f;c()(l,"components",{QPage:o.Z})}}]);
|
@@ -1,88 +0,0 @@
|
||||
{
|
||||
"name": "Firefly III",
|
||||
"short_name": "Firefly III",
|
||||
"start_url": "/",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/maskable72.png",
|
||||
"sizes": "72x72",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable76.png",
|
||||
"sizes": "76x76",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable96.png",
|
||||
"sizes": "96x96",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable120.png",
|
||||
"sizes": "120x120",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable128.png",
|
||||
"sizes": "128x128",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable144.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable152.png",
|
||||
"sizes": "152x152",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable180.png",
|
||||
"sizes": "180x180",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"scope": "any"
|
||||
},
|
||||
{
|
||||
"src": "/maskable192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable384.png",
|
||||
"sizes": "384x384",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"scope": "any"
|
||||
},
|
||||
{
|
||||
"src": "/maskable512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
}
|
||||
],
|
||||
"theme_color": "#1e6581",
|
||||
"background_color": "#1e6581",
|
||||
"display": "standalone"
|
||||
}
|
@@ -1,36 +0,0 @@
|
||||
<!--
|
||||
- maskable-icon.svg
|
||||
- Copyright (c) 2022 james@firefly-iii.org
|
||||
-
|
||||
- This file is part of Firefly III (https://github.com/firefly-iii).
|
||||
-
|
||||
- This program is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU Affero General Public License as
|
||||
- published by the Free Software Foundation, either version 3 of the
|
||||
- License, or (at your option) any later version.
|
||||
-
|
||||
- This program is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU Affero General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU Affero General Public License
|
||||
- along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<svg height="377.95276" width="377.95276" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="m0 0h377.95276v377.95276h-377.95276z" fill="#cd5029" stroke-width="1.96129"/>
|
||||
<g transform="matrix(.77452773 0 0 .77452773 21.636074 21.374655)">
|
||||
<path
|
||||
d="m140.49013 78.646381 2.249 53.017999s-40.103 29.566-45.538 68l-16.001 1.231s-11.539 2.564-11.539 14.103v37.18s3.846 11.538 12.82 11.538l16.487-.319s8 30.5 36.5 50.5v25.5s-2 8.5 15.5 11 40.75 2.25 44.5-1.5 3.75-4.5 3.75-9c0 0 21.25 5 60.25 0v5s3.5 7 29 7 33-3 37.5-12v-25s37.009-36.264 35.75-91.75c-1.083-47.75-15.901-64.299-35.806-82.96-22.67-21.254-69.944-31.165-117.944-25.353.001-.001-24.341-43.937999-67.478-36.187999z"
|
||||
fill="#fff"/>
|
||||
<circle cx="135.46912" cy="214.39638" fill="#cd5029" r="9.5"/>
|
||||
<path
|
||||
d="m360.08113 190.51238s-18.218-8.742-40.662 3.996c0 0-26.711-8.987-40.99 2.593-14.828 12.025-16.299 26.115-15.525 42.785 0 0 12.837-43.915 45.252-32.571 0 0-22.947 40.43 12.761 47.508 0 0 8.436-.05 15.401-4.256 6.644-4.011 11.842-11.433 9.711-24.814 0 0-4.348-13.336-15.569-21.42 0 0 11.042-7.806 31.988-2.209z"
|
||||
fill="#cd5029"/>
|
||||
<path d="m320.19013 213.01938s-16.689 31.461 5.607 29.767c0 0 11.838-5.656 4.887-17.127-7.147-11.796-10.494-12.64-10.494-12.64z" fill="#fff"/>
|
||||
</g>
|
||||
<path
|
||||
d="m188.97638 175.70052s4.01698 13.60604-3.69586 21.52748c-7.713 7.92145-6.8792 16.6767-3.75227 20.84588 3.12692 4.16917 2.91831 7.29593.41674 9.58905-2.50141 2.29312-4.58608 3.96073-6.04523.20846-1.45916-3.75228-3.12676-3.75228-3.75228-5.62834-.62552-1.87605-1.87622-5.21142-1.87622-5.21142s-3.96072 6.25384-6.46229 10.00611c-2.50157 3.75228-2.50141 9.58922-.83381 12.71598 1.66761 3.12676 1.04226 6.87903-.20845 12.09046-1.2507 5.21143.4169 13.13288 6.25369 16.2598 5.83678 3.12692 12.92459 5.62833 16.05135 8.5468s10.42301 5.62833 19.80362 3.54382c9.3806-2.0845 21.26294-11.67355 23.34744-18.13585 0 0 5.41988-6.04523 4.37763-13.96668s-4.79469-7.71316-6.4623-13.75839c-1.6676-6.04523 3.60854-4.55469-.8338-14.93382 0 0-1.98012-4.94005-9.50352-8.49899-4.83404-2.28661-1.54469-12.63061-10.09149-23.05347s-16.73295-12.14688-16.73295-12.14688z"
|
||||
fill="#ffa284" stroke-width=".162598"/>
|
||||
</svg>
|
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 2.1 KiB |
@@ -1,59 +0,0 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!--
|
||||
- safari-pinned-tab.svg
|
||||
- Copyright (c) 2022 james@firefly-iii.org
|
||||
-
|
||||
- This file is part of Firefly III (https://github.com/firefly-iii).
|
||||
-
|
||||
- This program is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU Affero General Public License as
|
||||
- published by the Free Software Foundation, either version 3 of the
|
||||
- License, or (at your option) any later version.
|
||||
-
|
||||
- This program is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU Affero General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU Affero General Public License
|
||||
- along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
<metadata>
|
||||
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
||||
</metadata>
|
||||
<g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M1782 3997 c-8 -9 -7 -92 0 -280 l11 -268 -54 -46 c-200 -171 -361
|
||||
-405 -407 -594 l-18 -74 -95 -10 c-101 -12 -121 -19 -159 -60 -25 -26 -25 -27
|
||||
-28 -252 -3 -250 -1 -264 55 -313 33 -29 36 -30 139 -30 l105 0 11 -32 c53
|
||||
-152 188 -347 308 -445 l70 -57 0 -152 0 -152 30 -26 c17 -14 49 -30 72 -36
|
||||
101 -28 350 -39 449 -20 64 12 109 50 109 92 0 15 5 28 11 28 5 0 7 -5 3 -12
|
||||
-4 -6 -3 -8 3 -5 5 4 66 2 134 -2 115 -8 430 2 472 15 13 4 17 -1 17 -24 0
|
||||
-49 47 -75 165 -92 146 -20 363 -5 440 31 73 35 85 64 85 214 l0 128 54 66
|
||||
c153 189 262 423 302 651 19 114 17 451 -3 471 -17 17 -188 17 -235 1 -22 -8
|
||||
-38 -20 -38 -29 0 -8 18 -36 41 -61 64 -73 99 -150 99 -219 0 -139 -102 -239
|
||||
-250 -246 -65 -3 -156 44 -195 101 -26 37 -30 55 -33 121 -3 66 1 91 28 171
|
||||
30 90 30 95 13 108 -30 23 -152 11 -206 -21 -61 -36 -143 -128 -180 -204 -36
|
||||
-73 -57 -71 -57 6 0 108 53 225 137 301 89 82 188 103 356 75 l105 -17 64 25
|
||||
c82 33 166 46 251 40 64 -6 67 -5 67 16 0 33 -56 162 -99 228 -91 140 -256
|
||||
296 -389 366 -225 118 -538 177 -872 163 -85 -3 -164 -9 -175 -11 -15 -5 -26
|
||||
4 -48 38 -98 157 -294 302 -455 336 -73 15 -197 14 -210 -2z m869 -1298 c104
|
||||
-66 196 -190 219 -296 26 -116 29 -121 75 -149 99 -57 149 -154 125 -238 -15
|
||||
-53 -7 -83 40 -151 60 -87 56 -173 -12 -293 -54 -94 -127 -160 -236 -214 -76
|
||||
-38 -89 -42 -165 -42 -91 -1 -125 9 -202 62 -27 19 -91 53 -142 77 -140 65
|
||||
-169 123 -144 289 11 70 11 87 -3 125 -30 83 -22 123 52 239 l47 74 20 -43
|
||||
c31 -67 74 -129 90 -129 7 0 26 10 40 23 35 30 35 77 1 137 -19 33 -26 59 -26
|
||||
98 0 65 15 101 72 175 57 71 72 124 66 222 -5 73 -4 75 16 69 12 -3 42 -19 67
|
||||
-35z m-869 -48 c27 -24 33 -36 33 -71 0 -35 -6 -47 -33 -71 -42 -37 -89 -39
|
||||
-130 -4 -35 29 -47 70 -33 107 27 72 105 91 163 39z m1279 -318 c-12 -20 -14
|
||||
-14 -5 12 4 9 9 14 11 11 3 -2 0 -13 -6 -23z"/>
|
||||
<path d="M3629 2536 c-25 -57 -41 -143 -33 -179 23 -106 184 -80 184 30 0 55
|
||||
-86 193 -121 193 -6 0 -19 -20 -30 -44z"/>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 3.2 KiB |