hellfire 0.29.17 → 0.29.19
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 +55 -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.19](http://10.16.100.57/diffusion/115/paladin/compare/v0.29.18...v0.29.19) (2025-07-01)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.29.18](http://10.16.100.57/diffusion/115/paladin/compare/v0.29.17...v0.29.18) (2025-06-25)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [0.29.17](http://10.16.100.57/diffusion/115/paladin/compare/v0.29.16...v0.29.17) (2025-06-09)
|
|
6
14
|
|
|
7
15
|
|
package/dist/index.js
CHANGED
|
@@ -30397,6 +30397,7 @@ var EXCHANGE_FILM = 'FILM/EXCHANGE_FILM';
|
|
|
30397
30397
|
var SET_FILM_ACTIVE_INDEX = 'FILM/SET_FILM_ACTIVE_INDEX';
|
|
30398
30398
|
var CLEAR_FILMS = 'FILM/CLEAR_FILMS';
|
|
30399
30399
|
var SET_FILM_RELATIVE_INDEX = 'FILM/SET_FILM_RELATIVE_INDEX';
|
|
30400
|
+
var SET_FILM_RELATIVE_INDEX_MULTI = 'FILM/SET_FILM_RELATIVE_INDEX_MULTI';
|
|
30400
30401
|
var initialState$4 = {
|
|
30401
30402
|
// 胶片添加模式 image or series
|
|
30402
30403
|
filmAddType: 'series',
|
|
@@ -30558,6 +30559,13 @@ var film = (function () {
|
|
|
30558
30559
|
});
|
|
30559
30560
|
}
|
|
30560
30561
|
|
|
30562
|
+
case SET_FILM_RELATIVE_INDEX_MULTI:
|
|
30563
|
+
{
|
|
30564
|
+
return _objectSpread$e(_objectSpread$e({}, state), {}, {
|
|
30565
|
+
filmRelativeIndexes: action.payload
|
|
30566
|
+
});
|
|
30567
|
+
}
|
|
30568
|
+
|
|
30561
30569
|
case SET_FILM_ACTIVE_INDEX:
|
|
30562
30570
|
{
|
|
30563
30571
|
var _action$payload2 = action.payload,
|
|
@@ -30613,6 +30621,12 @@ function setFilmRelativeIndex(index) {
|
|
|
30613
30621
|
payload: index
|
|
30614
30622
|
};
|
|
30615
30623
|
}
|
|
30624
|
+
function setFilmRelativeIndexMulti(data) {
|
|
30625
|
+
return {
|
|
30626
|
+
type: SET_FILM_RELATIVE_INDEX_MULTI,
|
|
30627
|
+
payload: data
|
|
30628
|
+
};
|
|
30629
|
+
}
|
|
30616
30630
|
function setFilmAddType(value) {
|
|
30617
30631
|
return setFilmReduxValue('filmAddType', value);
|
|
30618
30632
|
}
|
|
@@ -50880,7 +50894,7 @@ const SvgImageAutoDownloadOff = props => /*#__PURE__*/React__default.createEleme
|
|
|
50880
50894
|
fill: "currentColor"
|
|
50881
50895
|
}, props), _ref$1u, _ref2$h, _ref3$7);
|
|
50882
50896
|
|
|
50883
|
-
var css_248z$v = ".paladin-thumb-content {\n position: relative;\n height: 66px;\n width: 66px;\n border-width: 1px;\n border-style: solid;\n cursor: pointer;\n}\n.paladin-thumb-content .paladin-thumb-bottom {\n white-space: nowrap;\n position: absolute;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n color: #faa80a;\n text-align: center;\n font-size: 14px;\n z-index: 2;\n}\n.paladin-thumb-content .paladin-thumb-bottom-mobile,\n.paladin-thumb-content .paladin-thumb-top-mobile {\n font-size: 10px;\n}\n.paladin-thumb-content .paladin-thumb-top {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n color: yellow;\n font-size: 14px;\n z-index: 2;\n}\n.paladin-thumb-content .paladin-thumb-mask {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n}\n.paladin-thumb-content .paladin-thumb-process {\n position: absolute;\n z-index: 1;\n top: 0;\n height: 4px;\n width: 100%;\n background: #ffffff;\n overflow: hidden;\n}\n.paladin-thumb-content .paladin-thumb-process .paladin-thumb-process-inner {\n background: #faa80a;\n height: 100%;\n}\n.mobile-thumb {\n width: 50px;\n height: 50px;\n}\n.paladin-thumb-svg {\n cursor: pointer;\n justify-content: center;\n}\n.paladin-thumb-svg svg {\n fill: #fff;\n}\n.paladin-thumb-svg:hover {\n background-color: #616772;\n}\n.paladin-thumb-button {\n cursor: pointer;\n justify-content: center;\n padding: 0 15px;\n}\n.paladin-thumb-button svg {\n fill: #fff;\n}\n.paladin-thumb-button:hover {\n background-color: #616772;\n}\n.paladin-thumb-button svg {\n width: 11px !important;\n}\n.paladin-fresh-button {\n cursor: pointer;\n justify-content: center;\n padding: 0 22px;\n}\n.paladin-fresh-button svg {\n fill: #fff;\n}\n.paladin-fresh-button:hover {\n background-color: #616772;\n}\n.paladin-fresh-button svg {\n width: 15px !important;\n}\n.paladin-image-auto-button {\n cursor: pointer;\n padding: 0
|
|
50897
|
+
var css_248z$v = ".paladin-thumb-content {\n position: relative;\n height: 66px;\n width: 66px;\n border-width: 1px;\n border-style: solid;\n cursor: pointer;\n}\n.paladin-thumb-content .paladin-thumb-bottom {\n white-space: nowrap;\n position: absolute;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n color: #faa80a;\n text-align: center;\n font-size: 14px;\n z-index: 2;\n}\n.paladin-thumb-content .paladin-thumb-bottom-mobile,\n.paladin-thumb-content .paladin-thumb-top-mobile {\n font-size: 10px;\n}\n.paladin-thumb-content .paladin-thumb-top {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n color: yellow;\n font-size: 14px;\n z-index: 2;\n}\n.paladin-thumb-content .paladin-thumb-mask {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n}\n.paladin-thumb-content .paladin-thumb-process {\n position: absolute;\n z-index: 1;\n top: 0;\n height: 4px;\n width: 100%;\n background: #ffffff;\n overflow: hidden;\n}\n.paladin-thumb-content .paladin-thumb-process .paladin-thumb-process-inner {\n background: #faa80a;\n height: 100%;\n}\n.mobile-thumb {\n width: 50px;\n height: 50px;\n}\n.paladin-thumb-svg {\n cursor: pointer;\n justify-content: center;\n}\n.paladin-thumb-svg svg {\n fill: #fff;\n}\n.paladin-thumb-svg:hover {\n background-color: #616772;\n}\n.paladin-thumb-button {\n cursor: pointer;\n justify-content: center;\n padding: 0 15px;\n}\n.paladin-thumb-button svg {\n fill: #fff;\n}\n.paladin-thumb-button:hover {\n background-color: #616772;\n}\n.paladin-thumb-button svg {\n width: 11px !important;\n}\n.paladin-fresh-button {\n cursor: pointer;\n justify-content: center;\n padding: 0 22px;\n}\n.paladin-fresh-button svg {\n fill: #fff;\n}\n.paladin-fresh-button:hover {\n background-color: #616772;\n}\n.paladin-fresh-button svg {\n width: 15px !important;\n}\n.paladin-fresh-button-mobile {\n padding: 0 18px;\n}\n.paladin-image-auto-button {\n cursor: pointer;\n padding: 0;\n height: 100%;\n align-items: center;\n justify-content: center;\n}\n.paladin-image-auto-button:hover {\n background-color: #616772;\n}\n.paladin-image-auto-button svg {\n width: 20px !important;\n}\n.paladin-thumb-study {\n cursor: pointer;\n font-size: 14px;\n line-height: 40px;\n padding: 0 12px;\n color: #ffffff;\n}\n.paladin-thumb-viewport {\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n}\n.paladin-thumb-viewport h4,\n.paladin-thumb-viewport p {\n font-size: 10px;\n}\n.paladin-thumb-study-wrapper {\n border-bottom: 1px solid #727882;\n}\n.paladin-thumb-context-wrapper {\n padding: 4px 2px;\n}\n";
|
|
50884
50898
|
styleInject$1(css_248z$v);
|
|
50885
50899
|
|
|
50886
50900
|
function _extends$1u() { _extends$1u = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1u.apply(this, arguments); }
|
|
@@ -51321,14 +51335,16 @@ var DicomThumbnailLayout = /*#__PURE__*/function (_Component) {
|
|
|
51321
51335
|
currentSeriesUID: currentSeriesUID,
|
|
51322
51336
|
hasAI: hasAI
|
|
51323
51337
|
})));
|
|
51324
|
-
})))), /*#__PURE__*/React__default.createElement(
|
|
51338
|
+
})))), /*#__PURE__*/React__default.createElement("div", {
|
|
51339
|
+
className: isMobile$3 ? 'paladin-fresh-button paladin-fresh-button-mobile paladin-flex-col' : 'paladin-fresh-button paladin-flex-col'
|
|
51340
|
+
}, /*#__PURE__*/React__default.createElement(PopperBox, {
|
|
51325
51341
|
tooltipPlacement: "left",
|
|
51326
51342
|
tooltip: imageAutoLoad ? getI18nMessage('image_auto_download', 'auto_on_tooltip') : getI18nMessage('image_auto_download', 'auto_off_tooltip')
|
|
51327
51343
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
51328
51344
|
className: "paladin-image-auto-button paladin-flex-col",
|
|
51329
51345
|
onClick: _this2.props.toggleAutoImageDownload
|
|
51330
|
-
}, imageAutoLoad ? /*#__PURE__*/React__default.createElement(SvgImageAutoDownloadOn, null) : /*#__PURE__*/React__default.createElement(SvgImageAutoDownloadOff, null))), /*#__PURE__*/React__default.createElement("div", {
|
|
51331
|
-
className:
|
|
51346
|
+
}, imageAutoLoad ? /*#__PURE__*/React__default.createElement(SvgImageAutoDownloadOn, null) : /*#__PURE__*/React__default.createElement(SvgImageAutoDownloadOff, null)))), /*#__PURE__*/React__default.createElement("div", {
|
|
51347
|
+
className: isMobile$3 ? 'paladin-fresh-button paladin-fresh-button-mobile paladin-flex-col' : 'paladin-fresh-button paladin-flex-col',
|
|
51332
51348
|
onClick: _this2.handleRefresh
|
|
51333
51349
|
}, /*#__PURE__*/React__default.createElement(SvgRefresh, null)), !isMobile$3 && /*#__PURE__*/React__default.createElement("div", {
|
|
51334
51350
|
className: "paladin-thumb-button paladin-flex-col",
|
|
@@ -51509,7 +51525,7 @@ function _isNativeReflectConstruct$1y() { if (typeof Reflect === "undefined" ||
|
|
|
51509
51525
|
|
|
51510
51526
|
var getStudyDateTime = function getStudyDateTime(dicom) {
|
|
51511
51527
|
// 因为检查时间部分数据可能未传, 根据以下顺序进行获取
|
|
51512
|
-
var fetchTagList = ['
|
|
51528
|
+
var fetchTagList = ['Acquisition', 'Content', 'Series', 'Study'];
|
|
51513
51529
|
|
|
51514
51530
|
for (var _i = 0, _fetchTagList = fetchTagList; _i < _fetchTagList.length; _i++) {
|
|
51515
51531
|
var tag = _fetchTagList[_i];
|
|
@@ -54528,7 +54544,7 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
54528
54544
|
var index = this.props.index; // 判断是否按住ctrl
|
|
54529
54545
|
|
|
54530
54546
|
if (e && e.ctrlKey) {
|
|
54531
|
-
this.props.handleCtrlSelect(this.element, index);
|
|
54547
|
+
this.props.handleCtrlSelect && this.props.handleCtrlSelect(this.element, index);
|
|
54532
54548
|
}
|
|
54533
54549
|
}
|
|
54534
54550
|
}, {
|
|
@@ -70809,12 +70825,17 @@ var FilmViewport = /*#__PURE__*/function (_Component) {
|
|
|
70809
70825
|
var index = _this.props.index; // 判断是否按住ctrl
|
|
70810
70826
|
|
|
70811
70827
|
if (e && e.ctrlKey) {
|
|
70812
|
-
_this.props.handleCtrlSelect(_this.element, index);
|
|
70828
|
+
_this.props.handleCtrlSelect && _this.props.handleCtrlSelect(_this.element, index);
|
|
70829
|
+
} // 判断是否按住shift
|
|
70830
|
+
|
|
70831
|
+
|
|
70832
|
+
if (e && e.shiftKey) {
|
|
70833
|
+
_this.props.handleShiftSelect && _this.props.handleShiftSelect(_this.element, index);
|
|
70813
70834
|
}
|
|
70814
70835
|
});
|
|
70815
70836
|
|
|
70816
70837
|
defineProperty(assertThisInitialized(_this), "onMouseDown", function (e) {
|
|
70817
|
-
if (e && e.ctrlKey) {
|
|
70838
|
+
if (e && (e.ctrlKey || e.shiftKey)) {
|
|
70818
70839
|
return;
|
|
70819
70840
|
}
|
|
70820
70841
|
|
|
@@ -71193,6 +71214,7 @@ var FilmView = /*#__PURE__*/function (_Component) {
|
|
|
71193
71214
|
filmCurrentPage = _this$props4.filmCurrentPage,
|
|
71194
71215
|
filmActiveTool = _this$props4.filmActiveTool,
|
|
71195
71216
|
handleCtrlSelect = _this$props4.handleCtrlSelect,
|
|
71217
|
+
handleShiftSelect = _this$props4.handleShiftSelect,
|
|
71196
71218
|
filmRelativeIndexes = _this$props4.filmRelativeIndexes;
|
|
71197
71219
|
var _this$state = this.state,
|
|
71198
71220
|
filmViewWidth = _this$state.filmViewWidth,
|
|
@@ -71277,6 +71299,7 @@ var FilmView = /*#__PURE__*/function (_Component) {
|
|
|
71277
71299
|
handleOnClickViewport(e, index);
|
|
71278
71300
|
},
|
|
71279
71301
|
handleCtrlSelect: handleCtrlSelect,
|
|
71302
|
+
handleShiftSelect: handleShiftSelect,
|
|
71280
71303
|
active: filmActiveIndex === index,
|
|
71281
71304
|
onViewportSave: function onViewportSave(vp) {
|
|
71282
71305
|
_onViewportSave && _onViewportSave(realIndex, vp);
|
|
@@ -71335,7 +71358,7 @@ var mergeProps$A = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
71335
71358
|
filmActiveIndex = propsFromState.filmActiveIndex,
|
|
71336
71359
|
filmRelativeIndexes = propsFromState.filmRelativeIndexes;
|
|
71337
71360
|
|
|
71338
|
-
if (!e.ctrlKey && e.button === 0) {
|
|
71361
|
+
if (!e.ctrlKey && !e.shiftKey && e.button === 0) {
|
|
71339
71362
|
if (!_.includes(filmRelativeIndexes, filmActiveIndex)) {
|
|
71340
71363
|
var oldActiveElement = getFilmElement(filmActiveIndex);
|
|
71341
71364
|
filmSynchronizer.remove(oldActiveElement);
|
|
@@ -71345,9 +71368,9 @@ var mergeProps$A = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
71345
71368
|
var element = getFilmElement(index);
|
|
71346
71369
|
filmSynchronizer.add(element);
|
|
71347
71370
|
}
|
|
71348
|
-
}
|
|
71349
71371
|
|
|
71350
|
-
|
|
71372
|
+
propsFromDispatch.setFilmActiveIndex(index);
|
|
71373
|
+
}
|
|
71351
71374
|
},
|
|
71352
71375
|
// 多选胶片
|
|
71353
71376
|
handleCtrlSelect: function handleCtrlSelect(element, index) {
|
|
@@ -71362,6 +71385,25 @@ var mergeProps$A = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
71362
71385
|
|
|
71363
71386
|
propsFromDispatch.setFilmRelativeIndex(index);
|
|
71364
71387
|
},
|
|
71388
|
+
handleShiftSelect: function handleShiftSelect(element, index) {
|
|
71389
|
+
var filmActiveIndex = propsFromState.filmActiveIndex,
|
|
71390
|
+
filmSynchronizer = propsFromState.filmSynchronizer;
|
|
71391
|
+
filmSynchronizer.destroy();
|
|
71392
|
+
var start = Math.min(filmActiveIndex, index);
|
|
71393
|
+
var end = Math.max(filmActiveIndex, index);
|
|
71394
|
+
var relativeIndexs = [];
|
|
71395
|
+
|
|
71396
|
+
for (var i = start; i <= end; i++) {
|
|
71397
|
+
var _element = getFilmElement(i);
|
|
71398
|
+
|
|
71399
|
+
if (_element) {
|
|
71400
|
+
filmSynchronizer.add(_element);
|
|
71401
|
+
relativeIndexs.push(i);
|
|
71402
|
+
}
|
|
71403
|
+
}
|
|
71404
|
+
|
|
71405
|
+
propsFromDispatch.setFilmRelativeIndexMulti(relativeIndexs);
|
|
71406
|
+
},
|
|
71365
71407
|
onViewportSave: function onViewportSave(index, vp) {
|
|
71366
71408
|
propsFromDispatch.setFilmViewport(index, vp);
|
|
71367
71409
|
}
|
|
@@ -71375,7 +71417,8 @@ var ConnectedFilmView = reactRedux.connect(mapStateToProps$C, {
|
|
|
71375
71417
|
setFilmActiveIndex: setFilmActiveIndex,
|
|
71376
71418
|
setFilmRelativeIndex: setFilmRelativeIndex,
|
|
71377
71419
|
setFilmViewport: setFilmViewport,
|
|
71378
|
-
setFilmCurrentPage: setFilmCurrentPage
|
|
71420
|
+
setFilmCurrentPage: setFilmCurrentPage,
|
|
71421
|
+
setFilmRelativeIndexMulti: setFilmRelativeIndexMulti
|
|
71379
71422
|
}, mergeProps$A)(FilmView);
|
|
71380
71423
|
|
|
71381
71424
|
var css_248z$M = ".paladin-fusion-wrapper {\n width: 100%;\n height: 100%;\n color: white;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n.paladin-fusion-wrapper .paladin-fusion-item-fusion {\n display: flex;\n flex-direction: column;\n width: 60%;\n height: 100%;\n position: relative;\n z-index: 1;\n flex: none;\n}\n.paladin-fusion-wrapper .paladin-fusion-origin {\n display: flex;\n flex-direction: column;\n width: 40%;\n height: 100%;\n position: relative;\n z-index: 1;\n flex: none;\n}\n.paladin-fusion-wrapper .paladin-fusion-item {\n display: flex;\n flex-direction: row;\n width: 100%;\n height: 50%;\n position: relative;\n z-index: 1;\n flex: none;\n}\n.paladin-fusion-wrapper .paladin-fusion-ct,\n.paladin-fusion-wrapper .paladin-fusion-pet {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n}\n.paladin-fusion-wrapper .paladin-fusion-ct {\n z-index: 2;\n}\n.paladin-fusion-wrapper .paladin-fusion-pet {\n z-index: 3;\n}\n";
|