@ohif/app 3.8.0-beta.39 → 3.8.0-beta.40
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/{738.bundle.1d4070228c07ca2c465d.js → 738.bundle.0e213a835f03bb103c07.js} +6 -4
- package/dist/{app.bundle.462a078e34c4fa6d0f1f.js → app.bundle.3eb6ce1b33e0a2ec73cb.js} +62 -52
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +17 -17
- /package/dist/{12.bundle.4b3110a689ec79192d6a.js → 12.bundle.9e88017f3ddf2beff33e.js} +0 -0
- /package/dist/{170.bundle.8197beb652e1b49504f4.js → 170.bundle.bd6352623584d0fa3a7a.js} +0 -0
- /package/dist/{185.bundle.7977eec2efc72741c93e.js → 185.bundle.f22956063aa61238f9dd.js} +0 -0
- /package/dist/{19.bundle.33fd95908f3b721c5df4.js → 19.bundle.4ba37e03536975e9c77a.js} +0 -0
- /package/dist/{199.bundle.48505ca7325c21027606.js → 199.bundle.fb364c1f691a86502269.js} +0 -0
- /package/dist/{281.bundle.33686de9a8be4084b885.js → 281.bundle.bf3628b634402bb00b8f.js} +0 -0
- /package/dist/{359.bundle.cd6f117669dc171d3594.js → 359.bundle.d94c8ff6581b97eb3362.js} +0 -0
- /package/dist/{410.bundle.fd6217a2341a37c35528.js → 410.bundle.c6bbb779d28413c9d827.js} +0 -0
- /package/dist/{456.bundle.7f302122e9cbc677477b.js → 456.bundle.1ee8b3eddd2e996555a8.js} +0 -0
- /package/dist/{466.bundle.b1d56c6d1e3c69009345.js → 466.bundle.0fd07ba9cd6d097cc9a4.js} +0 -0
- /package/dist/{483.bundle.88dc538b3d8efa30a8ca.js → 483.bundle.3b7bdf36e3fb4f879379.js} +0 -0
- /package/dist/{506.bundle.921cdf8c0ddda93372f0.js → 506.bundle.2313610e171571ede93d.js} +0 -0
- /package/dist/{613.bundle.2e115244ce9f20220265.js → 613.bundle.b927b98afbf4e6a864f2.js} +0 -0
- /package/dist/{687.bundle.8a4bd5f7c8edb909d14a.js → 687.bundle.bbf069720fbdcec4fa6b.js} +0 -0
- /package/dist/{814.bundle.8fab55069b24cc76b791.js → 814.bundle.78a8878abbf22f92443c.js} +0 -0
- /package/dist/{965.bundle.0aac4893d9ef59b9daae.js → 965.bundle.5b28f3053b33d21001f9.js} +0 -0
|
@@ -2475,8 +2475,8 @@ function ViewerHeader({
|
|
|
2475
2475
|
hotkeyDefinitions,
|
|
2476
2476
|
hotkeyDefaults
|
|
2477
2477
|
} = hotkeysManager;
|
|
2478
|
-
const versionNumber = "3.8.0-beta.
|
|
2479
|
-
const commitHash = "
|
|
2478
|
+
const versionNumber = "3.8.0-beta.40";
|
|
2479
|
+
const commitHash = "61bf22c6f80e764bdf5c3b56bb0124a95aa0f793";
|
|
2480
2480
|
const menuOptions = [{
|
|
2481
2481
|
title: t('Header:About'),
|
|
2482
2482
|
icon: 'info',
|
|
@@ -2551,7 +2551,8 @@ const SidePanelWithServices = ({
|
|
|
2551
2551
|
side,
|
|
2552
2552
|
className,
|
|
2553
2553
|
activeTabIndex: activeTabIndexProp,
|
|
2554
|
-
tabs
|
|
2554
|
+
tabs,
|
|
2555
|
+
expandedWidth
|
|
2555
2556
|
}) => {
|
|
2556
2557
|
const panelService = servicesManager?.services?.panelService;
|
|
2557
2558
|
|
|
@@ -2581,7 +2582,8 @@ const SidePanelWithServices = ({
|
|
|
2581
2582
|
tabs: tabs,
|
|
2582
2583
|
onOpen: () => {
|
|
2583
2584
|
setHasBeenOpened(true);
|
|
2584
|
-
}
|
|
2585
|
+
},
|
|
2586
|
+
expandedWidth: expandedWidth
|
|
2585
2587
|
});
|
|
2586
2588
|
};
|
|
2587
2589
|
/* harmony default export */ const Components_SidePanelWithServices = (SidePanelWithServices);
|
|
@@ -987,8 +987,8 @@ function WorkList({
|
|
|
987
987
|
};
|
|
988
988
|
});
|
|
989
989
|
const hasStudies = numOfStudies > 0;
|
|
990
|
-
const versionNumber = "3.8.0-beta.
|
|
991
|
-
const commitHash = "
|
|
990
|
+
const versionNumber = "3.8.0-beta.40";
|
|
991
|
+
const commitHash = "61bf22c6f80e764bdf5c3b56bb0124a95aa0f793";
|
|
992
992
|
const menuOptions = [{
|
|
993
993
|
title: t('Header:About'),
|
|
994
994
|
icon: 'info',
|
|
@@ -6429,7 +6429,7 @@ const detectionOptions = {
|
|
|
6429
6429
|
}
|
|
6430
6430
|
});
|
|
6431
6431
|
;// CONCATENATED MODULE: ../../i18n/package.json
|
|
6432
|
-
const package_namespaceObject = JSON.parse('{"i8":"3.8.0-beta.
|
|
6432
|
+
const package_namespaceObject = JSON.parse('{"i8":"3.8.0-beta.39"}');
|
|
6433
6433
|
;// CONCATENATED MODULE: ../../i18n/src/utils.js
|
|
6434
6434
|
const languagesMap = {
|
|
6435
6435
|
ar: 'Arabic',
|
|
@@ -32283,41 +32283,12 @@ SegmentationGroupTable.defaultProps = {
|
|
|
32283
32283
|
|
|
32284
32284
|
|
|
32285
32285
|
|
|
32286
|
+
|
|
32286
32287
|
const borderSize = 4;
|
|
32287
|
-
const expandedWidth = 248;
|
|
32288
32288
|
const collapsedWidth = 25;
|
|
32289
32289
|
const closeIconWidth = 30;
|
|
32290
32290
|
const gridHorizontalPadding = 10;
|
|
32291
32291
|
const tabSpacerWidth = 2;
|
|
32292
|
-
const gridAvailableWidth = expandedWidth - closeIconWidth - gridHorizontalPadding;
|
|
32293
|
-
const baseStyle = {
|
|
32294
|
-
maxWidth: `${expandedWidth}px`,
|
|
32295
|
-
width: `${expandedWidth}px`,
|
|
32296
|
-
// To align the top of the side panel with the top of the viewport grid, use position relative and offset the
|
|
32297
|
-
// top by the same top offset as the viewport grid. Also adjust the height so that there is no overflow.
|
|
32298
|
-
position: 'relative',
|
|
32299
|
-
top: '0.2%',
|
|
32300
|
-
height: '99.8%'
|
|
32301
|
-
};
|
|
32302
|
-
const collapsedHideWidth = expandedWidth - collapsedWidth - borderSize;
|
|
32303
|
-
const styleMap = {
|
|
32304
|
-
open: {
|
|
32305
|
-
left: {
|
|
32306
|
-
marginLeft: '0px'
|
|
32307
|
-
},
|
|
32308
|
-
right: {
|
|
32309
|
-
marginRight: '0px'
|
|
32310
|
-
}
|
|
32311
|
-
},
|
|
32312
|
-
closed: {
|
|
32313
|
-
left: {
|
|
32314
|
-
marginLeft: `-${collapsedHideWidth}px`
|
|
32315
|
-
},
|
|
32316
|
-
right: {
|
|
32317
|
-
marginRight: `-${collapsedHideWidth}px`
|
|
32318
|
-
}
|
|
32319
|
-
}
|
|
32320
|
-
};
|
|
32321
32292
|
const SidePanel_baseClasses = 'transition-all duration-300 ease-in-out bg-black border-black justify-start box-content flex flex-col';
|
|
32322
32293
|
const classesMap = {
|
|
32323
32294
|
open: {
|
|
@@ -32340,7 +32311,7 @@ const getTabWidth = numTabs => {
|
|
|
32340
32311
|
return 40;
|
|
32341
32312
|
}
|
|
32342
32313
|
};
|
|
32343
|
-
const getGridWidth = numTabs => {
|
|
32314
|
+
const getGridWidth = (numTabs, gridAvailableWidth) => {
|
|
32344
32315
|
const spacersWidth = (numTabs - 1) * tabSpacerWidth;
|
|
32345
32316
|
const tabsWidth = getTabWidth(numTabs) * numTabs;
|
|
32346
32317
|
if (gridAvailableWidth > tabsWidth + spacersWidth) {
|
|
@@ -32348,14 +32319,13 @@ const getGridWidth = numTabs => {
|
|
|
32348
32319
|
}
|
|
32349
32320
|
return gridAvailableWidth;
|
|
32350
32321
|
};
|
|
32351
|
-
const getNumGridColumns = numTabs => {
|
|
32322
|
+
const getNumGridColumns = (numTabs, gridWidth) => {
|
|
32352
32323
|
if (numTabs === 1) {
|
|
32353
32324
|
return 1;
|
|
32354
32325
|
}
|
|
32355
32326
|
|
|
32356
32327
|
// Start by calculating the number of tabs assuming each tab was accompanied by a spacer.
|
|
32357
32328
|
const tabWidth = getTabWidth(numTabs);
|
|
32358
|
-
const gridWidth = getGridWidth(numTabs);
|
|
32359
32329
|
const numTabsWithOneSpacerEach = Math.floor(gridWidth / (tabWidth + tabSpacerWidth));
|
|
32360
32330
|
|
|
32361
32331
|
// But there is always one less spacer than tabs, so now check if an extra tab with one less spacer fits.
|
|
@@ -32364,8 +32334,7 @@ const getNumGridColumns = numTabs => {
|
|
|
32364
32334
|
}
|
|
32365
32335
|
return numTabsWithOneSpacerEach;
|
|
32366
32336
|
};
|
|
32367
|
-
const getGridStyle = (side, numTabs = 0) => {
|
|
32368
|
-
const gridWidth = getGridWidth(numTabs);
|
|
32337
|
+
const getGridStyle = (side, numTabs = 0, gridWidth, expandedWidth) => {
|
|
32369
32338
|
const relativePosition = Math.max(0, Math.floor(expandedWidth - gridWidth) / 2 - closeIconWidth);
|
|
32370
32339
|
return {
|
|
32371
32340
|
position: 'relative',
|
|
@@ -32393,15 +32362,55 @@ const getTabIconClassNames = (numTabs, isActiveTab) => {
|
|
|
32393
32362
|
rounded: isActiveTab
|
|
32394
32363
|
});
|
|
32395
32364
|
};
|
|
32365
|
+
const createStyleMap = (expandedWidth, borderSize, collapsedWidth) => {
|
|
32366
|
+
const collapsedHideWidth = expandedWidth - collapsedWidth - borderSize;
|
|
32367
|
+
return {
|
|
32368
|
+
open: {
|
|
32369
|
+
left: {
|
|
32370
|
+
marginLeft: '0px'
|
|
32371
|
+
},
|
|
32372
|
+
right: {
|
|
32373
|
+
marginRight: '0px'
|
|
32374
|
+
}
|
|
32375
|
+
},
|
|
32376
|
+
closed: {
|
|
32377
|
+
left: {
|
|
32378
|
+
marginLeft: `-${collapsedHideWidth}px`
|
|
32379
|
+
},
|
|
32380
|
+
right: {
|
|
32381
|
+
marginRight: `-${collapsedHideWidth}px`
|
|
32382
|
+
}
|
|
32383
|
+
}
|
|
32384
|
+
};
|
|
32385
|
+
};
|
|
32386
|
+
const createBaseStyle = expandedWidth => {
|
|
32387
|
+
return {
|
|
32388
|
+
maxWidth: `${expandedWidth}px`,
|
|
32389
|
+
width: `${expandedWidth}px`,
|
|
32390
|
+
// To align the top of the side panel with the top of the viewport grid, use position relative and offset the
|
|
32391
|
+
// top by the same top offset as the viewport grid. Also adjust the height so that there is no overflow.
|
|
32392
|
+
position: 'relative',
|
|
32393
|
+
top: '0.2%',
|
|
32394
|
+
height: '99.8%'
|
|
32395
|
+
};
|
|
32396
|
+
};
|
|
32396
32397
|
const SidePanel = ({
|
|
32397
32398
|
side,
|
|
32398
32399
|
className,
|
|
32399
32400
|
activeTabIndex: activeTabIndexProp,
|
|
32400
32401
|
tabs,
|
|
32401
|
-
onOpen
|
|
32402
|
+
onOpen,
|
|
32403
|
+
expandedWidth = 248
|
|
32402
32404
|
}) => {
|
|
32405
|
+
const {
|
|
32406
|
+
t
|
|
32407
|
+
} = (0,es/* useTranslation */.$G)('SidePanel');
|
|
32403
32408
|
const [panelOpen, setPanelOpen] = (0,react.useState)(activeTabIndexProp !== null);
|
|
32404
32409
|
const [activeTabIndex, setActiveTabIndex] = (0,react.useState)(0);
|
|
32410
|
+
const styleMap = createStyleMap(expandedWidth, borderSize, collapsedWidth);
|
|
32411
|
+
const baseStyle = createBaseStyle(expandedWidth);
|
|
32412
|
+
const gridAvailableWidth = expandedWidth - closeIconWidth - gridHorizontalPadding;
|
|
32413
|
+
const gridWidth = getGridWidth(tabs.length, gridAvailableWidth);
|
|
32405
32414
|
const openStatus = panelOpen ? 'open' : 'closed';
|
|
32406
32415
|
const style = Object.assign({}, styleMap[openStatus][side], baseStyle);
|
|
32407
32416
|
const ActiveComponent = tabs[activeTabIndex]?.content;
|
|
@@ -32472,12 +32481,12 @@ const SidePanel = ({
|
|
|
32472
32481
|
}));
|
|
32473
32482
|
};
|
|
32474
32483
|
const getTabGridComponent = () => {
|
|
32475
|
-
const numCols = getNumGridColumns(tabs.length);
|
|
32484
|
+
const numCols = getNumGridColumns(tabs.length, gridWidth);
|
|
32476
32485
|
return /*#__PURE__*/react.createElement("div", {
|
|
32477
32486
|
className: classnames_default()('flex grow ', side === 'right' ? 'justify-start' : 'justify-end')
|
|
32478
32487
|
}, /*#__PURE__*/react.createElement("div", {
|
|
32479
32488
|
className: classnames_default()('bg-primary-dark text-primary-active flex flex-wrap'),
|
|
32480
|
-
style: getGridStyle(side, tabs.length)
|
|
32489
|
+
style: getGridStyle(side, tabs.length, gridWidth, expandedWidth)
|
|
32481
32490
|
}, tabs.map((tab, tabIndex) => {
|
|
32482
32491
|
return /*#__PURE__*/react.createElement(react.Fragment, {
|
|
32483
32492
|
key: tabIndex
|
|
@@ -32544,7 +32553,8 @@ SidePanel.propTypes = {
|
|
|
32544
32553
|
label: (prop_types_default()).string.isRequired,
|
|
32545
32554
|
content: (prop_types_default()).func // TODO: Should be node, but it keeps complaining?
|
|
32546
32555
|
}))]),
|
|
32547
|
-
onOpen: (prop_types_default()).func
|
|
32556
|
+
onOpen: (prop_types_default()).func,
|
|
32557
|
+
expandedWidth: (prop_types_default()).number
|
|
32548
32558
|
};
|
|
32549
32559
|
/* harmony default export */ const SidePanel_SidePanel = (SidePanel);
|
|
32550
32560
|
;// CONCATENATED MODULE: ../../ui/src/components/SidePanel/index.js
|
|
@@ -48945,14 +48955,14 @@ SwiperSlide.displayName = 'SwiperSlide';
|
|
|
48945
48955
|
|
|
48946
48956
|
|
|
48947
48957
|
const LegacySidePanel_borderSize = 4;
|
|
48948
|
-
const
|
|
48958
|
+
const expandedWidth = 248;
|
|
48949
48959
|
const LegacySidePanel_collapsedWidth = 25;
|
|
48950
|
-
const
|
|
48951
|
-
maxWidth: `${
|
|
48952
|
-
width: `${
|
|
48960
|
+
const baseStyle = {
|
|
48961
|
+
maxWidth: `${expandedWidth}px`,
|
|
48962
|
+
width: `${expandedWidth}px`
|
|
48953
48963
|
};
|
|
48954
|
-
const
|
|
48955
|
-
const
|
|
48964
|
+
const collapsedHideWidth = expandedWidth - LegacySidePanel_collapsedWidth - LegacySidePanel_borderSize;
|
|
48965
|
+
const styleMap = {
|
|
48956
48966
|
open: {
|
|
48957
48967
|
left: {
|
|
48958
48968
|
marginLeft: '0px'
|
|
@@ -48963,10 +48973,10 @@ const LegacySidePanel_styleMap = {
|
|
|
48963
48973
|
},
|
|
48964
48974
|
closed: {
|
|
48965
48975
|
left: {
|
|
48966
|
-
marginLeft: `-${
|
|
48976
|
+
marginLeft: `-${collapsedHideWidth}px`
|
|
48967
48977
|
},
|
|
48968
48978
|
right: {
|
|
48969
|
-
marginRight: `-${
|
|
48979
|
+
marginRight: `-${collapsedHideWidth}px`
|
|
48970
48980
|
}
|
|
48971
48981
|
}
|
|
48972
48982
|
};
|
|
@@ -49015,7 +49025,7 @@ const LegacySidePanel_LegacySidePanel = ({
|
|
|
49015
49025
|
const prevRef = react.useRef();
|
|
49016
49026
|
const nextRef = react.useRef();
|
|
49017
49027
|
const openStatus = panelOpen ? 'open' : 'closed';
|
|
49018
|
-
const style = Object.assign({},
|
|
49028
|
+
const style = Object.assign({}, styleMap[openStatus][side], baseStyle);
|
|
49019
49029
|
const ActiveComponent = tabs[activeTabIndex].content;
|
|
49020
49030
|
(0,react.useEffect)(() => {
|
|
49021
49031
|
if (panelOpen && swiper) {
|
|
@@ -282598,7 +282608,7 @@ var selectOrdinal = function selectOrdinal() {
|
|
|
282598
282608
|
/******/ // This function allow to reference async chunks
|
|
282599
282609
|
/******/ __webpack_require__.u = (chunkId) => {
|
|
282600
282610
|
/******/ // return url for filenames based on template
|
|
282601
|
-
/******/ return "" + (chunkId === 18 ? "dicom-microscopy-viewer" : chunkId) + ".bundle." + {"12":"
|
|
282611
|
+
/******/ return "" + (chunkId === 18 ? "dicom-microscopy-viewer" : chunkId) + ".bundle." + {"12":"9e88017f3ddf2beff33e","18":"a7d5060eead13771e784","19":"4ba37e03536975e9c77a","23":"9d989522a6e4fdcb9c72","95":"830304446bffa705883c","125":"df666cb677e5a8982157","170":"bd6352623584d0fa3a7a","181":"d2fe517852935b82368b","185":"f22956063aa61238f9dd","199":"fb364c1f691a86502269","202":"0ca2f2479d2578f539b0","223":"d4ac6ef2cfe47a9c4afc","250":"ba94ff371388e395cd05","281":"bf3628b634402bb00b8f","359":"d94c8ff6581b97eb3362","410":"c6bbb779d28413c9d827","417":"5c66801d23d0e98c00e6","451":"68a551a7d1746cf904cb","456":"1ee8b3eddd2e996555a8","466":"0fd07ba9cd6d097cc9a4","471":"5809b10f75c8fc2f7167","483":"3b7bdf36e3fb4f879379","485":"5b6c33cc43d8f3470642","506":"2313610e171571ede93d","530":"f904325ef4195d69ac0e","579":"8c45043bf461a6808b54","613":"b927b98afbf4e6a864f2","661":"949c984fe2f9f753b65c","686":"62c827fe4f0d054c164e","687":"bbf069720fbdcec4fa6b","738":"0e213a835f03bb103c07","814":"78a8878abbf22f92443c","822":"f5ae3f366ce742fb060a","886":"4496fc7fb83b8c897d20","965":"5b28f3053b33d21001f9"}[chunkId] + ".js";
|
|
282602
282612
|
/******/ };
|
|
282603
282613
|
/******/ })();
|
|
282604
282614
|
/******/
|
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.3eb6ce1b33e0a2ec73cb.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.9e88017f3ddf2beff33e.js'},{'revision':null,'url':'/125.bundle.df666cb677e5a8982157.js'},{'revision':null,'url':'/170.bundle.bd6352623584d0fa3a7a.js'},{'revision':null,'url':'/181.bundle.d2fe517852935b82368b.js'},{'revision':'a04a2f233dc569826f5f6e21b65bc87b','url':'/181.css'},{'revision':null,'url':'/185.bundle.f22956063aa61238f9dd.js'},{'revision':null,'url':'/19.bundle.4ba37e03536975e9c77a.js'},{'revision':'51b8ed55f5b8d448837222f03bdd6de8','url':'/19.css'},{'revision':null,'url':'/199.bundle.fb364c1f691a86502269.js'},{'revision':null,'url':'/202.bundle.0ca2f2479d2578f539b0.js'},{'revision':'d32549aa3716d55d525e59e31e2f6591','url':'/20fc4c659b85ccd2a9c0.wasm'},{'revision':null,'url':'/223.bundle.d4ac6ef2cfe47a9c4afc.js'},{'revision':null,'url':'/23.bundle.9d989522a6e4fdcb9c72.js'},{'revision':null,'url':'/250.bundle.ba94ff371388e395cd05.js'},{'revision':'0afb25509c7f072fbd7eda42c6895dbf','url':'/250.css'},{'revision':null,'url':'/281.bundle.bf3628b634402bb00b8f.js'},{'revision':null,'url':'/359.bundle.d94c8ff6581b97eb3362.js'},{'revision':'c4ea120c6da08aa75348edfa3e57ece9','url':'/36785fbd89b0e17f6099.wasm'},{'revision':null,'url':'/410.bundle.c6bbb779d28413c9d827.js'},{'revision':null,'url':'/417.bundle.5c66801d23d0e98c00e6.js'},{'revision':null,'url':'/451.bundle.68a551a7d1746cf904cb.js'},{'revision':null,'url':'/456.bundle.1ee8b3eddd2e996555a8.js'},{'revision':'185e5e0a10fa6ab2fc7b3c38e63d550b','url':'/456.css'},{'revision':null,'url':'/466.bundle.0fd07ba9cd6d097cc9a4.js'},{'revision':'aa1d1f3e32367e42fe90399144d94577','url':'/466.css'},{'revision':null,'url':'/471.bundle.5809b10f75c8fc2f7167.js'},{'revision':null,'url':'/483.bundle.3b7bdf36e3fb4f879379.js'},{'revision':null,'url':'/485.bundle.5b6c33cc43d8f3470642.js'},{'revision':'c377e1f5fe4a207d270c3f7a8dd3e3ca','url':'/5004fdc02f329ce53b69.wasm'},{'revision':null,'url':'/506.bundle.2313610e171571ede93d.js'},{'revision':null,'url':'/530.bundle.f904325ef4195d69ac0e.js'},{'revision':'51b8ed55f5b8d448837222f03bdd6de8','url':'/579.css'},{'revision':'62b4ae8445d191d5aab5503ce475724d','url':'/610.min.worker.js'},{'revision':'3c2206525c18cd87dd28082949a4e43e','url':'/610.min.worker.js.map'},{'revision':null,'url':'/613.bundle.b927b98afbf4e6a864f2.js'},{'revision':'5800265b6831396572fb5d32c6bd8eef','url':'/62ab5d58a2bea7b5a1dc.wasm'},{'revision':'ce10eced3ce34e663d86569b27f5bffb','url':'/65916ef3def695744bda.wasm'},{'revision':null,'url':'/661.bundle.949c984fe2f9f753b65c.js'},{'revision':null,'url':'/686.bundle.62c827fe4f0d054c164e.js'},{'revision':null,'url':'/687.bundle.bbf069720fbdcec4fa6b.js'},{'revision':null,'url':'/738.bundle.0e213a835f03bb103c07.js'},{'revision':'cc4a3a4da4ac1b863a714f93c66c6ef2','url':'/75a0c2dfe07b824c7d21.wasm'},{'revision':null,'url':'/814.bundle.78a8878abbf22f92443c.js'},{'revision':null,'url':'/822.bundle.f5ae3f366ce742fb060a.js'},{'revision':null,'url':'/886.bundle.4496fc7fb83b8c897d20.js'},{'revision':'74c9647440e51f149ad12923d6ead952','url':'/945.min.worker.js'},{'revision':'cdf6f0457d4af2cef04fc41816241bc1','url':'/945.min.worker.js.map'},{'revision':null,'url':'/95.bundle.830304446bffa705883c.js'},{'revision':null,'url':'/965.bundle.5b28f3053b33d21001f9.js'},{'revision':'d1895aa7a4595dc279c382e5a31ef9f4','url':'/_headers'},{'revision':'e3bf0f3e9c34f51ad59836ae8e8eaf43','url':'/_redirects'},{'revision':'41bb4b36a914c2db5c383a627162b3da','url':'/app-config.js'},{'revision':null,'url':'/app.bundle.3eb6ce1b33e0a2ec73cb.js'},{'revision':'56a285c8999c3867c6553e714d27dbb5','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':'26545f2fe5a0df854c8f9b8dc7386f31','url':'/cornerstoneDICOMImageLoader.min.js'},{'revision':'884bd58a767459994b9c3c0c1deabb3c','url':'/cornerstoneDICOMImageLoader.min.js.map'},{'revision':null,'url':'/dicom-microscopy-viewer.bundle.a7d5060eead13771e784.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':'8107fe8496d34ab6a6a66cded34b89a1','url':'/index.html'},{'revision':'df70845c6ce2109b2bc2c1bf14bd65a0','url':'/index.worker.64c896c4316fcd506666.worker.js'},{'revision':'143490b997e10b23c1debfa35afeb9e4','url':'/index.worker.64c896c4316fcd506666.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':'af9346d3e597071ba9ee8cd32f8cc0ea','url':'/serve.json'},{'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.40",
|
|
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.5",
|
|
54
54
|
"@cornerstonejs/dicom-image-loader": "^1.40.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.40",
|
|
56
|
+
"@ohif/extension-cornerstone": "3.8.0-beta.40",
|
|
57
|
+
"@ohif/extension-cornerstone-dicom-rt": "3.8.0-beta.40",
|
|
58
|
+
"@ohif/extension-cornerstone-dicom-seg": "3.8.0-beta.40",
|
|
59
|
+
"@ohif/extension-cornerstone-dicom-sr": "3.8.0-beta.40",
|
|
60
|
+
"@ohif/extension-default": "3.8.0-beta.40",
|
|
61
|
+
"@ohif/extension-dicom-microscopy": "3.8.0-beta.40",
|
|
62
|
+
"@ohif/extension-dicom-pdf": "3.8.0-beta.40",
|
|
63
|
+
"@ohif/extension-dicom-video": "3.8.0-beta.40",
|
|
64
|
+
"@ohif/extension-test": "3.8.0-beta.40",
|
|
65
|
+
"@ohif/i18n": "3.8.0-beta.40",
|
|
66
|
+
"@ohif/mode-basic-dev-mode": "3.8.0-beta.40",
|
|
67
|
+
"@ohif/mode-longitudinal": "3.8.0-beta.40",
|
|
68
|
+
"@ohif/mode-microscopy": "3.8.0-beta.40",
|
|
69
|
+
"@ohif/mode-test": "3.8.0-beta.40",
|
|
70
|
+
"@ohif/ui": "3.8.0-beta.40",
|
|
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
|