@ohif/app 3.8.0-beta.63 → 3.8.0-beta.65
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/{121.bundle.f6c25e845985d96c423c.js → 121.bundle.fda405f29003c308ce09.js} +4 -4
- package/dist/{155.bundle.9e3dd18c9a3961232504.js → 155.bundle.a57744809d0f46030ee0.js} +12 -7
- package/dist/{188.bundle.528e9ad81159c776affa.js → 188.bundle.c448aed48915741e9f97.js} +2 -2
- package/dist/{270.bundle.fd387adff5b064fca506.js → 270.bundle.16ac8114c5c4ce006f4a.js} +51 -28
- package/dist/{295.bundle.c132f53e1397ef9d432a.js → 295.bundle.57700cd41fd87e1521b4.js} +4 -4
- package/dist/{339.bundle.591a0a6075220b14c249.js → 339.bundle.57dac3644803cefe3e3d.js} +27 -69
- package/dist/{68.bundle.efc5ba2a44aa2b96ee1a.js → 41.bundle.58b85dd990fb6fac615e.js} +280 -494
- package/dist/{250.bundle.d8b502b7ef6afc79a87e.js → 448.bundle.d195aba3aef25ec286d1.js} +284 -388
- package/dist/{530.bundle.ef1ea9d98f7b377a9d3a.js → 530.bundle.72d9812f117036615a38.js} +2 -2
- package/dist/{544.bundle.05b543f28d0c124950ef.js → 544.bundle.c3009e245ceb1554c70a.js} +5 -17
- package/dist/{559.bundle.fc08eab02848a451ed34.js → 559.bundle.05bd51e94422a2cab116.js} +6 -10
- package/dist/{594.bundle.3a5fa2e7d5636ddccb32.js → 594.bundle.14b122ab995e4b13e652.js} +147 -188
- package/dist/{50.bundle.55ad62f1f656f5fd5a36.js → 638.bundle.a63003e18bed65f227bb.js} +159 -395
- package/dist/699.bundle.efc67171e6d212f25a24.js +774 -0
- package/dist/{963.bundle.874395d7b2d80f9e5831.js → 701.bundle.bc40f1a7d5d6b1a4dd38.js} +554 -215
- package/dist/{724.bundle.294a41af83a5af33f3cc.js → 724.bundle.3945f8d2e9c8b0b23628.js} +86 -164
- package/dist/{862.bundle.c8eba798644149650775.js → 862.bundle.d787dac01f4567560a42.js} +2 -2
- package/dist/{889.bundle.a776c87be9e3580f3437.js → 889.bundle.ffc727aa6d1a74f2138d.js} +180 -207
- package/dist/{704.bundle.842ada45436f1fb029aa.js → 90.bundle.abde898ebd3c74f521f9.js} +323 -334
- package/dist/{905.bundle.73a711d0255cb988fa6e.js → 905.bundle.6b5b42b2403e4676bb3a.js} +119 -89
- package/dist/{907.bundle.6932f0458b9e0143c18a.js → 907.bundle.fbd5768fa5b53f9d3f86.js} +2 -14
- package/dist/{961.bundle.6cf1599ed3a2871c040f.js → 961.bundle.8bb5a713fc5a3817c6a6.js} +2 -15
- package/dist/{987.bundle.e7c041a6dfb4ddb41813.js → 987.bundle.91d4867efedd5b4d84cb.js} +5 -1
- package/dist/{app.bundle.22ffa6050ebef98b2066.js → app.bundle.0c24b249dc8b631916ef.js} +2234 -980
- package/dist/app.bundle.css +1 -1
- package/dist/index.html +1 -1
- package/dist/{polySeg.bundle.99be036bab9b7f011b0c.js → polySeg.bundle.c1cec6312eb6c6dc3701.js} +1 -1
- package/dist/sw.js +1 -1
- package/package.json +17 -17
- package/dist/317.bundle.dd0879c5035c4b90fad3.js +0 -562
- /package/dist/{164.bundle.710b5db3fef4d536a59f.js → 164.bundle.ff12d6019a627cda2a6c.js} +0 -0
- /package/dist/{50.css → 638.css} +0 -0
- /package/dist/{963.css → 701.css} +0 -0
|
@@ -13,8 +13,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13
13
|
"default": () => (/* binding */ microscopy_src)
|
|
14
14
|
});
|
|
15
15
|
|
|
16
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
17
|
-
var src = __webpack_require__(
|
|
16
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 67 modules
|
|
17
|
+
var src = __webpack_require__(78198);
|
|
18
18
|
// EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
|
|
19
19
|
var i18next = __webpack_require__(92344);
|
|
20
20
|
;// CONCATENATED MODULE: ../../../modes/microscopy/package.json
|
|
@@ -24,101 +24,131 @@ const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/mode-micro
|
|
|
24
24
|
const id = package_namespaceObject.UU;
|
|
25
25
|
|
|
26
26
|
;// CONCATENATED MODULE: ../../../modes/microscopy/src/toolbarButtons.js
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
*
|
|
30
|
-
* @param {*} type - 'tool' | 'action' | 'toggle'
|
|
31
|
-
* @param {*} id
|
|
32
|
-
* @param {*} icon
|
|
33
|
-
* @param {*} label
|
|
34
|
-
*/
|
|
35
|
-
function _createButton(type, id, icon, label, commands, tooltip) {
|
|
36
|
-
return {
|
|
37
|
-
id,
|
|
38
|
-
icon,
|
|
39
|
-
label,
|
|
40
|
-
type,
|
|
41
|
-
commands,
|
|
42
|
-
tooltip
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
const _createActionButton = _createButton.bind(null, 'action');
|
|
46
|
-
const _createToggleButton = _createButton.bind(null, 'toggle');
|
|
47
|
-
const _createToolButton = _createButton.bind(null, 'tool');
|
|
48
|
-
const toolbarButtons = [
|
|
49
|
-
// Measurement
|
|
50
|
-
{
|
|
27
|
+
|
|
28
|
+
const toolbarButtons = [{
|
|
51
29
|
id: 'MeasurementTools',
|
|
52
|
-
|
|
30
|
+
uiType: 'ohif.splitButton',
|
|
53
31
|
props: {
|
|
54
32
|
groupId: 'MeasurementTools',
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
33
|
+
// group evaluate to determine which item should move to the top
|
|
34
|
+
evaluate: 'evaluate.group.promoteToPrimary',
|
|
35
|
+
primary: src.ToolbarService.createButton({
|
|
36
|
+
id: 'line',
|
|
37
|
+
icon: 'tool-length',
|
|
38
|
+
label: 'Line',
|
|
39
|
+
tooltip: 'Line',
|
|
40
|
+
commands: [{
|
|
41
|
+
commandName: 'setToolActive',
|
|
42
|
+
commandOptions: {
|
|
43
|
+
toolName: 'line'
|
|
44
|
+
},
|
|
45
|
+
context: 'MICROSCOPY'
|
|
46
|
+
}],
|
|
47
|
+
evaluate: 'evaluate.microscopyTool'
|
|
48
|
+
}),
|
|
65
49
|
secondary: {
|
|
66
50
|
icon: 'chevron-down',
|
|
67
|
-
label: '',
|
|
68
|
-
isActive: true,
|
|
69
51
|
tooltip: 'More Measure Tools'
|
|
70
52
|
},
|
|
71
|
-
items: [
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
53
|
+
items: [src.ToolbarService.createButton({
|
|
54
|
+
id: 'line',
|
|
55
|
+
icon: 'tool-length',
|
|
56
|
+
label: 'Line',
|
|
57
|
+
tooltip: 'Line',
|
|
58
|
+
commands: [{
|
|
59
|
+
commandName: 'setToolActive',
|
|
60
|
+
commandOptions: {
|
|
61
|
+
toolName: 'line'
|
|
62
|
+
},
|
|
63
|
+
context: 'MICROSCOPY'
|
|
64
|
+
}],
|
|
65
|
+
evaluate: 'evaluate.microscopyTool'
|
|
66
|
+
}), src.ToolbarService.createButton({
|
|
67
|
+
id: 'point',
|
|
68
|
+
icon: 'tool-point',
|
|
69
|
+
label: 'Point',
|
|
70
|
+
tooltip: 'Point Tool',
|
|
71
|
+
commands: [{
|
|
72
|
+
commandName: 'setToolActive',
|
|
73
|
+
commandOptions: {
|
|
74
|
+
toolName: 'point'
|
|
75
|
+
},
|
|
76
|
+
context: 'MICROSCOPY'
|
|
77
|
+
}],
|
|
78
|
+
evaluate: 'evaluate.microscopyTool'
|
|
79
|
+
}),
|
|
80
|
+
// Point Tool was previously defined
|
|
81
|
+
src.ToolbarService.createButton({
|
|
82
|
+
id: 'polygon',
|
|
83
|
+
icon: 'tool-polygon',
|
|
84
|
+
label: 'Polygon',
|
|
85
|
+
tooltip: 'Polygon Tool',
|
|
86
|
+
commands: [{
|
|
87
|
+
commandName: 'setToolActive',
|
|
88
|
+
commandOptions: {
|
|
89
|
+
toolName: 'polygon'
|
|
90
|
+
},
|
|
91
|
+
context: 'MICROSCOPY'
|
|
92
|
+
}],
|
|
93
|
+
evaluate: 'evaluate.microscopyTool'
|
|
94
|
+
}), src.ToolbarService.createButton({
|
|
95
|
+
id: 'circle',
|
|
96
|
+
icon: 'tool-circle',
|
|
97
|
+
label: 'Circle',
|
|
98
|
+
tooltip: 'Circle Tool',
|
|
99
|
+
commands: [{
|
|
100
|
+
commandName: 'setToolActive',
|
|
101
|
+
commandOptions: {
|
|
102
|
+
toolName: 'circle'
|
|
103
|
+
},
|
|
104
|
+
context: 'MICROSCOPY'
|
|
105
|
+
}],
|
|
106
|
+
evaluate: 'evaluate.microscopyTool'
|
|
107
|
+
}), src.ToolbarService.createButton({
|
|
108
|
+
id: 'box',
|
|
109
|
+
icon: 'tool-rectangle',
|
|
110
|
+
label: 'Box',
|
|
111
|
+
tooltip: 'Box Tool',
|
|
112
|
+
commands: [{
|
|
113
|
+
commandName: 'setToolActive',
|
|
114
|
+
commandOptions: {
|
|
115
|
+
toolName: 'box'
|
|
116
|
+
},
|
|
117
|
+
context: 'MICROSCOPY'
|
|
118
|
+
}],
|
|
119
|
+
evaluate: 'evaluate.microscopyTool'
|
|
120
|
+
}), src.ToolbarService.createButton({
|
|
121
|
+
id: 'freehandpolygon',
|
|
122
|
+
icon: 'tool-freehand-polygon',
|
|
123
|
+
label: 'Freehand Polygon',
|
|
124
|
+
tooltip: 'Freehand Polygon Tool',
|
|
125
|
+
commands: [{
|
|
126
|
+
commandName: 'setToolActive',
|
|
127
|
+
commandOptions: {
|
|
128
|
+
toolName: 'freehandpolygon'
|
|
129
|
+
},
|
|
130
|
+
context: 'MICROSCOPY'
|
|
131
|
+
}],
|
|
132
|
+
evaluate: 'evaluate.microscopyTool'
|
|
133
|
+
}), src.ToolbarService.createButton({
|
|
134
|
+
id: 'freehandline',
|
|
135
|
+
icon: 'tool-freehand-line',
|
|
136
|
+
label: 'Freehand Line',
|
|
137
|
+
tooltip: 'Freehand Line Tool',
|
|
138
|
+
commands: [{
|
|
139
|
+
commandName: 'setToolActive',
|
|
140
|
+
commandOptions: {
|
|
141
|
+
toolName: 'freehandline'
|
|
142
|
+
},
|
|
143
|
+
context: 'MICROSCOPY'
|
|
144
|
+
}],
|
|
145
|
+
evaluate: 'evaluate.microscopyTool'
|
|
146
|
+
})]
|
|
114
147
|
}
|
|
115
|
-
},
|
|
116
|
-
// Pan...
|
|
117
|
-
{
|
|
148
|
+
}, {
|
|
118
149
|
id: 'dragPan',
|
|
119
|
-
|
|
150
|
+
uiType: 'ohif.radioGroup',
|
|
120
151
|
props: {
|
|
121
|
-
type: 'tool',
|
|
122
152
|
icon: 'tool-move',
|
|
123
153
|
label: 'Pan',
|
|
124
154
|
commands: [{
|
|
@@ -127,7 +157,8 @@ const toolbarButtons = [
|
|
|
127
157
|
toolName: 'dragPan'
|
|
128
158
|
},
|
|
129
159
|
context: 'MICROSCOPY'
|
|
130
|
-
}]
|
|
160
|
+
}],
|
|
161
|
+
evaluate: 'evaluate.microscopyTool'
|
|
131
162
|
}
|
|
132
163
|
}];
|
|
133
164
|
/* harmony default export */ const src_toolbarButtons = (toolbarButtons);
|
|
@@ -183,7 +214,6 @@ function modeFactory({
|
|
|
183
214
|
const {
|
|
184
215
|
toolbarService
|
|
185
216
|
} = servicesManager.services;
|
|
186
|
-
toolbarService.init(extensionManager);
|
|
187
217
|
toolbarService.addButtons(src_toolbarButtons);
|
|
188
218
|
toolbarService.createButtonSection('primary', ['MeasurementTools', 'dragPan']);
|
|
189
219
|
},
|
|
@@ -21,8 +21,8 @@ const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/extension-
|
|
|
21
21
|
const id = package_namespaceObject.UU;
|
|
22
22
|
const SOPClassHandlerId = `${id}.sopClassHandlerModule.dicom-pdf`;
|
|
23
23
|
|
|
24
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
25
|
-
var src = __webpack_require__(
|
|
24
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 67 modules
|
|
25
|
+
var src = __webpack_require__(78198);
|
|
26
26
|
;// CONCATENATED MODULE: ../../../extensions/dicom-pdf/src/getSopClassHandlerModule.js
|
|
27
27
|
|
|
28
28
|
|
|
@@ -146,18 +146,6 @@ const dicomPDFExtension = {
|
|
|
146
146
|
component: ExtendedOHIFCornerstonePdfViewport
|
|
147
147
|
}];
|
|
148
148
|
},
|
|
149
|
-
// getCommandsModule({ servicesManager }) {
|
|
150
|
-
// return {
|
|
151
|
-
// definitions: {
|
|
152
|
-
// setToolActive: {
|
|
153
|
-
// commandFn: () => null,
|
|
154
|
-
// storeContexts: [],
|
|
155
|
-
// options: {},
|
|
156
|
-
// },
|
|
157
|
-
// },
|
|
158
|
-
// defaultContext: 'ACTIVE_VIEWPORT::PDF',
|
|
159
|
-
// };
|
|
160
|
-
// },
|
|
161
149
|
getSopClassHandlerModule: getSopClassHandlerModule
|
|
162
150
|
};
|
|
163
151
|
/* harmony default export */ const dicom_pdf_src = (dicomPDFExtension);
|
|
@@ -21,8 +21,8 @@ const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/extension-
|
|
|
21
21
|
const id = package_namespaceObject.UU;
|
|
22
22
|
const SOPClassHandlerId = `${id}.sopClassHandlerModule.dicom-video`;
|
|
23
23
|
|
|
24
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
25
|
-
var src = __webpack_require__(
|
|
24
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 67 modules
|
|
25
|
+
var src = __webpack_require__(78198);
|
|
26
26
|
;// CONCATENATED MODULE: ../../../extensions/dicom-video/src/getSopClassHandlerModule.js
|
|
27
27
|
|
|
28
28
|
|
|
@@ -163,19 +163,6 @@ const dicomVideoExtension = {
|
|
|
163
163
|
component: ExtendedOHIFCornerstoneVideoViewport
|
|
164
164
|
}];
|
|
165
165
|
},
|
|
166
|
-
// getCommandsModule({ servicesManager }) {
|
|
167
|
-
// return {
|
|
168
|
-
// definitions: {
|
|
169
|
-
// setToolActive: {
|
|
170
|
-
// commandFn: ({ toolName, element }) => {
|
|
171
|
-
// },
|
|
172
|
-
// storeContexts: [],
|
|
173
|
-
// options: {},
|
|
174
|
-
// },
|
|
175
|
-
// },
|
|
176
|
-
// defaultContext: 'ACTIVE_VIEWPORT::VIDEO',
|
|
177
|
-
// };
|
|
178
|
-
// },
|
|
179
166
|
getSopClassHandlerModule: getSopClassHandlerModule
|
|
180
167
|
};
|
|
181
168
|
function _getToolAlias(toolName) {
|
|
@@ -115900,13 +115900,17 @@ module.exports = hasPropertyDescriptors;
|
|
|
115900
115900
|
|
|
115901
115901
|
|
|
115902
115902
|
var test = {
|
|
115903
|
+
__proto__: null,
|
|
115903
115904
|
foo: {}
|
|
115904
115905
|
};
|
|
115905
115906
|
|
|
115906
115907
|
var $Object = Object;
|
|
115907
115908
|
|
|
115909
|
+
/** @type {import('.')} */
|
|
115908
115910
|
module.exports = function hasProto() {
|
|
115909
|
-
|
|
115911
|
+
// @ts-expect-error: TS errors on an inherited property for some reason
|
|
115912
|
+
return { __proto__: test }.foo === test.foo
|
|
115913
|
+
&& !(test instanceof $Object);
|
|
115910
115914
|
};
|
|
115911
115915
|
|
|
115912
115916
|
|