%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/6.js.map

{"version":3,"sources":["webpack:///./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack:///./resources/js/components/Cms.vue?32b1","webpack:///./resources/js/components/Cms.vue?0040","webpack:///./resources/js/components/Cms.vue?c146","webpack:///./resources/js/components/Cms.vue?6a46","webpack:///./resources/js/components/Cms.vue?6d07","webpack:///resources/js/components/Cms.vue","webpack:///./resources/js/components/Cms.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","cmsList","total","_v","$tc","attrs","on","load","model","value","callback","$$v","filterLanguage","expression","$t","_l","store","language","id","name","staticStyle","directives","rawName","$event","type","indexOf","_k","keyCode","key","getCMS","apply","arguments","target","composing","q","_m","addNew","data","page","sortField","sortOrder","onPageChange","onSort","scopedSlots","_u","fn","props","row","varid","code","editCMS","can","deleteCMS","modalNewActive","cmsForm","errors","has","get","$set","editing","item","_e","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,KAAKC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iB,GAAQ9B,EAAI4D,gBAAiB,KAAS,CAAC5D,EAAIU,GAAG,yBAAyBV,EAAIO,GAAGP,EAAIqB,GAAG,WAAW,+BAA+B,KACrvM,CAAC,WAAa,IAAiBpB,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,KACA,MAIa,UAAAN,E","file":"6.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!./Cms.vue?vue&type=style&index=0&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!./Cms.vue?vue&type=style&index=0&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!./Cms.vue?vue&type=style&index=0&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!./Cms.vue?vue&type=style&index=0&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, \".otherTranslations{position:relative;font-size:11px}.otherTranslations li{margin-bottom:2px}\", \"\"]);\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.cmsList.total)}}),_vm._v(\"\\n                    \"+_vm._s(_vm.$tc(\"cms\", _vm.cmsList.total))+\"\\n                \")])])]),_vm._v(\" \"),_c('div',{staticClass:\"level-right\"},[_c('p',{staticClass:\"level-item\"},[_c('b-field',[_c('b-select',{attrs:{\"placeholder\":_vm.$tc('language'),\"icon\":\"earth\"},on:{\"input\":_vm.load},model:{value:(_vm.filterLanguage),callback:function ($$v) {_vm.filterLanguage=$$v},expression:\"filterLanguage\"}},[_c('option',{attrs:{\"value\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"all\")))]),_vm._v(\" \"),_vm._l((_vm.$root.store.languageList),function(language){return _c('option',{domProps:{\"value\":language.id}},[_vm._v(_vm._s(language.name))])})],2)],1)],1),_vm._v(\" \"),_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.getCMS.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.getCMS}},[_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.cmsList.data,\"total\":_vm.cmsList.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\":\"varid\",\"label\":_vm.$t('varid'),\"sortable\":\"\"}},[_vm._v(\"\\n                \"+_vm._s(props.row.varid)+\"\\n            \")]),_vm._v(\" \"),_c('b-table-column',{attrs:{\"field\":\"language_id\",\"label\":_vm.$tc('language'),\"sortable\":\"\"}},[_vm._v(\"\\n                \"+_vm._s(props.row.language.code)+\"\\n            \")]),_vm._v(\" \"),_c('b-table-column',{attrs:{\"field\":\"content\",\"label\":_vm.$t('content'),\"sortable\":\"\"}},[_vm._v(\"\\n                \"+_vm._s(props.row.content)+\"\\n            \")]),_vm._v(\" \"),_c('b-table-column',{attrs:{\"field\":\"\",\"label\":\"\",\"width\":\"120\",\"numeric\":\"\"}},[_c('b-button',{attrs:{\"type\":\"is-warning is-small\",\"icon-left\":\"pencil\"},on:{\"click\":function($event){return _vm.editCMS(props.row)}}}),_vm._v(\" \"),_c('b-button',{attrs:{\"type\":\"is-danger is-small\",\"icon-left\":\"delete\",\"disabled\":!_vm.can('deleteCMS')},on:{\"click\":function($event){return _vm.deleteCMS(props.row)}}})],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.cmsForm.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('language'),\"type\":_vm.cmsForm.errors.has('language_id') ? 'is-danger' : '',\"message\":_vm.cmsForm.errors.get('language_id')}},[_c('b-select',{attrs:{\"placeholder\":_vm.$tc('language', 1),\"icon\":\"earth\",\"disabled\":!_vm.can('changeCMSLanguage')},model:{value:(_vm.cmsForm.data.language_id),callback:function ($$v) {_vm.$set(_vm.cmsForm.data, \"language_id\", $$v)},expression:\"cmsForm.data.language_id\"}},_vm._l((_vm.$root.store.languageList),function(language){return _c('option',{domProps:{\"value\":language.id}},[_vm._v(_vm._s(language.name))])}),0)],1),_vm._v(\" \"),_c('b-field',{attrs:{\"label\":_vm.$t('varid'),\"type\":_vm.cmsForm.errors.has('varid') ? 'is-danger' : '',\"message\":_vm.cmsForm.errors.get('varid')}},[_c('b-input',{attrs:{\"disabled\":!_vm.can('changeCMSVarid')},model:{value:(_vm.cmsForm.data.varid),callback:function ($$v) {_vm.$set(_vm.cmsForm.data, \"varid\", $$v)},expression:\"cmsForm.data.varid\"}})],1),_vm._v(\" \"),_c('b-field',{attrs:{\"label\":_vm.$t('other_translations')}},[_c('ul',{staticClass:\"otherTranslations\"},_vm._l((_vm.editing.translations),function(item){return (item.content)?_c('li',[_c('b-tag',[_vm._v(_vm._s(item.name))]),_vm._v(\" \"+_vm._s(item.content)),_c('br')],1):_vm._e()}),0)]),_vm._v(\" \"),_c('b-field',{attrs:{\"label\":_vm.$t('content'),\"type\":_vm.cmsForm.errors.has('content') ? 'is-danger' : '',\"message\":_vm.cmsForm.errors.get('content')}},[_c('b-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.cmsForm.data.content),callback:function ($$v) {_vm.$set(_vm.cmsForm.data, \"content\", $$v)},expression:\"cmsForm.data.content\"}})],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.$t(\"save\"))+\"\\n                \")]),_vm._v(\" \"),_c('button',{staticClass:\"button\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.modalNewActive = false}}},[_vm._v(\"\\n                    \"+_vm._s(_vm.$t(\"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!./Cms.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!./Cms.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=\"cmsList.total\"></strong>\n                        {{ $tc(\"cms\", cmsList.total) }}\n                    </p>\n                </div>\n            </div>\n            <!-- Right side -->\n            <div class=\"level-right\">\n                <p class=\"level-item\">\n                    <b-field>\n                        <b-select\n                            :placeholder=\"$tc('language')\"\n                            icon=\"earth\"\n                            v-model=\"filterLanguage\"\n                            @input=\"load\"\n                        >\n                            <option value=\"\">{{ $t(\"all\") }}</option>\n                            <option\n                                v-for=\"language in $root.store.languageList\"\n                                :value=\"language.id\"\n                                >{{ language.name }}</option\n                            >\n                        </b-select>\n                    </b-field>\n                </p>\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=\"getCMS\"\n                            />\n                        </p>\n                        <p class=\"control\">\n                            <button class=\"button\" @click=\"getCMS\">\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=\"cmsList.data\"\n            :total=\"cmsList.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=\"varid\" :label=\"$t('varid')\" sortable>\n                    {{ props.row.varid }}\n                </b-table-column>\n            \t\n                <b-table-column field=\"language_id\" :label=\"$tc('language')\" sortable>\n                    {{ props.row.language.code }}\n                </b-table-column>\n\n                <b-table-column field=\"content\" :label=\"$t('content')\" sortable>\n                    {{ props.row.content }}\n                </b-table-column>\n\n                <b-table-column field=\"\" label=\"\" width=\"120\" numeric>\n                    <b-button\n                        @click=\"editCMS(props.row)\"\n                        type=\"is-warning is-small\"\n                        icon-left=\"pencil\"\n                    />\n                    <b-button\n                        @click=\"deleteCMS(props.row)\"\n                        type=\"is-danger is-small\"\n                        icon-left=\"delete\"\n                        :disabled=\"!can('deleteCMS')\"\n                    />\n                </b-table-column>\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=\"cmsForm.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('language')\"\n                        :type=\"\n                            cmsForm.errors.has('language_id') ? 'is-danger' : ''\n                        \"\n                        :message=\"cmsForm.errors.get('language_id')\">\n                        <b-select\n                            :placeholder=\"$tc('language', 1)\"\n                            icon=\"earth\"\n                            v-model=\"cmsForm.data.language_id\"\n                            :disabled=\"!can('changeCMSLanguage')\"\n                        >\n                            <option\n                                v-for=\"language in $root.store.languageList\"\n                                :value=\"language.id\"\n                                >{{ language.name }}</option\n                            >\n                        </b-select>\n                    </b-field>\n\n                    <b-field\n                        :label=\"$t('varid')\"\n                        :type=\"\n                            cmsForm.errors.has('varid') ? 'is-danger' : ''\n                        \"\n                        :message=\"cmsForm.errors.get('varid')\"\n                    >\n                        <b-input v-model=\"cmsForm.data.varid\" :disabled=\"!can('changeCMSVarid')\"></b-input>\n                    </b-field>\n\n                    <b-field\n                        :label=\"$t('other_translations')\"\n                    >\n                        <ul class=\"otherTranslations\">\n                            <li v-for=\"item in editing.translations\" v-if=\"item.content\">\n                                <b-tag>{{item.name}}</b-tag> {{item.content}}<br>\n                            </li>\n                        </ul>\n                    </b-field>\n\n                    <b-field\n                        :label=\"$t('content')\"\n                        :type=\"\n                            cmsForm.errors.has('content') ? 'is-danger' : ''\n                        \"\n                        :message=\"cmsForm.errors.get('content')\"\n                    >\n                        <b-input v-model=\"cmsForm.data.content\" type=\"textarea\"></b-input>\n                    </b-field>\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                        {{ $t(\"save\") }}\n                    </button>\n\n                    <button\n                        class=\"button\"\n                        type=\"button\"\n                        @click=\"modalNewActive = false\"\n                    >\n                        {{ $t(\"cancel\") }}\n                    </button>\n                </footer>\n            </div>\n        </b-modal>\n    </div>\n</template>\n<script>\n\nimport mixin_general from \"./../mixins/general\";\n\nexport default {\n\n    mixins: [mixin_general],\n    i18n: {\n        messages: {\n            en: {\n                cms: \"variable found | variables found\",\n            },\n            pt: {\n                cms: \"variável encontrada | variáveis encontradas\",\n            },\n        },\n    },\n    mounted() {\n        this.load();\n    },\n    data() {\n        return {\n            cmsList: [],\n            q: \"\",\n            sortField: \"varid\",\n            sortOrder: \"asc\",\n            filterLanguage: '',\n            page: 1,\n            modalNewActive: false,\n            cmsForm: new Form({\n                id: '',\n                language_id: '',\n                varid: '',\n                content: '',\n            }),\n            editing: [],\n        };\n    },\n    methods: {\n        load() {\n            queue.push(this, [\"getCMS\"]);\n        },\n\n        getCMS() {\n            var self = this;\n            return new Promise(function(resolve, reject) {\n                axios\n                    .get(\"/api/cms\", {\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                            language_id: self.filterLanguage,\n                            with: 'language'\n                        },\n                    })\n                    .then((response) => {\n                        self.cmsList = 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        editCMS(item) {\n            this.cmsForm.fill(item);\n            this.editing =  item;\n            this.modalNewActive = true;\n        },\n\n        deleteCMS(item) {\n\n            var self = this;\n\n            if (confirm(this.$tc(\"sure\"))) {\n\n                axios.delete(\"api/cms/\"+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        },\n\n        addNew() {\n            this.cmsForm.reset();\n            this.modalNewActive = true;\n        },\n\n        submitForm() {\n            var self = this;\n\n            self.cmsForm\n                .post(\"/api/cms\")\n                .then((data) => {\n                    console.log(data);\n                    if(data.id>0) {\n                        //alert(this.$tc(\"saved\"))\n                        self.cmsForm.reset();\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</script>\n<style>\n\n.otherTranslations {\n    position: relative;\n    font-size: 11px;\n}\n.otherTranslations li {\n    margin-bottom: 2px;\n}\n\n</style>","import { render, staticRenderFns } from \"./Cms.vue?vue&type=template&id=47bbf5fa&\"\nimport script from \"./Cms.vue?vue&type=script&lang=js&\"\nexport * from \"./Cms.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Cms.vue?vue&type=style&index=0&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  null,\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}

Zerion Mini Shell 1.0