%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/projetos/radar.ongrace.com.br/
Upload File :
Create Path :
Current File : /var/www/projetos/radar.ongrace.com.br/4.js.map

{"version":3,"sources":["webpack:///./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack:///./resources/js/components/Accounts.vue?034b","webpack:///./resources/js/components/Accounts.vue?7585","webpack:///./resources/js/components/Accounts.vue?698c","webpack:///./resources/js/components/Accounts.vue?d23b","webpack:///./resources/js/components/Accounts.vue?3f9f","webpack:///resources/js/components/Accounts.vue","webpack:///./resources/js/components/Accounts.vue"],"names":["normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","context","this","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","call","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","exports","content","module","i","transform","undefined","locals","push","component","_vm","_h","$createElement","_c","_self","staticClass","domProps","_s","accountList","total","_v","$tc","staticStyle","directives","name","rawName","value","expression","attrs","$t","on","$event","type","indexOf","_k","keyCode","key","getAccounts","apply","arguments","target","composing","q","load","_m","addNew","data","page","sortField","sortOrder","onPageChange","onSort","scopedSlots","_u","fn","props","row","bank","agency","account","_f","created_at","can","editAccount","_e","deleteAccount","modalNewActive","accountForm","id","errors","has","get","model","callback","$$v","$set","_l","store","submitForm"],"mappings":"wFAMe,SAASA,EACtBC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAGA,IAqBIC,EArBAC,EAAmC,mBAAlBT,EACjBA,EAAcS,QACdT,EAsDJ,GAnDIC,IACFQ,EAAQR,OAASA,EACjBQ,EAAQP,gBAAkBA,EAC1BO,EAAQC,WAAY,GAIlBP,IACFM,EAAQE,YAAa,GAInBN,IACFI,EAAQG,SAAW,UAAYP,GAI7BC,GACFE,EAAO,SAAUK,IAEfA,EACEA,GACCC,KAAKC,QAAUD,KAA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YE,OAAOC,IAAI,WAAa,YAAc,GAAG,QAAU5D,EAAIyD,YAAYE,OAAOE,IAAI,aAAa,CAAC1D,EAAG,UAAU,CAAC2D,MAAM,CAAC9C,MAAOhB,EAAIyD,YAAYrB,KAAY,QAAE2B,SAAS,SAAUC,GAAMhE,EAAIiE,KAAKjE,EAAIyD,YAAYrB,KAAM,UAAW4B,IAAM/C,WAAW,+BAA+B,IAAI,GAAGjB,EAAIU,GAAG,KAAKP,EAAG,SAAS,CAACE,YAAY,mBAAmB,CAACF,EAAG,SAAS,CAACE,YAAY,oBAAoBa,MAAM,CAAC,KAAO,UAAUE,GAAG,CAAC,MAAQpB,EAAIoE,aAAa,CAACpE,EAAIU,GAAG,yBAAyBV,EAAIO,GAAGP,EAAIW,IAAI,SAAS,wBAAwBX,EAAIU,GAAG,KAAKP,EAAG,SAAS,CAACE,YAAY,SAASa,MAAM,CAAC,KAAO,UAAUE,GAAG,CAAC,MAAQ,SAASC,GAAQrB,EAAIwD,gBAAiB,KAAS,CAACxD,EAAIU,GAAG,yBAAyBV,EAAIO,GAAGP,EAAIW,IAAI,WAAW,+BAA+B,KACvnL,CAAC,WAAa,IAAiBV,EAAT5B,KAAgB6B,eAAmBC,EAAnC9B,KAA0C+B,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAACE,YAAY,iBAAiB,CAACF,EAAG,IAAI,CAACE,YAAY,uBAAuB,WAAa,IAAiBJ,EAAT5B,KAAgB6B,eAAmBC,EAAnC9B,KAA0C+B,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAACE,YAAY,iBAAiB,CAACF,EAAG,IAAI,CAACE,YAAY,qBGW5U,EACA,KACA,WACA,MAIa,UAAAN,E","file":"4.js","sourcesContent":["/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n  scriptExports,\n  render,\n  staticRenderFns,\n  functionalTemplate,\n  injectStyles,\n  scopeId,\n  moduleIdentifier, /* server only */\n  shadowMode /* vue-cli only */\n) {\n  // Vue.extend constructor export interop\n  var options = typeof scriptExports === 'function'\n    ? scriptExports.options\n    : scriptExports\n\n  // render functions\n  if (render) {\n    options.render = render\n    options.staticRenderFns = staticRenderFns\n    options._compiled = true\n  }\n\n  // functional template\n  if (functionalTemplate) {\n    options.functional = true\n  }\n\n  // scopedId\n  if (scopeId) {\n    options._scopeId = 'data-v-' + scopeId\n  }\n\n  var hook\n  if (moduleIdentifier) { // server build\n    hook = function (context) {\n      // 2.3 injection\n      context =\n        context || // cached call\n        (this.$vnode && this.$vnode.ssrContext) || // stateful\n        (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n      // 2.2 with runInNewContext: true\n      if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n        context = __VUE_SSR_CONTEXT__\n      }\n      // inject component styles\n      if (injectStyles) {\n        injectStyles.call(this, context)\n      }\n      // register component module identifier for async chunk inferrence\n      if (context && context._registeredComponents) {\n        context._registeredComponents.add(moduleIdentifier)\n      }\n    }\n    // used by ssr in case component is cached and beforeCreate\n    // never gets called\n    options._ssrRegister = hook\n  } else if (injectStyles) {\n    hook = shadowMode\n      ? function () {\n        injectStyles.call(\n          this,\n          (options.functional ? this.parent : this).$root.$options.shadowRoot\n        )\n      }\n      : injectStyles\n  }\n\n  if (hook) {\n    if (options.functional) {\n      // for template-only hot-reload because in that case the render fn doesn't\n      // go through the normalizer\n      options._injectStyles = hook\n      // register for functional component in vue file\n      var originalRender = options.render\n      options.render = function renderWithStyleInjection (h, context) {\n        hook.call(context)\n        return originalRender(h, context)\n      }\n    } else {\n      // inject component registration as beforeCreate hook\n      var existing = options.beforeCreate\n      options.beforeCreate = existing\n        ? [].concat(existing, hook)\n        : [hook]\n    }\n  }\n\n  return {\n    exports: scriptExports,\n    options: options\n  }\n}\n","\nvar content = require(\"!!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Accounts.vue?vue&type=style&index=0&id=2cd71fa4&scoped=true&lang=css&\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Accounts.vue?vue&type=style&index=0&id=2cd71fa4&scoped=true&lang=css&\", function() {\n\t\tvar newContent = require(\"!!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Accounts.vue?vue&type=style&index=0&id=2cd71fa4&scoped=true&lang=css&\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","export * from \"-!../../../node_modules/style-loader/index.js!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Accounts.vue?vue&type=style&index=0&id=2cd71fa4&scoped=true&lang=css&\"","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".brand .label[data-v-2cd71fa4]{font-size:9px}\", \"\"]);\n\n// exports\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container is-fluid\"},[_c('nav',{staticClass:\"level\"},[_c('div',{staticClass:\"level-left\"},[_c('div',{staticClass:\"level-item\"},[_c('p',{staticClass:\"subtitle is-5\"},[_c('strong',{domProps:{\"textContent\":_vm._s(_vm.accountList.total)}}),_vm._v(\"\\n                    \"+_vm._s(_vm.$tc(\"account\", _vm.accountList.total))+\"\\n                \")])])]),_vm._v(\" \"),_c('div',{staticClass:\"level-right\"},[_c('div',{staticClass:\"level-item\",staticStyle:{\"z-index\":\"0\"}},[_c('div',{staticClass:\"field has-addons\"},[_c('p',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.q),expression:\"q\"},{name:\"focus\",rawName:\"v-focus\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('query')},domProps:{\"value\":(_vm.q)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.getAccounts.apply(null, arguments)},\"input\":function($event){if($event.target.composing){ return; }_vm.q=$event.target.value}}})]),_vm._v(\" \"),_c('p',{staticClass:\"control\"},[_c('button',{staticClass:\"button\",on:{\"click\":_vm.getAccounts}},[_vm._v(\"\\n                            \"+_vm._s(_vm.$t(\"search\"))+\"\\n                        \")])])])]),_vm._v(\" \"),_c('p',{staticClass:\"level-item\"},[_c('a',{staticClass:\"button\",on:{\"click\":_vm.load}},[_vm._m(0)])]),_vm._v(\" \"),_c('p',{staticClass:\"level-item\"},[_c('a',{staticClass:\"button is-success\",on:{\"click\":_vm.addNew}},[_vm._m(1),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(_vm.$t(\"add\")))])])])])]),_vm._v(\" \"),_c('b-table',{attrs:{\"data\":_vm.accountList.data,\"total\":_vm.accountList.total,\"paginated\":\"\",\"striped\":\"\",\"backend-pagination\":\"\",\"backend-sorting\":\"\",\"per-page\":\"15\",\"current-page\":_vm.page,\"default-sort\":\"name\",\"aria-next-label\":_vm.$t('nextPage'),\"aria-previous-label\":_vm.$t('previousPage'),\"aria-page-label\":_vm.$t('page'),\"aria-current-label\":_vm.$t('currentPage'),\"default-sort-direction\":\"asc\",\"default-sort\":[_vm.sortField, _vm.sortOrder]},on:{\"update:currentPage\":function($event){_vm.page=$event},\"update:current-page\":function($event){_vm.page=$event},\"page-change\":_vm.onPageChange,\"sort\":_vm.onSort},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('b-table-column',{attrs:{\"field\":\"bank_id\",\"label\":_vm.$tc('bank'),\"sortable\":\"\"}},[_vm._v(\"\\n                \"+_vm._s(props.row.bank.name)+\"\\n            \")]),_vm._v(\" \"),_c('b-table-column',{attrs:{\"field\":\"agency\",\"label\":_vm.$tc('agency')}},[_vm._v(\"\\n                \"+_vm._s(props.row.agency)+\"\\n            \")]),_vm._v(\" \"),_c('b-table-column',{attrs:{\"field\":\"account\",\"label\":_vm.$tc('account')}},[_vm._v(\"\\n                \"+_vm._s(props.row.account)+\"\\n            \")]),_vm._v(\" \"),_c('b-table-column',{attrs:{\"field\":\"created_at\",\"label\":_vm.$tc('created_at'),\"sortable\":\"\"}},[_vm._v(\"\\n                \"+_vm._s(_vm._f(\"calendar\")(props.row.created_at))+\"\\n            \")]),_vm._v(\" \"),_c('b-table-column',{attrs:{\"field\":\"\",\"label\":\"\",\"width\":\"120\",\"numeric\":\"\"}},[(_vm.can('editAccount'))?_c('b-button',{attrs:{\"type\":\"is-warning is-small\",\"icon-left\":\"pencil\"},on:{\"click\":function($event){return _vm.editAccount(props.row)}}}):_vm._e(),_vm._v(\" \"),(_vm.can('deleteAccount'))?_c('b-button',{attrs:{\"type\":\"is-danger is-small\",\"icon-left\":\"delete\"},on:{\"click\":function($event){return _vm.deleteAccount(props.row)}}}):_vm._e()],1)]}}])}),_vm._v(\" \"),_c('b-modal',{attrs:{\"active\":_vm.modalNewActive,\"has-modal-card\":\"\",\"trap-focus\":\"\",\"destroy-on-hide\":true,\"aria-role\":\"dialog\",\"aria-modal\":\"\"},on:{\"update:active\":function($event){_vm.modalNewActive=$event}}},[_c('div',{staticClass:\"modal-card\"},[_c('header',{staticClass:\"modal-card-head\"},[(_vm.accountForm.data.id !== '')?_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"\\n                    \"+_vm._s(_vm.$t(\"edit\"))+\"\\n                \")]):_c('p',{staticClass:\"modal-card-title\"},[_vm._v(_vm._s(_vm.$t(\"add\")))])]),_vm._v(\" \"),_c('section',{staticClass:\"modal-card-body\"},[_c('b-field',{attrs:{\"label\":_vm.$tc('bank'),\"type\":_vm.accountForm.errors.has('bank_id') ? 'is-danger' : '',\"message\":_vm.accountForm.errors.get('bank_id')}},[_c('b-select',{attrs:{\"placeholder\":_vm.$tc('bank', 1),\"icon\":\"earth\"},model:{value:(_vm.accountForm.data.bank_id),callback:function ($$v) {_vm.$set(_vm.accountForm.data, \"bank_id\", $$v)},expression:\"accountForm.data.bank_id\"}},_vm._l((_vm.$root.store.bankList),function(bank){return _c('option',{domProps:{\"value\":bank.id}},[_vm._v(_vm._s(bank.name))])}),0)],1),_vm._v(\" \"),_c('b-field',{attrs:{\"label\":_vm.$tc('agency'),\"type\":_vm.accountForm.errors.has('agency') ? 'is-danger' : '',\"message\":_vm.accountForm.errors.get('agency')}},[_c('b-input',{model:{value:(_vm.accountForm.data.agency),callback:function ($$v) {_vm.$set(_vm.accountForm.data, \"agency\", $$v)},expression:\"accountForm.data.agency\"}})],1),_vm._v(\" \"),_c('b-field',{attrs:{\"label\":_vm.$tc('account'),\"type\":_vm.accountForm.errors.has('account') ? 'is-danger' : '',\"message\":_vm.accountForm.errors.get('account')}},[_c('b-input',{model:{value:(_vm.accountForm.data.account),callback:function ($$v) {_vm.$set(_vm.accountForm.data, \"account\", $$v)},expression:\"accountForm.data.account\"}})],1)],1),_vm._v(\" \"),_c('footer',{staticClass:\"modal-card-foot\"},[_c('button',{staticClass:\"button is-success\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.submitForm}},[_vm._v(\"\\n                    \"+_vm._s(_vm.$tc(\"save\"))+\"\\n                \")]),_vm._v(\" \"),_c('button',{staticClass:\"button\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.modalNewActive = false}}},[_vm._v(\"\\n                    \"+_vm._s(_vm.$tc(\"cancel\"))+\"\\n                \")])])])])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"icon is-small\"},[_c('i',{staticClass:\"fas fa-sync-alt\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"icon is-small\"},[_c('i',{staticClass:\"fas fa-plus\"})])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Accounts.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Accounts.vue?vue&type=script&lang=js&\"","<template>\n    <div class=\"container is-fluid\">\n        <!-- Main container -->\n        <nav class=\"level\">\n            <!-- Left side -->\n            <div class=\"level-left\">\n                <div class=\"level-item\">\n                    <p class=\"subtitle is-5\">\n                        <strong v-text=\"accountList.total\"></strong>\n                        {{ $tc(\"account\", accountList.total) }}\n                    </p>\n                </div>\n            </div>\n            <!-- Right side -->\n            <div class=\"level-right\">\n\n                <div class=\"level-item\" style=\"z-index: 0\">\n                    <div class=\"field has-addons\">\n                        <p class=\"control\">\n                            <input\n                                class=\"input\"\n                                v-model=\"q\"\n                                type=\"text\"\n                                :placeholder=\"$t('query')\"\n                                v-focus\n                                @keyup.enter=\"getAccounts\"\n                            />\n                        </p>\n                        <p class=\"control\">\n                            <button class=\"button\" @click=\"getAccounts\">\n                                {{ $t(\"search\") }}\n                            </button>\n                        </p>\n                    </div>\n                </div>\n                <p class=\"level-item\">\n                    <a class=\"button\" @click=\"load\">\n                        <span class=\"icon is-small\">\n                            <i class=\"fas fa-sync-alt\"></i>\n                        </span>\n                    </a>\n                </p>\n                <p class=\"level-item\">\n                    <a class=\"button is-success\" @click=\"addNew\">\n                        <span class=\"icon is-small\">\n                            <i class=\"fas fa-plus\"></i>\n                        </span>\n                        <span>{{ $t(\"add\") }}</span>\n                    </a>\n                </p>\n            </div>\n        </nav>\n\n        <b-table\n            :data=\"accountList.data\"\n            :total=\"accountList.total\"\n            paginated\n            striped\n            backend-pagination\n            backend-sorting\n            per-page=\"15\"\n            :current-page.sync=\"page\"\n            default-sort=\"name\"\n            :aria-next-label=\"$t('nextPage')\"\n            :aria-previous-label=\"$t('previousPage')\"\n            :aria-page-label=\"$t('page')\"\n            :aria-current-label=\"$t('currentPage')\"\n            default-sort-direction=\"asc\"\n            :default-sort=\"[sortField, sortOrder]\"\n            @page-change=\"onPageChange\"\n            @sort=\"onSort\"\n        >\n            <template slot-scope=\"props\">\n\n                <b-table-column field=\"bank_id\" :label=\"$tc('bank')\" sortable>\n                    {{ props.row.bank.name }}\n                </b-table-column>\n\n                <b-table-column field=\"agency\" :label=\"$tc('agency')\">\n                    {{ props.row.agency }}\n                </b-table-column>\n\n                <b-table-column field=\"account\" :label=\"$tc('account')\">\n                    {{ props.row.account }}\n                </b-table-column>\n\n                <b-table-column field=\"created_at\" :label=\"$tc('created_at')\" sortable>\n                    {{ props.row.created_at | calendar }}\n                </b-table-column>\n\n                <b-table-column field=\"\" label=\"\" width=\"120\" numeric>\n                    <b-button\n                        v-if=\"can('editAccount')\"\n                        @click=\"editAccount(props.row)\"\n                        type=\"is-warning is-small\"\n                        icon-left=\"pencil\"\n                    />\n                    <b-button\n                        v-if=\"can('deleteAccount')\"\n                        @click=\"deleteAccount(props.row)\"\n                        type=\"is-danger is-small\"\n                        icon-left=\"delete\"\n                    />\n                </b-table-column>\n\n            </template>\n        </b-table>\n\n        <b-modal\n            :active.sync=\"modalNewActive\"\n            has-modal-card\n            trap-focus\n            :destroy-on-hide=\"true\"\n            aria-role=\"dialog\"\n            aria-modal\n        >\n            <div class=\"modal-card\">\n                <header class=\"modal-card-head\">\n                    <p\n                        class=\"modal-card-title\"\n                        v-if=\"accountForm.data.id !== ''\"\n                    >\n                        {{ $t(\"edit\") }}\n                    </p>\n                    <p class=\"modal-card-title\" v-else>{{ $t(\"add\") }}</p>\n                </header>\n\n                <section class=\"modal-card-body\">\n\n                    <b-field\n                        :label=\"$tc('bank')\"\n                        :type=\"\n                            accountForm.errors.has('bank_id') ? 'is-danger' : ''\n                        \"\n                        :message=\"accountForm.errors.get('bank_id')\">\n                        <b-select\n                            :placeholder=\"$tc('bank', 1)\"\n                            icon=\"earth\"\n                            v-model=\"accountForm.data.bank_id\"\n                        >\n                            <option\n                                v-for=\"bank in $root.store.bankList\"\n                                :value=\"bank.id\"\n                                >{{ bank.name }}</option\n                            >\n                        </b-select>\n                    </b-field>\n\n                    <b-field\n                        :label=\"$tc('agency')\"\n                        :type=\"\n                            accountForm.errors.has('agency') ? 'is-danger' : ''\n                        \"\n                        :message=\"accountForm.errors.get('agency')\"\n                    >\n                        <b-input v-model=\"accountForm.data.agency\"></b-input>\n                    </b-field>\n\n                    <b-field\n                        :label=\"$tc('account')\"\n                        :type=\"\n                            accountForm.errors.has('account') ? 'is-danger' : ''\n                        \"\n                        :message=\"accountForm.errors.get('account')\"\n                    >\n                        <b-input v-model=\"accountForm.data.account\"></b-input>\n                    </b-field>\n\n\n                </section>\n\n                <footer class=\"modal-card-foot\">\n                    <button\n                        @click=\"submitForm\"\n                        type=\"button\"\n                        class=\"button is-success\"\n                    >\n                        {{ $tc(\"save\") }}\n                    </button>\n\n                    <button\n                        class=\"button\"\n                        type=\"button\"\n                        @click=\"modalNewActive = false\"\n                    >\n                        {{ $tc(\"cancel\") }}\n                    </button>\n                </footer>\n            </div>\n        </b-modal>\n    </div>\n</template>\n<script>\nimport mixin_general from \"./../mixins/general\";\n\nexport default {\n\n    mixins: [mixin_general],\n\n    i18n: {\n        messages: {\n            en: {\n                appAccount: \"Companies\",\n                name: \"Name\",\n            },\n            pt: {\n                appAccount: \"Empresas Adquirentes\",\n                name: \"Nome\",\n            },\n        },\n    },\n    mounted() {\n        this.load();\n    },\n    data() {\n        return {\n            accountList: [],\n            q: \"\",\n            sortField: \"bank_id\",\n            sortOrder: \"asc\",\n            page: 1,\n            modalNewActive: false,\n            roles: ['superadmin', 'admin', 'manager'],\n            accountForm: new Form({\n                id: \"\",\n                bank_id: \"\",\n                agency: \"\",\n                account: \"\",\n            }),\n        };\n    },\n    methods: {\n        load() {\n            queue.push(this, [\"getAccounts\"]);\n        },\n\n        getAccounts() {\n            var self = this;\n            return new Promise(function(resolve, reject) {\n                axios\n                    .get(\"/api/accounts\", {\n                        headers: {\n                            Authorization:\n                                \"Bearer \" + store.state.auth.access_token,\n                        },\n                        params: {\n                            page: self.page,\n                            paginate: true,\n                            q: self.q,\n                            sortBy: self.sortField,\n                            sortDirection: self.sortOrder,\n                            with: \"bank\"\n                        },\n                    })\n                    .then((response) => {\n                        self.accountList = response.data;\n                        resolve();\n                    });\n            });\n        },\n\n        onPageChange(page) {\n            this.page = page;\n            this.load();\n        },\n\n        onSort(field, order) {\n            this.sortField = field;\n            this.sortOrder = order;\n            this.load();\n        },\n\n        editAccount(item) {\n            this.accountForm.fill(item);\n            this.modalNewActive = true;\n        },\n\n        deleteAccount(item) {\n            var self = this;\n\n            if (confirm(this.$tc(\"sure\"))) {\n                axios\n                    .delete(\"api/accounts/\" + item.id, {\n                        headers: {\n                            Authorization:\n                                \"Bearer \" + store.state.auth.access_token,\n                        },\n                    })\n                    .then((response) => {\n                        //alert(this.$tc(\"success\"))\n                        self.load();\n                    });\n            }\n        },\n\n        addNew() {\n            this.accountForm.reset();\n            this.modalNewActive = true;\n        },\n\n        submitForm() {\n            var self = this;\n\n            if(parseInt(self.accountForm.data.id) > 0) {\n\n                self.accountForm\n                    .put(\"/api/accounts/\"+self.accountForm.data.id)\n                    .then((data) => {\n                        console.log(data);\n                        if (data.id > 0) {\n                            //alert(this.$tc(\"saved\"));\n                            self.accountForm.reset();\n                            self.$root.getAccounts();\n                            self.load();\n                            self.modalNewActive = false;\n                        }\n                    })\n                    .catch((error) => {\n                        console.log(\"error\", error);\n                        if(error.errors) {\n                            $.each(error.errors, function(index, val) {\n                                $.each(val, function(idx, msg) {\n                                    self.$root.danger(msg);\n                                });\n                            });\n                        }\n                    });\n\n            } else {\n\n                self.accountForm\n                    .post(\"/api/accounts\")\n                    .then((data) => {\n                        console.log(data);\n                        if (data.id > 0) {\n                            //alert(this.$tc(\"saved\"));\n                            self.accountForm.reset();\n                            self.$root.getAccounts();\n                            self.load();\n                            self.modalNewActive = false;\n                        }\n                    })\n                    .catch((error) => {\n                        console.log(\"error\", error);\n                        if(error.errors) {\n                            $.each(error.errors, function(index, val) {\n                                $.each(val, function(idx, msg) {\n                                    self.$root.danger(msg);\n                                });\n                            });\n                        }\n                    });\n\n            }\n        },\n\n    },\n    \n    computed: {\n    },\n};\n</script>\n\n<style scoped>\n\n    .brand .label {\n        font-size: 9px;\n    }\n    \n</style>","import { render, staticRenderFns } from \"./Accounts.vue?vue&type=template&id=2cd71fa4&scoped=true&\"\nimport script from \"./Accounts.vue?vue&type=script&lang=js&\"\nexport * from \"./Accounts.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Accounts.vue?vue&type=style&index=0&id=2cd71fa4&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  \"2cd71fa4\",\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}

Zerion Mini Shell 1.0