@ohif/mode-microscopy 3.7.0-beta.9 → 3.7.0-beta.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(o,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@ohif/core")):"function"==typeof define&&define.amd?define(["@ohif/core"],e):"object"==typeof exports?exports["ohif-mode-microscopy"]=e(require("@ohif/core")):o["ohif-mode-microscopy"]=e(o["@ohif/core"])}(
|
|
1
|
+
!function(o,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@ohif/core")):"function"==typeof define&&define.amd?define(["@ohif/core"],e):"object"==typeof exports?exports["ohif-mode-microscopy"]=e(require("@ohif/core")):o["ohif-mode-microscopy"]=e(o["@ohif/core"])}(self,(o=>(()=>{"use strict";var e={762:e=>{e.exports=o}},n={};function i(o){var t=n[o];if(void 0!==t)return t.exports;var s=n[o]={exports:{}};return e[o](s,s.exports,i),s.exports}i.d=(o,e)=>{for(var n in e)i.o(e,n)&&!i.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:e[n]})},i.o=(o,e)=>Object.prototype.hasOwnProperty.call(o,e);var t={};return(()=>{i.d(t,{default:()=>y});var o=i(762);const e=JSON.parse('{"u2":"@ohif/mode-microscopy"}').u2;function n(o,e,n,i,t,s){return{id:e,icon:n,label:i,type:o,commands:t,tooltip:s}}n.bind(null,"action"),n.bind(null,"toggle");const s=n.bind(null,"tool"),l=[{id:"MeasurementTools",type:"ohif.splitButton",props:{groupId:"MeasurementTools",isRadio:!0,primary:s("line","tool-length","Line",[{commandName:"setToolActive",commandOptions:{toolName:"line"},context:"MICROSCOPY"}],"Line"),secondary:{icon:"chevron-down",label:"",isActive:!0,tooltip:"More Measure Tools"},items:[s("line","tool-length","Line",[{commandName:"setToolActive",commandOptions:{toolName:"line"},context:"MICROSCOPY"}],"Line Tool"),s("point","tool-point","Point",[{commandName:"setToolActive",commandOptions:{toolName:"point"},context:"MICROSCOPY"}],"Point Tool"),s("polygon","tool-polygon","Polygon",[{commandName:"setToolActive",commandOptions:{toolName:"polygon"},context:"MICROSCOPY"}],"Polygon Tool"),s("circle","tool-circle","Circle",[{commandName:"setToolActive",commandOptions:{toolName:"circle"},context:"MICROSCOPY"}],"Circle Tool"),s("box","tool-rectangle","Box",[{commandName:"setToolActive",commandOptions:{toolName:"box"},context:"MICROSCOPY"}],"Box Tool"),s("freehandpolygon","tool-freehand-polygon","Freehand Polygon",[{commandName:"setToolActive",commandOptions:{toolName:"freehandpolygon"},context:"MICROSCOPY"}],"Freehand Polygon Tool"),s("freehandline","tool-freehand-line","Freehand Line",[{commandName:"setToolActive",commandOptions:{toolName:"freehandline"},context:"MICROSCOPY"}],"Freehand Line Tool")]}},{id:"dragPan",type:"ohif.radioGroup",props:{type:"tool",icon:"tool-move",label:"Pan",commands:[{commandName:"setToolActive",commandOptions:{toolName:"dragPan"},context:"MICROSCOPY"}]}}],a="@ohif/extension-default.layoutTemplateModule.viewerLayout",c="@ohif/extension-default.hangingProtocolModule.default",r="@ohif/extension-default.panelModule.seriesList",d="@ohif/extension-dicom-video.sopClassHandlerModule.dicom-video",m="@ohif/extension-dicom-video.viewportModule.dicom-video",p="@ohif/extension-dicom-pdf.sopClassHandlerModule.dicom-pdf",f="@ohif/extension-dicom-pdf.viewportModule.dicom-pdf",u={"@ohif/extension-default":"^3.0.0","@ohif/extension-cornerstone":"^3.0.0","@ohif/extension-cornerstone-dicom-sr":"^3.0.0","@ohif/extension-dicom-pdf":"^3.0.1","@ohif/extension-dicom-video":"^3.0.1","@ohif/extension-dicom-microscopy":"^3.0.0"};const y={id:e,modeFactory:function(n){let{modeConfiguration:i}=n;return{id:e,routeName:"microscopy",displayName:"Microscopy",onModeEnter:o=>{let{servicesManager:e,extensionManager:n,commandsManager:i}=o;const{toolbarService:t}=e.services;t.init(n),t.addButtons(l),t.createButtonSection("primary",["MeasurementTools","dragPan"])},onModeExit:o=>{let{servicesManager:e}=o;const{toolbarService:n}=e.services;n.reset()},validationTags:{study:[],series:[]},isValidMode:o=>{let{modalities:e}=o;return e.split("\\").includes("SM")},routes:[{path:"microscopy",layoutTemplate:o=>{let{location:e,servicesManager:n}=o;return{id:a,props:{leftPanels:[r],leftPanelDefaultClosed:!0,rightPanelDefaultClosed:!0,rightPanels:["@ohif/extension-dicom-microscopy.panelModule.measure"],viewports:[{namespace:"@ohif/extension-dicom-microscopy.viewportModule.microscopy-dicom",displaySetsToDisplay:["@ohif/extension-dicom-microscopy.sopClassHandlerModule.DicomMicroscopySopClassHandler","@ohif/extension-dicom-microscopy.sopClassHandlerModule.DicomMicroscopySRSopClassHandler"]},{namespace:m,displaySetsToDisplay:[d]},{namespace:f,displaySetsToDisplay:[p]}]}}}}],extensions:u,hangingProtocols:[c],hangingProtocol:["default"],sopClassHandlers:["@ohif/extension-dicom-microscopy.sopClassHandlerModule.DicomMicroscopySopClassHandler","@ohif/extension-dicom-microscopy.sopClassHandlerModule.DicomMicroscopySRSopClassHandler",d,p],hotkeys:[...o.hotkeys.defaults.hotkeyBindings],...i}},extensionDependencies:u}})(),t=t.default})()));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohif/mode-microscopy",
|
|
3
|
-
"version": "3.7.0-beta.
|
|
3
|
+
"version": "3.7.0-beta.91",
|
|
4
4
|
"description": "OHIF mode for DICOM microscopy",
|
|
5
5
|
"author": "OHIF",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,11 +33,10 @@
|
|
|
33
33
|
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@ohif/core": "3.7.0-beta.
|
|
37
|
-
"@ohif/extension-dicom-microscopy": "3.7.0-beta.
|
|
36
|
+
"@ohif/core": "3.7.0-beta.91",
|
|
37
|
+
"@ohif/extension-dicom-microscopy": "3.7.0-beta.91"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@babel/runtime": "^7.20.13"
|
|
41
|
-
}
|
|
42
|
-
"gitHead": "a34a0b1a3ad4287e0330da5fc3b49739a6d58a92"
|
|
41
|
+
}
|
|
43
42
|
}
|