{"version":3,"sources":["webpack:///./src/components/reports/Reports.vue","webpack:///src/components/reports/Reports.vue","webpack:///./src/components/reports/Reports.vue?db0c","webpack:///./src/components/reports/Reports.vue?9eff","webpack:///./src/components/core/dialogs/ConfirmModalDialog.vue","webpack:///src/components/core/dialogs/ConfirmModalDialog.vue","webpack:///./src/components/core/dialogs/ConfirmModalDialog.vue?e8c4","webpack:///./src/components/core/dialogs/ConfirmModalDialog.vue?dd89","webpack:///./src/components/core/dialogs/confirmDialog.js","webpack:///./src/components/reports/Reports.vue?6214"],"names":["staticClass","isSuperAdmin","staticStyle","attrs","model","value","searchReports","callback","loading","key","fn","item","on","stopPropagation","_vm","searchWorkbooks","name","computed","mapGetters","currentUser","AuthGetterTypes","CURRENT_USER","ReportGetters","LOADING_REPORTS","assignedReportPreviews","ASSIGNED_REPORT_PREVIEWS","selfCreatedReportPreviews","SELF_CREATED_REPORT_PREVIEWS","allVisibleReportPreviews","ALL_VISIBLE_REPORT_PREVIEWS","adminReportPreviews","ADMIN_REPORT_PREVIEWS","IS_SUPERADMIN","workbooks","ALL_VISIBLE_WORKBOOKS","routeHasParams","$route","params","reportId","gridViewId","routesNames","REPORT_GRID","workbookId","REPORT_WORKBOOK","REPORT_GRID_CUSTOM","data","reportsHeaders","text","sortable","align","workbooksHeaders","mounted","$store","dispatch","ReportActions","LOAD_ADMIN_REPORT_PREVIEWS","LOAD_REPORT_PREVIEWS","methods","editReport","GridViewId","$router","push","ReportId","previewWorkbook","Id","deleteReport","ConfirmDialog","message","then","isDelete","DELETE_REPORT_PREVIEW","canDeleteReport","report","UserId","component","staticRenderFns","showDialog","expression","_s","$event","props","Boolean","String","showNoBtn","showYesBtn","yesBtnText","noBtnText","modalWidth","onCancel","$emit","onConfirm","modal","document","createElement","body","appendChild","Promise","resolve","vModal","Vue","vuetify","el","components","ConfirmModalDialog","kill","$el","$destroy","parentNode","removeChild","this","template"],"mappings":"yLAA8IA,aAAsC,IAAI,EAAKC,KAAwBD,UAAY,GAAy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hB,UACAkB,aACAC,YACAC,cAEF9B,QAAS,CACP+C,OACEb,EAAQO,EAAOO,IACfP,EAAOQ,WACHf,EAAMgB,YACRhB,EAAMgB,WAAWC,YAAYjB,IAGjCD,YACEmB,KAAKjC,YAAa,EAClBqB,EAAQ,GACRY,KAAKL,QAEPhB,WACEqB,KAAKjC,YAAa,EAClBqB,EAAQ,GACRY,KAAKL,SAGTM,SAAW,2OAKF5C,U,yDCxDf","file":"js/chunk-6ebde43d.3bb716d9.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.routeHasParams)?_c('router-view',{key:_vm.$route.fullPath}):_c('div',{staticClass:\"grid-flex-container pa-4\"},[(!_vm.isSuperAdmin)?_c('div',{staticClass:\"grid-flex-container reportsSection pa-0\"},[_c('h3',[_vm._v(\"Reports - Visible to everyone\")]),_c('v-container',{staticClass:\"flexContainerItem pb-0\",staticStyle:{\"overflow\":\"hidden\"},attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"d-flex\"},[_c('v-text-field',{staticClass:\"py-0 mr-2\",attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.searchReports),callback:function ($$v) {_vm.searchReports=$$v},expression:\"searchReports\"}})],1),_c('div',{staticClass:\"generic-grid-container\"},[_c('v-data-table',{attrs:{\"dense\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"fixed-header\":\"\",\"loading-text\":\"Loading...\",\"items\":_vm.allVisibleReportPreviews,\"headers\":_vm.reportsHeaders,\"search\":_vm.searchReports,\"loading\":_vm.loading},on:{\"update:search\":function($event){_vm.searchReports=$event}},scopedSlots:_vm._u([{key:`item.actions`,fn:function({ item }){return [_c('v-btn',{staticClass:\"action-btn\",attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\",\"elevation\":\"1\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.editReport(item)}}},[_c('v-icon',{attrs:{\"color\":\"info\",\"small\":\"\"}},[_vm._v(\"mdi-eye\")])],1),(_vm.canDeleteReport(item))?_c('v-btn',{staticClass:\"action-btn\",attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\",\"elevation\":\"1\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.deleteReport(item)}}},[_c('v-icon',{attrs:{\"color\":\"error\",\"small\":\"\"}},[_vm._v(\"mdi-delete\")])],1):_c('div',{staticClass:\"v-btn action-btn\",staticStyle:{\"width\":\"24px\",\"height\":\"24px\",\"float\":\"right\"},attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\"}})]}}],null,true)})],1)])],1):_vm._e(),(!_vm.isSuperAdmin)?_c('div',{staticClass:\"grid-flex-container reportsSection pa-4 px-0\"},[_c('h3',[_vm._v(\"Reports - Visible to me\")]),_c('v-container',{staticClass:\"flexContainerItem pb-0\",staticStyle:{\"overflow\":\"hidden\"},attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"d-flex\"},[_c('v-text-field',{staticClass:\"py-0 mr-2\",attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.searchReports),callback:function ($$v) {_vm.searchReports=$$v},expression:\"searchReports\"}})],1),_c('div',{staticClass:\"generic-grid-container\"},[_c('v-data-table',{attrs:{\"dense\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"fixed-header\":\"\",\"loading-text\":\"Loading...\",\"items\":_vm.assignedReportPreviews,\"headers\":_vm.reportsHeaders,\"search\":_vm.searchReports,\"loading\":_vm.loading},on:{\"update:search\":function($event){_vm.searchReports=$event}},scopedSlots:_vm._u([{key:`item.actions`,fn:function({ item }){return [_c('v-btn',{staticClass:\"action-btn\",attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\",\"elevation\":\"1\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.editReport(item)}}},[_c('v-icon',{attrs:{\"color\":\"info\",\"small\":\"\"}},[_vm._v(\"mdi-eye\")])],1),(_vm.canDeleteReport(item))?_c('v-btn',{staticClass:\"action-btn\",attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\",\"elevation\":\"1\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.deleteReport(item)}}},[_c('v-icon',{attrs:{\"color\":\"error\",\"small\":\"\"}},[_vm._v(\"mdi-delete\")])],1):_c('div',{staticClass:\"v-btn action-btn\",staticStyle:{\"width\":\"24px\",\"height\":\"24px\",\"float\":\"right\"},attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\"}})]}}],null,true)})],1)])],1):_vm._e(),(!_vm.isSuperAdmin)?_c('div',{staticClass:\"grid-flex-container reportsSection pa-4 pb-0 px-0\"},[_c('h3',[_vm._v(\" Reports - Created by me\")]),_c('v-container',{staticClass:\"flexContainerItem pb-0\",staticStyle:{\"overflow\":\"hidden\"},attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"d-flex\"},[_c('v-text-field',{staticClass:\"py-0 mr-2\",attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.searchReports),callback:function ($$v) {_vm.searchReports=$$v},expression:\"searchReports\"}})],1),_c('div',{staticClass:\"generic-grid-container\"},[_c('v-data-table',{attrs:{\"dense\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"fixed-header\":\"\",\"loading-text\":\"Loading...\",\"items\":_vm.selfCreatedReportPreviews,\"headers\":_vm.reportsHeaders,\"search\":_vm.searchReports,\"loading\":_vm.loading},on:{\"update:search\":function($event){_vm.searchReports=$event}},scopedSlots:_vm._u([{key:`item.actions`,fn:function({ item }){return [_c('v-btn',{staticClass:\"action-btn\",attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\",\"elevation\":\"1\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.editReport(item)}}},[_c('v-icon',{attrs:{\"color\":\"info\",\"small\":\"\"}},[_vm._v(\"mdi-eye\")])],1),(_vm.canDeleteReport(item))?_c('v-btn',{staticClass:\"action-btn\",attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\",\"elevation\":\"1\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.deleteReport(item)}}},[_c('v-icon',{attrs:{\"color\":\"error\",\"small\":\"\"}},[_vm._v(\"mdi-delete\")])],1):_c('div',{staticClass:\"v-btn action-btn\",staticStyle:{\"width\":\"24px\",\"height\":\"24px\",\"float\":\"right\"},attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\"}})]}}],null,true)})],1)])],1):_vm._e(),(_vm.isSuperAdmin)?_c('div',{staticClass:\"grid-flex-container reportsSection pa-4\"},[_c('v-container',{staticClass:\"flexContainerItem mb-2\",staticStyle:{\"overflow\":\"hidden\"},attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"d-flex\"},[_c('v-text-field',{staticClass:\"py-0 mr-2\",attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.searchReports),callback:function ($$v) {_vm.searchReports=$$v},expression:\"searchReports\"}})],1),_c('div',{staticClass:\"generic-grid-container mt-2\"},[_c('v-data-table',{attrs:{\"dense\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"fixed-header\":\"\",\"loading-text\":\"Loading...\",\"items\":_vm.adminReportPreviews,\"headers\":_vm.reportsHeaders,\"search\":_vm.searchReports,\"loading\":_vm.loading},on:{\"update:search\":function($event){_vm.searchReports=$event}},scopedSlots:_vm._u([{key:`item.actions`,fn:function({ item }){return [_c('v-btn',{staticClass:\"action-btn\",attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\",\"elevation\":\"1\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.editReport(item)}}},[_c('v-icon',{attrs:{\"color\":\"info\",\"small\":\"\"}},[_vm._v(\"mdi-eye\")])],1),(_vm.canDeleteReport(item))?_c('v-btn',{staticClass:\"action-btn\",attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\",\"elevation\":\"1\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.deleteReport(item)}}},[_c('v-icon',{attrs:{\"color\":\"error\",\"small\":\"\"}},[_vm._v(\"mdi-delete\")])],1):_c('div',{staticClass:\"v-btn action-btn\",staticStyle:{\"width\":\"24px\",\"height\":\"24px\",\"float\":\"right\"},attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\"}})]}}],null,true)})],1)])],1):_vm._e(),_c('div',{staticClass:\"grid-flex-container reportsSection pa-4\"},[_c('v-container',{staticClass:\"flexContainerItem pb-0\",staticStyle:{\"overflow\":\"hidden\"},attrs:{\"fluid\":\"\"}},[_c('h3',[_vm._v(\"Workbooks\")]),_c('div',{staticClass:\"d-flex\"},[_c('v-text-field',{staticClass:\"py-0 mr-2\",attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.searchWorkbooks),callback:function ($$v) {_vm.searchWorkbooks=$$v},expression:\"searchWorkbooks\"}})],1),_c('div',{staticClass:\"generic-grid-container mt-2\"},[_c('v-data-table',{attrs:{\"dense\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":\"\",\"fixed-header\":\"\",\"loading-text\":\"Loading...\",\"items\":_vm.workbooks,\"headers\":_vm.workbooksHeaders,\"search\":_vm.searchWorkbooks,\"loading\":_vm.loading},on:{\"update:search\":function($event){_vm.searchWorkbooks=$event}},scopedSlots:_vm._u([{key:`item.actions`,fn:function({ item }){return [_c('v-btn',{staticClass:\"action-btn\",attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\",\"elevation\":\"1\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.previewWorkbook(item)}}},[_c('v-icon',{attrs:{\"color\":\"info\",\"small\":\"\"}},[_vm._v(\"mdi-eye\")])],1),_c('div',{staticClass:\"v-btn action-btn\",staticStyle:{\"width\":\"24px\",\"height\":\"24px\",\"float\":\"right\"},attrs:{\"fab\":\"\",\"small\":\"\",\"icon\":\"\"}})]}}],null,true)})],1)])],1)])\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!./Reports.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!./Reports.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Reports.vue?vue&type=template&id=514ec107&scoped=true\"\nimport script from \"./Reports.vue?vue&type=script&lang=js\"\nexport * from \"./Reports.vue?vue&type=script&lang=js\"\nimport style0 from \"./Reports.vue?vue&type=style&index=0&id=514ec107&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 \"514ec107\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"max-width\":_vm.modalWidth,\"persistent\":\"\"},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}},[_c('v-card',[_c('v-card-text',{staticClass:\"text-center\"},[_vm._v(_vm._s(_vm.message || \"Are you sure?\"))]),_c('v-divider'),_c('v-card-actions',[(_vm.showNoBtn)?_c('v-btn',{attrs:{\"color\":\"error\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.onCancel.apply(null, arguments)}}},[_vm._v(_vm._s(_vm.noBtnText || \"No\"))]):_vm._e(),_c('v-spacer'),(_vm.showYesBtn)?_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.onConfirm.apply(null, arguments)}}},[_vm._v(_vm._s(_vm.yesBtnText || \"Yes\"))]):_vm._e()],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./ConfirmModalDialog.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!./ConfirmModalDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ConfirmModalDialog.vue?vue&type=template&id=f25a8fb2\"\nimport script from \"./ConfirmModalDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ConfirmModalDialog.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","import Vue from \"vue\";\r\nimport vuetify from \"@/plugins/vuetify\";\r\nimport ConfirmModalDialog from \"@/components/core/dialogs/ConfirmModalDialog.vue\";\r\n\r\nfunction ConfirmDialog({\r\n message,\r\n yesBtnText,\r\n noBtnText,\r\n showNoBtn = true,\r\n showYesBtn = true,\r\n modalWidth = \"300\",\r\n}) {\r\n // let dummy=message;dummy=yesBtnText;dummy=noBtnText;JSON.stringify(dummy) //because eslint config\r\n\r\n let modal = document.createElement(\"div\");\r\n document.body.appendChild(modal);\r\n return new Promise((resolve) => {\r\n let vModal = new Vue({\r\n vuetify,\r\n el: modal,\r\n components: {\r\n ConfirmModalDialog,\r\n },\r\n data: {\r\n showDialog: true,\r\n showYesBtn,\r\n showNoBtn,\r\n message,\r\n yesBtnText,\r\n noBtnText,\r\n modalWidth,\r\n },\r\n methods: {\r\n kill() {\r\n modal = vModal.$el;\r\n vModal.$destroy();\r\n if (modal.parentNode) {\r\n modal.parentNode.removeChild(modal);\r\n }\r\n },\r\n onConfirm() {\r\n this.showDialog = false;\r\n resolve(1);\r\n this.kill();\r\n },\r\n onCancel() {\r\n this.showDialog = false;\r\n resolve(0);\r\n this.kill();\r\n },\r\n },\r\n template: ``,\r\n });\r\n });\r\n}\r\n\r\nexport default ConfirmDialog;\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Reports.vue?vue&type=style&index=0&id=514ec107&prod&lang=scss&scoped=true\""],"sourceRoot":""}