hellfire 0.25.6 → 0.25.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.25.8](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.7...v0.25.8) (2023-03-07)
6
+
7
+
8
+
9
+ ## [0.25.7](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.6...v0.25.7) (2023-03-06)
10
+
11
+
12
+
5
13
  ## [0.25.6](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.5...v0.25.6) (2023-03-01)
6
14
 
7
15
 
package/dist/index.js CHANGED
@@ -32784,7 +32784,7 @@ function getAIText(data) {
32784
32784
  type = _data$info.type,
32785
32785
  risk = _data$info.risk,
32786
32786
  index = data.index;
32787
- var title = "#".concat(index, " ").concat(inspectionTypeDic(type), " ").concat(riskTypeDic[risk]);
32787
+ var title = "#".concat(index, " ").concat(inspectionTypeDic(type), " ").concat(riskTypeDic[risk] || '');
32788
32788
  var text = [title];
32789
32789
 
32790
32790
  if (type === 'nodule') {
@@ -32853,6 +32853,9 @@ function inspectionTypeDic(value) {
32853
32853
  case 'pneumonia':
32854
32854
  return '肺炎';
32855
32855
 
32856
+ case 'other_than_nodules_abnormalities':
32857
+ return '结节外异常';
32858
+
32856
32859
  default:
32857
32860
  return value;
32858
32861
  }
@@ -52654,6 +52657,7 @@ var ViewportOverlay = /*#__PURE__*/function (_PureComponent) {
52654
52657
  var windowWidth = parseFloat(viewport.voi.windowWidth) || 0;
52655
52658
  var windowCenter = parseFloat(viewport.voi.windowCenter) || 0;
52656
52659
  var acquisitionMatrix = dicom.AcquisitionMatrix.value;
52660
+ var sliceLocation = dicom.SliceLocation.value && parseFloat(dicom.SliceLocation.value).toFixed(2);
52657
52661
  return /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("div", {
52658
52662
  style: {
52659
52663
  position: 'absolute',
@@ -52690,7 +52694,7 @@ var ViewportOverlay = /*#__PURE__*/function (_PureComponent) {
52690
52694
  fontSize: '12px',
52691
52695
  display: "".concat(hide ? 'none' : 'block')
52692
52696
  }
52693
- }, /*#__PURE__*/React__default.createElement("div", null, "W: ", windowWidth.toFixed(0)), /*#__PURE__*/React__default.createElement("div", null, "C: ", windowCenter.toFixed(0)), /*#__PURE__*/React__default.createElement("div", null, zoom, "X"), /*#__PURE__*/React__default.createElement("div", null, getFov(dicom, imageId)), /*#__PURE__*/React__default.createElement("div", null, getMat(acquisitionMatrix))));
52697
+ }, /*#__PURE__*/React__default.createElement("div", null, "W: ", windowWidth.toFixed(0)), /*#__PURE__*/React__default.createElement("div", null, "C: ", windowCenter.toFixed(0)), /*#__PURE__*/React__default.createElement("div", null, zoom, "X"), /*#__PURE__*/React__default.createElement("div", null, getFov(dicom, imageId)), /*#__PURE__*/React__default.createElement("div", null, getMat(acquisitionMatrix)), (sliceLocation || sliceLocation === 0) && /*#__PURE__*/React__default.createElement("div", null, "Location: ", sliceLocation)));
52694
52698
  }
52695
52699
  }, {
52696
52700
  key: "__reactstandin__regenerateByEval",