@ohif/app 3.9.0-beta.45 → 3.9.0-beta.47
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/031089e563a18ada8441.wasm +0 -0
- package/dist/{445.bundle.38c6d2af64e41cd7c614.js → 10.bundle.c626810bd199ab63f3a2.js} +3 -3
- package/dist/{501.bundle.2f703ca4598a3be0d748.js → 129.bundle.3102eccbd5c78524c3dd.js} +6036 -11592
- package/dist/{140.bundle.fcf29be726bb9dcea834.js → 153.bundle.d3732d0fdebb39e139b4.js} +7 -4
- package/dist/{139.bundle.09e5af0a9ae8a285af77.js → 169.bundle.eeb9614e7b06f896c70f.js} +65 -535
- package/dist/{139.css → 169.css} +0 -1
- package/dist/{164.bundle.2b23bfbcb23497d7c87a.js → 196.bundle.cf8c2311aafb5312bbf7.js} +15562 -8539
- package/dist/{342.bundle.fcb2038060a062129d34.js → 202.bundle.bb0e8196739bb896dc9e.js} +238 -276
- package/dist/{129.bundle.894f29369d609094208b.js → 210.bundle.d6d6cbd1b65e4f506ed1.js} +46 -46
- package/dist/{363.bundle.c7e38cf0c1fc7d19a701.js → 217.bundle.042317b439df47cd38b1.js} +2099 -195
- package/dist/{363.css → 217.css} +1 -0
- package/dist/{14.bundle.60eed1138c62b91572a7.js → 246.bundle.288317813cd5781e64f7.js} +11 -11
- package/dist/250.bundle.4743b359797751102600.js +663 -0
- package/dist/{944.bundle.baa0880e0bbde13fccc5.js → 281.bundle.5946cbee5150dec1532f.js} +241 -254
- package/dist/{727.bundle.7b7f3962207601643615.js → 286.bundle.985c5ebbb2158c7e59ab.js} +4 -4
- package/dist/29.bundle.976319462f33868497c2.js +12347 -0
- package/dist/{675.bundle.c9720f40fd7c7e9b7e54.js → 315.bundle.92d7aefc4dc9cfd951bd.js} +18 -18
- package/dist/{218.bundle.a1709956bc65c4f54874.js → 353.bundle.58b3ea80771ebaca956b.js} +8 -8
- package/dist/{799.bundle.33fc63add3b915d0c2b2.js → 360.bundle.81592d66456d25930928.js} +62 -62
- package/dist/{555.bundle.768f1594e1d40b707342.js → 372.bundle.5e3dc2539055ca5861e6.js} +50 -50
- package/dist/{211.bundle.194272cd32bedb302303.js → 376.bundle.45b94427174400b86d5d.js} +8 -8
- package/dist/{612.bundle.297a033523539e0b47f9.js → 412.bundle.836f106f6e2896dc42a5.js} +4 -4
- package/dist/{931.bundle.058f8de4606f27b31f4f.js → 417.bundle.abf8bcee0f246002acb9.js} +25 -25
- package/dist/{370.bundle.bd9884c274c26a54dfae.js → 428.bundle.744fc5865b2d747de88a.js} +829 -1511
- package/dist/{483.bundle.0f1848f6a2cf34829fef.js → 497.bundle.ee102d6243f984113f08.js} +141 -141
- package/dist/{323.bundle.955cc8f5eb5c01295118.js → 498.bundle.bb47c493dd02451f77ef.js} +17 -17
- package/dist/{552.bundle.0d11c419f675cb5a63b1.js → 502.bundle.857675fc2cbb2fbe3e47.js} +8 -9
- package/dist/{835.bundle.5d1951da8bbc6afdf3e0.js → 530.bundle.87f8b13ff55bf7b2a6d1.js} +28 -28
- package/dist/{121.bundle.57fe5a392b0910f33c2d.js → 552.bundle.95c0f28b051797242104.js} +733 -62
- package/dist/{265.bundle.61b0e1ce9d444704a976.js → 571.bundle.a80609c9815339516d77.js} +24 -24
- package/dist/{853.bundle.26b774ab3259f3e6087c.js → 591.bundle.1dca7dfd3e0490ea6dc1.js} +15 -14
- package/dist/604.bundle.83f50929b208c60e48da.js +1950 -0
- package/dist/610.min.worker.js +1 -1
- package/dist/610.min.worker.js.map +1 -1
- package/dist/{792.bundle.485ad2f98823a4b3feb1.js → 658.bundle.219ed199728759098008.js} +17 -17
- package/dist/{989.bundle.4be1e8f36734961852a8.js → 791.bundle.be08fa50f9a84244253b.js} +11 -11
- package/dist/{722.bundle.1242e0348afc63ca4f5e.js → 793.bundle.c92f52ddff0e3bf506e6.js} +13 -13
- package/dist/{914.bundle.e15be8089bf422ed7b51.js → 818.bundle.cda4e369fdee5459a544.js} +1239 -627
- package/dist/{726.bundle.90d63d40a19b058034ee.js → 831.bundle.9e1a3495947e5bb49756.js} +512 -512
- package/dist/{382.bundle.7cdad0f12b64f248dd28.js → 842.bundle.0664bcdeb7f153ab52bb.js} +11 -11
- package/dist/{806.bundle.1ec5fda0b16e053350d7.js → 888.bundle.2d02f805cedcf5d2ee7d.js} +14 -14
- package/dist/{702.bundle.963481fbf871984b646f.js → 909.bundle.1fbb8bb4c41d0bb2994d.js} +119 -381
- package/dist/{109.bundle.b4fee2a22b622839baf5.js → 931.bundle.f6fa2a436ace89ebf60f.js} +5036 -4642
- package/dist/{141.bundle.556b4c1e4cab770417ac.js → 937.bundle.cc709c922731f9496810.js} +86 -478
- package/dist/{444.bundle.75f58f53dab4d04db97d.js → 944.bundle.194f4f4e4e55ec466b78.js} +9 -10
- package/dist/945.min.worker.js +1 -1
- package/dist/945.min.worker.js.map +1 -1
- package/dist/{194.bundle.e6fb48f13f312eded76b.js → 962.bundle.225fcd92e6a5af66b6a2.js} +33 -37
- package/dist/{920.bundle.f75637a18563de8c8235.js → 978.bundle.4edc8c4615d7e3b4717a.js} +6 -6
- package/dist/{236.bundle.34db90a140e37d34fd71.js → 993.bundle.aa31ebda5a5f62c44de5.js} +2363 -2351
- package/dist/{717.bundle.3b84fbd289af82208a19.js → 994.bundle.269ce05b16fd6aa28006.js} +90 -164
- package/dist/app-config.js +58 -4
- package/dist/app.bundle.css +3 -3
- package/dist/{app.bundle.e2d3b6781252f9c7b2a3.js → app.bundle.ecc3736aff52e6abfd49.js} +52547 -36094
- package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
- package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
- package/dist/dicom-microscopy-viewer/5004fdc02f329ce53b69.wasm +0 -0
- package/dist/dicom-microscopy-viewer/c22b37c3488e1d6c3aa4.wasm +0 -0
- package/dist/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js +3 -0
- package/dist/{dicomMicroscopyViewer.min.js.LICENSE.txt → dicom-microscopy-viewer/dicomMicroscopyViewer.min.js.LICENSE.txt} +11 -0
- package/dist/dicom-microscopy-viewer/index.worker.min.worker.js +2 -0
- package/dist/dicom-microscopy-viewer/index.worker.min.worker.js.map +1 -0
- package/dist/{histogram-worker.bundle.6b31e5ed4c4a7a6998f2.js → histogram-worker.bundle.e7e9fea2c3236b0e747a.js} +12 -16
- package/dist/index.html +1 -1
- package/dist/index.worker.5a5a581362c14598c3d9.worker.js +2 -0
- package/dist/index.worker.5a5a581362c14598c3d9.worker.js.map +1 -0
- package/dist/{polySeg.bundle.df492df5042827938ba4.js → polySeg.bundle.b25c61224998018d0f79.js} +24 -5
- package/dist/{suv-peak-worker.bundle.8f4b505fad3d371489fe.js → suv-peak-worker.bundle.eb11e71db02e52601ecf.js} +40 -21
- package/dist/sw.js +1 -1
- package/package.json +25 -33
- package/dist/117.bundle.1f7b56504d506e7259e3.js +0 -6552
- package/dist/172.bundle.e0ee762bee7496d6491e.js +0 -662
- package/dist/36785fbd89b0e17f6099.wasm +0 -0
- package/dist/62ab5d58a2bea7b5a1dc.wasm +0 -0
- package/dist/644.bundle.1e77691d2eeb96a423b0.js +0 -19159
- package/dist/75a0c2dfe07b824c7d21.wasm +0 -0
- package/dist/dicom-microscopy-viewer.bundle.d3a56dc9f62df5e11019.js +0 -13
- package/dist/dicomMicroscopyViewer.min.js +0 -3
- package/dist/index.worker.f4bda803c15bc6359d5f.worker.js +0 -2
- package/dist/index.worker.f4bda803c15bc6359d5f.worker.js.map +0 -1
- package/dist/index.worker.min.worker.js +0 -2
- package/dist/index.worker.min.worker.js.map +0 -1
- /package/dist/{129.css → 210.css} +0 -0
- /package/dist/{727.css → 286.css} +0 -0
- /package/dist/{172.css → 552.css} +0 -0
- /package/dist/{404.css → 757.css} +0 -0
- /package/dist/{717.css → 994.css} +0 -0
- /package/dist/{65916ef3def695744bda.wasm → dicom-microscopy-viewer/65916ef3def695744bda.wasm} +0 -0
- /package/dist/{b6b803111e2d06a825bd.wasm → dicom-microscopy-viewer/b6b803111e2d06a825bd.wasm} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[994,757],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 89859:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
// EXPORTS
|
|
9
9
|
__webpack_require__.d(__webpack_exports__, {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
Z: () => (/* binding */ src_getContextModule),
|
|
11
|
+
I: () => (/* reexport */ useTrackedMeasurements)
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
// EXTERNAL MODULE: ../../../node_modules/react/index.js
|
|
15
|
-
var react = __webpack_require__(
|
|
15
|
+
var react = __webpack_require__(43001);
|
|
16
16
|
// EXTERNAL MODULE: ../../../node_modules/prop-types/index.js
|
|
17
|
-
var prop_types = __webpack_require__(
|
|
17
|
+
var prop_types = __webpack_require__(3827);
|
|
18
18
|
var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
19
19
|
// EXTERNAL MODULE: ../../../node_modules/xstate/es/index.js + 22 modules
|
|
20
|
-
var es = __webpack_require__(
|
|
20
|
+
var es = __webpack_require__(261);
|
|
21
21
|
// EXTERNAL MODULE: ../../../node_modules/@xstate/react/es/index.js + 8 modules
|
|
22
|
-
var react_es = __webpack_require__(
|
|
23
|
-
// EXTERNAL MODULE: ../../ui/src/index.js +
|
|
24
|
-
var src = __webpack_require__(
|
|
22
|
+
var react_es = __webpack_require__(44530);
|
|
23
|
+
// EXTERNAL MODULE: ../../ui/src/index.js + 784 modules
|
|
24
|
+
var src = __webpack_require__(38604);
|
|
25
25
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/contexts/TrackedMeasurementsContext/measurementTrackingMachine.js
|
|
26
26
|
|
|
27
27
|
const RESPONSE = {
|
|
@@ -86,7 +86,7 @@ const machineConfiguration = {
|
|
|
86
86
|
RESTORE_PROMPT_HYDRATE_SR: 'promptHydrateStructuredReport',
|
|
87
87
|
HYDRATE_SR: 'hydrateStructuredReport',
|
|
88
88
|
UPDATE_ACTIVE_VIEWPORT_ID: {
|
|
89
|
-
actions: (0,es/* assign */.
|
|
89
|
+
actions: (0,es/* assign */.f0)({
|
|
90
90
|
activeViewportId: (_, event) => event.activeViewportId
|
|
91
91
|
})
|
|
92
92
|
}
|
|
@@ -300,7 +300,7 @@ const defaultOptions = {
|
|
|
300
300
|
showStructuredReportDisplaySetInActiveViewport: (ctx, evt) => {
|
|
301
301
|
console.warn('showStructuredReportDisplaySetInActiveViewport: not implemented');
|
|
302
302
|
},
|
|
303
|
-
clearContext: (0,es/* assign */.
|
|
303
|
+
clearContext: (0,es/* assign */.f0)({
|
|
304
304
|
trackedStudy: '',
|
|
305
305
|
trackedSeries: [],
|
|
306
306
|
ignoredSeries: [],
|
|
@@ -309,7 +309,7 @@ const defaultOptions = {
|
|
|
309
309
|
prevIgnoredSeries: []
|
|
310
310
|
}),
|
|
311
311
|
// Promise resolves w/ `evt.data.*`
|
|
312
|
-
setTrackedStudyAndSeries: (0,es/* assign */.
|
|
312
|
+
setTrackedStudyAndSeries: (0,es/* assign */.f0)((ctx, evt) => ({
|
|
313
313
|
prevTrackedStudy: ctx.trackedStudy,
|
|
314
314
|
prevTrackedSeries: ctx.trackedSeries.slice(),
|
|
315
315
|
prevIgnoredSeries: ctx.ignoredSeries.slice(),
|
|
@@ -318,7 +318,7 @@ const defaultOptions = {
|
|
|
318
318
|
trackedSeries: [evt.data.SeriesInstanceUID],
|
|
319
319
|
ignoredSeries: []
|
|
320
320
|
})),
|
|
321
|
-
setTrackedStudyAndMultipleSeries: (0,es/* assign */.
|
|
321
|
+
setTrackedStudyAndMultipleSeries: (0,es/* assign */.f0)((ctx, evt) => {
|
|
322
322
|
const studyInstanceUID = evt.StudyInstanceUID || evt.data.StudyInstanceUID;
|
|
323
323
|
const seriesInstanceUIDs = evt.SeriesInstanceUIDs || evt.data.SeriesInstanceUIDs;
|
|
324
324
|
return {
|
|
@@ -331,28 +331,28 @@ const defaultOptions = {
|
|
|
331
331
|
ignoredSeries: []
|
|
332
332
|
};
|
|
333
333
|
}),
|
|
334
|
-
setIsDirtyToClean: (0,es/* assign */.
|
|
334
|
+
setIsDirtyToClean: (0,es/* assign */.f0)((ctx, evt) => ({
|
|
335
335
|
isDirty: false
|
|
336
336
|
})),
|
|
337
|
-
setIsDirty: (0,es/* assign */.
|
|
337
|
+
setIsDirty: (0,es/* assign */.f0)((ctx, evt) => ({
|
|
338
338
|
isDirty: true
|
|
339
339
|
})),
|
|
340
|
-
ignoreSeries: (0,es/* assign */.
|
|
340
|
+
ignoreSeries: (0,es/* assign */.f0)((ctx, evt) => ({
|
|
341
341
|
prevIgnoredSeries: [...ctx.ignoredSeries],
|
|
342
342
|
ignoredSeries: [...ctx.ignoredSeries, evt.data.SeriesInstanceUID]
|
|
343
343
|
})),
|
|
344
|
-
ignoreHydrationForSRSeries: (0,es/* assign */.
|
|
344
|
+
ignoreHydrationForSRSeries: (0,es/* assign */.f0)((ctx, evt) => ({
|
|
345
345
|
ignoredSRSeriesForHydration: [...ctx.ignoredSRSeriesForHydration, evt.data.srSeriesInstanceUID]
|
|
346
346
|
})),
|
|
347
|
-
addTrackedSeries: (0,es/* assign */.
|
|
347
|
+
addTrackedSeries: (0,es/* assign */.f0)((ctx, evt) => ({
|
|
348
348
|
prevTrackedSeries: [...ctx.trackedSeries],
|
|
349
349
|
trackedSeries: [...ctx.trackedSeries, evt.data.SeriesInstanceUID]
|
|
350
350
|
})),
|
|
351
|
-
removeTrackedSeries: (0,es/* assign */.
|
|
351
|
+
removeTrackedSeries: (0,es/* assign */.f0)((ctx, evt) => ({
|
|
352
352
|
prevTrackedSeries: ctx.trackedSeries.slice().filter(ser => ser !== evt.SeriesInstanceUID),
|
|
353
353
|
trackedSeries: ctx.trackedSeries.slice().filter(ser => ser !== evt.SeriesInstanceUID)
|
|
354
354
|
})),
|
|
355
|
-
setPreviousState: (0,es/* assign */.
|
|
355
|
+
setPreviousState: (0,es/* assign */.f0)((ctx, evt, meta) => {
|
|
356
356
|
return {
|
|
357
357
|
prevState: meta.state.value
|
|
358
358
|
};
|
|
@@ -418,7 +418,7 @@ const defaultOptions = {
|
|
|
418
418
|
};
|
|
419
419
|
|
|
420
420
|
// EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
|
|
421
|
-
var i18next = __webpack_require__(
|
|
421
|
+
var i18next = __webpack_require__(73577);
|
|
422
422
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/contexts/TrackedMeasurementsContext/promptBeginTracking.js
|
|
423
423
|
|
|
424
424
|
|
|
@@ -456,21 +456,21 @@ function promptBeginTracking({
|
|
|
456
456
|
}
|
|
457
457
|
function _askTrackMeasurements(uiViewportDialogService, viewportId) {
|
|
458
458
|
return new Promise(function (resolve, reject) {
|
|
459
|
-
const message = i18next/* default */.
|
|
459
|
+
const message = i18next/* default */.Z.t('MeasurementTable:Track measurements for this series?');
|
|
460
460
|
const actions = [{
|
|
461
461
|
id: 'prompt-begin-tracking-cancel',
|
|
462
|
-
type: src/* ButtonEnums.type */.
|
|
463
|
-
text: i18next/* default */.
|
|
462
|
+
type: src/* ButtonEnums.type */.LZ.dt.secondary,
|
|
463
|
+
text: i18next/* default */.Z.t('Common:No'),
|
|
464
464
|
value: promptBeginTracking_RESPONSE.CANCEL
|
|
465
465
|
}, {
|
|
466
466
|
id: 'prompt-begin-tracking-no-do-not-ask-again',
|
|
467
|
-
type: src/* ButtonEnums.type */.
|
|
468
|
-
text: i18next/* default */.
|
|
467
|
+
type: src/* ButtonEnums.type */.LZ.dt.secondary,
|
|
468
|
+
text: i18next/* default */.Z.t('MeasurementTable:No, do not ask again'),
|
|
469
469
|
value: promptBeginTracking_RESPONSE.NO_NEVER
|
|
470
470
|
}, {
|
|
471
471
|
id: 'prompt-begin-tracking-yes',
|
|
472
|
-
type: src/* ButtonEnums.type */.
|
|
473
|
-
text: i18next/* default */.
|
|
472
|
+
type: src/* ButtonEnums.type */.LZ.dt.primary,
|
|
473
|
+
text: i18next/* default */.Z.t('Common:Yes'),
|
|
474
474
|
value: promptBeginTracking_RESPONSE.SET_STUDY_AND_SERIES
|
|
475
475
|
}];
|
|
476
476
|
const onSubmit = result => {
|
|
@@ -540,15 +540,15 @@ function _askShouldAddMeasurements(uiViewportDialogService, viewportId) {
|
|
|
540
540
|
return new Promise(function (resolve, reject) {
|
|
541
541
|
const message = 'Do you want to add this measurement to the existing report?';
|
|
542
542
|
const actions = [{
|
|
543
|
-
type: src/* ButtonEnums.type */.
|
|
543
|
+
type: src/* ButtonEnums.type */.LZ.dt.secondary,
|
|
544
544
|
text: 'Cancel',
|
|
545
545
|
value: promptTrackNewSeries_RESPONSE.CANCEL
|
|
546
546
|
}, {
|
|
547
|
-
type: src/* ButtonEnums.type */.
|
|
547
|
+
type: src/* ButtonEnums.type */.LZ.dt.primary,
|
|
548
548
|
text: 'Create new report',
|
|
549
549
|
value: promptTrackNewSeries_RESPONSE.CREATE_REPORT
|
|
550
550
|
}, {
|
|
551
|
-
type: src/* ButtonEnums.type */.
|
|
551
|
+
type: src/* ButtonEnums.type */.LZ.dt.primary,
|
|
552
552
|
text: 'Add to existing report',
|
|
553
553
|
value: promptTrackNewSeries_RESPONSE.ADD_SERIES
|
|
554
554
|
}];
|
|
@@ -643,18 +643,18 @@ function promptTrackNewStudy({
|
|
|
643
643
|
}
|
|
644
644
|
function promptTrackNewStudy_askTrackMeasurements(UIViewportDialogService, viewportId) {
|
|
645
645
|
return new Promise(function (resolve, reject) {
|
|
646
|
-
const message = i18next/* default */.
|
|
646
|
+
const message = i18next/* default */.Z.t('MeasurementTable:Track measurements for this series?');
|
|
647
647
|
const actions = [{
|
|
648
648
|
type: 'cancel',
|
|
649
|
-
text: i18next/* default */.
|
|
649
|
+
text: i18next/* default */.Z.t('MeasurementTable:No'),
|
|
650
650
|
value: promptTrackNewStudy_RESPONSE.CANCEL
|
|
651
651
|
}, {
|
|
652
652
|
type: 'secondary',
|
|
653
|
-
text: i18next/* default */.
|
|
653
|
+
text: i18next/* default */.Z.t('MeasurementTable:No, do not ask again'),
|
|
654
654
|
value: promptTrackNewStudy_RESPONSE.NO_NOT_FOR_SERIES
|
|
655
655
|
}, {
|
|
656
656
|
type: 'primary',
|
|
657
|
-
text: i18next/* default */.
|
|
657
|
+
text: i18next/* default */.Z.t('MeasurementTable:Yes'),
|
|
658
658
|
value: promptTrackNewStudy_RESPONSE.SET_STUDY_AND_SERIES
|
|
659
659
|
}];
|
|
660
660
|
const onSubmit = result => {
|
|
@@ -715,7 +715,7 @@ function promptTrackNewStudy_askSaveDiscardOrCancel(UIViewportDialogService, vie
|
|
|
715
715
|
}
|
|
716
716
|
/* harmony default export */ const TrackedMeasurementsContext_promptTrackNewStudy = (promptTrackNewStudy);
|
|
717
717
|
// EXTERNAL MODULE: ../../../extensions/default/src/index.ts + 93 modules
|
|
718
|
-
var default_src = __webpack_require__(
|
|
718
|
+
var default_src = __webpack_require__(32281);
|
|
719
719
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/_shared/getNextSRSeriesNumber.js
|
|
720
720
|
const MIN_SR_SERIES_NUMBER = 4700;
|
|
721
721
|
function getNextSRSeriesNumber(displaySetService) {
|
|
@@ -805,7 +805,7 @@ async function promptSaveReport({
|
|
|
805
805
|
}
|
|
806
806
|
/* harmony default export */ const TrackedMeasurementsContext_promptSaveReport = (promptSaveReport);
|
|
807
807
|
// EXTERNAL MODULE: ../../../extensions/cornerstone-dicom-sr/src/index.tsx + 14 modules
|
|
808
|
-
var cornerstone_dicom_sr_src = __webpack_require__(
|
|
808
|
+
var cornerstone_dicom_sr_src = __webpack_require__(97360);
|
|
809
809
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/contexts/TrackedMeasurementsContext/promptHydrateStructuredReport.js
|
|
810
810
|
|
|
811
811
|
|
|
@@ -861,11 +861,11 @@ function promptHydrateStructuredReport_askTrackMeasurements(uiViewportDialogServ
|
|
|
861
861
|
return new Promise(function (resolve, reject) {
|
|
862
862
|
const message = 'Do you want to continue tracking measurements for this study?';
|
|
863
863
|
const actions = [{
|
|
864
|
-
type: src/* ButtonEnums.type */.
|
|
864
|
+
type: src/* ButtonEnums.type */.LZ.dt.secondary,
|
|
865
865
|
text: 'No',
|
|
866
866
|
value: promptHydrateStructuredReport_RESPONSE.CANCEL
|
|
867
867
|
}, {
|
|
868
|
-
type: src/* ButtonEnums.type */.
|
|
868
|
+
type: src/* ButtonEnums.type */.LZ.dt.primary,
|
|
869
869
|
text: 'Yes',
|
|
870
870
|
value: promptHydrateStructuredReport_RESPONSE.HYDRATE_REPORT
|
|
871
871
|
}];
|
|
@@ -927,7 +927,7 @@ function hydrateStructuredReport({
|
|
|
927
927
|
}
|
|
928
928
|
/* harmony default export */ const TrackedMeasurementsContext_hydrateStructuredReport = (hydrateStructuredReport);
|
|
929
929
|
// EXTERNAL MODULE: ./state/index.js + 1 modules
|
|
930
|
-
var state = __webpack_require__(
|
|
930
|
+
var state = __webpack_require__(52490);
|
|
931
931
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/contexts/TrackedMeasurementsContext/promptLabelAnnotation.js
|
|
932
932
|
function promptLabelAnnotation({
|
|
933
933
|
servicesManager,
|
|
@@ -996,8 +996,8 @@ function TrackedMeasurementsContextProvider({
|
|
|
996
996
|
children
|
|
997
997
|
} // Component props
|
|
998
998
|
) {
|
|
999
|
-
const [appConfig] = (0,state/* useAppConfig */.
|
|
1000
|
-
const [viewportGrid, viewportGridService] = (0,src/* useViewportGrid */.
|
|
999
|
+
const [appConfig] = (0,state/* useAppConfig */.M)();
|
|
1000
|
+
const [viewportGrid, viewportGridService] = (0,src/* useViewportGrid */.O_)();
|
|
1001
1001
|
const {
|
|
1002
1002
|
activeViewportId,
|
|
1003
1003
|
viewports
|
|
@@ -1151,8 +1151,8 @@ function TrackedMeasurementsContextProvider({
|
|
|
1151
1151
|
// - Fix viewport border resize
|
|
1152
1152
|
// - created/destroyed hooks for extensions (cornerstone measurement subscriptions in it's `init`)
|
|
1153
1153
|
|
|
1154
|
-
const measurementTrackingMachine = (0,es/* Machine */.
|
|
1155
|
-
const [trackedMeasurements, sendTrackedMeasurementsEvent] = (0,react_es/* useMachine */.
|
|
1154
|
+
const measurementTrackingMachine = (0,es/* Machine */.J)(machineConfiguration, machineOptions);
|
|
1155
|
+
const [trackedMeasurements, sendTrackedMeasurementsEvent] = (0,react_es/* useMachine */.eO)(measurementTrackingMachine);
|
|
1156
1156
|
(0,react.useEffect)(() => {
|
|
1157
1157
|
// Update the state machine with the active viewport ID
|
|
1158
1158
|
sendTrackedMeasurementsEvent('UPDATE_ACTIVE_VIEWPORT_ID', {
|
|
@@ -1249,7 +1249,7 @@ function getContextModule({
|
|
|
1249
1249
|
|
|
1250
1250
|
/***/ }),
|
|
1251
1251
|
|
|
1252
|
-
/***/
|
|
1252
|
+
/***/ 64595:
|
|
1253
1253
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1254
1254
|
|
|
1255
1255
|
// ESM COMPAT FLAG
|
|
@@ -1261,20 +1261,20 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1261
1261
|
});
|
|
1262
1262
|
|
|
1263
1263
|
// EXTERNAL MODULE: ../../../extensions/measurement-tracking/src/getContextModule.tsx + 13 modules
|
|
1264
|
-
var getContextModule = __webpack_require__(
|
|
1264
|
+
var getContextModule = __webpack_require__(89859);
|
|
1265
1265
|
// EXTERNAL MODULE: ../../../node_modules/react/index.js
|
|
1266
|
-
var react = __webpack_require__(
|
|
1266
|
+
var react = __webpack_require__(43001);
|
|
1267
1267
|
// EXTERNAL MODULE: ../../../node_modules/prop-types/index.js
|
|
1268
|
-
var prop_types = __webpack_require__(
|
|
1268
|
+
var prop_types = __webpack_require__(3827);
|
|
1269
1269
|
var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
1270
1270
|
// EXTERNAL MODULE: ../node_modules/react-router-dom/dist/index.js
|
|
1271
|
-
var dist = __webpack_require__(
|
|
1271
|
+
var dist = __webpack_require__(62474);
|
|
1272
1272
|
// EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
|
|
1273
|
-
var es = __webpack_require__(
|
|
1273
|
+
var es = __webpack_require__(69190);
|
|
1274
1274
|
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
1275
|
-
var src = __webpack_require__(
|
|
1276
|
-
// EXTERNAL MODULE: ../../ui/src/index.js +
|
|
1277
|
-
var ui_src = __webpack_require__(
|
|
1275
|
+
var src = __webpack_require__(63810);
|
|
1276
|
+
// EXTERNAL MODULE: ../../ui/src/index.js + 784 modules
|
|
1277
|
+
var ui_src = __webpack_require__(38604);
|
|
1278
1278
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/PanelStudyBrowserTracking.tsx
|
|
1279
1279
|
|
|
1280
1280
|
|
|
@@ -1284,7 +1284,8 @@ var ui_src = __webpack_require__(79047);
|
|
|
1284
1284
|
|
|
1285
1285
|
|
|
1286
1286
|
const {
|
|
1287
|
-
formatDate
|
|
1287
|
+
formatDate,
|
|
1288
|
+
createStudyBrowserTabs
|
|
1288
1289
|
} = src.utils;
|
|
1289
1290
|
|
|
1290
1291
|
/**
|
|
@@ -1305,23 +1306,23 @@ function PanelStudyBrowserTracking({
|
|
|
1305
1306
|
uiNotificationService,
|
|
1306
1307
|
measurementService
|
|
1307
1308
|
} = servicesManager.services;
|
|
1308
|
-
const navigate = (0,dist/* useNavigate */.
|
|
1309
|
+
const navigate = (0,dist/* useNavigate */.s0)();
|
|
1309
1310
|
const {
|
|
1310
1311
|
t
|
|
1311
|
-
} = (0,es/* useTranslation
|
|
1312
|
+
} = (0,es/* useTranslation */.$G)('Common');
|
|
1312
1313
|
|
|
1313
1314
|
// Normally you nest the components so the tree isn't so deep, and the data
|
|
1314
1315
|
// doesn't have to have such an intense shape. This works well enough for now.
|
|
1315
1316
|
// Tabs --> Studies --> DisplaySets --> Thumbnails
|
|
1316
1317
|
const {
|
|
1317
1318
|
StudyInstanceUIDs
|
|
1318
|
-
} = (0,ui_src/* useImageViewer */.
|
|
1319
|
+
} = (0,ui_src/* useImageViewer */.zG)();
|
|
1319
1320
|
const [{
|
|
1320
1321
|
activeViewportId,
|
|
1321
1322
|
viewports,
|
|
1322
1323
|
isHangingProtocolLayout
|
|
1323
|
-
}, viewportGridService] = (0,ui_src/* useViewportGrid */.
|
|
1324
|
-
const [trackedMeasurements, sendTrackedMeasurementsEvent] = (0,getContextModule/* useTrackedMeasurements */.
|
|
1324
|
+
}, viewportGridService] = (0,ui_src/* useViewportGrid */.O_)();
|
|
1325
|
+
const [trackedMeasurements, sendTrackedMeasurementsEvent] = (0,getContextModule/* useTrackedMeasurements */.I)();
|
|
1325
1326
|
const [activeTabName, setActiveTabName] = (0,react.useState)('primary');
|
|
1326
1327
|
const [expandedStudyInstanceUIDs, setExpandedStudyInstanceUIDs] = (0,react.useState)([...StudyInstanceUIDs]);
|
|
1327
1328
|
const [studyDisplayList, setStudyDisplayList] = (0,react.useState)([]);
|
|
@@ -1489,7 +1490,7 @@ function PanelStudyBrowserTracking({
|
|
|
1489
1490
|
SubscriptionDisplaySetMetaDataInvalidated.unsubscribe();
|
|
1490
1491
|
};
|
|
1491
1492
|
}, [thumbnailImageSrcMap, trackedSeries, viewports, dataSource, displaySetService]);
|
|
1492
|
-
const tabs =
|
|
1493
|
+
const tabs = createStudyBrowserTabs(StudyInstanceUIDs, studyDisplayList, displaySets);
|
|
1493
1494
|
|
|
1494
1495
|
// TODO: Should not fire this on "close"
|
|
1495
1496
|
function _handleStudyClick(StudyInstanceUID) {
|
|
@@ -1555,7 +1556,7 @@ function PanelStudyBrowserTracking({
|
|
|
1555
1556
|
centralize: true,
|
|
1556
1557
|
isDraggable: false,
|
|
1557
1558
|
showOverlay: true,
|
|
1558
|
-
content: ui_src/* Dialog */.
|
|
1559
|
+
content: ui_src/* Dialog */.Vq,
|
|
1559
1560
|
contentProps: {
|
|
1560
1561
|
title: 'Untrack Series',
|
|
1561
1562
|
body: () => /*#__PURE__*/react.createElement("div", {
|
|
@@ -1566,11 +1567,11 @@ function PanelStudyBrowserTracking({
|
|
|
1566
1567
|
actions: [{
|
|
1567
1568
|
id: 'cancel',
|
|
1568
1569
|
text: 'Cancel',
|
|
1569
|
-
type: ui_src/* ButtonEnums.type */.
|
|
1570
|
+
type: ui_src/* ButtonEnums.type */.LZ.dt.secondary
|
|
1570
1571
|
}, {
|
|
1571
1572
|
id: 'yes',
|
|
1572
1573
|
text: 'Yes',
|
|
1573
|
-
type: ui_src/* ButtonEnums.type */.
|
|
1574
|
+
type: ui_src/* ButtonEnums.type */.LZ.dt.primary,
|
|
1574
1575
|
classes: ['untrack-yes-button']
|
|
1575
1576
|
}],
|
|
1576
1577
|
onClose: () => uiDialogService.dismiss({
|
|
@@ -1596,7 +1597,7 @@ function PanelStudyBrowserTracking({
|
|
|
1596
1597
|
}
|
|
1597
1598
|
});
|
|
1598
1599
|
};
|
|
1599
|
-
return /*#__PURE__*/react.createElement(ui_src/* StudyBrowser */.
|
|
1600
|
+
return /*#__PURE__*/react.createElement(ui_src/* StudyBrowser */.eX, {
|
|
1600
1601
|
tabs: tabs,
|
|
1601
1602
|
servicesManager: servicesManager,
|
|
1602
1603
|
activeTabName: activeTabName,
|
|
@@ -1699,7 +1700,7 @@ viewportGridService, dataSource, displaySetService, uiDialogService, uiNotificat
|
|
|
1699
1700
|
centralize: true,
|
|
1700
1701
|
isDraggable: false,
|
|
1701
1702
|
showOverlay: true,
|
|
1702
|
-
content: ui_src/* Dialog */.
|
|
1703
|
+
content: ui_src/* Dialog */.Vq,
|
|
1703
1704
|
contentProps: {
|
|
1704
1705
|
title: 'Delete Report',
|
|
1705
1706
|
body: () => /*#__PURE__*/react.createElement("div", {
|
|
@@ -1710,11 +1711,11 @@ viewportGridService, dataSource, displaySetService, uiDialogService, uiNotificat
|
|
|
1710
1711
|
actions: [{
|
|
1711
1712
|
id: 'cancel',
|
|
1712
1713
|
text: 'Cancel',
|
|
1713
|
-
type: ui_src/* ButtonEnums.type */.
|
|
1714
|
+
type: ui_src/* ButtonEnums.type */.LZ.dt.secondary
|
|
1714
1715
|
}, {
|
|
1715
1716
|
id: 'yes',
|
|
1716
1717
|
text: 'Yes',
|
|
1717
|
-
type: ui_src/* ButtonEnums.type */.
|
|
1718
|
+
type: ui_src/* ButtonEnums.type */.LZ.dt.primary,
|
|
1718
1719
|
classes: ['reject-yes-button']
|
|
1719
1720
|
}],
|
|
1720
1721
|
onClose: () => uiDialogService.dismiss({
|
|
@@ -1776,81 +1777,6 @@ function _getComponentType(ds) {
|
|
|
1776
1777
|
}
|
|
1777
1778
|
return 'thumbnailTracked';
|
|
1778
1779
|
}
|
|
1779
|
-
|
|
1780
|
-
/**
|
|
1781
|
-
*
|
|
1782
|
-
* @param {string[]} primaryStudyInstanceUIDs
|
|
1783
|
-
* @param {object[]} studyDisplayList
|
|
1784
|
-
* @param {string} studyDisplayList.studyInstanceUid
|
|
1785
|
-
* @param {string} studyDisplayList.date
|
|
1786
|
-
* @param {string} studyDisplayList.description
|
|
1787
|
-
* @param {string} studyDisplayList.modalities
|
|
1788
|
-
* @param {number} studyDisplayList.numInstances
|
|
1789
|
-
* @param {object[]} displaySets
|
|
1790
|
-
* @returns tabs - The prop object expected by the StudyBrowser component
|
|
1791
|
-
*/
|
|
1792
|
-
function _createStudyBrowserTabs(primaryStudyInstanceUIDs, studyDisplayList, displaySets, hangingProtocolService) {
|
|
1793
|
-
const primaryStudies = [];
|
|
1794
|
-
const recentStudies = [];
|
|
1795
|
-
const allStudies = [];
|
|
1796
|
-
|
|
1797
|
-
// Iterate over each study...
|
|
1798
|
-
studyDisplayList.forEach(study => {
|
|
1799
|
-
// Find it's display sets
|
|
1800
|
-
const displaySetsForStudy = displaySets.filter(ds => ds.StudyInstanceUID === study.studyInstanceUid);
|
|
1801
|
-
|
|
1802
|
-
// Sort them
|
|
1803
|
-
const dsSortFn = hangingProtocolService.getDisplaySetSortFunction();
|
|
1804
|
-
displaySetsForStudy.sort(dsSortFn);
|
|
1805
|
-
|
|
1806
|
-
/* Sort by series number, then by series date
|
|
1807
|
-
displaySetsForStudy.sort((a, b) => {
|
|
1808
|
-
if (a.seriesNumber !== b.seriesNumber) {
|
|
1809
|
-
return a.seriesNumber - b.seriesNumber;
|
|
1810
|
-
}
|
|
1811
|
-
const seriesDateA = Date.parse(a.seriesDate);
|
|
1812
|
-
const seriesDateB = Date.parse(b.seriesDate);
|
|
1813
|
-
return seriesDateA - seriesDateB;
|
|
1814
|
-
});
|
|
1815
|
-
*/
|
|
1816
|
-
|
|
1817
|
-
// Map the study to it's tab/view representation
|
|
1818
|
-
const tabStudy = Object.assign({}, study, {
|
|
1819
|
-
displaySets: displaySetsForStudy
|
|
1820
|
-
});
|
|
1821
|
-
|
|
1822
|
-
// Add the "tab study" to the 'primary', 'recent', and/or 'all' tab group(s)
|
|
1823
|
-
if (primaryStudyInstanceUIDs.includes(study.studyInstanceUid)) {
|
|
1824
|
-
primaryStudies.push(tabStudy);
|
|
1825
|
-
allStudies.push(tabStudy);
|
|
1826
|
-
} else {
|
|
1827
|
-
// TODO: Filter allStudies to dates within one year of current date
|
|
1828
|
-
recentStudies.push(tabStudy);
|
|
1829
|
-
allStudies.push(tabStudy);
|
|
1830
|
-
}
|
|
1831
|
-
});
|
|
1832
|
-
|
|
1833
|
-
// Newest first
|
|
1834
|
-
const _byDate = (a, b) => {
|
|
1835
|
-
const dateA = Date.parse(a);
|
|
1836
|
-
const dateB = Date.parse(b);
|
|
1837
|
-
return dateB - dateA;
|
|
1838
|
-
};
|
|
1839
|
-
const tabs = [{
|
|
1840
|
-
name: 'primary',
|
|
1841
|
-
label: 'Primary',
|
|
1842
|
-
studies: primaryStudies.sort((studyA, studyB) => _byDate(studyA.date, studyB.date))
|
|
1843
|
-
}, {
|
|
1844
|
-
name: 'recent',
|
|
1845
|
-
label: 'Recent',
|
|
1846
|
-
studies: recentStudies.sort((studyA, studyB) => _byDate(studyA.date, studyB.date))
|
|
1847
|
-
}, {
|
|
1848
|
-
name: 'all',
|
|
1849
|
-
label: 'All',
|
|
1850
|
-
studies: allStudies.sort((studyA, studyB) => _byDate(studyA.date, studyB.date))
|
|
1851
|
-
}];
|
|
1852
|
-
return tabs;
|
|
1853
|
-
}
|
|
1854
1780
|
function _findTabAndStudyOfDisplaySet(displaySetInstanceUID, tabs) {
|
|
1855
1781
|
for (let t = 0; t < tabs.length; t++) {
|
|
1856
1782
|
const {
|
|
@@ -1969,11 +1895,11 @@ WrappedPanelStudyBrowserTracking.propTypes = {
|
|
|
1969
1895
|
};
|
|
1970
1896
|
/* harmony default export */ const panels_PanelStudyBrowserTracking = (WrappedPanelStudyBrowserTracking);
|
|
1971
1897
|
// EXTERNAL MODULE: ./hooks/index.js + 1 modules
|
|
1972
|
-
var hooks = __webpack_require__(
|
|
1898
|
+
var hooks = __webpack_require__(75213);
|
|
1973
1899
|
// EXTERNAL MODULE: ./state/index.js + 1 modules
|
|
1974
|
-
var state = __webpack_require__(
|
|
1900
|
+
var state = __webpack_require__(52490);
|
|
1975
1901
|
// EXTERNAL MODULE: ../../../node_modules/lodash.debounce/index.js
|
|
1976
|
-
var lodash_debounce = __webpack_require__(
|
|
1902
|
+
var lodash_debounce = __webpack_require__(8324);
|
|
1977
1903
|
var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce);
|
|
1978
1904
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/panels/PanelMeasurementTableTracking/index.tsx
|
|
1979
1905
|
|
|
@@ -2004,19 +1930,19 @@ function PanelMeasurementTableTracking({
|
|
|
2004
1930
|
servicesManager,
|
|
2005
1931
|
extensionManager
|
|
2006
1932
|
}) {
|
|
2007
|
-
const [viewportGrid] = (0,ui_src/* useViewportGrid */.
|
|
1933
|
+
const [viewportGrid] = (0,ui_src/* useViewportGrid */.O_)();
|
|
2008
1934
|
const {
|
|
2009
1935
|
t
|
|
2010
|
-
} = (0,es/* useTranslation
|
|
1936
|
+
} = (0,es/* useTranslation */.$G)('MeasurementTable');
|
|
2011
1937
|
const [measurementChangeTimestamp, setMeasurementsUpdated] = (0,react.useState)(Date.now().toString());
|
|
2012
|
-
const debouncedMeasurementChangeTimestamp = (0,hooks/* useDebounce */.
|
|
1938
|
+
const debouncedMeasurementChangeTimestamp = (0,hooks/* useDebounce */.N)(measurementChangeTimestamp, 200);
|
|
2013
1939
|
const {
|
|
2014
1940
|
measurementService,
|
|
2015
1941
|
uiDialogService,
|
|
2016
1942
|
displaySetService,
|
|
2017
1943
|
customizationService
|
|
2018
1944
|
} = servicesManager.services;
|
|
2019
|
-
const [trackedMeasurements, sendTrackedMeasurementsEvent] = (0,getContextModule/* useTrackedMeasurements */.
|
|
1945
|
+
const [trackedMeasurements, sendTrackedMeasurementsEvent] = (0,getContextModule/* useTrackedMeasurements */.I)();
|
|
2020
1946
|
const {
|
|
2021
1947
|
trackedStudy,
|
|
2022
1948
|
trackedSeries
|
|
@@ -2024,7 +1950,7 @@ function PanelMeasurementTableTracking({
|
|
|
2024
1950
|
const [displayStudySummary, setDisplayStudySummary] = (0,react.useState)(DISPLAY_STUDY_SUMMARY_INITIAL_VALUE);
|
|
2025
1951
|
const [displayMeasurements, setDisplayMeasurements] = (0,react.useState)([]);
|
|
2026
1952
|
const measurementsPanelRef = (0,react.useRef)(null);
|
|
2027
|
-
const [appConfig] = (0,state/* useAppConfig */.
|
|
1953
|
+
const [appConfig] = (0,state/* useAppConfig */.M)();
|
|
2028
1954
|
(0,react.useEffect)(() => {
|
|
2029
1955
|
const measurements = measurementService.getMeasurements();
|
|
2030
1956
|
const filteredMeasurements = measurements.filter(m => trackedStudy === m.referenceStudyUID && trackedSeries.includes(m.referenceSeriesUID));
|
|
@@ -2150,23 +2076,23 @@ function PanelMeasurementTableTracking({
|
|
|
2150
2076
|
className: "invisible-scrollbar overflow-y-auto overflow-x-hidden",
|
|
2151
2077
|
ref: measurementsPanelRef,
|
|
2152
2078
|
"data-cy": 'trackedMeasurements-panel'
|
|
2153
|
-
}, displayStudySummary.key && /*#__PURE__*/react.createElement(ui_src/* StudySummary */.
|
|
2079
|
+
}, displayStudySummary.key && /*#__PURE__*/react.createElement(ui_src/* StudySummary */.YL, {
|
|
2154
2080
|
date: PanelMeasurementTableTracking_formatDate(displayStudySummary.date),
|
|
2155
2081
|
modality: displayStudySummary.modality,
|
|
2156
2082
|
description: displayStudySummary.description
|
|
2157
|
-
}), /*#__PURE__*/react.createElement(ui_src/* MeasurementTable */.
|
|
2083
|
+
}), /*#__PURE__*/react.createElement(ui_src/* MeasurementTable */.wt, {
|
|
2158
2084
|
title: "Measurements",
|
|
2159
2085
|
data: displayMeasurementsWithoutFindings,
|
|
2160
2086
|
servicesManager: servicesManager,
|
|
2161
2087
|
onClick: jumpToImage,
|
|
2162
2088
|
onEdit: onMeasurementItemEditHandler
|
|
2163
|
-
}), additionalFindings.length !== 0 && /*#__PURE__*/react.createElement(ui_src/* MeasurementTable */.
|
|
2089
|
+
}), additionalFindings.length !== 0 && /*#__PURE__*/react.createElement(ui_src/* MeasurementTable */.wt, {
|
|
2164
2090
|
title: "Additional Findings",
|
|
2165
2091
|
data: additionalFindings,
|
|
2166
2092
|
servicesManager: servicesManager,
|
|
2167
2093
|
onClick: jumpToImage,
|
|
2168
2094
|
onEdit: onMeasurementItemEditHandler
|
|
2169
|
-
}), nonAcquisitionMeasurements.length !== 0 && /*#__PURE__*/react.createElement(ui_src/* MeasurementTable */.
|
|
2095
|
+
}), nonAcquisitionMeasurements.length !== 0 && /*#__PURE__*/react.createElement(ui_src/* MeasurementTable */.wt, {
|
|
2170
2096
|
title: "Non-tracked",
|
|
2171
2097
|
data: nonAcquisitionMeasurements,
|
|
2172
2098
|
servicesManager: servicesManager,
|
|
@@ -2174,7 +2100,7 @@ function PanelMeasurementTableTracking({
|
|
|
2174
2100
|
onEdit: onMeasurementItemEditHandler
|
|
2175
2101
|
})), !appConfig?.disableEditing && /*#__PURE__*/react.createElement("div", {
|
|
2176
2102
|
className: "flex justify-center p-4"
|
|
2177
|
-
}, /*#__PURE__*/react.createElement(ui_src/* ActionButtons */.
|
|
2103
|
+
}, /*#__PURE__*/react.createElement(ui_src/* ActionButtons */.EY, {
|
|
2178
2104
|
t: t,
|
|
2179
2105
|
actions: [{
|
|
2180
2106
|
label: 'Download CSV',
|
|
@@ -2262,7 +2188,7 @@ function _mapMeasurementToDisplay(measurement, types, displaySetService) {
|
|
|
2262
2188
|
|
|
2263
2189
|
|
|
2264
2190
|
// EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
|
|
2265
|
-
var i18next = __webpack_require__(
|
|
2191
|
+
var i18next = __webpack_require__(73577);
|
|
2266
2192
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/getPanelModule.tsx
|
|
2267
2193
|
|
|
2268
2194
|
|
|
@@ -2280,7 +2206,7 @@ function getPanelModule({
|
|
|
2280
2206
|
name: 'seriesList',
|
|
2281
2207
|
iconName: 'tab-studies',
|
|
2282
2208
|
iconLabel: 'Studies',
|
|
2283
|
-
label: i18next/* default */.
|
|
2209
|
+
label: i18next/* default */.Z.t('SidePanel:Studies'),
|
|
2284
2210
|
component: panels_PanelStudyBrowserTracking.bind(null, {
|
|
2285
2211
|
commandsManager,
|
|
2286
2212
|
extensionManager,
|
|
@@ -2290,7 +2216,7 @@ function getPanelModule({
|
|
|
2290
2216
|
name: 'trackedMeasurements',
|
|
2291
2217
|
iconName: 'tab-linear',
|
|
2292
2218
|
iconLabel: 'Measure',
|
|
2293
|
-
label: i18next/* default */.
|
|
2219
|
+
label: i18next/* default */.Z.t('SidePanel:Measurements'),
|
|
2294
2220
|
component: panels_PanelMeasurementTableTracking.bind(null, {
|
|
2295
2221
|
commandsManager,
|
|
2296
2222
|
extensionManager,
|
|
@@ -2300,10 +2226,10 @@ function getPanelModule({
|
|
|
2300
2226
|
}
|
|
2301
2227
|
/* harmony default export */ const src_getPanelModule = (getPanelModule);
|
|
2302
2228
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/getViewportModule.tsx
|
|
2303
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
2229
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2304
2230
|
|
|
2305
2231
|
const Component = /*#__PURE__*/react.lazy(() => {
|
|
2306
|
-
return __webpack_require__.e(/* import() */
|
|
2232
|
+
return __webpack_require__.e(/* import() */ 498).then(__webpack_require__.bind(__webpack_require__, 11498));
|
|
2307
2233
|
});
|
|
2308
2234
|
const OHIFCornerstoneViewport = props => {
|
|
2309
2235
|
return /*#__PURE__*/react.createElement(react.Suspense, {
|
|
@@ -2329,10 +2255,10 @@ function getViewportModule({
|
|
|
2329
2255
|
}
|
|
2330
2256
|
/* harmony default export */ const src_getViewportModule = (getViewportModule);
|
|
2331
2257
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/package.json
|
|
2332
|
-
const package_namespaceObject =
|
|
2258
|
+
const package_namespaceObject = JSON.parse('{"u2":"@ohif/extension-measurement-tracking"}');
|
|
2333
2259
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/id.js
|
|
2334
2260
|
|
|
2335
|
-
const id = package_namespaceObject.
|
|
2261
|
+
const id = package_namespaceObject.u2;
|
|
2336
2262
|
|
|
2337
2263
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/index.tsx
|
|
2338
2264
|
|
|
@@ -2344,7 +2270,7 @@ const measurementTrackingExtension = {
|
|
|
2344
2270
|
* Only required property. Should be a unique value across all extensions.
|
|
2345
2271
|
*/
|
|
2346
2272
|
id: id,
|
|
2347
|
-
getContextModule: getContextModule/* default */.
|
|
2273
|
+
getContextModule: getContextModule/* default */.Z,
|
|
2348
2274
|
getPanelModule: src_getPanelModule,
|
|
2349
2275
|
getViewportModule: src_getViewportModule
|
|
2350
2276
|
};
|