\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SidebarNavTitle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SidebarNavTitle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SidebarNavTitle.vue?vue&type=template&id=2fbd6adb&\"\nimport script from \"./SidebarNavTitle.vue?vue&type=script&lang=js&\"\nexport * from \"./SidebarNavTitle.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SidebarNavTitle.vue?vue&type=style&index=0&id=2fbd6adb&prod&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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('li',{class:_vm.classList},[_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SidebarNavItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SidebarNavItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SidebarNavItem.vue?vue&type=template&id=0592304d&\"\nimport script from \"./SidebarNavItem.vue?vue&type=script&lang=js&\"\nexport * from \"./SidebarNavItem.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","\r\n\r\n\r\n
\r\n \r\n \r\n \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--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Sidebar.vue?vue&type=template&id=67d2498d&\"\nimport script from \"./Sidebar.vue?vue&type=script&lang=js&\"\nexport * from \"./Sidebar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Sidebar.vue?vue&type=style&index=0&id=67d2498d&prod&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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('label',{class:_vm.classList},[_c('input',{staticClass:\"switch-input\",attrs:{\"type\":\"checkbox\"},domProps:{\"value\":_vm.value,\"checked\":_vm.isChecked},on:{\"change\":_vm.handleChange}}),(_vm.isOn)?[_c('span',{staticClass:\"switch-label\",attrs:{\"data-on\":_vm.on,\"data-off\":_vm.off}})]:[_c('span',{staticClass:\"switch-label\"})],_c('span',{staticClass:\"switch-handle\"})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Switch.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Switch.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Switch.vue?vue&type=template&id=8da53fd6&\"\nimport script from \"./Switch.vue?vue&type=script&lang=js&\"\nexport * from \"./Switch.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","\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\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--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Full.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Full.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Full.vue?vue&type=template&id=64217d0e&\"\nimport script from \"./Full.vue?vue&type=script&lang=js&\"\nexport * from \"./Full.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Full.vue?vue&type=style&index=0&id=64217d0e&prod&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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"login-form\"},[_c('div',{staticClass:\"col-md-4 col-md-offset-4 login-form--to-center\"},[_c('div',{staticClass:\"panel panel-default\"},[_vm._m(0),_c('div',{staticClass:\"panel-body\"},[_c('fieldset',[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"Login (email)\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"form-control\",attrs:{\"placeholder\":\"Login\",\"name\":\"login\",\"autofocus\":\"\",\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.email)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.onClickSubmit.apply(null, arguments)},\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}})]),_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"Password\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-control\",attrs:{\"placeholder\":\"Password\",\"name\":\"password\",\"type\":\"password\"},domProps:{\"value\":(_vm.password)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.onClickSubmit.apply(null, arguments)},\"input\":function($event){if($event.target.composing)return;_vm.password=$event.target.value}}})]),_c('div',{staticClass:\"form-group\",staticStyle:{\"display\":\"flex\"}},[_c('button',{staticClass:\"btn btn-lg btn-success btn-block\",attrs:{\"type\":\"submit\",\"name\":\"loginForm\",\"value\":\"check\",\"disabled\":!_vm.wrnChecked},on:{\"click\":_vm.onClickSubmit}},[_vm._v(\"\\n Login\\n \")])]),_c('div',{staticClass:\"panel panel-default\"},[_vm._m(1),_c('div',{staticClass:\"panel-body\"},[_vm._v(\"\\n Warning: The information indicated in the present document is the resultant of\\n experimental correlations. Any possible gaps between the noticed performances and\\n the declared performances that might be observed is caused by experimental\\n uncertainty. ZILMET declines any responsibility related to these gaps. Zilmet also\\n disclaims all liability for the calculations which are not made and/or verified by\\n the qualified personnel.\\n \")]),_c('div',{staticClass:\"panel-footer\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.wrnChecked),expression:\"wrnChecked\"}],attrs:{\"type\":\"checkbox\",\"name\":\"wrnChk\"},domProps:{\"checked\":Array.isArray(_vm.wrnChecked)?_vm._i(_vm.wrnChecked,null)>-1:(_vm.wrnChecked)},on:{\"change\":function($event){var $$a=_vm.wrnChecked,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.wrnChecked=$$a.concat([$$v]))}else{$$i>-1&&(_vm.wrnChecked=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.wrnChecked=$$c}}}}),_c('strong',[_vm._v(\"Agree\")]),_c('br')])])]),_c('br')]),(_vm.loading)?_c('div',{staticClass:\"status\"},[_vm._v(\"loading...\")]):_vm._e(),(_vm.error)?_c('div',{staticClass:\"error-message\"},[_vm._v(_vm._s(_vm.error))]):_vm._e()])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"panel-heading\"},[_c('h3',{staticClass:\"panel-title\"},[_vm._v(\"Please Sign In\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"panel-heading\"},[_c('h3',{staticClass:\"panel-title\"},[_vm._v(\"Warning\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n
\r\n
\r\n
\r\n
\r\n
Please Sign In
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n
\r\n
loading...
\r\n
{{ error }}
\r\n
\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--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LoginForm.vue?vue&type=template&id=9a44fb96&scoped=true&\"\nimport script from \"./LoginForm.vue?vue&type=script&lang=js&\"\nexport * from \"./LoginForm.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LoginForm.vue?vue&type=style&index=0&id=9a44fb96&prod&lang=scss&scoped=true&\"\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 \"9a44fb96\",\n null\n \n)\n\nexport default component.exports","import Vue from \"vue\";\r\nimport Router from \"vue-router\";\r\n\r\n// Containers\r\nimport Cookies from \"js-cookie\";\r\nimport Full from \"@/containers/Full\";\r\n\r\n// Views\r\nimport Dashboard from \"@/views/Dashboard.vue\";\r\nimport LoginForm from \"@/views/LoginForm.vue\";\r\nimport store from \"@/store\";\r\n\r\n//import Recents from \"@/views/Recents.vue\";\r\n//import ProjectView from \"@/views/apps/ProjectView\";\r\n//import ProjectViewSwitcher from \"@/views/apps/ProjectViewSwitcher\";\r\n//import CreateProjectView from \"@/views/apps/CreateProjectView\";\r\n//import RegisterForm from \"@/views/RegisterForm.vue\";\r\n//import accessori from \"@/views/OfferManagement/accessori\";\r\n//import mascheraFluidi from \"@/views/OfferManagement/mascheraFlsuidi\";\r\n//import customerManagement from \"@/views/CustomerManagement/CustomerManagement\";\r\n//import customerEdit from \"@/views/CustomerManagement/CustomerEdit\";\r\n//import offerManagement from \"@/views/OfferManagement/OfferManagement\";\r\n//import offerEdit from \"@/views/OfferManagement/OfferEdit\";\r\n//import PrintView from \"@/views/apps/PrintView\";\r\n//import ArchiveManagementView from \"@/views/apps/ArchiveManagementView\";\r\n\r\nVue.use(Router);\r\n\r\nconst forceLogin = false;\r\n\r\nconst router = new Router({\r\n mode: \"hash\",\r\n linkExactActiveClass: \"open active\",\r\n scrollBehavior: () => ({ y: 0 }),\r\n routes: [\r\n {\r\n path: \"/\",\r\n redirect: \"/dashboard\",\r\n name: \"Home\",\r\n meta: {\r\n label: \"S232\"\r\n },\r\n component: Full,\r\n children: [\r\n {\r\n path: \"dashboard\",\r\n name: \"Dashboard\",\r\n meta: {\r\n label: \"S258\"\r\n },\r\n component: Dashboard\r\n },\r\n {\r\n path: \"print\",\r\n name: \"Print\",\r\n component: () => import(\"@/views/Dashboard.vue\") // Dashboard\r\n },\r\n {\r\n path: \"options\",\r\n name: \"Options\",\r\n component: () => import(\"@/views/Dashboard.vue\") // Dashboard\r\n },\r\n {\r\n path: \"recents\",\r\n name: \"Recents\",\r\n component: () => import(\"@/views/Recents.vue\") //Recents\r\n },\r\n {\r\n path: \"management\",\r\n name: \"Management\",\r\n component: () => import(\"@/views/apps/ArchiveManagementView\") // ArchiveManagementView\r\n },\r\n {\r\n path: \"gestioneOfferte\",\r\n name: \"gestioneOfferte\",\r\n component: () => import(\"@/views/OfferManagement/OfferManagement\") // offerManagement\r\n },\r\n {\r\n path: \"gestioneOfferte/Edit/:idOfferta\",\r\n name: \"editOfferta\",\r\n component: () => import(\"@/views/OfferManagement/OfferEdit\") //offerEdit\r\n },\r\n {\r\n path: \"gestioneClienti\",\r\n name: \"gestioneClienti\",\r\n component: () => import(\"@/views/CustomerManagement/CustomerManagement\") //customerManagement\r\n },\r\n {\r\n path: \"gestioneClienti/Edit/:idCliente\",\r\n name: \"editCliente\",\r\n component: () => import(\"@/views/CustomerManagement/CustomerEdit\") //customerEdit\r\n },\r\n {\r\n path: \"accessori\",\r\n name: \"accessori\",\r\n component: () => import(\"@/views/OfferManagement/accessori\") //accessori\r\n },\r\n {\r\n path: \"mascheraFluidi\",\r\n name: \"mascheraFluidi\",\r\n component: () => import(\"@/views/OfferManagement/mascheraFluidi\") //mascheraFluidi\r\n },\r\n {\r\n path: \"create/project/:modality\",\r\n name: \"CreateProject\",\r\n meta: {\r\n label: \"S258\"\r\n },\r\n component: () => import(\"@/views/apps/CreateProjectView\") // CreateProjectView\r\n },\r\n {\r\n path: \"project/:modality/:projectId\",\r\n name: \"ViewProject\",\r\n meta: {\r\n label: \"S258\"\r\n },\r\n component: () => import(\"@/views/apps/ProjectView\") //ProjectView\r\n },\r\n {\r\n path: \"switch/project/:modality/:projectId\",\r\n name: \"SwitchProject\",\r\n meta: {\r\n label: \"S258\"\r\n },\r\n component: () => import(\"@/views/apps/ProjectViewSwitcher\") //ProjectViewSwitcher\r\n }\r\n ]\r\n },\r\n {\r\n path: \"/login\",\r\n component: LoginForm,\r\n name: \"LoginForm\"\r\n },\r\n {\r\n path: \"/register\",\r\n component: () => import(\"@/views/RegisterForm.vue\"), //RegisterForm,\r\n name: \"RegisterForm\"\r\n }\r\n ]\r\n});\r\n\r\n//router.afterEach((/*to, from*/) => {\r\n// // Complete the animation of the route progress bar.\r\n// NProgress.done();\r\n//});\r\n\r\n//router.beforeResolve((to, from, next) => {\r\n// // If this isn't an initial page load.\r\n// if (to.name) {\r\n// // Start the route progress bar.\r\n// NProgress.start();\r\n// }\r\n// next();\r\n//});\r\n\r\nrouter.beforeEach((to, from, next) => {\r\n const isLoggedIn = Cookies.get(\"loginToken\");\r\n\r\n if (to.path != \"/login\" && to.path != \"/register\") {\r\n if (isLoggedIn || forceLogin) {\r\n // console.log('There is a token, resume. (' + to.path + ')');\r\n\r\n store.dispatch(\"enableProfile\");\r\n store.dispatch(\"getIdProfilo\");\r\n next();\r\n } else {\r\n // console.warn('There is no token, redirect to login. (' + to.path + ')');\r\n next(\"/login\");\r\n }\r\n } else {\r\n // console.log(\"You're on the login / register page\");\r\n next(); // This is where it should have been\r\n }\r\n // next()\r\n});\r\n\r\nexport default router;\r\n","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!./HeaderLanguageDropdown.vue?vue&type=style&index=0&id=183cef66&prod&lang=scss&\"","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!./SidebarNavDivider.vue?vue&type=style&index=0&id=639a540c&prod&lang=css&\"","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!./Full.vue?vue&type=style&index=0&id=64217d0e&prod&lang=css&\"","import { Notification } from \"element-ui\";\r\nimport { api } from \"../../gateways/unilabZilmetApi\";\r\n\r\nexport default {\r\n impostascambiatoreselezionato(pts) {\r\n //var cId = project.calculationId;\r\n return new Promise((resolve, reject) => {\r\n api\r\n //.get(\"gestione-offerte/modelopzioniaccessori?calculationId=\" + cId)\r\n .post(\"general/impostascambiatoreselezionato\", pts)\r\n .then(response => {\r\n if (!response.isAxiosError) {\r\n resolve(response.data);\r\n } else {\r\n console.log(response.response);\r\n Notification.warning({\r\n title: \"Error\",\r\n message: response.response !== undefined ? response.response.data : \"No Response\"\r\n });\r\n reject(response);\r\n }\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n Notification.warning({\r\n title: \"Error\",\r\n message: error\r\n });\r\n reject(error);\r\n });\r\n });\r\n },\r\n getApps() {\r\n return new Promise((resolve, reject) => {\r\n api\r\n .get(\"general/apps\")\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(error => {\r\n Notification.error({\r\n title: \"Attenzione\",\r\n message: error\r\n });\r\n reject(error);\r\n });\r\n });\r\n },\r\n getIdProfilo() {\r\n return new Promise((resolve, reject) => {\r\n api\r\n .get(\"general/getIdProfilo\")\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(error => {\r\n Notification.error({\r\n title: \"Attenzione\",\r\n message: error\r\n });\r\n reject(error);\r\n });\r\n });\r\n },\r\n getIdProfiloVis() {\r\n return new Promise((resolve, reject) => {\r\n api\r\n .get(\"general/getIdProfiloVis\")\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(error => {\r\n Notification.error({\r\n title: \"Attenzione\",\r\n message: error\r\n });\r\n reject(error);\r\n });\r\n });\r\n },\r\n setIdProfilo(newId) {\r\n return new Promise((resolve, reject) => {\r\n api\r\n .get(\"general/setIdProfiloVis/\" + newId)\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(error => {\r\n Notification.error({\r\n title: \"Attenzione\",\r\n message: error\r\n });\r\n reject(error);\r\n });\r\n });\r\n }\r\n};\r\n"],"sourceRoot":""}