@ohif/app 3.7.0-beta.4 → 3.7.0-beta.41

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 (54) hide show
  1. package/dist/{917.bundle.c88ce40fac58f95c68d1.js → 12.bundle.e63fa108deddf4b48ad1.js} +6 -6
  2. package/dist/{295.bundle.957b1159fec14b9199a1.js → 125.bundle.1ae4c6313c31cd0502cc.js} +4 -4
  3. package/dist/{208.bundle.9123fc7f84b459723777.js → 128.bundle.819cdd5927e7cf4a4f93.js} +6 -6
  4. package/dist/{351.bundle.da314e071dcf5e888085.js → 181.bundle.3c90dbb782b783e30fd8.js} +127 -95
  5. package/dist/{351.css → 181.css} +1 -1
  6. package/dist/{606.bundle.5d876f5f3dd8287f0a28.js → 195.bundle.b56618d38bc184f8ef78.js} +26 -27
  7. package/dist/{616.bundle.3f5157b8b6911d95e8ec.js → 204.bundle.f344a75f87137ea091fa.js} +14 -14
  8. package/dist/{926.bundle.dbc9d0e591cb9217fda2.js → 220.bundle.f7e1c96c94245e70f2be.js} +990 -400
  9. package/dist/{664.bundle.09abae984223969d1bde.js → 23.bundle.e008ad788170f2ed5569.js} +5 -6
  10. package/dist/{976.bundle.45373bcb38773e2c10c9.js → 236.bundle.970ce03f811085367829.js} +15 -15
  11. package/dist/{55.bundle.5f5e5ef9087b0beee35c.js → 250.bundle.ee4bcf159c4d610acc3e.js} +18 -18
  12. package/dist/{973.bundle.7e3f2870f5ae0400fa85.js → 281.bundle.c6a26ea22a160a15da31.js} +4 -4
  13. package/dist/{744.bundle.bbf06d38d4e6cc5127a1.js → 30.bundle.51b446a6388a463d9550.js} +89 -116
  14. package/dist/{192.bundle.a692060cb8ee9076ddee.js → 348.bundle.64c2bd15557b5aece504.js} +6 -6
  15. package/dist/{404.bundle.0de1e82fef0a0cd2c34e.js → 359.bundle.9fdd66fa9a9846c2d051.js} +11 -18
  16. package/dist/{50.bundle.222e93034cacb51bee8b.js → 378.bundle.14cdd6874c4d80de89e7.js} +2 -2
  17. package/dist/{790.bundle.45eaa69aab86f0048f1c.js → 410.bundle.dbedca0b114b39c355c9.js} +6 -6
  18. package/dist/{151.bundle.31ea35044218837bf73f.js → 417.bundle.720dc8f3a6e99f378aa9.js} +9 -11
  19. package/dist/{199.bundle.69d1b0419e63f5546281.js → 506.bundle.90338adba4235e1da9ad.js} +7 -12
  20. package/dist/{935.bundle.deeffff0e4f7b528e3c3.js → 604.bundle.a51f83e64004bca5f497.js} +2 -3
  21. package/dist/{984.bundle.ed28bde89cb27e6ae9cd.js → 663.bundle.8d2ec1533aa8e75019a4.js} +23 -23
  22. package/dist/{531.bundle.2a82fb1d69e5b57cc72b.js → 677.bundle.ec5f2b4707db33bd4d8e.js} +731 -447
  23. package/dist/{707.bundle.fec5dc4210086c7f617d.js → 678.bundle.dcd50fd210e1d7e2efb1.js} +97 -123
  24. package/dist/{205.bundle.b5a473c200dcf2bbcdb4.js → 686.bundle.70565410179f1e7d22e6.js} +4 -4
  25. package/dist/{331.bundle.bd0c13931a21d53086c9.js → 754.bundle.36f6f0f1c2cad1ffeadc.js} +490 -453
  26. package/dist/{728.bundle.d13856835357400fef82.js → 774.bundle.e2cf44623c1268d8433d.js} +35 -30
  27. package/dist/{381.bundle.0905e683605fcbc0895f.js → 775.bundle.2285e7e0e67878948c0d.js} +16 -16
  28. package/dist/{283.bundle.326b6ad7c2dc105fd0b8.js → 782.bundle.aff17622ba9137558582.js} +67 -42
  29. package/dist/{581.bundle.360d26f97b37da8faec3.js → 810.bundle.b3e2cf57e00d35a12f30.js} +12 -11
  30. package/dist/{642.bundle.478ce6f500f977507924.js → 814.bundle.a37a7407a6b4523f5057.js} +6 -6
  31. package/dist/{82.bundle.579b84883e04e040cc03.js → 821.bundle.3a7b408c415336b6a010.js} +166 -135
  32. package/dist/{799.bundle.ca18bdf4abe4d9abea26.js → 822.bundle.83c544a4283056f1331d.js} +63 -15
  33. package/dist/{569.bundle.0ed8d8178ffd43fe1c34.js → 869.bundle.51e2fc87fab5cb911ec1.js} +28 -17
  34. package/dist/{953.bundle.9e3a7225f07336bfcb41.js → 886.bundle.1c9ef0b3494270b34bda.js} +11 -10
  35. package/dist/{780.bundle.fd0f13dc92e9caa0581e.js → 899.bundle.dc9c8c0729bf29173303.js} +43 -43
  36. package/dist/{270.bundle.4564621556b0f963a004.js → 925.bundle.150debc1fe2cafa1e036.js} +601 -525
  37. package/dist/945.min.worker.js +1 -1
  38. package/dist/945.min.worker.js.map +1 -1
  39. package/dist/app-config.js +7 -7
  40. package/dist/{app.bundle.976f90a2d39df9f3146e.js → app.bundle.94979d10759d179bbd10.js} +58464 -59582
  41. package/dist/app.bundle.css +9 -9
  42. package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
  43. package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
  44. package/dist/{dicom-microscopy-viewer.bundle.aa60bdf008c32c39cfd7.js → dicom-microscopy-viewer.bundle.44f7fedc03a58d5911d1.js} +3 -3
  45. package/dist/google.js +6 -5
  46. package/dist/index.html +1 -1
  47. package/dist/{index.worker.1c69152d710fa7b84bce.worker.js → index.worker.17eee78bdafa44cbb47d.worker.js} +2 -2
  48. package/dist/index.worker.17eee78bdafa44cbb47d.worker.js.map +1 -0
  49. package/dist/sw.js +1 -1
  50. package/package.json +19 -19
  51. package/dist/index.worker.1c69152d710fa7b84bce.worker.js.map +0 -1
  52. /package/dist/{55.css → 250.css} +0 -0
  53. /package/dist/{806.css → 579.css} +0 -0
  54. /package/dist/{707.css → 678.css} +0 -0
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[744],{
2
+ (self["webpackChunk"] = self["webpackChunk"] || []).push([[30],{
3
3
 
4
- /***/ 43418:
4
+ /***/ 1053:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
 
@@ -12,16 +12,16 @@ __webpack_require__.d(__webpack_exports__, {
12
12
  });
13
13
 
14
14
  // EXTERNAL MODULE: ../../../node_modules/react/index.js
15
- var react = __webpack_require__(32735);
15
+ var react = __webpack_require__(43001);
16
16
  // EXTERNAL MODULE: ../../../node_modules/prop-types/index.js
17
- var prop_types = __webpack_require__(60216);
17
+ var prop_types = __webpack_require__(3827);
18
18
  var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
19
19
  // EXTERNAL MODULE: ../../../node_modules/xstate/es/index.js + 22 modules
20
- var es = __webpack_require__(87519);
21
- // EXTERNAL MODULE: ../../../node_modules/@xstate/react/lib/index.js
22
- var lib = __webpack_require__(38531);
23
- // EXTERNAL MODULE: ../../ui/src/index.js + 449 modules
24
- var src = __webpack_require__(43803);
20
+ var es = __webpack_require__(261);
21
+ // EXTERNAL MODULE: ../../../node_modules/@xstate/react/es/index.js + 9 modules
22
+ var react_es = __webpack_require__(59677);
23
+ // EXTERNAL MODULE: ../../ui/src/index.js + 452 modules
24
+ var src = __webpack_require__(77284);
25
25
  ;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/contexts/TrackedMeasurementsContext/measurementTrackingMachine.js
26
26
 
27
27
  const RESPONSE = {
@@ -247,7 +247,7 @@ const defaultOptions = {
247
247
  showStructuredReportDisplaySetInActiveViewport: (ctx, evt) => {
248
248
  console.warn('showStructuredReportDisplaySetInActiveViewport: not implemented');
249
249
  },
250
- clearContext: (0,es.assign)({
250
+ clearContext: (0,es/* assign */.f0)({
251
251
  trackedStudy: '',
252
252
  trackedSeries: [],
253
253
  ignoredSeries: [],
@@ -256,7 +256,7 @@ const defaultOptions = {
256
256
  prevIgnoredSeries: []
257
257
  }),
258
258
  // Promise resolves w/ `evt.data.*`
259
- setTrackedStudyAndSeries: (0,es.assign)((ctx, evt) => ({
259
+ setTrackedStudyAndSeries: (0,es/* assign */.f0)((ctx, evt) => ({
260
260
  prevTrackedStudy: ctx.trackedStudy,
261
261
  prevTrackedSeries: ctx.trackedSeries.slice(),
262
262
  prevIgnoredSeries: ctx.ignoredSeries.slice(),
@@ -265,7 +265,7 @@ const defaultOptions = {
265
265
  trackedSeries: [evt.data.SeriesInstanceUID],
266
266
  ignoredSeries: []
267
267
  })),
268
- setTrackedStudyAndMultipleSeries: (0,es.assign)((ctx, evt) => {
268
+ setTrackedStudyAndMultipleSeries: (0,es/* assign */.f0)((ctx, evt) => {
269
269
  const studyInstanceUID = evt.StudyInstanceUID || evt.data.StudyInstanceUID;
270
270
  const seriesInstanceUIDs = evt.SeriesInstanceUIDs || evt.data.SeriesInstanceUIDs;
271
271
  return {
@@ -278,24 +278,24 @@ const defaultOptions = {
278
278
  ignoredSeries: []
279
279
  };
280
280
  }),
281
- setIsDirtyToClean: (0,es.assign)((ctx, evt) => ({
281
+ setIsDirtyToClean: (0,es/* assign */.f0)((ctx, evt) => ({
282
282
  isDirty: false
283
283
  })),
284
- setIsDirty: (0,es.assign)((ctx, evt) => ({
284
+ setIsDirty: (0,es/* assign */.f0)((ctx, evt) => ({
285
285
  isDirty: true
286
286
  })),
287
- ignoreSeries: (0,es.assign)((ctx, evt) => ({
287
+ ignoreSeries: (0,es/* assign */.f0)((ctx, evt) => ({
288
288
  prevIgnoredSeries: [...ctx.ignoredSeries],
289
289
  ignoredSeries: [...ctx.ignoredSeries, evt.data.SeriesInstanceUID]
290
290
  })),
291
- ignoreHydrationForSRSeries: (0,es.assign)((ctx, evt) => ({
291
+ ignoreHydrationForSRSeries: (0,es/* assign */.f0)((ctx, evt) => ({
292
292
  ignoredSRSeriesForHydration: [...ctx.ignoredSRSeriesForHydration, evt.data.srSeriesInstanceUID]
293
293
  })),
294
- addTrackedSeries: (0,es.assign)((ctx, evt) => ({
294
+ addTrackedSeries: (0,es/* assign */.f0)((ctx, evt) => ({
295
295
  prevTrackedSeries: [...ctx.trackedSeries],
296
296
  trackedSeries: [...ctx.trackedSeries, evt.data.SeriesInstanceUID]
297
297
  })),
298
- removeTrackedSeries: (0,es.assign)((ctx, evt) => ({
298
+ removeTrackedSeries: (0,es/* assign */.f0)((ctx, evt) => ({
299
299
  prevTrackedSeries: ctx.trackedSeries.slice().filter(ser => ser !== evt.SeriesInstanceUID),
300
300
  trackedSeries: ctx.trackedSeries.slice().filter(ser => ser !== evt.SeriesInstanceUID)
301
301
  }))
@@ -345,6 +345,7 @@ const defaultOptions = {
345
345
  };
346
346
 
347
347
  ;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/contexts/TrackedMeasurementsContext/promptBeginTracking.js
348
+
348
349
  const promptBeginTracking_RESPONSE = {
349
350
  NO_NEVER: -1,
350
351
  CANCEL: 0,
@@ -380,17 +381,17 @@ function _askTrackMeasurements(uiViewportDialogService, viewportIndex) {
380
381
  const message = 'Track measurements for this series?';
381
382
  const actions = [{
382
383
  id: 'prompt-begin-tracking-cancel',
383
- type: 'cancel',
384
+ type: src/* ButtonEnums.type */.LZ.U.secondary,
384
385
  text: 'No',
385
386
  value: promptBeginTracking_RESPONSE.CANCEL
386
387
  }, {
387
388
  id: 'prompt-begin-tracking-no-do-not-ask-again',
388
- type: 'secondary',
389
+ type: src/* ButtonEnums.type */.LZ.U.secondary,
389
390
  text: 'No, do not ask again',
390
391
  value: promptBeginTracking_RESPONSE.NO_NEVER
391
392
  }, {
392
393
  id: 'prompt-begin-tracking-yes',
393
- type: 'primary',
394
+ type: src/* ButtonEnums.type */.LZ.U.primary,
394
395
  text: 'Yes',
395
396
  value: promptBeginTracking_RESPONSE.SET_STUDY_AND_SERIES
396
397
  }];
@@ -414,6 +415,7 @@ function _askTrackMeasurements(uiViewportDialogService, viewportIndex) {
414
415
  }
415
416
  /* harmony default export */ const TrackedMeasurementsContext_promptBeginTracking = (promptBeginTracking);
416
417
  ;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/contexts/TrackedMeasurementsContext/promptTrackNewSeries.js
418
+
417
419
  const promptTrackNewSeries_RESPONSE = {
418
420
  NO_NEVER: -1,
419
421
  CANCEL: 0,
@@ -453,15 +455,15 @@ function _askShouldAddMeasurements(uiViewportDialogService, viewportIndex) {
453
455
  return new Promise(function (resolve, reject) {
454
456
  const message = 'Do you want to add this measurement to the existing report?';
455
457
  const actions = [{
456
- type: 'cancel',
458
+ type: src/* ButtonEnums.type */.LZ.U.secondary,
457
459
  text: 'Cancel',
458
460
  value: promptTrackNewSeries_RESPONSE.CANCEL
459
461
  }, {
460
- type: 'secondary',
462
+ type: src/* ButtonEnums.type */.LZ.U.primary,
461
463
  text: 'Create new report',
462
464
  value: promptTrackNewSeries_RESPONSE.CREATE_REPORT
463
465
  }, {
464
- type: 'primary',
466
+ type: src/* ButtonEnums.type */.LZ.U.primary,
465
467
  text: 'Add to existing report',
466
468
  value: promptTrackNewSeries_RESPONSE.ADD_SERIES
467
469
  }];
@@ -619,8 +621,8 @@ function promptTrackNewStudy_askSaveDiscardOrCancel(UIViewportDialogService, vie
619
621
  });
620
622
  }
621
623
  /* harmony default export */ const TrackedMeasurementsContext_promptTrackNewStudy = (promptTrackNewStudy);
622
- // EXTERNAL MODULE: ../../core/src/index.ts + 101 modules
623
- var core_src = __webpack_require__(48501);
624
+ // EXTERNAL MODULE: ../../core/src/index.ts + 103 modules
625
+ var core_src = __webpack_require__(20599);
624
626
  ;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/_shared/createReportAsync.tsx
625
627
 
626
628
 
@@ -723,17 +725,23 @@ function createReportDialogPrompt(uiDialogService) {
723
725
  action,
724
726
  value
725
727
  } = _ref;
726
- uiDialogService.dismiss({
727
- id: dialogId
728
- });
729
728
  switch (action.id) {
730
729
  case 'save':
731
- resolve({
732
- action: PROMPT_RESPONSES.CREATE_REPORT,
733
- value: value.label
734
- });
730
+ // Only save if description is not blank otherwise ignore
731
+ if (value.label && value.label.trim() !== '') {
732
+ resolve({
733
+ action: PROMPT_RESPONSES.CREATE_REPORT,
734
+ value: value.label.trim()
735
+ });
736
+ uiDialogService.dismiss({
737
+ id: dialogId
738
+ });
739
+ }
735
740
  break;
736
741
  case 'cancel':
742
+ uiDialogService.dismiss({
743
+ id: dialogId
744
+ });
737
745
  resolve({
738
746
  action: PROMPT_RESPONSES.CANCEL,
739
747
  value: undefined
@@ -757,11 +765,11 @@ function createReportDialogPrompt(uiDialogService) {
757
765
  actions: [{
758
766
  id: 'cancel',
759
767
  text: 'Cancel',
760
- type: 'primary'
768
+ type: src/* ButtonEnums.type */.LZ.U.secondary
761
769
  }, {
762
770
  id: 'save',
763
771
  text: 'Save',
764
- type: 'secondary'
772
+ type: src/* ButtonEnums.type */.LZ.U.primary
765
773
  }],
766
774
  // TODO: Should be on button press...
767
775
  onSubmit: _handleFormSubmit,
@@ -779,12 +787,12 @@ function createReportDialogPrompt(uiDialogService) {
779
787
  };
780
788
  const onKeyPressHandler = event => {
781
789
  if (event.key === 'Enter') {
782
- uiDialogService.dismiss({
783
- id: dialogId
784
- });
785
- resolve({
786
- action: PROMPT_RESPONSES.CREATE_REPORT,
787
- value: value.label
790
+ // Trigger form submit
791
+ _handleFormSubmit({
792
+ action: {
793
+ id: 'save'
794
+ },
795
+ value
788
796
  });
789
797
  }
790
798
  };
@@ -872,9 +880,10 @@ function promptSaveReport(_ref, ctx, evt) {
872
880
  }
873
881
  /* harmony default export */ const TrackedMeasurementsContext_promptSaveReport = (promptSaveReport);
874
882
  // EXTERNAL MODULE: ../../../extensions/cornerstone-dicom-sr/src/index.tsx + 15 modules
875
- var cornerstone_dicom_sr_src = __webpack_require__(65948);
883
+ var cornerstone_dicom_sr_src = __webpack_require__(42170);
876
884
  ;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/contexts/TrackedMeasurementsContext/promptHydrateStructuredReport.js
877
885
 
886
+
878
887
  const promptHydrateStructuredReport_RESPONSE = {
879
888
  NO_NEVER: -1,
880
889
  CANCEL: 0,
@@ -926,11 +935,11 @@ function promptHydrateStructuredReport_askTrackMeasurements(uiViewportDialogServ
926
935
  return new Promise(function (resolve, reject) {
927
936
  const message = 'Do you want to continue tracking measurements for this study?';
928
937
  const actions = [{
929
- type: 'secondary',
938
+ type: src/* ButtonEnums.type */.LZ.U.secondary,
930
939
  text: 'No',
931
940
  value: promptHydrateStructuredReport_RESPONSE.CANCEL
932
941
  }, {
933
- type: 'primary',
942
+ type: src/* ButtonEnums.type */.LZ.U.primary,
934
943
  text: 'Yes',
935
944
  value: promptHydrateStructuredReport_RESPONSE.HYDRATE_REPORT
936
945
  }];
@@ -1126,8 +1135,8 @@ _ref2 // Component props
1126
1135
  // - Fix viewport border resize
1127
1136
  // - created/destroyed hooks for extensions (cornerstone measurement subscriptions in it's `init`)
1128
1137
 
1129
- const measurementTrackingMachine = (0,es.Machine)(machineConfiguration, machineOptions);
1130
- const [trackedMeasurements, sendTrackedMeasurementsEvent, trackedMeasurementsService] = (0,lib.useMachine)(measurementTrackingMachine);
1138
+ const measurementTrackingMachine = (0,es/* Machine */.J)(machineConfiguration, machineOptions);
1139
+ const [trackedMeasurements, sendTrackedMeasurementsEvent, trackedMeasurementsService] = (0,react_es/* useMachine */.eO)(measurementTrackingMachine);
1131
1140
 
1132
1141
  // ~~ Listen for changes to ViewportGrid for potential SRs hung in panes when idle
1133
1142
  (0,react.useEffect)(() => {
@@ -1215,7 +1224,7 @@ function getContextModule(_ref) {
1215
1224
 
1216
1225
  /***/ }),
1217
1226
 
1218
- /***/ 43744:
1227
+ /***/ 28030:
1219
1228
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1220
1229
 
1221
1230
  // ESM COMPAT FLAG
@@ -1227,22 +1236,25 @@ __webpack_require__.d(__webpack_exports__, {
1227
1236
  });
1228
1237
 
1229
1238
  // EXTERNAL MODULE: ../../../extensions/measurement-tracking/src/getContextModule.tsx + 14 modules
1230
- var getContextModule = __webpack_require__(43418);
1239
+ var getContextModule = __webpack_require__(1053);
1231
1240
  // EXTERNAL MODULE: ../../../node_modules/react/index.js
1232
- var react = __webpack_require__(32735);
1241
+ var react = __webpack_require__(43001);
1233
1242
  // EXTERNAL MODULE: ../../../node_modules/prop-types/index.js
1234
- var prop_types = __webpack_require__(60216);
1243
+ var prop_types = __webpack_require__(3827);
1235
1244
  var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
1236
- // EXTERNAL MODULE: ../../core/src/index.ts + 101 modules
1237
- var src = __webpack_require__(48501);
1238
- // EXTERNAL MODULE: ../../ui/src/index.js + 449 modules
1239
- var ui_src = __webpack_require__(43803);
1245
+ // EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
1246
+ var es = __webpack_require__(69190);
1247
+ // EXTERNAL MODULE: ../../core/src/index.ts + 103 modules
1248
+ var src = __webpack_require__(20599);
1249
+ // EXTERNAL MODULE: ../../ui/src/index.js + 452 modules
1250
+ var ui_src = __webpack_require__(77284);
1240
1251
  ;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/PanelStudyBrowserTracking.tsx
1241
1252
 
1242
1253
 
1243
1254
 
1244
1255
 
1245
1256
 
1257
+
1246
1258
  const {
1247
1259
  formatDate
1248
1260
  } = src.utils;
@@ -1260,12 +1272,14 @@ function PanelStudyBrowserTracking(_ref) {
1260
1272
  dataSource
1261
1273
  } = _ref;
1262
1274
  const {
1263
- measurementService,
1264
1275
  displaySetService,
1265
1276
  uiDialogService,
1266
1277
  hangingProtocolService,
1267
1278
  uiNotificationService
1268
1279
  } = servicesManager.services;
1280
+ const {
1281
+ t
1282
+ } = (0,es/* useTranslation */.$G)('Common');
1269
1283
 
1270
1284
  // Normally you nest the components so the tree isn't so deep, and the data
1271
1285
  // doesn't have to have such an intense shape. This works well enough for now.
@@ -1275,9 +1289,7 @@ function PanelStudyBrowserTracking(_ref) {
1275
1289
  } = (0,ui_src/* useImageViewer */.zG)();
1276
1290
  const [{
1277
1291
  activeViewportIndex,
1278
- viewports,
1279
- numCols,
1280
- numRows
1292
+ viewports
1281
1293
  }, viewportGridService] = (0,ui_src/* useViewportGrid */.O_)();
1282
1294
  const [trackedMeasurements, sendTrackedMeasurementsEvent] = (0,getContextModule/* useTrackedMeasurements */.I)();
1283
1295
  const [activeTabName, setActiveTabName] = (0,react.useState)('primary');
@@ -1303,36 +1315,6 @@ function PanelStudyBrowserTracking(_ref) {
1303
1315
  viewportGridService.setDisplaySetsForViewports(updatedViewports);
1304
1316
  };
1305
1317
  const activeViewportDisplaySetInstanceUIDs = viewports[activeViewportIndex]?.displaySetInstanceUIDs;
1306
- (0,react.useEffect)(() => {
1307
- const added = measurementService.EVENTS.MEASUREMENT_ADDED;
1308
- const addedRaw = measurementService.EVENTS.RAW_MEASUREMENT_ADDED;
1309
- const subscriptions = [];
1310
- [added, addedRaw].forEach(evt => {
1311
- subscriptions.push(measurementService.subscribe(evt, _ref2 => {
1312
- let {
1313
- source,
1314
- measurement
1315
- } = _ref2;
1316
- const {
1317
- referenceSeriesUID: SeriesInstanceUID,
1318
- referenceStudyUID: StudyInstanceUID
1319
- } = measurement;
1320
- sendTrackedMeasurementsEvent('SET_DIRTY', {
1321
- SeriesInstanceUID
1322
- });
1323
- sendTrackedMeasurementsEvent('TRACK_SERIES', {
1324
- viewportIndex: activeViewportIndex,
1325
- StudyInstanceUID,
1326
- SeriesInstanceUID
1327
- });
1328
- }).unsubscribe);
1329
- });
1330
- return () => {
1331
- subscriptions.forEach(unsub => {
1332
- unsub();
1333
- });
1334
- };
1335
- }, [measurementService, activeViewportIndex, sendTrackedMeasurementsEvent]);
1336
1318
  const {
1337
1319
  trackedSeries
1338
1320
  } = trackedMeasurements.context;
@@ -1358,7 +1340,7 @@ function PanelStudyBrowserTracking(_ref) {
1358
1340
  const actuallyMappedStudies = mappedStudies.map(qidoStudy => {
1359
1341
  return {
1360
1342
  studyInstanceUid: qidoStudy.StudyInstanceUID,
1361
- date: formatDate(qidoStudy.StudyDate),
1343
+ date: formatDate(qidoStudy.StudyDate) || t('NoStudyDate'),
1362
1344
  description: qidoStudy.StudyDescription,
1363
1345
  modalities: qidoStudy.ModalitiesInStudy,
1364
1346
  numInstances: qidoStudy.NumInstances
@@ -1618,11 +1600,11 @@ viewportGridService, dataSource, displaySetService, uiDialogService, uiNotificat
1618
1600
  actions: [{
1619
1601
  id: 'cancel',
1620
1602
  text: 'Cancel',
1621
- type: 'secondary'
1603
+ type: ui_src/* ButtonEnums.type */.LZ.U.secondary
1622
1604
  }, {
1623
1605
  id: 'yes',
1624
1606
  text: 'Yes',
1625
- type: 'primary',
1607
+ type: ui_src/* ButtonEnums.type */.LZ.U.primary,
1626
1608
  classes: ['reject-yes-button']
1627
1609
  }],
1628
1610
  onClose: () => uiDialogService.dismiss({
@@ -1632,10 +1614,10 @@ viewportGridService, dataSource, displaySetService, uiDialogService, uiNotificat
1632
1614
  const yesButton = document.querySelector('.reject-yes-button');
1633
1615
  yesButton.focus();
1634
1616
  },
1635
- onSubmit: async _ref3 => {
1617
+ onSubmit: async _ref2 => {
1636
1618
  let {
1637
1619
  action
1638
- } = _ref3;
1620
+ } = _ref2;
1639
1621
  switch (action.id) {
1640
1622
  case 'yes':
1641
1623
  try {
@@ -1877,10 +1859,8 @@ WrappedPanelStudyBrowserTracking.propTypes = {
1877
1859
  servicesManager: (prop_types_default()).object.isRequired
1878
1860
  };
1879
1861
  /* harmony default export */ const panels_PanelStudyBrowserTracking = (WrappedPanelStudyBrowserTracking);
1880
- // EXTERNAL MODULE: ./hooks/index.js + 3 modules
1881
- var hooks = __webpack_require__(39852);
1882
- // EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
1883
- var es = __webpack_require__(21572);
1862
+ // EXTERNAL MODULE: ./hooks/index.js + 1 modules
1863
+ var hooks = __webpack_require__(10800);
1884
1864
  ;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/panels/PanelMeasurementTableTracking/ActionButtons.tsx
1885
1865
 
1886
1866
 
@@ -1896,20 +1876,15 @@ function ActionButtons(_ref) {
1896
1876
  t
1897
1877
  } = (0,es/* useTranslation */.$G)('MeasurementTable');
1898
1878
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(ui_src/* Button */.zx, {
1899
- className: "text-base px-2 py-2",
1900
- size: "initial",
1901
- variant: disabled ? 'disabled' : 'outlined',
1902
- color: "black",
1903
- border: "primaryActive",
1904
1879
  onClick: onExportClick,
1905
- disabled: disabled
1880
+ disabled: disabled,
1881
+ type: ui_src/* ButtonEnums.type */.LZ.U.secondary,
1882
+ size: ui_src/* ButtonEnums.size */.LZ.d.small
1906
1883
  }, t('Export')), /*#__PURE__*/react.createElement(ui_src/* Button */.zx, {
1907
- className: "ml-2 px-2 text-base",
1908
- variant: disabled ? 'disabled' : 'outlined',
1909
- size: "initial",
1910
- color: "black",
1911
- border: "primaryActive",
1884
+ className: "ml-2",
1912
1885
  onClick: onCreateReportClick,
1886
+ type: ui_src/* ButtonEnums.type */.LZ.U.secondary,
1887
+ size: ui_src/* ButtonEnums.size */.LZ.d.small,
1913
1888
  disabled: disabled
1914
1889
  }, t('Create Report')));
1915
1890
  }
@@ -1925,7 +1900,7 @@ ActionButtons.defaultProps = {
1925
1900
  };
1926
1901
  /* harmony default export */ const PanelMeasurementTableTracking_ActionButtons = (ActionButtons);
1927
1902
  // EXTERNAL MODULE: ../../../node_modules/lodash.debounce/index.js
1928
- var lodash_debounce = __webpack_require__(40001);
1903
+ var lodash_debounce = __webpack_require__(8324);
1929
1904
  var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce);
1930
1905
  ;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/panels/PanelMeasurementTableTracking/index.tsx
1931
1906
 
@@ -1959,7 +1934,7 @@ function PanelMeasurementTableTracking(_ref) {
1959
1934
  } = _ref;
1960
1935
  const [viewportGrid, viewportGridService] = (0,ui_src/* useViewportGrid */.O_)();
1961
1936
  const [measurementChangeTimestamp, setMeasurementsUpdated] = (0,react.useState)(Date.now().toString());
1962
- const debouncedMeasurementChangeTimestamp = (0,hooks/* useDebounce */.Nr)(measurementChangeTimestamp, 200);
1937
+ const debouncedMeasurementChangeTimestamp = (0,hooks/* useDebounce */.N)(measurementChangeTimestamp, 200);
1963
1938
  const {
1964
1939
  measurementService,
1965
1940
  uiDialogService,
@@ -2133,16 +2108,14 @@ function PanelMeasurementTableTracking(_ref) {
2133
2108
  onKeyPress: onKeyPressHandler
2134
2109
  });
2135
2110
  },
2136
- actions: [
2137
- // temp: swap button types until colors are updated
2138
- {
2111
+ actions: [{
2139
2112
  id: 'cancel',
2140
2113
  text: 'Cancel',
2141
- type: 'primary'
2114
+ type: ui_src/* ButtonEnums.type */.LZ.U.secondary
2142
2115
  }, {
2143
2116
  id: 'save',
2144
2117
  text: 'Save',
2145
- type: 'secondary'
2118
+ type: ui_src/* ButtonEnums.type */.LZ.U.primary
2146
2119
  }],
2147
2120
  onSubmit: onSubmitHandler
2148
2121
  }
@@ -2302,7 +2275,7 @@ function getPanelModule(_ref) {
2302
2275
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2303
2276
 
2304
2277
  const Component = /*#__PURE__*/react.lazy(() => {
2305
- return __webpack_require__.e(/* import() */ 799).then(__webpack_require__.bind(__webpack_require__, 91799));
2278
+ return __webpack_require__.e(/* import() */ 822).then(__webpack_require__.bind(__webpack_require__, 86822));
2306
2279
  });
2307
2280
  const OHIFCornerstoneViewport = props => {
2308
2281
  return /*#__PURE__*/react.createElement(react.Suspense, {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[192],{
2
+ (self["webpackChunk"] = self["webpackChunk"] || []).push([[348],{
3
3
 
4
- /***/ 6192:
4
+ /***/ 14348:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
  // ESM COMPAT FLAG
@@ -14,10 +14,10 @@ __webpack_require__.d(__webpack_exports__, {
14
14
  toolbarButtons: () => (/* reexport */ src_toolbarButtons)
15
15
  });
16
16
 
17
- // EXTERNAL MODULE: ../../core/src/index.ts + 101 modules
18
- var src = __webpack_require__(48501);
19
- // EXTERNAL MODULE: ../../ui/src/index.js + 449 modules
20
- var ui_src = __webpack_require__(43803);
17
+ // EXTERNAL MODULE: ../../core/src/index.ts + 103 modules
18
+ var src = __webpack_require__(20599);
19
+ // EXTERNAL MODULE: ../../ui/src/index.js + 452 modules
20
+ var ui_src = __webpack_require__(77284);
21
21
  ;// CONCATENATED MODULE: ../../../modes/longitudinal/src/toolbarButtons.js
22
22
  // TODO: torn, can either bake this here; or have to create a whole new button type
23
23
  // Only ways that you can pass in a custom React component for render :l
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[404],{
2
+ (self["webpackChunk"] = self["webpackChunk"] || []).push([[359],{
3
3
 
4
- /***/ 92404:
4
+ /***/ 22359:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
  // ESM COMPAT FLAG
@@ -12,10 +12,10 @@ __webpack_require__.d(__webpack_exports__, {
12
12
  "default": () => (/* binding */ tmtv_src)
13
13
  });
14
14
 
15
- // EXTERNAL MODULE: ../../core/src/index.ts + 101 modules
16
- var src = __webpack_require__(48501);
17
- // EXTERNAL MODULE: ../../ui/src/index.js + 449 modules
18
- var ui_src = __webpack_require__(43803);
15
+ // EXTERNAL MODULE: ../../core/src/index.ts + 103 modules
16
+ var src = __webpack_require__(20599);
17
+ // EXTERNAL MODULE: ../../ui/src/index.js + 452 modules
18
+ var ui_src = __webpack_require__(77284);
19
19
  ;// CONCATENATED MODULE: ../../../modes/tmtv/src/initToolGroups.js
20
20
  const toolGroupIds = {
21
21
  CT: 'ctToolGroup',
@@ -128,7 +128,7 @@ function _initToolGroups(toolNames, Enums, toolGroupService, commandsManager) {
128
128
  rotateIncrementDegrees: 0.1
129
129
  },
130
130
  [toolNames.MipJumpToClick]: {
131
- targetViewportIds: ['ptAXIAL', 'ptCORONAL', 'ptSAGITTAL']
131
+ toolGroupId: toolGroupIds.PT
132
132
  }
133
133
  };
134
134
  toolGroupService.createToolGroupAndAddTools(toolGroupIds.MIP, mipTools, mipToolsConfig);
@@ -239,9 +239,8 @@ function _createButton(type, id, icon, label, commands, tooltip) {
239
239
  }
240
240
  function _createColormap(label, colormap) {
241
241
  return {
242
- id: label.toString(),
243
- title: label,
244
- subtitle: label,
242
+ id: label,
243
+ label,
245
244
  type: 'action',
246
245
  commands: [{
247
246
  commandName: 'setFusionPTColormap',
@@ -249,12 +248,6 @@ function _createColormap(label, colormap) {
249
248
  toolGroupId: toolGroupIds.Fusion,
250
249
  colormap
251
250
  }
252
- }, {
253
- commandName: 'setFusionPTColormap',
254
- commandOptions: {
255
- toolGroupId: toolGroupIds.Fusion,
256
- colormap
257
- }
258
251
  }]
259
252
  };
260
253
  }
@@ -433,7 +426,6 @@ const toolbarButtons = [
433
426
  },
434
427
  isAction: true,
435
428
  // ?
436
- renderer: ui_src/* WindowLevelMenuItem */.eJ,
437
429
  items: [_createColormap('HSV', 'hsv'), _createColormap('Hot Iron', 'hot_iron'), _createColormap('S PET', 's_pet'), _createColormap('Red Hot', 'red_hot'), _createColormap('Perfusion', 'perfusion'), _createColormap('Rainbow', 'rainbow_2'), _createColormap('SUV', 'suv'), _createColormap('GE 256', 'ge_256'), _createColormap('GE', 'ge'), _createColormap('Siemens', 'siemens')]
438
430
  }
439
431
  }];
@@ -678,7 +670,8 @@ function modeFactory(_ref) {
678
670
  return {
679
671
  id: ohif.layout,
680
672
  props: {
681
- // leftPanels: [ohif.thumbnailList],
673
+ leftPanels: [ohif.thumbnailList],
674
+ leftPanelDefaultClosed: true,
682
675
  rightPanels: [tmtv.ROIThresholdPanel, tmtv.petSUV],
683
676
  viewports: [{
684
677
  namespace: cs3d.viewport,
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[50],{
2
+ (self["webpackChunk"] = self["webpackChunk"] || []).push([[378],{
3
3
 
4
- /***/ 24050:
4
+ /***/ 34378:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
  // ESM COMPAT FLAG
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[790],{
2
+ (self["webpackChunk"] = self["webpackChunk"] || []).push([[410],{
3
3
 
4
- /***/ 17790:
4
+ /***/ 15410:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
  // ESM COMPAT FLAG
@@ -12,10 +12,10 @@ __webpack_require__.d(__webpack_exports__, {
12
12
  "default": () => (/* binding */ basic_dev_mode_src)
13
13
  });
14
14
 
15
- // EXTERNAL MODULE: ../../ui/src/index.js + 449 modules
16
- var src = __webpack_require__(43803);
17
- // EXTERNAL MODULE: ../../core/src/index.ts + 101 modules
18
- var core_src = __webpack_require__(48501);
15
+ // EXTERNAL MODULE: ../../ui/src/index.js + 452 modules
16
+ var src = __webpack_require__(77284);
17
+ // EXTERNAL MODULE: ../../core/src/index.ts + 103 modules
18
+ var core_src = __webpack_require__(20599);
19
19
  ;// CONCATENATED MODULE: ../../../modes/basic-dev-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
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[151],{
2
+ (self["webpackChunk"] = self["webpackChunk"] || []).push([[417],{
3
3
 
4
- /***/ 71251:
4
+ /***/ 15747:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -603,24 +603,23 @@ function calculateSUVScalingFactors(instances) {
603
603
  }
604
604
 
605
605
 
606
- //# sourceMappingURL=calculate-suv.esm.js.map
607
606
 
608
607
 
609
608
  /***/ }),
610
609
 
611
- /***/ 21767:
610
+ /***/ 94614:
612
611
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
613
612
 
614
613
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
615
614
  /* harmony export */ S_: () => (/* binding */ VariableSizeList)
616
615
  /* harmony export */ });
617
616
  /* unused harmony exports FixedSizeGrid, FixedSizeList, VariableSizeGrid, areEqual, shouldComponentUpdate */
618
- /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20011);
619
- /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(93173);
620
- /* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23788);
621
- /* harmony import */ var memoize_one__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(89454);
622
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(32735);
623
- /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(66017);
617
+ /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(76805);
618
+ /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80107);
619
+ /* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84067);
620
+ /* harmony import */ var memoize_one__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25539);
621
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(43001);
622
+ /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8339);
624
623
 
625
624
 
626
625
 
@@ -2571,7 +2570,6 @@ function shouldComponentUpdate(nextProps, nextState) {
2571
2570
  }
2572
2571
 
2573
2572
 
2574
- //# sourceMappingURL=index.esm.js.map
2575
2573
 
2576
2574
 
2577
2575
  /***/ })