{"version":3,"sources":["webpack:///./src/components/layout/ViewerContextMenu.vue?b5e1","webpack:///src/components/layout/ViewerContextMenu.vue","webpack:///./src/components/layout/ViewerContextMenu.vue?2f2d","webpack:///./src/components/layout/ViewerContextMenu.vue","webpack:///./src/components/layout/ViewerContextMenu.vue?9b75"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","on","$event","preventDefault","ref","_m","_l","study","i","key","e","openChildMenuDelayed","openChildMenu","closeChildMenu","style","studyDotStyle","staticStyle","_v","_s","patientName","modality","_f","studyDateTime","forceUTC","studyDescription","_e","class","disabled","mprLoading","viewMpr","attrs","mprTitle","hoverStudy","imageData","thumbnail","seriesId","activeSeries","selectSeries","seriesDotStyle","seriesNumber","simpleName","staticRenderFns","name","components","SvgIcon","props","top","type","Number","required","left","Object","allowRelatedStudies","Boolean","default","relatedStudies","Array","String","containerRef","data","isChildOpen","hoverTimeout","undefined","computed","_objectSpread","mapGetters","relatedStudiesWithImages","filter","thumbnails","length","containerRect","rect","right","window","innerWidth","bottom","innerHeight","getBoundingClientRect","mounted","addCloseEventHandlers","$refs","parentMenu","moveMenuOntoScreen","methods","isStudyActive","_this","some","t","allActiveSeriesIds","includes","_this2","openSeries","find","backgroundColor","$store","getters","canvasColors","_this3","handleEscape","$emit","document","addEventListener","handleClick","outsideClick","contains","target","childMenu","downEvents","forEach","$once","clearTimeout","removeEventListener","menu","_this4","$nextTick","offScreenX","Math","max","min","offScreenY","_this5","child","parentMenuItem","overlap","isTooFarRight","offsetWidth","alignedLeft","alignedRight","_this6","hoverDelay","setTimeout","_this7","hideDelay","studyId","clinicCode","$route","params","component"],"mappings":"qIAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,iBAAiBC,GAAG,CAAC,YAAc,SAASC,GAAQA,EAAOC,oBAAqB,CAACL,EAAG,KAAK,CAACM,IAA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ACA,IAAAE,EAAA7C,EAAA/B,KAAAuE,EAAAI,YAAAF,EAAA,KACAF,EAAA3G,MAAAoC,KAAA4E,MACA,CACA,IAAAC,EAAA9C,EAAAT,MAAAmD,EAAA,KACAF,EAAA3G,MAAAoC,KAAA6E,EAEAP,EAAAtC,mBAAAsC,EAAAxC,MAAA0B,gBAGA/F,qBAAA,SAAAD,EAAAH,GAAA,IAAAyH,EAAA,KACAC,EAAA,IACAnB,aAAA,KAAAjD,cACA,KAAAA,aAAAqE,YAAA,WACAF,EAAApH,cAAAF,EAAAH,KACA0H,IAEApH,eAAA,eAAAsH,EAAA,KACAC,EAAA,IACAtB,aAAA,KAAAjD,cACA,KAAAA,aAAAqE,YAAA,WACAC,EAAAvE,aAAA,EACAuE,EAAAnG,gBAAA8B,IACAsE,IAEA/F,aAAA,SAAAF,GACAA,IAAA,KAAAC,aAAAD,UAAA,KAAAH,aACA,KAAAmE,MAAA,UACAkC,QAAA,KAAArG,WAAAqG,QACAlG,WACAmG,WAAA,KAAAC,OAAAC,OAAAF,aAEA,KAAAnC,MAAA,WAEAtE,QAAA,SAAAnB,GACA,KAAAyF,MAAA,WAAAzF,GACA,KAAAyF,MAAA,YCjOyW,I,wBCQrWsC,EAAY,eACd,EACAhJ,EACAgD,GACA,EACA,KACA,WACA,MAIa,aAAAgG,E,6CCnBf,W","file":"js/componentViewerContextMenu.c94ee9cd90bf2cc15bdf.bundle.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"menu-container\",on:{\"contextmenu\":function($event){$event.preventDefault();}}},[_c('ul',{ref:\"parentMenu\",staticClass:\"menu\"},[(_vm.allowRelatedStudies)?[_vm._m(0),_vm._l((_vm.relatedStudiesWithImages),function(study,i){return _c('li',{key:i,staticClass:\"child-item\",on:{\"mouseover\":function (e) { return _vm.openChildMenuDelayed(e, study); },\"click\":function (e) { return _vm.openChildMenu(e, study); },\"mouseleave\":_vm.closeChildMenu}},[_c('span',{staticClass:\"open-series-dot\",style:(_vm.studyDotStyle(study))}),_c('span',{staticStyle:{\"flex-grow\":\"1\"},on:{\"click\":function($event){$event.preventDefault();}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(study.patientName)+\" (\"+_vm._s(study.modality)+\") on\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm._f(\"localizeDate\")(study.studyDateTime,{ forceUTC: false }))+\" :\\n\\t\\t\\t\\t\\t\"+_vm._s(study.studyDescription)+\"\\n\\t\\t\\t\\t\")])])})]:_vm._e(),_vm._m(1),_c('li',{class:{ disabled: _vm.mprLoading },on:{\"click\":_vm.viewMpr}},[(_vm.mprLoading)?_c('svg-icon',{staticClass:\"no-disable\",attrs:{\"icon\":\"spinner-circle-thick\",\"spin\":\"\"}}):_c('svg-icon',{staticClass:\"no-disable\",attrs:{\"icon\":\"layout-mpr-3x1\"}}),_c('span',{staticStyle:{\"flex-grow\":\"1\",\"margin-left\":\"7px\"}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.mprTitle)+\"\\n\\t\\t\\t\")])],1)],2),(_vm.isChildOpen)?_c('ul',{ref:\"childMenu\",staticClass:\"menu\",on:{\"mouseenter\":function (e) { return _vm.openChildMenu(e, _vm.hoverStudy); },\"mouseleave\":_vm.closeChildMenu}},_vm._l((_vm.hoverStudy.imageData.thumbnails),function(thumbnail){return _c('li',{key:thumbnail.seriesId,class:{ disabled: thumbnail.seriesId === _vm.activeSeries.seriesId },on:{\"click\":function($event){return _vm.selectSeries(thumbnail.seriesId)}}},[_c('span',{staticClass:\"open-series-dot\",style:(_vm.seriesDotStyle(thumbnail.seriesId))}),_c('span',{staticStyle:{\"flex-grow\":\"1\"}},[_vm._v(_vm._s(thumbnail.seriesNumber)+\": \"+_vm._s(thumbnail.simpleName))])])}),0):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"title\"},[_c('span',[_vm._v(\"Switch Series\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"title\"},[_c('span',[_vm._v(\"Multi-Planar Reconstruction\")])])}]\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!./ViewerContextMenu.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!./ViewerContextMenu.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ViewerContextMenu.vue?vue&type=template&id=75b11672&scoped=true\"\nimport script from \"./ViewerContextMenu.vue?vue&type=script&lang=js\"\nexport * from \"./ViewerContextMenu.vue?vue&type=script&lang=js\"\nimport style0 from \"./ViewerContextMenu.vue?vue&type=style&index=0&id=75b11672&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 \"75b11672\",\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!./ViewerContextMenu.vue?vue&type=style&index=0&id=75b11672&prod&lang=scss&scoped=true\""],"sourceRoot":""}