@ohif/app 3.8.0-beta.77 → 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.cae9797ee0a3578a3d88.js → 206.bundle.9b4e6ef30bae039230eb.js} +2 -2
- package/dist/{325.bundle.869b5c1249fe3adefa4d.js → 325.bundle.c720f2049c00c529a4c3.js} +12 -0
- package/dist/{41.bundle.30ec760e97b5041aa9d8.js → 41.bundle.02704aafbf876e2c8f2b.js} +5 -8
- package/dist/{448.bundle.65c271ed556a06413fb6.js → 448.bundle.b6aa785d3591bc9ad289.js} +5 -1
- package/dist/{574.bundle.b4eb8773d7741868e84b.js → 574.bundle.917e891da6052b63a770.js} +2 -1
- package/dist/{896.bundle.66d0c18f7b1f2ecf3325.js → 606.bundle.18fb0e8c81cc911b3dbe.js} +617 -134
- package/dist/{699.bundle.dbeced724ab884809e0b.js → 699.bundle.802c2cb6ec27eefd4020.js} +1 -1
- package/dist/{app.bundle.7cd72db5d7c97eead2cb.js → app.bundle.08268c9111a524d1fa28.js} +27 -15
- 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.db5f479dc7ef9722fdf3.js → 164.bundle.fc6038e6fc1bfead1075.js} +0 -0
- /package/dist/{188.bundle.c0953c262d3302921606.js → 188.bundle.9faf48d6216ffa6be18c.js} +0 -0
- /package/dist/{335.bundle.72843c691090a41729af.js → 335.bundle.ba5ea00dc1d118fc3379.js} +0 -0
- /package/dist/{487.bundle.f08d35ed2369b7bc0eea.js → 487.bundle.2112ce27af3007bfc8e5.js} +0 -0
- /package/dist/{540.bundle.4a250e02feb94852aca7.js → 540.bundle.b3002f0a0f672eb1dbbb.js} +0 -0
- /package/dist/{594.bundle.84b2d08bd37f7e300573.js → 594.bundle.797e1cebdb56cd0d1a2d.js} +0 -0
- /package/dist/{896.css → 606.css} +0 -0
- /package/dist/{633.bundle.a77a1a0d8f557f09e488.js → 633.bundle.24077b5d4a0f1ac00ea8.js} +0 -0
- /package/dist/{724.bundle.f2219a6c74d326781c6c.js → 724.bundle.20253a825aa8f3896767.js} +0 -0
- /package/dist/{889.bundle.1ad2e13da79ffdbb59f1.js → 889.bundle.eea045e12285e4ccc2ec.js} +0 -0
- /package/dist/{905.bundle.9c29a0debf5923ab277f.js → 905.bundle.030b7b9d68fd7690c3db.js} +0 -0
- /package/dist/{907.bundle.9a50ae2870e830121ba8.js → 907.bundle.f52948a73ce925f83edf.js} +0 -0
- /package/dist/{94.bundle.a8efa7d75bfb5d5eea73.js → 94.bundle.75e83f7ebcbe97cc97b7.js} +0 -0
- /package/dist/{961.bundle.340c76f649ff6938b0a8.js → 961.bundle.abd068e616d1d155c5e4.js} +0 -0
|
@@ -2750,8 +2750,8 @@ function ViewerHeader({
|
|
|
2750
2750
|
hotkeyDefinitions,
|
|
2751
2751
|
hotkeyDefaults
|
|
2752
2752
|
} = hotkeysManager;
|
|
2753
|
-
const versionNumber = "3.8.0-beta.
|
|
2754
|
-
const commitHash = "
|
|
2753
|
+
const versionNumber = "3.8.0-beta.78";
|
|
2754
|
+
const commitHash = "2b83393f91cb16ea06821d79d14ff60f80c29c90";
|
|
2755
2755
|
const menuOptions = [{
|
|
2756
2756
|
title: t('Header:About'),
|
|
2757
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
|
}));
|