@ohif/app 3.8.0-beta.20 → 3.8.0-beta.22
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/{43.bundle.d28a6d28c62e8e1cc624.js → 43.bundle.785b5eef341a551445d6.js} +2 -2
- package/dist/{776.bundle.07fe077a28c531430a21.js → 575.bundle.aa80b87d36cb65acf2f8.js} +61 -20
- package/dist/{app.bundle.8f2990cad15ea7157bf3.js → app.bundle.9b809a873945286927f8.js} +11 -10
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +17 -17
- /package/dist/{12.bundle.ea525513047fc4eadf3d.js → 12.bundle.e08c9a68c3ae74534732.js} +0 -0
- /package/dist/{126.bundle.332198b1209f2b35b6b5.js → 126.bundle.c854bff61991fc4a231c.js} +0 -0
- /package/dist/{19.bundle.30ca177f376df188fea1.js → 19.bundle.f2a23496a6ed93dac62d.js} +0 -0
- /package/dist/{221.bundle.f83b60c52213fa61fb38.js → 221.bundle.0ebccc22f886d1ed1c5a.js} +0 -0
- /package/dist/{236.bundle.d762652dd3a951a6121e.js → 236.bundle.440bdc142f1470565e28.js} +0 -0
- /package/dist/{281.bundle.bd08af86628ad3fdf82f.js → 281.bundle.81b3962b3e7150734f8a.js} +0 -0
- /package/dist/{359.bundle.50740f6901d6059bb9c2.js → 359.bundle.1283413fe124f598e84d.js} +0 -0
- /package/dist/{410.bundle.460208636059f5c332a3.js → 410.bundle.829305f030d3675ad5ac.js} +0 -0
- /package/dist/{506.bundle.9cfae0e804ed5a4e6a73.js → 506.bundle.6eeb56e9caff8f30bb14.js} +0 -0
- /package/dist/{563.bundle.c7500bcc9b47b6c3653b.js → 563.bundle.85b99569bb9525fd0858.js} +0 -0
- /package/dist/{776.css → 575.css} +0 -0
- /package/dist/{613.bundle.8e51cbe4cce6a16064f5.js → 613.bundle.5b4451fe75f6ae1b654e.js} +0 -0
- /package/dist/{663.bundle.b77384121d325382a7ca.js → 663.bundle.dd3722f4d5a35738b322.js} +0 -0
- /package/dist/{687.bundle.0604f9a4be67e1342c54.js → 687.bundle.dc5b172f08c41d6dfb83.js} +0 -0
- /package/dist/{788.bundle.d763978db2da812eaa61.js → 788.bundle.fdd78af8c874111a96fd.js} +0 -0
- /package/dist/{814.bundle.bb3c5441d05abebdc049.js → 814.bundle.8d03783d90040e3a81cd.js} +0 -0
|
@@ -2255,8 +2255,8 @@ function ViewerHeader(_ref) {
|
|
|
2255
2255
|
hotkeyDefinitions,
|
|
2256
2256
|
hotkeyDefaults
|
|
2257
2257
|
} = hotkeysManager;
|
|
2258
|
-
const versionNumber = "3.8.0-beta.
|
|
2259
|
-
const commitHash = "
|
|
2258
|
+
const versionNumber = "3.8.0-beta.22";
|
|
2259
|
+
const commitHash = "404b0a5d535182d1ae44e33f7232db500a7b2c16";
|
|
2260
2260
|
const menuOptions = [{
|
|
2261
2261
|
title: t('Header:About'),
|
|
2262
2262
|
icon: 'info',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(self["webpackChunk"] = self["webpackChunk"] || []).push([[
|
|
1
|
+
(self["webpackChunk"] = self["webpackChunk"] || []).push([[575],{
|
|
2
2
|
|
|
3
|
-
/***/
|
|
3
|
+
/***/ 41420:
|
|
4
4
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5
5
|
|
|
6
6
|
"use strict";
|
|
@@ -9,6 +9,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9
9
|
|
|
10
10
|
// EXPORTS
|
|
11
11
|
__webpack_require__.d(__webpack_exports__, {
|
|
12
|
+
ImageOverlayViewerTool: () => (/* reexport */ tools_ImageOverlayViewerTool),
|
|
12
13
|
Types: () => (/* reexport */ types_namespaceObject),
|
|
13
14
|
"default": () => (/* binding */ cornerstone_src),
|
|
14
15
|
getActiveViewportEnabledElement: () => (/* reexport */ getActiveViewportEnabledElement),
|
|
@@ -352,6 +353,44 @@ function onCompletedCalibrationLine(servicesManager, csToolsEvent) {
|
|
|
352
353
|
}
|
|
353
354
|
// EXTERNAL MODULE: ../../core/src/utils/index.js + 26 modules
|
|
354
355
|
var utils = __webpack_require__(3225);
|
|
356
|
+
;// CONCATENATED MODULE: ../../../extensions/cornerstone/src/tools/OverlayPlaneModuleProvider.ts
|
|
357
|
+
|
|
358
|
+
const _cachedOverlayMetadata = new Map();
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Image Overlay Viewer tool is not a traditional tool that requires user interactin.
|
|
362
|
+
* But it is used to display Pixel Overlays. And it will provide toggling capability.
|
|
363
|
+
*
|
|
364
|
+
* The documentation for Overlay Plane Module of DICOM can be found in [C.9.2 of
|
|
365
|
+
* Part-3 of DICOM standard](https://dicom.nema.org/medical/dicom/2018b/output/chtml/part03/sect_C.9.2.html)
|
|
366
|
+
*
|
|
367
|
+
* Image Overlay rendered by this tool can be toggled on and off using
|
|
368
|
+
* toolGroup.setToolEnabled() and toolGroup.setToolDisabled()
|
|
369
|
+
*/
|
|
370
|
+
const OverlayPlaneModuleProvider = {
|
|
371
|
+
/** Adds the metadata for overlayPlaneModule */
|
|
372
|
+
add: (imageId, metadata) => {
|
|
373
|
+
if (_cachedOverlayMetadata.get(imageId) === metadata) {
|
|
374
|
+
// This is a no-op here as the tool re-caches the data
|
|
375
|
+
return;
|
|
376
|
+
}
|
|
377
|
+
_cachedOverlayMetadata.set(imageId, metadata);
|
|
378
|
+
},
|
|
379
|
+
/** Standard getter for metadata */
|
|
380
|
+
get: (type, query) => {
|
|
381
|
+
if (Array.isArray(query)) {
|
|
382
|
+
return;
|
|
383
|
+
}
|
|
384
|
+
if (type !== 'overlayPlaneModule') {
|
|
385
|
+
return;
|
|
386
|
+
}
|
|
387
|
+
return _cachedOverlayMetadata.get(query);
|
|
388
|
+
}
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
// Needs to be higher priority than default provider
|
|
392
|
+
esm.metaData.addProvider(OverlayPlaneModuleProvider.get, 10_000);
|
|
393
|
+
/* harmony default export */ const tools_OverlayPlaneModuleProvider = (OverlayPlaneModuleProvider);
|
|
355
394
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone/src/tools/ImageOverlayViewerTool.tsx
|
|
356
395
|
|
|
357
396
|
|
|
@@ -377,12 +416,7 @@ class ImageOverlayViewerTool extends dist_esm.AnnotationDisplayTool {
|
|
|
377
416
|
}
|
|
378
417
|
};
|
|
379
418
|
super(toolProps, defaultToolProps);
|
|
380
|
-
this.
|
|
381
|
-
this._cachedStats = {};
|
|
382
|
-
this.onSetToolDisabled = () => {
|
|
383
|
-
this._cachedStats = {};
|
|
384
|
-
this._cachedOverlayMetadata = new Map();
|
|
385
|
-
};
|
|
419
|
+
this.onSetToolDisabled = () => {};
|
|
386
420
|
this.renderAnnotation = (enabledElement, svgDrawingHelper) => {
|
|
387
421
|
const {
|
|
388
422
|
viewport
|
|
@@ -391,7 +425,8 @@ class ImageOverlayViewerTool extends dist_esm.AnnotationDisplayTool {
|
|
|
391
425
|
if (!imageId) {
|
|
392
426
|
return;
|
|
393
427
|
}
|
|
394
|
-
const
|
|
428
|
+
const overlayMetadata = esm.metaData.get('overlayPlaneModule', imageId);
|
|
429
|
+
const overlays = overlayMetadata?.overlays;
|
|
395
430
|
|
|
396
431
|
// no overlays
|
|
397
432
|
if (!overlays?.length) {
|
|
@@ -403,8 +438,10 @@ class ImageOverlayViewerTool extends dist_esm.AnnotationDisplayTool {
|
|
|
403
438
|
overlay.x ||= 0;
|
|
404
439
|
overlay.y ||= 0;
|
|
405
440
|
});
|
|
406
|
-
|
|
407
|
-
|
|
441
|
+
|
|
442
|
+
// Will clear cached stat data when the overlay data changes
|
|
443
|
+
ImageOverlayViewerTool.addOverlayPlaneModule(imageId, overlayMetadata);
|
|
444
|
+
this._getCachedStat(imageId, overlayMetadata, this.configuration.fillColor).then(cachedStat => {
|
|
408
445
|
cachedStat.overlays.forEach(overlay => {
|
|
409
446
|
this._renderOverlay(enabledElement, svgDrawingHelper, overlay);
|
|
410
447
|
});
|
|
@@ -478,10 +515,11 @@ class ImageOverlayViewerTool extends dist_esm.AnnotationDisplayTool {
|
|
|
478
515
|
return true;
|
|
479
516
|
}
|
|
480
517
|
async _getCachedStat(imageId, overlayMetadata, color) {
|
|
481
|
-
|
|
482
|
-
|
|
518
|
+
const missingOverlay = overlayMetadata.overlays.filter(overlay => overlay.pixelData && !overlay.dataUrl);
|
|
519
|
+
if (missingOverlay.length === 0) {
|
|
520
|
+
return overlayMetadata;
|
|
483
521
|
}
|
|
484
|
-
const overlays = await Promise.all(overlayMetadata.filter(overlay => overlay.pixelData).map(async (overlay, idx) => {
|
|
522
|
+
const overlays = await Promise.all(overlayMetadata.overlays.filter(overlay => overlay.pixelData).map(async (overlay, idx) => {
|
|
485
523
|
let pixelData = null;
|
|
486
524
|
if (overlay.pixelData.Value) {
|
|
487
525
|
pixelData = overlay.pixelData.Value;
|
|
@@ -496,7 +534,7 @@ class ImageOverlayViewerTool extends dist_esm.AnnotationDisplayTool {
|
|
|
496
534
|
const dataUrl = this._renderOverlayToDataUrl({
|
|
497
535
|
width: overlay.columns,
|
|
498
536
|
height: overlay.rows
|
|
499
|
-
}, color, pixelData);
|
|
537
|
+
}, overlay.color || color, pixelData);
|
|
500
538
|
return {
|
|
501
539
|
...overlay,
|
|
502
540
|
_id: (0,utils/* guid */.M8)(),
|
|
@@ -505,11 +543,8 @@ class ImageOverlayViewerTool extends dist_esm.AnnotationDisplayTool {
|
|
|
505
543
|
color
|
|
506
544
|
};
|
|
507
545
|
}));
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
overlays: overlays.filter(overlay => overlay)
|
|
511
|
-
};
|
|
512
|
-
return this._cachedStats[imageId];
|
|
546
|
+
overlayMetadata.overlays = overlays;
|
|
547
|
+
return overlayMetadata;
|
|
513
548
|
}
|
|
514
549
|
|
|
515
550
|
/**
|
|
@@ -568,6 +603,11 @@ class ImageOverlayViewerTool extends dist_esm.AnnotationDisplayTool {
|
|
|
568
603
|
}
|
|
569
604
|
}
|
|
570
605
|
ImageOverlayViewerTool.toolName = 'ImageOverlayViewer';
|
|
606
|
+
/**
|
|
607
|
+
* The overlay plane module provider add method is exposed here to be used
|
|
608
|
+
* when updating the overlay for this tool to use for displaying data.
|
|
609
|
+
*/
|
|
610
|
+
ImageOverlayViewerTool.addOverlayPlaneModule = tools_OverlayPlaneModuleProvider.add;
|
|
571
611
|
/* harmony default export */ const tools_ImageOverlayViewerTool = (ImageOverlayViewerTool);
|
|
572
612
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone/src/initCornerstoneTools.js
|
|
573
613
|
|
|
@@ -9309,6 +9349,7 @@ function src_extends() { src_extends = Object.assign ? Object.assign.bind() : fu
|
|
|
9309
9349
|
|
|
9310
9350
|
|
|
9311
9351
|
|
|
9352
|
+
|
|
9312
9353
|
|
|
9313
9354
|
|
|
9314
9355
|
const Component = /*#__PURE__*/react.lazy(() => {
|
|
@@ -989,8 +989,8 @@ function WorkList(_ref) {
|
|
|
989
989
|
};
|
|
990
990
|
});
|
|
991
991
|
const hasStudies = numOfStudies > 0;
|
|
992
|
-
const versionNumber = "3.8.0-beta.
|
|
993
|
-
const commitHash = "
|
|
992
|
+
const versionNumber = "3.8.0-beta.22";
|
|
993
|
+
const commitHash = "404b0a5d535182d1ae44e33f7232db500a7b2c16";
|
|
994
994
|
const menuOptions = [{
|
|
995
995
|
title: t('Header:About'),
|
|
996
996
|
icon: 'info',
|
|
@@ -1947,7 +1947,7 @@ async function loadModule(module) {
|
|
|
1947
1947
|
return imported.default;
|
|
1948
1948
|
}
|
|
1949
1949
|
if (module === "@ohif/extension-cornerstone") {
|
|
1950
|
-
const imported = await Promise.all(/* import() */[__webpack_require__.e(231), __webpack_require__.e(775), __webpack_require__.e(82), __webpack_require__.e(604), __webpack_require__.e(933), __webpack_require__.e(
|
|
1950
|
+
const imported = await Promise.all(/* import() */[__webpack_require__.e(231), __webpack_require__.e(775), __webpack_require__.e(82), __webpack_require__.e(604), __webpack_require__.e(933), __webpack_require__.e(575)]).then(__webpack_require__.bind(__webpack_require__, 41420));
|
|
1951
1951
|
return imported.default;
|
|
1952
1952
|
}
|
|
1953
1953
|
if (module === "@ohif/extension-measurement-tracking") {
|
|
@@ -6476,7 +6476,7 @@ const detectionOptions = {
|
|
|
6476
6476
|
}
|
|
6477
6477
|
});
|
|
6478
6478
|
;// CONCATENATED MODULE: ../../i18n/package.json
|
|
6479
|
-
const package_namespaceObject = JSON.parse('{"i8":"3.8.0-beta.
|
|
6479
|
+
const package_namespaceObject = JSON.parse('{"i8":"3.8.0-beta.21"}');
|
|
6480
6480
|
;// CONCATENATED MODULE: ../../i18n/src/utils.js
|
|
6481
6481
|
const languagesMap = {
|
|
6482
6482
|
ar: 'Arabic',
|
|
@@ -57782,6 +57782,7 @@ const BaseImplementation = {
|
|
|
57782
57782
|
});
|
|
57783
57783
|
this._broadcastEvent(EVENTS.SERIES_ADDED, {
|
|
57784
57784
|
StudyInstanceUID,
|
|
57785
|
+
seriesSummaryMetadata,
|
|
57785
57786
|
madeInClient
|
|
57786
57787
|
});
|
|
57787
57788
|
},
|
|
@@ -159940,7 +159941,7 @@ var selectOrdinal = function selectOrdinal() {
|
|
|
159940
159941
|
/******/ // This function allow to reference async chunks
|
|
159941
159942
|
/******/ __webpack_require__.u = (chunkId) => {
|
|
159942
159943
|
/******/ // return url for filenames based on template
|
|
159943
|
-
/******/ return "" + (chunkId === 18 ? "dicom-microscopy-viewer" : chunkId) + ".bundle." + {"12":"
|
|
159944
|
+
/******/ return "" + (chunkId === 18 ? "dicom-microscopy-viewer" : chunkId) + ".bundle." + {"12":"e08c9a68c3ae74534732","18":"2c146384eb9466d02ff8","19":"f2a23496a6ed93dac62d","23":"e008ad788170f2ed5569","43":"785b5eef341a551445d6","82":"122d1b58bc3e22439dd9","125":"253395f320b72180da63","126":"c854bff61991fc4a231c","181":"bce8ecb8af857b2513df","202":"ec714227032b22d4fa24","220":"f7e1c96c94245e70f2be","221":"0ebccc22f886d1ed1c5a","231":"8aad229e39e23731d6c1","236":"440bdc142f1470565e28","250":"3f9fbb8ea16d267d6405","281":"81b3962b3e7150734f8a","359":"1283413fe124f598e84d","410":"829305f030d3675ad5ac","417":"af0a207c29b109f84159","451":"57c21db5d003c75e9d61","471":"49c8d281adbae4a2c4df","485":"8667a696ac2eaf99e4fa","506":"6eeb56e9caff8f30bb14","530":"a03b6f942ace3e1baa1e","563":"85b99569bb9525fd0858","575":"aa80b87d36cb65acf2f8","579":"8fc434a0c13d3f662d42","604":"a51f83e64004bca5f497","613":"5b4451fe75f6ae1b654e","663":"dd3722f4d5a35738b322","686":"dccef1f36e4bc79bcc48","687":"dc5b172f08c41d6dfb83","775":"2285e7e0e67878948c0d","788":"fdd78af8c874111a96fd","814":"8d03783d90040e3a81cd","822":"4f0424bd1dc0308bb489","886":"c8dd3ecc42a4253de278","933":"6184b84edf14c687b936"}[chunkId] + ".js";
|
|
159944
159945
|
/******/ };
|
|
159945
159946
|
/******/ })();
|
|
159946
159947
|
/******/
|
|
@@ -160103,7 +160104,7 @@ var selectOrdinal = function selectOrdinal() {
|
|
|
160103
160104
|
/******/ };
|
|
160104
160105
|
/******/
|
|
160105
160106
|
/******/ __webpack_require__.f.miniCss = (chunkId, promises) => {
|
|
160106
|
-
/******/ var cssChunks = {"19":1,"181":1,"221":1,"250":1,"
|
|
160107
|
+
/******/ var cssChunks = {"19":1,"181":1,"221":1,"250":1,"575":1,"579":1};
|
|
160107
160108
|
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
|
|
160108
160109
|
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
|
|
160109
160110
|
/******/ promises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {
|
|
@@ -160239,13 +160240,13 @@ var selectOrdinal = function selectOrdinal() {
|
|
|
160239
160240
|
/******/ "506": [
|
|
160240
160241
|
/******/ 471
|
|
160241
160242
|
/******/ ],
|
|
160242
|
-
/******/ "
|
|
160243
|
-
/******/ 886
|
|
160244
|
-
/******/ ],
|
|
160245
|
-
/******/ "776": [
|
|
160243
|
+
/******/ "575": [
|
|
160246
160244
|
/******/ 23,
|
|
160247
160245
|
/******/ 181
|
|
160248
160246
|
/******/ ],
|
|
160247
|
+
/******/ "663": [
|
|
160248
|
+
/******/ 886
|
|
160249
|
+
/******/ ],
|
|
160249
160250
|
/******/ "814": [
|
|
160250
160251
|
/******/ 125
|
|
160251
160252
|
/******/ ]
|
package/dist/index.html
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><meta name="mobile-web-app-capable" content="yes"/><meta name="application-name" content="OHIF Viewer"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><meta name="apple-mobile-web-app-title" content="@ohif/app"/><meta name="msapplication-TileColor" content="#fff"/><meta name="msapplication-TileImage" content="/assets/mstile-144x144.png"/><meta name="msapplication-config" content="/assets/browserconfig.xml"/><script>console.time('scriptToView');
|
|
2
|
-
window.PUBLIC_URL = '/';</script><link rel="manifest" href="/manifest.json"/><link rel="shortcut icon" href="/assets/favicon.ico"/><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"/><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"/><link rel="apple-touch-icon" sizes="57x57" href="/assets/apple-touch-icon-57x57.png"/><link rel="apple-touch-icon" sizes="60x60" href="/assets/apple-touch-icon-60x60.png"/><link rel="apple-touch-icon" sizes="72x72" href="/assets/apple-touch-icon-72x72.png"/><link rel="apple-touch-icon" sizes="76x76" href="/assets/apple-touch-icon-76x76.png"/><link rel="apple-touch-icon" sizes="114x114" href="/assets/apple-touch-icon-114x114.png"/><link rel="apple-touch-icon" sizes="120x120" href="/assets/apple-touch-icon-120x120.png"/><link rel="apple-touch-icon" sizes="144x144" href="/assets/apple-touch-icon-144x144.png"/><link rel="apple-touch-icon" sizes="152x152" href="/assets/apple-touch-icon-152x152.png"/><link rel="apple-touch-icon" sizes="167x167" href="/assets/apple-touch-icon-167x167.png"/><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon-180x180.png"/><link rel="apple-touch-icon" sizes="1024x1024" href="/assets/apple-touch-icon-1024x1024.png"/><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)" href="/assets/apple-touch-startup-image-320x460.png"/><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)" href="/assets/apple-touch-startup-image-640x920.png"/><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" href="/assets/apple-touch-startup-image-640x1096.png"/><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" href="/assets/apple-touch-startup-image-750x1294.png"/><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3)" href="/assets/apple-touch-startup-image-1182x2208.png"/><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3)" href="/assets/apple-touch-startup-image-1242x2148.png"/><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)" href="/assets/apple-touch-startup-image-748x1024.png"/><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)" href="/assets/apple-touch-startup-image-768x1004.png"/><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)" href="/assets/apple-touch-startup-image-1496x2048.png"/><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" href="/assets/apple-touch-startup-image-1536x2008.png"/><link rel="icon" type="image/png" sizes="228x228" href="/assets/coast-228x228.png"/><link rel="yandex-tableau-widget" href="/assets/yandex-browser-manifest.json"/><script rel="preload" as="script" src="/app-config.js"></script><script rel="preload" as="script" type="module" src="/init-service-worker.js"></script><title>OHIF Viewer</title><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/><link href="https://fonts.googleapis.com/css?family=Inter:100,300,400,500,700&display=swap" rel="stylesheet" rel="preload" as="style"/><script defer="defer" src="/app.bundle.
|
|
2
|
+
window.PUBLIC_URL = '/';</script><link rel="manifest" href="/manifest.json"/><link rel="shortcut icon" href="/assets/favicon.ico"/><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"/><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"/><link rel="apple-touch-icon" sizes="57x57" href="/assets/apple-touch-icon-57x57.png"/><link rel="apple-touch-icon" sizes="60x60" href="/assets/apple-touch-icon-60x60.png"/><link rel="apple-touch-icon" sizes="72x72" href="/assets/apple-touch-icon-72x72.png"/><link rel="apple-touch-icon" sizes="76x76" href="/assets/apple-touch-icon-76x76.png"/><link rel="apple-touch-icon" sizes="114x114" href="/assets/apple-touch-icon-114x114.png"/><link rel="apple-touch-icon" sizes="120x120" href="/assets/apple-touch-icon-120x120.png"/><link rel="apple-touch-icon" sizes="144x144" href="/assets/apple-touch-icon-144x144.png"/><link rel="apple-touch-icon" sizes="152x152" href="/assets/apple-touch-icon-152x152.png"/><link rel="apple-touch-icon" sizes="167x167" href="/assets/apple-touch-icon-167x167.png"/><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon-180x180.png"/><link rel="apple-touch-icon" sizes="1024x1024" href="/assets/apple-touch-icon-1024x1024.png"/><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)" href="/assets/apple-touch-startup-image-320x460.png"/><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)" href="/assets/apple-touch-startup-image-640x920.png"/><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" href="/assets/apple-touch-startup-image-640x1096.png"/><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" href="/assets/apple-touch-startup-image-750x1294.png"/><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3)" href="/assets/apple-touch-startup-image-1182x2208.png"/><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3)" href="/assets/apple-touch-startup-image-1242x2148.png"/><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)" href="/assets/apple-touch-startup-image-748x1024.png"/><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)" href="/assets/apple-touch-startup-image-768x1004.png"/><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)" href="/assets/apple-touch-startup-image-1496x2048.png"/><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" href="/assets/apple-touch-startup-image-1536x2008.png"/><link rel="icon" type="image/png" sizes="228x228" href="/assets/coast-228x228.png"/><link rel="yandex-tableau-widget" href="/assets/yandex-browser-manifest.json"/><script rel="preload" as="script" src="/app-config.js"></script><script rel="preload" as="script" type="module" src="/init-service-worker.js"></script><title>OHIF Viewer</title><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/><link href="https://fonts.googleapis.com/css?family=Inter:100,300,400,500,700&display=swap" rel="stylesheet" rel="preload" as="style"/><script defer="defer" src="/app.bundle.9b809a873945286927f8.js"></script><link href="/app.bundle.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
package/dist/sw.js
CHANGED
|
@@ -51,7 +51,7 @@ self.addEventListener('message', event => {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
-
workbox.precaching.precacheAndRoute([{'revision':null,'url':'/12.bundle.
|
|
54
|
+
workbox.precaching.precacheAndRoute([{'revision':null,'url':'/12.bundle.e08c9a68c3ae74534732.js'},{'revision':null,'url':'/125.bundle.253395f320b72180da63.js'},{'revision':null,'url':'/126.bundle.c854bff61991fc4a231c.js'},{'revision':null,'url':'/181.bundle.bce8ecb8af857b2513df.js'},{'revision':'8079c6447e119ba0680e8fab5875745d','url':'/181.css'},{'revision':null,'url':'/19.bundle.f2a23496a6ed93dac62d.js'},{'revision':'51b8ed55f5b8d448837222f03bdd6de8','url':'/19.css'},{'revision':null,'url':'/202.bundle.ec714227032b22d4fa24.js'},{'revision':null,'url':'/220.bundle.f7e1c96c94245e70f2be.js'},{'revision':null,'url':'/221.bundle.0ebccc22f886d1ed1c5a.js'},{'revision':'aa1d1f3e32367e42fe90399144d94577','url':'/221.css'},{'revision':null,'url':'/23.bundle.e008ad788170f2ed5569.js'},{'revision':null,'url':'/231.bundle.8aad229e39e23731d6c1.js'},{'revision':null,'url':'/236.bundle.440bdc142f1470565e28.js'},{'revision':null,'url':'/250.bundle.3f9fbb8ea16d267d6405.js'},{'revision':'0afb25509c7f072fbd7eda42c6895dbf','url':'/250.css'},{'revision':null,'url':'/281.bundle.81b3962b3e7150734f8a.js'},{'revision':null,'url':'/359.bundle.1283413fe124f598e84d.js'},{'revision':'c4ea120c6da08aa75348edfa3e57ece9','url':'/36785fbd89b0e17f6099.wasm'},{'revision':null,'url':'/410.bundle.829305f030d3675ad5ac.js'},{'revision':null,'url':'/417.bundle.af0a207c29b109f84159.js'},{'revision':null,'url':'/43.bundle.785b5eef341a551445d6.js'},{'revision':null,'url':'/451.bundle.57c21db5d003c75e9d61.js'},{'revision':null,'url':'/471.bundle.49c8d281adbae4a2c4df.js'},{'revision':null,'url':'/485.bundle.8667a696ac2eaf99e4fa.js'},{'revision':'c377e1f5fe4a207d270c3f7a8dd3e3ca','url':'/5004fdc02f329ce53b69.wasm'},{'revision':null,'url':'/506.bundle.6eeb56e9caff8f30bb14.js'},{'revision':null,'url':'/530.bundle.a03b6f942ace3e1baa1e.js'},{'revision':null,'url':'/563.bundle.85b99569bb9525fd0858.js'},{'revision':null,'url':'/575.bundle.aa80b87d36cb65acf2f8.js'},{'revision':'185e5e0a10fa6ab2fc7b3c38e63d550b','url':'/575.css'},{'revision':'51b8ed55f5b8d448837222f03bdd6de8','url':'/579.css'},{'revision':null,'url':'/604.bundle.a51f83e64004bca5f497.js'},{'revision':'62b4ae8445d191d5aab5503ce475724d','url':'/610.min.worker.js'},{'revision':'3c2206525c18cd87dd28082949a4e43e','url':'/610.min.worker.js.map'},{'revision':null,'url':'/613.bundle.5b4451fe75f6ae1b654e.js'},{'revision':'5800265b6831396572fb5d32c6bd8eef','url':'/62ab5d58a2bea7b5a1dc.wasm'},{'revision':'ce10eced3ce34e663d86569b27f5bffb','url':'/65916ef3def695744bda.wasm'},{'revision':null,'url':'/663.bundle.dd3722f4d5a35738b322.js'},{'revision':null,'url':'/686.bundle.dccef1f36e4bc79bcc48.js'},{'revision':null,'url':'/687.bundle.dc5b172f08c41d6dfb83.js'},{'revision':'cf3e4d4fa8884275461c195421812256','url':'/75788f12450d4c5ed494.wasm'},{'revision':'cc4a3a4da4ac1b863a714f93c66c6ef2','url':'/75a0c2dfe07b824c7d21.wasm'},{'revision':null,'url':'/775.bundle.2285e7e0e67878948c0d.js'},{'revision':null,'url':'/788.bundle.fdd78af8c874111a96fd.js'},{'revision':null,'url':'/814.bundle.8d03783d90040e3a81cd.js'},{'revision':null,'url':'/82.bundle.122d1b58bc3e22439dd9.js'},{'revision':null,'url':'/822.bundle.4f0424bd1dc0308bb489.js'},{'revision':null,'url':'/886.bundle.c8dd3ecc42a4253de278.js'},{'revision':null,'url':'/933.bundle.6184b84edf14c687b936.js'},{'revision':'74c9647440e51f149ad12923d6ead952','url':'/945.min.worker.js'},{'revision':'cdf6f0457d4af2cef04fc41816241bc1','url':'/945.min.worker.js.map'},{'revision':'d1895aa7a4595dc279c382e5a31ef9f4','url':'/_headers'},{'revision':'e3bf0f3e9c34f51ad59836ae8e8eaf43','url':'/_redirects'},{'revision':'41bb4b36a914c2db5c383a627162b3da','url':'/app-config.js'},{'revision':null,'url':'/app.bundle.9b809a873945286927f8.js'},{'revision':'4d46bdc9a3d136c920e959eb85b0f5f7','url':'/app.bundle.css'},{'revision':'cb4f64534cdf8dd88f1d7219d44490db','url':'/assets/android-chrome-144x144.png'},{'revision':'5cde390de8a619ebe55a669d2ac3effd','url':'/assets/android-chrome-192x192.png'},{'revision':'e7466a67e90471de05401e53b8fe20be','url':'/assets/android-chrome-256x256.png'},{'revision':'9bbe9b80156e930d19a4e1725aa9ddae','url':'/assets/android-chrome-36x36.png'},{'revision':'5698b2ac0c82fe06d84521fc5482df04','url':'/assets/android-chrome-384x384.png'},{'revision':'56bef3fceec344d9747f8abe9c0bba27','url':'/assets/android-chrome-48x48.png'},{'revision':'3e8b8a01290992e82c242557417b0596','url':'/assets/android-chrome-512x512.png'},{'revision':'517925e91e2ce724432d296b687d25e2','url':'/assets/android-chrome-72x72.png'},{'revision':'4c3289bc690f8519012686888e08da71','url':'/assets/android-chrome-96x96.png'},{'revision':'cf464289183184df09292f581df0fb4f','url':'/assets/apple-touch-icon-1024x1024.png'},{'revision':'0857c5282c594e4900e8b31e3bade912','url':'/assets/apple-touch-icon-114x114.png'},{'revision':'4208f41a28130a67e9392a9dfcee6011','url':'/assets/apple-touch-icon-120x120.png'},{'revision':'cb4f64534cdf8dd88f1d7219d44490db','url':'/assets/apple-touch-icon-144x144.png'},{'revision':'977d293982af7e9064ba20806b45cf35','url':'/assets/apple-touch-icon-152x152.png'},{'revision':'6de91b4d2a30600b410758405cb567b4','url':'/assets/apple-touch-icon-167x167.png'},{'revision':'87bff140e3773bd7479a620501c4aa5c','url':'/assets/apple-touch-icon-180x180.png'},{'revision':'647386c34e75f1213830ea9a38913525','url':'/assets/apple-touch-icon-57x57.png'},{'revision':'0c200fe83953738b330ea431083e7a86','url':'/assets/apple-touch-icon-60x60.png'},{'revision':'517925e91e2ce724432d296b687d25e2','url':'/assets/apple-touch-icon-72x72.png'},{'revision':'c9989a807bb18633f6dcf254b5b56124','url':'/assets/apple-touch-icon-76x76.png'},{'revision':'87bff140e3773bd7479a620501c4aa5c','url':'/assets/apple-touch-icon-precomposed.png'},{'revision':'87bff140e3773bd7479a620501c4aa5c','url':'/assets/apple-touch-icon.png'},{'revision':'05fa74ea9c1c0c3931ba96467999081d','url':'/assets/apple-touch-startup-image-1182x2208.png'},{'revision':'9e2cd03e1e6fd0520eea6846f4278018','url':'/assets/apple-touch-startup-image-1242x2148.png'},{'revision':'5591e3a1822cbc8439b99c1a40d53425','url':'/assets/apple-touch-startup-image-1496x2048.png'},{'revision':'337de578c5ca04bd7d2be19d24d83821','url':'/assets/apple-touch-startup-image-1536x2008.png'},{'revision':'cafb4ab4eafe6ef946bd229a1d88e7de','url':'/assets/apple-touch-startup-image-320x460.png'},{'revision':'d9bb9e558d729eeac5efb8be8d6111cc','url':'/assets/apple-touch-startup-image-640x1096.png'},{'revision':'038b5b02bac8b82444bf9a87602ac216','url':'/assets/apple-touch-startup-image-640x920.png'},{'revision':'2177076eb07b1d64d663d7c03268be00','url':'/assets/apple-touch-startup-image-748x1024.png'},{'revision':'4fc097443815fe92503584c4bd73c630','url':'/assets/apple-touch-startup-image-750x1294.png'},{'revision':'2e29914062dce5c5141ab47eea2fc5d9','url':'/assets/apple-touch-startup-image-768x1004.png'},{'revision':'f692ec286b3a332c17985f4ed38b1076','url':'/assets/browserconfig.xml'},{'revision':'f3d9a3b647853c45b0e132e4acd0cc4a','url':'/assets/coast-228x228.png'},{'revision':'ad6e1def5c66193d649a31474bbfe45d','url':'/assets/favicon-16x16.png'},{'revision':'84d1dcdb6cdfa55e2f46be0c80fa5698','url':'/assets/favicon-32x32.png'},{'revision':'95fb44c4998a46109e49d724c060db24','url':'/assets/favicon.ico'},{'revision':'5df2a5b0cee399ac0bc40af74ba3c2cb','url':'/assets/firefox_app_128x128.png'},{'revision':'11fd9098c4b07c8a07e1d2a1e309e046','url':'/assets/firefox_app_512x512.png'},{'revision':'27cddfc922dca3bfa27b4a00fc2f5e36','url':'/assets/firefox_app_60x60.png'},{'revision':'2017d95fae79dcf34b5a5b52586d4763','url':'/assets/manifest.webapp'},{'revision':'cb4f64534cdf8dd88f1d7219d44490db','url':'/assets/mstile-144x144.png'},{'revision':'334895225e16a7777e45d81964725a97','url':'/assets/mstile-150x150.png'},{'revision':'e295cca4af6ed0365cf7b014d91b0e9d','url':'/assets/mstile-310x150.png'},{'revision':'cbefa8c42250e5f2443819fe2c69d91e','url':'/assets/mstile-310x310.png'},{'revision':'aa411a69df2b33a1362fa38d1257fa9d','url':'/assets/mstile-70x70.png'},{'revision':'5609af4f69e40e33471aee770ea1d802','url':'/assets/yandex-browser-50x50.png'},{'revision':'dd001f21b3970d5a7f3e245cc10d21df','url':'/assets/yandex-browser-manifest.json'},{'revision':'52b9a07fe0541fe8c313d9788550bf51','url':'/b6b803111e2d06a825bd.wasm'},{'revision':'7edb59d2be7c993050cb31ded36afa31','url':'/c22b37c3488e1d6c3aa4.wasm'},{'revision':'fc2da6ec5d17fa844b0a9d67a8b39b21','url':'/cornerstoneDICOMImageLoader.min.js'},{'revision':'59eb3dc6754e4d494b27c774ba53255c','url':'/cornerstoneDICOMImageLoader.min.js.map'},{'revision':null,'url':'/dicom-microscopy-viewer.bundle.2c146384eb9466d02ff8.js'},{'revision':'9d8c85b42d04bb117a3b583d654fbb08','url':'/dicomMicroscopyViewer.min.js'},{'revision':'450494c199cf8dd8e8c34d5e98bf5334','url':'/dicomMicroscopyViewer.min.js.LICENSE.txt'},{'revision':'4acdd19a35d759ec2669f1ba9490937d','url':'/es6-shim.min.js'},{'revision':'791565db341e8852807303918f5f9939','url':'/google.js'},{'revision':'2e2ebd54cbdac0af6fb8616f67393d9c','url':'/index.html'},{'revision':'feee2d4ed9d00c64f0e4d6a46608fecf','url':'/index.worker.e62ecca63f1a2e124230.worker.js'},{'revision':'beaf37c564436e46bbcd825f0330cdbf','url':'/index.worker.e62ecca63f1a2e124230.worker.js.map'},{'revision':'71cec55513e051f0778ad89be760c11a','url':'/index.worker.min.worker.js'},{'revision':'fd1116add443fee52a935df926396e0f','url':'/index.worker.min.worker.js.map'},{'revision':'31c0367ca4160b2c6373e905739c5719','url':'/init-service-worker.js'},{'revision':'74fc9658b62903be2048c1f82a22b4d4','url':'/manifest.json'},{'revision':'3fa71aa0af3e34b4ebd9a71eee0f4bdd','url':'/ohif-logo-light.svg'},{'revision':'7e81da785c63e75650101db6c5d7560e','url':'/ohif-logo.svg'},{'revision':'eadf8bf1d85032a029e2c0df4b8938b0','url':'/oidc-client.min.js'},{'revision':'a1aef5311245f5864315443d12246c37','url':'/polyfill.min.js'},{'revision':'b1e488d9955b62bd2858874df11d5223','url':'/silent-refresh.html'}]);
|
|
55
55
|
|
|
56
56
|
// TODO: Cache API
|
|
57
57
|
// https://developers.google.com/web/fundamentals/instant-and-offline/web-storage/cache-api
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohif/app",
|
|
3
|
-
"version": "3.8.0-beta.
|
|
3
|
+
"version": "3.8.0-beta.22",
|
|
4
4
|
"productVersion": "3.4.0",
|
|
5
5
|
"description": "OHIF Viewer",
|
|
6
6
|
"author": "OHIF Contributors",
|
|
@@ -52,22 +52,22 @@
|
|
|
52
52
|
"@cornerstonejs/codec-openjpeg": "^1.2.2",
|
|
53
53
|
"@cornerstonejs/codec-openjph": "^2.4.2",
|
|
54
54
|
"@cornerstonejs/dicom-image-loader": "^1.27.3",
|
|
55
|
-
"@ohif/core": "3.8.0-beta.
|
|
56
|
-
"@ohif/extension-cornerstone": "3.8.0-beta.
|
|
57
|
-
"@ohif/extension-cornerstone-dicom-rt": "3.8.0-beta.
|
|
58
|
-
"@ohif/extension-cornerstone-dicom-seg": "3.8.0-beta.
|
|
59
|
-
"@ohif/extension-cornerstone-dicom-sr": "3.8.0-beta.
|
|
60
|
-
"@ohif/extension-default": "3.8.0-beta.
|
|
61
|
-
"@ohif/extension-dicom-microscopy": "3.8.0-beta.
|
|
62
|
-
"@ohif/extension-dicom-pdf": "3.8.0-beta.
|
|
63
|
-
"@ohif/extension-dicom-video": "3.8.0-beta.
|
|
64
|
-
"@ohif/extension-test": "3.8.0-beta.
|
|
65
|
-
"@ohif/i18n": "3.8.0-beta.
|
|
66
|
-
"@ohif/mode-basic-dev-mode": "3.8.0-beta.
|
|
67
|
-
"@ohif/mode-longitudinal": "3.8.0-beta.
|
|
68
|
-
"@ohif/mode-microscopy": "3.8.0-beta.
|
|
69
|
-
"@ohif/mode-test": "3.8.0-beta.
|
|
70
|
-
"@ohif/ui": "3.8.0-beta.
|
|
55
|
+
"@ohif/core": "3.8.0-beta.22",
|
|
56
|
+
"@ohif/extension-cornerstone": "3.8.0-beta.22",
|
|
57
|
+
"@ohif/extension-cornerstone-dicom-rt": "3.8.0-beta.22",
|
|
58
|
+
"@ohif/extension-cornerstone-dicom-seg": "3.8.0-beta.22",
|
|
59
|
+
"@ohif/extension-cornerstone-dicom-sr": "3.8.0-beta.22",
|
|
60
|
+
"@ohif/extension-default": "3.8.0-beta.22",
|
|
61
|
+
"@ohif/extension-dicom-microscopy": "3.8.0-beta.22",
|
|
62
|
+
"@ohif/extension-dicom-pdf": "3.8.0-beta.22",
|
|
63
|
+
"@ohif/extension-dicom-video": "3.8.0-beta.22",
|
|
64
|
+
"@ohif/extension-test": "3.8.0-beta.22",
|
|
65
|
+
"@ohif/i18n": "3.8.0-beta.22",
|
|
66
|
+
"@ohif/mode-basic-dev-mode": "3.8.0-beta.22",
|
|
67
|
+
"@ohif/mode-longitudinal": "3.8.0-beta.22",
|
|
68
|
+
"@ohif/mode-microscopy": "3.8.0-beta.22",
|
|
69
|
+
"@ohif/mode-test": "3.8.0-beta.22",
|
|
70
|
+
"@ohif/ui": "3.8.0-beta.22",
|
|
71
71
|
"@types/react": "^17.0.38",
|
|
72
72
|
"classnames": "^2.3.2",
|
|
73
73
|
"core-js": "^3.16.1",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|