hellfire 0.29.17 → 0.29.18
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 +49 -8
- 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.29.18](http://10.16.100.57/diffusion/115/paladin/compare/v0.29.17...v0.29.18) (2025-06-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [0.29.17](http://10.16.100.57/diffusion/115/paladin/compare/v0.29.16...v0.29.17) (2025-06-09)
|
|
6
10
|
|
|
7
11
|
|
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
|
}
|
|
@@ -51509,7 +51523,7 @@ function _isNativeReflectConstruct$1y() { if (typeof Reflect === "undefined" ||
|
|
|
51509
51523
|
|
|
51510
51524
|
var getStudyDateTime = function getStudyDateTime(dicom) {
|
|
51511
51525
|
// 因为检查时间部分数据可能未传, 根据以下顺序进行获取
|
|
51512
|
-
var fetchTagList = ['
|
|
51526
|
+
var fetchTagList = ['Acquisition', 'Content', 'Series', 'Study'];
|
|
51513
51527
|
|
|
51514
51528
|
for (var _i = 0, _fetchTagList = fetchTagList; _i < _fetchTagList.length; _i++) {
|
|
51515
51529
|
var tag = _fetchTagList[_i];
|
|
@@ -54528,7 +54542,7 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
54528
54542
|
var index = this.props.index; // 判断是否按住ctrl
|
|
54529
54543
|
|
|
54530
54544
|
if (e && e.ctrlKey) {
|
|
54531
|
-
this.props.handleCtrlSelect(this.element, index);
|
|
54545
|
+
this.props.handleCtrlSelect && this.props.handleCtrlSelect(this.element, index);
|
|
54532
54546
|
}
|
|
54533
54547
|
}
|
|
54534
54548
|
}, {
|
|
@@ -70809,12 +70823,17 @@ var FilmViewport = /*#__PURE__*/function (_Component) {
|
|
|
70809
70823
|
var index = _this.props.index; // 判断是否按住ctrl
|
|
70810
70824
|
|
|
70811
70825
|
if (e && e.ctrlKey) {
|
|
70812
|
-
_this.props.handleCtrlSelect(_this.element, index);
|
|
70826
|
+
_this.props.handleCtrlSelect && _this.props.handleCtrlSelect(_this.element, index);
|
|
70827
|
+
} // 判断是否按住shift
|
|
70828
|
+
|
|
70829
|
+
|
|
70830
|
+
if (e && e.shiftKey) {
|
|
70831
|
+
_this.props.handleShiftSelect && _this.props.handleShiftSelect(_this.element, index);
|
|
70813
70832
|
}
|
|
70814
70833
|
});
|
|
70815
70834
|
|
|
70816
70835
|
defineProperty(assertThisInitialized(_this), "onMouseDown", function (e) {
|
|
70817
|
-
if (e && e.ctrlKey) {
|
|
70836
|
+
if (e && (e.ctrlKey || e.shiftKey)) {
|
|
70818
70837
|
return;
|
|
70819
70838
|
}
|
|
70820
70839
|
|
|
@@ -71193,6 +71212,7 @@ var FilmView = /*#__PURE__*/function (_Component) {
|
|
|
71193
71212
|
filmCurrentPage = _this$props4.filmCurrentPage,
|
|
71194
71213
|
filmActiveTool = _this$props4.filmActiveTool,
|
|
71195
71214
|
handleCtrlSelect = _this$props4.handleCtrlSelect,
|
|
71215
|
+
handleShiftSelect = _this$props4.handleShiftSelect,
|
|
71196
71216
|
filmRelativeIndexes = _this$props4.filmRelativeIndexes;
|
|
71197
71217
|
var _this$state = this.state,
|
|
71198
71218
|
filmViewWidth = _this$state.filmViewWidth,
|
|
@@ -71277,6 +71297,7 @@ var FilmView = /*#__PURE__*/function (_Component) {
|
|
|
71277
71297
|
handleOnClickViewport(e, index);
|
|
71278
71298
|
},
|
|
71279
71299
|
handleCtrlSelect: handleCtrlSelect,
|
|
71300
|
+
handleShiftSelect: handleShiftSelect,
|
|
71280
71301
|
active: filmActiveIndex === index,
|
|
71281
71302
|
onViewportSave: function onViewportSave(vp) {
|
|
71282
71303
|
_onViewportSave && _onViewportSave(realIndex, vp);
|
|
@@ -71335,7 +71356,7 @@ var mergeProps$A = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
71335
71356
|
filmActiveIndex = propsFromState.filmActiveIndex,
|
|
71336
71357
|
filmRelativeIndexes = propsFromState.filmRelativeIndexes;
|
|
71337
71358
|
|
|
71338
|
-
if (!e.ctrlKey && e.button === 0) {
|
|
71359
|
+
if (!e.ctrlKey && !e.shiftKey && e.button === 0) {
|
|
71339
71360
|
if (!_.includes(filmRelativeIndexes, filmActiveIndex)) {
|
|
71340
71361
|
var oldActiveElement = getFilmElement(filmActiveIndex);
|
|
71341
71362
|
filmSynchronizer.remove(oldActiveElement);
|
|
@@ -71345,9 +71366,9 @@ var mergeProps$A = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
71345
71366
|
var element = getFilmElement(index);
|
|
71346
71367
|
filmSynchronizer.add(element);
|
|
71347
71368
|
}
|
|
71348
|
-
}
|
|
71349
71369
|
|
|
71350
|
-
|
|
71370
|
+
propsFromDispatch.setFilmActiveIndex(index);
|
|
71371
|
+
}
|
|
71351
71372
|
},
|
|
71352
71373
|
// 多选胶片
|
|
71353
71374
|
handleCtrlSelect: function handleCtrlSelect(element, index) {
|
|
@@ -71362,6 +71383,25 @@ var mergeProps$A = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
71362
71383
|
|
|
71363
71384
|
propsFromDispatch.setFilmRelativeIndex(index);
|
|
71364
71385
|
},
|
|
71386
|
+
handleShiftSelect: function handleShiftSelect(element, index) {
|
|
71387
|
+
var filmActiveIndex = propsFromState.filmActiveIndex,
|
|
71388
|
+
filmSynchronizer = propsFromState.filmSynchronizer;
|
|
71389
|
+
filmSynchronizer.destroy();
|
|
71390
|
+
var start = Math.min(filmActiveIndex, index);
|
|
71391
|
+
var end = Math.max(filmActiveIndex, index);
|
|
71392
|
+
var relativeIndexs = [];
|
|
71393
|
+
|
|
71394
|
+
for (var i = start; i <= end; i++) {
|
|
71395
|
+
var _element = getFilmElement(i);
|
|
71396
|
+
|
|
71397
|
+
if (_element) {
|
|
71398
|
+
filmSynchronizer.add(_element);
|
|
71399
|
+
relativeIndexs.push(i);
|
|
71400
|
+
}
|
|
71401
|
+
}
|
|
71402
|
+
|
|
71403
|
+
propsFromDispatch.setFilmRelativeIndexMulti(relativeIndexs);
|
|
71404
|
+
},
|
|
71365
71405
|
onViewportSave: function onViewportSave(index, vp) {
|
|
71366
71406
|
propsFromDispatch.setFilmViewport(index, vp);
|
|
71367
71407
|
}
|
|
@@ -71375,7 +71415,8 @@ var ConnectedFilmView = reactRedux.connect(mapStateToProps$C, {
|
|
|
71375
71415
|
setFilmActiveIndex: setFilmActiveIndex,
|
|
71376
71416
|
setFilmRelativeIndex: setFilmRelativeIndex,
|
|
71377
71417
|
setFilmViewport: setFilmViewport,
|
|
71378
|
-
setFilmCurrentPage: setFilmCurrentPage
|
|
71418
|
+
setFilmCurrentPage: setFilmCurrentPage,
|
|
71419
|
+
setFilmRelativeIndexMulti: setFilmRelativeIndexMulti
|
|
71379
71420
|
}, mergeProps$A)(FilmView);
|
|
71380
71421
|
|
|
71381
71422
|
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";
|