@ohif/app 3.7.0-beta.10 → 3.7.0-beta.100

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 (66) hide show
  1. package/dist/{917.bundle.5ba88c26be5d6da4a0c2.js → 12.bundle.34050abb042540a90a3a.js} +6 -6
  2. package/dist/{295.bundle.957b1159fec14b9199a1.js → 125.bundle.253395f320b72180da63.js} +6 -6
  3. package/dist/{351.bundle.0742237651aef9694a65.js → 181.bundle.169383e9b1a0358b44e8.js} +226 -204
  4. package/dist/{351.css → 181.css} +1 -1
  5. package/dist/{744.bundle.c8ae026860dde82c9e1b.js → 19.bundle.eef637102334f1832ba9.js} +240 -375
  6. package/dist/{606.bundle.5d876f5f3dd8287f0a28.js → 202.bundle.96bbb4547a346fe3921f.js} +1420 -750
  7. package/dist/{926.bundle.dbc9d0e591cb9217fda2.js → 220.bundle.f7e1c96c94245e70f2be.js} +990 -400
  8. package/dist/221.bundle.0b9f7401294213262852.js +1723 -0
  9. package/dist/221.css +2 -0
  10. package/dist/{664.bundle.09abae984223969d1bde.js → 23.bundle.e008ad788170f2ed5569.js} +5 -6
  11. package/dist/{976.bundle.2f01873fd8d59fe756e1.js → 236.bundle.7768b3e29b1fd618b9ec.js} +89 -105
  12. package/dist/{55.bundle.550a823e75eb608e8d5e.js → 250.bundle.8084960e3318cda37317.js} +52 -36
  13. package/dist/{973.bundle.528e2b42f4a218b2524c.js → 281.bundle.39cb630582cf8114fd5e.js} +18 -14
  14. package/dist/{82.bundle.3ac52bd40e60cdfee60a.js → 342.bundle.6edc7ac022b4218ec99f.js} +1772 -477
  15. package/dist/{404.bundle.ef4f5f0697573d138bf1.js → 359.bundle.a8f6cf2f90fe05fc346d.js} +46 -131
  16. package/dist/{192.bundle.26466954184a0ae830e0.js → 370.bundle.4e1276530ba7757347f5.js} +113 -99
  17. package/dist/{790.bundle.4ed6048f4998cbdd9149.js → 410.bundle.5a330214c0c31cbf2551.js} +11 -9
  18. package/dist/{151.bundle.31ea35044218837bf73f.js → 417.bundle.af0a207c29b109f84159.js} +49 -17
  19. package/dist/{569.bundle.c8e771a8d28e237b32be.js → 451.bundle.9fd36f52ff69594f0669.js} +86 -106
  20. package/dist/{581.bundle.dc6197189f7c88c27d4c.js → 471.bundle.b3d77b83b1593c09a504.js} +78 -99
  21. package/dist/{199.bundle.5abeeb99615ff32ed827.js → 506.bundle.ac385e382f79bbf4f306.js} +11 -9
  22. package/dist/{531.bundle.2a82fb1d69e5b57cc72b.js → 530.bundle.a03b6f942ace3e1baa1e.js} +726 -447
  23. package/dist/579.css +1 -0
  24. package/dist/{935.bundle.deeffff0e4f7b528e3c3.js → 604.bundle.a51f83e64004bca5f497.js} +2 -3
  25. package/dist/613.bundle.f75fd669ddfe4ecf9c1b.js +532 -0
  26. package/dist/{984.bundle.75811ab1b046b004305c.js → 663.bundle.3863ac49f85320c8ca96.js} +68 -38
  27. package/dist/{205.bundle.b5a473c200dcf2bbcdb4.js → 686.bundle.dccef1f36e4bc79bcc48.js} +6 -6
  28. package/dist/{50.bundle.f1439664aa8deca8c0bb.js → 687.bundle.ebd1260565c31ab9ad08.js} +218 -9
  29. package/dist/{331.bundle.bd0c13931a21d53086c9.js → 743.bundle.4bfe6e562ffb2c22708f.js} +26281 -21326
  30. package/dist/{728.bundle.d13856835357400fef82.js → 774.bundle.7528cba56a1407357144.js} +95 -64
  31. package/dist/{381.bundle.0905e683605fcbc0895f.js → 775.bundle.2285e7e0e67878948c0d.js} +16 -16
  32. package/dist/{283.bundle.f547f85681d875f9e2e3.js → 782.bundle.8c17030f76b75035564c.js} +117 -67
  33. package/dist/{642.bundle.2d1065b66fd7f8531dd2.js → 814.bundle.cc0ed4fc75cb16e34f02.js} +6 -6
  34. package/dist/{707.bundle.ed1d145de922570db0d2.js → 82.bundle.7a89cd8b81eb7e1e5c66.js} +1147 -768
  35. package/dist/{799.bundle.758558e64147e5aad612.js → 822.bundle.0545d6dbb49515aa04ee.js} +81 -34
  36. package/dist/831.bundle.83658f62fcc769043605.js +16700 -0
  37. package/dist/{953.bundle.3b0189ebc11cf0946f18.js → 886.bundle.4b3a7f2079d085fdbcb3.js} +34 -29
  38. package/dist/945.min.worker.js +1 -1
  39. package/dist/945.min.worker.js.map +1 -1
  40. package/dist/{270.bundle.4564621556b0f963a004.js → 957.bundle.71558794566041f37a92.js} +7110 -997
  41. package/dist/{208.bundle.b1d53f6cc253c3cbc5b3.js → 99.bundle.c6876aaaa3ff2f1b08a1.js} +86 -105
  42. package/dist/_redirects +1 -1
  43. package/dist/app-config.js +35 -17
  44. package/dist/app.bundle.css +13 -12
  45. package/dist/{app.bundle.1a4a0577bf5f2ab8b76d.js → app.bundle.dc0e89948c4f4568fe20.js} +73483 -68064
  46. package/dist/assets/yandex-browser-manifest.json +1 -1
  47. package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
  48. package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
  49. package/dist/{dicom-microscopy-viewer.bundle.aa60bdf008c32c39cfd7.js → dicom-microscopy-viewer.bundle.2c146384eb9466d02ff8.js} +5 -4
  50. package/dist/es6-shim.min.js +3569 -2
  51. package/dist/google.js +8 -7
  52. package/dist/index.html +2 -1
  53. package/dist/{index.worker.1c69152d710fa7b84bce.worker.js → index.worker.e62ecca63f1a2e124230.worker.js} +2 -2
  54. package/dist/index.worker.e62ecca63f1a2e124230.worker.js.map +1 -0
  55. package/dist/init-service-worker.js +3 -5
  56. package/dist/oidc-client.min.js +10857 -39
  57. package/dist/polyfill.min.js +184 -1
  58. package/dist/silent-refresh.html +18 -9
  59. package/dist/sw.js +1 -1
  60. package/package.json +20 -22
  61. package/dist/616.bundle.07fe93ec26097c150193.js +0 -685
  62. package/dist/780.bundle.fd0f13dc92e9caa0581e.js +0 -4769
  63. package/dist/index.worker.1c69152d710fa7b84bce.worker.js.map +0 -1
  64. /package/dist/{806.css → 19.css} +0 -0
  65. /package/dist/{55.css → 250.css} +0 -0
  66. /package/dist/{707.css → 82.css} +0 -0
