hellfire 0.27.13 → 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 +8 -0
- package/README.md +1 -1
- package/dist/index.js +179 -68
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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.27.15](http://10.16.100.57/diffusion/115/paladin/compare/v0.27.14...v0.27.15) (2024-06-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.27.14](http://10.16.100.57/diffusion/115/paladin/compare/v0.27.13...v0.27.14) (2024-06-14)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [0.27.13](http://10.16.100.57/diffusion/115/paladin/compare/v0.27.12...v0.27.13) (2024-06-06)
|
|
6
14
|
|
|
7
15
|
|
package/README.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -31462,10 +31462,13 @@ function isPromise(obj) {
|
|
|
31462
31462
|
}
|
|
31463
31463
|
|
|
31464
31464
|
var CreateModal = function CreateModal(props) {
|
|
31465
|
+
var childWithProps = /*#__PURE__*/React__default.cloneElement(props.child, {
|
|
31466
|
+
close: props.close
|
|
31467
|
+
});
|
|
31465
31468
|
return /*#__PURE__*/React__default.createElement(Modal, _extends_1({}, props, {
|
|
31466
31469
|
footer: null,
|
|
31467
31470
|
onCancel: props.close
|
|
31468
|
-
}),
|
|
31471
|
+
}), childWithProps, props.footer && /*#__PURE__*/React__default.createElement("div", {
|
|
31469
31472
|
className: "paladin-modal-footer"
|
|
31470
31473
|
}, props.cancelButtonProps.show && /*#__PURE__*/React__default.createElement(Button, {
|
|
31471
31474
|
type: props.cancelButtonProps.type,
|
|
@@ -43070,7 +43073,8 @@ var DicomToolFlattenMode$1 = /*#__PURE__*/function (_Component) {
|
|
|
43070
43073
|
openDicomModal = _this$props3.openDicomModal,
|
|
43071
43074
|
handleFullscreen = _this$props3.handleFullscreen,
|
|
43072
43075
|
setCustomWindowLayoutType = _this$props3.setCustomWindowLayoutType,
|
|
43073
|
-
operateKeyImages = _this$props3.operateKeyImages
|
|
43076
|
+
operateKeyImages = _this$props3.operateKeyImages,
|
|
43077
|
+
openSettingModal = _this$props3.openSettingModal;
|
|
43074
43078
|
var isThree = MPR || VR || Surgery || MIP;
|
|
43075
43079
|
var IODisconnect = !IO;
|
|
43076
43080
|
var commonTools = ['Layout', 'StackScroll', 'Wwwc', 'Zoom', 'Pan', 'Rotate', 'ReverseColor', 'Sharpen', 'Cine', 'FalseColor', 'Link', 'ReferencePosition', 'Reset']; // 只有传入了关键图像操作的方法 才显示这个按钮
|
|
@@ -43315,7 +43319,14 @@ var DicomToolFlattenMode$1 = /*#__PURE__*/function (_Component) {
|
|
|
43315
43319
|
start3D('Surgery');
|
|
43316
43320
|
}
|
|
43317
43321
|
}
|
|
43318
|
-
}, 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"))));
|
|
43319
43330
|
}
|
|
43320
43331
|
}]);
|
|
43321
43332
|
|
|
@@ -45776,7 +45787,7 @@ function _ref$1m() {
|
|
|
45776
45787
|
return _ref$1m.apply(this, arguments);
|
|
45777
45788
|
}
|
|
45778
45789
|
|
|
45779
|
-
var css_248z$r = ".paladin-user-setting {\n padding: 0 20px;\n margin-bottom: 30px;\n font-size: 15px;\n}\n.paladin-user-setting p {\n font-size: 16px;\n}\n.paladin-user-setting .paladin-user-setting-remark {\n
|
|
45790
|
+
var css_248z$r = ".paladin-user-setting {\n padding: 0 20px;\n margin-bottom: 30px;\n font-size: 15px;\n}\n.paladin-user-setting p {\n font-size: 16px;\n}\n.paladin-user-setting .paladin-user-setting-remark {\n color: #d43f3a;\n margin: 10px 0 0 0;\n}\n.paladin-user-setting .paladin-user-setting-footer {\n margin-top: 15px;\n text-align: right;\n}\n.paladin-user-setting .paladin-user-setting-footer button {\n margin-left: 10px;\n}\n.paladin-user-setting .paladin-setting-radio {\n display: flex;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-label {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-item {\n display: flex;\n flex-direction: row;\n margin-right: 10px;\n align-items: center;\n justify-content: center;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-item .paladin-ipt {\n padding: 0 !important;\n margin: 0 3px 0 0 !important;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-item input {\n display: flex;\n flex-direction: column;\n width: 20px;\n height: 20px;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-item span {\n display: flex;\n flex-direction: column;\n}\n.paladin-user-setting .paladin-setting-hotkey {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n.paladin-user-setting .paladin-setting-hotkey .paladin-setting-hotkey-item {\n display: flex;\n flex-direction: column;\n flex: none;\n padding: 5px 10px;\n border: 1px solid #666;\n border-radius: 3px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n";
|
|
45780
45791
|
styleInject$1(css_248z$r);
|
|
45781
45792
|
|
|
45782
45793
|
var dicomSettingLeftMouseTools = ['StackScroll', 'Wwwc'];
|
|
@@ -45802,41 +45813,43 @@ var dicomSettingRightMouseToolsDic = [{
|
|
|
45802
45813
|
}];
|
|
45803
45814
|
var dicomSettingHotKeyDic = [{
|
|
45804
45815
|
label: '调窗',
|
|
45805
|
-
hotkey: '
|
|
45816
|
+
hotkey: 'T'
|
|
45806
45817
|
}, {
|
|
45807
45818
|
label: '浏览',
|
|
45808
|
-
hotkey: '
|
|
45819
|
+
hotkey: 'L'
|
|
45809
45820
|
}, {
|
|
45810
45821
|
label: '缩放',
|
|
45811
|
-
hotkey: '
|
|
45822
|
+
hotkey: 'S'
|
|
45812
45823
|
}, {
|
|
45813
45824
|
label: '移动',
|
|
45814
|
-
hotkey: '
|
|
45825
|
+
hotkey: 'Y'
|
|
45815
45826
|
}, {
|
|
45816
45827
|
label: '反色',
|
|
45817
|
-
hotkey: '
|
|
45828
|
+
hotkey: 'F'
|
|
45818
45829
|
}, {
|
|
45819
45830
|
label: '直线测量',
|
|
45820
|
-
hotkey: '
|
|
45831
|
+
hotkey: 'Z'
|
|
45821
45832
|
}, {
|
|
45822
45833
|
label: '矩形测量',
|
|
45823
|
-
hotkey: '
|
|
45834
|
+
hotkey: 'J'
|
|
45824
45835
|
}, {
|
|
45825
45836
|
label: 'CT值测量',
|
|
45826
|
-
hotkey: '
|
|
45837
|
+
hotkey: 'C'
|
|
45827
45838
|
}, {
|
|
45828
45839
|
label: '连续测量',
|
|
45829
|
-
hotkey: '
|
|
45840
|
+
hotkey: 'A'
|
|
45830
45841
|
}, {
|
|
45831
45842
|
label: '扫描定位线',
|
|
45832
|
-
hotkey: '
|
|
45843
|
+
hotkey: 'D'
|
|
45833
45844
|
}, {
|
|
45834
45845
|
label: '显示/隐藏图像信息',
|
|
45835
|
-
hotkey: '
|
|
45846
|
+
hotkey: 'X'
|
|
45836
45847
|
}];
|
|
45848
|
+
var hotKeyIsOpen = window.localStorage.getItem('hellfire-hotkey-open') || 'open';
|
|
45837
45849
|
var customDicomSetting = {
|
|
45838
45850
|
leftMouseTool: 'Wwwc',
|
|
45839
|
-
rightMouseTool: 'Zoom'
|
|
45851
|
+
rightMouseTool: 'Zoom',
|
|
45852
|
+
hotKeyIsOpen: hotKeyIsOpen
|
|
45840
45853
|
};
|
|
45841
45854
|
|
|
45842
45855
|
var saveCustomDicomSetting = function saveCustomDicomSetting() {
|
|
@@ -45868,6 +45881,24 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
45868
45881
|
classCallCheck(this, UserSettingModal);
|
|
45869
45882
|
|
|
45870
45883
|
_this = _super.call(this, props);
|
|
45884
|
+
|
|
45885
|
+
defineProperty(assertThisInitialized(_this), "handleSave", function () {
|
|
45886
|
+
var dicomSettingChange = _this.props.dicomSettingChange;
|
|
45887
|
+
window.localStorage.setItem('hellfire-hotkey-open', _this.state.hotKeyIsOpen);
|
|
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
|
+
}
|
|
45900
|
+
});
|
|
45901
|
+
|
|
45871
45902
|
_this.state = _objectSpread$I({}, customDicomSetting);
|
|
45872
45903
|
return _this;
|
|
45873
45904
|
}
|
|
@@ -45879,16 +45910,15 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
45879
45910
|
|
|
45880
45911
|
var _this$state = this.state,
|
|
45881
45912
|
leftMouseTool = _this$state.leftMouseTool,
|
|
45882
|
-
rightMouseTool = _this$state.rightMouseTool
|
|
45883
|
-
|
|
45913
|
+
rightMouseTool = _this$state.rightMouseTool,
|
|
45914
|
+
hotKeyIsOpen = _this$state.hotKeyIsOpen;
|
|
45915
|
+
var close = this.props.close;
|
|
45884
45916
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
45885
45917
|
className: 'paladin-user-setting'
|
|
45886
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
|
45887
|
-
className: 'paladin-user-setting-remark'
|
|
45888
|
-
}, "\u6CE8\uFF1A\u4FEE\u6539\u8BBE\u7F6E\u540E\uFF0C\u9700\u91CD\u542F\u8F6F\u4EF6\u6216\u91CD\u65B0\u767B\u5F55\u8D26\u53F7\uFF0C\u624D\u80FD\u751F\u6548\u3002"), /*#__PURE__*/React__default.createElement("p", null, "\u9F20\u6807\u8BBE\u7F6E\uFF1A"), /*#__PURE__*/React__default.createElement("div", {
|
|
45918
|
+
}, /*#__PURE__*/React__default.createElement("p", null, "\u9F20\u6807\u8BBE\u7F6E\uFF1A"), /*#__PURE__*/React__default.createElement("div", {
|
|
45889
45919
|
className: 'paladin-setting-radio'
|
|
45890
45920
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
45891
|
-
className: 'paladin-setting-radio-
|
|
45921
|
+
className: 'paladin-setting-radio-label'
|
|
45892
45922
|
}, "\u5DE6\u952E\uFF1A"), dicomSettingLeftMouseToolsDic && dicomSettingLeftMouseToolsDic.map(function (item, index) {
|
|
45893
45923
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
45894
45924
|
className: 'paladin-setting-radio-item',
|
|
@@ -45900,8 +45930,6 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
45900
45930
|
_this2.setState({
|
|
45901
45931
|
leftMouseTool: item.value
|
|
45902
45932
|
});
|
|
45903
|
-
|
|
45904
|
-
dicomSettingChange && dicomSettingChange('leftMouseTool', item.value);
|
|
45905
45933
|
}
|
|
45906
45934
|
}), /*#__PURE__*/React__default.createElement("span", null, item.label));
|
|
45907
45935
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -45910,7 +45938,7 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
45910
45938
|
marginTop: '10px'
|
|
45911
45939
|
}
|
|
45912
45940
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
45913
|
-
className: 'paladin-setting-radio-
|
|
45941
|
+
className: 'paladin-setting-radio-label'
|
|
45914
45942
|
}, "\u53F3\u952E\uFF1A"), dicomSettingRightMouseToolsDic && dicomSettingRightMouseToolsDic.map(function (item, index) {
|
|
45915
45943
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
45916
45944
|
className: 'paladin-setting-radio-item',
|
|
@@ -45922,8 +45950,6 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
45922
45950
|
_this2.setState({
|
|
45923
45951
|
rightMouseTool: item.value
|
|
45924
45952
|
});
|
|
45925
|
-
|
|
45926
|
-
dicomSettingChange && dicomSettingChange('rightMouseTool', item.value);
|
|
45927
45953
|
}
|
|
45928
45954
|
}), /*#__PURE__*/React__default.createElement("span", null, item.label));
|
|
45929
45955
|
})), /*#__PURE__*/React__default.createElement("p", {
|
|
@@ -45931,13 +45957,47 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
45931
45957
|
marginTop: '30px'
|
|
45932
45958
|
}
|
|
45933
45959
|
}, "\u5FEB\u6377\u952E\u8BF4\u660E\uFF1A"), /*#__PURE__*/React__default.createElement("div", {
|
|
45960
|
+
className: 'paladin-setting-radio',
|
|
45961
|
+
style: {
|
|
45962
|
+
marginBottom: '15px'
|
|
45963
|
+
}
|
|
45964
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
45965
|
+
className: 'paladin-setting-radio-item'
|
|
45966
|
+
}, /*#__PURE__*/React__default.createElement(Input$1, {
|
|
45967
|
+
type: "radio",
|
|
45968
|
+
checked: hotKeyIsOpen === 'open',
|
|
45969
|
+
onChange: function onChange(e) {
|
|
45970
|
+
_this2.setState({
|
|
45971
|
+
hotKeyIsOpen: 'open'
|
|
45972
|
+
});
|
|
45973
|
+
}
|
|
45974
|
+
}), /*#__PURE__*/React__default.createElement("span", null, "\u5F00\u542F\u5FEB\u6377\u952E")), /*#__PURE__*/React__default.createElement("div", {
|
|
45975
|
+
className: 'paladin-setting-radio-item'
|
|
45976
|
+
}, /*#__PURE__*/React__default.createElement(Input$1, {
|
|
45977
|
+
type: "radio",
|
|
45978
|
+
checked: hotKeyIsOpen === 'close',
|
|
45979
|
+
onChange: function onChange(e) {
|
|
45980
|
+
_this2.setState({
|
|
45981
|
+
hotKeyIsOpen: 'close'
|
|
45982
|
+
});
|
|
45983
|
+
}
|
|
45984
|
+
}), /*#__PURE__*/React__default.createElement("span", null, "\u5173\u95ED\u5FEB\u6377\u952E"))), /*#__PURE__*/React__default.createElement("div", {
|
|
45934
45985
|
className: 'paladin-setting-hotkey'
|
|
45935
45986
|
}, dicomSettingHotKeyDic && dicomSettingHotKeyDic.map(function (value, index) {
|
|
45936
45987
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
45937
45988
|
className: 'paladin-setting-hotkey-item',
|
|
45938
45989
|
key: "setting-hotkey-".concat(index)
|
|
45939
45990
|
}, value.label, "(", value.hotkey, ")");
|
|
45940
|
-
}))
|
|
45991
|
+
})), /*#__PURE__*/React__default.createElement("div", {
|
|
45992
|
+
className: 'paladin-user-setting-remark'
|
|
45993
|
+
}, "\u6CE8\uFF1A\u4FDD\u5B58\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762"), /*#__PURE__*/React__default.createElement("div", {
|
|
45994
|
+
className: 'paladin-user-setting-footer'
|
|
45995
|
+
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
45996
|
+
onClick: close
|
|
45997
|
+
}, "\u5173\u95ED"), /*#__PURE__*/React__default.createElement(Button, {
|
|
45998
|
+
type: 'primary',
|
|
45999
|
+
onClick: this.handleSave
|
|
46000
|
+
}, "\u4FDD\u5B58")));
|
|
45941
46001
|
}
|
|
45942
46002
|
}]);
|
|
45943
46003
|
|
|
@@ -47135,10 +47195,7 @@ var mergeProps$j = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
47135
47195
|
dicomSettingChange: ownProps.dicomSettingChange
|
|
47136
47196
|
}), {
|
|
47137
47197
|
title: '功能设置',
|
|
47138
|
-
|
|
47139
|
-
cancelButtonProps: {
|
|
47140
|
-
show: false
|
|
47141
|
-
},
|
|
47198
|
+
footer: false,
|
|
47142
47199
|
style: {
|
|
47143
47200
|
width: '580px',
|
|
47144
47201
|
top: '10%',
|
|
@@ -54356,17 +54413,17 @@ index$2.configure({
|
|
|
54356
54413
|
187: 'key-add',
|
|
54357
54414
|
109: 'key-minus',
|
|
54358
54415
|
189: 'key-minus',
|
|
54359
|
-
81: 'key-q',
|
|
54360
|
-
87: 'key-w',
|
|
54361
|
-
69: 'key-e',
|
|
54362
|
-
82: 'key-r',
|
|
54363
54416
|
84: 'key-t',
|
|
54364
|
-
|
|
54417
|
+
76: 'key-l',
|
|
54365
54418
|
83: 'key-s',
|
|
54366
|
-
|
|
54419
|
+
89: 'key-y',
|
|
54367
54420
|
70: 'key-f',
|
|
54368
|
-
|
|
54369
|
-
|
|
54421
|
+
90: 'key-z',
|
|
54422
|
+
74: 'key-j',
|
|
54423
|
+
67: 'key-c',
|
|
54424
|
+
65: 'key-a',
|
|
54425
|
+
68: 'key-d',
|
|
54426
|
+
78: 'key-x'
|
|
54370
54427
|
}
|
|
54371
54428
|
});
|
|
54372
54429
|
|
|
@@ -54468,9 +54525,18 @@ var DicomView = /*#__PURE__*/function (_Component) {
|
|
|
54468
54525
|
}
|
|
54469
54526
|
}); // 自定义窗值设置
|
|
54470
54527
|
|
|
54471
|
-
this.props.windowSetting && saveWwwcCustomDic(this.props.windowSetting); // 自定义的功能设置初始值
|
|
54528
|
+
this.props.windowSetting && saveWwwcCustomDic(this.props.windowSetting); // 自定义的功能设置初始值 1.外部传入、保存 2.内部本地存储
|
|
54472
54529
|
|
|
54473
|
-
|
|
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
|
+
}
|
|
54474
54540
|
}
|
|
54475
54541
|
}, {
|
|
54476
54542
|
key: "componentWillReceiveProps",
|
|
@@ -55122,6 +55188,7 @@ var mergeProps$t = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
55122
55188
|
|
|
55123
55189
|
var throttleForwardFunc = throttle$9(forwardFunc, stepTime);
|
|
55124
55190
|
var throttleBackFunc = throttle$9(backFunc, stepTime);
|
|
55191
|
+
var hotKeyIsOpen = customDicomSetting.hotKeyIsOpen === 'open';
|
|
55125
55192
|
/**
|
|
55126
55193
|
*
|
|
55127
55194
|
* Key values:
|
|
@@ -55155,17 +55222,17 @@ var mergeProps$t = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
55155
55222
|
WWWC9: ['key-9'],
|
|
55156
55223
|
PAUSE: "space",
|
|
55157
55224
|
ESC: "esc",
|
|
55158
|
-
KEYQ: ['key-q'],
|
|
55159
|
-
KEYW: ['key-w'],
|
|
55160
|
-
KEYE: ['key-e'],
|
|
55161
|
-
KEYR: ['key-r'],
|
|
55162
55225
|
KEYT: ['key-t'],
|
|
55163
|
-
|
|
55226
|
+
KEYL: ['key-l'],
|
|
55164
55227
|
KEYS: ['key-s'],
|
|
55165
|
-
|
|
55228
|
+
KEYY: ['key-y'],
|
|
55166
55229
|
KEYF: ['key-f'],
|
|
55167
|
-
|
|
55168
|
-
|
|
55230
|
+
KEYZ: ['key-z'],
|
|
55231
|
+
KEYJ: ['key-j'],
|
|
55232
|
+
KEYC: ['key-c'],
|
|
55233
|
+
KEYA: ['key-a'],
|
|
55234
|
+
KEYD: ['key-d'],
|
|
55235
|
+
KEYX: ['key-x']
|
|
55169
55236
|
},
|
|
55170
55237
|
handlers: {
|
|
55171
55238
|
PAUSE: function PAUSE() {
|
|
@@ -55439,46 +55506,90 @@ var mergeProps$t = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
55439
55506
|
if (!activeElement) return;
|
|
55440
55507
|
setWwwc(activeElement, wwwcCustomDic[9].ww, wwwcCustomDic[9].wc);
|
|
55441
55508
|
},
|
|
55442
|
-
|
|
55509
|
+
KEYT: function KEYT() {
|
|
55510
|
+
if (!hotKeyIsOpen) {
|
|
55511
|
+
return;
|
|
55512
|
+
}
|
|
55513
|
+
|
|
55443
55514
|
propsFromDispatch.setActiveTool('Wwwc');
|
|
55444
55515
|
},
|
|
55445
|
-
|
|
55516
|
+
KEYL: function KEYL() {
|
|
55517
|
+
if (!hotKeyIsOpen) {
|
|
55518
|
+
return;
|
|
55519
|
+
}
|
|
55520
|
+
|
|
55446
55521
|
propsFromDispatch.setActiveTool('StackScroll');
|
|
55447
55522
|
},
|
|
55448
|
-
|
|
55523
|
+
KEYS: function KEYS() {
|
|
55524
|
+
if (!hotKeyIsOpen) {
|
|
55525
|
+
return;
|
|
55526
|
+
}
|
|
55527
|
+
|
|
55449
55528
|
propsFromDispatch.setActiveTool('Zoom');
|
|
55450
55529
|
},
|
|
55451
|
-
|
|
55530
|
+
KEYY: function KEYY() {
|
|
55531
|
+
if (!hotKeyIsOpen) {
|
|
55532
|
+
return;
|
|
55533
|
+
}
|
|
55534
|
+
|
|
55452
55535
|
propsFromDispatch.setActiveTool('Pan');
|
|
55453
55536
|
},
|
|
55454
|
-
|
|
55455
|
-
|
|
55537
|
+
KEYF: function KEYF() {
|
|
55538
|
+
if (!hotKeyIsOpen) {
|
|
55539
|
+
return;
|
|
55540
|
+
} // 反色
|
|
55541
|
+
|
|
55542
|
+
|
|
55456
55543
|
var activeElement = getCurrentElement();
|
|
55457
55544
|
if (!activeElement) return;
|
|
55458
55545
|
setInvert(activeElement);
|
|
55459
55546
|
},
|
|
55460
|
-
|
|
55461
|
-
|
|
55547
|
+
KEYZ: function KEYZ() {
|
|
55548
|
+
if (!hotKeyIsOpen) {
|
|
55549
|
+
return;
|
|
55550
|
+
} // 直线测量
|
|
55551
|
+
|
|
55552
|
+
|
|
55462
55553
|
propsFromDispatch.setActiveTool('Length');
|
|
55463
55554
|
},
|
|
55464
|
-
|
|
55465
|
-
|
|
55555
|
+
KEYJ: function KEYJ() {
|
|
55556
|
+
if (!hotKeyIsOpen) {
|
|
55557
|
+
return;
|
|
55558
|
+
} // 矩形测量
|
|
55559
|
+
|
|
55560
|
+
|
|
55466
55561
|
propsFromDispatch.setActiveTool('RectangleRoi');
|
|
55467
55562
|
},
|
|
55468
|
-
|
|
55469
|
-
|
|
55563
|
+
KEYC: function KEYC() {
|
|
55564
|
+
if (!hotKeyIsOpen) {
|
|
55565
|
+
return;
|
|
55566
|
+
} // CT值测量
|
|
55567
|
+
|
|
55568
|
+
|
|
55470
55569
|
propsFromDispatch.setActiveTool('Probe');
|
|
55471
55570
|
},
|
|
55472
|
-
|
|
55473
|
-
|
|
55571
|
+
KEYA: function KEYA() {
|
|
55572
|
+
if (!hotKeyIsOpen) {
|
|
55573
|
+
return;
|
|
55574
|
+
} // 连续测量切换
|
|
55575
|
+
|
|
55576
|
+
|
|
55474
55577
|
propsFromDispatch.toggleMeasure();
|
|
55475
55578
|
},
|
|
55476
|
-
|
|
55477
|
-
|
|
55579
|
+
KEYD: function KEYD() {
|
|
55580
|
+
if (!hotKeyIsOpen) {
|
|
55581
|
+
return;
|
|
55582
|
+
} // 扫描定位线
|
|
55583
|
+
|
|
55584
|
+
|
|
55478
55585
|
propsFromDispatch.activeDicomFunction('ReferenceLines');
|
|
55479
55586
|
},
|
|
55480
|
-
|
|
55481
|
-
|
|
55587
|
+
KEYX: function KEYX() {
|
|
55588
|
+
if (!hotKeyIsOpen) {
|
|
55589
|
+
return;
|
|
55590
|
+
} // 显示隐藏图像信息
|
|
55591
|
+
|
|
55592
|
+
|
|
55482
55593
|
propsFromDispatch.toggleOverlayText();
|
|
55483
55594
|
}
|
|
55484
55595
|
},
|