@ohif/app 3.7.0-beta.9 → 3.7.0-beta.90
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/{917.bundle.0edb40e9d9467dd3a189.js → 12.bundle.c51f9611deb347508909.js} +6 -6
- package/dist/{295.bundle.957b1159fec14b9199a1.js → 125.bundle.253395f320b72180da63.js} +6 -6
- package/dist/{351.bundle.0742237651aef9694a65.js → 181.bundle.73fc96c6b3ab1fabedc8.js} +226 -204
- package/dist/{351.css → 181.css} +1 -1
- package/dist/{744.bundle.c459c690581bc8a522d8.js → 19.bundle.a858382f8b2b4ba8d3cb.js} +240 -375
- package/dist/{606.bundle.5d876f5f3dd8287f0a28.js → 202.bundle.96bbb4547a346fe3921f.js} +1420 -750
- package/dist/{926.bundle.dbc9d0e591cb9217fda2.js → 220.bundle.f7e1c96c94245e70f2be.js} +990 -400
- package/dist/221.bundle.e2afcda7523b858d7edb.js +1723 -0
- package/dist/221.css +2 -0
- package/dist/{664.bundle.09abae984223969d1bde.js → 23.bundle.e008ad788170f2ed5569.js} +5 -6
- package/dist/{976.bundle.3f8bfb620791f4508420.js → 236.bundle.80a95257cee3c60edce1.js} +88 -104
- package/dist/{55.bundle.550a823e75eb608e8d5e.js → 250.bundle.4bebed43526c7e06344f.js} +52 -36
- package/dist/{973.bundle.5aa91607481865ead93f.js → 281.bundle.1d024348a9e68cabcb75.js} +18 -14
- package/dist/{82.bundle.978be6f7595202cd342b.js → 342.bundle.4949499cddc0e73aed86.js} +1765 -476
- package/dist/{404.bundle.83acdec604ed84f4b772.js → 359.bundle.293ba004301607ab27ff.js} +46 -131
- package/dist/{192.bundle.655fc9c5aeff41110aa9.js → 370.bundle.28d7737cee0832695236.js} +113 -99
- package/dist/{790.bundle.08e37fd3b64af8dd8e78.js → 410.bundle.492283c5b53922d55610.js} +11 -9
- package/dist/{151.bundle.31ea35044218837bf73f.js → 417.bundle.af0a207c29b109f84159.js} +49 -17
- package/dist/{569.bundle.c8e771a8d28e237b32be.js → 451.bundle.1c714bfb8b66d3a5adfb.js} +86 -106
- package/dist/{581.bundle.dc6197189f7c88c27d4c.js → 471.bundle.4aaec34d87b0c93687c1.js} +78 -99
- package/dist/{199.bundle.251f86c6e2eee85c49a5.js → 506.bundle.0e2f4377f64c0c78e5f9.js} +11 -9
- package/dist/{531.bundle.2a82fb1d69e5b57cc72b.js → 530.bundle.a03b6f942ace3e1baa1e.js} +726 -447
- package/dist/579.css +1 -0
- package/dist/{935.bundle.deeffff0e4f7b528e3c3.js → 604.bundle.a51f83e64004bca5f497.js} +2 -3
- package/dist/613.bundle.b5c524ec95748332cb1d.js +532 -0
- package/dist/{984.bundle.0c8b7d8388a662ad5ebc.js → 663.bundle.5bed0c9a4ac30d4be7e9.js} +68 -38
- package/dist/{205.bundle.b5a473c200dcf2bbcdb4.js → 686.bundle.dccef1f36e4bc79bcc48.js} +6 -6
- package/dist/{50.bundle.bec52570fe00c2ccced8.js → 687.bundle.aefdf23ca61906e42117.js} +218 -9
- package/dist/{331.bundle.bd0c13931a21d53086c9.js → 743.bundle.4bfe6e562ffb2c22708f.js} +26281 -21326
- package/dist/{728.bundle.d13856835357400fef82.js → 774.bundle.7528cba56a1407357144.js} +95 -64
- package/dist/{381.bundle.0905e683605fcbc0895f.js → 775.bundle.2285e7e0e67878948c0d.js} +16 -16
- package/dist/{283.bundle.b43e001c27e02b0199aa.js → 782.bundle.98fa888b2e3f8ad7d37e.js} +117 -67
- package/dist/{642.bundle.1ab1e9ea67caeaedb189.js → 814.bundle.5ab8b6dbbade2e65975f.js} +6 -6
- package/dist/{799.bundle.758558e64147e5aad612.js → 822.bundle.00de6455c18be0307b41.js} +81 -34
- package/dist/831.bundle.83658f62fcc769043605.js +16700 -0
- package/dist/{707.bundle.9622c314b0ea3488d69a.js → 877.bundle.896122a750e45a7719ae.js} +1022 -708
- package/dist/{953.bundle.3b0189ebc11cf0946f18.js → 886.bundle.7324d84913daffb6a4c4.js} +34 -29
- package/dist/945.min.worker.js +1 -1
- package/dist/945.min.worker.js.map +1 -1
- package/dist/{270.bundle.4564621556b0f963a004.js → 957.bundle.8c09a01840ab8aa32734.js} +7093 -987
- package/dist/{208.bundle.05451122c341d80d3c22.js → 99.bundle.eff869422ff7114f5403.js} +85 -104
- package/dist/_redirects +1 -1
- package/dist/app-config.js +35 -17
- package/dist/{app.bundle.d2ebd2fcc8b88864ebeb.js → app.bundle.ccda811fb90f522f9ec2.js} +71937 -66734
- package/dist/app.bundle.css +13 -12
- package/dist/assets/yandex-browser-manifest.json +1 -1
- package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
- package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
- package/dist/{dicom-microscopy-viewer.bundle.aa60bdf008c32c39cfd7.js → dicom-microscopy-viewer.bundle.2c146384eb9466d02ff8.js} +5 -4
- package/dist/es6-shim.min.js +3569 -2
- package/dist/google.js +8 -7
- package/dist/index.html +1 -1
- package/dist/{index.worker.1c69152d710fa7b84bce.worker.js → index.worker.e62ecca63f1a2e124230.worker.js} +2 -2
- package/dist/index.worker.e62ecca63f1a2e124230.worker.js.map +1 -0
- package/dist/init-service-worker.js +3 -5
- package/dist/oidc-client.min.js +10857 -39
- package/dist/polyfill.min.js +184 -1
- package/dist/silent-refresh.html +18 -9
- package/dist/sw.js +1 -1
- package/package.json +20 -22
- package/dist/616.bundle.d0581701281977bea39b.js +0 -685
- package/dist/780.bundle.fd0f13dc92e9caa0581e.js +0 -4769
- package/dist/index.worker.1c69152d710fa7b84bce.worker.js.map +0 -1
- /package/dist/{806.css → 19.css} +0 -0
- /package/dist/{55.css → 250.css} +0 -0
- /package/dist/{707.css → 877.css} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[208],{
|
|
1
|
+
(self["webpackChunk"] = self["webpackChunk"] || []).push([[99],{
|
|
3
2
|
|
|
4
|
-
/***/
|
|
3
|
+
/***/ 7395:
|
|
5
4
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
5
|
|
|
6
|
+
"use strict";
|
|
7
7
|
// ESM COMPAT FLAG
|
|
8
8
|
__webpack_require__.r(__webpack_exports__);
|
|
9
9
|
|
|
@@ -12,50 +12,24 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
12
12
|
"default": () => (/* binding */ basic_test_mode_src)
|
|
13
13
|
});
|
|
14
14
|
|
|
15
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
16
|
-
var src = __webpack_require__(
|
|
17
|
-
// EXTERNAL MODULE: ../../ui/src/index.js +
|
|
18
|
-
var ui_src = __webpack_require__(
|
|
19
|
-
|
|
15
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 64 modules
|
|
16
|
+
var src = __webpack_require__(67869);
|
|
17
|
+
// EXTERNAL MODULE: ../../ui/src/index.js + 485 modules
|
|
18
|
+
var ui_src = __webpack_require__(71783);
|
|
19
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 331 modules
|
|
20
|
+
var esm = __webpack_require__(3743);
|
|
21
|
+
;// CONCATENATED MODULE: ../../../modes/basic-test-mode/src/toolbarButtons.ts
|
|
20
22
|
// TODO: torn, can either bake this here; or have to create a whole new button type
|
|
21
23
|
// Only ways that you can pass in a custom React component for render :l
|
|
22
24
|
|
|
23
25
|
|
|
26
|
+
|
|
24
27
|
const {
|
|
25
28
|
windowLevelPresets
|
|
26
29
|
} = src.defaults;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
* @param {*} id
|
|
31
|
-
* @param {*} icon
|
|
32
|
-
* @param {*} label
|
|
33
|
-
*/
|
|
34
|
-
function _createButton(type, id, icon, label, commands, tooltip, uiType) {
|
|
35
|
-
return {
|
|
36
|
-
id,
|
|
37
|
-
icon,
|
|
38
|
-
label,
|
|
39
|
-
type,
|
|
40
|
-
commands,
|
|
41
|
-
tooltip,
|
|
42
|
-
uiType
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function _createCommands(commandName, toolName, toolGroupIds) {
|
|
46
|
-
return toolGroupIds.map(toolGroupId => ({
|
|
47
|
-
/* It's a command that is being run when the button is clicked. */
|
|
48
|
-
commandName,
|
|
49
|
-
commandOptions: {
|
|
50
|
-
toolName,
|
|
51
|
-
toolGroupId
|
|
52
|
-
},
|
|
53
|
-
context: 'CORNERSTONE'
|
|
54
|
-
}));
|
|
55
|
-
}
|
|
56
|
-
const _createActionButton = _createButton.bind(null, 'action');
|
|
57
|
-
const _createToggleButton = _createButton.bind(null, 'toggle');
|
|
58
|
-
const _createToolButton = _createButton.bind(null, 'tool');
|
|
30
|
+
const _createActionButton = src/* ToolbarService */.Ok._createButton.bind(null, 'action');
|
|
31
|
+
const _createToggleButton = src/* ToolbarService */.Ok._createButton.bind(null, 'toggle');
|
|
32
|
+
const _createToolButton = src/* ToolbarService */.Ok._createButton.bind(null, 'tool');
|
|
59
33
|
|
|
60
34
|
/**
|
|
61
35
|
*
|
|
@@ -78,6 +52,16 @@ function _createWwwcPreset(preset, title, subtitle) {
|
|
|
78
52
|
}]
|
|
79
53
|
};
|
|
80
54
|
}
|
|
55
|
+
const ReferenceLinesCommands = [{
|
|
56
|
+
commandName: 'setSourceViewportForReferenceLinesTool',
|
|
57
|
+
context: 'CORNERSTONE'
|
|
58
|
+
}, {
|
|
59
|
+
commandName: 'setToolActive',
|
|
60
|
+
commandOptions: {
|
|
61
|
+
toolName: 'ReferenceLines'
|
|
62
|
+
},
|
|
63
|
+
context: 'CORNERSTONE'
|
|
64
|
+
}];
|
|
81
65
|
const toolbarButtons = [
|
|
82
66
|
// Measurement
|
|
83
67
|
{
|
|
@@ -391,16 +375,24 @@ const toolbarButtons = [
|
|
|
391
375
|
commandOptions: {},
|
|
392
376
|
context: 'CORNERSTONE'
|
|
393
377
|
}], 'Flip Horizontal'), _createToggleButton('StackImageSync', 'link', 'Stack Image Sync', [{
|
|
394
|
-
commandName: 'toggleStackImageSync'
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
378
|
+
commandName: 'toggleStackImageSync'
|
|
379
|
+
}], 'Enable position synchronization on stack viewports', {
|
|
380
|
+
listeners: {
|
|
381
|
+
[esm.EVENTS.STACK_VIEWPORT_NEW_STACK]: {
|
|
382
|
+
commandName: 'toggleStackImageSync',
|
|
383
|
+
commandOptions: {
|
|
384
|
+
toggledState: true
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}), _createToggleButton('ReferenceLines', 'tool-referenceLines',
|
|
398
389
|
// change this with the new icon
|
|
399
|
-
'Reference Lines',
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
390
|
+
'Reference Lines', ReferenceLinesCommands, 'Show Reference Lines', {
|
|
391
|
+
listeners: {
|
|
392
|
+
[esm.EVENTS.STACK_VIEWPORT_NEW_STACK]: ReferenceLinesCommands,
|
|
393
|
+
[esm.EVENTS.ACTIVE_VIEWPORT_ID_CHANGED]: ReferenceLinesCommands
|
|
394
|
+
}
|
|
395
|
+
}), _createToolButton('StackScroll', 'tool-stack-scroll', 'Stack Scroll', [{
|
|
404
396
|
commandName: 'setToolActive',
|
|
405
397
|
commandOptions: {
|
|
406
398
|
toolName: 'StackScroll'
|
|
@@ -451,7 +443,7 @@ const package_namespaceObject = JSON.parse('{"u2":"@ohif/mode-test"}');
|
|
|
451
443
|
|
|
452
444
|
const id = package_namespaceObject.u2;
|
|
453
445
|
|
|
454
|
-
;// CONCATENATED MODULE: ../../../modes/basic-test-mode/src/initToolGroups.
|
|
446
|
+
;// CONCATENATED MODULE: ../../../modes/basic-test-mode/src/initToolGroups.ts
|
|
455
447
|
function initDefaultToolGroup(extensionManager, toolGroupService, commandsManager, toolGroupId) {
|
|
456
448
|
const utilityModule = extensionManager.getModuleEntry('@ohif/extension-cornerstone.utilityModule.tools');
|
|
457
449
|
const {
|
|
@@ -481,7 +473,18 @@ function initDefaultToolGroup(extensionManager, toolGroupService, commandsManage
|
|
|
481
473
|
passive: [{
|
|
482
474
|
toolName: toolNames.Length
|
|
483
475
|
}, {
|
|
484
|
-
toolName: toolNames.ArrowAnnotate
|
|
476
|
+
toolName: toolNames.ArrowAnnotate,
|
|
477
|
+
configuration: {
|
|
478
|
+
getTextCallback: (callback, eventDetails) => commandsManager.runCommand('arrowTextCallback', {
|
|
479
|
+
callback,
|
|
480
|
+
eventDetails
|
|
481
|
+
}),
|
|
482
|
+
changeTextCallback: (data, eventDetails, callback) => commandsManager.runCommand('arrowTextCallback', {
|
|
483
|
+
callback,
|
|
484
|
+
data,
|
|
485
|
+
eventDetails
|
|
486
|
+
})
|
|
487
|
+
}
|
|
485
488
|
}, {
|
|
486
489
|
toolName: toolNames.Bidirectional
|
|
487
490
|
}, {
|
|
@@ -507,20 +510,7 @@ function initDefaultToolGroup(extensionManager, toolGroupService, commandsManage
|
|
|
507
510
|
toolName: toolNames.ReferenceLines
|
|
508
511
|
}]
|
|
509
512
|
};
|
|
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);
|
|
513
|
+
toolGroupService.createToolGroupAndAddTools(toolGroupId, tools);
|
|
524
514
|
}
|
|
525
515
|
function initSRToolGroup(extensionManager, toolGroupService, commandsManager) {
|
|
526
516
|
const SRUtilityModule = extensionManager.getModuleEntry('@ohif/extension-cornerstone-dicom-sr.utilityModule.tools');
|
|
@@ -570,21 +560,8 @@ function initSRToolGroup(extensionManager, toolGroupService, commandsManager) {
|
|
|
570
560
|
// disabled
|
|
571
561
|
};
|
|
572
562
|
|
|
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
563
|
const toolGroupId = 'SRToolGroup';
|
|
587
|
-
toolGroupService.createToolGroupAndAddTools(toolGroupId, tools
|
|
564
|
+
toolGroupService.createToolGroupAndAddTools(toolGroupId, tools);
|
|
588
565
|
}
|
|
589
566
|
function initMPRToolGroup(extensionManager, toolGroupService, commandsManager) {
|
|
590
567
|
const utilityModule = extensionManager.getModuleEntry('@ohif/extension-cornerstone.utilityModule.tools');
|
|
@@ -615,7 +592,18 @@ function initMPRToolGroup(extensionManager, toolGroupService, commandsManager) {
|
|
|
615
592
|
passive: [{
|
|
616
593
|
toolName: toolNames.Length
|
|
617
594
|
}, {
|
|
618
|
-
toolName: toolNames.ArrowAnnotate
|
|
595
|
+
toolName: toolNames.ArrowAnnotate,
|
|
596
|
+
configuration: {
|
|
597
|
+
getTextCallback: (callback, eventDetails) => commandsManager.runCommand('arrowTextCallback', {
|
|
598
|
+
callback,
|
|
599
|
+
eventDetails
|
|
600
|
+
}),
|
|
601
|
+
changeTextCallback: (data, eventDetails, callback) => commandsManager.runCommand('arrowTextCallback', {
|
|
602
|
+
callback,
|
|
603
|
+
data,
|
|
604
|
+
eventDetails
|
|
605
|
+
})
|
|
606
|
+
}
|
|
619
607
|
}, {
|
|
620
608
|
toolName: toolNames.Bidirectional
|
|
621
609
|
}, {
|
|
@@ -634,7 +622,14 @@ function initMPRToolGroup(extensionManager, toolGroupService, commandsManager) {
|
|
|
634
622
|
toolName: toolNames.SegmentationDisplay
|
|
635
623
|
}],
|
|
636
624
|
disabled: [{
|
|
637
|
-
toolName: toolNames.Crosshairs
|
|
625
|
+
toolName: toolNames.Crosshairs,
|
|
626
|
+
configuration: {
|
|
627
|
+
viewportIndicators: false,
|
|
628
|
+
autoPan: {
|
|
629
|
+
enabled: false,
|
|
630
|
+
panSize: 10
|
|
631
|
+
}
|
|
632
|
+
}
|
|
638
633
|
}, {
|
|
639
634
|
toolName: toolNames.ReferenceLines
|
|
640
635
|
}]
|
|
@@ -643,27 +638,7 @@ function initMPRToolGroup(extensionManager, toolGroupService, commandsManager) {
|
|
|
643
638
|
// disabled
|
|
644
639
|
};
|
|
645
640
|
|
|
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);
|
|
641
|
+
toolGroupService.createToolGroupAndAddTools('mpr', tools);
|
|
667
642
|
}
|
|
668
643
|
function initToolGroups(extensionManager, toolGroupService, commandsManager) {
|
|
669
644
|
initDefaultToolGroup(extensionManager, toolGroupService, commandsManager, 'default');
|
|
@@ -671,7 +646,7 @@ function initToolGroups(extensionManager, toolGroupService, commandsManager) {
|
|
|
671
646
|
initMPRToolGroup(extensionManager, toolGroupService, commandsManager);
|
|
672
647
|
}
|
|
673
648
|
/* harmony default export */ const src_initToolGroups = (initToolGroups);
|
|
674
|
-
;// CONCATENATED MODULE: ../../../modes/basic-test-mode/src/index.
|
|
649
|
+
;// CONCATENATED MODULE: ../../../modes/basic-test-mode/src/index.ts
|
|
675
650
|
|
|
676
651
|
|
|
677
652
|
|
|
@@ -751,7 +726,6 @@ function modeFactory() {
|
|
|
751
726
|
const activateTool = () => {
|
|
752
727
|
toolbarService.recordInteraction({
|
|
753
728
|
groupId: 'WindowLevel',
|
|
754
|
-
itemId: 'WindowLevel',
|
|
755
729
|
interactionType: 'tool',
|
|
756
730
|
commands: [{
|
|
757
731
|
commandName: 'setToolActive',
|
|
@@ -859,6 +833,13 @@ const mode = {
|
|
|
859
833
|
};
|
|
860
834
|
/* harmony default export */ const basic_test_mode_src = (mode);
|
|
861
835
|
|
|
836
|
+
/***/ }),
|
|
837
|
+
|
|
838
|
+
/***/ 78753:
|
|
839
|
+
/***/ (() => {
|
|
840
|
+
|
|
841
|
+
/* (ignored) */
|
|
842
|
+
|
|
862
843
|
/***/ })
|
|
863
844
|
|
|
864
845
|
}]);
|
package/dist/_redirects
CHANGED
package/dist/app-config.js
CHANGED
|
@@ -3,15 +3,11 @@ window.config = {
|
|
|
3
3
|
// whiteLabeling: {},
|
|
4
4
|
extensions: [],
|
|
5
5
|
modes: [],
|
|
6
|
-
customizationService: {
|
|
7
|
-
// Shows a custom route -access via http://localhost:3000/custom
|
|
8
|
-
// helloPage: '@ohif/extension-default.customizationModule.helloPage',
|
|
9
|
-
},
|
|
6
|
+
customizationService: {},
|
|
10
7
|
showStudyList: true,
|
|
11
8
|
// some windows systems have issues with more than 3 web workers
|
|
12
9
|
maxNumberOfWebWorkers: 3,
|
|
13
10
|
// below flag is for performance reasons, but it might not work for all servers
|
|
14
|
-
omitQuotationForMultipartRequest: true,
|
|
15
11
|
showWarningMessageForCrossOrigin: true,
|
|
16
12
|
showCPUFallbackMessage: true,
|
|
17
13
|
showLoadingIndicator: true,
|
|
@@ -37,21 +33,41 @@ window.config = {
|
|
|
37
33
|
// },
|
|
38
34
|
dataSources: [
|
|
39
35
|
{
|
|
40
|
-
friendlyName: 'dcmjs DICOMWeb Server',
|
|
41
36
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
|
|
42
37
|
sourceName: 'dicomweb',
|
|
43
38
|
configuration: {
|
|
39
|
+
friendlyName: 'AWS S3 Static wado server',
|
|
44
40
|
name: 'aws',
|
|
45
|
-
// old server
|
|
46
|
-
// wadoUriRoot: 'https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/wado',
|
|
47
|
-
// qidoRoot: 'https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs',
|
|
48
|
-
// wadoRoot: 'https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs',
|
|
49
|
-
|
|
50
|
-
// new server
|
|
51
41
|
wadoUriRoot: 'https://d33do7qe4w26qo.cloudfront.net/dicomweb',
|
|
52
42
|
qidoRoot: 'https://d33do7qe4w26qo.cloudfront.net/dicomweb',
|
|
53
43
|
wadoRoot: 'https://d33do7qe4w26qo.cloudfront.net/dicomweb',
|
|
54
|
-
|
|
44
|
+
qidoSupportsIncludeField: false,
|
|
45
|
+
imageRendering: 'wadors',
|
|
46
|
+
thumbnailRendering: 'wadors',
|
|
47
|
+
enableStudyLazyLoad: true,
|
|
48
|
+
supportsFuzzyMatching: false,
|
|
49
|
+
supportsWildcard: true,
|
|
50
|
+
staticWado: true,
|
|
51
|
+
singlepart: 'bulkdata,video',
|
|
52
|
+
// whether the data source should use retrieveBulkData to grab metadata,
|
|
53
|
+
// and in case of relative path, what would it be relative to, options
|
|
54
|
+
// are in the series level or study level (some servers like series some study)
|
|
55
|
+
bulkDataURI: {
|
|
56
|
+
enabled: true,
|
|
57
|
+
relativeResolution: 'studies',
|
|
58
|
+
},
|
|
59
|
+
omitQuotationForMultipartRequest: true,
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
|
|
64
|
+
sourceName: 'dicomweb2',
|
|
65
|
+
configuration: {
|
|
66
|
+
friendlyName: 'AWS S3 Static wado secondary server',
|
|
67
|
+
name: 'aws',
|
|
68
|
+
wadoUriRoot: 'https://d28o5kq0jsoob5.cloudfront.net/dicomweb',
|
|
69
|
+
qidoRoot: 'https://d28o5kq0jsoob5.cloudfront.net/dicomweb',
|
|
70
|
+
wadoRoot: 'https://d28o5kq0jsoob5.cloudfront.net/dicomweb',
|
|
55
71
|
qidoSupportsIncludeField: false,
|
|
56
72
|
supportsReject: false,
|
|
57
73
|
imageRendering: 'wadors',
|
|
@@ -68,29 +84,31 @@ window.config = {
|
|
|
68
84
|
enabled: true,
|
|
69
85
|
relativeResolution: 'studies',
|
|
70
86
|
},
|
|
87
|
+
omitQuotationForMultipartRequest: true,
|
|
71
88
|
},
|
|
72
89
|
},
|
|
73
90
|
{
|
|
74
|
-
friendlyName: 'dicomweb delegating proxy',
|
|
75
91
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomwebproxy',
|
|
76
92
|
sourceName: 'dicomwebproxy',
|
|
77
93
|
configuration: {
|
|
94
|
+
friendlyName: 'dicomweb delegating proxy',
|
|
78
95
|
name: 'dicomwebproxy',
|
|
79
96
|
},
|
|
80
97
|
},
|
|
81
98
|
{
|
|
82
|
-
friendlyName: 'dicom json',
|
|
83
99
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomjson',
|
|
84
100
|
sourceName: 'dicomjson',
|
|
85
101
|
configuration: {
|
|
102
|
+
friendlyName: 'dicom json',
|
|
86
103
|
name: 'json',
|
|
87
104
|
},
|
|
88
105
|
},
|
|
89
106
|
{
|
|
90
|
-
friendlyName: 'dicom local',
|
|
91
107
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomlocal',
|
|
92
108
|
sourceName: 'dicomlocal',
|
|
93
|
-
configuration: {
|
|
109
|
+
configuration: {
|
|
110
|
+
friendlyName: 'dicom local',
|
|
111
|
+
},
|
|
94
112
|
},
|
|
95
113
|
],
|
|
96
114
|
httpErrorHandler: error => {
|