@ohif/app 3.12.0-beta.99 → 3.12.0
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/{1403.bundle.94a178e2572f1f0b2a2c.js → 1403.bundle.1c9ce804d1e88033e276.js} +4 -2
- package/dist/{147.bundle.205350dc3d21478277b1.js → 147.bundle.37d627289453cb6c3937.js} +6 -15
- package/dist/{1608.bundle.f855c4bdb7f00eb66fca.js → 1608.bundle.0687c661f1c9edfb3b8a.js} +4 -4
- package/dist/{1730.bundle.37c569ae3ed057b69840.js → 1730.bundle.66a5e554ab20dab97b11.js} +7 -5
- package/dist/{1927.bundle.019331c266d306772371.js → 1927.bundle.3050588e95f43cf57cdd.js} +1 -1
- package/dist/{1933.bundle.ab5e8036f6e1c854c965.js → 1933.bundle.682f142e3217d4c7fbf7.js} +7 -3
- package/dist/{2018.bundle.469f9ad42597b6b29ff1.js → 2018.bundle.c06693143228cc034cb9.js} +47 -47
- package/dist/{213.bundle.398730bb3ceb1af54413.js → 213.bundle.c2d4d7370c26b0823880.js} +2 -2
- package/dist/{2424.bundle.be90e7bcf0fd8db68b2f.js → 2424.bundle.c1e287e752f352b76543.js} +2 -2
- package/dist/{2701.bundle.aca0d4f24a6f2094c3c3.js → 2701.bundle.12bd01a80a9f8ea4cd94.js} +4 -4
- package/dist/{2842.bundle.7852a204d3510fca8b27.js → 2842.bundle.860b9f10fcdd9656947a.js} +330 -123
- package/dist/{1903.bundle.dc5248f7cb6ba1dc1072.js → 3081.bundle.41838985e0472851eadb.js} +644 -322
- package/dist/{3343.bundle.f8fe9316b0ff68d087f7.js → 3343.bundle.d7578ce8f75d158c0bab.js} +2 -0
- package/dist/{3461.bundle.50c752c623f39cf6c457.js → 3461.bundle.a8fcefd1c6e389d905fc.js} +21 -17
- package/dist/{3584.bundle.839a16d349815b3f7c97.js → 3584.bundle.8cc0750425513433e9cc.js} +15 -17
- package/dist/{4019.bundle.01f63d5dd5b96ded0c00.js → 4019.bundle.83a604779f7da0101ced.js} +196 -366
- package/dist/{4202.bundle.790706560c6edb303476.js → 4202.bundle.5a0f8e4004c5d8a68548.js} +2 -2
- package/dist/{5448.bundle.9a36e001169ea3bfeb6c.js → 4410.bundle.c5224cd7d6238a7d4660.js} +313 -57
- package/dist/{4775.bundle.d7f0645419f1df8e00b8.js → 4775.bundle.70bc407db26afaa4331a.js} +24 -16
- package/dist/{4819.bundle.ef1151f023b3784bc1be.js → 4819.bundle.47e7aa44747ddab3a39a.js} +8 -6
- package/dist/{5028.bundle.b3611b7c7422a5c2e723.js → 5028.bundle.274945a9ae69c6b6ad51.js} +6 -6
- package/dist/{5462.bundle.a81a691eeef782ab95b9.js → 5462.bundle.21beddaca145b7465c72.js} +2 -0
- package/dist/{5485.bundle.71041ca4bc9e6ab57d92.js → 5485.bundle.4e0ec03c61ec5cadd9bb.js} +3 -3
- package/dist/{5802.bundle.28ab859d9b48a5b2c31c.js → 5802.bundle.3bf5e6b3ab330a594a47.js} +6 -12
- package/dist/{6163.bundle.1f096bdbe3a341c1710d.js → 6163.bundle.ca93a4e6501880901f94.js} +4 -2
- package/dist/{3353.bundle.a0f1654c642395bbbbbc.js → 6347.bundle.784c48912700f281de1d.js} +323 -179
- package/dist/{5400.bundle.de97508611da1c00d58a.js → 6409.bundle.b36048896cb11c8571fb.js} +450 -79
- package/dist/{7412.bundle.aec4834a71fc27c4ce06.js → 7412.bundle.fab1742191b7fe937330.js} +251 -197
- package/dist/{7431.bundle.999b2b65d4973bc56218.js → 7431.bundle.b01791d10e6cf9f503b0.js} +10 -4
- package/dist/{7639.bundle.e004d734044049fe8fe9.js → 7639.bundle.32152cacb059089ed7d7.js} +24 -20
- package/dist/{8305.bundle.ba43ed23edea2bf394b3.js → 8305.bundle.2ede68ba3c075928c9f4.js} +47 -29
- package/dist/{8558.bundle.463ddb34a619cf47493e.js → 8558.bundle.3e84c4ba2c7ec6fce52c.js} +33 -3
- package/dist/{8583.bundle.59c239cf891c2e10bf10.js → 8583.bundle.2908eee785e7e4595d14.js} +28 -23
- package/dist/{9195.bundle.e2fd5c6b5830c0ee25a8.js → 9195.bundle.606ca286a0fed8a43f58.js} +146 -73
- package/dist/{9845.bundle.31aec3fe7a5cdc247f4e.js → 9845.bundle.255e7c7f7a88193b4e47.js} +16 -8
- package/dist/{9862.bundle.3ca0ad5f54db87ccf91e.js → 9862.bundle.3a8958a82c572015d25d.js} +2 -2
- package/dist/{9927.bundle.f421cd167be94a7109f6.js → 9927.bundle.e798a347dfe1f241578f.js} +16 -16
- package/dist/{5549.bundle.d5def6a3124a3a481b7c.js → 997.bundle.822b33e561263084e18c.js} +961 -290
- package/dist/{app.bundle.7df5bc1cd812bd602686.js → app.bundle.26b7eafdf05b5445414b.js} +5893 -2247
- package/dist/app.bundle.css +1 -1
- package/dist/{compute.bundle.fdee4a0f193ee2e1b6da.js → compute.bundle.64280c7af19ff567465f.js} +3 -3
- package/dist/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js +3254 -1792
- package/dist/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js.map +1 -1
- package/dist/index.html +1 -1
- package/dist/{polySeg.bundle.11f9746cd60c9811a412.js → polySeg.bundle.a5aa9130b4191253c410.js} +3 -3
- package/dist/sw.js +1 -1
- package/package.json +24 -24
- /package/dist/{1459.bundle.3785cdd0abf449adebf1.js → 1459.bundle.e8802999a4d7f7edf628.js} +0 -0
- /package/dist/{5457.bundle.9f2eb65ad85fcbb75e27.js → 5457.bundle.f7de73bcfe1012a73b9f.js} +0 -0
- /package/dist/{5858.bundle.d5f4bf849aaeebf5025c.js → 5858.bundle.ff6b340cf7457db76a1a.js} +0 -0
- /package/dist/{6027.bundle.160bd47ea03784276275.js → 6027.bundle.2b12862684b0cb3af4b4.js} +0 -0
- /package/dist/{85.bundle.a16e254910c60223df19.js → 85.bundle.05591d5a14d74a502dfe.js} +0 -0
|
@@ -109,6 +109,8 @@ var SegmentationRepresentations;
|
|
|
109
109
|
/* harmony export */ });
|
|
110
110
|
var StrategyCallbacks;
|
|
111
111
|
(function (StrategyCallbacks) {
|
|
112
|
+
StrategyCallbacks["CalculateCursorGeometry"] = "calculateCursorGeometry";
|
|
113
|
+
StrategyCallbacks["RenderCursor"] = "renderCursor";
|
|
112
114
|
StrategyCallbacks["OnInteractionStart"] = "onInteractionStart";
|
|
113
115
|
StrategyCallbacks["OnInteractionEnd"] = "onInteractionEnd";
|
|
114
116
|
StrategyCallbacks["Preview"] = "preview";
|
|
@@ -1194,7 +1196,7 @@ const toolbarButtons = [
|
|
|
1194
1196
|
commands: setToolActiveToolbar,
|
|
1195
1197
|
evaluate: {
|
|
1196
1198
|
name: 'evaluate.cornerstoneTool',
|
|
1197
|
-
disabledText: 'Select a 3D viewport to enable this tool'
|
|
1199
|
+
disabledText: i18next/* default */.A.t('Buttons:Select a 3D viewport to enable this tool')
|
|
1198
1200
|
}
|
|
1199
1201
|
}
|
|
1200
1202
|
}, {
|
|
@@ -1232,7 +1234,7 @@ const toolbarButtons = [
|
|
|
1232
1234
|
},
|
|
1233
1235
|
evaluate: {
|
|
1234
1236
|
name: 'evaluate.cornerstoneTool',
|
|
1235
|
-
disabledText: 'Select an MPR viewport to enable this tool'
|
|
1237
|
+
disabledText: i18next/* default */.A.t('Buttons:Select an MPR viewport to enable this tool')
|
|
1236
1238
|
}
|
|
1237
1239
|
}
|
|
1238
1240
|
}
|
|
@@ -18,8 +18,8 @@ var react = __webpack_require__(86326);
|
|
|
18
18
|
var esm = __webpack_require__(15327);
|
|
19
19
|
// EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
|
|
20
20
|
var src = __webpack_require__(42356);
|
|
21
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
22
|
-
var ui_next_src = __webpack_require__(
|
|
21
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 3075 modules
|
|
22
|
+
var ui_next_src = __webpack_require__(12517);
|
|
23
23
|
// EXTERNAL MODULE: ../../../extensions/cornerstone/src/state.ts
|
|
24
24
|
var state = __webpack_require__(71353);
|
|
25
25
|
;// ../../../extensions/cornerstone/src/Viewport/OHIFCornerstoneViewport.css
|
|
@@ -143,6 +143,7 @@ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
|
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
|
|
146
|
+
|
|
146
147
|
/**
|
|
147
148
|
* Checks if value is valid.
|
|
148
149
|
*
|
|
@@ -166,17 +167,6 @@ function formatNumberPrecision(number, precision = 0) {
|
|
|
166
167
|
}
|
|
167
168
|
}
|
|
168
169
|
|
|
169
|
-
/**
|
|
170
|
-
* Formats DICOM date.
|
|
171
|
-
*
|
|
172
|
-
* @param {string} date
|
|
173
|
-
* @param {string} strFormat
|
|
174
|
-
* @returns {string} formatted date.
|
|
175
|
-
*/
|
|
176
|
-
function formatDICOMDate(date, strFormat = 'MMM D, YYYY') {
|
|
177
|
-
return moment_default()(date, 'YYYYMMDD').format(strFormat);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
170
|
/**
|
|
181
171
|
* DICOM Time is stored as HHmmss.SSS, where:
|
|
182
172
|
* HH 24 hour time:
|
|
@@ -214,6 +204,7 @@ function getCompression(imageId) {
|
|
|
214
204
|
}
|
|
215
205
|
return 'Lossless / Uncompressed';
|
|
216
206
|
}
|
|
207
|
+
|
|
217
208
|
;// ../../../extensions/cornerstone/src/Viewport/Overlays/CustomizableViewportOverlay.css
|
|
218
209
|
// extracted by mini-css-extract-plugin
|
|
219
210
|
|
|
@@ -374,7 +365,7 @@ function CustomizableViewportOverlay({
|
|
|
374
365
|
isLight,
|
|
375
366
|
formatters: {
|
|
376
367
|
formatPN,
|
|
377
|
-
formatDate: formatDICOMDate,
|
|
368
|
+
formatDate: ui_next_src/* formatDICOMDate */.yFj,
|
|
378
369
|
formatTime: formatDICOMTime,
|
|
379
370
|
formatNumberPrecision: formatNumberPrecision
|
|
380
371
|
}
|
|
@@ -399,7 +390,7 @@ function CustomizableViewportOverlay({
|
|
|
399
390
|
const props = {
|
|
400
391
|
...displaySetProps,
|
|
401
392
|
formatters: {
|
|
402
|
-
formatDate: formatDICOMDate
|
|
393
|
+
formatDate: ui_next_src/* formatDICOMDate */.yFj
|
|
403
394
|
},
|
|
404
395
|
voi,
|
|
405
396
|
scale,
|
|
@@ -17,10 +17,10 @@ var react = __webpack_require__(86326);
|
|
|
17
17
|
// EXTERNAL MODULE: ../../../node_modules/prop-types/index.js
|
|
18
18
|
var prop_types = __webpack_require__(97598);
|
|
19
19
|
var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
20
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
21
|
-
var src = __webpack_require__(
|
|
22
|
-
// EXTERNAL MODULE: ../../../extensions/cornerstone/src/index.tsx +
|
|
23
|
-
var cornerstone_src = __webpack_require__(
|
|
20
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 3075 modules
|
|
21
|
+
var src = __webpack_require__(12517);
|
|
22
|
+
// EXTERNAL MODULE: ../../../extensions/cornerstone/src/index.tsx + 193 modules
|
|
23
|
+
var cornerstone_src = __webpack_require__(63081);
|
|
24
24
|
;// ../../../extensions/cornerstone-dicom-rt/src/utils/promptHydrateRT.ts
|
|
25
25
|
|
|
26
26
|
function promptHydrateRT({
|
|
@@ -109,6 +109,8 @@ var SegmentationRepresentations;
|
|
|
109
109
|
/* harmony export */ });
|
|
110
110
|
var StrategyCallbacks;
|
|
111
111
|
(function (StrategyCallbacks) {
|
|
112
|
+
StrategyCallbacks["CalculateCursorGeometry"] = "calculateCursorGeometry";
|
|
113
|
+
StrategyCallbacks["RenderCursor"] = "renderCursor";
|
|
112
114
|
StrategyCallbacks["OnInteractionStart"] = "onInteractionStart";
|
|
113
115
|
StrategyCallbacks["OnInteractionEnd"] = "onInteractionEnd";
|
|
114
116
|
StrategyCallbacks["Preview"] = "preview";
|
|
@@ -964,8 +966,8 @@ const commandsModule = ({
|
|
|
964
966
|
/* harmony default export */ const src_commandsModule = (commandsModule);
|
|
965
967
|
// EXTERNAL MODULE: ../../../node_modules/react/index.js
|
|
966
968
|
var react = __webpack_require__(86326);
|
|
967
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
968
|
-
var ui_next_src = __webpack_require__(
|
|
969
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 3075 modules
|
|
970
|
+
var ui_next_src = __webpack_require__(12517);
|
|
969
971
|
;// ../../../extensions/cornerstone-dynamic-volume/src/panels/DynamicVolumeControls.tsx
|
|
970
972
|
|
|
971
973
|
|
|
@@ -1413,8 +1415,8 @@ function WorkflowPanel({
|
|
|
1413
1415
|
|
|
1414
1416
|
// EXTERNAL MODULE: ../../../extensions/default/src/index.ts + 139 modules
|
|
1415
1417
|
var default_src = __webpack_require__(39195);
|
|
1416
|
-
// EXTERNAL MODULE: ../../../extensions/cornerstone/src/index.tsx +
|
|
1417
|
-
var cornerstone_src = __webpack_require__(
|
|
1418
|
+
// EXTERNAL MODULE: ../../../extensions/cornerstone/src/index.tsx + 193 modules
|
|
1419
|
+
var cornerstone_src = __webpack_require__(63081);
|
|
1418
1420
|
;// ../../../extensions/cornerstone-dynamic-volume/src/panels/DynamicExport.tsx
|
|
1419
1421
|
|
|
1420
1422
|
|
|
@@ -1492,7 +1494,7 @@ function getPanelModule({
|
|
|
1492
1494
|
const wrappedDynamicSegmentation = () => {
|
|
1493
1495
|
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(default_src.Toolbox, {
|
|
1494
1496
|
buttonSectionId: toolbarService.sections.dynamicToolbox,
|
|
1495
|
-
title: "Threshold Tools"
|
|
1497
|
+
title: "Buttons:Threshold Tools"
|
|
1496
1498
|
}), /*#__PURE__*/react.createElement(cornerstone_src.PanelSegmentation, {
|
|
1497
1499
|
servicesManager: servicesManager,
|
|
1498
1500
|
commandsManager: commandsManager,
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
/******/ // This function allow to reference async chunks and sibling chunks for the entrypoint
|
|
171
171
|
/******/ __webpack_require__.u = (chunkId) => {
|
|
172
172
|
/******/ // return url for filenames based on template
|
|
173
|
-
/******/ return "" + chunkId + ".bundle." + {"732":"6978ac30a1e36abf06db","5858":"
|
|
173
|
+
/******/ return "" + chunkId + ".bundle." + {"732":"6978ac30a1e36abf06db","5858":"ff6b340cf7457db76a1a","8094":"5c44190a325ac23e3e5c"}[chunkId] + ".js";
|
|
174
174
|
/******/ };
|
|
175
175
|
/******/ })();
|
|
176
176
|
/******/
|
|
@@ -20,8 +20,8 @@ const id = package_namespaceObject.UU;
|
|
|
20
20
|
|
|
21
21
|
// EXTERNAL MODULE: ../../../node_modules/react/index.js
|
|
22
22
|
var react = __webpack_require__(86326);
|
|
23
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
24
|
-
var src = __webpack_require__(
|
|
23
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 3075 modules
|
|
24
|
+
var src = __webpack_require__(12517);
|
|
25
25
|
// EXTERNAL MODULE: ../../../extensions/default/src/index.ts + 139 modules
|
|
26
26
|
var default_src = __webpack_require__(39195);
|
|
27
27
|
// EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
|
|
@@ -604,9 +604,12 @@ function areaOfPolygon(coordinates) {
|
|
|
604
604
|
// (The value is halved as we are summing up triangles, not rectangles).
|
|
605
605
|
return Math.abs(area / 2.0);
|
|
606
606
|
}
|
|
607
|
+
// EXTERNAL MODULE: ../../i18n/src/index.js + 286 modules
|
|
608
|
+
var i18n_src = __webpack_require__(89010);
|
|
607
609
|
;// ../../../extensions/dicom-microscopy/src/utils/RoiAnnotation.js
|
|
608
610
|
|
|
609
611
|
|
|
612
|
+
|
|
610
613
|
const RoiAnnotation_EVENTS = {
|
|
611
614
|
LABEL_UPDATED: 'labelUpdated',
|
|
612
615
|
GRAPHIC_UPDATED: 'graphicUpdated',
|
|
@@ -756,7 +759,8 @@ class RoiAnnotation extends core_src/* PubSubService */.Rc {
|
|
|
756
759
|
* @returns {String} Text with geometry type and label
|
|
757
760
|
*/
|
|
758
761
|
getDetailedLabel() {
|
|
759
|
-
const
|
|
762
|
+
const translatedEmpty = i18n_src/* default */.A?.t('MeasurementTable:empty') || '(empty)';
|
|
763
|
+
const label = this.label ? `${this.label}` : translatedEmpty;
|
|
760
764
|
return label;
|
|
761
765
|
}
|
|
762
766
|
getLength() {
|
|
@@ -396,12 +396,12 @@ const toolbarButtons = [{
|
|
|
396
396
|
uiType: 'ohif.toolBoxButton',
|
|
397
397
|
props: {
|
|
398
398
|
icon: 'icon-tool-freehand-roi',
|
|
399
|
-
label: 'Freehand Segmentation',
|
|
400
|
-
tooltip: 'Freehand Segmentation',
|
|
399
|
+
label: i18next/* default */.A.t('Buttons:Freehand Segmentation'),
|
|
400
|
+
tooltip: i18next/* default */.A.t('Buttons:Freehand Segmentation'),
|
|
401
401
|
evaluate: [{
|
|
402
402
|
name: 'evaluate.cornerstone.segmentation',
|
|
403
403
|
toolNames: ['PlanarFreehandContourSegmentationTool'],
|
|
404
|
-
disabledText: 'Create new segmentation to enable this tool.'
|
|
404
|
+
disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
|
|
405
405
|
}, {
|
|
406
406
|
name: 'evaluate.cornerstone.hasSegmentationOfType',
|
|
407
407
|
segmentationRepresentationType: 'Contour'
|
|
@@ -424,7 +424,7 @@ const toolbarButtons = [{
|
|
|
424
424
|
}
|
|
425
425
|
}],
|
|
426
426
|
options: [{
|
|
427
|
-
name: 'Interpolate Contours',
|
|
427
|
+
name: i18next/* default */.A.t('Buttons:Interpolate Contours'),
|
|
428
428
|
type: 'switch',
|
|
429
429
|
id: 'planarFreehandInterpolateContours',
|
|
430
430
|
value: false,
|
|
@@ -438,12 +438,12 @@ const toolbarButtons = [{
|
|
|
438
438
|
uiType: 'ohif.toolBoxButton',
|
|
439
439
|
props: {
|
|
440
440
|
icon: 'icon-tool-livewire',
|
|
441
|
-
label: 'Livewire Contour',
|
|
442
|
-
tooltip: 'Livewire Contour',
|
|
441
|
+
label: i18next/* default */.A.t('Buttons:Livewire Contour'),
|
|
442
|
+
tooltip: i18next/* default */.A.t('Buttons:Livewire Contour'),
|
|
443
443
|
evaluate: [{
|
|
444
444
|
name: 'evaluate.cornerstone.segmentation',
|
|
445
445
|
toolNames: ['LivewireContourSegmentationTool'],
|
|
446
|
-
disabledText: 'Create new segmentation to enable this tool.'
|
|
446
|
+
disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
|
|
447
447
|
}, {
|
|
448
448
|
name: 'evaluate.cornerstone.hasSegmentationOfType',
|
|
449
449
|
segmentationRepresentationType: 'Contour'
|
|
@@ -466,7 +466,7 @@ const toolbarButtons = [{
|
|
|
466
466
|
}
|
|
467
467
|
}],
|
|
468
468
|
options: [{
|
|
469
|
-
name: 'Interpolate Contours',
|
|
469
|
+
name: i18next/* default */.A.t('Buttons:Interpolate Contours'),
|
|
470
470
|
type: 'switch',
|
|
471
471
|
id: 'livewireInterpolateContours',
|
|
472
472
|
value: false,
|
|
@@ -480,12 +480,12 @@ const toolbarButtons = [{
|
|
|
480
480
|
uiType: 'ohif.toolBoxButton',
|
|
481
481
|
props: {
|
|
482
482
|
icon: 'icon-tool-spline-roi',
|
|
483
|
-
label: 'Spline Contour Segmentation Tool',
|
|
484
|
-
tooltip: 'Spline Contour Segmentation Tool',
|
|
483
|
+
label: i18next/* default */.A.t('Buttons:Spline Contour Segmentation Tool'),
|
|
484
|
+
tooltip: i18next/* default */.A.t('Buttons:Spline Contour Segmentation Tool'),
|
|
485
485
|
evaluate: [{
|
|
486
486
|
name: 'evaluate.cornerstone.segmentation',
|
|
487
487
|
toolNames: ['CatmullRomSplineROI', 'LinearSplineROI', 'BSplineROI'],
|
|
488
|
-
disabledText: 'Create new segmentation to enable this tool.'
|
|
488
|
+
disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
|
|
489
489
|
}, {
|
|
490
490
|
name: 'evaluate.cornerstone.hasSegmentationOfType',
|
|
491
491
|
segmentationRepresentationType: 'Contour'
|
|
@@ -497,22 +497,22 @@ const toolbarButtons = [{
|
|
|
497
497
|
}
|
|
498
498
|
}],
|
|
499
499
|
options: [{
|
|
500
|
-
name: 'Spline Type',
|
|
500
|
+
name: i18next/* default */.A.t('Buttons:Spline Type'),
|
|
501
501
|
type: 'select',
|
|
502
502
|
id: 'splineTypeSelect',
|
|
503
503
|
value: 'CatmullRomSplineROI',
|
|
504
504
|
values: [{
|
|
505
505
|
id: 'CatmullRomSplineROI',
|
|
506
506
|
value: 'CatmullRomSplineROI',
|
|
507
|
-
label: 'Catmull Rom Spline'
|
|
507
|
+
label: i18next/* default */.A.t('Buttons:Catmull Rom Spline')
|
|
508
508
|
}, {
|
|
509
509
|
id: 'LinearSplineROI',
|
|
510
510
|
value: 'LinearSplineROI',
|
|
511
|
-
label: 'Linear Spline'
|
|
511
|
+
label: i18next/* default */.A.t('Buttons:Linear Spline')
|
|
512
512
|
}, {
|
|
513
513
|
id: 'BSplineROI',
|
|
514
514
|
value: 'BSplineROI',
|
|
515
|
-
label: 'B-Spline'
|
|
515
|
+
label: i18next/* default */.A.t('Buttons:B-Spline')
|
|
516
516
|
}],
|
|
517
517
|
commands: {
|
|
518
518
|
commandName: 'setToolActiveToolbar',
|
|
@@ -527,7 +527,7 @@ const toolbarButtons = [{
|
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
}, {
|
|
530
|
-
name: 'Simplified Spline',
|
|
530
|
+
name: i18next/* default */.A.t('Buttons:Simplified Spline'),
|
|
531
531
|
type: 'switch',
|
|
532
532
|
id: 'simplifiedSpline',
|
|
533
533
|
value: true,
|
|
@@ -535,7 +535,7 @@ const toolbarButtons = [{
|
|
|
535
535
|
commandName: 'setSimplifiedSplineForSplineContourSegmentationTool'
|
|
536
536
|
}
|
|
537
537
|
}, {
|
|
538
|
-
name: 'Interpolate Contours',
|
|
538
|
+
name: i18next/* default */.A.t('Buttons:Interpolate Contours'),
|
|
539
539
|
type: 'switch',
|
|
540
540
|
id: 'splineInterpolateContours',
|
|
541
541
|
value: false,
|
|
@@ -552,12 +552,12 @@ const toolbarButtons = [{
|
|
|
552
552
|
uiType: 'ohif.toolBoxButton',
|
|
553
553
|
props: {
|
|
554
554
|
icon: 'icon-tool-sculptor',
|
|
555
|
-
label: 'Sculptor Tool',
|
|
556
|
-
tooltip: 'Sculptor Tool',
|
|
555
|
+
label: i18next/* default */.A.t('Buttons:Sculptor Tool'),
|
|
556
|
+
tooltip: i18next/* default */.A.t('Buttons:Sculptor Tool'),
|
|
557
557
|
evaluate: [{
|
|
558
558
|
name: 'evaluate.cornerstone.segmentation',
|
|
559
559
|
toolNames: ['SculptorTool'],
|
|
560
|
-
disabledText: 'Create new segmentation to enable this tool.'
|
|
560
|
+
disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
|
|
561
561
|
}, {
|
|
562
562
|
name: 'evaluate.cornerstone.hasSegmentationOfType',
|
|
563
563
|
segmentationRepresentationType: 'Contour'
|
|
@@ -569,7 +569,7 @@ const toolbarButtons = [{
|
|
|
569
569
|
}
|
|
570
570
|
}],
|
|
571
571
|
options: [{
|
|
572
|
-
name: 'Dynamic Cursor Size',
|
|
572
|
+
name: i18next/* default */.A.t('Buttons:Dynamic Cursor Size'),
|
|
573
573
|
type: 'switch',
|
|
574
574
|
id: 'dynamicCursorSize',
|
|
575
575
|
value: true,
|
|
@@ -602,7 +602,7 @@ const toolbarButtons = [{
|
|
|
602
602
|
}
|
|
603
603
|
},
|
|
604
604
|
options: [{
|
|
605
|
-
name: 'Radius (mm)',
|
|
605
|
+
name: i18next/* default */.A.t('Buttons:Radius (mm)'),
|
|
606
606
|
id: 'brush-radius',
|
|
607
607
|
type: 'range',
|
|
608
608
|
explicitRunOnly: true,
|
|
@@ -617,16 +617,16 @@ const toolbarButtons = [{
|
|
|
617
617
|
}
|
|
618
618
|
}]
|
|
619
619
|
}, {
|
|
620
|
-
name: 'Shape',
|
|
620
|
+
name: i18next/* default */.A.t('Buttons:Shape'),
|
|
621
621
|
type: 'radio',
|
|
622
622
|
id: 'brush-mode',
|
|
623
623
|
value: 'CircularBrush',
|
|
624
624
|
values: [{
|
|
625
625
|
value: 'CircularBrush',
|
|
626
|
-
label: 'Circle'
|
|
626
|
+
label: i18next/* default */.A.t('Buttons:Circle')
|
|
627
627
|
}, {
|
|
628
628
|
value: 'SphereBrush',
|
|
629
|
-
label: 'Sphere'
|
|
629
|
+
label: i18next/* default */.A.t('Buttons:Sphere')
|
|
630
630
|
}],
|
|
631
631
|
commands: ['setToolActiveToolbar']
|
|
632
632
|
}]
|
|
@@ -744,16 +744,16 @@ const toolbarButtons = [{
|
|
|
744
744
|
[src/* ViewportGridService */.sI.EVENTS.VIEWPORTS_READY]: callbacks('MarkerLabelmap')
|
|
745
745
|
},
|
|
746
746
|
options: [{
|
|
747
|
-
name: 'Marker Mode',
|
|
747
|
+
name: i18next/* default */.A.t('Buttons:Marker Mode'),
|
|
748
748
|
type: 'radio',
|
|
749
749
|
id: 'marker-mode',
|
|
750
750
|
value: 'markerInclude',
|
|
751
751
|
values: [{
|
|
752
752
|
value: 'markerInclude',
|
|
753
|
-
label: 'Include'
|
|
753
|
+
label: i18next/* default */.A.t('Buttons:Include')
|
|
754
754
|
}, {
|
|
755
755
|
value: 'markerExclude',
|
|
756
|
-
label: 'Exclude'
|
|
756
|
+
label: i18next/* default */.A.t('Buttons:Exclude')
|
|
757
757
|
}],
|
|
758
758
|
commands: ({
|
|
759
759
|
commandsManager,
|
|
@@ -771,7 +771,7 @@ const toolbarButtons = [{
|
|
|
771
771
|
}
|
|
772
772
|
}
|
|
773
773
|
}, {
|
|
774
|
-
name: 'Clear Markers',
|
|
774
|
+
name: i18next/* default */.A.t('Buttons:Clear Markers'),
|
|
775
775
|
type: 'button',
|
|
776
776
|
id: 'clear-markers',
|
|
777
777
|
commands: 'clearMarkersForMarkerLabelmap'
|
|
@@ -794,7 +794,7 @@ const toolbarButtons = [{
|
|
|
794
794
|
segmentationRepresentationType: 'Labelmap'
|
|
795
795
|
}],
|
|
796
796
|
options: [{
|
|
797
|
-
name: 'Radius (mm)',
|
|
797
|
+
name: i18next/* default */.A.t('Buttons:Radius (mm)'),
|
|
798
798
|
id: 'eraser-radius',
|
|
799
799
|
type: 'range',
|
|
800
800
|
explicitRunOnly: true,
|
|
@@ -809,16 +809,16 @@ const toolbarButtons = [{
|
|
|
809
809
|
}
|
|
810
810
|
}
|
|
811
811
|
}, {
|
|
812
|
-
name: 'Shape',
|
|
812
|
+
name: i18next/* default */.A.t('Buttons:Shape'),
|
|
813
813
|
type: 'radio',
|
|
814
814
|
id: 'eraser-mode',
|
|
815
815
|
value: 'CircularEraser',
|
|
816
816
|
values: [{
|
|
817
817
|
value: 'CircularEraser',
|
|
818
|
-
label: 'Circle'
|
|
818
|
+
label: i18next/* default */.A.t('Buttons:Circle')
|
|
819
819
|
}, {
|
|
820
820
|
value: 'SphereEraser',
|
|
821
|
-
label: 'Sphere'
|
|
821
|
+
label: i18next/* default */.A.t('Buttons:Sphere')
|
|
822
822
|
}],
|
|
823
823
|
commands: 'setToolActiveToolbar'
|
|
824
824
|
}],
|
|
@@ -834,7 +834,7 @@ const toolbarButtons = [{
|
|
|
834
834
|
uiType: 'ohif.toolBoxButton',
|
|
835
835
|
props: {
|
|
836
836
|
icon: 'icon-tool-threshold',
|
|
837
|
-
label: 'Threshold Tool',
|
|
837
|
+
label: i18next/* default */.A.t('Buttons:Threshold Tool'),
|
|
838
838
|
evaluate: [{
|
|
839
839
|
name: 'evaluate.cornerstone.segmentation',
|
|
840
840
|
toolNames: ['ThresholdCircularBrush', 'ThresholdSphereBrush', 'ThresholdCircularBrushDynamic', 'ThresholdSphereBrushDynamic']
|
|
@@ -852,7 +852,7 @@ const toolbarButtons = [{
|
|
|
852
852
|
}
|
|
853
853
|
},
|
|
854
854
|
options: [{
|
|
855
|
-
name: 'Radius (mm)',
|
|
855
|
+
name: i18next/* default */.A.t('Buttons:Radius (mm)'),
|
|
856
856
|
id: 'threshold-radius',
|
|
857
857
|
type: 'range',
|
|
858
858
|
explicitRunOnly: true,
|
|
@@ -867,16 +867,16 @@ const toolbarButtons = [{
|
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
869
|
}, {
|
|
870
|
-
name: 'Shape',
|
|
870
|
+
name: i18next/* default */.A.t('Buttons:Shape'),
|
|
871
871
|
type: 'radio',
|
|
872
872
|
id: 'threshold-shape',
|
|
873
873
|
value: 'ThresholdCircularBrush',
|
|
874
874
|
values: [{
|
|
875
875
|
value: 'ThresholdCircularBrush',
|
|
876
|
-
label: 'Circle'
|
|
876
|
+
label: i18next/* default */.A.t('Buttons:Circle')
|
|
877
877
|
}, {
|
|
878
878
|
value: 'ThresholdSphereBrush',
|
|
879
|
-
label: 'Sphere'
|
|
879
|
+
label: i18next/* default */.A.t('Buttons:Sphere')
|
|
880
880
|
}],
|
|
881
881
|
commands: ({
|
|
882
882
|
value,
|
|
@@ -895,16 +895,16 @@ const toolbarButtons = [{
|
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
897
|
}, {
|
|
898
|
-
name: 'Threshold',
|
|
898
|
+
name: i18next/* default */.A.t('Buttons:Threshold'),
|
|
899
899
|
type: 'radio',
|
|
900
900
|
id: 'dynamic-mode',
|
|
901
901
|
value: 'ThresholdDynamic',
|
|
902
902
|
values: [{
|
|
903
903
|
value: 'ThresholdDynamic',
|
|
904
|
-
label: 'Dynamic'
|
|
904
|
+
label: i18next/* default */.A.t('Buttons:Dynamic')
|
|
905
905
|
}, {
|
|
906
906
|
value: 'ThresholdRange',
|
|
907
|
-
label: 'Range'
|
|
907
|
+
label: i18next/* default */.A.t('Buttons:Range')
|
|
908
908
|
}],
|
|
909
909
|
commands: ({
|
|
910
910
|
value,
|
|
@@ -967,19 +967,19 @@ const toolbarButtons = [{
|
|
|
967
967
|
}
|
|
968
968
|
},
|
|
969
969
|
options: [{
|
|
970
|
-
name: 'Shape',
|
|
970
|
+
name: i18next/* default */.A.t('Buttons:Shape'),
|
|
971
971
|
type: 'radio',
|
|
972
972
|
value: 'CircleScissor',
|
|
973
973
|
id: 'shape-mode',
|
|
974
974
|
values: [{
|
|
975
975
|
value: 'CircleScissor',
|
|
976
|
-
label: 'Circle'
|
|
976
|
+
label: i18next/* default */.A.t('Buttons:Circle')
|
|
977
977
|
}, {
|
|
978
978
|
value: 'SphereScissor',
|
|
979
|
-
label: 'Sphere'
|
|
979
|
+
label: i18next/* default */.A.t('Buttons:Sphere')
|
|
980
980
|
}, {
|
|
981
981
|
value: 'RectangleScissor',
|
|
982
|
-
label: 'Rectangle'
|
|
982
|
+
label: i18next/* default */.A.t('Buttons:Rectangle')
|
|
983
983
|
}],
|
|
984
984
|
commands: 'setToolActiveToolbar'
|
|
985
985
|
}]
|
|
@@ -1028,8 +1028,8 @@ const toolbarButtons = [{
|
|
|
1028
1028
|
uiType: 'ohif.toolBoxButton',
|
|
1029
1029
|
props: {
|
|
1030
1030
|
icon: 'tool-labelmap-edit-with-contour',
|
|
1031
|
-
label: 'Labelmap Edit with Contour Tool',
|
|
1032
|
-
tooltip: 'Labelmap Edit with Contour Tool',
|
|
1031
|
+
label: i18next/* default */.A.t('Buttons:Labelmap Edit with Contour Tool'),
|
|
1032
|
+
tooltip: i18next/* default */.A.t('Buttons:Labelmap Edit with Contour Tool'),
|
|
1033
1033
|
commands: ['setToolActiveToolbar', {
|
|
1034
1034
|
commandName: 'activateSelectedSegmentationOfType',
|
|
1035
1035
|
commandOptions: {
|
|
@@ -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__(42356);
|
|
26
|
-
// EXTERNAL MODULE: ../../i18n/src/index.js +
|
|
27
|
-
var i18n_src = __webpack_require__(
|
|
26
|
+
// EXTERNAL MODULE: ../../i18n/src/index.js + 286 modules
|
|
27
|
+
var i18n_src = __webpack_require__(89010);
|
|
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
|
|
@@ -23,8 +23,8 @@ const SOPClassHandlerId = `${id}.sopClassHandlerModule.dicom-pdf`;
|
|
|
23
23
|
|
|
24
24
|
// EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
|
|
25
25
|
var src = __webpack_require__(42356);
|
|
26
|
-
// EXTERNAL MODULE: ../../i18n/src/index.js +
|
|
27
|
-
var i18n_src = __webpack_require__(
|
|
26
|
+
// EXTERNAL MODULE: ../../i18n/src/index.js + 286 modules
|
|
27
|
+
var i18n_src = __webpack_require__(89010);
|
|
28
28
|
;// ../../../extensions/dicom-pdf/src/getSopClassHandlerModule.js
|
|
29
29
|
|
|
30
30
|
|
|
@@ -23,10 +23,10 @@ var src = __webpack_require__(42356);
|
|
|
23
23
|
var dicomSRModule = __webpack_require__(76654);
|
|
24
24
|
// EXTERNAL MODULE: ../../../extensions/cornerstone-dicom-sr/src/utils/createReferencedImageDisplaySet.ts
|
|
25
25
|
var createReferencedImageDisplaySet = __webpack_require__(92643);
|
|
26
|
-
// EXTERNAL MODULE: ../../../extensions/cornerstone/src/index.tsx +
|
|
27
|
-
var cornerstone_src = __webpack_require__(
|
|
28
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
29
|
-
var ui_next_src = __webpack_require__(
|
|
26
|
+
// EXTERNAL MODULE: ../../../extensions/cornerstone/src/index.tsx + 193 modules
|
|
27
|
+
var cornerstone_src = __webpack_require__(63081);
|
|
28
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 3075 modules
|
|
29
|
+
var ui_next_src = __webpack_require__(12517);
|
|
30
30
|
// EXTERNAL MODULE: ../../core/src/contextProviders/SystemProvider.tsx
|
|
31
31
|
var SystemProvider = __webpack_require__(83641);
|
|
32
32
|
;// ../../../extensions/cornerstone-dicom-sr/src/components/OHIFCornerstoneSRMeasurementViewport.tsx
|