{"version":3,"sources":["webpack:///./src/views/projects/ProjectsHome.vue","webpack:///src/views/projects/ProjectsHome.vue","webpack:///./src/views/projects/ProjectsHome.vue?37cc","webpack:///./src/views/projects/ProjectsHome.vue?887b","webpack:///./src/mixins/shared/base/home/baseHomeMixin.js","webpack:///./src/services/error/errorMessages.js"],"names":["render","_vm","this","_c","_self","scopedSlots","_u","key","fn","proxy","staticRenderFns","name","mixins","baseHomeMixin","components","ProjectsDrawer","computed","selectApplicationName","applicationNames","Projects","component","mapMutations","createNamespacedHelpers","AppLayout","data","moduleNames","notImplementedComputed","methods","setApplication","SET_APPLICATION","setCurrentApplication","findAppModule","created","propertyName","byClient","notImplementedMethod"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,aAAa,CAACE,YAAYJ,EAAIK,GAAG,CAAC,CAACC,IAAI,uBAAuBC,GAAG,WAAW,MAAO,CAACL,EAAG,qBAAqBM,OAAM,QAEpLC,EAAkB,G,YCQP,GACfC,KAAA,eACAC,OAAA,CAAAC,QACAC,WAAA,CACAC,mBAAA,4GAEAC,SAAA,CACAC,wBACA,YAAAC,iBAAAC,YClBoW,I,YCOhWC,EAAY,eACd,EACApB,EACAU,GACA,EACA,KACA,KACA,MAIa,aAAAU,E,2CClBf,sFASA,MAAM,aAAEC,GAAiBC,eAAwB,YAQpCT,EAAgB,CAC3BC,WAAY,CACVS,UAAWA,IAAM,iDAEnBC,OACE,MAAO,CACLN,iBAAkBO,SAGtBT,SAAU,CAMRC,wBACE,MAAMS,eAAuB,2BAGjCC,QAAS,IACJN,EAAa,CACdO,eAAgBC,SAKlBC,wBACE5B,KAAK0B,eAAeG,eAAc7B,KAAKe,0BAO3Ce,UACE9B,KAAK4B,2B,kCCpDT,oEAMA,MAAMJ,EAAyBA,CAACO,EAAcC,GAAW,IACvDA,EACI,uCAAuCD,yCACvC,uCAAuCA,+BAQvCE,EAAuBA,CAACF,EAAcC,GAAW,IACrDA,EACI,YAAYD,yCACZ,YAAYA","file":"js/chunk-4d86ec75.f681ea2e.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('app-layout',{scopedSlots:_vm._u([{key:\"navigationLeftDrawer\",fn:function(){return [_c('projects-drawer')]},proxy:true}])})\n}\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!./ProjectsHome.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!./ProjectsHome.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProjectsHome.vue?vue&type=template&id=287a7fba\"\nimport script from \"./ProjectsHome.vue?vue&type=script&lang=js\"\nexport * from \"./ProjectsHome.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","// services\r\nimport {\r\n findAppModule,\r\n moduleNames\r\n} from \"@/services/solution/solutionService\";\r\nimport { notImplementedComputed } from \"@/services/error/errorMessages\";\r\n\r\n// vuex\r\nimport { createNamespacedHelpers } from \"vuex\";\r\nconst { mapMutations } = createNamespacedHelpers(\"solution\");\r\n\r\n// store\r\nimport { SET_APPLICATION } from \"@/store/solution/mutation-types\";\r\n\r\n/**\r\n * Contains options (adhere to the DRY principle) & code re-usability for app's Home Vue components\r\n */\r\nexport const baseHomeMixin = {\r\n components: {\r\n AppLayout: () => import(\"@/views/shared/layout/AppLayout\")\r\n },\r\n data() {\r\n return {\r\n applicationNames: moduleNames\r\n };\r\n },\r\n computed: {\r\n /**\r\n * Abstract computed: Provide Application Name of an appModule to be selected when a home page is displayed\r\n * Note: This property has to be be implemented by supper class\r\n * @returns {String|string}\r\n */\r\n selectApplicationName() {\r\n throw notImplementedComputed(\"selectApplicationName\");\r\n }\r\n },\r\n methods: {\r\n ...mapMutations({\r\n setApplication: SET_APPLICATION\r\n }),\r\n /**\r\n * Set Current Application which will be selected in the App-Bar\r\n */\r\n setCurrentApplication() {\r\n this.setApplication(findAppModule(this.selectApplicationName));\r\n }\r\n },\r\n /**\r\n * created hook\r\n * note: Mixin hooks will be called before the component’s created hooks.\r\n */\r\n created() {\r\n this.setCurrentApplication();\r\n }\r\n};\r\n","/**\r\n * Get not Implemented Computed formatted optionJump\r\n * @param {String|string} propertyName\r\n * @param {Boolean|boolean} byClient\r\n * @returns {String|string}\r\n */\r\nconst notImplementedComputed = (propertyName, byClient = true) =>\r\n byClient\r\n ? `Return value of Computed property: '${propertyName}' has to be be implemented by client.`\r\n : `Return value of Computed property: '${propertyName}' has to be be implemented.`;\r\n\r\n/**\r\n * Get not Implemented Method formatted optionJump\r\n * @param {String|string} propertyName\r\n * @param {Boolean|boolean} byClient\r\n * @returns {String|string}\r\n */\r\nconst notImplementedMethod = (propertyName, byClient = true) =>\r\n byClient\r\n ? `Method: '${propertyName}' has to be be implemented by client.`\r\n : `Method: '${propertyName}' has to be be implemented.`;\r\n\r\nexport { notImplementedComputed, notImplementedMethod };\r\n"],"sourceRoot":""}