@@ -1,6 +1,6 @@
1
- (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[283],{
1
+ (self["webpackChunk"] = self["webpackChunk"] || []).push([[782],{
2
2
 
3
- /***/ 66135:
3
+ /***/ 43851:
4
4
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5
5
 
6
6
  "use strict";
@@ -116,7 +116,10 @@ const ptAXIAL = {
116
116
  type: 'voi',
117
117
  id: 'ptFusionWLSync',
118
118
  source: true,
119
- target: false
119
+ target: false,
120
+ options: {
121
+ syncInvertState: false
122
+ }
120
123
  }]
121
124
  },
122
125
  displaySets: [{
@@ -150,7 +153,10 @@ const ptSAGITTAL = {
150
153
  type: 'voi',
151
154
  id: 'ptFusionWLSync',
152
155
  source: true,
153
- target: false
156
+ target: false,
157
+ options: {
158
+ syncInvertState: false
159
+ }
154
160
  }]
155
161
  },
156
162
  displaySets: [{
@@ -184,7 +190,10 @@ const ptCORONAL = {
184
190
  type: 'voi',
185
191
  id: 'ptFusionWLSync',
186
192
  source: true,
187
- target: false
193
+ target: false,
194
+ options: {
195
+ syncInvertState: false
196
+ }
188
197
  }]
189
198
  },
190
199
  displaySets: [{
@@ -227,25 +236,34 @@ const fusionAXIAL = {
227
236
  type: 'voi',
228
237
  id: 'ptFusionWLSync',
229
238
  source: false,
230
- target: true
239
+ target: true,
240
+ options: {
241
+ syncInvertState: false
242
+ }
231
243
  }]
232
244
  },
233
245
  displaySets: [{
234
246
  id: 'ctDisplaySet'
235
247
  }, {
248
+ id: 'ptDisplaySet',
236
249
  options: {
237
250
  colormap: {
238
251
  name: 'hsv',
239
- opacityMapping: [{
252
+ opacity: [{
253
+ value: 0,
254
+ opacity: 0
255
+ }, {
240
256
  value: 0.1,
241
257
  opacity: 0.9
258
+ }, {
259
+ value: 1,
260
+ opacity: 0.95
242
261
  }]
243
262
  },
244
263
  voi: {
245
264
  custom: 'getPTVOIRange'
246
265
  }
247
- },
248
- id: 'ptDisplaySet'
266
+ }
249
267
  }]
250
268
  };
251
269
  const fusionSAGITTAL = {
@@ -277,25 +295,34 @@ const fusionSAGITTAL = {
277
295
  type: 'voi',
278
296
  id: 'ptFusionWLSync',
279
297
  source: false,
280
- target: true
298
+ target: true,
299
+ options: {
300
+ syncInvertState: false
301
+ }
281
302
  }]
282
303
  },
283
304
  displaySets: [{
284
305
  id: 'ctDisplaySet'
285
306
  }, {
307
+ id: 'ptDisplaySet',
286
308
  options: {
287
309
  colormap: {
288
310
  name: 'hsv',
289
- opacityMapping: [{
311
+ opacity: [{
312
+ value: 0,
313
+ opacity: 0
314
+ }, {
290
315
  value: 0.1,
291
316
  opacity: 0.9
317
+ }, {
318
+ value: 1,
319
+ opacity: 0.95
292
320
  }]
293
321
  },
294
322
  voi: {
295
323
  custom: 'getPTVOIRange'
296
324
  }
297
- },
298
- id: 'ptDisplaySet'
325
+ }
299
326
  }]
300
327
  };
301
328
  const fusionCORONAL = {
@@ -327,25 +354,34 @@ const fusionCORONAL = {
327
354
  type: 'voi',
328
355
  id: 'ptFusionWLSync',
329
356
  source: false,
330
- target: true
357
+ target: true,
358
+ options: {
359
+ syncInvertState: false
360
+ }
331
361
  }]
332
362
  },
333
363
  displaySets: [{
334
364
  id: 'ctDisplaySet'
335
365
  }, {
366
+ id: 'ptDisplaySet',
336
367
  options: {
337
368
  colormap: {
338
369
  name: 'hsv',
339
- opacityMapping: [{
370
+ opacity: [{
371
+ value: 0,
372
+ opacity: 0
373
+ }, {
340
374
  value: 0.1,
341
375
  opacity: 0.9
376
+ }, {
377
+ value: 1,
378
+ opacity: 0.95
342
379
  }]
343
380
  },
344
381
  voi: {
345
382
  custom: 'getPTVOIRange'
346
383
  }
347
- },
348
- id: 'ptDisplaySet'
384
+ }
349
385
  }]
350
386
  };
351
387
  const mipSAGITTAL = {
@@ -364,7 +400,10 @@ const mipSAGITTAL = {
364
400
  type: 'voi',
365
401
  id: 'ptFusionWLSync',
366
402
  source: true,
367
- target: false
403
+ target: false,
404
+ options: {
405
+ syncInvertState: false
406
+ }
368
407
  }],
369
408
  // Custom props can be used to set custom properties which extensions
370
409
  // can react on.
@@ -558,7 +597,6 @@ const stage4 = {
558
597
  const ptCT = {
559
598
  id: '@ohif/extension-tmtv.hangingProtocolModule.ptCT',
560
599
  locked: true,
561
- hasUpdatedPriorsInformation: false,
562
600
  name: 'Default',
563
601
  createdDate: '2021-02-23T19:22:08.894Z',
564
602
  modifiedDate: '2022-10-04T19:22:08.894Z',
@@ -654,16 +692,16 @@ function getHangingProtocolModule() {
654
692
  }
655
693
  /* harmony default export */ const src_getHangingProtocolModule = (getHangingProtocolModule);
656
694
  // EXTERNAL MODULE: ../../../node_modules/react/index.js
657
- var react = __webpack_require__(32735);
695
+ var react = __webpack_require__(43001);
658
696
  // EXTERNAL MODULE: ../../../node_modules/prop-types/index.js
659
- var prop_types = __webpack_require__(60216);
697
+ var prop_types = __webpack_require__(3827);
660
698
  var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
661
- // EXTERNAL MODULE: ../../ui/src/index.js + 452 modules
662
- var src = __webpack_require__(28619);
663
- // EXTERNAL MODULE: ../../core/src/index.ts + 101 modules
664
- var core_src = __webpack_require__(48501);
699
+ // EXTERNAL MODULE: ../../ui/src/index.js + 485 modules
700
+ var src = __webpack_require__(71783);
701
+ // EXTERNAL MODULE: ../../core/src/index.ts + 65 modules
702
+ var core_src = __webpack_require__(71771);
665
703
  // EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
666
- var es = __webpack_require__(21572);
704
+ var es = __webpack_require__(69190);
667
705
  ;// CONCATENATED MODULE: ../../../extensions/tmtv/src/Panels/PanelPetSUV.tsx
668
706
 
669
707
 
@@ -807,11 +845,11 @@ function PanelPetSUV(_ref) {
807
845
  displaySetService.setDisplaySetMetadataInvalidated(ptDisplaySet.displaySetInstanceUID);
808
846
  }
809
847
  return /*#__PURE__*/react.createElement("div", {
810
- className: "overflow-x-hidden overflow-y-auto invisible-scrollbar"
848
+ className: "invisible-scrollbar overflow-y-auto overflow-x-hidden"
811
849
  }, /*#__PURE__*/react.createElement("div", {
812
850
  className: "flex flex-col"
813
851
  }, /*#__PURE__*/react.createElement("div", {
814
- className: "flex flex-col p-4 space-y-4 bg-primary-dark"
852
+ className: "bg-primary-dark flex flex-col space-y-4 p-4"
815
853
  }, /*#__PURE__*/react.createElement(src/* Input */.II, {
816
854
  label: t('Patient Sex'),
817
855
  labelClassName: "text-white mb-2",
@@ -961,7 +999,7 @@ function segmentationItemEditHandler(_ref) {
961
999
  };
962
1000
  return /*#__PURE__*/react.createElement(src/* Input */.II, {
963
1001
  autoFocus: true,
964
- className: "bg-black border-primary-main",
1002
+ className: "border-primary-main bg-black",
965
1003
  type: "text",
966
1004
  containerClassName: "mr-2",
967
1005
  value: value.label,
@@ -972,11 +1010,11 @@ function segmentationItemEditHandler(_ref) {
972
1010
  actions: [{
973
1011
  id: 'cancel',
974
1012
  text: 'Cancel',
975
- type: src/* ButtonEnums.type */.LZ.U.secondary
1013
+ type: src/* ButtonEnums.type */.LZ.dt.secondary
976
1014
  }, {
977
1015
  id: 'save',
978
1016
  text: 'Save',
979
- type: src/* ButtonEnums.type */.LZ.U.primary
1017
+ type: src/* ButtonEnums.type */.LZ.dt.primary
980
1018
  }],
981
1019
  onSubmit: onSubmitHandler
982
1020
  }
@@ -998,8 +1036,8 @@ function ExportReports(_ref) {
998
1036
  t
999
1037
  } = (0,es/* useTranslation */.$G)('PanelSUVExport');
1000
1038
  return /*#__PURE__*/react.createElement(react.Fragment, null, segmentations?.length ? /*#__PURE__*/react.createElement("div", {
1001
- className: "flex justify-center mt-4 space-x-2"
1002
- }, /*#__PURE__*/react.createElement(src/* ButtonGroup */.hE, {
1039
+ className: "mt-4 flex justify-center space-x-2"
1040
+ }, /*#__PURE__*/react.createElement(src/* LegacyButtonGroup */.HO, {
1003
1041
  color: "black",
1004
1042
  size: "inherit"
1005
1043
  }, /*#__PURE__*/react.createElement(src/* LegacyButton */.mN, {
@@ -1012,7 +1050,7 @@ function ExportReports(_ref) {
1012
1050
  config
1013
1051
  });
1014
1052
  }
1015
- }, t('Export CSV'))), /*#__PURE__*/react.createElement(src/* ButtonGroup */.hE, {
1053
+ }, t('Export CSV'))), /*#__PURE__*/react.createElement(src/* LegacyButtonGroup */.HO, {
1016
1054
  color: "black",
1017
1055
  size: "inherit"
1018
1056
  }, /*#__PURE__*/react.createElement(src/* LegacyButton */.mN, {
@@ -1049,15 +1087,15 @@ function ROIThresholdConfiguration(_ref) {
1049
1087
  t
1050
1088
  } = (0,es/* useTranslation */.$G)('ROIThresholdConfiguration');
1051
1089
  return /*#__PURE__*/react.createElement("div", {
1052
- className: "flex flex-col px-4 space-y-4 bg-primary-dark py-2"
1090
+ className: "bg-primary-dark flex flex-col space-y-4 px-4 py-2"
1053
1091
  }, /*#__PURE__*/react.createElement("div", {
1054
1092
  className: "flex items-end space-x-2"
1055
1093
  }, /*#__PURE__*/react.createElement("div", {
1056
- className: "flex flex-col w-1/2"
1094
+ className: "flex w-1/2 flex-col"
1057
1095
  }, /*#__PURE__*/react.createElement(src/* Select */.Ph, {
1058
1096
  label: t('Strategy'),
1059
1097
  closeMenuOnSelect: true,
1060
- className: "mr-2 bg-black border-primary-main text-white ",
1098
+ className: "border-primary-main mr-2 bg-black text-white ",
1061
1099
  options: options,
1062
1100
  placeholder: options.find(option => option.value === config.strategy).placeHolder,
1063
1101
  value: config.strategy,
@@ -1074,7 +1112,7 @@ function ROIThresholdConfiguration(_ref) {
1074
1112
  }
1075
1113
  })), /*#__PURE__*/react.createElement("div", {
1076
1114
  className: "w-1/2"
1077
- }, /*#__PURE__*/react.createElement(src/* ButtonGroup */.hE, null, /*#__PURE__*/react.createElement(src/* LegacyButton */.mN, {
1115
+ }, /*#__PURE__*/react.createElement(src/* LegacyButtonGroup */.HO, null, /*#__PURE__*/react.createElement(src/* LegacyButton */.mN, {
1078
1116
  size: "initial",
1079
1117
  className: "px-2 py-2 text-base text-white",
1080
1118
  color: "primaryLight",
@@ -1089,7 +1127,7 @@ function ROIThresholdConfiguration(_ref) {
1089
1127
  }, t('End'))))), config.strategy === ROI_STAT && /*#__PURE__*/react.createElement(src/* Input */.II, {
1090
1128
  label: t('Percentage of Max SUV'),
1091
1129
  labelClassName: "text-white",
1092
- className: "mt-2 bg-black border-primary-main",
1130
+ className: "border-primary-main mt-2 bg-black",
1093
1131
  type: "text",
1094
1132
  containerClassName: "mr-2",
1095
1133
  value: config.weight,
@@ -1102,7 +1140,7 @@ function ROIThresholdConfiguration(_ref) {
1102
1140
  });
1103
1141
  }
1104
1142
  }), config.strategy !== ROI_STAT && /*#__PURE__*/react.createElement("div", {
1105
- className: "text-sm mr-2"
1143
+ className: "mr-2 text-sm"
1106
1144
  }, /*#__PURE__*/react.createElement("table", null, /*#__PURE__*/react.createElement("tbody", null, /*#__PURE__*/react.createElement("tr", {
1107
1145
  className: "mt-2"
1108
1146
  }, /*#__PURE__*/react.createElement("td", {
@@ -1114,7 +1152,7 @@ function ROIThresholdConfiguration(_ref) {
1114
1152
  }))), /*#__PURE__*/react.createElement("tr", {
1115
1153
  className: "mt-2"
1116
1154
  }, /*#__PURE__*/react.createElement("td", {
1117
- className: "text-center pr-4 pt-2"
1155
+ className: "pr-4 pt-2 text-center"
1118
1156
  }, /*#__PURE__*/react.createElement(src/* Label */.__, {
1119
1157
  className: "text-white",
1120
1158
  text: "CT"
@@ -1123,7 +1161,7 @@ function ROIThresholdConfiguration(_ref) {
1123
1161
  }, /*#__PURE__*/react.createElement(src/* Input */.II, {
1124
1162
  label: t(''),
1125
1163
  labelClassName: "text-white",
1126
- className: "mt-2 bg-black border-primary-main",
1164
+ className: "border-primary-main mt-2 bg-black",
1127
1165
  type: "text",
1128
1166
  containerClassName: "mr-2",
1129
1167
  value: config.ctLower,
@@ -1138,7 +1176,7 @@ function ROIThresholdConfiguration(_ref) {
1138
1176
  }), /*#__PURE__*/react.createElement(src/* Input */.II, {
1139
1177
  label: t(''),
1140
1178
  labelClassName: "text-white",
1141
- className: "mt-2 bg-black border-primary-main",
1179
+ className: "border-primary-main mt-2 bg-black",
1142
1180
  type: "text",
1143
1181
  containerClassName: "mr-2",
1144
1182
  value: config.ctUpper,
@@ -1151,7 +1189,7 @@ function ROIThresholdConfiguration(_ref) {
1151
1189
  });
1152
1190
  }
1153
1191
  })))), /*#__PURE__*/react.createElement("tr", null, /*#__PURE__*/react.createElement("td", {
1154
- className: "text-center pr-4 pt-2"
1192
+ className: "pr-4 pt-2 text-center"
1155
1193
  }, /*#__PURE__*/react.createElement(src/* Label */.__, {
1156
1194
  className: "text-white",
1157
1195
  text: "PT"
@@ -1160,7 +1198,7 @@ function ROIThresholdConfiguration(_ref) {
1160
1198
  }, /*#__PURE__*/react.createElement(src/* Input */.II, {
1161
1199
  label: t(''),
1162
1200
  labelClassName: "text-white",
1163
- className: "mt-2 bg-black border-primary-main",
1201
+ className: "border-primary-main mt-2 bg-black",
1164
1202
  type: "text",
1165
1203
  containerClassName: "mr-2",
1166
1204
  value: config.ptLower,
@@ -1175,7 +1213,7 @@ function ROIThresholdConfiguration(_ref) {
1175
1213
  }), /*#__PURE__*/react.createElement(src/* Input */.II, {
1176
1214
  label: t(''),
1177
1215
  labelClassName: "text-white",
1178
- className: "mt-2 bg-black border-primary-main",
1216
+ className: "border-primary-main mt-2 bg-black",
1179
1217
  type: "text",
1180
1218
  containerClassName: "mr-2",
1181
1219
  value: config.ptUpper,
@@ -1358,9 +1396,9 @@ function PanelRoiThresholdSegmentation(_ref) {
1358
1396
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
1359
1397
  className: "flex flex-col"
1360
1398
  }, /*#__PURE__*/react.createElement("div", {
1361
- className: "overflow-x-hidden overflow-y-auto invisible-scrollbar"
1399
+ className: "invisible-scrollbar overflow-y-auto overflow-x-hidden"
1362
1400
  }, /*#__PURE__*/react.createElement("div", {
1363
- className: "flex mx-4 my-4 mb-4 space-x-4"
1401
+ className: "mx-4 my-4 mb-4 flex space-x-4"
1364
1402
  }, /*#__PURE__*/react.createElement(src/* Button */.zx, {
1365
1403
  onClick: () => {
1366
1404
  setLabelmapLoading(true);
@@ -1374,7 +1412,7 @@ function PanelRoiThresholdSegmentation(_ref) {
1374
1412
  }, labelmapLoading ? 'loading ...' : 'New Label'), /*#__PURE__*/react.createElement(src/* Button */.zx, {
1375
1413
  onClick: handleROIThresholding
1376
1414
  }, "Run")), /*#__PURE__*/react.createElement("div", {
1377
- className: "flex items-center justify-around h-8 mb-2 border-t outline-none cursor-pointer select-none bg-secondary-dark first:border-0 border-secondary-light",
1415
+ className: "bg-secondary-dark border-secondary-light mb-2 flex h-8 cursor-pointer select-none items-center justify-around border-t outline-none first:border-0",
1378
1416
  onClick: () => {
1379
1417
  setShowConfig(!showConfig);
1380
1418
  }
@@ -1414,9 +1452,9 @@ function PanelRoiThresholdSegmentation(_ref) {
1414
1452
  });
1415
1453
  }
1416
1454
  }) : null), tmtvValue !== null ? /*#__PURE__*/react.createElement("div", {
1417
- className: "flex items-baseline justify-between px-2 py-1 mt-4 bg-secondary-dark"
1455
+ className: "bg-secondary-dark mt-4 flex items-baseline justify-between px-2 py-1"
1418
1456
  }, /*#__PURE__*/react.createElement("span", {
1419
- className: "text-base font-bold tracking-widest text-white uppercase"
1457
+ className: "text-base font-bold uppercase tracking-widest text-white"
1420
1458
  }, 'TMTV:'), /*#__PURE__*/react.createElement("div", {
1421
1459
  className: "text-white"
1422
1460
  }, `${tmtvValue} mL`)) : null, /*#__PURE__*/react.createElement(PanelROIThresholdSegmentation_ExportReports, {
@@ -1425,7 +1463,7 @@ function PanelRoiThresholdSegmentation(_ref) {
1425
1463
  config: config,
1426
1464
  commandsManager: commandsManager
1427
1465
  }))), /*#__PURE__*/react.createElement("div", {
1428
- className: "opacity-50 hover:opacity-80 flex items-center justify-center text-blue-400 mt-auto cursor-pointer mb-4",
1466
+ className: "mt-auto mb-4 flex cursor-pointer items-center justify-center text-blue-400 opacity-50 hover:opacity-80",
1429
1467
  onClick: () => {
1430
1468
  // navigate to a url in a new tab
1431
1469
  window.open('https://github.com/OHIF/Viewers/blob/master/modes/tmtv/README.md', '_blank');
@@ -1504,10 +1542,10 @@ function getPanelModule(_ref) {
1504
1542
  }];
1505
1543
  }
1506
1544
  /* harmony default export */ const src_getPanelModule = (getPanelModule);
1507
- // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/index.js + 321 modules
1508
- var esm = __webpack_require__(57270);
1509
- // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 335 modules
1510
- var dist_esm = __webpack_require__(77331);
1545
+ // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/index.js + 348 modules
1546
+ var esm = __webpack_require__(14957);
1547
+ // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 331 modules
1548
+ var dist_esm = __webpack_require__(3743);
1511
1549
  ;// CONCATENATED MODULE: ../../../extensions/tmtv/src/utils/measurementServiceMappings/constants/supportedTools.js
1512
1550
  /* harmony default export */ const supportedTools = (['RectangleROIStartEndThreshold']);
1513
1551
  ;// CONCATENATED MODULE: ../../../extensions/tmtv/src/utils/measurementServiceMappings/utils/getSOPInstanceAttributes.js
@@ -1681,7 +1719,7 @@ function init(_ref) {
1681
1719
  colormaps.forEach(registerColormap);
1682
1720
  }
1683
1721
  // EXTERNAL MODULE: ../../../node_modules/gl-matrix/esm/index.js + 10 modules
1684
- var gl_matrix_esm = __webpack_require__(88256);
1722
+ var gl_matrix_esm = __webpack_require__(45451);
1685
1723
  ;// CONCATENATED MODULE: ../../../extensions/tmtv/src/utils/getThresholdValue.ts
1686
1724
 
1687
1725
  function getRoiStats(referencedVolume, annotations) {
@@ -2015,7 +2053,7 @@ AnnotationToPointData.TOOL_NAMES = {};
2015
2053
  AnnotationToPointData.register(measurements_RectangleROIStartEndThreshold);
2016
2054
  /* harmony default export */ const measurements_AnnotationToPointData = (AnnotationToPointData);
2017
2055
  // EXTERNAL MODULE: ../../../node_modules/dcmjs/build/dcmjs.es.js
2018
- var dcmjs_es = __webpack_require__(22737);
2056
+ var dcmjs_es = __webpack_require__(67540);
2019
2057
  ;// CONCATENATED MODULE: ../../../extensions/tmtv/src/utils/dicomRTAnnotationExport/RTStructureSet/RTSSReport.js
2020
2058
 
2021
2059
 
@@ -2284,11 +2322,11 @@ const commandsModule = _ref => {
2284
2322
  } = utilityModule.exports;
2285
2323
  function _getActiveViewportsEnabledElement() {
2286
2324
  const {
2287
- activeViewportIndex
2325
+ activeViewportId
2288
2326
  } = viewportGridService.getState();
2289
2327
  const {
2290
2328
  element
2291
- } = getEnabledElement(activeViewportIndex) || {};
2329
+ } = getEnabledElement(activeViewportId) || {};
2292
2330
  const enabledElement = dist_esm.getEnabledElement(element);
2293
2331
  return enabledElement;
2294
2332
  }
@@ -2297,10 +2335,10 @@ const commandsModule = _ref => {
2297
2335
  viewportMatchDetails
2298
2336
  } = hangingProtocolService.getMatchDetails();
2299
2337
  const toolGroupIds = [];
2300
- viewportMatchDetails.forEach((value, key) => {
2338
+ viewportMatchDetails.forEach(viewport => {
2301
2339
  const {
2302
2340
  viewportOptions
2303
- } = value;
2341
+ } = viewport;
2304
2342
  const {
2305
2343
  toolGroupId
2306
2344
  } = viewportOptions;
@@ -2321,7 +2359,7 @@ const commandsModule = _ref => {
2321
2359
  // corrected PT vs the non-attenuation correct PT)
2322
2360
 
2323
2361
  let ptDisplaySet = null;
2324
- for (const [viewportIndex, viewportDetails] of viewportMatchDetails) {
2362
+ for (const [viewportId, viewportDetails] of viewportMatchDetails) {
2325
2363
  const {
2326
2364
  displaySetsInfo
2327
2365
  } = viewportDetails;
@@ -2771,12 +2809,24 @@ const commandsModule = _ref => {
2771
2809
  const fusionViewportIds = toolGroup.getViewportIds();
2772
2810
  let viewports = [];
2773
2811
  fusionViewportIds.forEach(viewportId => {
2774
- const viewportInfo = cornerstoneViewportService.getViewportInfo(viewportId);
2775
- const viewportIndex = viewportInfo.getViewportIndex();
2776
2812
  commandsManager.runCommand('setViewportColormap', {
2777
- viewportIndex,
2813
+ viewportId,
2778
2814
  displaySetInstanceUID: ptDisplaySet.displaySetInstanceUID,
2779
- colormap
2815
+ colormap: {
2816
+ name: colormap,
2817
+ // TODO: This opacity mapping matches that in hpViewports, but
2818
+ // ideally making this editable in a side panel would be useful
2819
+ opacity: [{
2820
+ value: 0,
2821
+ opacity: 0
2822
+ }, {
2823
+ value: 0.1,
2824
+ opacity: 0.9
2825
+ }, {
2826
+ value: 1,
2827
+ opacity: 0.95
2828
+ }]
2829
+ }
2780
2830
  });
2781
2831
  viewports.push(cornerstoneViewportService.getCornerstoneViewport(viewportId));
2782
2832
  });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[642],{
2
+ (self["webpackChunk"] = self["webpackChunk"] || []).push([[814],{
3
3
 
4
- /***/ 73642:
4
+ /***/ 92814:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
  // ESM COMPAT FLAG
@@ -13,7 +13,7 @@ __webpack_require__.d(__webpack_exports__, {
13
13
  });
14
14
 
15
15
  // EXTERNAL MODULE: ../../../node_modules/react/index.js
16
- var react = __webpack_require__(32735);
16
+ var react = __webpack_require__(43001);
17
17
  ;// CONCATENATED MODULE: ../../../extensions/dicom-pdf/package.json
18
18
  const package_namespaceObject = JSON.parse('{"u2":"@ohif/extension-dicom-pdf"}');
19
19
  ;// CONCATENATED MODULE: ../../../extensions/dicom-pdf/src/id.js
@@ -21,8 +21,8 @@ const package_namespaceObject = JSON.parse('{"u2":"@ohif/extension-dicom-pdf"}')
21
21
  const id = package_namespaceObject.u2;
22
22
  const SOPClassHandlerId = `${id}.sopClassHandlerModule.dicom-pdf`;
23
23
 
24
- // EXTERNAL MODULE: ../../core/src/index.ts + 101 modules
25
- var src = __webpack_require__(48501);
24
+ // EXTERNAL MODULE: ../../core/src/index.ts + 65 modules
25
+ var src = __webpack_require__(71771);
26
26
  ;// CONCATENATED MODULE: ../../../extensions/dicom-pdf/src/getSopClassHandlerModule.js
27
27
 
28
28
 
@@ -110,7 +110,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
110
110
 
111
111
 
112
112
  const Component = /*#__PURE__*/react.lazy(() => {
113
- return __webpack_require__.e(/* import() */ 295).then(__webpack_require__.bind(__webpack_require__, 56295));
113
+ return __webpack_require__.e(/* import() */ 125).then(__webpack_require__.bind(__webpack_require__, 39125));
114
114
  });
115
115
  const OHIFCornerstonePdfViewport = props => {
116
116
  return /*#__PURE__*/react.createElement(react.Suspense, {