@ohif/app 3.14.0-beta.90 → 3.14.0-beta.91
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/{1153.bundle.3b9c4b75.js → 1153.bundle.51d39e80.js} +52 -85
- package/dist/{1645.bundle.c61d372a.js → 1645.bundle.a98b9ca6.js} +3 -3
- package/dist/{3366.bundle.b225ae72.js → 3366.bundle.62baeeec.js} +1 -1
- package/dist/{4606.bundle.9a3f474f.js → 4606.bundle.a3485206.js} +1 -1
- package/dist/{5143.bundle.95aeb8c5.js → 5143.bundle.04f54c00.js} +108 -106
- package/dist/{5320.bundle.a4e386da.js → 5320.bundle.9b05cebb.js} +242 -237
- package/dist/{5989.bundle.2d80cbd0.js → 5989.bundle.f484884a.js} +262 -250
- package/dist/{6253.bundle.8a7c1171.js → 6253.bundle.2c8ac190.js} +166 -83
- package/dist/{6507.bundle.c8ac9bee.js → 6507.bundle.d52f5e81.js} +2 -2
- package/dist/{8037.bundle.d8f1add3.js → 8037.bundle.30a187f7.js} +292 -322
- package/dist/{8029.bundle.40857fb6.js → 8312.bundle.2cb75b58.js} +412 -7
- package/dist/{5383.bundle.79243338.js → 8868.bundle.4c357767.js} +240 -55
- package/dist/{5914.bundle.f6e9fc4a.js → 8923.bundle.9aca06c4.js} +246 -18
- package/dist/{9620.bundle.c3d1589b.js → 9620.bundle.d1dc0be1.js} +2 -2
- package/dist/{app.bundle.46f8d9cb.js → app.bundle.51cba444.js} +290 -196
- package/dist/{compute.bundle.deb7ad1f.js → compute.bundle.0ed1fe87.js} +6 -6
- package/dist/index.html +1 -1
- package/dist/{interpolation.bundle.16504135.js → interpolation.bundle.5a53d112.js} +5 -5
- package/dist/{polySeg.bundle.7088c2eb.js → polySeg.bundle.b4089601.js} +7 -7
- package/dist/sw.js +1 -1
- package/package.json +6 -6
|
@@ -2950,35 +2950,35 @@ pluginImports_modes.push("@ohif/mode-ultrasound-pleura-bline"); // Add a dynamic
|
|
|
2950
2950
|
async function loadModule(module) {
|
|
2951
2951
|
if (typeof module !== 'string') return module;
|
|
2952
2952
|
if (module === "@ohif/extension-default") {
|
|
2953
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
2953
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(8868), __webpack_require__.e(6253), __webpack_require__.e(5090)]).then(__webpack_require__.bind(__webpack_require__, 55422));
|
|
2954
2954
|
return imported.default;
|
|
2955
2955
|
}
|
|
2956
2956
|
if (module === "@ohif/extension-cornerstone") {
|
|
2957
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
2957
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(8868), __webpack_require__.e(6253), __webpack_require__.e(5090)]).then(__webpack_require__.bind(__webpack_require__, 87407));
|
|
2958
2958
|
return imported.default;
|
|
2959
2959
|
}
|
|
2960
2960
|
if (module === "@ohif/extension-measurement-tracking") {
|
|
2961
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
2961
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(8868), __webpack_require__.e(6507), __webpack_require__.e(9479), __webpack_require__.e(6253), __webpack_require__.e(3366), __webpack_require__.e(3004)]).then(__webpack_require__.bind(__webpack_require__, 87391));
|
|
2962
2962
|
return imported.default;
|
|
2963
2963
|
}
|
|
2964
2964
|
if (module === "@ohif/extension-cornerstone-dicom-sr") {
|
|
2965
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
2965
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(8868), __webpack_require__.e(6507), __webpack_require__.e(6253), __webpack_require__.e(3366), __webpack_require__.e(2709)]).then(__webpack_require__.bind(__webpack_require__, 4293));
|
|
2966
2966
|
return imported.default;
|
|
2967
2967
|
}
|
|
2968
2968
|
if (module === "@ohif/extension-cornerstone-dicom-seg") {
|
|
2969
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
2969
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(8868), __webpack_require__.e(6507), __webpack_require__.e(6253), __webpack_require__.e(9620)]).then(__webpack_require__.bind(__webpack_require__, 20711));
|
|
2970
2970
|
return imported.default;
|
|
2971
2971
|
}
|
|
2972
2972
|
if (module === "@ohif/extension-cornerstone-dicom-pmap") {
|
|
2973
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
2973
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(8868), __webpack_require__.e(6507), __webpack_require__.e(6253), __webpack_require__.e(9481)]).then(__webpack_require__.bind(__webpack_require__, 90133));
|
|
2974
2974
|
return imported.default;
|
|
2975
2975
|
}
|
|
2976
2976
|
if (module === "@ohif/extension-cornerstone-dynamic-volume") {
|
|
2977
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
2977
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(8868), __webpack_require__.e(6253), __webpack_require__.e(2717)]).then(__webpack_require__.bind(__webpack_require__, 12384));
|
|
2978
2978
|
return imported.default;
|
|
2979
2979
|
}
|
|
2980
2980
|
if (module === "@ohif/extension-dicom-microscopy") {
|
|
2981
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
2981
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(8868), __webpack_require__.e(9589), __webpack_require__.e(6253), __webpack_require__.e(7526)]).then(__webpack_require__.bind(__webpack_require__, 33493));
|
|
2982
2982
|
return imported.default;
|
|
2983
2983
|
}
|
|
2984
2984
|
if (module === "@ohif/extension-dicom-pdf") {
|
|
@@ -2990,19 +2990,19 @@ async function loadModule(module) {
|
|
|
2990
2990
|
return imported.default;
|
|
2991
2991
|
}
|
|
2992
2992
|
if (module === "@ohif/extension-tmtv") {
|
|
2993
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
2993
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(8868), __webpack_require__.e(6507), __webpack_require__.e(6253), __webpack_require__.e(9187), __webpack_require__.e(9852)]).then(__webpack_require__.bind(__webpack_require__, 62430));
|
|
2994
2994
|
return imported.default;
|
|
2995
2995
|
}
|
|
2996
2996
|
if (module === "@ohif/extension-test") {
|
|
2997
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
2997
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(8868), __webpack_require__.e(6253), __webpack_require__.e(1793)]).then(__webpack_require__.bind(__webpack_require__, 30020));
|
|
2998
2998
|
return imported.default;
|
|
2999
2999
|
}
|
|
3000
3000
|
if (module === "@ohif/extension-cornerstone-dicom-rt") {
|
|
3001
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
3001
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(4606)]).then(__webpack_require__.bind(__webpack_require__, 4893));
|
|
3002
3002
|
return imported.default;
|
|
3003
3003
|
}
|
|
3004
3004
|
if (module === "@ohif/extension-ultrasound-pleura-bline") {
|
|
3005
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
3005
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(6212)]).then(__webpack_require__.bind(__webpack_require__, 78735));
|
|
3006
3006
|
return imported.default;
|
|
3007
3007
|
}
|
|
3008
3008
|
if (module === "@ohif/mode-longitudinal") {
|
|
@@ -3018,7 +3018,7 @@ async function loadModule(module) {
|
|
|
3018
3018
|
return imported.default;
|
|
3019
3019
|
}
|
|
3020
3020
|
if (module === "@ohif/mode-tmtv") {
|
|
3021
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
3021
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(8868), __webpack_require__.e(6507), __webpack_require__.e(6253), __webpack_require__.e(9517), __webpack_require__.e(9187), __webpack_require__.e(3468)]).then(__webpack_require__.bind(__webpack_require__, 71039));
|
|
3022
3022
|
return imported.default;
|
|
3023
3023
|
}
|
|
3024
3024
|
if (module === "@ohif/mode-microscopy") {
|
|
@@ -3038,7 +3038,7 @@ async function loadModule(module) {
|
|
|
3038
3038
|
return imported.default;
|
|
3039
3039
|
}
|
|
3040
3040
|
if (module === "@ohif/mode-ultrasound-pleura-bline") {
|
|
3041
|
-
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(
|
|
3041
|
+
const imported = await Promise.all(/* import() */ [__webpack_require__.e(641), __webpack_require__.e(8923), __webpack_require__.e(1788), __webpack_require__.e(1645), __webpack_require__.e(8868), __webpack_require__.e(6507), __webpack_require__.e(6253), __webpack_require__.e(3366), __webpack_require__.e(9841)]).then(__webpack_require__.bind(__webpack_require__, 43300));
|
|
3042
3042
|
return imported.default;
|
|
3043
3043
|
}
|
|
3044
3044
|
if (module === "dicom-microscopy-viewer") {
|
|
@@ -5369,7 +5369,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
5369
5369
|
|
|
5370
5370
|
|
|
5371
5371
|
},
|
|
5372
|
-
|
|
5372
|
+
19754(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
5373
5373
|
"use strict";
|
|
5374
5374
|
|
|
5375
5375
|
// EXPORTS
|
|
@@ -5384,7 +5384,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
5384
5384
|
lR: () => (/* reexport */ useViewportSize)
|
|
5385
5385
|
});
|
|
5386
5386
|
|
|
5387
|
-
// UNUSED EXPORTS: ViewportElementsProvider
|
|
5387
|
+
// UNUSED EXPORTS: ViewportElementsProvider, useDisplaySetOrder
|
|
5388
5388
|
|
|
5389
5389
|
// EXTERNAL MODULE: ../core/src/hooks/useToolbar.tsx
|
|
5390
5390
|
var useToolbar = __webpack_require__(99721);
|
|
@@ -5760,6 +5760,33 @@ function useCustomization_temp(subscription) {
|
|
|
5760
5760
|
return subscription.unsubscribe();
|
|
5761
5761
|
}
|
|
5762
5762
|
|
|
5763
|
+
;// CONCATENATED MODULE: ../core/src/hooks/useDisplaySetOrder.ts
|
|
5764
|
+
|
|
5765
|
+
/**
|
|
5766
|
+
* Returns a getter for the active display sets in the named order. The getter
|
|
5767
|
+
* reads the order when it is called, so a component does not re-render when
|
|
5768
|
+
* the order changes. A component that must re-render subscribes to
|
|
5769
|
+
* `DISPLAY_SET_ORDER_CHANGED` and `DISPLAY_SETS_CHANGED`.
|
|
5770
|
+
*/
|
|
5771
|
+
function useDisplaySetOrder(t0) {
|
|
5772
|
+
const $ = _c(3);
|
|
5773
|
+
const order = t0 === undefined ? "default" : t0;
|
|
5774
|
+
const { servicesManager } = useSystem();
|
|
5775
|
+
const { displaySetService } = servicesManager.services;
|
|
5776
|
+
let t1;
|
|
5777
|
+
if ($[0] !== displaySetService || $[1] !== order) {
|
|
5778
|
+
t1 = ()=>displaySetService.getDisplaySets({
|
|
5779
|
+
order
|
|
5780
|
+
});
|
|
5781
|
+
$[0] = displaySetService;
|
|
5782
|
+
$[1] = order;
|
|
5783
|
+
$[2] = t1;
|
|
5784
|
+
} else {
|
|
5785
|
+
t1 = $[2];
|
|
5786
|
+
}
|
|
5787
|
+
return t1;
|
|
5788
|
+
}
|
|
5789
|
+
|
|
5763
5790
|
;// CONCATENATED MODULE: ../core/src/hooks/index.ts
|
|
5764
5791
|
|
|
5765
5792
|
|
|
@@ -5771,6 +5798,7 @@ function useCustomization_temp(subscription) {
|
|
|
5771
5798
|
|
|
5772
5799
|
|
|
5773
5800
|
|
|
5801
|
+
|
|
5774
5802
|
},
|
|
5775
5803
|
99721(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
5776
5804
|
"use strict";
|
|
@@ -6378,7 +6406,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
6378
6406
|
Wp: () => (/* reexport */ utils/* ["default"] */.Ay)
|
|
6379
6407
|
});
|
|
6380
6408
|
|
|
6381
|
-
// UNUSED EXPORTS: OHIF, object, string, useViewportMousePosition, user
|
|
6409
|
+
// UNUSED EXPORTS: OHIF, object, string, useDisplaySetOrder, useViewportMousePosition, user
|
|
6382
6410
|
// NAMESPACE OBJECT: ../core/src/enums/index.ts
|
|
6383
6411
|
var enums_namespaceObject = {};
|
|
6384
6412
|
__webpack_require__.r(enums_namespaceObject);
|
|
@@ -6768,7 +6796,8 @@ const EVENTS = {
|
|
|
6768
6796
|
DISPLAY_SETS_ADDED: 'event::displaySetService:displaySetsAdded',
|
|
6769
6797
|
DISPLAY_SETS_CHANGED: 'event::displaySetService:displaySetsChanged',
|
|
6770
6798
|
DISPLAY_SETS_REMOVED: 'event::displaySetService:displaySetsRemoved',
|
|
6771
|
-
DISPLAY_SET_SERIES_METADATA_INVALIDATED: 'event::displaySetService:displaySetSeriesMetadataInvalidated'
|
|
6799
|
+
DISPLAY_SET_SERIES_METADATA_INVALIDATED: 'event::displaySetService:displaySetSeriesMetadataInvalidated',
|
|
6800
|
+
DISPLAY_SET_ORDER_CHANGED: 'event::displaySetService:displaySetOrderChanged'
|
|
6772
6801
|
};
|
|
6773
6802
|
/* export default */ var DisplaySetService_EVENTS = (EVENTS);
|
|
6774
6803
|
|
|
@@ -7038,12 +7067,55 @@ function compileSplitRules(registry, order, options = {}) {
|
|
|
7038
7067
|
};
|
|
7039
7068
|
}
|
|
7040
7069
|
|
|
7070
|
+
// EXTERNAL MODULE: ../core/src/utils/sortStudy.ts
|
|
7071
|
+
var sortStudy = __webpack_require__(25361);
|
|
7072
|
+
// EXTERNAL MODULE: ../core/src/utils/latestInstanceDateTime.ts
|
|
7073
|
+
var latestInstanceDateTime = __webpack_require__(3491);
|
|
7041
7074
|
;// CONCATENATED MODULE: ../core/src/services/DisplaySetService/DisplaySetService.ts
|
|
7042
7075
|
|
|
7043
7076
|
|
|
7044
7077
|
|
|
7045
7078
|
|
|
7079
|
+
|
|
7080
|
+
|
|
7046
7081
|
/**
|
|
7082
|
+
* A named display set order:
|
|
7083
|
+
* - `default`: the system default order, the `sortingCriteria` customization.
|
|
7084
|
+
* - `thumbnailTray`: the thumbnail tray order. The studies are newest first, and
|
|
7085
|
+
* the series of a study follow the sort picked in the study browser.
|
|
7086
|
+
*/
|
|
7087
|
+
/**
|
|
7088
|
+
* The series order once a sort has been picked: the picked sort in the picked
|
|
7089
|
+
* direction, with ties broken by the default order. Only the picked sort
|
|
7090
|
+
* reverses, so the display sets of one split series keep their default order
|
|
7091
|
+
* in both directions. Without a picked sort it is the default order.
|
|
7092
|
+
*/ function sortCriteriaFor(displaySetSort, defaultSortCriteria) {
|
|
7093
|
+
if (!displaySetSort) {
|
|
7094
|
+
return defaultSortCriteria;
|
|
7095
|
+
}
|
|
7096
|
+
const sign = displaySetSort.direction === 'descending' ? -1 : 1;
|
|
7097
|
+
return (a, b)=>sign * displaySetSort.sortFn(a, b) || defaultSortCriteria?.(a, b) || 0;
|
|
7098
|
+
}
|
|
7099
|
+
const studyDateTimeKey = (displaySet)=>{
|
|
7100
|
+
const instance = displaySet.instance ?? displaySet.instances?.[0];
|
|
7101
|
+
return (0,latestInstanceDateTime/* .getDateTimeSortKey */.rJ)(instance?.StudyDate, instance?.StudyTime);
|
|
7102
|
+
}; /**
|
|
7103
|
+
* The study order of the thumbnail tray: newest study first. Each study gets one
|
|
7104
|
+
* key (its earliest display set date/time), because a derived object of a study
|
|
7105
|
+
* can carry another `StudyTime`, and a key per display set would split the study.
|
|
7106
|
+
*/
|
|
7107
|
+
function compareTrayStudyFor(displaySets) {
|
|
7108
|
+
const studyKeys = new Map();
|
|
7109
|
+
for (const displaySet of displaySets){
|
|
7110
|
+
const key = studyDateTimeKey(displaySet);
|
|
7111
|
+
const known = studyKeys.get(displaySet.StudyInstanceUID); // A display set with no date does not make the study the oldest one.
|
|
7112
|
+
if (known === undefined || key && (!known || key < known)) {
|
|
7113
|
+
studyKeys.set(displaySet.StudyInstanceUID, key);
|
|
7114
|
+
}
|
|
7115
|
+
}
|
|
7116
|
+
const keyOf = (displaySet)=>studyKeys.get(displaySet.StudyInstanceUID) ?? studyDateTimeKey(displaySet);
|
|
7117
|
+
return (a, b)=>a.StudyInstanceUID === b.StudyInstanceUID ? 0 : (0,sortStudy/* .compare */.UD)(keyOf(b), keyOf(a)) || (0,sortStudy/* .compare */.UD)(a.StudyInstanceUID, b.StudyInstanceUID);
|
|
7118
|
+
} /**
|
|
7047
7119
|
* Memoizes compiled split rules by the identity of the `displaySetRules`,
|
|
7048
7120
|
* `displaySetRuleOrder` and `metadataContext` values. A mode that defines other
|
|
7049
7121
|
* rules, another order or another context gives a new object, and that object
|
|
@@ -7112,6 +7184,7 @@ class DisplaySetService extends pubSubServiceInterface/* .PubSubService */.R {
|
|
|
7112
7184
|
activeDisplaySetsMap = new Map();
|
|
7113
7185
|
// that fewer events need to be fired when creating multiple display sets
|
|
7114
7186
|
activeDisplaySetsChanged = false;
|
|
7187
|
+
displaySetSort = null;
|
|
7115
7188
|
splitRuleFailures = new Map();
|
|
7116
7189
|
reportedSplitRuleSets = new WeakSet();
|
|
7117
7190
|
handlersByName = new Map();
|
|
@@ -7127,6 +7200,7 @@ class DisplaySetService extends pubSubServiceInterface/* .PubSubService */.R {
|
|
|
7127
7200
|
this.SOPClassHandlerIds = SOPClassHandlerIds;
|
|
7128
7201
|
this.activeDisplaySets = [];
|
|
7129
7202
|
this.activeDisplaySetsMap.clear();
|
|
7203
|
+
this.mostRecentDisplaySetUID = undefined;
|
|
7130
7204
|
this.handlersByName = new Map();
|
|
7131
7205
|
this.warnedHandlerNames.clear();
|
|
7132
7206
|
for (const id of SOPClassHandlerIds){
|
|
@@ -7202,13 +7276,22 @@ class DisplaySetService extends pubSubServiceInterface/* .PubSubService */.R {
|
|
|
7202
7276
|
}
|
|
7203
7277
|
_addActiveDisplaySets(displaySets) {
|
|
7204
7278
|
const { activeDisplaySets, activeDisplaySetsMap } = this;
|
|
7279
|
+
let added = false;
|
|
7205
7280
|
displaySets.forEach((displaySet)=>{
|
|
7206
7281
|
if (!activeDisplaySetsMap.has(displaySet.displaySetInstanceUID)) {
|
|
7207
7282
|
this.activeDisplaySetsChanged = true;
|
|
7283
|
+
added = true;
|
|
7208
7284
|
activeDisplaySets.push(displaySet);
|
|
7209
7285
|
activeDisplaySetsMap.set(displaySet.displaySetInstanceUID, displaySet);
|
|
7286
|
+
this.mostRecentDisplaySetUID = displaySet.displaySetInstanceUID;
|
|
7210
7287
|
}
|
|
7211
7288
|
});
|
|
7289
|
+
if (added) {
|
|
7290
|
+
this._sortActiveDisplaySets();
|
|
7291
|
+
}
|
|
7292
|
+
}
|
|
7293
|
+
_sortActiveDisplaySets() {
|
|
7294
|
+
this.activeDisplaySets.sort(this.getSortCriteria('default'));
|
|
7212
7295
|
}
|
|
7213
7296
|
setUnsuportedSOPClassHandler(sopClassHandler) {
|
|
7214
7297
|
this.unsupportedSOPClassHandler = sopClassHandler;
|
|
@@ -7230,7 +7313,7 @@ class DisplaySetService extends pubSubServiceInterface/* .PubSubService */.R {
|
|
|
7230
7313
|
return getDisplaySetSnapshot();
|
|
7231
7314
|
}
|
|
7232
7315
|
getMostRecentDisplaySet() {
|
|
7233
|
-
return this.
|
|
7316
|
+
return this.activeDisplaySetsMap.get(this.mostRecentDisplaySetUID);
|
|
7234
7317
|
}
|
|
7235
7318
|
getActiveDisplaySets() {
|
|
7236
7319
|
return this.activeDisplaySets;
|
|
@@ -7272,7 +7355,8 @@ class DisplaySetService extends pubSubServiceInterface/* .PubSubService */.R {
|
|
|
7272
7355
|
const displaySet = this.getDisplaySetByUID(displaySetInstanceUID);
|
|
7273
7356
|
if (!displaySet) {
|
|
7274
7357
|
return;
|
|
7275
|
-
} //
|
|
7358
|
+
} // New metadata can change the sort keys.
|
|
7359
|
+
this._sortActiveDisplaySets(); // broadcast event to update listeners with the new displaySets
|
|
7276
7360
|
this._broadcastEvent(DisplaySetService_EVENTS.DISPLAY_SET_SERIES_METADATA_INVALIDATED, {
|
|
7277
7361
|
displaySetInstanceUID,
|
|
7278
7362
|
invalidateData
|
|
@@ -7341,6 +7425,8 @@ class DisplaySetService extends pubSubServiceInterface/* .PubSubService */.R {
|
|
|
7341
7425
|
clearDisplaySets();
|
|
7342
7426
|
this.activeDisplaySets.length = 0;
|
|
7343
7427
|
this.activeDisplaySetsMap.clear();
|
|
7428
|
+
this.mostRecentDisplaySetUID = undefined; // A sort picked for one study does not carry over to the next one.
|
|
7429
|
+
this.displaySetSort = null;
|
|
7344
7430
|
this.splitRuleFailures.clear();
|
|
7345
7431
|
this.reportedSplitRuleSets = new WeakSet();
|
|
7346
7432
|
this._unsubscribeFromMetadataContext();
|
|
@@ -7728,14 +7814,34 @@ class DisplaySetService extends pubSubServiceInterface/* .PubSubService */.R {
|
|
|
7728
7814
|
return result;
|
|
7729
7815
|
}
|
|
7730
7816
|
sortDisplaySets(sortFn, direction = 'ascending', suppressEvent = false) {
|
|
7731
|
-
this.
|
|
7732
|
-
|
|
7733
|
-
|
|
7734
|
-
}
|
|
7817
|
+
this.displaySetSort = {
|
|
7818
|
+
sortFn,
|
|
7819
|
+
direction
|
|
7820
|
+
};
|
|
7735
7821
|
if (!suppressEvent) {
|
|
7822
|
+
this._broadcastEvent(DisplaySetService_EVENTS.DISPLAY_SET_ORDER_CHANGED, {
|
|
7823
|
+
order: 'thumbnailTray'
|
|
7824
|
+
});
|
|
7736
7825
|
this._broadcastEvent(DisplaySetService_EVENTS.DISPLAY_SETS_CHANGED, this.activeDisplaySets);
|
|
7737
7826
|
}
|
|
7738
7827
|
}
|
|
7828
|
+
getDisplaySetSort() {
|
|
7829
|
+
return this.displaySetSort;
|
|
7830
|
+
}
|
|
7831
|
+
getSortCriteria(order = 'default') {
|
|
7832
|
+
const defaultSortCriteria = this.servicesManager?.services?.customizationService?.getCustomization('sortingCriteria') ?? sortStudy/* .seriesSortCriteria["default"] */.Hx["default"];
|
|
7833
|
+
if (order === 'default') {
|
|
7834
|
+
return defaultSortCriteria;
|
|
7835
|
+
}
|
|
7836
|
+
const seriesCriteria = sortCriteriaFor(this.displaySetSort, defaultSortCriteria);
|
|
7837
|
+
const compareStudy = compareTrayStudyFor(this.activeDisplaySets);
|
|
7838
|
+
return (a, b)=>compareStudy(a, b) || seriesCriteria(a, b);
|
|
7839
|
+
}
|
|
7840
|
+
getDisplaySets({ order = 'default' } = {}) {
|
|
7841
|
+
return [
|
|
7842
|
+
...this.activeDisplaySets
|
|
7843
|
+
].sort(this.getSortCriteria(order));
|
|
7844
|
+
}
|
|
7739
7845
|
}
|
|
7740
7846
|
|
|
7741
7847
|
;// CONCATENATED MODULE: ../core/src/services/DisplaySetService/DisplaySetMessage.ts
|
|
@@ -14551,8 +14657,8 @@ function _temp(subscription) {
|
|
|
14551
14657
|
return subscription.unsubscribe();
|
|
14552
14658
|
}
|
|
14553
14659
|
|
|
14554
|
-
// EXTERNAL MODULE: ../core/src/hooks/index.ts +
|
|
14555
|
-
var hooks = __webpack_require__(
|
|
14660
|
+
// EXTERNAL MODULE: ../core/src/hooks/index.ts + 7 modules
|
|
14661
|
+
var hooks = __webpack_require__(19754);
|
|
14556
14662
|
;// CONCATENATED MODULE: ../core/src/index.ts
|
|
14557
14663
|
|
|
14558
14664
|
|
|
@@ -18311,7 +18417,7 @@ function getOhifWriterHeader(modelName, libraryLabel, libraryVersion, options =
|
|
|
18311
18417
|
Manufacturer: 'OHIF',
|
|
18312
18418
|
ManufacturerModelName: modelName,
|
|
18313
18419
|
SoftwareVersions: [
|
|
18314
|
-
versionText('OHIF', "3.14.0-beta.
|
|
18420
|
+
versionText('OHIF', "3.14.0-beta.91"),
|
|
18315
18421
|
versionText(libraryLabel, libraryVersion)
|
|
18316
18422
|
]
|
|
18317
18423
|
};
|
|
@@ -18354,10 +18460,7 @@ const getSplitParam = (lowerCaseKey, params = new URLSearchParams(window.locatio
|
|
|
18354
18460
|
};
|
|
18355
18461
|
|
|
18356
18462
|
|
|
18357
|
-
// EXTERNAL MODULE: ../core/src/contextProviders/SystemProvider.tsx
|
|
18358
|
-
var SystemProvider = __webpack_require__(33606);
|
|
18359
18463
|
;// CONCATENATED MODULE: ../core/src/utils/createStudyBrowserTabs.ts
|
|
18360
|
-
|
|
18361
18464
|
/**
|
|
18362
18465
|
* Tab properties that drive which tab group is used for thumbnail display.
|
|
18363
18466
|
*/
|
|
@@ -18375,15 +18478,14 @@ var SystemProvider = __webpack_require__(33606);
|
|
|
18375
18478
|
* @param {number} studyDisplayList.numInstances
|
|
18376
18479
|
* @param {object[]} displaySets
|
|
18377
18480
|
* @param {number} recentTimeframe - The number of milliseconds to consider a study recent
|
|
18481
|
+
* @param {object} displaySetService - Gives the display sets and the thumbnail tray order.
|
|
18378
18482
|
* @returns {TabsProps} tabs - The prop object expected by the StudyBrowser component
|
|
18379
|
-
*/ function createStudyBrowserTabs(primaryStudyInstanceUIDs, studyDisplayList, displaySets, recentTimeframeMS = 31536000000) {
|
|
18380
|
-
const { servicesManager } = (0,SystemProvider/* .useSystem */.Jg)();
|
|
18381
|
-
const { displaySetService, customizationService } = servicesManager.services;
|
|
18483
|
+
*/ function createStudyBrowserTabs(primaryStudyInstanceUIDs, studyDisplayList, displaySets, recentTimeframeMS = 31536000000, displaySetService) {
|
|
18382
18484
|
const primaryStudies = [];
|
|
18383
|
-
const allStudies = [];
|
|
18485
|
+
const allStudies = []; // The thumbnail tray order: the sort picked in the study browser, or the default order.
|
|
18486
|
+
const sortCriteria = displaySetService.getSortCriteria('thumbnailTray');
|
|
18384
18487
|
studyDisplayList.forEach((study)=>{
|
|
18385
18488
|
const displaySetsForStudy = displaySets.filter((ds)=>ds.StudyInstanceUID === study.studyInstanceUid);
|
|
18386
|
-
const sortCriteria = customizationService.getCustomization('sortingCriteria');
|
|
18387
18489
|
const sortedDisplaySets = displaySetsForStudy.sort((a, b)=>{
|
|
18388
18490
|
const displaySetA = displaySetService.getDisplaySetByUID(a.displaySetInstanceUID);
|
|
18389
18491
|
const displaySetB = displaySetService.getDisplaySetByUID(b.displaySetInstanceUID);
|
|
@@ -19898,6 +20000,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
19898
20000
|
Gb: sortStudyInstances,
|
|
19899
20001
|
Hx: seriesSortCriteria,
|
|
19900
20002
|
LM: sortStudySeries,
|
|
20003
|
+
UD: compare,
|
|
19901
20004
|
iB: instancesSortCriteria,
|
|
19902
20005
|
y1: sortingCriteria,
|
|
19903
20006
|
yu: sortImagesByPatientPosition
|
|
@@ -20028,7 +20131,7 @@ const detectionOptions = {
|
|
|
20028
20131
|
});
|
|
20029
20132
|
|
|
20030
20133
|
;// CONCATENATED MODULE: ../i18n/package.json
|
|
20031
|
-
var package_namespaceObject = /*#__PURE__*/JSON.parse('{"rE":"3.14.0-beta.
|
|
20134
|
+
var package_namespaceObject = /*#__PURE__*/JSON.parse('{"rE":"3.14.0-beta.90"}')
|
|
20032
20135
|
;// CONCATENATED MODULE: ../i18n/src/utils.js
|
|
20033
20136
|
const languagesMap = {
|
|
20034
20137
|
ar: 'Arabic',
|
|
@@ -20339,7 +20442,7 @@ var en_US_SegmentationPanel_namespaceObject = /*#__PURE__*/JSON.parse('{"Active"
|
|
|
20339
20442
|
;// CONCATENATED MODULE: ../i18n/src/locales/en-US/SidePanel.json
|
|
20340
20443
|
var en_US_SidePanel_namespaceObject = /*#__PURE__*/JSON.parse('{"Measurements":"Measurements","Studies":"Studies"}')
|
|
20341
20444
|
;// CONCATENATED MODULE: ../i18n/src/locales/en-US/StudyBrowser.json
|
|
20342
|
-
var en_US_StudyBrowser_namespaceObject = /*#__PURE__*/JSON.parse('{"Primary":"Primary","Recent":"Recent","All":"All","Tracked Series":"Tracked Series","Tag Browser":"Tag Browser","Add as Layer":"Add as Layer","Series Number":"Series Number","Series Date":"Series Date","Thumbnail Double Click":"Thumbnail Double Click","The selected display sets could not be added to the viewport.":"The selected display sets could not be added to the viewport."}')
|
|
20445
|
+
var en_US_StudyBrowser_namespaceObject = /*#__PURE__*/JSON.parse('{"Primary":"Primary","Recent":"Recent","All":"All","Tracked Series":"Tracked Series","Tag Browser":"Tag Browser","Add as Layer":"Add as Layer","Series Number":"Series Number","Series Date":"Series Date","Sort and filter series":"Sort and filter series","Thumbnail Double Click":"Thumbnail Double Click","The selected display sets could not be added to the viewport.":"The selected display sets could not be added to the viewport."}')
|
|
20343
20446
|
;// CONCATENATED MODULE: ../i18n/src/locales/en-US/StudyItem.json
|
|
20344
20447
|
var en_US_StudyItem_namespaceObject = /*#__PURE__*/JSON.parse('{"Tracked series":"{{trackedSeries}} Tracked series"}')
|
|
20345
20448
|
;// CONCATENATED MODULE: ../i18n/src/locales/en-US/StudyList.json
|
|
@@ -49494,106 +49597,103 @@ DropdownMenuShortcut.displayName = 'DropdownMenuShortcut';
|
|
|
49494
49597
|
|
|
49495
49598
|
|
|
49496
49599
|
function StudyBrowserSort(t0) {
|
|
49497
|
-
const $ = (0,compiler_runtime.c)(
|
|
49600
|
+
const $ = (0,compiler_runtime.c)(37);
|
|
49498
49601
|
const { servicesManager } = t0;
|
|
49499
49602
|
const { customizationService, displaySetService } = servicesManager.services;
|
|
49500
|
-
const sortFunctions = customizationService.getCustomization("studyBrowser.sortFunctions");
|
|
49501
|
-
const [selectedSort, setSelectedSort] = (0,react.useState)(sortFunctions[0]);
|
|
49502
|
-
const [sortDirection, setSortDirection] = (0,react.useState)("ascending");
|
|
49503
49603
|
let t1;
|
|
49504
|
-
if ($[0]
|
|
49505
|
-
t1 = (
|
|
49506
|
-
|
|
49507
|
-
|
|
49508
|
-
$[0] = t1;
|
|
49604
|
+
if ($[0] !== customizationService) {
|
|
49605
|
+
t1 = customizationService.getCustomization("studyBrowser.sortFunctions");
|
|
49606
|
+
$[0] = customizationService;
|
|
49607
|
+
$[1] = t1;
|
|
49509
49608
|
} else {
|
|
49510
|
-
t1 = $[
|
|
49609
|
+
t1 = $[1];
|
|
49511
49610
|
}
|
|
49512
|
-
const
|
|
49611
|
+
const sortFunctions = t1;
|
|
49513
49612
|
let t2;
|
|
49514
|
-
if ($[
|
|
49515
|
-
t2 = (
|
|
49516
|
-
|
|
49517
|
-
|
|
49518
|
-
};
|
|
49519
|
-
$[1] = t2;
|
|
49613
|
+
if ($[2] !== displaySetService) {
|
|
49614
|
+
t2 = displaySetService.getDisplaySetSort();
|
|
49615
|
+
$[2] = displaySetService;
|
|
49616
|
+
$[3] = t2;
|
|
49520
49617
|
} else {
|
|
49521
|
-
t2 = $[
|
|
49618
|
+
t2 = $[3];
|
|
49522
49619
|
}
|
|
49523
|
-
const
|
|
49620
|
+
const appliedSort = t2;
|
|
49524
49621
|
let t3;
|
|
49525
|
-
if ($[
|
|
49526
|
-
t3 = ()=>
|
|
49527
|
-
|
|
49528
|
-
|
|
49529
|
-
$[
|
|
49530
|
-
$[3] = selectedSort.sortFunction;
|
|
49531
|
-
$[4] = sortDirection;
|
|
49532
|
-
$[5] = t3;
|
|
49622
|
+
if ($[4] !== appliedSort?.sortFn || $[5] !== sortFunctions) {
|
|
49623
|
+
t3 = ()=>sortFunctions.find((sort)=>sort.sortFunction === appliedSort?.sortFn) ?? sortFunctions[0];
|
|
49624
|
+
$[4] = appliedSort?.sortFn;
|
|
49625
|
+
$[5] = sortFunctions;
|
|
49626
|
+
$[6] = t3;
|
|
49533
49627
|
} else {
|
|
49534
|
-
t3 = $[
|
|
49628
|
+
t3 = $[6];
|
|
49535
49629
|
}
|
|
49630
|
+
const [selectedSort, setSelectedSort] = (0,react.useState)(t3);
|
|
49631
|
+
const [sortDirection, setSortDirection] = (0,react.useState)(appliedSort?.direction ?? "ascending");
|
|
49632
|
+
const [sortChosen, setSortChosen] = (0,react.useState)(appliedSort !== null);
|
|
49536
49633
|
let t4;
|
|
49537
|
-
if ($[
|
|
49538
|
-
t4 =
|
|
49539
|
-
|
|
49540
|
-
|
|
49541
|
-
|
|
49542
|
-
];
|
|
49543
|
-
$[6] = displaySetService;
|
|
49544
|
-
$[7] = selectedSort;
|
|
49545
|
-
$[8] = sortDirection;
|
|
49546
|
-
$[9] = t4;
|
|
49634
|
+
if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
49635
|
+
t4 = (sortFunction)=>{
|
|
49636
|
+
setSortChosen(true);
|
|
49637
|
+
setSelectedSort(sortFunction);
|
|
49638
|
+
};
|
|
49639
|
+
$[7] = t4;
|
|
49547
49640
|
} else {
|
|
49548
|
-
t4 = $[
|
|
49641
|
+
t4 = $[7];
|
|
49549
49642
|
}
|
|
49550
|
-
|
|
49643
|
+
const handleSortChange = t4;
|
|
49551
49644
|
let t5;
|
|
49552
|
-
if ($[
|
|
49553
|
-
t5 = ()=>{
|
|
49554
|
-
|
|
49555
|
-
|
|
49556
|
-
|
|
49557
|
-
const SubscriptionDisplaySetMetaDataInvalidated = displaySetService.subscribe(displaySetService.EVENTS.DISPLAY_SET_SERIES_METADATA_INVALIDATED, ()=>{
|
|
49558
|
-
displaySetService.sortDisplaySets(selectedSort.sortFunction, sortDirection, true);
|
|
49559
|
-
});
|
|
49560
|
-
return ()=>{
|
|
49561
|
-
SubscriptionDisplaySetsChanged.unsubscribe();
|
|
49562
|
-
SubscriptionDisplaySetMetaDataInvalidated.unsubscribe();
|
|
49563
|
-
};
|
|
49645
|
+
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
49646
|
+
t5 = (e)=>{
|
|
49647
|
+
e.stopPropagation();
|
|
49648
|
+
setSortChosen(true);
|
|
49649
|
+
setSortDirection(StudyBrowserSort_temp);
|
|
49564
49650
|
};
|
|
49565
|
-
$[
|
|
49566
|
-
$[11] = selectedSort.sortFunction;
|
|
49567
|
-
$[12] = sortDirection;
|
|
49568
|
-
$[13] = t5;
|
|
49651
|
+
$[8] = t5;
|
|
49569
49652
|
} else {
|
|
49570
|
-
t5 = $[
|
|
49653
|
+
t5 = $[8];
|
|
49571
49654
|
}
|
|
49655
|
+
const toggleSortDirection = t5;
|
|
49572
49656
|
let t6;
|
|
49573
|
-
if ($[
|
|
49574
|
-
t6 =
|
|
49657
|
+
if ($[9] !== displaySetService || $[10] !== selectedSort.sortFunction || $[11] !== sortChosen || $[12] !== sortDirection) {
|
|
49658
|
+
t6 = ()=>{
|
|
49659
|
+
if (!sortChosen) {
|
|
49660
|
+
return;
|
|
49661
|
+
}
|
|
49662
|
+
displaySetService.sortDisplaySets(selectedSort.sortFunction, sortDirection);
|
|
49663
|
+
};
|
|
49664
|
+
$[9] = displaySetService;
|
|
49665
|
+
$[10] = selectedSort.sortFunction;
|
|
49666
|
+
$[11] = sortChosen;
|
|
49667
|
+
$[12] = sortDirection;
|
|
49668
|
+
$[13] = t6;
|
|
49669
|
+
} else {
|
|
49670
|
+
t6 = $[13];
|
|
49671
|
+
}
|
|
49672
|
+
let t7;
|
|
49673
|
+
if ($[14] !== displaySetService || $[15] !== selectedSort || $[16] !== sortChosen || $[17] !== sortDirection) {
|
|
49674
|
+
t7 = [
|
|
49575
49675
|
displaySetService,
|
|
49576
49676
|
selectedSort,
|
|
49577
|
-
sortDirection
|
|
49677
|
+
sortDirection,
|
|
49678
|
+
sortChosen
|
|
49578
49679
|
];
|
|
49579
49680
|
$[14] = displaySetService;
|
|
49580
49681
|
$[15] = selectedSort;
|
|
49581
|
-
$[16] =
|
|
49582
|
-
$[17] =
|
|
49682
|
+
$[16] = sortChosen;
|
|
49683
|
+
$[17] = sortDirection;
|
|
49684
|
+
$[18] = t7;
|
|
49583
49685
|
} else {
|
|
49584
|
-
|
|
49686
|
+
t7 = $[18];
|
|
49585
49687
|
}
|
|
49586
|
-
(0,react.useEffect)(
|
|
49587
|
-
const t7 = "flex w-[50%] items-center gap-1";
|
|
49588
|
-
const T0 = DropdownMenu;
|
|
49688
|
+
(0,react.useEffect)(t6, t7);
|
|
49589
49689
|
let t8;
|
|
49590
|
-
if ($[
|
|
49690
|
+
if ($[19] !== selectedSort.label) {
|
|
49591
49691
|
t8 = /*#__PURE__*/ (0,jsx_runtime.jsxs)(Tooltip_Tooltip, {
|
|
49592
49692
|
children: [
|
|
49593
49693
|
/*#__PURE__*/ (0,jsx_runtime.jsx)(Tooltip_TooltipTrigger, {
|
|
49594
49694
|
className: "w-full overflow-hidden",
|
|
49595
49695
|
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(DropdownMenuTrigger, {
|
|
49596
|
-
className: "border-input focus:border-input text-foreground flex h-[26px] w-full items-center justify-start overflow-hidden whitespace-nowrap rounded border
|
|
49696
|
+
className: "border-input focus:border-input text-foreground bg-background flex h-[26px] w-full items-center justify-start overflow-hidden whitespace-nowrap rounded border p-2 text-base",
|
|
49597
49697
|
children: selectedSort.label
|
|
49598
49698
|
})
|
|
49599
49699
|
}),
|
|
@@ -49602,117 +49702,111 @@ function StudyBrowserSort(t0) {
|
|
|
49602
49702
|
})
|
|
49603
49703
|
]
|
|
49604
49704
|
});
|
|
49605
|
-
$[
|
|
49606
|
-
$[
|
|
49705
|
+
$[19] = selectedSort.label;
|
|
49706
|
+
$[20] = t8;
|
|
49607
49707
|
} else {
|
|
49608
|
-
t8 = $[
|
|
49708
|
+
t8 = $[20];
|
|
49609
49709
|
}
|
|
49610
|
-
|
|
49611
|
-
|
|
49612
|
-
|
|
49613
|
-
|
|
49614
|
-
|
|
49615
|
-
|
|
49616
|
-
|
|
49617
|
-
|
|
49618
|
-
|
|
49619
|
-
|
|
49710
|
+
let t9;
|
|
49711
|
+
if ($[21] !== sortFunctions) {
|
|
49712
|
+
let t10;
|
|
49713
|
+
if ($[23] === Symbol.for("react.memo_cache_sentinel")) {
|
|
49714
|
+
t10 = (sort_0)=>/*#__PURE__*/ (0,jsx_runtime.jsx)(DropdownMenuItem, {
|
|
49715
|
+
className: "text-foreground",
|
|
49716
|
+
onClick: ()=>handleSortChange(sort_0),
|
|
49717
|
+
children: sort_0.label
|
|
49718
|
+
}, sort_0.label);
|
|
49719
|
+
$[23] = t10;
|
|
49720
|
+
} else {
|
|
49721
|
+
t10 = $[23];
|
|
49722
|
+
}
|
|
49723
|
+
t9 = sortFunctions.map(t10);
|
|
49724
|
+
$[21] = sortFunctions;
|
|
49725
|
+
$[22] = t9;
|
|
49620
49726
|
} else {
|
|
49621
|
-
|
|
49727
|
+
t9 = $[22];
|
|
49622
49728
|
}
|
|
49623
|
-
|
|
49624
|
-
|
|
49625
|
-
|
|
49626
|
-
|
|
49627
|
-
|
|
49628
|
-
children: t11
|
|
49729
|
+
let t10;
|
|
49730
|
+
if ($[24] !== t9) {
|
|
49731
|
+
t10 = /*#__PURE__*/ (0,jsx_runtime.jsx)(DropdownMenuContent, {
|
|
49732
|
+
className: "bg-background",
|
|
49733
|
+
children: t9
|
|
49629
49734
|
});
|
|
49630
|
-
$[
|
|
49631
|
-
$[
|
|
49632
|
-
$[23] = t12;
|
|
49735
|
+
$[24] = t9;
|
|
49736
|
+
$[25] = t10;
|
|
49633
49737
|
} else {
|
|
49634
|
-
|
|
49738
|
+
t10 = $[25];
|
|
49635
49739
|
}
|
|
49636
|
-
let
|
|
49637
|
-
if ($[
|
|
49638
|
-
|
|
49740
|
+
let t11;
|
|
49741
|
+
if ($[26] !== t10 || $[27] !== t8) {
|
|
49742
|
+
t11 = /*#__PURE__*/ (0,jsx_runtime.jsxs)(DropdownMenu, {
|
|
49639
49743
|
children: [
|
|
49640
49744
|
t8,
|
|
49641
|
-
|
|
49745
|
+
t10
|
|
49642
49746
|
]
|
|
49643
49747
|
});
|
|
49644
|
-
$[
|
|
49645
|
-
$[
|
|
49646
|
-
$[
|
|
49647
|
-
$[27] = t13;
|
|
49648
|
-
} else {
|
|
49649
|
-
t13 = $[27];
|
|
49650
|
-
}
|
|
49651
|
-
let t14;
|
|
49652
|
-
if ($[28] !== sortDirection) {
|
|
49653
|
-
t14 = sortDirection === "ascending" ? /*#__PURE__*/ (0,jsx_runtime.jsx)(Icons_Icons.SortingAscending, {
|
|
49654
|
-
className: "text-primary w-2"
|
|
49655
|
-
}) : /*#__PURE__*/ (0,jsx_runtime.jsx)(Icons_Icons.SortingDescending, {
|
|
49656
|
-
className: "text-primary w-2"
|
|
49657
|
-
});
|
|
49658
|
-
$[28] = sortDirection;
|
|
49659
|
-
$[29] = t14;
|
|
49748
|
+
$[26] = t10;
|
|
49749
|
+
$[27] = t8;
|
|
49750
|
+
$[28] = t11;
|
|
49660
49751
|
} else {
|
|
49661
|
-
|
|
49752
|
+
t11 = $[28];
|
|
49662
49753
|
}
|
|
49663
|
-
let
|
|
49664
|
-
if ($[
|
|
49665
|
-
|
|
49754
|
+
let t12;
|
|
49755
|
+
if ($[29] !== sortDirection) {
|
|
49756
|
+
t12 = /*#__PURE__*/ (0,jsx_runtime.jsx)(Tooltip_TooltipTrigger, {
|
|
49666
49757
|
children: /*#__PURE__*/ (0,jsx_runtime.jsx)("button", {
|
|
49667
49758
|
onClick: toggleSortDirection,
|
|
49668
|
-
className: "flex h-[26px] items-center justify-center
|
|
49669
|
-
children:
|
|
49759
|
+
className: "bg-background flex h-[26px] items-center justify-center",
|
|
49760
|
+
children: sortDirection === "ascending" ? /*#__PURE__*/ (0,jsx_runtime.jsx)(Icons_Icons.SortingAscending, {
|
|
49761
|
+
className: "text-primary w-2"
|
|
49762
|
+
}) : /*#__PURE__*/ (0,jsx_runtime.jsx)(Icons_Icons.SortingDescending, {
|
|
49763
|
+
className: "text-primary w-2"
|
|
49764
|
+
})
|
|
49670
49765
|
})
|
|
49671
49766
|
});
|
|
49672
|
-
$[
|
|
49673
|
-
$[
|
|
49674
|
-
$[32] = t15;
|
|
49767
|
+
$[29] = sortDirection;
|
|
49768
|
+
$[30] = t12;
|
|
49675
49769
|
} else {
|
|
49676
|
-
|
|
49770
|
+
t12 = $[30];
|
|
49677
49771
|
}
|
|
49678
|
-
let
|
|
49679
|
-
if ($[
|
|
49680
|
-
|
|
49772
|
+
let t13;
|
|
49773
|
+
if ($[31] === Symbol.for("react.memo_cache_sentinel")) {
|
|
49774
|
+
t13 = /*#__PURE__*/ (0,jsx_runtime.jsx)(Tooltip_TooltipContent, {
|
|
49681
49775
|
children: "Sort direction"
|
|
49682
49776
|
});
|
|
49683
|
-
$[
|
|
49777
|
+
$[31] = t13;
|
|
49684
49778
|
} else {
|
|
49685
|
-
|
|
49779
|
+
t13 = $[31];
|
|
49686
49780
|
}
|
|
49687
|
-
let
|
|
49688
|
-
if ($[
|
|
49689
|
-
|
|
49781
|
+
let t14;
|
|
49782
|
+
if ($[32] !== t12) {
|
|
49783
|
+
t14 = /*#__PURE__*/ (0,jsx_runtime.jsxs)(Tooltip_Tooltip, {
|
|
49690
49784
|
children: [
|
|
49691
|
-
|
|
49692
|
-
|
|
49785
|
+
t12,
|
|
49786
|
+
t13
|
|
49693
49787
|
]
|
|
49694
49788
|
});
|
|
49695
|
-
$[
|
|
49696
|
-
$[
|
|
49789
|
+
$[32] = t12;
|
|
49790
|
+
$[33] = t14;
|
|
49697
49791
|
} else {
|
|
49698
|
-
|
|
49792
|
+
t14 = $[33];
|
|
49699
49793
|
}
|
|
49700
|
-
let
|
|
49701
|
-
if ($[
|
|
49702
|
-
|
|
49703
|
-
className:
|
|
49794
|
+
let t15;
|
|
49795
|
+
if ($[34] !== t11 || $[35] !== t14) {
|
|
49796
|
+
t15 = /*#__PURE__*/ (0,jsx_runtime.jsxs)("div", {
|
|
49797
|
+
className: "flex w-[50%] items-center gap-1",
|
|
49704
49798
|
children: [
|
|
49705
|
-
|
|
49706
|
-
|
|
49799
|
+
t11,
|
|
49800
|
+
t14
|
|
49707
49801
|
]
|
|
49708
49802
|
});
|
|
49709
|
-
$[
|
|
49710
|
-
$[
|
|
49711
|
-
$[
|
|
49803
|
+
$[34] = t11;
|
|
49804
|
+
$[35] = t14;
|
|
49805
|
+
$[36] = t15;
|
|
49712
49806
|
} else {
|
|
49713
|
-
|
|
49807
|
+
t15 = $[36];
|
|
49714
49808
|
}
|
|
49715
|
-
return
|
|
49809
|
+
return t15;
|
|
49716
49810
|
}
|
|
49717
49811
|
function StudyBrowserSort_temp(prevDirection) {
|
|
49718
49812
|
return prevDirection === "ascending" ? "descending" : "ascending";
|
|
@@ -72541,19 +72635,19 @@ if (chunkId === 347) return "347.bundle.397bb252.js";
|
|
|
72541
72635
|
if (chunkId === 4051) return "4051.bundle.64ee4603.js";
|
|
72542
72636
|
if (chunkId === 1558) return "1558.bundle.03d5783b.js";
|
|
72543
72637
|
if (chunkId === 641) return "641.bundle.4627a8e1.js";
|
|
72544
|
-
if (chunkId ===
|
|
72638
|
+
if (chunkId === 8923) return "8923.bundle.9aca06c4.js";
|
|
72545
72639
|
if (chunkId === 1788) return "1788.bundle.3f1349d2.js";
|
|
72546
|
-
if (chunkId === 1645) return "1645.bundle.
|
|
72547
|
-
if (chunkId ===
|
|
72548
|
-
if (chunkId === 6253) return "6253.bundle.
|
|
72640
|
+
if (chunkId === 1645) return "1645.bundle.a98b9ca6.js";
|
|
72641
|
+
if (chunkId === 8868) return "8868.bundle.4c357767.js";
|
|
72642
|
+
if (chunkId === 6253) return "6253.bundle.2c8ac190.js";
|
|
72549
72643
|
if (chunkId === 6956) return "6956.bundle.c82fd790.js";
|
|
72550
|
-
if (chunkId === 6507) return "6507.bundle.
|
|
72644
|
+
if (chunkId === 6507) return "6507.bundle.d52f5e81.js";
|
|
72551
72645
|
if (chunkId === 9479) return "9479.bundle.182892eb.js";
|
|
72552
|
-
if (chunkId === 3366) return "3366.bundle.
|
|
72646
|
+
if (chunkId === 3366) return "3366.bundle.62baeeec.js";
|
|
72553
72647
|
if (chunkId === 3004) return "3004.bundle.51919fdc.js";
|
|
72554
72648
|
if (chunkId === 3771) return "3771.bundle.aba09bd7.js";
|
|
72555
72649
|
if (chunkId === 7604) return "7604.bundle.9eb317c8.js";
|
|
72556
|
-
if (chunkId === 9620) return "9620.bundle.
|
|
72650
|
+
if (chunkId === 9620) return "9620.bundle.d1dc0be1.js";
|
|
72557
72651
|
if (chunkId === 9886) return "9886.bundle.cabb4a24.js";
|
|
72558
72652
|
if (chunkId === 9481) return "9481.bundle.ccb81f53.js";
|
|
72559
72653
|
if (chunkId === 1862) return "1862.bundle.79bfe469.js";
|
|
@@ -72566,7 +72660,7 @@ if (chunkId === 2478) return "2478.bundle.fc6ab30b.js";
|
|
|
72566
72660
|
if (chunkId === 5154) return "5154.bundle.2f460017.js";
|
|
72567
72661
|
if (chunkId === 9187) return "9187.bundle.c384a9dd.js";
|
|
72568
72662
|
if (chunkId === 1793) return "1793.bundle.27458a55.js";
|
|
72569
|
-
if (chunkId === 4606) return "4606.bundle.
|
|
72663
|
+
if (chunkId === 4606) return "4606.bundle.a3485206.js";
|
|
72570
72664
|
if (chunkId === 9948) return "9948.bundle.1172ebca.js";
|
|
72571
72665
|
if (chunkId === 6212) return "6212.bundle.e505e123.js";
|
|
72572
72666
|
if (chunkId === 9517) return "9517.bundle.1ae74db3.js";
|
|
@@ -72579,10 +72673,10 @@ if (chunkId === 2991) return "2991.bundle.f94892fb.js";
|
|
|
72579
72673
|
if (chunkId === 3255) return "3255.bundle.13e205ac.js";
|
|
72580
72674
|
if (chunkId === 9841) return "9841.bundle.0f40f02b.js";
|
|
72581
72675
|
if (chunkId === 9232) return "9232.bundle.3b0caf8e.js";
|
|
72582
|
-
if (chunkId === 8781) return "polySeg.bundle.
|
|
72583
|
-
if (chunkId === 8547) return "compute.bundle.
|
|
72676
|
+
if (chunkId === 8781) return "polySeg.bundle.b4089601.js";
|
|
72677
|
+
if (chunkId === 8547) return "compute.bundle.0ed1fe87.js";
|
|
72584
72678
|
if (chunkId === 6915) return "histogram-worker.bundle.58e60d7c.js";
|
|
72585
|
-
if (chunkId === 1644) return "interpolation.bundle.
|
|
72679
|
+
if (chunkId === 1644) return "interpolation.bundle.5a53d112.js";
|
|
72586
72680
|
// return url for filenames based on template
|
|
72587
72681
|
return "" + chunkId + ".javascript"
|
|
72588
72682
|
}
|
|
@@ -73007,7 +73101,7 @@ jsonpChunkLoadingGlobal.push = __rspack_jsonp.bind(null, jsonpChunkLoadingGlobal
|
|
|
73007
73101
|
})();
|
|
73008
73102
|
// webpack/runtime/chunk_prefetch_trigger
|
|
73009
73103
|
(() => {
|
|
73010
|
-
var chunkPrefetchChunkToChildrenMap = {"5090":[6956,6956],"3004":[6956,3771,7604],"2709":[6956,3771],"9620":[6956,9886],"9481":[6956,1862],"2717":[6956],"7526":[6956],"4998":[2478],"9852":[6956],"1793":[6956],"4606":[
|
|
73104
|
+
var chunkPrefetchChunkToChildrenMap = {"5090":[6956,6956],"3004":[6956,3771,7604],"2709":[6956,3771],"9620":[6956,9886],"9481":[6956,1862],"2717":[6956],"7526":[6956],"4998":[2478],"9852":[6956],"1793":[6956],"4606":[8868,6253,9948],"9948":[6956],"3468":[6956],"9841":[6956,3771]};
|
|
73011
73105
|
__webpack_require__.f.prefetch = (chunkId, promises) => {
|
|
73012
73106
|
Promise.all(promises).then(() => {
|
|
73013
73107
|
var chunks = chunkPrefetchChunkToChildrenMap[chunkId];
|
|
@@ -73019,7 +73113,7 @@ __webpack_require__.f.prefetch = (chunkId, promises) => {
|
|
|
73019
73113
|
// module factories are used so entry inlining is disabled
|
|
73020
73114
|
// startup
|
|
73021
73115
|
// Load entry module and return exports
|
|
73022
|
-
var __webpack_exports__ = __webpack_require__.O(undefined, ["9783", "9535", "9879", "2748", "
|
|
73116
|
+
var __webpack_exports__ = __webpack_require__.O(undefined, ["9783", "9535", "9879", "2748", "8312", "4449", "1975", "1566", "3723", "8037"], () => __webpack_require__(67324));
|
|
73023
73117
|
__webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
73024
73118
|
})()
|
|
73025
73119
|
;
|