{"version":3,"sources":["webpack:///./src/screens/private-template/index.vue?05d8","webpack:///./src/screens/private-template/index.vue?6c67","webpack:///./src/screens/private-template/scripts.js","webpack:///./src/screens/private-template/scripts.js?3a35","webpack:///./src/screens/private-template/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","model","value","callback","$$v","managerChooseTheme","expression","style","$vuetify","dark","breakpoint","lgAndUp","drawer","_v","staticClass","_s","getterAccount","userName","$route","name","client","idUserType","userType","USER_VENDEDOR","USER_IMPLANTADOR","USER_IMPLANTADOR_GUIDE","clientName","type","clientType","CLIENT_PRE","Object","prototype","hasOwnProperty","call","formatMoneyToReal","credit","_e","retainedCredit","amountDue","balanceWithheld","limit","_l","item","key","heading","text","icon","scopedSlots","_u","fn","proxy","$set","child","i","class","routeName","on","$event","onClickOptionMenu","staticStyle","stopPropagation","$appVersion","managerDialogPassword","managerConfirmLogout","staticRenderFns","mixins","UserAllowedOptions","Logout","components","ChangePassword","ConfirmLogout","ChooseTheme","computed","mapGetters","data","UserType","ClientType","isLoading","valid","password","confirmPassword","msg","props","source","String","mounted","checkHasThemeSelected","methods","mapActions","setTimeout","document","cookie","indexOf","$router","push","action","changeTheme","changePassword","onClickToLogout","getClientCredit","actionGetClientCredit","then","sendToast","catch","onIdle","logout","component","VAvatar","VBtn","VContainer","VContent","VFlex","VIcon","VLayout","VList","VListGroup","VListTile","VListTileAction","VListTileContent","VListTileTitle","VNavigationDrawer","VProgressCircular","VSpacer","VSubheader","VToolbar","VToolbarSideIcon","VToolbarTitle"],"mappings":"kHAAA,yBAA+kB,EAAG,G,2CCAllB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,qBAAqB,CAACF,EAAG,eAAe,CAACG,MAAM,CAACC,MAAOR,EAAsB,mBAAES,SAAS,SAAUC,GAAMV,EAAIW,mBAAm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ELqD,kBAAmBhB,GACbA,EAAKa,WACP5D,KAAKkG,QAAQC,KAAK,CAAE3E,KAAMuB,EAAKa,YAG7Bb,EAAKqD,QACPpG,KAAK+C,EAAKqD,QAAQrD,IAGtBsD,cACErG,KAAKU,oBAAqB,GAE5B4F,iBACEtG,KAAKmE,uBAAwB,GAE/BoC,kBACEvG,KAAKoE,sBAAuB,GAE9BoC,kBACExG,KAAKkF,WAAY,EAEjBlF,KAAKyG,sBAAsBzG,KAAKqB,eAC7BqF,KAAK,KACJ1G,KAAKkF,WAAY,EAEjBlF,KAAK2G,UAAU,CACbzD,KAAM,uDACNlB,KAAM,cAGT4E,MAAM,KACL5G,KAAKkF,WAAY,EAEjBlF,KAAK2G,UAAU,CACbzD,KAAM,+DACNlB,KAAM,gBAKhB6E,SACE7G,KAAK8G,WCxGmR,I,iRCQxRC,EAAY,eACd,EACAjH,EACAuE,GACA,EACA,KACA,KACA,MAIa,aAAA0C,EAAiB,QAwBhC,IAAkBA,EAAW,CAACC,UAAA,KAAQC,OAAA,KAAKC,aAAA,KAAWC,WAAA,KAASC,QAAA,KAAMC,QAAA,KAAMC,UAAA,KAAQC,QAAA,KAAMC,aAAA,KAAWC,YAAA,KAAUC,kBAAA,KAAgBC,iBAAA,OAAiBC,eAAA,OAAeC,oBAAA,KAAkBC,oBAAA,KAAkBC,QAAA,OAAQC,aAAA,KAAWC,WAAA,KAASC,mBAAA,KAAiBC,cAAA,U","file":"js/chunk-5005f593.784f9f7f.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.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/vuetify-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.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/vuetify-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"private-template\"}},[_c('choose-theme',{model:{value:(_vm.managerChooseTheme),callback:function ($$v) {_vm.managerChooseTheme=$$v},expression:\"managerChooseTheme\"}}),_c('v-navigation-drawer',{style:((\"background: \" + (_vm.$vuetify.dark ? '#090a0c !important' : '#f6f6f6 !important'))),attrs:{\"clipped\":_vm.$vuetify.breakpoint.lgAndUp,\"fixed\":\"\",\"app\":\"\"},model:{value:(_vm.drawer),callback:function ($$v) {_vm.drawer=$$v},expression:\"drawer\"}},[_c('v-container',[_c('v-layout',{attrs:{\"row\":\"\",\"align-center\":\"\",\"justify-space-between\":\"\"}},[_c('v-avatar',{attrs:{\"size\":\"50px\",\"color\":\"primary\"}},[_c('v-icon',{attrs:{\"color\":\"white\"}},[_vm._v(\"\\n account_circle\\n \")])],1),_c('v-flex',{staticClass:\"container-user-informations\",attrs:{\"xs9\":\"\"}},[_c('h4',[_vm._v(_vm._s(_vm.getterAccount.userName))]),(_vm.$route.name !== 'SelectClient' && _vm.getterAccount.client)?_c('section',{staticClass:\"user-informations\"},[_c('h5',[_vm._v(_vm._s((_vm.getterAccount.idUserType === _vm.userType.USER_VENDEDOR || _vm.getterAccount.idUserType === _vm.userType.USER_IMPLANTADOR || _vm.getterAccount.idUserType !== _vm.userType.USER_IMPLANTADOR_GUIDE) ? 'Logado com:' : 'Cliente:')+\" \"+_vm._s(_vm.getterAccount.client.name || _vm.getterAccount.client.clientName))]),(_vm.getterAccount.client.type === _vm.clientType.CLIENT_PRE)?_c('ul',{staticClass:\"list-informations info-pre\"},[(Object.prototype.hasOwnProperty.call(_vm.getterAccount.client, 'credit'))?_c('li',[_vm._v(\"\\n Crédito disponível: \"+_vm._s(_vm.formatMoneyToReal(_vm.getterAccount.client.credit, true))+\"\\n \")]):_vm._e(),(Object.prototype.hasOwnProperty.call(_vm.getterAccount.client, 'retainedCredit') && _vm.getterAccount.client.retainedCredit > 0)?_c('li',[_vm._v(\"\\n Crédito bloqueado: \"+_vm._s(_vm.formatMoneyToReal(_vm.getterAccount.client.retainedCredit, true))+\"\\n \")]):_vm._e()]):_c('ul',{staticClass:\"list-informations info-pos\"},[(Object.prototype.hasOwnProperty.call(_vm.getterAccount.client, 'amountDue'))?_c('li',[_vm._v(\"\\n Saldo devedor: \"+_vm._s(_vm.formatMoneyToReal(_vm.getterAccount.client.amountDue, true))+\"\\n \")]):_vm._e(),(Object.prototype.hasOwnProperty.call(_vm.getterAccount.client, 'balanceWithheld') && _vm.getterAccount.client.balanceWithheld > 0)?_c('li',[_vm._v(\"\\n Saldo bloqueado: \"+_vm._s(_vm.formatMoneyToReal(_vm.getterAccount.client.balanceWithheld, true))+\"\\n \")]):_vm._e(),(Object.prototype.hasOwnProperty.call(_vm.getterAccount.client, 'amountDue') && _vm.getterAccount.client.limit > 0)?_c('li',[_vm._v(\"\\n Limite restante: \"+_vm._s(_vm.formatMoneyToReal((_vm.getterAccount.client.limit - _vm.getterAccount.client.amountDue), true))+\"\\n \")]):_vm._e()])]):_vm._e()])],1)],1),_c('v-list',{staticClass:\"navigation-drawer\",style:((\"background: \" + (_vm.$vuetify.dark ? '#090a0c !important' : '#f6f6f6 !important'))),attrs:{\"dense\":\"\"}},[_vm._l((_vm.allowedOptions),function(item){return [(item.heading)?_c('v-layout',{key:item.heading,attrs:{\"row\":\"\",\"align-center\":\"\"}},[_c('v-flex',{attrs:{\"xs6\":\"\"}},[(item.heading)?_c('v-subheader',[_vm._v(\"\\n \"+_vm._s(item.heading)+\"\\n \")]):_vm._e()],1),_c('v-flex',{staticClass:\"text-xs-center\",attrs:{\"xs6\":\"\"}},[_c('a',{staticClass:\"body-2 black--text\",attrs:{\"href\":\"#!\"}},[_vm._v(\"\\n EDIT\\n \")])])],1):(item.children)?_c('v-list-group',{key:item.text,attrs:{\"prepend-icon\":item.model ? item.icon : item['icon-alt'],\"append-icon\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(){return [_c('v-list-tile',[_c('v-list-tile-content',[_c('v-list-tile-title',[_vm._v(\"\\n \"+_vm._s(item.text)+\"\\n \")])],1)],1)]},proxy:true}],null,true),model:{value:(item.model),callback:function ($$v) {_vm.$set(item, \"model\", $$v)},expression:\"item.model\"}},_vm._l((item.children),function(child,i){return _c('v-list-tile',{key:i,staticClass:\"drawer-item\",class:_vm.$route.name === child.routeName ? 'router-active-class' : '',on:{\"click\":function($event){return _vm.onClickOptionMenu(child)}}},[(child.icon)?_c('v-list-tile-action',[_c('v-icon',[_vm._v(_vm._s(child.icon))])],1):_vm._e(),_c('v-list-tile-content',[_c('v-list-tile-title',[_vm._v(\"\\n \"+_vm._s(child.text)+\"\\n \")])],1)],1)}),1):_c('v-list-tile',{key:item.text,staticClass:\"drawer-item\",class:_vm.$route.name === item.routeName ? 'router-active-class' : '',on:{\"click\":function($event){return _vm.onClickOptionMenu(item)}}},[_c('v-list-tile-action',[(item.loading)?_c('v-progress-circular',{attrs:{\"size\":25,\"indeterminate\":\"\",\"color\":\"secondary\"}}):_c('v-icon',[_vm._v(\"\\n \"+_vm._s(item.icon)+\"\\n \")])],1),_c('v-list-tile-content',[_c('v-list-tile-title',[_vm._v(\"\\n \"+_vm._s(item.text)+\"\\n \")])],1)],1)]})],2)],1),_c('v-toolbar',{attrs:{\"clipped-left\":_vm.$vuetify.breakpoint.lgAndUp,\"app\":\"\",\"fixed\":\"\"}},[_c('v-toolbar-title',{staticClass:\"ml-0 pl-3\",staticStyle:{\"width\":\"300px\"}},[_c('v-toolbar-side-icon',{on:{\"click\":function($event){$event.stopPropagation();_vm.drawer = !_vm.drawer}}}),_c('span',{staticClass:\"hidden-sm-and-down\"},[_vm._v(\"Painel Administrativo\")])],1),_c('v-spacer'),_c('span',{staticClass:\"version\"},[_vm._v(\"Version: \"+_vm._s(_vm.$appVersion))]),_c('v-btn',{attrs:{\"icon\":\"\",\"large\":\"\"}},[_c('v-avatar',{attrs:{\"size\":\"32px\",\"tile\":\"\"}},[_c('img',{attrs:{\"src\":\"img/zoom-gear-logo.svg\",\"alt\":\"Zoom Gear Logo\"}})])],1)],1),_c('v-content',[_c('v-container',{attrs:{\"fluid\":\"\",\"fill-height\":\"\"}},[_c('v-layout',{attrs:{\"justify-center\":\"\",\"align-center\":\"\"}},[_c('router-view',{staticClass:\"page-main-router\"})],1)],1)],1),(_vm.managerDialogPassword)?_c('change-password',{model:{value:(_vm.managerDialogPassword),callback:function ($$v) {_vm.managerDialogPassword=$$v},expression:\"managerDialogPassword\"}}):_vm._e(),(_vm.managerConfirmLogout)?_c('confirm-logout',{model:{value:(_vm.managerConfirmLogout),callback:function ($$v) {_vm.managerConfirmLogout=$$v},expression:\"managerConfirmLogout\"}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters, mapActions } from 'vuex'\nimport ClientType from '@/helper/ClientType'\nimport * as UserType from '@/helper/UserType'\nimport {\n ChangePassword,\n ConfirmLogout,\n ChooseTheme\n} from '@/components'\n\nimport {\n UserAllowedOptions,\n Logout\n} from '@/mixins'\n\nexport default {\n mixins: [\n UserAllowedOptions,\n Logout\n ],\n components: {\n ChangePassword,\n ConfirmLogout,\n ChooseTheme\n },\n computed: {\n ...mapGetters([\n 'getterAccount'\n ])\n },\n data () {\n return {\n userType: UserType,\n clientType: ClientType,\n managerChooseTheme: false,\n managerDialogPassword: false,\n managerConfirmLogout: false,\n drawer: null,\n isLoading: false,\n valid: false,\n password: '',\n confirmPassword: '',\n msg: ''\n }\n },\n props: {\n source: String\n },\n mounted () {\n this.checkHasThemeSelected()\n },\n methods: {\n ...mapActions([\n 'actionGetClientCredit'\n ]),\n checkHasThemeSelected () {\n setTimeout(() => {\n if (document.cookie.indexOf('DARK_THEME') === -1 && document.cookie.indexOf('LIGHT_THEME') === -1) {\n this.managerChooseTheme = true\n } else {\n this.managerChooseTheme = false\n }\n }, 200)\n },\n onClickOptionMenu (item) {\n if (item.routeName) {\n this.$router.push({ name: item.routeName })\n }\n\n if (item.action) {\n this[item.action](item)\n }\n },\n changeTheme () {\n this.managerChooseTheme = true\n },\n changePassword () {\n this.managerDialogPassword = true\n },\n onClickToLogout () {\n this.managerConfirmLogout = true\n },\n getClientCredit () {\n this.isLoading = true\n\n this.actionGetClientCredit(this.getterAccount)\n .then(() => {\n this.isLoading = false\n\n this.sendToast({\n text: 'Dados do cliente selecionado atualizados com sucesso',\n type: 'success'\n })\n })\n .catch(() => {\n this.isLoading = false\n\n this.sendToast({\n text: 'Ocorreu um erro ao atualizar os dados do cliente selecionado',\n type: 'danger'\n })\n })\n }\n },\n onIdle () {\n this.logout()\n }\n}\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/eslint-loader/index.js??ref--13-0!./scripts.js?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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=6854e143&\"\nimport script from \"./scripts?vue&type=script&lang=js&\"\nexport * from \"./scripts?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!/opt/atlassian/pipelines/agent/build/node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAvatar } from 'vuetify/lib'\nimport { VBtn } from 'vuetify/lib'\nimport { VContainer } from 'vuetify/lib'\nimport { VContent } from 'vuetify/lib'\nimport { VFlex } from 'vuetify/lib'\nimport { VIcon } from 'vuetify/lib'\nimport { VLayout } from 'vuetify/lib'\nimport { VList } from 'vuetify/lib'\nimport { VListGroup } from 'vuetify/lib'\nimport { VListTile } from 'vuetify/lib'\nimport { VListTileAction } from 'vuetify/lib'\nimport { VListTileContent } from 'vuetify/lib'\nimport { VListTileTitle } from 'vuetify/lib'\nimport { VNavigationDrawer } from 'vuetify/lib'\nimport { VProgressCircular } from 'vuetify/lib'\nimport { VSpacer } from 'vuetify/lib'\nimport { VSubheader } from 'vuetify/lib'\nimport { VToolbar } from 'vuetify/lib'\nimport { VToolbarSideIcon } from 'vuetify/lib'\nimport { VToolbarTitle } from 'vuetify/lib'\ninstallComponents(component, {VAvatar,VBtn,VContainer,VContent,VFlex,VIcon,VLayout,VList,VListGroup,VListTile,VListTileAction,VListTileContent,VListTileTitle,VNavigationDrawer,VProgressCircular,VSpacer,VSubheader,VToolbar,VToolbarSideIcon,VToolbarTitle})\n"],"sourceRoot":""}