{"version":3,"sources":["webpack:///./src/router/views/ConsignerStudyList.vue?9dc7","webpack:///./src/components/view/ConsignerStudiesListClientModal.vue?fa1f","webpack:///./src/router/views/ConsignerStudyList.vue?389f","webpack:///./src/router/views/ConsignerStudyList.vue?1eba","webpack:///./src/components/view/ConsignerStudiesListClientModal.vue?3124","webpack:///src/components/view/ConsignerStudiesListClientModal.vue","webpack:///./src/components/view/ConsignerStudiesListClientModal.vue?7ec5","webpack:///./src/components/view/ConsignerStudiesListClientModal.vue","webpack:///src/router/views/ConsignerStudyList.vue","webpack:///./src/router/views/ConsignerStudyList.vue?2fd3","webpack:///./src/router/views/ConsignerStudyList.vue"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","logoUrl","_e","_v","sales","length","_s","name","on","event","updateSearch","saleId","target","value","label","_l","sale","key","id","domProps","search","labelsForSelectedSale","staticStyle","lotNumber","translate","directives","rawName","isLoadingResults","consignerStudies","expression","mq","class","medium","columns","sortedResults","listSort","updateSortOrder","handleRowOpen","scopedSlots","_u","fn","ref","row","consignerName","chipId","sire","dam","accessionNumber","_f","studyDateTime","forceUTC","quantity","attachmentType","includes","getAttachmentTypeAbbreviation","result","i","nativeOn","$event","find","isChipIdVisible","sort","currentPage","resultsPerPage","hasMoreResults","updateSort","userClients","startViewing","showClientModal","staticRenderFns","_b","selectClient","$emit","dialog","preventDefault","model","callback","$$v","clientName","components","ModalDialog","props","type","Array","required","data","computed","isOpen","title","actions","isDisabled","trim","emit","mounted","_this","$nextTick","$refs","clientNameInput","vueSelect","focus","methods","component","DataTable","AstCard","AstPagination","AstInput","ConsignerStudyListClientModal","isLoading","isViewingStarted","activeConsignerStudyId","pdfQueue","columnName","isSortable","sortName","_objectSpread","mapState","state","repository","requireClientName","clinicCode","auth","claims","activeClinicCode","base","Annex","defaults","baseURL","concat","labels","isNoSale","orderBy","order","by","isAscending","isSorted","activePdfUrl","_this$pdfQueue$","imageId","endpointBaseUrl","findAttachmentUrl","prop","slice","a","b","reverse","start","end","Number","isChipIdColumn","some","col","watch","handler","refreshResults","deep","_this2","openPdfDlg","then","r","reviewed","markPdfAsReviewed","endViewing","_this3","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","loadRepositoryData","stop","beforeRouteLeave","to","from","endRepositoryViewing","mapMutations","mapActions","_this4","_callee2","chipIdColumnIndex","_context2","findIndex","splice","_this5","_callee3","params","response","_context3","abrupt","$api","getConsignerStudies","sent","finish","evt","changes","_this6","_callee4","_context4","loadUserClients","_this7","_callee5","_yield$_this7$$api$us","_context5","user","getClients","_toConsumableArray","Set","map","userClient","_arguments","arguments","_this8","_callee6","_context6","undefined","loadInitialViewingData","openViewer","t0","$notifications","addError","_this9","_callee7","responses","_context7","Promise","all","startRepositoryViewing","consignerStudyId","getRequiredAttachments","shift","$router","push","words","split","word","charAt","join"],"mappings":"sHAAA,W,oCCAA,W,qBCCAA,EAAOC,QAAU,CAAC,MAAQ,QAAQ,OAAS,QAAQ,MAAQ,SAAS,OAAS,W,gECD7E,IAAIC,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,CAAEN,EAAW,QAAEI,EAAG,MAAM,CAACE,YAAY,kBAAkBC,MAAM,CAAC,IAAMP,EAAIQ,QAAQ,QAAU,iCAAiCR,EAAIS,KAAMT,EAAY,SAAEI,EAAG,MAAM,CAACE,YAAY,eAAe,CAACN,EAAIU,GAAG,2EAA2EN,EAAG,MAAM,CAACA,EAAG,MAAM,CAACA,EAAG,QAAQ,CAACJ,EAAIU,GAAG,UAAgC,IAArBV,EAAIW,MAAMC,OAAcR,EAAG,KAAK,CAACJ,EAAIU,GAAGV,EAAIa,GAAGb,EAAIW,MAAM,GAAGG,SAASV,EAAG,SAAS,CAACE,YAAY,SAASS,GAAG,CAAC,OAAS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sD,WAAA,WACA,KAAArD,kBAAA,EACA,KAAAE,SAAA,GACA,KAAAkE,wBAEA1H,8BAAA,SAAAF,GACA,IAAAsL,EAAAtL,EAAAuL,MAAA,KACA,OAAAD,EAAAzB,KAAA,SAAA2B,GAAA,OAAAA,EAAAC,OAAA,MAAAC,KAAA,QChc0W,ICQtW,G,UAAY,eACd,EACAtP,EACA6E,GACA,EACA,KACA,KACA,OAIa,e","file":"js/consignerStudyList.a3ac71fd103cbe77d8f7.bundle.js","sourcesContent":["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!./ConsignerStudyList.vue?vue&type=style&index=0&id=05d4ec9c&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!./ConsignerStudiesListClientModal.vue?vue&type=style&index=0&id=7aac30f3&prod&lang=scss\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"small\":\"640px\",\"medium\":\"800px\",\"large\":\"1024px\",\"xLarge\":\"1280px\"};","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\"},[(_vm.logoUrl)?_c('img',{staticClass:\"repository-logo\",attrs:{\"src\":_vm.logoUrl,\"onerror\":\"this.style.display = 'none'\"}}):_vm._e(),(_vm.isNoSale)?_c('div',{staticClass:\"placeholder\"},[_vm._v(\"\\n\\t\\t\\tNo sales are available for online viewing at this time.\\n\\t\\t\")]):_c('div',[_c('div',[_c('label',[_vm._v(\"Sale\")]),(_vm.sales.length === 1)?_c('h4',[_vm._v(_vm._s(_vm.sales[0].name))]):_c('select',{staticClass:\"select\",on:{\"change\":function (event) { return _vm.updateSearch({ saleId: event.target.value, label: '' }); }}},_vm._l((_vm.sales),function(sale){return _c('option',{key:sale.id,domProps:{\"value\":sale.id,\"selected\":sale.id === _vm.search.saleId}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(sale.name)+\"\\n\\t\\t\\t\\t\\t\")])}),0)]),(_vm.labelsForSelectedSale.length && _vm.search.saleId)?_c('div',{staticStyle:{\"padding-top\":\"16px\"}},[_c('label',[_vm._v(\"Label\")]),_c('select',{staticClass:\"select\",on:{\"change\":function (event) { return _vm.updateSearch({ label: event.target.value }); }}},[_c('option',{domProps:{\"selected\":!_vm.search.label}}),_vm._l((_vm.labelsForSelectedSale),function(label){return _c('option',{key:label.label,domProps:{\"value\":label.label,\"selected\":label.label === _vm.search.label}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(label.label)+\"\\n\\t\\t\\t\\t\\t\")])})],2)]):_vm._e(),_c('div',{staticStyle:{\"padding\":\"16px 0\",\"max-width\":\"200px\"}},[_c('ast-input',{attrs:{\"label\":\"Search\",\"debounce-milliseconds\":250,\"value\":_vm.search.lotNumber,\"placeholder\":_vm.translate('consignerStudy') + ' number'},on:{\"input\":function (lotNumber) { return _vm.updateSearch({ lotNumber: lotNumber }); }}})],1),_c('div',{staticClass:\"table-wrapper\"},[_c('section',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isLoadingResults && !_vm.consignerStudies.length),expression:\"!isLoadingResults && !consignerStudies.length\"}],staticClass:\"no-results\"},[_c('em',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tNo results found\\n\\t\\t\\t\\t\\t\")])]),(_vm.mq.medium)?_c('data-table',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.consignerStudies.length || _vm.isLoadingResults),expression:\"consignerStudies.length || isLoadingResults\"}],class:{ 'has-cards': !_vm.mq.medium },attrs:{\"columns\":_vm.columns,\"rows\":_vm.sortedResults,\"sort\":_vm.listSort,\"is-loading\":_vm.isLoadingResults},on:{\"sort-selected\":_vm.updateSortOrder,\"row-open\":_vm.handleRowOpen},scopedSlots:_vm._u([{key:\"row\",fn:function(ref){\nvar row = ref.row;\nreturn [_c('td',[_vm._v(_vm._s(row.lotNumber))]),_c('td',[_vm._v(_vm._s(row.consignerName))]),_c('td',[_vm._v(_vm._s(row.label))]),(_vm.isChipIdColumn)?_c('td',[_vm._v(_vm._s(row.chipId))]):_vm._e(),_c('td',{staticClass:\"break-sm\"},[_vm._v(_vm._s(row.sire))]),_c('td',{staticClass:\"break-sm\"},[_vm._v(_vm._s(row.dam))]),_c('td',[_vm._v(_vm._s(row.accessionNumber))]),_c('td',{staticClass:\"break-md\",staticStyle:{\"font-size\":\"0.85em\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm._f(\"localizeDate\")(row.studyDateTime,{ forceUTC: false }))+\"\\n\\t\\t\\t\\t\\t\\t\")]),_c('td',_vm._l((row.attachments),function(quantity,attachmentType){return _c('span',{key:attachmentType,staticClass:\"attachment\",attrs:{\"title\":attachmentType}},[_c('svg-icon',{attrs:{\"icon\":attachmentType.includes('Video') ? 'file-movie-o' : 'file-pdf-o',\"fixed\":\"\"}}),_c('abbr',[_vm._v(_vm._s(_vm.getAttachmentTypeAbbreviation(attachmentType)))]),(quantity > 1)?_c('small',[_vm._v(\"x\"+_vm._s(quantity))]):_vm._e()],1)}),0)]}}],null,false,1580028261)}):_vm._e(),(!_vm.mq.medium)?_c('div',{staticClass:\"panel-list-container\"},_vm._l((_vm.sortedResults),function(result,i){return _c('ast-card',{key:i,staticClass:\"study-card\",attrs:{\"show-header\":false},nativeOn:{\"click\":function($event){return _vm.handleRowOpen(result)}}},[_c('h4',[_vm._v(_vm._s(_vm.translate('consignerStudy'))+\" \"+_vm._s(result.lotNumber))]),(result.label)?_c('p',[_vm._v(\"(\"+_vm._s(result.label)+\")\")]):_vm._e(),_c('div',{staticStyle:{\"margin-top\":\"16px\"}},[_c('ul',{staticClass:\"unlist\"},[_c('li',[_c('label',[_vm._v(_vm._s(_vm.translate('consigner'))+\":\")]),_c('span',[_vm._v(_vm._s(result.consignerName || '-'))])]),_c('li',[_c('label',[_vm._v(\"Accession Number:\")]),_c('span',[_vm._v(_vm._s(result.accessionNumber || '-'))])]),_c('li',[_c('label',[_vm._v(\"Sire:\")]),_c('span',[_vm._v(_vm._s(result.sire || '-'))])]),_c('li',[_c('label',[_vm._v(\"Dam:\")]),_c('span',[_vm._v(_vm._s(result.dam || '-'))])]),(_vm.sales.find(function (sale) { return sale.isChipIdVisible; }))?_c('li',[_c('label',[_vm._v(\"Chip Id:\")]),_c('span',[_vm._v(_vm._s(result.chipId))])]):_vm._e()])]),_c('p',{staticStyle:{\"margin\":\"16px 0\"}},[_c('svg-icon',{attrs:{\"icon\":\"clock-o\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm._f(\"localizeDate\")(result.studyDateTime,{ forceUTC: false }))+\"\\n\\t\\t\\t\\t\\t\\t\")],1),_c('div',_vm._l((result.attachments),function(quantity,attachmentType){return _c('span',{key:attachmentType,staticClass:\"attachment\",attrs:{\"title\":attachmentType}},[_c('svg-icon',{attrs:{\"icon\":attachmentType.includes('Video') ? 'file-movie-o' : 'file-pdf-o',\"fixed\":\"\"}}),_c('abbr',[_vm._v(_vm._s(_vm.getAttachmentTypeAbbreviation(attachmentType)))]),(quantity > 1)?_c('small',[_vm._v(\"x\"+_vm._s(quantity))]):_vm._e()],1)}),0)])}),1):_vm._e()],1),_c('ast-pagination',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.consignerStudies.length),expression:\"consignerStudies.length\"}],attrs:{\"current-page\":_vm.sort.currentPage,\"results-per-page\":_vm.sort.resultsPerPage,\"results-length\":_vm.sortedResults.length,\"has-more-results\":_vm.hasMoreResults},on:{\"set-results-per-page\":function (value) { return _vm.updateSort({ resultsPerPage: value }); },\"set-current-page\":function (value) { return _vm.updateSort({ currentPage: value }); }}})],1)]),(_vm.showClientModal)?_c('consigner-study-list-client-modal',{attrs:{\"user-clients\":_vm.userClients},on:{\"submit\":_vm.startViewing,\"close\":function($event){_vm.showClientModal = false}}}):_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('modal-dialog',_vm._b({staticClass:\"consigner-client-modal\",on:{\"select\":_vm.selectClient,\"close\":function($event){return _vm.$emit('close')}}},'modal-dialog',_vm.dialog,false),[_c('form',{staticClass:\"client-form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.$emit('select')}}},[_c('label',[_vm._v(\"Please select or type the name of the client for whom you are viewing.\")]),_c('v-select',{ref:\"clientNameInput\",attrs:{\"options\":_vm.userClients,\"searchable\":true,\"taggable\":true,\"clearable\":false},model:{value:(_vm.clientName),callback:function ($$v) {_vm.clientName=$$v},expression:\"clientName\"}})],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!./ConsignerStudiesListClientModal.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!./ConsignerStudiesListClientModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ConsignerStudiesListClientModal.vue?vue&type=template&id=7aac30f3\"\nimport script from \"./ConsignerStudiesListClientModal.vue?vue&type=script&lang=js\"\nexport * from \"./ConsignerStudiesListClientModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./ConsignerStudiesListClientModal.vue?vue&type=style&index=0&id=7aac30f3&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","\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!./ConsignerStudyList.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!./ConsignerStudyList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ConsignerStudyList.vue?vue&type=template&id=05d4ec9c\"\nimport script from \"./ConsignerStudyList.vue?vue&type=script&lang=js\"\nexport * from \"./ConsignerStudyList.vue?vue&type=script&lang=js\"\nimport style0 from \"./ConsignerStudyList.vue?vue&type=style&index=0&id=05d4ec9c&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"],"sourceRoot":""}