hellfire 0.27.14 → 0.27.15
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 +4 -0
- package/dist/index.js +33 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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.27.15](http://10.16.100.57/diffusion/115/paladin/compare/v0.27.14...v0.27.15) (2024-06-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [0.27.14](http://10.16.100.57/diffusion/115/paladin/compare/v0.27.13...v0.27.14) (2024-06-14)
|
|
6
10
|
|
|
7
11
|
|
package/dist/index.js
CHANGED
|
@@ -43073,7 +43073,8 @@ var DicomToolFlattenMode$1 = /*#__PURE__*/function (_Component) {
|
|
|
43073
43073
|
openDicomModal = _this$props3.openDicomModal,
|
|
43074
43074
|
handleFullscreen = _this$props3.handleFullscreen,
|
|
43075
43075
|
setCustomWindowLayoutType = _this$props3.setCustomWindowLayoutType,
|
|
43076
|
-
operateKeyImages = _this$props3.operateKeyImages
|
|
43076
|
+
operateKeyImages = _this$props3.operateKeyImages,
|
|
43077
|
+
openSettingModal = _this$props3.openSettingModal;
|
|
43077
43078
|
var isThree = MPR || VR || Surgery || MIP;
|
|
43078
43079
|
var IODisconnect = !IO;
|
|
43079
43080
|
var commonTools = ['Layout', 'StackScroll', 'Wwwc', 'Zoom', 'Pan', 'Rotate', 'ReverseColor', 'Sharpen', 'Cine', 'FalseColor', 'Link', 'ReferencePosition', 'Reset']; // 只有传入了关键图像操作的方法 才显示这个按钮
|
|
@@ -43318,7 +43319,14 @@ var DicomToolFlattenMode$1 = /*#__PURE__*/function (_Component) {
|
|
|
43318
43319
|
start3D('Surgery');
|
|
43319
43320
|
}
|
|
43320
43321
|
}
|
|
43321
|
-
}, Surgery ? '退出手术路径规划' : '手术路径规划'))
|
|
43322
|
+
}, Surgery ? '退出手术路径规划' : '手术路径规划')), /*#__PURE__*/React__default.createElement("div", {
|
|
43323
|
+
className: "paladin-flex-row"
|
|
43324
|
+
}, /*#__PURE__*/React__default.createElement(LargeToolItem$1, {
|
|
43325
|
+
onClick: function onClick(e) {
|
|
43326
|
+
e.stopPropagation();
|
|
43327
|
+
openSettingModal();
|
|
43328
|
+
}
|
|
43329
|
+
}, "\u529F\u80FD\u8BBE\u7F6E"))));
|
|
43322
43330
|
}
|
|
43323
43331
|
}]);
|
|
43324
43332
|
|
|
@@ -45877,10 +45885,18 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
45877
45885
|
defineProperty(assertThisInitialized(_this), "handleSave", function () {
|
|
45878
45886
|
var dicomSettingChange = _this.props.dicomSettingChange;
|
|
45879
45887
|
window.localStorage.setItem('hellfire-hotkey-open', _this.state.hotKeyIsOpen);
|
|
45880
|
-
|
|
45881
|
-
|
|
45882
|
-
|
|
45883
|
-
|
|
45888
|
+
|
|
45889
|
+
if (dicomSettingChange) {
|
|
45890
|
+
dicomSettingChange && dicomSettingChange({
|
|
45891
|
+
leftMouseTool: _this.state.leftMouseTool,
|
|
45892
|
+
rightMouseTool: _this.state.rightMouseTool
|
|
45893
|
+
});
|
|
45894
|
+
} else {
|
|
45895
|
+
// 没有接口层面的记忆,就直接本地存储
|
|
45896
|
+
window.localStorage.setItem('hellfire-left-mouse-tool', _this.state.leftMouseTool);
|
|
45897
|
+
window.localStorage.setItem('hellfire-right-mouse-tool', _this.state.rightMouseTool);
|
|
45898
|
+
window.location.reload();
|
|
45899
|
+
}
|
|
45884
45900
|
});
|
|
45885
45901
|
|
|
45886
45902
|
_this.state = _objectSpread$I({}, customDicomSetting);
|
|
@@ -54509,9 +54525,18 @@ var DicomView = /*#__PURE__*/function (_Component) {
|
|
|
54509
54525
|
}
|
|
54510
54526
|
}); // 自定义窗值设置
|
|
54511
54527
|
|
|
54512
|
-
this.props.windowSetting && saveWwwcCustomDic(this.props.windowSetting); // 自定义的功能设置初始值
|
|
54528
|
+
this.props.windowSetting && saveWwwcCustomDic(this.props.windowSetting); // 自定义的功能设置初始值 1.外部传入、保存 2.内部本地存储
|
|
54513
54529
|
|
|
54514
|
-
|
|
54530
|
+
if (this.props.dicomSetting) {
|
|
54531
|
+
saveCustomDicomSetting(this.props.dicomSetting);
|
|
54532
|
+
} else {
|
|
54533
|
+
var leftMouseTool = window.localStorage.getItem('hellfire-left-mouse-tool');
|
|
54534
|
+
var rightMouseTool = window.localStorage.getItem('hellfire-right-mouse-tool');
|
|
54535
|
+
saveCustomDicomSetting({
|
|
54536
|
+
leftMouseTool: leftMouseTool,
|
|
54537
|
+
rightMouseTool: rightMouseTool
|
|
54538
|
+
});
|
|
54539
|
+
}
|
|
54515
54540
|
}
|
|
54516
54541
|
}, {
|
|
54517
54542
|
key: "componentWillReceiveProps",
|