@ohif/app 3.8.0-beta.5 → 3.8.0-beta.51

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.
Files changed (55) hide show
  1. package/dist/{12.bundle.1c0fcebb2e63f538b03b.js → 12.bundle.505ff8d33e3b91db6c4b.js} +9 -11
  2. package/dist/{125.bundle.253395f320b72180da63.js → 125.bundle.df666cb677e5a8982157.js} +4 -5
  3. package/dist/{663.bundle.68a67d3504dc24cccc1a.js → 170.bundle.3364dca0af95fde51ec6.js} +97 -89
  4. package/dist/{181.bundle.2ddc6f90740895a3949c.js → 181.bundle.aff453c348111303ceac.js} +107 -74
  5. package/dist/181.css +1 -1
  6. package/dist/{370.bundle.085badd6055e8feea84f.js → 185.bundle.892c8cbfeaaa14540821.js} +338 -209
  7. package/dist/{19.bundle.05ccf775cb70682dfcdf.js → 19.bundle.15ee26f7912d361e90b6.js} +127 -136
  8. package/dist/{99.bundle.51efd3493cd1de6bf63c.js → 199.bundle.a6fc393364e32b43a307.js} +215 -162
  9. package/dist/202.bundle.495cba6bbee744cf8f72.js +18239 -0
  10. package/dist/20fc4c659b85ccd2a9c0.wasm +0 -0
  11. package/dist/{220.bundle.f7e1c96c94245e70f2be.js → 223.bundle.d4ac6ef2cfe47a9c4afc.js} +4422 -3671
  12. package/dist/{23.bundle.e008ad788170f2ed5569.js → 23.bundle.9d989522a6e4fdcb9c72.js} +1 -1
  13. package/dist/{250.bundle.8084960e3318cda37317.js → 250.bundle.577da106dd763c7bf9d0.js} +22 -27
  14. package/dist/{281.bundle.64640869327edc0d2cae.js → 281.bundle.849a5e58fb2c0a9012dc.js} +23 -25
  15. package/dist/{82.bundle.9e269153bafc15562988.js → 290.bundle.744ac8d04daee807702f.js} +1244 -695
  16. package/dist/{359.bundle.e2f5680a854894c32944.js → 359.bundle.59878f46325c60f5d603.js} +27 -30
  17. package/dist/{410.bundle.8bb12b01e1f838340950.js → 410.bundle.ac46ff16910fa2785bcc.js} +24 -28
  18. package/dist/{417.bundle.af0a207c29b109f84159.js → 417.bundle.5c66801d23d0e98c00e6.js} +2 -2
  19. package/dist/{451.bundle.9fd36f52ff69594f0669.js → 451.bundle.311cd3be9916e08450e9.js} +28 -41
  20. package/dist/{221.bundle.da7732c6f158b6f2b0d8.js → 466.bundle.43f3b29a2e1665bb9a65.js} +161 -151
  21. package/dist/{471.bundle.b3d77b83b1593c09a504.js → 471.bundle.eeb78105b59e688832a6.js} +31 -35
  22. package/dist/{788.bundle.428c065311327135d817.js → 483.bundle.3a3d61f78d5f1f8ad574.js} +131 -180
  23. package/dist/{506.bundle.c3d01c4b6cc01096ce9e.js → 506.bundle.97b3dd0fd0f4467dc21c.js} +13 -18
  24. package/dist/{530.bundle.a03b6f942ace3e1baa1e.js → 530.bundle.f904325ef4195d69ac0e.js} +10 -3
  25. package/dist/{613.bundle.de79995392c3fd2e9637.js → 613.bundle.72d635ed76fa208309f7.js} +76 -50
  26. package/dist/{774.bundle.4b2dc46a35012b898e1a.js → 661.bundle.949c984fe2f9f753b65c.js} +1851 -8944
  27. package/dist/{686.bundle.dccef1f36e4bc79bcc48.js → 686.bundle.62c827fe4f0d054c164e.js} +4 -5
  28. package/dist/{687.bundle.763e03b2624b6cc03ad2.js → 687.bundle.a0c6c77073595745e58e.js} +19 -35
  29. package/dist/{342.bundle.22d2df5cf6d83b24acee.js → 738.bundle.bf1d2c76e385a091999d.js} +938 -571
  30. package/dist/{814.bundle.d45ba7f8b856fbd4e75d.js → 814.bundle.477d51b23a2fe79a5b96.js} +9 -11
  31. package/dist/{822.bundle.891f2e57b1b7bc2f4cb4.js → 822.bundle.8b745e28bc9eb9afbc61.js} +14 -16
  32. package/dist/{757.bundle.ec8301d8e70d2b990f65.js → 831.bundle.127a3064e8844d6d2c82.js} +1 -368
  33. package/dist/{886.bundle.d5116d9b8ea4964b68a0.js → 886.bundle.94a4536167d0f8cae1ae.js} +19 -23
  34. package/dist/95.bundle.2236101be3cc36b322e8.js +8769 -0
  35. package/dist/{236.bundle.09d155c6f44b5a44e4bf.js → 965.bundle.5a31aeb079b7e72cec9c.js} +104 -126
  36. package/dist/app.bundle.css +11 -11
  37. package/dist/{app.bundle.671d2bb084d88c0cf3b7.js → app.bundle.ef06991fb9bbafce36ed.js} +185194 -61390
  38. package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
  39. package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
  40. package/dist/{dicom-microscopy-viewer.bundle.2c146384eb9466d02ff8.js → dicom-microscopy-viewer.bundle.a7d5060eead13771e784.js} +1 -1
  41. package/dist/index.html +1 -1
  42. package/dist/{index.worker.e62ecca63f1a2e124230.worker.js → index.worker.64c896c4316fcd506666.worker.js} +2 -2
  43. package/dist/index.worker.64c896c4316fcd506666.worker.js.map +1 -0
  44. package/dist/serve.json +12 -0
  45. package/dist/sw.js +1 -1
  46. package/package.json +21 -21
  47. package/dist/202.bundle.d3490836f71e001dd30f.js +0 -6336
  48. package/dist/604.bundle.a51f83e64004bca5f497.js +0 -1848
  49. package/dist/743.bundle.489f7df3a089d4d374e1.js +0 -78007
  50. package/dist/75788f12450d4c5ed494.wasm +0 -0
  51. package/dist/775.bundle.2285e7e0e67878948c0d.js +0 -1009
  52. package/dist/957.bundle.9ea4506963ef8b2d84ba.js +0 -30077
  53. package/dist/index.worker.e62ecca63f1a2e124230.worker.js.map +0 -1
  54. /package/dist/{82.css → 290.css} +0 -0
  55. /package/dist/{221.css → 466.css} +0 -0
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- (self["webpackChunk"] = self["webpackChunk"] || []).push([[23],{
2
+ (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[23],{
3
3
 
4
4
  /***/ 7023:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- (self["webpackChunk"] = self["webpackChunk"] || []).push([[250,579],{
2
+ (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[250,579],{
3
3
 
4
4
  /***/ 76516:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
@@ -22,13 +22,13 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
22
22
  // EXTERNAL MODULE: ../../../node_modules/lodash.debounce/index.js
23
23
  var lodash_debounce = __webpack_require__(8324);
24
24
  var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce);
25
- // EXTERNAL MODULE: ../../ui/src/index.js + 485 modules
26
- var src = __webpack_require__(71783);
25
+ // EXTERNAL MODULE: ../../ui/src/index.js + 487 modules
26
+ var src = __webpack_require__(18414);
27
27
  ;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/DicomMicroscopyViewport.css
28
28
  // extracted by mini-css-extract-plugin
29
29
 
30
30
  // EXTERNAL MODULE: ../../../node_modules/classnames/index.js
31
- var classnames = __webpack_require__(44921);
31
+ var classnames = __webpack_require__(33901);
32
32
  var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
33
33
  ;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/components/ViewportOverlay/listComponentGenerator.tsx
34
34
  const listComponentGenerator = props => {
@@ -59,8 +59,8 @@ const listComponentGenerator = props => {
59
59
 
60
60
  // EXTERNAL MODULE: ../../../node_modules/moment/moment.js
61
61
  var moment_moment = __webpack_require__(71271);
62
- // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 331 modules
63
- var esm = __webpack_require__(3743);
62
+ // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 376 modules
63
+ var esm = __webpack_require__(64225);
64
64
  ;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/components/ViewportOverlay/utils.ts
65
65
 
66
66
 
@@ -95,8 +95,7 @@ function utils_formatNumberPrecision(number, precision) {
95
95
  * @param {string} strFormat
96
96
  * @returns {string} formatted date.
97
97
  */
98
- function utils_formatDICOMDate(date) {
99
- let strFormat = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'MMM D, YYYY';
98
+ function utils_formatDICOMDate(date, strFormat = 'MMM D, YYYY') {
100
99
  return moment(date, 'YYYYMMDD').format(strFormat);
101
100
  }
102
101
 
@@ -113,8 +112,7 @@ function utils_formatDICOMDate(date) {
113
112
  * @param {string} strFormat
114
113
  * @returns {string} formatted name.
115
114
  */
116
- function utils_formatDICOMTime(time) {
117
- let strFormat = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'HH:mm:ss';
115
+ function utils_formatDICOMTime(time, strFormat = 'HH:mm:ss') {
118
116
  return moment(time, 'HH:mm:ss').format(strFormat);
119
117
  }
120
118
 
@@ -173,14 +171,13 @@ function getCompression(imageId) {
173
171
  * @param {*} extensionManager is used to load the image data.
174
172
  * @returns
175
173
  */
176
- const generateFromConfig = _ref => {
177
- let {
178
- topLeft = [],
179
- topRight = [],
180
- bottomLeft = [],
181
- bottomRight = [],
182
- itemGenerator = () => {}
183
- } = _ref;
174
+ const generateFromConfig = ({
175
+ topLeft = [],
176
+ topRight = [],
177
+ bottomLeft = [],
178
+ bottomRight = [],
179
+ itemGenerator = () => {}
180
+ }) => {
184
181
  return props => {
185
182
  const topLeftClass = 'top-viewport left-viewport text-primary-light';
186
183
  const topRightClass = 'top-viewport right-viewport-scrollbar text-primary-light';
@@ -281,11 +278,10 @@ DICOMwebClient._buildMultipartAcceptHeaderFieldValue = () => {
281
278
  * @param param0
282
279
  * @returns
283
280
  */
284
- function getDicomWebClient(_ref) {
285
- let {
286
- extensionManager,
287
- servicesManager
288
- } = _ref;
281
+ function getDicomWebClient({
282
+ extensionManager,
283
+ servicesManager
284
+ }) {
289
285
  const dataSourceConfig = window.config.dataSources.find(ds => ds.sourceName === extensionManager.activeDataSource);
290
286
  const {
291
287
  userAuthenticationService
@@ -343,8 +339,8 @@ function getDicomWebClient(_ref) {
343
339
  }
344
340
  // EXTERNAL MODULE: ../../../node_modules/dcmjs/build/dcmjs.es.js
345
341
  var dcmjs_es = __webpack_require__(67540);
346
- // EXTERNAL MODULE: ../../../extensions/default/src/index.ts + 76 modules
347
- var default_src = __webpack_require__(56342);
342
+ // EXTERNAL MODULE: ../../../extensions/default/src/index.ts + 78 modules
343
+ var default_src = __webpack_require__(78738);
348
344
  ;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/utils/cleanDenaturalizedDataset.ts
349
345
 
350
346
  function isPrimitive(v) {
@@ -452,8 +448,7 @@ class DicomMicroscopyViewport extends react.Component {
452
448
  * @param autoselect
453
449
  * @returns
454
450
  */
455
- getNearbyROI(event) {
456
- let autoselect = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
451
+ getNearbyROI(event, autoselect = true) {
457
452
  const symbols = Object.getOwnPropertySymbols(this.viewer);
458
453
  const _drawingSource = symbols.find(p => p.description === 'drawingSource');
459
454
  const _pyramid = symbols.find(p => p.description === 'pyramid');
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- (self["webpackChunk"] = self["webpackChunk"] || []).push([[281],{
2
+ (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[281],{
3
3
 
4
4
  /***/ 42281:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
@@ -15,6 +15,8 @@ __webpack_require__.d(__webpack_exports__, {
15
15
 
16
16
  // EXTERNAL MODULE: ../../core/src/index.ts + 65 modules
17
17
  var src = __webpack_require__(71771);
18
+ // EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
19
+ var i18next = __webpack_require__(73577);
18
20
  ;// CONCATENATED MODULE: ../../../modes/microscopy/package.json
19
21
  const package_namespaceObject = JSON.parse('{"u2":"@ohif/mode-microscopy"}');
20
22
  ;// CONCATENATED MODULE: ../../../modes/microscopy/src/id.js
@@ -133,6 +135,7 @@ const toolbarButtons = [
133
135
 
134
136
 
135
137
 
138
+
136
139
  const ohif = {
137
140
  layout: '@ohif/extension-default.layoutTemplateModule.viewerLayout',
138
141
  sopClassHandler: '@ohif/extension-default.sopClassHandlerModule.stack',
@@ -160,25 +163,23 @@ const extensionDependencies = {
160
163
  '@ohif/extension-dicom-video': '^3.0.1',
161
164
  '@ohif/extension-dicom-microscopy': '^3.0.0'
162
165
  };
163
- function modeFactory(_ref) {
164
- let {
165
- modeConfiguration
166
- } = _ref;
166
+ function modeFactory({
167
+ modeConfiguration
168
+ }) {
167
169
  return {
168
170
  // TODO: We're using this as a route segment
169
171
  // We should not be.
170
172
  id: id,
171
173
  routeName: 'microscopy',
172
- displayName: 'Microscopy',
174
+ displayName: i18next/* default */.Z.t('Modes:Microscopy'),
173
175
  /**
174
176
  * Lifecycle hooks
175
177
  */
176
- onModeEnter: _ref2 => {
177
- let {
178
- servicesManager,
179
- extensionManager,
180
- commandsManager
181
- } = _ref2;
178
+ onModeEnter: ({
179
+ servicesManager,
180
+ extensionManager,
181
+ commandsManager
182
+ }) => {
182
183
  const {
183
184
  toolbarService
184
185
  } = servicesManager.services;
@@ -186,10 +187,9 @@ function modeFactory(_ref) {
186
187
  toolbarService.addButtons(src_toolbarButtons);
187
188
  toolbarService.createButtonSection('primary', ['MeasurementTools', 'dragPan']);
188
189
  },
189
- onModeExit: _ref3 => {
190
- let {
191
- servicesManager
192
- } = _ref3;
190
+ onModeExit: ({
191
+ servicesManager
192
+ }) => {
193
193
  const {
194
194
  toolbarService
195
195
  } = servicesManager.services;
@@ -199,10 +199,9 @@ function modeFactory(_ref) {
199
199
  study: [],
200
200
  series: []
201
201
  },
202
- isValidMode: _ref4 => {
203
- let {
204
- modalities
205
- } = _ref4;
202
+ isValidMode: ({
203
+ modalities
204
+ }) => {
206
205
  const modalities_list = modalities.split('\\');
207
206
 
208
207
  // Slide Microscopy and ECG modality not supported by basic mode yet
@@ -213,11 +212,10 @@ function modeFactory(_ref) {
213
212
  /*init: ({ servicesManager, extensionManager }) => {
214
213
  //defaultViewerRouteInit
215
214
  },*/
216
- layoutTemplate: _ref5 => {
217
- let {
218
- location,
219
- servicesManager
220
- } = _ref5;
215
+ layoutTemplate: ({
216
+ location,
217
+ servicesManager
218
+ }) => {
221
219
  return {
222
220
  id: ohif.layout,
223
221
  props: {