@ohif/app 3.12.0-beta.29 → 3.12.0-beta.30
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/{1447.bundle.7ea0d8e4aa9d9f34bf41.js → 1447.bundle.7ccbf8c680ed0a7e69d5.js} +20 -15
- package/dist/{1459.bundle.8f1e6eda9e6c4b162b89.js → 1459.bundle.25ae02642118d90e49ac.js} +18 -17
- package/dist/{1807.bundle.d721cfc3d15d95ec8d82.js → 1807.bundle.fb43d3ec0c1810dfd665.js} +42 -41
- package/dist/{213.bundle.ef068a2f88aaa7372cbd.js → 213.bundle.a628d19d9049300164e7.js} +2 -2
- package/dist/{2243.bundle.25b3992cdcfe70ddd919.js → 2243.bundle.8230239618b7b3732cb7.js} +84 -83
- package/dist/{2424.bundle.afad8a53334a4495abdb.js → 2424.bundle.8e5801b13cbf46346e82.js} +2 -2
- package/dist/{4113.bundle.428c74d3e546a7277a9e.js → 4113.bundle.c5cda661ac043f9b5e97.js} +2 -2
- package/dist/{6027.bundle.4479affc92c33069af5d.js → 6027.bundle.744b0fb1b090256c0a77.js} +29 -28
- package/dist/{6201.bundle.6ec98c3f81a8154c432c.js → 6201.bundle.b32ee475e39dcf2d69b4.js} +2 -2
- package/dist/{6980.bundle.6df792cb5f9ad93a7d91.js → 6980.bundle.945ffbd91eaf6f3faaa9.js} +84 -83
- package/dist/{7197.bundle.c85bed3a067043ebdc69.js → 7197.bundle.27d101c9c06cd67ec070.js} +2 -2
- package/dist/{7639.bundle.be44963b6149ed6970fd.js → 7639.bundle.f34b172193c9c1218ed7.js} +42 -39
- package/dist/{7656.bundle.56e460a5793d66bf5f91.js → 7656.bundle.a821e6064d08e194a9e1.js} +60 -36
- package/dist/{810.bundle.7eb581c376d1fccefedf.js → 810.bundle.6843f6cc56987564bb42.js} +2 -2
- package/dist/{85.bundle.0e1a214b530e80641917.js → 85.bundle.333336f0acd7387b9c12.js} +90 -89
- package/dist/{8558.bundle.de825b993a974c6e70d4.js → 8558.bundle.700a45d1df4274c7569e.js} +2 -2
- package/dist/{8815.bundle.979df6afb75a8ff23bd1.js → 8815.bundle.4002e0e98ee51da6f347.js} +72 -69
- package/dist/{app.bundle.639b0587c99d124efe17.js → app.bundle.dc901a102d764ef35ad4.js} +38653 -38597
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +20 -20
- /package/dist/{1604.bundle.e306a0a1547e398121f1.js → 1604.bundle.a0651a36c30bba3ca428.js} +0 -0
- /package/dist/{1919.bundle.1bbede9be58e0a6c307c.js → 1919.bundle.28e3a73be5889d518468.js} +0 -0
- /package/dist/{414.bundle.b57e468bd49237bafdaf.js → 414.bundle.aba3037fd5feebd821dc.js} +0 -0
- /package/dist/{6991.bundle.956af935ea8d258215ea.js → 6991.bundle.b4826e45919342537aac.js} +0 -0
- /package/dist/{934.bundle.493402696bb6c0e70ee2.js → 934.bundle.615d68bb584003b7c065.js} +0 -0
|
@@ -16,12 +16,15 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
16
16
|
var esm = __webpack_require__(15327);
|
|
17
17
|
// EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
|
|
18
18
|
var src = __webpack_require__(76569);
|
|
19
|
+
// EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
|
|
20
|
+
var i18next = __webpack_require__(40680);
|
|
19
21
|
;// ../../../modes/basic-test-mode/src/toolbarButtons.ts
|
|
20
22
|
// TODO: torn, can either bake this here; or have to create a whole new button type
|
|
21
23
|
// Only ways that you can pass in a custom React component for render :l
|
|
22
24
|
|
|
23
25
|
|
|
24
26
|
|
|
27
|
+
|
|
25
28
|
const {
|
|
26
29
|
windowLevelPresets
|
|
27
30
|
} = src/* defaults */.NT;
|
|
@@ -89,8 +92,8 @@ const toolbarButtons = [{
|
|
|
89
92
|
uiType: 'ohif.modalityLoadBadge',
|
|
90
93
|
props: {
|
|
91
94
|
icon: 'Status',
|
|
92
|
-
label: 'Status',
|
|
93
|
-
tooltip: 'Status',
|
|
95
|
+
label: i18next/* default */.A.t('Buttons:Status'),
|
|
96
|
+
tooltip: i18next/* default */.A.t('Buttons:Status'),
|
|
94
97
|
evaluate: {
|
|
95
98
|
name: 'evaluate.modalityLoadBadge',
|
|
96
99
|
hideWhenDisabled: true
|
|
@@ -101,8 +104,8 @@ const toolbarButtons = [{
|
|
|
101
104
|
uiType: 'ohif.navigationComponent',
|
|
102
105
|
props: {
|
|
103
106
|
icon: 'Navigation',
|
|
104
|
-
label: 'Navigation',
|
|
105
|
-
tooltip: 'Navigate between segments/measurements and manage their visibility',
|
|
107
|
+
label: i18next/* default */.A.t('Buttons:Navigation'),
|
|
108
|
+
tooltip: i18next/* default */.A.t('Buttons:Navigate between segments/measurements and manage their visibility'),
|
|
106
109
|
evaluate: {
|
|
107
110
|
name: 'evaluate.navigationComponent',
|
|
108
111
|
hideWhenDisabled: true
|
|
@@ -113,8 +116,8 @@ const toolbarButtons = [{
|
|
|
113
116
|
uiType: 'ohif.trackingStatus',
|
|
114
117
|
props: {
|
|
115
118
|
icon: 'TrackingStatus',
|
|
116
|
-
label: 'Tracking Status',
|
|
117
|
-
tooltip: 'View and manage tracking status of measurements and annotations',
|
|
119
|
+
label: i18next/* default */.A.t('Buttons:Tracking Status'),
|
|
120
|
+
tooltip: i18next/* default */.A.t('Buttons:View and manage tracking status of measurements and annotations'),
|
|
118
121
|
evaluate: {
|
|
119
122
|
name: 'evaluate.trackingStatus',
|
|
120
123
|
hideWhenDisabled: true
|
|
@@ -125,8 +128,8 @@ const toolbarButtons = [{
|
|
|
125
128
|
uiType: 'ohif.dataOverlayMenu',
|
|
126
129
|
props: {
|
|
127
130
|
icon: 'ViewportViews',
|
|
128
|
-
label: 'Data Overlay',
|
|
129
|
-
tooltip: 'Configure data overlay options and manage foreground/background display sets',
|
|
131
|
+
label: i18next/* default */.A.t('Buttons:Data Overlay'),
|
|
132
|
+
tooltip: i18next/* default */.A.t('Buttons:Configure data overlay options and manage foreground/background display sets'),
|
|
130
133
|
evaluate: 'evaluate.dataOverlayMenu'
|
|
131
134
|
}
|
|
132
135
|
}, {
|
|
@@ -134,8 +137,8 @@ const toolbarButtons = [{
|
|
|
134
137
|
uiType: 'ohif.orientationMenu',
|
|
135
138
|
props: {
|
|
136
139
|
icon: 'OrientationSwitch',
|
|
137
|
-
label: 'Orientation',
|
|
138
|
-
tooltip: 'Change viewport orientation between axial, sagittal, coronal and reformat planes',
|
|
140
|
+
label: i18next/* default */.A.t('Buttons:Orientation'),
|
|
141
|
+
tooltip: i18next/* default */.A.t('Buttons:Change viewport orientation between axial, sagittal, coronal and reformat planes'),
|
|
139
142
|
evaluate: {
|
|
140
143
|
name: 'evaluate.orientationMenu'
|
|
141
144
|
}
|
|
@@ -145,8 +148,8 @@ const toolbarButtons = [{
|
|
|
145
148
|
uiType: 'ohif.windowLevelMenu',
|
|
146
149
|
props: {
|
|
147
150
|
icon: 'WindowLevel',
|
|
148
|
-
label: 'Window Level',
|
|
149
|
-
tooltip: 'Adjust window/level presets and customize image contrast settings',
|
|
151
|
+
label: i18next/* default */.A.t('Buttons:Window Level'),
|
|
152
|
+
tooltip: i18next/* default */.A.t('Buttons:Adjust window/level presets and customize image contrast settings'),
|
|
150
153
|
evaluate: 'evaluate.windowLevelMenu'
|
|
151
154
|
}
|
|
152
155
|
}, {
|
|
@@ -154,8 +157,8 @@ const toolbarButtons = [{
|
|
|
154
157
|
uiType: 'ohif.voiManualControlMenu',
|
|
155
158
|
props: {
|
|
156
159
|
icon: 'WindowLevelAdvanced',
|
|
157
|
-
label: 'Advanced Window Level',
|
|
158
|
-
tooltip: 'Advanced window/level settings with manual controls and presets',
|
|
160
|
+
label: i18next/* default */.A.t('Buttons:Advanced Window Level'),
|
|
161
|
+
tooltip: i18next/* default */.A.t('Buttons:Advanced window/level settings with manual controls and presets'),
|
|
159
162
|
evaluate: 'evaluate.voiManualControlMenu'
|
|
160
163
|
}
|
|
161
164
|
}, {
|
|
@@ -163,8 +166,8 @@ const toolbarButtons = [{
|
|
|
163
166
|
uiType: 'ohif.thresholdMenu',
|
|
164
167
|
props: {
|
|
165
168
|
icon: 'Threshold',
|
|
166
|
-
label: 'Threshold',
|
|
167
|
-
tooltip: 'Image threshold settings',
|
|
169
|
+
label: i18next/* default */.A.t('Buttons:Threshold'),
|
|
170
|
+
tooltip: i18next/* default */.A.t('Buttons:Image threshold settings'),
|
|
168
171
|
evaluate: {
|
|
169
172
|
name: 'evaluate.thresholdMenu',
|
|
170
173
|
hideWhenDisabled: true
|
|
@@ -175,8 +178,8 @@ const toolbarButtons = [{
|
|
|
175
178
|
uiType: 'ohif.opacityMenu',
|
|
176
179
|
props: {
|
|
177
180
|
icon: 'Opacity',
|
|
178
|
-
label: 'Opacity',
|
|
179
|
-
tooltip: 'Image opacity settings',
|
|
181
|
+
label: i18next/* default */.A.t('Buttons:Opacity'),
|
|
182
|
+
tooltip: i18next/* default */.A.t('Buttons:Image opacity settings'),
|
|
180
183
|
evaluate: {
|
|
181
184
|
name: 'evaluate.opacityMenu',
|
|
182
185
|
hideWhenDisabled: true
|
|
@@ -187,15 +190,15 @@ const toolbarButtons = [{
|
|
|
187
190
|
uiType: 'ohif.colorbar',
|
|
188
191
|
props: {
|
|
189
192
|
type: 'tool',
|
|
190
|
-
label: 'Colorbar'
|
|
193
|
+
label: i18next/* default */.A.t('Buttons:Colorbar')
|
|
191
194
|
}
|
|
192
195
|
}, _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'), {
|
|
193
196
|
id: 'WindowLevel',
|
|
194
197
|
uiType: 'ohif.toolButton',
|
|
195
198
|
props: {
|
|
196
199
|
icon: 'tool-window-level',
|
|
197
|
-
label: 'Window Level',
|
|
198
|
-
tooltip: 'Window Level',
|
|
200
|
+
label: i18next/* default */.A.t('Buttons:Window Level'),
|
|
201
|
+
tooltip: i18next/* default */.A.t('Buttons:Window Level'),
|
|
199
202
|
commands: setToolActiveToolbar,
|
|
200
203
|
evaluate: 'evaluate.cornerstoneTool'
|
|
201
204
|
}
|
|
@@ -204,8 +207,8 @@ const toolbarButtons = [{
|
|
|
204
207
|
uiType: 'ohif.toolButton',
|
|
205
208
|
props: {
|
|
206
209
|
icon: 'tool-length',
|
|
207
|
-
label: 'Length',
|
|
208
|
-
tooltip: 'Length Tool',
|
|
210
|
+
label: i18next/* default */.A.t('Buttons:Length'),
|
|
211
|
+
tooltip: i18next/* default */.A.t('Buttons:Length Tool'),
|
|
209
212
|
commands: setToolActiveToolbar,
|
|
210
213
|
evaluate: 'evaluate.cornerstoneTool'
|
|
211
214
|
}
|
|
@@ -214,8 +217,8 @@ const toolbarButtons = [{
|
|
|
214
217
|
uiType: 'ohif.toolButton',
|
|
215
218
|
props: {
|
|
216
219
|
icon: 'tool-bidirectional',
|
|
217
|
-
label: 'Bidirectional',
|
|
218
|
-
tooltip: 'Bidirectional Tool',
|
|
220
|
+
label: i18next/* default */.A.t('Buttons:Bidirectional'),
|
|
221
|
+
tooltip: i18next/* default */.A.t('Buttons:Bidirectional Tool'),
|
|
219
222
|
commands: setToolActiveToolbar,
|
|
220
223
|
evaluate: 'evaluate.cornerstoneTool'
|
|
221
224
|
}
|
|
@@ -224,8 +227,8 @@ const toolbarButtons = [{
|
|
|
224
227
|
uiType: 'ohif.toolButton',
|
|
225
228
|
props: {
|
|
226
229
|
icon: 'tool-annotate',
|
|
227
|
-
label: 'Annotation',
|
|
228
|
-
tooltip: 'Arrow Annotate',
|
|
230
|
+
label: i18next/* default */.A.t('Buttons:Annotation'),
|
|
231
|
+
tooltip: i18next/* default */.A.t('Buttons:Arrow Annotate'),
|
|
229
232
|
commands: setToolActiveToolbar,
|
|
230
233
|
evaluate: 'evaluate.cornerstoneTool'
|
|
231
234
|
}
|
|
@@ -234,8 +237,8 @@ const toolbarButtons = [{
|
|
|
234
237
|
uiType: 'ohif.toolButton',
|
|
235
238
|
props: {
|
|
236
239
|
icon: 'tool-ellipse',
|
|
237
|
-
label: 'Ellipse',
|
|
238
|
-
tooltip: 'Ellipse ROI',
|
|
240
|
+
label: i18next/* default */.A.t('Buttons:Ellipse'),
|
|
241
|
+
tooltip: i18next/* default */.A.t('Buttons:Ellipse ROI'),
|
|
239
242
|
commands: setToolActiveToolbar,
|
|
240
243
|
evaluate: 'evaluate.cornerstoneTool'
|
|
241
244
|
}
|
|
@@ -244,8 +247,8 @@ const toolbarButtons = [{
|
|
|
244
247
|
uiType: 'ohif.toolButton',
|
|
245
248
|
props: {
|
|
246
249
|
icon: 'tool-circle',
|
|
247
|
-
label: 'Circle',
|
|
248
|
-
tooltip: 'Circle Tool',
|
|
250
|
+
label: i18next/* default */.A.t('Buttons:Circle'),
|
|
251
|
+
tooltip: i18next/* default */.A.t('Buttons:Circle Tool'),
|
|
249
252
|
commands: setToolActiveToolbar,
|
|
250
253
|
evaluate: 'evaluate.cornerstoneTool'
|
|
251
254
|
}
|
|
@@ -254,8 +257,8 @@ const toolbarButtons = [{
|
|
|
254
257
|
uiType: 'ohif.toolButton',
|
|
255
258
|
props: {
|
|
256
259
|
icon: 'icon-tool-freehand-roi',
|
|
257
|
-
label: 'Freehand ROI',
|
|
258
|
-
tooltip: 'Freehand ROI',
|
|
260
|
+
label: i18next/* default */.A.t('Buttons:Freehand ROI'),
|
|
261
|
+
tooltip: i18next/* default */.A.t('Buttons:Freehand ROI'),
|
|
259
262
|
commands: setToolActiveToolbar,
|
|
260
263
|
evaluate: 'evaluate.cornerstoneTool'
|
|
261
264
|
}
|
|
@@ -264,8 +267,8 @@ const toolbarButtons = [{
|
|
|
264
267
|
uiType: 'ohif.toolButton',
|
|
265
268
|
props: {
|
|
266
269
|
icon: 'icon-tool-spline-roi',
|
|
267
|
-
label: 'Spline ROI',
|
|
268
|
-
tooltip: 'Spline ROI',
|
|
270
|
+
label: i18next/* default */.A.t('Buttons:Spline ROI'),
|
|
271
|
+
tooltip: i18next/* default */.A.t('Buttons:Spline ROI'),
|
|
269
272
|
commands: setToolActiveToolbar,
|
|
270
273
|
evaluate: 'evaluate.cornerstoneTool'
|
|
271
274
|
}
|
|
@@ -274,8 +277,8 @@ const toolbarButtons = [{
|
|
|
274
277
|
uiType: 'ohif.toolButton',
|
|
275
278
|
props: {
|
|
276
279
|
icon: 'icon-tool-livewire',
|
|
277
|
-
label: 'Livewire tool',
|
|
278
|
-
tooltip: 'Livewire tool',
|
|
280
|
+
label: i18next/* default */.A.t('Buttons:Livewire tool'),
|
|
281
|
+
tooltip: i18next/* default */.A.t('Buttons:Livewire tool'),
|
|
279
282
|
commands: setToolActiveToolbar,
|
|
280
283
|
evaluate: 'evaluate.cornerstoneTool'
|
|
281
284
|
}
|
|
@@ -284,8 +287,8 @@ const toolbarButtons = [{
|
|
|
284
287
|
uiType: 'ohif.toolButton',
|
|
285
288
|
props: {
|
|
286
289
|
icon: 'tool-zoom',
|
|
287
|
-
label: 'Zoom',
|
|
288
|
-
tooltip: 'Zoom',
|
|
290
|
+
label: i18next/* default */.A.t('Buttons:Zoom'),
|
|
291
|
+
tooltip: i18next/* default */.A.t('Buttons:Zoom'),
|
|
289
292
|
commands: setToolActiveToolbar,
|
|
290
293
|
evaluate: 'evaluate.cornerstoneTool'
|
|
291
294
|
}
|
|
@@ -295,8 +298,8 @@ const toolbarButtons = [{
|
|
|
295
298
|
props: {
|
|
296
299
|
type: 'tool',
|
|
297
300
|
icon: 'tool-move',
|
|
298
|
-
label: 'Pan',
|
|
299
|
-
tooltip: 'Pan',
|
|
301
|
+
label: i18next/* default */.A.t('Buttons:Pan'),
|
|
302
|
+
tooltip: i18next/* default */.A.t('Buttons:Pan'),
|
|
300
303
|
commands: setToolActiveToolbar,
|
|
301
304
|
evaluate: 'evaluate.cornerstoneTool'
|
|
302
305
|
}
|
|
@@ -305,8 +308,8 @@ const toolbarButtons = [{
|
|
|
305
308
|
uiType: 'ohif.toolButton',
|
|
306
309
|
props: {
|
|
307
310
|
icon: 'icon-mpr',
|
|
308
|
-
label: 'MPR',
|
|
309
|
-
tooltip: 'MPR',
|
|
311
|
+
label: i18next/* default */.A.t('Buttons:MPR'),
|
|
312
|
+
tooltip: i18next/* default */.A.t('Buttons:MPR'),
|
|
310
313
|
commands: {
|
|
311
314
|
commandName: 'toggleHangingProtocol',
|
|
312
315
|
commandOptions: {
|
|
@@ -321,8 +324,8 @@ const toolbarButtons = [{
|
|
|
321
324
|
props: {
|
|
322
325
|
type: 'tool',
|
|
323
326
|
icon: 'tool-3d-rotate',
|
|
324
|
-
label: '3D Rotate',
|
|
325
|
-
tooltip: '3D Rotate',
|
|
327
|
+
label: i18next/* default */.A.t('Buttons:3D Rotate'),
|
|
328
|
+
tooltip: i18next/* default */.A.t('Buttons:3D Rotate'),
|
|
326
329
|
commands: setToolActiveToolbar
|
|
327
330
|
}
|
|
328
331
|
}, {
|
|
@@ -330,8 +333,8 @@ const toolbarButtons = [{
|
|
|
330
333
|
uiType: 'ohif.toolButton',
|
|
331
334
|
props: {
|
|
332
335
|
icon: 'tool-capture',
|
|
333
|
-
label: 'Capture',
|
|
334
|
-
tooltip: 'Capture',
|
|
336
|
+
label: i18next/* default */.A.t('Buttons:Capture'),
|
|
337
|
+
tooltip: i18next/* default */.A.t('Buttons:Capture'),
|
|
335
338
|
commands: 'showDownloadViewportModal',
|
|
336
339
|
evaluate: ['evaluate.action', {
|
|
337
340
|
name: 'evaluate.viewport.supported',
|
|
@@ -353,8 +356,8 @@ const toolbarButtons = [{
|
|
|
353
356
|
props: {
|
|
354
357
|
type: 'tool',
|
|
355
358
|
icon: 'tool-crosshair',
|
|
356
|
-
label: 'Crosshairs',
|
|
357
|
-
tooltip: 'Crosshairs',
|
|
359
|
+
label: i18next/* default */.A.t('Buttons:Crosshairs'),
|
|
360
|
+
tooltip: i18next/* default */.A.t('Buttons:Crosshairs'),
|
|
358
361
|
commands: {
|
|
359
362
|
commandName: 'setToolActiveToolbar',
|
|
360
363
|
commandOptions: {
|
|
@@ -368,8 +371,8 @@ const toolbarButtons = [{
|
|
|
368
371
|
uiType: 'ohif.toolButton',
|
|
369
372
|
props: {
|
|
370
373
|
icon: 'tool-reset',
|
|
371
|
-
label: 'Reset View',
|
|
372
|
-
tooltip: 'Reset View',
|
|
374
|
+
label: i18next/* default */.A.t('Buttons:Reset View'),
|
|
375
|
+
tooltip: i18next/* default */.A.t('Buttons:Reset View'),
|
|
373
376
|
commands: 'resetViewport',
|
|
374
377
|
evaluate: 'evaluate.action'
|
|
375
378
|
}
|
|
@@ -378,8 +381,8 @@ const toolbarButtons = [{
|
|
|
378
381
|
uiType: 'ohif.toolButton',
|
|
379
382
|
props: {
|
|
380
383
|
icon: 'tool-rotate-right',
|
|
381
|
-
label: 'Rotate Right',
|
|
382
|
-
tooltip: 'Rotate +90',
|
|
384
|
+
label: i18next/* default */.A.t('Buttons:Rotate Right'),
|
|
385
|
+
tooltip: i18next/* default */.A.t('Buttons:Rotate +90'),
|
|
383
386
|
commands: 'rotateViewportCW',
|
|
384
387
|
evaluate: 'evaluate.action'
|
|
385
388
|
}
|
|
@@ -388,8 +391,8 @@ const toolbarButtons = [{
|
|
|
388
391
|
uiType: 'ohif.toolButton',
|
|
389
392
|
props: {
|
|
390
393
|
icon: 'tool-flip-horizontal',
|
|
391
|
-
label: 'Flip Horizontal',
|
|
392
|
-
tooltip: 'Flip Horizontally',
|
|
394
|
+
label: i18next/* default */.A.t('Buttons:Flip Horizontal'),
|
|
395
|
+
tooltip: i18next/* default */.A.t('Buttons:Flip Horizontally'),
|
|
393
396
|
commands: 'flipViewportHorizontal',
|
|
394
397
|
evaluate: 'evaluate.viewportProperties.toggle'
|
|
395
398
|
}
|
|
@@ -398,8 +401,8 @@ const toolbarButtons = [{
|
|
|
398
401
|
uiType: 'ohif.toolButton',
|
|
399
402
|
props: {
|
|
400
403
|
icon: 'link',
|
|
401
|
-
label: 'Image Slice Sync',
|
|
402
|
-
tooltip: 'Enable position synchronization on stack viewports',
|
|
404
|
+
label: i18next/* default */.A.t('Buttons:Image Slice Sync'),
|
|
405
|
+
tooltip: i18next/* default */.A.t('Buttons:Enable position synchronization on stack viewports'),
|
|
403
406
|
commands: {
|
|
404
407
|
commandName: 'toggleSynchronizer',
|
|
405
408
|
commandOptions: {
|
|
@@ -421,8 +424,8 @@ const toolbarButtons = [{
|
|
|
421
424
|
uiType: 'ohif.toolButton',
|
|
422
425
|
props: {
|
|
423
426
|
icon: 'tool-referenceLines',
|
|
424
|
-
label: 'Reference Lines',
|
|
425
|
-
tooltip: 'Show Reference Lines',
|
|
427
|
+
label: i18next/* default */.A.t('Buttons:Reference Lines'),
|
|
428
|
+
tooltip: i18next/* default */.A.t('Buttons:Show Reference Lines'),
|
|
426
429
|
commands: 'toggleEnabledDisabledToolbar',
|
|
427
430
|
evaluate: 'evaluate.cornerstoneTool.toggle'
|
|
428
431
|
}
|
|
@@ -431,8 +434,8 @@ const toolbarButtons = [{
|
|
|
431
434
|
uiType: 'ohif.toolButton',
|
|
432
435
|
props: {
|
|
433
436
|
icon: 'toggle-dicom-overlay',
|
|
434
|
-
label: 'Image Overlay',
|
|
435
|
-
tooltip: 'Toggle Image Overlay',
|
|
437
|
+
label: i18next/* default */.A.t('Buttons:Image Overlay'),
|
|
438
|
+
tooltip: i18next/* default */.A.t('Buttons:Toggle Image Overlay'),
|
|
436
439
|
commands: 'toggleEnabledDisabledToolbar',
|
|
437
440
|
evaluate: 'evaluate.cornerstoneTool.toggle'
|
|
438
441
|
}
|
|
@@ -441,8 +444,8 @@ const toolbarButtons = [{
|
|
|
441
444
|
uiType: 'ohif.toolButton',
|
|
442
445
|
props: {
|
|
443
446
|
icon: 'tool-stack-scroll',
|
|
444
|
-
label: 'Stack Scroll',
|
|
445
|
-
tooltip: 'Stack Scroll',
|
|
447
|
+
label: i18next/* default */.A.t('Buttons:Stack Scroll'),
|
|
448
|
+
tooltip: i18next/* default */.A.t('Buttons:Stack Scroll'),
|
|
446
449
|
commands: setToolActiveToolbar,
|
|
447
450
|
evaluate: 'evaluate.cornerstoneTool'
|
|
448
451
|
}
|
|
@@ -451,8 +454,8 @@ const toolbarButtons = [{
|
|
|
451
454
|
uiType: 'ohif.toolButton',
|
|
452
455
|
props: {
|
|
453
456
|
icon: 'tool-invert',
|
|
454
|
-
label: 'Invert',
|
|
455
|
-
tooltip: 'Invert Colors',
|
|
457
|
+
label: i18next/* default */.A.t('Buttons:Invert'),
|
|
458
|
+
tooltip: i18next/* default */.A.t('Buttons:Invert Colors'),
|
|
456
459
|
commands: 'invertViewport',
|
|
457
460
|
evaluate: 'evaluate.viewportProperties.toggle'
|
|
458
461
|
}
|
|
@@ -461,8 +464,8 @@ const toolbarButtons = [{
|
|
|
461
464
|
uiType: 'ohif.toolButton',
|
|
462
465
|
props: {
|
|
463
466
|
icon: 'tool-probe',
|
|
464
|
-
label: 'Probe',
|
|
465
|
-
tooltip: 'Probe',
|
|
467
|
+
label: i18next/* default */.A.t('Buttons:Probe'),
|
|
468
|
+
tooltip: i18next/* default */.A.t('Buttons:Probe'),
|
|
466
469
|
commands: setToolActiveToolbar,
|
|
467
470
|
evaluate: 'evaluate.cornerstoneTool'
|
|
468
471
|
}
|
|
@@ -471,8 +474,8 @@ const toolbarButtons = [{
|
|
|
471
474
|
uiType: 'ohif.toolButton',
|
|
472
475
|
props: {
|
|
473
476
|
icon: 'tool-cine',
|
|
474
|
-
label: 'Cine',
|
|
475
|
-
tooltip: 'Cine',
|
|
477
|
+
label: i18next/* default */.A.t('Buttons:Cine'),
|
|
478
|
+
tooltip: i18next/* default */.A.t('Buttons:Cine'),
|
|
476
479
|
commands: 'toggleCine',
|
|
477
480
|
evaluate: 'evaluate.cine'
|
|
478
481
|
}
|
|
@@ -481,8 +484,8 @@ const toolbarButtons = [{
|
|
|
481
484
|
uiType: 'ohif.toolButton',
|
|
482
485
|
props: {
|
|
483
486
|
icon: 'tool-angle',
|
|
484
|
-
label: 'Angle',
|
|
485
|
-
tooltip: 'Angle',
|
|
487
|
+
label: i18next/* default */.A.t('Buttons:Angle'),
|
|
488
|
+
tooltip: i18next/* default */.A.t('Buttons:Angle'),
|
|
486
489
|
commands: setToolActiveToolbar,
|
|
487
490
|
evaluate: 'evaluate.cornerstoneTool'
|
|
488
491
|
}
|
|
@@ -491,8 +494,8 @@ const toolbarButtons = [{
|
|
|
491
494
|
uiType: 'ohif.toolButton',
|
|
492
495
|
props: {
|
|
493
496
|
icon: 'icon-tool-cobb-angle',
|
|
494
|
-
label: 'Cobb Angle',
|
|
495
|
-
tooltip: 'Cobb Angle',
|
|
497
|
+
label: i18next/* default */.A.t('Buttons:Cobb Angle'),
|
|
498
|
+
tooltip: i18next/* default */.A.t('Buttons:Cobb Angle'),
|
|
496
499
|
commands: setToolActiveToolbar,
|
|
497
500
|
evaluate: 'evaluate.cornerstoneTool'
|
|
498
501
|
}
|
|
@@ -501,8 +504,8 @@ const toolbarButtons = [{
|
|
|
501
504
|
uiType: 'ohif.toolButton',
|
|
502
505
|
props: {
|
|
503
506
|
icon: 'tool-magnify',
|
|
504
|
-
label: 'Zoom-in',
|
|
505
|
-
tooltip: 'Zoom-in',
|
|
507
|
+
label: i18next/* default */.A.t('Buttons:Zoom-in'),
|
|
508
|
+
tooltip: i18next/* default */.A.t('Buttons:Zoom-in'),
|
|
506
509
|
commands: setToolActiveToolbar,
|
|
507
510
|
evaluate: 'evaluate.cornerstoneTool'
|
|
508
511
|
}
|
|
@@ -511,8 +514,8 @@ const toolbarButtons = [{
|
|
|
511
514
|
uiType: 'ohif.toolButton',
|
|
512
515
|
props: {
|
|
513
516
|
icon: 'tool-rectangle',
|
|
514
|
-
label: 'Rectangle',
|
|
515
|
-
tooltip: 'Rectangle',
|
|
517
|
+
label: i18next/* default */.A.t('Buttons:Rectangle'),
|
|
518
|
+
tooltip: i18next/* default */.A.t('Buttons:Rectangle'),
|
|
516
519
|
commands: setToolActiveToolbar,
|
|
517
520
|
evaluate: 'evaluate.cornerstoneTool'
|
|
518
521
|
}
|
|
@@ -521,8 +524,8 @@ const toolbarButtons = [{
|
|
|
521
524
|
uiType: 'ohif.toolButton',
|
|
522
525
|
props: {
|
|
523
526
|
icon: 'tool-calibration',
|
|
524
|
-
label: 'Calibration',
|
|
525
|
-
tooltip: 'Calibration Line',
|
|
527
|
+
label: i18next/* default */.A.t('Buttons:Calibration'),
|
|
528
|
+
tooltip: i18next/* default */.A.t('Buttons:Calibration Line'),
|
|
526
529
|
commands: setToolActiveToolbar,
|
|
527
530
|
evaluate: 'evaluate.cornerstoneTool'
|
|
528
531
|
}
|
|
@@ -531,8 +534,8 @@ const toolbarButtons = [{
|
|
|
531
534
|
uiType: 'ohif.toolButton',
|
|
532
535
|
props: {
|
|
533
536
|
icon: 'dicom-tag-browser',
|
|
534
|
-
label: 'Dicom Tag Browser',
|
|
535
|
-
tooltip: 'Dicom Tag Browser',
|
|
537
|
+
label: i18next/* default */.A.t('Buttons:Dicom Tag Browser'),
|
|
538
|
+
tooltip: i18next/* default */.A.t('Buttons:Dicom Tag Browser'),
|
|
536
539
|
commands: 'openDICOMTagViewer'
|
|
537
540
|
}
|
|
538
541
|
}, {
|
|
@@ -540,8 +543,8 @@ const toolbarButtons = [{
|
|
|
540
543
|
uiType: 'ohif.toolButton',
|
|
541
544
|
props: {
|
|
542
545
|
icon: 'icon-tool-loupe',
|
|
543
|
-
label: 'Magnify Probe',
|
|
544
|
-
tooltip: 'Magnify Probe',
|
|
546
|
+
label: i18next/* default */.A.t('Buttons:Magnify Probe'),
|
|
547
|
+
tooltip: i18next/* default */.A.t('Buttons:Magnify Probe'),
|
|
545
548
|
commands: 'toggleActiveDisabledToolbar',
|
|
546
549
|
evaluate: 'evaluate.cornerstoneTool.toggle.ifStrictlyDisabled'
|
|
547
550
|
}
|
|
@@ -550,8 +553,8 @@ const toolbarButtons = [{
|
|
|
550
553
|
uiType: 'ohif.toolButton',
|
|
551
554
|
props: {
|
|
552
555
|
icon: 'icon-tool-ultrasound-bidirectional',
|
|
553
|
-
label: 'Ultrasound Directional',
|
|
554
|
-
tooltip: 'Ultrasound Directional',
|
|
556
|
+
label: i18next/* default */.A.t('Buttons:Ultrasound Directional'),
|
|
557
|
+
tooltip: i18next/* default */.A.t('Buttons:Ultrasound Directional'),
|
|
555
558
|
commands: setToolActiveToolbar,
|
|
556
559
|
evaluate: ['evaluate.cornerstoneTool', {
|
|
557
560
|
name: 'evaluate.modality.supported',
|
|
@@ -563,8 +566,8 @@ const toolbarButtons = [{
|
|
|
563
566
|
uiType: 'ohif.toolButton',
|
|
564
567
|
props: {
|
|
565
568
|
icon: 'icon-tool-window-region',
|
|
566
|
-
label: 'Window Level Region',
|
|
567
|
-
tooltip: 'Window Level Region',
|
|
569
|
+
label: i18next/* default */.A.t('Buttons:Window Level Region'),
|
|
570
|
+
tooltip: i18next/* default */.A.t('Buttons:Window Level Region'),
|
|
568
571
|
commands: setToolActiveToolbar,
|
|
569
572
|
evaluate: 'evaluate.cornerstoneTool'
|
|
570
573
|
}
|
|
@@ -877,8 +880,6 @@ function initToolGroups(extensionManager, toolGroupService, commandsManager) {
|
|
|
877
880
|
initVolume3DToolGroup(extensionManager, toolGroupService);
|
|
878
881
|
}
|
|
879
882
|
/* harmony default export */ const src_initToolGroups = (initToolGroups);
|
|
880
|
-
// EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
|
|
881
|
-
var i18next = __webpack_require__(40680);
|
|
882
883
|
;// ../../../modes/basic-test-mode/src/index.ts
|
|
883
884
|
|
|
884
885
|
|
|
@@ -139,8 +139,8 @@ const SOPClassHandlerId = `${id}.sopClassHandlerModule.${SOPClassHandlerName}`;
|
|
|
139
139
|
var react = __webpack_require__(86326);
|
|
140
140
|
// EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
|
|
141
141
|
var src = __webpack_require__(76569);
|
|
142
|
-
// EXTERNAL MODULE: ../../i18n/src/index.js +
|
|
143
|
-
var i18n_src = __webpack_require__(
|
|
142
|
+
// EXTERNAL MODULE: ../../i18n/src/index.js + 210 modules
|
|
143
|
+
var i18n_src = __webpack_require__(68523);
|
|
144
144
|
// EXTERNAL MODULE: ../../../node_modules/dcmjs/build/dcmjs.es.js
|
|
145
145
|
var dcmjs_es = __webpack_require__(5842);
|
|
146
146
|
;// ../../../extensions/cornerstone-dicom-rt/src/loadRTStruct.js
|