{"version":3,"sources":["webpack:///./src/router/views/RepositoryReview/ReviewDetails.vue?e167","webpack:///./src/router/views/RepositoryReview/ReviewVetReportDialog.vue?1c02","webpack:///src/router/views/RepositoryReview/ReviewVetReportDialog.vue","webpack:///./src/router/views/RepositoryReview/ReviewVetReportDialog.vue?2420","webpack:///./src/router/views/RepositoryReview/ReviewVetReportDialog.vue","webpack:///./src/router/views/RepositoryReview/ReviewMatchImages.vue?1745","webpack:///src/router/views/RepositoryReview/ReviewMatchImages.vue","webpack:///./src/router/views/RepositoryReview/ReviewMatchImages.vue?8190","webpack:///./src/router/views/RepositoryReview/ReviewMatchImages.vue","webpack:///src/router/views/RepositoryReview/ReviewDetails.vue","webpack:///./src/router/views/RepositoryReview/ReviewDetails.vue?dbbc","webpack:///./src/router/views/RepositoryReview/ReviewDetails.vue","webpack:///./src/router/views/RepositoryReview/tempVetReportImage.png","webpack:///./src/components/SingleUploadForm.vue?42d4","webpack:///./src/components/SingleUploadForm.vue","webpack:///./src/components/SingleUploadForm.vue?3c4d","webpack:///./src/components/SingleUploadForm.vue?e36b","webpack:///./src/router/views/RepositoryReview/ReviewVetReportDialog.vue?201d","webpack:///./src/router/views/RepositoryReview/ReviewMatchImages.vue?3a56","webpack:///./src/router/views/RepositoryReview/ReviewDetails.vue?7cde","webpack:///./src/components/SingleUploadForm.vue?f919"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","translate","hipNumber","saleName","submissionStatus","attrs","on","openViewer","_l","attachment","key","id","templateName","imageId","isRequired","patientId","addUploadedBatch","removeBatch","$event","sendReviewSubmission","isApproveAllowed","nativeOn","showHelp","showModal","_e","staticRenderFns","actions","close","imgUrl","require","CreateVetReportDlg","name","components","ModalDialog","props","reasonKeys","type","Array","required","warningKeys","default","data","computed","emit","watch","created","methods","dlg","showCreateVetReportDlg","open","component","heading","staticStyle","_m","disabled","selectFromExisting","thumbnail","class","getThumbnailClass","style","getThumbnailUrl","selectThumbnailAction","onDragStart","_f","acquisitionTime","forceUTC","status","preventDefault","addRemainingAsExtraImages","thumbnailTemplate","index","reportTemplateImageViewId","onImageViewClick","onImageViewDragOver","onImageViewDragLeave","onImageViewDrop","extraReason","unassignImage","isExtra","reportImagesNotMatching","AstButton","Boolean","hasServerMatches","salesService","_objectSpread","allowAttachmentOnly","saleEntry","mapGetters","unmatchedStudyImages","_this","studyImages","filter","reportImages","some","image","handler","isComplete","workflow","canGoNext","immediate","mounted","_this2","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","loadData","$route","params","stop","destroyed","clearInitialStateReviewSubmissionAction","mapActions","_this3","_callee2","openDialog","study","_context2","openStudiesDlg","sent","addStudyToReviewSubmissionAction","studyId","classes","isUnmatched","push","selectedStudyImage","isSelected","storageLocation","findThumbnailUrl","setThumbnailData","studyImage","find","_ref","concat","event","dataTransfer","setData","_dndHandle","setDragImage","ghostImage","target","closest","imageView","assignImageToView","dropEffect","classList","contains","add","remove","_ref2","_this4","_callee3","_context3","selectReportTemplateImageViewIdAction","_this5","_callee4","_context4","addAsExtraImageAction","unassignTemplateAction","_this6","_callee5","_context5","imagesNotMatching","consultantId","saleId","studyIds","showAlert","finish","reviewSubmissionId","_this7","_callee6","_context6","loadReviewSubmissionDetails","loadImageTemplates","_this8","_callee7","_context7","getReportImagesAction","_this9","_callee8","_context8","getReviewSubmissionDetailsAction","thumbNailData","endpointBaseUrl","clinicCode","AstToolbar","AstToolbarButton","MatchImages","SingleUploadForm","UploadItemFile","UploadItemBatch","String","noImages","batchValidationDebounce","undefined","haveImagesFromStudy","imageDrop","uploadedStudyIds","uploadedBatchIds","dicomMatches","uploadData","mapState","checkIsApproveAllowed","attachmentsTemplates","clear","mapMutations","reportedImages","report","template","length","hasRequiredNotMatched","hasOwnProperty","hasRequiredNotMatchedAttachments","reason","sendReviewSubmissionAction","$router","go","openPromptDlg","buttonLabel","title","prompt","requireInput","t0","console","log","createVetReport","_this$$router$resolve","resolve","href","window","batchId","includes","uploadAttachmentAction","imageIds","stopUploads","deleteAttachmentAction","module","exports","isDragging","iconClass","iconName","description","upload","file","size","errorMessages","errorMessage","cancelUpload","ref","acceptString","selectFile","allowedExtensions","context","imageViewId","pollInterval","uploads","map","extension","join","isProcessing","isUploaded","isFailedUpload","fileCount","completeCount","isUploading","isSaleDayMedicationAlert","previousUpload","getUploadStatus","setInterval","clearInterval","$emit","Object","assign","toggleDropListeners","$el","abrupt","errorCount","UPDATE_UPLOAD","showConfirm","requireConfirmation","dropTarget","isAdding","addOrRemove","setIsDragging","setIsNotDragging","dropFile","$once","toggleIsDragging","e","stopPropagation","files","queueUpload","validateExtension","patientName","ownerName","accessionNumber","studyDateTime","serializeDate","Date","$api","viewer","getStudy","ids","studies","studyInstanceUid","studyUid","queueFilesForUpload","allowAttachments","startUpload","getExtension","split","pop","toLowerCase","isAllowedExtension","i"],"mappings":"uJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,KAAK,CAACJ,EAAIO,GAAG,kBAAkBP,EAAIQ,GAAGR,EAAIS,UAAU,mBAAmB,IAAIT,EAAIQ,GAAGR,EAAIU,WAAW,YAAYV,EAAIQ,GAAGR,EAAIW,UAAU,OAAOP,EAAG,KAAK,CAACJ,EAAIO,GAAG,WAAWP,EAAIQ,GAAGR,EAAIY,qBAAqBR,EAAG,MAAMA,EAAG,eAAe,CAACS,MAAM,CAAC,UAAW,GAAOC,GAAG,CAAC,UAAYd,EAAIe,cAAcX,EAAG,KAAK,CAACJ,EAAIO,GAAG,iBAAiBH,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,eAAeN,EAAIgB,GAAIhB,EAAwB,sBAAE,SAASiB,GAAY,OAAOb,EAAG,qBAAqB,CAACc,IAAID,EAA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,MAAO,CAACA,EAAM,IACdjD,YAAa5P,KAAK4P,YAClBY,YAAaxQ,KAAKwQ,YAClB1L,0BAA2B9E,KAAK8E,4BAC/B,OACF,OADE8F,EAAAxD,KAAA,GACI+F,OAAW4G,YAAY/T,KAAKuQ,QAASxI,GAAM,QAAA6C,EAAAxD,KAAA,iBAEjD,OAFiDwD,EAAAxD,KAAA,GAE3C6D,eAAU,qCAADjC,OAAsChJ,KAAK4P,YAAW,MAAA5G,OAAKhJ,KAAKsQ,kBAAkBO,KAAK,MAAK,OAAK,yBAAAjG,EAAApD,UAAAmD,EAAA,WAGlHoI,kBAAiB,SAACF,GASjB,IATsB,IAAAjL,EAAA,KAChBoM,EAAe,SAAAlE,GAAI,OACxBA,EAAKxN,KACH2R,MAAM,KACNC,MACAC,eACGC,EAAqB,SAAAtE,GAAI,OAAIlI,EAAK0I,kBAAkBpB,SAAS8E,EAAalE,KAGvEuE,EAAI,EAAGA,EAAIxB,EAAMjF,OAAQyG,IACjC,IAAKD,EAAmBvB,EAAMwB,IAAK,OAAO,EAE3C,OAAO,KChSgY,I,wBCQtY5Q,EAAY,eACd,EACA3D,EACAkC,GACA,EACA,KACA,KACA,MAIa,OAAAyB,E,2FCnBf,W,yDCAA,W,kCCAA,W,kCCAA","file":"js/repositoryReviewDetails.c74df217fa08bc42a16a.bundle.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-wrapper\"},[_c('div',{staticClass:\"list-scroll\"},[_c('h3',[_vm._v(\"Submission for \"+_vm._s(_vm.translate('consignerStudy'))+\" \"+_vm._s(_vm.hipNumber)+\" in Sale \"+_vm._s(_vm.saleName)+\" \")]),_c('h3',[_vm._v(\"Status: \"+_vm._s(_vm.submissionStatus))]),_c('br'),_c('match-images',{attrs:{\"disabled\":false},on:{\"openImage\":_vm.openViewer}}),_c('h3',[_vm._v(\"Attachments\")]),_c('div',{staticClass:\"attachments\"},[_c('div',{staticClass:\"attachments\"},_vm._l((_vm.attachmentsTemplates),function(attachment){return _c('single-upload-form',{key:attachment.id,staticClass:\"attachment\",attrs:{\"context\":\"teleconsultation-request\",\"allowed-extensions\":['pdf', 'mp4', 'jpg', 'png'],\"description\":attachment.templateName,\"image-id\":attachment.imageId,\"image-view-id\":'',\"report-template-image-view-id\":attachment.id,\"is-required\":attachment.isRequired,\"patient-id\":_vm.patientId},on:{\"study-complete\":_vm.addUploadedBatch,\"remove-batch\":_vm.removeBatch}})}),1)])],1),_c('ast-toolbar',{staticClass:\"toolbar-header-secondary\"},[_c('div',{staticClass:\"filler\"}),_c('div',{staticClass:\"right\"},[[_c('ast-button',{attrs:{\"disabled\":_vm.submissionStatus === 'Rejected'},on:{\"click\":function($event){return _vm.sendReviewSubmission('reject')}}},[_vm._v(\"Reject\")]),_c('ast-button',{attrs:{\"disabled\":!_vm.isApproveAllowed},on:{\"click\":function($event){return _vm.sendReviewSubmission('approve')}}},[_vm._v(\"Approve\")]),_c('ast-button',{attrs:{\"disabled\":!_vm.isApproveAllowed},on:{\"click\":function($event){return _vm.sendReviewSubmission('approveSubmit')}}},[_vm._v(\"Approve and Submit\")])]],2),_c('ast-toolbar-button',{attrs:{\"icon\":\"help-circle\"},nativeOn:{\"click\":function($event){return _vm.showHelp($event)}}})],1),(_vm.showModal)?_c('modal-dialog',{attrs:{\"title\":\"Why can't I submit?\"},on:{\"close\":function($event){_vm.showModal = false}}},[_c('p',[_vm._v(\"This submission is locked until the following items are completed:\")]),_c('ul',[_c('li',[_vm._v(\"Block Item 1\")]),_c('li',[_vm._v(\"Blocking thing number 2\")]),_c('li',[_vm._v(\"Blocking thing number 3 that's longer\")])])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dialog customtempvetreport\"},[_c('modal-dialog',{attrs:{\"is-open\":true,\"title\":\"Create Vet Report\",\"close-text\":\"Cancel\",\"actions\":_vm.actions},on:{\"close\":_vm.close}},[_c('img',{attrs:{\"src\":_vm.imgUrl}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\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!./ReviewVetReportDialog.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!./ReviewVetReportDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ReviewVetReportDialog.vue?vue&type=template&id=1c07575e\"\nimport script from \"./ReviewVetReportDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ReviewVetReportDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./ReviewVetReportDialog.vue?vue&type=style&index=0&id=1c07575e&prod&lang=scss\"\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',[_c('h3',[_vm._v(_vm._s(_vm.heading))]),_c('div',{staticStyle:{\"display\":\"flex\",\"flex-direction\":\"row\"}},[_c('div',{staticStyle:{\"flex-grow\":\"1\"}},[_c('p',{staticClass:\"instructions\"},[_c('svg-icon',{attrs:{\"icon\":\"arrow-all\",\"fixed\":\"\"}}),_c('span',{staticClass:\"touch-only\"},[_vm._v(\"\\n\\t\\t\\t\\t\\tSelect an image, followed by the matching view.\\n\\t\\t\\t\\t\")]),_vm._m(0)],1),_c('p',{staticClass:\"instructions\"},[_vm._v(\"\\n\\t\\t\\t\\tAny remaining unmatched images will not be submitted.\\n\\t\\t\\t\")])]),_c('div',{staticStyle:{\"flex-shrink\":\"1\"}},[(!_vm.disabled)?_c('p',{staticClass:\"instructions\"},[_c('ast-button',{attrs:{\"type\":\"success\",\"disabled\":_vm.disabled},nativeOn:{\"click\":function($event){return _vm.selectFromExisting($event)}}},[_c('span',{staticClass:\"plus\"},[_vm._v(\"+\")]),_vm._v(\"\\n\\t\\t\\t\\t\\tAdd a previously uploaded study\\n\\t\\t\\t\\t\")])],1):_vm._e()])]),_c('div',{staticClass:\"matching-panes\"},[_c('div',{staticClass:\"your-images\"},[_c('h4',[_vm._v(\"Your images\")]),_c('div',{staticClass:\"thumbnail-pane\"},[_vm._l((_vm.unmatchedStudyImages),function(thumbnail){return _c('div',{key:thumbnail.imageId,staticClass:\"thumbnail\",class:_vm.getThumbnailClass(thumbnail),style:({\n\t\t\t\t\t\t'background-image': (\"url(\" + (_vm.getThumbnailUrl(thumbnail)) + \")\"),\n\t\t\t\t\t}),attrs:{\"draggable\":\"true\"},on:{\"click\":function($event){return _vm.selectThumbnailAction(thumbnail)},\"dragstart\":function($event){return _vm.onDragStart(thumbnail, $event)}}},[_c('div',{staticClass:\"thumbnail-text\"},[_c('span',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(thumbnail.name)+\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm._f(\"localizeDate\")(thumbnail.acquisitionTime,{ forceUTC: false }))+\"\\n\\t\\t\\t\\t\\t\\t\")])]),(thumbnail.status === 'Rejected')?_c('div',{staticClass:\"rejected\"},[_c('span',[_vm._v(\"Rejected\")])]):_vm._e()])}),(_vm.disabled)?_c('div',{staticClass:\"cover\"}):_vm._e()],2),_c('a',{on:{\"click\":function($event){$event.preventDefault();return _vm.addRemainingAsExtraImages($event)}}},[_vm._v(\"\\n\\t\\t\\t\\tAdd Remaining as Extra Images\\n\\t\\t\\t\")])]),_c('div',{staticClass:\"submission-images\"},[_c('h4',[_vm._v(\"Images for submission\")]),_c('div',{staticClass:\"thumbnail-pane\"},[_vm._l((_vm.reportImages),function(thumbnailTemplate,index){return _c('div',{key:thumbnailTemplate.reportTemplateImageViewId || thumbnailTemplate.imageId,staticClass:\"thumbnail\",class:_vm.getThumbnailClass(thumbnailTemplate),style:({\n\t\t\t\t\t\t'background-image': (\"url(\" + (_vm.getThumbnailUrl(thumbnailTemplate)) + \")\"),\n\t\t\t\t\t}),on:{\"click\":function($event){return _vm.onImageViewClick(thumbnailTemplate)},\"dragover\":function($event){$event.preventDefault();return _vm.onImageViewDragOver($event)},\"dragleave\":function($event){$event.preventDefault();return _vm.onImageViewDragLeave($event)},\"drop\":function($event){$event.preventDefault();return _vm.onImageViewDrop(thumbnailTemplate, $event)}}},[(!thumbnailTemplate.imageId)?_c('div',{staticClass:\"dim-overlay\"}):_vm._e(),_c('div',{staticClass:\"thumbnail-text\"},[_c('p',[_vm._v(_vm._s(thumbnailTemplate.templateName || thumbnailTemplate.extraReason))]),_c('div',{staticClass:\"thumbnail-status\"},[(thumbnailTemplate.imageId)?_c('p',{staticClass:\"is-success\"},[_c('svg-icon',{attrs:{\"icon\":\"check-circle\"}})],1):_vm._e(),(thumbnailTemplate.isRequired && !thumbnailTemplate.imageId)?_c('p',{staticClass:\"is-danger\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\tRequired\\n\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e(),(!thumbnailTemplate.isRequired && !thumbnailTemplate.imageId)?_c('p',{staticClass:\"is-warning\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\tOptional\\n\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e()])]),(thumbnailTemplate.imageId)?_c('svg-icon',{staticClass:\"clear-image\",attrs:{\"icon\":\"close\"},nativeOn:{\"click\":function($event){return _vm.unassignImage(index)}}}):_vm._e()],1)}),_c('div',{staticClass:\"thumbnail\",class:_vm.getThumbnailClass({ isExtra: true }),on:{\"click\":function($event){return _vm.onImageViewClick({ isExtra: true })},\"dragover\":function($event){$event.preventDefault();return _vm.onImageViewDragOver($event)},\"dragleave\":function($event){$event.preventDefault();return _vm.onImageViewDragLeave($event)},\"drop\":function($event){$event.preventDefault();return _vm.onImageViewDrop({ isExtra: true }, $event)}}},[_c('div',{staticClass:\"dim-overlay\"}),_vm._m(1)]),(_vm.disabled)?_c('div',{staticClass:\"cover\"}):_vm._e()],2),_c('a',{on:{\"click\":function($event){$event.preventDefault();return _vm.reportImagesNotMatching($event)}}},[_vm._v(\"\\n\\t\\t\\t\\tImages not matching?\\n\\t\\t\\t\")])])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"mouse-only\"},[_vm._v(\"\\n\\t\\t\\t\\t\\tSelect an image, followed by the matching view,\\n\\t\\t\\t\\t\\t\"),_c('em',[_vm._v(\"or\")]),_vm._v(\"\\n\\t\\t\\t\\t\\tdrag each image.\\n\\t\\t\\t\\t\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"thumbnail-text\"},[_c('p',[_vm._v(\"Extra Image\")])])}]\n\nexport { render, staticRenderFns }","\n\n\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!./ReviewMatchImages.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!./ReviewMatchImages.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ReviewMatchImages.vue?vue&type=template&id=30dbcd1a&scoped=true\"\nimport script from \"./ReviewMatchImages.vue?vue&type=script&lang=js\"\nexport * from \"./ReviewMatchImages.vue?vue&type=script&lang=js\"\nimport style0 from \"./ReviewMatchImages.vue?vue&type=style&index=0&id=30dbcd1a&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 \"30dbcd1a\",\n null\n \n)\n\nexport default component.exports","\n\n\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!./ReviewDetails.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!./ReviewDetails.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ReviewDetails.vue?vue&type=template&id=568f1490&scoped=true\"\nimport script from \"./ReviewDetails.vue?vue&type=script&lang=js\"\nexport * from \"./ReviewDetails.vue?vue&type=script&lang=js\"\nimport style0 from \"./ReviewDetails.vue?vue&type=style&index=0&id=568f1490&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 \"568f1490\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/tempVetReportImage.1931c1e2.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"single-upload-form upload\",class:{ 'is-dragging': _vm.isDragging }},[_c('form',{staticClass:\"upload-form\",on:{\"submit\":function($event){$event.preventDefault();}}},[_c('div',{staticClass:\"upload-info\"},[_c('svg-icon',{staticClass:\"status-icon\",class:_vm.iconClass,attrs:{\"icon\":_vm.iconName,\"fixed\":\"\",\"pulse\":_vm.iconName === 'spinner'}}),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(_vm.description))]),(_vm.upload)?[_c('p',[_vm._v(_vm._s(_vm.upload.file.name))]),_c('p',[_vm._v(_vm._s(_vm._f(\"fileSize\")(_vm.upload.file.size)))]),(_vm.upload.isFailedUpload)?_c('p',{staticClass:\"error is-danger\"},[(_vm.status.errorMessages && _vm.status.errorMessages.length)?[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.status.errorMessages[0].errorMessage)+\"\\n\\t\\t\\t\\t\\t\")]:[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tUpload failed. Please check your network connection and try again later.\\n\\t\\t\\t\\t\\t\")]],2):_vm._e(),(_vm.upload.sopInstanceUid)?_c('svg-icon',{staticClass:\"cancel\",attrs:{\"icon\":\"close\"},nativeOn:{\"click\":function($event){return _vm.cancelUpload($event)}}}):_vm._e()]:_vm._e(),(!_vm.upload && !_vm.imageId)?[(_vm.isSaleDayMedicationAlert)?_c('em',{staticClass:\"is-danger\"},[_vm._v(\"(Only use this if medication has been administered after 6pm on the day prior to sale)\")]):(_vm.isRequired)?_c('em',{staticClass:\"is-danger\"},[_vm._v(\"(Required)\")]):(!_vm.isRequired)?_c('em',{staticClass:\"is-warning\"},[_vm._v(\"(Optional)\")]):_vm._e(),_c('input',{ref:\"fileInput\",attrs:{\"accept\":_vm.acceptString,\"type\":\"file\",\"disabled\":_vm.upload !== undefined},on:{\"change\":_vm.selectFile}})]:_vm._e()],2),(!_vm.upload && !_vm.imageId)?_c('p',{staticClass:\"drop-or-select-message\"},[_vm._v(\"\\n\\t\\t\\tDrop file here or\\n\\t\\t\\t\"),_c('a',[_vm._v(\"browse\")])]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { mapState } from 'vuex'\nimport { showAlert } from '@dialogs/MessageDlg.vue'\nimport { showConfirm } from '@dialogs/ConfirmDlg.vue'\nimport { uploadData } from '@services/uploads'\nimport { serializeDate } from '@services/api'\n\nexport default {\n\tname: 'SingleUploadForm',\n\tprops: {\n\t\tallowedExtensions: {\n\t\t\ttype: Array,\n\t\t\trequired: true,\n\t\t},\n\t\tcontext: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\tdescription: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\timageId: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\timageViewId: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\treportTemplateImageViewId: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tisRequired: {\n\t\t\ttype: Boolean,\n\t\t\trequired: true,\n\t\t},\n\t\tpatientId: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tstudyId: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tisDragging: false,\n\t\t\tstatus: {},\n\t\t\tpollInterval: undefined,\n\t\t\tuploadData,\n\t\t}\n\t},\n\tcomputed: {\n\t\tupload() {\n\t\t\treturn this.uploadData.uploads.find(\n\t\t\t\tupload =>\n\t\t\t\t\tupload.reportTemplateImageViewId === this.reportTemplateImageViewId &&\n\t\t\t\t\t(!this.context || upload.context === this.context)\n\t\t\t)\n\t\t},\n\t\tacceptString() {\n\t\t\tif (!this.allowedExtensions.length) return '*'\n\t\t\treturn this.allowedExtensions.map(extension => '.' + extension).join(',')\n\t\t},\n\t\tisProcessing() {\n\t\t\treturn (\n\t\t\t\tthis.upload &&\n\t\t\t\tthis.upload.isUploaded &&\n\t\t\t\t!this.upload.isFailedUpload &&\n\t\t\t\tthis.status.fileCount &&\n\t\t\t\tthis.status.completeCount !== this.status.fileCount\n\t\t\t)\n\t\t},\n\t\tisComplete() {\n\t\t\treturn (\n\t\t\t\tthis.upload &&\n\t\t\t\tthis.upload.isUploaded &&\n\t\t\t\t!this.upload.isFailedUpload &&\n\t\t\t\tthis.status.fileCount &&\n\t\t\t\tthis.status.completeCount === this.status.fileCount\n\t\t\t)\n\t\t},\n\t\ticonName() {\n\t\t\tif (this.imageId) return 'check-circle'\n\t\t\tif (this.upload) {\n\t\t\t\tif (this.upload.isUploading) return 'spinner'\n\t\t\t\tif (this.isProcessing) return 'spinner'\n\t\t\t\tif (this.upload.isFailedUpload) return 'exclamation-circle'\n\t\t\t\tif (this.isComplete) return 'check-circle'\n\t\t\t\tif (this.upload.isUploaded) return 'spinner'\n\t\t\t\treturn 'clock-o'\n\t\t\t}\n\t\t\tif (this.isSaleDayMedicationAlert) return 'exclamation-triangle'\n\t\t\tif (this.isRequired) return 'file-upload'\n\t\t\treturn 'file-upload'\n\t\t},\n\t\ticonClass() {\n\t\t\tif (this.imageId) return 'is-success'\n\t\t\tif (this.upload) {\n\t\t\t\tif (this.upload.isUploading) return 'is-muted'\n\t\t\t\tif (this.isProcessing) return 'is-muted'\n\t\t\t\tif (this.upload.isFailedUpload) return 'is-danger'\n\t\t\t\tif (this.isComplete) return 'is-success'\n\t\t\t\tif (this.upload.isUploaded) return 'is-muted'\n\t\t\t\treturn 'is-muted'\n\t\t\t}\n\t\t\tif (this.isRequired) return 'is-danger'\n\t\t\treturn 'is-muted'\n\t\t},\n\t\tisSaleDayMedicationAlert(){\n\t\t\treturn (this.description === 'Sale Day Medication Alert')\n\t\t}\n\t},\n\twatch: {\n\t\tupload: {\n\t\t\thandler(upload, previousUpload) {\n\t\t\t\tif (upload && !previousUpload) {\n\t\t\t\t\tthis.getUploadStatus()\n\t\t\t\t\tthis.pollInterval = setInterval(this.getUploadStatus, 2000)\n\t\t\t\t}\n\t\t\t\tif (previousUpload && !upload) {\n\t\t\t\t\tclearInterval(this.pollInterval)\n\t\t\t\t}\n\t\t\t},\n\t\t\timmediate: true,\n\t\t},\n\t\t'status.study': function() {\n\t\t\tif (!this.isComplete) return\n\t\t\tconst imageId = this.status.study.imageIds.length ? this.status.study.imageIds[0] : null\n\t\t\tthis.$emit('study-complete', { ...this.upload, ...this.status.study, imageId })\n\t\t},\n\t},\n\tmounted() {\n\t\tthis.toggleDropListeners(this.$el, true)\n\t},\n\tdestroyed() {\n\t\tclearInterval(this.pollInterval)\n\t},\n\tmethods: {\n\t\tasync getUploadStatus() {\n\t\t\tif (this.upload && (this.isComplete || this.upload.isFailedUpload)) {\n\t\t\t\tclearInterval(this.pollInterval)\n\t\t\t\treturn\n\t\t\t}\n\t\t\tif (this.upload && this.upload.isUploaded) {\n\t\t\t\tthis.status = await uploadData.getUploadStatus(this.upload.batchId)\n\t\t\t\tif (this.status.errorCount > 0) uploadData.UPDATE_UPLOAD({ ...this.upload, isFailedUpload: true })\n\t\t\t}\n\t\t},\n\t\tasync cancelUpload() {\n\t\t\tif (await showConfirm('Are you sure you want to cancel this file?')) {\n\t\t\t\tthis.$emit('remove-batch', {\n\t\t\t\t\t...this.upload,\n\t\t\t\t\t...this.status.study,\n\t\t\t\t\trequireConfirmation: false,\n\t\t\t\t})\n\n\t\t\t\tthis.status = {}\n\t\t\t}\n\t\t},\n\t\ttoggleDropListeners(dropTarget, isAdding) {\n\t\t\tconst addOrRemove = isAdding ? 'addEventListener' : 'removeEventListener'\n\t\t\tdropTarget[addOrRemove]('dragover', this.setIsDragging)\n\t\t\tdropTarget[addOrRemove]('dragenter', this.setIsDragging)\n\t\t\tdropTarget[addOrRemove]('dragend', this.setIsNotDragging)\n\t\t\tdropTarget[addOrRemove]('dragleave', this.setIsNotDragging)\n\t\t\tdropTarget[addOrRemove]('drop', this.dropFile)\n\t\t\tif (isAdding)\n\t\t\t\tthis.$once('hook:beforeDestroy', () => {\n\t\t\t\t\tthis.toggleDropListeners(dropTarget, false)\n\t\t\t\t})\n\t\t},\n\t\ttoggleIsDragging(e, isDragging) {\n\t\t\tthis.isDragging = isDragging\n\t\t\te.preventDefault()\n\t\t\te.stopPropagation()\n\t\t},\n\t\tsetIsDragging(e) {\n\t\t\tthis.toggleIsDragging(e, true)\n\t\t},\n\t\tsetIsNotDragging(e) {\n\t\t\tthis.toggleIsDragging(e, false)\n\t\t},\n\t\t/**\n\t\t * Handles a change event on the file input\n\t\t *\n\t\t * @param {Object} e - change event\n\t\t * @param {Object} e.target - the target element\n\t\t */\n\t\tasync selectFile({ target }) {\n\t\t\tif (!target.files.length) return\n\t\t\tawait this.queueUpload(target.files)\n\t\t},\n\t\t/**\n\t\t * Handles a drop event on the modal\n\t\t *\n\t\t * @param {Object} e - drop event\n\t\t */\n\t\tasync dropFile(e) {\n\t\t\te.preventDefault()\n\t\t\te.stopPropagation()\n\t\t\tthis.isDragging = false\n\t\t\tawait this.queueUpload(e.dataTransfer.files)\n\t\t},\n\t\tasync queueUpload(files: FileList) {\n\t\t\tif (this.validateExtension(files)) {\n\t\t\t\tlet study: IUploadStudy = {\n\t\t\t\t\t// set the patientId, patientName, and ownerName to the same value;\n\t\t\t\t\t// this may need be changed if this component is ever used for non-sale\n\t\t\t\t\t// attachments\n\t\t\t\t\tpatientId: this.patientId,\n\t\t\t\t\tpatientName: this.patientId,\n\t\t\t\t\townerName: this.patientId,\n\t\t\t\t\taccessionNumber: this.patientId,\n\t\t\t\t\tstudyDateTime: serializeDate(new Date())\n\t\t\t\t}\n\t\t\t\tif(this.studyId){\n\t\t\t\tlet studies = await this.$api.viewer.getStudy({ ids: [this.studyId] }, false)\n\t\t\t\tstudy.studyInstanceUid = studies.studies[0].studyUid\n\t\t\t}\n\t\t\t\tawait uploadData.queueFilesForUpload({\n\t\t\t\t\tcontext: this.context,\n\t\t\t\t\tallowAttachments: true,\n\t\t\t\t\tfiles: [files[0]],\n\t\t\t\t\tdescription: this.description,\n\t\t\t\t\timageViewId: this.imageViewId,\n\t\t\t\t\treportTemplateImageViewId: this.reportTemplateImageViewId,\n\t\t\t\t})\n\t\t\t\tawait uploadData.startUpload(this.context, study)\n\t\t\t} else {\n\t\t\t\tawait showAlert(`This file type is not allowed for ${this.description} (${this.allowedExtensions.join(', ')}).`)\n\t\t\t}\n\t\t},\n\t\tvalidateExtension(files) {\n\t\t\tconst getExtension = file =>\n\t\t\t\tfile.name\n\t\t\t\t\t.split('.')\n\t\t\t\t\t.pop()\n\t\t\t\t\t.toLowerCase()\n\t\t\tconst isAllowedExtension = file => this.allowedExtensions.includes(getExtension(file))\n\t\t\t// should only be one file, but check entire FileList to be safe\n\t\t\t// FileList is not an array, so can't do files.every or files.some\n\t\t\tfor (let i = 0; i < files.length; i++) {\n\t\t\t\tif (!isAllowedExtension(files[i])) return false\n\t\t\t}\n\t\t\treturn true\n\t\t},\n\t},\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleUploadForm.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleUploadForm.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SingleUploadForm.vue?vue&type=template&id=031980cc\"\nimport script from \"./SingleUploadForm.vue?vue&type=script&lang=ts\"\nexport * from \"./SingleUploadForm.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SingleUploadForm.vue?vue&type=style&index=0&id=031980cc&prod&lang=scss\"\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 * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReviewVetReportDialog.vue?vue&type=style&index=0&id=1c07575e&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReviewMatchImages.vue?vue&type=style&index=0&id=30dbcd1a&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReviewDetails.vue?vue&type=style&index=0&id=568f1490&prod&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleUploadForm.vue?vue&type=style&index=0&id=031980cc&prod&lang=scss\""],"sourceRoot":""}