@ohif/app 3.12.0-beta.76 → 3.12.0-beta.78
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/{147.bundle.23cc8fbbd94c0b65d337.js → 147.bundle.53fe889b205dd91c245b.js} +2 -2
- package/dist/{1604.bundle.be258dabc41390df344a.js → 1604.bundle.0d3b54b754c97de7aa88.js} +5 -5
- package/dist/{1919.bundle.06157a0c305d32dc0686.js → 1919.bundle.099a3ad4025e527284b0.js} +6 -6
- package/dist/{2701.bundle.4c715c1d9bb7828886d8.js → 2701.bundle.6418ae6e9e372ccae322.js} +4 -4
- package/dist/{9856.bundle.31827ec7e09a8978744c.js → 306.bundle.a2380c4b23436c127faf.js} +110 -1
- package/dist/{9892.bundle.7a23896727af274e8c43.js → 3190.bundle.cd955568fe4d80ab2e4b.js} +115 -2
- package/dist/{3613.bundle.14721af2527117f720b0.js → 3613.bundle.f5fceb4697407a89921b.js} +65 -108
- package/dist/{4019.bundle.acd0f85d0467cb10d86a.js → 4019.bundle.6505ff57ca48af03da8a.js} +3 -6
- package/dist/{7197.bundle.87ad61b63709fa4e7931.js → 4092.bundle.48390d480273857e794e.js} +338 -7
- package/dist/{7197.css → 4092.css} +1 -0
- package/dist/{4113.bundle.cde76f3e8b32d2af685e.js → 4113.bundle.8e8cca0c8fbf690e7b93.js} +2 -2
- package/dist/{414.bundle.46e21842faff1e8bbba1.js → 414.bundle.597500ee9c214b0a7212.js} +8 -8
- package/dist/{4202.bundle.1cef28d8aec1155d35d1.js → 4202.bundle.1c5271f1cacf5794aba7.js} +2 -2
- package/dist/{5349.bundle.14d76a9cb0f587c90614.js → 5349.bundle.6bf58c3e9e9571fa8a7d.js} +4 -4
- package/dist/{5457.bundle.dc13074667c75d5f535d.js → 5457.bundle.9758280deb7db83edb99.js} +0 -8
- package/dist/{5485.bundle.3ea12c6fc33a5e36ad91.js → 5485.bundle.aafe4c0e2e9e2afd878d.js} +0 -8
- package/dist/{5802.bundle.48e7f1324fc9e4486603.js → 5802.bundle.8922caf16c088b10cdb0.js} +2 -2
- package/dist/{6201.bundle.324015c05481ff7de620.js → 6201.bundle.b0a52e8b23e83d7820d6.js} +2 -2
- package/dist/{8815.bundle.c79ac728379c1869be34.js → 6725.bundle.75f59fc21a7fbecb9bce.js} +468 -37
- package/dist/{6991.bundle.30771aade45e20788c23.js → 6991.bundle.500dbaf5bec95a3d49d2.js} +2 -2
- package/dist/{7412.bundle.a8aa0b243b2a05031789.js → 7412.bundle.94802a6a629f62daab88.js} +2 -2
- package/dist/{3409.bundle.04c822ec34d5d6c9b0af.js → 7948.bundle.8c0bd83ffaacabc3dcbd.js} +918 -249
- package/dist/{810.bundle.55fc6ba6d7b593558a69.js → 810.bundle.d31e9fd894cac5ec768a.js} +6 -6
- package/dist/{8558.bundle.7a27346ef479a9690733.js → 8558.bundle.83d96d728f9f186ea5ad.js} +1 -1
- package/dist/{934.bundle.7cf27b71ceda28ed08d1.js → 934.bundle.a25daa6ed5038a83faf8.js} +2 -2
- package/dist/{1447.bundle.0a31b7c6fb44339bea7e.js → 9548.bundle.9e723f4ad09b9c1b431a.js} +69 -43
- package/dist/{8740.bundle.39b40ee21a873e824ce8.js → 9845.bundle.6ee5ca8fe9f68cefd56d.js} +5 -5
- package/dist/{9862.bundle.dc627e5f01fc4698a00f.js → 9862.bundle.e2c4c129f7907500b840.js} +2 -2
- package/dist/{app.bundle.a2374869593ba63a0d94.js → app.bundle.0cf7e86910258d22401b.js} +487 -148
- package/dist/app.bundle.css +1 -1
- package/dist/{compute.bundle.5d0df54f99d2a555a02a.js → compute.bundle.f6f1236073e2a486ddfb.js} +3 -3
- package/dist/index.html +1 -1
- package/dist/{polySeg.bundle.eb47d9d9105dcfbb56fc.js → polySeg.bundle.d0ed88f3bfea700c211b.js} +3 -3
- package/dist/sw.js +1 -1
- package/package.json +21 -21
- package/dist/8740.css +0 -1
- /package/dist/{1459.bundle.bdf22c0d63ec1b2519dc.js → 1459.bundle.c878b794be71883de852.js} +0 -0
- /package/dist/{1807.bundle.810171e611515ea8cb58.js → 1807.bundle.ade363b62ad3a0442a9c.js} +0 -0
- /package/dist/{213.bundle.b5a02d8b38e4c17b1b0e.js → 213.bundle.1cc1975ae90ca2eadfd5.js} +0 -0
- /package/dist/{2243.bundle.1bb57e90de774280b935.js → 2243.bundle.a4c417be34f113e1fbc6.js} +0 -0
- /package/dist/{2424.bundle.99953053dd849df7ee56.js → 2424.bundle.22082b8a1483bc47cbb1.js} +0 -0
- /package/dist/{2518.bundle.bdbd870da5355fdf502a.js → 2518.bundle.b21d8c66dc8deb8ba922.js} +0 -0
- /package/dist/{319.bundle.cd9383a345b9da2ba840.js → 319.bundle.f5adcbbef5767dedc45d.js} +0 -0
- /package/dist/{6027.bundle.e9ec5f8022d806495795.js → 6027.bundle.5649e4e1fde732251102.js} +0 -0
- /package/dist/{7159.bundle.a472333e58e930b53e22.js → 7159.bundle.a5991a5d4f0dd8f1c95f.js} +0 -0
- /package/dist/{7431.bundle.6dee1ec831da974a7433.js → 7431.bundle.ad1982d7c54a5931d409.js} +0 -0
- /package/dist/{7639.bundle.11226f984521a7530cd7.js → 7639.bundle.c6ee8cf4672716943e89.js} +0 -0
- /package/dist/{85.bundle.70a34e52cc20a6d042da.js → 85.bundle.b1586702f9300c017632.js} +0 -0
|
@@ -22929,8 +22929,9 @@ const cache = new Cache();
|
|
|
22929
22929
|
|
|
22930
22930
|
"use strict";
|
|
22931
22931
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22932
|
-
/* harmony export */ A: () => (
|
|
22932
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
22933
22933
|
/* harmony export */ });
|
|
22934
|
+
/* unused harmony export BaseStreamingImageVolume */
|
|
22934
22935
|
/* harmony import */ var _metaData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74876);
|
|
22935
22936
|
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71851);
|
|
22936
22937
|
/* harmony import */ var _eventTarget__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(10364);
|
|
@@ -23300,6 +23301,7 @@ class BaseStreamingImageVolume extends _ImageVolume__WEBPACK_IMPORTED_MODULE_9__
|
|
|
23300
23301
|
}
|
|
23301
23302
|
checkDimensionGroupCompletion(imageIdIndex) { }
|
|
23302
23303
|
}
|
|
23304
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BaseStreamingImageVolume);
|
|
23303
23305
|
|
|
23304
23306
|
|
|
23305
23307
|
/***/ }),
|
|
@@ -44220,7 +44222,7 @@ function toLowHighRange(windowWidth, windowCenter, voiLUTFunction = _enums_VOILU
|
|
|
44220
44222
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
44221
44223
|
/* harmony export */ r: () => (/* binding */ version)
|
|
44222
44224
|
/* harmony export */ });
|
|
44223
|
-
const version = '4.5.
|
|
44225
|
+
const version = '4.5.20';
|
|
44224
44226
|
|
|
44225
44227
|
|
|
44226
44228
|
/***/ }),
|
|
@@ -113249,8 +113251,8 @@ Compose.propTypes = {
|
|
|
113249
113251
|
};
|
|
113250
113252
|
// EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
|
|
113251
113253
|
var core_src = __webpack_require__(42356);
|
|
113252
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
113253
|
-
var ui_next_src = __webpack_require__(
|
|
113254
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 3073 modules
|
|
113255
|
+
var ui_next_src = __webpack_require__(1246);
|
|
113254
113256
|
// EXTERNAL MODULE: ./state/index.js + 1 modules
|
|
113255
113257
|
var state = __webpack_require__(45981);
|
|
113256
113258
|
// EXTERNAL MODULE: ../../../node_modules/react-router/dist/index.js
|
|
@@ -115114,35 +115116,35 @@ modes.push("@ohif/mode-ultrasound-pleura-bline");
|
|
|
115114
115116
|
async function loadModule(module) {
|
|
115115
115117
|
if (typeof module !== 'string') return module;
|
|
115116
115118
|
if (module === "@ohif/extension-default") {
|
|
115117
|
-
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(
|
|
115119
|
+
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(9548), __webpack_require__.e(4759)]).then(__webpack_require__.bind(__webpack_require__, 39548));
|
|
115118
115120
|
return imported.default;
|
|
115119
115121
|
}
|
|
115120
115122
|
if (module === "@ohif/extension-cornerstone") {
|
|
115121
|
-
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(
|
|
115123
|
+
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(9548), __webpack_require__.e(7948), __webpack_require__.e(5674)]).then(__webpack_require__.bind(__webpack_require__, 37948));
|
|
115122
115124
|
return imported.default;
|
|
115123
115125
|
}
|
|
115124
115126
|
if (module === "@ohif/extension-measurement-tracking") {
|
|
115125
|
-
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(2518), __webpack_require__.e(5261), __webpack_require__.e(
|
|
115127
|
+
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(2518), __webpack_require__.e(5261), __webpack_require__.e(9548), __webpack_require__.e(7948), __webpack_require__.e(4113), __webpack_require__.e(414)]).then(__webpack_require__.bind(__webpack_require__, 8877));
|
|
115126
115128
|
return imported.default;
|
|
115127
115129
|
}
|
|
115128
115130
|
if (module === "@ohif/extension-cornerstone-dicom-sr") {
|
|
115129
|
-
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(2518), __webpack_require__.e(
|
|
115131
|
+
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(2518), __webpack_require__.e(9548), __webpack_require__.e(7948), __webpack_require__.e(4113), __webpack_require__.e(8402)]).then(__webpack_require__.bind(__webpack_require__, 34113));
|
|
115130
115132
|
return imported.default;
|
|
115131
115133
|
}
|
|
115132
115134
|
if (module === "@ohif/extension-cornerstone-dicom-seg") {
|
|
115133
|
-
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(2518), __webpack_require__.e(
|
|
115135
|
+
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(2518), __webpack_require__.e(9548), __webpack_require__.e(7948), __webpack_require__.e(4092)]).then(__webpack_require__.bind(__webpack_require__, 9099));
|
|
115134
115136
|
return imported.default;
|
|
115135
115137
|
}
|
|
115136
115138
|
if (module === "@ohif/extension-cornerstone-dicom-pmap") {
|
|
115137
|
-
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(2518), __webpack_require__.e(
|
|
115139
|
+
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(2518), __webpack_require__.e(9548), __webpack_require__.e(7948), __webpack_require__.e(6201)]).then(__webpack_require__.bind(__webpack_require__, 82098));
|
|
115138
115140
|
return imported.default;
|
|
115139
115141
|
}
|
|
115140
115142
|
if (module === "@ohif/extension-cornerstone-dynamic-volume") {
|
|
115141
|
-
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(
|
|
115143
|
+
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(9548), __webpack_require__.e(7948), __webpack_require__.e(1919)]).then(__webpack_require__.bind(__webpack_require__, 14696));
|
|
115142
115144
|
return imported.default;
|
|
115143
115145
|
}
|
|
115144
115146
|
if (module === "@ohif/extension-dicom-microscopy") {
|
|
115145
|
-
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(2974), __webpack_require__.e(
|
|
115147
|
+
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(2974), __webpack_require__.e(9548), __webpack_require__.e(1604)]).then(__webpack_require__.bind(__webpack_require__, 65090));
|
|
115146
115148
|
return imported.default;
|
|
115147
115149
|
}
|
|
115148
115150
|
if (module === "@ohif/extension-dicom-pdf") {
|
|
@@ -115154,11 +115156,11 @@ async function loadModule(module) {
|
|
|
115154
115156
|
return imported.default;
|
|
115155
115157
|
}
|
|
115156
115158
|
if (module === "@ohif/extension-tmtv") {
|
|
115157
|
-
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(2518), __webpack_require__.e(
|
|
115159
|
+
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(2518), __webpack_require__.e(9548), __webpack_require__.e(7948), __webpack_require__.e(810)]).then(__webpack_require__.bind(__webpack_require__, 57289));
|
|
115158
115160
|
return imported.default;
|
|
115159
115161
|
}
|
|
115160
115162
|
if (module === "@ohif/extension-test") {
|
|
115161
|
-
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(
|
|
115163
|
+
const imported = await Promise.all(/* import() */[__webpack_require__.e(4019), __webpack_require__.e(319), __webpack_require__.e(5400), __webpack_require__.e(7412), __webpack_require__.e(2108), __webpack_require__.e(7431), __webpack_require__.e(9548), __webpack_require__.e(7948), __webpack_require__.e(934)]).then(__webpack_require__.bind(__webpack_require__, 94285));
|
|
115162
115164
|
return imported.default;
|
|
115163
115165
|
}
|
|
115164
115166
|
if (module === "@ohif/extension-cornerstone-dicom-rt") {
|
|
@@ -115178,7 +115180,7 @@ async function loadModule(module) {
|
|
|
115178
115180
|
return imported.default;
|
|
115179
115181
|
}
|
|
115180
115182
|
if (module === "@ohif/mode-segmentation") {
|
|
115181
|
-
const imported = await __webpack_require__.e(/* import() */
|
|
115183
|
+
const imported = await __webpack_require__.e(/* import() */ 6725).then(__webpack_require__.bind(__webpack_require__, 46725));
|
|
115182
115184
|
return imported.default;
|
|
115183
115185
|
}
|
|
115184
115186
|
if (module === "@ohif/mode-tmtv") {
|
|
@@ -120545,13 +120547,15 @@ function SystemContextProvider({
|
|
|
120545
120547
|
|
|
120546
120548
|
/***/ }),
|
|
120547
120549
|
|
|
120548
|
-
/***/
|
|
120550
|
+
/***/ 85490:
|
|
120549
120551
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
120550
120552
|
|
|
120551
120553
|
"use strict";
|
|
120552
120554
|
|
|
120553
120555
|
// EXPORTS
|
|
120554
120556
|
__webpack_require__.d(__webpack_exports__, {
|
|
120557
|
+
KP: () => (/* reexport */ useActiveToolOptions),
|
|
120558
|
+
qN: () => (/* reexport */ useRunCommand),
|
|
120555
120559
|
tR: () => (/* reexport */ useToolbar/* useToolbar */.t),
|
|
120556
120560
|
Yk: () => (/* reexport */ useViewportMousePosition),
|
|
120557
120561
|
bs: () => (/* reexport */ useViewportRef/* useViewportRef */.bs),
|
|
@@ -120692,6 +120696,77 @@ function useViewportMousePosition(viewportId) {
|
|
|
120692
120696
|
}
|
|
120693
120697
|
/* harmony default export */ const hooks_useViewportMousePosition = ((/* unused pure expression or super */ null && (useViewportMousePosition)));
|
|
120694
120698
|
|
|
120699
|
+
// EXTERNAL MODULE: ../../core/src/contextProviders/SystemProvider.tsx
|
|
120700
|
+
var SystemProvider = __webpack_require__(83641);
|
|
120701
|
+
;// ../../core/src/hooks/useActiveToolOptions.tsx
|
|
120702
|
+
|
|
120703
|
+
|
|
120704
|
+
function useActiveToolOptions({
|
|
120705
|
+
buttonSectionId
|
|
120706
|
+
}) {
|
|
120707
|
+
const {
|
|
120708
|
+
servicesManager
|
|
120709
|
+
} = (0,SystemProvider/* useSystem */.Jg)();
|
|
120710
|
+
const {
|
|
120711
|
+
toolbarService
|
|
120712
|
+
} = servicesManager.services;
|
|
120713
|
+
const {
|
|
120714
|
+
toolbarButtons
|
|
120715
|
+
} = (0,useToolbar/* useToolbar */.t)({
|
|
120716
|
+
buttonSection: buttonSectionId
|
|
120717
|
+
});
|
|
120718
|
+
|
|
120719
|
+
// Helper to check a list of buttons for an active tool.
|
|
120720
|
+
const findActiveOptions = buttons => {
|
|
120721
|
+
for (const tool of buttons) {
|
|
120722
|
+
if (tool.componentProps.isActive) {
|
|
120723
|
+
return {
|
|
120724
|
+
activeToolOptions: tool.componentProps.options,
|
|
120725
|
+
activeToolButtonId: tool.componentProps.id
|
|
120726
|
+
};
|
|
120727
|
+
}
|
|
120728
|
+
if (tool.componentProps.buttonSection) {
|
|
120729
|
+
const nestedButtons = toolbarService.getButtonPropsInButtonSection(tool.componentProps.buttonSection);
|
|
120730
|
+
const activeNested = nestedButtons.find(nested => nested.isActive);
|
|
120731
|
+
if (activeNested) {
|
|
120732
|
+
return {
|
|
120733
|
+
activeToolOptions: activeNested.options,
|
|
120734
|
+
activeToolButtonId: activeNested.id
|
|
120735
|
+
};
|
|
120736
|
+
}
|
|
120737
|
+
}
|
|
120738
|
+
}
|
|
120739
|
+
return null;
|
|
120740
|
+
};
|
|
120741
|
+
|
|
120742
|
+
// Look for active tool options across all sections.
|
|
120743
|
+
const activeOptions = toolbarButtons.reduce((activeOptions, button) => {
|
|
120744
|
+
if (activeOptions) {
|
|
120745
|
+
return activeOptions;
|
|
120746
|
+
}
|
|
120747
|
+
const sectionId = button.componentProps.buttonSection;
|
|
120748
|
+
const buttons = sectionId ? toolbarService.getButtonSection(sectionId) : [button];
|
|
120749
|
+
return findActiveOptions(buttons);
|
|
120750
|
+
}, null);
|
|
120751
|
+
return activeOptions ?? {};
|
|
120752
|
+
}
|
|
120753
|
+
;// ../../core/src/hooks/useRunCommand.tsx
|
|
120754
|
+
|
|
120755
|
+
|
|
120756
|
+
|
|
120757
|
+
/**
|
|
120758
|
+
* Hook that provides a runCommand function for executing commands
|
|
120759
|
+
* @returns A memoized runCommand function
|
|
120760
|
+
*/
|
|
120761
|
+
function useRunCommand() {
|
|
120762
|
+
const {
|
|
120763
|
+
commandsManager
|
|
120764
|
+
} = (0,SystemProvider/* useSystem */.Jg)();
|
|
120765
|
+
const runCommand = (0,react.useCallback)((commandName, commandOptions = {}) => {
|
|
120766
|
+
return commandsManager.runCommand(commandName, commandOptions);
|
|
120767
|
+
}, [commandsManager]);
|
|
120768
|
+
return runCommand;
|
|
120769
|
+
}
|
|
120695
120770
|
;// ../../core/src/hooks/index.ts
|
|
120696
120771
|
|
|
120697
120772
|
|
|
@@ -120699,6 +120774,8 @@ function useViewportMousePosition(viewportId) {
|
|
|
120699
120774
|
|
|
120700
120775
|
|
|
120701
120776
|
|
|
120777
|
+
|
|
120778
|
+
|
|
120702
120779
|
/***/ }),
|
|
120703
120780
|
|
|
120704
120781
|
/***/ 8992:
|
|
@@ -121056,7 +121133,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
121056
121133
|
ot: () => (/* binding */ hotkeys),
|
|
121057
121134
|
Rm: () => (/* reexport */ log/* default */.A),
|
|
121058
121135
|
Ml: () => (/* reexport */ pubSubServiceInterface/* default */.A),
|
|
121136
|
+
KP: () => (/* reexport */ hooks/* useActiveToolOptions */.KP),
|
|
121059
121137
|
BZ: () => (/* reexport */ hooks_useActiveViewportDisplaySets),
|
|
121138
|
+
qN: () => (/* reexport */ hooks/* useRunCommand */.qN),
|
|
121060
121139
|
Jg: () => (/* reexport */ SystemProvider/* useSystem */.Jg),
|
|
121061
121140
|
tR: () => (/* reexport */ hooks/* useToolbar */.tR),
|
|
121062
121141
|
bs: () => (/* reexport */ hooks/* useViewportRef */.bs),
|
|
@@ -129352,8 +129431,8 @@ const useActiveViewportDisplaySets = () => {
|
|
|
129352
129431
|
return displaySets;
|
|
129353
129432
|
};
|
|
129354
129433
|
/* harmony default export */ const hooks_useActiveViewportDisplaySets = (useActiveViewportDisplaySets);
|
|
129355
|
-
// EXTERNAL MODULE: ../../core/src/hooks/index.ts +
|
|
129356
|
-
var hooks = __webpack_require__(
|
|
129434
|
+
// EXTERNAL MODULE: ../../core/src/hooks/index.ts + 5 modules
|
|
129435
|
+
var hooks = __webpack_require__(85490);
|
|
129357
129436
|
;// ../../core/src/index.ts
|
|
129358
129437
|
|
|
129359
129438
|
|
|
@@ -130683,7 +130762,10 @@ const TOOLBAR_SECTIONS = {
|
|
|
130683
130762
|
rightMiddle: 'viewportActionMenu.rightMiddle'
|
|
130684
130763
|
},
|
|
130685
130764
|
// mode specific
|
|
130686
|
-
|
|
130765
|
+
labelMapSegmentationToolbox: 'labelMapSegmentationToolbox',
|
|
130766
|
+
contourSegmentationToolbox: 'contourSegmentationToolbox',
|
|
130767
|
+
labelMapSegmentationUtilities: 'labelMapSegmentationUtilities',
|
|
130768
|
+
contourSegmentationUtilities: 'contourSegmentationUtilities',
|
|
130687
130769
|
dynamicToolbox: 'dynamic-toolbox',
|
|
130688
130770
|
roiThresholdToolbox: 'ROIThresholdToolbox'
|
|
130689
130771
|
};
|
|
@@ -131018,12 +131100,16 @@ class ToolbarService extends _shared_pubSubServiceInterface__WEBPACK_IMPORTED_MO
|
|
|
131018
131100
|
}) : undefined;
|
|
131019
131101
|
// Check hideWhenDisabled at both evaluateProps level and props level
|
|
131020
131102
|
const hideWhenDisabled = evaluateProps?.hideWhenDisabled || props.hideWhenDisabled;
|
|
131103
|
+
|
|
131104
|
+
// Visibility is first determined by the evaluate function. If it is not returned from there,
|
|
131105
|
+
// then we check hideWhenDisabled and disabled to determine visibility.
|
|
131106
|
+
const visible = evaluated?.visible === undefined ? hideWhenDisabled && evaluated?.disabled ? false : true : evaluated?.visible;
|
|
131021
131107
|
const updatedProps = {
|
|
131022
131108
|
...props,
|
|
131023
131109
|
...evaluated,
|
|
131024
131110
|
disabled: evaluated?.disabled || false,
|
|
131025
|
-
visible
|
|
131026
|
-
className: evaluated?.className || '',
|
|
131111
|
+
visible,
|
|
131112
|
+
className: evaluated?.className || props?.className || '',
|
|
131027
131113
|
isActive: evaluated?.isActive // isActive will be undefined for buttons without this prop
|
|
131028
131114
|
};
|
|
131029
131115
|
evaluationResults.set(button.id, updatedProps);
|
|
@@ -131248,7 +131334,8 @@ class ToolbarService extends _shared_pubSubServiceInterface__WEBPACK_IMPORTED_MO
|
|
|
131248
131334
|
if (!btn.component) {
|
|
131249
131335
|
btn.component = buttonType.defaultComponent;
|
|
131250
131336
|
}
|
|
131251
|
-
if (!buttonType) {
|
|
131337
|
+
if (!buttonType && !btn.component) {
|
|
131338
|
+
console.warn(`Neither button type nor a component found for button: ${id}`);
|
|
131252
131339
|
return;
|
|
131253
131340
|
}
|
|
131254
131341
|
!buttonSection ? this.handleEvaluate(btn.props) : this.handleEvaluateNested(btn.props);
|
|
@@ -135452,7 +135539,7 @@ const detectionOptions = {
|
|
|
135452
135539
|
}
|
|
135453
135540
|
});
|
|
135454
135541
|
;// ../../i18n/package.json
|
|
135455
|
-
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"rE":"3.12.0-beta.
|
|
135542
|
+
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"rE":"3.12.0-beta.77"}');
|
|
135456
135543
|
;// ../../i18n/src/utils.js
|
|
135457
135544
|
const languagesMap = {
|
|
135458
135545
|
ar: 'Arabic',
|
|
@@ -135737,7 +135824,7 @@ const en_US_MeasurementTable_namespaceObject = /*#__PURE__*/JSON.parse('{"Criter
|
|
|
135737
135824
|
;// ../../i18n/src/locales/en-US/Modes.json
|
|
135738
135825
|
const en_US_Modes_namespaceObject = /*#__PURE__*/JSON.parse('{"Basic Dev Viewer":"Basic Dev Viewer","Basic Test Mode":"Basic Test Mode","Basic Viewer":"Basic Viewer","Microscopy":"Microscopy","Segmentation":"Segmentation","Total Metabolic Tumor Volume":"Total Metabolic Tumor Volume"}');
|
|
135739
135826
|
;// ../../i18n/src/locales/en-US/SegmentationTable.json
|
|
135740
|
-
const en_US_SegmentationTable_namespaceObject = /*#__PURE__*/JSON.parse('{"Active":"Active","Add new segmentation":"Add new segmentation","Add segment":"Add segment","Add segmentation":"Add segmentation","Delete":"Delete","Display inactive segmentations":"Display inactive segmentations","Export DICOM SEG":"Export DICOM SEG","Download DICOM SEG":"Download DICOM SEG","Download DICOM RTSTRUCT":"Download DICOM RTSTRUCT","Fill":"Fill","Inactive segmentations":"Inactive segmentations","Opacity":"Opacity","Outline":"Outline","Rename":"Rename","Segmentation":"Segmentation","Size":"Size"}');
|
|
135827
|
+
const en_US_SegmentationTable_namespaceObject = /*#__PURE__*/JSON.parse('{"Active":"Active","Add new segmentation":"Add new segmentation","Add segment":"Add segment","Add segmentation":"Add segmentation","Contour":"Contour","Contour tools":"Contour tools","Contour Segmentations":"Contour segmentations","Delete":"Delete","Display inactive segmentations":"Display inactive segmentations","Download DICOM RTSS":"Download DICOM RTSS","Export DICOM SEG":"Export DICOM SEG","Download DICOM SEG":"Download DICOM SEG","Download DICOM RTSTRUCT":"Download DICOM RTSTRUCT","Fill":"Fill","Inactive segmentations":"Inactive segmentations","Labelmap":"Label map","Labelmap tools":"Label map tools","Labelmap Segmentations":"Label map segmentations","Opacity":"Opacity","Outline":"Outline","Rename":"Rename","Segmentation":"Segmentation","Segmentations":"Segmentations","Segmentation not supported":"Segmentation not supported","Size":"Size"}');
|
|
135741
135828
|
;// ../../i18n/src/locales/en-US/SidePanel.json
|
|
135742
135829
|
const en_US_SidePanel_namespaceObject = /*#__PURE__*/JSON.parse('{"Measurements":"Measurements","Studies":"Studies"}');
|
|
135743
135830
|
;// ../../i18n/src/locales/en-US/StudyBrowser.json
|
|
@@ -136250,7 +136337,7 @@ const test_LNG_Modes_namespaceObject = /*#__PURE__*/JSON.parse('{"Basic Dev View
|
|
|
136250
136337
|
;// ../../i18n/src/locales/test-LNG/PatientInfo.json
|
|
136251
136338
|
const test_LNG_PatientInfo_namespaceObject = /*#__PURE__*/JSON.parse('{"Age":"Test Age","Sex":"Test Sex","MRN":"Test MRN","Thickness":"Test Thickness","Spacing":"Test Spacing","Scanner":"Test Scanner"}');
|
|
136252
136339
|
;// ../../i18n/src/locales/test-LNG/SegmentationTable.json
|
|
136253
|
-
const test_LNG_SegmentationTable_namespaceObject = /*#__PURE__*/JSON.parse('{"Active":"Test Active","Add new segmentation":"Test Add new segmentation","Add segment":"Test Add segment","Add segmentation":"Test Add segmentation","Delete":"Test Delete","Display inactive segmentations":"Test Display inactive segmentations","Export DICOM SEG":"Test Export DICOM SEG","Download DICOM SEG":"Test Download DICOM SEG","Download DICOM RTSTRUCT":"Test Download DICOM RTSTRUCT","Fill":"Test Fill","Inactive segmentations":"Test Inactive segmentations","Opacity":"Test Opacity","Outline":"Test Outline","Rename":"Test Rename","Segmentation":"Test Segmentation","Size":"Test Size"}');
|
|
136340
|
+
const test_LNG_SegmentationTable_namespaceObject = /*#__PURE__*/JSON.parse('{"Active":"Test Active","Add new segmentation":"Test Add new segmentation","Add segment":"Test Add segment","Add segmentation":"Test Add segmentation","Contour":"Test Contour","Contour tools":"Test Contour tools","Contour Segmentations":"Contour segmentations","Delete":"Test Delete","Display inactive segmentations":"Test Display inactive segmentations","Download DICOM RTSS":"Test Download DICOM RTSS","Export DICOM SEG":"Test Export DICOM SEG","Download DICOM SEG":"Test Download DICOM SEG","Download DICOM RTSTRUCT":"Test Download DICOM RTSTRUCT","Fill":"Test Fill","Inactive segmentations":"Test Inactive segmentations","Labelmap":"Test Label map","Labelmap tools":"Test Label map tools","Labelmap Segmentations":"Test Label map segmentations","Opacity":"Test Opacity","Outline":"Test Outline","Rename":"Test Rename","Segmentation":"Test Segmentation","Segmentation not supported":"Test Segmentation not supported","Size":"Test Size"}');
|
|
136254
136341
|
;// ../../i18n/src/locales/test-LNG/SidePanel.json
|
|
136255
136342
|
const test_LNG_SidePanel_namespaceObject = /*#__PURE__*/JSON.parse('{"Studies":"Test Studies","Measurements":"Test Measurements"}');
|
|
136256
136343
|
;// ../../i18n/src/locales/test-LNG/StudyBrowser.json
|
|
@@ -136517,7 +136604,7 @@ i18next/* default */.A.currentLanguage = () => ({
|
|
|
136517
136604
|
|
|
136518
136605
|
/***/ }),
|
|
136519
136606
|
|
|
136520
|
-
/***/
|
|
136607
|
+
/***/ 1246:
|
|
136521
136608
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
136522
136609
|
|
|
136523
136610
|
"use strict";
|
|
@@ -136576,6 +136663,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
136576
136663
|
M7w: () => (/* reexport */ Onboarding),
|
|
136577
136664
|
aUM: () => (/* reexport */ PanelSection_PanelSection),
|
|
136578
136665
|
AMh: () => (/* reexport */ Popover_Popover),
|
|
136666
|
+
dTQ: () => (/* reexport */ Popover_PopoverAnchor),
|
|
136579
136667
|
hlN: () => (/* reexport */ Popover_PopoverContent),
|
|
136580
136668
|
Wvm: () => (/* reexport */ Popover_PopoverTrigger),
|
|
136581
136669
|
MUF: () => (/* reexport */ PresetDialog),
|
|
@@ -136641,7 +136729,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
136641
136729
|
WpD: () => (/* reexport */ src_utils_namespaceObject)
|
|
136642
136730
|
});
|
|
136643
136731
|
|
|
136644
|
-
// UNUSED EXPORTS: BackItem, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplaySetMessageListTooltip, DividerItem, DoubleSlider, DropdownMenuCheckboxItem, DropdownMenuGroup, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuShortcut, HeaderItem, HorizontalDirection, IconMenu, ImageViewerContext, InputNumber, Item, ItemPanel, Menu, PanelSelector, PatientInfo,
|
|
136732
|
+
// UNUSED EXPORTS: BackItem, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplaySetMessageListTooltip, DividerItem, DoubleSlider, DropdownMenuCheckboxItem, DropdownMenuGroup, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuShortcut, HeaderItem, HorizontalDirection, IconMenu, ImageViewerContext, InputNumber, Item, ItemPanel, Menu, PanelSelector, PatientInfo, ScrollBar, StudyBrowserSort, StudyBrowserViewOptions, StudyItem, SubMenu, Thumbnail, ThumbnailList, Toaster, Toggle, ToolboxUI, Types, VerticalDirection, ViewportActionBar, ViewportActionCornersLocations, ViewportGridContext, WindowLevelHistogram, buttonVariants, toast, toggleVariants, useDialog, useDynamicMaxHeight, useNotification, useSegmentStatistics
|
|
136645
136733
|
|
|
136646
136734
|
// NAMESPACE OBJECT: ../../ui-next/src/utils/index.ts
|
|
136647
136735
|
var src_utils_namespaceObject = {};
|
|
@@ -185487,15 +185575,15 @@ const ToolSegmentLabel = props => /*#__PURE__*/react.createElement("svg", Tools_
|
|
|
185487
185575
|
}, props), /*#__PURE__*/react.createElement("path", {
|
|
185488
185576
|
d: "M2.6636 14.3578C2.58841 14.4105 2.53094 14.4847 2.49878 14.5707C2.46661 14.6567 2.46127 14.7504 2.48345 14.8395C2.50564 14.9286 2.5543 15.0088 2.62302 15.0697C2.69175 15.1305 2.77731 15.1691 2.86842 15.1804L7.42867 16.5722L8.82125 21.1316C8.83209 21.2229 8.87047 21.3088 8.93131 21.3779C8.99214 21.4469 9.07254 21.4958 9.16181 21.518C9.25109 21.5402 9.34502 21.5348 9.43111 21.5023C9.5172 21.4699 9.59139 21.412 9.6438 21.3364L20.4127 10.5683C20.7607 10.1801 20.9661 9.68484 20.9951 9.16423L21 3.82256C21 3.6044 20.9133 3.39518 20.7591 3.24092C20.6048 3.08666 20.3956 3 20.1774 3H14.8382C14.3176 3.02823 13.8223 3.2334 13.4341 3.58155L2.6636 14.3578Z",
|
|
185489
185577
|
stroke: "currentColor",
|
|
185490
|
-
|
|
185491
|
-
|
|
185492
|
-
|
|
185578
|
+
strokeWidth: "1.2",
|
|
185579
|
+
strokeLinecap: "round",
|
|
185580
|
+
strokeLinejoin: "round"
|
|
185493
185581
|
}), /*#__PURE__*/react.createElement("path", {
|
|
185494
185582
|
d: "M16.8882 8.75787C15.9796 8.75787 15.2431 8.02133 15.2431 7.11276C15.2431 6.20419 15.9796 5.46765 16.8882 5.46765C17.7968 5.46765 18.5333 6.20419 18.5333 7.11276C18.5333 8.02133 17.7968 8.75787 16.8882 8.75787Z",
|
|
185495
185583
|
stroke: "currentColor",
|
|
185496
|
-
|
|
185497
|
-
|
|
185498
|
-
|
|
185584
|
+
strokeWidth: "1.2",
|
|
185585
|
+
strokeLinecap: "round",
|
|
185586
|
+
strokeLinejoin: "round"
|
|
185499
185587
|
}));
|
|
185500
185588
|
const ToolWindowLevel = props => /*#__PURE__*/react.createElement("svg", Tools_extends({
|
|
185501
185589
|
width: "28px",
|
|
@@ -185904,6 +185992,45 @@ const ToolContract = props => /*#__PURE__*/react.createElement("svg", Tools_exte
|
|
|
185904
185992
|
d: "M13.1162 5.08203C13.1162 4.84766 13.1924 4.65137 13.3447 4.49316C13.4971 4.33496 13.6904 4.25586 13.9248 4.25586C14.1592 4.25586 14.3496 4.33496 14.4961 4.49316C14.6484 4.65137 14.7246 4.84766 14.7246 5.08203V5.82031L14.5488 8.8877L16.8604 6.45312L19.5674 3.74609C19.6494 3.66406 19.7402 3.60254 19.8398 3.56152C19.9453 3.52051 20.0566 3.5 20.1738 3.5C20.4199 3.5 20.6191 3.58203 20.7715 3.74609C20.9238 3.91016 21 4.11816 21 4.37012C21 4.59277 20.9209 4.78027 20.7627 4.93262L18.0381 7.63086L15.6035 9.95117L18.6709 9.7666H19.4092C19.6436 9.7666 19.8369 9.83984 19.9893 9.98633C20.1475 10.1387 20.2266 10.332 20.2266 10.5664C20.2266 10.8008 20.1475 10.9941 19.9893 11.1465C19.8311 11.2988 19.6377 11.375 19.4092 11.375H14.54C14.0889 11.375 13.7373 11.252 13.4854 11.0059C13.2393 10.7598 13.1162 10.4111 13.1162 9.95996V5.08203ZM4.19531 13.5107C4.19531 13.2764 4.27441 13.083 4.43262 12.9307C4.58496 12.7783 4.77832 12.7021 5.0127 12.7021H9.97852C10.4297 12.7021 10.7783 12.8252 11.0244 13.0713C11.2705 13.3174 11.3936 13.666 11.3936 14.1172V19.0918C11.3936 19.3262 11.3174 19.5225 11.165 19.6807C11.0186 19.8389 10.8252 19.918 10.585 19.918C10.3506 19.918 10.1602 19.8389 10.0137 19.6807C9.86719 19.5225 9.79395 19.3262 9.79395 19.0918V18.2568L9.96973 15.1807L7.6582 17.624L4.88965 20.3926C4.80762 20.4688 4.7168 20.5273 4.61719 20.5684C4.51172 20.6094 4.40039 20.6299 4.2832 20.6299C4.03711 20.6299 3.83789 20.5479 3.68555 20.3838C3.5332 20.2197 3.45703 20.0146 3.45703 19.7686C3.45703 19.54 3.53613 19.3525 3.69434 19.2061L6.47168 16.4463L8.90625 14.126L5.84766 14.3105H5.0127C4.77832 14.3105 4.58496 14.2344 4.43262 14.082C4.27441 13.9297 4.19531 13.7393 4.19531 13.5107Z",
|
|
185905
185993
|
fill: "currentColor"
|
|
185906
185994
|
}));
|
|
185995
|
+
const ToolSculptor = props => /*#__PURE__*/react.createElement("svg", Tools_extends({
|
|
185996
|
+
width: "24",
|
|
185997
|
+
height: "24",
|
|
185998
|
+
viewBox: "0 0 24 24",
|
|
185999
|
+
fill: "none"
|
|
186000
|
+
}, props), /*#__PURE__*/react.createElement("path", {
|
|
186001
|
+
d: "M16.5 1.5C19.2614 1.5 21.5 3.73858 21.5 6.5C21.5 8.59844 20.2065 10.3931 18.374 11.1348C18.4555 11.5776 18.5 12.0336 18.5 12.5C18.5 16.6421 15.1421 20 11 20C10.6311 20 10.4428 19.5684 10.6035 19.2363C10.8575 18.7113 11 18.1224 11 17.5C11 15.2909 9.20914 13.5 7 13.5C6.07751 13.5 5.22759 13.8124 4.55078 14.3369C4.24235 14.5757 3.75506 14.4797 3.67188 14.0986C3.55945 13.5836 3.5 13.0488 3.5 12.5C3.5 8.35786 6.85786 5 11 5C11.2421 5 11.4815 5.01272 11.7178 5.03516C12.3439 2.98844 14.2482 1.5 16.5 1.5ZM16.4707 3.53125C16.1133 3.53125 15.8906 3.7832 15.8906 4.14648V6.07422H14.0684C13.7109 6.07422 13.4648 6.29688 13.4648 6.64844C13.4648 7 13.7109 7.2168 14.0684 7.2168H15.8906V9.13867C15.8906 9.50195 16.1133 9.75391 16.4707 9.75391C16.8223 9.75391 17.0449 9.50195 17.0449 9.13867V7.2168H18.8613C19.2188 7.2168 19.4707 7 19.4707 6.64844C19.4707 6.29688 19.2188 6.07422 18.8613 6.07422H17.0449V4.14648C17.0449 3.7832 16.8223 3.53125 16.4707 3.53125Z",
|
|
186002
|
+
fill: "currentColor"
|
|
186003
|
+
}), /*#__PURE__*/react.createElement("path", {
|
|
186004
|
+
d: "M5.69531 18.1406C5.34375 18.1406 5.08594 17.9238 5.08594 17.5664C5.08594 17.2148 5.34375 16.998 5.69531 16.998H8.50195C8.85352 16.998 9.11719 17.2148 9.11719 17.5664C9.11719 17.9238 8.85352 18.1406 8.50195 18.1406H5.69531Z",
|
|
186005
|
+
fill: "currentColor"
|
|
186006
|
+
}), /*#__PURE__*/react.createElement("circle", {
|
|
186007
|
+
cx: "7",
|
|
186008
|
+
cy: "17.5",
|
|
186009
|
+
r: "4.5",
|
|
186010
|
+
stroke: "currentColor",
|
|
186011
|
+
strokeLinecap: "round"
|
|
186012
|
+
}));
|
|
186013
|
+
const ToolLabelmapEditWithContour = props => /*#__PURE__*/react.createElement("svg", Tools_extends({
|
|
186014
|
+
width: "24",
|
|
186015
|
+
height: "24",
|
|
186016
|
+
viewBox: "0 0 24 24",
|
|
186017
|
+
fill: "none"
|
|
186018
|
+
}, props), /*#__PURE__*/react.createElement("path", {
|
|
186019
|
+
d: "M10.3945 12.6113C10.043 12.6113 9.78516 12.3945 9.78516 12.0371C9.78516 11.6855 10.043 11.4688 10.3945 11.4688H13.2012C13.5527 11.4688 13.8164 11.6855 13.8164 12.0371C13.8164 12.3945 13.5527 12.6113 13.2012 12.6113H10.3945Z",
|
|
186020
|
+
fill: "currentColor"
|
|
186021
|
+
}), /*#__PURE__*/react.createElement("path", {
|
|
186022
|
+
opacity: "0.5",
|
|
186023
|
+
d: "M18.312 6.84473C21.8473 8.88583 22.9225 13.6424 20.7134 17.4687C18.5042 21.2951 13.8473 22.7422 10.312 20.7011C9.51661 20.2419 8.84737 19.6439 8.31042 18.9512C11.3012 19.3598 14.4827 17.8251 16.1946 14.8598C17.9067 11.8945 17.6457 8.3712 15.7963 5.98538C16.6645 6.10409 17.5167 6.38556 18.312 6.84473Z",
|
|
186024
|
+
fill: "currentColor"
|
|
186025
|
+
}), /*#__PURE__*/react.createElement("circle", {
|
|
186026
|
+
cx: "13.7852",
|
|
186027
|
+
cy: "13.4688",
|
|
186028
|
+
r: "8",
|
|
186029
|
+
stroke: "currentColor"
|
|
186030
|
+
}), /*#__PURE__*/react.createElement("path", {
|
|
186031
|
+
d: "M4.50586 8.22266C4.14844 8.22266 3.92578 7.9707 3.92578 7.60742V5.68555H2.10352C1.74609 5.68555 1.5 5.46875 1.5 5.11719C1.5 4.76562 1.74609 4.54297 2.10352 4.54297H3.92578V2.61523C3.92578 2.25195 4.14844 2 4.50586 2C4.85742 2 5.08008 2.25195 5.08008 2.61523V4.54297H6.89648C7.25391 4.54297 7.50586 4.76562 7.50586 5.11719C7.50586 5.46875 7.25391 5.68555 6.89648 5.68555H5.08008V7.60742C5.08008 7.9707 4.85742 8.22266 4.50586 8.22266Z",
|
|
186032
|
+
fill: "currentColor"
|
|
186033
|
+
}));
|
|
185907
186034
|
;// ../../ui-next/src/components/Icons/Sources/ActionNewDialog.tsx
|
|
185908
186035
|
function ActionNewDialog_extends() { return ActionNewDialog_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; }, ActionNewDialog_extends.apply(null, arguments); }
|
|
185909
186036
|
|
|
@@ -187842,6 +187969,56 @@ const Undo_Undo = props => /*#__PURE__*/react.createElement("svg", Undo_extends(
|
|
|
187842
187969
|
fillRule: "nonzero"
|
|
187843
187970
|
}))))));
|
|
187844
187971
|
/* harmony default export */ const Sources_Undo = (Undo_Undo);
|
|
187972
|
+
;// ../../ui-next/src/components/Icons/Sources/TabContours.tsx
|
|
187973
|
+
function TabContours_extends() { return TabContours_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; }, TabContours_extends.apply(null, arguments); }
|
|
187974
|
+
|
|
187975
|
+
const TabContours = props => /*#__PURE__*/react.createElement("svg", TabContours_extends({
|
|
187976
|
+
width: "22",
|
|
187977
|
+
height: "22",
|
|
187978
|
+
viewBox: "0 0 22 22",
|
|
187979
|
+
fill: "none"
|
|
187980
|
+
}, props), /*#__PURE__*/react.createElement("path", {
|
|
187981
|
+
d: "M11.9168 1.5H10.2502C10.02 1.5 9.8335 1.68655 9.8335 1.91667V3.58333C9.8335 3.81345 10.02 4 10.2502 4H11.9168C12.1469 4 12.3335 3.81345 12.3335 3.58333V1.91667C12.3335 1.68655 12.1469 1.5 11.9168 1.5Z",
|
|
187982
|
+
stroke: "currentColor",
|
|
187983
|
+
strokeLinecap: "round",
|
|
187984
|
+
strokeLinejoin: "round"
|
|
187985
|
+
}), /*#__PURE__*/react.createElement("path", {
|
|
187986
|
+
d: "M11.9168 18.1667H10.2502C10.02 18.1667 9.8335 18.3532 9.8335 18.5833V20.25C9.8335 20.4801 10.02 20.6667 10.2502 20.6667H11.9168C12.1469 20.6667 12.3335 20.4801 12.3335 20.25V18.5833C12.3335 18.3532 12.1469 18.1667 11.9168 18.1667Z",
|
|
187987
|
+
stroke: "currentColor",
|
|
187988
|
+
strokeLinecap: "round",
|
|
187989
|
+
strokeLinejoin: "round"
|
|
187990
|
+
}), /*#__PURE__*/react.createElement("path", {
|
|
187991
|
+
d: "M20.2503 9.83333H18.5837C18.3535 9.83333 18.167 10.0199 18.167 10.25V11.9167C18.167 12.1468 18.3535 12.3333 18.5837 12.3333H20.2503C20.4804 12.3333 20.667 12.1468 20.667 11.9167V10.25C20.667 10.0199 20.4804 9.83333 20.2503 9.83333Z",
|
|
187992
|
+
stroke: "currentColor",
|
|
187993
|
+
strokeLinecap: "round",
|
|
187994
|
+
strokeLinejoin: "round"
|
|
187995
|
+
}), /*#__PURE__*/react.createElement("path", {
|
|
187996
|
+
d: "M3.58333 9.83333H1.91667C1.68655 9.83333 1.5 10.0199 1.5 10.25V11.9167C1.5 12.1468 1.68655 12.3333 1.91667 12.3333H3.58333C3.81345 12.3333 4 12.1468 4 11.9167V10.25C4 10.0199 3.81345 9.83333 3.58333 9.83333Z",
|
|
187997
|
+
stroke: "currentColor",
|
|
187998
|
+
strokeLinecap: "round",
|
|
187999
|
+
strokeLinejoin: "round"
|
|
188000
|
+
}), /*#__PURE__*/react.createElement("path", {
|
|
188001
|
+
d: "M2.84277 9.83332C3.11056 8.0751 3.93334 6.44851 5.19101 5.191C6.44867 3.93349 8.07536 3.1109 9.83361 2.84332",
|
|
188002
|
+
stroke: "currentColor",
|
|
188003
|
+
strokeLinecap: "round",
|
|
188004
|
+
strokeLinejoin: "round"
|
|
188005
|
+
}), /*#__PURE__*/react.createElement("path", {
|
|
188006
|
+
d: "M9.83361 19.3242C8.07524 19.0565 6.44846 18.2338 5.19078 16.9762C3.93311 15.7185 3.1104 14.0917 2.84277 12.3333",
|
|
188007
|
+
stroke: "currentColor",
|
|
188008
|
+
strokeLinecap: "round",
|
|
188009
|
+
strokeLinejoin: "round"
|
|
188010
|
+
}), /*#__PURE__*/react.createElement("path", {
|
|
188011
|
+
d: "M19.3243 12.3333C19.0568 14.0916 18.2341 15.7184 16.9764 16.9759C15.7187 18.2335 14.0918 19.056 12.3335 19.3233",
|
|
188012
|
+
stroke: "currentColor",
|
|
188013
|
+
strokeLinecap: "round",
|
|
188014
|
+
strokeLinejoin: "round"
|
|
188015
|
+
}), /*#__PURE__*/react.createElement("path", {
|
|
188016
|
+
d: "M12.3335 2.84332C14.0917 3.1109 15.7184 3.93349 16.9761 5.191C18.2338 6.44851 19.0565 8.0751 19.3243 9.83332",
|
|
188017
|
+
stroke: "currentColor",
|
|
188018
|
+
strokeLinecap: "round",
|
|
188019
|
+
strokeLinejoin: "round"
|
|
188020
|
+
}));
|
|
188021
|
+
/* harmony default export */ const Sources_TabContours = (TabContours);
|
|
187845
188022
|
;// ../../ui-next/src/components/Icons/Icons.tsx
|
|
187846
188023
|
function Icons_extends() { return Icons_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; }, Icons_extends.apply(null, arguments); }
|
|
187847
188024
|
|
|
@@ -187988,6 +188165,7 @@ function Icons_extends() { return Icons_extends = Object.assign ? Object.assign.
|
|
|
187988
188165
|
|
|
187989
188166
|
|
|
187990
188167
|
|
|
188168
|
+
|
|
187991
188169
|
|
|
187992
188170
|
|
|
187993
188171
|
//
|
|
@@ -188341,6 +188519,8 @@ const Icons = {
|
|
|
188341
188519
|
'status-tracked': props => Sources_StatusTracking(props),
|
|
188342
188520
|
'status-untracked': props => Sources_StatusUntracked(props),
|
|
188343
188521
|
'status-locked': props => Sources_StatusLocked(props),
|
|
188522
|
+
'tab-contours': props => Sources_TabContours(props),
|
|
188523
|
+
TabContours: props => Sources_TabContours(props),
|
|
188344
188524
|
'tab-segmentation': props => Sources_TabSegmentation(props),
|
|
188345
188525
|
'tab-studies': props => Sources_TabStudies(props),
|
|
188346
188526
|
'tab-linear': props => Sources_TabLinear(props),
|
|
@@ -188387,6 +188567,7 @@ const Icons = {
|
|
|
188387
188567
|
'tool-referenceLines': props => ToolReferenceLines(props),
|
|
188388
188568
|
'tool-reset': props => ToolReset(props),
|
|
188389
188569
|
'tool-rotate-right': props => ToolRotateRight(props),
|
|
188570
|
+
'icon-tool-sculptor': props => ToolSculptor(props),
|
|
188390
188571
|
'tool-seg-brush': props => ToolSegBrush(props),
|
|
188391
188572
|
'tool-seg-eraser': props => ToolSegEraser(props),
|
|
188392
188573
|
'tool-seg-shape': props => ToolSegShape(props),
|
|
@@ -188442,6 +188623,7 @@ const Icons = {
|
|
|
188442
188623
|
'old-trash': props => Sources_Trash(props),
|
|
188443
188624
|
'tool-point': props => ToolCircle(props),
|
|
188444
188625
|
'tool-freehand-line': props => ToolFreehand(props),
|
|
188626
|
+
'tool-labelmap-edit-with-contour': props => ToolLabelmapEditWithContour(props),
|
|
188445
188627
|
'actions-smooth': props => ActionsSmooth(props),
|
|
188446
188628
|
'actions-simplify': props => ActionsSimplify(props),
|
|
188447
188629
|
'actions-combine': props => ActionsCombine(props),
|
|
@@ -267643,12 +267825,19 @@ const RowDoubleRange = ({
|
|
|
267643
267825
|
|
|
267644
267826
|
|
|
267645
267827
|
|
|
267828
|
+
|
|
267829
|
+
|
|
267830
|
+
|
|
267831
|
+
|
|
267646
267832
|
const SETTING_TYPES = {
|
|
267647
267833
|
RANGE: 'range',
|
|
267648
267834
|
RADIO: 'radio',
|
|
267649
267835
|
CUSTOM: 'custom',
|
|
267650
267836
|
DOUBLE_RANGE: 'double-range',
|
|
267651
|
-
BUTTON: 'button'
|
|
267837
|
+
BUTTON: 'button',
|
|
267838
|
+
CHECKBOX: 'checkbox',
|
|
267839
|
+
SWITCH: 'switch',
|
|
267840
|
+
SELECT: 'select'
|
|
267652
267841
|
};
|
|
267653
267842
|
function ToolSettings_ToolSettings({
|
|
267654
267843
|
options
|
|
@@ -267657,7 +267846,8 @@ function ToolSettings_ToolSettings({
|
|
|
267657
267846
|
return null;
|
|
267658
267847
|
}
|
|
267659
267848
|
if (typeof options === 'function') {
|
|
267660
|
-
|
|
267849
|
+
const OptionsComponent = options;
|
|
267850
|
+
return /*#__PURE__*/react.createElement(OptionsComponent, null);
|
|
267661
267851
|
}
|
|
267662
267852
|
return /*#__PURE__*/react.createElement("div", {
|
|
267663
267853
|
className: "text-foreground space-y-2 pb-4"
|
|
@@ -267678,6 +267868,12 @@ function ToolSettings_ToolSettings({
|
|
|
267678
267868
|
return renderCustomSetting(option);
|
|
267679
267869
|
case SETTING_TYPES.BUTTON:
|
|
267680
267870
|
return renderButtonSetting(option);
|
|
267871
|
+
case SETTING_TYPES.CHECKBOX:
|
|
267872
|
+
return renderCheckboxSetting(option);
|
|
267873
|
+
case SETTING_TYPES.SWITCH:
|
|
267874
|
+
return renderSwitchSetting(option);
|
|
267875
|
+
case SETTING_TYPES.SELECT:
|
|
267876
|
+
return renderSelectSetting(option);
|
|
267681
267877
|
default:
|
|
267682
267878
|
return null;
|
|
267683
267879
|
}
|
|
@@ -267732,6 +267928,48 @@ const renderButtonSetting = option => {
|
|
|
267732
267928
|
onClick: () => option.onChange()
|
|
267733
267929
|
}, option.name);
|
|
267734
267930
|
};
|
|
267931
|
+
const renderCheckboxSetting = option => {
|
|
267932
|
+
return /*#__PURE__*/react.createElement("div", {
|
|
267933
|
+
key: option.id,
|
|
267934
|
+
className: "flex items-center gap-2"
|
|
267935
|
+
}, /*#__PURE__*/react.createElement(Checkbox_Checkbox, {
|
|
267936
|
+
id: option.id,
|
|
267937
|
+
checked: option.value,
|
|
267938
|
+
onCheckedChange: checked => {
|
|
267939
|
+
option.onChange?.(checked);
|
|
267940
|
+
}
|
|
267941
|
+
}), /*#__PURE__*/react.createElement(Label_Label, {
|
|
267942
|
+
htmlFor: option.id,
|
|
267943
|
+
className: "cursor-pointer"
|
|
267944
|
+
}, option.name));
|
|
267945
|
+
};
|
|
267946
|
+
const renderSwitchSetting = option => {
|
|
267947
|
+
return /*#__PURE__*/react.createElement("div", {
|
|
267948
|
+
key: option.id,
|
|
267949
|
+
className: "flex items-center gap-2"
|
|
267950
|
+
}, /*#__PURE__*/react.createElement(Switch_Switch, {
|
|
267951
|
+
id: option.id,
|
|
267952
|
+
checked: option.value,
|
|
267953
|
+
onCheckedChange: checked => {
|
|
267954
|
+
option.onChange?.(checked);
|
|
267955
|
+
}
|
|
267956
|
+
}), /*#__PURE__*/react.createElement(Label_Label, {
|
|
267957
|
+
htmlFor: option.id,
|
|
267958
|
+
className: "cursor-pointer"
|
|
267959
|
+
}, option.name));
|
|
267960
|
+
};
|
|
267961
|
+
const renderSelectSetting = option => {
|
|
267962
|
+
return /*#__PURE__*/react.createElement(Select_Select, {
|
|
267963
|
+
key: option.id,
|
|
267964
|
+
onValueChange: value => option.onChange?.(value),
|
|
267965
|
+
value: option.value
|
|
267966
|
+
}, /*#__PURE__*/react.createElement(Select_SelectTrigger, {
|
|
267967
|
+
className: "w-full overflow-hidden"
|
|
267968
|
+
}, /*#__PURE__*/react.createElement(Select_SelectValue, null)), /*#__PURE__*/react.createElement(Select_SelectContent, null, option.values.map(value => /*#__PURE__*/react.createElement(Select_SelectItem, {
|
|
267969
|
+
key: value.id,
|
|
267970
|
+
value: value.id
|
|
267971
|
+
}, value.label))));
|
|
267972
|
+
};
|
|
267735
267973
|
/* harmony default export */ const OHIFToolSettings_ToolSettings = (ToolSettings_ToolSettings);
|
|
267736
267974
|
;// ../../ui-next/src/components/OHIFToolSettings/index.ts
|
|
267737
267975
|
|
|
@@ -270110,6 +270348,7 @@ const SegmentationSegments = ({
|
|
|
270110
270348
|
onSegmentClick,
|
|
270111
270349
|
onSegmentEdit,
|
|
270112
270350
|
onSegmentDelete,
|
|
270351
|
+
onSegmentCopy,
|
|
270113
270352
|
data,
|
|
270114
270353
|
showSegmentIndex = true
|
|
270115
270354
|
} = useSegmentationTableContext('SegmentationSegments');
|
|
@@ -270201,6 +270440,9 @@ const SegmentationSegments = ({
|
|
|
270201
270440
|
displayText
|
|
270202
270441
|
} = segmentFromSegmentation;
|
|
270203
270442
|
const cssColor = `rgb(${color[0]},${color[1]},${color[2]})`;
|
|
270443
|
+
|
|
270444
|
+
// Secondary selection: segment is active, but its parent segmentation is inactive
|
|
270445
|
+
const isSecondarySelected = active && !isActiveSegmentation;
|
|
270204
270446
|
const hasStats = segmentFromSegmentation.cachedStats?.namedStats;
|
|
270205
270447
|
const segmentRowRef = element => {
|
|
270206
270448
|
if (!active) {
|
|
@@ -270226,8 +270468,13 @@ const SegmentationSegments = ({
|
|
|
270226
270468
|
// details={displayText}
|
|
270227
270469
|
,
|
|
270228
270470
|
description: displayText,
|
|
270229
|
-
colorHex: cssColor
|
|
270230
|
-
|
|
270471
|
+
colorHex: cssColor
|
|
270472
|
+
// Primary selection only when part of the active segmentation
|
|
270473
|
+
,
|
|
270474
|
+
isSelected: active && isActiveSegmentation
|
|
270475
|
+
// Secondary selection tint when selected in an inactive segmentation
|
|
270476
|
+
,
|
|
270477
|
+
isSecondarySelected: isSecondarySelected,
|
|
270231
270478
|
isVisible: visible,
|
|
270232
270479
|
isLocked: locked,
|
|
270233
270480
|
disableEditing: disableEditing,
|
|
@@ -270237,7 +270484,8 @@ const SegmentationSegments = ({
|
|
|
270237
270484
|
onToggleLocked: () => onToggleSegmentLock(segmentation.segmentationId, segmentIndex),
|
|
270238
270485
|
onSelect: () => onSegmentClick(segmentation.segmentationId, segmentIndex),
|
|
270239
270486
|
onRename: () => onSegmentEdit(segmentation.segmentationId, segmentIndex),
|
|
270240
|
-
onDelete: () => onSegmentDelete(segmentation.segmentationId, segmentIndex)
|
|
270487
|
+
onDelete: () => onSegmentDelete(segmentation.segmentationId, segmentIndex),
|
|
270488
|
+
onCopy: onSegmentCopy ? () => onSegmentCopy(segmentation.segmentationId, segmentIndex) : undefined
|
|
270241
270489
|
});
|
|
270242
270490
|
return hasStats ? /*#__PURE__*/react.createElement(HoverCard_HoverCard, {
|
|
270243
270491
|
key: `hover-${segmentIndex}`,
|
|
@@ -270490,10 +270738,13 @@ const AddSegmentationRow = ({
|
|
|
270490
270738
|
data,
|
|
270491
270739
|
disableEditing,
|
|
270492
270740
|
mode,
|
|
270493
|
-
disabled
|
|
270741
|
+
disabled,
|
|
270742
|
+
segmentationRepresentationType
|
|
270494
270743
|
} = useSegmentationTableContext('AddSegmentationRow');
|
|
270495
|
-
|
|
270496
|
-
if
|
|
270744
|
+
|
|
270745
|
+
// Check if we have at least one segmentation of the representation type for the panel this component is contained in.
|
|
270746
|
+
const hasRepresentationType = !segmentationRepresentationType && data.length > 0 || data.some(info => segmentationRepresentationType === info.representation?.type);
|
|
270747
|
+
if (hasRepresentationType && mode === 'collapsed') {
|
|
270497
270748
|
return null;
|
|
270498
270749
|
}
|
|
270499
270750
|
if (disableEditing) {
|
|
@@ -270502,14 +270753,17 @@ const AddSegmentationRow = ({
|
|
|
270502
270753
|
return /*#__PURE__*/react.createElement("div", {
|
|
270503
270754
|
"data-cy": "addSegmentation",
|
|
270504
270755
|
className: `group ${disabled ? 'pointer-events-none cursor-not-allowed opacity-70' : ''}`,
|
|
270505
|
-
onClick: () => !disabled && onSegmentationAdd(
|
|
270756
|
+
onClick: () => !disabled && onSegmentationAdd({
|
|
270757
|
+
segmentationId: '',
|
|
270758
|
+
segmentationRepresentationType
|
|
270759
|
+
})
|
|
270506
270760
|
}, children, /*#__PURE__*/react.createElement("div", {
|
|
270507
270761
|
className: "text-primary group-hover:bg-secondary-dark flex items-center rounded-[4px] pl-1 group-hover:cursor-pointer"
|
|
270508
270762
|
}, /*#__PURE__*/react.createElement("div", {
|
|
270509
270763
|
className: "grid h-[28px] w-[28px] place-items-center"
|
|
270510
270764
|
}, disabled ? /*#__PURE__*/react.createElement(Icons.Info, null) : /*#__PURE__*/react.createElement(Icons.Add, null)), /*#__PURE__*/react.createElement("span", {
|
|
270511
270765
|
className: "text-[13px]"
|
|
270512
|
-
}, t(
|
|
270766
|
+
}, t(disabled ? 'Segmentation not supported' : 'Add segmentation'))));
|
|
270513
270767
|
};
|
|
270514
270768
|
;// ../../ui-next/src/components/SegmentationTable/SegmentationHeader.tsx
|
|
270515
270769
|
|
|
@@ -270593,19 +270847,24 @@ const SegmentationCollapsedSelector = () => {
|
|
|
270593
270847
|
} = (0,dist_es/* useTranslation */.Bd)('SegmentationTable.HeaderCollapsed');
|
|
270594
270848
|
const {
|
|
270595
270849
|
data,
|
|
270596
|
-
|
|
270597
|
-
|
|
270850
|
+
onSegmentationClick,
|
|
270851
|
+
segmentationRepresentationType
|
|
270598
270852
|
} = useSegmentationTableContext('SegmentationCollapsedSelector');
|
|
270853
|
+
const {
|
|
270854
|
+
segmentation
|
|
270855
|
+
} = useSegmentationExpanded('SegmentationCollapsedSelector');
|
|
270599
270856
|
if (!data?.length) {
|
|
270600
270857
|
return null;
|
|
270601
270858
|
}
|
|
270602
|
-
const segmentations = data
|
|
270859
|
+
const segmentations = data
|
|
270860
|
+
// Only show segmentations of the representation type for this panel. Show all segmentations if no type is specified.
|
|
270861
|
+
.filter(seg => !segmentationRepresentationType || segmentationRepresentationType === seg.representation.type).map(seg => ({
|
|
270603
270862
|
id: seg.segmentation.segmentationId,
|
|
270604
270863
|
label: seg.segmentation.label
|
|
270605
270864
|
}));
|
|
270606
270865
|
return /*#__PURE__*/react.createElement(Select_Select, {
|
|
270607
270866
|
onValueChange: value => onSegmentationClick(value),
|
|
270608
|
-
value:
|
|
270867
|
+
value: segmentation?.segmentationId
|
|
270609
270868
|
}, /*#__PURE__*/react.createElement(Select_SelectTrigger, {
|
|
270610
270869
|
className: "w-full overflow-hidden"
|
|
270611
270870
|
}, /*#__PURE__*/react.createElement(Select_SelectValue, {
|
|
@@ -270655,26 +270914,27 @@ const SegmentationCollapsedRoot = ({
|
|
|
270655
270914
|
const {
|
|
270656
270915
|
mode,
|
|
270657
270916
|
data,
|
|
270658
|
-
|
|
270917
|
+
segmentationRepresentationType,
|
|
270918
|
+
selectedSegmentationIdForType
|
|
270659
270919
|
} = useSegmentationTableContext('SegmentationCollapsed');
|
|
270660
270920
|
|
|
270661
|
-
//
|
|
270662
|
-
|
|
270663
|
-
return null;
|
|
270664
|
-
}
|
|
270921
|
+
// Find the segmentations for the representation type for this collapsed view.
|
|
270922
|
+
const segmentations = data.filter(segmentation => !segmentationRepresentationType || segmentationRepresentationType === segmentation.representation?.type);
|
|
270665
270923
|
|
|
270666
|
-
//
|
|
270667
|
-
|
|
270668
|
-
if (!activeSegmentationInfo) {
|
|
270924
|
+
// Check if we should render.
|
|
270925
|
+
if (mode !== 'collapsed' || !data || data.length === 0 || segmentations.length === 0) {
|
|
270669
270926
|
return null;
|
|
270670
270927
|
}
|
|
270928
|
+
|
|
270929
|
+
// Find the selected segmentation info for the representation type, or default to the first one.
|
|
270930
|
+
const selectedSegmentationInfo = segmentations.find(segmentation => segmentation.segmentation.segmentationId === selectedSegmentationIdForType) ?? segmentations[0];
|
|
270671
270931
|
return /*#__PURE__*/react.createElement("div", {
|
|
270672
270932
|
className: "space-y-0"
|
|
270673
270933
|
}, /*#__PURE__*/react.createElement(PanelSection_PanelSection, {
|
|
270674
270934
|
className: "mb-0"
|
|
270675
270935
|
}, /*#__PURE__*/react.createElement(SegmentationExpandedProvider, {
|
|
270676
|
-
segmentation:
|
|
270677
|
-
representation:
|
|
270936
|
+
segmentation: selectedSegmentationInfo.segmentation,
|
|
270937
|
+
representation: selectedSegmentationInfo.representation,
|
|
270678
270938
|
isActive: true,
|
|
270679
270939
|
onSegmentationClick: () => {} // No-op since it's already the active one
|
|
270680
270940
|
}, children)));
|
|
@@ -270787,7 +271047,8 @@ const SegmentationExpandedRoot = ({
|
|
|
270787
271047
|
data,
|
|
270788
271048
|
activeSegmentationId,
|
|
270789
271049
|
onSegmentationClick,
|
|
270790
|
-
mode
|
|
271050
|
+
mode,
|
|
271051
|
+
segmentationRepresentationType
|
|
270791
271052
|
} = useSegmentationTableContext('SegmentationExpanded');
|
|
270792
271053
|
const {
|
|
270793
271054
|
ref: scrollableContainerRef,
|
|
@@ -270807,7 +271068,7 @@ const SegmentationExpandedRoot = ({
|
|
|
270807
271068
|
maxHeight: maxHeight
|
|
270808
271069
|
},
|
|
270809
271070
|
className: `space-y-0 pl-0.5`
|
|
270810
|
-
}, data.map(segmentationInfo => {
|
|
271071
|
+
}, data.filter(segmentationInfo => !segmentationRepresentationType || segmentationInfo.representation.type === segmentationRepresentationType).map(segmentationInfo => {
|
|
270811
271072
|
const isActive = segmentationInfo.segmentation.segmentationId === activeSegmentationId;
|
|
270812
271073
|
return /*#__PURE__*/react.createElement(PanelSection_PanelSection, {
|
|
270813
271074
|
key: segmentationInfo.segmentation.segmentationId,
|
|
@@ -275343,7 +275604,9 @@ const DataRowComponent = /*#__PURE__*/react.forwardRef(({
|
|
|
275343
275604
|
onRename,
|
|
275344
275605
|
onDelete,
|
|
275345
275606
|
onColor,
|
|
275607
|
+
onCopy,
|
|
275346
275608
|
isSelected = false,
|
|
275609
|
+
isSecondarySelected = false,
|
|
275347
275610
|
isVisible = true,
|
|
275348
275611
|
disableEditing = false,
|
|
275349
275612
|
className,
|
|
@@ -275360,6 +275623,9 @@ const DataRowComponent = /*#__PURE__*/react.forwardRef(({
|
|
|
275360
275623
|
case 'Rename':
|
|
275361
275624
|
onRename(e);
|
|
275362
275625
|
break;
|
|
275626
|
+
case 'Copy':
|
|
275627
|
+
onCopy?.(e);
|
|
275628
|
+
break;
|
|
275363
275629
|
case 'Lock':
|
|
275364
275630
|
onToggleLocked(e);
|
|
275365
275631
|
break;
|
|
@@ -275420,7 +275686,9 @@ const DataRowComponent = /*#__PURE__*/react.forwardRef(({
|
|
|
275420
275686
|
className: `flex items-center ${isSelected ? 'bg-popover' : 'bg-muted'} group relative cursor-pointer`,
|
|
275421
275687
|
onClick: onSelect,
|
|
275422
275688
|
"data-cy": "data-row"
|
|
275423
|
-
}, /*#__PURE__*/react.createElement("div", {
|
|
275689
|
+
}, isSecondarySelected && /*#__PURE__*/react.createElement("div", {
|
|
275690
|
+
className: "bg-primary/20 pointer-events-none absolute inset-0"
|
|
275691
|
+
}), /*#__PURE__*/react.createElement("div", {
|
|
275424
275692
|
className: "bg-primary/20 pointer-events-none absolute inset-0 opacity-0 transition-opacity group-hover:opacity-100"
|
|
275425
275693
|
}), number !== null && /*#__PURE__*/react.createElement("div", {
|
|
275426
275694
|
className: `flex h-7 max-h-7 w-7 flex-shrink-0 items-center justify-center rounded-l border-r border-black text-base ${isSelected ? 'bg-highlight text-black' : 'bg-muted text-muted-foreground'} overflow-hidden`
|
|
@@ -275488,7 +275756,14 @@ const DataRowComponent = /*#__PURE__*/react.forwardRef(({
|
|
|
275488
275756
|
}), /*#__PURE__*/react.createElement("span", {
|
|
275489
275757
|
className: "pl-2",
|
|
275490
275758
|
"data-cy": "Rename"
|
|
275491
|
-
}, "Rename")), /*#__PURE__*/react.createElement(DropdownMenu_DropdownMenuItem, {
|
|
275759
|
+
}, "Rename")), onCopy && /*#__PURE__*/react.createElement(DropdownMenu_DropdownMenuItem, {
|
|
275760
|
+
onClick: e => handleAction('Copy', e)
|
|
275761
|
+
}, /*#__PURE__*/react.createElement(Icons.Copy, {
|
|
275762
|
+
className: "text-foreground"
|
|
275763
|
+
}), /*#__PURE__*/react.createElement("span", {
|
|
275764
|
+
className: "pl-2",
|
|
275765
|
+
"data-cy": "Duplicate"
|
|
275766
|
+
}, "Duplicate")), /*#__PURE__*/react.createElement(DropdownMenu_DropdownMenuItem, {
|
|
275492
275767
|
onClick: e => handleAction('Delete', e)
|
|
275493
275768
|
}, /*#__PURE__*/react.createElement(Icons.Delete, {
|
|
275494
275769
|
className: "text-foreground"
|
|
@@ -277300,8 +277575,8 @@ Local.prototype = local.prototype = {
|
|
|
277300
277575
|
|
|
277301
277576
|
|
|
277302
277577
|
|
|
277303
|
-
// EXTERNAL MODULE: ../../../node_modules/d3-array/src/index.js +
|
|
277304
|
-
var d3_array_src = __webpack_require__(
|
|
277578
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-array/src/index.js + 55 modules
|
|
277579
|
+
var d3_array_src = __webpack_require__(50647);
|
|
277305
277580
|
;// ../../../node_modules/d3-axis/src/identity.js
|
|
277306
277581
|
/* harmony default export */ function src_identity(x) {
|
|
277307
277582
|
return x;
|
|
@@ -277550,8 +277825,8 @@ var d3_scale_src = __webpack_require__(95583);
|
|
|
277550
277825
|
|
|
277551
277826
|
/* harmony default export */ const Tableau10 = (colors("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"));
|
|
277552
277827
|
|
|
277553
|
-
// EXTERNAL MODULE: ../../../node_modules/d3-interpolate/src/index.js +
|
|
277554
|
-
var d3_interpolate_src = __webpack_require__(
|
|
277828
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-interpolate/src/index.js + 21 modules
|
|
277829
|
+
var d3_interpolate_src = __webpack_require__(51167);
|
|
277555
277830
|
;// ../../../node_modules/d3-scale-chromatic/src/ramp.js
|
|
277556
277831
|
|
|
277557
277832
|
|
|
@@ -284099,8 +284374,8 @@ Typography.propTypes = {
|
|
|
284099
284374
|
;// ../../ui/src/components/Typography/index.js
|
|
284100
284375
|
|
|
284101
284376
|
/* harmony default export */ const components_Typography = (Typography_Typography);
|
|
284102
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
284103
|
-
var src = __webpack_require__(
|
|
284377
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 3073 modules
|
|
284378
|
+
var src = __webpack_require__(1246);
|
|
284104
284379
|
;// ../../ui/src/components/EmptyStudies/EmptyStudies.tsx
|
|
284105
284380
|
|
|
284106
284381
|
|
|
@@ -375731,41 +376006,29 @@ function generateUUID() {
|
|
|
375731
376006
|
|
|
375732
376007
|
/***/ }),
|
|
375733
376008
|
|
|
375734
|
-
/***/
|
|
376009
|
+
/***/ 18642:
|
|
375735
376010
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
375736
376011
|
|
|
375737
376012
|
"use strict";
|
|
375738
|
-
|
|
375739
|
-
|
|
375740
|
-
|
|
375741
|
-
|
|
375742
|
-
h1: () => (/* reexport */ src_bisect),
|
|
375743
|
-
yl: () => (/* reexport */ bisector),
|
|
375744
|
-
T9: () => (/* reexport */ max_max),
|
|
375745
|
-
jk: () => (/* reexport */ src_min/* default */.A),
|
|
375746
|
-
lq: () => (/* reexport */ ticks_tickIncrement),
|
|
375747
|
-
sG: () => (/* reexport */ tickStep),
|
|
375748
|
-
Zc: () => (/* reexport */ ticks_ticks),
|
|
375749
|
-
yU: () => (/* reexport */ zip/* default */.A)
|
|
375750
|
-
});
|
|
375751
|
-
|
|
375752
|
-
// UNUSED EXPORTS: Adder, InternSet, ascending, bin, bisectCenter, bisectLeft, bisectRight, blur, blur2, blurImage, count, cross, cumsum, descending, deviation, difference, disjoint, every, extent, fcumsum, filter, flatGroup, flatRollup, fsum, greatest, greatestIndex, group, groupSort, groups, histogram, index, indexes, intersection, least, leastIndex, map, maxIndex, mean, median, medianIndex, merge, minIndex, mode, nice, pairs, permute, quantile, quantileIndex, quantileSorted, quickselect, range, rank, reduce, reverse, rollup, rollups, scan, shuffle, shuffler, some, sort, subset, sum, superset, thresholdFreedmanDiaconis, thresholdScott, thresholdSturges, transpose, union, variance
|
|
375753
|
-
|
|
375754
|
-
;// ../../../node_modules/d3-array/src/ascending.js
|
|
375755
|
-
function ascending_ascending(a, b) {
|
|
376013
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
376014
|
+
/* harmony export */ A: () => (/* binding */ ascending)
|
|
376015
|
+
/* harmony export */ });
|
|
376016
|
+
function ascending(a, b) {
|
|
375756
376017
|
return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
|
|
375757
376018
|
}
|
|
375758
376019
|
|
|
375759
|
-
;// ../../../node_modules/d3-array/src/descending.js
|
|
375760
|
-
function descending(a, b) {
|
|
375761
|
-
return a == null || b == null ? NaN
|
|
375762
|
-
: b < a ? -1
|
|
375763
|
-
: b > a ? 1
|
|
375764
|
-
: b >= a ? 0
|
|
375765
|
-
: NaN;
|
|
375766
|
-
}
|
|
375767
376020
|
|
|
375768
|
-
|
|
376021
|
+
/***/ }),
|
|
376022
|
+
|
|
376023
|
+
/***/ 38153:
|
|
376024
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
376025
|
+
|
|
376026
|
+
"use strict";
|
|
376027
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
376028
|
+
/* harmony export */ A: () => (/* binding */ bisector)
|
|
376029
|
+
/* harmony export */ });
|
|
376030
|
+
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18642);
|
|
376031
|
+
/* harmony import */ var _descending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(33760);
|
|
375769
376032
|
|
|
375770
376033
|
|
|
375771
376034
|
|
|
@@ -375778,11 +376041,11 @@ function bisector(f) {
|
|
|
375778
376041
|
// tell if the comparator is symmetric, and an asymmetric comparator can’t be
|
|
375779
376042
|
// used to test whether a single value is comparable.
|
|
375780
376043
|
if (f.length !== 2) {
|
|
375781
|
-
compare1 =
|
|
375782
|
-
compare2 = (d, x) =>
|
|
376044
|
+
compare1 = _ascending_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A;
|
|
376045
|
+
compare2 = (d, x) => (0,_ascending_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(f(d), x);
|
|
375783
376046
|
delta = (d, x) => f(d) - x;
|
|
375784
376047
|
} else {
|
|
375785
|
-
compare1 = f ===
|
|
376048
|
+
compare1 = f === _ascending_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A || f === _descending_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A ? f : zero;
|
|
375786
376049
|
compare2 = f;
|
|
375787
376050
|
delta = f;
|
|
375788
376051
|
}
|
|
@@ -375823,6 +376086,51 @@ function zero() {
|
|
|
375823
376086
|
return 0;
|
|
375824
376087
|
}
|
|
375825
376088
|
|
|
376089
|
+
|
|
376090
|
+
/***/ }),
|
|
376091
|
+
|
|
376092
|
+
/***/ 33760:
|
|
376093
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
376094
|
+
|
|
376095
|
+
"use strict";
|
|
376096
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
376097
|
+
/* harmony export */ A: () => (/* binding */ descending)
|
|
376098
|
+
/* harmony export */ });
|
|
376099
|
+
function descending(a, b) {
|
|
376100
|
+
return a == null || b == null ? NaN
|
|
376101
|
+
: b < a ? -1
|
|
376102
|
+
: b > a ? 1
|
|
376103
|
+
: b >= a ? 0
|
|
376104
|
+
: NaN;
|
|
376105
|
+
}
|
|
376106
|
+
|
|
376107
|
+
|
|
376108
|
+
/***/ }),
|
|
376109
|
+
|
|
376110
|
+
/***/ 50647:
|
|
376111
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
376112
|
+
|
|
376113
|
+
"use strict";
|
|
376114
|
+
|
|
376115
|
+
// EXPORTS
|
|
376116
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
376117
|
+
Bu: () => (/* reexport */ src_InternMap),
|
|
376118
|
+
h1: () => (/* reexport */ src_bisect),
|
|
376119
|
+
yl: () => (/* reexport */ bisector/* default */.A),
|
|
376120
|
+
T9: () => (/* reexport */ max_max),
|
|
376121
|
+
jk: () => (/* reexport */ src_min/* default */.A),
|
|
376122
|
+
lq: () => (/* reexport */ ticks_tickIncrement),
|
|
376123
|
+
sG: () => (/* reexport */ tickStep),
|
|
376124
|
+
Zc: () => (/* reexport */ ticks_ticks),
|
|
376125
|
+
yU: () => (/* reexport */ zip/* default */.A)
|
|
376126
|
+
});
|
|
376127
|
+
|
|
376128
|
+
// UNUSED EXPORTS: Adder, InternSet, ascending, bin, bisectCenter, bisectLeft, bisectRight, blur, blur2, blurImage, count, cross, cumsum, descending, deviation, difference, disjoint, every, extent, fcumsum, filter, flatGroup, flatRollup, fsum, greatest, greatestIndex, group, groupSort, groups, histogram, index, indexes, intersection, least, leastIndex, map, maxIndex, mean, median, medianIndex, merge, minIndex, mode, nice, pairs, permute, quantile, quantileIndex, quantileSorted, quickselect, range, rank, reduce, reverse, rollup, rollups, scan, shuffle, shuffler, some, sort, subset, sum, superset, thresholdFreedmanDiaconis, thresholdScott, thresholdSturges, transpose, union, variance
|
|
376129
|
+
|
|
376130
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-array/src/ascending.js
|
|
376131
|
+
var src_ascending = __webpack_require__(18642);
|
|
376132
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-array/src/bisector.js
|
|
376133
|
+
var bisector = __webpack_require__(38153);
|
|
375826
376134
|
;// ../../../node_modules/d3-array/src/number.js
|
|
375827
376135
|
function number_number(x) {
|
|
375828
376136
|
return x === null ? NaN : +x;
|
|
@@ -375850,10 +376158,10 @@ function* number_numbers(values, valueof) {
|
|
|
375850
376158
|
|
|
375851
376159
|
|
|
375852
376160
|
|
|
375853
|
-
const ascendingBisect = bisector(
|
|
376161
|
+
const ascendingBisect = (0,bisector/* default */.A)(src_ascending/* default */.A);
|
|
375854
376162
|
const bisectRight = ascendingBisect.right;
|
|
375855
376163
|
const bisectLeft = ascendingBisect.left;
|
|
375856
|
-
const bisectCenter = bisector(number_number).center;
|
|
376164
|
+
const bisectCenter = (0,bisector/* default */.A)(number_number).center;
|
|
375857
376165
|
/* harmony default export */ const src_bisect = (bisectRight);
|
|
375858
376166
|
|
|
375859
376167
|
;// ../../../node_modules/d3-array/src/blur.js
|
|
@@ -376035,6 +376343,8 @@ function cumsum(values, valueof) {
|
|
|
376035
376343
|
? v => (sum += +v || 0)
|
|
376036
376344
|
: v => (sum += +valueof(v, index++, values) || 0));
|
|
376037
376345
|
}
|
|
376346
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-array/src/descending.js
|
|
376347
|
+
var descending = __webpack_require__(33760);
|
|
376038
376348
|
;// ../../../node_modules/d3-array/src/variance.js
|
|
376039
376349
|
function variance_variance(values, valueof) {
|
|
376040
376350
|
let count = 0;
|
|
@@ -377984,7 +378294,19 @@ src_define(Cubehelix, cubehelix, extend(Color, {
|
|
|
377984
378294
|
|
|
377985
378295
|
/***/ }),
|
|
377986
378296
|
|
|
377987
|
-
/***/
|
|
378297
|
+
/***/ 80136:
|
|
378298
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
378299
|
+
|
|
378300
|
+
"use strict";
|
|
378301
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
378302
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
378303
|
+
/* harmony export */ });
|
|
378304
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (x => () => x);
|
|
378305
|
+
|
|
378306
|
+
|
|
378307
|
+
/***/ }),
|
|
378308
|
+
|
|
378309
|
+
/***/ 51167:
|
|
377988
378310
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
377989
378311
|
|
|
377990
378312
|
"use strict";
|
|
@@ -377994,10 +378316,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
377994
378316
|
GW: () => (/* reexport */ src_value),
|
|
377995
378317
|
Qm: () => (/* reexport */ src_basis),
|
|
377996
378318
|
Xl: () => (/* reexport */ cubehelixLong),
|
|
377997
|
-
Dj: () => (/* reexport */ number),
|
|
378319
|
+
Dj: () => (/* reexport */ number/* default */.A),
|
|
377998
378320
|
Zr: () => (/* reexport */ rgb),
|
|
377999
378321
|
z4: () => (/* reexport */ rgbBasis),
|
|
378000
|
-
sH: () => (/* reexport */ round),
|
|
378322
|
+
sH: () => (/* reexport */ round/* default */.A),
|
|
378001
378323
|
zl: () => (/* reexport */ string),
|
|
378002
378324
|
TE: () => (/* reexport */ interpolateTransformCss),
|
|
378003
378325
|
pN: () => (/* reexport */ interpolateTransformSvg),
|
|
@@ -378045,9 +378367,8 @@ function basis(t1, v0, v1, v2, v3) {
|
|
|
378045
378367
|
};
|
|
378046
378368
|
}
|
|
378047
378369
|
|
|
378048
|
-
|
|
378049
|
-
|
|
378050
|
-
|
|
378370
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-interpolate/src/constant.js
|
|
378371
|
+
var constant = __webpack_require__(80136);
|
|
378051
378372
|
;// ../../../node_modules/d3-interpolate/src/color.js
|
|
378052
378373
|
|
|
378053
378374
|
|
|
@@ -378065,18 +378386,18 @@ function exponential(a, b, y) {
|
|
|
378065
378386
|
|
|
378066
378387
|
function color_hue(a, b) {
|
|
378067
378388
|
var d = b - a;
|
|
378068
|
-
return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);
|
|
378389
|
+
return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : (0,constant/* default */.A)(isNaN(a) ? b : a);
|
|
378069
378390
|
}
|
|
378070
378391
|
|
|
378071
378392
|
function gamma(y) {
|
|
378072
378393
|
return (y = +y) === 1 ? nogamma : function(a, b) {
|
|
378073
|
-
return b - a ? exponential(a, b, y) : constant(isNaN(a) ? b : a);
|
|
378394
|
+
return b - a ? exponential(a, b, y) : (0,constant/* default */.A)(isNaN(a) ? b : a);
|
|
378074
378395
|
};
|
|
378075
378396
|
}
|
|
378076
378397
|
|
|
378077
378398
|
function nogamma(a, b) {
|
|
378078
378399
|
var d = b - a;
|
|
378079
|
-
return d ? linear(a, d) : constant(isNaN(a) ? b : a);
|
|
378400
|
+
return d ? linear(a, d) : (0,constant/* default */.A)(isNaN(a) ? b : a);
|
|
378080
378401
|
}
|
|
378081
378402
|
|
|
378082
378403
|
;// ../../../node_modules/d3-interpolate/src/rgb.js
|
|
@@ -378184,13 +378505,8 @@ function genericArray(a, b) {
|
|
|
378184
378505
|
};
|
|
378185
378506
|
}
|
|
378186
378507
|
|
|
378187
|
-
|
|
378188
|
-
|
|
378189
|
-
return a = +a, b = +b, function(t) {
|
|
378190
|
-
return a * (1 - t) + b * t;
|
|
378191
|
-
};
|
|
378192
|
-
}
|
|
378193
|
-
|
|
378508
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-interpolate/src/number.js
|
|
378509
|
+
var number = __webpack_require__(20825);
|
|
378194
378510
|
;// ../../../node_modules/d3-interpolate/src/object.js
|
|
378195
378511
|
|
|
378196
378512
|
|
|
@@ -378259,7 +378575,7 @@ function one(b) {
|
|
|
378259
378575
|
else s[++i] = bm;
|
|
378260
378576
|
} else { // interpolate non-matching numbers
|
|
378261
378577
|
s[++i] = null;
|
|
378262
|
-
q.push({i: i, x: number(am, bm)});
|
|
378578
|
+
q.push({i: i, x: (0,number/* default */.A)(am, bm)});
|
|
378263
378579
|
}
|
|
378264
378580
|
bi = reB.lastIndex;
|
|
378265
378581
|
}
|
|
@@ -378295,15 +378611,15 @@ function one(b) {
|
|
|
378295
378611
|
|
|
378296
378612
|
/* harmony default export */ function src_value(a, b) {
|
|
378297
378613
|
var t = typeof b, c;
|
|
378298
|
-
return b == null || t === "boolean" ? constant(b)
|
|
378299
|
-
: (t === "number" ? number
|
|
378614
|
+
return b == null || t === "boolean" ? (0,constant/* default */.A)(b)
|
|
378615
|
+
: (t === "number" ? number/* default */.A
|
|
378300
378616
|
: t === "string" ? ((c = (0,src/* color */.yW)(b)) ? (b = c, rgb) : string)
|
|
378301
378617
|
: b instanceof src/* color */.yW ? rgb
|
|
378302
378618
|
: b instanceof Date ? date
|
|
378303
378619
|
: numberArray_isNumberArray(b) ? src_numberArray
|
|
378304
378620
|
: Array.isArray(b) ? genericArray
|
|
378305
378621
|
: typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? object
|
|
378306
|
-
: number)(a, b);
|
|
378622
|
+
: number/* default */.A)(a, b);
|
|
378307
378623
|
}
|
|
378308
378624
|
|
|
378309
378625
|
;// ../../../node_modules/d3-interpolate/src/discrete.js
|
|
@@ -378325,13 +378641,8 @@ function one(b) {
|
|
|
378325
378641
|
};
|
|
378326
378642
|
}
|
|
378327
378643
|
|
|
378328
|
-
|
|
378329
|
-
|
|
378330
|
-
return a = +a, b = +b, function(t) {
|
|
378331
|
-
return Math.round(a * (1 - t) + b * t);
|
|
378332
|
-
};
|
|
378333
|
-
}
|
|
378334
|
-
|
|
378644
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-interpolate/src/round.js
|
|
378645
|
+
var round = __webpack_require__(66822);
|
|
378335
378646
|
;// ../../../node_modules/d3-interpolate/src/transform/decompose.js
|
|
378336
378647
|
var degrees = 180 / Math.PI;
|
|
378337
378648
|
|
|
@@ -378393,7 +378704,7 @@ function interpolateTransform(parse, pxComma, pxParen, degParen) {
|
|
|
378393
378704
|
function translate(xa, ya, xb, yb, s, q) {
|
|
378394
378705
|
if (xa !== xb || ya !== yb) {
|
|
378395
378706
|
var i = s.push("translate(", null, pxComma, null, pxParen);
|
|
378396
|
-
q.push({i: i - 4, x: number(xa, xb)}, {i: i - 2, x: number(ya, yb)});
|
|
378707
|
+
q.push({i: i - 4, x: (0,number/* default */.A)(xa, xb)}, {i: i - 2, x: (0,number/* default */.A)(ya, yb)});
|
|
378397
378708
|
} else if (xb || yb) {
|
|
378398
378709
|
s.push("translate(" + xb + pxComma + yb + pxParen);
|
|
378399
378710
|
}
|
|
@@ -378402,7 +378713,7 @@ function interpolateTransform(parse, pxComma, pxParen, degParen) {
|
|
|
378402
378713
|
function rotate(a, b, s, q) {
|
|
378403
378714
|
if (a !== b) {
|
|
378404
378715
|
if (a - b > 180) b += 360; else if (b - a > 180) a += 360; // shortest path
|
|
378405
|
-
q.push({i: s.push(pop(s) + "rotate(", null, degParen) - 2, x: number(a, b)});
|
|
378716
|
+
q.push({i: s.push(pop(s) + "rotate(", null, degParen) - 2, x: (0,number/* default */.A)(a, b)});
|
|
378406
378717
|
} else if (b) {
|
|
378407
378718
|
s.push(pop(s) + "rotate(" + b + degParen);
|
|
378408
378719
|
}
|
|
@@ -378410,7 +378721,7 @@ function interpolateTransform(parse, pxComma, pxParen, degParen) {
|
|
|
378410
378721
|
|
|
378411
378722
|
function skewX(a, b, s, q) {
|
|
378412
378723
|
if (a !== b) {
|
|
378413
|
-
q.push({i: s.push(pop(s) + "skewX(", null, degParen) - 2, x: number(a, b)});
|
|
378724
|
+
q.push({i: s.push(pop(s) + "skewX(", null, degParen) - 2, x: (0,number/* default */.A)(a, b)});
|
|
378414
378725
|
} else if (b) {
|
|
378415
378726
|
s.push(pop(s) + "skewX(" + b + degParen);
|
|
378416
378727
|
}
|
|
@@ -378419,7 +378730,7 @@ function interpolateTransform(parse, pxComma, pxParen, degParen) {
|
|
|
378419
378730
|
function scale(xa, ya, xb, yb, s, q) {
|
|
378420
378731
|
if (xa !== xb || ya !== yb) {
|
|
378421
378732
|
var i = s.push(pop(s) + "scale(", null, ",", null, ")");
|
|
378422
|
-
q.push({i: i - 4, x: number(xa, xb)}, {i: i - 2, x: number(ya, yb)});
|
|
378733
|
+
q.push({i: i - 4, x: (0,number/* default */.A)(xa, xb)}, {i: i - 2, x: (0,number/* default */.A)(ya, yb)});
|
|
378423
378734
|
} else if (xb !== 1 || yb !== 1) {
|
|
378424
378735
|
s.push(pop(s) + "scale(" + xb + "," + yb + ")");
|
|
378425
378736
|
}
|
|
@@ -378650,6 +378961,22 @@ var quantize = __webpack_require__(20919);
|
|
|
378650
378961
|
|
|
378651
378962
|
|
|
378652
378963
|
|
|
378964
|
+
|
|
378965
|
+
|
|
378966
|
+
/***/ }),
|
|
378967
|
+
|
|
378968
|
+
/***/ 20825:
|
|
378969
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
378970
|
+
|
|
378971
|
+
"use strict";
|
|
378972
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
378973
|
+
/* harmony export */ A: () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)
|
|
378974
|
+
/* harmony export */ });
|
|
378975
|
+
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) {
|
|
378976
|
+
return a = +a, b = +b, function(t) {
|
|
378977
|
+
return a * (1 - t) + b * t;
|
|
378978
|
+
};
|
|
378979
|
+
}
|
|
378653
378980
|
|
|
378654
378981
|
|
|
378655
378982
|
/***/ }),
|
|
@@ -378668,6 +378995,22 @@ var quantize = __webpack_require__(20919);
|
|
|
378668
378995
|
}
|
|
378669
378996
|
|
|
378670
378997
|
|
|
378998
|
+
/***/ }),
|
|
378999
|
+
|
|
379000
|
+
/***/ 66822:
|
|
379001
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
379002
|
+
|
|
379003
|
+
"use strict";
|
|
379004
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
379005
|
+
/* harmony export */ A: () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)
|
|
379006
|
+
/* harmony export */ });
|
|
379007
|
+
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) {
|
|
379008
|
+
return a = +a, b = +b, function(t) {
|
|
379009
|
+
return Math.round(a * (1 - t) + b * t);
|
|
379010
|
+
};
|
|
379011
|
+
}
|
|
379012
|
+
|
|
379013
|
+
|
|
378671
379014
|
/***/ }),
|
|
378672
379015
|
|
|
378673
379016
|
/***/ 95583:
|
|
@@ -378683,8 +379026,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
378683
379026
|
|
|
378684
379027
|
// UNUSED EXPORTS: scaleBand, scaleDiverging, scaleDivergingLog, scaleDivergingPow, scaleDivergingSqrt, scaleDivergingSymlog, scaleIdentity, scaleImplicit, scaleLog, scalePoint, scalePow, scaleQuantile, scaleQuantize, scaleRadial, scaleSequential, scaleSequentialLog, scaleSequentialPow, scaleSequentialQuantile, scaleSequentialSqrt, scaleSequentialSymlog, scaleSqrt, scaleSymlog, scaleThreshold, scaleTime, scaleUtc, tickFormat
|
|
378685
379028
|
|
|
378686
|
-
// EXTERNAL MODULE: ../../../node_modules/d3-array/src/index.js +
|
|
378687
|
-
var src = __webpack_require__(
|
|
379029
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-array/src/index.js + 55 modules
|
|
379030
|
+
var src = __webpack_require__(50647);
|
|
378688
379031
|
;// ../../../node_modules/d3-scale/src/init.js
|
|
378689
379032
|
function init_initRange(domain, range) {
|
|
378690
379033
|
switch (arguments.length) {
|
|
@@ -378864,8 +379207,8 @@ function point() {
|
|
|
378864
379207
|
return pointish(band.apply(null, arguments).paddingInner(1));
|
|
378865
379208
|
}
|
|
378866
379209
|
|
|
378867
|
-
// EXTERNAL MODULE: ../../../node_modules/d3-interpolate/src/index.js +
|
|
378868
|
-
var d3_interpolate_src = __webpack_require__(
|
|
379210
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-interpolate/src/index.js + 21 modules
|
|
379211
|
+
var d3_interpolate_src = __webpack_require__(51167);
|
|
378869
379212
|
;// ../../../node_modules/d3-scale/src/constant.js
|
|
378870
379213
|
function constants(x) {
|
|
378871
379214
|
return function() {
|
|
@@ -386261,7 +386604,7 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
386261
386604
|
/******/ // This function allow to reference async chunks
|
|
386262
386605
|
/******/ __webpack_require__.u = (chunkId) => {
|
|
386263
386606
|
/******/ // return url for filenames based on template
|
|
386264
|
-
/******/ return "" + ({"572":"polySeg","2007":"interpolation","3054":"histogram-worker","3694":"compute"}[chunkId] || chunkId) + ".bundle." + {"85":"
|
|
386607
|
+
/******/ return "" + ({"572":"polySeg","2007":"interpolation","3054":"histogram-worker","3694":"compute"}[chunkId] || chunkId) + ".bundle." + {"85":"b1586702f9300c017632","147":"53fe889b205dd91c245b","213":"1cc1975ae90ca2eadfd5","319":"f5adcbbef5767dedc45d","414":"597500ee9c214b0a7212","572":"d0ed88f3bfea700c211b","732":"6978ac30a1e36abf06db","810":"d31e9fd894cac5ec768a","934":"a25daa6ed5038a83faf8","1459":"c878b794be71883de852","1604":"0d3b54b754c97de7aa88","1807":"ade363b62ad3a0442a9c","1919":"099a3ad4025e527284b0","1927":"081901df8d9b33633806","2007":"f58dd6d3d25dd22cfefd","2108":"e84aa8d858d8c4f2413e","2243":"a4c417be34f113e1fbc6","2424":"22082b8a1483bc47cbb1","2518":"b21d8c66dc8deb8ba922","2701":"6418ae6e9e372ccae322","2974":"a90a9df917b90bc02c69","3054":"b7bb02c6cd9273c422f5","3694":"f6f1236073e2a486ddfb","4019":"6505ff57ca48af03da8a","4092":"48390d480273857e794e","4113":"8e8cca0c8fbf690e7b93","4202":"1c5271f1cacf5794aba7","4759":"c3bfca952eea20a0d6f9","5261":"6e1a017f8f1027557f5b","5349":"6bf58c3e9e9571fa8a7d","5400":"eb0f5866140b5db31518","5457":"9758280deb7db83edb99","5485":"aafe4c0e2e9e2afd878d","5674":"8c34228471ff9e53b8c3","5802":"8922caf16c088b10cdb0","6027":"5649e4e1fde732251102","6201":"b0a52e8b23e83d7820d6","6725":"75f59fc21a7fbecb9bce","6939":"41fbdef87597b5172ec6","6991":"500dbaf5bec95a3d49d2","7159":"a5991a5d4f0dd8f1c95f","7412":"94802a6a629f62daab88","7431":"ad1982d7c54a5931d409","7639":"c6ee8cf4672716943e89","7948":"8c0bd83ffaacabc3dcbd","8094":"5c44190a325ac23e3e5c","8402":"edb924cd47cd168f621c","8558":"83d96d728f9f186ea5ad","9548":"9e723f4ad09b9c1b431a","9845":"6ee5ca8fe9f68cefd56d","9862":"e2c4c129f7907500b840"}[chunkId] + ".js";
|
|
386265
386608
|
/******/ };
|
|
386266
386609
|
/******/ })();
|
|
386267
386610
|
/******/
|
|
@@ -386435,7 +386778,7 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
386435
386778
|
/******/ };
|
|
386436
386779
|
/******/
|
|
386437
386780
|
/******/ __webpack_require__.f.miniCss = (chunkId, promises) => {
|
|
386438
|
-
/******/ var cssChunks = {"147":1,"414":1,"810":1,"934":1,"1604":1,"1919":1,"4759":1,"5349":1,"5674":1,"5802":1,"6201":1,"7159":1,"
|
|
386781
|
+
/******/ var cssChunks = {"147":1,"414":1,"810":1,"934":1,"1604":1,"1919":1,"4092":1,"4759":1,"5349":1,"5674":1,"5802":1,"6201":1,"7159":1,"8402":1};
|
|
386439
386782
|
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
|
|
386440
386783
|
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
|
|
386441
386784
|
/******/ promises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {
|
|
@@ -386450,7 +386793,7 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
386450
386793
|
/******/ // no hmr
|
|
386451
386794
|
/******/
|
|
386452
386795
|
/******/ __webpack_require__.F.miniCss = (chunkId) => {
|
|
386453
|
-
/******/ if((!__webpack_require__.o(installedCssChunks, chunkId) || installedCssChunks[chunkId] === undefined) && /^(1(47|604|919)|5(349|674|802)|
|
|
386796
|
+
/******/ if((!__webpack_require__.o(installedCssChunks, chunkId) || installedCssChunks[chunkId] === undefined) && /^(1(47|604|919)|4(092|14|759)|5(349|674|802)|3524|6201|7159|810|8402|934)$/.test(chunkId)) {
|
|
386454
386797
|
/******/ installedCssChunks[chunkId] = null;
|
|
386455
386798
|
/******/ var link = document.createElement('link');
|
|
386456
386799
|
/******/
|
|
@@ -386604,6 +386947,10 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
386604
386947
|
/******/ "2424": [
|
|
386605
386948
|
/******/ 7159
|
|
386606
386949
|
/******/ ],
|
|
386950
|
+
/******/ "4092": [
|
|
386951
|
+
/******/ 147,
|
|
386952
|
+
/******/ 9845
|
|
386953
|
+
/******/ ],
|
|
386607
386954
|
/******/ "5349": [
|
|
386608
386955
|
/******/ 147
|
|
386609
386956
|
/******/ ],
|
|
@@ -386614,11 +386961,6 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
386614
386961
|
/******/ 147,
|
|
386615
386962
|
/******/ 4202
|
|
386616
386963
|
/******/ ],
|
|
386617
|
-
/******/ "7197": [
|
|
386618
|
-
/******/ 7431,
|
|
386619
|
-
/******/ 3409,
|
|
386620
|
-
/******/ 8740
|
|
386621
|
-
/******/ ],
|
|
386622
386964
|
/******/ "8402": [
|
|
386623
386965
|
/******/ 147,
|
|
386624
386966
|
/******/ 2701
|
|
@@ -386630,12 +386972,9 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
386630
386972
|
/******/ 7412,
|
|
386631
386973
|
/******/ 2108,
|
|
386632
386974
|
/******/ 7431,
|
|
386633
|
-
/******/
|
|
386634
|
-
/******/
|
|
386975
|
+
/******/ 9548,
|
|
386976
|
+
/******/ 7948,
|
|
386635
386977
|
/******/ 5349
|
|
386636
|
-
/******/ ],
|
|
386637
|
-
/******/ "8740": [
|
|
386638
|
-
/******/ 147
|
|
386639
386978
|
/******/ ]
|
|
386640
386979
|
/******/ };
|
|
386641
386980
|
/******/ __webpack_require__.f.prefetch = (chunkId, promises) => (Promise.all(promises).then(() => {
|