@ohif/app 3.8.0-beta.53 → 3.8.0-beta.55
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.
- package/dist/{223.bundle.d4ac6ef2cfe47a9c4afc.js → 109.bundle.b4fee2a22b622839baf5.js} +50 -50
- package/dist/{471.bundle.eeb78105b59e688832a6.js → 121.bundle.5d0736acd6a7090ff2d0.js} +18 -18
- package/dist/{19.bundle.96d32f49277b19b2dff6.js → 155.bundle.e813e01526393fc0c81d.js} +93 -93
- package/dist/{687.bundle.3e0af85fe7f39e8e10cc.js → 164.bundle.c5c6a095c04bf80c9dc6.js} +4 -4
- package/dist/{506.bundle.4f9d7c5385f3529f0eab.js → 188.bundle.df0f701a626b2bdd5607.js} +11 -11
- package/dist/{199.bundle.d85920889bb66d8a1098.js → 250.bundle.20d6ff7e3aa73db874d9.js} +42 -42
- package/dist/{965.bundle.2fb2086fa4b6d3e2f4cc.js → 270.bundle.24bd8268981ff45bc5ed.js} +60 -60
- package/dist/{95.bundle.2236101be3cc36b322e8.js → 290.bundle.88e45f20df861f74b040.js} +12 -12
- package/dist/{451.bundle.311cd3be9916e08450e9.js → 295.bundle.5d7c931dcc154900b181.js} +21 -22
- package/dist/{125.bundle.df666cb677e5a8982157.js → 297.bundle.81d63bb0b66d63df6d86.js} +4 -4
- package/dist/{613.bundle.f651f6498eca367893bc.js → 317.bundle.4bbbbeacc63a87fe0052.js} +9 -9
- package/dist/{483.bundle.560f95b85cbf8abb8d72.js → 339.bundle.6071d0db23a8fd7b4ce1.js} +65 -65
- package/dist/{202.bundle.495cba6bbee744cf8f72.js → 342.bundle.c260b2f9105f31c53e06.js} +93 -93
- package/dist/{466.bundle.b9a71a0e831fe4834c94.js → 50.bundle.a02f930758203e922b61.js} +47 -47
- package/dist/{886.bundle.94a4536167d0f8cae1ae.js → 530.bundle.59fb7594f8c8fc3bb3cc.js} +24 -24
- package/dist/{250.bundle.577da106dd763c7bf9d0.js → 544.bundle.757758f236737ef68537.js} +22 -22
- package/dist/{170.bundle.5d2c9436559a23e5dbee.js → 559.bundle.8c5f8069652858166212.js} +63 -63
- package/dist/{410.bundle.56642de2df55878a1853.js → 594.bundle.5587e112957597bfa00e.js} +11 -11
- package/dist/{661.bundle.949c984fe2f9f753b65c.js → 644.bundle.1e77691d2eeb96a423b0.js} +4 -4
- package/dist/{185.bundle.65dfcd19fcdd2aad3ea6.js → 68.bundle.3f8ecb580774e553c5e2.js} +47 -47
- package/dist/{738.bundle.a82a4d4d9f917a2961a5.js → 704.bundle.5f768638951d88f5b04a.js} +221 -221
- package/dist/{359.bundle.2376cffe4225c0ba02b3.js → 724.bundle.3d153d487a4df09d7fc1.js} +12 -12
- package/dist/{831.bundle.127a3064e8844d6d2c82.js → 726.bundle.ca49b063dace33d27ae3.js} +512 -512
- package/dist/{530.bundle.f904325ef4195d69ac0e.js → 835.bundle.15aff0b7433bb0dd6d6d.js} +28 -28
- package/dist/{822.bundle.8b745e28bc9eb9afbc61.js → 862.bundle.9495643df5c63de0ac57.js} +19 -19
- package/dist/{181.bundle.aff453c348111303ceac.js → 889.bundle.3fbb54e829d5c48d82fd.js} +33 -38
- package/dist/{281.bundle.0a4249ca51e44ac8912f.js → 905.bundle.290943a93a696c835e94.js} +8 -8
- package/dist/{814.bundle.fa36ecb2cc7acf96aa61.js → 907.bundle.d161c4269937e5e77f2d.js} +9 -9
- package/dist/{417.bundle.5c66801d23d0e98c00e6.js → 931.bundle.d270a1fda9a2836c3cc5.js} +25 -25
- package/dist/{686.bundle.62c827fe4f0d054c164e.js → 939.bundle.84ee0b844023d924a22b.js} +4 -4
- package/dist/{12.bundle.f620665da5ed13b3e015.js → 961.bundle.2ada19a2348f025c8eca.js} +8 -8
- package/dist/{290.bundle.7dedf462349c0bc03037.js → 963.bundle.a998a59f759bd3be3e47.js} +440 -218
- package/dist/{app.bundle.db3a4b9e3e9a9169200b.js → app.bundle.708fb56d4d3a283387f4.js} +5485 -5144
- package/dist/app.bundle.css +1 -1
- package/dist/{dicom-microscopy-viewer.bundle.a7d5060eead13771e784.js → dicom-microscopy-viewer.bundle.d3a56dc9f62df5e11019.js} +3 -3
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +21 -18
- package/dist/23.bundle.9d989522a6e4fdcb9c72.js +0 -900
- /package/dist/{19.css → 155.css} +0 -0
- /package/dist/{579.css → 481.css} +0 -0
- /package/dist/{466.css → 50.css} +0 -0
- /package/dist/{250.css → 544.css} +0 -0
- /package/dist/{181.css → 889.css} +0 -0
- /package/dist/{290.css → 963.css} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[68],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 76068:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
// ESM COMPAT FLAG
|
|
@@ -15,9 +15,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
// EXTERNAL MODULE: ../../core/src/index.ts + 65 modules
|
|
18
|
-
var src = __webpack_require__(
|
|
18
|
+
var src = __webpack_require__(30257);
|
|
19
19
|
// EXTERNAL MODULE: ../../ui/src/index.js + 487 modules
|
|
20
|
-
var ui_src = __webpack_require__(
|
|
20
|
+
var ui_src = __webpack_require__(55395);
|
|
21
21
|
;// CONCATENATED MODULE: ../../../modes/longitudinal/src/toolbarButtons.ts
|
|
22
22
|
// TODO: torn, can either bake this here; or have to create a whole new button type
|
|
23
23
|
// Only ways that you can pass in a custom React component for render :l
|
|
@@ -25,7 +25,7 @@ var ui_src = __webpack_require__(18414);
|
|
|
25
25
|
|
|
26
26
|
const {
|
|
27
27
|
windowLevelPresets
|
|
28
|
-
} = src
|
|
28
|
+
} = src/* defaults */.NT;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
@@ -77,7 +77,7 @@ const toolbarButtons = [
|
|
|
77
77
|
isRadio: true,
|
|
78
78
|
// ?
|
|
79
79
|
// Switch?
|
|
80
|
-
primary: src/* ToolbarService */.
|
|
80
|
+
primary: src/* ToolbarService */.hx._createToolButton('Length', 'tool-length', 'Length', [{
|
|
81
81
|
commandName: 'setToolActive',
|
|
82
82
|
commandOptions: {
|
|
83
83
|
toolName: 'Length'
|
|
@@ -98,7 +98,7 @@ const toolbarButtons = [
|
|
|
98
98
|
isActive: true,
|
|
99
99
|
tooltip: 'More Measure Tools'
|
|
100
100
|
},
|
|
101
|
-
items: [src/* ToolbarService */.
|
|
101
|
+
items: [src/* ToolbarService */.hx._createToolButton('Length', 'tool-length', 'Length', [{
|
|
102
102
|
commandName: 'setToolActive',
|
|
103
103
|
commandOptions: {
|
|
104
104
|
toolName: 'Length'
|
|
@@ -112,7 +112,7 @@ const toolbarButtons = [
|
|
|
112
112
|
},
|
|
113
113
|
// we can use the setToolActive command for this from Cornerstone commandsModule
|
|
114
114
|
context: 'CORNERSTONE'
|
|
115
|
-
}], 'Length Tool'), src/* ToolbarService */.
|
|
115
|
+
}], 'Length Tool'), src/* ToolbarService */.hx._createToolButton('Bidirectional', 'tool-bidirectional', 'Bidirectional', [{
|
|
116
116
|
commandName: 'setToolActive',
|
|
117
117
|
commandOptions: {
|
|
118
118
|
toolName: 'Bidirectional'
|
|
@@ -125,7 +125,7 @@ const toolbarButtons = [
|
|
|
125
125
|
toolGroupId: 'SRToolGroup'
|
|
126
126
|
},
|
|
127
127
|
context: 'CORNERSTONE'
|
|
128
|
-
}], 'Bidirectional Tool'), src/* ToolbarService */.
|
|
128
|
+
}], 'Bidirectional Tool'), src/* ToolbarService */.hx._createToolButton('ArrowAnnotate', 'tool-annotate', 'Annotation', [{
|
|
129
129
|
commandName: 'setToolActive',
|
|
130
130
|
commandOptions: {
|
|
131
131
|
toolName: 'ArrowAnnotate'
|
|
@@ -138,7 +138,7 @@ const toolbarButtons = [
|
|
|
138
138
|
toolGroupId: 'SRToolGroup'
|
|
139
139
|
},
|
|
140
140
|
context: 'CORNERSTONE'
|
|
141
|
-
}], 'Arrow Annotate'), src/* ToolbarService */.
|
|
141
|
+
}], 'Arrow Annotate'), src/* ToolbarService */.hx._createToolButton('EllipticalROI', 'tool-elipse', 'Ellipse', [{
|
|
142
142
|
commandName: 'setToolActive',
|
|
143
143
|
commandOptions: {
|
|
144
144
|
toolName: 'EllipticalROI'
|
|
@@ -151,7 +151,7 @@ const toolbarButtons = [
|
|
|
151
151
|
toolGroupId: 'SRToolGroup'
|
|
152
152
|
},
|
|
153
153
|
context: 'CORNERSTONE'
|
|
154
|
-
}], 'Ellipse Tool'), src/* ToolbarService */.
|
|
154
|
+
}], 'Ellipse Tool'), src/* ToolbarService */.hx._createToolButton('CircleROI', 'tool-circle', 'Circle', [{
|
|
155
155
|
commandName: 'setToolActive',
|
|
156
156
|
commandOptions: {
|
|
157
157
|
toolName: 'CircleROI'
|
|
@@ -184,7 +184,7 @@ const toolbarButtons = [
|
|
|
184
184
|
type: 'ohif.splitButton',
|
|
185
185
|
props: {
|
|
186
186
|
groupId: 'WindowLevel',
|
|
187
|
-
primary: src/* ToolbarService */.
|
|
187
|
+
primary: src/* ToolbarService */.hx._createToolButton('WindowLevel', 'tool-window-level', 'Window Level', [{
|
|
188
188
|
commandName: 'setToolActive',
|
|
189
189
|
commandOptions: {
|
|
190
190
|
toolName: 'WindowLevel'
|
|
@@ -199,7 +199,7 @@ const toolbarButtons = [
|
|
|
199
199
|
},
|
|
200
200
|
isAction: true,
|
|
201
201
|
// ?
|
|
202
|
-
renderer: ui_src/* WindowLevelMenuItem */.
|
|
202
|
+
renderer: ui_src/* WindowLevelMenuItem */.d4,
|
|
203
203
|
items: [_createWwwcPreset(1, 'Soft tissue', '400 / 40'), _createWwwcPreset(2, 'Lung', '1500 / -600'), _createWwwcPreset(3, 'Liver', '150 / 90'), _createWwwcPreset(4, 'Bone', '2500 / 480'), _createWwwcPreset(5, 'Brain', '80 / 40')]
|
|
204
204
|
}
|
|
205
205
|
},
|
|
@@ -269,10 +269,10 @@ const toolbarButtons = [
|
|
|
269
269
|
];
|
|
270
270
|
/* harmony default export */ const src_toolbarButtons = (toolbarButtons);
|
|
271
271
|
;// CONCATENATED MODULE: ../../../modes/longitudinal/package.json
|
|
272
|
-
const package_namespaceObject = JSON.parse('{"
|
|
272
|
+
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/mode-longitudinal"}');
|
|
273
273
|
;// CONCATENATED MODULE: ../../../modes/longitudinal/src/id.js
|
|
274
274
|
|
|
275
|
-
const id = package_namespaceObject.
|
|
275
|
+
const id = package_namespaceObject.UU;
|
|
276
276
|
|
|
277
277
|
;// CONCATENATED MODULE: ../../../modes/longitudinal/src/initToolGroups.js
|
|
278
278
|
function initDefaultToolGroup(extensionManager, toolGroupService, commandsManager, toolGroupId) {
|
|
@@ -519,7 +519,7 @@ function initToolGroups(extensionManager, toolGroupService, commandsManager) {
|
|
|
519
519
|
}
|
|
520
520
|
/* harmony default export */ const src_initToolGroups = (initToolGroups);
|
|
521
521
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 376 modules
|
|
522
|
-
var esm = __webpack_require__(
|
|
522
|
+
var esm = __webpack_require__(28991);
|
|
523
523
|
;// CONCATENATED MODULE: ../../../modes/longitudinal/src/moreTools.ts
|
|
524
524
|
|
|
525
525
|
|
|
@@ -540,7 +540,7 @@ const moreTools = [{
|
|
|
540
540
|
isRadio: true,
|
|
541
541
|
// ?
|
|
542
542
|
groupId: 'MoreTools',
|
|
543
|
-
primary: src/* ToolbarService */.
|
|
543
|
+
primary: src/* ToolbarService */.hx._createActionButton('Reset', 'tool-reset', 'Reset View', [{
|
|
544
544
|
commandName: 'resetViewport',
|
|
545
545
|
commandOptions: {},
|
|
546
546
|
context: 'CORNERSTONE'
|
|
@@ -551,19 +551,19 @@ const moreTools = [{
|
|
|
551
551
|
isActive: true,
|
|
552
552
|
tooltip: 'More Tools'
|
|
553
553
|
},
|
|
554
|
-
items: [src/* ToolbarService */.
|
|
554
|
+
items: [src/* ToolbarService */.hx._createActionButton('Reset', 'tool-reset', 'Reset View', [{
|
|
555
555
|
commandName: 'resetViewport',
|
|
556
556
|
commandOptions: {},
|
|
557
557
|
context: 'CORNERSTONE'
|
|
558
|
-
}], 'Reset'), src/* ToolbarService */.
|
|
558
|
+
}], 'Reset'), src/* ToolbarService */.hx._createActionButton('rotate-right', 'tool-rotate-right', 'Rotate Right', [{
|
|
559
559
|
commandName: 'rotateViewportCW',
|
|
560
560
|
commandOptions: {},
|
|
561
561
|
context: 'CORNERSTONE'
|
|
562
|
-
}], 'Rotate +90'), src/* ToolbarService */.
|
|
562
|
+
}], 'Rotate +90'), src/* ToolbarService */.hx._createActionButton('flip-horizontal', 'tool-flip-horizontal', 'Flip Horizontally', [{
|
|
563
563
|
commandName: 'flipViewportHorizontal',
|
|
564
564
|
commandOptions: {},
|
|
565
565
|
context: 'CORNERSTONE'
|
|
566
|
-
}], 'Flip Horizontal'), src/* ToolbarService */.
|
|
566
|
+
}], 'Flip Horizontal'), src/* ToolbarService */.hx._createToggleButton('ImageSliceSync', 'link', 'Image Slice Sync', [{
|
|
567
567
|
commandName: 'toggleImageSliceSync'
|
|
568
568
|
}], 'Enable position synchronization on stack viewports', {
|
|
569
569
|
listeners: {
|
|
@@ -574,14 +574,14 @@ const moreTools = [{
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
}), src/* ToolbarService */.
|
|
577
|
+
}), src/* ToolbarService */.hx._createToggleButton('ReferenceLines', 'tool-referenceLines',
|
|
578
578
|
// change this with the new icon
|
|
579
579
|
'Reference Lines', ReferenceLinesCommands, 'Show Reference Lines', {
|
|
580
580
|
listeners: {
|
|
581
581
|
[esm.EVENTS.STACK_VIEWPORT_NEW_STACK]: ReferenceLinesCommands,
|
|
582
582
|
[esm.EVENTS.ACTIVE_VIEWPORT_ID_CHANGED]: ReferenceLinesCommands
|
|
583
583
|
}
|
|
584
|
-
}), src/* ToolbarService */.
|
|
584
|
+
}), src/* ToolbarService */.hx._createToggleButton('ImageOverlayViewer', 'toggle-dicom-overlay', 'Image Overlay', [{
|
|
585
585
|
commandName: 'setToolActive',
|
|
586
586
|
commandOptions: {
|
|
587
587
|
toolName: 'ImageOverlayViewer'
|
|
@@ -589,26 +589,26 @@ const moreTools = [{
|
|
|
589
589
|
context: 'CORNERSTONE'
|
|
590
590
|
}], 'Image Overlay', {
|
|
591
591
|
isActive: true
|
|
592
|
-
}), src/* ToolbarService */.
|
|
592
|
+
}), src/* ToolbarService */.hx._createToolButton('StackScroll', 'tool-stack-scroll', 'Stack Scroll', [{
|
|
593
593
|
commandName: 'setToolActive',
|
|
594
594
|
commandOptions: {
|
|
595
595
|
toolName: 'StackScroll'
|
|
596
596
|
},
|
|
597
597
|
context: 'CORNERSTONE'
|
|
598
|
-
}], 'Stack Scroll'), src/* ToolbarService */.
|
|
598
|
+
}], 'Stack Scroll'), src/* ToolbarService */.hx._createActionButton('invert', 'tool-invert', 'Invert', [{
|
|
599
599
|
commandName: 'invertViewport',
|
|
600
600
|
commandOptions: {},
|
|
601
601
|
context: 'CORNERSTONE'
|
|
602
|
-
}], 'Invert Colors'), src/* ToolbarService */.
|
|
602
|
+
}], 'Invert Colors'), src/* ToolbarService */.hx._createToolButton('Probe', 'tool-probe', 'Probe', [{
|
|
603
603
|
commandName: 'setToolActive',
|
|
604
604
|
commandOptions: {
|
|
605
605
|
toolName: 'DragProbe'
|
|
606
606
|
},
|
|
607
607
|
context: 'CORNERSTONE'
|
|
608
|
-
}], 'Probe'), src/* ToolbarService */.
|
|
608
|
+
}], 'Probe'), src/* ToolbarService */.hx._createToggleButton('cine', 'tool-cine', 'Cine', [{
|
|
609
609
|
commandName: 'toggleCine',
|
|
610
610
|
context: 'CORNERSTONE'
|
|
611
|
-
}], 'Cine'), src/* ToolbarService */.
|
|
611
|
+
}], 'Cine'), src/* ToolbarService */.hx._createToolButton('Angle', 'tool-angle', 'Angle', [{
|
|
612
612
|
commandName: 'setToolActive',
|
|
613
613
|
commandOptions: {
|
|
614
614
|
toolName: 'Angle'
|
|
@@ -646,25 +646,25 @@ const moreTools = [{
|
|
|
646
646
|
// ],
|
|
647
647
|
// 'Planar Freehand ROI'
|
|
648
648
|
// ),
|
|
649
|
-
src/* ToolbarService */.
|
|
649
|
+
src/* ToolbarService */.hx._createToolButton('Magnify', 'tool-magnify', 'Magnify', [{
|
|
650
650
|
commandName: 'setToolActive',
|
|
651
651
|
commandOptions: {
|
|
652
652
|
toolName: 'Magnify'
|
|
653
653
|
},
|
|
654
654
|
context: 'CORNERSTONE'
|
|
655
|
-
}], 'Magnify'), src/* ToolbarService */.
|
|
655
|
+
}], 'Magnify'), src/* ToolbarService */.hx._createToolButton('Rectangle', 'tool-rectangle', 'Rectangle', [{
|
|
656
656
|
commandName: 'setToolActive',
|
|
657
657
|
commandOptions: {
|
|
658
658
|
toolName: 'RectangleROI'
|
|
659
659
|
},
|
|
660
660
|
context: 'CORNERSTONE'
|
|
661
|
-
}], 'Rectangle'), src/* ToolbarService */.
|
|
661
|
+
}], 'Rectangle'), src/* ToolbarService */.hx._createToolButton('CalibrationLine', 'tool-calibration', 'Calibration', [{
|
|
662
662
|
commandName: 'setToolActive',
|
|
663
663
|
commandOptions: {
|
|
664
664
|
toolName: 'CalibrationLine'
|
|
665
665
|
},
|
|
666
666
|
context: 'CORNERSTONE'
|
|
667
|
-
}], 'Calibration Line'), src/* ToolbarService */.
|
|
667
|
+
}], 'Calibration Line'), src/* ToolbarService */.hx._createActionButton('TagBrowser', 'list-bullets', 'Dicom Tag Browser', [{
|
|
668
668
|
commandName: 'openDICOMTagViewer',
|
|
669
669
|
commandOptions: {},
|
|
670
670
|
context: 'DEFAULT'
|
|
@@ -692,7 +692,7 @@ const moreToolsMpr = [{
|
|
|
692
692
|
isRadio: true,
|
|
693
693
|
// ?
|
|
694
694
|
groupId: 'MoreTools',
|
|
695
|
-
primary: src/* ToolbarService */.
|
|
695
|
+
primary: src/* ToolbarService */.hx._createActionButton('Reset', 'tool-reset', 'Reset View', [{
|
|
696
696
|
commandName: 'resetViewport',
|
|
697
697
|
commandOptions: {},
|
|
698
698
|
context: 'CORNERSTONE'
|
|
@@ -703,11 +703,11 @@ const moreToolsMpr = [{
|
|
|
703
703
|
isActive: true,
|
|
704
704
|
tooltip: 'More Tools'
|
|
705
705
|
},
|
|
706
|
-
items: [src/* ToolbarService */.
|
|
706
|
+
items: [src/* ToolbarService */.hx._createActionButton('Reset', 'tool-reset', 'Reset View', [{
|
|
707
707
|
commandName: 'resetViewport',
|
|
708
708
|
commandOptions: {},
|
|
709
709
|
context: 'CORNERSTONE'
|
|
710
|
-
}], 'Reset'), src/* ToolbarService */.
|
|
710
|
+
}], 'Reset'), src/* ToolbarService */.hx._createToggleButton('ImageSliceSync', 'link', 'Image Slice Sync', [{
|
|
711
711
|
commandName: 'toggleImageSliceSync'
|
|
712
712
|
}], 'Enable position synchronization on stack viewports', {
|
|
713
713
|
listeners: {
|
|
@@ -718,14 +718,14 @@ const moreToolsMpr = [{
|
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
|
-
}), src/* ToolbarService */.
|
|
721
|
+
}), src/* ToolbarService */.hx._createToggleButton('ReferenceLines', 'tool-referenceLines',
|
|
722
722
|
// change this with the new icon
|
|
723
723
|
'Reference Lines', moreToolsMpr_ReferenceLinesCommands, 'Show Reference Lines', {
|
|
724
724
|
listeners: {
|
|
725
725
|
[esm.EVENTS.STACK_VIEWPORT_NEW_STACK]: moreToolsMpr_ReferenceLinesCommands,
|
|
726
726
|
[esm.EVENTS.ACTIVE_VIEWPORT_ID_CHANGED]: moreToolsMpr_ReferenceLinesCommands
|
|
727
727
|
}
|
|
728
|
-
}), src/* ToolbarService */.
|
|
728
|
+
}), src/* ToolbarService */.hx._createToggleButton('ImageOverlayViewer', 'toggle-dicom-overlay', 'Image Overlay', [{
|
|
729
729
|
commandName: 'setToolActive',
|
|
730
730
|
commandOptions: {
|
|
731
731
|
toolName: 'ImageOverlayViewer'
|
|
@@ -733,26 +733,26 @@ const moreToolsMpr = [{
|
|
|
733
733
|
context: 'CORNERSTONE'
|
|
734
734
|
}], 'Image Overlay', {
|
|
735
735
|
isActive: true
|
|
736
|
-
}), src/* ToolbarService */.
|
|
736
|
+
}), src/* ToolbarService */.hx._createToolButton('StackScroll', 'tool-stack-scroll', 'Stack Scroll', [{
|
|
737
737
|
commandName: 'setToolActive',
|
|
738
738
|
commandOptions: {
|
|
739
739
|
toolName: 'StackScroll'
|
|
740
740
|
},
|
|
741
741
|
context: 'CORNERSTONE'
|
|
742
|
-
}], 'Stack Scroll'), src/* ToolbarService */.
|
|
742
|
+
}], 'Stack Scroll'), src/* ToolbarService */.hx._createActionButton('invert', 'tool-invert', 'Invert', [{
|
|
743
743
|
commandName: 'invertViewport',
|
|
744
744
|
commandOptions: {},
|
|
745
745
|
context: 'CORNERSTONE'
|
|
746
|
-
}], 'Invert Colors'), src/* ToolbarService */.
|
|
746
|
+
}], 'Invert Colors'), src/* ToolbarService */.hx._createToolButton('Probe', 'tool-probe', 'Probe', [{
|
|
747
747
|
commandName: 'setToolActive',
|
|
748
748
|
commandOptions: {
|
|
749
749
|
toolName: 'DragProbe'
|
|
750
750
|
},
|
|
751
751
|
context: 'CORNERSTONE'
|
|
752
|
-
}], 'Probe'), src/* ToolbarService */.
|
|
752
|
+
}], 'Probe'), src/* ToolbarService */.hx._createToggleButton('cine', 'tool-cine', 'Cine', [{
|
|
753
753
|
commandName: 'toggleCine',
|
|
754
754
|
context: 'CORNERSTONE'
|
|
755
|
-
}], 'Cine'), src/* ToolbarService */.
|
|
755
|
+
}], 'Cine'), src/* ToolbarService */.hx._createToolButton('Angle', 'tool-angle', 'Angle', [{
|
|
756
756
|
commandName: 'setToolActive',
|
|
757
757
|
commandOptions: {
|
|
758
758
|
toolName: 'Angle'
|
|
@@ -790,13 +790,13 @@ const moreToolsMpr = [{
|
|
|
790
790
|
// ],
|
|
791
791
|
// 'Planar Freehand ROI'
|
|
792
792
|
// ),
|
|
793
|
-
src/* ToolbarService */.
|
|
793
|
+
src/* ToolbarService */.hx._createToolButton('Rectangle', 'tool-rectangle', 'Rectangle', [{
|
|
794
794
|
commandName: 'setToolActive',
|
|
795
795
|
commandOptions: {
|
|
796
796
|
toolName: 'RectangleROI'
|
|
797
797
|
},
|
|
798
798
|
context: 'CORNERSTONE'
|
|
799
|
-
}], 'Rectangle'), src/* ToolbarService */.
|
|
799
|
+
}], 'Rectangle'), src/* ToolbarService */.hx._createActionButton('TagBrowser', 'list-bullets', 'Dicom Tag Browser', [{
|
|
800
800
|
commandName: 'openDICOMTagViewer',
|
|
801
801
|
commandOptions: {},
|
|
802
802
|
context: 'DEFAULT'
|
|
@@ -805,7 +805,7 @@ const moreToolsMpr = [{
|
|
|
805
805
|
}];
|
|
806
806
|
/* harmony default export */ const src_moreToolsMpr = (moreToolsMpr);
|
|
807
807
|
// EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
|
|
808
|
-
var i18next = __webpack_require__(
|
|
808
|
+
var i18next = __webpack_require__(92344);
|
|
809
809
|
;// CONCATENATED MODULE: ../../../modes/longitudinal/src/index.js
|
|
810
810
|
|
|
811
811
|
|
|
@@ -871,7 +871,7 @@ function modeFactory({
|
|
|
871
871
|
// We should not be.
|
|
872
872
|
id: id,
|
|
873
873
|
routeName: 'viewer',
|
|
874
|
-
displayName: i18next/* default */.
|
|
874
|
+
displayName: i18next/* default */.A.t('Modes:Basic Viewer'),
|
|
875
875
|
/**
|
|
876
876
|
* Lifecycle hooks
|
|
877
877
|
*/
|
|
@@ -1020,7 +1020,7 @@ function modeFactory({
|
|
|
1020
1020
|
// general handler needs to come last. For this case, the dicomvideo must
|
|
1021
1021
|
// come first to remove video transfer syntax before ohif uses images
|
|
1022
1022
|
sopClassHandlers: [dicomvideo.sopClassHandler, dicomSeg.sopClassHandler, ohif.sopClassHandler, dicompdf.sopClassHandler, dicomsr.sopClassHandler, dicomRT.sopClassHandler],
|
|
1023
|
-
hotkeys: [...src/* hotkeys */.
|
|
1023
|
+
hotkeys: [...src/* hotkeys */.ot.defaults.hotkeyBindings],
|
|
1024
1024
|
...modeConfiguration
|
|
1025
1025
|
};
|
|
1026
1026
|
}
|