hellfire 0.32.8 → 0.32.9
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 +58 -12
- 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.32.9](http://10.16.100.57/diffusion/115/paladin/compare/v0.32.8...v0.32.9) (2026-03-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [0.32.8](http://10.16.100.57/diffusion/115/paladin/compare/v0.32.7...v0.32.8) (2026-02-09)
|
|
6
10
|
|
|
7
11
|
|
package/dist/index.js
CHANGED
|
@@ -25877,13 +25877,15 @@ var dicomSettingHotKeyDic = [{
|
|
|
25877
25877
|
var hotKeyIsOpen = window.localStorage.getItem('hellfire-hotkey-open') || 'open';
|
|
25878
25878
|
var dicomBasicInfoFrom = window.localStorage.getItem('hellfire-dicom-basic-info-from') || 'dicom';
|
|
25879
25879
|
var cacheMaxSize = window.localStorage.getItem('hellfire-image-cache-max-size') || '2';
|
|
25880
|
+
var loopViewMode = window.localStorage.getItem('hellfire-loop-view-mode') || 'loop';
|
|
25880
25881
|
var customDicomSetting = {
|
|
25881
25882
|
leftMouseTool: 'Wwwc',
|
|
25882
25883
|
rightMouseTool: 'Zoom',
|
|
25883
25884
|
middleMouseTool: 'Pan',
|
|
25884
25885
|
hotKeyIsOpen: hotKeyIsOpen,
|
|
25885
25886
|
dicomBasicInfoFrom: dicomBasicInfoFrom,
|
|
25886
|
-
cacheMaxSize: cacheMaxSize
|
|
25887
|
+
cacheMaxSize: cacheMaxSize,
|
|
25888
|
+
loopViewMode: loopViewMode
|
|
25887
25889
|
};
|
|
25888
25890
|
|
|
25889
25891
|
var saveCustomDicomSetting = function saveCustomDicomSetting() {
|
|
@@ -49730,6 +49732,7 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
49730
49732
|
window.localStorage.setItem('hellfire-hotkey-open', _this.state.hotKeyIsOpen);
|
|
49731
49733
|
window.localStorage.setItem('hellfire-dicom-basic-info-from', _this.state.dicomBasicInfoFrom);
|
|
49732
49734
|
window.localStorage.setItem('hellfire-image-cache-max-size', _this.state.cacheMaxSize);
|
|
49735
|
+
window.localStorage.setItem('hellfire-loop-view-mode', _this.state.loopViewMode);
|
|
49733
49736
|
|
|
49734
49737
|
if (dicomSettingChange) {
|
|
49735
49738
|
dicomSettingChange && dicomSettingChange({
|
|
@@ -49761,11 +49764,36 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
49761
49764
|
middleMouseTool = _this$state.middleMouseTool,
|
|
49762
49765
|
hotKeyIsOpen = _this$state.hotKeyIsOpen,
|
|
49763
49766
|
dicomBasicInfoFrom = _this$state.dicomBasicInfoFrom,
|
|
49764
|
-
cacheMaxSize = _this$state.cacheMaxSize
|
|
49767
|
+
cacheMaxSize = _this$state.cacheMaxSize,
|
|
49768
|
+
loopViewMode = _this$state.loopViewMode;
|
|
49765
49769
|
var close = this.props.close;
|
|
49766
49770
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
49767
49771
|
className: 'paladin-user-setting'
|
|
49768
|
-
}, /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement(SvgCertificate, null), "\
|
|
49772
|
+
}, /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement(SvgCertificate, null), "\u770B\u56FE\u6A21\u5F0F\uFF1A"), /*#__PURE__*/React__default.createElement("div", {
|
|
49773
|
+
className: 'paladin-setting-radio'
|
|
49774
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
49775
|
+
className: 'paladin-setting-radio-label'
|
|
49776
|
+
}, "\u9996\u5C3E\u5FAA\u5E8F\u8D70\u5C42\uFF1A"), /*#__PURE__*/React__default.createElement("div", {
|
|
49777
|
+
className: 'paladin-setting-radio-item'
|
|
49778
|
+
}, /*#__PURE__*/React__default.createElement(Input$1, {
|
|
49779
|
+
type: "radio",
|
|
49780
|
+
checked: loopViewMode === 'loop',
|
|
49781
|
+
onChange: function onChange(e) {
|
|
49782
|
+
_this2.setState({
|
|
49783
|
+
loopViewMode: 'loop'
|
|
49784
|
+
});
|
|
49785
|
+
}
|
|
49786
|
+
}), /*#__PURE__*/React__default.createElement("span", null, "\u5F00\u542F")), /*#__PURE__*/React__default.createElement("div", {
|
|
49787
|
+
className: 'paladin-setting-radio-item'
|
|
49788
|
+
}, /*#__PURE__*/React__default.createElement(Input$1, {
|
|
49789
|
+
type: "radio",
|
|
49790
|
+
checked: loopViewMode === 'noLoop',
|
|
49791
|
+
onChange: function onChange(e) {
|
|
49792
|
+
_this2.setState({
|
|
49793
|
+
loopViewMode: 'noLoop'
|
|
49794
|
+
});
|
|
49795
|
+
}
|
|
49796
|
+
}), /*#__PURE__*/React__default.createElement("span", null, "\u5173\u95ED"))), /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement(SvgCertificate, null), "\u9F20\u6807\u8BBE\u7F6E\uFF1A"), /*#__PURE__*/React__default.createElement("div", {
|
|
49769
49797
|
className: 'paladin-setting-radio'
|
|
49770
49798
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
49771
49799
|
className: 'paladin-setting-radio-label'
|
|
@@ -49824,7 +49852,7 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
49824
49852
|
}), /*#__PURE__*/React__default.createElement("span", null, item.label));
|
|
49825
49853
|
})), /*#__PURE__*/React__default.createElement("p", {
|
|
49826
49854
|
style: {
|
|
49827
|
-
marginTop: '
|
|
49855
|
+
marginTop: '20px'
|
|
49828
49856
|
}
|
|
49829
49857
|
}, /*#__PURE__*/React__default.createElement(SvgCertificate, null), "\u57FA\u672C\u4FE1\u606F\u663E\u793A\u6765\u6E90"), /*#__PURE__*/React__default.createElement("div", {
|
|
49830
49858
|
className: 'paladin-setting-radio',
|
|
@@ -49853,7 +49881,7 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
49853
49881
|
}
|
|
49854
49882
|
}), /*#__PURE__*/React__default.createElement("span", null, "\u68C0\u67E5\u5217\u8868"))), /*#__PURE__*/React__default.createElement("p", {
|
|
49855
49883
|
style: {
|
|
49856
|
-
marginTop: '
|
|
49884
|
+
marginTop: '20px'
|
|
49857
49885
|
}
|
|
49858
49886
|
}, /*#__PURE__*/React__default.createElement(SvgCertificate, null), "\u5FEB\u6377\u952E\u8BF4\u660E\uFF1A"), /*#__PURE__*/React__default.createElement("div", {
|
|
49859
49887
|
className: 'paladin-setting-radio',
|
|
@@ -49889,7 +49917,7 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
49889
49917
|
}, value.label, "(", value.hotkey, ")");
|
|
49890
49918
|
})), /*#__PURE__*/React__default.createElement("p", {
|
|
49891
49919
|
style: {
|
|
49892
|
-
marginTop: '
|
|
49920
|
+
marginTop: '20px'
|
|
49893
49921
|
}
|
|
49894
49922
|
}, /*#__PURE__*/React__default.createElement(SvgCertificate, null), "\u7F13\u5B58\u5927\u5C0F\u8BBE\u7F6E\uFF1A"), /*#__PURE__*/React__default.createElement("div", {
|
|
49895
49923
|
className: 'paladin-setting-cache'
|
|
@@ -79926,6 +79954,12 @@ function getCustomAvailableTools(data) {
|
|
|
79926
79954
|
panMask.push(4);
|
|
79927
79955
|
}
|
|
79928
79956
|
|
|
79957
|
+
var scrollLoop = true;
|
|
79958
|
+
|
|
79959
|
+
if (data && data.loopViewMode === 'noLoop') {
|
|
79960
|
+
scrollLoop = false;
|
|
79961
|
+
}
|
|
79962
|
+
|
|
79929
79963
|
return [{
|
|
79930
79964
|
name: 'Pan',
|
|
79931
79965
|
mouseButtonMasks: panMask
|
|
@@ -79946,7 +79980,7 @@ function getCustomAvailableTools(data) {
|
|
|
79946
79980
|
name: 'StackScroll',
|
|
79947
79981
|
props: {
|
|
79948
79982
|
configuration: {
|
|
79949
|
-
loop:
|
|
79983
|
+
loop: scrollLoop,
|
|
79950
79984
|
allowSkipping: true
|
|
79951
79985
|
}
|
|
79952
79986
|
},
|
|
@@ -79994,7 +80028,7 @@ function getCustomAvailableTools(data) {
|
|
|
79994
80028
|
name: 'StackScrollMouseWheel',
|
|
79995
80029
|
props: {
|
|
79996
80030
|
configuration: {
|
|
79997
|
-
loop:
|
|
80031
|
+
loop: scrollLoop,
|
|
79998
80032
|
allowSkipping: true
|
|
79999
80033
|
}
|
|
80000
80034
|
}
|
|
@@ -84071,11 +84105,17 @@ var CPRLayout = /*#__PURE__*/function (_Component) {
|
|
|
84071
84105
|
};
|
|
84072
84106
|
_this.worker = null;
|
|
84073
84107
|
_this.instanceImages = [];
|
|
84108
|
+
var scrollLoop = true;
|
|
84109
|
+
|
|
84110
|
+
if (customDicomSetting && customDicomSetting.loopViewMode === 'noLoop') {
|
|
84111
|
+
scrollLoop = false;
|
|
84112
|
+
}
|
|
84113
|
+
|
|
84074
84114
|
_this.availableToolsConfig = [{
|
|
84075
84115
|
name: 'StackScrollMouseWheel',
|
|
84076
84116
|
props: {
|
|
84077
84117
|
configuration: {
|
|
84078
|
-
loop:
|
|
84118
|
+
loop: scrollLoop,
|
|
84079
84119
|
allowSkipping: true,
|
|
84080
84120
|
fromMpr: 'CPR'
|
|
84081
84121
|
}
|
|
@@ -84084,7 +84124,7 @@ var CPRLayout = /*#__PURE__*/function (_Component) {
|
|
|
84084
84124
|
name: 'StackScroll',
|
|
84085
84125
|
props: {
|
|
84086
84126
|
configuration: {
|
|
84087
|
-
loop:
|
|
84127
|
+
loop: scrollLoop,
|
|
84088
84128
|
allowSkipping: true,
|
|
84089
84129
|
fromMpr: 'CPR'
|
|
84090
84130
|
}
|
|
@@ -84743,11 +84783,17 @@ var ThreeDLayout = /*#__PURE__*/function (_Component) {
|
|
|
84743
84783
|
window.addEventListener('resize', _this.onWindowResize);
|
|
84744
84784
|
_this.handleDocumentClick = _this.handleDocumentClick.bind(assertThisInitialized(_this));
|
|
84745
84785
|
window.addEventListener('click', _this.handleDocumentClick);
|
|
84786
|
+
var scrollLoop = true;
|
|
84787
|
+
|
|
84788
|
+
if (customDicomSetting && customDicomSetting.loopViewMode === 'noLoop') {
|
|
84789
|
+
scrollLoop = false;
|
|
84790
|
+
}
|
|
84791
|
+
|
|
84746
84792
|
_this.availableToolsConfig = [{
|
|
84747
84793
|
name: 'StackScrollMouseWheel',
|
|
84748
84794
|
props: {
|
|
84749
84795
|
configuration: {
|
|
84750
|
-
loop:
|
|
84796
|
+
loop: scrollLoop,
|
|
84751
84797
|
allowSkipping: true,
|
|
84752
84798
|
fromMpr: 'MPR'
|
|
84753
84799
|
}
|
|
@@ -84756,7 +84802,7 @@ var ThreeDLayout = /*#__PURE__*/function (_Component) {
|
|
|
84756
84802
|
name: 'StackScroll',
|
|
84757
84803
|
props: {
|
|
84758
84804
|
configuration: {
|
|
84759
|
-
loop:
|
|
84805
|
+
loop: scrollLoop,
|
|
84760
84806
|
allowSkipping: true,
|
|
84761
84807
|
fromMpr: 'MPR'
|
|
84762
84808
|
}
|