@ohif/app 3.8.0-beta.22 → 3.8.0-beta.24
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/{663.bundle.dd3722f4d5a35738b322.js → 170.bundle.4334f8b364d969afe84e.js} +11 -20
- package/dist/{181.bundle.bce8ecb8af857b2513df.js → 181.bundle.8bbcaf31270dd56cad1f.js} +4 -4
- package/dist/{563.bundle.85b99569bb9525fd0858.js → 185.bundle.4502bc07831d495b9280.js} +4 -11
- package/dist/{19.bundle.f2a23496a6ed93dac62d.js → 19.bundle.d26fd663937cb6da7e4e.js} +2 -2
- package/dist/{126.bundle.c854bff61991fc4a231c.js → 199.bundle.361e62f9825452d9e6d4.js} +4 -11
- package/dist/{202.bundle.ec714227032b22d4fa24.js → 202.bundle.07442d396db3161ee7f3.js} +336 -328
- package/dist/20fc4c659b85ccd2a9c0.wasm +0 -0
- package/dist/{250.bundle.3f9fbb8ea16d267d6405.js → 250.bundle.de8df38690c1305b2f8a.js} +4 -4
- package/dist/{575.bundle.aa80b87d36cb65acf2f8.js → 420.bundle.cb136058d63e468937d7.js} +7 -16
- package/dist/{221.bundle.0ebccc22f886d1ed1c5a.js → 466.bundle.516808dcd1d56f8d1bd0.js} +8 -15
- package/dist/47.bundle.3217b1b873983a6aaa43.js +9136 -0
- package/dist/{788.bundle.fdd78af8c874111a96fd.js → 483.bundle.01ef48ca248206277a82.js} +6 -13
- package/dist/{82.bundle.122d1b58bc3e22439dd9.js → 544.bundle.b2b65dd140e9854cb129.js} +1228 -829
- package/dist/{933.bundle.6184b84edf14c687b936.js → 661.bundle.65dd579322b265c6e321.js} +1749 -8963
- package/dist/{43.bundle.785b5eef341a551445d6.js → 738.bundle.c2b678137aeffca66247.js} +321 -10
- package/dist/{822.bundle.4f0424bd1dc0308bb489.js → 822.bundle.1f4c9e059e87914fc12a.js} +2 -2
- package/dist/{236.bundle.440bdc142f1470565e28.js → 965.bundle.c9a8527196a3e07a0edb.js} +3 -10
- package/dist/{app.bundle.9b809a873945286927f8.js → app.bundle.3112c1b1ef2f14ac3dda.js} +82117 -686
- package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
- package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
- package/dist/index.html +1 -1
- package/dist/{index.worker.e62ecca63f1a2e124230.worker.js → index.worker.64c896c4316fcd506666.worker.js} +2 -2
- package/dist/index.worker.64c896c4316fcd506666.worker.js.map +1 -0
- package/dist/sw.js +1 -1
- package/package.json +18 -18
- package/dist/231.bundle.8aad229e39e23731d6c1.js +0 -79023
- package/dist/604.bundle.a51f83e64004bca5f497.js +0 -1848
- package/dist/75788f12450d4c5ed494.wasm +0 -0
- package/dist/775.bundle.2285e7e0e67878948c0d.js +0 -1009
- package/dist/index.worker.e62ecca63f1a2e124230.worker.js.map +0 -1
- /package/dist/{12.bundle.e08c9a68c3ae74534732.js → 12.bundle.ea6ad3ba74e12da245ee.js} +0 -0
- /package/dist/{281.bundle.81b3962b3e7150734f8a.js → 281.bundle.68ff7d9fd09da731bc30.js} +0 -0
- /package/dist/{359.bundle.1283413fe124f598e84d.js → 359.bundle.c43b9edcde392873039a.js} +0 -0
- /package/dist/{410.bundle.829305f030d3675ad5ac.js → 410.bundle.69d2ac6302307232feb6.js} +0 -0
- /package/dist/{575.css → 420.css} +0 -0
- /package/dist/{221.css → 466.css} +0 -0
- /package/dist/{506.bundle.6eeb56e9caff8f30bb14.js → 506.bundle.b8b35a2d4047ecf0de72.js} +0 -0
- /package/dist/{613.bundle.5b4451fe75f6ae1b654e.js → 613.bundle.1470935d8a6ab639ad58.js} +0 -0
- /package/dist/{687.bundle.dc5b172f08c41d6dfb83.js → 687.bundle.afe4b435252e619caba6.js} +0 -0
- /package/dist/{814.bundle.8d03783d90040e3a81cd.js → 814.bundle.7d70d991bb9a0dde9afb.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(self["webpackChunk"] = self["webpackChunk"] || []).push([[
|
|
2
|
+
(self["webpackChunk"] = self["webpackChunk"] || []).push([[738],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 78738:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
// ESM COMPAT FLAG
|
|
@@ -704,6 +704,7 @@ const StudyMetaDataPromises = new Map();
|
|
|
704
704
|
* @returns {Promise} that will be resolved with the metadata or rejected with the error
|
|
705
705
|
*/
|
|
706
706
|
function retrieveStudyMetadata(dicomWebClient, StudyInstanceUID, enableStudyLazyLoad, filters, sortCriteria, sortFunction) {
|
|
707
|
+
let dicomWebConfig = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : {};
|
|
707
708
|
// @TODO: Whenever a study metadata request has failed, its related promise will be rejected once and for all
|
|
708
709
|
// and further requests for that metadata will always fail. On failure, we probably need to remove the
|
|
709
710
|
// corresponding promise from the "StudyMetaDataPromises" map...
|
|
@@ -714,10 +715,11 @@ function retrieveStudyMetadata(dicomWebClient, StudyInstanceUID, enableStudyLazy
|
|
|
714
715
|
if (!StudyInstanceUID) {
|
|
715
716
|
throw new Error(`${moduleName}: Required 'StudyInstanceUID' parameter not provided.`);
|
|
716
717
|
}
|
|
718
|
+
const promiseId = `${dicomWebConfig.name}:${StudyInstanceUID}`;
|
|
717
719
|
|
|
718
720
|
// Already waiting on result? Return cached promise
|
|
719
|
-
if (StudyMetaDataPromises.has(
|
|
720
|
-
return StudyMetaDataPromises.get(
|
|
721
|
+
if (StudyMetaDataPromises.has(promiseId)) {
|
|
722
|
+
return StudyMetaDataPromises.get(promiseId);
|
|
721
723
|
}
|
|
722
724
|
let promise;
|
|
723
725
|
if (filters && filters.SeriesInstanceUIDs) {
|
|
@@ -732,7 +734,7 @@ function retrieveStudyMetadata(dicomWebClient, StudyInstanceUID, enableStudyLazy
|
|
|
732
734
|
}
|
|
733
735
|
|
|
734
736
|
// Store the promise in cache
|
|
735
|
-
StudyMetaDataPromises.set(
|
|
737
|
+
StudyMetaDataPromises.set(promiseId, promise);
|
|
736
738
|
return promise;
|
|
737
739
|
}
|
|
738
740
|
|
|
@@ -1161,7 +1163,7 @@ function createDicomWebApi(dicomWebConfig, userAuthenticationService) {
|
|
|
1161
1163
|
instances: {
|
|
1162
1164
|
search: (studyInstanceUid, queryParameters) => {
|
|
1163
1165
|
qidoDicomWebClient.headers = getAuthrorizationHeader();
|
|
1164
|
-
search.call(undefined, qidoDicomWebClient, studyInstanceUid, null, queryParameters);
|
|
1166
|
+
return search.call(undefined, qidoDicomWebClient, studyInstanceUid, null, queryParameters);
|
|
1165
1167
|
}
|
|
1166
1168
|
}
|
|
1167
1169
|
},
|
|
@@ -1252,7 +1254,7 @@ function createDicomWebApi(dicomWebConfig, userAuthenticationService) {
|
|
|
1252
1254
|
const enableStudyLazyLoad = false;
|
|
1253
1255
|
wadoDicomWebClient.headers = generateWadoHeader();
|
|
1254
1256
|
// data is all SOPInstanceUIDs
|
|
1255
|
-
const data = await retrieveStudyMetadata(wadoDicomWebClient, StudyInstanceUID, enableStudyLazyLoad, filters, sortCriteria, sortFunction);
|
|
1257
|
+
const data = await retrieveStudyMetadata(wadoDicomWebClient, StudyInstanceUID, enableStudyLazyLoad, filters, sortCriteria, sortFunction, dicomWebConfig);
|
|
1256
1258
|
|
|
1257
1259
|
// first naturalize the data
|
|
1258
1260
|
const naturalizedInstancesMetadata = data.map(naturalizeDataset);
|
|
@@ -1293,6 +1295,7 @@ function createDicomWebApi(dicomWebConfig, userAuthenticationService) {
|
|
|
1293
1295
|
const seriesMetadata = Object.values(seriesSummaryMetadata);
|
|
1294
1296
|
src.DicomMetadataStore.addSeriesMetadata(seriesMetadata, madeInClient);
|
|
1295
1297
|
Object.keys(instancesPerSeries).forEach(seriesInstanceUID => src.DicomMetadataStore.addInstances(instancesPerSeries[seriesInstanceUID], madeInClient));
|
|
1298
|
+
return seriesSummaryMetadata;
|
|
1296
1299
|
},
|
|
1297
1300
|
_retrieveSeriesMetadataAsync: async function (StudyInstanceUID, filters, sortCriteria, sortFunction) {
|
|
1298
1301
|
let madeInClient = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
|
|
@@ -1302,7 +1305,7 @@ function createDicomWebApi(dicomWebConfig, userAuthenticationService) {
|
|
|
1302
1305
|
const {
|
|
1303
1306
|
preLoadData: seriesSummaryMetadata,
|
|
1304
1307
|
promises: seriesPromises
|
|
1305
|
-
} = await retrieveStudyMetadata(wadoDicomWebClient, StudyInstanceUID, enableStudyLazyLoad, filters, sortCriteria, sortFunction);
|
|
1308
|
+
} = await retrieveStudyMetadata(wadoDicomWebClient, StudyInstanceUID, enableStudyLazyLoad, filters, sortCriteria, sortFunction, dicomWebConfig);
|
|
1306
1309
|
|
|
1307
1310
|
/**
|
|
1308
1311
|
* naturalizes the dataset, and adds a retrieve bulkdata method
|
|
@@ -1401,6 +1404,7 @@ function createDicomWebApi(dicomWebConfig, userAuthenticationService) {
|
|
|
1401
1404
|
}));
|
|
1402
1405
|
await Promise.all(seriesDeliveredPromises);
|
|
1403
1406
|
setSuccessFlag();
|
|
1407
|
+
return seriesSummaryMetadata;
|
|
1404
1408
|
},
|
|
1405
1409
|
deleteStudyMetadataPromise: deleteStudyMetadataPromise,
|
|
1406
1410
|
getImageIdsForDisplaySet(displaySet) {
|
|
@@ -2096,6 +2100,308 @@ function createDicomWebProxyApi(dicomWebProxyConfig, UserAuthenticationService)
|
|
|
2096
2100
|
return src/* IWebApiDataSource */.Is.create(implementation);
|
|
2097
2101
|
}
|
|
2098
2102
|
|
|
2103
|
+
// EXTERNAL MODULE: ../../../node_modules/lodash/lodash.js
|
|
2104
|
+
var lodash = __webpack_require__(44379);
|
|
2105
|
+
;// CONCATENATED MODULE: ../../../extensions/default/src/MergeDataSource/index.ts
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
const mergeMap = {
|
|
2109
|
+
'query.studies.search': {
|
|
2110
|
+
mergeKey: 'studyInstanceUid',
|
|
2111
|
+
tagFunc: x => x
|
|
2112
|
+
},
|
|
2113
|
+
'query.series.search': {
|
|
2114
|
+
mergeKey: 'seriesInstanceUid',
|
|
2115
|
+
tagFunc: (series, sourceName) => {
|
|
2116
|
+
series.forEach(series => {
|
|
2117
|
+
series.RetrieveAETitle = sourceName;
|
|
2118
|
+
src.DicomMetadataStore.updateSeriesMetadata(series);
|
|
2119
|
+
});
|
|
2120
|
+
return series;
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
};
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* Calls all data sources asynchronously and merges the results.
|
|
2127
|
+
* @param {CallForAllDataSourcesAsyncOptions} options - The options for calling all data sources.
|
|
2128
|
+
* @param {string} options.path - The path to the function to be called on each data source.
|
|
2129
|
+
* @param {unknown[]} options.args - The arguments to be passed to the function.
|
|
2130
|
+
* @param {ExtensionManager} options.extensionManager - The extension manager.
|
|
2131
|
+
* @param {string[]} options.dataSourceNames - The names of the data sources to be called.
|
|
2132
|
+
* @returns {Promise<unknown[]>} - A promise that resolves to the merged data from all data sources.
|
|
2133
|
+
*/
|
|
2134
|
+
const callForAllDataSourcesAsync = async _ref => {
|
|
2135
|
+
let {
|
|
2136
|
+
mergeMap,
|
|
2137
|
+
path,
|
|
2138
|
+
args,
|
|
2139
|
+
extensionManager,
|
|
2140
|
+
dataSourceNames
|
|
2141
|
+
} = _ref;
|
|
2142
|
+
const {
|
|
2143
|
+
mergeKey,
|
|
2144
|
+
tagFunc
|
|
2145
|
+
} = mergeMap[path] || {
|
|
2146
|
+
tagFunc: x => x
|
|
2147
|
+
};
|
|
2148
|
+
const dataSourceDefs = Object.values(extensionManager.dataSourceDefs);
|
|
2149
|
+
const promises = [];
|
|
2150
|
+
const mergedData = [];
|
|
2151
|
+
for (const dataSourceDef of dataSourceDefs) {
|
|
2152
|
+
const {
|
|
2153
|
+
configuration,
|
|
2154
|
+
sourceName
|
|
2155
|
+
} = dataSourceDef;
|
|
2156
|
+
if (!!configuration && dataSourceNames.includes(sourceName)) {
|
|
2157
|
+
const [dataSource] = extensionManager.getDataSources(sourceName);
|
|
2158
|
+
const func = (0,lodash.get)(dataSource, path);
|
|
2159
|
+
const promise = func.apply(dataSource, args);
|
|
2160
|
+
promises.push(promise.then(data => mergedData.push(tagFunc(data, sourceName))));
|
|
2161
|
+
}
|
|
2162
|
+
}
|
|
2163
|
+
await Promise.allSettled(promises);
|
|
2164
|
+
return (0,lodash.uniqBy)(mergedData.flat(), obj => obj[mergeKey]);
|
|
2165
|
+
};
|
|
2166
|
+
|
|
2167
|
+
/**
|
|
2168
|
+
* Calls all data sources that match the provided names and merges their data.
|
|
2169
|
+
* @param options - The options for calling all data sources.
|
|
2170
|
+
* @param options.path - The path to the function to be called on each data source.
|
|
2171
|
+
* @param options.args - The arguments to be passed to the function.
|
|
2172
|
+
* @param options.extensionManager - The extension manager instance.
|
|
2173
|
+
* @param options.dataSourceNames - The names of the data sources to be called.
|
|
2174
|
+
* @returns The merged data from all the matching data sources.
|
|
2175
|
+
*/
|
|
2176
|
+
const callForAllDataSources = _ref2 => {
|
|
2177
|
+
let {
|
|
2178
|
+
path,
|
|
2179
|
+
args,
|
|
2180
|
+
extensionManager,
|
|
2181
|
+
dataSourceNames
|
|
2182
|
+
} = _ref2;
|
|
2183
|
+
const dataSourceDefs = Object.values(extensionManager.dataSourceDefs);
|
|
2184
|
+
const mergedData = [];
|
|
2185
|
+
for (const dataSourceDef of dataSourceDefs) {
|
|
2186
|
+
const {
|
|
2187
|
+
configuration,
|
|
2188
|
+
sourceName
|
|
2189
|
+
} = dataSourceDef;
|
|
2190
|
+
if (!!configuration && dataSourceNames.includes(sourceName)) {
|
|
2191
|
+
const [dataSource] = extensionManager.getDataSources(sourceName);
|
|
2192
|
+
const func = (0,lodash.get)(dataSource, path);
|
|
2193
|
+
const data = func.apply(dataSource, args);
|
|
2194
|
+
mergedData.push(data);
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
return mergedData.flat();
|
|
2198
|
+
};
|
|
2199
|
+
|
|
2200
|
+
/**
|
|
2201
|
+
* Calls the default data source function specified by the given path with the provided arguments.
|
|
2202
|
+
* @param {CallForDefaultDataSourceOptions} options - The options for calling the default data source.
|
|
2203
|
+
* @param {string} options.path - The path to the function within the default data source.
|
|
2204
|
+
* @param {unknown[]} options.args - The arguments to pass to the function.
|
|
2205
|
+
* @param {string} options.defaultDataSourceName - The name of the default data source.
|
|
2206
|
+
* @param {ExtensionManager} options.extensionManager - The extension manager instance.
|
|
2207
|
+
* @returns {unknown} - The result of calling the default data source function.
|
|
2208
|
+
*/
|
|
2209
|
+
const callForDefaultDataSource = _ref3 => {
|
|
2210
|
+
let {
|
|
2211
|
+
path,
|
|
2212
|
+
args,
|
|
2213
|
+
defaultDataSourceName,
|
|
2214
|
+
extensionManager
|
|
2215
|
+
} = _ref3;
|
|
2216
|
+
const [dataSource] = extensionManager.getDataSources(defaultDataSourceName);
|
|
2217
|
+
const func = (0,lodash.get)(dataSource, path);
|
|
2218
|
+
return func.apply(dataSource, args);
|
|
2219
|
+
};
|
|
2220
|
+
|
|
2221
|
+
/**
|
|
2222
|
+
* Calls the data source specified by the RetrieveAETitle of the given display set.
|
|
2223
|
+
* @typedef {Object} CallByRetrieveAETitleOptions
|
|
2224
|
+
* @property {string} path - The path of the method to call on the data source.
|
|
2225
|
+
* @property {unknown[]} args - The arguments to pass to the method.
|
|
2226
|
+
* @property {string} defaultDataSourceName - The name of the default data source.
|
|
2227
|
+
* @property {ExtensionManager} extensionManager - The extension manager.
|
|
2228
|
+
*/
|
|
2229
|
+
const callByRetrieveAETitle = _ref4 => {
|
|
2230
|
+
let {
|
|
2231
|
+
path,
|
|
2232
|
+
args,
|
|
2233
|
+
defaultDataSourceName,
|
|
2234
|
+
extensionManager
|
|
2235
|
+
} = _ref4;
|
|
2236
|
+
const [displaySet] = args;
|
|
2237
|
+
const seriesMetadata = src.DicomMetadataStore.getSeries(displaySet.StudyInstanceUID, displaySet.SeriesInstanceUID);
|
|
2238
|
+
const [dataSource] = extensionManager.getDataSources(seriesMetadata.RetrieveAETitle || defaultDataSourceName);
|
|
2239
|
+
return dataSource[path](...args);
|
|
2240
|
+
};
|
|
2241
|
+
function createMergeDataSourceApi(mergeConfig, UserAuthenticationService, extensionManager) {
|
|
2242
|
+
const {
|
|
2243
|
+
seriesMerge
|
|
2244
|
+
} = mergeConfig;
|
|
2245
|
+
const {
|
|
2246
|
+
dataSourceNames,
|
|
2247
|
+
defaultDataSourceName
|
|
2248
|
+
} = seriesMerge;
|
|
2249
|
+
const implementation = {
|
|
2250
|
+
initialize: function () {
|
|
2251
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
2252
|
+
args[_key] = arguments[_key];
|
|
2253
|
+
}
|
|
2254
|
+
return callForAllDataSources({
|
|
2255
|
+
path: 'initialize',
|
|
2256
|
+
args,
|
|
2257
|
+
extensionManager,
|
|
2258
|
+
dataSourceNames
|
|
2259
|
+
});
|
|
2260
|
+
},
|
|
2261
|
+
query: {
|
|
2262
|
+
studies: {
|
|
2263
|
+
search: function () {
|
|
2264
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
2265
|
+
args[_key2] = arguments[_key2];
|
|
2266
|
+
}
|
|
2267
|
+
return callForAllDataSourcesAsync({
|
|
2268
|
+
mergeMap,
|
|
2269
|
+
path: 'query.studies.search',
|
|
2270
|
+
args,
|
|
2271
|
+
extensionManager,
|
|
2272
|
+
dataSourceNames
|
|
2273
|
+
});
|
|
2274
|
+
}
|
|
2275
|
+
},
|
|
2276
|
+
series: {
|
|
2277
|
+
search: function () {
|
|
2278
|
+
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
2279
|
+
args[_key3] = arguments[_key3];
|
|
2280
|
+
}
|
|
2281
|
+
return callForAllDataSourcesAsync({
|
|
2282
|
+
mergeMap,
|
|
2283
|
+
path: 'query.series.search',
|
|
2284
|
+
args,
|
|
2285
|
+
extensionManager,
|
|
2286
|
+
dataSourceNames
|
|
2287
|
+
});
|
|
2288
|
+
}
|
|
2289
|
+
},
|
|
2290
|
+
instances: {
|
|
2291
|
+
search: function () {
|
|
2292
|
+
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
2293
|
+
args[_key4] = arguments[_key4];
|
|
2294
|
+
}
|
|
2295
|
+
return callForAllDataSourcesAsync({
|
|
2296
|
+
mergeMap,
|
|
2297
|
+
path: 'query.instances.search',
|
|
2298
|
+
args,
|
|
2299
|
+
extensionManager,
|
|
2300
|
+
dataSourceNames
|
|
2301
|
+
});
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
},
|
|
2305
|
+
retrieve: {
|
|
2306
|
+
bulkDataURI: function () {
|
|
2307
|
+
for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
|
|
2308
|
+
args[_key5] = arguments[_key5];
|
|
2309
|
+
}
|
|
2310
|
+
return callForAllDataSourcesAsync({
|
|
2311
|
+
mergeMap,
|
|
2312
|
+
path: 'retrieve.bulkDataURI',
|
|
2313
|
+
args,
|
|
2314
|
+
extensionManager,
|
|
2315
|
+
dataSourceNames
|
|
2316
|
+
});
|
|
2317
|
+
},
|
|
2318
|
+
directURL: function () {
|
|
2319
|
+
for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
|
|
2320
|
+
args[_key6] = arguments[_key6];
|
|
2321
|
+
}
|
|
2322
|
+
return callForDefaultDataSource({
|
|
2323
|
+
path: 'retrieve.directURL',
|
|
2324
|
+
args,
|
|
2325
|
+
defaultDataSourceName,
|
|
2326
|
+
extensionManager
|
|
2327
|
+
});
|
|
2328
|
+
},
|
|
2329
|
+
series: {
|
|
2330
|
+
metadata: function () {
|
|
2331
|
+
for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
|
|
2332
|
+
args[_key7] = arguments[_key7];
|
|
2333
|
+
}
|
|
2334
|
+
return callForAllDataSourcesAsync({
|
|
2335
|
+
mergeMap,
|
|
2336
|
+
path: 'retrieve.series.metadata',
|
|
2337
|
+
args,
|
|
2338
|
+
extensionManager,
|
|
2339
|
+
dataSourceNames
|
|
2340
|
+
});
|
|
2341
|
+
}
|
|
2342
|
+
}
|
|
2343
|
+
},
|
|
2344
|
+
store: {
|
|
2345
|
+
dicom: function () {
|
|
2346
|
+
for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
|
|
2347
|
+
args[_key8] = arguments[_key8];
|
|
2348
|
+
}
|
|
2349
|
+
return callForDefaultDataSource({
|
|
2350
|
+
path: 'store.dicom',
|
|
2351
|
+
args,
|
|
2352
|
+
defaultDataSourceName,
|
|
2353
|
+
extensionManager
|
|
2354
|
+
});
|
|
2355
|
+
}
|
|
2356
|
+
},
|
|
2357
|
+
deleteStudyMetadataPromise: function () {
|
|
2358
|
+
for (var _len9 = arguments.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {
|
|
2359
|
+
args[_key9] = arguments[_key9];
|
|
2360
|
+
}
|
|
2361
|
+
return callForAllDataSources({
|
|
2362
|
+
path: 'deleteStudyMetadataPromise',
|
|
2363
|
+
args,
|
|
2364
|
+
extensionManager,
|
|
2365
|
+
dataSourceNames
|
|
2366
|
+
});
|
|
2367
|
+
},
|
|
2368
|
+
getImageIdsForDisplaySet: function () {
|
|
2369
|
+
for (var _len10 = arguments.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) {
|
|
2370
|
+
args[_key10] = arguments[_key10];
|
|
2371
|
+
}
|
|
2372
|
+
return callByRetrieveAETitle({
|
|
2373
|
+
path: 'getImageIdsForDisplaySet',
|
|
2374
|
+
args,
|
|
2375
|
+
defaultDataSourceName,
|
|
2376
|
+
extensionManager
|
|
2377
|
+
});
|
|
2378
|
+
},
|
|
2379
|
+
getImageIdsForInstance: function () {
|
|
2380
|
+
for (var _len11 = arguments.length, args = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) {
|
|
2381
|
+
args[_key11] = arguments[_key11];
|
|
2382
|
+
}
|
|
2383
|
+
return callByRetrieveAETitle({
|
|
2384
|
+
path: 'getImageIdsForDisplaySet',
|
|
2385
|
+
args,
|
|
2386
|
+
defaultDataSourceName,
|
|
2387
|
+
extensionManager
|
|
2388
|
+
});
|
|
2389
|
+
},
|
|
2390
|
+
getStudyInstanceUIDs: function () {
|
|
2391
|
+
for (var _len12 = arguments.length, args = new Array(_len12), _key12 = 0; _key12 < _len12; _key12++) {
|
|
2392
|
+
args[_key12] = arguments[_key12];
|
|
2393
|
+
}
|
|
2394
|
+
return callForAllDataSources({
|
|
2395
|
+
path: 'getStudyInstanceUIDs',
|
|
2396
|
+
args,
|
|
2397
|
+
extensionManager,
|
|
2398
|
+
dataSourceNames
|
|
2399
|
+
});
|
|
2400
|
+
}
|
|
2401
|
+
};
|
|
2402
|
+
return src/* IWebApiDataSource */.Is.create(implementation);
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2099
2405
|
;// CONCATENATED MODULE: ../../../extensions/default/src/getDataSourcesModule.js
|
|
2100
2406
|
// TODO: Pull in IWebClientApi from @ohif/core
|
|
2101
2407
|
// TODO: Use constructor to create an instance of IWebClientApi
|
|
@@ -2106,6 +2412,7 @@ function createDicomWebProxyApi(dicomWebProxyConfig, UserAuthenticationService)
|
|
|
2106
2412
|
|
|
2107
2413
|
|
|
2108
2414
|
|
|
2415
|
+
|
|
2109
2416
|
/**
|
|
2110
2417
|
*
|
|
2111
2418
|
*/
|
|
@@ -2126,6 +2433,10 @@ function getDataSourcesModule() {
|
|
|
2126
2433
|
name: 'dicomlocal',
|
|
2127
2434
|
type: 'localApi',
|
|
2128
2435
|
createDataSource: createDicomLocalApi
|
|
2436
|
+
}, {
|
|
2437
|
+
name: 'merge',
|
|
2438
|
+
type: 'mergeApi',
|
|
2439
|
+
createDataSource: createMergeDataSourceApi
|
|
2129
2440
|
}];
|
|
2130
2441
|
}
|
|
2131
2442
|
/* harmony default export */ const src_getDataSourcesModule = (getDataSourcesModule);
|
|
@@ -2255,8 +2566,8 @@ function ViewerHeader(_ref) {
|
|
|
2255
2566
|
hotkeyDefinitions,
|
|
2256
2567
|
hotkeyDefaults
|
|
2257
2568
|
} = hotkeysManager;
|
|
2258
|
-
const versionNumber = "3.8.0-beta.
|
|
2259
|
-
const commitHash = "
|
|
2569
|
+
const versionNumber = "3.8.0-beta.24";
|
|
2570
|
+
const commitHash = "9d1884d7d8b6b2a1cdc26965a96995838aa72682";
|
|
2260
2571
|
const menuOptions = [{
|
|
2261
2572
|
title: t('Header:About'),
|
|
2262
2573
|
icon: 'info',
|
|
@@ -14,9 +14,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14
14
|
/* harmony import */ var _ohif_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71771);
|
|
15
15
|
/* harmony import */ var _ohif_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(22582);
|
|
16
16
|
/* harmony import */ var react_i18next__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(69190);
|
|
17
|
-
/* harmony import */ var _cornerstonejs_tools__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
17
|
+
/* harmony import */ var _cornerstonejs_tools__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91544);
|
|
18
18
|
/* harmony import */ var _getContextModule__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41832);
|
|
19
|
-
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
19
|
+
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(63442);
|
|
20
20
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
21
21
|
|
|
22
22
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
(self["webpackChunk"] = self["webpackChunk"] || []).push([[965],{
|
|
2
3
|
|
|
3
4
|
/***/ 80965:
|
|
4
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5
6
|
|
|
6
|
-
"use strict";
|
|
7
7
|
// ESM COMPAT FLAG
|
|
8
8
|
__webpack_require__.r(__webpack_exports__);
|
|
9
9
|
|
|
@@ -2598,7 +2598,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
2598
2598
|
|
|
2599
2599
|
|
|
2600
2600
|
const Component = /*#__PURE__*/react.lazy(() => {
|
|
2601
|
-
return Promise.all(/* import() */[__webpack_require__.e(
|
|
2601
|
+
return Promise.all(/* import() */[__webpack_require__.e(661), __webpack_require__.e(417), __webpack_require__.e(23), __webpack_require__.e(738), __webpack_require__.e(250)]).then(__webpack_require__.bind(__webpack_require__, 76516));
|
|
2602
2602
|
});
|
|
2603
2603
|
const MicroscopyViewport = props => {
|
|
2604
2604
|
return /*#__PURE__*/react.createElement(react.Suspense, {
|
|
@@ -2695,13 +2695,6 @@ const MicroscopyViewport = props => {
|
|
|
2695
2695
|
getCommandsModule: getCommandsModule
|
|
2696
2696
|
});
|
|
2697
2697
|
|
|
2698
|
-
/***/ }),
|
|
2699
|
-
|
|
2700
|
-
/***/ 78753:
|
|
2701
|
-
/***/ (() => {
|
|
2702
|
-
|
|
2703
|
-
/* (ignored) */
|
|
2704
|
-
|
|
2705
2698
|
/***/ })
|
|
2706
2699
|
|
|
2707
2700
|
}]);
|