{"version":3,"sources":["webpack:///./src/views/configuration/AdministrativeCenterFB2B.vue?ede8","webpack:///./src/services/configurations/getAdministrativeCenterFB2B.js","webpack:///./src/services/configurations/newAdministrativeCenterFB2B.js","webpack:///./src/services/configurations/updateAdministrativeCenterFB2B.js","webpack:///src/views/configuration/AdministrativeCenterFB2B.vue","webpack:///./src/views/configuration/AdministrativeCenterFB2B.vue?a609","webpack:///./src/views/configuration/AdministrativeCenterFB2B.vue","webpack:///./src/views/configuration/AdministrativeCenterFB2B.vue?67c8","webpack:///./src/components/layout/DetailLayout.vue?d7c2","webpack:///src/components/layout/DetailLayout.vue","webpack:///./src/components/layout/DetailLayout.vue?0f28","webpack:///./src/components/layout/DetailLayout.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","slot","attrs","header","staticClass","ref","form","rules","_v","_s","$t","codeMaxLength","model","value","callback","$$v","$set","expression","_l","opt","key","label","isCreate","isGeneralLoading","on","goBack","$event","submitForm","staticRenderFns","async","getAdministrativeCenterFB2B","params","req","url","method","headers","res","axiosInstance","data","newAdministrativeCenterFB2B","payload","updateAdministrativeCenterFB2B","name","components","DetailLayout","searchView","activeName","distribuidores","title","icon","breadcrumb","nav","loadedFirstTime","tiposRolesAdministrativeCentersFB2B","clientes","code","required","message","trigger","validator","maxLength","role","computed","id","idSede","idAC","isRoleUserOrConsulta","watch","deep","immediate","handler","created","breadcrumbs","path","mounted","methods","getDefaultForm","watchFormHandler","toggleSearchView","newAdministrativeCenterFB2BHandler","resetForm","updateAdministrativeCenterFB2BHandler","idCentroAdministrativo","downloadData","console","setContact","updateView","component","_t"],"mappings":"kJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,gBAAgB,CAACA,EAAG,WAAW,CAACE,KAAK,UAAU,CAACF,EAAG,cAAc,CAACG,MAAM,CAAC,KAAO,UAAU,QAAUP,EAAIQ,WAAW,GAA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EAyC,+BACA,IACA,sCACA,SACAD,0BAEA,aACAE,eACA,6BACA,SACAA,eACA,kBACA,QACA,wCAGAC,uBACA,sBACA,sBACA,uBAEAC,sBACA,8CACA,gECzTgX,I,wBCQ5WC,EAAY,eACd,EACA7F,EACAkC,GACA,EACA,KACA,WACA,MAIa,aAAA2D,E,6CCnBf,W,kCCAA,IAAI7F,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACK,YAAY,gFAAgF,CAACT,EAAI6F,GAAG,UAAUzF,EAAG,OAAO,CAACK,YAAY,0DAA0D,CAACL,EAAG,MAAM,CAACK,YAAY,kDAAkD,CAACL,EAAG,MAAM,CAACK,YAAY,iBAAiB,CAACT,EAAI6F,GAAG,SAAS,OAAO7F,EAAI6F,GAAG,kBAAkB,IACvc5D,EAAkB,GCcP,GACfc,sBChBoW,I,YCOhW6C,EAAY,eACd,EACA7F,EACAkC,GACA,EACA,KACA,KACA,MAIa,OAAA2D,E","file":"js/chunk-20cf1d82.v.6.0.0.1728293495878.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('detail-layout',[_c('template',{slot:\"header\"},[_c('base-header',{attrs:{\"icon\":\"contact\",\"content\":_vm.header}})],1),_c('template',{slot:\"main\"},[_c('div',{staticClass:\"form-wrapper\"},[_c('el-form',{ref:\"ruleForm\",staticClass:\"flex flex-row w-full\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"autocomplete\":\"off\"}},[_c('div',{staticClass:\"flex-1\"},[_c('div',{staticClass:\"lg:mb-4\"}),_c('div',[_c('div',{staticClass:\"mandatory\"},[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_c('base-obligatory-icon'),_vm._v(_vm._s(_vm.$t('administrativecenterfb2b.code')))],1),_c('el-form-item',{attrs:{\"prop\":\"code\"}},[_c('el-input',{staticClass:\"w-full\",attrs:{\"clearable\":\"\",\"maxlength\":_vm.codeMaxLength},model:{value:(_vm.form.code),callback:function ($$v) {_vm.$set(_vm.form, \"code\", $$v)},expression:\"form.code\"}})],1)],1)]),_c('div',[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('administrativecenterfb2b.name'))+\" \")]),_c('el-form-item',{attrs:{\"prop\":\"name\"}},[_c('el-input',{staticClass:\"w-full\",attrs:{\"clearable\":\"\",\"maxlength\":\"100\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1)],1),_c('div',[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_c('base-obligatory-icon'),_vm._v(_vm._s(_vm.$t('administrativecenterfb2b.role')))],1),_c('el-form-item',{attrs:{\"prop\":\"role\"}},[_c('el-select',{staticClass:\"w-full\",attrs:{\"clearable\":\"\",\"filterable\":\"\"},model:{value:(_vm.form.role),callback:function ($$v) {_vm.$set(_vm.form, \"role\", $$v)},expression:\"form.role\"}},_vm._l((_vm.tiposRolesAdministrativeCentersFB2B),function(opt){return _c('el-option',{key:opt.value,attrs:{\"label\":opt.label,\"value\":opt.value}})}),1)],1)],1)])])],1)]),_c('template',{slot:\"layout-extend\"},[_c('base-footer',[_c('template',{slot:\"actions\"},[_c('base-button-responsive',{attrs:{\"mode\":\"secondary\",\"text\":_vm.isCreate ? _vm.$t('app.cancel') : _vm.$t('app.back'),\"icon\":\"cross\",\"loading\":_vm.isGeneralLoading},on:{\"click\":_vm.goBack}}),_c('base-button-responsive',{attrs:{\"mode\":\"primary\",\"text\":_vm.$t('app.save'),\"icon\":\"check\",\"loading\":_vm.isGeneralLoading,\"disabled\":_vm.isGeneralLoading},on:{\"click\":function($event){return _vm.submitForm('ruleForm')}}})],1)],2)],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import axiosInstance from '@/services/axiosInstance'\r\nimport mock from '@/services/mock/index'\r\n\r\nasync function getAdministrativeCenterFB2B (params = null) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n return new Promise((resolve, reject) => {\r\n resolve(mock.getUser)\r\n })\r\n } else {\r\n const req = {\r\n url: '/api/agendas/getcentroadministrativofaceb2bdetalle',\r\n method: 'GET',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n params\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { getAdministrativeCenterFB2B }\r\n","import axiosInstance from '@/services/axiosInstance'\r\n\r\nasync function newAdministrativeCenterFB2B (payload) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n return new Promise((resolve, reject) => {\r\n resolve()\r\n })\r\n } else {\r\n const req = {\r\n url: '/api/agendas/crearcentroadministrativofaceb2b',\r\n method: 'POST',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n data: payload\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { newAdministrativeCenterFB2B }\r\n","import axiosInstance from '@/services/axiosInstance'\r\n\r\nasync function updateAdministrativeCenterFB2B (payload) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n return new Promise((resolve, reject) => {\r\n resolve()\r\n })\r\n } else {\r\n const req = {\r\n url: '/api/agendas/actualizarcentroadministrativofaceb2b',\r\n method: 'PUT',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n data: payload\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { updateAdministrativeCenterFB2B }\r\n","\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdministrativeCenterFB2B.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdministrativeCenterFB2B.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AdministrativeCenterFB2B.vue?vue&type=template&id=632c81fa&scoped=true\"\nimport script from \"./AdministrativeCenterFB2B.vue?vue&type=script&lang=js\"\nexport * from \"./AdministrativeCenterFB2B.vue?vue&type=script&lang=js\"\nimport style0 from \"./AdministrativeCenterFB2B.vue?vue&type=style&index=0&id=632c81fa&prod&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 \"632c81fa\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdministrativeCenterFB2B.vue?vue&type=style&index=0&id=632c81fa&prod&scoped=true&lang=css\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"content-wrapper bg-white dark:bg-darkblue-900 flex flex-col w-full relative\"},[_vm._t(\"header\"),_c('main',{staticClass:\"content flex flex-col flex-auto overflow-y-auto w-full\"},[_c('div',{staticClass:\"w-full md:w-11.5/12 lg:max-w-detail lg:mr-auto\"},[_c('div',{staticClass:\"px-4 lg:px-10\"},[_vm._t(\"main\")],2)])]),_vm._t(\"layout-extend\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DetailLayout.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DetailLayout.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DetailLayout.vue?vue&type=template&id=72444160\"\nimport script from \"./DetailLayout.vue?vue&type=script&lang=js\"\nexport * from \"./DetailLayout.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"],"sourceRoot":""}