hellfire 0.26.6 → 0.26.8

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.26.8](http://10.16.100.57/diffusion/115/paladin/compare/v0.26.7...v0.26.8) (2023-07-20)
6
+
7
+
8
+
9
+ ## [0.26.7](http://10.16.100.57/diffusion/115/paladin/compare/v0.26.6...v0.26.7) (2023-07-20)
10
+
11
+
12
+
5
13
  ## [0.26.6](http://10.16.100.57/diffusion/115/paladin/compare/v0.26.5...v0.26.6) (2023-07-20)
6
14
 
7
15
 
package/dist/index.js CHANGED
@@ -41320,7 +41320,7 @@ var DicomToolLineMode = /*#__PURE__*/function (_Component) {
41320
41320
  return DicomToolLineMode;
41321
41321
  }(React.Component);
41322
41322
 
41323
- var css_248z$g = ".paladin-tool-item-plus {\n width: 46px;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n border: 1px solid #252525;\n margin: 2px;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-label {\n display: flex;\n flex-direction: row;\n font-size: 12px;\n white-space: nowrap;\n color: #c0c0c0;\n margin-top: 5px;\n overflow: hidden;\n text-align: center;\n word-break: break-all;\n justify-content: center;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-icon {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-icon svg {\n width: 22px;\n height: 22px;\n color: #c0c0c0;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-text {\n color: #fff;\n text-align: center;\n font-size: 14px;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-more {\n padding: 0 4px 0 3px;\n height: 100%;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-more svg {\n width: 7px;\n color: #c0c0c0;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-more:hover {\n background: #0d5075;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main {\n height: 100%;\n padding: 6px 0 4px 0;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main:hover {\n background: #0d5075;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main:hover .paladin-tool-item-plus-label {\n color: #fff;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main:hover .paladin-tool-item-plus-icon svg {\n color: #fff;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main-active {\n background: #0d5075;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main-active .paladin-tool-item-plus-label {\n color: #fff;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main-active .paladin-tool-item-plus-icon svg {\n color: #fff;\n}\n";
41323
+ var css_248z$g = ".paladin-tool-item-plus {\n width: 46px;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n border: 1px solid #252525;\n margin: 2px;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-label {\n display: flex;\n flex-direction: row;\n font-size: 12px;\n white-space: nowrap;\n color: #c0c0c0;\n margin-top: 5px;\n overflow: hidden;\n text-align: center;\n word-break: break-all;\n justify-content: center;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-icon {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-icon svg {\n width: 22px;\n height: 22px;\n color: #c0c0c0;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-text {\n color: #fff;\n text-align: center;\n font-size: 14px;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-more {\n padding: 0 4px 0 3px;\n height: 100%;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-more svg {\n width: 7px;\n color: #c0c0c0;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-more:hover {\n background: #0d5075;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main {\n height: 100%;\n padding: 6px 0 4px 0;\n max-width: 33px;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main:hover {\n background: #0d5075;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main:hover .paladin-tool-item-plus-label {\n color: #fff;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main:hover .paladin-tool-item-plus-icon svg {\n color: #fff;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main-active {\n background: #0d5075;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main-active .paladin-tool-item-plus-label {\n color: #fff;\n}\n.paladin-tool-item-plus .paladin-tool-item-plus-main-active .paladin-tool-item-plus-icon svg {\n color: #fff;\n}\n";
41324
41324
  styleInject$1(css_248z$g);
41325
41325
 
41326
41326
  function _createSuper$16(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$16(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
@@ -44469,10 +44469,7 @@ var mergeProps$h = function mergeProps(propsFromState, propsFromDispatch, ownPro
44469
44469
  return _objectSpread$G(_objectSpread$G(_objectSpread$G({}, ownProps), propsFromState), {}, {
44470
44470
  handleRemove: function handleRemove(data) {
44471
44471
  if (ownProps.operateKeyImages) {
44472
- ownProps.operateKeyImages('remove', {
44473
- studyInstanceUID: data.studyInstanceUID,
44474
- attachmentId: data._id
44475
- });
44472
+ ownProps.operateKeyImages('remove', data);
44476
44473
  }
44477
44474
  }
44478
44475
  });
@@ -46465,10 +46462,7 @@ var mergeProps$i = function mergeProps(propsFromState, propsFromDispatch, ownPro
46465
46462
  });
46466
46463
 
46467
46464
  if (selectImage) {
46468
- ownProps.operateKeyImages('remove', {
46469
- studyInstanceUID: currentSeries.studyInstanceUID,
46470
- attachmentId: selectImage._id
46471
- });
46465
+ ownProps.operateKeyImages('remove', selectImage);
46472
46466
  } else {
46473
46467
  var _activeElement = getElement(realActiveIndex);
46474
46468
 
@@ -49354,8 +49348,9 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
49354
49348
 
49355
49349
  var _imageProcessType = Surgery ? ImageProcessType.Centesis : CPR ? ImageProcessType.CPR : ImageProcessType.MPR;
49356
49350
 
49357
- var isKey = keyImages && lodash$1.find(keyImages, {
49358
- imageId: imageId
49351
+ var isKey = keyImages && stack && stack.SOPInstanceUIDs[currentImageIndex] && lodash$1.find(keyImages, {
49352
+ seriesInstanceUID: stack.seriesInstanceUID,
49353
+ SOPInstanceUID: stack.SOPInstanceUIDs[currentImageIndex]
49359
49354
  });
49360
49355
 
49361
49356
  return /*#__PURE__*/React__default.createElement("div", {
@@ -54872,17 +54867,7 @@ var mergeProps$s = function mergeProps(propsFromState, propsFromDispatch, ownPro
54872
54867
  });
54873
54868
  },
54874
54869
  resetKeyImages: function resetKeyImages(data) {
54875
- var _images = [];
54876
-
54877
- if (data.images && data.images.length > 0) {
54878
- lodash$1.forEach(data.images, function (image) {
54879
- _images.push(_objectSpread$S(_objectSpread$S({}, image), {}, {
54880
- studyInstanceUID: data.studyInstanceUID
54881
- }));
54882
- });
54883
- }
54884
-
54885
- propsFromDispatch.setKeyImage(_images);
54870
+ propsFromDispatch.setKeyImage(data);
54886
54871
  }
54887
54872
  });
54888
54873
  };