@cornerstonejs/core 3.27.0 → 3.28.0
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.
|
@@ -44,6 +44,7 @@ export default class BaseStreamingImageVolume extends ImageVolume implements IIm
|
|
|
44
44
|
imageIdIndex: number;
|
|
45
45
|
volumeId: string;
|
|
46
46
|
};
|
|
47
|
+
retrieveOptions: any;
|
|
47
48
|
};
|
|
48
49
|
callLoadImage(imageId: any, imageIdIndex: any, options: any): any;
|
|
49
50
|
protected getImageIdsRequests(imageIds: string[], priorityDefault: number): {
|
|
@@ -69,6 +70,7 @@ export default class BaseStreamingImageVolume extends ImageVolume implements IIm
|
|
|
69
70
|
imageIdIndex: number;
|
|
70
71
|
volumeId: string;
|
|
71
72
|
};
|
|
73
|
+
retrieveOptions: any;
|
|
72
74
|
};
|
|
73
75
|
priority: number;
|
|
74
76
|
requestType: RequestType;
|
|
@@ -248,6 +248,7 @@ export default class BaseStreamingImageVolume extends ImageVolume {
|
|
|
248
248
|
imageIdIndex,
|
|
249
249
|
volumeId: this.volumeId,
|
|
250
250
|
},
|
|
251
|
+
retrieveOptions: undefined,
|
|
251
252
|
};
|
|
252
253
|
}
|
|
253
254
|
callLoadImage(imageId, imageIdIndex, options) {
|
|
@@ -281,6 +282,13 @@ export default class BaseStreamingImageVolume extends ImageVolume {
|
|
|
281
282
|
const requestType = requestTypeDefault;
|
|
282
283
|
const priority = priorityDefault;
|
|
283
284
|
const options = this.getLoaderImageOptions(imageId);
|
|
285
|
+
const { retrieveOptions = {} } = metaData.get(imageRetrieveMetadataProvider.IMAGE_RETRIEVE_CONFIGURATION, imageId, 'volume') || {};
|
|
286
|
+
options.retrieveOptions = {
|
|
287
|
+
...options.retrieveOptions,
|
|
288
|
+
...(retrieveOptions?.default ||
|
|
289
|
+
Object.values(retrieveOptions)?.[0] ||
|
|
290
|
+
{}),
|
|
291
|
+
};
|
|
284
292
|
return {
|
|
285
293
|
callLoadImage: this.callLoadImage.bind(this),
|
|
286
294
|
imageId,
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "3.
|
|
1
|
+
export declare const version = "3.28.0";
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '3.
|
|
1
|
+
export const version = '3.28.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.28.0",
|
|
4
4
|
"description": "Cornerstone3D Core",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/esm/index.d.ts",
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
"type": "individual",
|
|
98
98
|
"url": "https://ohif.org/donate"
|
|
99
99
|
},
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "5de47cea0535069b995801d4d88a53e355914152"
|
|
101
101
|
}
|