@ohif/app 3.14.0-beta.70 → 3.14.0-beta.72

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 (23) hide show
  1. package/dist/{1645.bundle.618a2886.js → 1645.bundle.1a86b10e.js} +11 -28
  2. package/dist/{1283.bundle.f2c2bb56.js → 213.bundle.6bbe580b.js} +4743 -390
  3. package/dist/{8199.bundle.25557805.js → 2894.bundle.770d3d9e.js} +1355 -567
  4. package/dist/{3386.bundle.1a446825.js → 3386.bundle.bdaa8014.js} +14 -5
  5. package/dist/{3044.bundle.039294b9.js → 4500.bundle.79728db8.js} +25 -17
  6. package/dist/{2894.bundle.d612efb2.js → 513.bundle.9c0548cf.js} +1 -1
  7. package/dist/{5143.bundle.67167d39.js → 5143.bundle.1ddc3eb4.js} +66 -42
  8. package/dist/{5320.bundle.0c7b2cb7.js → 5320.bundle.43308cb4.js} +18 -27
  9. package/dist/{5989.bundle.f8096a4e.js → 5989.bundle.6da1ff18.js} +19 -28
  10. package/dist/{4018.bundle.48c288e5.js → 6847.bundle.7fd47a86.js} +32 -5
  11. package/dist/{7464.bundle.492c83ce.js → 7464.bundle.36e9c349.js} +1440 -597
  12. package/dist/{1724.bundle.59b20c59.js → 8699.bundle.c00d7ae1.js} +480 -87
  13. package/dist/{9187.bundle.237037e4.js → 9187.bundle.134a42b2.js} +2 -2
  14. package/dist/{9481.bundle.027aa5ca.js → 9481.bundle.65162f9d.js} +2 -2
  15. package/dist/{9620.bundle.67375c83.js → 9620.bundle.e098e167.js} +2 -2
  16. package/dist/{9892.bundle.8c1ccb0e.js → 9892.bundle.fe68e426.js} +3 -3
  17. package/dist/{app.bundle.ca3d1da9.js → app.bundle.58791784.js} +25 -22
  18. package/dist/{compute.bundle.79a2d455.js → compute.bundle.09be4c13.js} +8 -8
  19. package/dist/index.html +1 -1
  20. package/dist/{interpolation.bundle.302d242b.js → interpolation.bundle.1eeebcfe.js} +5 -5
  21. package/dist/{polySeg.bundle.aaf002b1.js → polySeg.bundle.5bc24361.js} +8 -8
  22. package/dist/sw.js +1 -1
  23. package/package.json +6 -6
@@ -5170,7 +5170,7 @@ __webpack_require__.d(__webpack_exports__, {
5170
5170
  store: () => (/* reexport module object */ _store_index_js__rspack_import_1),
5171
5171
  synchronizers: () => (/* reexport module object */ _synchronizers_index_js__rspack_import_5),
5172
5172
  utilities: () => (/* reexport module object */ _utilities_index_js__rspack_import_7),
5173
- version: () => (/* reexport safe */ (/* inlined export _version_js__rspack_import_4 */"5.12.0"))
5173
+ version: () => (/* reexport safe */ (/* inlined export _version_js__rspack_import_4 */"5.16.0"))
5174
5174
  });
5175
5175
 
5176
5176
 
@@ -6400,7 +6400,6 @@ const planarContourToolName = _tools_annotation_PlanarFreehandContourSegmentatio
6400
6400
  class SegmentationRenderingEngine {
6401
6401
  constructor() {
6402
6402
  this._needsRender = new Set();
6403
- this._pendingRenderQueue = [];
6404
6403
  this._animationFrameSet = false;
6405
6404
  this._animationFrameHandle = null;
6406
6405
  this._getAllViewports = () => {
@@ -6410,18 +6409,17 @@ class SegmentationRenderingEngine {
6410
6409
  this._renderFlaggedSegmentations = () => {
6411
6410
  this._throwIfDestroyed();
6412
6411
  const viewportIds = Array.from(this._needsRender);
6413
- viewportIds.forEach((viewportId) => {
6414
- this._triggerRender(viewportId);
6415
- });
6416
6412
  this._needsRender.clear();
6417
6413
  this._animationFrameSet = false;
6418
6414
  this._animationFrameHandle = null;
6419
- if (this._pendingRenderQueue.length > 0) {
6420
- const nextViewportIds = this._pendingRenderQueue.shift();
6421
- if (nextViewportIds && nextViewportIds.length > 0) {
6422
- this._setViewportsToBeRenderedNextFrame(nextViewportIds);
6415
+ viewportIds.forEach((viewportId) => {
6416
+ try {
6417
+ this._triggerRender(viewportId);
6423
6418
  }
6424
- }
6419
+ catch (error) {
6420
+ cs3dLogger.error(error);
6421
+ }
6422
+ });
6425
6423
  };
6426
6424
  }
6427
6425
  renderSegmentationsForViewport(viewportId) {
@@ -6460,10 +6458,6 @@ class SegmentationRenderingEngine {
6460
6458
  }
6461
6459
  }
6462
6460
  _setViewportsToBeRenderedNextFrame(viewportIds) {
6463
- if (this._animationFrameSet) {
6464
- this._pendingRenderQueue.push(viewportIds);
6465
- return;
6466
- }
6467
6461
  viewportIds.forEach((viewportId) => {
6468
6462
  this._needsRender.add(viewportId);
6469
6463
  });
@@ -42199,6 +42193,7 @@ const SUPPORTED_PROBE_VARIANT = [
42199
42193
  '4,3',
42200
42194
  '4,7',
42201
42195
  '4,-1',
42196
+ '-2,-1',
42202
42197
  ];
42203
42198
  const UNIT_MAPPING = {
42204
42199
  0: 'px',
@@ -42213,6 +42208,7 @@ const UNIT_MAPPING = {
42213
42208
  9: 'cm\xb2/s',
42214
42209
  0xc: 'degrees',
42215
42210
  [-1]: 'mV',
42211
+ [-2]: 'ms',
42216
42212
  };
42217
42213
  const EPS = 1e-3;
42218
42214
  const SQUARE = '\xb2';
@@ -42268,19 +42264,6 @@ const getCalibratedLengthUnitsAndScale = (image, handles) => {
42268
42264
  unit = UNIT_MAPPING[region.physicalUnitsXDirection] || 'unknown';
42269
42265
  areaUnit = unit + SQUARE;
42270
42266
  }
42271
- else if (region && region.physicalUnitsYDirection === -1) {
42272
- const physicalDeltaX = Math.abs(region.physicalDeltaX);
42273
- const physicalDeltaY = Math.abs(region.physicalDeltaY);
42274
- scale = 1 / physicalDeltaX;
42275
- scaleY = 1 / physicalDeltaY;
42276
- calibrationType = 'ECG Region';
42277
- unit =
42278
- UNIT_MAPPING[region.physicalUnitsXDirection] ||
42279
- UNIT_MAPPING[region.physicalUnitsYDirection] ||
42280
- 'unknown';
42281
- areaUnit =
42282
- (UNIT_MAPPING[region.physicalUnitsYDirection] || 'px') + SQUARE;
42283
- }
42284
42267
  }
42285
42268
  else if (calibration.scale) {
42286
42269
  scale = calibration.scale;
@@ -49294,7 +49277,7 @@ __webpack_require__.d(__webpack_exports__, {
49294
49277
 
49295
49278
  },
49296
49279
  72563() {
49297
- const version = '5.12.0';
49280
+ const version = '5.16.0';
49298
49281
 
49299
49282
 
49300
49283
  },