hellfire 0.30.5 → 0.30.7
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 +32 -8
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
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.30.7](http://10.16.100.57/diffusion/115/paladin/compare/v0.30.6...v0.30.7) (2025-08-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.30.6](http://10.16.100.57/diffusion/115/paladin/compare/v0.30.5...v0.30.6) (2025-08-01)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [0.30.5](http://10.16.100.57/diffusion/115/paladin/compare/v0.30.4...v0.30.5) (2025-07-29)
|
|
6
14
|
|
|
7
15
|
|
package/dist/index.js
CHANGED
|
@@ -46792,6 +46792,8 @@ var mergeProps$h = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
46792
46792
|
var maxIndex = currentSeries && currentSeries.imageIds.length - 1;
|
|
46793
46793
|
return _objectSpread$G(_objectSpread$G(_objectSpread$G({}, ownProps), propsFromState), {}, {
|
|
46794
46794
|
onRowClick: function onRowClick(key) {
|
|
46795
|
+
changePriorityBySeries(currentSeries.seriesInstanceUID);
|
|
46796
|
+
|
|
46795
46797
|
switch (key) {
|
|
46796
46798
|
case 'prev':
|
|
46797
46799
|
var prevIndex = currentImageIndex - 1;
|
|
@@ -55385,6 +55387,7 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
55385
55387
|
this.element.addEventListener(cornerstoneTools.EVENTS.MPR_REFERENCE_LINE, this.onMPRProcessed);
|
|
55386
55388
|
} else {
|
|
55387
55389
|
this.element.addEventListener('mouseup', this.onMouseUp);
|
|
55390
|
+
this.element.addEventListener('touchend', this.onMouseDown);
|
|
55388
55391
|
}
|
|
55389
55392
|
|
|
55390
55393
|
this.element.addEventListener('mousedown', this.onMouseDown);
|
|
@@ -55406,6 +55409,7 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
55406
55409
|
this.element.removeEventListener(cornerstoneTools.EVENTS.MPR_REFERENCE_LINE, this.onMPRProcessed);
|
|
55407
55410
|
} else {
|
|
55408
55411
|
this.element.removeEventListener('mouseup', this.onMouseUp);
|
|
55412
|
+
this.element.removeEventListener('touchend', this.onMouseDown);
|
|
55409
55413
|
}
|
|
55410
55414
|
|
|
55411
55415
|
this.element.removeEventListener(cornerstoneTools.EVENTS.STACK_SCROLL, this.onStackScroll);
|
|
@@ -55904,16 +55908,32 @@ var DicomLayout = /*#__PURE__*/function (_Component) {
|
|
|
55904
55908
|
return;
|
|
55905
55909
|
}
|
|
55906
55910
|
|
|
55907
|
-
var
|
|
55908
|
-
var timeSinceLastClick = currentTime - _this.lastRightClickTime;
|
|
55911
|
+
var series = _this.props.series;
|
|
55909
55912
|
|
|
55910
|
-
if (
|
|
55911
|
-
|
|
55912
|
-
_this.props.onViewPortDoubleClick && _this.props.onViewPortDoubleClick(index, series[index], true);
|
|
55913
|
-
_this.lastRightClickTime = 0;
|
|
55913
|
+
if (_this.rightClickCount === 2) {
|
|
55914
|
+
_this.rightClickCount = 1;
|
|
55914
55915
|
} else {
|
|
55915
|
-
_this.
|
|
55916
|
+
_this.rightClickCount++;
|
|
55916
55917
|
}
|
|
55918
|
+
|
|
55919
|
+
var clientX = e.clientX,
|
|
55920
|
+
clientY = e.clientY;
|
|
55921
|
+
|
|
55922
|
+
if (_this.rightClickCount === 2) {
|
|
55923
|
+
if (!_this.checkClickArea(15, _this.rightClientX, _this.rightClientY, clientX, clientY)) {
|
|
55924
|
+
_this.rightClickCount = 1;
|
|
55925
|
+
}
|
|
55926
|
+
}
|
|
55927
|
+
|
|
55928
|
+
_this.rightClientX = clientX;
|
|
55929
|
+
_this.rightClientY = clientY;
|
|
55930
|
+
setTimeout(function () {
|
|
55931
|
+
if (_this.rightClickCount === 2) {
|
|
55932
|
+
_this.props.onViewPortDoubleClick && _this.props.onViewPortDoubleClick(index, series[index], true);
|
|
55933
|
+
}
|
|
55934
|
+
|
|
55935
|
+
_this.rightClickCount = 0;
|
|
55936
|
+
}, 300);
|
|
55917
55937
|
});
|
|
55918
55938
|
|
|
55919
55939
|
defineProperty(assertThisInitialized(_this), "handleViewPortClick", function (e, index) {
|
|
@@ -55996,12 +56016,16 @@ var DicomLayout = /*#__PURE__*/function (_Component) {
|
|
|
55996
56016
|
|
|
55997
56017
|
_this.clickCount = 0; // 点击次数 判断单双击
|
|
55998
56018
|
|
|
55999
|
-
_this.
|
|
56019
|
+
_this.rightClickCount = 0; // 右键点击次数 判断单双击
|
|
56000
56020
|
|
|
56001
56021
|
_this.clientX = 0; // 上一次点击的记录
|
|
56002
56022
|
|
|
56003
56023
|
_this.clientY = 0; // 上一次点击的记录
|
|
56004
56024
|
|
|
56025
|
+
_this.rightClientX = 0; // 右键上一次点击的记录
|
|
56026
|
+
|
|
56027
|
+
_this.rightClientY = 0; // 右键上一次点击的记录
|
|
56028
|
+
|
|
56005
56029
|
_this.mouseDownclientX = 0; // mousedown位置的记录 为判断是否触发单击操作
|
|
56006
56030
|
|
|
56007
56031
|
_this.mouseDownclientY = 0; // 窗口变化要重新渲染滚动条的距离
|