@ohif/app 3.7.0-beta.79 → 3.7.0-beta.80
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/{128.bundle.d4536952e6eda267cb5a.js → 128.bundle.5198a2266456afecd420.js} +37 -55
- package/dist/{181.bundle.9a76ce585a7139d4862f.js → 181.bundle.fa57199595cf28f44c7b.js} +3 -3
- package/dist/{30.bundle.16bfc3a374fc4eda5ffc.js → 19.bundle.75ec1ec14786e136b7b3.js} +114 -260
- package/dist/19.css +1 -0
- package/dist/{202.bundle.6c3b5e9f37d88388e5c8.js → 202.bundle.96bbb4547a346fe3921f.js} +3 -3
- package/dist/221.bundle.8a81cea315fa7697c0e0.js +1722 -0
- package/dist/221.css +2 -0
- package/dist/{236.bundle.2386ed58739fdbdd53f8.js → 236.bundle.d2da6d1991e1229bf913.js} +11 -16
- package/dist/{250.bundle.77985c008fc579308ca9.js → 250.bundle.36909d7bc681d66087d1.js} +4 -4
- package/dist/{90.bundle.1d113c4a201e850c98c0.js → 342.bundle.70da5239bd664aa5d41a.js} +408 -152
- package/dist/{348.bundle.343c39a8c96a044b0fe2.js → 348.bundle.8c5b950d30e5aa992290.js} +45 -56
- package/dist/{359.bundle.2618db789083f7d3007d.js → 359.bundle.d2a3abe1a5cd3ca3cd8e.js} +36 -115
- package/dist/{410.bundle.5cc4909f3c608350a71e.js → 410.bundle.be538faa9c7fad92189b.js} +3 -4
- package/dist/{451.bundle.aaabf094eb8fa67da819.js → 451.bundle.dc0d14c3724464cca2bf.js} +27 -19
- package/dist/{471.bundle.953dacdccd46028efba7.js → 471.bundle.2206d4c0ac2ad0df2362.js} +26 -19
- package/dist/{506.bundle.c0258b1d7299fdb7628e.js → 506.bundle.97e53732423192fee818.js} +1 -75
- package/dist/{677.bundle.ec5f2b4707db33bd4d8e.js → 530.bundle.a03b6f942ace3e1baa1e.js} +5 -10
- package/dist/613.bundle.549d71231abfed24a2dc.js +532 -0
- package/dist/{754.bundle.6618bdd7f648b532c682.js → 754.bundle.e3ce6855d8d4d187f224.js} +36 -46
- package/dist/{777.bundle.82a7cc23a7b6a8bd12fa.js → 777.bundle.ae3fdb8a470caecc0c6a.js} +2 -2
- package/dist/{782.bundle.6fa60a24d3d4ad76c8db.js → 782.bundle.ee8dba2e8582b55cb38d.js} +7 -7
- package/dist/{822.bundle.4767349eb43b79145b3e.js → 822.bundle.5fca45a4f40f5259aec5.js} +2 -2
- package/dist/831.bundle.83658f62fcc769043605.js +16700 -0
- package/dist/{886.bundle.7ee671b1d5656455d067.js → 886.bundle.a9de117c3a42b7907cf6.js} +2 -2
- package/dist/{967.bundle.ab062b0b325bed3b9af9.js → 967.bundle.cce1d004b2ff178b1a8e.js} +242 -101
- package/dist/app-config.js +1 -5
- package/dist/{app.bundle.adf312c193d56262fa41.js → app.bundle.681f66ab37cef811e68b.js} +21839 -18707
- package/dist/app.bundle.css +8 -7
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +19 -19
- package/dist/150.bundle.1fff6b0c3496b6367f58.js +0 -742
- /package/dist/{12.bundle.653904a1682368c34d6b.js → 12.bundle.4a052141b46dec16862d.js} +0 -0
- /package/dist/{125.bundle.aeaad798561853bf6939.js → 125.bundle.253395f320b72180da63.js} +0 -0
- /package/dist/{281.bundle.fbb8c83b343a6903d529.js → 281.bundle.21a9e3178ddebe01b958.js} +0 -0
- /package/dist/{417.bundle.6cadc61b8a455776de31.js → 417.bundle.af0a207c29b109f84159.js} +0 -0
- /package/dist/{663.bundle.5175469e25c5196a739c.js → 663.bundle.b0f98b6e7221b1b9cf6a.js} +0 -0
- /package/dist/{686.bundle.b3dbf84eefbef768843f.js → 686.bundle.dccef1f36e4bc79bcc48.js} +0 -0
- /package/dist/{687.bundle.60d3856e6e77c027c174.js → 687.bundle.ab0ffdccae4610b00224.js} +0 -0
- /package/dist/{814.bundle.ba4f6267b43f8dbc803f.js → 814.bundle.eec4458e893e6055f0fc.js} +0 -0
|
@@ -14,8 +14,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
14
14
|
|
|
15
15
|
// EXTERNAL MODULE: ../../core/src/index.ts + 75 modules
|
|
16
16
|
var src = __webpack_require__(34491);
|
|
17
|
-
// EXTERNAL MODULE: ../../ui/src/index.js +
|
|
18
|
-
var ui_src = __webpack_require__(
|
|
17
|
+
// EXTERNAL MODULE: ../../ui/src/index.js + 485 modules
|
|
18
|
+
var ui_src = __webpack_require__(71783);
|
|
19
19
|
;// CONCATENATED MODULE: ../../../modes/basic-test-mode/src/toolbarButtons.js
|
|
20
20
|
// TODO: torn, can either bake this here; or have to create a whole new button type
|
|
21
21
|
// Only ways that you can pass in a custom React component for render :l
|
|
@@ -481,7 +481,18 @@ function initDefaultToolGroup(extensionManager, toolGroupService, commandsManage
|
|
|
481
481
|
passive: [{
|
|
482
482
|
toolName: toolNames.Length
|
|
483
483
|
}, {
|
|
484
|
-
toolName: toolNames.ArrowAnnotate
|
|
484
|
+
toolName: toolNames.ArrowAnnotate,
|
|
485
|
+
configuration: {
|
|
486
|
+
getTextCallback: (callback, eventDetails) => commandsManager.runCommand('arrowTextCallback', {
|
|
487
|
+
callback,
|
|
488
|
+
eventDetails
|
|
489
|
+
}),
|
|
490
|
+
changeTextCallback: (data, eventDetails, callback) => commandsManager.runCommand('arrowTextCallback', {
|
|
491
|
+
callback,
|
|
492
|
+
data,
|
|
493
|
+
eventDetails
|
|
494
|
+
})
|
|
495
|
+
}
|
|
485
496
|
}, {
|
|
486
497
|
toolName: toolNames.Bidirectional
|
|
487
498
|
}, {
|
|
@@ -507,20 +518,7 @@ function initDefaultToolGroup(extensionManager, toolGroupService, commandsManage
|
|
|
507
518
|
toolName: toolNames.ReferenceLines
|
|
508
519
|
}]
|
|
509
520
|
};
|
|
510
|
-
|
|
511
|
-
[toolNames.ArrowAnnotate]: {
|
|
512
|
-
getTextCallback: (callback, eventDetails) => commandsManager.runCommand('arrowTextCallback', {
|
|
513
|
-
callback,
|
|
514
|
-
eventDetails
|
|
515
|
-
}),
|
|
516
|
-
changeTextCallback: (data, eventDetails, callback) => commandsManager.runCommand('arrowTextCallback', {
|
|
517
|
-
callback,
|
|
518
|
-
data,
|
|
519
|
-
eventDetails
|
|
520
|
-
})
|
|
521
|
-
}
|
|
522
|
-
};
|
|
523
|
-
toolGroupService.createToolGroupAndAddTools(toolGroupId, tools, toolsConfig);
|
|
521
|
+
toolGroupService.createToolGroupAndAddTools(toolGroupId, tools);
|
|
524
522
|
}
|
|
525
523
|
function initSRToolGroup(extensionManager, toolGroupService, commandsManager) {
|
|
526
524
|
const SRUtilityModule = extensionManager.getModuleEntry('@ohif/extension-cornerstone-dicom-sr.utilityModule.tools');
|
|
@@ -570,21 +568,8 @@ function initSRToolGroup(extensionManager, toolGroupService, commandsManager) {
|
|
|
570
568
|
// disabled
|
|
571
569
|
};
|
|
572
570
|
|
|
573
|
-
const toolsConfig = {
|
|
574
|
-
[toolNames.ArrowAnnotate]: {
|
|
575
|
-
getTextCallback: (callback, eventDetails) => commandsManager.runCommand('arrowTextCallback', {
|
|
576
|
-
callback,
|
|
577
|
-
eventDetails
|
|
578
|
-
}),
|
|
579
|
-
changeTextCallback: (data, eventDetails, callback) => commandsManager.runCommand('arrowTextCallback', {
|
|
580
|
-
callback,
|
|
581
|
-
data,
|
|
582
|
-
eventDetails
|
|
583
|
-
})
|
|
584
|
-
}
|
|
585
|
-
};
|
|
586
571
|
const toolGroupId = 'SRToolGroup';
|
|
587
|
-
toolGroupService.createToolGroupAndAddTools(toolGroupId, tools
|
|
572
|
+
toolGroupService.createToolGroupAndAddTools(toolGroupId, tools);
|
|
588
573
|
}
|
|
589
574
|
function initMPRToolGroup(extensionManager, toolGroupService, commandsManager) {
|
|
590
575
|
const utilityModule = extensionManager.getModuleEntry('@ohif/extension-cornerstone.utilityModule.tools');
|
|
@@ -615,7 +600,18 @@ function initMPRToolGroup(extensionManager, toolGroupService, commandsManager) {
|
|
|
615
600
|
passive: [{
|
|
616
601
|
toolName: toolNames.Length
|
|
617
602
|
}, {
|
|
618
|
-
toolName: toolNames.ArrowAnnotate
|
|
603
|
+
toolName: toolNames.ArrowAnnotate,
|
|
604
|
+
configuration: {
|
|
605
|
+
getTextCallback: (callback, eventDetails) => commandsManager.runCommand('arrowTextCallback', {
|
|
606
|
+
callback,
|
|
607
|
+
eventDetails
|
|
608
|
+
}),
|
|
609
|
+
changeTextCallback: (data, eventDetails, callback) => commandsManager.runCommand('arrowTextCallback', {
|
|
610
|
+
callback,
|
|
611
|
+
data,
|
|
612
|
+
eventDetails
|
|
613
|
+
})
|
|
614
|
+
}
|
|
619
615
|
}, {
|
|
620
616
|
toolName: toolNames.Bidirectional
|
|
621
617
|
}, {
|
|
@@ -634,7 +630,14 @@ function initMPRToolGroup(extensionManager, toolGroupService, commandsManager) {
|
|
|
634
630
|
toolName: toolNames.SegmentationDisplay
|
|
635
631
|
}],
|
|
636
632
|
disabled: [{
|
|
637
|
-
toolName: toolNames.Crosshairs
|
|
633
|
+
toolName: toolNames.Crosshairs,
|
|
634
|
+
configuration: {
|
|
635
|
+
viewportIndicators: false,
|
|
636
|
+
autoPan: {
|
|
637
|
+
enabled: false,
|
|
638
|
+
panSize: 10
|
|
639
|
+
}
|
|
640
|
+
}
|
|
638
641
|
}, {
|
|
639
642
|
toolName: toolNames.ReferenceLines
|
|
640
643
|
}]
|
|
@@ -643,27 +646,7 @@ function initMPRToolGroup(extensionManager, toolGroupService, commandsManager) {
|
|
|
643
646
|
// disabled
|
|
644
647
|
};
|
|
645
648
|
|
|
646
|
-
|
|
647
|
-
[toolNames.Crosshairs]: {
|
|
648
|
-
viewportIndicators: false,
|
|
649
|
-
autoPan: {
|
|
650
|
-
enabled: false,
|
|
651
|
-
panSize: 10
|
|
652
|
-
}
|
|
653
|
-
},
|
|
654
|
-
[toolNames.ArrowAnnotate]: {
|
|
655
|
-
getTextCallback: (callback, eventDetails) => commandsManager.runCommand('arrowTextCallback', {
|
|
656
|
-
callback,
|
|
657
|
-
eventDetails
|
|
658
|
-
}),
|
|
659
|
-
changeTextCallback: (data, eventDetails, callback) => commandsManager.runCommand('arrowTextCallback', {
|
|
660
|
-
callback,
|
|
661
|
-
data,
|
|
662
|
-
eventDetails
|
|
663
|
-
})
|
|
664
|
-
}
|
|
665
|
-
};
|
|
666
|
-
toolGroupService.createToolGroupAndAddTools('mpr', tools, toolsConfig);
|
|
649
|
+
toolGroupService.createToolGroupAndAddTools('mpr', tools);
|
|
667
650
|
}
|
|
668
651
|
function initToolGroups(extensionManager, toolGroupService, commandsManager) {
|
|
669
652
|
initDefaultToolGroup(extensionManager, toolGroupService, commandsManager, 'default');
|
|
@@ -751,7 +734,6 @@ function modeFactory() {
|
|
|
751
734
|
const activateTool = () => {
|
|
752
735
|
toolbarService.recordInteraction({
|
|
753
736
|
groupId: 'WindowLevel',
|
|
754
|
-
itemId: 'WindowLevel',
|
|
755
737
|
interactionType: 'tool',
|
|
756
738
|
commands: [{
|
|
757
739
|
commandName: 'setToolActive',
|
|
@@ -25,8 +25,8 @@ var esm = __webpack_require__(99777);
|
|
|
25
25
|
var dist_esm = __webpack_require__(45754);
|
|
26
26
|
// EXTERNAL MODULE: ../../core/src/index.ts + 75 modules
|
|
27
27
|
var src = __webpack_require__(34491);
|
|
28
|
-
// EXTERNAL MODULE: ../../ui/src/index.js +
|
|
29
|
-
var ui_src = __webpack_require__(
|
|
28
|
+
// EXTERNAL MODULE: ../../ui/src/index.js + 485 modules
|
|
29
|
+
var ui_src = __webpack_require__(71783);
|
|
30
30
|
// EXTERNAL MODULE: ../../../extensions/cornerstone/src/state.ts
|
|
31
31
|
var state = __webpack_require__(73704);
|
|
32
32
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone/src/Viewport/OHIFCornerstoneViewport.css
|
|
@@ -989,11 +989,11 @@ function WrappedCinePlayer(_ref) {
|
|
|
989
989
|
const handleCineClose = () => {
|
|
990
990
|
toolbarService.recordInteraction({
|
|
991
991
|
groupId: 'MoreTools',
|
|
992
|
-
itemId: 'cine',
|
|
993
992
|
interactionType: 'toggle',
|
|
994
993
|
commands: [{
|
|
995
994
|
commandName: 'toggleCine',
|
|
996
995
|
commandOptions: {},
|
|
996
|
+
toolName: 'cine',
|
|
997
997
|
context: 'CORNERSTONE'
|
|
998
998
|
}]
|
|
999
999
|
});
|