@ohif/app 3.14.0-beta.71 → 3.14.0-beta.73
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/{8199.bundle.25557805.js → 1153.bundle.efd8a415.js} +4482 -731
- package/dist/{1566.bundle.e9f5d851.js → 1566.bundle.d58db206.js} +47 -9
- package/dist/{1645.bundle.618a2886.js → 1645.bundle.a8ee81ea.js} +82 -46
- package/dist/{1793.bundle.7b6d510f.js → 1793.bundle.27458a55.js} +2 -2
- package/dist/{1862.bundle.10bed54a.js → 1862.bundle.79bfe469.js} +1 -1
- package/dist/{2717.bundle.4167aa16.js → 2717.bundle.e4bad54f.js} +2 -2
- package/dist/{2748.bundle.a90b290d.js → 2748.bundle.eaa94e2e.js} +0 -805
- package/dist/{3004.bundle.cbd2e499.js → 3004.bundle.c6734d77.js} +2 -2
- package/dist/3723.bundle.eab70100.js +808 -0
- package/dist/{3771.bundle.1c9e74f3.js → 3771.bundle.6cb07c14.js} +2 -2
- package/dist/{3044.bundle.039294b9.js → 4449.bundle.3e4b07e6.js} +1067 -85
- package/dist/{4606.bundle.05282205.js → 4606.bundle.a2a1aa34.js} +1 -1
- package/dist/{5076.bundle.157252dd.js → 5076.bundle.95c07142.js} +50 -8
- package/dist/{5143.bundle.67167d39.js → 5143.bundle.2ea0b15d.js} +1211 -176
- package/dist/{5320.bundle.0c7b2cb7.js → 5320.bundle.335efd86.js} +263 -235
- package/dist/{5914.bundle.00f408d2.js → 5914.bundle.f6e9fc4a.js} +37 -9
- package/dist/{5989.bundle.f8096a4e.js → 5989.bundle.2999d206.js} +336 -256
- package/dist/{1283.bundle.f2c2bb56.js → 6133.bundle.d4f7403f.js} +7802 -504
- package/dist/{3386.bundle.61e687a7.js → 6289.bundle.2795699d.js} +107 -29
- package/dist/{4018.bundle.48c288e5.js → 6847.bundle.5a087332.js} +59 -9
- package/dist/{7604.bundle.2d399cf0.js → 7604.bundle.e703a54d.js} +1 -1
- package/dist/{7464.bundle.492c83ce.js → 8037.bundle.8b5f4114.js} +4148 -1047
- package/dist/{1724.bundle.59b20c59.js → 8699.bundle.024fb1bc.js} +480 -87
- package/dist/{9187.bundle.237037e4.js → 9187.bundle.7d18bb1c.js} +4 -4
- package/dist/{9481.bundle.027aa5ca.js → 9481.bundle.f443c81b.js} +4 -4
- package/dist/{9620.bundle.67375c83.js → 9620.bundle.24273cf3.js} +4 -4
- package/dist/{9886.bundle.5c1ff898.js → 9886.bundle.cabb4a24.js} +2 -2
- package/dist/{9892.bundle.8c1ccb0e.js → 9892.bundle.9bc28476.js} +5 -5
- package/dist/{9948.bundle.29548cec.js → 9948.bundle.b4ff610d.js} +2 -2
- package/dist/app-config.js +2 -0
- package/dist/{app.bundle.7ff9e2bc.js → app.bundle.220fbf72.js} +40 -37
- package/dist/{compute.bundle.79a2d455.js → compute.bundle.19cf1283.js} +10 -10
- package/dist/customizations/gpu/high-texture-4096.jsonc +9 -0
- package/dist/customizations/gpu/high.jsonc +8 -0
- package/dist/customizations/gpu/low-tablet.jsonc +7 -0
- package/dist/customizations/gpu/low.jsonc +7 -0
- package/dist/customizations/gpu/medium.jsonc +7 -0
- package/dist/customizations/index.html +39 -0
- package/dist/{histogram-worker.bundle.a8bb873a.js → histogram-worker.bundle.58e60d7c.js} +4 -4
- package/dist/index.html +1 -1
- package/dist/{interpolation.bundle.302d242b.js → interpolation.bundle.7b3850e6.js} +7 -7
- package/dist/{polySeg.bundle.aaf002b1.js → polySeg.bundle.157e1e17.js} +11 -11
- package/dist/sw.js +1 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["rspackChunk_ohif_app"] ||= []).push([[
|
|
2
|
+
(globalThis["rspackChunk_ohif_app"] ||= []).push([[6289], {
|
|
3
3
|
66340(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
4
4
|
|
|
5
5
|
// EXPORTS
|
|
@@ -2355,7 +2355,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2355
2355
|
|
|
2356
2356
|
|
|
2357
2357
|
},
|
|
2358
|
-
|
|
2358
|
+
87407(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
2359
2359
|
|
|
2360
2360
|
// EXPORTS
|
|
2361
2361
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -2405,7 +2405,7 @@ var esm = __webpack_require__(62721);
|
|
|
2405
2405
|
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/tools/dist/esm/index.js
|
|
2406
2406
|
var dist_esm = __webpack_require__(17819);
|
|
2407
2407
|
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/metadata/dist/esm/index.js + 29 modules
|
|
2408
|
-
var metadata_dist_esm = __webpack_require__(
|
|
2408
|
+
var metadata_dist_esm = __webpack_require__(86049);
|
|
2409
2409
|
;// CONCATENATED MODULE: ../../extensions/cornerstone/src/enums.ts
|
|
2410
2410
|
const CORNERSTONE_3D_TOOLS_SOURCE_NAME = 'Cornerstone3DTools';
|
|
2411
2411
|
const CORNERSTONE_3D_TOOLS_SOURCE_VERSION = '0.1';
|
|
@@ -6569,6 +6569,54 @@ function imageRenderedListener(evt) {
|
|
|
6569
6569
|
}
|
|
6570
6570
|
}
|
|
6571
6571
|
|
|
6572
|
+
;// CONCATENATED MODULE: ../../extensions/cornerstone/src/utils/initGpuSettingsPreset.ts
|
|
6573
|
+
|
|
6574
|
+
const CUSTOMIZATION_ID = 'cornerstone.gpuSettingsPreset'; /**
|
|
6575
|
+
* Applies the `cornerstone.gpuSettingsPreset` customization, and applies it
|
|
6576
|
+
* again when the global or the mode customization changes.
|
|
6577
|
+
*
|
|
6578
|
+
* - A preset id selects that preset and turns final downsampling on, also in a
|
|
6579
|
+
* config that keeps `lossyDownsampling.final` off, such as `config/default.js`.
|
|
6580
|
+
* - `null` returns to the Cornerstone3D default preset and to
|
|
6581
|
+
* `appConfig.lossyDownsampling.final`.
|
|
6582
|
+
*
|
|
6583
|
+
* A volume viewport reads the preset when it adds its actor, so call this
|
|
6584
|
+
* before a mode opens a viewport. The `bootstrap` and `global` phases of a
|
|
6585
|
+
* `?customization=` module both apply early enough.
|
|
6586
|
+
*
|
|
6587
|
+
* See the "Select the GPU settings preset" section of specificCustomizations.md.
|
|
6588
|
+
*/
|
|
6589
|
+
function initGpuSettingsPreset({ customizationService, appConfig }) {
|
|
6590
|
+
const configuredFinal = Boolean(appConfig?.lossyDownsampling?.final);
|
|
6591
|
+
let appliedId = null;
|
|
6592
|
+
const apply = ()=>{
|
|
6593
|
+
const presetId = customizationService.getValue(CUSTOMIZATION_ID) ?? null;
|
|
6594
|
+
if (presetId === appliedId) {
|
|
6595
|
+
return;
|
|
6596
|
+
}
|
|
6597
|
+
if (!presetId) {
|
|
6598
|
+
(0,esm.resetGpuSettingsPreset)();
|
|
6599
|
+
(0,esm.setLossyDownsampling)({
|
|
6600
|
+
final: configuredFinal
|
|
6601
|
+
});
|
|
6602
|
+
appliedId = null;
|
|
6603
|
+
return;
|
|
6604
|
+
}
|
|
6605
|
+
try {
|
|
6606
|
+
(0,esm.setGpuSettingsPreset)(presetId);
|
|
6607
|
+
(0,esm.setLossyDownsampling)({
|
|
6608
|
+
final: true
|
|
6609
|
+
});
|
|
6610
|
+
appliedId = presetId;
|
|
6611
|
+
} catch (error) {
|
|
6612
|
+
console.warn(`${CUSTOMIZATION_ID} states "${presetId}", which is not a preset.`, error);
|
|
6613
|
+
}
|
|
6614
|
+
};
|
|
6615
|
+
apply();
|
|
6616
|
+
customizationService.subscribe(customizationService.EVENTS.GLOBAL_CUSTOMIZATION_MODIFIED, apply);
|
|
6617
|
+
customizationService.subscribe(customizationService.EVENTS.MODE_CUSTOMIZATION_MODIFIED, apply);
|
|
6618
|
+
}
|
|
6619
|
+
|
|
6572
6620
|
;// CONCATENATED MODULE: ../../extensions/cornerstone/src/utils/colormaps.js
|
|
6573
6621
|
const colormaps_colormaps = [
|
|
6574
6622
|
{
|
|
@@ -16090,6 +16138,7 @@ function initializeWebWorkerProgressHandler(uiNotificationService) {
|
|
|
16090
16138
|
|
|
16091
16139
|
|
|
16092
16140
|
|
|
16141
|
+
|
|
16093
16142
|
|
|
16094
16143
|
|
|
16095
16144
|
const { registerColormap } = esm.utilities.colormap; // TODO: Cypress tests are currently grabbing this from the window?
|
|
@@ -16109,6 +16158,11 @@ async function init({ servicesManager, commandsManager, extensionManager, appCon
|
|
|
16109
16158
|
peerImport: appConfig.peerImport,
|
|
16110
16159
|
debug: {
|
|
16111
16160
|
statsOverlay
|
|
16161
|
+
},
|
|
16162
|
+
...appConfig.lossyDownsampling && {
|
|
16163
|
+
rendering: {
|
|
16164
|
+
lossyDownsampling: appConfig.lossyDownsampling
|
|
16165
|
+
}
|
|
16112
16166
|
}
|
|
16113
16167
|
});
|
|
16114
16168
|
esm.setUseCPURendering(Boolean(appConfig.useCPURendering)); // All native ("next") Generic Viewport settings live under one config object:
|
|
@@ -16158,6 +16212,10 @@ async function init({ servicesManager, commandsManager, extensionManager, appCon
|
|
|
16158
16212
|
initCornerstoneTools();
|
|
16159
16213
|
esm.Settings.getRuntimeSettings().set('useCursors', Boolean(appConfig.useCursors));
|
|
16160
16214
|
const { userAuthenticationService, customizationService, uiModalService, uiNotificationService, cornerstoneViewportService, hangingProtocolService, viewportGridService, segmentationService, measurementService, colorbarService, displaySetService, toolbarService } = servicesManager.services;
|
|
16215
|
+
initGpuSettingsPreset({
|
|
16216
|
+
customizationService,
|
|
16217
|
+
appConfig
|
|
16218
|
+
});
|
|
16161
16219
|
toolbarService.registerEventForToolbarUpdate(colorbarService, [
|
|
16162
16220
|
colorbarService.EVENTS.STATE_CHANGED
|
|
16163
16221
|
]);
|
|
@@ -18686,7 +18744,8 @@ const toolbarButtonsCustomization_toolbarButtons = [
|
|
|
18686
18744
|
{
|
|
18687
18745
|
name: 'evaluate.modality.supported',
|
|
18688
18746
|
supportedModalities: [
|
|
18689
|
-
'US'
|
|
18747
|
+
'US',
|
|
18748
|
+
'ECG'
|
|
18690
18749
|
]
|
|
18691
18750
|
}
|
|
18692
18751
|
]
|
|
@@ -21837,6 +21896,15 @@ function captureViewportModalCustomization_ViewportDownloadFormNew(t0) {
|
|
|
21837
21896
|
};
|
|
21838
21897
|
}
|
|
21839
21898
|
|
|
21899
|
+
;// CONCATENATED MODULE: ../../extensions/cornerstone/src/customizations/gpuSettingsPresetCustomization.ts
|
|
21900
|
+
/**
|
|
21901
|
+
* The `id` of the Cornerstone3D GPU settings preset that volume viewports fit
|
|
21902
|
+
* their textures to. `null` selects no preset. See `initGpuSettingsPreset` and
|
|
21903
|
+
* the "Select the GPU settings preset" section of specificCustomizations.md.
|
|
21904
|
+
*/ /* export default */ var gpuSettingsPresetCustomization = ({
|
|
21905
|
+
'cornerstone.gpuSettingsPreset': null
|
|
21906
|
+
});
|
|
21907
|
+
|
|
21840
21908
|
;// CONCATENATED MODULE: ../../extensions/cornerstone/src/getCustomizationModule.tsx
|
|
21841
21909
|
|
|
21842
21910
|
|
|
@@ -21856,6 +21924,7 @@ function captureViewportModalCustomization_ViewportDownloadFormNew(t0) {
|
|
|
21856
21924
|
|
|
21857
21925
|
|
|
21858
21926
|
|
|
21927
|
+
|
|
21859
21928
|
function getCustomizationModule({ commandsManager, servicesManager, extensionManager }) {
|
|
21860
21929
|
return [
|
|
21861
21930
|
{
|
|
@@ -21884,7 +21953,8 @@ function getCustomizationModule({ commandsManager, servicesManager, extensionMan
|
|
|
21884
21953
|
...miscCustomization,
|
|
21885
21954
|
...captureViewportModalCustomization,
|
|
21886
21955
|
...viewportDownloadWarningCustomization,
|
|
21887
|
-
...getViewportScrollbarCustomization()
|
|
21956
|
+
...getViewportScrollbarCustomization(),
|
|
21957
|
+
...gpuSettingsPresetCustomization
|
|
21888
21958
|
}
|
|
21889
21959
|
}
|
|
21890
21960
|
];
|
|
@@ -23240,7 +23310,7 @@ function generateSegmentationCSVReport(segmentationData, info) {
|
|
|
23240
23310
|
// EXTERNAL MODULE: ../../extensions/cornerstone/src/utils/isDisplaySetOverlayable.ts
|
|
23241
23311
|
var isDisplaySetOverlayable = __webpack_require__(23319);
|
|
23242
23312
|
;// CONCATENATED MODULE: ../../extensions/cornerstone/src/utils/autoHydrateViewportTypes.ts
|
|
23243
|
-
const
|
|
23313
|
+
const autoHydrateViewportTypes_CUSTOMIZATION_ID = 'cornerstone.segmentation.autoHydrateViewportTypes'; /**
|
|
23244
23314
|
* The customization is written in OHIF viewport types (the vocabulary of a
|
|
23245
23315
|
* hanging protocol's `viewportOptions.viewportType`: 'stack', 'volume',
|
|
23246
23316
|
* 'volume3d', ...), because that is the vocabulary a site configures in.
|
|
@@ -23280,7 +23350,7 @@ function normalizeViewportType(viewportType) {
|
|
|
23280
23350
|
* without preventing a user from adding the segmentation there by hand.
|
|
23281
23351
|
*/
|
|
23282
23352
|
function isAutoHydrateViewportType({ viewportType, customizationService }) {
|
|
23283
|
-
const allowedTypes = customizationService?.getCustomization(
|
|
23353
|
+
const allowedTypes = customizationService?.getCustomization(autoHydrateViewportTypes_CUSTOMIZATION_ID);
|
|
23284
23354
|
if (!Array.isArray(allowedTypes)) {
|
|
23285
23355
|
return true;
|
|
23286
23356
|
}
|
|
@@ -24918,15 +24988,7 @@ function commandsModule({ servicesManager, commandsManager, extensionManager })
|
|
|
24918
24988
|
});
|
|
24919
24989
|
},
|
|
24920
24990
|
updateVolumeData: ({ volume })=>{
|
|
24921
|
-
|
|
24922
|
-
const numSlices = imageData.getDimensions()[2];
|
|
24923
|
-
const slicesToUpdate = [
|
|
24924
|
-
...Array(numSlices).keys()
|
|
24925
|
-
];
|
|
24926
|
-
slicesToUpdate.forEach((i)=>{
|
|
24927
|
-
vtkOpenGLTexture.setUpdatedFrame(i);
|
|
24928
|
-
});
|
|
24929
|
-
imageData.modified();
|
|
24991
|
+
volume.modified();
|
|
24930
24992
|
},
|
|
24931
24993
|
attachProtocolViewportDataListener: ({ protocol, stageIndex })=>{
|
|
24932
24994
|
const EVENT = cornerstoneViewportService.EVENTS.VIEWPORT_DATA_CHANGED;
|
|
@@ -26177,7 +26239,6 @@ const mpr = {
|
|
|
26177
26239
|
editableBy: {},
|
|
26178
26240
|
numberOfPriorsReferenced: 0,
|
|
26179
26241
|
protocolMatchingRules: [],
|
|
26180
|
-
imageLoadStrategy: 'nth',
|
|
26181
26242
|
callbacks: {},
|
|
26182
26243
|
displaySetSelectors: {
|
|
26183
26244
|
activeDisplaySet: {
|
|
@@ -40497,6 +40558,7 @@ function buildEcgModule(instance, userAuthenticationService) {
|
|
|
40497
40558
|
|
|
40498
40559
|
|
|
40499
40560
|
|
|
40561
|
+
|
|
40500
40562
|
const { MetadataModules } = esm.Enums;
|
|
40501
40563
|
const { utils: getSopClassHandlerModule_utils } = src/* ["default"] */.Ay;
|
|
40502
40564
|
const { denaturalizeDataset } = dcmjs_es/* ["default"].data.DicomMetaDictionary */.Ay.data.DicomMetaDictionary; // NOTE: access transferDenaturalizedDataset / fixMultiValueKeys lazily (at call
|
|
@@ -40635,7 +40697,14 @@ function _getEcgDisplaySetsFromSeries(instances, servicesManager) {
|
|
|
40635
40697
|
esm.utilities.genericMetadataProvider.addRaw(imageId, {
|
|
40636
40698
|
type: MetadataModules.ECG,
|
|
40637
40699
|
metadata: ecgModule
|
|
40638
|
-
});
|
|
40700
|
+
}); // The time and mV region, so measurement tools report physical units
|
|
40701
|
+
const calibration = metadata_dist_esm/* .utilities.buildEcgCalibrationFromInstance */.BF.Ts(instance);
|
|
40702
|
+
if (calibration) {
|
|
40703
|
+
esm.utilities.genericMetadataProvider.addRaw(imageId, {
|
|
40704
|
+
type: MetadataModules.CALIBRATION,
|
|
40705
|
+
metadata: calibration
|
|
40706
|
+
});
|
|
40707
|
+
}
|
|
40639
40708
|
}
|
|
40640
40709
|
}
|
|
40641
40710
|
return {
|
|
@@ -44690,18 +44759,22 @@ const cornerstoneExtension = {
|
|
|
44690
44759
|
]); // Apply the undo/redo history size on mode entry rather than in
|
|
44691
44760
|
// preRegistration, because the global customizations are applied after
|
|
44692
44761
|
// the extensions register.
|
|
44693
|
-
esm.utilities.HistoryMemo.DefaultHistoryMemo.size = customizationService.getCustomization('cornerstone.maxUndoRedoCacheSize') || 50;
|
|
44694
|
-
|
|
44695
|
-
// image
|
|
44696
|
-
//
|
|
44697
|
-
//
|
|
44698
|
-
|
|
44762
|
+
esm.utilities.HistoryMemo.DefaultHistoryMemo.size = customizationService.getCustomization('cornerstone.maxUndoRedoCacheSize') || 50;
|
|
44763
|
+
const sourceConfig = extensionManager?.getActiveDataSource?.()?.[0]?.getConfig?.() ?? {}; // Configure the interleaved/HTJ2K loader
|
|
44764
|
+
imageRetrieveMetadataProvider.clear(); // Volumes load every 64th image first and copy it to the empty frames around it, then refine.
|
|
44765
|
+
// The data source `volumeRetrieveOptions` can name another ProgressiveRetrieveImages stage set
|
|
44766
|
+
// (for example 'interleavedRetrieveStages', the 3.13 default) or give a `{ stages }` object.
|
|
44767
|
+
const volumeOptions = sourceConfig.volumeRetrieveOptions ?? 'coarseInterleavedRetrieveStages';
|
|
44768
|
+
const volumeStages = typeof volumeOptions === 'string' ? esm.ProgressiveRetrieveImages[volumeOptions] : volumeOptions;
|
|
44769
|
+
if (!volumeStages?.stages) {
|
|
44770
|
+
console.warn('volumeRetrieveOptions is not a retrieve stage set:', volumeOptions);
|
|
44771
|
+
}
|
|
44772
|
+
imageRetrieveMetadataProvider.add('volume', volumeStages?.stages ? volumeStages : esm.ProgressiveRetrieveImages.coarseInterleavedRetrieveStages); /**
|
|
44699
44773
|
* Stack retrieve options: read from active data source configuration.
|
|
44700
44774
|
* Pass an immutability-helper spec (e.g. { $merge: {...} } or { $set: {...} }) in
|
|
44701
44775
|
* stackRetrieveOptions to customize. Plain object is treated as $merge for backward compat.
|
|
44702
44776
|
* Set streaming: false for uncompressed DICOM that requires full file before decode.
|
|
44703
44777
|
*/
|
|
44704
|
-
const sourceConfig = extensionManager?.getActiveDataSource?.()?.[0]?.getConfig?.() ?? {};
|
|
44705
44778
|
const config = sourceConfig.stackRetrieveOptions ?? {};
|
|
44706
44779
|
const stackOptions = immutability_helper_default()(DEFAULT_STACK_RETRIEVE_OPTIONS, toUpdateSpec(config));
|
|
44707
44780
|
imageRetrieveMetadataProvider.add('stack', stackOptions);
|
|
@@ -45047,6 +45120,11 @@ class NextViewportAdapter {
|
|
|
45047
45120
|
return mode === 'volume' || mode === 'volume3d';
|
|
45048
45121
|
}
|
|
45049
45122
|
isInAcquisitionPlane() {
|
|
45123
|
+
const reference = this.viewport.getViewReference?.();
|
|
45124
|
+
const volume = reference?.volumeId ? esm.cache.getVolume(reference.volumeId) : undefined;
|
|
45125
|
+
if (volume && reference.viewPlaneNormal) {
|
|
45126
|
+
return esm.utilities.isAcquisitionPlaneNormal(volume, reference.viewPlaneNormal);
|
|
45127
|
+
} // orientation defaults to ACQUISITION when unset on the native view state.
|
|
45050
45128
|
const orientation = this.viewport.getViewState?.()?.orientation;
|
|
45051
45129
|
return orientation === esm.Enums.OrientationAxis.ACQUISITION || orientation == null;
|
|
45052
45130
|
}
|
|
@@ -55272,8 +55350,8 @@ const reuseCachedLayout = (state, hangingProtocolService)=>{
|
|
|
55272
55350
|
};
|
|
55273
55351
|
/* export default */ var reuseCachedLayouts = (reuseCachedLayout);
|
|
55274
55352
|
|
|
55275
|
-
// EXTERNAL MODULE: ../../extensions/cornerstone/src/index.tsx +
|
|
55276
|
-
var cornerstone_src = __webpack_require__(
|
|
55353
|
+
// EXTERNAL MODULE: ../../extensions/cornerstone/src/index.tsx + 217 modules
|
|
55354
|
+
var cornerstone_src = __webpack_require__(87407);
|
|
55277
55355
|
;// CONCATENATED MODULE: ../../extensions/default/src/utils/layerConfigurationUtils.ts
|
|
55278
55356
|
|
|
55279
55357
|
const DERIVED_OVERLAY_MODALITIES = [
|
|
@@ -59187,8 +59265,8 @@ function AboutModalDefault() {
|
|
|
59187
59265
|
version = $[3];
|
|
59188
59266
|
}
|
|
59189
59267
|
const browser = `${t0}${t1} ${version}`;
|
|
59190
|
-
const versionNumber = "3.14.0-beta.
|
|
59191
|
-
const commitHash = "
|
|
59268
|
+
const versionNumber = "3.14.0-beta.73";
|
|
59269
|
+
const commitHash = "6bbd9954ec5d8a5be9f409225b8d22ed12eec1fa";
|
|
59192
59270
|
let t2;
|
|
59193
59271
|
if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
|
|
59194
59272
|
t2 = versionNumber.split("-");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["rspackChunk_ohif_app"] ||= []).push([[
|
|
2
|
+
(globalThis["rspackChunk_ohif_app"] ||= []).push([[6847], {
|
|
3
3
|
45878(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
4
4
|
__webpack_require__.r(__webpack_exports__);
|
|
5
5
|
/* import */ var _common_js__rspack_import_0 = __webpack_require__(23172);
|
|
@@ -970,7 +970,7 @@ function isVolumeCompatible(viewport) {
|
|
|
970
970
|
|
|
971
971
|
},
|
|
972
972
|
85387(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
973
|
-
/* import */ var _cornerstonejs_metadata__rspack_import_0 = __webpack_require__(
|
|
973
|
+
/* import */ var _cornerstonejs_metadata__rspack_import_0 = __webpack_require__(86049);
|
|
974
974
|
|
|
975
975
|
const CalibrationTypes = _cornerstonejs_metadata__rspack_import_0/* .Enums.CalibrationTypes */.fX.ov;
|
|
976
976
|
/* export default */ __webpack_exports__.A = (_cornerstonejs_metadata__rspack_import_0/* .Enums.CalibrationTypes */.fX.ov);
|
|
@@ -985,6 +985,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
985
985
|
up: () => (/* binding */ getCanUseNorm16Texture),
|
|
986
986
|
D0: () => (/* binding */ getConfiguration),
|
|
987
987
|
cz: () => (/* binding */ getEffectiveRenderBackend),
|
|
988
|
+
GR: () => (/* binding */ getLossyDownsampling),
|
|
988
989
|
LH: () => (/* binding */ getShouldUseCPURendering),
|
|
989
990
|
xu: () => (/* binding */ getUseGenericViewport),
|
|
990
991
|
G_: () => (/* binding */ getWebWorkerManager),
|
|
@@ -992,7 +993,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
992
993
|
a: () => (/* binding */ peerImport)
|
|
993
994
|
});
|
|
994
995
|
|
|
995
|
-
// UNUSED EXPORTS: getRenderBackend, init, resetInitialization, resetUseCPURendering, resolveAutoRenderBackend, setConfiguration, setPreferSizeOverAccuracy, setRenderBackend, setUseCPURendering
|
|
996
|
+
// UNUSED EXPORTS: getRenderBackend, init, resetInitialization, resetUseCPURendering, resolveAutoRenderBackend, setConfiguration, setLossyDownsampling, setPreferSizeOverAccuracy, setRenderBackend, setUseCPURendering
|
|
996
997
|
|
|
997
998
|
// EXTERNAL MODULE: ../../node_modules/@cornerstonejs/core/dist/esm/RenderingEngine/getRenderingEngine.js
|
|
998
999
|
var getRenderingEngine = __webpack_require__(2448);
|
|
@@ -1178,6 +1179,7 @@ let csRenderInitialized = false;
|
|
|
1178
1179
|
const log = logger.coreLog.getLogger('init');
|
|
1179
1180
|
const defaultConfig = {
|
|
1180
1181
|
isMobile: false,
|
|
1182
|
+
dangerouslyDisableFidelityIndicator: false,
|
|
1181
1183
|
rendering: {
|
|
1182
1184
|
useCPURendering: false,
|
|
1183
1185
|
preferSizeOverAccuracy: false,
|
|
@@ -1196,12 +1198,18 @@ const defaultConfig = {
|
|
|
1196
1198
|
volumeRendering: {
|
|
1197
1199
|
sampleDistanceMultiplier: 1,
|
|
1198
1200
|
},
|
|
1201
|
+
lossyDownsampling: {
|
|
1202
|
+
final: false,
|
|
1203
|
+
interactive: true,
|
|
1204
|
+
interleavedLoading: true,
|
|
1205
|
+
},
|
|
1199
1206
|
},
|
|
1200
1207
|
segmentation: {
|
|
1201
1208
|
labelmapVoxelRepresentation: enums.VoxelManagerEnum.Volume,
|
|
1202
1209
|
},
|
|
1203
1210
|
debug: {
|
|
1204
1211
|
statsOverlay: false,
|
|
1212
|
+
fidelityIndicatorDebug: false,
|
|
1205
1213
|
},
|
|
1206
1214
|
peerImport: (moduleId) => null,
|
|
1207
1215
|
};
|
|
@@ -1321,7 +1329,7 @@ function setPreferSizeOverAccuracy(status) {
|
|
|
1321
1329
|
}
|
|
1322
1330
|
function canRenderFloatTextures() {
|
|
1323
1331
|
const capabilities = (0,renderingCapabilities/* .getRenderingCapabilities */.BV)();
|
|
1324
|
-
if (capabilities.
|
|
1332
|
+
if (capabilities.webgl) {
|
|
1325
1333
|
return capabilities.floatLinear;
|
|
1326
1334
|
}
|
|
1327
1335
|
return !isIOS();
|
|
@@ -1376,12 +1384,47 @@ function getWebWorkerManager() {
|
|
|
1376
1384
|
}
|
|
1377
1385
|
return init_webWorkerManager;
|
|
1378
1386
|
}
|
|
1387
|
+
function getLossyDownsampling() {
|
|
1388
|
+
return {
|
|
1389
|
+
...defaultConfig.rendering
|
|
1390
|
+
.lossyDownsampling,
|
|
1391
|
+
...config.rendering?.lossyDownsampling,
|
|
1392
|
+
};
|
|
1393
|
+
}
|
|
1394
|
+
function setLossyDownsampling(change) {
|
|
1395
|
+
config.rendering = {
|
|
1396
|
+
...config.rendering,
|
|
1397
|
+
lossyDownsampling: { ...getLossyDownsampling(), ...change },
|
|
1398
|
+
};
|
|
1399
|
+
triggerEvent(eventTarget, Events.VOLUME_TEXTURE_LIMITS_CHANGED);
|
|
1400
|
+
}
|
|
1379
1401
|
async function peerImport(moduleId) {
|
|
1380
1402
|
return config.peerImport(moduleId);
|
|
1381
1403
|
}
|
|
1382
1404
|
|
|
1383
1405
|
|
|
1384
1406
|
|
|
1407
|
+
},
|
|
1408
|
+
52284(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
1409
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1410
|
+
/* import */ var _cornerstonejs_metadata__rspack_import_0 = __webpack_require__(86049);
|
|
1411
|
+
|
|
1412
|
+
const { /* addProvider */Zi: addProvider, /* removeProvider */iw: removeProvider, /* removeAllProviders */SD: removeAllProviders, /* getMetaData */YA: getMetaData, /* getTyped */FE: getTyped, /* get */Jt: get, /* getNormalized */Y2: getNormalized, /* toUpperCamelTag */Qy: toUpperCamelTag, /* toLowerCamelTag */Hw: toLowerCamelTag, } = _cornerstonejs_metadata__rspack_import_0/* .metaData */.wx;
|
|
1413
|
+
|
|
1414
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
1415
|
+
}, {
|
|
1416
|
+
addProvider: addProvider,
|
|
1417
|
+
get: get,
|
|
1418
|
+
getMetaData: getMetaData,
|
|
1419
|
+
getNormalized: getNormalized,
|
|
1420
|
+
getTyped: getTyped,
|
|
1421
|
+
removeAllProviders: removeAllProviders,
|
|
1422
|
+
removeProvider: removeProvider,
|
|
1423
|
+
toLowerCamelTag: toLowerCamelTag,
|
|
1424
|
+
toUpperCamelTag: toUpperCamelTag
|
|
1425
|
+
});
|
|
1426
|
+
|
|
1427
|
+
|
|
1385
1428
|
},
|
|
1386
1429
|
71813(__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
1387
1430
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4878,11 +4921,12 @@ function addSegmentations(segmentationInputArray, suppressEvents) {
|
|
|
4878
4921
|
|
|
4879
4922
|
|
|
4880
4923
|
|
|
4881
|
-
function triggerSegmentationDataModified(segmentationId, modifiedSlicesToUse, segmentIndex) {
|
|
4924
|
+
function triggerSegmentationDataModified(segmentationId, modifiedSlicesToUse, segmentIndex, { voxelsUnchanged } = {}) {
|
|
4882
4925
|
const eventDetail = {
|
|
4883
4926
|
segmentationId,
|
|
4884
4927
|
modifiedSlicesToUse,
|
|
4885
4928
|
segmentIndex,
|
|
4929
|
+
...(voxelsUnchanged ? { voxelsUnchanged } : {}),
|
|
4886
4930
|
};
|
|
4887
4931
|
(0,_utilities_segmentation_utilities_js__rspack_import_2/* .setSegmentationDirty */.HM)(segmentationId);
|
|
4888
4932
|
(0,_cornerstonejs_core__rspack_import_0.triggerEvent)(_cornerstonejs_core__rspack_import_0.eventTarget, _enums_index_js__rspack_import_1.Events.SEGMENTATION_DATA_MODIFIED, eventDetail);
|
|
@@ -7547,7 +7591,7 @@ RectangleROIThresholdTool.toolName = 'RectangleROIThreshold';
|
|
|
7547
7591
|
|
|
7548
7592
|
|
|
7549
7593
|
|
|
7550
|
-
function getStrategyDataForVolumeViewport({ operationData }) {
|
|
7594
|
+
function getStrategyDataForVolumeViewport({ operationData, }) {
|
|
7551
7595
|
const { volumeId } = operationData;
|
|
7552
7596
|
if (!volumeId) {
|
|
7553
7597
|
const event = new CustomEvent(_cornerstonejs_core__rspack_import_0.Enums.Events.ERROR_EVENT, {
|
|
@@ -12393,7 +12437,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
12393
12437
|
/* import */ var _version_js__rspack_import_0 = __webpack_require__(88253);
|
|
12394
12438
|
/* import */ var _utilities_index_js__rspack_import_1 = __webpack_require__(28102);
|
|
12395
12439
|
/* import */ var _utilities_logging_index_js__rspack_import_2 = __webpack_require__(68272);
|
|
12396
|
-
/* import */ var _utilities_object_index_js__rspack_import_3 = __webpack_require__(
|
|
12440
|
+
/* import */ var _utilities_object_index_js__rspack_import_3 = __webpack_require__(24132);
|
|
12397
12441
|
/* import */ var _utilities_math_index_js__rspack_import_4 = __webpack_require__(40937);
|
|
12398
12442
|
|
|
12399
12443
|
|
|
@@ -12403,11 +12447,15 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
12403
12447
|
|
|
12404
12448
|
__webpack_require__.d(__webpack_exports__, {
|
|
12405
12449
|
Et: () => (/* reexport safe */ _utilities_math_index_js__rspack_import_4.Et),
|
|
12450
|
+
FL: () => (/* reexport safe */ _utilities_math_index_js__rspack_import_4.FL),
|
|
12406
12451
|
IQ: () => (/* reexport safe */ _utilities_math_index_js__rspack_import_4.IQ),
|
|
12407
12452
|
Ph: () => (/* reexport safe */ _utilities_math_index_js__rspack_import_4.Ph),
|
|
12408
12453
|
WC: () => (/* reexport safe */ _utilities_math_index_js__rspack_import_4.WC),
|
|
12454
|
+
_j: () => (/* reexport safe */ _utilities_object_index_js__rspack_import_3._j),
|
|
12409
12455
|
m9: () => (/* reexport module object */ _utilities_logging_index_js__rspack_import_2),
|
|
12410
|
-
|
|
12456
|
+
mm: () => (/* reexport safe */ _utilities_object_index_js__rspack_import_3.mm),
|
|
12457
|
+
n4: () => (/* reexport safe */ _utilities_math_index_js__rspack_import_4.n4),
|
|
12458
|
+
w7: () => (/* reexport safe */ _utilities_math_index_js__rspack_import_4.w7)
|
|
12411
12459
|
});
|
|
12412
12460
|
|
|
12413
12461
|
|
|
@@ -12422,10 +12470,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
12422
12470
|
|
|
12423
12471
|
__webpack_require__.d(__webpack_exports__, {
|
|
12424
12472
|
Et: () => (/* reexport safe */ _isEqual_js__rspack_import_1.Et),
|
|
12473
|
+
FL: () => (/* reexport safe */ _toNumber_js__rspack_import_0.FL),
|
|
12425
12474
|
IQ: () => (/* reexport safe */ _toNumber_js__rspack_import_0.IQ),
|
|
12426
12475
|
Ph: () => (/* reexport safe */ _isEqual_js__rspack_import_1.Ph),
|
|
12427
12476
|
WC: () => (/* reexport safe */ _isEqual_js__rspack_import_1.WC),
|
|
12428
|
-
n4: () => (/* reexport safe */ _isEqual_js__rspack_import_1.n4)
|
|
12477
|
+
n4: () => (/* reexport safe */ _isEqual_js__rspack_import_1.n4),
|
|
12478
|
+
w7: () => (/* reexport safe */ _toNumber_js__rspack_import_0.w7)
|
|
12429
12479
|
});
|
|
12430
12480
|
|
|
12431
12481
|
|
|
@@ -6,7 +6,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6
6
|
/* import */ var react_compiler_runtime__rspack_import_1 = __webpack_require__(54005);
|
|
7
7
|
/* import */ var react__rspack_import_2 = __webpack_require__(14041);
|
|
8
8
|
/* import */ var _ohif_ui_next__rspack_import_3 = __webpack_require__(2727);
|
|
9
|
-
/* import */ var _ohif_extension_cornerstone__rspack_import_4 = __webpack_require__(
|
|
9
|
+
/* import */ var _ohif_extension_cornerstone__rspack_import_4 = __webpack_require__(87407);
|
|
10
10
|
/* import */ var _cornerstonejs_tools__rspack_import_5 = __webpack_require__(17819);
|
|
11
11
|
/* import */ var _getContextModule__rspack_import_6 = __webpack_require__(71830);
|
|
12
12
|
/* import */ var _cornerstonejs_core__rspack_import_7 = __webpack_require__(62721);
|