firefly-iii/public/v2/js/accounts/create.js.map
2021-07-11 09:31:10 +02:00

1 line
127 KiB
Plaintext
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["webpack:///./src/bootstrap.js","webpack:///./src/i18n.js","webpack:///src/components/accounts/Currency.vue","webpack:///./src/components/accounts/Currency.vue?3ee1","webpack:///./src/components/accounts/Currency.vue","webpack:///./src/components/accounts/Currency.vue?1382","webpack:///src/components/accounts/AssetAccountRole.vue","webpack:///./src/components/accounts/AssetAccountRole.vue?72d0","webpack:///./src/components/accounts/AssetAccountRole.vue","webpack:///./src/components/accounts/AssetAccountRole.vue?baa5","webpack:///src/components/accounts/LiabilityType.vue","webpack:///./src/components/accounts/LiabilityType.vue?7f35","webpack:///./src/components/accounts/LiabilityType.vue","webpack:///./src/components/accounts/LiabilityType.vue?ddc2","webpack:///src/components/accounts/LiabilityDirection.vue","webpack:///./src/components/accounts/LiabilityDirection.vue?ee79","webpack:///./src/components/accounts/LiabilityDirection.vue","webpack:///./src/components/accounts/LiabilityDirection.vue?24ff","webpack:///src/components/accounts/Interest.vue","webpack:///./src/components/accounts/Interest.vue?5bb6","webpack:///./src/components/accounts/Interest.vue","webpack:///./src/components/accounts/Interest.vue?35c7","webpack:///src/components/accounts/InterestPeriod.vue","webpack:///./src/components/accounts/InterestPeriod.vue?bcf4","webpack:///./src/components/accounts/InterestPeriod.vue","webpack:///./src/components/accounts/InterestPeriod.vue?1286","webpack:///src/components/form/GenericTextInput.vue","webpack:///./src/components/form/GenericTextInput.vue?d9d8","webpack:///./src/components/form/GenericTextInput.vue","webpack:///./src/components/form/GenericTextInput.vue?08ab","webpack:///src/components/form/GenericTextarea.vue","webpack:///./src/components/form/GenericTextarea.vue?11c7","webpack:///./src/components/form/GenericTextarea.vue","webpack:///./src/components/form/GenericTextarea.vue?02c7","webpack:///./src/components/form/GenericLocation.vue?33c4","webpack:///src/components/form/GenericLocation.vue","webpack:///./src/components/form/GenericLocation.vue?2360","webpack:///./src/components/form/GenericLocation.vue","webpack:///src/components/form/GenericAttachments.vue","webpack:///./src/components/form/GenericAttachments.vue?7cfa","webpack:///./src/components/form/GenericAttachments.vue","webpack:///./src/components/form/GenericAttachments.vue?3e0f","webpack:///src/components/form/GenericCheckbox.vue","webpack:///./src/components/form/GenericCheckbox.vue?341c","webpack:///./src/components/form/GenericCheckbox.vue","webpack:///./src/components/form/GenericCheckbox.vue?1b8c","webpack:///src/components/accounts/Create.vue","webpack:///./src/components/accounts/Create.vue?7720","webpack:///./src/components/accounts/Create.vue","webpack:///./src/components/accounts/Create.vue?14fa","webpack:///./src/pages/accounts/create.js","webpack:///src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?8ba7","webpack:///./src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?a628"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","module","exports","documentElement","lang","fallbackLocale","messages","name","props","value","errors","disabled","type","Boolean","default","data","loading","currency_id","this","currencyList","methods","loadCurrencies","loadCurrencyPage","get","page","watch","$emit","created","_vm","_h","$createElement","_c","_self","staticClass","_v","_s","$t","_e","directives","rawName","expression","ref","class","length","attrs","on","$event","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","_value","multiple","_l","currency","domProps","id","roleList","account_role","loadRoles","role","title","slug","typeList","liability_type","liability_direction","interest","composing","_m","periodList","interest_period","loadPeriods","period","String","fieldName","fieldType","fieldStep","localValue","isArray","_i","$$a","$$el","$$c","checked","$$i","concat","slice","_q","components","Object","required","customFields","availableFields","url","zoom","center","bounds","enableExternalMap","hasMarker","marker","verifyMapEnabled","then","loadMap","keys","zoom_level","latitude","longitude","prepMap","$refs","myMap","mapObject","setObjectLocation","saveZoomLevel","event","latlng","lat","lng","emitEvent","clearLocation","e","preventDefault","zoomUpdated","centerUpdated","boundsUpdated","staticStyle","selectedFile","description","Currency","GenericTextInput","lodashClonedeep","defaultErrors","parts","submitting","successMessage","errorMessage","createAnother","resetFormAfter","returnedId","returnedTitle","liability_amount","liability_date","iban","bic","account_number","virtual_balance","opening_balance","opening_balance_date","include_net_worth","active","notes","location","storeField","payload","field","submitForm","post","submission","parseErrors","hasOwnProperty","i","getSubmission","toLowerCase","liability_start_date","credit_card_type","monthly_payment_date","zoomLevel","model","callback","$$v","attachments","i18n","render","createElement","Create","$mount","message"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,EACAR,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,MAAM,yEAIlB,IAAIC,EAAcN,SAASC,KAAKC,cAAc,uBAG1CK,aAAaC,OADbF,EACsBA,EAAYH,QAEZ,QAI1BT,EAAQ,MACRA,EAAQ,MAERA,EAAQ,MACRA,EAAQ,MAIRH,OAAOkB,QAAUC,IACjBnB,OAAOoB,IAAMA,EACbC,QAAQH,SACRG,QAAQD,GACRpB,OAAOqB,IAAMA,K,cC1CbC,EAAOC,QAAU,IAAIL,QAAQ,CACzBD,OAAQR,SAASe,gBAAgBC,KACjCC,eAAgB,KAChBC,SAAU,CACN,GAAMxB,EAAQ,MACd,GAAMA,EAAQ,MACd,GAAMA,EAAQ,MACd,GAAMA,EAAQ,MACd,QAASA,EAAQ,MACjB,QAASA,EAAQ,MACjB,GAAMA,EAAQ,MACd,GAAMA,EAAQ,MACd,GAAMA,EAAQ,MACd,GAAMA,EAAQ,KAEd,GAAMA,EAAQ,MACd,GAAMA,EAAQ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AC,cAAc,OAAO,eAAe,QAAQ,KAAO,WAAW,CAAChB,EAAIM,GAAG,OAAON,EAAIM,GAAG,KAAKH,EAAG,KAAK,CAAE,WAAaH,EAAIhB,KAAMmB,EAAG,OAAO,CAACE,YAAY,oBAAoBL,EAAIS,KAAKT,EAAIM,GAAG,KAAM,YAAcN,EAAIhB,KAAMmB,EAAG,OAAO,CAACE,YAAY,0BAA0BL,EAAIS,KAAKT,EAAIM,GAAG,KAAM,WAAaN,EAAIhB,KAAMmB,EAAG,OAAO,CAACH,EAAIM,GAAGN,EAAIO,GAAGP,EAAIQ,GAAG,2BAA2BR,EAAIS,KAAKT,EAAIM,GAAG,KAAM,YAAcN,EAAIhB,KAAMmB,EAAG,OAAO,CAACH,EAAIM,GAAGN,EAAIO,GAAGP,EAAIQ,GAAG,6BAA6BR,EAAIS,OAAOT,EAAIM,GAAG,KAAKH,EAAG,OAAO,CAAC8B,SAAS,CAAC,UAAYjC,EAAIO,GAAGP,EAAIyJ,cAAczJ,EAAIS,OAC1vB,IDUpB,EACA,KACA,KACA,M","file":"/public/js/accounts/create.js","sourcesContent":["/*\n * bootstrap.js\n * Copyright (c) 2021 james@firefly-iii.org\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// // imports\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'\nimport * as uiv from 'uiv';\n\n// export jquery for others scripts to use\nwindow.$ = window.jQuery = require('jquery');\n\n// axios\nwindow.axios = require('axios');\nwindow.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// CSRF\nlet token = document.head.querySelector('meta[name=\"csrf-token\"]');\n\nif (token) {\n window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;\n} else {\n console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');\n}\n\n// locale\nlet localeToken = document.head.querySelector('meta[name=\"locale\"]');\n\nif (localeToken) {\n localStorage.locale = localeToken.content;\n} else {\n localStorage.locale = 'en_US';\n}\n\n// admin stuff\nrequire('jquery-ui');\nrequire('bootstrap'); // bootstrap CSS?\n\nrequire('admin-lte/dist/js/adminlte');\nrequire('overlayscrollbars');\n\n\n// vue\nwindow.vuei18n = VueI18n;\nwindow.uiv = uiv;\nVue.use(vuei18n);\nVue.use(uiv);\nwindow.Vue = Vue;","/*\n * i18n.js\n * Copyright (c) 2020 james@firefly-iii.org\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - Currency.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.currency_id') }}\n </div>\n <div class=\"input-group\" v-if=\"loading\">\n <span class=\"fas fa-spinner fa-spin\"></span>\n </div>\n <div class=\"input-group\" v-if=\"!loading\">\n <select\n ref=\"currency_id\"\n v-model=\"currency_id\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('form.currency_id')\"\n autocomplete=\"off\"\n :disabled=disabled\n name=\"currency_id\"\n >\n <option v-for=\"currency in this.currencyList\" :label=\"currency.name\" :value=\"currency.id\">{{ currency.name }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Currency\",\n props: {\n value: {},\n errors: {},\n disabled: {\n type: Boolean,\n default: false\n },\n },\n data() {\n return {\n loading: true,\n currency_id: this.value,\n currencyList: []\n }\n },\n methods: {\n loadCurrencies: function () {\n this.loadCurrencyPage(1);\n },\n loadCurrencyPage: function (page) {\n axios.get('./api/v1/currencies?page=' + page)\n .then(response => {\n let totalPages = parseInt(response.data.meta.pagination.total_pages);\n let currentPage = parseInt(response.data.meta.pagination.current_page);\n let currencies = response.data.data;\n for (let i in currencies) {\n if (currencies.hasOwnProperty(i)) {\n let current = currencies[i];\n if (true === current.attributes.default && (null === this.currency_id || typeof this.currency_id === 'undefined')) {\n this.currency_id = parseInt(current.id);\n }\n if (false === current.attributes.enabled) {\n continue;\n }\n let currency = {\n id: parseInt(current.id),\n name: current.attributes.name,\n };\n this.currencyList.push(currency);\n }\n }\n if (currentPage < totalPages) {\n this.loadCurrencyPage(currentPage++);\n }\n if (currentPage >= totalPages) {\n this.loading = false;\n }\n }\n );\n }\n },\n watch: {\n currency_id: function (value) {\n this.$emit('set-field', {field: 'currency_id', value: value});\n },\n },\n created() {\n this.loadCurrencies()\n }\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Currency.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Currency.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Currency.vue?vue&type=template&id=669aa07c&\"\nimport script from \"./Currency.vue?vue&type=script&lang=js&\"\nexport * from \"./Currency.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.currency_id'))+\"\\n \")]),_vm._v(\" \"),(_vm.loading)?_c('div',{staticClass:\"input-group\"},[_c('span',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(!_vm.loading)?_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.currency_id),expression:\"currency_id\"}],ref:\"currency_id\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('form.currency_id'),\"autocomplete\":\"off\",\"disabled\":_vm.disabled,\"name\":\"currency_id\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.currency_id=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.currencyList),function(currency){return _c('option',{attrs:{\"label\":currency.name},domProps:{\"value\":currency.id}},[_vm._v(_vm._s(currency.name))])}),0)]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - AssetAccountRole.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.account_role') }}\n </div>\n <div class=\"input-group\" v-if=\"loading\">\n <span class=\"fas fa-spinner fa-spin\"></span>\n </div>\n <div class=\"input-group\" v-if=\"!loading\">\n <select\n ref=\"account_role\"\n v-model=\"account_role\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('form.account_role')\"\n autocomplete=\"off\"\n name=\"account_role\"\n :disabled=disabled\n >\n <option v-for=\"role in this.roleList\" :label=\"role.title\" :value=\"role.slug\">{{ role.title }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"AssetAccountRole\",\n props: {\n value: {},\n errors: {},\n disabled: {\n type: Boolean,\n default: false\n },\n },\n data() {\n return {\n roleList: [],\n account_role: this.value,\n loading: false\n }\n },\n methods: {\n loadRoles: function () {\n //\n axios.get('./api/v1/configuration/firefly.accountRoles')\n .then(response => {\n let content = response.data.data.value;\n for (let i in content) {\n if (content.hasOwnProperty(i)) {\n let current = content[i];\n this.roleList.push({slug: current, title: this.$t('firefly.account_role_' + current)})\n }\n }\n }\n );\n }\n },\n watch: {\n account_role: function (value) {\n this.$emit('set-field', {field: 'account_role', value: value});\n },\n },\n created() {\n this.loadRoles()\n }\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AssetAccountRole.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AssetAccountRole.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AssetAccountRole.vue?vue&type=template&id=715917fd&\"\nimport script from \"./AssetAccountRole.vue?vue&type=script&lang=js&\"\nexport * from \"./AssetAccountRole.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.account_role'))+\"\\n \")]),_vm._v(\" \"),(_vm.loading)?_c('div',{staticClass:\"input-group\"},[_c('span',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(!_vm.loading)?_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.account_role),expression:\"account_role\"}],ref:\"account_role\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('form.account_role'),\"autocomplete\":\"off\",\"name\":\"account_role\",\"disabled\":_vm.disabled},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.account_role=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.roleList),function(role){return _c('option',{attrs:{\"label\":role.title},domProps:{\"value\":role.slug}},[_vm._v(_vm._s(role.title))])}),0)]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - LiabilityType.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.liability_type') }}\n </div>\n <div class=\"input-group\" v-if=\"loading\">\n <span class=\"fas fa-spinner fa-spin\"></span>\n </div>\n <div class=\"input-group\" v-if=\"!loading\">\n <select\n ref=\"liability_type\"\n v-model=\"liability_type\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('form.liability_type')\"\n autocomplete=\"off\"\n name=\"liability_type\"\n :disabled=disabled\n >\n <option v-for=\"type in this.typeList\" :label=\"type.title\" :value=\"type.slug\">{{ type.title }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"LiabilityType\",\n props: {\n value: {},\n errors: {},\n disabled: {\n type: Boolean,\n default: false\n },\n },\n data() {\n return {\n typeList: [],\n liability_type: this.value,\n loading: true\n }\n },\n methods: {\n loadRoles: function () {\n //\n axios.get('./api/v1/configuration/firefly.valid_liabilities')\n .then(response => {\n let content = response.data.data.value;\n for (let i in content) {\n if (content.hasOwnProperty(i)) {\n let current = content[i];\n this.typeList.push({slug: current, title: this.$t('firefly.account_type_' + current)})\n }\n }\n this.loading = false;\n }\n );\n }\n },\n watch: {\n liability_type: function (value) {\n this.$emit('set-field', {field: 'liability_type', value: value});\n },\n },\n created() {\n this.loadRoles()\n }\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LiabilityType.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LiabilityType.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LiabilityType.vue?vue&type=template&id=287f46a1&\"\nimport script from \"./LiabilityType.vue?vue&type=script&lang=js&\"\nexport * from \"./LiabilityType.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.liability_type'))+\"\\n \")]),_vm._v(\" \"),(_vm.loading)?_c('div',{staticClass:\"input-group\"},[_c('span',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(!_vm.loading)?_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.liability_type),expression:\"liability_type\"}],ref:\"liability_type\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('form.liability_type'),\"autocomplete\":\"off\",\"name\":\"liability_type\",\"disabled\":_vm.disabled},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.liability_type=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.typeList),function(type){return _c('option',{attrs:{\"label\":type.title},domProps:{\"value\":type.slug}},[_vm._v(_vm._s(type.title))])}),0)]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - LiabilityDirection.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.liability_direction') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"liability_type\"\n v-model=\"liability_direction\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('form.liability_direction')\"\n autocomplete=\"off\"\n name=\"liability_direction\"\n :disabled=disabled\n >\n <option :label=\"$t('firefly.liability_direction_credit')\" value=\"credit\">{{ $t('firefly.liability_direction_credit') }}</option>\n <option :label=\"$t('firefly.liability_direction_debit')\" value=\"debit\">{{ $t('firefly.liability_direction_debit') }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"LiabilityDirection\",\n props: {\n value: {},\n errors: {},\n disabled: {\n type: Boolean,\n default: false\n },\n },\n data() {\n return {\n liability_direction: this.value\n }\n },\n methods: {\n },\n watch: {\n liability_direction: function (value) {\n this.$emit('set-field', {field: 'liability_direction', value: value});\n },\n }\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LiabilityDirection.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LiabilityDirection.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LiabilityDirection.vue?vue&type=template&id=2db971b5&\"\nimport script from \"./LiabilityDirection.vue?vue&type=script&lang=js&\"\nexport * from \"./LiabilityDirection.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.liability_direction'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.liability_direction),expression:\"liability_direction\"}],ref:\"liability_type\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('form.liability_direction'),\"autocomplete\":\"off\",\"name\":\"liability_direction\",\"disabled\":_vm.disabled},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.liability_direction=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"label\":_vm.$t('firefly.liability_direction_credit'),\"value\":\"credit\"}},[_vm._v(_vm._s(_vm.$t('firefly.liability_direction_credit')))]),_vm._v(\" \"),_c('option',{attrs:{\"label\":_vm.$t('firefly.liability_direction_debit'),\"value\":\"debit\"}},[_vm._v(_vm._s(_vm.$t('firefly.liability_direction_debit')))])])]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - Interest.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.interest') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"interest\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('form.interest')\"\n name=\"interest\"\n :disabled=disabled\n type=\"number\"\n step=\"8\"\n />\n <div class=\"input-group-append\">\n <div class=\"input-group-text\">%</div>\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><span class=\"far fa-trash-alt\"></span></button>\n </div>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\nname: \"Interest\",\n props: {\n value: {},\n errors: {},\n disabled: {\n type: Boolean,\n default: false\n },\n },\n data() {\n return {\n interest: this.value\n }\n },\n watch: {\n interest: function (value) {\n this.$emit('set-field', {field: 'interest', value: value});\n },\n }\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Interest.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Interest.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Interest.vue?vue&type=template&id=7bc9b50e&\"\nimport script from \"./Interest.vue?vue&type=script&lang=js&\"\nexport * from \"./Interest.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.interest'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.interest),expression:\"interest\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('form.interest'),\"name\":\"interest\",\"disabled\":_vm.disabled,\"type\":\"number\",\"step\":\"8\"},domProps:{\"value\":(_vm.interest)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.interest=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('div',{staticClass:\"input-group-text\"},[_vm._v(\"%\")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('span',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - InterestPeriod.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.interest_period') }}\n </div>\n <div class=\"input-group\" v-if=\"loading\">\n <span class=\"fas fa-spinner fa-spin\"></span>\n </div>\n <div class=\"input-group\" v-if=\"!loading\">\n <select\n ref=\"interest_period\"\n v-model=\"interest_period\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('form.interest_period')\"\n autocomplete=\"off\"\n :disabled=disabled\n name=\"interest_period\"\n >\n <option v-for=\"period in this.periodList\" :label=\"period.title\" :value=\"period.slug\">{{ period.title }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"InterestPeriod\",\n props: {\n value: {},\n errors: {},\n disabled: {\n type: Boolean,\n default: false\n },\n },\n data() {\n return {\n periodList: [],\n interest_period: this.value,\n loading: true\n }\n },\n methods: {\n loadPeriods: function () {\n //\n axios.get('./api/v1/configuration/firefly.interest_periods')\n .then(response => {\n let content = response.data.data.value;\n for (let i in content) {\n if (content.hasOwnProperty(i)) {\n let current = content[i];\n this.periodList.push({slug: current, title: this.$t('firefly.interest_calc_' + current)})\n }\n }\n this.loading = false;\n }\n );\n }\n },\n watch: {\n interest_period: function (value) {\n this.$emit('set-field', {field: 'interest_period', value: value});\n },\n },\n created() {\n this.loadPeriods()\n }\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InterestPeriod.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InterestPeriod.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InterestPeriod.vue?vue&type=template&id=31a29b9d&\"\nimport script from \"./InterestPeriod.vue?vue&type=script&lang=js&\"\nexport * from \"./InterestPeriod.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.interest_period'))+\"\\n \")]),_vm._v(\" \"),(_vm.loading)?_c('div',{staticClass:\"input-group\"},[_c('span',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(!_vm.loading)?_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.interest_period),expression:\"interest_period\"}],ref:\"interest_period\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('form.interest_period'),\"autocomplete\":\"off\",\"disabled\":_vm.disabled,\"name\":\"interest_period\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.interest_period=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.periodList),function(period){return _c('option',{attrs:{\"label\":period.title},domProps:{\"value\":period.slug}},[_vm._v(_vm._s(period.title))])}),0)]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - GenericTextInput.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ title }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"localValue\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"title\"\n :name=\"fieldName\"\n :type=\"fieldType\"\n :disabled=disabled\n :step=\"fieldStep\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><span class=\"far fa-trash-alt\"></span></button>\n </div>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"GenericTextInput\",\n props: {\n title: {\n type: String,\n default: ''\n },\n disabled: {\n type: Boolean,\n default: false\n },\n value: {\n type: String,\n default: ''\n },\n fieldName: {\n type: String,\n default: ''\n },\n fieldType: {\n type: String,\n default: 'text'\n },\n fieldStep: {\n type: String,\n default: ''\n },\n errors: {\n type: Array,\n default: function () {\n return [];\n }\n },\n },\n data() {\n return {\n localValue: this.value\n }\n },\n watch: {\n localValue: function (value) {\n this.$emit('set-field', {field: this.fieldName, value: value});\n },\n value: function(value) {\n this.localValue = value;\n }\n }\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericTextInput.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericTextInput.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenericTextInput.vue?vue&type=template&id=22e6c4b7&\"\nimport script from \"./GenericTextInput.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericTextInput.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[((_vm.fieldType)==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.localValue),expression:\"localValue\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.title,\"name\":_vm.fieldName,\"disabled\":_vm.disabled,\"step\":_vm.fieldStep,\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.localValue)?_vm._i(_vm.localValue,null)>-1:(_vm.localValue)},on:{\"change\":function($event){var $$a=_vm.localValue,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.localValue=$$a.concat([$$v]))}else{$$i>-1&&(_vm.localValue=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.localValue=$$c}}}}):((_vm.fieldType)==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.localValue),expression:\"localValue\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.title,\"name\":_vm.fieldName,\"disabled\":_vm.disabled,\"step\":_vm.fieldStep,\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.localValue,null)},on:{\"change\":function($event){_vm.localValue=null}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.localValue),expression:\"localValue\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.title,\"name\":_vm.fieldName,\"disabled\":_vm.disabled,\"step\":_vm.fieldStep,\"type\":_vm.fieldType},domProps:{\"value\":(_vm.localValue)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.localValue=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('span',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - GenericTextarea.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ title }}\n </div>\n <div class=\"input-group\">\n <textarea\n v-model=\"localValue\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"title\"\n :disabled=disabled\n :name=\"fieldName\"\n >{{ localValue }}</textarea>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\nname: \"GenericTextarea\",\n props: {\n title: {\n type: String,\n default: ''\n },\n disabled: {\n type: Boolean,\n default: false\n },\n value: {\n type: String,\n default: ''\n },\n fieldName: {\n type: String,\n default: ''\n },\n errors: {\n type: Array,\n default: function () {\n return [];\n }\n },\n },\n data() {\n return {\n localValue: this.value\n }\n },\n watch: {\n localValue: function (value) {\n this.$emit('set-field', {field: this.fieldName, value: value});\n },\n }\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericTextarea.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericTextarea.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenericTextarea.vue?vue&type=template&id=20587fec&\"\nimport script from \"./GenericTextarea.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericTextarea.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.localValue),expression:\"localValue\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.title,\"disabled\":_vm.disabled,\"name\":_vm.fieldName},domProps:{\"value\":(_vm.localValue)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.localValue=$event.target.value}}},[_vm._v(_vm._s(_vm.localValue))])]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.enableExternalMap)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"300px\"}},[_c('LMap',{ref:\"myMap\",staticStyle:{\"width\":\"100%\",\"height\":\"300px\"},attrs:{\"center\":_vm.center,\"zoom\":_vm.zoom},on:{\"ready\":_vm.prepMap,\"update:zoom\":_vm.zoomUpdated,\"update:center\":_vm.centerUpdated,\"update:bounds\":_vm.boundsUpdated}},[_c('l-tile-layer',{attrs:{\"url\":_vm.url}}),_vm._v(\" \"),_c('l-marker',{attrs:{\"lat-lng\":_vm.marker,\"visible\":_vm.hasMarker}})],1),_vm._v(\" \"),_c('span',[_c('button',{staticClass:\"btn btn-default btn-xs\",on:{\"click\":_vm.clearLocation}},[_vm._v(_vm._s(_vm.$t('firefly.clear_location')))])])],1),_vm._v(\" \"),_c('p',[_vm._v(\" \")]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - GenericLocation.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\" v-if=\"enableExternalMap\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ title }}\n </div>\n <div style=\"width:100%;height:300px;\">\n <LMap\n ref=\"myMap\"\n :center=\"center\"\n :zoom=\"zoom\" style=\"width:100%;height:300px;\"\n @ready=\"prepMap\"\n @update:zoom=\"zoomUpdated\"\n @update:center=\"centerUpdated\"\n @update:bounds=\"boundsUpdated\"\n >\n <l-tile-layer :url=\"url\"></l-tile-layer>\n <l-marker :lat-lng=\"marker\" :visible=\"hasMarker\"></l-marker>\n </LMap>\n <span>\n <button class=\"btn btn-default btn-xs\" @click=\"clearLocation\">{{ $t('firefly.clear_location') }}</button>\n </span>\n </div>\n <p>&nbsp;</p>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\n// If you need to reference 'L', such as in 'L.icon', then be sure to\n// explicitly import 'leaflet' into your component\n// import L from 'leaflet';\n\n\n// OLD\n// import {LMap, LMarker, LTileLayer} from 'vue2-leaflet';\n// import 'leaflet/dist/leaflet.css';\n//\n// import L from 'leaflet';\n//\n// delete L.Icon.Default.prototype._getIconUrl;\n//\n// L.Icon.Default.mergeOptions({\n// iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n// iconUrl: require('leaflet/dist/images/marker-icon.png'),\n// shadowUrl: require('leaflet/dist/images/marker-shadow.png')\n// });\n\n\nimport {LMap, LMarker, LTileLayer} from 'vue2-leaflet';\nimport 'leaflet/dist/leaflet.css';\n\nexport default {\n name: \"GenericLocation\",\n components: {LMap, LTileLayer, LMarker,},\n props: {\n title: {},\n disabled: {\n type: Boolean,\n default: false\n },\n value: {\n type: Object,\n required: true,\n default: function () {\n return {\n // some defaults here.\n };\n }\n },\n errors: {},\n customFields: {},\n },\n data() {\n return {\n availableFields: this.customFields,\n url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n zoom: 3,\n center: [0, 0],\n bounds: null,\n map: null,\n enableExternalMap: false,\n hasMarker: false,\n marker: [0, 0],\n }\n },\n created() {\n // enable_external_map\n this.verifyMapEnabled();\n },\n methods: {\n verifyMapEnabled: function () {\n axios.get('./api/v1/configuration/firefly.enable_external_map').then(response => {\n this.enableExternalMap = response.data.data.value;\n if (true === this.enableExternalMap) {\n this.loadMap();\n }\n\n });\n },\n loadMap: function () {\n if (null === this.value || typeof this.value === 'undefined' || 0 === Object.keys(this.value).length) {\n axios.get('./api/v1/configuration/firefly.default_location').then(response => {\n this.zoom = parseInt(response.data.data.value.zoom_level);\n this.center =\n [\n parseFloat(response.data.data.value.latitude),\n parseFloat(response.data.data.value.longitude),\n ]\n ;\n });\n return;\n }\n if (null !== this.value.zoom_level && null !== this.value.latitude && null !== this.value.longitude) {\n this.zoom = this.value.zoom_level;\n this.center = [\n parseFloat(this.value.latitude),\n parseFloat(this.value.longitude),\n ];\n this.hasMarker = true;\n }\n },\n prepMap: function () {\n this.map = this.$refs.myMap.mapObject;\n this.map.on('contextmenu', this.setObjectLocation);\n this.map.on('zoomend', this.saveZoomLevel);\n },\n setObjectLocation: function (event) {\n this.marker = [event.latlng.lat, event.latlng.lng];\n this.hasMarker = true;\n this.emitEvent();\n },\n saveZoomLevel: function () {\n this.emitEvent();\n },\n clearLocation: function (e) {\n e.preventDefault();\n this.hasMarker = false;\n this.emitEvent();\n },\n emitEvent() {\n this.$emit('set-field', {\n field: \"location\",\n value: {\n zoomLevel: this.zoom,\n lat: this.marker[0],\n lng: this.marker[1],\n hasMarker: this.hasMarker\n }\n }\n );\n },\n zoomUpdated(zoom) {\n this.zoom = zoom;\n },\n centerUpdated(center) {\n this.center = center;\n },\n boundsUpdated(bounds) {\n this.bounds = bounds;\n }\n },\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericLocation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericLocation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenericLocation.vue?vue&type=template&id=43919c61&\"\nimport script from \"./GenericLocation.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericLocation.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - GenericAttachments.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ title }}\n </div>\n <div class=\"input-group\">\n <input\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"title\"\n :name=\"fieldName\"\n multiple\n ref=\"att\"\n @change=\"selectedFile\"\n type=\"file\"\n :disabled=disabled\n />\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"GenericAttachments\",\n props: {\n title: {\n type: String,\n default: ''\n },\n disabled: {\n type: Boolean,\n default: false\n },\n fieldName: {\n type: String,\n default: ''\n },\n errors: {\n type: Array,\n default: function () {\n return [];\n }\n },\n },\n methods: {\n selectedFile: function() {\n this.$emit('selected-attachments');\n },\n },\n data() {\n return {\n localValue: this.value\n }\n },\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericAttachments.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericAttachments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenericAttachments.vue?vue&type=template&id=d69e881e&\"\nimport script from \"./GenericAttachments.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericAttachments.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{ref:\"att\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.title,\"name\":_vm.fieldName,\"multiple\":\"\",\"type\":\"file\",\"disabled\":_vm.disabled},on:{\"change\":_vm.selectedFile}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - GenericTextInput.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ title }}\n </div>\n <div class=\"input-group\">\n <div class=\"form-check\">\n <input class=\"form-check-input\" :disabled=disabled type=\"checkbox\" v-model=\"localValue\" :id=\"fieldName\">\n <label class=\"form-check-label\" :for=\"fieldName\">\n {{ description }}\n </label>\n </div>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"GenericCheckbox\",\n props: {\n title: {\n type: String,\n default: ''\n },\n description: {\n type: String,\n default: ''\n },\n value: {\n type: Boolean,\n default: false\n },\n fieldName: {\n type: String,\n default: ''\n },\n disabled: {\n type: Boolean,\n default: false\n },\n errors: {\n type: Array,\n default: function () {\n return [];\n }\n },\n },\n data() {\n return {\n localValue: this.value\n }\n },\n watch: {\n localValue: function (value) {\n this.$emit('set-field', {field: this.fieldName, value: value});\n },\n }\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericCheckbox.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericCheckbox.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenericCheckbox.vue?vue&type=template&id=b2f2e514&\"\nimport script from \"./GenericCheckbox.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericCheckbox.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.localValue),expression:\"localValue\"}],staticClass:\"form-check-input\",attrs:{\"disabled\":_vm.disabled,\"type\":\"checkbox\",\"id\":_vm.fieldName},domProps:{\"checked\":Array.isArray(_vm.localValue)?_vm._i(_vm.localValue,null)>-1:(_vm.localValue)},on:{\"change\":function($event){var $$a=_vm.localValue,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.localValue=$$a.concat([$$v]))}else{$$i>-1&&(_vm.localValue=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.localValue=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":_vm.fieldName}},[_vm._v(\"\\n \"+_vm._s(_vm.description)+\"\\n \")])])]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - Create.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <Alert :message=\"errorMessage\" type=\"danger\"/>\n <Alert :message=\"successMessage\" type=\"success\"/>\n <form @submit=\"submitForm\" autocomplete=\"off\">\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <div class=\"card card-primary\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.mandatoryFields') }}\n </h3>\n </div>\n <div class=\"card-body\">\n <GenericTextInput :disabled=\"submitting\" v-model=\"name\" field-name=\"name\" :errors=\"errors.name\" :title=\"$t('form.name')\"\n v-on:set-field=\"storeField($event)\"/>\n <Currency :disabled=\"submitting\" v-model=\"currency_id\" :errors=\"errors.currency\" v-on:set-field=\"storeField($event)\"/>\n <AssetAccountRole :disabled=\"submitting\" v-if=\"'asset' === type\" v-model=\"account_role\" :errors=\"errors.account_role\"\n v-on:set-field=\"storeField($event)\"/>\n <LiabilityType :disabled=\"submitting\" v-if=\"'liabilities' === type\" v-model=\"liability_type\" :errors=\"errors.liability_type\"\n v-on:set-field=\"storeField($event)\"/>\n <LiabilityDirection :disabled=\"submitting\" v-if=\"'liabilities' === type\" v-model=\"liability_direction\" :errors=\"errors.liability_direction\"\n v-on:set-field=\"storeField($event)\"/>\n\n <GenericTextInput :disabled=\"submitting\" v-if=\"'liabilities' === type\" field-type=\"number\" field-step=\"any\" v-model=\"liability_amount\"\n field-name=\"liability_amount\" :errors=\"errors.liability_amount\" :title=\"$t('form.amount')\" v-on:set-field=\"storeField($event)\"/>\n <GenericTextInput :disabled=\"submitting\" v-if=\"'liabilities' === type\" field-type=\"date\" v-model=\"liability_date\" field-name=\"liability_date\"\n :errors=\"errors.liability_date\" :title=\"$t('form.date')\" v-on:set-field=\"storeField($event)\"/>\n\n <Interest :disabled=\"submitting\" v-if=\"'liabilities' === type\" v-model=\"interest\" :errors=\"errors.interest\" v-on:set-field=\"storeField($event)\"/>\n <InterestPeriod :disabled=\"submitting\" v-if=\"'liabilities' === type\" v-model=\"interest_period\" :errors=\"errors.interest_period\"\n v-on:set-field=\"storeField($event)\"/>\n\n </div>\n </div>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.optionalFields') }}\n </h3>\n </div>\n <div class=\"card-body\">\n <GenericTextInput :disabled=\"submitting\" v-model=\"iban\" field-name=\"iban\" :errors=\"errors.iban\" :title=\"$t('form.iban')\"\n v-on:set-field=\"storeField($event)\"/>\n <GenericTextInput :disabled=\"submitting\" v-model=\"bic\" field-name=\"bic\" :errors=\"errors.bic\" :title=\"$t('form.BIC')\"\n v-on:set-field=\"storeField($event)\"/>\n <GenericTextInput :disabled=\"submitting\" v-model=\"account_number\" field-name=\"account_number\" :errors=\"errors.account_number\"\n :title=\"$t('form.account_number')\" v-on:set-field=\"storeField($event)\"/>\n\n <GenericTextInput :disabled=\"submitting\" v-if=\"'asset' === type\" field-type=\"amount\" v-model=\"virtual_balance\" field-name=\"virtual_balance\"\n :errors=\"errors.virtual_balance\" :title=\"$t('form.virtual_balance')\" v-on:set-field=\"storeField($event)\"/>\n <GenericTextInput :disabled=\"submitting\" v-if=\"'asset' === type\" field-type=\"amount\" v-model=\"opening_balance\" field-name=\"opening_balance\"\n :errors=\"errors.opening_balance\" :title=\"$t('form.opening_balance')\" v-on:set-field=\"storeField($event)\"/>\n <GenericTextInput :disabled=\"submitting\" v-if=\"'asset' === type\" field-type=\"date\" v-model=\"opening_balance_date\"\n field-name=\"opening_balance_date\" :errors=\"errors.opening_balance_date\" :title=\"$t('form.opening_balance_date')\"\n v-on:set-field=\"storeField($event)\"/>\n\n <GenericCheckbox :disabled=\"submitting\" v-if=\"'asset' === type\" :title=\"$t('form.include_net_worth')\" field-name=\"include_net_worth\"\n v-model=\"include_net_worth\" :errors=\"errors.include_net_worth\" :description=\"$t('form.include_net_worth')\"\n v-on:set-field=\"storeField($event)\"/>\n <GenericCheckbox :disabled=\"submitting\" :title=\"$t('form.active')\" field-name=\"active\"\n v-model=\"active\" :errors=\"errors.active\" :description=\"$t('form.active')\"\n v-on:set-field=\"storeField($event)\"/>\n <GenericTextarea :disabled=\"submitting\" field-name=\"notes\" :title=\"$t('form.notes')\" v-model=\"notes\" :errors=\"errors.notes\"\n v-on:set-field=\"storeField($event)\"/>\n\n <GenericLocation :disabled=\"submitting\" v-model=\"location\" :title=\"$t('form.location')\" :errors=\"errors.location\"\n v-on:set-field=\"storeField($event)\"/>\n <GenericAttachments :disabled=\"submitting\" :title=\"$t('form.attachments')\" field-name=\"attachments\" :errors=\"errors.attachments\"/>\n\n\n </div>\n </div>\n </div>\n </div>\n </form>\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12 offset-xl-6 offset-lg-6\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col-lg-6 offset-lg-6\">\n <button :disabled=submitting type=\"button\" @click=\"submitForm\" class=\"btn btn-success btn-block\">{{\n $t('firefly.store_new_' + type + '_account')\n }}\n </button>\n <div class=\"form-check\">\n <input id=\"createAnother\" v-model=\"createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"createAnother\">\n <span class=\"small\">{{ $t('firefly.create_another') }}</span>\n </label>\n </div>\n <div class=\"form-check\">\n <input id=\"resetFormAfter\" v-model=\"resetFormAfter\" :disabled=\"!createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"resetFormAfter\">\n <span class=\"small\">{{ $t('firefly.reset_after') }}</span>\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\nimport Currency from \"./Currency\";\nimport AssetAccountRole from \"./AssetAccountRole\"\nimport LiabilityType from \"./LiabilityType\";\nimport LiabilityDirection from \"./LiabilityDirection\";\nimport Interest from \"./Interest\";\nimport InterestPeriod from \"./InterestPeriod\";\nimport GenericTextInput from \"../form/GenericTextInput\";\nimport GenericTextarea from \"../form/GenericTextarea\";\nimport GenericLocation from \"../form/GenericLocation\";\nimport GenericAttachments from \"../form/GenericAttachments\";\nimport GenericCheckbox from \"../form/GenericCheckbox\";\nimport Alert from '../partials/Alert';\n\nexport default {\n name: \"Create\",\n components: {\n Currency, AssetAccountRole, LiabilityType, LiabilityDirection, Interest, InterestPeriod,\n GenericTextInput, GenericTextarea, GenericLocation, GenericAttachments, GenericCheckbox, Alert\n\n },\n created() {\n this.errors = lodashClonedeep(this.defaultErrors);\n let pathName = window.location.pathname;\n let parts = pathName.split('/');\n this.type = parts[parts.length - 1];\n },\n data() {\n return {\n submitting: false,\n successMessage: '',\n errorMessage: '',\n createAnother: false,\n resetFormAfter: false,\n returnedId: 0,\n returnedTitle: '',\n\n // info\n name: '',\n type: 'any',\n currency_id: null,\n\n // liabilities\n liability_type: 'Loan',\n liability_direction: 'debit',\n liability_amount: null,\n liability_date: null,\n interest: null,\n interest_period: 'monthly',\n\n // optional fields\n iban: null,\n bic: null,\n account_number: null,\n virtual_balance: null,\n opening_balance: null,\n opening_balance_date: null,\n include_net_worth: true,\n active: true,\n notes: null,\n location: {},\n\n\n account_role: 'defaultAsset',\n errors: {},\n defaultErrors: {\n name: [],\n currency: [],\n account_role: [],\n liability_type: [],\n liability_direction: [],\n liability_amount: [],\n liability_date: [],\n interest: [],\n interest_period: [],\n iban: [],\n bic: [],\n account_number: [],\n virtual_balance: [],\n opening_balance: [],\n opening_balance_date: [],\n include_net_worth: [],\n notes: [],\n location: [],\n }\n }\n },\n methods: {\n storeField: function (payload) {\n // console.log(payload);\n if ('location' === payload.field) {\n if (true === payload.value.hasMarker) {\n this.location = payload.value;\n return;\n }\n this.location = {};\n return;\n }\n this[payload.field] = payload.value;\n },\n submitForm: function (e) {\n e.preventDefault();\n this.submitting = true;\n let submission = this.getSubmission();\n // console.log('Will submit:');\n // console.log(submission);\n let url = './api/v1/accounts';\n\n axios.post(url, submission)\n .then(response => {\n this.errors = lodashClonedeep(this.defaultErrors);\n // console.log('success!');\n this.returnedId = parseInt(response.data.data.id);\n this.returnedTitle = response.data.data.attributes.name;\n this.successMessage = this.$t('firefly.stored_new_account_js', {ID: this.returnedId, name: this.returnedTitle});\n // stay here is false?\n if (false === this.createAnother) {\n window.location.href = (window.previousURL ?? '/') + '?account_id=' + this.returnedId + '&message=created';\n return;\n }\n this.submitting = false;\n if (this.resetFormAfter) {\n // console.log('reset!');\n this.name = '';\n this.liability_type = 'Loan';\n this.liability_direction = 'debit';\n this.liability_amount = null;\n this.liability_date = null;\n this.interest = null;\n this.interest_period = 'monthly';\n this.iban = null;\n this.bic = null;\n this.account_number = null;\n this.virtual_balance = null;\n this.opening_balance = null;\n this.opening_balance_date = null;\n this.include_net_worth = true;\n this.active = true;\n this.notes = null;\n this.location = {};\n }\n })\n .catch(error => {\n this.submitting = false;\n this.parseErrors(error.response.data);\n });\n },\n parseErrors: function (errors) {\n this.errors = lodashClonedeep(this.defaultErrors);\n // console.log(errors);\n for (let i in errors.errors) {\n if (errors.errors.hasOwnProperty(i)) {\n this.errors[i] = errors.errors[i];\n }\n if('liability_start_date' === i) {\n this.errors.opening_balance_date = errors.errors[i];\n }\n }\n },\n getSubmission: function () {\n let submission = {\n \"name\": this.name,\n \"type\": this.type,\n \"iban\": this.iban,\n \"bic\": this.bic,\n \"account_number\": this.account_number,\n \"currency_id\": this.currency_id,\n \"virtual_balance\": this.virtual_balance,\n \"active\": this.active,\n \"order\": 31337,\n \"include_net_worth\": this.include_net_worth,\n \"account_role\": this.account_role,\n \"notes\": this.notes,\n };\n if ('liabilities' === this.type) {\n submission.liability_type = this.liability_type.toLowerCase();\n submission.interest = this.interest;\n submission.interest_period = this.interest_period;\n submission.liability_amount = this.liability_amount;\n submission.liability_start_date = this.liability_date;\n submission.liability_direction = this.liability_direction;\n }\n if ((null !== this.opening_balance || null !== this.opening_balance_date) && 'asset' === this.type) {\n submission.opening_balance = this.opening_balance;\n submission.opening_balance_date = this.opening_balance_date;\n }\n if('' === submission.opening_balance) {\n delete submission.opening_balance;\n }\n\n if ('asset' === this.type && 'ccAsset' === this.account_role) {\n submission.credit_card_type = 'monthlyFull';\n submission.monthly_payment_date = '2021-01-01';\n }\n if (Object.keys(this.location).length >= 3) {\n submission.longitude = this.location.lng;\n submission.latitude = this.location.lat;\n submission.zoom_level = this.location.zoomLevel;\n }\n\n return submission;\n }\n }\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Create.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Create.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Create.vue?vue&type=template&id=abb8f44a&\"\nimport script from \"./Create.vue?vue&type=script&lang=js&\"\nexport * from \"./Create.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Alert',{attrs:{\"message\":_vm.errorMessage,\"type\":\"danger\"}}),_vm._v(\" \"),_c('Alert',{attrs:{\"message\":_vm.successMessage,\"type\":\"success\"}}),_vm._v(\" \"),_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":_vm.submitForm}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('div',{staticClass:\"card card-primary\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.mandatoryFields'))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('GenericTextInput',{attrs:{\"disabled\":_vm.submitting,\"field-name\":\"name\",\"errors\":_vm.errors.name,\"title\":_vm.$t('form.name')},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:\"name\"}}),_vm._v(\" \"),_c('Currency',{attrs:{\"disabled\":_vm.submitting,\"errors\":_vm.errors.currency},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.currency_id),callback:function ($$v) {_vm.currency_id=$$v},expression:\"currency_id\"}}),_vm._v(\" \"),('asset' === _vm.type)?_c('AssetAccountRole',{attrs:{\"disabled\":_vm.submitting,\"errors\":_vm.errors.account_role},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.account_role),callback:function ($$v) {_vm.account_role=$$v},expression:\"account_role\"}}):_vm._e(),_vm._v(\" \"),('liabilities' === _vm.type)?_c('LiabilityType',{attrs:{\"disabled\":_vm.submitting,\"errors\":_vm.errors.liability_type},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.liability_type),callback:function ($$v) {_vm.liability_type=$$v},expression:\"liability_type\"}}):_vm._e(),_vm._v(\" \"),('liabilities' === _vm.type)?_c('LiabilityDirection',{attrs:{\"disabled\":_vm.submitting,\"errors\":_vm.errors.liability_direction},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.liability_direction),callback:function ($$v) {_vm.liability_direction=$$v},expression:\"liability_direction\"}}):_vm._e(),_vm._v(\" \"),('liabilities' === _vm.type)?_c('GenericTextInput',{attrs:{\"disabled\":_vm.submitting,\"field-type\":\"number\",\"field-step\":\"any\",\"field-name\":\"liability_amount\",\"errors\":_vm.errors.liability_amount,\"title\":_vm.$t('form.amount')},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.liability_amount),callback:function ($$v) {_vm.liability_amount=$$v},expression:\"liability_amount\"}}):_vm._e(),_vm._v(\" \"),('liabilities' === _vm.type)?_c('GenericTextInput',{attrs:{\"disabled\":_vm.submitting,\"field-type\":\"date\",\"field-name\":\"liability_date\",\"errors\":_vm.errors.liability_date,\"title\":_vm.$t('form.date')},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.liability_date),callback:function ($$v) {_vm.liability_date=$$v},expression:\"liability_date\"}}):_vm._e(),_vm._v(\" \"),('liabilities' === _vm.type)?_c('Interest',{attrs:{\"disabled\":_vm.submitting,\"errors\":_vm.errors.interest},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.interest),callback:function ($$v) {_vm.interest=$$v},expression:\"interest\"}}):_vm._e(),_vm._v(\" \"),('liabilities' === _vm.type)?_c('InterestPeriod',{attrs:{\"disabled\":_vm.submitting,\"errors\":_vm.errors.interest_period},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.interest_period),callback:function ($$v) {_vm.interest_period=$$v},expression:\"interest_period\"}}):_vm._e()],1)])]),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.optionalFields'))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('GenericTextInput',{attrs:{\"disabled\":_vm.submitting,\"field-name\":\"iban\",\"errors\":_vm.errors.iban,\"title\":_vm.$t('form.iban')},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.iban),callback:function ($$v) {_vm.iban=$$v},expression:\"iban\"}}),_vm._v(\" \"),_c('GenericTextInput',{attrs:{\"disabled\":_vm.submitting,\"field-name\":\"bic\",\"errors\":_vm.errors.bic,\"title\":_vm.$t('form.BIC')},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.bic),callback:function ($$v) {_vm.bic=$$v},expression:\"bic\"}}),_vm._v(\" \"),_c('GenericTextInput',{attrs:{\"disabled\":_vm.submitting,\"field-name\":\"account_number\",\"errors\":_vm.errors.account_number,\"title\":_vm.$t('form.account_number')},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.account_number),callback:function ($$v) {_vm.account_number=$$v},expression:\"account_number\"}}),_vm._v(\" \"),('asset' === _vm.type)?_c('GenericTextInput',{attrs:{\"disabled\":_vm.submitting,\"field-type\":\"amount\",\"field-name\":\"virtual_balance\",\"errors\":_vm.errors.virtual_balance,\"title\":_vm.$t('form.virtual_balance')},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.virtual_balance),callback:function ($$v) {_vm.virtual_balance=$$v},expression:\"virtual_balance\"}}):_vm._e(),_vm._v(\" \"),('asset' === _vm.type)?_c('GenericTextInput',{attrs:{\"disabled\":_vm.submitting,\"field-type\":\"amount\",\"field-name\":\"opening_balance\",\"errors\":_vm.errors.opening_balance,\"title\":_vm.$t('form.opening_balance')},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.opening_balance),callback:function ($$v) {_vm.opening_balance=$$v},expression:\"opening_balance\"}}):_vm._e(),_vm._v(\" \"),('asset' === _vm.type)?_c('GenericTextInput',{attrs:{\"disabled\":_vm.submitting,\"field-type\":\"date\",\"field-name\":\"opening_balance_date\",\"errors\":_vm.errors.opening_balance_date,\"title\":_vm.$t('form.opening_balance_date')},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.opening_balance_date),callback:function ($$v) {_vm.opening_balance_date=$$v},expression:\"opening_balance_date\"}}):_vm._e(),_vm._v(\" \"),('asset' === _vm.type)?_c('GenericCheckbox',{attrs:{\"disabled\":_vm.submitting,\"title\":_vm.$t('form.include_net_worth'),\"field-name\":\"include_net_worth\",\"errors\":_vm.errors.include_net_worth,\"description\":_vm.$t('form.include_net_worth')},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.include_net_worth),callback:function ($$v) {_vm.include_net_worth=$$v},expression:\"include_net_worth\"}}):_vm._e(),_vm._v(\" \"),_c('GenericCheckbox',{attrs:{\"disabled\":_vm.submitting,\"title\":_vm.$t('form.active'),\"field-name\":\"active\",\"errors\":_vm.errors.active,\"description\":_vm.$t('form.active')},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.active),callback:function ($$v) {_vm.active=$$v},expression:\"active\"}}),_vm._v(\" \"),_c('GenericTextarea',{attrs:{\"disabled\":_vm.submitting,\"field-name\":\"notes\",\"title\":_vm.$t('form.notes'),\"errors\":_vm.errors.notes},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.notes),callback:function ($$v) {_vm.notes=$$v},expression:\"notes\"}}),_vm._v(\" \"),_c('GenericLocation',{attrs:{\"disabled\":_vm.submitting,\"title\":_vm.$t('form.location'),\"errors\":_vm.errors.location},on:{\"set-field\":function($event){return _vm.storeField($event)}},model:{value:(_vm.location),callback:function ($$v) {_vm.location=$$v},expression:\"location\"}}),_vm._v(\" \"),_c('GenericAttachments',{attrs:{\"disabled\":_vm.submitting,\"title\":_vm.$t('form.attachments'),\"field-name\":\"attachments\",\"errors\":_vm.errors.attachments}})],1)])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12 offset-xl-6 offset-lg-6\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-6 offset-lg-6\"},[_c('button',{staticClass:\"btn btn-success btn-block\",attrs:{\"disabled\":_vm.submitting,\"type\":\"button\"},on:{\"click\":_vm.submitForm}},[_vm._v(_vm._s(_vm.$t('firefly.store_new_' + _vm.type + '_account'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.createAnother),expression:\"createAnother\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"createAnother\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.createAnother)?_vm._i(_vm.createAnother,null)>-1:(_vm.createAnother)},on:{\"change\":function($event){var $$a=_vm.createAnother,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.createAnother=$$a.concat([$$v]))}else{$$i>-1&&(_vm.createAnother=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.createAnother=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"createAnother\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.create_another')))])])]),_vm._v(\" \"),_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.resetFormAfter),expression:\"resetFormAfter\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"resetFormAfter\",\"disabled\":!_vm.createAnother,\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.resetFormAfter)?_vm._i(_vm.resetFormAfter,null)>-1:(_vm.resetFormAfter)},on:{\"change\":function($event){var $$a=_vm.resetFormAfter,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.resetFormAfter=$$a.concat([$$v]))}else{$$i>-1&&(_vm.resetFormAfter=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.resetFormAfter=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"resetFormAfter\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.reset_after')))])])])])])])])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * create.js\n * Copyright (c) 2021 james@firefly-iii.org\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n\n\nrequire('../../bootstrap');\n\nimport Create from \"../../components/accounts/Create\";\n\n// i18n\nlet i18n = require('../../i18n');\n\nlet props = {};\nconst app = new Vue({\n i18n,\n render(createElement) {\n return createElement(Create, {props: props});\n }\n }).$mount('#accounts_create');\n","<!--\n - Alert.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n<template>\n <div v-if=\"message.length > 0\" :class=\"'alert alert-' + type + ' alert-dismissible'\">\n <button aria-hidden=\"true\" class=\"close\" data-dismiss=\"alert\" type=\"button\">×</button>\n <h5>\n <span v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></span>\n <span v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></span>\n <span v-if=\"'danger' === type\">{{ $t(\"firefly.flash_error\") }}</span>\n <span v-if=\"'success' === type\">{{ $t(\"firefly.flash_success\") }}</span>\n </h5>\n <span v-html=\"message\"></span>\n </div>\n</template>\n<script>\nexport default {\n name: \"Alert\",\n props: ['message', 'type']\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Alert.vue?vue&type=template&id=45eef68c&\"\nimport script from \"./Alert.vue?vue&type=script&lang=js&\"\nexport * from \"./Alert.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.message.length > 0)?_c('div',{class:'alert alert-' + _vm.type + ' alert-dismissible'},[_c('button',{staticClass:\"close\",attrs:{\"aria-hidden\":\"true\",\"data-dismiss\":\"alert\",\"type\":\"button\"}},[_vm._v(\"×\")]),_vm._v(\" \"),_c('h5',[('danger' === _vm.type)?_c('span',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',{staticClass:\"icon fas fa-thumbs-up\"}):_vm._e(),_vm._v(\" \"),('danger' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_error\")))]):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_success\")))]):_vm._e()]),_vm._v(\" \"),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.message)}})]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"],"sourceRoot":""}