hellfire 0.26.1 → 0.26.2
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 +13 -5
- 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.26.2](http://10.16.100.57/diffusion/115/paladin/compare/v0.26.1...v0.26.2) (2023-05-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [0.26.1](http://10.16.100.57/diffusion/115/paladin/compare/v0.26.0...v0.26.1) (2023-05-16)
|
|
6
10
|
|
|
7
11
|
|
package/dist/index.js
CHANGED
|
@@ -45486,7 +45486,8 @@ var mergeProps$h = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
45486
45486
|
var imageCount = 0;
|
|
45487
45487
|
lodash$1.map(study, function (studyItem) {
|
|
45488
45488
|
lodash$1.map(studyItem.series, function (seriesItem) {
|
|
45489
|
-
|
|
45489
|
+
var instanceCount = seriesItem.imageIds && seriesItem.imageIds.length || 0;
|
|
45490
|
+
imageCount += instanceCount;
|
|
45490
45491
|
});
|
|
45491
45492
|
});
|
|
45492
45493
|
|
|
@@ -46625,7 +46626,7 @@ var ThumbContent = function ThumbContent(props) {
|
|
|
46625
46626
|
var series = props.series,
|
|
46626
46627
|
loaded = props.loaded;
|
|
46627
46628
|
var loadedCount = loaded && loaded[series.seriesInstanceUID];
|
|
46628
|
-
var totalCount = series && series.
|
|
46629
|
+
var totalCount = series && series.imageIds && series.imageIds.length;
|
|
46629
46630
|
var width = 0;
|
|
46630
46631
|
|
|
46631
46632
|
if (loadedCount && totalCount) {
|
|
@@ -46655,7 +46656,7 @@ var ThumbContent = function ThumbContent(props) {
|
|
|
46655
46656
|
imageId: series.imageIds[0]
|
|
46656
46657
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
46657
46658
|
className: isMobile$2 ? "paladin-thumb-bottom paladin-thumb-bottom-mobile" : "paladin-thumb-bottom"
|
|
46658
|
-
},
|
|
46659
|
+
}, totalCount ? "Im: ".concat(totalCount) : ''));
|
|
46659
46660
|
};
|
|
46660
46661
|
|
|
46661
46662
|
var DicomThumbnailLayout = /*#__PURE__*/function (_Component) {
|
|
@@ -50854,12 +50855,13 @@ var mergeProps$k = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
50854
50855
|
|
|
50855
50856
|
var series = lodash$1.map(imageIds, function (image) {
|
|
50856
50857
|
// seriesCount和instanceCount为了overlay的正确显示
|
|
50858
|
+
var instanceCount = imageIds.length;
|
|
50857
50859
|
return {
|
|
50858
50860
|
imageIds: [image],
|
|
50859
50861
|
seriesInstanceUID: currentSeries.seriesInstanceUID,
|
|
50860
50862
|
currentImageIdIndex: 0,
|
|
50861
50863
|
seriesCount: currentSeries.seriesCount,
|
|
50862
|
-
instanceCount:
|
|
50864
|
+
instanceCount: instanceCount
|
|
50863
50865
|
};
|
|
50864
50866
|
});
|
|
50865
50867
|
var showVerticalScroll = series && series.length / col > row;
|
|
@@ -53145,13 +53147,14 @@ var mergeProps$q = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
53145
53147
|
lodash$1.map(study, function (studyItem) {
|
|
53146
53148
|
lodash$1.map(studyItem.series, function (seriesItem) {
|
|
53147
53149
|
// seriesCount和instanceCount为了overlay的正确显示
|
|
53150
|
+
var instanceCount = seriesItem.imageIds.length;
|
|
53148
53151
|
lodash$1.map(seriesItem.imageIds, function (image) {
|
|
53149
53152
|
var data = {
|
|
53150
53153
|
imageIds: [image],
|
|
53151
53154
|
seriesInstanceUID: seriesItem.seriesInstanceUID,
|
|
53152
53155
|
currentImageIdIndex: 0,
|
|
53153
53156
|
seriesCount: seriesItem.seriesCount,
|
|
53154
|
-
instanceCount:
|
|
53157
|
+
instanceCount: instanceCount
|
|
53155
53158
|
};
|
|
53156
53159
|
allSeries.push(data);
|
|
53157
53160
|
});
|
|
@@ -54460,6 +54463,11 @@ var mergeProps$r = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
54460
54463
|
needCheckMultiFrame = true;
|
|
54461
54464
|
hasMultiFrame = false;
|
|
54462
54465
|
lodash$1.forEach(series, function (v) {
|
|
54466
|
+
// numberOfSeriesRelatedInstances修正 避免多次上传和实际数量不一致的情况
|
|
54467
|
+
if (v.imageIds && v.imageIds.length > 0) {
|
|
54468
|
+
v.numberOfSeriesRelatedInstances = v.imageIds.length;
|
|
54469
|
+
}
|
|
54470
|
+
|
|
54463
54471
|
if (v.numberOfSeriesRelatedInstances && v.numberOfSeriesRelatedInstances > 1) {
|
|
54464
54472
|
needCheckMultiFrame = false;
|
|
54465
54473
|
}
|