{"version":3,"sources":["webpack:///./src/components/customer/lotDetails/CustomerLotDocuments.vue?ffee","webpack:///./src/components/ui/Modal.vue?9889","webpack:///./src/components/customer/lotDetails/CustomerLotDocuments.vue?3dac","webpack:///./src/components/customer/lotDetails/CustomerLotDocuments.vue","webpack:///./src/components/customer/lotDetails/CustomerLotDocuments.vue?e670","webpack:///./src/components/ui/Modal.vue?3eee","webpack:///./src/components/ui/Modal.vue","webpack:///./src/components/ui/Modal.vue?5652","webpack:///./src/components/ui/DocumentItemWithSlot.vue?f539","webpack:///./src/components/ui/DocumentItemWithSlot.vue","webpack:///./src/components/ui/DocumentItemWithSlot.vue?5c27","webpack:///./src/components/ui/DocumentItemWithSlot.vue?c806"],"names":["_withScopeId","n","_pushScopeId","_popScopeId","_hoisted_1","class","_hoisted_2","_createElementVNode","_hoisted_3","key","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","render","_ctx","_cache","$props","$setup","$data","$options","_$setup$props$documen","_openBlock","_createElementBlock","props","documents","length","_Fragment","_renderList","document","index","_createBlock","link","name","fileName","classes","preview","container","content","_withCtx","_toDisplayString","getDocumentName","formatDateMonthDayYear","modifiedDate","_","_defineComponent","__name","setup","__props","expose","__expose","__returned__","Document","DocumentItemWithSlot","Object","defineProperty","enumerable","value","__exports__","_Teleport","to","_createVNode","_Transition","transitionName","appear","default","isOpen","_normalizeClass","onClick","close","showContainer","maxWidth","showClose","_createCommentVNode","_renderSlot","$slots","undefined","type","Boolean","String","Array","emits","emit","watch","body","classList","add","remove","immediate","keyPress","event","code","addEventListener","onBeforeUnmount","removeEventListener","openFile","src","previewIcon","_imports_0","_withModifiers","download","showImg","onClose","$event","ref","isImage","window","open","downloadFile","ImagePreviewModal"],"mappings":"wHAAA,W,i7MCAA,W,kFCEA,MAAMA,EAAeC,IAAMC,yBAAa,mBAAmBD,EAAEA,IAAIE,0BAAcF,GACzEG,EAAa,CAAEC,MAAO,iBACtBC,EAA2BN,EAAa,IAAm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,KAAMd,EAAOM,MAAMS,OACvD,KAAM,GAAI/B,GACbwE,wBAAY3D,EAAK4D,OAAQ,UAAW,QAAIC,GAAW,IAClD,GACHvE,gCAAoB,MAAO,CACzBF,MAAO,0BACP6F,IAAKE,IACL9B,QAAS+B,2BAAejF,EAAOkF,SAAU,CAAC,OAAO,aAChD,KAAM,EAAGhG,GACZyD,yBAAa3C,EAAO,qBAAsB,CACxCmF,QAASnF,EAAOmF,QAChBC,QAAStF,EAAO,KAAOA,EAAO,GAAMuF,GAAiBrF,EAAOmF,aAAUzB,IACrE,KAAM,EAAG,CAAC,c,wCCdW/B,+BAAiB,CAC3CC,OAAQ,uBACRtB,MAAO,CACLQ,KAAM,GACNC,KAAM,GACNE,QAAS,CAAE8B,QAASA,KAAA,CACpB5B,UAAW,0BACXD,QAAS,6BAGXW,MAAMC,GAAgBC,OAAQC,IAC9BA,IAEF,MAAM1B,EAAQwB,EAIRqD,EAAUG,sBAAwB5B,GACxC,SAASmB,IACHU,qBAAQjF,EAAMS,MAAQT,EAAMQ,MAC9BqE,EAAQ5C,MAAQjC,EAAMQ,KAEtB0E,OAAOC,KAAKnF,EAAMQ,KAAM,UAG5B,SAASoE,IACPQ,0BAAapF,EAAMQ,MAGrB,MAAMmB,EAAe,CAAE3B,QAAO6E,UAASN,WAAUK,WAAUI,aAAKK,+BAAmB,cAAgB,OAAOJ,cAAW,kBAAoB,OAAOR,kBAAe,mBAAqB,OAAOW,oBAE3L,OADAtD,OAAOC,eAAeJ,EAAc,kBAAmB,CAAEK,YAAY,EAAOC,OAAO,IAC5EN,K,iCCxCP,MAAMO,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS5C,GAAQ,CAAC,YAAY,qBAE1E,gB,kCCTf","file":"js/CustomerLotDocuments.dd13970e.js","sourcesContent":["export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/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/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./CustomerLotDocuments.vue?vue&type=style&index=0&id=4c588e34&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/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/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Modal.vue?vue&type=style&index=0&id=1e795cc8&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4c588e34\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"lot-documents\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Documents\", -1))\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = { class: \"document-body\" }\nconst _hoisted_5 = { class: \"document-content\" }\nconst _hoisted_6 = { class: \"date\" }\nconst _hoisted_7 = {\n key: 1,\n class: \"card card-empty\"\n}\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"lot-no-detail-items\" }, \"There are no uploaded documents for this lot yet\", -1))\nconst _hoisted_9 = [\n _hoisted_8\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n ($setup.props.documents?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.props.documents, (document, index) => {\n return (_openBlock(), _createBlock($setup[\"DocumentItemWithSlot\"], {\n class: \"documents-item\",\n key: index,\n link: document.link,\n name: document.fileName,\n classes: { preview: 'document-preview', container: 'document-item-container' }\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString($setup.getDocumentName(document.fileName)), 1),\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString($setup.formatDateMonthDayYear(document.modifiedDate)), 1)\n ])\n ]),\n _: 2\n }, 1032, [\"link\", \"name\"]))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_7, _hoisted_9))\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\n\nimport { Document } from \"@/types/CustomerLotDetails\";\nimport { formatDateMonthDayYear } from \"@/helpers/date\";\nimport DocumentItemWithSlot from \"@/components/ui/DocumentItemWithSlot.vue\";\nimport { getDocumentName } from \"@/helpers/documents\";\n\ninterface Props {\n documents: Document[];\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CustomerLotDocuments',\n props: {\n documents: {}\n },\n setup(__props: any, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n\n\nconst __returned__ = { props, get Document() { return Document }, get formatDateMonthDayYear() { return formatDateMonthDayYear }, DocumentItemWithSlot, get getDocumentName() { return getDocumentName } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./CustomerLotDocuments.vue?vue&type=template&id=4c588e34&scoped=true&ts=true&lang=pug\"\nimport script from \"./CustomerLotDocuments.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./CustomerLotDocuments.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./CustomerLotDocuments.vue?vue&type=style&index=0&id=4c588e34&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4c588e34\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, Transition as _Transition, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1e795cc8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal--wrapper\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock(_Teleport, { to: \"body\" }, [\n _createVNode(_Transition, {\n name: $props.transitionName,\n appear: \"\"\n }, {\n default: _withCtx(() => [\n ($props.isOpen)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"modal\", $props.classes])\n }, [\n _createElementVNode(\"div\", {\n class: \"modal--backdrop\",\n onClick: $setup.close\n }),\n ($props.showContainer)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"modal--container scroll-wrapper\", { 'max-width': $setup.props.maxWidth }])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n ($props.showClose)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"modal--close\",\n onClick: $setup.close\n }))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"content\", {}, undefined, true)\n ])\n ], 2))\n : _renderSlot(_ctx.$slots, \"content\", { key: 1 }, undefined, true)\n ], 2))\n : _createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 8, [\"name\"])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { onBeforeUnmount, watch } from \"vue\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'Modal',\n props: {\n isOpen: { type: Boolean, default: false },\n showClose: { type: Boolean, default: true },\n showContainer: { type: Boolean, default: true },\n classes: { type: [String, Array], default: \"\" },\n transitionName: { type: String, default: \"fade\" },\n maxWidth: { type: Boolean, default: false },\n },\n emits: [\"close\", \"submit\"],\n setup(__props, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\n \n \n\n watch(\n () => props.isOpen,\n () => {\n if (props.isOpen) {\n document.body.classList.add(\"no-scroll\");\n } else {\n document.body.classList.remove(\"no-scroll\");\n }\n },\n { immediate: true }\n );\n\n function close() {\n emit(\"close\");\n }\n\n const keyPress = (event: KeyboardEvent) => {\n if (event && event.code === \"Escape\") {\n close();\n }\n };\n document.addEventListener(\"keydown\", keyPress);\n\n onBeforeUnmount(() => {\n document.removeEventListener(\"keydown\", keyPress);\n document.body.classList.remove(\"no-scroll\");\n });\n\nconst __returned__ = { emit, props, close, keyPress, onBeforeUnmount, watch }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./Modal.vue?vue&type=template&id=1e795cc8&scoped=true&ts=true&lang=pug\"\nimport script from \"./Modal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Modal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=1e795cc8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1e795cc8\"]])\n\nexport default __exports__","import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, renderSlot as _renderSlot, withModifiers as _withModifiers, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/icon-download-slim.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-c705fb90\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"src\"]\nconst _hoisted_2 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"document-item-wrapper\",\n onClick: $setup.openFile\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass($setup.props.classes.container)\n }, [\n _createElementVNode(\"img\", {\n class: _normalizeClass($setup.props.classes.preview),\n src: $setup.previewIcon($setup.props.link, $setup.props.name)\n }, null, 10, _hoisted_1),\n _renderSlot(_ctx.$slots, \"content\", {}, undefined, true)\n ], 2),\n _createElementVNode(\"img\", {\n class: \"document-item--download\",\n src: _imports_0,\n onClick: _withModifiers($setup.download, [\"stop\",\"prevent\"])\n }, null, 8, _hoisted_2),\n _createVNode($setup[\"ImagePreviewModal\"], {\n showImg: $setup.showImg,\n onClose: _cache[0] || (_cache[0] = ($event: any) => ($setup.showImg = undefined))\n }, null, 8, [\"showImg\"])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { ref } from \"vue\";\nimport ImagePreviewModal from \"@/components/ui/modals/ImagePeviewModal.vue\";\nimport { isImage, previewIcon } from \"@/helpers/documents\";\nimport { downloadFile } from \"@/helpers/downloadFile\";\n\ninterface Classes {\n container?: string;\n preview?: string;\n}\ninterface Props {\n link: string;\n name: string;\n classes?: Classes;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'DocumentItemWithSlot',\n props: {\n link: {},\n name: {},\n classes: { default: () => ({\n container: \"document-item-container\",\n preview: \"document-item--preview\",\n }) }\n },\n setup(__props: any, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n\n\nconst showImg = ref(undefined);\nfunction openFile() {\n if (isImage(props.name || props.link)) {\n showImg.value = props.link;\n } else {\n window.open(props.link, \"_blank\");\n }\n}\nfunction download() {\n downloadFile(props.link);\n}\n\nconst __returned__ = { props, showImg, openFile, download, ref, ImagePreviewModal, get isImage() { return isImage }, get previewIcon() { return previewIcon }, get downloadFile() { return downloadFile } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./DocumentItemWithSlot.vue?vue&type=template&id=c705fb90&scoped=true&ts=true&lang=pug\"\nimport script from \"./DocumentItemWithSlot.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./DocumentItemWithSlot.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./DocumentItemWithSlot.vue?vue&type=style&index=0&id=c705fb90&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c705fb90\"]])\n\nexport default __exports__","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/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/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./DocumentItemWithSlot.vue?vue&type=style&index=0&id=c705fb90&lang=scss&scoped=true\""],"sourceRoot":""}