hellfire 0.32.6 → 0.32.8
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 +32 -8
- 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.8](http://10.16.100.57/diffusion/115/paladin/compare/v0.32.7...v0.32.8) (2026-02-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.32.7](http://10.16.100.57/diffusion/115/paladin/compare/v0.32.6...v0.32.7) (2026-01-19)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [0.32.6](http://10.16.100.57/diffusion/115/paladin/compare/v0.32.5...v0.32.6) (2026-01-19)
|
|
6
14
|
|
|
7
15
|
|
package/dist/index.js
CHANGED
|
@@ -25187,12 +25187,28 @@ function renderActiveReferenceLine (context, eventData, targetElement, reference
|
|
|
25187
25187
|
return;
|
|
25188
25188
|
}
|
|
25189
25189
|
|
|
25190
|
-
var color = customColor || toolColors$a.getActiveColor();
|
|
25190
|
+
var color = customColor || toolColors$a.getActiveColor();
|
|
25191
|
+
var useLineDash = false; // The image planes must be in the same frame of reference
|
|
25191
25192
|
// hack: 有可能不在一个坐标系 这时候用白色线标注
|
|
25193
|
+
// color = 'white';
|
|
25192
25194
|
|
|
25193
25195
|
if (targetImagePlane.frameOfReferenceUID !== referenceImagePlane.frameOfReferenceUID) {
|
|
25194
|
-
|
|
25195
|
-
|
|
25196
|
+
var manufacturer = referenceImagePlane.manufacturer;
|
|
25197
|
+
var modality = referenceImagePlane.modality;
|
|
25198
|
+
|
|
25199
|
+
if (manufacturer && modality) {
|
|
25200
|
+
var _manufacturer = manufacturer.toLowerCase();
|
|
25201
|
+
|
|
25202
|
+
var _modality = modality.toLowerCase();
|
|
25203
|
+
|
|
25204
|
+
if (_manufacturer.indexOf('basda') > -1 && _modality === 'mr') {
|
|
25205
|
+
useLineDash = true;
|
|
25206
|
+
} else {
|
|
25207
|
+
return;
|
|
25208
|
+
}
|
|
25209
|
+
} else {
|
|
25210
|
+
return;
|
|
25211
|
+
}
|
|
25196
25212
|
}
|
|
25197
25213
|
|
|
25198
25214
|
targetImagePlane.rowCosines = convertToVector3(targetImagePlane.rowCosines);
|
|
@@ -25220,10 +25236,16 @@ function renderActiveReferenceLine (context, eventData, targetElement, reference
|
|
|
25220
25236
|
|
|
25221
25237
|
|
|
25222
25238
|
context.setTransform(1, 0, 0, 1, 0, 0);
|
|
25239
|
+
var lineOptions = {
|
|
25240
|
+
color: color
|
|
25241
|
+
};
|
|
25242
|
+
|
|
25243
|
+
if (useLineDash) {
|
|
25244
|
+
lineOptions.lineDash = [5, 5];
|
|
25245
|
+
}
|
|
25246
|
+
|
|
25223
25247
|
draw$9(context, function (context) {
|
|
25224
|
-
drawLine$3(context, eventData.element, referenceLine.start, referenceLine.end,
|
|
25225
|
-
color: color
|
|
25226
|
-
});
|
|
25248
|
+
drawLine$3(context, eventData.element, referenceLine.start, referenceLine.end, lineOptions);
|
|
25227
25249
|
});
|
|
25228
25250
|
}
|
|
25229
25251
|
|
|
@@ -31642,7 +31664,9 @@ function wadoUriMetaDataProvider(type, imageId) {
|
|
|
31642
31664
|
shutterLeftVerticalEdge: dataSet.string('x00181602'),
|
|
31643
31665
|
shutterRightVerticalEdge: dataSet.string('x00181604'),
|
|
31644
31666
|
shutterUpperHorizontalEdge: dataSet.string('x00181606'),
|
|
31645
|
-
shutterLowerHorizontalEdge: dataSet.string('x00181608')
|
|
31667
|
+
shutterLowerHorizontalEdge: dataSet.string('x00181608'),
|
|
31668
|
+
manufacturer: dataSet.string('x00080070'),
|
|
31669
|
+
modality: dataSet.string('x00080060')
|
|
31646
31670
|
};
|
|
31647
31671
|
}
|
|
31648
31672
|
}
|
|
@@ -77348,7 +77372,7 @@ var mergeProps$p = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
77348
77372
|
return _context11.abrupt("return");
|
|
77349
77373
|
|
|
77350
77374
|
case 7:
|
|
77351
|
-
instanceNumber = dicom.InstanceNumber.toString();
|
|
77375
|
+
instanceNumber = dicom.InstanceNumber.toString() || 1;
|
|
77352
77376
|
imageInfo = {
|
|
77353
77377
|
studyInstanceUID: currentSeries.studyInstanceUID,
|
|
77354
77378
|
seriesInstanceUID: currentSeries.seriesInstanceUID,
|