hellfire 0.32.3 → 0.32.5
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 +22 -10
- 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.32.5](http://10.16.100.57/diffusion/115/paladin/compare/v0.32.4...v0.32.5) (2026-01-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.32.4](http://10.16.100.57/diffusion/115/paladin/compare/v0.32.3...v0.32.4) (2025-12-19)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [0.32.3](http://10.16.100.57/diffusion/115/paladin/compare/v0.32.2...v0.32.3) (2025-12-17)
|
|
6
14
|
|
|
7
15
|
|
package/dist/index.js
CHANGED
|
@@ -921,15 +921,20 @@ var isDeviceTypeDesktop = function isDeviceTypeDesktop() {
|
|
|
921
921
|
var isDeviceTypeMobile = function isDeviceTypeMobile() {
|
|
922
922
|
if (deviceType === 'mobile') {
|
|
923
923
|
return true;
|
|
924
|
-
}
|
|
925
|
-
// 手动判断鸿蒙
|
|
926
|
-
var ua = navigator.userAgent;
|
|
927
|
-
var isHarmony = ua.indexOf('HarmonyOS') > -1 || ua.indexOf('OpenHarmony') > -1 || ua.indexOf('ArkWeb') > -1;
|
|
928
|
-
var isMobile = ua.indexOf('Mobile') > -1 || ua.indexOf('Phone') > -1;
|
|
924
|
+
} // 手动判断鸿蒙
|
|
929
925
|
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
926
|
+
|
|
927
|
+
var ua = navigator.userAgent;
|
|
928
|
+
var isAndroidPhone = /Android/i.test(ua);
|
|
929
|
+
var isHarmony = ua.indexOf('HarmonyOS') > -1 || ua.indexOf('OpenHarmony') > -1 || ua.indexOf('ArkWeb') > -1;
|
|
930
|
+
var isMobile = ua.indexOf('Mobile') > -1 || ua.indexOf('Phone') > -1;
|
|
931
|
+
|
|
932
|
+
if (isHarmony && isMobile) {
|
|
933
|
+
return true;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
if (isAndroidPhone && isMobile) {
|
|
937
|
+
return true;
|
|
933
938
|
}
|
|
934
939
|
|
|
935
940
|
return false;
|
|
@@ -28925,7 +28930,7 @@ var AIAnalysisOverlayTool = /*#__PURE__*/function (_BaseAnnotationPlusTo) {
|
|
|
28925
28930
|
lodash$1.forEach(this.aiResult, function (item, i) {
|
|
28926
28931
|
if (item.seriesUid === seriesInstanceUID) {
|
|
28927
28932
|
var segmentations = lodash$1.map(item.segmentations, function (segmentation) {
|
|
28928
|
-
var info = lodash$1.pick(item, ['type', 'risk', 'intensity', 'avgAxisDiameter_mm', 'longAxisDiameter_mm', 'shortAxisDiameter_mm', 'characteristic', 'typeWithTexture']);
|
|
28933
|
+
var info = lodash$1.pick(item, ['type', 'risk', 'intensity', 'avgAxisDiameter_mm', 'longAxisDiameter_mm', 'shortAxisDiameter_mm', 'characteristic', 'typeWithTexture', 'lobe']);
|
|
28929
28934
|
|
|
28930
28935
|
return _objectSpread$c(_objectSpread$c({}, segmentation), {}, {
|
|
28931
28936
|
index: i + 1,
|
|
@@ -29001,8 +29006,15 @@ function getAIText(data) {
|
|
|
29001
29006
|
type = _data$info.type,
|
|
29002
29007
|
risk = _data$info.risk,
|
|
29003
29008
|
typeWithTexture = _data$info.typeWithTexture,
|
|
29009
|
+
lobe = _data$info.lobe,
|
|
29004
29010
|
index = data.index;
|
|
29005
|
-
var
|
|
29011
|
+
var _lobe = '';
|
|
29012
|
+
|
|
29013
|
+
if (type === '骨折' && lobe) {
|
|
29014
|
+
_lobe = "(".concat(lobe, ")");
|
|
29015
|
+
}
|
|
29016
|
+
|
|
29017
|
+
var title = "#".concat(index, " ").concat(typeWithTexture || inspectionTypeDic(type), " ").concat(riskTypeDic[risk] || '', " ").concat(_lobe);
|
|
29006
29018
|
var text = [title];
|
|
29007
29019
|
|
|
29008
29020
|
if (type === 'nodule') {
|