hellfire 0.26.6 → 0.26.7

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,10 @@
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.7](http://10.16.100.57/diffusion/115/paladin/compare/v0.26.6...v0.26.7) (2023-07-20)
6
+
7
+
8
+
5
9
  ## [0.26.6](http://10.16.100.57/diffusion/115/paladin/compare/v0.26.5...v0.26.6) (2023-07-20)
6
10
 
7
11
 
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); }; }
@@ -49354,8 +49354,9 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
49354
49354
 
49355
49355
  var _imageProcessType = Surgery ? ImageProcessType.Centesis : CPR ? ImageProcessType.CPR : ImageProcessType.MPR;
49356
49356
 
49357
- var isKey = keyImages && lodash$1.find(keyImages, {
49358
- imageId: imageId
49357
+ var isKey = keyImages && stack && stack.SOPInstanceUIDs[currentImageIndex] && lodash$1.find(keyImages, {
49358
+ seriesInstanceUID: stack.seriesInstanceUID,
49359
+ SOPInstanceUID: stack.SOPInstanceUIDs[currentImageIndex]
49359
49360
  });
49360
49361
 
49361
49362
  return /*#__PURE__*/React__default.createElement("div", {
@@ -54872,17 +54873,7 @@ var mergeProps$s = function mergeProps(propsFromState, propsFromDispatch, ownPro
54872
54873
  });
54873
54874
  },
54874
54875
  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);
54876
+ propsFromDispatch.setKeyImage(data);
54886
54877
  }
54887
54878
  });
54888
54879
  };