{"version":3,"sources":["webpack:///./src/views/Settings/DepositWithdrawalCodebook.vue?0c50","webpack:///./src/views/Settings/DepositWithdrawalCodebook.vue?a4c9","webpack:///./src/components/codebook/DepositWithdrawalCodebookTable.vue?8a80","webpack:///./src/components/codebook/TransactionDescriptionForm.vue?4f8d","webpack:///./src/shared/models/transactionDescriptionCodebooks.ts","webpack:///./src/components/codebook/TransactionDescriptionForm.vue","webpack:///./src/components/codebook/TransactionDescriptionForm.vue?1cbf","webpack:///./src/components/codebook/TransactionDescriptionForm.vue?31e0","webpack:///./src/components/codebook/DepositWithdrawalCodebookTable.vue","webpack:///./src/components/codebook/DepositWithdrawalCodebookTable.vue?18cb","webpack:///./src/components/codebook/DepositWithdrawalCodebookTable.vue?6788","webpack:///./src/views/Settings/DepositWithdrawalCodebook.vue","webpack:///./src/views/Settings/DepositWithdrawalCodebook.vue?d139","webpack:///./src/views/Settings/DepositWithdrawalCodebook.vue?1310","webpack:///./src/components/codebook/DepositWithdrawalCodebookTable.vue?15bd","webpack:///./src/components/codebook/TransactionDescriptionForm.vue?1e0f"],"names":["render","_vm","this","_h","$createElement","_c","_self","key","sensitiveKey","staticClass","class","$vuetify","breakpoint","xsOnly","staticRenderFns","attrs","loading","headers","list","result","count","options","settingsOpen","on","$event","rowDoubleClick","scopedSlots","_u","fn","ref","header","text","stopPropagation","model","value","filters","callback","$$v","$set","expression","item","_v","_s","$t","transactionTypeName","_g","_b","openItemDetails","deleteItem","length","_e","proxy","addItem","transactionDescriptionFormOpen","transactionDescriptionId","load","open","initialForm","descriptionForm","isFormValid","$emit","theme","dark","saving","submit","close","id","fkey","rules","required","maxLength","x","textResourceKey","_n","language","fresh","old","loadTransactionDescription","getTransactionTypes","mustBePositive","max","v","$refs","form","axios","get","then","res","data","finally","rightDrawer","clickOverlay","validate","$store","dispatch","color","message","timeout","account","update","post","localize","refresh","Function","put","default","components","NumericInput","RightDrawer","NoData","component","VAlert","VBtn","VCol","VForm","VProgressLinear","VRow","VSelect","VTextField","VToolbar","active","exportHeaders","sortable","description","debounce","page","itemsPerPage","sortBy","sortDesc","groupBy","groupDesc","multiSort","mustSort","val","isEqual","debouncedLoad","initLoaded","params","queryParams","$skip","$top","$orderby","map","$count","e","actions","fun","deleteItemConfirm","delete","deep","GenericPMSTableMenu","SortableHeadersTable","TransactionDescriptionForm","directives","SortableTable","VIcon","VList","VListItem","VListItemContent","VListItemIcon","VListItemTitle","VMenu","DepositWithdrawalCodebookTable","mixins","GlobalFilterSensitiveMixin"],"mappings":"kKAAA,W,yCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,iCAAiC,CAACE,IAAIN,EAAIO,aAAaC,YAAY,iBAAiBC,MAAOT,EAAIU,SAASC,WAAWC,OAAS,UAAW,MAAQ,IACxPC,EAAkB,G,4DCDlB,EAAS,WAAa,IAAIb,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACI,YAAY,2BAA2B,CAACJ,EAAG,uBAAuB,CAACI,YAAY,+BAA+BM,MAAM,CAAC,eAAe,GAAG,OAAS,OAAO,WAAW,KAAK,QAAUd,EAAIe,QAAQ,QAAUf,EAAIgB,QAAQ,MAAQhB,EAAIiB,KAAKC,OAAO,sBAAsBlB,EAAIiB,KAAKE,MAAM,QAAUnB,EAAIoB,QAAQ,eAAe,CAAE,yBAA0B,CAAC,GAAI,GAAI,GAAI,MAAO,aAAepB,EAAIqB,aAAa,UAAY,2BAA2BC,GAAG,CAAC,iBAAiB,SAASC,GAAQvB,EAAIgB,QAAQO,GAAQ,iBAAiB,SAASA,GAAQvB,EAAIoB,QAAQG,GAAQ,sBAAsB,SAASA,GAAQvB,EAAIqB,aAAaE,GAAQ,uBAAuB,SAASA,GAAQvB,EAAIqB,aAAaE,GAAQ,eAAevB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,2BAMzB,MAjFkB,EAAoC,gBAXxD,eAAU,CACT3C,WAAY,CACV4C,sBAAA,KACAC,uBAAA,KACAC,2BAAA,EACA3C,SAAA,MAEF4C,WAAY,CACVC,cAAA,WAGiB,WCjIsZ,I,sFCQva,GAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIa,MAAiB,QAahC,IAAkB,GAAW,CAAC1C,OAAA,KAAK2C,QAAA,KAAMC,QAAA,KAAMC,YAAA,KAAUC,iBAAA,OAAiBC,iBAAA,KAAcC,eAAA,OAAeC,SAAA,KAAM3C,aAAA,O,iBCdxF,GAAN,qIAAsC,QAAhC,GAAuB,gBAR3C,eAAU,CACTZ,WAAY,CACRwD,mCAEJC,OAAQ,CACNC,GAAA,SAGiB,cClBiZ,MCQla,I,UAAY,eACd,GACApK,EACAc,GACA,EACA,KACA,WACA,OAIa,gB,2CCnBf,W,yDCAA","file":"js/chunk-0760b604.c00dcabb.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DepositWithdrawalCodebook.vue?vue&type=style&index=0&id=2c3e64ae&scoped=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('DepositWithdrawalCodebookTable',{key:_vm.sensitiveKey,staticClass:\"codebook-table\",class:(_vm.$vuetify.breakpoint.xsOnly ? 'xs mt-4' :'' )})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"transactionDescriptions\"},[_c('SortableHeadersTable',{staticClass:\"transactionDescriptionsTable\",attrs:{\"fixed-header\":\"\",\"height\":\"100%\",\"item-key\":\"id\",\"loading\":_vm.loading,\"headers\":_vm.headers,\"items\":_vm.list.result,\"server-items-length\":_vm.list.count,\"options\":_vm.options,\"footer-props\":{ 'items-per-page-options': [15, 25, 50, 100] },\"settingsOpen\":_vm.settingsOpen,\"tableName\":\"transactionDescriptions\"},on:{\"update:headers\":function($event){_vm.headers=$event},\"update:options\":function($event){_vm.options=$event},\"update:settingsOpen\":function($event){_vm.settingsOpen=$event},\"update:settings-open\":function($event){_vm.settingsOpen=$event},\"dblclick:row\":_vm.rowDoubleClick},scopedSlots:_vm._u([{key:\"header.description\",fn:function(ref){\nvar header = ref.header;\nreturn [_c('v-text-field',{staticClass:\"header-filter\",attrs:{\"label\":header.text},on:{\"click\":function($event){$event.stopPropagation();}},model:{value:(_vm.filters.description),callback:function ($$v) {_vm.$set(_vm.filters, \"description\", $$v)},expression:\"filters.description\"}})]}},{key:\"header.transactionType\",fn:function(ref){\nvar header = ref.header;\nreturn [_c('v-text-field',{staticClass:\"header-filter\",attrs:{\"label\":header.text},on:{\"click\":function($event){$event.stopPropagation();}},model:{value:(_vm.filters.transactionType),callback:function ($$v) {_vm.$set(_vm.filters, \"transactionType\", $$v)},expression:\"filters.transactionType\"}})]}},{key:\"header.account\",fn:function(ref){\nvar header = ref.header;\nreturn [_c('v-text-field',{staticClass:\"header-filter\",attrs:{\"label\":header.text},on:{\"click\":function($event){$event.stopPropagation();}},model:{value:(_vm.filters.account),callback:function ($$v) {_vm.$set(_vm.filters, \"account\", $$v)},expression:\"filters.account\"}})]}},{key:\"item.transactionTypeId\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',[_vm._v(_vm._s(_vm.$t(item.transactionTypeName)))])]}},{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-menu',{attrs:{\"bottom\":\"\",\"left\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"small\":\"\",\"icon\":\"\"}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"fal fa-fw fa-ellipsis-v\")])],1)]}}],null,true)},[_c('v-list',[_c('v-list-item',{on:{\"click\":function($event){return _vm.openItemDetails(item)}}},[_c('v-list-item-icon',[_c('v-icon',{staticClass:\"mr-2\",attrs:{\"small\":\"\",\"color\":\"primary\"}},[_vm._v(\"fal fa-pen\")])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(_vm.$t(\"Edit\")))])],1)],1),_c('v-list-item',{attrs:{\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.deleteItem(item)}}},[_c('v-list-item-icon',[_c('v-icon',{staticClass:\"mr-2\",attrs:{\"small\":\"\",\"color\":\"red\"}},[_vm._v(\"fal fa-trash\")])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(_vm.$t(\"Delete\")))])],1)],1)],1)],1)]}},{key:\"body.append\",fn:function(){return [((!_vm.list.result || _vm.list.result.length == 0) && !_vm.loading)?_c('td',{attrs:{\"colspan\":_vm.headers.length}},[_c('NoData',{attrs:{\"icon\":\"fas fa-briefcase\"}})],1):_vm._e()]},proxy:true}])}),_c('v-btn',{staticClass:\"add-button\",attrs:{\"fab\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.addItem()}}},[_c('v-icon',[_vm._v(\"fal fa-plus\")])],1),_c('TransactionDescriptionForm',{attrs:{\"open\":_vm.transactionDescriptionFormOpen,\"id\":_vm.transactionDescriptionId},on:{\"update:open\":function($event){_vm.transactionDescriptionFormOpen=$event},\"callback\":_vm.load}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('RightDrawer',{ref:\"drawer\",staticClass:\"drawer\",attrs:{\"open\":_vm.open,\"initial\":_vm.initialForm,\"watched\":_vm.descriptionForm,\"is-watched-valid\":_vm.isFormValid},on:{\"update:open\":function($event){return _vm.$emit('update:open', $event)}},scopedSlots:_vm._u([{key:\"append\",fn:function(){return [_c('div',{staticClass:\"transaction-description-form-actions\",class:{ 'theme--dark': _vm.$vuetify.theme.dark }},[_c('v-btn',{attrs:{\"color\":\"primary\",\"loading\":_vm.saving},on:{\"click\":_vm.submit}},[_vm._v(_vm._s(_vm.$t(\"Save\")))]),_c('v-btn',{on:{\"click\":_vm.close}},[_vm._v(_vm._s(_vm.$t(\"Close\")))])],1)]},proxy:true}])},[_c('v-toolbar',[_c('div',{staticClass:\"transaction-description-form-title\"},[(!!_vm.descriptionForm.id)?_c('span',[_vm._v(_vm._s(_vm.$t(\"TransactionDescriptionForm.Editing\")))]):_vm._e(),(!_vm.descriptionForm.id)?_c('span',[_vm._v(_vm._s(_vm.$t(\"TransactionDescriptionForm.New\")))]):_vm._e()])]),_c('v-progress-linear',{attrs:{\"indeterminate\":\"\",\"active\":_vm.loading,\"bottom\":\"\"}}),_c('v-form',{key:_vm.fkey,ref:\"form\",staticClass:\"form\",attrs:{\"disabled\":_vm.loading},model:{value:(_vm.isFormValid),callback:function ($$v) {_vm.isFormValid=$$v},expression:\"isFormValid\"}},[_c('div',{staticClass:\"form-items\"},[_c('v-row',[_c('v-col',{attrs:{\"lg\":\"6\",\"md\":\"6\",\"sm\":\"12\"}},[_c('v-text-field',{attrs:{\"label\":_vm.$t('TransactionDescriptionCodebook.DescriptionItem') + '*',\"rules\":[_vm.rules.required, _vm.maxLength(2000)]},model:{value:(_vm.descriptionForm.description),callback:function ($$v) {_vm.$set(_vm.descriptionForm, \"description\", $$v)},expression:\"descriptionForm.description\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-select',{attrs:{\"label\":_vm.$t('TransactionDescriptionCodebook.TransactionType') + '*',\"items\":_vm.list.result,\"item-value\":\"id\",\"item-text\":function (x) { return _vm.$t(x.textResourceKey); },\"rules\":[_vm.rules.required]},model:{value:(_vm.descriptionForm.transactionTypeId),callback:function ($$v) {_vm.$set(_vm.descriptionForm, \"transactionTypeId\", $$v)},expression:\"descriptionForm.transactionTypeId\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-alert',{staticClass:\"account-info\",attrs:{\"outlined\":\"\",\"type\":\"info\",\"border\":\"left\"}},[_vm._v(_vm._s(_vm.$t(\"TransactionDescriptionCodebook.AccountInfo\")))])],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{attrs:{\"type\":\"number\",\"label\":_vm.$t('TransactionDescriptionCodebook.Account')},model:{value:(_vm.descriptionForm.account),callback:function ($$v) {_vm.$set(_vm.descriptionForm, \"account\", _vm._n($$v))},expression:\"descriptionForm.account\"}})],1)],1)],1),_c('v-btn',{staticClass:\"d-none\",attrs:{\"type\":\"submit\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export class TransactionDescription {\n id = 0;\n description = '';\n transactionTypeName='';\n transactionTypeId = 0;\n account = null;\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Watch, Prop, Ref } from \"vue-property-decorator\";\nimport RightDrawer from \"@/components/misc/RightDrawer.vue\";\nimport * as _ from \"lodash\";\nimport NoData from \"@/components/misc/NoData.vue\";\n\nimport NumericInput from \"../misc/NumericInput.vue\";\nimport { Getter } from \"vuex-class\";\nimport { TransactionType } from \"@/shared/models/transactionType\";\nimport { TransactionDescription } from \"@/shared/models/transactionDescriptionCodebooks\";\nimport { ListModel } from \"@/shared/models/listModel\";\n\n@Component({\n components: {\n NumericInput,\n RightDrawer,\n NoData,\n },\n})\nexport default class TransactionDescriptionForm extends Vue {\n @Prop({ default: false }) open!: boolean;\n @Prop() id?: number | null;\n @Prop() callback!: () => any;\n @Getter(\"language/language\") language?: string;\n get internalLanguage() {\n return this.language ?? \"hr-HR\";\n }\n //@Getter(\"codebooks/transactionTypes\") transactionTypes?: TransactionType[];\n\n fkey = 0;\n\n loading = false;\n saving = false;\n initialForm = new TransactionDescription();\n descriptionForm = new TransactionDescription();\n\n list: ListModel = {\n count: 0,\n result: [],\n };\n\n @Watch(\"open\")\n async openWatch(fresh: boolean, old: boolean) {\n if (fresh && !old) {\n this.fkey++;\n }\n if (fresh && this.id) {\n await this.loadTransactionDescription();\n this.initialForm = _.cloneDeep(this.descriptionForm);\n } else {\n this.descriptionForm = new TransactionDescription();\n this.initialForm = _.cloneDeep(this.descriptionForm);\n }\n\n this.getTransactionTypes();\n } \n\n get rules() {\n return {\n required: (value: any) => !!value || this.$t(\"Validation.Required\"),\n mustBePositive: (value: any) =>\n +value > 0 || this.$t(\"Validation.MustBeZeroOrPositive\"),\n };\n }\n maxLength(max: number) {\n return (v: string) =>\n v.length <= max ? true : this.$t(\"Validation.MaxLength\", { count: max });\n }\n\n isFormValid = false;\n get submitDisabled(): boolean {\n return this.isFormValid && !this.loading;\n }\n\n get form(): Vue & { validate: () => boolean } {\n return this.$refs.form as Vue & { validate: () => boolean };\n }\n\n getTransactionTypes(){\n this.loading = true;\n this.axios\n .get>(\"codebooks/transactionTypes\", {})\n .then((res) => {\n this.list = res.data;\n })\n .finally(() => (this.loading = false))\n\n return this.list;\n }\n\n @Ref(\"drawer\") rightDrawer?: RightDrawer;\n\n close() {\n this.rightDrawer?.clickOverlay();\n }\n\n async submit() {\n this.form.validate();\n if (!this.isFormValid) {\n this.$store.dispatch(\"showNotification\", {\n color: \"error\",\n message: this.$t(\"Changes are invalid or incomplete\"),\n timeout: 5000,\n });\n\n return;\n }\n\n this.saving = true;\n if(this.descriptionForm.account === \"\") {\n this.descriptionForm.account = null;\n }\n if (this.descriptionForm.id && this.descriptionForm.id != 0) {\n this.update();\n } else {\n await this.axios\n .post(\"/codebooks/transactionDescriptions\", { ...this.descriptionForm })\n .then(() => {\n this.initialForm = _.cloneDeep(this.descriptionForm);\n this.$store.dispatch(\"showNotification\", {\n color: \"success\",\n message: this.$t(\"TransactionDescriptionCodebook.SaveSuccess\"),\n timeout: 5000,\n localize: true,\n });\n this.$emit(\"update:open\", false);\n this.$emit(\"callback\");\n })\n .finally(() => {\n this.saving = false;\n this.refresh();\n });\n }\n }\n\n refresh() {\n if (this.callback instanceof Function) {\n this.callback();\n }\n }\n\n async update() {\n await this.axios\n .put(`/codebooks/transactionDescriptions/${this.id}`, this.descriptionForm)\n .then(() => {\n this.$store.dispatch(\"showNotification\", {\n color: \"success\",\n message: this.$t(\"TransactionDescriptionCodebook.SaveSuccess\"),\n timeout: 5000,\n localize: true,\n });\n this.$emit(\"update:open\", false);\n this.$emit(\"callback\");\n })\n .finally(() => {\n this.saving = false;\n this.refresh();\n });\n }\n\n async loadTransactionDescription() {\n this.loading = true;\n await Vue.axios\n .get(\"/codebooks/transactionDescriptions/\" + this.id)\n .then((res) => {\n this.descriptionForm = res.data;\n this.initialForm = _.cloneDeep(this.descriptionForm);\n })\n .finally(() => {\n this.loading = false;\n });\n } \n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescriptionForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescriptionForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TransactionDescriptionForm.vue?vue&type=template&id=7c52246e&scoped=true&\"\nimport script from \"./TransactionDescriptionForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./TransactionDescriptionForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TransactionDescriptionForm.vue?vue&type=style&index=0&id=7c52246e&scoped=true&lang=scss&\"\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 \"7c52246e\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VAlert,VBtn,VCol,VForm,VProgressLinear,VRow,VSelect,VTextField,VToolbar})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Watch } from \"vue-property-decorator\";\nimport GenericPMSTableMenu from \"@/components/generic-pms-table/GenericPMSTableMenu.vue\";\nimport { SortableTableHeader } from \"@/components/generic-pms-table/SortableTableDirective\";\nimport SortableTable from \"@/components/generic-pms-table/SortableTableDirective\";\nimport SortableHeadersTable from \"@/components/generic-pms-table/SortableHeadersTable.vue\";\nimport TransactionDescriptionForm from \"@/components/codebook/TransactionDescriptionForm.vue\";\nimport NoData from \"../misc/NoData.vue\";\nimport { DataOptions } from \"vuetify\";\nimport { TransactionDescription } from \"@/shared/models/transactionDescriptionCodebooks\";\nimport { ListModel } from \"@/shared/models/listModel\";\nimport { formatOrderbyArray } from \"@/shared/sortHelperFunctions\";\nimport { Notification } from \"../../store/modules/notifications\";\nimport _ from \"lodash\";\n\n@Component({\n components: {\n GenericPMSTableMenu,\n SortableHeadersTable,\n TransactionDescriptionForm,\n NoData,\n },\n directives: {\n SortableTable,\n },\n})\nexport default class TransactionDescriptionCodebooksTable extends Vue {\n settingsOpen = false;\n transactionDescriptionId: number | null = null;\n transactionDescriptionFormOpen = false;\n\n headers: SortableTableHeader[] = [\n {\n text: \"TransactionDescriptionCodebook.DescriptionItem\",\n value: \"description\",\n active: true,\n default: false,\n class: \"resize-header\",\n exportHeaders: [],\n },\n {\n text: \"TransactionDescriptionCodebook.TransactionType\",\n value: \"transactionTypeId\",\n active: true,\n default: false,\n class: \"resize-header\",\n exportHeaders: [],\n },\n {\n text: \"TransactionDescriptionCodebook.Account\",\n value: \"account\",\n active: true,\n default: false,\n class: \"resize-header\",\n exportHeaders: [],\n },\n {\n text: \"Actions\",\n value: \"actions\",\n sortable: false,\n active: true,\n default: true,\n class: \"resize-header\",\n exportHeaders: [],\n },\n ];\n\n filters = {\n description: \"\",\n account: \"\",\n };\n\n @Watch(\"filters\", { deep: true })\n watchFilters(val: any, old: any) {\n if (_.isEqual(val, old)) {\n this.options.page = 1;\n this.debouncedLoad();\n }\n }\n\n debouncedLoad = _.debounce(this.load, 500);\n\n options: DataOptions = {\n page: 1,\n itemsPerPage: 15,\n sortBy: [\"description\"],\n sortDesc: [],\n groupBy: [],\n groupDesc: [],\n multiSort: false,\n mustSort: true,\n };\n\n loading = false;\n\n list: ListModel = {\n count: 0,\n result: [],\n };\n\n initLoaded = false;\n @Watch(\"options\", { deep: true })\n watchOptions(fresh: DataOptions, old: DataOptions) {\n if (!this.initLoaded || !_.isEqual(fresh, old)) {\n this.initLoaded = true;\n this.load();\n }\n }\n\n async created() {\n this.load();\n }\n\n async load(): Promise> {\n this.loading = true;\n\n return this.axios\n .get>(\n \"/codebooks/transactionDescriptions\",\n {\n params: this.queryParams,\n }\n )\n .then((res) => {\n this.list = res.data;\n return this.list;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n get queryParams() {\n return {\n $skip: this.options.itemsPerPage * (this.options.page - 1),\n $top: this.options.itemsPerPage,\n $orderby: formatOrderbyArray(\n this.options.sortBy,\n this.options.sortDesc.map((x) => !x)\n ),\n $count: true,\n ...this.filters,\n };\n }\n\n rowDoubleClick(e: MouseEvent, { item }: { item: TransactionDescription }) {\n this.openItemDetails(item);\n }\n async openItemDetails(item: TransactionDescription) {\n this.transactionDescriptionId = item.id;\n this.transactionDescriptionFormOpen = true;\n }\n\n addItem() {\n this.transactionDescriptionId = null;\n this.transactionDescriptionFormOpen = true;\n }\n\n deleteItem(item: TransactionDescription) {\n this.$store.dispatch(\"showNotification\", {\n color: \"warning\",\n message: this.$t(\"DeleteConfirmation\") + ` '${item?.description}'?`,\n actions: [\n {\n text: this.$t(\"Delete\"),\n fun: () => {\n this.deleteItemConfirm(item.id);\n return true;\n },\n },\n {\n text: this.$t(\"Cancel\"),\n fun: () => {\n return true;\n },\n },\n ],\n timeout: 30000,\n } as Notification);\n }\n\n deleteItemConfirm(id: number) {\n Vue.axios\n .delete(`codebooks/transactionDescriptions/${id}`)\n .then(() => {\n this.$store.dispatch(\"showNotification\", {\n color: \"success\",\n message: this.$t(\"TransactionDescriptionCodebook.DeleteSuccess\"),\n timeout: 5000,\n } as Notification);\n })\n .finally(() => {\n this.load();\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DepositWithdrawalCodebookTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DepositWithdrawalCodebookTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DepositWithdrawalCodebookTable.vue?vue&type=template&id=598cd8a1&scoped=true&\"\nimport script from \"./DepositWithdrawalCodebookTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./DepositWithdrawalCodebookTable.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DepositWithdrawalCodebookTable.vue?vue&type=style&index=0&id=598cd8a1&scoped=true&lang=css&\"\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 \"598cd8a1\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemIcon } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VIcon,VList,VListItem,VListItemContent,VListItemIcon,VListItemTitle,VMenu,VTextField})\n","\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport DepositWithdrawalCodebookTable from \"@/components/codebook/DepositWithdrawalCodebookTable.vue\";\nimport GlobalFilterSensitiveMixin from '@/mixins/GlobalFilterSensitiveMixin';\n\n@Component({\n components: {\n DepositWithdrawalCodebookTable\n },\n mixins: [\n GlobalFilterSensitiveMixin\n ]\n})\nexport default class DepositWihdrawalCodebok extends Vue {}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DepositWithdrawalCodebook.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DepositWithdrawalCodebook.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DepositWithdrawalCodebook.vue?vue&type=template&id=2c3e64ae&scoped=true&\"\nimport script from \"./DepositWithdrawalCodebook.vue?vue&type=script&lang=ts&\"\nexport * from \"./DepositWithdrawalCodebook.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DepositWithdrawalCodebook.vue?vue&type=style&index=0&id=2c3e64ae&scoped=true&lang=scss&\"\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 \"2c3e64ae\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DepositWithdrawalCodebookTable.vue?vue&type=style&index=0&id=598cd8a1&scoped=true&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescriptionForm.vue?vue&type=style&index=0&id=7c52246e&scoped=true&lang=scss&\""],"sourceRoot":""}