@ohif/app 3.8.0-beta.76 → 3.8.0-beta.78
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/{206.bundle.d3e4a3298da5fc1b7cf8.js → 206.bundle.9b4e6ef30bae039230eb.js} +9 -4
- package/dist/{325.bundle.046eb79fa853965bf1f5.js → 325.bundle.c720f2049c00c529a4c3.js} +12 -0
- package/dist/{41.bundle.1094395fefee036f2fc4.js → 41.bundle.02704aafbf876e2c8f2b.js} +5 -8
- package/dist/{448.bundle.c3ccd1f3f323cb3fbdf6.js → 448.bundle.b6aa785d3591bc9ad289.js} +5 -1
- package/dist/{574.bundle.b4eb8773d7741868e84b.js → 574.bundle.917e891da6052b63a770.js} +2 -1
- package/dist/{896.bundle.1ecfef8a78a1ec059526.js → 606.bundle.18fb0e8c81cc911b3dbe.js} +617 -134
- package/dist/{699.bundle.9003fe080e76cfc07764.js → 699.bundle.802c2cb6ec27eefd4020.js} +1 -1
- package/dist/{961.bundle.80bcde8b9ad3a72e6573.js → 961.bundle.abd068e616d1d155c5e4.js} +4 -2
- package/dist/{app.bundle.96482ce4d13def65070a.js → app.bundle.08268c9111a524d1fa28.js} +28 -16
- package/dist/app.bundle.css +1 -1
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +17 -17
- /package/dist/{164.bundle.7fa7d6e030191e4a2679.js → 164.bundle.fc6038e6fc1bfead1075.js} +0 -0
- /package/dist/{188.bundle.ea24460f248694a4ed83.js → 188.bundle.9faf48d6216ffa6be18c.js} +0 -0
- /package/dist/{335.bundle.f4e1a3ceafbb08456a5a.js → 335.bundle.ba5ea00dc1d118fc3379.js} +0 -0
- /package/dist/{487.bundle.4d6a86c9850bf873e5c7.js → 487.bundle.2112ce27af3007bfc8e5.js} +0 -0
- /package/dist/{540.bundle.040ff90457a838cde404.js → 540.bundle.b3002f0a0f672eb1dbbb.js} +0 -0
- /package/dist/{594.bundle.7e98b3b84261dbd849ae.js → 594.bundle.797e1cebdb56cd0d1a2d.js} +0 -0
- /package/dist/{896.css → 606.css} +0 -0
- /package/dist/{633.bundle.eb85ed9814d85c8f7bbd.js → 633.bundle.24077b5d4a0f1ac00ea8.js} +0 -0
- /package/dist/{724.bundle.8c277d0f8af4519587f7.js → 724.bundle.20253a825aa8f3896767.js} +0 -0
- /package/dist/{889.bundle.d0bbb91f8da3d40130cf.js → 889.bundle.eea045e12285e4ccc2ec.js} +0 -0
- /package/dist/{905.bundle.4171c8bc9a4430f562be.js → 905.bundle.030b7b9d68fd7690c3db.js} +0 -0
- /package/dist/{907.bundle.c2e076185320bb3c45ba.js → 907.bundle.f52948a73ce925f83edf.js} +0 -0
- /package/dist/{94.bundle.561cdfd91f2ac6d36124.js → 94.bundle.75e83f7ebcbe97cc97b7.js} +0 -0
|
@@ -1148,6 +1148,7 @@ StaticWadoClient.seriesFilterKeys = {
|
|
|
1148
1148
|
* @param {string} params.defaultType is the mime type of the response
|
|
1149
1149
|
* @param {string} params.singlepart is the type of the part to retrieve
|
|
1150
1150
|
* @param {string} params.fetchPart unknown?
|
|
1151
|
+
* @param {string} params.url unknown?
|
|
1151
1152
|
* @returns an absolute URL to the resource, if the absolute URL can be retrieved as singlepart,
|
|
1152
1153
|
* or is already retrieved, or a promise to a URL for such use if a BulkDataURI
|
|
1153
1154
|
*/
|
|
@@ -1161,8 +1162,12 @@ const getDirectURL = (config, params) => {
|
|
|
1161
1162
|
tag = 'PixelData',
|
|
1162
1163
|
defaultPath = '/pixeldata',
|
|
1163
1164
|
defaultType = 'video/mp4',
|
|
1164
|
-
singlepart: fetchPart = 'video'
|
|
1165
|
+
singlepart: fetchPart = 'video',
|
|
1166
|
+
url = null
|
|
1165
1167
|
} = params;
|
|
1168
|
+
if (url) {
|
|
1169
|
+
return url;
|
|
1170
|
+
}
|
|
1166
1171
|
const value = instance[tag];
|
|
1167
1172
|
if (!value) {
|
|
1168
1173
|
return undefined;
|
|
@@ -1878,7 +1883,7 @@ function createDicomJSONApi(dicomJsonConfig) {
|
|
|
1878
1883
|
* or is already retrieved, or a promise to a URL for such use if a BulkDataURI
|
|
1879
1884
|
*/
|
|
1880
1885
|
directURL: params => {
|
|
1881
|
-
return utils_getDirectURL(
|
|
1886
|
+
return utils_getDirectURL(dicomJsonConfig, params);
|
|
1882
1887
|
},
|
|
1883
1888
|
series: {
|
|
1884
1889
|
metadata: async ({
|
|
@@ -2745,8 +2750,8 @@ function ViewerHeader({
|
|
|
2745
2750
|
hotkeyDefinitions,
|
|
2746
2751
|
hotkeyDefaults
|
|
2747
2752
|
} = hotkeysManager;
|
|
2748
|
-
const versionNumber = "3.8.0-beta.
|
|
2749
|
-
const commitHash = "
|
|
2753
|
+
const versionNumber = "3.8.0-beta.78";
|
|
2754
|
+
const commitHash = "2b83393f91cb16ea06821d79d14ff60f80c29c90";
|
|
2750
2755
|
const menuOptions = [{
|
|
2751
2756
|
title: t('Header:About'),
|
|
2752
2757
|
icon: 'info',
|
|
@@ -486,6 +486,12 @@ function _askTrackMeasurements(uiViewportDialogService, viewportId) {
|
|
|
486
486
|
onOutsideClick: () => {
|
|
487
487
|
uiViewportDialogService.hide();
|
|
488
488
|
resolve(promptBeginTracking_RESPONSE.CANCEL);
|
|
489
|
+
},
|
|
490
|
+
onKeyPress: event => {
|
|
491
|
+
if (event.key === 'Enter') {
|
|
492
|
+
const action = actions.find(action => action.id === 'prompt-begin-tracking-yes');
|
|
493
|
+
onSubmit(action.value);
|
|
494
|
+
}
|
|
489
495
|
}
|
|
490
496
|
});
|
|
491
497
|
});
|
|
@@ -663,6 +669,12 @@ function promptTrackNewStudy_askTrackMeasurements(UIViewportDialogService, viewp
|
|
|
663
669
|
onOutsideClick: () => {
|
|
664
670
|
UIViewportDialogService.hide();
|
|
665
671
|
resolve(promptTrackNewStudy_RESPONSE.CANCEL);
|
|
672
|
+
},
|
|
673
|
+
onKeyPress: event => {
|
|
674
|
+
if (event.key === 'Enter') {
|
|
675
|
+
const action = actions.find(action => action.value === promptTrackNewStudy_RESPONSE.SET_STUDY_AND_SERIES);
|
|
676
|
+
onSubmit(action.value);
|
|
677
|
+
}
|
|
666
678
|
}
|
|
667
679
|
});
|
|
668
680
|
});
|
|
@@ -81,6 +81,8 @@ function initDefaultToolGroup(extensionManager, toolGroupService, commandsManage
|
|
|
81
81
|
toolName: toolNames.Bidirectional
|
|
82
82
|
}, {
|
|
83
83
|
toolName: toolNames.DragProbe
|
|
84
|
+
}, {
|
|
85
|
+
toolName: toolNames.Probe
|
|
84
86
|
}, {
|
|
85
87
|
toolName: toolNames.EllipticalROI
|
|
86
88
|
}, {
|
|
@@ -234,6 +236,8 @@ function initMPRToolGroup(extensionManager, toolGroupService, commandsManager, m
|
|
|
234
236
|
toolName: toolNames.Bidirectional
|
|
235
237
|
}, {
|
|
236
238
|
toolName: toolNames.DragProbe
|
|
239
|
+
}, {
|
|
240
|
+
toolName: toolNames.Probe
|
|
237
241
|
}, {
|
|
238
242
|
toolName: toolNames.EllipticalROI
|
|
239
243
|
}, {
|
|
@@ -363,13 +367,6 @@ const toolbarButtons = [{
|
|
|
363
367
|
tooltip: 'Ellipse ROI',
|
|
364
368
|
commands: setToolActiveToolbar,
|
|
365
369
|
evaluate: 'evaluate.cornerstoneTool'
|
|
366
|
-
}), createButton({
|
|
367
|
-
id: 'PlanarFreehandROI',
|
|
368
|
-
icon: 'tool-freehand-polygon',
|
|
369
|
-
label: 'Freehand',
|
|
370
|
-
tooltip: 'Freehand ROI',
|
|
371
|
-
commands: setToolActiveToolbar,
|
|
372
|
-
evaluate: 'evaluate.cornerstoneTool'
|
|
373
370
|
}), createButton({
|
|
374
371
|
id: 'RectangleROI',
|
|
375
372
|
icon: 'tool-rectangle',
|
|
@@ -607,7 +604,7 @@ const moreTools = [{
|
|
|
607
604
|
commands: 'invertViewport',
|
|
608
605
|
evaluate: 'evaluate.viewportProperties.toggle'
|
|
609
606
|
}), moreTools_createButton({
|
|
610
|
-
id: '
|
|
607
|
+
id: 'Probe',
|
|
611
608
|
icon: 'tool-probe',
|
|
612
609
|
label: 'Probe',
|
|
613
610
|
tooltip: 'Probe',
|
|
@@ -285,6 +285,8 @@ function initDefaultToolGroup(extensionManager, toolGroupService, commandsManage
|
|
|
285
285
|
toolName: toolNames.Bidirectional
|
|
286
286
|
}, {
|
|
287
287
|
toolName: toolNames.DragProbe
|
|
288
|
+
}, {
|
|
289
|
+
toolName: toolNames.Probe
|
|
288
290
|
}, {
|
|
289
291
|
toolName: toolNames.EllipticalROI
|
|
290
292
|
}, {
|
|
@@ -416,6 +418,8 @@ function initMPRToolGroup(extensionManager, toolGroupService, commandsManager) {
|
|
|
416
418
|
toolName: toolNames.Bidirectional
|
|
417
419
|
}, {
|
|
418
420
|
toolName: toolNames.DragProbe
|
|
421
|
+
}, {
|
|
422
|
+
toolName: toolNames.Probe
|
|
419
423
|
}, {
|
|
420
424
|
toolName: toolNames.EllipticalROI
|
|
421
425
|
}, {
|
|
@@ -592,7 +596,7 @@ const moreTools = [{
|
|
|
592
596
|
commands: 'invertViewport',
|
|
593
597
|
evaluate: 'evaluate.viewportProperties.toggle'
|
|
594
598
|
}), moreTools_createButton({
|
|
595
|
-
id: '
|
|
599
|
+
id: 'Probe',
|
|
596
600
|
icon: 'tool-probe',
|
|
597
601
|
label: 'Probe',
|
|
598
602
|
tooltip: 'Probe',
|
|
@@ -2448,7 +2448,8 @@ const OHIFCornerstoneViewport = /*#__PURE__*/react.memo(props => {
|
|
|
2448
2448
|
type: viewportDialogState.type,
|
|
2449
2449
|
actions: viewportDialogState.actions,
|
|
2450
2450
|
onSubmit: viewportDialogState.onSubmit,
|
|
2451
|
-
onOutsideClick: viewportDialogState.onOutsideClick
|
|
2451
|
+
onOutsideClick: viewportDialogState.onOutsideClick,
|
|
2452
|
+
onKeyPress: viewportDialogState.onKeyPress
|
|
2452
2453
|
})), /*#__PURE__*/react.createElement(components_OHIFViewportActionCorners, {
|
|
2453
2454
|
viewportId: viewportId
|
|
2454
2455
|
}));
|