@ohif/app 3.10.0-beta.2 → 3.10.0-beta.3
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/{1185.bundle.52f04f41c08dc5853aed.js → 1185.bundle.0c1f5d6b97eaa6c05402.js} +24 -10
- package/dist/1266.css +1 -1
- package/dist/{149.bundle.b8d177954628f4631fc0.js → 149.bundle.ce5596fc563276036744.js} +11 -6
- package/dist/{1520.bundle.83586195deb9d61702d9.js → 1520.bundle.7fda82abc2337f3582f6.js} +11 -11
- package/dist/1801.css +1 -1
- package/dist/{1927.bundle.49539e3ab5b0aad1399c.js → 1927.bundle.c08eed6a2faeed833931.js} +1 -1
- package/dist/3198.css +1 -1
- package/dist/{3200.bundle.768571169c3d6e603324.js → 3200.bundle.1064b35d7dea816e05a3.js} +2 -2
- package/dist/3200.css +1 -1
- package/dist/{3677.bundle.7d9110e8c5682b56a456.js → 3677.bundle.b3ac66bea976765cde72.js} +30 -18
- package/dist/{3970.bundle.31942cc0c12a008e7ba0.js → 3970.bundle.5e5da5ca8ecc9e6e9da6.js} +13 -3
- package/dist/4182.css +1 -1
- package/dist/{4571.bundle.3b1691730b3c57bf4d35.js → 4571.bundle.a838b008320a4c3b6d40.js} +30 -18
- package/dist/5139.css +1 -1
- package/dist/{5247.bundle.17495c3d97cf29e44e73.js → 5247.bundle.effe013a3de35baa5644.js} +2 -2
- package/dist/{5252.bundle.5ec502c53a9cc877ed8d.js → 5252.bundle.5149fccf46e44c2d3360.js} +30 -18
- package/dist/{5717.bundle.848e13f256818475f57f.js → 5717.bundle.b6cdb0621b723d783b27.js} +30 -18
- package/dist/{5823.bundle.cb588e5e33eea80cd49f.js → 5823.bundle.c4aac836954d54e38b4e.js} +2 -9
- package/dist/717.css +1 -1
- package/dist/{1436.bundle.773756cd51b69e887bac.js → 8104.bundle.1868b6764911669314f6.js} +5 -37
- package/dist/8228.css +2 -2
- package/dist/{5807.bundle.dac5ce36534a71c77723.js → 967.bundle.fee0d6c1e9e244ad5bb3.js} +1134 -1128
- package/dist/{app.bundle.b81b47f20105288797e2.js → app.bundle.c2da1a49cfc131f7ccf0.js} +7767 -7696
- package/dist/app.bundle.css +18 -18
- package/dist/{histogram-worker.bundle.f0e060cf2637a2ca94b7.js → histogram-worker.bundle.85d57affe3baefc07925.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/{polySeg.bundle.b79ae514989e86301c71.js → polySeg.bundle.c369de6e297794c8b39f.js} +1 -1
- package/dist/{suv-peak-worker.bundle.76dd4fdf82aaa2c3ad41.js → suv-peak-worker.bundle.c1021519ff2c5e30da5c.js} +1 -1
- package/dist/sw.js +1 -1
- package/package.json +18 -18
- /package/dist/{1266.bundle.4f06772fcf6b303d894d.js → 1266.bundle.d1c803a47279614b6a6f.js} +0 -0
- /package/dist/{1374.bundle.e5b05fd7e1295bf06867.js → 1374.bundle.e2449277305e0aeb32f1.js} +0 -0
- /package/dist/{213.bundle.68c723cdf7de1ebb18f2.js → 213.bundle.d72b698bdd173aa12d3d.js} +0 -0
- /package/dist/{2424.bundle.acefd29e9b3948544119.js → 2424.bundle.1a31c9495a9fd87816ff.js} +0 -0
- /package/dist/{2701.bundle.8c1ff2e0faaa7d2f4716.js → 2701.bundle.46f7148916e85e1cf4f4.js} +0 -0
- /package/dist/{2825.bundle.9b280fd4de22a0b2b729.js → 2825.bundle.2185faff8974948d3c85.js} +0 -0
- /package/dist/{3121.bundle.d3e7092e305cf6cecdb5.js → 3121.bundle.67ff7e799683191bb324.js} +0 -0
- /package/dist/{3198.bundle.3b22ad50fb086338b85e.js → 3198.bundle.cbf1999d05a0beaef906.js} +0 -0
- /package/dist/{4202.bundle.5c8120ed4841da0af211.js → 4202.bundle.1311396ecdb6c0b09eb0.js} +0 -0
- /package/dist/{4834.bundle.1deb034b995ef76461a3.js → 4834.bundle.319402ef58cffbb0f0d8.js} +0 -0
- /package/dist/{5139.bundle.61d9101ea220a8382f2b.js → 5139.bundle.ffd6265503d3ea29e800.js} +0 -0
- /package/dist/{5261.bundle.74682659cce85f3ae592.js → 5261.bundle.54d7af66923a3bae707d.js} +0 -0
- /package/dist/{5687.bundle.2665d32af98b253b78fd.js → 5687.bundle.2385524a484505d75f5f.js} +0 -0
- /package/dist/{6939.bundle.9b79da82315a25f37d96.js → 6939.bundle.5e77a634e8784085c00e.js} +0 -0
- /package/dist/{7159.bundle.9f4856182f1eda29c59d.js → 7159.bundle.4ee84ebbce84383e30d4.js} +0 -0
- /package/dist/{717.bundle.ba680e992f721c5d8b4a.js → 717.bundle.938a00cfb9630b00523f.js} +0 -0
- /package/dist/{7197.bundle.c4ff7a71122131167cbb.js → 7197.bundle.f8b218eb9824585ef746.js} +0 -0
- /package/dist/{7955.bundle.dd665937d280f9427909.js → 7955.bundle.999a6156034632032549.js} +0 -0
- /package/dist/{8008.bundle.d24be79eebc455c4512a.js → 8008.bundle.448518f1af4463f5b515.js} +0 -0
- /package/dist/{8228.bundle.55ac03d7165248f47d4e.js → 8228.bundle.0c1f0d650adb9be44119.js} +0 -0
- /package/dist/{8259.bundle.a91eb7639bc72f522c16.js → 8259.bundle.f3134c9e7b61c3aefbc0.js} +0 -0
- /package/dist/{8295.bundle.4ecb27f9e58526f12bcb.js → 8295.bundle.14cddaccdcd3a7093398.js} +0 -0
- /package/dist/{8558.bundle.dfedfd13f3845ea7104a.js → 8558.bundle.d66c3c7f66a10bc1d9ae.js} +0 -0
- /package/dist/{9551.bundle.01a1567f174986f74fcf.js → 9551.bundle.e6f4e862b3811deaeed5.js} +0 -0
- /package/dist/{9611.bundle.767595c93877e5166c03.js → 9611.bundle.adf2bcfdeed6861d736f.js} +0 -0
- /package/dist/{9862.bundle.7146682e56aa66130ae6.js → 9862.bundle.335b4016d36d81d959b5.js} +0 -0
|
@@ -13305,6 +13305,20 @@ class CornerstoneViewportService extends src/* PubSubService */.Rc {
|
|
|
13305
13305
|
* individual resize observers
|
|
13306
13306
|
*/
|
|
13307
13307
|
resize(isGridResize = false) {
|
|
13308
|
+
// https://stackoverflow.com/a/26279685
|
|
13309
|
+
// This resize() call, among other things, rerenders the viewports. But when the entire viewer is
|
|
13310
|
+
// display: none'd, it makes the size of all hidden elements 0, including the viewport canvas and its containers.
|
|
13311
|
+
// Even if the viewer is later displayed again, trying to render when the size is 0 permanently "breaks" the
|
|
13312
|
+
// viewport, making it fully black even after the size is normal again. So just ignore resize events when hidden:
|
|
13313
|
+
const areViewportsHidden = Array.from(this.viewportsById.values()).every(viewportInfo => {
|
|
13314
|
+
const element = viewportInfo.getElement();
|
|
13315
|
+
return element.clientWidth === 0 && element.clientHeight === 0;
|
|
13316
|
+
});
|
|
13317
|
+
if (areViewportsHidden) {
|
|
13318
|
+
console.warn('Ignoring resize when viewports have size 0');
|
|
13319
|
+
return;
|
|
13320
|
+
}
|
|
13321
|
+
|
|
13308
13322
|
// if there is a grid resize happening, it means the viewport grid
|
|
13309
13323
|
// has been manipulated (e.g., panels closed, added, etc.) and we need
|
|
13310
13324
|
// to resize all viewports, so we will add a timeout here to make sure
|
|
@@ -16992,8 +17006,8 @@ const addUniqueIndex = (arr, key, viewports, isUpdatingSameViewport) => {
|
|
|
16992
17006
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16993
17007
|
/* harmony export */ I: () => (/* binding */ useLutPresentationStore)
|
|
16994
17008
|
/* harmony export */ });
|
|
16995
|
-
/* harmony import */ var zustand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
16996
|
-
/* harmony import */ var zustand_middleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
17009
|
+
/* harmony import */ var zustand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78713);
|
|
17010
|
+
/* harmony import */ var zustand_middleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21978);
|
|
16997
17011
|
/* harmony import */ var _presentationUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(46026);
|
|
16998
17012
|
|
|
16999
17013
|
|
|
@@ -17107,8 +17121,8 @@ const useLutPresentationStore = (0,zustand__WEBPACK_IMPORTED_MODULE_0__/* .creat
|
|
|
17107
17121
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17108
17122
|
/* harmony export */ q: () => (/* binding */ usePositionPresentationStore)
|
|
17109
17123
|
/* harmony export */ });
|
|
17110
|
-
/* harmony import */ var zustand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
17111
|
-
/* harmony import */ var zustand_middleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
17124
|
+
/* harmony import */ var zustand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78713);
|
|
17125
|
+
/* harmony import */ var zustand_middleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21978);
|
|
17112
17126
|
/* harmony import */ var _presentationUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(46026);
|
|
17113
17127
|
|
|
17114
17128
|
|
|
@@ -17221,10 +17235,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
17221
17235
|
v: () => (/* binding */ useSegmentationPresentationStore)
|
|
17222
17236
|
});
|
|
17223
17237
|
|
|
17224
|
-
// EXTERNAL MODULE:
|
|
17225
|
-
var esm = __webpack_require__(
|
|
17226
|
-
// EXTERNAL MODULE:
|
|
17227
|
-
var middleware = __webpack_require__(
|
|
17238
|
+
// EXTERNAL MODULE: ../../../node_modules/zustand/esm/index.mjs + 1 modules
|
|
17239
|
+
var esm = __webpack_require__(78713);
|
|
17240
|
+
// EXTERNAL MODULE: ../../../node_modules/zustand/esm/middleware.mjs
|
|
17241
|
+
var middleware = __webpack_require__(21978);
|
|
17228
17242
|
// EXTERNAL MODULE: ../../../extensions/cornerstone/src/stores/presentationUtils.ts
|
|
17229
17243
|
var presentationUtils = __webpack_require__(46026);
|
|
17230
17244
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js
|
|
@@ -17427,8 +17441,8 @@ const useSegmentationPresentationStore = (0,esm/* create */.vt)()(DEBUG_STORE ?
|
|
|
17427
17441
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17428
17442
|
/* harmony export */ U: () => (/* binding */ useSynchronizersStore)
|
|
17429
17443
|
/* harmony export */ });
|
|
17430
|
-
/* harmony import */ var zustand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
17431
|
-
/* harmony import */ var zustand_middleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
17444
|
+
/* harmony import */ var zustand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78713);
|
|
17445
|
+
/* harmony import */ var zustand_middleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21978);
|
|
17432
17446
|
|
|
17433
17447
|
|
|
17434
17448
|
|
package/dist/1266.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
.dicom-tag-browser-table{margin-left:auto;margin-right:auto}.dicom-tag-browser-table-wrapper{overflow-x:scroll}.dicom-tag-browser-table tr{border-top:1px solid #ddd;color:#fff;padding-left:10px;padding-right:10px;white-space:nowrap}.stick{overflow:clip;position:sticky}.dicom-tag-browser-content{overflow:hidden;padding-bottom:50px;width:100%}.dicom-tag-browser-instance-range .range{height:20px}.dicom-tag-browser-instance-range{padding:20px 0}.dicom-tag-browser-table td.dicom-tag-browser-table-center{text-align:center}.dicom-tag-browser-table th{color:"#20A5D6";padding-left:10px;padding-right:10px;text-align:center}.dicom-tag-browser-table th.dicom-tag-browser-table-left{text-align:left}
|
|
2
2
|
.chrome-picker{background:#090c29!important}
|
|
3
3
|
.viewport-overlay{max-width:40%}.viewport-overlay span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewport-overlay.left-viewport{text-align:left}.viewport-overlay.right-viewport-scrollbar{text-align:right}.viewport-overlay.right-viewport-scrollbar .flex.flex-row{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}
|
|
4
|
-
.dicom-upload-drop-area-border-dash{background-image:repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50
|
|
4
|
+
.dicom-upload-drop-area-border-dash{background-image:repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(180deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(180deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000);background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;background-size:20px 3px,20px 3px,3px 20px,3px 20px}
|
|
@@ -8053,12 +8053,14 @@ function _stopClip(element, options = { stopDynamicCine: true, viewportId: undef
|
|
|
8053
8053
|
}
|
|
8054
8054
|
function _stopDynamicVolumeCine(element) {
|
|
8055
8055
|
const { viewport } = (0,dist_esm.getEnabledElement)(element);
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8056
|
+
if (viewport instanceof dist_esm.VolumeViewport) {
|
|
8057
|
+
const volume = _getVolumeFromViewport(viewport);
|
|
8058
|
+
if (volume?.isDynamicVolume()) {
|
|
8059
|
+
const dynamicCineElement = dynamicVolumesPlayingMap.get(volume.volumeId);
|
|
8060
|
+
dynamicVolumesPlayingMap.delete(volume.volumeId);
|
|
8061
|
+
if (dynamicCineElement && dynamicCineElement !== element) {
|
|
8062
|
+
stopClip(dynamicCineElement);
|
|
8063
|
+
}
|
|
8062
8064
|
}
|
|
8063
8065
|
}
|
|
8064
8066
|
}
|
|
@@ -8108,6 +8110,9 @@ function _stopClipWithData(playClipData) {
|
|
|
8108
8110
|
}
|
|
8109
8111
|
}
|
|
8110
8112
|
function _getVolumeFromViewport(viewport) {
|
|
8113
|
+
if (!(viewport instanceof dist_esm.VolumeViewport)) {
|
|
8114
|
+
return undefined;
|
|
8115
|
+
}
|
|
8111
8116
|
const volumeIds = viewport.getAllVolumeIds();
|
|
8112
8117
|
if (!volumeIds?.length) {
|
|
8113
8118
|
return undefined;
|
|
@@ -2829,12 +2829,12 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
|
2829
2829
|
var ui_src = __webpack_require__(35647);
|
|
2830
2830
|
// EXTERNAL MODULE: ./state/index.js + 1 modules
|
|
2831
2831
|
var state = __webpack_require__(45981);
|
|
2832
|
-
// EXTERNAL MODULE:
|
|
2833
|
-
var dist = __webpack_require__(
|
|
2832
|
+
// EXTERNAL MODULE: ../../../node_modules/react-router-dom/dist/index.js
|
|
2833
|
+
var dist = __webpack_require__(4194);
|
|
2834
2834
|
// EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
|
|
2835
2835
|
var es = __webpack_require__(99993);
|
|
2836
|
-
// EXTERNAL MODULE:
|
|
2837
|
-
var react_router_dist = __webpack_require__(
|
|
2836
|
+
// EXTERNAL MODULE: ../../../node_modules/react-router/dist/index.js
|
|
2837
|
+
var react_router_dist = __webpack_require__(42277);
|
|
2838
2838
|
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 2483 modules
|
|
2839
2839
|
var ui_next_src = __webpack_require__(35570);
|
|
2840
2840
|
// EXTERNAL MODULE: ../../i18n/src/index.js + 150 modules
|
|
@@ -3056,8 +3056,8 @@ function ViewerHeader({
|
|
|
3056
3056
|
hotkeyDefinitions,
|
|
3057
3057
|
hotkeyDefaults
|
|
3058
3058
|
} = hotkeysManager;
|
|
3059
|
-
const versionNumber = "3.10.0-beta.
|
|
3060
|
-
const commitHash = "
|
|
3059
|
+
const versionNumber = "3.10.0-beta.3";
|
|
3060
|
+
const commitHash = "5aeed931c26041e56085862c97cb2f72433d286a";
|
|
3061
3061
|
const menuOptions = [{
|
|
3062
3062
|
title: t('Header:About'),
|
|
3063
3063
|
icon: 'info',
|
|
@@ -6059,10 +6059,10 @@ function _sortTagList(tagList) {
|
|
|
6059
6059
|
});
|
|
6060
6060
|
}
|
|
6061
6061
|
/* harmony default export */ const DicomTagBrowser_DicomTagBrowser = (DicomTagBrowser);
|
|
6062
|
-
// EXTERNAL MODULE:
|
|
6063
|
-
var zustand_esm = __webpack_require__(
|
|
6064
|
-
// EXTERNAL MODULE:
|
|
6065
|
-
var middleware = __webpack_require__(
|
|
6062
|
+
// EXTERNAL MODULE: ../../../node_modules/zustand/esm/index.mjs + 1 modules
|
|
6063
|
+
var zustand_esm = __webpack_require__(78713);
|
|
6064
|
+
// EXTERNAL MODULE: ../../../node_modules/zustand/esm/middleware.mjs
|
|
6065
|
+
var middleware = __webpack_require__(21978);
|
|
6066
6066
|
;// CONCATENATED MODULE: ../../../extensions/default/src/stores/useViewportGridStore.ts
|
|
6067
6067
|
|
|
6068
6068
|
|
|
@@ -9628,7 +9628,7 @@ const defaultExtension = {
|
|
|
9628
9628
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9629
9629
|
/* harmony export */ Y: () => (/* binding */ useToggleOneUpViewportGridStore)
|
|
9630
9630
|
/* harmony export */ });
|
|
9631
|
-
/* harmony import */ var zustand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
9631
|
+
/* harmony import */ var zustand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78713);
|
|
9632
9632
|
|
|
9633
9633
|
const PRESENTATION_TYPE_ID = 'toggleOneUpViewportGridId';
|
|
9634
9634
|
// Stores the entire ViewportGridService getState when toggling to one up
|
package/dist/1801.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
.dicom-tag-browser-table{margin-left:auto;margin-right:auto}.dicom-tag-browser-table-wrapper{overflow-x:scroll}.dicom-tag-browser-table tr{border-top:1px solid #ddd;color:#fff;padding-left:10px;padding-right:10px;white-space:nowrap}.stick{overflow:clip;position:sticky}.dicom-tag-browser-content{overflow:hidden;padding-bottom:50px;width:100%}.dicom-tag-browser-instance-range .range{height:20px}.dicom-tag-browser-instance-range{padding:20px 0}.dicom-tag-browser-table td.dicom-tag-browser-table-center{text-align:center}.dicom-tag-browser-table th{color:"#20A5D6";padding-left:10px;padding-right:10px;text-align:center}.dicom-tag-browser-table th.dicom-tag-browser-table-left{text-align:left}
|
|
2
2
|
.chrome-picker{background:#090c29!important}
|
|
3
3
|
.viewport-overlay{max-width:40%}.viewport-overlay span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewport-overlay.left-viewport{text-align:left}.viewport-overlay.right-viewport-scrollbar{text-align:right}.viewport-overlay.right-viewport-scrollbar .flex.flex-row{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}
|
|
4
|
-
.dicom-upload-drop-area-border-dash{background-image:repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50
|
|
4
|
+
.dicom-upload-drop-area-border-dash{background-image:repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(180deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(180deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000);background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;background-size:20px 3px,20px 3px,3px 20px,3px 20px}
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
/******/ // This function allow to reference async chunks and sibling chunks for the entrypoint
|
|
173
173
|
/******/ __webpack_require__.u = (chunkId) => {
|
|
174
174
|
/******/ // return url for filenames based on template
|
|
175
|
-
/******/ return "" + chunkId + ".bundle." + {"732":"532947c280e1a8f6e020","4571":"
|
|
175
|
+
/******/ return "" + chunkId + ".bundle." + {"732":"532947c280e1a8f6e020","4571":"a838b008320a4c3b6d40","8094":"411698eaf81975a7f12d"}[chunkId] + ".js";
|
|
176
176
|
/******/ };
|
|
177
177
|
/******/ })();
|
|
178
178
|
/******/
|
package/dist/3198.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
.dicom-tag-browser-table{margin-left:auto;margin-right:auto}.dicom-tag-browser-table-wrapper{overflow-x:scroll}.dicom-tag-browser-table tr{border-top:1px solid #ddd;color:#fff;padding-left:10px;padding-right:10px;white-space:nowrap}.stick{overflow:clip;position:sticky}.dicom-tag-browser-content{overflow:hidden;padding-bottom:50px;width:100%}.dicom-tag-browser-instance-range .range{height:20px}.dicom-tag-browser-instance-range{padding:20px 0}.dicom-tag-browser-table td.dicom-tag-browser-table-center{text-align:center}.dicom-tag-browser-table th{color:"#20A5D6";padding-left:10px;padding-right:10px;text-align:center}.dicom-tag-browser-table th.dicom-tag-browser-table-left{text-align:left}
|
|
2
2
|
.chrome-picker{background:#090c29!important}
|
|
3
3
|
.viewport-overlay{max-width:40%}.viewport-overlay span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewport-overlay.left-viewport{text-align:left}.viewport-overlay.right-viewport-scrollbar{text-align:right}.viewport-overlay.right-viewport-scrollbar .flex.flex-row{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}
|
|
4
|
-
.dicom-upload-drop-area-border-dash{background-image:repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50
|
|
4
|
+
.dicom-upload-drop-area-border-dash{background-image:repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(180deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(180deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000);background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;background-size:20px 3px,20px 3px,3px 20px,3px 20px}
|
|
@@ -1149,8 +1149,8 @@ var react = __webpack_require__(86326);
|
|
|
1149
1149
|
// EXTERNAL MODULE: ../../../node_modules/prop-types/index.js
|
|
1150
1150
|
var prop_types = __webpack_require__(97598);
|
|
1151
1151
|
var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
1152
|
-
// EXTERNAL MODULE:
|
|
1153
|
-
var dist = __webpack_require__(
|
|
1152
|
+
// EXTERNAL MODULE: ../../../node_modules/react-router-dom/dist/index.js
|
|
1153
|
+
var dist = __webpack_require__(4194);
|
|
1154
1154
|
// EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
|
|
1155
1155
|
var es = __webpack_require__(99993);
|
|
1156
1156
|
// EXTERNAL MODULE: ../../core/src/index.ts + 71 modules
|
package/dist/3200.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
.dicom-tag-browser-table{margin-left:auto;margin-right:auto}.dicom-tag-browser-table-wrapper{overflow-x:scroll}.dicom-tag-browser-table tr{border-top:1px solid #ddd;color:#fff;padding-left:10px;padding-right:10px;white-space:nowrap}.stick{overflow:clip;position:sticky}.dicom-tag-browser-content{overflow:hidden;padding-bottom:50px;width:100%}.dicom-tag-browser-instance-range .range{height:20px}.dicom-tag-browser-instance-range{padding:20px 0}.dicom-tag-browser-table td.dicom-tag-browser-table-center{text-align:center}.dicom-tag-browser-table th{color:"#20A5D6";padding-left:10px;padding-right:10px;text-align:center}.dicom-tag-browser-table th.dicom-tag-browser-table-left{text-align:left}
|
|
2
2
|
.chrome-picker{background:#090c29!important}
|
|
3
3
|
.viewport-overlay{max-width:40%}.viewport-overlay span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewport-overlay.left-viewport{text-align:left}.viewport-overlay.right-viewport-scrollbar{text-align:right}.viewport-overlay.right-viewport-scrollbar .flex.flex-row{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}
|
|
4
|
-
.dicom-upload-drop-area-border-dash{background-image:repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50
|
|
4
|
+
.dicom-upload-drop-area-border-dash{background-image:repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(180deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(180deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000);background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;background-size:20px 3px,20px 3px,3px 20px,3px 20px}
|
|
@@ -8450,7 +8450,24 @@ function closeEndPoint(endpoint) {
|
|
|
8450
8450
|
endpoint.close();
|
|
8451
8451
|
}
|
|
8452
8452
|
function wrap(ep, target) {
|
|
8453
|
-
|
|
8453
|
+
const pendingListeners = new Map();
|
|
8454
|
+
ep.addEventListener("message", function handleMessage(ev) {
|
|
8455
|
+
const { data } = ev;
|
|
8456
|
+
if (!data || !data.id) {
|
|
8457
|
+
return;
|
|
8458
|
+
}
|
|
8459
|
+
const resolver = pendingListeners.get(data.id);
|
|
8460
|
+
if (!resolver) {
|
|
8461
|
+
return;
|
|
8462
|
+
}
|
|
8463
|
+
try {
|
|
8464
|
+
resolver(data);
|
|
8465
|
+
}
|
|
8466
|
+
finally {
|
|
8467
|
+
pendingListeners.delete(data.id);
|
|
8468
|
+
}
|
|
8469
|
+
});
|
|
8470
|
+
return createProxy(ep, pendingListeners, [], target);
|
|
8454
8471
|
}
|
|
8455
8472
|
function throwIfProxyReleased(isReleased) {
|
|
8456
8473
|
if (isReleased) {
|
|
@@ -8458,7 +8475,7 @@ function throwIfProxyReleased(isReleased) {
|
|
|
8458
8475
|
}
|
|
8459
8476
|
}
|
|
8460
8477
|
function releaseEndpoint(ep) {
|
|
8461
|
-
return requestResponseMessage(ep, {
|
|
8478
|
+
return requestResponseMessage(ep, new Map(), {
|
|
8462
8479
|
type: "RELEASE" /* MessageType.RELEASE */,
|
|
8463
8480
|
}).then(() => {
|
|
8464
8481
|
closeEndPoint(ep);
|
|
@@ -8485,7 +8502,7 @@ function unregisterProxy(proxy) {
|
|
|
8485
8502
|
proxyFinalizers.unregister(proxy);
|
|
8486
8503
|
}
|
|
8487
8504
|
}
|
|
8488
|
-
function createProxy(ep, path = [], target = function () { }) {
|
|
8505
|
+
function createProxy(ep, pendingListeners, path = [], target = function () { }) {
|
|
8489
8506
|
let isProxyReleased = false;
|
|
8490
8507
|
const proxy = new Proxy(target, {
|
|
8491
8508
|
get(_target, prop) {
|
|
@@ -8494,6 +8511,7 @@ function createProxy(ep, path = [], target = function () { }) {
|
|
|
8494
8511
|
return () => {
|
|
8495
8512
|
unregisterProxy(proxy);
|
|
8496
8513
|
releaseEndpoint(ep);
|
|
8514
|
+
pendingListeners.clear();
|
|
8497
8515
|
isProxyReleased = true;
|
|
8498
8516
|
};
|
|
8499
8517
|
}
|
|
@@ -8501,20 +8519,20 @@ function createProxy(ep, path = [], target = function () { }) {
|
|
|
8501
8519
|
if (path.length === 0) {
|
|
8502
8520
|
return { then: () => proxy };
|
|
8503
8521
|
}
|
|
8504
|
-
const r = requestResponseMessage(ep, {
|
|
8522
|
+
const r = requestResponseMessage(ep, pendingListeners, {
|
|
8505
8523
|
type: "GET" /* MessageType.GET */,
|
|
8506
8524
|
path: path.map((p) => p.toString()),
|
|
8507
8525
|
}).then(fromWireValue);
|
|
8508
8526
|
return r.then.bind(r);
|
|
8509
8527
|
}
|
|
8510
|
-
return createProxy(ep, [...path, prop]);
|
|
8528
|
+
return createProxy(ep, pendingListeners, [...path, prop]);
|
|
8511
8529
|
},
|
|
8512
8530
|
set(_target, prop, rawValue) {
|
|
8513
8531
|
throwIfProxyReleased(isProxyReleased);
|
|
8514
8532
|
// FIXME: ES6 Proxy Handler `set` methods are supposed to return a
|
|
8515
8533
|
// boolean. To show good will, we return true asynchronously ¯\_(ツ)_/¯
|
|
8516
8534
|
const [value, transferables] = toWireValue(rawValue);
|
|
8517
|
-
return requestResponseMessage(ep, {
|
|
8535
|
+
return requestResponseMessage(ep, pendingListeners, {
|
|
8518
8536
|
type: "SET" /* MessageType.SET */,
|
|
8519
8537
|
path: [...path, prop].map((p) => p.toString()),
|
|
8520
8538
|
value,
|
|
@@ -8524,16 +8542,16 @@ function createProxy(ep, path = [], target = function () { }) {
|
|
|
8524
8542
|
throwIfProxyReleased(isProxyReleased);
|
|
8525
8543
|
const last = path[path.length - 1];
|
|
8526
8544
|
if (last === createEndpoint) {
|
|
8527
|
-
return requestResponseMessage(ep, {
|
|
8545
|
+
return requestResponseMessage(ep, pendingListeners, {
|
|
8528
8546
|
type: "ENDPOINT" /* MessageType.ENDPOINT */,
|
|
8529
8547
|
}).then(fromWireValue);
|
|
8530
8548
|
}
|
|
8531
8549
|
// We just pretend that `bind()` didn’t happen.
|
|
8532
8550
|
if (last === "bind") {
|
|
8533
|
-
return createProxy(ep, path.slice(0, -1));
|
|
8551
|
+
return createProxy(ep, pendingListeners, path.slice(0, -1));
|
|
8534
8552
|
}
|
|
8535
8553
|
const [argumentList, transferables] = processArguments(rawArgumentList);
|
|
8536
|
-
return requestResponseMessage(ep, {
|
|
8554
|
+
return requestResponseMessage(ep, pendingListeners, {
|
|
8537
8555
|
type: "APPLY" /* MessageType.APPLY */,
|
|
8538
8556
|
path: path.map((p) => p.toString()),
|
|
8539
8557
|
argumentList,
|
|
@@ -8542,7 +8560,7 @@ function createProxy(ep, path = [], target = function () { }) {
|
|
|
8542
8560
|
construct(_target, rawArgumentList) {
|
|
8543
8561
|
throwIfProxyReleased(isProxyReleased);
|
|
8544
8562
|
const [argumentList, transferables] = processArguments(rawArgumentList);
|
|
8545
|
-
return requestResponseMessage(ep, {
|
|
8563
|
+
return requestResponseMessage(ep, pendingListeners, {
|
|
8546
8564
|
type: "CONSTRUCT" /* MessageType.CONSTRUCT */,
|
|
8547
8565
|
path: path.map((p) => p.toString()),
|
|
8548
8566
|
argumentList,
|
|
@@ -8604,16 +8622,10 @@ function fromWireValue(value) {
|
|
|
8604
8622
|
return value.value;
|
|
8605
8623
|
}
|
|
8606
8624
|
}
|
|
8607
|
-
function requestResponseMessage(ep, msg, transfers) {
|
|
8625
|
+
function requestResponseMessage(ep, pendingListeners, msg, transfers) {
|
|
8608
8626
|
return new Promise((resolve) => {
|
|
8609
8627
|
const id = generateUUID();
|
|
8610
|
-
|
|
8611
|
-
if (!ev.data || !ev.data.id || ev.data.id !== id) {
|
|
8612
|
-
return;
|
|
8613
|
-
}
|
|
8614
|
-
ep.removeEventListener("message", l);
|
|
8615
|
-
resolve(ev.data);
|
|
8616
|
-
});
|
|
8628
|
+
pendingListeners.set(id, resolve);
|
|
8617
8629
|
if (ep.start) {
|
|
8618
8630
|
ep.start();
|
|
8619
8631
|
}
|
|
@@ -6247,9 +6247,19 @@ module.exports = iota
|
|
|
6247
6247
|
* @license MIT
|
|
6248
6248
|
*/
|
|
6249
6249
|
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6250
|
+
// The _isBuffer check is for Safari 5-7 support, because it's missing
|
|
6251
|
+
// Object.prototype.constructor. Remove this eventually
|
|
6252
|
+
module.exports = function (obj) {
|
|
6253
|
+
return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)
|
|
6254
|
+
}
|
|
6255
|
+
|
|
6256
|
+
function isBuffer (obj) {
|
|
6257
|
+
return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
|
|
6258
|
+
}
|
|
6259
|
+
|
|
6260
|
+
// For Node v0.10 support. Remove this eventually.
|
|
6261
|
+
function isSlowBuffer (obj) {
|
|
6262
|
+
return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))
|
|
6253
6263
|
}
|
|
6254
6264
|
|
|
6255
6265
|
|
package/dist/4182.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
.dicom-tag-browser-table{margin-left:auto;margin-right:auto}.dicom-tag-browser-table-wrapper{overflow-x:scroll}.dicom-tag-browser-table tr{border-top:1px solid #ddd;color:#fff;padding-left:10px;padding-right:10px;white-space:nowrap}.stick{overflow:clip;position:sticky}.dicom-tag-browser-content{overflow:hidden;padding-bottom:50px;width:100%}.dicom-tag-browser-instance-range .range{height:20px}.dicom-tag-browser-instance-range{padding:20px 0}.dicom-tag-browser-table td.dicom-tag-browser-table-center{text-align:center}.dicom-tag-browser-table th{color:"#20A5D6";padding-left:10px;padding-right:10px;text-align:center}.dicom-tag-browser-table th.dicom-tag-browser-table-left{text-align:left}
|
|
2
2
|
.chrome-picker{background:#090c29!important}
|
|
3
3
|
.viewport-overlay{max-width:40%}.viewport-overlay span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewport-overlay.left-viewport{text-align:left}.viewport-overlay.right-viewport-scrollbar{text-align:right}.viewport-overlay.right-viewport-scrollbar .flex.flex-row{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}
|
|
4
|
-
.dicom-upload-drop-area-border-dash{background-image:repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50
|
|
4
|
+
.dicom-upload-drop-area-border-dash{background-image:repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(180deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(180deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000);background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;background-size:20px 3px,20px 3px,3px 20px,3px 20px}
|
|
@@ -337,7 +337,24 @@ function closeEndPoint(endpoint) {
|
|
|
337
337
|
endpoint.close();
|
|
338
338
|
}
|
|
339
339
|
function wrap(ep, target) {
|
|
340
|
-
|
|
340
|
+
const pendingListeners = new Map();
|
|
341
|
+
ep.addEventListener("message", function handleMessage(ev) {
|
|
342
|
+
const { data } = ev;
|
|
343
|
+
if (!data || !data.id) {
|
|
344
|
+
return;
|
|
345
|
+
}
|
|
346
|
+
const resolver = pendingListeners.get(data.id);
|
|
347
|
+
if (!resolver) {
|
|
348
|
+
return;
|
|
349
|
+
}
|
|
350
|
+
try {
|
|
351
|
+
resolver(data);
|
|
352
|
+
}
|
|
353
|
+
finally {
|
|
354
|
+
pendingListeners.delete(data.id);
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
return createProxy(ep, pendingListeners, [], target);
|
|
341
358
|
}
|
|
342
359
|
function throwIfProxyReleased(isReleased) {
|
|
343
360
|
if (isReleased) {
|
|
@@ -345,7 +362,7 @@ function throwIfProxyReleased(isReleased) {
|
|
|
345
362
|
}
|
|
346
363
|
}
|
|
347
364
|
function releaseEndpoint(ep) {
|
|
348
|
-
return requestResponseMessage(ep, {
|
|
365
|
+
return requestResponseMessage(ep, new Map(), {
|
|
349
366
|
type: "RELEASE" /* MessageType.RELEASE */,
|
|
350
367
|
}).then(() => {
|
|
351
368
|
closeEndPoint(ep);
|
|
@@ -372,7 +389,7 @@ function unregisterProxy(proxy) {
|
|
|
372
389
|
proxyFinalizers.unregister(proxy);
|
|
373
390
|
}
|
|
374
391
|
}
|
|
375
|
-
function createProxy(ep, path = [], target = function () { }) {
|
|
392
|
+
function createProxy(ep, pendingListeners, path = [], target = function () { }) {
|
|
376
393
|
let isProxyReleased = false;
|
|
377
394
|
const proxy = new Proxy(target, {
|
|
378
395
|
get(_target, prop) {
|
|
@@ -381,6 +398,7 @@ function createProxy(ep, path = [], target = function () { }) {
|
|
|
381
398
|
return () => {
|
|
382
399
|
unregisterProxy(proxy);
|
|
383
400
|
releaseEndpoint(ep);
|
|
401
|
+
pendingListeners.clear();
|
|
384
402
|
isProxyReleased = true;
|
|
385
403
|
};
|
|
386
404
|
}
|
|
@@ -388,20 +406,20 @@ function createProxy(ep, path = [], target = function () { }) {
|
|
|
388
406
|
if (path.length === 0) {
|
|
389
407
|
return { then: () => proxy };
|
|
390
408
|
}
|
|
391
|
-
const r = requestResponseMessage(ep, {
|
|
409
|
+
const r = requestResponseMessage(ep, pendingListeners, {
|
|
392
410
|
type: "GET" /* MessageType.GET */,
|
|
393
411
|
path: path.map((p) => p.toString()),
|
|
394
412
|
}).then(fromWireValue);
|
|
395
413
|
return r.then.bind(r);
|
|
396
414
|
}
|
|
397
|
-
return createProxy(ep, [...path, prop]);
|
|
415
|
+
return createProxy(ep, pendingListeners, [...path, prop]);
|
|
398
416
|
},
|
|
399
417
|
set(_target, prop, rawValue) {
|
|
400
418
|
throwIfProxyReleased(isProxyReleased);
|
|
401
419
|
// FIXME: ES6 Proxy Handler `set` methods are supposed to return a
|
|
402
420
|
// boolean. To show good will, we return true asynchronously ¯\_(ツ)_/¯
|
|
403
421
|
const [value, transferables] = toWireValue(rawValue);
|
|
404
|
-
return requestResponseMessage(ep, {
|
|
422
|
+
return requestResponseMessage(ep, pendingListeners, {
|
|
405
423
|
type: "SET" /* MessageType.SET */,
|
|
406
424
|
path: [...path, prop].map((p) => p.toString()),
|
|
407
425
|
value,
|
|
@@ -411,16 +429,16 @@ function createProxy(ep, path = [], target = function () { }) {
|
|
|
411
429
|
throwIfProxyReleased(isProxyReleased);
|
|
412
430
|
const last = path[path.length - 1];
|
|
413
431
|
if (last === createEndpoint) {
|
|
414
|
-
return requestResponseMessage(ep, {
|
|
432
|
+
return requestResponseMessage(ep, pendingListeners, {
|
|
415
433
|
type: "ENDPOINT" /* MessageType.ENDPOINT */,
|
|
416
434
|
}).then(fromWireValue);
|
|
417
435
|
}
|
|
418
436
|
// We just pretend that `bind()` didn’t happen.
|
|
419
437
|
if (last === "bind") {
|
|
420
|
-
return createProxy(ep, path.slice(0, -1));
|
|
438
|
+
return createProxy(ep, pendingListeners, path.slice(0, -1));
|
|
421
439
|
}
|
|
422
440
|
const [argumentList, transferables] = processArguments(rawArgumentList);
|
|
423
|
-
return requestResponseMessage(ep, {
|
|
441
|
+
return requestResponseMessage(ep, pendingListeners, {
|
|
424
442
|
type: "APPLY" /* MessageType.APPLY */,
|
|
425
443
|
path: path.map((p) => p.toString()),
|
|
426
444
|
argumentList,
|
|
@@ -429,7 +447,7 @@ function createProxy(ep, path = [], target = function () { }) {
|
|
|
429
447
|
construct(_target, rawArgumentList) {
|
|
430
448
|
throwIfProxyReleased(isProxyReleased);
|
|
431
449
|
const [argumentList, transferables] = processArguments(rawArgumentList);
|
|
432
|
-
return requestResponseMessage(ep, {
|
|
450
|
+
return requestResponseMessage(ep, pendingListeners, {
|
|
433
451
|
type: "CONSTRUCT" /* MessageType.CONSTRUCT */,
|
|
434
452
|
path: path.map((p) => p.toString()),
|
|
435
453
|
argumentList,
|
|
@@ -491,16 +509,10 @@ function fromWireValue(value) {
|
|
|
491
509
|
return value.value;
|
|
492
510
|
}
|
|
493
511
|
}
|
|
494
|
-
function requestResponseMessage(ep, msg, transfers) {
|
|
512
|
+
function requestResponseMessage(ep, pendingListeners, msg, transfers) {
|
|
495
513
|
return new Promise((resolve) => {
|
|
496
514
|
const id = generateUUID();
|
|
497
|
-
|
|
498
|
-
if (!ev.data || !ev.data.id || ev.data.id !== id) {
|
|
499
|
-
return;
|
|
500
|
-
}
|
|
501
|
-
ep.removeEventListener("message", l);
|
|
502
|
-
resolve(ev.data);
|
|
503
|
-
});
|
|
515
|
+
pendingListeners.set(id, resolve);
|
|
504
516
|
if (ep.start) {
|
|
505
517
|
ep.start();
|
|
506
518
|
}
|
package/dist/5139.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
.dicom-tag-browser-table{margin-left:auto;margin-right:auto}.dicom-tag-browser-table-wrapper{overflow-x:scroll}.dicom-tag-browser-table tr{border-top:1px solid #ddd;color:#fff;padding-left:10px;padding-right:10px;white-space:nowrap}.stick{overflow:clip;position:sticky}.dicom-tag-browser-content{overflow:hidden;padding-bottom:50px;width:100%}.dicom-tag-browser-instance-range .range{height:20px}.dicom-tag-browser-instance-range{padding:20px 0}.dicom-tag-browser-table td.dicom-tag-browser-table-center{text-align:center}.dicom-tag-browser-table th{color:"#20A5D6";padding-left:10px;padding-right:10px;text-align:center}.dicom-tag-browser-table th.dicom-tag-browser-table-left{text-align:left}
|
|
2
2
|
.chrome-picker{background:#090c29!important}
|
|
3
3
|
.viewport-overlay{max-width:40%}.viewport-overlay span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewport-overlay.left-viewport{text-align:left}.viewport-overlay.right-viewport-scrollbar{text-align:right}.viewport-overlay.right-viewport-scrollbar .flex.flex-row{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}
|
|
4
|
-
.dicom-upload-drop-area-border-dash{background-image:repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50
|
|
4
|
+
.dicom-upload-drop-area-border-dash{background-image:repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(90deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(180deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000),repeating-linear-gradient(180deg,#7bb2ce 0,#7bb2ce 50%,#0000 0,#0000);background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;background-size:20px 3px,20px 3px,3px 20px,3px 20px}
|
|
@@ -26,8 +26,8 @@ var src = __webpack_require__(35647);
|
|
|
26
26
|
var core_src = __webpack_require__(29463);
|
|
27
27
|
// EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
|
|
28
28
|
var es = __webpack_require__(99993);
|
|
29
|
-
// EXTERNAL MODULE: ../../../node_modules/mathjs/lib/esm/index.js +
|
|
30
|
-
var esm = __webpack_require__(
|
|
29
|
+
// EXTERNAL MODULE: ../../../node_modules/mathjs/lib/esm/index.js + 1005 modules
|
|
30
|
+
var esm = __webpack_require__(43348);
|
|
31
31
|
;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/utils/coordinateFormatScoord3d2Geometry.js
|
|
32
32
|
|
|
33
33
|
|
|
@@ -8532,7 +8532,24 @@ function closeEndPoint(endpoint) {
|
|
|
8532
8532
|
endpoint.close();
|
|
8533
8533
|
}
|
|
8534
8534
|
function wrap(ep, target) {
|
|
8535
|
-
|
|
8535
|
+
const pendingListeners = new Map();
|
|
8536
|
+
ep.addEventListener("message", function handleMessage(ev) {
|
|
8537
|
+
const { data } = ev;
|
|
8538
|
+
if (!data || !data.id) {
|
|
8539
|
+
return;
|
|
8540
|
+
}
|
|
8541
|
+
const resolver = pendingListeners.get(data.id);
|
|
8542
|
+
if (!resolver) {
|
|
8543
|
+
return;
|
|
8544
|
+
}
|
|
8545
|
+
try {
|
|
8546
|
+
resolver(data);
|
|
8547
|
+
}
|
|
8548
|
+
finally {
|
|
8549
|
+
pendingListeners.delete(data.id);
|
|
8550
|
+
}
|
|
8551
|
+
});
|
|
8552
|
+
return createProxy(ep, pendingListeners, [], target);
|
|
8536
8553
|
}
|
|
8537
8554
|
function throwIfProxyReleased(isReleased) {
|
|
8538
8555
|
if (isReleased) {
|
|
@@ -8540,7 +8557,7 @@ function throwIfProxyReleased(isReleased) {
|
|
|
8540
8557
|
}
|
|
8541
8558
|
}
|
|
8542
8559
|
function releaseEndpoint(ep) {
|
|
8543
|
-
return requestResponseMessage(ep, {
|
|
8560
|
+
return requestResponseMessage(ep, new Map(), {
|
|
8544
8561
|
type: "RELEASE" /* MessageType.RELEASE */,
|
|
8545
8562
|
}).then(() => {
|
|
8546
8563
|
closeEndPoint(ep);
|
|
@@ -8567,7 +8584,7 @@ function unregisterProxy(proxy) {
|
|
|
8567
8584
|
proxyFinalizers.unregister(proxy);
|
|
8568
8585
|
}
|
|
8569
8586
|
}
|
|
8570
|
-
function createProxy(ep, path = [], target = function () { }) {
|
|
8587
|
+
function createProxy(ep, pendingListeners, path = [], target = function () { }) {
|
|
8571
8588
|
let isProxyReleased = false;
|
|
8572
8589
|
const proxy = new Proxy(target, {
|
|
8573
8590
|
get(_target, prop) {
|
|
@@ -8576,6 +8593,7 @@ function createProxy(ep, path = [], target = function () { }) {
|
|
|
8576
8593
|
return () => {
|
|
8577
8594
|
unregisterProxy(proxy);
|
|
8578
8595
|
releaseEndpoint(ep);
|
|
8596
|
+
pendingListeners.clear();
|
|
8579
8597
|
isProxyReleased = true;
|
|
8580
8598
|
};
|
|
8581
8599
|
}
|
|
@@ -8583,20 +8601,20 @@ function createProxy(ep, path = [], target = function () { }) {
|
|
|
8583
8601
|
if (path.length === 0) {
|
|
8584
8602
|
return { then: () => proxy };
|
|
8585
8603
|
}
|
|
8586
|
-
const r = requestResponseMessage(ep, {
|
|
8604
|
+
const r = requestResponseMessage(ep, pendingListeners, {
|
|
8587
8605
|
type: "GET" /* MessageType.GET */,
|
|
8588
8606
|
path: path.map((p) => p.toString()),
|
|
8589
8607
|
}).then(fromWireValue);
|
|
8590
8608
|
return r.then.bind(r);
|
|
8591
8609
|
}
|
|
8592
|
-
return createProxy(ep, [...path, prop]);
|
|
8610
|
+
return createProxy(ep, pendingListeners, [...path, prop]);
|
|
8593
8611
|
},
|
|
8594
8612
|
set(_target, prop, rawValue) {
|
|
8595
8613
|
throwIfProxyReleased(isProxyReleased);
|
|
8596
8614
|
// FIXME: ES6 Proxy Handler `set` methods are supposed to return a
|
|
8597
8615
|
// boolean. To show good will, we return true asynchronously ¯\_(ツ)_/¯
|
|
8598
8616
|
const [value, transferables] = toWireValue(rawValue);
|
|
8599
|
-
return requestResponseMessage(ep, {
|
|
8617
|
+
return requestResponseMessage(ep, pendingListeners, {
|
|
8600
8618
|
type: "SET" /* MessageType.SET */,
|
|
8601
8619
|
path: [...path, prop].map((p) => p.toString()),
|
|
8602
8620
|
value,
|
|
@@ -8606,16 +8624,16 @@ function createProxy(ep, path = [], target = function () { }) {
|
|
|
8606
8624
|
throwIfProxyReleased(isProxyReleased);
|
|
8607
8625
|
const last = path[path.length - 1];
|
|
8608
8626
|
if (last === createEndpoint) {
|
|
8609
|
-
return requestResponseMessage(ep, {
|
|
8627
|
+
return requestResponseMessage(ep, pendingListeners, {
|
|
8610
8628
|
type: "ENDPOINT" /* MessageType.ENDPOINT */,
|
|
8611
8629
|
}).then(fromWireValue);
|
|
8612
8630
|
}
|
|
8613
8631
|
// We just pretend that `bind()` didn’t happen.
|
|
8614
8632
|
if (last === "bind") {
|
|
8615
|
-
return createProxy(ep, path.slice(0, -1));
|
|
8633
|
+
return createProxy(ep, pendingListeners, path.slice(0, -1));
|
|
8616
8634
|
}
|
|
8617
8635
|
const [argumentList, transferables] = processArguments(rawArgumentList);
|
|
8618
|
-
return requestResponseMessage(ep, {
|
|
8636
|
+
return requestResponseMessage(ep, pendingListeners, {
|
|
8619
8637
|
type: "APPLY" /* MessageType.APPLY */,
|
|
8620
8638
|
path: path.map((p) => p.toString()),
|
|
8621
8639
|
argumentList,
|
|
@@ -8624,7 +8642,7 @@ function createProxy(ep, path = [], target = function () { }) {
|
|
|
8624
8642
|
construct(_target, rawArgumentList) {
|
|
8625
8643
|
throwIfProxyReleased(isProxyReleased);
|
|
8626
8644
|
const [argumentList, transferables] = processArguments(rawArgumentList);
|
|
8627
|
-
return requestResponseMessage(ep, {
|
|
8645
|
+
return requestResponseMessage(ep, pendingListeners, {
|
|
8628
8646
|
type: "CONSTRUCT" /* MessageType.CONSTRUCT */,
|
|
8629
8647
|
path: path.map((p) => p.toString()),
|
|
8630
8648
|
argumentList,
|
|
@@ -8686,16 +8704,10 @@ function fromWireValue(value) {
|
|
|
8686
8704
|
return value.value;
|
|
8687
8705
|
}
|
|
8688
8706
|
}
|
|
8689
|
-
function requestResponseMessage(ep, msg, transfers) {
|
|
8707
|
+
function requestResponseMessage(ep, pendingListeners, msg, transfers) {
|
|
8690
8708
|
return new Promise((resolve) => {
|
|
8691
8709
|
const id = generateUUID();
|
|
8692
|
-
|
|
8693
|
-
if (!ev.data || !ev.data.id || ev.data.id !== id) {
|
|
8694
|
-
return;
|
|
8695
|
-
}
|
|
8696
|
-
ep.removeEventListener("message", l);
|
|
8697
|
-
resolve(ev.data);
|
|
8698
|
-
});
|
|
8710
|
+
pendingListeners.set(id, resolve);
|
|
8699
8711
|
if (ep.start) {
|
|
8700
8712
|
ep.start();
|
|
8701
8713
|
}
|