hellfire 0.23.4 → 0.24.1
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 +12 -0
- package/dist/index.js +16 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/favicon.ico +0 -0
- package/dist/index.html +0 -32
- package/dist/v0.17.0-81-g0b28d38/main-9fb23f848d4722b0b17d.js +0 -2238
- package/dist/v0.17.0-81-g0b28d38/main9fb23f848d4722b0b17d.css +0 -1957
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
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.24.1](http://10.16.100.57/diffusion/115/paladin/compare/v0.24.0...v0.24.1) (2022-09-01)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# [0.24.0](http://10.16.100.57/diffusion/115/paladin/compare/v0.23.5...v0.24.0) (2022-08-23)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [0.23.5](http://10.16.100.57/diffusion/115/paladin/compare/v0.23.4...v0.23.5) (2022-08-17)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
5
17
|
## [0.23.4](http://10.16.100.57/diffusion/115/paladin/compare/v0.23.3...v0.23.4) (2022-08-15)
|
|
6
18
|
|
|
7
19
|
|
package/dist/index.js
CHANGED
|
@@ -52366,7 +52366,8 @@ var ViewportOverlay = /*#__PURE__*/function (_PureComponent) {
|
|
|
52366
52366
|
var patientSex = dicom.PatientSex.toString();
|
|
52367
52367
|
var patientAge = dicom.PatientAge.toString();
|
|
52368
52368
|
var patientID = dicom.PatientID.toString();
|
|
52369
|
-
var bodyPartExamined = dicom.BodyPartExamined.toString();
|
|
52369
|
+
var bodyPartExamined = dicom.BodyPartExamined.toString();
|
|
52370
|
+
var laterality = dicom.Laterality.toString() || ''; //左下
|
|
52370
52371
|
|
|
52371
52372
|
var patientOrientation = dicom.PatientOrientation.toString();
|
|
52372
52373
|
var protocolName = dicom.ProtocolName.toString();
|
|
@@ -52410,7 +52411,7 @@ var ViewportOverlay = /*#__PURE__*/function (_PureComponent) {
|
|
|
52410
52411
|
fontSize: '12px',
|
|
52411
52412
|
display: "".concat(hide ? 'none' : 'block')
|
|
52412
52413
|
}
|
|
52413
|
-
}, /*#__PURE__*/React__default.createElement("div", null, institutionName), /*#__PURE__*/React__default.createElement("div", null, manufacturer, " ", manufacturerModelName), /*#__PURE__*/React__default.createElement("div", null, patientName, "/", patientSex, "/", patientAge), /*#__PURE__*/React__default.createElement("div", null, patientID), /*#__PURE__*/React__default.createElement("div", null, bodyPartExamined)), /*#__PURE__*/React__default.createElement("div", {
|
|
52414
|
+
}, /*#__PURE__*/React__default.createElement("div", null, institutionName), /*#__PURE__*/React__default.createElement("div", null, manufacturer, " ", manufacturerModelName), /*#__PURE__*/React__default.createElement("div", null, patientName, "/", patientSex, "/", patientAge), /*#__PURE__*/React__default.createElement("div", null, patientID), /*#__PURE__*/React__default.createElement("div", null, bodyPartExamined), /*#__PURE__*/React__default.createElement("div", null, laterality)), /*#__PURE__*/React__default.createElement("div", {
|
|
52414
52415
|
style: {
|
|
52415
52416
|
position: 'absolute',
|
|
52416
52417
|
bottom: 4,
|
|
@@ -60272,7 +60273,7 @@ var mergeProps$o = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
60272
60273
|
});
|
|
60273
60274
|
}
|
|
60274
60275
|
|
|
60275
|
-
cornerstoneWADOImageLoader.wadouri.dataSetCacheManager.
|
|
60276
|
+
cornerstoneWADOImageLoader.wadouri.dataSetCacheManager.purge();
|
|
60276
60277
|
|
|
60277
60278
|
case 38:
|
|
60278
60279
|
i++;
|
|
@@ -60366,11 +60367,20 @@ var mergeProps$o = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
60366
60367
|
|
|
60367
60368
|
if (onePickMode) {
|
|
60368
60369
|
propsFromDispatch.closeOnePickLayout();
|
|
60369
|
-
} // 清除
|
|
60370
|
+
} // 清除dicom缓存
|
|
60370
60371
|
|
|
60371
60372
|
|
|
60372
|
-
|
|
60373
|
-
|
|
60373
|
+
purgeDicomCache(); // 清除imageCache时做判断,超出60%的时候删除前30%
|
|
60374
|
+
|
|
60375
|
+
var cacheInfo = cornerstone.imageCache.getCacheInfo();
|
|
60376
|
+
var maximumSizeInBytes = cacheInfo.maximumSizeInBytes,
|
|
60377
|
+
cacheSizeInBytes = cacheInfo.cacheSizeInBytes;
|
|
60378
|
+
|
|
60379
|
+
if (cacheSizeInBytes > maximumSizeInBytes * 0.6) {
|
|
60380
|
+
// 暂未找到更合适的接口,setMaximumSizeBytes时会触发purgeCacheIfNecessary,可以达到效果
|
|
60381
|
+
cornerstone.imageCache.setMaximumSizeBytes(maximumSizeInBytes * 0.3);
|
|
60382
|
+
cornerstone.imageCache.setMaximumSizeBytes(maximumSizeInBytes);
|
|
60383
|
+
}
|
|
60374
60384
|
},
|
|
60375
60385
|
// 匹配序列 切换到指定图像位置
|
|
60376
60386
|
scrollSeriesImageToIndex: function scrollSeriesImageToIndex(seriesUID, SOPInstanceUID) {
|