{"version":3,"sources":["webpack:///./src/components/widgets/upload-popover.vue?1ecc","webpack:///src/components/widgets/upload-popover.vue","webpack:///./src/components/widgets/upload-popover.vue?61a0","webpack:///./src/components/widgets/upload-popover.vue","webpack:///./src/components/page-header.vue?0443","webpack:///src/components/page-header.vue","webpack:///./src/components/page-header.vue?7e96","webpack:///./src/components/page-header.vue","webpack:///./node_modules/@babel/runtime/helpers/esm/asyncIterator.js","webpack:///./node_modules/core-js/modules/es.symbol.async-iterator.js","webpack:///./src/router/views/office/common-files.vue?b822","webpack:///src/router/views/office/common-files.vue","webpack:///./src/router/views/office/common-files.vue?00e6","webpack:///./src/router/views/office/common-files.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","pvId","option","placement","showPV","on","$event","scopedSlots","_u","key","fn","staticClass","_v","hidePopOver","proxy","class","uploadFiles","length","_e","showFileChooser","staticStyle","_l","x","xIndex","error","src","name","_s","errorMessage","directives","rawName","value","expression","inputError","description","domProps","target","composing","$set","removeDocument","ref","acceptedFiles","setDocuments","uploadDocument","staticRenderFns","props","data","methods","handleFileUpload","component","title","id","$router","push","href","text","components","type","String","default","items","Array","_asyncIterator","iterable","method","Symbol","asyncIterator","call","iterator","TypeError","defineWellKnownSymbol","changeCycle","model","callback","$$v","filterDocu","pageOptions","perPage","uploadOptions","$store","state","selectedDU","uploadedDocument","documentLoading","documents","y","index","style","filteredDocuments","openDocument","removeFile","fileType","includes","formatDateWithTime","Date","dateTimeUploaded"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,YAAY,CAACE,MAAM,CAAC,OAASN,EAAIO,KAAK,SAAW,QAAQ,UAAYP,EAAIQ,OAAOC,UAAU,eAAe,oBAAoB,KAAOT,EAAIU,QAAQC,GAAG,CAAC,cAAc,SAASC,GAAQZ,EAAIU,OAAOE,IAASC,YAAYb,EAAIc,GAAG,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,GACM,KAAN,mBAEI,aARJ,SAQA,GACM,KAAN,gBAEI,WAXJ,SAWA,GAAM,IAAN,OACM,EAAN,QACQ,MAAR,gBACQ,KAAR,oCACQ,KAAR,UACQ,kBAAR,EACQ,mBAAR,UACQ,kBAAR,UACQ,kBAAR,oBACA,kBACA,SACU,EAAV,OACA,qCACA,kBACY,GAAZ,aACc,OAAd,YACA,oBACA,SAGY,IAAZ,qCAAc,OAAd,WACY,EAAZ,sBACY,EAAZ,gDAEA,kBACY,EAAZ,+CAKI,gBAzCJ,SAyCA,KAAM,IAAN,OAAM,OAAN,qDAAQ,OAAR,iFACA,qBADA,SAEA,SACA,iCACkB,GAAlB,EACkB,KAAlB,4BAEA,kBACkB,EAAlB,oBAEA,kBACkB,EAAlB,UACA,4CACA,YAbA,OAgBA,qBAhBA,gDCvGoX,I,YCOhXK,EAAY,eACd,EACAxD,EACAmD,GACA,EACA,KACA,KACA,MAIa,aAAAK,E","file":"js/chunk-5fbf10b4.5f693ff3.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-popover',{attrs:{\"target\":_vm.pvId,\"triggers\":\"click\",\"placement\":_vm.option.placement,\"custom-class\":\"popover-documents\",\"show\":_vm.showPV},on:{\"update:show\":function($event){_vm.showPV=$event}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('div',{staticClass:\"d-flex align-items-center justify-content-between\"},[_c('small',[_vm._v(\"Upload Documents\")]),_c('span',{staticClass:\"bx bx-x font-size-14 cursor-pointer\",on:{\"click\":_vm.hidePopOver}})])]},proxy:true}])},[_c('div',{staticClass:\"text-center bg-soft-grey upload-drop-div position-relative\",class:{'py-3 cursor-pointer min-height-250px': !_vm.uploadFiles.length}},[(!_vm.uploadFiles.length)?_c('div',{staticClass:\"d-flex justify-content-center flex-column align-items-center px-5 drop-message position-absolute top-0\",on:{\"click\":_vm.showFileChooser}},[_c('h3',{staticClass:\"text-green\",staticStyle:{\"font-size\":\"1.421875rem\"}},[_vm._v(\" Drag and drop or click here to upload content \")]),_c('div',{staticStyle:{\"color\":\"#a6b0cf\",\"font-size\":\"18px\"}},[_vm._v(\" only pdf and images are allowed to upload (max 100mb) \")])]):_vm._e(),(_vm.uploadFiles.length)?[_c('div',{staticClass:\"cursor-pointer\",staticStyle:{\"height\":\"8px\",\"width\":\"100%\"},on:{\"click\":_vm.showFileChooser}}),_vm._l((_vm.uploadFiles),function(x,xIndex){return _c('div',{key:xIndex,staticClass:\"d-flex\",staticStyle:{\"gap\":\"10px\"}},[_c('div',{staticStyle:{\"width\":\"40% !important\"}},[_c('div',{staticClass:\"upload-drop-file-preview\"},[_c('div',{staticClass:\"upload-drop-image\",class:{'border border-danger p-2 border-r-5px': x.error}},[_c('img',{attrs:{\"src\":x.src,\"alt\":x.name}})])]),_c('div',{staticClass:\"dz-details text-center px-2\"},[_c('div',{staticClass:\"dz-filename text-ellipsis px-2\",attrs:{\"title\":x.name}},[_c('span',[_vm._v(_vm._s(x.name))])]),(x.error)?_c('div',{staticClass:\"dz-error-message px-2 border border-danger border-r-5px\"},[_c('span',{staticClass:\"text-danger\",staticStyle:{\"font-weight\":\"600\"}},[_vm._v(_vm._s(x.errorMessage))])]):_vm._e()])]),_c('div',{staticStyle:{\"margin-block\":\"15px\",\"margin-right\":\"10px\",\"width\":\"60% !important\"}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(x.description),expression:\"x.description\"}],staticClass:\"form-control upload-textarea\",class:{'is-invalid': x.inputError && !x.description},attrs:{\"placeholder\":\"Add Description\"},domProps:{\"value\":(x.description)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(x, \"description\", $event.target.value)}}}),(x.inputError && !x.description)?_c('div',{staticClass:\"input-error\"},[_c('span',{staticClass:\"text-danger\"},[_vm._v(\"This field is required\")])]):_vm._e(),_c('button',{staticClass:\"cursor-pointer btn btn-sm btn-danger mt-2 btn-block\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.removeDocument(xIndex)}}},[_c('i',{staticClass:\"bx bx-trash me-1\"}),_vm._v(\"Remove File\")])])])}),_c('div',{staticClass:\"cursor-pointer\",staticStyle:{\"height\":\"8px\",\"width\":\"100%\"},on:{\"click\":_vm.showFileChooser}})]:_vm._e()],2),_c('input',{ref:\"input\",staticClass:\"d-none\",attrs:{\"type\":\"file\",\"name\":\"image\",\"accept\":_vm.acceptedFiles,\"multiple\":\"\"},on:{\"change\":_vm.setDocuments}}),_c('div',{staticClass:\"text-right mt-3\"},[(_vm.uploadFiles.length)?_c('button',{staticClass:\"btn btn-success btn-sm me-1\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.uploadDocument()}}},[_c('i',{staticClass:\"bx bx-upload me-1\"}),_vm._v(\"Upload \")]):_vm._e(),_c('button',{staticClass:\"btn btn-sm\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.hidePopOver}},[_c('i',{staticClass:\"bx bx-x me-1\"}),_vm._v(\"Cancel \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./upload-popover.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!./upload-popover.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./upload-popover.vue?vue&type=template&id=87b29234&\"\nimport script from \"./upload-popover.vue?vue&type=script&lang=js&\"\nexport * from \"./upload-popover.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row mb-2\"},[_c('div',{staticClass:\"col-6 d-flex flex-row align-items-center\"},[_c('h4',{staticClass:\"mb-0 font-size-18\"},[_vm._v(_vm._s(_vm.title))])]),_c('div',{staticClass:\"col-6 d-flex justify-content-end align-items-end\"},[_c('div',{staticClass:\"page-title-right\"},[_c('ol',{staticClass:\"breadcrumb m-0\"},_vm._l((_vm.items),function(x){return _c('li',{key:x.id,staticClass:\"breadcrumb-item\"},[_c('a',{attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){return _vm.$router.push(x.href)}}},[_vm._v(_vm._s(x.text))])])}),0)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./page-header.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!./page-header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./page-header.vue?vue&type=template&id=05ed9e2d&\"\nimport script from \"./page-header.vue?vue&type=script&lang=js&\"\nexport * from \"./page-header.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","export default function _asyncIterator(iterable) {\n var method;\n\n if (typeof Symbol !== \"undefined\") {\n if (Symbol.asyncIterator) {\n method = iterable[Symbol.asyncIterator];\n if (method != null) return method.call(iterable);\n }\n\n if (Symbol.iterator) {\n method = iterable[Symbol.iterator];\n if (method != null) return method.call(iterable);\n }\n }\n\n throw new TypeError(\"Object is not async iterable\");\n}","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.github.io/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Layout',{on:{\"changeCycle\":_vm.changeCycle}},[_c('PageHeader',{attrs:{\"title\":_vm.title,\"items\":_vm.items}}),_c('div',[_c('div',{staticClass:\"row align-items-center\"},[_c('div',{staticClass:\"col-md-6 d-flex\"},[_c('div',{staticClass:\"dataTables_filter me-1\",attrs:{\"id\":\"tickets-table_filter\"}},[_c('label',{staticClass:\"\\n d-inline-flex\\n align-items-center\\n \"},[_c('b-form-input',{staticClass:\"form-control\",attrs:{\"autocomplete\":\"off\",\"type\":\"search\",\"placeholder\":\"Search Document...\"},model:{value:(_vm.filterDocu),callback:function ($$v) {_vm.filterDocu=$$v},expression:\"filterDocu\"}})],1)]),_c('div',{staticClass:\"dataTables_length\",attrs:{\"id\":\"tickets-table_length\"}},[_c('label',{staticClass:\"\\n d-inline-flex\\n align-items-center\\n mb-0\\n \"},[_c('b-form-select',{staticClass:\"form-select\",attrs:{\"size\":\"sm\",\"options\":_vm.pageOptions},model:{value:(_vm.perPage),callback:function ($$v) {_vm.perPage=$$v},expression:\"perPage\"}})],1)])]),_c('div',{staticClass:\"col-md-6 text-right\"},[_c('button',{staticClass:\"btn btn-primary\",attrs:{\"id\":\"common-files\"},on:{\"click\":function($event){_vm.showPV = true}}},[_c('i',{staticClass:\"fas fa-plus\"}),_vm._v(\" Add More Files \")]),_c('upload-popover',{attrs:{\"option\":_vm.uploadOptions,\"sourceId\":_vm.$store.state.data.selectedDU.id,\"showPV\":_vm.showPV,\"dzId\":\"dropzone-common-files\",\"pvId\":\"common-files\"},on:{\"uploaded\":_vm.uploadedDocument,\"closePopover\":function($event){_vm.showPV = false}}})],1)])]),(\n _vm.documentLoading\n )?_c('div',{staticClass:\"\\n d-flex\\n justify-content-center\\n align-items-center\\n \"},[_c('div',{staticClass:\"\\n preloader-component\\n me-2\\n \"},[_c('div',{staticClass:\"\\n status\\n \"},[_c('div',{staticClass:\"\\n spinner-chase\\n w-20px\\n h-20px\\n \"},[_c('div',{staticClass:\"\\n chase-dot\\n \"}),_c('div',{staticClass:\"\\n chase-dot\\n \"}),_c('div',{staticClass:\"\\n chase-dot\\n \"}),_c('div',{staticClass:\"\\n chase-dot\\n \"}),_c('div',{staticClass:\"\\n chase-dot\\n \"}),_c('div',{staticClass:\"\\n chase-dot\\n \"})])])]),_c('strong',[_vm._v(\"Loading...\")])]):_vm._e(),(!_vm.documentLoading && _vm.documents.length > 0)?_c('div',{staticClass:\"row\"},_vm._l((_vm.filteredDocuments),function(y,index){return _c('div',{key:y.id,staticClass:\"\\n col-md-3\\n mb-2\\n \"},[_c('div',{staticClass:\"\\n position-relative\\n cursor-pointer\\n border\\n mt-2\\n br-5\\n \",style:((\"z-index: \" + (_vm.filteredDocuments\n .length -\n index)))},[_c('div',{staticClass:\"\\n border\\n p-3\\n \"},[_c('div',[_c('div',{staticClass:\"\\n float-end\\n ms-2\\n \"},[_c('b-dropdown',{attrs:{\"id\":\"dropdown-dropleft\",\"right\":\"\",\"variant\":\"link\",\"toggle-class\":\"text-decoration-none text-dark font-size-16 pt-0\",\"menu-class\":\"dropdown-menu-end\",\"no-caret\":\"\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('i',{staticClass:\"\\n mdi\\n mdi-dots-horizontal\\n \"})]},proxy:true}],null,true)},[_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.openDocument(\n y\n )}}},[_c('i',{staticClass:\"\\n bx\\n bx-link-external\\n me-1\\n \"}),_vm._v(\"Open\")]),_c('b-dropdown-item',{attrs:{\"variant\":\"danger\"},on:{\"click\":function($event){return _vm.removeFile(y.id)}}},[_c('i',{staticClass:\"\\n bx\\n bx-trash\\n me-1\\n \"}),_vm._v(\"Remove\")])],1)],1),_c('div',{staticClass:\"\\n avatar-xs\\n me-3\\n mb-2\\n \",on:{\"click\":function($event){return _vm.openDocument(\n y\n )}}},[_c('div',{staticClass:\"\\n avatar-title\\n bg-transparent\\n rounded\\n \"},[(\n y.fileType.includes(\n 'image'\n )\n )?_c('i',{staticClass:\"\\n mdi\\n mdi-image\\n font-size-24\\n text-purple\\n \"}):_vm._e(),(\n y.fileType.includes(\n 'application'\n )\n )?_c('i',{staticClass:\"\\n mdi\\n mdi-file-pdf-outline\\n font-size-24\\n text-danger\\n \"}):_vm._e()])]),_c('div',{staticClass:\"\\n d-flex\\n \",on:{\"click\":function($event){return _vm.openDocument(\n y\n )}}},[_c('div',{staticClass:\"\\n overflow-hidden\\n me-auto\\n \"},[_c('h5',{staticClass:\"\\n font-size-14\\n text-truncate\\n mb-1\\n \"},[_vm._v(\" \"+_vm._s(y.description)+\" \")]),_c('p',{staticClass:\"\\n text-muted\\n mb-0\\n \"},[_vm._v(\" \"+_vm._s(_vm.formatDateWithTime( new Date( y.dateTimeUploaded ) ))+\" \")])])])])])])])}),0):_vm._e(),(!_vm.documentLoading && _vm.documents.length == 0)?_c('div',[_c('div',{staticClass:\"mt-5 text-center\"},[_c('i',{staticClass:\"fas fa-info-circle\"}),_vm._v(\" No documents found \")])]):_vm._e(),(!_vm.documentLoading && _vm.documents.length > 0 && _vm.filteredDocuments.length == 0)?_c('div',[_c('div',{staticClass:\"mt-5 text-center\"},[_c('i',{staticClass:\"fas fa-info-circle\"}),_vm._v(\" Search not found \")])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n Open\r\n Remove\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 y.description\r\n }}\r\n \r\n \r\n {{\r\n formatDateWithTime(\r\n new Date(\r\n y.dateTimeUploaded\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 No documents found\r\n
\r\n
\r\n
0 && filteredDocuments.length == 0\">\r\n
\r\n Search not found\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!./common-files.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!./common-files.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./common-files.vue?vue&type=template&id=71026e40&\"\nimport script from \"./common-files.vue?vue&type=script&lang=js&\"\nexport * from \"./common-files.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"],"sourceRoot":""}