@ohif/app 3.14.0-beta.97 → 3.14.0-beta.99
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/{1645.bundle.a98b9ca6.js → 1645.bundle.1a466b16.js} +600 -600
- package/dist/{1788.bundle.3f1349d2.js → 1788.bundle.962951f9.js} +26 -26
- package/dist/{1793.bundle.27458a55.js → 1793.bundle.30f89e46.js} +5 -3
- package/dist/{1862.bundle.79bfe469.js → 1862.bundle.3ae388c3.js} +2 -2
- package/dist/204.bundle.bc44c201.js +101 -0
- package/dist/204.bundle.css +52 -0
- package/dist/{2748.bundle.eaa94e2e.js → 2103.bundle.1cf348e8.js} +1 -1771
- package/dist/{2478.bundle.fc6ab30b.js → 2478.bundle.68ff1b2d.js} +2 -2
- package/dist/{2717.bundle.d5f58443.js → 2717.bundle.4318f1ee.js} +45 -43
- package/dist/{5989.bundle.f484884a.js → 287.bundle.ee60c370.js} +4570 -832
- package/dist/{2894.bundle.d612efb2.js → 2894.bundle.30c0af5b.js} +20 -14
- package/dist/{2991.bundle.f94892fb.js → 2991.bundle.77642eee.js} +101 -97
- package/dist/{3004.bundle.51919fdc.js → 3004.bundle.5568149a.js} +39 -38
- package/dist/{3255.bundle.13e205ac.js → 3255.bundle.3272671f.js} +29 -27
- package/dist/{3366.bundle.62baeeec.js → 3366.bundle.d9e78e25.js} +57 -53
- package/dist/{3468.bundle.f5dc5e44.js → 3468.bundle.666f2441.js} +37 -27
- package/dist/{347.bundle.397bb252.js → 347.bundle.1323658e.js} +44 -44
- package/dist/{3622.bundle.f4cf2d16.js → 3622.bundle.edb42b96.js} +56 -54
- package/dist/{3723.bundle.eab70100.js → 3723.bundle.43ff1971.js} +1 -1
- package/dist/{3771.bundle.aba09bd7.js → 3771.bundle.a5754f97.js} +8 -8
- package/dist/{4449.bundle.aaa4ab92.js → 4487.bundle.fa0375a4.js} +853 -95
- package/dist/{4606.bundle.a3485206.js → 4606.bundle.6c297e2a.js} +9 -7
- package/dist/{4998.bundle.3aedb48d.js → 4998.bundle.25b8cbfe.js} +5 -3
- package/dist/{5076.bundle.95c07142.js → 5076.bundle.2a14756f.js} +66 -66
- package/dist/{5143.bundle.04f54c00.js → 5143.bundle.53156bb0.js} +358 -226
- package/dist/{5154.bundle.2f460017.js → 5154.bundle.ccd02dd7.js} +5 -3
- package/dist/{5320.bundle.9b05cebb.js → 5320.bundle.c17eb4a7.js} +678 -546
- package/dist/{6212.bundle.e505e123.js → 6212.bundle.c4856be7.js} +48 -46
- package/dist/{6253.bundle.9b473339.js → 6253.bundle.596ce463.js} +1225 -1145
- package/dist/{1153.bundle.51d39e80.js → 6314.bundle.5aadfe48.js} +199 -420
- package/dist/{641.bundle.4627a8e1.js → 641.bundle.8e45751e.js} +89 -89
- package/dist/{6481.bundle.d2fca485.js → 6481.bundle.85093e70.js} +29 -23
- package/dist/{6507.bundle.d52f5e81.js → 6507.bundle.bbcdd01e.js} +76 -76
- package/dist/{6722.bundle.d09a8aad.js → 6722.bundle.3e9a4ef6.js} +4 -4
- package/dist/{6956.bundle.c82fd790.js → 6956.bundle.dc0e8660.js} +33 -33
- package/dist/{7526.bundle.0685dfeb.js → 7526.bundle.3460c3ca.js} +55 -53
- package/dist/{7604.bundle.9eb317c8.js → 7604.bundle.f1eeded4.js} +2 -2
- package/dist/{8312.bundle.2cb75b58.js → 8312.bundle.d67b6f4e.js} +652 -687
- package/dist/{6847.bundle.b2adb444.js → 8729.bundle.e17fe9b2.js} +87 -845
- package/dist/{8788.bundle.4bb4c65b.js → 8788.bundle.83ddf642.js} +21 -20
- package/dist/{8868.bundle.4c357767.js → 8868.bundle.8f3653b3.js} +31 -31
- package/dist/{8923.bundle.9aca06c4.js → 8923.bundle.8b682e96.js} +148 -148
- package/dist/{899.bundle.9a033d16.js → 899.bundle.4e1aee7f.js} +73 -203
- package/dist/{9187.bundle.8f72b4fe.js → 9187.bundle.407afa07.js} +112 -110
- package/dist/9385.bundle.fb0bbf4a.js +1888 -0
- package/dist/{9481.bundle.ccb81f53.js → 9481.bundle.d045ae3a.js} +8 -6
- package/dist/{9517.bundle.1ae74db3.js → 9517.bundle.3e2896ef.js} +31 -17
- package/dist/{9620.bundle.d1dc0be1.js → 9620.bundle.b4cc392c.js} +63 -61
- package/dist/{9841.bundle.0f40f02b.js → 9841.bundle.4f2c401a.js} +93 -91
- package/dist/{9886.bundle.cabb4a24.js → 9886.bundle.b00d5d78.js} +4 -4
- package/dist/{8037.bundle.30a187f7.js → 9889.bundle.bf312047.js} +7743 -1098
- package/dist/{9948.bundle.1172ebca.js → 9948.bundle.fecf81f8.js} +5 -5
- package/dist/{app.bundle.12bfd0b7.js → app.bundle.bb359653.js} +1953 -1245
- package/dist/{compute.bundle.0ed1fe87.js → compute.bundle.9267d449.js} +13 -12
- package/dist/{histogram-worker.bundle.58e60d7c.js → histogram-worker.bundle.29bcdbf6.js} +6 -5
- package/dist/index.html +1 -1
- package/dist/{interpolation.bundle.5a53d112.js → interpolation.bundle.ee9998a4.js} +8 -7
- package/dist/{lib-router.bundle.a5ac870a.js → lib-router.bundle.2a887bc7.js} +334 -201
- package/dist/{polySeg.bundle.b4089601.js → polySeg.bundle.a55f8eee.js} +12 -12
- package/dist/sw.js +11 -1
- package/package.json +14 -19
- package/dist/1566.bundle.d58db206.js +0 -3610
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(globalThis["rspackChunk_ohif_app"] ||= []).push([[2894], {
|
|
3
3
|
23597(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
4
|
+
// ESM COMPAT FLAG
|
|
5
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4
6
|
|
|
5
7
|
// EXPORTS
|
|
6
8
|
__webpack_require__.d(__webpack_exports__, {
|
|
7
|
-
"default": () => (/* binding */ longitudinal_src)
|
|
9
|
+
"default": () => (/* binding */ longitudinal_src),
|
|
10
|
+
extensionDependencies: () => (/* binding */ extensionDependencies),
|
|
11
|
+
initToolGroups: () => (/* reexport */ src.initToolGroups),
|
|
12
|
+
longitudinalInstance: () => (/* binding */ longitudinalInstance),
|
|
13
|
+
longitudinalRoute: () => (/* binding */ longitudinalRoute),
|
|
14
|
+
modeInstance: () => (/* binding */ modeInstance),
|
|
15
|
+
tracked: () => (/* binding */ tracked)
|
|
8
16
|
});
|
|
9
17
|
|
|
10
|
-
// UNUSED EXPORTS: extensionDependencies, initToolGroups, longitudinalInstance, longitudinalRoute, modeInstance, tracked
|
|
11
|
-
|
|
12
18
|
// EXTERNAL MODULE: ../../node_modules/i18next/dist/esm/i18next.js + 3 modules
|
|
13
19
|
var i18next = __webpack_require__(96392);
|
|
14
20
|
;// CONCATENATED MODULE: ../../modes/longitudinal/package.json
|
|
@@ -30,52 +36,52 @@ const tracked = {
|
|
|
30
36
|
viewport: '@ohif/extension-measurement-tracking.viewportModule.cornerstone-tracked'
|
|
31
37
|
};
|
|
32
38
|
const extensionDependencies = {
|
|
33
|
-
...src
|
|
39
|
+
...src.extensionDependencies,
|
|
34
40
|
'@ohif/extension-measurement-tracking': '^3.0.0'
|
|
35
41
|
};
|
|
36
42
|
const longitudinalInstance = {
|
|
37
|
-
...src
|
|
38
|
-
id: src
|
|
43
|
+
...src.basicLayout,
|
|
44
|
+
id: src.ohif.layout,
|
|
39
45
|
props: {
|
|
40
|
-
...src
|
|
46
|
+
...src.basicLayout.props,
|
|
41
47
|
// `leftPanels` / `rightPanels` customizations so `mode` phase
|
|
42
48
|
// blocks and global customizations can modify them.
|
|
43
49
|
leftPanels: [
|
|
44
50
|
tracked.thumbnailList
|
|
45
51
|
],
|
|
46
52
|
rightPanels: [
|
|
47
|
-
src
|
|
53
|
+
src.cornerstone.segmentation,
|
|
48
54
|
tracked.measurements
|
|
49
55
|
],
|
|
50
56
|
viewports: [
|
|
51
57
|
{
|
|
52
58
|
namespace: tracked.viewport,
|
|
53
|
-
displaySetsToDisplay: src
|
|
59
|
+
displaySetsToDisplay: src.basicLayout.props.viewports["0"].displaySetsToDisplay
|
|
54
60
|
},
|
|
55
|
-
...src
|
|
61
|
+
...src.basicLayout.props.viewports
|
|
56
62
|
]
|
|
57
63
|
}
|
|
58
64
|
};
|
|
59
65
|
const longitudinalRoute = {
|
|
60
|
-
...src
|
|
66
|
+
...src.basicRoute,
|
|
61
67
|
path: 'longitudinal',
|
|
62
68
|
/*init: ({ servicesManager, extensionManager }) => {
|
|
63
69
|
//defaultViewerRouteInit
|
|
64
70
|
},*/ layoutInstance: longitudinalInstance
|
|
65
71
|
};
|
|
66
72
|
const modeInstance = {
|
|
67
|
-
...src
|
|
73
|
+
...src.modeInstance,
|
|
68
74
|
// We should not be.
|
|
69
75
|
id: id,
|
|
70
76
|
routeName: 'viewer',
|
|
71
|
-
displayName: i18next
|
|
77
|
+
displayName: i18next["default"].t('Modes:Basic Viewer'),
|
|
72
78
|
routes: [
|
|
73
79
|
longitudinalRoute
|
|
74
80
|
],
|
|
75
81
|
extensions: extensionDependencies
|
|
76
82
|
};
|
|
77
83
|
const mode = {
|
|
78
|
-
...src
|
|
84
|
+
...src.mode,
|
|
79
85
|
id: id,
|
|
80
86
|
modeInstance,
|
|
81
87
|
extensionDependencies
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(globalThis["rspackChunk_ohif_app"] ||= []).push([[2991], {
|
|
3
3
|
12562(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
4
|
+
// ESM COMPAT FLAG
|
|
5
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4
6
|
|
|
5
7
|
// EXPORTS
|
|
6
8
|
__webpack_require__.d(__webpack_exports__, {
|
|
7
|
-
|
|
9
|
+
basicTestLayout: () => (/* binding */ basicTestLayout),
|
|
10
|
+
basicTestRoute: () => (/* binding */ basicTestRoute),
|
|
11
|
+
"default": () => (/* binding */ basic_test_mode_src),
|
|
12
|
+
initToolGroups: () => (/* reexport */ src_initToolGroups),
|
|
13
|
+
modeInstance: () => (/* binding */ modeInstance)
|
|
8
14
|
});
|
|
9
15
|
|
|
10
|
-
// UNUSED EXPORTS: basicTestLayout, basicTestRoute, initToolGroups, modeInstance
|
|
11
|
-
|
|
12
16
|
// EXTERNAL MODULE: ../../node_modules/i18next/dist/esm/i18next.js + 3 modules
|
|
13
17
|
var i18next = __webpack_require__(96392);
|
|
14
18
|
// EXTERNAL MODULE: ../core/src/index.ts + 76 modules
|
|
@@ -23,7 +27,7 @@ var esm = __webpack_require__(62721);
|
|
|
23
27
|
|
|
24
28
|
|
|
25
29
|
|
|
26
|
-
const { windowLevelPresets } = src
|
|
30
|
+
const { windowLevelPresets } = src.defaults; /**
|
|
27
31
|
*
|
|
28
32
|
* @param {*} preset - preset number (from above import)
|
|
29
33
|
* @param {*} title
|
|
@@ -95,8 +99,8 @@ const toolbarButtons = [
|
|
|
95
99
|
uiType: 'ohif.modalityLoadBadge',
|
|
96
100
|
props: {
|
|
97
101
|
icon: 'Status',
|
|
98
|
-
label: i18next
|
|
99
|
-
tooltip: i18next
|
|
102
|
+
label: i18next["default"].t('Buttons:Status'),
|
|
103
|
+
tooltip: i18next["default"].t('Buttons:Status'),
|
|
100
104
|
evaluate: {
|
|
101
105
|
name: 'evaluate.modalityLoadBadge',
|
|
102
106
|
hideWhenDisabled: true
|
|
@@ -108,8 +112,8 @@ const toolbarButtons = [
|
|
|
108
112
|
uiType: 'ohif.navigationComponent',
|
|
109
113
|
props: {
|
|
110
114
|
icon: 'Navigation',
|
|
111
|
-
label: i18next
|
|
112
|
-
tooltip: i18next
|
|
115
|
+
label: i18next["default"].t('Buttons:Navigation'),
|
|
116
|
+
tooltip: i18next["default"].t('Buttons:Navigate between segments/measurements and manage their visibility'),
|
|
113
117
|
evaluate: {
|
|
114
118
|
name: 'evaluate.navigationComponent',
|
|
115
119
|
hideWhenDisabled: true
|
|
@@ -121,8 +125,8 @@ const toolbarButtons = [
|
|
|
121
125
|
uiType: 'ohif.trackingStatus',
|
|
122
126
|
props: {
|
|
123
127
|
icon: 'TrackingStatus',
|
|
124
|
-
label: i18next
|
|
125
|
-
tooltip: i18next
|
|
128
|
+
label: i18next["default"].t('Buttons:Tracking Status'),
|
|
129
|
+
tooltip: i18next["default"].t('Buttons:View and manage tracking status of measurements and annotations'),
|
|
126
130
|
evaluate: {
|
|
127
131
|
name: 'evaluate.trackingStatus',
|
|
128
132
|
hideWhenDisabled: true
|
|
@@ -134,8 +138,8 @@ const toolbarButtons = [
|
|
|
134
138
|
uiType: 'ohif.dataOverlayMenu',
|
|
135
139
|
props: {
|
|
136
140
|
icon: 'ViewportViews',
|
|
137
|
-
label: i18next
|
|
138
|
-
tooltip: i18next
|
|
141
|
+
label: i18next["default"].t('Buttons:Data Overlay'),
|
|
142
|
+
tooltip: i18next["default"].t('Buttons:Configure data overlay options and manage foreground/background display sets'),
|
|
139
143
|
evaluate: 'evaluate.dataOverlayMenu'
|
|
140
144
|
}
|
|
141
145
|
},
|
|
@@ -144,8 +148,8 @@ const toolbarButtons = [
|
|
|
144
148
|
uiType: 'ohif.orientationMenu',
|
|
145
149
|
props: {
|
|
146
150
|
icon: 'OrientationSwitch',
|
|
147
|
-
label: i18next
|
|
148
|
-
tooltip: i18next
|
|
151
|
+
label: i18next["default"].t('Buttons:Orientation'),
|
|
152
|
+
tooltip: i18next["default"].t('Buttons:Change viewport orientation between axial, sagittal, coronal and reformat planes'),
|
|
149
153
|
evaluate: {
|
|
150
154
|
name: 'evaluate.orientationMenu'
|
|
151
155
|
}
|
|
@@ -156,8 +160,8 @@ const toolbarButtons = [
|
|
|
156
160
|
uiType: 'ohif.windowLevelMenu',
|
|
157
161
|
props: {
|
|
158
162
|
icon: 'WindowLevel',
|
|
159
|
-
label: i18next
|
|
160
|
-
tooltip: i18next
|
|
163
|
+
label: i18next["default"].t('Buttons:Window Level'),
|
|
164
|
+
tooltip: i18next["default"].t('Buttons:Adjust window/level presets and customize image contrast settings'),
|
|
161
165
|
evaluate: 'evaluate.windowLevelMenu'
|
|
162
166
|
}
|
|
163
167
|
},
|
|
@@ -166,8 +170,8 @@ const toolbarButtons = [
|
|
|
166
170
|
uiType: 'ohif.voiManualControlMenu',
|
|
167
171
|
props: {
|
|
168
172
|
icon: 'WindowLevelAdvanced',
|
|
169
|
-
label: i18next
|
|
170
|
-
tooltip: i18next
|
|
173
|
+
label: i18next["default"].t('Buttons:Advanced Window Level'),
|
|
174
|
+
tooltip: i18next["default"].t('Buttons:Advanced window/level settings with manual controls and presets'),
|
|
171
175
|
evaluate: 'evaluate.voiManualControlMenu'
|
|
172
176
|
}
|
|
173
177
|
},
|
|
@@ -176,8 +180,8 @@ const toolbarButtons = [
|
|
|
176
180
|
uiType: 'ohif.thresholdMenu',
|
|
177
181
|
props: {
|
|
178
182
|
icon: 'Threshold',
|
|
179
|
-
label: i18next
|
|
180
|
-
tooltip: i18next
|
|
183
|
+
label: i18next["default"].t('Buttons:Threshold'),
|
|
184
|
+
tooltip: i18next["default"].t('Buttons:Image threshold settings'),
|
|
181
185
|
evaluate: {
|
|
182
186
|
name: 'evaluate.thresholdMenu',
|
|
183
187
|
hideWhenDisabled: true
|
|
@@ -189,8 +193,8 @@ const toolbarButtons = [
|
|
|
189
193
|
uiType: 'ohif.opacityMenu',
|
|
190
194
|
props: {
|
|
191
195
|
icon: 'Opacity',
|
|
192
|
-
label: i18next
|
|
193
|
-
tooltip: i18next
|
|
196
|
+
label: i18next["default"].t('Buttons:Opacity'),
|
|
197
|
+
tooltip: i18next["default"].t('Buttons:Image opacity settings'),
|
|
194
198
|
evaluate: {
|
|
195
199
|
name: 'evaluate.opacityMenu',
|
|
196
200
|
hideWhenDisabled: true
|
|
@@ -202,7 +206,7 @@ const toolbarButtons = [
|
|
|
202
206
|
uiType: 'ohif.colorbar',
|
|
203
207
|
props: {
|
|
204
208
|
type: 'tool',
|
|
205
|
-
label: i18next
|
|
209
|
+
label: i18next["default"].t('Buttons:Colorbar')
|
|
206
210
|
}
|
|
207
211
|
},
|
|
208
212
|
_createWwwcPreset(1, 'Soft tissue', '400 / 40'),
|
|
@@ -215,8 +219,8 @@ const toolbarButtons = [
|
|
|
215
219
|
uiType: 'ohif.toolButton',
|
|
216
220
|
props: {
|
|
217
221
|
icon: 'tool-window-level',
|
|
218
|
-
label: i18next
|
|
219
|
-
tooltip: i18next
|
|
222
|
+
label: i18next["default"].t('Buttons:Window Level'),
|
|
223
|
+
tooltip: i18next["default"].t('Buttons:Window Level'),
|
|
220
224
|
commands: setToolActiveToolbar,
|
|
221
225
|
evaluate: 'evaluate.cornerstoneTool'
|
|
222
226
|
}
|
|
@@ -226,8 +230,8 @@ const toolbarButtons = [
|
|
|
226
230
|
uiType: 'ohif.toolButton',
|
|
227
231
|
props: {
|
|
228
232
|
icon: 'tool-length',
|
|
229
|
-
label: i18next
|
|
230
|
-
tooltip: i18next
|
|
233
|
+
label: i18next["default"].t('Buttons:Length'),
|
|
234
|
+
tooltip: i18next["default"].t('Buttons:Length Tool'),
|
|
231
235
|
commands: setToolActiveToolbar,
|
|
232
236
|
evaluate: 'evaluate.cornerstoneTool'
|
|
233
237
|
}
|
|
@@ -237,8 +241,8 @@ const toolbarButtons = [
|
|
|
237
241
|
uiType: 'ohif.toolButton',
|
|
238
242
|
props: {
|
|
239
243
|
icon: 'tool-bidirectional',
|
|
240
|
-
label: i18next
|
|
241
|
-
tooltip: i18next
|
|
244
|
+
label: i18next["default"].t('Buttons:Bidirectional'),
|
|
245
|
+
tooltip: i18next["default"].t('Buttons:Bidirectional Tool'),
|
|
242
246
|
commands: setToolActiveToolbar,
|
|
243
247
|
evaluate: 'evaluate.cornerstoneTool'
|
|
244
248
|
}
|
|
@@ -248,8 +252,8 @@ const toolbarButtons = [
|
|
|
248
252
|
uiType: 'ohif.toolButton',
|
|
249
253
|
props: {
|
|
250
254
|
icon: 'tool-annotate',
|
|
251
|
-
label: i18next
|
|
252
|
-
tooltip: i18next
|
|
255
|
+
label: i18next["default"].t('Buttons:Annotation'),
|
|
256
|
+
tooltip: i18next["default"].t('Buttons:Arrow Annotate'),
|
|
253
257
|
commands: setToolActiveToolbar,
|
|
254
258
|
evaluate: 'evaluate.cornerstoneTool'
|
|
255
259
|
}
|
|
@@ -259,8 +263,8 @@ const toolbarButtons = [
|
|
|
259
263
|
uiType: 'ohif.toolButton',
|
|
260
264
|
props: {
|
|
261
265
|
icon: 'tool-ellipse',
|
|
262
|
-
label: i18next
|
|
263
|
-
tooltip: i18next
|
|
266
|
+
label: i18next["default"].t('Buttons:Ellipse'),
|
|
267
|
+
tooltip: i18next["default"].t('Buttons:Ellipse ROI'),
|
|
264
268
|
commands: setToolActiveToolbar,
|
|
265
269
|
evaluate: 'evaluate.cornerstoneTool'
|
|
266
270
|
}
|
|
@@ -270,8 +274,8 @@ const toolbarButtons = [
|
|
|
270
274
|
uiType: 'ohif.toolButton',
|
|
271
275
|
props: {
|
|
272
276
|
icon: 'tool-circle',
|
|
273
|
-
label: i18next
|
|
274
|
-
tooltip: i18next
|
|
277
|
+
label: i18next["default"].t('Buttons:Circle'),
|
|
278
|
+
tooltip: i18next["default"].t('Buttons:Circle Tool'),
|
|
275
279
|
commands: setToolActiveToolbar,
|
|
276
280
|
evaluate: 'evaluate.cornerstoneTool'
|
|
277
281
|
}
|
|
@@ -281,8 +285,8 @@ const toolbarButtons = [
|
|
|
281
285
|
uiType: 'ohif.toolButton',
|
|
282
286
|
props: {
|
|
283
287
|
icon: 'icon-tool-freehand-roi',
|
|
284
|
-
label: i18next
|
|
285
|
-
tooltip: i18next
|
|
288
|
+
label: i18next["default"].t('Buttons:Freehand ROI'),
|
|
289
|
+
tooltip: i18next["default"].t('Buttons:Freehand ROI'),
|
|
286
290
|
commands: setToolActiveToolbar,
|
|
287
291
|
evaluate: 'evaluate.cornerstoneTool'
|
|
288
292
|
}
|
|
@@ -292,8 +296,8 @@ const toolbarButtons = [
|
|
|
292
296
|
uiType: 'ohif.toolButton',
|
|
293
297
|
props: {
|
|
294
298
|
icon: 'icon-tool-spline-roi',
|
|
295
|
-
label: i18next
|
|
296
|
-
tooltip: i18next
|
|
299
|
+
label: i18next["default"].t('Buttons:Spline ROI'),
|
|
300
|
+
tooltip: i18next["default"].t('Buttons:Spline ROI'),
|
|
297
301
|
commands: setToolActiveToolbar,
|
|
298
302
|
evaluate: 'evaluate.cornerstoneTool'
|
|
299
303
|
}
|
|
@@ -303,8 +307,8 @@ const toolbarButtons = [
|
|
|
303
307
|
uiType: 'ohif.toolButton',
|
|
304
308
|
props: {
|
|
305
309
|
icon: 'icon-tool-livewire',
|
|
306
|
-
label: i18next
|
|
307
|
-
tooltip: i18next
|
|
310
|
+
label: i18next["default"].t('Buttons:Livewire tool'),
|
|
311
|
+
tooltip: i18next["default"].t('Buttons:Livewire tool'),
|
|
308
312
|
commands: setToolActiveToolbar,
|
|
309
313
|
evaluate: 'evaluate.cornerstoneTool'
|
|
310
314
|
}
|
|
@@ -314,8 +318,8 @@ const toolbarButtons = [
|
|
|
314
318
|
uiType: 'ohif.toolButton',
|
|
315
319
|
props: {
|
|
316
320
|
icon: 'tool-zoom',
|
|
317
|
-
label: i18next
|
|
318
|
-
tooltip: i18next
|
|
321
|
+
label: i18next["default"].t('Buttons:Zoom'),
|
|
322
|
+
tooltip: i18next["default"].t('Buttons:Zoom'),
|
|
319
323
|
commands: setToolActiveToolbar,
|
|
320
324
|
evaluate: 'evaluate.cornerstoneTool'
|
|
321
325
|
}
|
|
@@ -326,8 +330,8 @@ const toolbarButtons = [
|
|
|
326
330
|
props: {
|
|
327
331
|
type: 'tool',
|
|
328
332
|
icon: 'tool-move',
|
|
329
|
-
label: i18next
|
|
330
|
-
tooltip: i18next
|
|
333
|
+
label: i18next["default"].t('Buttons:Pan'),
|
|
334
|
+
tooltip: i18next["default"].t('Buttons:Pan'),
|
|
331
335
|
commands: setToolActiveToolbar,
|
|
332
336
|
evaluate: 'evaluate.cornerstoneTool'
|
|
333
337
|
}
|
|
@@ -337,8 +341,8 @@ const toolbarButtons = [
|
|
|
337
341
|
uiType: 'ohif.toolButton',
|
|
338
342
|
props: {
|
|
339
343
|
icon: 'icon-mpr',
|
|
340
|
-
label: i18next
|
|
341
|
-
tooltip: i18next
|
|
344
|
+
label: i18next["default"].t('Buttons:MPR'),
|
|
345
|
+
tooltip: i18next["default"].t('Buttons:MPR'),
|
|
342
346
|
commands: {
|
|
343
347
|
commandName: 'toggleHangingProtocol',
|
|
344
348
|
commandOptions: {
|
|
@@ -354,8 +358,8 @@ const toolbarButtons = [
|
|
|
354
358
|
props: {
|
|
355
359
|
type: 'tool',
|
|
356
360
|
icon: 'tool-3d-rotate',
|
|
357
|
-
label: i18next
|
|
358
|
-
tooltip: i18next
|
|
361
|
+
label: i18next["default"].t('Buttons:3D Rotate'),
|
|
362
|
+
tooltip: i18next["default"].t('Buttons:3D Rotate'),
|
|
359
363
|
commands: setToolActiveToolbar
|
|
360
364
|
}
|
|
361
365
|
},
|
|
@@ -364,8 +368,8 @@ const toolbarButtons = [
|
|
|
364
368
|
uiType: 'ohif.toolButton',
|
|
365
369
|
props: {
|
|
366
370
|
icon: 'tool-capture',
|
|
367
|
-
label: i18next
|
|
368
|
-
tooltip: i18next
|
|
371
|
+
label: i18next["default"].t('Buttons:Capture'),
|
|
372
|
+
tooltip: i18next["default"].t('Buttons:Capture'),
|
|
369
373
|
commands: 'showDownloadViewportModal',
|
|
370
374
|
evaluate: [
|
|
371
375
|
'evaluate.action',
|
|
@@ -395,8 +399,8 @@ const toolbarButtons = [
|
|
|
395
399
|
props: {
|
|
396
400
|
type: 'tool',
|
|
397
401
|
icon: 'tool-crosshair',
|
|
398
|
-
label: i18next
|
|
399
|
-
tooltip: i18next
|
|
402
|
+
label: i18next["default"].t('Buttons:Crosshairs'),
|
|
403
|
+
tooltip: i18next["default"].t('Buttons:Crosshairs'),
|
|
400
404
|
commands: {
|
|
401
405
|
commandName: 'setToolActiveToolbar',
|
|
402
406
|
commandOptions: {
|
|
@@ -413,8 +417,8 @@ const toolbarButtons = [
|
|
|
413
417
|
uiType: 'ohif.toolButton',
|
|
414
418
|
props: {
|
|
415
419
|
icon: 'tool-reset',
|
|
416
|
-
label: i18next
|
|
417
|
-
tooltip: i18next
|
|
420
|
+
label: i18next["default"].t('Buttons:Reset View'),
|
|
421
|
+
tooltip: i18next["default"].t('Buttons:Reset View'),
|
|
418
422
|
commands: 'resetViewport',
|
|
419
423
|
evaluate: 'evaluate.action'
|
|
420
424
|
}
|
|
@@ -424,8 +428,8 @@ const toolbarButtons = [
|
|
|
424
428
|
uiType: 'ohif.toolButton',
|
|
425
429
|
props: {
|
|
426
430
|
icon: 'tool-rotate-right',
|
|
427
|
-
label: i18next
|
|
428
|
-
tooltip: i18next
|
|
431
|
+
label: i18next["default"].t('Buttons:Rotate Right'),
|
|
432
|
+
tooltip: i18next["default"].t('Buttons:Rotate +90'),
|
|
429
433
|
commands: 'rotateViewportCW',
|
|
430
434
|
evaluate: 'evaluate.action'
|
|
431
435
|
}
|
|
@@ -435,8 +439,8 @@ const toolbarButtons = [
|
|
|
435
439
|
uiType: 'ohif.toolButton',
|
|
436
440
|
props: {
|
|
437
441
|
icon: 'tool-flip-horizontal',
|
|
438
|
-
label: i18next
|
|
439
|
-
tooltip: i18next
|
|
442
|
+
label: i18next["default"].t('Buttons:Flip Horizontal'),
|
|
443
|
+
tooltip: i18next["default"].t('Buttons:Flip Horizontally'),
|
|
440
444
|
commands: 'flipViewportHorizontal',
|
|
441
445
|
evaluate: 'evaluate.viewportProperties.toggle'
|
|
442
446
|
}
|
|
@@ -446,8 +450,8 @@ const toolbarButtons = [
|
|
|
446
450
|
uiType: 'ohif.toolButton',
|
|
447
451
|
props: {
|
|
448
452
|
icon: 'link',
|
|
449
|
-
label: i18next
|
|
450
|
-
tooltip: i18next
|
|
453
|
+
label: i18next["default"].t('Buttons:Image Slice Sync'),
|
|
454
|
+
tooltip: i18next["default"].t('Buttons:Enable position synchronization on stack viewports'),
|
|
451
455
|
commands: {
|
|
452
456
|
commandName: 'toggleSynchronizer',
|
|
453
457
|
commandOptions: {
|
|
@@ -470,8 +474,8 @@ const toolbarButtons = [
|
|
|
470
474
|
uiType: 'ohif.toolButton',
|
|
471
475
|
props: {
|
|
472
476
|
icon: 'tool-referenceLines',
|
|
473
|
-
label: i18next
|
|
474
|
-
tooltip: i18next
|
|
477
|
+
label: i18next["default"].t('Buttons:Reference Lines'),
|
|
478
|
+
tooltip: i18next["default"].t('Buttons:Show Reference Lines'),
|
|
475
479
|
commands: 'toggleEnabledDisabledToolbar',
|
|
476
480
|
evaluate: 'evaluate.cornerstoneTool.toggle'
|
|
477
481
|
}
|
|
@@ -481,8 +485,8 @@ const toolbarButtons = [
|
|
|
481
485
|
uiType: 'ohif.toolButton',
|
|
482
486
|
props: {
|
|
483
487
|
icon: 'toggle-dicom-overlay',
|
|
484
|
-
label: i18next
|
|
485
|
-
tooltip: i18next
|
|
488
|
+
label: i18next["default"].t('Buttons:Image Overlay'),
|
|
489
|
+
tooltip: i18next["default"].t('Buttons:Toggle Image Overlay'),
|
|
486
490
|
commands: 'toggleEnabledDisabledToolbar',
|
|
487
491
|
evaluate: 'evaluate.cornerstoneTool.toggle'
|
|
488
492
|
}
|
|
@@ -492,8 +496,8 @@ const toolbarButtons = [
|
|
|
492
496
|
uiType: 'ohif.toolButton',
|
|
493
497
|
props: {
|
|
494
498
|
icon: 'tool-stack-scroll',
|
|
495
|
-
label: i18next
|
|
496
|
-
tooltip: i18next
|
|
499
|
+
label: i18next["default"].t('Buttons:Stack Scroll'),
|
|
500
|
+
tooltip: i18next["default"].t('Buttons:Stack Scroll'),
|
|
497
501
|
commands: setToolActiveToolbar,
|
|
498
502
|
evaluate: 'evaluate.cornerstoneTool'
|
|
499
503
|
}
|
|
@@ -503,8 +507,8 @@ const toolbarButtons = [
|
|
|
503
507
|
uiType: 'ohif.toolButton',
|
|
504
508
|
props: {
|
|
505
509
|
icon: 'tool-invert',
|
|
506
|
-
label: i18next
|
|
507
|
-
tooltip: i18next
|
|
510
|
+
label: i18next["default"].t('Buttons:Invert'),
|
|
511
|
+
tooltip: i18next["default"].t('Buttons:Invert Colors'),
|
|
508
512
|
commands: 'invertViewport',
|
|
509
513
|
evaluate: 'evaluate.viewportProperties.toggle'
|
|
510
514
|
}
|
|
@@ -514,8 +518,8 @@ const toolbarButtons = [
|
|
|
514
518
|
uiType: 'ohif.toolButton',
|
|
515
519
|
props: {
|
|
516
520
|
icon: 'tool-probe',
|
|
517
|
-
label: i18next
|
|
518
|
-
tooltip: i18next
|
|
521
|
+
label: i18next["default"].t('Buttons:Probe'),
|
|
522
|
+
tooltip: i18next["default"].t('Buttons:Probe'),
|
|
519
523
|
commands: setToolActiveToolbar,
|
|
520
524
|
evaluate: 'evaluate.cornerstoneTool'
|
|
521
525
|
}
|
|
@@ -525,8 +529,8 @@ const toolbarButtons = [
|
|
|
525
529
|
uiType: 'ohif.toolButton',
|
|
526
530
|
props: {
|
|
527
531
|
icon: 'tool-cine',
|
|
528
|
-
label: i18next
|
|
529
|
-
tooltip: i18next
|
|
532
|
+
label: i18next["default"].t('Buttons:Cine'),
|
|
533
|
+
tooltip: i18next["default"].t('Buttons:Cine'),
|
|
530
534
|
commands: 'toggleCine',
|
|
531
535
|
evaluate: 'evaluate.cine'
|
|
532
536
|
}
|
|
@@ -536,8 +540,8 @@ const toolbarButtons = [
|
|
|
536
540
|
uiType: 'ohif.toolButton',
|
|
537
541
|
props: {
|
|
538
542
|
icon: 'tool-angle',
|
|
539
|
-
label: i18next
|
|
540
|
-
tooltip: i18next
|
|
543
|
+
label: i18next["default"].t('Buttons:Angle'),
|
|
544
|
+
tooltip: i18next["default"].t('Buttons:Angle'),
|
|
541
545
|
commands: setToolActiveToolbar,
|
|
542
546
|
evaluate: 'evaluate.cornerstoneTool'
|
|
543
547
|
}
|
|
@@ -547,8 +551,8 @@ const toolbarButtons = [
|
|
|
547
551
|
uiType: 'ohif.toolButton',
|
|
548
552
|
props: {
|
|
549
553
|
icon: 'icon-tool-cobb-angle',
|
|
550
|
-
label: i18next
|
|
551
|
-
tooltip: i18next
|
|
554
|
+
label: i18next["default"].t('Buttons:Cobb Angle'),
|
|
555
|
+
tooltip: i18next["default"].t('Buttons:Cobb Angle'),
|
|
552
556
|
commands: setToolActiveToolbar,
|
|
553
557
|
evaluate: 'evaluate.cornerstoneTool'
|
|
554
558
|
}
|
|
@@ -558,8 +562,8 @@ const toolbarButtons = [
|
|
|
558
562
|
uiType: 'ohif.toolButton',
|
|
559
563
|
props: {
|
|
560
564
|
icon: 'tool-magnify',
|
|
561
|
-
label: i18next
|
|
562
|
-
tooltip: i18next
|
|
565
|
+
label: i18next["default"].t('Buttons:Zoom-in'),
|
|
566
|
+
tooltip: i18next["default"].t('Buttons:Zoom-in'),
|
|
563
567
|
commands: setToolActiveToolbar,
|
|
564
568
|
evaluate: 'evaluate.cornerstoneTool'
|
|
565
569
|
}
|
|
@@ -569,8 +573,8 @@ const toolbarButtons = [
|
|
|
569
573
|
uiType: 'ohif.toolButton',
|
|
570
574
|
props: {
|
|
571
575
|
icon: 'tool-rectangle',
|
|
572
|
-
label: i18next
|
|
573
|
-
tooltip: i18next
|
|
576
|
+
label: i18next["default"].t('Buttons:Rectangle'),
|
|
577
|
+
tooltip: i18next["default"].t('Buttons:Rectangle'),
|
|
574
578
|
commands: setToolActiveToolbar,
|
|
575
579
|
evaluate: 'evaluate.cornerstoneTool'
|
|
576
580
|
}
|
|
@@ -580,8 +584,8 @@ const toolbarButtons = [
|
|
|
580
584
|
uiType: 'ohif.toolButton',
|
|
581
585
|
props: {
|
|
582
586
|
icon: 'tool-calibration',
|
|
583
|
-
label: i18next
|
|
584
|
-
tooltip: i18next
|
|
587
|
+
label: i18next["default"].t('Buttons:Calibration'),
|
|
588
|
+
tooltip: i18next["default"].t('Buttons:Calibration Line'),
|
|
585
589
|
commands: setToolActiveToolbar,
|
|
586
590
|
evaluate: 'evaluate.cornerstoneTool'
|
|
587
591
|
}
|
|
@@ -591,8 +595,8 @@ const toolbarButtons = [
|
|
|
591
595
|
uiType: 'ohif.toolButton',
|
|
592
596
|
props: {
|
|
593
597
|
icon: 'dicom-tag-browser',
|
|
594
|
-
label: i18next
|
|
595
|
-
tooltip: i18next
|
|
598
|
+
label: i18next["default"].t('Buttons:Dicom Tag Browser'),
|
|
599
|
+
tooltip: i18next["default"].t('Buttons:Dicom Tag Browser'),
|
|
596
600
|
commands: 'openDICOMTagViewer'
|
|
597
601
|
}
|
|
598
602
|
},
|
|
@@ -601,8 +605,8 @@ const toolbarButtons = [
|
|
|
601
605
|
uiType: 'ohif.toolButton',
|
|
602
606
|
props: {
|
|
603
607
|
icon: 'icon-tool-loupe',
|
|
604
|
-
label: i18next
|
|
605
|
-
tooltip: i18next
|
|
608
|
+
label: i18next["default"].t('Buttons:Magnify Probe'),
|
|
609
|
+
tooltip: i18next["default"].t('Buttons:Magnify Probe'),
|
|
606
610
|
commands: 'toggleActiveDisabledToolbar',
|
|
607
611
|
evaluate: 'evaluate.cornerstoneTool.toggle.ifStrictlyDisabled'
|
|
608
612
|
}
|
|
@@ -612,8 +616,8 @@ const toolbarButtons = [
|
|
|
612
616
|
uiType: 'ohif.toolButton',
|
|
613
617
|
props: {
|
|
614
618
|
icon: 'icon-tool-ultrasound-bidirectional',
|
|
615
|
-
label: i18next
|
|
616
|
-
tooltip: i18next
|
|
619
|
+
label: i18next["default"].t('Buttons:Ultrasound Directional'),
|
|
620
|
+
tooltip: i18next["default"].t('Buttons:Ultrasound Directional'),
|
|
617
621
|
commands: setToolActiveToolbar,
|
|
618
622
|
evaluate: [
|
|
619
623
|
'evaluate.cornerstoneTool',
|
|
@@ -631,8 +635,8 @@ const toolbarButtons = [
|
|
|
631
635
|
uiType: 'ohif.toolButton',
|
|
632
636
|
props: {
|
|
633
637
|
icon: 'icon-tool-window-region',
|
|
634
|
-
label: i18next
|
|
635
|
-
tooltip: i18next
|
|
638
|
+
label: i18next["default"].t('Buttons:Window Level Region'),
|
|
639
|
+
tooltip: i18next["default"].t('Buttons:Window Level Region'),
|
|
636
640
|
commands: setToolActiveToolbar,
|
|
637
641
|
evaluate: 'evaluate.cornerstoneTool'
|
|
638
642
|
}
|
|
@@ -1041,7 +1045,7 @@ function initToolGroups({ extensionManager, toolGroupService, commandsManager })
|
|
|
1041
1045
|
|
|
1042
1046
|
|
|
1043
1047
|
|
|
1044
|
-
const { TOOLBAR_SECTIONS } = src
|
|
1048
|
+
const { TOOLBAR_SECTIONS } = src.ToolbarService; // Allow this mode by excluding non-imaging modalities such as SR, SEG
|
|
1045
1049
|
// Also, SM is not a simple imaging modalities, so exclude it.
|
|
1046
1050
|
const NON_IMAGE_MODALITIES = [
|
|
1047
1051
|
'ECG',
|
|
@@ -1228,7 +1232,7 @@ const basicTestLayout = {
|
|
|
1228
1232
|
};
|
|
1229
1233
|
const basicTestRoute = {
|
|
1230
1234
|
path: 'basic-test',
|
|
1231
|
-
layoutTemplate: basic_src
|
|
1235
|
+
layoutTemplate: basic_src.layoutTemplate,
|
|
1232
1236
|
layoutInstance: basicTestLayout
|
|
1233
1237
|
}; /**
|
|
1234
1238
|
* Extends the basic mode instance: the shared onModeEnter/onModeExit are
|
|
@@ -1236,10 +1240,10 @@ const basicTestRoute = {
|
|
|
1236
1240
|
* customizations) are supplied as instance data.
|
|
1237
1241
|
*/
|
|
1238
1242
|
const modeInstance = {
|
|
1239
|
-
...basic_src
|
|
1243
|
+
...basic_src.modeInstance,
|
|
1240
1244
|
id: id,
|
|
1241
1245
|
routeName: 'basic-test',
|
|
1242
|
-
displayName: i18next
|
|
1246
|
+
displayName: i18next["default"].t('Modes:Basic Test Mode'),
|
|
1243
1247
|
toolbarButtons: src_toolbarButtons,
|
|
1244
1248
|
toolbarSections,
|
|
1245
1249
|
initToolGroups: src_initToolGroups,
|
|
@@ -1263,7 +1267,7 @@ const modeInstance = {
|
|
|
1263
1267
|
}
|
|
1264
1268
|
}
|
|
1265
1269
|
],
|
|
1266
|
-
isValidMode: basic_src
|
|
1270
|
+
isValidMode: basic_src.isValidMode,
|
|
1267
1271
|
nonModeModalities: NON_IMAGE_MODALITIES,
|
|
1268
1272
|
routes: [
|
|
1269
1273
|
basicTestRoute
|
|
@@ -1285,7 +1289,7 @@ const modeInstance = {
|
|
|
1285
1289
|
};
|
|
1286
1290
|
const mode = {
|
|
1287
1291
|
id: id,
|
|
1288
|
-
modeFactory: basic_src
|
|
1292
|
+
modeFactory: basic_src.modeFactory,
|
|
1289
1293
|
modeInstance,
|
|
1290
1294
|
extensionDependencies
|
|
1291
1295
|
};
|