@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
|
@@ -4005,8 +4005,8 @@ function getPanelModule({
|
|
|
4005
4005
|
}];
|
|
4006
4006
|
}
|
|
4007
4007
|
/* harmony default export */ const src_getPanelModule = (getPanelModule);
|
|
4008
|
-
// EXTERNAL MODULE: ../../i18n/src/index.js +
|
|
4009
|
-
var i18n_src = __webpack_require__(
|
|
4008
|
+
// EXTERNAL MODULE: ../../i18n/src/index.js + 210 modules
|
|
4009
|
+
var i18n_src = __webpack_require__(68523);
|
|
4010
4010
|
;// ../../../extensions/default/package.json
|
|
4011
4011
|
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/extension-default"}');
|
|
4012
4012
|
;// ../../../extensions/default/src/id.js
|
|
@@ -4643,6 +4643,7 @@ function ToolbarLayoutSelector_extends() { return ToolbarLayoutSelector_extends
|
|
|
4643
4643
|
|
|
4644
4644
|
|
|
4645
4645
|
|
|
4646
|
+
|
|
4646
4647
|
function ToolbarLayoutSelectorWithServices({
|
|
4647
4648
|
commandsManager,
|
|
4648
4649
|
servicesManager,
|
|
@@ -4653,6 +4654,9 @@ function ToolbarLayoutSelectorWithServices({
|
|
|
4653
4654
|
const {
|
|
4654
4655
|
customizationService
|
|
4655
4656
|
} = servicesManager.services;
|
|
4657
|
+
const {
|
|
4658
|
+
t
|
|
4659
|
+
} = (0,es/* useTranslation */.Bd)('ToolbarLayoutSelector');
|
|
4656
4660
|
|
|
4657
4661
|
// Get the presets from the customization service
|
|
4658
4662
|
const commonPresets = customizationService?.getCustomization('layoutSelector.commonPresets') || [{
|
|
@@ -4753,18 +4757,18 @@ function ToolbarLayoutSelectorWithServices({
|
|
|
4753
4757
|
}, /*#__PURE__*/react.createElement(ui_next_src/* LayoutSelector */.sG4, ToolbarLayoutSelector_extends({
|
|
4754
4758
|
onSelectionChange: handleSelectionChange
|
|
4755
4759
|
}, props), /*#__PURE__*/react.createElement(ui_next_src/* LayoutSelector */.sG4.Trigger, {
|
|
4756
|
-
tooltip:
|
|
4760
|
+
tooltip: t('Change layout')
|
|
4757
4761
|
}), /*#__PURE__*/react.createElement(ui_next_src/* LayoutSelector */.sG4.Content, null, (commonPresets.length > 0 || advancedPresets.length > 0) && /*#__PURE__*/react.createElement("div", {
|
|
4758
4762
|
className: "bg-popover flex flex-col gap-2.5 rounded-lg p-2"
|
|
4759
4763
|
}, commonPresets.length > 0 && /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(ui_next_src/* LayoutSelector */.sG4.PresetSection, {
|
|
4760
|
-
title:
|
|
4764
|
+
title: t('Common')
|
|
4761
4765
|
}, commonPresets.map((preset, index) => /*#__PURE__*/react.createElement(ui_next_src/* LayoutSelector */.sG4.Preset, {
|
|
4762
4766
|
key: `common-preset-${index}`,
|
|
4763
4767
|
icon: preset.icon,
|
|
4764
4768
|
commandOptions: preset.commandOptions,
|
|
4765
4769
|
isPreset: false
|
|
4766
4770
|
}))), /*#__PURE__*/react.createElement(ui_next_src/* LayoutSelector */.sG4.Divider, null)), advancedPresets.length > 0 && /*#__PURE__*/react.createElement(ui_next_src/* LayoutSelector */.sG4.PresetSection, {
|
|
4767
|
-
title:
|
|
4771
|
+
title: t('Advanced')
|
|
4768
4772
|
}, advancedPresets.map((preset, index) => /*#__PURE__*/react.createElement(ui_next_src/* LayoutSelector */.sG4.Preset, {
|
|
4769
4773
|
key: `advanced-preset-${index}`,
|
|
4770
4774
|
title: preset.title,
|
|
@@ -4776,10 +4780,10 @@ function ToolbarLayoutSelectorWithServices({
|
|
|
4776
4780
|
className: "bg-muted flex flex-col gap-2.5 border-l-2 border-solid border-black p-2"
|
|
4777
4781
|
}, /*#__PURE__*/react.createElement("div", {
|
|
4778
4782
|
className: "text-muted-foreground text-xs"
|
|
4779
|
-
},
|
|
4783
|
+
}, t('Custom')), /*#__PURE__*/react.createElement(ui_next_src/* LayoutSelector */.sG4.GridSelector, {
|
|
4780
4784
|
rows: rows,
|
|
4781
4785
|
columns: columns
|
|
4782
|
-
}), /*#__PURE__*/react.createElement(ui_next_src/* LayoutSelector */.sG4.HelpText, null,
|
|
4786
|
+
}), /*#__PURE__*/react.createElement(ui_next_src/* LayoutSelector */.sG4.HelpText, null, t('Hover to select'), " ", /*#__PURE__*/react.createElement("br", null), t('rows and columns'), " ", /*#__PURE__*/react.createElement("br", null), t('Click to apply'))))));
|
|
4783
4787
|
}
|
|
4784
4788
|
ToolbarLayoutSelectorWithServices.propTypes = {
|
|
4785
4789
|
commandsManager: prop_types_default().instanceOf(src/* CommandsManager */.Sp),
|
|
@@ -8959,6 +8963,7 @@ function DataSourceSelector() {
|
|
|
8959
8963
|
});
|
|
8960
8964
|
;// ../../../extensions/default/src/customizations/studyBrowserCustomization.ts
|
|
8961
8965
|
|
|
8966
|
+
|
|
8962
8967
|
const {
|
|
8963
8968
|
formatDate: studyBrowserCustomization_formatDate
|
|
8964
8969
|
} = src/* utils */.Wp;
|
|
@@ -8966,7 +8971,7 @@ const {
|
|
|
8966
8971
|
'studyBrowser.studyMenuItems': [],
|
|
8967
8972
|
'studyBrowser.thumbnailMenuItems': [{
|
|
8968
8973
|
id: 'tagBrowser',
|
|
8969
|
-
label: 'Tag Browser',
|
|
8974
|
+
label: i18n_src/* default */.A.t('StudyBrowser:Tag Browser'),
|
|
8970
8975
|
iconName: 'DicomTagBrowser',
|
|
8971
8976
|
onClick: ({
|
|
8972
8977
|
commandsManager,
|
|
@@ -8978,7 +8983,7 @@ const {
|
|
|
8978
8983
|
}
|
|
8979
8984
|
}, {
|
|
8980
8985
|
id: 'addAsLayer',
|
|
8981
|
-
label: 'Add as Layer',
|
|
8986
|
+
label: i18n_src/* default */.A.t('StudyBrowser:Add as Layer'),
|
|
8982
8987
|
iconName: 'ViewportViews',
|
|
8983
8988
|
onClick: ({
|
|
8984
8989
|
commandsManager,
|
|
@@ -9005,12 +9010,12 @@ const {
|
|
|
9005
9010
|
}
|
|
9006
9011
|
}],
|
|
9007
9012
|
'studyBrowser.sortFunctions': [{
|
|
9008
|
-
label: 'Series Number',
|
|
9013
|
+
label: i18n_src/* default */.A.t('StudyBrowser:Series Number'),
|
|
9009
9014
|
sortFunction: (a, b) => {
|
|
9010
9015
|
return a?.SeriesNumber - b?.SeriesNumber;
|
|
9011
9016
|
}
|
|
9012
9017
|
}, {
|
|
9013
|
-
label: 'Series Date',
|
|
9018
|
+
label: i18n_src/* default */.A.t('StudyBrowser:Series Date'),
|
|
9014
9019
|
sortFunction: (a, b) => {
|
|
9015
9020
|
const dateA = new Date(studyBrowserCustomization_formatDate(a?.SeriesDate));
|
|
9016
9021
|
const dateB = new Date(studyBrowserCustomization_formatDate(b?.SeriesDate));
|
|
@@ -9045,8 +9050,8 @@ const {
|
|
|
9045
9050
|
} catch (error) {
|
|
9046
9051
|
console.warn(error);
|
|
9047
9052
|
uiNotificationService.show({
|
|
9048
|
-
title: 'Thumbnail Double Click',
|
|
9049
|
-
message: 'The selected display sets could not be added to the viewport.',
|
|
9053
|
+
title: i18n_src/* default */.A.t('StudyBrowser:Thumbnail Double Click'),
|
|
9054
|
+
message: i18n_src/* default */.A.t('StudyBrowser:The selected display sets could not be added to the viewport.'),
|
|
9050
9055
|
type: 'error',
|
|
9051
9056
|
duration: 3000
|
|
9052
9057
|
});
|
|
@@ -9697,8 +9702,8 @@ function AboutModalDefault() {
|
|
|
9697
9702
|
name
|
|
9698
9703
|
} = (0,browser_detect_es5/* default */.A)();
|
|
9699
9704
|
const browser = `${name[0].toUpperCase()}${name.substr(1)} ${version}`;
|
|
9700
|
-
const versionNumber = "3.12.0-beta.
|
|
9701
|
-
const commitHash = "
|
|
9705
|
+
const versionNumber = "3.12.0-beta.30";
|
|
9706
|
+
const commitHash = "7783d0f558bbb7016c29513b6fe76ed069dbd75c";
|
|
9702
9707
|
const [main, beta] = versionNumber.split('-');
|
|
9703
9708
|
return /*#__PURE__*/react.createElement(ui_next_src/* AboutModal */.VTU, {
|
|
9704
9709
|
className: "w-[400px]"
|
|
@@ -22,6 +22,7 @@ const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/mode-micro
|
|
|
22
22
|
const id = package_namespaceObject.UU;
|
|
23
23
|
|
|
24
24
|
;// ../../../modes/microscopy/src/toolbarButtons.ts
|
|
25
|
+
|
|
25
26
|
const setToolActiveToolbar = {
|
|
26
27
|
commandName: 'setToolActive',
|
|
27
28
|
commandOptions: {
|
|
@@ -40,8 +41,8 @@ const toolbarButtons = [{
|
|
|
40
41
|
uiType: 'ohif.toolButton',
|
|
41
42
|
props: {
|
|
42
43
|
icon: 'tool-length',
|
|
43
|
-
label: 'Line',
|
|
44
|
-
tooltip: 'Line',
|
|
44
|
+
label: i18next/* default */.A.t('Buttons:Line'),
|
|
45
|
+
tooltip: i18next/* default */.A.t('Buttons:Line Tool'),
|
|
45
46
|
commands: setToolActiveToolbar,
|
|
46
47
|
evaluate: 'evaluate.microscopyTool'
|
|
47
48
|
}
|
|
@@ -50,8 +51,8 @@ const toolbarButtons = [{
|
|
|
50
51
|
uiType: 'ohif.toolButton',
|
|
51
52
|
props: {
|
|
52
53
|
icon: 'tool-point',
|
|
53
|
-
label: 'Point',
|
|
54
|
-
tooltip: 'Point Tool',
|
|
54
|
+
label: i18next/* default */.A.t('Buttons:Point'),
|
|
55
|
+
tooltip: i18next/* default */.A.t('Buttons:Point Tool'),
|
|
55
56
|
commands: {
|
|
56
57
|
...setToolActiveToolbar,
|
|
57
58
|
commandOptions: {
|
|
@@ -65,8 +66,8 @@ const toolbarButtons = [{
|
|
|
65
66
|
uiType: 'ohif.toolButton',
|
|
66
67
|
props: {
|
|
67
68
|
icon: 'tool-polygon',
|
|
68
|
-
label: 'Polygon',
|
|
69
|
-
tooltip: 'Polygon Tool',
|
|
69
|
+
label: i18next/* default */.A.t('Buttons:Polygon'),
|
|
70
|
+
tooltip: i18next/* default */.A.t('Buttons:Polygon Tool'),
|
|
70
71
|
commands: {
|
|
71
72
|
...setToolActiveToolbar,
|
|
72
73
|
commandOptions: {
|
|
@@ -80,8 +81,8 @@ const toolbarButtons = [{
|
|
|
80
81
|
uiType: 'ohif.toolButton',
|
|
81
82
|
props: {
|
|
82
83
|
icon: 'tool-circle',
|
|
83
|
-
label: 'Circle',
|
|
84
|
-
tooltip: 'Circle Tool',
|
|
84
|
+
label: i18next/* default */.A.t('Buttons:Circle'),
|
|
85
|
+
tooltip: i18next/* default */.A.t('Buttons:Circle Tool'),
|
|
85
86
|
commands: {
|
|
86
87
|
...setToolActiveToolbar,
|
|
87
88
|
commandOptions: {
|
|
@@ -95,8 +96,8 @@ const toolbarButtons = [{
|
|
|
95
96
|
uiType: 'ohif.toolButton',
|
|
96
97
|
props: {
|
|
97
98
|
icon: 'tool-rectangle',
|
|
98
|
-
label: 'Box',
|
|
99
|
-
tooltip: 'Box Tool',
|
|
99
|
+
label: i18next/* default */.A.t('Buttons:Box'),
|
|
100
|
+
tooltip: i18next/* default */.A.t('Buttons:Box Tool'),
|
|
100
101
|
commands: {
|
|
101
102
|
...setToolActiveToolbar,
|
|
102
103
|
commandOptions: {
|
|
@@ -110,8 +111,8 @@ const toolbarButtons = [{
|
|
|
110
111
|
uiType: 'ohif.toolButton',
|
|
111
112
|
props: {
|
|
112
113
|
icon: 'tool-freehand-polygon',
|
|
113
|
-
label: 'Freehand Polygon',
|
|
114
|
-
tooltip: 'Freehand Polygon Tool',
|
|
114
|
+
label: i18next/* default */.A.t('Buttons:Freehand Polygon'),
|
|
115
|
+
tooltip: i18next/* default */.A.t('Buttons:Freehand Polygon Tool'),
|
|
115
116
|
commands: {
|
|
116
117
|
...setToolActiveToolbar,
|
|
117
118
|
commandOptions: {
|
|
@@ -125,8 +126,8 @@ const toolbarButtons = [{
|
|
|
125
126
|
uiType: 'ohif.toolButton',
|
|
126
127
|
props: {
|
|
127
128
|
icon: 'tool-freehand-line',
|
|
128
|
-
label: 'Freehand Line',
|
|
129
|
-
tooltip: 'Freehand Line Tool',
|
|
129
|
+
label: i18next/* default */.A.t('Buttons:Freehand Line'),
|
|
130
|
+
tooltip: i18next/* default */.A.t('Buttons:Freehand Line Tool'),
|
|
130
131
|
commands: {
|
|
131
132
|
...setToolActiveToolbar,
|
|
132
133
|
commandOptions: {
|
|
@@ -140,7 +141,7 @@ const toolbarButtons = [{
|
|
|
140
141
|
uiType: 'ohif.toolButton',
|
|
141
142
|
props: {
|
|
142
143
|
icon: 'tool-move',
|
|
143
|
-
label: 'Pan',
|
|
144
|
+
label: i18next/* default */.A.t('Buttons:Pan'),
|
|
144
145
|
commands: {
|
|
145
146
|
...setToolActiveToolbar,
|
|
146
147
|
commandOptions: {
|
|
@@ -154,8 +155,8 @@ const toolbarButtons = [{
|
|
|
154
155
|
uiType: 'ohif.toolButton',
|
|
155
156
|
props: {
|
|
156
157
|
icon: 'dicom-tag-browser',
|
|
157
|
-
label: 'Dicom Tag Browser',
|
|
158
|
-
tooltip: 'Dicom Tag Browser',
|
|
158
|
+
label: i18next/* default */.A.t('Buttons:Dicom Tag Browser'),
|
|
159
|
+
tooltip: i18next/* default */.A.t('Buttons:Dicom Tag Browser'),
|
|
159
160
|
commands: 'openDICOMTagViewer',
|
|
160
161
|
evaluate: 'evaluate.action'
|
|
161
162
|
}
|
|
@@ -194,8 +194,11 @@ function initToolGroups(toolNames, Enums, toolGroupService, commandsManager) {
|
|
|
194
194
|
_initToolGroups(toolNames, Enums, toolGroupService, commandsManager);
|
|
195
195
|
}
|
|
196
196
|
/* harmony default export */ const src_initToolGroups = (initToolGroups);
|
|
197
|
+
// EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
|
|
198
|
+
var i18next = __webpack_require__(40680);
|
|
197
199
|
;// ../../../modes/tmtv/src/toolbarButtons.ts
|
|
198
200
|
|
|
201
|
+
|
|
199
202
|
const setToolActiveToolbar = {
|
|
200
203
|
commandName: 'setToolActiveToolbar',
|
|
201
204
|
commandOptions: {
|
|
@@ -231,8 +234,8 @@ const toolbarButtons = [{
|
|
|
231
234
|
uiType: 'ohif.modalityLoadBadge',
|
|
232
235
|
props: {
|
|
233
236
|
icon: 'Status',
|
|
234
|
-
label: 'Status',
|
|
235
|
-
tooltip: 'Status',
|
|
237
|
+
label: i18next/* default */.A.t('Buttons:Status'),
|
|
238
|
+
tooltip: i18next/* default */.A.t('Buttons:Status'),
|
|
236
239
|
evaluate: {
|
|
237
240
|
name: 'evaluate.modalityLoadBadge',
|
|
238
241
|
hideWhenDisabled: true
|
|
@@ -243,15 +246,15 @@ const toolbarButtons = [{
|
|
|
243
246
|
uiType: 'ohif.colorbar',
|
|
244
247
|
props: {
|
|
245
248
|
type: 'tool',
|
|
246
|
-
label: 'Colorbar'
|
|
249
|
+
label: i18next/* default */.A.t('Buttons:Colorbar')
|
|
247
250
|
}
|
|
248
251
|
}, {
|
|
249
252
|
id: 'navigationComponent',
|
|
250
253
|
uiType: 'ohif.navigationComponent',
|
|
251
254
|
props: {
|
|
252
255
|
icon: 'Navigation',
|
|
253
|
-
label: 'Navigation',
|
|
254
|
-
tooltip: 'Navigate between segments/measurements and manage their visibility',
|
|
256
|
+
label: i18next/* default */.A.t('Buttons:Navigation'),
|
|
257
|
+
tooltip: i18next/* default */.A.t('Buttons:Navigate between segments/measurements and manage their visibility'),
|
|
255
258
|
evaluate: {
|
|
256
259
|
name: 'evaluate.navigationComponent',
|
|
257
260
|
hideWhenDisabled: true
|
|
@@ -262,8 +265,8 @@ const toolbarButtons = [{
|
|
|
262
265
|
uiType: 'ohif.windowLevelMenuEmbedded',
|
|
263
266
|
props: {
|
|
264
267
|
icon: 'WindowLevel',
|
|
265
|
-
label: 'Window Level',
|
|
266
|
-
tooltip: 'Adjust window/level presets and customize image contrast settings',
|
|
268
|
+
label: i18next/* default */.A.t('Buttons:Window Level'),
|
|
269
|
+
tooltip: i18next/* default */.A.t('Buttons:Adjust window/level presets and customize image contrast settings'),
|
|
267
270
|
evaluate: {
|
|
268
271
|
name: 'evaluate.windowLevelMenuEmbedded',
|
|
269
272
|
hideWhenDisabled: true
|
|
@@ -274,8 +277,8 @@ const toolbarButtons = [{
|
|
|
274
277
|
uiType: 'ohif.trackingStatus',
|
|
275
278
|
props: {
|
|
276
279
|
icon: 'TrackingStatus',
|
|
277
|
-
label: 'Tracking Status',
|
|
278
|
-
tooltip: 'View and manage tracking status of measurements and annotations',
|
|
280
|
+
label: i18next/* default */.A.t('Buttons:Tracking Status'),
|
|
281
|
+
tooltip: i18next/* default */.A.t('Buttons:View and manage tracking status of measurements and annotations'),
|
|
279
282
|
evaluate: {
|
|
280
283
|
name: 'evaluate.trackingStatus',
|
|
281
284
|
hideWhenDisabled: true
|
|
@@ -286,8 +289,8 @@ const toolbarButtons = [{
|
|
|
286
289
|
uiType: 'ohif.toolButton',
|
|
287
290
|
props: {
|
|
288
291
|
icon: 'tool-length',
|
|
289
|
-
label: 'Length',
|
|
290
|
-
tooltip: 'Length Tool',
|
|
292
|
+
label: i18next/* default */.A.t('Buttons:Length'),
|
|
293
|
+
tooltip: i18next/* default */.A.t('Buttons:Length Tool'),
|
|
291
294
|
commands: setToolActiveToolbar,
|
|
292
295
|
evaluate: 'evaluate.cornerstoneTool'
|
|
293
296
|
}
|
|
@@ -296,8 +299,8 @@ const toolbarButtons = [{
|
|
|
296
299
|
uiType: 'ohif.toolButton',
|
|
297
300
|
props: {
|
|
298
301
|
icon: 'tool-bidirectional',
|
|
299
|
-
label: 'Bidirectional',
|
|
300
|
-
tooltip: 'Bidirectional Tool',
|
|
302
|
+
label: i18next/* default */.A.t('Buttons:Bidirectional'),
|
|
303
|
+
tooltip: i18next/* default */.A.t('Buttons:Bidirectional Tool'),
|
|
301
304
|
commands: setToolActiveToolbar,
|
|
302
305
|
evaluate: 'evaluate.cornerstoneTool'
|
|
303
306
|
}
|
|
@@ -306,8 +309,8 @@ const toolbarButtons = [{
|
|
|
306
309
|
uiType: 'ohif.toolButton',
|
|
307
310
|
props: {
|
|
308
311
|
icon: 'tool-annotate',
|
|
309
|
-
label: 'Arrow Annotate',
|
|
310
|
-
tooltip: 'Arrow Annotate Tool',
|
|
312
|
+
label: i18next/* default */.A.t('Buttons:Arrow Annotate'),
|
|
313
|
+
tooltip: i18next/* default */.A.t('Buttons:Arrow Annotate Tool'),
|
|
311
314
|
commands: setToolActiveToolbar,
|
|
312
315
|
evaluate: 'evaluate.cornerstoneTool'
|
|
313
316
|
}
|
|
@@ -316,8 +319,8 @@ const toolbarButtons = [{
|
|
|
316
319
|
uiType: 'ohif.toolButton',
|
|
317
320
|
props: {
|
|
318
321
|
icon: 'tool-ellipse',
|
|
319
|
-
label: 'Ellipse',
|
|
320
|
-
tooltip: 'Ellipse Tool',
|
|
322
|
+
label: i18next/* default */.A.t('Buttons:Ellipse'),
|
|
323
|
+
tooltip: i18next/* default */.A.t('Buttons:Ellipse Tool'),
|
|
321
324
|
commands: setToolActiveToolbar,
|
|
322
325
|
evaluate: 'evaluate.cornerstoneTool'
|
|
323
326
|
}
|
|
@@ -326,7 +329,7 @@ const toolbarButtons = [{
|
|
|
326
329
|
uiType: 'ohif.toolButton',
|
|
327
330
|
props: {
|
|
328
331
|
icon: 'tool-zoom',
|
|
329
|
-
label: 'Zoom',
|
|
332
|
+
label: i18next/* default */.A.t('Buttons:Zoom'),
|
|
330
333
|
commands: setToolActiveToolbar,
|
|
331
334
|
evaluate: 'evaluate.cornerstoneTool'
|
|
332
335
|
}
|
|
@@ -335,7 +338,7 @@ const toolbarButtons = [{
|
|
|
335
338
|
uiType: 'ohif.toolButton',
|
|
336
339
|
props: {
|
|
337
340
|
icon: 'tool-window-level',
|
|
338
|
-
label: 'Window Level',
|
|
341
|
+
label: i18next/* default */.A.t('Buttons:Window Level'),
|
|
339
342
|
commands: setToolActiveToolbar,
|
|
340
343
|
evaluate: 'evaluate.cornerstoneTool'
|
|
341
344
|
}
|
|
@@ -344,7 +347,7 @@ const toolbarButtons = [{
|
|
|
344
347
|
uiType: 'ohif.toolButton',
|
|
345
348
|
props: {
|
|
346
349
|
icon: 'tool-crosshair',
|
|
347
|
-
label: 'Crosshairs',
|
|
350
|
+
label: i18next/* default */.A.t('Buttons:Crosshairs'),
|
|
348
351
|
commands: setToolActiveToolbar,
|
|
349
352
|
evaluate: 'evaluate.cornerstoneTool'
|
|
350
353
|
}
|
|
@@ -353,7 +356,7 @@ const toolbarButtons = [{
|
|
|
353
356
|
uiType: 'ohif.toolButton',
|
|
354
357
|
props: {
|
|
355
358
|
icon: 'tool-move',
|
|
356
|
-
label: 'Pan',
|
|
359
|
+
label: i18next/* default */.A.t('Buttons:Pan'),
|
|
357
360
|
commands: setToolActiveToolbar,
|
|
358
361
|
evaluate: 'evaluate.cornerstoneTool'
|
|
359
362
|
}
|
|
@@ -362,11 +365,11 @@ const toolbarButtons = [{
|
|
|
362
365
|
uiType: 'ohif.toolBoxButton',
|
|
363
366
|
props: {
|
|
364
367
|
icon: 'tool-create-threshold',
|
|
365
|
-
label: 'Rectangle ROI Threshold',
|
|
368
|
+
label: i18next/* default */.A.t('Buttons:Rectangle ROI Threshold'),
|
|
366
369
|
commands: setToolActiveToolbar,
|
|
367
370
|
evaluate: ['evaluate.cornerstone.segmentation', {
|
|
368
371
|
name: 'evaluate.cornerstoneTool',
|
|
369
|
-
disabledText: 'Select the PT Axial to enable this tool'
|
|
372
|
+
disabledText: i18next/* default */.A.t('Buttons:Select the PT Axial to enable this tool')
|
|
370
373
|
}],
|
|
371
374
|
options: 'tmtv.RectangleROIThresholdOptions'
|
|
372
375
|
}
|
|
@@ -375,11 +378,11 @@ const toolbarButtons = [{
|
|
|
375
378
|
uiType: 'ohif.toolButton',
|
|
376
379
|
props: {
|
|
377
380
|
icon: 'icon-tool-brush',
|
|
378
|
-
label: 'Brush',
|
|
381
|
+
label: i18next/* default */.A.t('Buttons:Brush'),
|
|
379
382
|
evaluate: {
|
|
380
383
|
name: 'evaluate.cornerstone.segmentation',
|
|
381
384
|
toolNames: ['CircularBrush', 'SphereBrush'],
|
|
382
|
-
disabledText: 'Create new segmentation to enable this tool.'
|
|
385
|
+
disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
|
|
383
386
|
},
|
|
384
387
|
options: [{
|
|
385
388
|
name: 'Radius (mm)',
|
|
@@ -415,7 +418,7 @@ const toolbarButtons = [{
|
|
|
415
418
|
uiType: 'ohif.toolButton',
|
|
416
419
|
props: {
|
|
417
420
|
icon: 'icon-tool-eraser',
|
|
418
|
-
label: 'Eraser',
|
|
421
|
+
label: i18next/* default */.A.t('Buttons:Eraser'),
|
|
419
422
|
evaluate: {
|
|
420
423
|
name: 'evaluate.cornerstone.segmentation',
|
|
421
424
|
toolNames: ['CircularEraser', 'SphereEraser']
|
|
@@ -454,7 +457,7 @@ const toolbarButtons = [{
|
|
|
454
457
|
uiType: 'ohif.toolButton',
|
|
455
458
|
props: {
|
|
456
459
|
icon: 'icon-tool-threshold',
|
|
457
|
-
label: 'Threshold Tool',
|
|
460
|
+
label: i18next/* default */.A.t('Buttons:Threshold Tool'),
|
|
458
461
|
evaluate: {
|
|
459
462
|
name: 'evaluate.cornerstone.segmentation',
|
|
460
463
|
toolNames: ['ThresholdCircularBrush', 'ThresholdSphereBrush']
|
|
@@ -539,8 +542,8 @@ const toolbarButtons = [{
|
|
|
539
542
|
uiType: 'ohif.dataOverlayMenu',
|
|
540
543
|
props: {
|
|
541
544
|
icon: 'ViewportViews',
|
|
542
|
-
label: 'Data Overlay',
|
|
543
|
-
tooltip: 'Configure data overlay options and manage foreground/background display sets',
|
|
545
|
+
label: i18next/* default */.A.t('Buttons:Data Overlay'),
|
|
546
|
+
tooltip: i18next/* default */.A.t('Buttons:Configure data overlay options and manage foreground/background display sets'),
|
|
544
547
|
evaluate: 'evaluate.dataOverlayMenu'
|
|
545
548
|
}
|
|
546
549
|
}, {
|
|
@@ -548,8 +551,8 @@ const toolbarButtons = [{
|
|
|
548
551
|
uiType: 'ohif.orientationMenu',
|
|
549
552
|
props: {
|
|
550
553
|
icon: 'OrientationSwitch',
|
|
551
|
-
label: 'Orientation',
|
|
552
|
-
tooltip: 'Change viewport orientation between axial, sagittal, coronal and reformat planes',
|
|
554
|
+
label: i18next/* default */.A.t('Buttons:Orientation'),
|
|
555
|
+
tooltip: i18next/* default */.A.t('Buttons:Change viewport orientation between axial, sagittal, coronal and reformat planes'),
|
|
553
556
|
evaluate: {
|
|
554
557
|
name: 'evaluate.orientationMenu'
|
|
555
558
|
// hideWhenDisabled: true,
|
|
@@ -560,8 +563,8 @@ const toolbarButtons = [{
|
|
|
560
563
|
uiType: 'ohif.windowLevelMenu',
|
|
561
564
|
props: {
|
|
562
565
|
icon: 'WindowLevel',
|
|
563
|
-
label: 'Window Level',
|
|
564
|
-
tooltip: 'Adjust window/level presets and customize image contrast settings',
|
|
566
|
+
label: i18next/* default */.A.t('Buttons:Window Level'),
|
|
567
|
+
tooltip: i18next/* default */.A.t('Buttons:Adjust window/level presets and customize image contrast settings'),
|
|
565
568
|
evaluate: 'evaluate.windowLevelMenu'
|
|
566
569
|
}
|
|
567
570
|
}, {
|
|
@@ -569,8 +572,8 @@ const toolbarButtons = [{
|
|
|
569
572
|
uiType: 'ohif.voiManualControlMenu',
|
|
570
573
|
props: {
|
|
571
574
|
icon: 'WindowLevelAdvanced',
|
|
572
|
-
label: 'Advanced Window Level',
|
|
573
|
-
tooltip: 'Advanced window/level settings with manual controls and presets',
|
|
575
|
+
label: i18next/* default */.A.t('Buttons:Advanced Window Level'),
|
|
576
|
+
tooltip: i18next/* default */.A.t('Buttons:Advanced window/level settings with manual controls and presets'),
|
|
574
577
|
evaluate: 'evaluate.voiManualControlMenu'
|
|
575
578
|
}
|
|
576
579
|
}, {
|
|
@@ -578,8 +581,8 @@ const toolbarButtons = [{
|
|
|
578
581
|
uiType: 'ohif.thresholdMenu',
|
|
579
582
|
props: {
|
|
580
583
|
icon: 'Threshold',
|
|
581
|
-
label: 'Threshold',
|
|
582
|
-
tooltip: 'Image threshold settings',
|
|
584
|
+
label: i18next/* default */.A.t('Buttons:Threshold'),
|
|
585
|
+
tooltip: i18next/* default */.A.t('Buttons:Image threshold settings'),
|
|
583
586
|
evaluate: {
|
|
584
587
|
name: 'evaluate.thresholdMenu',
|
|
585
588
|
hideWhenDisabled: true
|
|
@@ -590,8 +593,8 @@ const toolbarButtons = [{
|
|
|
590
593
|
uiType: 'ohif.opacityMenu',
|
|
591
594
|
props: {
|
|
592
595
|
icon: 'Opacity',
|
|
593
|
-
label: 'Opacity',
|
|
594
|
-
tooltip: 'Image opacity settings',
|
|
596
|
+
label: i18next/* default */.A.t('Buttons:Opacity'),
|
|
597
|
+
tooltip: i18next/* default */.A.t('Buttons:Image opacity settings'),
|
|
595
598
|
evaluate: {
|
|
596
599
|
name: 'evaluate.opacityMenu',
|
|
597
600
|
hideWhenDisabled: true
|
|
@@ -659,8 +662,6 @@ function setFusionActiveVolume(matches, toolNames, toolGroupService, displaySetS
|
|
|
659
662
|
toolGroupService.setToolConfiguration(toolGroupIds.Fusion, toolNames.WindowLevel, windowLevelConfig);
|
|
660
663
|
toolGroupService.setToolConfiguration(toolGroupIds.Fusion, toolNames.EllipticalROI, ellipticalROIConfig);
|
|
661
664
|
}
|
|
662
|
-
// EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
|
|
663
|
-
var i18next = __webpack_require__(40680);
|
|
664
665
|
;// ../../../modes/tmtv/src/index.ts
|
|
665
666
|
|
|
666
667
|
|
|
@@ -23,8 +23,8 @@ const SOPClassHandlerId = `${id}.sopClassHandlerModule.dicom-video`;
|
|
|
23
23
|
|
|
24
24
|
// EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
|
|
25
25
|
var src = __webpack_require__(76569);
|
|
26
|
-
// EXTERNAL MODULE: ../../i18n/src/index.js +
|
|
27
|
-
var i18n_src = __webpack_require__(
|
|
26
|
+
// EXTERNAL MODULE: ../../i18n/src/index.js + 210 modules
|
|
27
|
+
var i18n_src = __webpack_require__(68523);
|
|
28
28
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 1 modules
|
|
29
29
|
var esm = __webpack_require__(15327);
|
|
30
30
|
;// ../../../extensions/dicom-video/src/getSopClassHandlerModule.js
|