@ohif/app 3.12.0-beta.77 → 3.12.0-beta.79
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.5d95724cde8a8c23f7d7.js → 1604.bundle.d58d4e74f2e8f7a19fbf.js} +5 -5
- package/dist/{1919.bundle.9abab6d9c380f9ef6f0b.js → 1919.bundle.fc7a6696456e0a1dd03f.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.a09d4f672f8a784971a2.js → 3190.bundle.cd955568fe4d80ab2e4b.js} +114 -1
- package/dist/{3613.bundle.4a3b2f819e9698e9b7b3.js → 3613.bundle.f5fceb4697407a89921b.js} +60 -105
- package/dist/{4019.bundle.ddfa6fc4ccf74563cd40.js → 4019.bundle.6505ff57ca48af03da8a.js} +2 -2
- package/dist/{7197.bundle.f3676c560bf394aafd45.js → 4092.bundle.1be8b8e5ef9f5429e3b9.js} +338 -7
- package/dist/{7197.css → 4092.css} +1 -0
- package/dist/{4113.bundle.87c1437c5d1452a0c08b.js → 4113.bundle.5b5f23651c2d736c7db0.js} +2 -2
- package/dist/{414.bundle.2f752ae2409c02c49f10.js → 414.bundle.7a3ec2310bdc645a5399.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.635f651e4719be983799.js → 5457.bundle.4acdeda5c2dfeeade5da.js} +0 -8
- package/dist/{5485.bundle.919876def56a45d73ab2.js → 5485.bundle.1be05564fd6bdf08d109.js} +0 -8
- package/dist/{5802.bundle.48e7f1324fc9e4486603.js → 5802.bundle.8922caf16c088b10cdb0.js} +2 -2
- package/dist/{6201.bundle.9f04a5cc79aec668f347.js → 6201.bundle.8743f8b2ef272f9e7159.js} +2 -2
- package/dist/{8815.bundle.75f4d45eedb9c28c2181.js → 6725.bundle.a168150f565644581e96.js} +468 -37
- package/dist/{6991.bundle.594d1a749b0e67bbedf9.js → 6991.bundle.d1672b6a866c9ecba242.js} +2 -2
- package/dist/{3409.bundle.0e1e8c8a894cea8bc17b.js → 7948.bundle.de2eb6d719154485afa9.js} +889 -238
- package/dist/{810.bundle.fd0a60e4edaeff3cc7ff.js → 810.bundle.d920b11a25da3d7fd81b.js} +6 -6
- package/dist/{8558.bundle.ad2f1dac0b4b583d75db.js → 8558.bundle.c66a79917621fd714035.js} +1 -1
- package/dist/{934.bundle.a3ba7abd77061cfa2d32.js → 934.bundle.65c749ff971c9d77faec.js} +2 -2
- package/dist/{1447.bundle.0e0f2e950690447bfda1.js → 9548.bundle.aee0ec3a0c7a3db665ed.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.c1735280b1ffec7296cf.js → app.bundle.ca07c85522b545a349e9.js} +483 -146
- package/dist/app.bundle.css +1 -1
- package/dist/{compute.bundle.08b8136bed028bf71f58.js → compute.bundle.f6f1236073e2a486ddfb.js} +3 -3
- package/dist/index.html +1 -1
- package/dist/{polySeg.bundle.a9790a5891bb286e7d4f.js → polySeg.bundle.d0ed88f3bfea700c211b.js} +3 -3
- package/dist/sw.js +1 -1
- package/package.json +20 -20
- package/dist/8740.css +0 -1
- /package/dist/{1459.bundle.84812caf93825d54325d.js → 1459.bundle.9983de5657c6ad16ff8a.js} +0 -0
- /package/dist/{1807.bundle.48ef151b1f5c3a5e7e63.js → 1807.bundle.a3bef2729f27193e6abd.js} +0 -0
- /package/dist/{213.bundle.9f5dbdcc51ecade9796c.js → 213.bundle.a0bee7fbb8a111d8a713.js} +0 -0
- /package/dist/{2243.bundle.d485d2f4c40244af3599.js → 2243.bundle.9c07d2308bd1029d2846.js} +0 -0
- /package/dist/{2424.bundle.dc021a7edf7f3a35176a.js → 2424.bundle.90847423c24c8a2afe07.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.5a2c33fa1eb3d810e7c1.js → 6027.bundle.ff8a880a94203495f728.js} +0 -0
- /package/dist/{7159.bundle.a472333e58e930b53e22.js → 7159.bundle.a5991a5d4f0dd8f1c95f.js} +0 -0
- /package/dist/{7412.bundle.0764ad3a00b3e9a044d9.js → 7412.bundle.94802a6a629f62daab88.js} +0 -0
- /package/dist/{7431.bundle.6dee1ec831da974a7433.js → 7431.bundle.ad1982d7c54a5931d409.js} +0 -0
- /package/dist/{7639.bundle.12fe44f68f57a135f9d8.js → 7639.bundle.520da9b1723cf428533f.js} +0 -0
- /package/dist/{85.bundle.38a0d049316b0e71f7d0.js → 85.bundle.9809ece3107af8987d6e.js} +0 -0
|
@@ -113251,8 +113251,8 @@ Compose.propTypes = {
|
|
|
113251
113251
|
};
|
|
113252
113252
|
// EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
|
|
113253
113253
|
var core_src = __webpack_require__(42356);
|
|
113254
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
113255
|
-
var ui_next_src = __webpack_require__(
|
|
113254
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 3073 modules
|
|
113255
|
+
var ui_next_src = __webpack_require__(1246);
|
|
113256
113256
|
// EXTERNAL MODULE: ./state/index.js + 1 modules
|
|
113257
113257
|
var state = __webpack_require__(45981);
|
|
113258
113258
|
// EXTERNAL MODULE: ../../../node_modules/react-router/dist/index.js
|
|
@@ -115116,35 +115116,35 @@ modes.push("@ohif/mode-ultrasound-pleura-bline");
|
|
|
115116
115116
|
async function loadModule(module) {
|
|
115117
115117
|
if (typeof module !== 'string') return module;
|
|
115118
115118
|
if (module === "@ohif/extension-default") {
|
|
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(
|
|
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));
|
|
115120
115120
|
return imported.default;
|
|
115121
115121
|
}
|
|
115122
115122
|
if (module === "@ohif/extension-cornerstone") {
|
|
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(
|
|
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));
|
|
115124
115124
|
return imported.default;
|
|
115125
115125
|
}
|
|
115126
115126
|
if (module === "@ohif/extension-measurement-tracking") {
|
|
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(
|
|
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));
|
|
115128
115128
|
return imported.default;
|
|
115129
115129
|
}
|
|
115130
115130
|
if (module === "@ohif/extension-cornerstone-dicom-sr") {
|
|
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(
|
|
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));
|
|
115132
115132
|
return imported.default;
|
|
115133
115133
|
}
|
|
115134
115134
|
if (module === "@ohif/extension-cornerstone-dicom-seg") {
|
|
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(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));
|
|
115136
115136
|
return imported.default;
|
|
115137
115137
|
}
|
|
115138
115138
|
if (module === "@ohif/extension-cornerstone-dicom-pmap") {
|
|
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(
|
|
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));
|
|
115140
115140
|
return imported.default;
|
|
115141
115141
|
}
|
|
115142
115142
|
if (module === "@ohif/extension-cornerstone-dynamic-volume") {
|
|
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(
|
|
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));
|
|
115144
115144
|
return imported.default;
|
|
115145
115145
|
}
|
|
115146
115146
|
if (module === "@ohif/extension-dicom-microscopy") {
|
|
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(
|
|
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));
|
|
115148
115148
|
return imported.default;
|
|
115149
115149
|
}
|
|
115150
115150
|
if (module === "@ohif/extension-dicom-pdf") {
|
|
@@ -115156,11 +115156,11 @@ async function loadModule(module) {
|
|
|
115156
115156
|
return imported.default;
|
|
115157
115157
|
}
|
|
115158
115158
|
if (module === "@ohif/extension-tmtv") {
|
|
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(
|
|
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));
|
|
115160
115160
|
return imported.default;
|
|
115161
115161
|
}
|
|
115162
115162
|
if (module === "@ohif/extension-test") {
|
|
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(
|
|
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));
|
|
115164
115164
|
return imported.default;
|
|
115165
115165
|
}
|
|
115166
115166
|
if (module === "@ohif/extension-cornerstone-dicom-rt") {
|
|
@@ -115180,7 +115180,7 @@ async function loadModule(module) {
|
|
|
115180
115180
|
return imported.default;
|
|
115181
115181
|
}
|
|
115182
115182
|
if (module === "@ohif/mode-segmentation") {
|
|
115183
|
-
const imported = await __webpack_require__.e(/* import() */
|
|
115183
|
+
const imported = await __webpack_require__.e(/* import() */ 6725).then(__webpack_require__.bind(__webpack_require__, 46725));
|
|
115184
115184
|
return imported.default;
|
|
115185
115185
|
}
|
|
115186
115186
|
if (module === "@ohif/mode-tmtv") {
|
|
@@ -120547,13 +120547,15 @@ function SystemContextProvider({
|
|
|
120547
120547
|
|
|
120548
120548
|
/***/ }),
|
|
120549
120549
|
|
|
120550
|
-
/***/
|
|
120550
|
+
/***/ 85490:
|
|
120551
120551
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
120552
120552
|
|
|
120553
120553
|
"use strict";
|
|
120554
120554
|
|
|
120555
120555
|
// EXPORTS
|
|
120556
120556
|
__webpack_require__.d(__webpack_exports__, {
|
|
120557
|
+
KP: () => (/* reexport */ useActiveToolOptions),
|
|
120558
|
+
qN: () => (/* reexport */ useRunCommand),
|
|
120557
120559
|
tR: () => (/* reexport */ useToolbar/* useToolbar */.t),
|
|
120558
120560
|
Yk: () => (/* reexport */ useViewportMousePosition),
|
|
120559
120561
|
bs: () => (/* reexport */ useViewportRef/* useViewportRef */.bs),
|
|
@@ -120694,6 +120696,77 @@ function useViewportMousePosition(viewportId) {
|
|
|
120694
120696
|
}
|
|
120695
120697
|
/* harmony default export */ const hooks_useViewportMousePosition = ((/* unused pure expression or super */ null && (useViewportMousePosition)));
|
|
120696
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
|
+
}
|
|
120697
120770
|
;// ../../core/src/hooks/index.ts
|
|
120698
120771
|
|
|
120699
120772
|
|
|
@@ -120701,6 +120774,8 @@ function useViewportMousePosition(viewportId) {
|
|
|
120701
120774
|
|
|
120702
120775
|
|
|
120703
120776
|
|
|
120777
|
+
|
|
120778
|
+
|
|
120704
120779
|
/***/ }),
|
|
120705
120780
|
|
|
120706
120781
|
/***/ 8992:
|
|
@@ -121058,7 +121133,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
121058
121133
|
ot: () => (/* binding */ hotkeys),
|
|
121059
121134
|
Rm: () => (/* reexport */ log/* default */.A),
|
|
121060
121135
|
Ml: () => (/* reexport */ pubSubServiceInterface/* default */.A),
|
|
121136
|
+
KP: () => (/* reexport */ hooks/* useActiveToolOptions */.KP),
|
|
121061
121137
|
BZ: () => (/* reexport */ hooks_useActiveViewportDisplaySets),
|
|
121138
|
+
qN: () => (/* reexport */ hooks/* useRunCommand */.qN),
|
|
121062
121139
|
Jg: () => (/* reexport */ SystemProvider/* useSystem */.Jg),
|
|
121063
121140
|
tR: () => (/* reexport */ hooks/* useToolbar */.tR),
|
|
121064
121141
|
bs: () => (/* reexport */ hooks/* useViewportRef */.bs),
|
|
@@ -129354,8 +129431,8 @@ const useActiveViewportDisplaySets = () => {
|
|
|
129354
129431
|
return displaySets;
|
|
129355
129432
|
};
|
|
129356
129433
|
/* harmony default export */ const hooks_useActiveViewportDisplaySets = (useActiveViewportDisplaySets);
|
|
129357
|
-
// EXTERNAL MODULE: ../../core/src/hooks/index.ts +
|
|
129358
|
-
var hooks = __webpack_require__(
|
|
129434
|
+
// EXTERNAL MODULE: ../../core/src/hooks/index.ts + 5 modules
|
|
129435
|
+
var hooks = __webpack_require__(85490);
|
|
129359
129436
|
;// ../../core/src/index.ts
|
|
129360
129437
|
|
|
129361
129438
|
|
|
@@ -130685,7 +130762,10 @@ const TOOLBAR_SECTIONS = {
|
|
|
130685
130762
|
rightMiddle: 'viewportActionMenu.rightMiddle'
|
|
130686
130763
|
},
|
|
130687
130764
|
// mode specific
|
|
130688
|
-
|
|
130765
|
+
labelMapSegmentationToolbox: 'labelMapSegmentationToolbox',
|
|
130766
|
+
contourSegmentationToolbox: 'contourSegmentationToolbox',
|
|
130767
|
+
labelMapSegmentationUtilities: 'labelMapSegmentationUtilities',
|
|
130768
|
+
contourSegmentationUtilities: 'contourSegmentationUtilities',
|
|
130689
130769
|
dynamicToolbox: 'dynamic-toolbox',
|
|
130690
130770
|
roiThresholdToolbox: 'ROIThresholdToolbox'
|
|
130691
130771
|
};
|
|
@@ -131020,12 +131100,16 @@ class ToolbarService extends _shared_pubSubServiceInterface__WEBPACK_IMPORTED_MO
|
|
|
131020
131100
|
}) : undefined;
|
|
131021
131101
|
// Check hideWhenDisabled at both evaluateProps level and props level
|
|
131022
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;
|
|
131023
131107
|
const updatedProps = {
|
|
131024
131108
|
...props,
|
|
131025
131109
|
...evaluated,
|
|
131026
131110
|
disabled: evaluated?.disabled || false,
|
|
131027
|
-
visible
|
|
131028
|
-
className: evaluated?.className || '',
|
|
131111
|
+
visible,
|
|
131112
|
+
className: evaluated?.className || props?.className || '',
|
|
131029
131113
|
isActive: evaluated?.isActive // isActive will be undefined for buttons without this prop
|
|
131030
131114
|
};
|
|
131031
131115
|
evaluationResults.set(button.id, updatedProps);
|
|
@@ -131250,7 +131334,8 @@ class ToolbarService extends _shared_pubSubServiceInterface__WEBPACK_IMPORTED_MO
|
|
|
131250
131334
|
if (!btn.component) {
|
|
131251
131335
|
btn.component = buttonType.defaultComponent;
|
|
131252
131336
|
}
|
|
131253
|
-
if (!buttonType) {
|
|
131337
|
+
if (!buttonType && !btn.component) {
|
|
131338
|
+
console.warn(`Neither button type nor a component found for button: ${id}`);
|
|
131254
131339
|
return;
|
|
131255
131340
|
}
|
|
131256
131341
|
!buttonSection ? this.handleEvaluate(btn.props) : this.handleEvaluateNested(btn.props);
|
|
@@ -135454,7 +135539,7 @@ const detectionOptions = {
|
|
|
135454
135539
|
}
|
|
135455
135540
|
});
|
|
135456
135541
|
;// ../../i18n/package.json
|
|
135457
|
-
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"rE":"3.12.0-beta.
|
|
135542
|
+
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"rE":"3.12.0-beta.78"}');
|
|
135458
135543
|
;// ../../i18n/src/utils.js
|
|
135459
135544
|
const languagesMap = {
|
|
135460
135545
|
ar: 'Arabic',
|
|
@@ -135739,7 +135824,7 @@ const en_US_MeasurementTable_namespaceObject = /*#__PURE__*/JSON.parse('{"Criter
|
|
|
135739
135824
|
;// ../../i18n/src/locales/en-US/Modes.json
|
|
135740
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"}');
|
|
135741
135826
|
;// ../../i18n/src/locales/en-US/SegmentationTable.json
|
|
135742
|
-
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"}');
|
|
135743
135828
|
;// ../../i18n/src/locales/en-US/SidePanel.json
|
|
135744
135829
|
const en_US_SidePanel_namespaceObject = /*#__PURE__*/JSON.parse('{"Measurements":"Measurements","Studies":"Studies"}');
|
|
135745
135830
|
;// ../../i18n/src/locales/en-US/StudyBrowser.json
|
|
@@ -136252,7 +136337,7 @@ const test_LNG_Modes_namespaceObject = /*#__PURE__*/JSON.parse('{"Basic Dev View
|
|
|
136252
136337
|
;// ../../i18n/src/locales/test-LNG/PatientInfo.json
|
|
136253
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"}');
|
|
136254
136339
|
;// ../../i18n/src/locales/test-LNG/SegmentationTable.json
|
|
136255
|
-
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"}');
|
|
136256
136341
|
;// ../../i18n/src/locales/test-LNG/SidePanel.json
|
|
136257
136342
|
const test_LNG_SidePanel_namespaceObject = /*#__PURE__*/JSON.parse('{"Studies":"Test Studies","Measurements":"Test Measurements"}');
|
|
136258
136343
|
;// ../../i18n/src/locales/test-LNG/StudyBrowser.json
|
|
@@ -136519,7 +136604,7 @@ i18next/* default */.A.currentLanguage = () => ({
|
|
|
136519
136604
|
|
|
136520
136605
|
/***/ }),
|
|
136521
136606
|
|
|
136522
|
-
/***/
|
|
136607
|
+
/***/ 1246:
|
|
136523
136608
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
136524
136609
|
|
|
136525
136610
|
"use strict";
|
|
@@ -136578,6 +136663,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
136578
136663
|
M7w: () => (/* reexport */ Onboarding),
|
|
136579
136664
|
aUM: () => (/* reexport */ PanelSection_PanelSection),
|
|
136580
136665
|
AMh: () => (/* reexport */ Popover_Popover),
|
|
136666
|
+
dTQ: () => (/* reexport */ Popover_PopoverAnchor),
|
|
136581
136667
|
hlN: () => (/* reexport */ Popover_PopoverContent),
|
|
136582
136668
|
Wvm: () => (/* reexport */ Popover_PopoverTrigger),
|
|
136583
136669
|
MUF: () => (/* reexport */ PresetDialog),
|
|
@@ -136643,7 +136729,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
136643
136729
|
WpD: () => (/* reexport */ src_utils_namespaceObject)
|
|
136644
136730
|
});
|
|
136645
136731
|
|
|
136646
|
-
// 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
|
|
136647
136733
|
|
|
136648
136734
|
// NAMESPACE OBJECT: ../../ui-next/src/utils/index.ts
|
|
136649
136735
|
var src_utils_namespaceObject = {};
|
|
@@ -185489,15 +185575,15 @@ const ToolSegmentLabel = props => /*#__PURE__*/react.createElement("svg", Tools_
|
|
|
185489
185575
|
}, props), /*#__PURE__*/react.createElement("path", {
|
|
185490
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",
|
|
185491
185577
|
stroke: "currentColor",
|
|
185492
|
-
|
|
185493
|
-
|
|
185494
|
-
|
|
185578
|
+
strokeWidth: "1.2",
|
|
185579
|
+
strokeLinecap: "round",
|
|
185580
|
+
strokeLinejoin: "round"
|
|
185495
185581
|
}), /*#__PURE__*/react.createElement("path", {
|
|
185496
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",
|
|
185497
185583
|
stroke: "currentColor",
|
|
185498
|
-
|
|
185499
|
-
|
|
185500
|
-
|
|
185584
|
+
strokeWidth: "1.2",
|
|
185585
|
+
strokeLinecap: "round",
|
|
185586
|
+
strokeLinejoin: "round"
|
|
185501
185587
|
}));
|
|
185502
185588
|
const ToolWindowLevel = props => /*#__PURE__*/react.createElement("svg", Tools_extends({
|
|
185503
185589
|
width: "28px",
|
|
@@ -185906,6 +185992,45 @@ const ToolContract = props => /*#__PURE__*/react.createElement("svg", Tools_exte
|
|
|
185906
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",
|
|
185907
185993
|
fill: "currentColor"
|
|
185908
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
|
+
}));
|
|
185909
186034
|
;// ../../ui-next/src/components/Icons/Sources/ActionNewDialog.tsx
|
|
185910
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); }
|
|
185911
186036
|
|
|
@@ -187844,6 +187969,56 @@ const Undo_Undo = props => /*#__PURE__*/react.createElement("svg", Undo_extends(
|
|
|
187844
187969
|
fillRule: "nonzero"
|
|
187845
187970
|
}))))));
|
|
187846
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);
|
|
187847
188022
|
;// ../../ui-next/src/components/Icons/Icons.tsx
|
|
187848
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); }
|
|
187849
188024
|
|
|
@@ -187990,6 +188165,7 @@ function Icons_extends() { return Icons_extends = Object.assign ? Object.assign.
|
|
|
187990
188165
|
|
|
187991
188166
|
|
|
187992
188167
|
|
|
188168
|
+
|
|
187993
188169
|
|
|
187994
188170
|
|
|
187995
188171
|
//
|
|
@@ -188343,6 +188519,8 @@ const Icons = {
|
|
|
188343
188519
|
'status-tracked': props => Sources_StatusTracking(props),
|
|
188344
188520
|
'status-untracked': props => Sources_StatusUntracked(props),
|
|
188345
188521
|
'status-locked': props => Sources_StatusLocked(props),
|
|
188522
|
+
'tab-contours': props => Sources_TabContours(props),
|
|
188523
|
+
TabContours: props => Sources_TabContours(props),
|
|
188346
188524
|
'tab-segmentation': props => Sources_TabSegmentation(props),
|
|
188347
188525
|
'tab-studies': props => Sources_TabStudies(props),
|
|
188348
188526
|
'tab-linear': props => Sources_TabLinear(props),
|
|
@@ -188389,6 +188567,7 @@ const Icons = {
|
|
|
188389
188567
|
'tool-referenceLines': props => ToolReferenceLines(props),
|
|
188390
188568
|
'tool-reset': props => ToolReset(props),
|
|
188391
188569
|
'tool-rotate-right': props => ToolRotateRight(props),
|
|
188570
|
+
'icon-tool-sculptor': props => ToolSculptor(props),
|
|
188392
188571
|
'tool-seg-brush': props => ToolSegBrush(props),
|
|
188393
188572
|
'tool-seg-eraser': props => ToolSegEraser(props),
|
|
188394
188573
|
'tool-seg-shape': props => ToolSegShape(props),
|
|
@@ -188444,6 +188623,7 @@ const Icons = {
|
|
|
188444
188623
|
'old-trash': props => Sources_Trash(props),
|
|
188445
188624
|
'tool-point': props => ToolCircle(props),
|
|
188446
188625
|
'tool-freehand-line': props => ToolFreehand(props),
|
|
188626
|
+
'tool-labelmap-edit-with-contour': props => ToolLabelmapEditWithContour(props),
|
|
188447
188627
|
'actions-smooth': props => ActionsSmooth(props),
|
|
188448
188628
|
'actions-simplify': props => ActionsSimplify(props),
|
|
188449
188629
|
'actions-combine': props => ActionsCombine(props),
|
|
@@ -267645,12 +267825,19 @@ const RowDoubleRange = ({
|
|
|
267645
267825
|
|
|
267646
267826
|
|
|
267647
267827
|
|
|
267828
|
+
|
|
267829
|
+
|
|
267830
|
+
|
|
267831
|
+
|
|
267648
267832
|
const SETTING_TYPES = {
|
|
267649
267833
|
RANGE: 'range',
|
|
267650
267834
|
RADIO: 'radio',
|
|
267651
267835
|
CUSTOM: 'custom',
|
|
267652
267836
|
DOUBLE_RANGE: 'double-range',
|
|
267653
|
-
BUTTON: 'button'
|
|
267837
|
+
BUTTON: 'button',
|
|
267838
|
+
CHECKBOX: 'checkbox',
|
|
267839
|
+
SWITCH: 'switch',
|
|
267840
|
+
SELECT: 'select'
|
|
267654
267841
|
};
|
|
267655
267842
|
function ToolSettings_ToolSettings({
|
|
267656
267843
|
options
|
|
@@ -267659,7 +267846,8 @@ function ToolSettings_ToolSettings({
|
|
|
267659
267846
|
return null;
|
|
267660
267847
|
}
|
|
267661
267848
|
if (typeof options === 'function') {
|
|
267662
|
-
|
|
267849
|
+
const OptionsComponent = options;
|
|
267850
|
+
return /*#__PURE__*/react.createElement(OptionsComponent, null);
|
|
267663
267851
|
}
|
|
267664
267852
|
return /*#__PURE__*/react.createElement("div", {
|
|
267665
267853
|
className: "text-foreground space-y-2 pb-4"
|
|
@@ -267680,6 +267868,12 @@ function ToolSettings_ToolSettings({
|
|
|
267680
267868
|
return renderCustomSetting(option);
|
|
267681
267869
|
case SETTING_TYPES.BUTTON:
|
|
267682
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);
|
|
267683
267877
|
default:
|
|
267684
267878
|
return null;
|
|
267685
267879
|
}
|
|
@@ -267734,6 +267928,48 @@ const renderButtonSetting = option => {
|
|
|
267734
267928
|
onClick: () => option.onChange()
|
|
267735
267929
|
}, option.name);
|
|
267736
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
|
+
};
|
|
267737
267973
|
/* harmony default export */ const OHIFToolSettings_ToolSettings = (ToolSettings_ToolSettings);
|
|
267738
267974
|
;// ../../ui-next/src/components/OHIFToolSettings/index.ts
|
|
267739
267975
|
|
|
@@ -270112,6 +270348,7 @@ const SegmentationSegments = ({
|
|
|
270112
270348
|
onSegmentClick,
|
|
270113
270349
|
onSegmentEdit,
|
|
270114
270350
|
onSegmentDelete,
|
|
270351
|
+
onSegmentCopy,
|
|
270115
270352
|
data,
|
|
270116
270353
|
showSegmentIndex = true
|
|
270117
270354
|
} = useSegmentationTableContext('SegmentationSegments');
|
|
@@ -270203,6 +270440,9 @@ const SegmentationSegments = ({
|
|
|
270203
270440
|
displayText
|
|
270204
270441
|
} = segmentFromSegmentation;
|
|
270205
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;
|
|
270206
270446
|
const hasStats = segmentFromSegmentation.cachedStats?.namedStats;
|
|
270207
270447
|
const segmentRowRef = element => {
|
|
270208
270448
|
if (!active) {
|
|
@@ -270228,8 +270468,13 @@ const SegmentationSegments = ({
|
|
|
270228
270468
|
// details={displayText}
|
|
270229
270469
|
,
|
|
270230
270470
|
description: displayText,
|
|
270231
|
-
colorHex: cssColor
|
|
270232
|
-
|
|
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,
|
|
270233
270478
|
isVisible: visible,
|
|
270234
270479
|
isLocked: locked,
|
|
270235
270480
|
disableEditing: disableEditing,
|
|
@@ -270239,7 +270484,8 @@ const SegmentationSegments = ({
|
|
|
270239
270484
|
onToggleLocked: () => onToggleSegmentLock(segmentation.segmentationId, segmentIndex),
|
|
270240
270485
|
onSelect: () => onSegmentClick(segmentation.segmentationId, segmentIndex),
|
|
270241
270486
|
onRename: () => onSegmentEdit(segmentation.segmentationId, segmentIndex),
|
|
270242
|
-
onDelete: () => onSegmentDelete(segmentation.segmentationId, segmentIndex)
|
|
270487
|
+
onDelete: () => onSegmentDelete(segmentation.segmentationId, segmentIndex),
|
|
270488
|
+
onCopy: onSegmentCopy ? () => onSegmentCopy(segmentation.segmentationId, segmentIndex) : undefined
|
|
270243
270489
|
});
|
|
270244
270490
|
return hasStats ? /*#__PURE__*/react.createElement(HoverCard_HoverCard, {
|
|
270245
270491
|
key: `hover-${segmentIndex}`,
|
|
@@ -270492,10 +270738,13 @@ const AddSegmentationRow = ({
|
|
|
270492
270738
|
data,
|
|
270493
270739
|
disableEditing,
|
|
270494
270740
|
mode,
|
|
270495
|
-
disabled
|
|
270741
|
+
disabled,
|
|
270742
|
+
segmentationRepresentationType
|
|
270496
270743
|
} = useSegmentationTableContext('AddSegmentationRow');
|
|
270497
|
-
|
|
270498
|
-
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') {
|
|
270499
270748
|
return null;
|
|
270500
270749
|
}
|
|
270501
270750
|
if (disableEditing) {
|
|
@@ -270504,14 +270753,17 @@ const AddSegmentationRow = ({
|
|
|
270504
270753
|
return /*#__PURE__*/react.createElement("div", {
|
|
270505
270754
|
"data-cy": "addSegmentation",
|
|
270506
270755
|
className: `group ${disabled ? 'pointer-events-none cursor-not-allowed opacity-70' : ''}`,
|
|
270507
|
-
onClick: () => !disabled && onSegmentationAdd(
|
|
270756
|
+
onClick: () => !disabled && onSegmentationAdd({
|
|
270757
|
+
segmentationId: '',
|
|
270758
|
+
segmentationRepresentationType
|
|
270759
|
+
})
|
|
270508
270760
|
}, children, /*#__PURE__*/react.createElement("div", {
|
|
270509
270761
|
className: "text-primary group-hover:bg-secondary-dark flex items-center rounded-[4px] pl-1 group-hover:cursor-pointer"
|
|
270510
270762
|
}, /*#__PURE__*/react.createElement("div", {
|
|
270511
270763
|
className: "grid h-[28px] w-[28px] place-items-center"
|
|
270512
270764
|
}, disabled ? /*#__PURE__*/react.createElement(Icons.Info, null) : /*#__PURE__*/react.createElement(Icons.Add, null)), /*#__PURE__*/react.createElement("span", {
|
|
270513
270765
|
className: "text-[13px]"
|
|
270514
|
-
}, t(
|
|
270766
|
+
}, t(disabled ? 'Segmentation not supported' : 'Add segmentation'))));
|
|
270515
270767
|
};
|
|
270516
270768
|
;// ../../ui-next/src/components/SegmentationTable/SegmentationHeader.tsx
|
|
270517
270769
|
|
|
@@ -270595,19 +270847,24 @@ const SegmentationCollapsedSelector = () => {
|
|
|
270595
270847
|
} = (0,dist_es/* useTranslation */.Bd)('SegmentationTable.HeaderCollapsed');
|
|
270596
270848
|
const {
|
|
270597
270849
|
data,
|
|
270598
|
-
|
|
270599
|
-
|
|
270850
|
+
onSegmentationClick,
|
|
270851
|
+
segmentationRepresentationType
|
|
270600
270852
|
} = useSegmentationTableContext('SegmentationCollapsedSelector');
|
|
270853
|
+
const {
|
|
270854
|
+
segmentation
|
|
270855
|
+
} = useSegmentationExpanded('SegmentationCollapsedSelector');
|
|
270601
270856
|
if (!data?.length) {
|
|
270602
270857
|
return null;
|
|
270603
270858
|
}
|
|
270604
|
-
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 => ({
|
|
270605
270862
|
id: seg.segmentation.segmentationId,
|
|
270606
270863
|
label: seg.segmentation.label
|
|
270607
270864
|
}));
|
|
270608
270865
|
return /*#__PURE__*/react.createElement(Select_Select, {
|
|
270609
270866
|
onValueChange: value => onSegmentationClick(value),
|
|
270610
|
-
value:
|
|
270867
|
+
value: segmentation?.segmentationId
|
|
270611
270868
|
}, /*#__PURE__*/react.createElement(Select_SelectTrigger, {
|
|
270612
270869
|
className: "w-full overflow-hidden"
|
|
270613
270870
|
}, /*#__PURE__*/react.createElement(Select_SelectValue, {
|
|
@@ -270657,26 +270914,27 @@ const SegmentationCollapsedRoot = ({
|
|
|
270657
270914
|
const {
|
|
270658
270915
|
mode,
|
|
270659
270916
|
data,
|
|
270660
|
-
|
|
270917
|
+
segmentationRepresentationType,
|
|
270918
|
+
selectedSegmentationIdForType
|
|
270661
270919
|
} = useSegmentationTableContext('SegmentationCollapsed');
|
|
270662
270920
|
|
|
270663
|
-
//
|
|
270664
|
-
|
|
270665
|
-
return null;
|
|
270666
|
-
}
|
|
270921
|
+
// Find the segmentations for the representation type for this collapsed view.
|
|
270922
|
+
const segmentations = data.filter(segmentation => !segmentationRepresentationType || segmentationRepresentationType === segmentation.representation?.type);
|
|
270667
270923
|
|
|
270668
|
-
//
|
|
270669
|
-
|
|
270670
|
-
if (!activeSegmentationInfo) {
|
|
270924
|
+
// Check if we should render.
|
|
270925
|
+
if (mode !== 'collapsed' || !data || data.length === 0 || segmentations.length === 0) {
|
|
270671
270926
|
return null;
|
|
270672
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];
|
|
270673
270931
|
return /*#__PURE__*/react.createElement("div", {
|
|
270674
270932
|
className: "space-y-0"
|
|
270675
270933
|
}, /*#__PURE__*/react.createElement(PanelSection_PanelSection, {
|
|
270676
270934
|
className: "mb-0"
|
|
270677
270935
|
}, /*#__PURE__*/react.createElement(SegmentationExpandedProvider, {
|
|
270678
|
-
segmentation:
|
|
270679
|
-
representation:
|
|
270936
|
+
segmentation: selectedSegmentationInfo.segmentation,
|
|
270937
|
+
representation: selectedSegmentationInfo.representation,
|
|
270680
270938
|
isActive: true,
|
|
270681
270939
|
onSegmentationClick: () => {} // No-op since it's already the active one
|
|
270682
270940
|
}, children)));
|
|
@@ -270789,7 +271047,8 @@ const SegmentationExpandedRoot = ({
|
|
|
270789
271047
|
data,
|
|
270790
271048
|
activeSegmentationId,
|
|
270791
271049
|
onSegmentationClick,
|
|
270792
|
-
mode
|
|
271050
|
+
mode,
|
|
271051
|
+
segmentationRepresentationType
|
|
270793
271052
|
} = useSegmentationTableContext('SegmentationExpanded');
|
|
270794
271053
|
const {
|
|
270795
271054
|
ref: scrollableContainerRef,
|
|
@@ -270809,7 +271068,7 @@ const SegmentationExpandedRoot = ({
|
|
|
270809
271068
|
maxHeight: maxHeight
|
|
270810
271069
|
},
|
|
270811
271070
|
className: `space-y-0 pl-0.5`
|
|
270812
|
-
}, data.map(segmentationInfo => {
|
|
271071
|
+
}, data.filter(segmentationInfo => !segmentationRepresentationType || segmentationInfo.representation.type === segmentationRepresentationType).map(segmentationInfo => {
|
|
270813
271072
|
const isActive = segmentationInfo.segmentation.segmentationId === activeSegmentationId;
|
|
270814
271073
|
return /*#__PURE__*/react.createElement(PanelSection_PanelSection, {
|
|
270815
271074
|
key: segmentationInfo.segmentation.segmentationId,
|
|
@@ -275345,7 +275604,9 @@ const DataRowComponent = /*#__PURE__*/react.forwardRef(({
|
|
|
275345
275604
|
onRename,
|
|
275346
275605
|
onDelete,
|
|
275347
275606
|
onColor,
|
|
275607
|
+
onCopy,
|
|
275348
275608
|
isSelected = false,
|
|
275609
|
+
isSecondarySelected = false,
|
|
275349
275610
|
isVisible = true,
|
|
275350
275611
|
disableEditing = false,
|
|
275351
275612
|
className,
|
|
@@ -275362,6 +275623,9 @@ const DataRowComponent = /*#__PURE__*/react.forwardRef(({
|
|
|
275362
275623
|
case 'Rename':
|
|
275363
275624
|
onRename(e);
|
|
275364
275625
|
break;
|
|
275626
|
+
case 'Copy':
|
|
275627
|
+
onCopy?.(e);
|
|
275628
|
+
break;
|
|
275365
275629
|
case 'Lock':
|
|
275366
275630
|
onToggleLocked(e);
|
|
275367
275631
|
break;
|
|
@@ -275422,7 +275686,9 @@ const DataRowComponent = /*#__PURE__*/react.forwardRef(({
|
|
|
275422
275686
|
className: `flex items-center ${isSelected ? 'bg-popover' : 'bg-muted'} group relative cursor-pointer`,
|
|
275423
275687
|
onClick: onSelect,
|
|
275424
275688
|
"data-cy": "data-row"
|
|
275425
|
-
}, /*#__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", {
|
|
275426
275692
|
className: "bg-primary/20 pointer-events-none absolute inset-0 opacity-0 transition-opacity group-hover:opacity-100"
|
|
275427
275693
|
}), number !== null && /*#__PURE__*/react.createElement("div", {
|
|
275428
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`
|
|
@@ -275490,7 +275756,14 @@ const DataRowComponent = /*#__PURE__*/react.forwardRef(({
|
|
|
275490
275756
|
}), /*#__PURE__*/react.createElement("span", {
|
|
275491
275757
|
className: "pl-2",
|
|
275492
275758
|
"data-cy": "Rename"
|
|
275493
|
-
}, "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, {
|
|
275494
275767
|
onClick: e => handleAction('Delete', e)
|
|
275495
275768
|
}, /*#__PURE__*/react.createElement(Icons.Delete, {
|
|
275496
275769
|
className: "text-foreground"
|
|
@@ -277302,8 +277575,8 @@ Local.prototype = local.prototype = {
|
|
|
277302
277575
|
|
|
277303
277576
|
|
|
277304
277577
|
|
|
277305
|
-
// EXTERNAL MODULE: ../../../node_modules/d3-array/src/index.js +
|
|
277306
|
-
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);
|
|
277307
277580
|
;// ../../../node_modules/d3-axis/src/identity.js
|
|
277308
277581
|
/* harmony default export */ function src_identity(x) {
|
|
277309
277582
|
return x;
|
|
@@ -277552,8 +277825,8 @@ var d3_scale_src = __webpack_require__(95583);
|
|
|
277552
277825
|
|
|
277553
277826
|
/* harmony default export */ const Tableau10 = (colors("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"));
|
|
277554
277827
|
|
|
277555
|
-
// EXTERNAL MODULE: ../../../node_modules/d3-interpolate/src/index.js +
|
|
277556
|
-
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);
|
|
277557
277830
|
;// ../../../node_modules/d3-scale-chromatic/src/ramp.js
|
|
277558
277831
|
|
|
277559
277832
|
|
|
@@ -284101,8 +284374,8 @@ Typography.propTypes = {
|
|
|
284101
284374
|
;// ../../ui/src/components/Typography/index.js
|
|
284102
284375
|
|
|
284103
284376
|
/* harmony default export */ const components_Typography = (Typography_Typography);
|
|
284104
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
284105
|
-
var src = __webpack_require__(
|
|
284377
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 3073 modules
|
|
284378
|
+
var src = __webpack_require__(1246);
|
|
284106
284379
|
;// ../../ui/src/components/EmptyStudies/EmptyStudies.tsx
|
|
284107
284380
|
|
|
284108
284381
|
|
|
@@ -375733,41 +376006,29 @@ function generateUUID() {
|
|
|
375733
376006
|
|
|
375734
376007
|
/***/ }),
|
|
375735
376008
|
|
|
375736
|
-
/***/
|
|
376009
|
+
/***/ 18642:
|
|
375737
376010
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
375738
376011
|
|
|
375739
376012
|
"use strict";
|
|
375740
|
-
|
|
375741
|
-
|
|
375742
|
-
|
|
375743
|
-
|
|
375744
|
-
h1: () => (/* reexport */ src_bisect),
|
|
375745
|
-
yl: () => (/* reexport */ bisector),
|
|
375746
|
-
T9: () => (/* reexport */ max_max),
|
|
375747
|
-
jk: () => (/* reexport */ src_min/* default */.A),
|
|
375748
|
-
lq: () => (/* reexport */ ticks_tickIncrement),
|
|
375749
|
-
sG: () => (/* reexport */ tickStep),
|
|
375750
|
-
Zc: () => (/* reexport */ ticks_ticks),
|
|
375751
|
-
yU: () => (/* reexport */ zip/* default */.A)
|
|
375752
|
-
});
|
|
375753
|
-
|
|
375754
|
-
// 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
|
|
375755
|
-
|
|
375756
|
-
;// ../../../node_modules/d3-array/src/ascending.js
|
|
375757
|
-
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) {
|
|
375758
376017
|
return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
|
|
375759
376018
|
}
|
|
375760
376019
|
|
|
375761
|
-
;// ../../../node_modules/d3-array/src/descending.js
|
|
375762
|
-
function descending(a, b) {
|
|
375763
|
-
return a == null || b == null ? NaN
|
|
375764
|
-
: b < a ? -1
|
|
375765
|
-
: b > a ? 1
|
|
375766
|
-
: b >= a ? 0
|
|
375767
|
-
: NaN;
|
|
375768
|
-
}
|
|
375769
376020
|
|
|
375770
|
-
|
|
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);
|
|
375771
376032
|
|
|
375772
376033
|
|
|
375773
376034
|
|
|
@@ -375780,11 +376041,11 @@ function bisector(f) {
|
|
|
375780
376041
|
// tell if the comparator is symmetric, and an asymmetric comparator can’t be
|
|
375781
376042
|
// used to test whether a single value is comparable.
|
|
375782
376043
|
if (f.length !== 2) {
|
|
375783
|
-
compare1 =
|
|
375784
|
-
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);
|
|
375785
376046
|
delta = (d, x) => f(d) - x;
|
|
375786
376047
|
} else {
|
|
375787
|
-
compare1 = f ===
|
|
376048
|
+
compare1 = f === _ascending_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A || f === _descending_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A ? f : zero;
|
|
375788
376049
|
compare2 = f;
|
|
375789
376050
|
delta = f;
|
|
375790
376051
|
}
|
|
@@ -375825,6 +376086,51 @@ function zero() {
|
|
|
375825
376086
|
return 0;
|
|
375826
376087
|
}
|
|
375827
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);
|
|
375828
376134
|
;// ../../../node_modules/d3-array/src/number.js
|
|
375829
376135
|
function number_number(x) {
|
|
375830
376136
|
return x === null ? NaN : +x;
|
|
@@ -375852,10 +376158,10 @@ function* number_numbers(values, valueof) {
|
|
|
375852
376158
|
|
|
375853
376159
|
|
|
375854
376160
|
|
|
375855
|
-
const ascendingBisect = bisector(
|
|
376161
|
+
const ascendingBisect = (0,bisector/* default */.A)(src_ascending/* default */.A);
|
|
375856
376162
|
const bisectRight = ascendingBisect.right;
|
|
375857
376163
|
const bisectLeft = ascendingBisect.left;
|
|
375858
|
-
const bisectCenter = bisector(number_number).center;
|
|
376164
|
+
const bisectCenter = (0,bisector/* default */.A)(number_number).center;
|
|
375859
376165
|
/* harmony default export */ const src_bisect = (bisectRight);
|
|
375860
376166
|
|
|
375861
376167
|
;// ../../../node_modules/d3-array/src/blur.js
|
|
@@ -376037,6 +376343,8 @@ function cumsum(values, valueof) {
|
|
|
376037
376343
|
? v => (sum += +v || 0)
|
|
376038
376344
|
: v => (sum += +valueof(v, index++, values) || 0));
|
|
376039
376345
|
}
|
|
376346
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-array/src/descending.js
|
|
376347
|
+
var descending = __webpack_require__(33760);
|
|
376040
376348
|
;// ../../../node_modules/d3-array/src/variance.js
|
|
376041
376349
|
function variance_variance(values, valueof) {
|
|
376042
376350
|
let count = 0;
|
|
@@ -377986,7 +378294,19 @@ src_define(Cubehelix, cubehelix, extend(Color, {
|
|
|
377986
378294
|
|
|
377987
378295
|
/***/ }),
|
|
377988
378296
|
|
|
377989
|
-
/***/
|
|
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:
|
|
377990
378310
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
377991
378311
|
|
|
377992
378312
|
"use strict";
|
|
@@ -377996,10 +378316,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
377996
378316
|
GW: () => (/* reexport */ src_value),
|
|
377997
378317
|
Qm: () => (/* reexport */ src_basis),
|
|
377998
378318
|
Xl: () => (/* reexport */ cubehelixLong),
|
|
377999
|
-
Dj: () => (/* reexport */ number),
|
|
378319
|
+
Dj: () => (/* reexport */ number/* default */.A),
|
|
378000
378320
|
Zr: () => (/* reexport */ rgb),
|
|
378001
378321
|
z4: () => (/* reexport */ rgbBasis),
|
|
378002
|
-
sH: () => (/* reexport */ round),
|
|
378322
|
+
sH: () => (/* reexport */ round/* default */.A),
|
|
378003
378323
|
zl: () => (/* reexport */ string),
|
|
378004
378324
|
TE: () => (/* reexport */ interpolateTransformCss),
|
|
378005
378325
|
pN: () => (/* reexport */ interpolateTransformSvg),
|
|
@@ -378047,9 +378367,8 @@ function basis(t1, v0, v1, v2, v3) {
|
|
|
378047
378367
|
};
|
|
378048
378368
|
}
|
|
378049
378369
|
|
|
378050
|
-
|
|
378051
|
-
|
|
378052
|
-
|
|
378370
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-interpolate/src/constant.js
|
|
378371
|
+
var constant = __webpack_require__(80136);
|
|
378053
378372
|
;// ../../../node_modules/d3-interpolate/src/color.js
|
|
378054
378373
|
|
|
378055
378374
|
|
|
@@ -378067,18 +378386,18 @@ function exponential(a, b, y) {
|
|
|
378067
378386
|
|
|
378068
378387
|
function color_hue(a, b) {
|
|
378069
378388
|
var d = b - a;
|
|
378070
|
-
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);
|
|
378071
378390
|
}
|
|
378072
378391
|
|
|
378073
378392
|
function gamma(y) {
|
|
378074
378393
|
return (y = +y) === 1 ? nogamma : function(a, b) {
|
|
378075
|
-
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);
|
|
378076
378395
|
};
|
|
378077
378396
|
}
|
|
378078
378397
|
|
|
378079
378398
|
function nogamma(a, b) {
|
|
378080
378399
|
var d = b - a;
|
|
378081
|
-
return d ? linear(a, d) : constant(isNaN(a) ? b : a);
|
|
378400
|
+
return d ? linear(a, d) : (0,constant/* default */.A)(isNaN(a) ? b : a);
|
|
378082
378401
|
}
|
|
378083
378402
|
|
|
378084
378403
|
;// ../../../node_modules/d3-interpolate/src/rgb.js
|
|
@@ -378186,13 +378505,8 @@ function genericArray(a, b) {
|
|
|
378186
378505
|
};
|
|
378187
378506
|
}
|
|
378188
378507
|
|
|
378189
|
-
|
|
378190
|
-
|
|
378191
|
-
return a = +a, b = +b, function(t) {
|
|
378192
|
-
return a * (1 - t) + b * t;
|
|
378193
|
-
};
|
|
378194
|
-
}
|
|
378195
|
-
|
|
378508
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-interpolate/src/number.js
|
|
378509
|
+
var number = __webpack_require__(20825);
|
|
378196
378510
|
;// ../../../node_modules/d3-interpolate/src/object.js
|
|
378197
378511
|
|
|
378198
378512
|
|
|
@@ -378261,7 +378575,7 @@ function one(b) {
|
|
|
378261
378575
|
else s[++i] = bm;
|
|
378262
378576
|
} else { // interpolate non-matching numbers
|
|
378263
378577
|
s[++i] = null;
|
|
378264
|
-
q.push({i: i, x: number(am, bm)});
|
|
378578
|
+
q.push({i: i, x: (0,number/* default */.A)(am, bm)});
|
|
378265
378579
|
}
|
|
378266
378580
|
bi = reB.lastIndex;
|
|
378267
378581
|
}
|
|
@@ -378297,15 +378611,15 @@ function one(b) {
|
|
|
378297
378611
|
|
|
378298
378612
|
/* harmony default export */ function src_value(a, b) {
|
|
378299
378613
|
var t = typeof b, c;
|
|
378300
|
-
return b == null || t === "boolean" ? constant(b)
|
|
378301
|
-
: (t === "number" ? number
|
|
378614
|
+
return b == null || t === "boolean" ? (0,constant/* default */.A)(b)
|
|
378615
|
+
: (t === "number" ? number/* default */.A
|
|
378302
378616
|
: t === "string" ? ((c = (0,src/* color */.yW)(b)) ? (b = c, rgb) : string)
|
|
378303
378617
|
: b instanceof src/* color */.yW ? rgb
|
|
378304
378618
|
: b instanceof Date ? date
|
|
378305
378619
|
: numberArray_isNumberArray(b) ? src_numberArray
|
|
378306
378620
|
: Array.isArray(b) ? genericArray
|
|
378307
378621
|
: typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? object
|
|
378308
|
-
: number)(a, b);
|
|
378622
|
+
: number/* default */.A)(a, b);
|
|
378309
378623
|
}
|
|
378310
378624
|
|
|
378311
378625
|
;// ../../../node_modules/d3-interpolate/src/discrete.js
|
|
@@ -378327,13 +378641,8 @@ function one(b) {
|
|
|
378327
378641
|
};
|
|
378328
378642
|
}
|
|
378329
378643
|
|
|
378330
|
-
|
|
378331
|
-
|
|
378332
|
-
return a = +a, b = +b, function(t) {
|
|
378333
|
-
return Math.round(a * (1 - t) + b * t);
|
|
378334
|
-
};
|
|
378335
|
-
}
|
|
378336
|
-
|
|
378644
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-interpolate/src/round.js
|
|
378645
|
+
var round = __webpack_require__(66822);
|
|
378337
378646
|
;// ../../../node_modules/d3-interpolate/src/transform/decompose.js
|
|
378338
378647
|
var degrees = 180 / Math.PI;
|
|
378339
378648
|
|
|
@@ -378395,7 +378704,7 @@ function interpolateTransform(parse, pxComma, pxParen, degParen) {
|
|
|
378395
378704
|
function translate(xa, ya, xb, yb, s, q) {
|
|
378396
378705
|
if (xa !== xb || ya !== yb) {
|
|
378397
378706
|
var i = s.push("translate(", null, pxComma, null, pxParen);
|
|
378398
|
-
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)});
|
|
378399
378708
|
} else if (xb || yb) {
|
|
378400
378709
|
s.push("translate(" + xb + pxComma + yb + pxParen);
|
|
378401
378710
|
}
|
|
@@ -378404,7 +378713,7 @@ function interpolateTransform(parse, pxComma, pxParen, degParen) {
|
|
|
378404
378713
|
function rotate(a, b, s, q) {
|
|
378405
378714
|
if (a !== b) {
|
|
378406
378715
|
if (a - b > 180) b += 360; else if (b - a > 180) a += 360; // shortest path
|
|
378407
|
-
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)});
|
|
378408
378717
|
} else if (b) {
|
|
378409
378718
|
s.push(pop(s) + "rotate(" + b + degParen);
|
|
378410
378719
|
}
|
|
@@ -378412,7 +378721,7 @@ function interpolateTransform(parse, pxComma, pxParen, degParen) {
|
|
|
378412
378721
|
|
|
378413
378722
|
function skewX(a, b, s, q) {
|
|
378414
378723
|
if (a !== b) {
|
|
378415
|
-
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)});
|
|
378416
378725
|
} else if (b) {
|
|
378417
378726
|
s.push(pop(s) + "skewX(" + b + degParen);
|
|
378418
378727
|
}
|
|
@@ -378421,7 +378730,7 @@ function interpolateTransform(parse, pxComma, pxParen, degParen) {
|
|
|
378421
378730
|
function scale(xa, ya, xb, yb, s, q) {
|
|
378422
378731
|
if (xa !== xb || ya !== yb) {
|
|
378423
378732
|
var i = s.push(pop(s) + "scale(", null, ",", null, ")");
|
|
378424
|
-
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)});
|
|
378425
378734
|
} else if (xb !== 1 || yb !== 1) {
|
|
378426
378735
|
s.push(pop(s) + "scale(" + xb + "," + yb + ")");
|
|
378427
378736
|
}
|
|
@@ -378652,6 +378961,22 @@ var quantize = __webpack_require__(20919);
|
|
|
378652
378961
|
|
|
378653
378962
|
|
|
378654
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
|
+
}
|
|
378655
378980
|
|
|
378656
378981
|
|
|
378657
378982
|
/***/ }),
|
|
@@ -378670,6 +378995,22 @@ var quantize = __webpack_require__(20919);
|
|
|
378670
378995
|
}
|
|
378671
378996
|
|
|
378672
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
|
+
|
|
378673
379014
|
/***/ }),
|
|
378674
379015
|
|
|
378675
379016
|
/***/ 95583:
|
|
@@ -378685,8 +379026,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
378685
379026
|
|
|
378686
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
|
|
378687
379028
|
|
|
378688
|
-
// EXTERNAL MODULE: ../../../node_modules/d3-array/src/index.js +
|
|
378689
|
-
var src = __webpack_require__(
|
|
379029
|
+
// EXTERNAL MODULE: ../../../node_modules/d3-array/src/index.js + 55 modules
|
|
379030
|
+
var src = __webpack_require__(50647);
|
|
378690
379031
|
;// ../../../node_modules/d3-scale/src/init.js
|
|
378691
379032
|
function init_initRange(domain, range) {
|
|
378692
379033
|
switch (arguments.length) {
|
|
@@ -378866,8 +379207,8 @@ function point() {
|
|
|
378866
379207
|
return pointish(band.apply(null, arguments).paddingInner(1));
|
|
378867
379208
|
}
|
|
378868
379209
|
|
|
378869
|
-
// EXTERNAL MODULE: ../../../node_modules/d3-interpolate/src/index.js +
|
|
378870
|
-
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);
|
|
378871
379212
|
;// ../../../node_modules/d3-scale/src/constant.js
|
|
378872
379213
|
function constants(x) {
|
|
378873
379214
|
return function() {
|
|
@@ -386263,7 +386604,7 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
386263
386604
|
/******/ // This function allow to reference async chunks
|
|
386264
386605
|
/******/ __webpack_require__.u = (chunkId) => {
|
|
386265
386606
|
/******/ // return url for filenames based on template
|
|
386266
|
-
/******/ 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":"9809ece3107af8987d6e","147":"53fe889b205dd91c245b","213":"a0bee7fbb8a111d8a713","319":"f5adcbbef5767dedc45d","414":"7a3ec2310bdc645a5399","572":"d0ed88f3bfea700c211b","732":"6978ac30a1e36abf06db","810":"d920b11a25da3d7fd81b","934":"65c749ff971c9d77faec","1459":"9983de5657c6ad16ff8a","1604":"d58d4e74f2e8f7a19fbf","1807":"a3bef2729f27193e6abd","1919":"fc7a6696456e0a1dd03f","1927":"081901df8d9b33633806","2007":"f58dd6d3d25dd22cfefd","2108":"e84aa8d858d8c4f2413e","2243":"9c07d2308bd1029d2846","2424":"90847423c24c8a2afe07","2518":"b21d8c66dc8deb8ba922","2701":"6418ae6e9e372ccae322","2974":"a90a9df917b90bc02c69","3054":"b7bb02c6cd9273c422f5","3694":"f6f1236073e2a486ddfb","4019":"6505ff57ca48af03da8a","4092":"1be8b8e5ef9f5429e3b9","4113":"5b5f23651c2d736c7db0","4202":"1c5271f1cacf5794aba7","4759":"c3bfca952eea20a0d6f9","5261":"6e1a017f8f1027557f5b","5349":"6bf58c3e9e9571fa8a7d","5400":"eb0f5866140b5db31518","5457":"4acdeda5c2dfeeade5da","5485":"1be05564fd6bdf08d109","5674":"8c34228471ff9e53b8c3","5802":"8922caf16c088b10cdb0","6027":"ff8a880a94203495f728","6201":"8743f8b2ef272f9e7159","6725":"a168150f565644581e96","6939":"41fbdef87597b5172ec6","6991":"d1672b6a866c9ecba242","7159":"a5991a5d4f0dd8f1c95f","7412":"94802a6a629f62daab88","7431":"ad1982d7c54a5931d409","7639":"520da9b1723cf428533f","7948":"de2eb6d719154485afa9","8094":"5c44190a325ac23e3e5c","8402":"edb924cd47cd168f621c","8558":"c66a79917621fd714035","9548":"aee0ec3a0c7a3db665ed","9845":"6ee5ca8fe9f68cefd56d","9862":"e2c4c129f7907500b840"}[chunkId] + ".js";
|
|
386267
386608
|
/******/ };
|
|
386268
386609
|
/******/ })();
|
|
386269
386610
|
/******/
|
|
@@ -386437,7 +386778,7 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
386437
386778
|
/******/ };
|
|
386438
386779
|
/******/
|
|
386439
386780
|
/******/ __webpack_require__.f.miniCss = (chunkId, promises) => {
|
|
386440
|
-
/******/ 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};
|
|
386441
386782
|
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
|
|
386442
386783
|
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
|
|
386443
386784
|
/******/ promises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {
|
|
@@ -386452,7 +386793,7 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
386452
386793
|
/******/ // no hmr
|
|
386453
386794
|
/******/
|
|
386454
386795
|
/******/ __webpack_require__.F.miniCss = (chunkId) => {
|
|
386455
|
-
/******/ 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)) {
|
|
386456
386797
|
/******/ installedCssChunks[chunkId] = null;
|
|
386457
386798
|
/******/ var link = document.createElement('link');
|
|
386458
386799
|
/******/
|
|
@@ -386606,6 +386947,10 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
386606
386947
|
/******/ "2424": [
|
|
386607
386948
|
/******/ 7159
|
|
386608
386949
|
/******/ ],
|
|
386950
|
+
/******/ "4092": [
|
|
386951
|
+
/******/ 147,
|
|
386952
|
+
/******/ 9845
|
|
386953
|
+
/******/ ],
|
|
386609
386954
|
/******/ "5349": [
|
|
386610
386955
|
/******/ 147
|
|
386611
386956
|
/******/ ],
|
|
@@ -386616,11 +386961,6 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
386616
386961
|
/******/ 147,
|
|
386617
386962
|
/******/ 4202
|
|
386618
386963
|
/******/ ],
|
|
386619
|
-
/******/ "7197": [
|
|
386620
|
-
/******/ 7431,
|
|
386621
|
-
/******/ 3409,
|
|
386622
|
-
/******/ 8740
|
|
386623
|
-
/******/ ],
|
|
386624
386964
|
/******/ "8402": [
|
|
386625
386965
|
/******/ 147,
|
|
386626
386966
|
/******/ 2701
|
|
@@ -386632,12 +386972,9 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
386632
386972
|
/******/ 7412,
|
|
386633
386973
|
/******/ 2108,
|
|
386634
386974
|
/******/ 7431,
|
|
386635
|
-
/******/
|
|
386636
|
-
/******/
|
|
386975
|
+
/******/ 9548,
|
|
386976
|
+
/******/ 7948,
|
|
386637
386977
|
/******/ 5349
|
|
386638
|
-
/******/ ],
|
|
386639
|
-
/******/ "8740": [
|
|
386640
|
-
/******/ 147
|
|
386641
386978
|
/******/ ]
|
|
386642
386979
|
/******/ };
|
|
386643
386980
|
/******/ __webpack_require__.f.prefetch = (chunkId, promises) => (Promise.all(promises).then(() => {
|