hellfire 0.25.10 → 0.25.12

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.12](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.11...v0.25.12) (2023-04-03)
6
+
7
+
8
+
9
+ ## [0.25.11](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.10...v0.25.11) (2023-03-31)
10
+
11
+
12
+
5
13
  ## [0.25.10](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.9...v0.25.10) (2023-03-21)
6
14
 
7
15
 
package/dist/index.js CHANGED
@@ -104,7 +104,7 @@ var TOGGLE_TOOL_MODE = 'TOGGLE_TOOL_MODE'; // ---------- Reducers ----------
104
104
  var imageModeWithout = ['PrevNext', 'Cine', 'Link', 'ReferenceLine', 'ReferencePosition', 'StackScroll'];
105
105
  var tools = ['Layout', 'PrevNext', 'ImageMode', 'StackScroll', 'Wwwc', 'Zoom', 'Pan', 'Reset', 'Rotate', 'Tool', 'Length', 'Cine', 'Link', 'ReferenceLine', 'ReferencePosition', 'Sync', 'MPR', 'MIP', 'VR', 'Surgery', 'Fullscreen', 'Settings']; // 手机 允许使用的工具, 及其排序
106
106
 
107
- var phoneTools = ["Prev", "Next", "StackScroll", "Wwwc", "Zoom", "Pan", "Reset", "Rotate", "Tool", "Length", "Cine", "MPR", "Settings"]; // MPR 允许使用的工具, 及其排序
107
+ var phoneTools = ["Prev", "Next", "StackScroll", "Wwwc", "Zoom", "Pan", "Reset", "Rotate", "Tool", "Length", "Cine", "MPR", 'VR', 'MIP', "Settings"]; // MPR 允许使用的工具, 及其排序
108
108
 
109
109
  var mprTools = ["MprExit", "PrevNext", "MprSwitchPerspective", "CrosshairsMPR", "StackScroll", "Wwwc", "Zoom", "Pan", "Reset", "Rotate", "Tool", "Length", "Fullscreen", "MprRefresh"];
110
110
  var mprPhoneTools = ["MprExit", "StackScroll", "MprSwitchPerspective", "CrosshairsMPR", "Wwwc", "Zoom", "Pan", "Reset", "Rotate", "Tool", "Length", "MprRefresh"]; // VR 允许使用的工具, 及其排序
@@ -32711,7 +32711,7 @@ var AIAnalysisOverlayTool = /*#__PURE__*/function (_BaseAnnotationPlusTo) {
32711
32711
  lodash$1.forEach(this.aiResult, function (item, i) {
32712
32712
  if (item.seriesUid === seriesInstanceUID) {
32713
32713
  var segmentations = lodash$1.map(item.segmentations, function (segmentation) {
32714
- var info = lodash$1.pick(item, ['type', 'risk', 'intensity', 'avgAxisDiameter_mm', 'longAxisDiameter_mm', 'shortAxisDiameter_mm', 'characteristic']);
32714
+ var info = lodash$1.pick(item, ['type', 'risk', 'intensity', 'avgAxisDiameter_mm', 'longAxisDiameter_mm', 'shortAxisDiameter_mm', 'characteristic', 'typeWithTexture']);
32715
32715
 
32716
32716
  return _objectSpread$d(_objectSpread$d({}, segmentation), {}, {
32717
32717
  index: i + 1,
@@ -32784,8 +32784,9 @@ function getAIText(data) {
32784
32784
  var _data$info = data.info,
32785
32785
  type = _data$info.type,
32786
32786
  risk = _data$info.risk,
32787
+ typeWithTexture = _data$info.typeWithTexture,
32787
32788
  index = data.index;
32788
- var title = "#".concat(index, " ").concat(inspectionTypeDic(type), " ").concat(riskTypeDic[risk] || '');
32789
+ var title = "#".concat(index, " ").concat(typeWithTexture || inspectionTypeDic(type), " ").concat(riskTypeDic[risk] || '');
32789
32790
  var text = [title];
32790
32791
 
32791
32792
  if (type === 'nodule') {
@@ -32804,12 +32805,8 @@ function getAIText(data) {
32804
32805
  text.push("\u5E73\u5747\u76F4\u5F84: ".concat(lodash$1.round(avgAxisDiameter_mm, 1), " mm"));
32805
32806
  }
32806
32807
 
32807
- if (longAxisDiameter_mm) {
32808
- text.push("\u957F\u5F84: ".concat(lodash$1.round(longAxisDiameter_mm, 1), " mm"));
32809
- }
32810
-
32811
- if (shortAxisDiameter_mm) {
32812
- text.push("\u77ED\u5F84: ".concat(lodash$1.round(shortAxisDiameter_mm, 1), " mm"));
32808
+ if (longAxisDiameter_mm && shortAxisDiameter_mm) {
32809
+ text.push("\u5927\u5C0F: ".concat(lodash$1.round(longAxisDiameter_mm, 1), "mm \xD7 ").concat(lodash$1.round(shortAxisDiameter_mm, 1), "mm"));
32813
32810
  }
32814
32811
 
32815
32812
  text.push("\u7ED3\u8282\u5BC6\u5EA6\u5C5E\u6027: ".concat(characteristic && characteristic.texture && textureDic(characteristic.texture) || '无'));