@ohif/app 3.8.0-beta.54 → 3.8.0-beta.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{223.bundle.d4ac6ef2cfe47a9c4afc.js → 109.bundle.b4fee2a22b622839baf5.js} +50 -50
- package/dist/{471.bundle.eeb78105b59e688832a6.js → 121.bundle.5d0736acd6a7090ff2d0.js} +18 -18
- package/dist/{19.bundle.99b3819a5b7a6bd9394c.js → 155.bundle.e813e01526393fc0c81d.js} +93 -93
- package/dist/{687.bundle.a6ee04b2e5fd5e5445b6.js → 164.bundle.c5c6a095c04bf80c9dc6.js} +4 -4
- package/dist/{506.bundle.e243d2ef94ad3925c403.js → 188.bundle.df0f701a626b2bdd5607.js} +11 -11
- package/dist/{199.bundle.fdd939db52f25dc92071.js → 250.bundle.20d6ff7e3aa73db874d9.js} +42 -42
- package/dist/{965.bundle.67f3b1a05b5cbe521d62.js → 270.bundle.24bd8268981ff45bc5ed.js} +60 -60
- package/dist/{95.bundle.2236101be3cc36b322e8.js → 290.bundle.88e45f20df861f74b040.js} +12 -12
- package/dist/{451.bundle.311cd3be9916e08450e9.js → 295.bundle.5d7c931dcc154900b181.js} +21 -22
- package/dist/{125.bundle.df666cb677e5a8982157.js → 297.bundle.81d63bb0b66d63df6d86.js} +4 -4
- package/dist/{613.bundle.9c0ad8fbe2c130862f6c.js → 317.bundle.4bbbbeacc63a87fe0052.js} +9 -9
- package/dist/{483.bundle.75d178137b66ccdbc9b0.js → 339.bundle.6071d0db23a8fd7b4ce1.js} +65 -65
- package/dist/{202.bundle.495cba6bbee744cf8f72.js → 342.bundle.c260b2f9105f31c53e06.js} +93 -93
- package/dist/{466.bundle.93759a09e651f7b3c995.js → 50.bundle.a02f930758203e922b61.js} +47 -47
- package/dist/{886.bundle.94a4536167d0f8cae1ae.js → 530.bundle.59fb7594f8c8fc3bb3cc.js} +24 -24
- package/dist/{250.bundle.577da106dd763c7bf9d0.js → 544.bundle.757758f236737ef68537.js} +22 -22
- package/dist/{170.bundle.f343198e07760a7ead7d.js → 559.bundle.8c5f8069652858166212.js} +63 -63
- package/dist/{410.bundle.a348d8825d915c77d550.js → 594.bundle.5587e112957597bfa00e.js} +11 -11
- package/dist/{661.bundle.949c984fe2f9f753b65c.js → 644.bundle.1e77691d2eeb96a423b0.js} +4 -4
- package/dist/{185.bundle.ff56990135b9136734cf.js → 68.bundle.3f8ecb580774e553c5e2.js} +47 -47
- package/dist/{738.bundle.a68b638a4281ede90e1f.js → 704.bundle.5f768638951d88f5b04a.js} +221 -221
- package/dist/{359.bundle.ef640f0cee0493868d9d.js → 724.bundle.3d153d487a4df09d7fc1.js} +12 -12
- package/dist/{831.bundle.127a3064e8844d6d2c82.js → 726.bundle.ca49b063dace33d27ae3.js} +512 -512
- package/dist/{530.bundle.f904325ef4195d69ac0e.js → 835.bundle.15aff0b7433bb0dd6d6d.js} +28 -28
- package/dist/{822.bundle.8b745e28bc9eb9afbc61.js → 862.bundle.9495643df5c63de0ac57.js} +19 -19
- package/dist/{181.bundle.aff453c348111303ceac.js → 889.bundle.3fbb54e829d5c48d82fd.js} +33 -38
- package/dist/{281.bundle.fae344af5b015f837f25.js → 905.bundle.290943a93a696c835e94.js} +8 -8
- package/dist/{814.bundle.0ec180d5b229f4e6406f.js → 907.bundle.d161c4269937e5e77f2d.js} +9 -9
- package/dist/{417.bundle.5c66801d23d0e98c00e6.js → 931.bundle.d270a1fda9a2836c3cc5.js} +25 -25
- package/dist/{686.bundle.62c827fe4f0d054c164e.js → 939.bundle.84ee0b844023d924a22b.js} +4 -4
- package/dist/{12.bundle.f8e4685ed24432735e1b.js → 961.bundle.2ada19a2348f025c8eca.js} +8 -8
- package/dist/{290.bundle.83733eacedfae557e8cf.js → 963.bundle.a998a59f759bd3be3e47.js} +440 -218
- package/dist/{app.bundle.e97dc9a2b1087531aa22.js → app.bundle.708fb56d4d3a283387f4.js} +5482 -5141
- package/dist/{dicom-microscopy-viewer.bundle.a7d5060eead13771e784.js → dicom-microscopy-viewer.bundle.d3a56dc9f62df5e11019.js} +3 -3
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +21 -18
- package/dist/23.bundle.9d989522a6e4fdcb9c72.js +0 -900
- /package/dist/{19.css → 155.css} +0 -0
- /package/dist/{579.css → 481.css} +0 -0
- /package/dist/{466.css → 50.css} +0 -0
- /package/dist/{250.css → 544.css} +0 -0
- /package/dist/{181.css → 889.css} +0 -0
- /package/dist/{290.css → 963.css} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[270],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 62889:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
// ESM COMPAT FLAG
|
|
@@ -13,21 +13,21 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13
13
|
});
|
|
14
14
|
|
|
15
15
|
;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/package.json
|
|
16
|
-
const package_namespaceObject = JSON.parse('{"
|
|
16
|
+
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/extension-dicom-microscopy"}');
|
|
17
17
|
;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/id.js
|
|
18
18
|
|
|
19
|
-
const id = package_namespaceObject.
|
|
19
|
+
const id = package_namespaceObject.UU;
|
|
20
20
|
|
|
21
21
|
// EXTERNAL MODULE: ../../../node_modules/react/index.js
|
|
22
|
-
var react = __webpack_require__(
|
|
22
|
+
var react = __webpack_require__(41766);
|
|
23
23
|
// EXTERNAL MODULE: ../../ui/src/index.js + 487 modules
|
|
24
|
-
var src = __webpack_require__(
|
|
24
|
+
var src = __webpack_require__(55395);
|
|
25
25
|
// EXTERNAL MODULE: ../../core/src/index.ts + 65 modules
|
|
26
|
-
var core_src = __webpack_require__(
|
|
26
|
+
var core_src = __webpack_require__(30257);
|
|
27
27
|
// EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
|
|
28
|
-
var es = __webpack_require__(
|
|
28
|
+
var es = __webpack_require__(80619);
|
|
29
29
|
// EXTERNAL MODULE: ../../../node_modules/mathjs/lib/esm/index.js + 996 modules
|
|
30
|
-
var esm = __webpack_require__(
|
|
30
|
+
var esm = __webpack_require__(23109);
|
|
31
31
|
;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/utils/coordinateFormatScoord3d2Geometry.js
|
|
32
32
|
|
|
33
33
|
|
|
@@ -117,9 +117,9 @@ function mapSlideCoord2PixelCoord(options) {
|
|
|
117
117
|
}
|
|
118
118
|
const point = options.point;
|
|
119
119
|
const m = [[orientation[0] * spacing[1], orientation[3] * spacing[0], offset[0]], [orientation[1] * spacing[1], orientation[4] * spacing[0], offset[1]], [0, 0, 1]];
|
|
120
|
-
const mInverted = (0,esm/* inv */.
|
|
120
|
+
const mInverted = (0,esm/* inv */.WCD)(m);
|
|
121
121
|
const vSlide = [[point[0]], [point[1]], [1]];
|
|
122
|
-
const vImage = (0,esm/* multiply */.
|
|
122
|
+
const vImage = (0,esm/* multiply */.lwT)(mInverted, vSlide);
|
|
123
123
|
const row = Number(vImage[1][0].toFixed(4));
|
|
124
124
|
const col = Number(vImage[0][0].toFixed(4));
|
|
125
125
|
return [col, row];
|
|
@@ -212,7 +212,7 @@ const EVENTS = {
|
|
|
212
212
|
* ViewerManager encapsulates the complexity of the third-party viewer and
|
|
213
213
|
* expose only the features/behaviors that are relevant to the application
|
|
214
214
|
*/
|
|
215
|
-
class ViewerManager extends core_src/* PubSubService */.
|
|
215
|
+
class ViewerManager extends core_src/* PubSubService */.Rc {
|
|
216
216
|
constructor(viewer, viewportId, container, studyInstanceUID, seriesInstanceUID) {
|
|
217
217
|
super(EVENTS);
|
|
218
218
|
this.viewer = viewer;
|
|
@@ -615,7 +615,7 @@ const RoiAnnotation_EVENTS = {
|
|
|
615
615
|
/**
|
|
616
616
|
* Represents a single annotation for the Microscopy Viewer
|
|
617
617
|
*/
|
|
618
|
-
class RoiAnnotation extends core_src/* PubSubService */.
|
|
618
|
+
class RoiAnnotation extends core_src/* PubSubService */.Rc {
|
|
619
619
|
constructor(roiGraphic, studyInstanceUID, seriesInstanceUID, label = '', viewState = null) {
|
|
620
620
|
super(RoiAnnotation_EVENTS);
|
|
621
621
|
this.uid = roiGraphic.uid;
|
|
@@ -786,7 +786,7 @@ const MicroscopyService_EVENTS = {
|
|
|
786
786
|
* viewers and handle their ROI graphics to create, remove and modify the
|
|
787
787
|
* ROI annotations relevant to the application
|
|
788
788
|
*/
|
|
789
|
-
class MicroscopyService extends core_src/* PubSubService */.
|
|
789
|
+
class MicroscopyService extends core_src/* PubSubService */.Rc {
|
|
790
790
|
constructor(serviceManager) {
|
|
791
791
|
super(MicroscopyService_EVENTS);
|
|
792
792
|
this.serviceManager = void 0;
|
|
@@ -1048,7 +1048,7 @@ class MicroscopyService extends core_src/* PubSubService */.hC {
|
|
|
1048
1048
|
return managedViewer;
|
|
1049
1049
|
}
|
|
1050
1050
|
_potentiallyLoadSR(StudyInstanceUID, displaySets) {
|
|
1051
|
-
const studyMetadata = core_src
|
|
1051
|
+
const studyMetadata = core_src/* DicomMetadataStore */.H8.getStudy(StudyInstanceUID);
|
|
1052
1052
|
const smDisplaySet = displaySets.find(ds => ds.Modality === 'SM');
|
|
1053
1053
|
const {
|
|
1054
1054
|
FrameOfReferenceUID,
|
|
@@ -1361,7 +1361,7 @@ MicroscopyService.REGISTRATION = serviceManager => {
|
|
|
1361
1361
|
};
|
|
1362
1362
|
|
|
1363
1363
|
// EXTERNAL MODULE: ../../../node_modules/dcmjs/build/dcmjs.es.js
|
|
1364
|
-
var dcmjs_es = __webpack_require__(
|
|
1364
|
+
var dcmjs_es = __webpack_require__(31426);
|
|
1365
1365
|
;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/utils/callInputDialog.tsx
|
|
1366
1366
|
|
|
1367
1367
|
|
|
@@ -1404,7 +1404,7 @@ function callInputDialog({
|
|
|
1404
1404
|
centralize: true,
|
|
1405
1405
|
isDraggable: false,
|
|
1406
1406
|
showOverlay: true,
|
|
1407
|
-
content: src/* Dialog */.
|
|
1407
|
+
content: src/* Dialog */.lG,
|
|
1408
1408
|
contentProps: {
|
|
1409
1409
|
title: title,
|
|
1410
1410
|
value: {
|
|
@@ -1417,18 +1417,18 @@ function callInputDialog({
|
|
|
1417
1417
|
actions: [{
|
|
1418
1418
|
id: 'cancel',
|
|
1419
1419
|
text: 'Cancel',
|
|
1420
|
-
type: src/* ButtonEnums.type */.
|
|
1420
|
+
type: src/* ButtonEnums.type */.Ny.NW.secondary
|
|
1421
1421
|
}, {
|
|
1422
1422
|
id: 'save',
|
|
1423
1423
|
text: 'Save',
|
|
1424
|
-
type: src/* ButtonEnums.type */.
|
|
1424
|
+
type: src/* ButtonEnums.type */.Ny.NW.primary
|
|
1425
1425
|
}],
|
|
1426
1426
|
onSubmit: onSubmitHandler,
|
|
1427
1427
|
body: ({
|
|
1428
1428
|
value,
|
|
1429
1429
|
setValue
|
|
1430
1430
|
}) => {
|
|
1431
|
-
return /*#__PURE__*/react.createElement(src/* Input */.
|
|
1431
|
+
return /*#__PURE__*/react.createElement(src/* Input */.pd, {
|
|
1432
1432
|
label: "Enter your annotation",
|
|
1433
1433
|
labelClassName: "text-white text-[14px] leading-[1.2]",
|
|
1434
1434
|
autoFocus: true,
|
|
@@ -1491,34 +1491,34 @@ function constructSR(metadata, {
|
|
|
1491
1491
|
} = metadata;
|
|
1492
1492
|
|
|
1493
1493
|
// construct Comprehensive3DSR dataset
|
|
1494
|
-
const observationContext = new dcmjs_es
|
|
1495
|
-
observerPersonContext: new dcmjs_es
|
|
1496
|
-
observerType: new dcmjs_es
|
|
1494
|
+
const observationContext = new dcmjs_es/* default.sr */.Ay.sr.templates.ObservationContext({
|
|
1495
|
+
observerPersonContext: new dcmjs_es/* default.sr */.Ay.sr.templates.ObserverContext({
|
|
1496
|
+
observerType: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
|
|
1497
1497
|
value: '121006',
|
|
1498
1498
|
schemeDesignator: 'DCM',
|
|
1499
1499
|
meaning: 'Person'
|
|
1500
1500
|
}),
|
|
1501
|
-
observerIdentifyingAttributes: new dcmjs_es
|
|
1501
|
+
observerIdentifyingAttributes: new dcmjs_es/* default.sr */.Ay.sr.templates.PersonObserverIdentifyingAttributes({
|
|
1502
1502
|
name: '@ohif/extension-dicom-microscopy'
|
|
1503
1503
|
})
|
|
1504
1504
|
}),
|
|
1505
|
-
observerDeviceContext: new dcmjs_es
|
|
1506
|
-
observerType: new dcmjs_es
|
|
1505
|
+
observerDeviceContext: new dcmjs_es/* default.sr */.Ay.sr.templates.ObserverContext({
|
|
1506
|
+
observerType: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
|
|
1507
1507
|
value: '121007',
|
|
1508
1508
|
schemeDesignator: 'DCM',
|
|
1509
1509
|
meaning: 'Device'
|
|
1510
1510
|
}),
|
|
1511
|
-
observerIdentifyingAttributes: new dcmjs_es
|
|
1511
|
+
observerIdentifyingAttributes: new dcmjs_es/* default.sr */.Ay.sr.templates.DeviceObserverIdentifyingAttributes({
|
|
1512
1512
|
uid: DEVICE_OBSERVER_UID
|
|
1513
1513
|
})
|
|
1514
1514
|
}),
|
|
1515
|
-
subjectContext: new dcmjs_es
|
|
1516
|
-
subjectClass: new dcmjs_es
|
|
1515
|
+
subjectContext: new dcmjs_es/* default.sr */.Ay.sr.templates.SubjectContext({
|
|
1516
|
+
subjectClass: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
|
|
1517
1517
|
value: '121027',
|
|
1518
1518
|
schemeDesignator: 'DCM',
|
|
1519
1519
|
meaning: 'Specimen'
|
|
1520
1520
|
}),
|
|
1521
|
-
subjectClassSpecificContext: new dcmjs_es
|
|
1521
|
+
subjectClassSpecificContext: new dcmjs_es/* default.sr */.Ay.sr.templates.SubjectContextSpecimen({
|
|
1522
1522
|
uid: SpecimenDescriptionSequence.SpecimenUID,
|
|
1523
1523
|
identifier: SpecimenDescriptionSequence.SpecimenIdentifier || metadata.SeriesInstanceUID,
|
|
1524
1524
|
containerIdentifier: metadata.ContainerIdentifier || metadata.SeriesInstanceUID
|
|
@@ -1550,14 +1550,14 @@ function constructSR(metadata, {
|
|
|
1550
1550
|
const ConceptName = Array.isArray(measurement.ConceptNameCodeSequence) ? measurement.ConceptNameCodeSequence[0] : measurement.ConceptNameCodeSequence;
|
|
1551
1551
|
const MeasuredValue = Array.isArray(measurement.MeasuredValueSequence) ? measurement.MeasuredValueSequence[0] : measurement.MeasuredValueSequence;
|
|
1552
1552
|
const MeasuredValueUnits = Array.isArray(MeasuredValue.MeasurementUnitsCodeSequence) ? MeasuredValue.MeasurementUnitsCodeSequence[0] : MeasuredValue.MeasurementUnitsCodeSequence;
|
|
1553
|
-
return new dcmjs_es
|
|
1554
|
-
name: new dcmjs_es
|
|
1553
|
+
return new dcmjs_es/* default.sr */.Ay.sr.valueTypes.NumContentItem({
|
|
1554
|
+
name: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
|
|
1555
1555
|
meaning: ConceptName.CodeMeaning,
|
|
1556
1556
|
value: ConceptName.CodeValue,
|
|
1557
1557
|
schemeDesignator: ConceptName.CodingSchemeDesignator
|
|
1558
1558
|
}),
|
|
1559
1559
|
value: MeasuredValue.NumericValue,
|
|
1560
|
-
unit: new dcmjs_es
|
|
1560
|
+
unit: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
|
|
1561
1561
|
value: MeasuredValueUnits.CodeValue,
|
|
1562
1562
|
meaning: MeasuredValueUnits.CodeMeaning,
|
|
1563
1563
|
schemeDesignator: MeasuredValueUnits.CodingSchemeDesignator
|
|
@@ -1568,8 +1568,8 @@ function constructSR(metadata, {
|
|
|
1568
1568
|
/** Avoid incompatibility with dcmjs */
|
|
1569
1569
|
evaluations = evaluations.map(evaluation => {
|
|
1570
1570
|
const ConceptName = Array.isArray(evaluation.ConceptNameCodeSequence) ? evaluation.ConceptNameCodeSequence[0] : evaluation.ConceptNameCodeSequence;
|
|
1571
|
-
return new dcmjs_es
|
|
1572
|
-
name: new dcmjs_es
|
|
1571
|
+
return new dcmjs_es/* default.sr */.Ay.sr.valueTypes.TextContentItem({
|
|
1572
|
+
name: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
|
|
1573
1573
|
value: ConceptName.CodeValue,
|
|
1574
1574
|
meaning: ConceptName.CodeMeaning,
|
|
1575
1575
|
schemeDesignator: ConceptName.CodingSchemeDesignator
|
|
@@ -1579,17 +1579,17 @@ function constructSR(metadata, {
|
|
|
1579
1579
|
});
|
|
1580
1580
|
});
|
|
1581
1581
|
const identifier = `ROI #${i + 1}`;
|
|
1582
|
-
const group = new dcmjs_es
|
|
1583
|
-
trackingIdentifier: new dcmjs_es
|
|
1582
|
+
const group = new dcmjs_es/* default.sr */.Ay.sr.templates.PlanarROIMeasurementsAndQualitativeEvaluations({
|
|
1583
|
+
trackingIdentifier: new dcmjs_es/* default.sr */.Ay.sr.templates.TrackingIdentifier({
|
|
1584
1584
|
uid: roi.uid,
|
|
1585
1585
|
identifier: presentationState ? identifier.concat(`(${JSON.stringify(presentationState)})`) : identifier
|
|
1586
1586
|
}),
|
|
1587
|
-
referencedRegion: new dcmjs_es
|
|
1587
|
+
referencedRegion: new dcmjs_es/* default.sr */.Ay.sr.contentItems.ImageRegion3D({
|
|
1588
1588
|
graphicType: roi.scoord3d.graphicType,
|
|
1589
1589
|
graphicData: roi.scoord3d.graphicData,
|
|
1590
1590
|
frameOfReferenceUID: roi.scoord3d.frameOfReferenceUID
|
|
1591
1591
|
}),
|
|
1592
|
-
findingType: new dcmjs_es
|
|
1592
|
+
findingType: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
|
|
1593
1593
|
value: label,
|
|
1594
1594
|
schemeDesignator: '@ohif/extension-dicom-microscopy',
|
|
1595
1595
|
meaning: 'FREETEXT'
|
|
@@ -1600,23 +1600,23 @@ function constructSR(metadata, {
|
|
|
1600
1600
|
});
|
|
1601
1601
|
imagingMeasurements.push(...group);
|
|
1602
1602
|
}
|
|
1603
|
-
const measurementReport = new dcmjs_es
|
|
1604
|
-
languageOfContentItemAndDescendants: new dcmjs_es
|
|
1603
|
+
const measurementReport = new dcmjs_es/* default.sr */.Ay.sr.templates.MeasurementReport({
|
|
1604
|
+
languageOfContentItemAndDescendants: new dcmjs_es/* default.sr */.Ay.sr.templates.LanguageOfContentItemAndDescendants({}),
|
|
1605
1605
|
observationContext,
|
|
1606
|
-
procedureReported: new dcmjs_es
|
|
1606
|
+
procedureReported: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
|
|
1607
1607
|
value: '112703',
|
|
1608
1608
|
schemeDesignator: 'DCM',
|
|
1609
1609
|
meaning: 'Whole Slide Imaging'
|
|
1610
1610
|
}),
|
|
1611
1611
|
imagingMeasurements
|
|
1612
1612
|
});
|
|
1613
|
-
const dataset = new dcmjs_es
|
|
1613
|
+
const dataset = new dcmjs_es/* default.sr */.Ay.sr.documents.Comprehensive3DSR({
|
|
1614
1614
|
content: measurementReport[0],
|
|
1615
1615
|
evidence: [metadata],
|
|
1616
|
-
seriesInstanceUID: dcmjs_es
|
|
1616
|
+
seriesInstanceUID: dcmjs_es/* default.data */.Ay.data.DicomMetaDictionary.uid(),
|
|
1617
1617
|
seriesNumber: SeriesNumber,
|
|
1618
1618
|
seriesDescription: SeriesDescription || 'Whole slide imaging structured report',
|
|
1619
|
-
sopInstanceUID: dcmjs_es
|
|
1619
|
+
sopInstanceUID: dcmjs_es/* default.data */.Ay.data.DicomMetaDictionary.uid(),
|
|
1620
1620
|
instanceNumber: 1,
|
|
1621
1621
|
manufacturer: 'dcmjs-org'
|
|
1622
1622
|
});
|
|
@@ -1636,7 +1636,7 @@ function constructSR(metadata, {
|
|
|
1636
1636
|
vr: 'UI'
|
|
1637
1637
|
},
|
|
1638
1638
|
ImplementationClassUID: {
|
|
1639
|
-
Value: [dcmjs_es
|
|
1639
|
+
Value: [dcmjs_es/* default.data */.Ay.data.DicomMetaDictionary.uid()],
|
|
1640
1640
|
vr: 'UI'
|
|
1641
1641
|
},
|
|
1642
1642
|
ImplementationVersionName: {
|
|
@@ -1674,7 +1674,7 @@ function saveByteArray(buffer, filename) {
|
|
|
1674
1674
|
let saving = false;
|
|
1675
1675
|
const {
|
|
1676
1676
|
datasetToBuffer
|
|
1677
|
-
} = dcmjs_es
|
|
1677
|
+
} = dcmjs_es/* default.data */.Ay.data;
|
|
1678
1678
|
const formatArea = area => {
|
|
1679
1679
|
let mult = 1;
|
|
1680
1680
|
let unit = 'mm';
|
|
@@ -1819,7 +1819,7 @@ function MicroscopyPanel(props) {
|
|
|
1819
1819
|
// Since once study contains multiple resolution levels (series) of one whole
|
|
1820
1820
|
// Slide image.
|
|
1821
1821
|
|
|
1822
|
-
const studyMetadata = core_src
|
|
1822
|
+
const studyMetadata = core_src/* DicomMetadataStore */.H8.getStudy(studyInstanceUID);
|
|
1823
1823
|
const displaySets = getAllDisplaySets(studyMetadata);
|
|
1824
1824
|
const smDisplaySet = displaySets.find(ds => ds.Modality === 'SM');
|
|
1825
1825
|
|
|
@@ -1888,7 +1888,7 @@ function MicroscopyPanel(props) {
|
|
|
1888
1888
|
} = activeViewport;
|
|
1889
1889
|
|
|
1890
1890
|
// TODO: studies?
|
|
1891
|
-
const study = core_src
|
|
1891
|
+
const study = core_src/* DicomMetadataStore */.H8.getStudy(StudyInstanceUID);
|
|
1892
1892
|
const lastDerivedDisplaySet = study.derivedDisplaySets.sort((ds1, ds2) => {
|
|
1893
1893
|
const dateTime1 = Number(`${ds1.SeriesDate}${ds1.SeriesTime}`);
|
|
1894
1894
|
const dateTime2 = Number(`${ds2.SeriesDate}${ds2.SeriesTime}`);
|
|
@@ -1977,7 +1977,7 @@ function MicroscopyPanel(props) {
|
|
|
1977
1977
|
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
|
|
1978
1978
|
className: "ohif-scrollbar overflow-y-auto overflow-x-hidden",
|
|
1979
1979
|
"data-cy": 'measurements-panel'
|
|
1980
|
-
}, /*#__PURE__*/react.createElement(src/* MeasurementTable */.
|
|
1980
|
+
}, /*#__PURE__*/react.createElement(src/* MeasurementTable */.V, {
|
|
1981
1981
|
title: "Measurements",
|
|
1982
1982
|
servicesManager: props.servicesManager,
|
|
1983
1983
|
data: data,
|
|
@@ -1985,7 +1985,7 @@ function MicroscopyPanel(props) {
|
|
|
1985
1985
|
onEdit: onMeasurementItemEditHandler
|
|
1986
1986
|
})));
|
|
1987
1987
|
}
|
|
1988
|
-
const connectedMicroscopyPanel = (0,es/* withTranslation */.
|
|
1988
|
+
const connectedMicroscopyPanel = (0,es/* withTranslation */.CI)(['MicroscopyTable', 'Common'])(MicroscopyPanel);
|
|
1989
1989
|
/* harmony default export */ const MicroscopyPanel_MicroscopyPanel = (connectedMicroscopyPanel);
|
|
1990
1990
|
;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/getPanelModule.tsx
|
|
1991
1991
|
|
|
@@ -2006,7 +2006,7 @@ function getPanelModule({
|
|
|
2006
2006
|
const [{
|
|
2007
2007
|
activeViewportId,
|
|
2008
2008
|
viewports
|
|
2009
|
-
}] = (0,src/* useViewportGrid */.
|
|
2009
|
+
}] = (0,src/* useViewportGrid */.ih)();
|
|
2010
2010
|
return /*#__PURE__*/react.createElement(MicroscopyPanel_MicroscopyPanel, {
|
|
2011
2011
|
viewports: viewports,
|
|
2012
2012
|
activeViewportId: activeViewportId,
|
|
@@ -2174,7 +2174,7 @@ function getCommandsModule({
|
|
|
2174
2174
|
|
|
2175
2175
|
const {
|
|
2176
2176
|
utils
|
|
2177
|
-
} = core_src
|
|
2177
|
+
} = core_src/* default */.Ay;
|
|
2178
2178
|
const SOP_CLASS_UIDS = {
|
|
2179
2179
|
VL_WHOLE_SLIDE_MICROSCOPY_IMAGE_STORAGE: '1.2.840.10008.5.1.4.1.1.77.1.6'
|
|
2180
2180
|
};
|
|
@@ -2301,7 +2301,7 @@ function toArray(item) {
|
|
|
2301
2301
|
|
|
2302
2302
|
|
|
2303
2303
|
|
|
2304
|
-
const MeasurementReport = dcmjs_es
|
|
2304
|
+
const MeasurementReport = dcmjs_es/* default.adapters */.Ay.adapters.DICOMMicroscopyViewer.MeasurementReport;
|
|
2305
2305
|
|
|
2306
2306
|
// Define as async so that it returns a promise, expected by the ViewportGrid
|
|
2307
2307
|
async function loadSR(microscopyService, microscopySRDisplaySet, referencedDisplaySet) {
|
|
@@ -2338,7 +2338,7 @@ async function loadSR(microscopyService, microscopySRDisplaySet, referencedDispl
|
|
|
2338
2338
|
async function _getROIsFromToolState(naturalizedDataset, FrameOfReferenceUID) {
|
|
2339
2339
|
const toolState = MeasurementReport.generateToolState(naturalizedDataset);
|
|
2340
2340
|
const tools = Object.getOwnPropertyNames(toolState);
|
|
2341
|
-
const DICOMMicroscopyViewer = await __webpack_require__.e(/* import() | dicom-microscopy-viewer */
|
|
2341
|
+
const DICOMMicroscopyViewer = await __webpack_require__.e(/* import() | dicom-microscopy-viewer */ 525).then(__webpack_require__.t.bind(__webpack_require__, 95226, 23));
|
|
2342
2342
|
const measurementGroupContentItems = _getMeasurementGroups(naturalizedDataset);
|
|
2343
2343
|
const rois = [];
|
|
2344
2344
|
const labels = [];
|
|
@@ -2472,7 +2472,7 @@ function getSourceDisplaySet(allDisplaySets, microscopySRDisplaySet) {
|
|
|
2472
2472
|
|
|
2473
2473
|
const {
|
|
2474
2474
|
utils: DicomMicroscopySRSopClassHandler_utils
|
|
2475
|
-
} = core_src
|
|
2475
|
+
} = core_src/* default */.Ay;
|
|
2476
2476
|
const DicomMicroscopySRSopClassHandler_SOP_CLASS_UIDS = {
|
|
2477
2477
|
COMPREHENSIVE_3D_SR: '1.2.840.10008.5.1.4.1.1.88.34'
|
|
2478
2478
|
};
|
|
@@ -2499,7 +2499,7 @@ function DicomMicroscopySRSopClassHandler_getDisplaySetsFromSeries(instances, se
|
|
|
2499
2499
|
|
|
2500
2500
|
// TODO ! Consumption of DICOMMicroscopySRSOPClassHandler to a derived dataset or normal dataset?
|
|
2501
2501
|
// TODO -> Easy to swap this to a "non-derived" displaySet, but unfortunately need to put it in a different extension.
|
|
2502
|
-
const naturalizedDataset = core_src
|
|
2502
|
+
const naturalizedDataset = core_src/* DicomMetadataStore */.H8.getSeries(instance.StudyInstanceUID, instance.SeriesInstanceUID).instances[0];
|
|
2503
2503
|
const ReferencedFrameOfReferenceUID = _getReferencedFrameOfReferenceUID(naturalizedDataset);
|
|
2504
2504
|
const {
|
|
2505
2505
|
FrameOfReferenceUID,
|
|
@@ -2544,7 +2544,7 @@ function DicomMicroscopySRSopClassHandler_getDisplaySetsFromSeries(instances, se
|
|
|
2544
2544
|
};
|
|
2545
2545
|
displaySet.getSourceDisplaySet = function () {
|
|
2546
2546
|
let allDisplaySets = [];
|
|
2547
|
-
const studyMetadata = core_src
|
|
2547
|
+
const studyMetadata = core_src/* DicomMetadataStore */.H8.getStudy(StudyInstanceUID);
|
|
2548
2548
|
studyMetadata.series.forEach(series => {
|
|
2549
2549
|
const displaySets = displaySetService.getDisplaySetsForSeries(series.SeriesInstanceUID);
|
|
2550
2550
|
allDisplaySets = allDisplaySets.concat(displaySets);
|
|
@@ -2577,7 +2577,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
2577
2577
|
|
|
2578
2578
|
|
|
2579
2579
|
const Component = /*#__PURE__*/react.lazy(() => {
|
|
2580
|
-
return Promise.all(/* import() */[__webpack_require__.e(
|
|
2580
|
+
return Promise.all(/* import() */[__webpack_require__.e(644), __webpack_require__.e(931), __webpack_require__.e(704), __webpack_require__.e(544)]).then(__webpack_require__.bind(__webpack_require__, 17919));
|
|
2581
2581
|
});
|
|
2582
2582
|
const MicroscopyViewport = props => {
|
|
2583
2583
|
return /*#__PURE__*/react.createElement(react.Suspense, {
|
|
@@ -2628,7 +2628,7 @@ const MicroscopyViewport = props => {
|
|
|
2628
2628
|
const {
|
|
2629
2629
|
viewportOptions
|
|
2630
2630
|
} = props;
|
|
2631
|
-
const [viewportGrid, viewportGridService] = (0,src/* useViewportGrid */.
|
|
2631
|
+
const [viewportGrid, viewportGridService] = (0,src/* useViewportGrid */.ih)();
|
|
2632
2632
|
const {
|
|
2633
2633
|
activeViewportId
|
|
2634
2634
|
} = viewportGrid;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[290],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 23722:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
// EXPORTS
|
|
9
9
|
__webpack_require__.d(__webpack_exports__, {
|
|
10
|
-
|
|
10
|
+
FC: () => (/* reexport */ esm_cornerstoneStreamingImageVolumeLoader)
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// UNUSED EXPORTS: Enums, StreamingDynamicImageVolume, StreamingImageVolume, cornerstoneStreamingDynamicImageVolumeLoader, helpers
|
|
14
14
|
|
|
15
15
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 376 modules
|
|
16
|
-
var esm = __webpack_require__(
|
|
16
|
+
var esm = __webpack_require__(28991);
|
|
17
17
|
// EXTERNAL MODULE: ../../../node_modules/gl-matrix/esm/index.js + 10 modules
|
|
18
|
-
var gl_matrix_esm = __webpack_require__(
|
|
18
|
+
var gl_matrix_esm = __webpack_require__(83636);
|
|
19
19
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/streaming-image-volume-loader/dist/esm/helpers/getVolumeInfo.js
|
|
20
20
|
|
|
21
21
|
|
|
@@ -188,7 +188,7 @@ const requestTypeDefault = esm.Enums.RequestType.Prefetch;
|
|
|
188
188
|
const { ProgressiveIterator } = esm.utilities;
|
|
189
189
|
const { ImageQualityStatus } = esm.Enums;
|
|
190
190
|
const { imageRetrieveMetadataProvider } = esm.utilities;
|
|
191
|
-
class
|
|
191
|
+
class BaseStreamingImageVolume extends esm.ImageVolume {
|
|
192
192
|
constructor(imageVolumeProperties, streamingProperties) {
|
|
193
193
|
super(imageVolumeProperties);
|
|
194
194
|
this.framesLoaded = 0;
|
|
@@ -657,7 +657,7 @@ function handleArrayBufferLoad(scalarData, image, options) {
|
|
|
657
657
|
|
|
658
658
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/streaming-image-volume-loader/dist/esm/StreamingImageVolume.js
|
|
659
659
|
|
|
660
|
-
class StreamingImageVolume extends
|
|
660
|
+
class StreamingImageVolume extends BaseStreamingImageVolume {
|
|
661
661
|
constructor(imageVolumeProperties, streamingProperties) {
|
|
662
662
|
if (!imageVolumeProperties.imageIds) {
|
|
663
663
|
imageVolumeProperties.imageIds = streamingProperties.imageIds;
|
|
@@ -754,7 +754,7 @@ var Events;
|
|
|
754
754
|
(function (Events) {
|
|
755
755
|
Events["DYNAMIC_VOLUME_TIME_POINT_INDEX_CHANGED"] = "DYNAMIC_VOLUME_TIME_POINT_INDEX_CHANGED";
|
|
756
756
|
})(Events || (Events = {}));
|
|
757
|
-
/* harmony default export */ const enums_Events = (
|
|
757
|
+
/* harmony default export */ const enums_Events = (Events);
|
|
758
758
|
|
|
759
759
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/streaming-image-volume-loader/dist/esm/enums/index.js
|
|
760
760
|
|
|
@@ -764,7 +764,7 @@ var Events;
|
|
|
764
764
|
|
|
765
765
|
|
|
766
766
|
|
|
767
|
-
class StreamingDynamicImageVolume_StreamingDynamicImageVolume extends
|
|
767
|
+
class StreamingDynamicImageVolume_StreamingDynamicImageVolume extends BaseStreamingImageVolume {
|
|
768
768
|
constructor(imageVolumeProperties, streamingProperties) {
|
|
769
769
|
StreamingDynamicImageVolume_StreamingDynamicImageVolume._ensureValidData(imageVolumeProperties, streamingProperties);
|
|
770
770
|
super(imageVolumeProperties, streamingProperties);
|
|
@@ -853,7 +853,7 @@ class StreamingDynamicImageVolume_StreamingDynamicImageVolume extends (/* unused
|
|
|
853
853
|
this._timePointIndex = newTimePointIndex;
|
|
854
854
|
imageData.getPointData().setActiveScalars(`timePoint-${newTimePointIndex}`);
|
|
855
855
|
this.invalidateVolume(true);
|
|
856
|
-
triggerEvent(eventTarget,
|
|
856
|
+
(0,esm.triggerEvent)(esm.eventTarget, enums_Events.DYNAMIC_VOLUME_TIME_POINT_INDEX_CHANGED, {
|
|
857
857
|
volumeId: this.volumeId,
|
|
858
858
|
timePointIndex: newTimePointIndex,
|
|
859
859
|
});
|
|
@@ -935,11 +935,11 @@ const helpers = {
|
|
|
935
935
|
|
|
936
936
|
/***/ }),
|
|
937
937
|
|
|
938
|
-
/***/
|
|
938
|
+
/***/ 90445:
|
|
939
939
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
940
940
|
|
|
941
941
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
942
|
-
/* harmony export */
|
|
942
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
943
943
|
/* harmony export */ });
|
|
944
944
|
/*!
|
|
945
945
|
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[295],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 58295:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
// ESM COMPAT FLAG
|
|
@@ -13,16 +13,16 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13
13
|
});
|
|
14
14
|
|
|
15
15
|
// EXTERNAL MODULE: ../../../node_modules/prop-types/index.js
|
|
16
|
-
var prop_types = __webpack_require__(
|
|
16
|
+
var prop_types = __webpack_require__(11374);
|
|
17
17
|
var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
18
18
|
// EXTERNAL MODULE: ../../../node_modules/react/index.js
|
|
19
|
-
var react = __webpack_require__(
|
|
19
|
+
var react = __webpack_require__(41766);
|
|
20
20
|
// EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
|
|
21
|
-
var es = __webpack_require__(
|
|
21
|
+
var es = __webpack_require__(80619);
|
|
22
22
|
// EXTERNAL MODULE: ../../core/src/index.ts + 65 modules
|
|
23
|
-
var src = __webpack_require__(
|
|
23
|
+
var src = __webpack_require__(30257);
|
|
24
24
|
// EXTERNAL MODULE: ../../ui/src/index.js + 487 modules
|
|
25
|
-
var ui_src = __webpack_require__(
|
|
25
|
+
var ui_src = __webpack_require__(55395);
|
|
26
26
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dicom-seg/src/utils/initSEGToolGroup.ts
|
|
27
27
|
function createSEGToolGroupAndAddTools(ToolGroupService, customizationService, toolGroupId) {
|
|
28
28
|
const {
|
|
@@ -66,11 +66,11 @@ function _askHydrate(uiViewportDialogService, viewportId) {
|
|
|
66
66
|
return new Promise(function (resolve, reject) {
|
|
67
67
|
const message = 'Do you want to open this Segmentation?';
|
|
68
68
|
const actions = [{
|
|
69
|
-
type: ui_src/* ButtonEnums.type */.
|
|
69
|
+
type: ui_src/* ButtonEnums.type */.Ny.NW.secondary,
|
|
70
70
|
text: 'No',
|
|
71
71
|
value: RESPONSE.CANCEL
|
|
72
72
|
}, {
|
|
73
|
-
type: ui_src/* ButtonEnums.type */.
|
|
73
|
+
type: ui_src/* ButtonEnums.type */.Ny.NW.primary,
|
|
74
74
|
text: 'Yes',
|
|
75
75
|
value: RESPONSE.HYDRATE_SEG
|
|
76
76
|
}];
|
|
@@ -104,17 +104,17 @@ function _getStatusComponent({
|
|
|
104
104
|
let StatusIcon = null;
|
|
105
105
|
const {
|
|
106
106
|
t
|
|
107
|
-
} = (0,es/* useTranslation
|
|
107
|
+
} = (0,es/* useTranslation */.Bd)('Common');
|
|
108
108
|
const loadStr = t('LOAD');
|
|
109
109
|
switch (isHydrated) {
|
|
110
110
|
case true:
|
|
111
|
-
StatusIcon = () => /*#__PURE__*/react.createElement(ui_src/* Icon */.
|
|
111
|
+
StatusIcon = () => /*#__PURE__*/react.createElement(ui_src/* Icon */.In, {
|
|
112
112
|
name: "status-alert"
|
|
113
113
|
});
|
|
114
114
|
ToolTipMessage = () => /*#__PURE__*/react.createElement("div", null, "This Segmentation is loaded in the segmentation panel");
|
|
115
115
|
break;
|
|
116
116
|
case false:
|
|
117
|
-
StatusIcon = () => /*#__PURE__*/react.createElement(ui_src/* Icon */.
|
|
117
|
+
StatusIcon = () => /*#__PURE__*/react.createElement(ui_src/* Icon */.In, {
|
|
118
118
|
className: "text-aqua-pale",
|
|
119
119
|
name: "status-untracked"
|
|
120
120
|
});
|
|
@@ -132,7 +132,7 @@ function _getStatusComponent({
|
|
|
132
132
|
,
|
|
133
133
|
onMouseUp: onStatusClick
|
|
134
134
|
}, loadStr));
|
|
135
|
-
return /*#__PURE__*/react.createElement(react.Fragment, null, ToolTipMessage && /*#__PURE__*/react.createElement(ui_src/* Tooltip */.
|
|
135
|
+
return /*#__PURE__*/react.createElement(react.Fragment, null, ToolTipMessage && /*#__PURE__*/react.createElement(ui_src/* Tooltip */.m_, {
|
|
136
136
|
content: /*#__PURE__*/react.createElement(ToolTipMessage, null),
|
|
137
137
|
position: "bottom-left"
|
|
138
138
|
}, /*#__PURE__*/react.createElement(StatusArea, null)), !ToolTipMessage && /*#__PURE__*/react.createElement(StatusArea, null));
|
|
@@ -149,7 +149,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
149
149
|
|
|
150
150
|
const {
|
|
151
151
|
formatDate
|
|
152
|
-
} = src
|
|
152
|
+
} = src/* utils */.Wp;
|
|
153
153
|
const SEG_TOOLGROUP_BASE_NAME = 'SEGToolGroup';
|
|
154
154
|
function OHIFCornerstoneSEGViewport(props) {
|
|
155
155
|
const {
|
|
@@ -163,7 +163,7 @@ function OHIFCornerstoneSEGViewport(props) {
|
|
|
163
163
|
} = props;
|
|
164
164
|
const {
|
|
165
165
|
t
|
|
166
|
-
} = (0,es/* useTranslation
|
|
166
|
+
} = (0,es/* useTranslation */.Bd)('SEGViewport');
|
|
167
167
|
const viewportId = viewportOptions.viewportId;
|
|
168
168
|
const {
|
|
169
169
|
displaySetService,
|
|
@@ -179,7 +179,7 @@ function OHIFCornerstoneSEGViewport(props) {
|
|
|
179
179
|
throw new Error('SEG viewport should only have a single display set');
|
|
180
180
|
}
|
|
181
181
|
const segDisplaySet = displaySets[0];
|
|
182
|
-
const [viewportGrid, viewportGridService] = (0,ui_src/* useViewportGrid */.
|
|
182
|
+
const [viewportGrid, viewportGridService] = (0,ui_src/* useViewportGrid */.ih)();
|
|
183
183
|
|
|
184
184
|
// States
|
|
185
185
|
const [selectedSegment, setSelectedSegment] = (0,react.useState)(1);
|
|
@@ -249,7 +249,6 @@ function OHIFCornerstoneSEGViewport(props) {
|
|
|
249
249
|
},
|
|
250
250
|
onElementEnabled: onElementEnabled,
|
|
251
251
|
onElementDisabled: onElementDisabled
|
|
252
|
-
// initialImageIndex={initialImageIndex}
|
|
253
252
|
}));
|
|
254
253
|
}, [viewportId, segDisplaySet, toolGroupId]);
|
|
255
254
|
const onSegmentChange = (0,react.useCallback)(direction => {
|
|
@@ -409,7 +408,7 @@ function OHIFCornerstoneSEGViewport(props) {
|
|
|
409
408
|
});
|
|
410
409
|
setIsHydrated(isHydrated);
|
|
411
410
|
};
|
|
412
|
-
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(ui_src/* ViewportActionBar */.
|
|
411
|
+
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(ui_src/* ViewportActionBar */.cS, {
|
|
413
412
|
onDoubleClick: evt => {
|
|
414
413
|
evt.stopPropagation();
|
|
415
414
|
evt.preventDefault();
|
|
@@ -427,19 +426,19 @@ function OHIFCornerstoneSEGViewport(props) {
|
|
|
427
426
|
studyDate: formatDate(StudyDate),
|
|
428
427
|
seriesDescription: `SEG Viewport ${SeriesDescription}`,
|
|
429
428
|
patientInformation: {
|
|
430
|
-
patientName: PatientName ? src
|
|
429
|
+
patientName: PatientName ? src/* default.utils */.Ay.utils.formatPN(PatientName.Alphabetic) : '',
|
|
431
430
|
patientSex: PatientSex || '',
|
|
432
431
|
patientAge: PatientAge || '',
|
|
433
432
|
MRN: PatientID || '',
|
|
434
|
-
thickness: SliceThickness ? src
|
|
433
|
+
thickness: SliceThickness ? src/* utils */.Wp.roundNumber(SliceThickness, 2) : '',
|
|
435
434
|
thicknessUnits: SliceThickness !== undefined ? 'mm' : '',
|
|
436
|
-
spacing: SpacingBetweenSlices !== undefined ? src
|
|
435
|
+
spacing: SpacingBetweenSlices !== undefined ? src/* utils */.Wp.roundNumber(SpacingBetweenSlices, 2) : '',
|
|
437
436
|
scanner: ManufacturerModelName || ''
|
|
438
437
|
}
|
|
439
438
|
}
|
|
440
439
|
}), /*#__PURE__*/react.createElement("div", {
|
|
441
440
|
className: "relative flex h-full w-full flex-row overflow-hidden"
|
|
442
|
-
}, segIsLoading && /*#__PURE__*/react.createElement(ui_src/* LoadingIndicatorTotalPercent */.
|
|
441
|
+
}, segIsLoading && /*#__PURE__*/react.createElement(ui_src/* LoadingIndicatorTotalPercent */.pT, {
|
|
443
442
|
className: "h-full w-full",
|
|
444
443
|
totalNumbers: processingProgress.totalSegments,
|
|
445
444
|
percentComplete: processingProgress.percentComplete,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[297],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 46297:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
__webpack_require__.r(__webpack_exports__);
|
|
8
8
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
10
10
|
/* harmony export */ });
|
|
11
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
12
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
11
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41766);
|
|
12
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11374);
|
|
13
13
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
|
14
14
|
|
|
15
15
|
|