{"version":3,"sources":["webpack:///./src/components/layouts/core/AppDrawer.vue","webpack:///src/components/layouts/core/AppDrawer.vue","webpack:///./src/components/layouts/core/AppDrawer.vue?c1f2","webpack:///./src/components/layouts/core/AppDrawer.vue?f2bc","webpack:///./src/utils/links.js"],"names":["render","_vm","this","_c","_self","_g","attrs","isOpen","topLinks","bottomLinks","$listeners","staticRenderFns","name","components","GenericDrawer","props","type","Boolean","required","data","APP_DRAWER_TOP","APP_DRAWER_BOTTOM","component","to","title","icon","isAllowed","$","$store","getters","disabled","ADMINISTRATION_DRAWER_TOP","ADMIN_DRAWER_TOP","PROJECT_DRAWER_TOP","PROJECT_DRAWER_TOP_PCQ","PROJECT_DRAWER_BOTTOM","TEMPLATE_DRAWER_TOP","PROFILE_DRAWER_TOP"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,gBAAgBF,EAAII,GAAG,CAACC,MAAM,CAAC,SAAW,cAAc,aAAc,EAAM,OAASL,EAAIM,OAAO,SAAWN,EAAIO,SAAS,YAAcP,EAAIQ,cAAcR,EAAIS,cAE9NC,EAAkB,G,YCYP,GACfC,KAAA,YACAC,WAAA,CACAC,kBAAA,iDAEAC,MAAA,CACAR,OAAA,CAAAS,KAAAC,QAAAC,UAAA,IAEAC,UAAA,CACAX,SAAAY,OACAX,YAAAY,UCxBiX,I,YCO7WC,EAAY,eACd,EACAtB,EACAW,GACA,EACA,KACA,KACA,MAIa,aAAAW,E,2CClBf,kTAIO,MAAMF,EAAiB,CAC5B,CACEG,GAAI,CAAEX,KAAM,QACZY,MAAO,sBACPC,KAAM,YAER,CACEF,GAAI,CAAEX,KAAM,YACZY,MAAO,0BACPC,KAAM,mBAER,CACEF,GAAI,CAAEX,KAAM,gBACZY,MAAO,+BACPC,KAAM,qBAER,CACEF,GAAI,CAAEX,KAAM,oBACZY,MAAO,4BACPC,KAAM,iBAER,CACEA,KAAM,kBACNF,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ACET,KAAM,WACNF,GAAI,CAAEX,KAAM,WACZY,MAAO,0BAET,CACEC,KAAM,mBACNF,GAAI,CAAEX,KAAM,eACZY,MAAO,8BAET,CACEC,KAAM,8BACNF,GAAI,CAAEX,KAAM,mBACZY,MAAO,kCAET,CACEC,KAAM,qCACNF,GAAI,CAAEX,KAAM,iBACZY,MAAO,gCAET,CACEC,KAAM,kBACNF,GAAI,CAAEX,KAAM,SACZY,MAAO,wBAET,CACEC,KAAM,mBACNF,GAAI,CAAEX,KAAM,WACZY,MAAO,0BAET,CACED,GAAI,CAAEX,KAAM,wBACZY,MAAO,8BACPC,KAAM,4BAIGU,EAAwB,CACnC,CACEV,KAAM,qBACNF,GAAI,CAAEX,KAAM,eACZY,MAAO,2BAET,CACEC,KAAM,4BACNF,GAAI,CAAEX,KAAM,eACZY,MAAO,wBAOEY,EAAsB,CACjC,CACEX,KAAM,wBACNF,GAAI,CAAEX,KAAM,gBACZY,MAAO,sCAET,CACEC,KAAM,oBACNF,GAAI,CAAEX,KAAM,mBACZY,MAAO,wCAQEa,EAAqB,CAChC,CACEd,GAAI,CAAEX,KAAM,WACZY,MAAO,mCACPC,KAAM,2BAER,CACEF,GAAI,CAAEX,KAAM,qBACZY,MAAO,oCACPC,KAAM,YAER,CACEF,GAAI,CAAEX,KAAM,kBACZY,MAAO,iCACPC,KAAM,qBAER,CACEF,GAAI,CAAEX,KAAM,UACZY,MAAO,0BACPC,KAAM","file":"js/chunk-416cce9c.cc5be958.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('GenericDrawer',_vm._g({attrs:{\"colorKey\":\"bgDrawerApp\",\"isSubDrawer\":false,\"isOpen\":_vm.isOpen,\"topLinks\":_vm.topLinks,\"bottomLinks\":_vm.bottomLinks}},_vm.$listeners))\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppDrawer.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!./AppDrawer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppDrawer.vue?vue&type=template&id=5cba1a34&\"\nimport script from \"./AppDrawer.vue?vue&type=script&lang=js&\"\nexport * from \"./AppDrawer.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","/*\n * GENERAL APP LINKS\n */\n\nexport const APP_DRAWER_TOP = [\n {\n to: { name: \"Home\" },\n title: \"commons.drawer.home\",\n icon: \"mdi-home\"\n },\n {\n to: { name: \"Projects\" },\n title: \"commons.drawer.projects\",\n icon: \"mdi-folder-open\"\n },\n {\n to: { name: \"TemplateList\" },\n title: \"commons.drawer.forms_editing\",\n icon: \"mdi-calendar-text\"\n },\n {\n to: { name: \"DashboardReports\" },\n title: \"commons.drawer.statistics\",\n icon: \"mdi-chart-bar\"\n },\n {\n icon: \"mdi-chart-gantt\",\n to: { name: \"GanttAdmin\" },\n title: \"commons.drawer.gantt\"\n }\n]\n\nexport const APP_DRAWER_BOTTOM = [\n {\n to: { name: \"Administration\" },\n title: \"commons.drawer.administration\",\n icon: \"mdi-account-cog-outline\",\n // isAllowed: $ => $.$store.getters[\"app/isCompanyOwner\"]\n isAllowed: $ => $.$store.getters[\"app/isUserStaff\"]\n },\n {\n to: { name: \"Admin\" },\n title: \"commons.drawer.admin\",\n icon: \"mdi-security\",\n isAllowed: $ => $.$store.getters[\"app/isUserStaff\"]\n },\n {\n disabled: true,\n to: { name: \"Help\" },\n title: \"commons.drawer.help\",\n icon: \"mdi-help\"\n }\n]\n\n/*\n * USER ADMINISTRATION LINKS\n */\nexport const ADMINISTRATION_DRAWER_TOP = [\n {\n to: { name: \"AdministrationUsers\" },\n title: \"commons.drawer.users\",\n icon: \"mdi-account-group\"\n },\n {\n to: { name: \"AdministrationUsersPending\" },\n title: \"commons.drawer.userPending\",\n icon: \"mdi-email-alert-outline\"\n },\n {\n to: \"#\",\n title: \"commons.drawer.facturation\",\n icon: \"mdi-credit-card-check-outline\"\n }\n]\n\n/*\n * ADMIN LINKS\n */\n\nexport const ADMIN_DRAWER_TOP = [\n {\n to: { name: \"AdminSummary\" },\n title: \"commons.drawer.summary\",\n icon: \"mdi-home-analytics\"\n },\n {\n to: { name: \"CompaniesPlans\" },\n title: \"commons.drawer.companies_plans\",\n icon: \"mdi-domain\"\n },\n {\n to: { name: \"Analytics\" },\n title: \"commons.drawer.analytics\",\n icon: \"mdi-chart-line\"\n },\n {\n to: { name: \"AdminValidation\" },\n title: \"commons.drawer.validation\",\n icon: \"mdi-account-plus\"\n },\n {\n to: { name: \"AdminTemplates\" },\n title: \"commons.drawer.template\",\n icon: \"mdi-file-document-multiple\"\n },\n {\n to: { name: \"AdminActions\" },\n title: \"commons.drawer.privilege\",\n icon: \"mdi-gesture-double-tap\"\n }\n // {\n // to: { name: \"AdminMenus\" },\n // title: \"commons.drawer.menu\",\n // icon: \"mdi-menu\"\n // }\n]\n\n/*\n * PROJECT LINKS WITHOUT PCQ\n */\n\nexport const PROJECT_DRAWER_TOP = [\n {\n icon: \"mdi-home\",\n to: { name: \"Project\" },\n title: \"commons.drawer.general\"\n },\n {\n icon: \"mdi-magnify-scan\",\n to: { name: \"Inspections\" },\n title: \"commons.drawer.inspections\"\n },\n {\n icon: \"mdi-clipboard-alert-outline\",\n to: { name: \"NonConformities\" },\n title: \"commons.drawer.nonconformities\"\n },\n {\n icon: \"mdi-file-document-multiple-outline\",\n to: { name: \"Documentation\" },\n title: \"commons.drawer.documentation\"\n },\n {\n icon: \"mdi-chart-gantt\",\n to: { name: \"Gantt\" },\n title: \"commons.drawer.gantt\"\n },\n {\n to: { name: \"InternalNotification\" },\n title: \"commons.drawer.notification\",\n icon: \"mdi-email-alert-outline\"\n }\n]\n\n/*\n * PROJECT LINKS WITH PCQ\n */\nexport const PROJECT_DRAWER_TOP_PCQ = [\n {\n icon: \"mdi-home\",\n to: { name: \"Project\" },\n title: \"commons.drawer.general\"\n },\n {\n icon: \"mdi-magnify-scan\",\n to: { name: \"Inspections\" },\n title: \"commons.drawer.inspections\"\n },\n {\n icon: \"mdi-clipboard-alert-outline\",\n to: { name: \"NonConformities\" },\n title: \"commons.drawer.nonconformities\"\n },\n {\n icon: \"mdi-file-document-multiple-outline\",\n to: { name: \"Documentation\" },\n title: \"commons.drawer.documentation\"\n },\n {\n icon: \"mdi-chart-gantt\",\n to: { name: \"Gantt\" },\n title: \"commons.drawer.gantt\"\n },\n {\n icon: \"mdi-account-file\",\n to: { name: \"PcqDsis\" },\n title: \"commons.drawer.pcq_dsi\"\n },\n {\n to: { name: \"InternalNotification\" },\n title: \"commons.drawer.notification\",\n icon: \"mdi-email-alert-outline\"\n }\n]\n\nexport const PROJECT_DRAWER_BOTTOM = [\n {\n icon: \"mdi-calendar-month\",\n to: { name: \"ProjectFeed\" },\n title: \"commons.drawer.timeline\"\n },\n {\n icon: \"mdi-account-group-outline\",\n to: { name: \"ProjectTeam\" },\n title: \"commons.drawer.team\"\n }\n]\n\n/*\n * TEMPLATE LINKS\n */\nexport const TEMPLATE_DRAWER_TOP = [\n {\n icon: \"mdi-bookmark-multiple\",\n to: { name: \"TemplateList\" },\n title: \"commons.drawer.customize_templates\"\n },\n {\n icon: \"mdi-playlist-plus\",\n to: { name: \"FieldTypeEditor\" },\n title: \"commons.drawer.customize_fieldtypes\"\n }\n]\n\n/*\n * PROFILE LINKS\n */\n\nexport const PROFILE_DRAWER_TOP = [\n {\n to: { name: \"Profile\" },\n title: \"commons.drawer.personal_settings\",\n icon: \"mdi-account-cog-outline\"\n },\n {\n to: { name: \"CompanyDepartment\" },\n title: \"commons.drawer.company_department\",\n icon: \"mdi-apps\"\n },\n {\n to: { name: \"CompanyMembers\" },\n title: \"commons.drawer.company_members\",\n icon: \"mdi-account-group\"\n },\n {\n to: { name: \"Logout\" },\n title: \"views.signup_in.signout\",\n icon: \"mdi-logout\"\n }\n]\n"],"sourceRoot":""}