@ohif/app 3.13.0-beta.3 → 3.13.0-beta.31
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/{1459.bundle.06807094c21c02b6a2bc.js → 1459.bundle.1ed62a389ef5e69896e6.js} +5 -6
- package/dist/{147.bundle.37d627289453cb6c3937.js → 147.bundle.9c245011849e09bd7904.js} +6 -5
- package/dist/{1608.bundle.0687c661f1c9edfb3b8a.js → 1608.bundle.7a4a3b49cae10f6ba2cf.js} +8 -8
- package/dist/{1927.bundle.3050588e95f43cf57cdd.js → 1927.bundle.be67b3aafe238ca9f191.js} +27 -38
- package/dist/{1933.bundle.931455c6772b70d3336e.js → 1933.bundle.5d56b263f810bcfb92da.js} +27 -22
- package/dist/{2018.bundle.a9ea7d41cb8aef67e21b.js → 2018.bundle.c0a632305697a7f70bd0.js} +18 -19
- package/dist/{6409.bundle.b36048896cb11c8571fb.js → 2075.bundle.16215ba94d714a1c905f.js} +308 -237
- package/dist/{2108.bundle.e84aa8d858d8c4f2413e.js → 2108.bundle.f1ef8e8746eb3936bb47.js} +567 -556
- package/dist/{213.bundle.141ce91906813f9f3682.js → 213.bundle.f3e21c0e4f2d67655ed3.js} +3 -5
- package/dist/{2424.bundle.e695a735566cea98e16f.js → 2424.bundle.0fd7d5f651785e2421ee.js} +3 -5
- package/dist/{2516.bundle.1ea0988d309a757bb6da.js → 2516.bundle.f62228e9a800de8d4b31.js} +6 -6
- package/dist/{2701.bundle.12bd01a80a9f8ea4cd94.js → 2701.bundle.8abdc7f6578c00d4539f.js} +6 -6
- package/dist/{3081.bundle.ef4a1a9f71f455c2c951.js → 3081.bundle.1ae781cf7b86be4929e8.js} +273 -179
- package/dist/{1730.bundle.0d6e739187811c6a5927.js → 3138.bundle.1129fbca861e6eea95ae.js} +10 -304
- package/dist/{3461.bundle.0f02169530057dfb2ecb.js → 3461.bundle.5be70790c391126c7c9c.js} +22 -26
- package/dist/{4202.bundle.5a0f8e4004c5d8a68548.js → 4202.bundle.dd592e5575b8e302689a.js} +4 -4
- package/dist/{4019.bundle.83a604779f7da0101ced.js → 4287.bundle.d2d09ffd5cd8680fad8d.js} +345 -234
- package/dist/{5462.bundle.21beddaca145b7465c72.js → 4406.bundle.573d234b4641d23cf8db.js} +1083 -1308
- package/dist/{1403.bundle.9b81d7ef41459986c8a9.js → 4507.bundle.c5c93663e20aa09f0a09.js} +10 -305
- package/dist/{4819.bundle.0e7fa0da8b548fdcd360.js → 4819.bundle.18576a488b3e228efe11.js} +25 -26
- package/dist/{4775.bundle.ffcdc0c1c013d5a1844d.js → 5015.bundle.a0421e5a88f22552acc1.js} +27 -331
- package/dist/{5028.bundle.5a8ddc736d637ecdd865.js → 5028.bundle.980a49124f1a10fc7591.js} +9 -11
- package/dist/{5261.bundle.6e1a017f8f1027557f5b.js → 5261.bundle.2655560097e9250eac44.js} +412 -345
- package/dist/{5457.bundle.65a0f54faba80efcb561.js → 5457.bundle.16a9fce17065f102dee6.js} +16 -23
- package/dist/{5485.bundle.bad8122607ed6e274d69.js → 5485.bundle.f41f88d0395421f435e6.js} +14 -29
- package/dist/{5491.bundle.2e01dd7ad29e4cc01bc1.js → 5491.bundle.4866d2ecb20dd089e071.js} +54 -51
- package/dist/{5802.bundle.3bf5e6b3ab330a594a47.js → 5802.bundle.70d423c8b488cc56cc36.js} +74 -16
- package/dist/5802.css +1 -1
- package/dist/{6347.bundle.784c48912700f281de1d.js → 581.bundle.b70e5d2d0f3958df69f0.js} +337 -543
- package/dist/{5830.bundle.b073c265c4fcea1afff3.js → 5830.bundle.791019deddd536980a11.js} +3 -3
- package/dist/{5858.bundle.ff6b340cf7457db76a1a.js → 5858.bundle.466e58128de344ab53f3.js} +90 -86
- package/dist/{6027.bundle.6027e854811684e41980.js → 6027.bundle.f54d617fa2ed3977dd19.js} +3 -5
- package/dist/{997.bundle.822b33e561263084e18c.js → 6280.bundle.081861b7e685b28616c8.js} +2345 -1657
- package/dist/{6354.bundle.c387737dc09c9cab4ff2.js → 6354.bundle.d8a592b03e9a5b7a66c2.js} +102 -96
- package/dist/{6376.bundle.9cb74d7bc08476e2f1a7.js → 6376.bundle.839c708f2fc41e76ee58.js} +6 -6
- package/dist/{2842.bundle.860b9f10fcdd9656947a.js → 6386.bundle.c0618e49b65769ddf752.js} +876 -2295
- package/dist/6939.bundle.41fbdef87597b5172ec6.js +3 -3
- package/dist/{7159.bundle.a5991a5d4f0dd8f1c95f.js → 7159.bundle.fb9df255868960f69765.js} +7 -5
- package/dist/{7190.bundle.e8f0193e0e06472f795c.js → 7190.bundle.6314b558746e394aeb0e.js} +40 -40
- package/dist/{732.bundle.6978ac30a1e36abf06db.js → 732.bundle.ea6f9d8504e37e01a208.js} +5 -13
- package/dist/{7431.bundle.b01791d10e6cf9f503b0.js → 7431.bundle.84b3d88ef94b97c84298.js} +28 -28
- package/dist/{4410.bundle.c5224cd7d6238a7d4660.js → 7537.bundle.1a18959ceec98634bc48.js} +4423 -1541
- package/dist/{7639.bundle.b4ac770b1338438aa3a2.js → 7639.bundle.ae082b6402f18d913d03.js} +3 -5
- package/dist/7758.bundle.c8d106364298e7d288f0.js +3 -3
- package/dist/{8094.bundle.5c44190a325ac23e3e5c.js → 8094.bundle.148a66619607e37cbf19.js} +3 -4
- package/dist/{8305.bundle.5819f9bf422ecbb27900.js → 8305.bundle.1f77b8a6de8c981e7e27.js} +11 -13
- package/dist/{6163.bundle.d2cf9edf196d02c98b8c.js → 8499.bundle.67dfea8ab199edb8c8ed.js} +5 -300
- package/dist/8499.css +2 -0
- package/dist/{85.bundle.4252b24960db7d6ecd97.js → 85.bundle.d6cf07a530b402dc3645.js} +3 -5
- package/dist/{8558.bundle.b02fe1cd95ab4b4f6336.js → 8558.bundle.74f5ebf68a3527b65a54.js} +11 -309
- package/dist/{8583.bundle.c614a4ced182d6a5ffc6.js → 8583.bundle.69271a5c5c1340a69f11.js} +18 -21
- package/dist/{9195.bundle.d363cc5b470efa218617.js → 9195.bundle.461e6c60aeb9427cadd9.js} +97 -112
- package/dist/{7412.bundle.fab1742191b7fe937330.js → 9205.bundle.09c52845b43bd8513d50.js} +4336 -1908
- package/dist/{3584.bundle.8cc0750425513433e9cc.js → 933.bundle.ea9db108b8a4e3d51904.js} +264 -2219
- package/dist/{9845.bundle.255e7c7f7a88193b4e47.js → 9845.bundle.d52e8993eb5cde995219.js} +6 -6
- package/dist/{9862.bundle.3a8958a82c572015d25d.js → 9862.bundle.126a8a8c84421a076527.js} +6 -4
- package/dist/{9927.bundle.e7d188ce9b9ea5b719e2.js → 9927.bundle.89211b1e0eae869eafb9.js} +3 -5
- package/dist/app.bundle.css +3 -3
- package/dist/{app.bundle.eca4b5be61ff963d8c53.js → app.bundle.e3fa4b085a6650a81af8.js} +65471 -63535
- package/dist/{compute.bundle.64280c7af19ff567465f.js → compute.bundle.6016de6e5f7c25749422.js} +10 -22
- package/dist/{histogram-worker.bundle.d4e40a8018d2698b072e.js → histogram-worker.bundle.5b679ce4142c803c80a4.js} +11 -23
- package/dist/index.html +1 -1
- package/dist/{interpolation.bundle.c70cb95d164dc494e6dc.js → interpolation.bundle.072a28b303f2dbafe05c.js} +14 -26
- package/dist/{polySeg.bundle.a5aa9130b4191253c410.js → polySeg.bundle.cdcc2c3d11009ccf112c.js} +8 -20
- package/dist/sw.js +1 -1
- package/package.json +23 -22
- package/dist/3343.bundle.d7578ce8f75d158c0bab.js +0 -297
- /package/dist/{1730.css → 3138.css} +0 -0
- /package/dist/{3343.css → 4972.css} +0 -0
- /package/dist/{6163.css → 7829.css} +0 -0
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[1459],{
|
|
3
3
|
|
|
4
|
-
/***/ 71459
|
|
5
|
-
|
|
4
|
+
/***/ 71459
|
|
5
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6
6
|
|
|
7
|
-
// ESM COMPAT FLAG
|
|
8
|
-
__webpack_require__.r(__webpack_exports__);
|
|
9
7
|
|
|
10
8
|
// EXPORTS
|
|
11
9
|
__webpack_require__.d(__webpack_exports__, {
|
|
12
|
-
cornerstone: () => (/* binding */ cornerstone),
|
|
13
10
|
"default": () => (/* binding */ src)
|
|
14
11
|
});
|
|
15
12
|
|
|
13
|
+
// UNUSED EXPORTS: cornerstone
|
|
14
|
+
|
|
16
15
|
// EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
|
|
17
16
|
var i18next = __webpack_require__(40680);
|
|
18
17
|
;// ../../../modes/microscopy/package.json
|
|
@@ -283,6 +282,6 @@ const mode = {
|
|
|
283
282
|
};
|
|
284
283
|
/* harmony default export */ const src = (mode);
|
|
285
284
|
|
|
286
|
-
/***/ }
|
|
285
|
+
/***/ }
|
|
287
286
|
|
|
288
287
|
}]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[147],{
|
|
3
3
|
|
|
4
|
-
/***/ 30147
|
|
5
|
-
|
|
4
|
+
/***/ 30147
|
|
5
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6
6
|
|
|
7
7
|
// ESM COMPAT FLAG
|
|
8
8
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -140,6 +140,7 @@ var dist_esm = __webpack_require__(4667);
|
|
|
140
140
|
var moment = __webpack_require__(14867);
|
|
141
141
|
var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
|
|
142
142
|
;// ../../../extensions/cornerstone/src/Viewport/Overlays/utils.ts
|
|
143
|
+
/* unused harmony import specifier */ var metaData;
|
|
143
144
|
|
|
144
145
|
|
|
145
146
|
|
|
@@ -767,7 +768,7 @@ function ViewportImageSliceLoadingIndicator({
|
|
|
767
768
|
}, /*#__PURE__*/react.createElement("div", {
|
|
768
769
|
className: "transparent flex h-full w-full items-center justify-center"
|
|
769
770
|
}, /*#__PURE__*/react.createElement("p", {
|
|
770
|
-
className: "text-
|
|
771
|
+
className: "text-highlight text-xl font-light"
|
|
771
772
|
}, /*#__PURE__*/react.createElement("h4", null, "Error Loading Image"), /*#__PURE__*/react.createElement("p", null, "An error has occurred."), /*#__PURE__*/react.createElement("p", null, error)))));
|
|
772
773
|
}
|
|
773
774
|
if (loading) {
|
|
@@ -780,7 +781,7 @@ function ViewportImageSliceLoadingIndicator({
|
|
|
780
781
|
}, /*#__PURE__*/react.createElement("div", {
|
|
781
782
|
className: "transparent flex h-full w-full items-center justify-center"
|
|
782
783
|
}, /*#__PURE__*/react.createElement("p", {
|
|
783
|
-
className: "text-
|
|
784
|
+
className: "text-highlight text-xl font-light"
|
|
784
785
|
}, "Loading...")))
|
|
785
786
|
);
|
|
786
787
|
}
|
|
@@ -1658,6 +1659,6 @@ function areEqual(prevProps, nextProps) {
|
|
|
1658
1659
|
}
|
|
1659
1660
|
/* harmony default export */ const Viewport_OHIFCornerstoneViewport = (OHIFCornerstoneViewport);
|
|
1660
1661
|
|
|
1661
|
-
/***/ }
|
|
1662
|
+
/***/ }
|
|
1662
1663
|
|
|
1663
1664
|
}]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[1608,2591],{
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[1608,2591,4972,7829],{
|
|
3
3
|
|
|
4
|
-
/***/ 88414
|
|
5
|
-
|
|
4
|
+
/***/ 88414
|
|
5
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6
6
|
|
|
7
7
|
// ESM COMPAT FLAG
|
|
8
8
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -30,7 +30,7 @@ function promptHydrateRT({
|
|
|
30
30
|
preHydrateCallbacks,
|
|
31
31
|
hydrateRTDisplaySet
|
|
32
32
|
}) {
|
|
33
|
-
return cornerstone_src
|
|
33
|
+
return cornerstone_src/* utils */.Wp.promptHydrationDialog({
|
|
34
34
|
servicesManager,
|
|
35
35
|
viewportId,
|
|
36
36
|
displaySet: rtDisplaySet,
|
|
@@ -91,7 +91,7 @@ function OHIFCornerstoneRTViewport(props) {
|
|
|
91
91
|
// States
|
|
92
92
|
const {
|
|
93
93
|
setPositionPresentation
|
|
94
|
-
} = (0,cornerstone_src
|
|
94
|
+
} = (0,cornerstone_src/* usePositionPresentationStore */.qu)();
|
|
95
95
|
const [rtIsLoading, setRtIsLoading] = (0,react.useState)(!rtDisplaySet.isLoaded);
|
|
96
96
|
const [processingProgress, setProcessingProgress] = (0,react.useState)({
|
|
97
97
|
percentComplete: null,
|
|
@@ -202,7 +202,7 @@ function OHIFCornerstoneRTViewport(props) {
|
|
|
202
202
|
toolGroup = initRTToolGroup(toolGroupService, customizationService, toolGroupId);
|
|
203
203
|
return () => {
|
|
204
204
|
// remove the segmentation representations if seg displayset changed
|
|
205
|
-
segmentationService.
|
|
205
|
+
segmentationService.removeRepresentationsFromViewport(viewportId);
|
|
206
206
|
referencedDisplaySetRef.current = null;
|
|
207
207
|
toolGroupService.destroyToolGroup(toolGroupId);
|
|
208
208
|
};
|
|
@@ -213,7 +213,7 @@ function OHIFCornerstoneRTViewport(props) {
|
|
|
213
213
|
} = referencedDisplaySetRef.current;
|
|
214
214
|
|
|
215
215
|
// Todo: jump to the center of the first segment
|
|
216
|
-
return /*#__PURE__*/react.createElement(cornerstone_src
|
|
216
|
+
return /*#__PURE__*/react.createElement(cornerstone_src/* OHIFCornerstoneViewport */.R9, _extends({}, props, {
|
|
217
217
|
displaySets: [referencedDisplaySet, rtDisplaySet],
|
|
218
218
|
viewportOptions: {
|
|
219
219
|
viewportType: viewportOptions.viewportType,
|
|
@@ -273,6 +273,6 @@ function _getReferencedDisplaySetMetadata(referencedDisplaySet) {
|
|
|
273
273
|
}
|
|
274
274
|
/* harmony default export */ const viewports_OHIFCornerstoneRTViewport = (OHIFCornerstoneRTViewport);
|
|
275
275
|
|
|
276
|
-
/***/ }
|
|
276
|
+
/***/ }
|
|
277
277
|
|
|
278
278
|
}]);
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/ 84595
|
|
5
|
-
|
|
4
|
+
/***/ 84595
|
|
5
|
+
() {
|
|
6
6
|
|
|
7
7
|
/* (ignored) */
|
|
8
8
|
|
|
9
|
-
/***/ }
|
|
9
|
+
/***/ },
|
|
10
10
|
|
|
11
|
-
/***/ 53615
|
|
12
|
-
|
|
11
|
+
/***/ 53615
|
|
12
|
+
() {
|
|
13
13
|
|
|
14
14
|
/* (ignored) */
|
|
15
15
|
|
|
16
|
-
/***/ }
|
|
16
|
+
/***/ },
|
|
17
17
|
|
|
18
|
-
/***/ 1404
|
|
19
|
-
|
|
18
|
+
/***/ 1404
|
|
19
|
+
() {
|
|
20
20
|
|
|
21
21
|
/* (ignored) */
|
|
22
22
|
|
|
23
|
-
/***/ }
|
|
23
|
+
/***/ },
|
|
24
24
|
|
|
25
|
-
/***/ 40604
|
|
26
|
-
|
|
25
|
+
/***/ 40604
|
|
26
|
+
() {
|
|
27
27
|
|
|
28
28
|
/* (ignored) */
|
|
29
29
|
|
|
30
|
-
/***/ }
|
|
30
|
+
/***/ },
|
|
31
31
|
|
|
32
|
-
/***/ 2394
|
|
33
|
-
|
|
32
|
+
/***/ 2394
|
|
33
|
+
() {
|
|
34
34
|
|
|
35
35
|
/* (ignored) */
|
|
36
36
|
|
|
37
|
-
/***/ }
|
|
37
|
+
/***/ },
|
|
38
38
|
|
|
39
|
-
/***/ 24258
|
|
40
|
-
|
|
39
|
+
/***/ 24258
|
|
40
|
+
() {
|
|
41
41
|
|
|
42
42
|
/* (ignored) */
|
|
43
43
|
|
|
44
|
-
/***/ }
|
|
44
|
+
/***/ },
|
|
45
45
|
|
|
46
|
-
/***/ 99570
|
|
47
|
-
|
|
46
|
+
/***/ 99570
|
|
47
|
+
() {
|
|
48
48
|
|
|
49
49
|
/* (ignored) */
|
|
50
50
|
|
|
51
|
-
/***/ }
|
|
51
|
+
/***/ },
|
|
52
52
|
|
|
53
|
-
/***/ 45962
|
|
54
|
-
|
|
53
|
+
/***/ 45962
|
|
54
|
+
() {
|
|
55
55
|
|
|
56
56
|
/* (ignored) */
|
|
57
57
|
|
|
58
|
-
/***/ }
|
|
58
|
+
/***/ }
|
|
59
59
|
|
|
60
60
|
/******/ });
|
|
61
61
|
/************************************************************************/
|
|
@@ -167,16 +167,16 @@
|
|
|
167
167
|
/******/
|
|
168
168
|
/******/ /* webpack/runtime/get javascript chunk filename */
|
|
169
169
|
/******/ (() => {
|
|
170
|
-
/******/ // This function allow to reference async chunks and
|
|
170
|
+
/******/ // This function allow to reference async chunks and chunks that the entrypoint depends on
|
|
171
171
|
/******/ __webpack_require__.u = (chunkId) => {
|
|
172
172
|
/******/ // return url for filenames based on template
|
|
173
|
-
/******/ return "" + chunkId + ".bundle." + {"732":"
|
|
173
|
+
/******/ return "" + chunkId + ".bundle." + {"732":"ea6f9d8504e37e01a208","5858":"466e58128de344ab53f3","8094":"148a66619607e37cbf19"}[chunkId] + ".js";
|
|
174
174
|
/******/ };
|
|
175
175
|
/******/ })();
|
|
176
176
|
/******/
|
|
177
177
|
/******/ /* webpack/runtime/get mini-css chunk filename */
|
|
178
178
|
/******/ (() => {
|
|
179
|
-
/******/ // This function allow to reference async chunks and
|
|
179
|
+
/******/ // This function allow to reference async chunks and chunks that the entrypoint depends on
|
|
180
180
|
/******/ __webpack_require__.miniCssF = (chunkId) => {
|
|
181
181
|
/******/ // return url for filenames based on template
|
|
182
182
|
/******/ return undefined;
|
|
@@ -188,17 +188,6 @@
|
|
|
188
188
|
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
189
189
|
/******/ })();
|
|
190
190
|
/******/
|
|
191
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
192
|
-
/******/ (() => {
|
|
193
|
-
/******/ // define __esModule on exports
|
|
194
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
195
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
196
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
197
|
-
/******/ }
|
|
198
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
199
|
-
/******/ };
|
|
200
|
-
/******/ })();
|
|
201
|
-
/******/
|
|
202
191
|
/******/ /* webpack/runtime/publicPath */
|
|
203
192
|
/******/ (() => {
|
|
204
193
|
/******/ __webpack_require__.p = "/";
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[1933,2591],{
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[1933,2591,4972,7829],{
|
|
3
3
|
|
|
4
|
-
/***/ 6015
|
|
5
|
-
|
|
4
|
+
/***/ 6015
|
|
5
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6
6
|
|
|
7
|
-
// ESM COMPAT FLAG
|
|
8
|
-
__webpack_require__.r(__webpack_exports__);
|
|
9
7
|
|
|
10
8
|
// EXPORTS
|
|
11
9
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -1705,7 +1703,7 @@ function MicroscopyPanel(props) {
|
|
|
1705
1703
|
if (!annotations || saving) {
|
|
1706
1704
|
return;
|
|
1707
1705
|
}
|
|
1708
|
-
(0,default_src
|
|
1706
|
+
(0,default_src/* callInputDialog */.l5)({
|
|
1709
1707
|
uiDialogService,
|
|
1710
1708
|
title: 'Enter description of the Series',
|
|
1711
1709
|
defaultValue: '',
|
|
@@ -1980,6 +1978,7 @@ function getPanelModule({
|
|
|
1980
1978
|
;// ../../../extensions/dicom-microscopy/src/getCommandsModule.ts
|
|
1981
1979
|
|
|
1982
1980
|
|
|
1981
|
+
|
|
1983
1982
|
function getCommandsModule({
|
|
1984
1983
|
servicesManager,
|
|
1985
1984
|
commandsManager,
|
|
@@ -2002,18 +2001,23 @@ function getCommandsModule({
|
|
|
2002
2001
|
}
|
|
2003
2002
|
}
|
|
2004
2003
|
},
|
|
2005
|
-
setLabel: ({
|
|
2004
|
+
setLabel: async ({
|
|
2006
2005
|
uid
|
|
2007
2006
|
}) => {
|
|
2008
2007
|
const roiAnnotation = microscopyService.getAnnotation(uid);
|
|
2009
|
-
(
|
|
2008
|
+
if (!roiAnnotation) {
|
|
2009
|
+
return;
|
|
2010
|
+
}
|
|
2011
|
+
const value = await (0,default_src/* callInputDialog */.l5)({
|
|
2010
2012
|
uiDialogService,
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
microscopyService.triggerRelabel(roiAnnotation);
|
|
2015
|
-
}
|
|
2013
|
+
title: i18n_src/* default */.A.t('Tools:Edit Measurement Label'),
|
|
2014
|
+
placeholder: roiAnnotation.label || i18n_src/* default */.A.t('Tools:Enter new label'),
|
|
2015
|
+
defaultValue: roiAnnotation.label
|
|
2016
2016
|
});
|
|
2017
|
+
if (value != null) {
|
|
2018
|
+
roiAnnotation.setLabel(value);
|
|
2019
|
+
microscopyService.triggerRelabel(roiAnnotation);
|
|
2020
|
+
}
|
|
2017
2021
|
},
|
|
2018
2022
|
setToolActive: ({
|
|
2019
2023
|
toolName,
|
|
@@ -2692,12 +2696,13 @@ const extension = {
|
|
|
2692
2696
|
handleHeight: true,
|
|
2693
2697
|
handleWidth: true
|
|
2694
2698
|
});
|
|
2699
|
+
const setViewportActive = (0,react.useCallback)(viewportId => {
|
|
2700
|
+
viewportGridService.setActiveViewportId(viewportId);
|
|
2701
|
+
}, [viewportGridService]);
|
|
2695
2702
|
return /*#__PURE__*/react.createElement(MicroscopyViewport, _extends({
|
|
2696
2703
|
key: displaySetsKey,
|
|
2697
2704
|
activeViewportId: activeViewportId,
|
|
2698
|
-
setViewportActive:
|
|
2699
|
-
viewportGridService.setActiveViewportId(viewportId);
|
|
2700
|
-
},
|
|
2705
|
+
setViewportActive: setViewportActive,
|
|
2701
2706
|
viewportData: viewportOptions,
|
|
2702
2707
|
resizeRef: resizeRef
|
|
2703
2708
|
}, props));
|
|
@@ -2734,7 +2739,7 @@ const extension = {
|
|
|
2734
2739
|
});
|
|
2735
2740
|
return {
|
|
2736
2741
|
disabled: false,
|
|
2737
|
-
className: isPrimaryActive ? '!text-black bg-
|
|
2742
|
+
className: isPrimaryActive ? '!text-black bg-highlight' : '!text-foreground/80 hover:!bg-muted hover:!text-highlight',
|
|
2738
2743
|
// Todo: isActive right now is used for nested buttons where the primary
|
|
2739
2744
|
// button needs to be fully rounded (vs partial rounded) when active
|
|
2740
2745
|
// otherwise it does not have any other use
|
|
@@ -2758,10 +2763,10 @@ const extension = {
|
|
|
2758
2763
|
};
|
|
2759
2764
|
/* harmony default export */ const dicom_microscopy_src = (extension);
|
|
2760
2765
|
|
|
2761
|
-
/***/ }
|
|
2766
|
+
/***/ },
|
|
2762
2767
|
|
|
2763
|
-
/***/ 70956
|
|
2764
|
-
|
|
2768
|
+
/***/ 70956
|
|
2769
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2765
2770
|
|
|
2766
2771
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2767
2772
|
/* harmony export */ A: () => (/* binding */ getDicomWebClient)
|
|
@@ -2799,7 +2804,7 @@ function getDicomWebClient({
|
|
|
2799
2804
|
headers: userAuthenticationService.getAuthorizationHeader(),
|
|
2800
2805
|
errorInterceptor: _ohif_core__WEBPACK_IMPORTED_MODULE_0__/* .errorHandler */ .r_.getHTTPErrorHandler()
|
|
2801
2806
|
};
|
|
2802
|
-
const client = new _ohif_extension_default__WEBPACK_IMPORTED_MODULE_1__.StaticWadoClient(wadoConfig);
|
|
2807
|
+
const client = new _ohif_extension_default__WEBPACK_IMPORTED_MODULE_1__/* .StaticWadoClient */ .tm(wadoConfig);
|
|
2803
2808
|
client.wadoURL = wadoConfig.url;
|
|
2804
2809
|
if (extensionManager.activeDataSourceName === 'dicomlocal') {
|
|
2805
2810
|
/**
|
|
@@ -2839,6 +2844,6 @@ function getDicomWebClient({
|
|
|
2839
2844
|
return client;
|
|
2840
2845
|
}
|
|
2841
2846
|
|
|
2842
|
-
/***/ }
|
|
2847
|
+
/***/ }
|
|
2843
2848
|
|
|
2844
2849
|
}]);
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[2018],{
|
|
3
3
|
|
|
4
|
-
/***/ 42018
|
|
5
|
-
|
|
4
|
+
/***/ 42018
|
|
5
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6
6
|
|
|
7
|
-
// ESM COMPAT FLAG
|
|
8
|
-
__webpack_require__.r(__webpack_exports__);
|
|
9
7
|
|
|
10
8
|
// EXPORTS
|
|
11
9
|
__webpack_require__.d(__webpack_exports__, {
|
|
12
|
-
"default": () => (/* binding */ segmentation_src)
|
|
13
|
-
toolbarButtons: () => (/* reexport */ toolbarButtons)
|
|
10
|
+
"default": () => (/* binding */ segmentation_src)
|
|
14
11
|
});
|
|
15
12
|
|
|
13
|
+
// UNUSED EXPORTS: toolbarButtons
|
|
14
|
+
|
|
16
15
|
;// ../../../modes/segmentation/package.json
|
|
17
16
|
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/mode-segmentation"}');
|
|
18
17
|
;// ../../../modes/segmentation/src/id.js
|
|
@@ -1490,44 +1489,44 @@ function modeFactory({
|
|
|
1490
1489
|
servicesManager
|
|
1491
1490
|
}) => {
|
|
1492
1491
|
return {
|
|
1493
|
-
id: basic_src
|
|
1492
|
+
id: basic_src/* ohif */.Dt.layout,
|
|
1494
1493
|
props: {
|
|
1495
|
-
leftPanels: [basic_src
|
|
1494
|
+
leftPanels: [basic_src/* ohif */.Dt.thumbnailList],
|
|
1496
1495
|
leftPanelResizable: true,
|
|
1497
|
-
rightPanels: [basic_src
|
|
1496
|
+
rightPanels: [basic_src/* cornerstone */.Nu.labelMapSegmentationPanel, basic_src/* cornerstone */.Nu.contourSegmentationPanel],
|
|
1498
1497
|
rightPanelResizable: true,
|
|
1499
1498
|
// leftPanelClosed: true,
|
|
1500
1499
|
viewports: [{
|
|
1501
|
-
namespace: basic_src
|
|
1502
|
-
displaySetsToDisplay: [basic_src
|
|
1500
|
+
namespace: basic_src/* cornerstone */.Nu.viewport,
|
|
1501
|
+
displaySetsToDisplay: [basic_src/* ohif */.Dt.sopClassHandler]
|
|
1503
1502
|
}, {
|
|
1504
|
-
namespace: basic_src
|
|
1505
|
-
displaySetsToDisplay: [basic_src
|
|
1503
|
+
namespace: basic_src/* segmentation */.b2.viewport,
|
|
1504
|
+
displaySetsToDisplay: [basic_src/* segmentation */.b2.sopClassHandler]
|
|
1506
1505
|
}, {
|
|
1507
|
-
namespace: basic_src
|
|
1508
|
-
displaySetsToDisplay: [basic_src
|
|
1506
|
+
namespace: basic_src/* dicomRT */.V6.viewport,
|
|
1507
|
+
displaySetsToDisplay: [basic_src/* dicomRT */.V6.sopClassHandler]
|
|
1509
1508
|
}]
|
|
1510
1509
|
}
|
|
1511
1510
|
};
|
|
1512
1511
|
}
|
|
1513
1512
|
}],
|
|
1514
1513
|
/** List of extensions that are used by the mode */
|
|
1515
|
-
extensions: basic_src
|
|
1514
|
+
extensions: basic_src/* extensionDependencies */.tR,
|
|
1516
1515
|
/** HangingProtocol used by the mode */
|
|
1517
1516
|
// Commented out to just use the most applicable registered hanging protocol
|
|
1518
1517
|
// The example is used for a grid layout to specify that as a preferred layout
|
|
1519
1518
|
hangingProtocol: ['@ohif/mnGrid'],
|
|
1520
1519
|
/** SopClassHandlers used by the mode */
|
|
1521
|
-
sopClassHandlers: [basic_src
|
|
1520
|
+
sopClassHandlers: [basic_src/* ohif */.Dt.sopClassHandler, basic_src/* segmentation */.b2.sopClassHandler, basic_src/* dicomRT */.V6.sopClassHandler]
|
|
1522
1521
|
};
|
|
1523
1522
|
}
|
|
1524
1523
|
const mode = {
|
|
1525
1524
|
id: id,
|
|
1526
1525
|
modeFactory,
|
|
1527
|
-
extensionDependencies: basic_src
|
|
1526
|
+
extensionDependencies: basic_src/* extensionDependencies */.tR
|
|
1528
1527
|
};
|
|
1529
1528
|
/* harmony default export */ const segmentation_src = (mode);
|
|
1530
1529
|
|
|
1531
|
-
/***/ }
|
|
1530
|
+
/***/ }
|
|
1532
1531
|
|
|
1533
1532
|
}]);
|