diff --git a/changelog.md b/changelog.md index 81bc0b712e..3d28178a8c 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## v6.0.3 - 2023-03-13 + +### Fixed +- [Issue 7201](https://github.com/firefly-iii/firefly-iii/issues/7201) Security-related console automatically command runs before a database is set, and may error out. ## v6.0.2 - 2023-03-11 diff --git a/config/firefly.php b/config/firefly.php index beffe9f67f..b8916327fb 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -107,7 +107,7 @@ return [ 'webhooks' => true, 'handle_debts' => true, ], - 'version' => '6.0.2', + 'version' => '6.0.3', 'api_version' => '2.0.1', 'db_version' => 19, diff --git a/frontend/src/layouts/MainLayout.vue b/frontend/src/layouts/MainLayout.vue index 1ffcf5fc56..22aa66f5f4 100644 --- a/frontend/src/layouts/MainLayout.vue +++ b/frontend/src/layouts/MainLayout.vue @@ -338,7 +338,7 @@ page container: q-ma-xs (margin all, xs) AND q-mb-md to give the page content so
- Firefly III v v6.0.2 © James Cole, AGPL-3.0-or-later. + Firefly III v v6.0.3 © James Cole, AGPL-3.0-or-later.
diff --git a/phpunit.xml b/phpunit.xml index 599ec31fbc..6c1d9a1fdb 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -18,17 +18,10 @@ ~ You should have received a copy of the GNU Affero General Public License ~ along with this program. If not, see . --> - + ./app diff --git a/public/v3/index.html b/public/v3/index.html index 4cc76f90d2..6adcadb622 100644 --- a/public/v3/index.html +++ b/public/v3/index.html @@ -1 +1 @@ -Firefly III
\ No newline at end of file +Firefly III
\ No newline at end of file diff --git a/public/v3/js/719.bd9acfe0.js b/public/v3/js/719.bd9acfe0.js new file mode 100644 index 0000000000..1e35727d04 --- /dev/null +++ b/public/v3/js/719.bd9acfe0.js @@ -0,0 +1 @@ +"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[719],{719:(e,a,t)=>{t.r(a),t.d(a,{default:()=>He});var l=t(9835),n=t(6970);const s=(0,l._)("img",{alt:"Firefly III Logo",src:"maskable-icon.svg",title:"Firefly III"},null,-1),o=(0,l.Uk)(" Firefly III "),i=(0,l._)("img",{src:"https://cdn.quasar.dev/img/layout-gallery/img-github-search-key-slash.svg"},null,-1),r=(0,l.Uk)((0,n.zw)("Jump to")+" "),u={class:"row items-center no-wrap"},c={class:"row items-center no-wrap"},d=(0,l.Uk)("Webhooks"),m=(0,l.Uk)("Currencies"),w=(0,l.Uk)("System settings"),f={class:"row items-center no-wrap"},p=(0,l.Uk)(" Profile"),g=(0,l.Uk)(" Data management"),_=(0,l.Uk)("Administration management"),k=(0,l.Uk)("Preferences"),h=(0,l.Uk)("Export data"),W=(0,l.Uk)("Logout"),b={class:"q-pt-md"},x=(0,l.Uk)(" Dashboard "),y=(0,l.Uk)(" Budgets "),v=(0,l.Uk)(" Subscriptions "),q=(0,l.Uk)(" Piggy banks "),Z=(0,l.Uk)(" Withdrawals "),U=(0,l.Uk)(" Deposits "),Q=(0,l.Uk)(" Transfers "),D=(0,l.Uk)(" All transactions "),R=(0,l.Uk)(" Rules "),j=(0,l.Uk)(" Recurring transactions "),A=(0,l.Uk)(" Asset accounts "),C=(0,l.Uk)(" Expense accounts "),M=(0,l.Uk)(" Revenue accounts "),I=(0,l.Uk)(" Liabilities "),L=(0,l.Uk)(" Categories "),$=(0,l.Uk)(" Tags "),T=(0,l.Uk)(" Groups "),z=(0,l.Uk)(" Reports "),V={class:"q-ma-md"},S={class:"row"},B={class:"col-6"},H={class:"q-ma-none q-pa-none"},F=(0,l._)("em",{class:"fa-solid fa-fire"},null,-1),P={class:"col-6"},Y=(0,l._)("div",null,[(0,l._)("small",null,"Firefly III v v6.0.3 © James Cole, AGPL-3.0-or-later.")],-1);function E(e,a,t,E,O,G){const J=(0,l.up)("q-btn"),K=(0,l.up)("q-avatar"),N=(0,l.up)("q-toolbar-title"),X=(0,l.up)("q-icon"),ee=(0,l.up)("q-item-section"),ae=(0,l.up)("q-item-label"),te=(0,l.up)("q-item"),le=(0,l.up)("q-select"),ne=(0,l.up)("q-separator"),se=(0,l.up)("DateRange"),oe=(0,l.up)("q-menu"),ie=(0,l.up)("q-list"),re=(0,l.up)("q-toolbar"),ue=(0,l.up)("q-header"),ce=(0,l.up)("q-expansion-item"),de=(0,l.up)("q-scroll-area"),me=(0,l.up)("q-drawer"),we=(0,l.up)("Alert"),fe=(0,l.up)("q-breadcrumbs-el"),pe=(0,l.up)("q-breadcrumbs"),ge=(0,l.up)("router-view"),_e=(0,l.up)("q-page-container"),ke=(0,l.up)("q-footer"),he=(0,l.up)("q-layout"),We=(0,l.Q2)("ripple");return(0,l.wg)(),(0,l.j4)(he,{view:"hHh lpR fFf"},{default:(0,l.w5)((()=>[(0,l.Wm)(ue,{reveal:"",class:"bg-primary text-white"},{default:(0,l.w5)((()=>[(0,l.Wm)(re,null,{default:(0,l.w5)((()=>[(0,l.Wm)(J,{flat:"",icon:"fas fa-bars",round:"",onClick:e.toggleLeftDrawer},null,8,["onClick"]),(0,l.Wm)(N,null,{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[s])),_:1}),o])),_:1}),(0,l.Wm)(le,{ref:"search",modelValue:e.search,"onUpdate:modelValue":a[0]||(a[0]=a=>e.search=a),"stack-label":!1,class:"q-mx-xs",color:"black",dark:"",dense:"","hide-selected":"",label:"Search",standout:"",style:{width:"250px"},"use-input":""},{append:(0,l.w5)((()=>[i])),option:(0,l.w5)((e=>[(0,l.Wm)(te,(0,l.dG)({class:""},e.itemProps),{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{side:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"collections_bookmark"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[(0,l.Wm)(ae,{innerHTML:e.opt.label},null,8,["innerHTML"])])),_:2},1024),(0,l.Wm)(ee,{class:"default-type",side:""},{default:(0,l.w5)((()=>[(0,l.Wm)(J,{class:"bg-grey-1 q-px-sm",dense:"","no-caps":"",outline:"",size:"12px","text-color":"blue-grey-5"},{default:(0,l.w5)((()=>[r,(0,l.Wm)(X,{name:"subdirectory_arrow_left",size:"14px"})])),_:1})])),_:1})])),_:2},1040)])),_:1},8,["modelValue"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),(0,l.Wm)(J,{to:{name:"development.index"},class:"q-mx-xs",flat:"",icon:"fas fa-skull-crossbones"},null,8,["to"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),(0,l.Wm)(J,{class:"q-mx-xs",flat:"",icon:"fas fa-question-circle",onClick:e.showHelpBox},null,8,["onClick"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),e.$q.screen.gt.xs&&e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(J,{key:0,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",u,[(0,l.Wm)(X,{name:"fas fa-calendar",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,null,{default:(0,l.w5)((()=>[(0,l.Wm)(se)])),_:1})])),_:1})):(0,l.kq)("",!0),e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(ne,{key:1,dark:"",inset:"",vertical:""})):(0,l.kq)("",!0),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(J,{key:2,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",c,[(0,l.Wm)(X,{name:"fas fa-dragon",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ie,{style:{"min-width":"120px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(te,{to:{name:"webhooks.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[d])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"currencies.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[m])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"admin.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[w])),_:1})])),_:1},8,["to"])])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(J,{key:3,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",f,[(0,l.Wm)(X,{name:"fas fa-user-circle",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ie,{style:{"min-width":"180px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(te,{to:{name:"profile.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[p])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"profile.data"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[g])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"administration.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[_])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"preferences.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[k])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"export.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[h])),_:1})])),_:1},8,["to"]),(0,l.Wm)(ne),(0,l.Wm)(te,{to:{name:"logout"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[W])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0)])),_:1})])),_:1}),(0,l.Wm)(me,{"show-if-above":"",modelValue:e.leftDrawerOpen,"onUpdate:modelValue":a[1]||(a[1]=a=>e.leftDrawerOpen=a),side:"left",bordered:""},{default:(0,l.w5)((()=>[(0,l.Wm)(de,{class:"fit"},{default:(0,l.w5)((()=>[(0,l._)("div",b,[(0,l.Wm)(ie,null,{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-tachometer-alt"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[x])),_:1})])),_:1})),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"budgets.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-chart-pie"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[y])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"subscriptions.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"far fa-calendar-alt"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[v])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"piggy-banks.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-piggy-bank"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[q])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.Wm)(ce,{"default-opened":"transactions.index"===this.$route.name||"transactions.show"===this.$route.name,"expand-separator":"",icon:"fas fa-exchange-alt",label:"Transactions"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"withdrawal"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[Z])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"deposit"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[U])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"transfers"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[Q])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"all"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[D])),_:1})])),_:1},8,["to"])),[[We]])])),_:1},8,["default-opened"]),(0,l.Wm)(ce,{"default-unopened":"","expand-separator":"",icon:"fas fa-microchip",label:"Automation"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"rules.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[R])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"recurring.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[j])),_:1})])),_:1},8,["to"])),[[We]])])),_:1}),(0,l.Wm)(ce,{"default-opened":"accounts.index"===this.$route.name||"accounts.show"===this.$route.name,"expand-separator":"",icon:"fas fa-credit-card",label:"Accounts"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"asset"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[A])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"expense"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[C])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"revenue"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[M])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"liabilities"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[I])),_:1})])),_:1},8,["to"])),[[We]])])),_:1},8,["default-opened"]),(0,l.Wm)(ce,{"default-unopened":"","expand-separator":"",icon:"fas fa-tags",label:"Classification"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"categories.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[L])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"tags.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[$])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"groups.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[T])),_:1})])),_:1},8,["to"])),[[We]])])),_:1}),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"reports.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"far fa-chart-bar"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[z])),_:1})])),_:1},8,["to"])),[[We]])])),_:1})])])),_:1})])),_:1},8,["modelValue"]),(0,l.Wm)(_e,null,{default:(0,l.w5)((()=>[(0,l.Wm)(we),(0,l._)("div",V,[(0,l._)("div",S,[(0,l._)("div",B,[(0,l._)("h4",H,[F,(0,l.Uk)(" "+(0,n.zw)(e.$t(e.$route.meta.pageTitle||"firefly.welcome_back")),1)])]),(0,l._)("div",P,[(0,l.Wm)(pe,{align:"right"},{default:(0,l.w5)((()=>[(0,l.Wm)(fe,{to:{name:"index"},label:"Home"}),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(e.$route.meta.breadcrumbs,(a=>((0,l.wg)(),(0,l.j4)(fe,{label:e.$t("breadcrumbs."+a.title),to:a.route?{name:a.route,params:a.params}:""},null,8,["label","to"])))),256))])),_:1})])])]),(0,l.Wm)(ge)])),_:1}),(0,l.Wm)(ke,{class:"bg-grey-8 text-white",bordered:""},{default:(0,l.w5)((()=>[(0,l.Wm)(re,null,{default:(0,l.w5)((()=>[Y])),_:1})])),_:1})])),_:1})}var O=t(499);const G={class:"q-pa-xs"},J={class:"q-mt-xs"},K={class:"q-mr-xs"};function N(e,a,t,s,o,i){const r=(0,l.up)("q-date"),u=(0,l.up)("q-btn"),c=(0,l.up)("q-item-section"),d=(0,l.up)("q-item"),m=(0,l.up)("q-list"),w=(0,l.up)("q-menu"),f=(0,l.Q2)("close-popup");return(0,l.wg)(),(0,l.iD)("div",G,[(0,l._)("div",null,[(0,l.Wm)(r,{modelValue:o.localRange,"onUpdate:modelValue":a[0]||(a[0]=e=>o.localRange=e),mask:"YYYY-MM-DD",minimal:"",range:""},null,8,["modelValue"])]),(0,l._)("div",J,[(0,l._)("span",K,[(0,l.Wm)(u,{color:"primary",label:"Reset",size:"sm",onClick:i.resetRange},null,8,["onClick"])]),(0,l.Wm)(u,{color:"primary","icon-right":"fas fa-caret-down",label:"Change range",size:"sm",title:"More options in preferences"},{default:(0,l.w5)((()=>[(0,l.Wm)(w,null,{default:(0,l.w5)((()=>[(0,l.Wm)(m,{style:{"min-width":"100px"}},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(o.rangeChoices,(a=>(0,l.wy)(((0,l.wg)(),(0,l.j4)(d,{clickable:"",onClick:e=>i.setViewRange(a)},{default:(0,l.w5)((()=>[(0,l.Wm)(c,null,{default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(e.$t("firefly.pref_"+a.value)),1)])),_:2},1024)])),_:2},1032,["onClick"])),[[f]]))),256))])),_:1})])),_:1})])),_:1})])])}var X=t(9302),ee=t(9167),ae=t(8898),te=t(3555);const le={name:"DateRange",computed:{},data(){return{rangeChoices:[{value:"last30"},{value:"last7"},{value:"MTD"},{value:"1M"},{value:"3M"},{value:"6M"}],darkMode:!1,range:{start:new Date,end:new Date},localRange:{start:new Date,end:new Date},modelConfig:{start:{timeAdjust:"00:00:00"},end:{timeAdjust:"23:59:59"}},store:null}},created(){this.store=(0,te.S)();const e=(0,X.Z)();this.darkMode=e.dark.isActive,this.localRange={from:(0,ae.Z)(this.store.getRange.start,"yyyy-MM-dd"),to:(0,ae.Z)(this.store.getRange.end,"yyyy-MM-dd")}},watch:{localRange:function(e){if(null!==e){const a={start:Date.parse(e.from),end:Date.parse(e.to)};this.store.setRange(a)}}},mounted(){},methods:{resetRange:function(){this.store.resetRange().then((()=>{this.localRange={from:(0,ae.Z)(this.store.getRange.start,"yyyy-MM-dd"),to:(0,ae.Z)(this.store.getRange.end,"yyyy-MM-dd")}}))},setViewRange:function(e){let a=e.value,t=new ee.Z;t.postByName("viewRange",a),this.store.updateViewRange(a),this.store.setDatesFromViewRange()},updateViewRange:function(){}},components:{}};var ne=t(1639),se=t(4939),oe=t(8879),ie=t(5290),re=t(3246),ue=t(490),ce=t(1233),de=t(2146),me=t(9984),we=t.n(me);const fe=(0,ne.Z)(le,[["render",N]]),pe=fe;we()(le,"components",{QDate:se.Z,QBtn:oe.Z,QMenu:ie.Z,QList:re.Z,QItem:ue.Z,QItemSection:ce.Z}),we()(le,"directives",{ClosePopup:de.Z});const ge={key:0,class:"q-ma-md"},_e={class:"row"},ke={class:"col-12"};function he(e,a,t,s,o,i){const r=(0,l.up)("q-btn"),u=(0,l.up)("q-banner");return o.showAlert?((0,l.wg)(),(0,l.iD)("div",ge,[(0,l._)("div",_e,[(0,l._)("div",ke,[(0,l.Wm)(u,{class:(0,n.C_)(o.alertClass),"inline-actions":""},{action:(0,l.w5)((()=>[(0,l.Wm)(r,{color:"white",flat:"",label:"Dismiss",onClick:i.dismissBanner},null,8,["onClick"]),o.showAction?((0,l.wg)(),(0,l.j4)(r,{key:0,label:o.actionText,to:o.actionLink,color:"white",flat:""},null,8,["label","to"])):(0,l.kq)("",!0)])),default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(o.message)+" ",1)])),_:1},8,["class"])])])])):(0,l.kq)("",!0)}const We={name:"Alert",data(){return{showAlert:!1,alertClass:"bg-green text-white",message:"",showAction:!1,actionText:"",actionLink:{}}},watch:{$route:function(){this.checkAlert()}},mounted(){this.checkAlert(),window.addEventListener("flash",(e=>{this.renderAlert(e.detail.flash)}))},methods:{checkAlert:function(){let e=this.$q.localStorage.getItem("flash");e&&this.renderAlert(e),!1===e&&(this.showAlert=!1)},renderAlert:function(e){this.showAlert=e.show??!1;let a=e.level??"unknown";this.alertClass="bg-green text-white","warning"===a&&(this.alertClass="bg-orange text-white"),this.message=e.text??"";let t=e.action??{};!0===t.show&&(this.showAction=!0,this.actionText=t.text,this.actionLink=t.link),this.$q.localStorage.set("flash",!1)},dismissBanner:function(){this.showAlert=!1}}};var be=t(7128);const xe=(0,ne.Z)(We,[["render",he]]),ye=xe;we()(We,"components",{QBanner:be.Z,QBtn:oe.Z});const ve=(0,l.aZ)({name:"MainLayout",components:{DateRange:pe,Alert:ye},setup(){const e=(0,O.iH)(!0),a=(0,O.iH)(""),t=(0,X.Z)();return{search:a,leftDrawerOpen:e,toggleLeftDrawer(){e.value=!e.value},showHelpBox(){t.dialog({title:"Help",message:"The relevant help page will open in a new screen. Doesn't work yet.",cancel:!0,persistent:!1}).onOk((()=>{})).onCancel((()=>{})).onDismiss((()=>{}))}}}});var qe=t(249),Ze=t(6602),Ue=t(1663),Qe=t(1973),De=t(1357),Re=t(7887),je=t(2857),Ae=t(3115),Ce=t(926),Me=t(906),Ie=t(6663),Le=t(651),$e=t(2133),Te=t(2605),ze=t(8052),Ve=t(1378),Se=t(1136);const Be=(0,ne.Z)(ve,[["render",E]]),He=Be;we()(ve,"components",{QLayout:qe.Z,QHeader:Ze.Z,QToolbar:Ue.Z,QBtn:oe.Z,QToolbarTitle:Qe.Z,QAvatar:De.Z,QSelect:Re.Z,QItem:ue.Z,QItemSection:ce.Z,QIcon:je.Z,QItemLabel:Ae.Z,QSeparator:Ce.Z,QMenu:ie.Z,QList:re.Z,QDrawer:Me.Z,QScrollArea:Ie.Z,QExpansionItem:Le.Z,QPageContainer:$e.Z,QBreadcrumbs:Te.Z,QBreadcrumbsEl:ze.Z,QFooter:Ve.Z}),we()(ve,"directives",{Ripple:Se.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/7785.361faedb.js b/public/v3/js/7785.361faedb.js deleted file mode 100644 index 7663a36f41..0000000000 --- a/public/v3/js/7785.361faedb.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[7785],{7785:(e,a,t)=>{t.r(a),t.d(a,{default:()=>He});var l=t(9835),n=t(6970);const s=(0,l._)("img",{alt:"Firefly III Logo",src:"maskable-icon.svg",title:"Firefly III"},null,-1),o=(0,l.Uk)(" Firefly III "),i=(0,l._)("img",{src:"https://cdn.quasar.dev/img/layout-gallery/img-github-search-key-slash.svg"},null,-1),r=(0,l.Uk)((0,n.zw)("Jump to")+" "),u={class:"row items-center no-wrap"},c={class:"row items-center no-wrap"},d=(0,l.Uk)("Webhooks"),m=(0,l.Uk)("Currencies"),w=(0,l.Uk)("System settings"),f={class:"row items-center no-wrap"},p=(0,l.Uk)(" Profile"),g=(0,l.Uk)(" Data management"),_=(0,l.Uk)("Administration management"),k=(0,l.Uk)("Preferences"),h=(0,l.Uk)("Export data"),W=(0,l.Uk)("Logout"),b={class:"q-pt-md"},x=(0,l.Uk)(" Dashboard "),y=(0,l.Uk)(" Budgets "),v=(0,l.Uk)(" Subscriptions "),q=(0,l.Uk)(" Piggy banks "),Z=(0,l.Uk)(" Withdrawals "),U=(0,l.Uk)(" Deposits "),Q=(0,l.Uk)(" Transfers "),D=(0,l.Uk)(" All transactions "),R=(0,l.Uk)(" Rules "),j=(0,l.Uk)(" Recurring transactions "),A=(0,l.Uk)(" Asset accounts "),C=(0,l.Uk)(" Expense accounts "),M=(0,l.Uk)(" Revenue accounts "),I=(0,l.Uk)(" Liabilities "),L=(0,l.Uk)(" Categories "),$=(0,l.Uk)(" Tags "),T=(0,l.Uk)(" Groups "),z=(0,l.Uk)(" Reports "),V={class:"q-ma-md"},S={class:"row"},B={class:"col-6"},H={class:"q-ma-none q-pa-none"},F=(0,l._)("em",{class:"fa-solid fa-fire"},null,-1),P={class:"col-6"},Y=(0,l._)("div",null,[(0,l._)("small",null,"Firefly III v v6.0.2 © James Cole, AGPL-3.0-or-later.")],-1);function E(e,a,t,E,O,G){const J=(0,l.up)("q-btn"),K=(0,l.up)("q-avatar"),N=(0,l.up)("q-toolbar-title"),X=(0,l.up)("q-icon"),ee=(0,l.up)("q-item-section"),ae=(0,l.up)("q-item-label"),te=(0,l.up)("q-item"),le=(0,l.up)("q-select"),ne=(0,l.up)("q-separator"),se=(0,l.up)("DateRange"),oe=(0,l.up)("q-menu"),ie=(0,l.up)("q-list"),re=(0,l.up)("q-toolbar"),ue=(0,l.up)("q-header"),ce=(0,l.up)("q-expansion-item"),de=(0,l.up)("q-scroll-area"),me=(0,l.up)("q-drawer"),we=(0,l.up)("Alert"),fe=(0,l.up)("q-breadcrumbs-el"),pe=(0,l.up)("q-breadcrumbs"),ge=(0,l.up)("router-view"),_e=(0,l.up)("q-page-container"),ke=(0,l.up)("q-footer"),he=(0,l.up)("q-layout"),We=(0,l.Q2)("ripple");return(0,l.wg)(),(0,l.j4)(he,{view:"hHh lpR fFf"},{default:(0,l.w5)((()=>[(0,l.Wm)(ue,{reveal:"",class:"bg-primary text-white"},{default:(0,l.w5)((()=>[(0,l.Wm)(re,null,{default:(0,l.w5)((()=>[(0,l.Wm)(J,{flat:"",icon:"fas fa-bars",round:"",onClick:e.toggleLeftDrawer},null,8,["onClick"]),(0,l.Wm)(N,null,{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[s])),_:1}),o])),_:1}),(0,l.Wm)(le,{ref:"search",modelValue:e.search,"onUpdate:modelValue":a[0]||(a[0]=a=>e.search=a),"stack-label":!1,class:"q-mx-xs",color:"black",dark:"",dense:"","hide-selected":"",label:"Search",standout:"",style:{width:"250px"},"use-input":""},{append:(0,l.w5)((()=>[i])),option:(0,l.w5)((e=>[(0,l.Wm)(te,(0,l.dG)({class:""},e.itemProps),{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{side:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"collections_bookmark"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[(0,l.Wm)(ae,{innerHTML:e.opt.label},null,8,["innerHTML"])])),_:2},1024),(0,l.Wm)(ee,{class:"default-type",side:""},{default:(0,l.w5)((()=>[(0,l.Wm)(J,{class:"bg-grey-1 q-px-sm",dense:"","no-caps":"",outline:"",size:"12px","text-color":"blue-grey-5"},{default:(0,l.w5)((()=>[r,(0,l.Wm)(X,{name:"subdirectory_arrow_left",size:"14px"})])),_:1})])),_:1})])),_:2},1040)])),_:1},8,["modelValue"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),(0,l.Wm)(J,{to:{name:"development.index"},class:"q-mx-xs",flat:"",icon:"fas fa-skull-crossbones"},null,8,["to"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),(0,l.Wm)(J,{class:"q-mx-xs",flat:"",icon:"fas fa-question-circle",onClick:e.showHelpBox},null,8,["onClick"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),e.$q.screen.gt.xs&&e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(J,{key:0,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",u,[(0,l.Wm)(X,{name:"fas fa-calendar",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,null,{default:(0,l.w5)((()=>[(0,l.Wm)(se)])),_:1})])),_:1})):(0,l.kq)("",!0),e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(ne,{key:1,dark:"",inset:"",vertical:""})):(0,l.kq)("",!0),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(J,{key:2,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",c,[(0,l.Wm)(X,{name:"fas fa-dragon",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ie,{style:{"min-width":"120px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(te,{to:{name:"webhooks.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[d])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"currencies.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[m])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"admin.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[w])),_:1})])),_:1},8,["to"])])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(J,{key:3,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",f,[(0,l.Wm)(X,{name:"fas fa-user-circle",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ie,{style:{"min-width":"180px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(te,{to:{name:"profile.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[p])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"profile.data"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[g])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"administration.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[_])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"preferences.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[k])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"export.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[h])),_:1})])),_:1},8,["to"]),(0,l.Wm)(ne),(0,l.Wm)(te,{to:{name:"logout"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[W])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0)])),_:1})])),_:1}),(0,l.Wm)(me,{"show-if-above":"",modelValue:e.leftDrawerOpen,"onUpdate:modelValue":a[1]||(a[1]=a=>e.leftDrawerOpen=a),side:"left",bordered:""},{default:(0,l.w5)((()=>[(0,l.Wm)(de,{class:"fit"},{default:(0,l.w5)((()=>[(0,l._)("div",b,[(0,l.Wm)(ie,null,{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-tachometer-alt"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[x])),_:1})])),_:1})),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"budgets.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-chart-pie"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[y])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"subscriptions.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"far fa-calendar-alt"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[v])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"piggy-banks.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-piggy-bank"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[q])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.Wm)(ce,{"default-opened":"transactions.index"===this.$route.name||"transactions.show"===this.$route.name,"expand-separator":"",icon:"fas fa-exchange-alt",label:"Transactions"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"withdrawal"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[Z])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"deposit"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[U])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"transfers"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[Q])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"all"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[D])),_:1})])),_:1},8,["to"])),[[We]])])),_:1},8,["default-opened"]),(0,l.Wm)(ce,{"default-unopened":"","expand-separator":"",icon:"fas fa-microchip",label:"Automation"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"rules.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[R])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"recurring.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[j])),_:1})])),_:1},8,["to"])),[[We]])])),_:1}),(0,l.Wm)(ce,{"default-opened":"accounts.index"===this.$route.name||"accounts.show"===this.$route.name,"expand-separator":"",icon:"fas fa-credit-card",label:"Accounts"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"asset"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[A])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"expense"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[C])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"revenue"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[M])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"liabilities"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[I])),_:1})])),_:1},8,["to"])),[[We]])])),_:1},8,["default-opened"]),(0,l.Wm)(ce,{"default-unopened":"","expand-separator":"",icon:"fas fa-tags",label:"Classification"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"categories.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[L])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"tags.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[$])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"groups.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[T])),_:1})])),_:1},8,["to"])),[[We]])])),_:1}),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"reports.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"far fa-chart-bar"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[z])),_:1})])),_:1},8,["to"])),[[We]])])),_:1})])])),_:1})])),_:1},8,["modelValue"]),(0,l.Wm)(_e,null,{default:(0,l.w5)((()=>[(0,l.Wm)(we),(0,l._)("div",V,[(0,l._)("div",S,[(0,l._)("div",B,[(0,l._)("h4",H,[F,(0,l.Uk)(" "+(0,n.zw)(e.$t(e.$route.meta.pageTitle||"firefly.welcome_back")),1)])]),(0,l._)("div",P,[(0,l.Wm)(pe,{align:"right"},{default:(0,l.w5)((()=>[(0,l.Wm)(fe,{to:{name:"index"},label:"Home"}),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(e.$route.meta.breadcrumbs,(a=>((0,l.wg)(),(0,l.j4)(fe,{label:e.$t("breadcrumbs."+a.title),to:a.route?{name:a.route,params:a.params}:""},null,8,["label","to"])))),256))])),_:1})])])]),(0,l.Wm)(ge)])),_:1}),(0,l.Wm)(ke,{class:"bg-grey-8 text-white",bordered:""},{default:(0,l.w5)((()=>[(0,l.Wm)(re,null,{default:(0,l.w5)((()=>[Y])),_:1})])),_:1})])),_:1})}var O=t(499);const G={class:"q-pa-xs"},J={class:"q-mt-xs"},K={class:"q-mr-xs"};function N(e,a,t,s,o,i){const r=(0,l.up)("q-date"),u=(0,l.up)("q-btn"),c=(0,l.up)("q-item-section"),d=(0,l.up)("q-item"),m=(0,l.up)("q-list"),w=(0,l.up)("q-menu"),f=(0,l.Q2)("close-popup");return(0,l.wg)(),(0,l.iD)("div",G,[(0,l._)("div",null,[(0,l.Wm)(r,{modelValue:o.localRange,"onUpdate:modelValue":a[0]||(a[0]=e=>o.localRange=e),mask:"YYYY-MM-DD",minimal:"",range:""},null,8,["modelValue"])]),(0,l._)("div",J,[(0,l._)("span",K,[(0,l.Wm)(u,{color:"primary",label:"Reset",size:"sm",onClick:i.resetRange},null,8,["onClick"])]),(0,l.Wm)(u,{color:"primary","icon-right":"fas fa-caret-down",label:"Change range",size:"sm",title:"More options in preferences"},{default:(0,l.w5)((()=>[(0,l.Wm)(w,null,{default:(0,l.w5)((()=>[(0,l.Wm)(m,{style:{"min-width":"100px"}},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(o.rangeChoices,(a=>(0,l.wy)(((0,l.wg)(),(0,l.j4)(d,{clickable:"",onClick:e=>i.setViewRange(a)},{default:(0,l.w5)((()=>[(0,l.Wm)(c,null,{default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(e.$t("firefly.pref_"+a.value)),1)])),_:2},1024)])),_:2},1032,["onClick"])),[[f]]))),256))])),_:1})])),_:1})])),_:1})])])}var X=t(9302),ee=t(9167),ae=t(8898),te=t(3555);const le={name:"DateRange",computed:{},data(){return{rangeChoices:[{value:"last30"},{value:"last7"},{value:"MTD"},{value:"1M"},{value:"3M"},{value:"6M"}],darkMode:!1,range:{start:new Date,end:new Date},localRange:{start:new Date,end:new Date},modelConfig:{start:{timeAdjust:"00:00:00"},end:{timeAdjust:"23:59:59"}},store:null}},created(){this.store=(0,te.S)();const e=(0,X.Z)();this.darkMode=e.dark.isActive,this.localRange={from:(0,ae.Z)(this.store.getRange.start,"yyyy-MM-dd"),to:(0,ae.Z)(this.store.getRange.end,"yyyy-MM-dd")}},watch:{localRange:function(e){if(null!==e){const a={start:Date.parse(e.from),end:Date.parse(e.to)};this.store.setRange(a)}}},mounted(){},methods:{resetRange:function(){this.store.resetRange().then((()=>{this.localRange={from:(0,ae.Z)(this.store.getRange.start,"yyyy-MM-dd"),to:(0,ae.Z)(this.store.getRange.end,"yyyy-MM-dd")}}))},setViewRange:function(e){let a=e.value,t=new ee.Z;t.postByName("viewRange",a),this.store.updateViewRange(a),this.store.setDatesFromViewRange()},updateViewRange:function(){}},components:{}};var ne=t(1639),se=t(4939),oe=t(8879),ie=t(5290),re=t(3246),ue=t(490),ce=t(1233),de=t(2146),me=t(9984),we=t.n(me);const fe=(0,ne.Z)(le,[["render",N]]),pe=fe;we()(le,"components",{QDate:se.Z,QBtn:oe.Z,QMenu:ie.Z,QList:re.Z,QItem:ue.Z,QItemSection:ce.Z}),we()(le,"directives",{ClosePopup:de.Z});const ge={key:0,class:"q-ma-md"},_e={class:"row"},ke={class:"col-12"};function he(e,a,t,s,o,i){const r=(0,l.up)("q-btn"),u=(0,l.up)("q-banner");return o.showAlert?((0,l.wg)(),(0,l.iD)("div",ge,[(0,l._)("div",_e,[(0,l._)("div",ke,[(0,l.Wm)(u,{class:(0,n.C_)(o.alertClass),"inline-actions":""},{action:(0,l.w5)((()=>[(0,l.Wm)(r,{color:"white",flat:"",label:"Dismiss",onClick:i.dismissBanner},null,8,["onClick"]),o.showAction?((0,l.wg)(),(0,l.j4)(r,{key:0,label:o.actionText,to:o.actionLink,color:"white",flat:""},null,8,["label","to"])):(0,l.kq)("",!0)])),default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(o.message)+" ",1)])),_:1},8,["class"])])])])):(0,l.kq)("",!0)}const We={name:"Alert",data(){return{showAlert:!1,alertClass:"bg-green text-white",message:"",showAction:!1,actionText:"",actionLink:{}}},watch:{$route:function(){this.checkAlert()}},mounted(){this.checkAlert(),window.addEventListener("flash",(e=>{this.renderAlert(e.detail.flash)}))},methods:{checkAlert:function(){let e=this.$q.localStorage.getItem("flash");e&&this.renderAlert(e),!1===e&&(this.showAlert=!1)},renderAlert:function(e){this.showAlert=e.show??!1;let a=e.level??"unknown";this.alertClass="bg-green text-white","warning"===a&&(this.alertClass="bg-orange text-white"),this.message=e.text??"";let t=e.action??{};!0===t.show&&(this.showAction=!0,this.actionText=t.text,this.actionLink=t.link),this.$q.localStorage.set("flash",!1)},dismissBanner:function(){this.showAlert=!1}}};var be=t(7128);const xe=(0,ne.Z)(We,[["render",he]]),ye=xe;we()(We,"components",{QBanner:be.Z,QBtn:oe.Z});const ve=(0,l.aZ)({name:"MainLayout",components:{DateRange:pe,Alert:ye},setup(){const e=(0,O.iH)(!0),a=(0,O.iH)(""),t=(0,X.Z)();return{search:a,leftDrawerOpen:e,toggleLeftDrawer(){e.value=!e.value},showHelpBox(){t.dialog({title:"Help",message:"The relevant help page will open in a new screen. Doesn't work yet.",cancel:!0,persistent:!1}).onOk((()=>{})).onCancel((()=>{})).onDismiss((()=>{}))}}}});var qe=t(249),Ze=t(6602),Ue=t(1663),Qe=t(1973),De=t(1357),Re=t(7887),je=t(2857),Ae=t(3115),Ce=t(926),Me=t(906),Ie=t(6663),Le=t(651),$e=t(2133),Te=t(2605),ze=t(8052),Ve=t(1378),Se=t(1136);const Be=(0,ne.Z)(ve,[["render",E]]),He=Be;we()(ve,"components",{QLayout:qe.Z,QHeader:Ze.Z,QToolbar:Ue.Z,QBtn:oe.Z,QToolbarTitle:Qe.Z,QAvatar:De.Z,QSelect:Re.Z,QItem:ue.Z,QItemSection:ce.Z,QIcon:je.Z,QItemLabel:Ae.Z,QSeparator:Ce.Z,QMenu:ie.Z,QList:re.Z,QDrawer:Me.Z,QScrollArea:Ie.Z,QExpansionItem:Le.Z,QPageContainer:$e.Z,QBreadcrumbs:Te.Z,QBreadcrumbsEl:ze.Z,QFooter:Ve.Z}),we()(ve,"directives",{Ripple:Se.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/app.416c86f7.js b/public/v3/js/app.416c86f7.js deleted file mode 100644 index 59ee1c6cc9..0000000000 --- a/public/v3/js/app.416c86f7.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e={9894:(e,t,n)=>{var a=n(1957),r=n(1947),o=n(499),i=n(9835);function c(e,t,n,a,r,o){const c=(0,i.up)("router-view");return(0,i.wg)(),(0,i.j4)(c)}var s=n(9167),l=n(1746),d=n(1569);class p{async authenticate(){return await d.api.get("/sanctum/csrf-cookie")}}class u{default(){let e=new p;return e.authenticate().then((()=>d.api.get("/api/v1/currencies/default")))}}var h=n(3555);const m=(0,i.aZ)({name:"App",preFetch({store:e}){const t=(0,h.S)(e);t.refreshCacheKey();const n=function(){let e=new s.Z;return e.getByName("viewRange").then((e=>{const n=e.data.data.attributes.data;t.updateViewRange(n),t.setDatesFromViewRange()})).catch((e=>{console.error("Could not load view range."),console.log(e)}))},a=function(){let e=new s.Z;return e.getByName("listPageSize").then((e=>{const n=e.data.data.attributes.data;t.updateListPageSize(n)})).catch((e=>{console.error("Could not load listPageSize."),console.log(e)}))},r=function(){let e=new u;return e.default().then((e=>{let n=parseInt(e.data.data.id),a=e.data.data.attributes.code;t.setCurrencyId(n),t.setCurrencyCode(a)})).catch((e=>{console.error("Could not load preferences."),console.log(e)}))},o=function(){return(new l.Z).get("locale").then((e=>{const n=e.data.data.attributes.data.replace("_","-");t.setLocale(n)})).catch((e=>{console.error("Could not load locale."),console.log(e)}))};r().then((()=>{n(),a(),o()}))}});var _=n(1639);const g=(0,_.Z)(m,[["render",c]]),b=g;var f=n(3340),y=n(7363);const w=(0,f.h)((()=>{const e=(0,y.WB)();return e}));var P=n(8910);const v=[{path:"/",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2306)]).then(n.bind(n,2306)),name:"index",meta:{dateSelector:!0,pageTitle:"firefly.welcome_back"}}]},{path:"/development",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(7676)]).then(n.bind(n,7676)),name:"development.index",meta:{pageTitle:"firefly.development"}}]},{path:"/export",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(8493)]).then(n.bind(n,8493)),name:"export.index",meta:{pageTitle:"firefly.export"}}]},{path:"/budgets",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(159)]).then(n.bind(n,159)),name:"budgets.index",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"budgets",route:"budgets.index",params:[]}]}}]},{path:"/budgets/show/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(753)]).then(n.bind(n,753)),name:"budgets.show",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/budgets/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7916)]).then(n.bind(n,7916)),name:"budgets.edit",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/budgets/create",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4670)]).then(n.bind(n,4670)),name:"budgets.create",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/subscriptions",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5529)]).then(n.bind(n,5529)),name:"subscriptions.index",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index",params:[]}]}}]},{path:"/subscriptions/show/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1198)]).then(n.bind(n,1198)),name:"subscriptions.show",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index"}]}}]},{path:"/subscriptions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8490)]).then(n.bind(n,8490)),name:"subscriptions.edit",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index"}]}}]},{path:"/subscriptions/create",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9378)]).then(n.bind(n,9378)),name:"subscriptions.create",meta:{dateSelector:!1,pageTitle:"firefly.subscriptions"}}]},{path:"/piggy-banks",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6254)]).then(n.bind(n,6254)),name:"piggy-banks.index",meta:{pageTitle:"firefly.piggyBanks",breadcrumbs:[{title:"piggy-banks",route:"piggy-banks.index",params:[]}]}}]},{path:"/piggy-banks/create",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7073)]).then(n.bind(n,7073)),name:"piggy-banks.create",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.create",params:[]}]}}]},{path:"/piggy-banks/show/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3576)]).then(n.bind(n,3576)),name:"piggy-banks.show",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.index"}]}}]},{path:"/piggy-banks/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4216)]).then(n.bind(n,4216)),name:"piggy-banks.edit",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.index"}]}}]},{path:"/transactions/show/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8659)]).then(n.bind(n,8659)),name:"transactions.show",meta:{pageTitle:"firefly.transactions",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/transactions/create/:type",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1221)]).then(n.bind(n,8921)),name:"transactions.create",meta:{dateSelector:!1,pageTitle:"firefly.transactions"}}]},{path:"/transactions/:type",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1341)]).then(n.bind(n,1341)),name:"transactions.index",meta:{dateSelector:!1,pageTitle:"firefly.transactions",breadcrumbs:[{title:"transactions"}]}}]},{path:"/transactions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9376)]).then(n.bind(n,9376)),name:"transactions.edit",meta:{pageTitle:"firefly.transactions",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/rules",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9729)]).then(n.bind(n,9729)),name:"rules.index",meta:{pageTitle:"firefly.rules"}}]},{path:"/rules/show/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7222)]).then(n.bind(n,7222)),name:"rules.show",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/rules/create",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3726)]).then(n.bind(n,3726)),name:"rules.create",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/rules/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7450)]).then(n.bind(n,7450)),name:"rules.edit",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"rules.index",params:{type:"todo"}}]}}]},{path:"/rule-groups/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1019)]).then(n.bind(n,1019)),name:"rule-groups.edit",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/rule-groups/create",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1800)]).then(n.bind(n,1800)),name:"rule-groups.create",meta:{pageTitle:"firefly.rule-groups",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/recurring",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4036)]).then(n.bind(n,4036)),name:"recurring.index",meta:{pageTitle:"firefly.recurrences"}}]},{path:"/recurring/create",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4355)]).then(n.bind(n,4355)),name:"recurring.create",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.create",params:[]}]}}]},{path:"/recurring/show/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7697)]).then(n.bind(n,7697)),name:"recurring.show",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.index"}]}}]},{path:"/recurring/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9412)]).then(n.bind(n,9412)),name:"recurring.edit",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.index"}]}}]},{path:"/accounts/show/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4575)]).then(n.bind(n,4575)),name:"accounts.show",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.show",params:[]}]}}]},{path:"/accounts/reconcile/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4918)]).then(n.bind(n,3953)),name:"accounts.reconcile",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.reconcile",params:[]}]}}]},{path:"/accounts/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9253)]).then(n.bind(n,9253)),name:"accounts.edit",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.edit",params:[]}]}}]},{path:"/accounts/:type",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9173)]).then(n.bind(n,9173)),name:"accounts.index",meta:{pageTitle:"firefly.accounts"}}]},{path:"/accounts/create/:type",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9432)]).then(n.bind(n,9432)),name:"accounts.create",meta:{pageTitle:"firefly.accounts"}}]},{path:"/categories",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9053)]).then(n.bind(n,9053)),name:"categories.index",meta:{pageTitle:"firefly.categories"}}]},{path:"/categories/show/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7039)]).then(n.bind(n,7039)),name:"categories.show",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/categories/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8561)]).then(n.bind(n,8561)),name:"categories.edit",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/categories/create",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9052)]).then(n.bind(n,9052)),name:"categories.create",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/tags",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6745)]).then(n.bind(n,6745)),name:"tags.index",meta:{pageTitle:"firefly.tags"}}]},{path:"/tags/show/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3611)]).then(n.bind(n,9286)),name:"tags.show",meta:{pageTitle:"firefly.tags",breadcrumbs:[{title:"placeholder",route:"tags.show",params:[]}]}}]},{path:"/groups",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4647)]).then(n.bind(n,4647)),name:"groups.index",meta:{pageTitle:"firefly.object_groups_page_title"}}]},{path:"/groups/show/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2372)]).then(n.bind(n,2372)),name:"groups.show",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/groups/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7493)]).then(n.bind(n,7493)),name:"groups.edit",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/reports",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8006)]).then(n.bind(n,8006)),name:"reports.index",meta:{pageTitle:"firefly.reports"}}]},{path:"/report/default/:accounts/:start/:end",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(990)]).then(n.bind(n,3694)),name:"reports.default",meta:{pageTitle:"firefly.reports"}}]},{path:"/webhooks",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5114)]).then(n.bind(n,5114)),name:"webhooks.index",meta:{pageTitle:"firefly.webhooks"}}]},{path:"/webhooks/show/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9381)]).then(n.bind(n,9381)),name:"webhooks.show",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/webhooks/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9814)]).then(n.bind(n,9814)),name:"webhooks.edit",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/webhooks/create",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(7232)]).then(n.bind(n,7232)),name:"webhooks.create",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"webhooks.show",params:[]}]}}]},{path:"/currencies",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9158)]).then(n.bind(n,9158)),name:"currencies.index",meta:{pageTitle:"firefly.currencies"}}]},{path:"/currencies/show/:code",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1238)]).then(n.bind(n,1238)),name:"currencies.show",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.show",params:[]}]}}]},{path:"/currencies/edit/:code",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(607)]).then(n.bind(n,607)),name:"currencies.edit",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.show",params:[]}]}}]},{path:"/currencies/create",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3912)]).then(n.bind(n,3912)),name:"currencies.create",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.create",params:[]}]}}]},{path:"/administrations",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2255)]).then(n.bind(n,2255)),name:"administration.index",meta:{pageTitle:"firefly.administration_index"}}]},{path:"/profile",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4799)]).then(n.bind(n,4799)),name:"profile.index",meta:{pageTitle:"firefly.profile"}}]},{path:"/profile/data",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(5724)]).then(n.bind(n,5724)),name:"profile.data",meta:{pageTitle:"firefly.profile_data"}}]},{path:"/preferences",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7341)]).then(n.bind(n,7341)),name:"preferences.index",meta:{pageTitle:"firefly.preferences"}}]},{path:"/system",component:()=>Promise.all([n.e(4736),n.e(7785)]).then(n.bind(n,7785)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1872)]).then(n.bind(n,1872)),name:"system.index",meta:{pageTitle:"firefly.system"}}]},{path:"/:catchAll(.*)*",component:()=>Promise.all([n.e(4736),n.e(2769)]).then(n.bind(n,2769))}],T=v,x=(0,f.BC)((function(){const e=P.r5,t=(0,P.p7)({scrollBehavior:()=>({left:0,top:0}),routes:T,history:e("/v3/")});return t}));async function k(e,t){const n=e(b);n.use(r.Z,t);const a="function"===typeof w?await w({}):w;n.use(a);const i=(0,o.Xl)("function"===typeof x?await x({store:a}):x);return a.use((({store:e})=>{e.router=i})),{app:n,store:a,router:i}}var D=n(9527),S=n(214),Z=n(4462),R=n(3703);const C={config:{dark:"auto"},lang:D.Z,iconSet:S.Z,plugins:{Dialog:Z.Z,LocalStorage:R.Z}};let A="function"===typeof b.preFetch?b.preFetch:void 0!==b.__c&&"function"===typeof b.__c.preFetch&&b.__c.preFetch;function O(e,t){const n=e?e.matched?e:t.resolve(e).route:t.currentRoute.value;if(!n)return[];const a=n.matched.filter((e=>void 0!==e.components));return 0===a.length?[]:Array.prototype.concat.apply([],a.map((e=>Object.keys(e.components).map((t=>{const n=e.components[t];return{path:e.path,c:n}})))))}function N({router:e,store:t,publicPath:n}){e.beforeResolve(((a,r,o)=>{const i=window.location.href.replace(window.location.origin,""),c=O(a,e),s=O(r,e);let l=!1;const d=c.filter(((e,t)=>l||(l=!s[t]||s[t].c!==e.c||e.path.indexOf("/:")>-1))).filter((e=>void 0!==e.c&&("function"===typeof e.c.preFetch||void 0!==e.c.__c&&"function"===typeof e.c.__c.preFetch))).map((e=>void 0!==e.c.__c?e.c.__c.preFetch:e.c.preFetch));if(!1!==A&&(d.unshift(A),A=!1),0===d.length)return o();let p=!1;const u=e=>{p=!0,o(e)},h=()=>{!1===p&&o()};d.reduce(((e,o)=>e.then((()=>!1===p&&o({store:t,currentRoute:a,previousRoute:r,redirect:u,urlPath:i,publicPath:n})))),Promise.resolve()).then(h).catch((e=>{console.error(e),h()}))}))}const M="/v3/",B=/\/\//,j=e=>(M+e).replace(B,"/");async function I({app:e,router:t,store:n},a){let r=!1;const o=e=>{try{return j(t.resolve(e).href)}catch(n){}return Object(e)===e?null:e},i=e=>{if(r=!0,"string"===typeof e&&/^https?:\/\//.test(e))return void(window.location.href=e);const t=o(e);null!==t&&(window.location.href=t,window.location.reload())},c=window.location.href.replace(window.location.origin,"");for(let l=0;!1===r&&l{const[t,a]=void 0!==Promise.allSettled?["allSettled",e=>e.map((e=>{if("rejected"!==e.status)return e.value.default;console.error("[Quasar] boot error:",e.reason)}))]:["all",e=>e.map((e=>e.default))];return Promise[t]([Promise.resolve().then(n.bind(n,7030)),Promise.resolve().then(n.bind(n,1569))]).then((t=>{const n=a(t).filter((e=>"function"===typeof e));I(e,n)}))}))},9167:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(1569);class r{getByName(e){return a.api.get("/api/v1/preferences/"+e)}postByName(e,t){return a.api.post("/api/v1/preferences",{name:e,data:t})}}},1746:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(1569);class r{get(e){return a.api.get("/api/v2/preferences/"+e)}}},1569:(e,t,n)=>{n.r(t),n.d(t,{api:()=>l,default:()=>d});var a=n(3340),r=n(9981),o=n.n(r),i=n(8268);const c=(0,i.setupCache)({maxAge:9e5,exclude:{query:!1}}),s="/",l=o().create({baseURL:s,withCredentials:!0,adapter:c.adapter}),d=(0,a.xr)((({app:e})=>{o().defaults.withCredentials=!0,o().defaults.baseURL=s,e.config.globalProperties.$axios=o(),e.config.globalProperties.$api=l}))},7030:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var a=n(3340),r=n(9991);const o={config:{html_language:"en",month_and_day_fns:"MMMM d, y"},form:{name:"Name",amount_min:"Minimum amount",amount_max:"Maximum amount",url:"URL",title:"Title",first_date:"First date",repetitions:"Repetitions",description:"Description",iban:"IBAN",skip:"Skip",date:"Date"},list:{name:"Name",account_number:"Account number",currentBalance:"Current balance",lastActivity:"Last activity",active:"Is active?"},breadcrumbs:{placeholder:"[Placeholder]",budgets:"Budgets",subscriptions:"Subscriptions",transactions:"Transactions",title_expenses:"Expenses",title_withdrawal:"Expenses",title_revenue:"Revenue / income",title_deposit:"Revenue / income",title_transfer:"Transfers",title_transfers:"Transfers",asset_accounts:"Asset accounts",expense_accounts:"Expense accounts",revenue_accounts:"Revenue accounts",liabilities_accounts:"Liabilities"},firefly:{administration_index:"Financial administration",actions:"Actions",edit:"Edit",delete:"Delete",reconcile:"Reconcile",create_new_asset:"Create new asset account",confirm_action:"Confirm action",new_budget:"New budget",new_asset_account:"New asset account",newTransfer:"New transfer",submission_options:"Submission options",apply_rules_checkbox:"Apply rules",fire_webhooks_checkbox:"Fire webhooks",newDeposit:"New deposit",newWithdrawal:"New expense",bills_paid:"Bills paid",left_to_spend:"Left to spend",no_budget:"(no budget)",budgeted:"Budgeted",spent:"Spent",no_bill:"(no bill)",rule_trigger_source_account_starts_choice:"Source account name starts with..",rule_trigger_source_account_ends_choice:"Source account name ends with..",rule_trigger_source_account_is_choice:"Source account name is..",rule_trigger_source_account_contains_choice:"Source account name contains..",rule_trigger_account_id_choice:"Either account ID is exactly..",rule_trigger_source_account_id_choice:"Source account ID is exactly..",rule_trigger_destination_account_id_choice:"Destination account ID is exactly..",rule_trigger_account_is_cash_choice:"Either account is cash",rule_trigger_source_is_cash_choice:"Source account is (cash) account",rule_trigger_destination_is_cash_choice:"Destination account is (cash) account",rule_trigger_source_account_nr_starts_choice:"Source account number / IBAN starts with..",rule_trigger_source_account_nr_ends_choice:"Source account number / IBAN ends with..",rule_trigger_source_account_nr_is_choice:"Source account number / IBAN is..",rule_trigger_source_account_nr_contains_choice:"Source account number / IBAN contains..",rule_trigger_destination_account_starts_choice:"Destination account name starts with..",rule_trigger_destination_account_ends_choice:"Destination account name ends with..",rule_trigger_destination_account_is_choice:"Destination account name is..",rule_trigger_destination_account_contains_choice:"Destination account name contains..",rule_trigger_destination_account_nr_starts_choice:"Destination account number / IBAN starts with..",rule_trigger_destination_account_nr_ends_choice:"Destination account number / IBAN ends with..",rule_trigger_destination_account_nr_is_choice:"Destination account number / IBAN is..",rule_trigger_destination_account_nr_contains_choice:"Destination account number / IBAN contains..",rule_trigger_transaction_type_choice:"Transaction is of type..",rule_trigger_category_is_choice:"Category is..",rule_trigger_amount_less_choice:"Amount is less than..",rule_trigger_amount_is_choice:"Amount is..",rule_trigger_amount_more_choice:"Amount is more than..",rule_trigger_description_starts_choice:"Description starts with..",rule_trigger_description_ends_choice:"Description ends with..",rule_trigger_description_contains_choice:"Description contains..",rule_trigger_description_is_choice:"Description is..",rule_trigger_date_on_choice:"Transaction date is..",rule_trigger_date_before_choice:"Transaction date is before..",rule_trigger_date_after_choice:"Transaction date is after..",rule_trigger_created_at_on_choice:"Transaction was made on..",rule_trigger_updated_at_on_choice:"Transaction was last edited on..",rule_trigger_budget_is_choice:"Budget is..",rule_trigger_tag_is_choice:"Any tag is..",rule_trigger_currency_is_choice:"Transaction currency is..",rule_trigger_foreign_currency_is_choice:"Transaction foreign currency is..",rule_trigger_has_attachments_choice:"Has at least this many attachments",rule_trigger_has_no_category_choice:"Has no category",rule_trigger_has_any_category_choice:"Has a (any) category",rule_trigger_has_no_budget_choice:"Has no budget",rule_trigger_has_any_budget_choice:"Has a (any) budget",rule_trigger_has_no_bill_choice:"Has no bill",rule_trigger_has_any_bill_choice:"Has a (any) bill",rule_trigger_has_no_tag_choice:"Has no tag(s)",rule_trigger_has_any_tag_choice:"Has one or more (any) tags",rule_trigger_any_notes_choice:"Has (any) notes",rule_trigger_no_notes_choice:"Has no notes",rule_trigger_notes_is_choice:"Notes are..",rule_trigger_notes_contains_choice:"Notes contain..",rule_trigger_notes_starts_choice:"Notes start with..",rule_trigger_notes_ends_choice:"Notes end with..",rule_trigger_bill_is_choice:"Bill is..",rule_trigger_external_id_is_choice:"External ID is..",rule_trigger_internal_reference_is_choice:"Internal reference is..",rule_trigger_journal_id_choice:"Transaction journal ID is..",rule_trigger_any_external_url_choice:"Transaction has an external URL",rule_trigger_no_external_url_choice:"Transaction has no external URL",rule_trigger_id_choice:"Transaction ID is..",rule_action_delete_transaction_choice:"DELETE transaction(!)",rule_action_set_category_choice:"Set category to ..",rule_action_clear_category_choice:"Clear any category",rule_action_set_budget_choice:"Set budget to ..",rule_action_clear_budget_choice:"Clear any budget",rule_action_add_tag_choice:"Add tag ..",rule_action_remove_tag_choice:"Remove tag ..",rule_action_remove_all_tags_choice:"Remove all tags",rule_action_set_description_choice:"Set description to ..",rule_action_update_piggy_choice:"Add / remove transaction amount in piggy bank ..",rule_action_append_description_choice:"Append description with ..",rule_action_prepend_description_choice:"Prepend description with ..",rule_action_set_source_account_choice:"Set source account to ..",rule_action_set_destination_account_choice:"Set destination account to ..",rule_action_append_notes_choice:"Append notes with ..",rule_action_prepend_notes_choice:"Prepend notes with ..",rule_action_clear_notes_choice:"Remove any notes",rule_action_set_notes_choice:"Set notes to ..",rule_action_link_to_bill_choice:"Link to a bill ..",rule_action_convert_deposit_choice:"Convert the transaction to a deposit",rule_action_convert_withdrawal_choice:"Convert the transaction to a withdrawal",rule_action_convert_transfer_choice:"Convert the transaction to a transfer",placeholder:"[Placeholder]",recurrences:"Recurring transactions",title_expenses:"Expenses",title_withdrawal:"Expenses",title_revenue:"Revenue / income",pref_1D:"One day",pref_1W:"One week",pref_1M:"One month",pref_3M:"Three months (quarter)",pref_6M:"Six months",pref_1Y:"One year",repeat_freq_yearly:"yearly","repeat_freq_half-year":"every half-year",repeat_freq_quarterly:"quarterly",repeat_freq_monthly:"monthly",repeat_freq_weekly:"weekly",single_split:"Split",asset_accounts:"Asset accounts",expense_accounts:"Expense accounts",liabilities_accounts:"Liabilities",undefined_accounts:"Accounts",name:"Name",revenue_accounts:"Revenue accounts",description:"Description",category:"Category",title_deposit:"Revenue / income",title_transfer:"Transfers",title_transfers:"Transfers",piggyBanks:"Piggy banks",rules:"Rules",accounts:"Accounts",categories:"Categories",tags:"Tags",object_groups_page_title:"Groups",reports:"Reports",webhooks:"Webhooks",currencies:"Currencies",administration:"Administration",profile:"Profile",source_account:"Source account",destination_account:"Destination account",amount:"Amount",date:"Date",time:"Time",preferences:"Preferences",transactions:"Transactions",balance:"Balance",budgets:"Budgets",subscriptions:"Subscriptions",welcome_back:"What's playing?",bills_to_pay:"Bills to pay",net_worth:"Net worth",pref_last365:"Last year",pref_last90:"Last 90 days",pref_last30:"Last 30 days",pref_last7:"Last 7 days",pref_YTD:"Year to date",pref_QTD:"Quarter to date",pref_MTD:"Month to date"}},i={"en-US":o},c=(0,a.xr)((({app:e})=>{const t=(0,r.o)({locale:"en-US",messages:i});e.use(t)}))},3555:(e,t,n)=>{n.d(t,{S:()=>m});var a=n(7363),r=n(1776),o=n(7104),i=n(3637),c=n(444),s=n(6490),l=n(7164),d=n(3611),p=n(9739),u=n(5057),h=n(4453);const m=(0,a.Q_)("firefly-iii",{state:()=>({drawerState:!0,viewRange:"1M",listPageSize:10,locale:"en-US",range:{start:null,end:null},defaultRange:{start:null,end:null},currencyCode:"AAA",currencyId:"0",cacheKey:"initial"}),getters:{getViewRange(e){return e.viewRange},getLocale(e){return e.locale},getListPageSize(e){return e.listPageSize},getCurrencyCode(e){return e.currencyCode},getCurrencyId(e){return e.currencyId},getRange(e){return e.range},getDefaultRange(e){return e.defaultRange},getCacheKey(e){return e.cacheKey}},actions:{refreshCacheKey(){let e=Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,8);this.setCacheKey(e)},resetRange(){let e=this.defaultRange;this.setRange(e)},setDatesFromViewRange(){let e,t,n=this.viewRange,a=new Date;switch(n){case"last365":e=(0,r.Z)((0,o.Z)(a,365)),t=(0,i.Z)(a);break;case"last90":e=(0,r.Z)((0,o.Z)(a,90)),t=(0,i.Z)(a);break;case"last30":e=(0,r.Z)((0,o.Z)(a,30)),t=(0,i.Z)(a);break;case"last7":e=(0,r.Z)((0,o.Z)(a,7)),t=(0,i.Z)(a);break;case"YTD":e=(0,c.Z)(a),t=(0,i.Z)(a);break;case"QTD":e=(0,s.Z)(a),t=(0,i.Z)(a);break;case"MTD":e=(0,l.Z)(a),t=(0,i.Z)(a);break;case"1D":e=(0,r.Z)(a),t=(0,i.Z)(a);break;case"1W":e=(0,r.Z)((0,d.Z)(a,{weekStartsOn:1})),t=(0,i.Z)((0,p.Z)(a,{weekStartsOn:1}));break;case"1M":e=(0,r.Z)((0,l.Z)(a)),t=(0,i.Z)((0,u.Z)(a));break;case"3M":e=(0,r.Z)((0,s.Z)(a)),t=(0,i.Z)((0,h.Z)(a));break;case"6M":a.getMonth()<=5&&(e=new Date(a),e.setMonth(0),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(5),t.setDate(30),t=(0,i.Z)(e)),a.getMonth()>5&&(e=new Date(a),e.setMonth(6),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(11),t.setDate(31),t=(0,i.Z)(e));break;case"1Y":e=new Date(a),e.setMonth(0),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(11),t.setDate(31),t=(0,i.Z)(t);break}this.setRange({start:e,end:t}),this.setDefaultRange({start:e,end:t})},updateViewRange(e){this.viewRange=e},updateListPageSize(e){this.listPageSize=e},setLocale(e){this.locale=e},setRange(e){return this.range=e,e},setDefaultRange(e){this.defaultRange=e},setCurrencyCode(e){this.currencyCode=e},setCurrencyId(e){this.currencyId=e},setCacheKey(e){this.cacheKey=e}}})}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.m=e,(()=>{var e=[];n.O=(t,a,r,o)=>{if(!a){var i=1/0;for(d=0;d=o)&&Object.keys(n.O).every((e=>n.O[e](a[s])))?a.splice(s--,1):(c=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[a,r,o]}})(),(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return n.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(a,r){if(1&r&&(a=this(a)),8&r)return a;if("object"===typeof a&&a){if(4&r&&a.__esModule)return a;if(16&r&&"function"===typeof a.then)return a}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&a;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>a[e]));return i["default"]=()=>a,n.d(o,i),o}})(),(()=>{n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}})(),(()=>{n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,a)=>(n.f[a](e,t),t)),[]))})(),(()=>{n.u=e=>"js/"+(3064===e?"chunk-common":e)+"."+{159:"849b2e88",607:"a7330a8c",753:"c47e29ea",936:"308ce395",990:"9f80994c",1019:"ebc4d223",1198:"cbaca816",1221:"bb21f046",1238:"744a7b52",1341:"e6d35593",1800:"73a958f8",1872:"235df0c5",2255:"106372da",2306:"accc86fe",2372:"0c493e6d",2382:"a6898a70",2769:"435f626d",3064:"2a30b5d5",3576:"5e70097a",3611:"d383e2f1",3726:"efae2175",3912:"55920040",3922:"0d52278f",4036:"46dc453b",4216:"13049863",4355:"044e2646",4575:"6117a3b3",4647:"eb08255c",4670:"83bf8b86",4777:"315d9cdb",4799:"53ec814f",4918:"ac68d296",5114:"96732a35",5389:"83172589",5529:"dbcd5e10",5724:"a11c8347",6254:"16279dd8",6745:"426b85d7",7039:"7e8ac025",7073:"d2bf4ce4",7222:"f318969b",7232:"c2628686",7341:"eb42d75a",7450:"f34e8691",7493:"f0265108",7676:"a2a73fd6",7697:"84e1e5ec",7700:"8a677dfa",7785:"361faedb",7889:"197b7788",7916:"085f15b4",8006:"ed33c726",8135:"8ac09b69",8490:"88c1c928",8493:"d667b5ff",8561:"1097efea",8659:"6dbd3a99",9052:"436e16fe",9053:"8c7cb7c1",9158:"887ce7fc",9173:"44a0bd7d",9253:"d541f5eb",9376:"b2fa7b33",9378:"81ba39c5",9381:"936c3132",9412:"a953a672",9432:"7c03632b",9729:"a64217d1",9814:"61040ecb"}[e]+".js"})(),(()=>{n.miniCssF=e=>{}})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="firefly-iii:";n.l=(a,r,o,i)=>{if(e[a])e[a].push(r);else{var c,s;if(void 0!==o)for(var l=document.getElementsByTagName("script"),d=0;d{c.onerror=c.onload=null,clearTimeout(h);var r=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),r&&r.forEach((e=>e(n))),t)return t(n)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=u.bind(null,c.onerror),c.onload=u.bind(null,c.onload),s&&document.head.appendChild(c)}}})(),(()=>{n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{n.p="/v3/"})(),(()=>{var e={2143:0};n.f.j=(t,a)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else{var o=new Promise(((n,a)=>r=e[t]=[n,a]));a.push(r[2]=o);var i=n.p+n.u(t),c=new Error,s=a=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,r[1](c)}};n.l(i,s,"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,[i,c,s]=a,l=0;if(i.some((t=>0!==e[t]))){for(r in c)n.o(c,r)&&(n.m[r]=c[r]);if(s)var d=s(n)}for(t&&t(a);ln(9894)));a=n.O(a)})(); \ No newline at end of file diff --git a/public/v3/js/app.efb4b22c.js b/public/v3/js/app.efb4b22c.js new file mode 100644 index 0000000000..58ff648112 --- /dev/null +++ b/public/v3/js/app.efb4b22c.js @@ -0,0 +1 @@ +(()=>{"use strict";var e={9894:(e,t,n)=>{var a=n(1957),r=n(1947),o=n(499),i=n(9835);function c(e,t,n,a,r,o){const c=(0,i.up)("router-view");return(0,i.wg)(),(0,i.j4)(c)}var s=n(9167),l=n(1746),d=n(1569);class p{async authenticate(){return await d.api.get("/sanctum/csrf-cookie")}}class u{default(){let e=new p;return e.authenticate().then((()=>d.api.get("/api/v1/currencies/default")))}}var h=n(3555);const m=(0,i.aZ)({name:"App",preFetch({store:e}){const t=(0,h.S)(e);t.refreshCacheKey();const n=function(){let e=new s.Z;return e.getByName("viewRange").then((e=>{const n=e.data.data.attributes.data;t.updateViewRange(n),t.setDatesFromViewRange()})).catch((e=>{console.error("Could not load view range."),console.log(e)}))},a=function(){let e=new s.Z;return e.getByName("listPageSize").then((e=>{const n=e.data.data.attributes.data;t.updateListPageSize(n)})).catch((e=>{console.error("Could not load listPageSize."),console.log(e)}))},r=function(){let e=new u;return e.default().then((e=>{let n=parseInt(e.data.data.id),a=e.data.data.attributes.code;t.setCurrencyId(n),t.setCurrencyCode(a)})).catch((e=>{console.error("Could not load preferences."),console.log(e)}))},o=function(){return(new l.Z).get("locale").then((e=>{const n=e.data.data.attributes.data.replace("_","-");t.setLocale(n)})).catch((e=>{console.error("Could not load locale."),console.log(e)}))};r().then((()=>{n(),a(),o()}))}});var _=n(1639);const g=(0,_.Z)(m,[["render",c]]),b=g;var f=n(3340),y=n(7363);const w=(0,f.h)((()=>{const e=(0,y.WB)();return e}));var P=n(8910);const v=[{path:"/",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2306)]).then(n.bind(n,2306)),name:"index",meta:{dateSelector:!0,pageTitle:"firefly.welcome_back"}}]},{path:"/development",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(7676)]).then(n.bind(n,7676)),name:"development.index",meta:{pageTitle:"firefly.development"}}]},{path:"/export",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(8493)]).then(n.bind(n,8493)),name:"export.index",meta:{pageTitle:"firefly.export"}}]},{path:"/budgets",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(159)]).then(n.bind(n,159)),name:"budgets.index",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"budgets",route:"budgets.index",params:[]}]}}]},{path:"/budgets/show/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(753)]).then(n.bind(n,753)),name:"budgets.show",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/budgets/edit/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7916)]).then(n.bind(n,7916)),name:"budgets.edit",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/budgets/create",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4670)]).then(n.bind(n,4670)),name:"budgets.create",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/subscriptions",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5529)]).then(n.bind(n,5529)),name:"subscriptions.index",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index",params:[]}]}}]},{path:"/subscriptions/show/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1198)]).then(n.bind(n,1198)),name:"subscriptions.show",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index"}]}}]},{path:"/subscriptions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8490)]).then(n.bind(n,8490)),name:"subscriptions.edit",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index"}]}}]},{path:"/subscriptions/create",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9378)]).then(n.bind(n,9378)),name:"subscriptions.create",meta:{dateSelector:!1,pageTitle:"firefly.subscriptions"}}]},{path:"/piggy-banks",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6254)]).then(n.bind(n,6254)),name:"piggy-banks.index",meta:{pageTitle:"firefly.piggyBanks",breadcrumbs:[{title:"piggy-banks",route:"piggy-banks.index",params:[]}]}}]},{path:"/piggy-banks/create",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7073)]).then(n.bind(n,7073)),name:"piggy-banks.create",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.create",params:[]}]}}]},{path:"/piggy-banks/show/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3576)]).then(n.bind(n,3576)),name:"piggy-banks.show",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.index"}]}}]},{path:"/piggy-banks/edit/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4216)]).then(n.bind(n,4216)),name:"piggy-banks.edit",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.index"}]}}]},{path:"/transactions/show/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8659)]).then(n.bind(n,8659)),name:"transactions.show",meta:{pageTitle:"firefly.transactions",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/transactions/create/:type",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1221)]).then(n.bind(n,8921)),name:"transactions.create",meta:{dateSelector:!1,pageTitle:"firefly.transactions"}}]},{path:"/transactions/:type",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1341)]).then(n.bind(n,1341)),name:"transactions.index",meta:{dateSelector:!1,pageTitle:"firefly.transactions",breadcrumbs:[{title:"transactions"}]}}]},{path:"/transactions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9376)]).then(n.bind(n,9376)),name:"transactions.edit",meta:{pageTitle:"firefly.transactions",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/rules",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9729)]).then(n.bind(n,9729)),name:"rules.index",meta:{pageTitle:"firefly.rules"}}]},{path:"/rules/show/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7222)]).then(n.bind(n,7222)),name:"rules.show",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/rules/create",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3726)]).then(n.bind(n,3726)),name:"rules.create",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/rules/edit/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7450)]).then(n.bind(n,7450)),name:"rules.edit",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"rules.index",params:{type:"todo"}}]}}]},{path:"/rule-groups/edit/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1019)]).then(n.bind(n,1019)),name:"rule-groups.edit",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/rule-groups/create",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1800)]).then(n.bind(n,1800)),name:"rule-groups.create",meta:{pageTitle:"firefly.rule-groups",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/recurring",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4036)]).then(n.bind(n,4036)),name:"recurring.index",meta:{pageTitle:"firefly.recurrences"}}]},{path:"/recurring/create",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4355)]).then(n.bind(n,4355)),name:"recurring.create",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.create",params:[]}]}}]},{path:"/recurring/show/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7697)]).then(n.bind(n,7697)),name:"recurring.show",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.index"}]}}]},{path:"/recurring/edit/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9412)]).then(n.bind(n,9412)),name:"recurring.edit",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.index"}]}}]},{path:"/accounts/show/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4575)]).then(n.bind(n,4575)),name:"accounts.show",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.show",params:[]}]}}]},{path:"/accounts/reconcile/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4918)]).then(n.bind(n,3953)),name:"accounts.reconcile",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.reconcile",params:[]}]}}]},{path:"/accounts/edit/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9253)]).then(n.bind(n,9253)),name:"accounts.edit",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.edit",params:[]}]}}]},{path:"/accounts/:type",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9173)]).then(n.bind(n,9173)),name:"accounts.index",meta:{pageTitle:"firefly.accounts"}}]},{path:"/accounts/create/:type",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9432)]).then(n.bind(n,9432)),name:"accounts.create",meta:{pageTitle:"firefly.accounts"}}]},{path:"/categories",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9053)]).then(n.bind(n,9053)),name:"categories.index",meta:{pageTitle:"firefly.categories"}}]},{path:"/categories/show/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7039)]).then(n.bind(n,7039)),name:"categories.show",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/categories/edit/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8561)]).then(n.bind(n,8561)),name:"categories.edit",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/categories/create",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9052)]).then(n.bind(n,9052)),name:"categories.create",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/tags",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6745)]).then(n.bind(n,6745)),name:"tags.index",meta:{pageTitle:"firefly.tags"}}]},{path:"/tags/show/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3611)]).then(n.bind(n,9286)),name:"tags.show",meta:{pageTitle:"firefly.tags",breadcrumbs:[{title:"placeholder",route:"tags.show",params:[]}]}}]},{path:"/groups",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4647)]).then(n.bind(n,4647)),name:"groups.index",meta:{pageTitle:"firefly.object_groups_page_title"}}]},{path:"/groups/show/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2372)]).then(n.bind(n,2372)),name:"groups.show",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/groups/edit/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7493)]).then(n.bind(n,7493)),name:"groups.edit",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/reports",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8006)]).then(n.bind(n,8006)),name:"reports.index",meta:{pageTitle:"firefly.reports"}}]},{path:"/report/default/:accounts/:start/:end",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(990)]).then(n.bind(n,3694)),name:"reports.default",meta:{pageTitle:"firefly.reports"}}]},{path:"/webhooks",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5114)]).then(n.bind(n,5114)),name:"webhooks.index",meta:{pageTitle:"firefly.webhooks"}}]},{path:"/webhooks/show/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9381)]).then(n.bind(n,9381)),name:"webhooks.show",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/webhooks/edit/:id",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9814)]).then(n.bind(n,9814)),name:"webhooks.edit",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/webhooks/create",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(7232)]).then(n.bind(n,7232)),name:"webhooks.create",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"webhooks.show",params:[]}]}}]},{path:"/currencies",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9158)]).then(n.bind(n,9158)),name:"currencies.index",meta:{pageTitle:"firefly.currencies"}}]},{path:"/currencies/show/:code",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1238)]).then(n.bind(n,1238)),name:"currencies.show",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.show",params:[]}]}}]},{path:"/currencies/edit/:code",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(607)]).then(n.bind(n,607)),name:"currencies.edit",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.show",params:[]}]}}]},{path:"/currencies/create",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3912)]).then(n.bind(n,3912)),name:"currencies.create",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.create",params:[]}]}}]},{path:"/administrations",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2255)]).then(n.bind(n,2255)),name:"administration.index",meta:{pageTitle:"firefly.administration_index"}}]},{path:"/profile",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4799)]).then(n.bind(n,4799)),name:"profile.index",meta:{pageTitle:"firefly.profile"}}]},{path:"/profile/data",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(5724)]).then(n.bind(n,5724)),name:"profile.data",meta:{pageTitle:"firefly.profile_data"}}]},{path:"/preferences",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7341)]).then(n.bind(n,7341)),name:"preferences.index",meta:{pageTitle:"firefly.preferences"}}]},{path:"/system",component:()=>Promise.all([n.e(4736),n.e(719)]).then(n.bind(n,719)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1872)]).then(n.bind(n,1872)),name:"system.index",meta:{pageTitle:"firefly.system"}}]},{path:"/:catchAll(.*)*",component:()=>Promise.all([n.e(4736),n.e(2769)]).then(n.bind(n,2769))}],T=v,x=(0,f.BC)((function(){const e=P.r5,t=(0,P.p7)({scrollBehavior:()=>({left:0,top:0}),routes:T,history:e("/v3/")});return t}));async function k(e,t){const n=e(b);n.use(r.Z,t);const a="function"===typeof w?await w({}):w;n.use(a);const i=(0,o.Xl)("function"===typeof x?await x({store:a}):x);return a.use((({store:e})=>{e.router=i})),{app:n,store:a,router:i}}var D=n(9527),S=n(214),Z=n(4462),R=n(3703);const C={config:{dark:"auto"},lang:D.Z,iconSet:S.Z,plugins:{Dialog:Z.Z,LocalStorage:R.Z}};let A="function"===typeof b.preFetch?b.preFetch:void 0!==b.__c&&"function"===typeof b.__c.preFetch&&b.__c.preFetch;function O(e,t){const n=e?e.matched?e:t.resolve(e).route:t.currentRoute.value;if(!n)return[];const a=n.matched.filter((e=>void 0!==e.components));return 0===a.length?[]:Array.prototype.concat.apply([],a.map((e=>Object.keys(e.components).map((t=>{const n=e.components[t];return{path:e.path,c:n}})))))}function N({router:e,store:t,publicPath:n}){e.beforeResolve(((a,r,o)=>{const i=window.location.href.replace(window.location.origin,""),c=O(a,e),s=O(r,e);let l=!1;const d=c.filter(((e,t)=>l||(l=!s[t]||s[t].c!==e.c||e.path.indexOf("/:")>-1))).filter((e=>void 0!==e.c&&("function"===typeof e.c.preFetch||void 0!==e.c.__c&&"function"===typeof e.c.__c.preFetch))).map((e=>void 0!==e.c.__c?e.c.__c.preFetch:e.c.preFetch));if(!1!==A&&(d.unshift(A),A=!1),0===d.length)return o();let p=!1;const u=e=>{p=!0,o(e)},h=()=>{!1===p&&o()};d.reduce(((e,o)=>e.then((()=>!1===p&&o({store:t,currentRoute:a,previousRoute:r,redirect:u,urlPath:i,publicPath:n})))),Promise.resolve()).then(h).catch((e=>{console.error(e),h()}))}))}const M="/v3/",B=/\/\//,j=e=>(M+e).replace(B,"/");async function I({app:e,router:t,store:n},a){let r=!1;const o=e=>{try{return j(t.resolve(e).href)}catch(n){}return Object(e)===e?null:e},i=e=>{if(r=!0,"string"===typeof e&&/^https?:\/\//.test(e))return void(window.location.href=e);const t=o(e);null!==t&&(window.location.href=t,window.location.reload())},c=window.location.href.replace(window.location.origin,"");for(let l=0;!1===r&&l{const[t,a]=void 0!==Promise.allSettled?["allSettled",e=>e.map((e=>{if("rejected"!==e.status)return e.value.default;console.error("[Quasar] boot error:",e.reason)}))]:["all",e=>e.map((e=>e.default))];return Promise[t]([Promise.resolve().then(n.bind(n,7030)),Promise.resolve().then(n.bind(n,1569))]).then((t=>{const n=a(t).filter((e=>"function"===typeof e));I(e,n)}))}))},9167:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(1569);class r{getByName(e){return a.api.get("/api/v1/preferences/"+e)}postByName(e,t){return a.api.post("/api/v1/preferences",{name:e,data:t})}}},1746:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(1569);class r{get(e){return a.api.get("/api/v2/preferences/"+e)}}},1569:(e,t,n)=>{n.r(t),n.d(t,{api:()=>l,default:()=>d});var a=n(3340),r=n(9981),o=n.n(r),i=n(8268);const c=(0,i.setupCache)({maxAge:9e5,exclude:{query:!1}}),s="/",l=o().create({baseURL:s,withCredentials:!0,adapter:c.adapter}),d=(0,a.xr)((({app:e})=>{o().defaults.withCredentials=!0,o().defaults.baseURL=s,e.config.globalProperties.$axios=o(),e.config.globalProperties.$api=l}))},7030:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var a=n(3340),r=n(9991);const o={config:{html_language:"en",month_and_day_fns:"MMMM d, y"},form:{name:"Name",amount_min:"Minimum amount",amount_max:"Maximum amount",url:"URL",title:"Title",first_date:"First date",repetitions:"Repetitions",description:"Description",iban:"IBAN",skip:"Skip",date:"Date"},list:{name:"Name",account_number:"Account number",currentBalance:"Current balance",lastActivity:"Last activity",active:"Is active?"},breadcrumbs:{placeholder:"[Placeholder]",budgets:"Budgets",subscriptions:"Subscriptions",transactions:"Transactions",title_expenses:"Expenses",title_withdrawal:"Expenses",title_revenue:"Revenue / income",title_deposit:"Revenue / income",title_transfer:"Transfers",title_transfers:"Transfers",asset_accounts:"Asset accounts",expense_accounts:"Expense accounts",revenue_accounts:"Revenue accounts",liabilities_accounts:"Liabilities"},firefly:{administration_index:"Financial administration",actions:"Actions",edit:"Edit",delete:"Delete",reconcile:"Reconcile",create_new_asset:"Create new asset account",confirm_action:"Confirm action",new_budget:"New budget",new_asset_account:"New asset account",newTransfer:"New transfer",submission_options:"Submission options",apply_rules_checkbox:"Apply rules",fire_webhooks_checkbox:"Fire webhooks",newDeposit:"New deposit",newWithdrawal:"New expense",bills_paid:"Bills paid",left_to_spend:"Left to spend",no_budget:"(no budget)",budgeted:"Budgeted",spent:"Spent",no_bill:"(no bill)",rule_trigger_source_account_starts_choice:"Source account name starts with..",rule_trigger_source_account_ends_choice:"Source account name ends with..",rule_trigger_source_account_is_choice:"Source account name is..",rule_trigger_source_account_contains_choice:"Source account name contains..",rule_trigger_account_id_choice:"Either account ID is exactly..",rule_trigger_source_account_id_choice:"Source account ID is exactly..",rule_trigger_destination_account_id_choice:"Destination account ID is exactly..",rule_trigger_account_is_cash_choice:"Either account is cash",rule_trigger_source_is_cash_choice:"Source account is (cash) account",rule_trigger_destination_is_cash_choice:"Destination account is (cash) account",rule_trigger_source_account_nr_starts_choice:"Source account number / IBAN starts with..",rule_trigger_source_account_nr_ends_choice:"Source account number / IBAN ends with..",rule_trigger_source_account_nr_is_choice:"Source account number / IBAN is..",rule_trigger_source_account_nr_contains_choice:"Source account number / IBAN contains..",rule_trigger_destination_account_starts_choice:"Destination account name starts with..",rule_trigger_destination_account_ends_choice:"Destination account name ends with..",rule_trigger_destination_account_is_choice:"Destination account name is..",rule_trigger_destination_account_contains_choice:"Destination account name contains..",rule_trigger_destination_account_nr_starts_choice:"Destination account number / IBAN starts with..",rule_trigger_destination_account_nr_ends_choice:"Destination account number / IBAN ends with..",rule_trigger_destination_account_nr_is_choice:"Destination account number / IBAN is..",rule_trigger_destination_account_nr_contains_choice:"Destination account number / IBAN contains..",rule_trigger_transaction_type_choice:"Transaction is of type..",rule_trigger_category_is_choice:"Category is..",rule_trigger_amount_less_choice:"Amount is less than..",rule_trigger_amount_is_choice:"Amount is..",rule_trigger_amount_more_choice:"Amount is more than..",rule_trigger_description_starts_choice:"Description starts with..",rule_trigger_description_ends_choice:"Description ends with..",rule_trigger_description_contains_choice:"Description contains..",rule_trigger_description_is_choice:"Description is..",rule_trigger_date_on_choice:"Transaction date is..",rule_trigger_date_before_choice:"Transaction date is before..",rule_trigger_date_after_choice:"Transaction date is after..",rule_trigger_created_at_on_choice:"Transaction was made on..",rule_trigger_updated_at_on_choice:"Transaction was last edited on..",rule_trigger_budget_is_choice:"Budget is..",rule_trigger_tag_is_choice:"Any tag is..",rule_trigger_currency_is_choice:"Transaction currency is..",rule_trigger_foreign_currency_is_choice:"Transaction foreign currency is..",rule_trigger_has_attachments_choice:"Has at least this many attachments",rule_trigger_has_no_category_choice:"Has no category",rule_trigger_has_any_category_choice:"Has a (any) category",rule_trigger_has_no_budget_choice:"Has no budget",rule_trigger_has_any_budget_choice:"Has a (any) budget",rule_trigger_has_no_bill_choice:"Has no bill",rule_trigger_has_any_bill_choice:"Has a (any) bill",rule_trigger_has_no_tag_choice:"Has no tag(s)",rule_trigger_has_any_tag_choice:"Has one or more (any) tags",rule_trigger_any_notes_choice:"Has (any) notes",rule_trigger_no_notes_choice:"Has no notes",rule_trigger_notes_is_choice:"Notes are..",rule_trigger_notes_contains_choice:"Notes contain..",rule_trigger_notes_starts_choice:"Notes start with..",rule_trigger_notes_ends_choice:"Notes end with..",rule_trigger_bill_is_choice:"Bill is..",rule_trigger_external_id_is_choice:"External ID is..",rule_trigger_internal_reference_is_choice:"Internal reference is..",rule_trigger_journal_id_choice:"Transaction journal ID is..",rule_trigger_any_external_url_choice:"Transaction has an external URL",rule_trigger_no_external_url_choice:"Transaction has no external URL",rule_trigger_id_choice:"Transaction ID is..",rule_action_delete_transaction_choice:"DELETE transaction(!)",rule_action_set_category_choice:"Set category to ..",rule_action_clear_category_choice:"Clear any category",rule_action_set_budget_choice:"Set budget to ..",rule_action_clear_budget_choice:"Clear any budget",rule_action_add_tag_choice:"Add tag ..",rule_action_remove_tag_choice:"Remove tag ..",rule_action_remove_all_tags_choice:"Remove all tags",rule_action_set_description_choice:"Set description to ..",rule_action_update_piggy_choice:"Add / remove transaction amount in piggy bank ..",rule_action_append_description_choice:"Append description with ..",rule_action_prepend_description_choice:"Prepend description with ..",rule_action_set_source_account_choice:"Set source account to ..",rule_action_set_destination_account_choice:"Set destination account to ..",rule_action_append_notes_choice:"Append notes with ..",rule_action_prepend_notes_choice:"Prepend notes with ..",rule_action_clear_notes_choice:"Remove any notes",rule_action_set_notes_choice:"Set notes to ..",rule_action_link_to_bill_choice:"Link to a bill ..",rule_action_convert_deposit_choice:"Convert the transaction to a deposit",rule_action_convert_withdrawal_choice:"Convert the transaction to a withdrawal",rule_action_convert_transfer_choice:"Convert the transaction to a transfer",placeholder:"[Placeholder]",recurrences:"Recurring transactions",title_expenses:"Expenses",title_withdrawal:"Expenses",title_revenue:"Revenue / income",pref_1D:"One day",pref_1W:"One week",pref_1M:"One month",pref_3M:"Three months (quarter)",pref_6M:"Six months",pref_1Y:"One year",repeat_freq_yearly:"yearly","repeat_freq_half-year":"every half-year",repeat_freq_quarterly:"quarterly",repeat_freq_monthly:"monthly",repeat_freq_weekly:"weekly",single_split:"Split",asset_accounts:"Asset accounts",expense_accounts:"Expense accounts",liabilities_accounts:"Liabilities",undefined_accounts:"Accounts",name:"Name",revenue_accounts:"Revenue accounts",description:"Description",category:"Category",title_deposit:"Revenue / income",title_transfer:"Transfers",title_transfers:"Transfers",piggyBanks:"Piggy banks",rules:"Rules",accounts:"Accounts",categories:"Categories",tags:"Tags",object_groups_page_title:"Groups",reports:"Reports",webhooks:"Webhooks",currencies:"Currencies",administration:"Administration",profile:"Profile",source_account:"Source account",destination_account:"Destination account",amount:"Amount",date:"Date",time:"Time",preferences:"Preferences",transactions:"Transactions",balance:"Balance",budgets:"Budgets",subscriptions:"Subscriptions",welcome_back:"What's playing?",bills_to_pay:"Bills to pay",net_worth:"Net worth",pref_last365:"Last year",pref_last90:"Last 90 days",pref_last30:"Last 30 days",pref_last7:"Last 7 days",pref_YTD:"Year to date",pref_QTD:"Quarter to date",pref_MTD:"Month to date"}},i={"en-US":o},c=(0,a.xr)((({app:e})=>{const t=(0,r.o)({locale:"en-US",messages:i});e.use(t)}))},3555:(e,t,n)=>{n.d(t,{S:()=>m});var a=n(7363),r=n(1776),o=n(7104),i=n(3637),c=n(444),s=n(6490),l=n(7164),d=n(3611),p=n(9739),u=n(5057),h=n(4453);const m=(0,a.Q_)("firefly-iii",{state:()=>({drawerState:!0,viewRange:"1M",listPageSize:10,locale:"en-US",range:{start:null,end:null},defaultRange:{start:null,end:null},currencyCode:"AAA",currencyId:"0",cacheKey:"initial"}),getters:{getViewRange(e){return e.viewRange},getLocale(e){return e.locale},getListPageSize(e){return e.listPageSize},getCurrencyCode(e){return e.currencyCode},getCurrencyId(e){return e.currencyId},getRange(e){return e.range},getDefaultRange(e){return e.defaultRange},getCacheKey(e){return e.cacheKey}},actions:{refreshCacheKey(){let e=Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,8);this.setCacheKey(e)},resetRange(){let e=this.defaultRange;this.setRange(e)},setDatesFromViewRange(){let e,t,n=this.viewRange,a=new Date;switch(n){case"last365":e=(0,r.Z)((0,o.Z)(a,365)),t=(0,i.Z)(a);break;case"last90":e=(0,r.Z)((0,o.Z)(a,90)),t=(0,i.Z)(a);break;case"last30":e=(0,r.Z)((0,o.Z)(a,30)),t=(0,i.Z)(a);break;case"last7":e=(0,r.Z)((0,o.Z)(a,7)),t=(0,i.Z)(a);break;case"YTD":e=(0,c.Z)(a),t=(0,i.Z)(a);break;case"QTD":e=(0,s.Z)(a),t=(0,i.Z)(a);break;case"MTD":e=(0,l.Z)(a),t=(0,i.Z)(a);break;case"1D":e=(0,r.Z)(a),t=(0,i.Z)(a);break;case"1W":e=(0,r.Z)((0,d.Z)(a,{weekStartsOn:1})),t=(0,i.Z)((0,p.Z)(a,{weekStartsOn:1}));break;case"1M":e=(0,r.Z)((0,l.Z)(a)),t=(0,i.Z)((0,u.Z)(a));break;case"3M":e=(0,r.Z)((0,s.Z)(a)),t=(0,i.Z)((0,h.Z)(a));break;case"6M":a.getMonth()<=5&&(e=new Date(a),e.setMonth(0),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(5),t.setDate(30),t=(0,i.Z)(e)),a.getMonth()>5&&(e=new Date(a),e.setMonth(6),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(11),t.setDate(31),t=(0,i.Z)(e));break;case"1Y":e=new Date(a),e.setMonth(0),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(11),t.setDate(31),t=(0,i.Z)(t);break}this.setRange({start:e,end:t}),this.setDefaultRange({start:e,end:t})},updateViewRange(e){this.viewRange=e},updateListPageSize(e){this.listPageSize=e},setLocale(e){this.locale=e},setRange(e){return this.range=e,e},setDefaultRange(e){this.defaultRange=e},setCurrencyCode(e){this.currencyCode=e},setCurrencyId(e){this.currencyId=e},setCacheKey(e){this.cacheKey=e}}})}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.m=e,(()=>{var e=[];n.O=(t,a,r,o)=>{if(!a){var i=1/0;for(d=0;d=o)&&Object.keys(n.O).every((e=>n.O[e](a[s])))?a.splice(s--,1):(c=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[a,r,o]}})(),(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return n.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(a,r){if(1&r&&(a=this(a)),8&r)return a;if("object"===typeof a&&a){if(4&r&&a.__esModule)return a;if(16&r&&"function"===typeof a.then)return a}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&a;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>a[e]));return i["default"]=()=>a,n.d(o,i),o}})(),(()=>{n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}})(),(()=>{n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,a)=>(n.f[a](e,t),t)),[]))})(),(()=>{n.u=e=>"js/"+(3064===e?"chunk-common":e)+"."+{159:"849b2e88",607:"a7330a8c",719:"bd9acfe0",753:"c47e29ea",936:"308ce395",990:"9f80994c",1019:"ebc4d223",1198:"cbaca816",1221:"bb21f046",1238:"744a7b52",1341:"e6d35593",1800:"73a958f8",1872:"235df0c5",2255:"106372da",2306:"accc86fe",2372:"0c493e6d",2382:"a6898a70",2769:"435f626d",3064:"2a30b5d5",3576:"5e70097a",3611:"d383e2f1",3726:"efae2175",3912:"55920040",3922:"0d52278f",4036:"46dc453b",4216:"13049863",4355:"044e2646",4575:"6117a3b3",4647:"eb08255c",4670:"83bf8b86",4777:"315d9cdb",4799:"53ec814f",4918:"ac68d296",5114:"96732a35",5389:"83172589",5529:"dbcd5e10",5724:"a11c8347",6254:"16279dd8",6745:"426b85d7",7039:"7e8ac025",7073:"d2bf4ce4",7222:"f318969b",7232:"c2628686",7341:"eb42d75a",7450:"f34e8691",7493:"f0265108",7676:"a2a73fd6",7697:"84e1e5ec",7700:"8a677dfa",7889:"197b7788",7916:"085f15b4",8006:"ed33c726",8135:"8ac09b69",8490:"88c1c928",8493:"d667b5ff",8561:"1097efea",8659:"6dbd3a99",9052:"436e16fe",9053:"8c7cb7c1",9158:"887ce7fc",9173:"44a0bd7d",9253:"d541f5eb",9376:"b2fa7b33",9378:"81ba39c5",9381:"936c3132",9412:"a953a672",9432:"7c03632b",9729:"a64217d1",9814:"61040ecb"}[e]+".js"})(),(()=>{n.miniCssF=e=>{}})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="firefly-iii:";n.l=(a,r,o,i)=>{if(e[a])e[a].push(r);else{var c,s;if(void 0!==o)for(var l=document.getElementsByTagName("script"),d=0;d{c.onerror=c.onload=null,clearTimeout(h);var r=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),r&&r.forEach((e=>e(n))),t)return t(n)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=u.bind(null,c.onerror),c.onload=u.bind(null,c.onload),s&&document.head.appendChild(c)}}})(),(()=>{n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{n.p="/v3/"})(),(()=>{var e={2143:0};n.f.j=(t,a)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else{var o=new Promise(((n,a)=>r=e[t]=[n,a]));a.push(r[2]=o);var i=n.p+n.u(t),c=new Error,s=a=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,r[1](c)}};n.l(i,s,"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,[i,c,s]=a,l=0;if(i.some((t=>0!==e[t]))){for(r in c)n.o(c,r)&&(n.m[r]=c[r]);if(s)var d=s(n)}for(t&&t(a);ln(9894)));a=n.O(a)})(); \ No newline at end of file diff --git a/resources/lang/ca_ES/validation.php b/resources/lang/ca_ES/validation.php index bfc083bcc3..dd02fa04d6 100644 --- a/resources/lang/ca_ES/validation.php +++ b/resources/lang/ca_ES/validation.php @@ -67,8 +67,8 @@ return [ 'not_transfer_account' => 'Aquest compte no és un compte que puguis fer servir per transferències.', 'require_currency_amount' => 'El contingut d\'aquest camp no és vàlid sense informació de la quantitat estrangera.', 'require_foreign_currency' => 'This field requires a number', - 'require_foreign_dest' => 'This field value must match the currency of the destination account.', - 'require_foreign_src' => 'This field value must match the currency of the source account.', + 'require_foreign_dest' => 'El valor d\'aquest camp ha de quadrar amb la moneda del compte destí.', + 'require_foreign_src' => 'El valor d\'aquest camp ha de quadrar amb la moneda del compte font.', 'equal_description' => 'La descripció de la transacció no hauria de ser igual a la descripció global.', 'file_invalid_mime' => 'El fitxer ":name" és de tipus ":mime", el qual no s\'accepta com a pujada.', 'file_too_large' => 'El fitxer ":name" és massa gran.', diff --git a/resources/lang/de_DE/validation.php b/resources/lang/de_DE/validation.php index d97d09f23c..00f3739f44 100644 --- a/resources/lang/de_DE/validation.php +++ b/resources/lang/de_DE/validation.php @@ -67,8 +67,8 @@ return [ 'not_transfer_account' => 'Dieses Konto ist kein Konto, welches für Buchungen genutzt werden kann.', 'require_currency_amount' => 'Der Inhalt dieses Feldes ist ohne Eingabe eines Betrags in Fremdwährung ungültig.', 'require_foreign_currency' => 'Dieses Feld muss eine Nummer enthalten', - 'require_foreign_dest' => 'This field value must match the currency of the destination account.', - 'require_foreign_src' => 'This field value must match the currency of the source account.', + 'require_foreign_dest' => 'Der Wert dieses Feldes muss mit der Währung des Zielkontos übereinstimmen.', + 'require_foreign_src' => 'Der Wert dieses Feldes muss mit der Währung des Quellkontos übereinstimmen.', 'equal_description' => 'Die Transaktionsbeschreibung darf nicht der globalen Beschreibung entsprechen.', 'file_invalid_mime' => 'Die Datei „:name” ist vom Typ „:mime”, welcher nicht zum Hochladen zugelassen ist.', 'file_too_large' => 'Die Datei „:name” ist zu groß.', diff --git a/resources/lang/es_ES/validation.php b/resources/lang/es_ES/validation.php index ca37bb326f..77ffbe7b30 100644 --- a/resources/lang/es_ES/validation.php +++ b/resources/lang/es_ES/validation.php @@ -67,8 +67,8 @@ return [ 'not_transfer_account' => 'Esta cuenta no es una cuenta que se pueda utilizar para transferencias.', 'require_currency_amount' => 'El contenido de este campo no es válido sin información de cantidad extranjera.', 'require_foreign_currency' => 'Este campo requiere un número', - 'require_foreign_dest' => 'This field value must match the currency of the destination account.', - 'require_foreign_src' => 'This field value must match the currency of the source account.', + 'require_foreign_dest' => 'El valor de este campo debe coincidir con la moneda de la cuenta de destino.', + 'require_foreign_src' => 'El valor de este campo debe coincidir con la moneda de la cuenta de origen.', 'equal_description' => 'La descripción de la transacción no debería ser igual a la descripción global.', 'file_invalid_mime' => 'El archivo ":name" es de tipo ":mime", el cual no se acepta.', 'file_too_large' => 'El archivo ":name" es demasiado grande.', diff --git a/resources/lang/fr_FR/validation.php b/resources/lang/fr_FR/validation.php index 2c0edbeb02..915c6b8940 100644 --- a/resources/lang/fr_FR/validation.php +++ b/resources/lang/fr_FR/validation.php @@ -67,8 +67,8 @@ return [ 'not_transfer_account' => 'Ce compte n\'est pas un compte qui peut être utilisé pour les transferts.', 'require_currency_amount' => 'Le contenu de ce champ est invalide sans informations sur le montant en devise étrangère.', 'require_foreign_currency' => 'Ce champ doit être un nombre', - 'require_foreign_dest' => 'This field value must match the currency of the destination account.', - 'require_foreign_src' => 'This field value must match the currency of the source account.', + 'require_foreign_dest' => 'Ce champ doit correspondre à la devise du compte de destination.', + 'require_foreign_src' => 'Ce champ doit correspondre à la devise du compte source.', 'equal_description' => 'La description de l\'opération ne doit pas être identique à la description globale.', 'file_invalid_mime' => 'Le fichier ":name" est du type ":mime" ce qui n\'est pas accepté pour un nouvel envoi.', 'file_too_large' => 'Le fichier ":name" est trop grand.', diff --git a/resources/lang/ru_RU/validation.php b/resources/lang/ru_RU/validation.php index 435442ddca..86d722a06b 100644 --- a/resources/lang/ru_RU/validation.php +++ b/resources/lang/ru_RU/validation.php @@ -67,8 +67,8 @@ return [ 'not_transfer_account' => 'Этот счёт нельзя использовать для перевода.', 'require_currency_amount' => 'Содержимое этого поля недействительно без информации о валюте.', 'require_foreign_currency' => 'Это поле требует число', - 'require_foreign_dest' => 'This field value must match the currency of the destination account.', - 'require_foreign_src' => 'This field value must match the currency of the source account.', + 'require_foreign_dest' => 'Это значение поля должно совпадать с валютой счета назначения.', + 'require_foreign_src' => 'Это поле должно совпадать с валютой исходного счета.', 'equal_description' => 'Описание транзакции не должно совпадать с глобальным описанием.', 'file_invalid_mime' => 'Файл ":name" имеет тип ":mime". Загрузка файлов такого типа невозможна.', 'file_too_large' => 'Файл ":name" слишком большой.', diff --git a/resources/lang/sv_SE/firefly.php b/resources/lang/sv_SE/firefly.php index 945ce2e876..d1ca07c4e6 100644 --- a/resources/lang/sv_SE/firefly.php +++ b/resources/lang/sv_SE/firefly.php @@ -2365,8 +2365,8 @@ return [ // administration - 'invite_is_already_redeemed' => 'The invite to ":address" has already been redeemed.', - 'invite_is_deleted' => 'The invite to ":address" has been deleted.', + 'invite_is_already_redeemed' => 'Inbjudan till ":address" har redan lösts in.', + 'invite_is_deleted' => 'Inbjudan till ":address" har tagits bort.', 'invite_new_user_title' => 'Invite new user', 'invite_new_user_text' => 'As an administrator, you can invite users to register on your Firefly III administration. Using the direct link you can share with them, they will be able to register an account. The invited user and their invite link will appear in the table below. You are free to share the invitation link with them.', 'invited_user_mail' => 'Email address', diff --git a/resources/lang/sv_SE/validation.php b/resources/lang/sv_SE/validation.php index f6f7847d16..1e8c3776a6 100644 --- a/resources/lang/sv_SE/validation.php +++ b/resources/lang/sv_SE/validation.php @@ -66,9 +66,9 @@ return [ 'require_currency_info' => 'Innehållet i det här fältet är ogiltigt utan valutainformation.', 'not_transfer_account' => 'Detta är inte ett konto som kan användas för transaktioner.', 'require_currency_amount' => 'Innehållet i det här fältet är ogiltigt utan utländskt belopp.', - 'require_foreign_currency' => 'This field requires a number', - 'require_foreign_dest' => 'This field value must match the currency of the destination account.', - 'require_foreign_src' => 'This field value must match the currency of the source account.', + 'require_foreign_currency' => 'Detta fält kräver ett nummer', + 'require_foreign_dest' => 'Detta fältvärde måste matcha valutan för målkontot.', + 'require_foreign_src' => 'Detta fältvärde måste matcha valutan för källkontot.', 'equal_description' => 'Transaktions beskrivning bör inte vara samma som den globala beskrivningen.', 'file_invalid_mime' => 'Filen ”:name” är av typ ”:mime” som inte accepteras som en ny uppladdning.', 'file_too_large' => 'Filen ”:name” är för stor.', diff --git a/sonar-project.properties b/sonar-project.properties index 7d2e9e6f94..e302c3b7db 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -12,6 +12,6 @@ sonar.organization=firefly-iii #sonar.sourceEncoding=UTF-8 -sonar.projectVersion=6.0.2 +sonar.projectVersion=6.0.3 sonar.sources=app,bootstrap,database,resources/assets,resources/views,routes,tests sonar.sourceEncoding=UTF-8