hellfire 0.29.8 → 0.29.10
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/dist/index.js +27 -12
- 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.29.10](http://10.16.100.57/diffusion/115/paladin/compare/v0.29.9...v0.29.10) (2025-05-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.29.9](http://10.16.100.57/diffusion/115/paladin/compare/v0.29.8...v0.29.9) (2025-05-08)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [0.29.8](http://10.16.100.57/diffusion/115/paladin/compare/v0.29.7...v0.29.8) (2025-04-29)
|
|
6
14
|
|
|
7
15
|
|
package/dist/index.js
CHANGED
|
@@ -1040,7 +1040,7 @@ var initialState$1 = {
|
|
|
1040
1040
|
Film: false,
|
|
1041
1041
|
displayShutter: true,
|
|
1042
1042
|
// 开启、关闭遮罩,默认开启
|
|
1043
|
-
showFilmPrinterEntrance:
|
|
1043
|
+
showFilmPrinterEntrance: true,
|
|
1044
1044
|
// 显示隐藏胶片打印入口按钮,默认隐藏
|
|
1045
1045
|
imageAutoLoad: true // 默认开启图像自动预加载
|
|
1046
1046
|
|
|
@@ -43443,7 +43443,7 @@ var DicomToolLineMode = /*#__PURE__*/function (_Component) {
|
|
|
43443
43443
|
return DicomToolLineMode;
|
|
43444
43444
|
}(React.Component);
|
|
43445
43445
|
|
|
43446
|
-
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";
|
|
43446
|
+
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.paladin-tool-item-plus .paladin-overlay-badge {\n position: absolute;\n right: -10px;\n top: -10px;\n color: #fff;\n background: #faa80a;\n padding: 0 6px;\n border-radius: 12px;\n font-size: 12px;\n font-weight: bold;\n}\n";
|
|
43447
43447
|
styleInject$1(css_248z$g);
|
|
43448
43448
|
|
|
43449
43449
|
function _createSuper$18(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$18(); 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); }; }
|
|
@@ -43560,7 +43560,8 @@ var DicomToolItemPlus = /*#__PURE__*/function (_Component) {
|
|
|
43560
43560
|
style: {
|
|
43561
43561
|
display: 'flex',
|
|
43562
43562
|
alignItems: 'center',
|
|
43563
|
-
justifyContent: 'center'
|
|
43563
|
+
justifyContent: 'center',
|
|
43564
|
+
position: 'relative'
|
|
43564
43565
|
}
|
|
43565
43566
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
43566
43567
|
className: "paladin-flex-col paladin-flex-1",
|
|
@@ -43578,11 +43579,16 @@ var DicomToolItemPlus = /*#__PURE__*/function (_Component) {
|
|
|
43578
43579
|
className: "paladin-tool-item-plus-icon"
|
|
43579
43580
|
}, data.component), /*#__PURE__*/React__default.createElement("div", {
|
|
43580
43581
|
className: "paladin-tool-item-plus-label"
|
|
43581
|
-
}, data.label)))
|
|
43582
|
+
}, data.label))), data.overlayBadgeKey && /*#__PURE__*/React__default.createElement("div", {
|
|
43583
|
+
className: "paladin-overlay-badge"
|
|
43584
|
+
}, this.props[data.overlayBadgeKey] && this.props[data.overlayBadgeKey].length || ''))), data.moreComponent && /*#__PURE__*/React__default.createElement(PopperBox, {
|
|
43582
43585
|
popover: data.moreComponent,
|
|
43583
43586
|
onPopoverClose: this.onPopoverClose,
|
|
43584
43587
|
popoverPlacement: 'bottom',
|
|
43585
|
-
customProps: data.customProps
|
|
43588
|
+
customProps: data.customProps,
|
|
43589
|
+
popperStyle: {
|
|
43590
|
+
zIndex: 9999
|
|
43591
|
+
}
|
|
43586
43592
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
43587
43593
|
className: "paladin-flex-col paladin-tool-item-plus-more"
|
|
43588
43594
|
}, /*#__PURE__*/React__default.createElement(SvgCaretDown, null)))));
|
|
@@ -48062,7 +48068,8 @@ var DicomTool = /*#__PURE__*/function (_Component) {
|
|
|
48062
48068
|
},
|
|
48063
48069
|
customProps: {
|
|
48064
48070
|
operateKeyImages: _this.props.operateKeyImages
|
|
48065
|
-
}
|
|
48071
|
+
},
|
|
48072
|
+
overlayBadgeKey: 'keyImages'
|
|
48066
48073
|
},
|
|
48067
48074
|
Fusion: {
|
|
48068
48075
|
label: getI18nMessage('dicom_tool_pet_entry'),
|
|
@@ -48530,9 +48537,7 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
48530
48537
|
}, value.label, "(", value.hotkey, ")");
|
|
48531
48538
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
48532
48539
|
className: 'paladin-user-setting-remark'
|
|
48533
|
-
}, "\u6CE8\uFF1A\u4FDD\u5B58\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762"), /*#__PURE__*/React__default.createElement("div",
|
|
48534
|
-
onClick: this.props.toggleFilmPrinterEntrance
|
|
48535
|
-
}, "\u663E\u793A/\u9690\u85CF\u6253\u5370\u5DE5\u5177\u680F")), /*#__PURE__*/React__default.createElement("div", {
|
|
48540
|
+
}, "\u6CE8\uFF1A\u4FDD\u5B58\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762"), /*#__PURE__*/React__default.createElement("div", {
|
|
48536
48541
|
className: 'paladin-user-setting-footer'
|
|
48537
48542
|
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
48538
48543
|
onClick: close
|
|
@@ -69113,7 +69118,10 @@ var getFilmPrintImageData = /*#__PURE__*/function () {
|
|
|
69113
69118
|
document.body.appendChild(mergedCanvas);
|
|
69114
69119
|
mergedCanvas.style.width = filmWidth + 'px';
|
|
69115
69120
|
mergedCanvas.style.height = filmHeight + 'px';
|
|
69116
|
-
mergedCanvas.style.position = 'fixed';
|
|
69121
|
+
mergedCanvas.style.position = 'fixed'; // mergedCanvas.style.left = '-1400px';
|
|
69122
|
+
// mergedCanvas.style.top = '-1600px';
|
|
69123
|
+
// mergedCanvas.style.transform = 'scale(0.4)';
|
|
69124
|
+
|
|
69117
69125
|
mergedCanvas.style.left = 0;
|
|
69118
69126
|
mergedCanvas.style.top = 0;
|
|
69119
69127
|
mergedCanvas.style.zIndex = 9999;
|
|
@@ -69183,6 +69191,13 @@ function getImage(wodouri, element, canvas, firstLoad) {
|
|
|
69183
69191
|
}
|
|
69184
69192
|
|
|
69185
69193
|
cornerstone.setViewport(element, _viewport);
|
|
69194
|
+
} else {
|
|
69195
|
+
var currentViewport = cornerstone.getViewport(element);
|
|
69196
|
+
|
|
69197
|
+
if (currentViewport) {
|
|
69198
|
+
var defaultViewport = cornerstone.getDefaultViewport(canvas, image);
|
|
69199
|
+
cornerstone.setViewport(element, defaultViewport);
|
|
69200
|
+
}
|
|
69186
69201
|
}
|
|
69187
69202
|
|
|
69188
69203
|
cornerstone.displayImage(element, image);
|
|
@@ -73371,8 +73386,8 @@ var mergeProps$A = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
73371
73386
|
KEYE: ['key-e'],
|
|
73372
73387
|
KEYR: ['key-r'],
|
|
73373
73388
|
KEYT: ['key-t'],
|
|
73374
|
-
DICOMMODAL: ['ctrl+alt+key-d'],
|
|
73375
|
-
|
|
73389
|
+
DICOMMODAL: ['ctrl+alt+key-d'] // FILMENTRANCE: ['ctrl+alt+key-p', 'ctrl+alt+key-f']
|
|
73390
|
+
|
|
73376
73391
|
},
|
|
73377
73392
|
handlers: {
|
|
73378
73393
|
PAUSE: function PAUSE() {
|