hellfire 0.21.1 → 0.21.4
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 +356 -324
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -859,7 +859,12 @@ var MessagerKeys = {
|
|
|
859
859
|
* 完成裁剪操作
|
|
860
860
|
* 消息参数类型: null
|
|
861
861
|
*/
|
|
862
|
-
MipFinishClipPathExport: "2001"
|
|
862
|
+
MipFinishClipPathExport: "2001",
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* 调窗操作
|
|
866
|
+
*/
|
|
867
|
+
MipWwwcChange: "2002"
|
|
863
868
|
};
|
|
864
869
|
var _default$1 = {
|
|
865
870
|
MessagerKeys: MessagerKeys
|
|
@@ -21228,8 +21233,6 @@ var MipImageProcessorWorkerImpl = /*#__PURE__*/function (_ImageProcessorWorker)
|
|
|
21228
21233
|
|
|
21229
21234
|
last = aSegment.endPixel;
|
|
21230
21235
|
});
|
|
21231
|
-
this.opacityTransformFunction.addPoint(ImageProcessorWorkerBase.ctValueToImageValue(last + 0.5, this.rescaleSlop, this.rescaleIntercept), //last+0.5,
|
|
21232
|
-
1);
|
|
21233
21236
|
if (this._canRender) this.renderWindow.render();
|
|
21234
21237
|
}
|
|
21235
21238
|
}, {
|
|
@@ -21416,8 +21419,14 @@ var MipImageProcessorWorkerImpl = /*#__PURE__*/function (_ImageProcessorWorker)
|
|
|
21416
21419
|
var maxValue = this.windowMaxPixel; // mip 在窗宽范围内线性变化
|
|
21417
21420
|
|
|
21418
21421
|
if (this.actionParameter.reconstructMethodType === ReconstructMethodType.MIP) {
|
|
21419
|
-
colorSegments = [new MipPixelSegment(minValue,
|
|
21420
|
-
|
|
21422
|
+
colorSegments = [new MipPixelSegment(minValue, 0xFFFFFF, maxValue, 0xFFFFFF)];
|
|
21423
|
+
var range = maxValue - minValue;
|
|
21424
|
+
opacitySegments = [new MipPixelSegment(Math.floor(minValue), 0.01, Math.floor(minValue + range * 0.15), 0.1), new MipPixelSegment(Math.floor(minValue + range * 0.15), 0.25, Math.floor(minValue + range * 0.75), 0.97), new MipPixelSegment(Math.floor(minValue + range * 0.75), 0.97, Math.floor(maxValue), 1)]; // colorSegments = [
|
|
21425
|
+
// new MipPixelSegment(minValue, 0x5A5A5A, maxValue, 0xFFFFFF),
|
|
21426
|
+
// ];
|
|
21427
|
+
// opacitySegments = [
|
|
21428
|
+
// new MipPixelSegment(minValue, 0.02, maxValue, 0.99),
|
|
21429
|
+
// ];
|
|
21421
21430
|
} else {
|
|
21422
21431
|
colorSegments = [new MipPixelSegment(minValue, 0x555555, minValue + (maxValue - minValue) * 0.3, 0x888888), new MipPixelSegment(minValue + (maxValue - minValue) * 0.3, 0xBFAE96, minValue + (maxValue - minValue) * 2, 0xBFAE96), new MipPixelSegment(minValue + (maxValue - minValue) * 2, 0xBFAE96, minValue + (maxValue - minValue) * 100, 0xffffff)];
|
|
21423
21432
|
opacitySegments = [new MipPixelSegment(minValue, 0, minValue + (maxValue - minValue) * 0.3, 0.1), new MipPixelSegment(minValue + (maxValue - minValue) * 2, 0.6, minValue + (maxValue - minValue) * 100, 0.99)];
|
|
@@ -21429,7 +21438,10 @@ var MipImageProcessorWorkerImpl = /*#__PURE__*/function (_ImageProcessorWorker)
|
|
|
21429
21438
|
this.actionParameter.addTailOpacityTransformSegments(opacitySegments);
|
|
21430
21439
|
this.updateColorFunction();
|
|
21431
21440
|
this.updateOpacityTransform();
|
|
21432
|
-
}
|
|
21441
|
+
} // 窗宽窗值
|
|
21442
|
+
|
|
21443
|
+
|
|
21444
|
+
Messager.Instance.call(_default$1.MessagerKeys.MipWwwcChange, this.messageGroupId, this.volumeWindowLevel);
|
|
21433
21445
|
}
|
|
21434
21446
|
}, {
|
|
21435
21447
|
key: "releaseVTKComponent",
|
|
@@ -30488,243 +30500,10 @@ function _createImage$1() {
|
|
|
30488
30500
|
enterModule && enterModule(module);
|
|
30489
30501
|
})();
|
|
30490
30502
|
|
|
30491
|
-
function ownKeys$d(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
30492
|
-
|
|
30493
|
-
function _objectSpread$d(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$d(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
30494
|
-
|
|
30495
30503
|
var __signature__$1Z = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
30496
30504
|
return a;
|
|
30497
30505
|
};
|
|
30498
30506
|
|
|
30499
|
-
function wadoUriMetaDataProvider(type, imageId) {
|
|
30500
|
-
if (imageId.split(':')[0] !== 'wadouri') {
|
|
30501
|
-
return;
|
|
30502
|
-
}
|
|
30503
|
-
|
|
30504
|
-
var _cornerstoneWADOImage = cornerstoneWADOImageLoader.wadouri,
|
|
30505
|
-
parseImageId = _cornerstoneWADOImage.parseImageId,
|
|
30506
|
-
dataSetCacheManager = _cornerstoneWADOImage.dataSetCacheManager,
|
|
30507
|
-
metaData = _cornerstoneWADOImage.metaData;
|
|
30508
|
-
var parsedImageId = parseImageId(imageId);
|
|
30509
|
-
var dataSet = dataSetCacheManager.get(parsedImageId.url);
|
|
30510
|
-
var getNumberValues = metaData.getNumberValues;
|
|
30511
|
-
|
|
30512
|
-
if (!dataSet) {
|
|
30513
|
-
return;
|
|
30514
|
-
}
|
|
30515
|
-
|
|
30516
|
-
if (type === 'dicomInfo') {
|
|
30517
|
-
return new DicomInfo(dataSet);
|
|
30518
|
-
}
|
|
30519
|
-
|
|
30520
|
-
if (type === 'imagePlaneModule') {
|
|
30521
|
-
var imageOrientationPatient = getNumberValues(dataSet, 'x00200037', 6);
|
|
30522
|
-
var imagePositionPatient = getNumberValues(dataSet, 'x00200032', 3);
|
|
30523
|
-
var pixelSpacing = getNumberValues(dataSet, 'x00280030', 2);
|
|
30524
|
-
var imagePixelSpacing = getNumberValues(dataSet, 'x00181164', 2);
|
|
30525
|
-
|
|
30526
|
-
var _getPixelSpacing = getPixelSpacing$8(pixelSpacing, imagePixelSpacing),
|
|
30527
|
-
rowPixelSpacing = _getPixelSpacing.rowPixelSpacing,
|
|
30528
|
-
columnPixelSpacing = _getPixelSpacing.columnPixelSpacing;
|
|
30529
|
-
|
|
30530
|
-
var _getCosines = getCosines(imageOrientationPatient),
|
|
30531
|
-
rowCosines = _getCosines.rowCosines,
|
|
30532
|
-
columnCosines = _getCosines.columnCosines;
|
|
30533
|
-
|
|
30534
|
-
return {
|
|
30535
|
-
frameOfReferenceUID: dataSet.string('x00200052'),
|
|
30536
|
-
rows: dataSet.uint16('x00280010'),
|
|
30537
|
-
columns: dataSet.uint16('x00280011'),
|
|
30538
|
-
imageOrientationPatient: imageOrientationPatient,
|
|
30539
|
-
rowCosines: rowCosines,
|
|
30540
|
-
columnCosines: columnCosines,
|
|
30541
|
-
imagePositionPatient: imagePositionPatient,
|
|
30542
|
-
sliceThickness: dataSet.floatString('x00180050'),
|
|
30543
|
-
sliceLocation: dataSet.floatString('x00201041'),
|
|
30544
|
-
pixelSpacing: pixelSpacing,
|
|
30545
|
-
rowPixelSpacing: rowPixelSpacing,
|
|
30546
|
-
columnPixelSpacing: columnPixelSpacing
|
|
30547
|
-
};
|
|
30548
|
-
}
|
|
30549
|
-
}
|
|
30550
|
-
|
|
30551
|
-
function mprMetaDataProvider(type, imageId) {
|
|
30552
|
-
if (imageId.split(':')[0] !== 'mpr') {
|
|
30553
|
-
return;
|
|
30554
|
-
}
|
|
30555
|
-
|
|
30556
|
-
var _imageId$split = imageId.split(':'),
|
|
30557
|
-
_imageId$split2 = slicedToArray(_imageId$split, 4),
|
|
30558
|
-
scheme = _imageId$split2[0],
|
|
30559
|
-
seriesNumber = _imageId$split2[1],
|
|
30560
|
-
imageOrientationPatient = _imageId$split2[2],
|
|
30561
|
-
imagePositionPatient = _imageId$split2[3];
|
|
30562
|
-
|
|
30563
|
-
var mprWorker;
|
|
30564
|
-
mprWorker = _default$s.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
30565
|
-
|
|
30566
|
-
if (!mprWorker) {
|
|
30567
|
-
return;
|
|
30568
|
-
}
|
|
30569
|
-
|
|
30570
|
-
var images = mprWorker.imageResultDatasMap;
|
|
30571
|
-
var mprImage = images[imageOrientationPatient];
|
|
30572
|
-
var image = mprImage.CornerStoneImage;
|
|
30573
|
-
|
|
30574
|
-
if (type === 'dicomInfo') {
|
|
30575
|
-
return {
|
|
30576
|
-
Rows: {
|
|
30577
|
-
value: [image.rows]
|
|
30578
|
-
},
|
|
30579
|
-
Columns: {
|
|
30580
|
-
value: [image.columns]
|
|
30581
|
-
}
|
|
30582
|
-
};
|
|
30583
|
-
}
|
|
30584
|
-
|
|
30585
|
-
if (type === 'imagePlaneModule') {
|
|
30586
|
-
var imageOrientation = mprImage.imageOrientation,
|
|
30587
|
-
scoutLine = mprImage.scoutLine,
|
|
30588
|
-
imagePosition = mprImage.imagePosition;
|
|
30589
|
-
var rowPixelSpacing = image.rowPixelSpacing,
|
|
30590
|
-
columnPixelSpacing = image.columnPixelSpacing;
|
|
30591
|
-
|
|
30592
|
-
var _getCosines2 = getCosines(imageOrientation),
|
|
30593
|
-
rowCosines = _getCosines2.rowCosines,
|
|
30594
|
-
columnCosines = _getCosines2.columnCosines;
|
|
30595
|
-
|
|
30596
|
-
return _objectSpread$d({
|
|
30597
|
-
rowCosines: rowCosines,
|
|
30598
|
-
columnCosines: columnCosines,
|
|
30599
|
-
rowPixelSpacing: rowPixelSpacing,
|
|
30600
|
-
columnPixelSpacing: columnPixelSpacing,
|
|
30601
|
-
imagePositionPatient: imagePosition,
|
|
30602
|
-
scoutLine: scoutLine
|
|
30603
|
-
}, mprImage);
|
|
30604
|
-
}
|
|
30605
|
-
}
|
|
30606
|
-
|
|
30607
|
-
function centesisMetaDataProvider(type, imageId) {
|
|
30608
|
-
if (imageId.split(':')[0] !== 'centesis') {
|
|
30609
|
-
return;
|
|
30610
|
-
}
|
|
30611
|
-
|
|
30612
|
-
var _imageId$split3 = imageId.split(':'),
|
|
30613
|
-
_imageId$split4 = slicedToArray(_imageId$split3, 4),
|
|
30614
|
-
scheme = _imageId$split4[0],
|
|
30615
|
-
seriesNumber = _imageId$split4[1],
|
|
30616
|
-
imageOrientationPatient = _imageId$split4[2],
|
|
30617
|
-
imagePositionPatient = _imageId$split4[3];
|
|
30618
|
-
|
|
30619
|
-
var mprWorker;
|
|
30620
|
-
mprWorker = _default$s.getWorkerFromCache(seriesNumber, ImageProcessType.Centesis);
|
|
30621
|
-
|
|
30622
|
-
if (!mprWorker) {
|
|
30623
|
-
return;
|
|
30624
|
-
}
|
|
30625
|
-
|
|
30626
|
-
var images = mprWorker.imageResultDatasMap;
|
|
30627
|
-
var mprImage = images[imageOrientationPatient];
|
|
30628
|
-
var image = mprImage.CornerStoneImage;
|
|
30629
|
-
|
|
30630
|
-
if (type === 'dicomInfo') {
|
|
30631
|
-
return {
|
|
30632
|
-
Rows: {
|
|
30633
|
-
value: [image.rows]
|
|
30634
|
-
},
|
|
30635
|
-
Columns: {
|
|
30636
|
-
value: [image.columns]
|
|
30637
|
-
}
|
|
30638
|
-
};
|
|
30639
|
-
}
|
|
30640
|
-
|
|
30641
|
-
if (type === 'imagePlaneModule') {
|
|
30642
|
-
var imageOrientation = mprImage.imageOrientation,
|
|
30643
|
-
imagePosition = mprImage.imagePosition,
|
|
30644
|
-
centesisPaths = mprImage.centesisPaths;
|
|
30645
|
-
var rowPixelSpacing = image.rowPixelSpacing,
|
|
30646
|
-
columnPixelSpacing = image.columnPixelSpacing;
|
|
30647
|
-
|
|
30648
|
-
var _getCosines3 = getCosines(imageOrientation),
|
|
30649
|
-
rowCosines = _getCosines3.rowCosines,
|
|
30650
|
-
columnCosines = _getCosines3.columnCosines;
|
|
30651
|
-
|
|
30652
|
-
return _objectSpread$d({
|
|
30653
|
-
rowCosines: rowCosines,
|
|
30654
|
-
columnCosines: columnCosines,
|
|
30655
|
-
rowPixelSpacing: rowPixelSpacing,
|
|
30656
|
-
columnPixelSpacing: columnPixelSpacing,
|
|
30657
|
-
imagePositionPatient: imagePosition,
|
|
30658
|
-
centesisPaths: centesisPaths
|
|
30659
|
-
}, mprImage);
|
|
30660
|
-
}
|
|
30661
|
-
}
|
|
30662
|
-
|
|
30663
|
-
function getPixelSpacing$8(pixelSpacing, imagePixelSpacing) {
|
|
30664
|
-
var columnPixelSpacing = null;
|
|
30665
|
-
var rowPixelSpacing = null;
|
|
30666
|
-
|
|
30667
|
-
if (pixelSpacing) {
|
|
30668
|
-
rowPixelSpacing = pixelSpacing[0];
|
|
30669
|
-
columnPixelSpacing = pixelSpacing[1];
|
|
30670
|
-
} else if (imagePixelSpacing) {
|
|
30671
|
-
rowPixelSpacing = imagePixelSpacing[0];
|
|
30672
|
-
columnPixelSpacing = imagePixelSpacing[1];
|
|
30673
|
-
}
|
|
30674
|
-
|
|
30675
|
-
return {
|
|
30676
|
-
rowPixelSpacing: rowPixelSpacing,
|
|
30677
|
-
columnPixelSpacing: columnPixelSpacing
|
|
30678
|
-
};
|
|
30679
|
-
}
|
|
30680
|
-
|
|
30681
|
-
function getCosines(imageOrientation) {
|
|
30682
|
-
var rowCosines = null;
|
|
30683
|
-
var columnCosines = null;
|
|
30684
|
-
|
|
30685
|
-
if (imageOrientation) {
|
|
30686
|
-
rowCosines = [parseFloat(imageOrientation[0]), parseFloat(imageOrientation[1]), parseFloat(imageOrientation[2])];
|
|
30687
|
-
columnCosines = [parseFloat(imageOrientation[3]), parseFloat(imageOrientation[4]), parseFloat(imageOrientation[5])];
|
|
30688
|
-
}
|
|
30689
|
-
|
|
30690
|
-
return {
|
|
30691
|
-
rowCosines: rowCosines,
|
|
30692
|
-
columnCosines: columnCosines
|
|
30693
|
-
};
|
|
30694
|
-
}
|
|
30695
|
-
|
|
30696
|
-
cornerstone.metaData.addProvider(wadoUriMetaDataProvider);
|
|
30697
|
-
cornerstone.metaData.addProvider(mprMetaDataProvider);
|
|
30698
|
-
cornerstone.metaData.addProvider(centesisMetaDataProvider);
|
|
30699
|
-
|
|
30700
|
-
(function () {
|
|
30701
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
30702
|
-
|
|
30703
|
-
if (!reactHotLoader) {
|
|
30704
|
-
return;
|
|
30705
|
-
}
|
|
30706
|
-
|
|
30707
|
-
reactHotLoader.register(wadoUriMetaDataProvider, "wadoUriMetaDataProvider", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/metadataProvider.js");
|
|
30708
|
-
reactHotLoader.register(mprMetaDataProvider, "mprMetaDataProvider", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/metadataProvider.js");
|
|
30709
|
-
reactHotLoader.register(centesisMetaDataProvider, "centesisMetaDataProvider", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/metadataProvider.js");
|
|
30710
|
-
reactHotLoader.register(getPixelSpacing$8, "getPixelSpacing", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/metadataProvider.js");
|
|
30711
|
-
reactHotLoader.register(getCosines, "getCosines", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/metadataProvider.js");
|
|
30712
|
-
})();
|
|
30713
|
-
|
|
30714
|
-
(function () {
|
|
30715
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
30716
|
-
leaveModule && leaveModule(module);
|
|
30717
|
-
})();
|
|
30718
|
-
|
|
30719
|
-
(function () {
|
|
30720
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
30721
|
-
enterModule && enterModule(module);
|
|
30722
|
-
})();
|
|
30723
|
-
|
|
30724
|
-
var __signature__$1_ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
30725
|
-
return a;
|
|
30726
|
-
};
|
|
30727
|
-
|
|
30728
30507
|
var isMobileTablet = _default$3.isDeviceTypeMobileOrTablet();
|
|
30729
30508
|
|
|
30730
30509
|
if (!isMobileTablet) {
|
|
@@ -30850,11 +30629,11 @@ cornerstone.registerImageLoader('centesis', _default$G);
|
|
|
30850
30629
|
enterModule && enterModule(module);
|
|
30851
30630
|
})();
|
|
30852
30631
|
|
|
30853
|
-
function ownKeys$
|
|
30632
|
+
function ownKeys$d(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
30854
30633
|
|
|
30855
|
-
function _objectSpread$
|
|
30634
|
+
function _objectSpread$d(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$d(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
30856
30635
|
|
|
30857
|
-
var __signature__$
|
|
30636
|
+
var __signature__$1_ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
30858
30637
|
return a;
|
|
30859
30638
|
};
|
|
30860
30639
|
|
|
@@ -30922,42 +30701,42 @@ var _default$H = function _default() {
|
|
|
30922
30701
|
switch (action.type) {
|
|
30923
30702
|
case SET_ACTIVE_INDEX:
|
|
30924
30703
|
{
|
|
30925
|
-
return _objectSpread$
|
|
30704
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
30926
30705
|
activeIndex: action.payload
|
|
30927
30706
|
});
|
|
30928
30707
|
}
|
|
30929
30708
|
|
|
30930
30709
|
case SET_LAST_ACTIVE_INDEX:
|
|
30931
30710
|
{
|
|
30932
|
-
return _objectSpread$
|
|
30711
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
30933
30712
|
lastActiveIndex: action.payload
|
|
30934
30713
|
});
|
|
30935
30714
|
}
|
|
30936
30715
|
|
|
30937
30716
|
case SET_IMAGE_ACTIVE_INDEX:
|
|
30938
30717
|
{
|
|
30939
|
-
return _objectSpread$
|
|
30718
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
30940
30719
|
imageActiveIndex: action.payload
|
|
30941
30720
|
});
|
|
30942
30721
|
}
|
|
30943
30722
|
|
|
30944
30723
|
case SET_MPR_ACTIVE_INDEX:
|
|
30945
30724
|
{
|
|
30946
|
-
return _objectSpread$
|
|
30725
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
30947
30726
|
mprActiveIndex: action.payload
|
|
30948
30727
|
});
|
|
30949
30728
|
}
|
|
30950
30729
|
|
|
30951
30730
|
case SET_SURGERY_ACTIVE_INDEX:
|
|
30952
30731
|
{
|
|
30953
|
-
return _objectSpread$
|
|
30732
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
30954
30733
|
surgeryActiveIndex: action.payload
|
|
30955
30734
|
});
|
|
30956
30735
|
}
|
|
30957
30736
|
|
|
30958
30737
|
case INIT_SERIES:
|
|
30959
30738
|
{
|
|
30960
|
-
return _objectSpread$
|
|
30739
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
30961
30740
|
series: action.payload.series
|
|
30962
30741
|
});
|
|
30963
30742
|
}
|
|
@@ -30966,7 +30745,7 @@ var _default$H = function _default() {
|
|
|
30966
30745
|
{
|
|
30967
30746
|
var _series = lodash$1.concat(state.series, action.payload);
|
|
30968
30747
|
|
|
30969
|
-
return _objectSpread$
|
|
30748
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
30970
30749
|
series: _series
|
|
30971
30750
|
});
|
|
30972
30751
|
}
|
|
@@ -30976,7 +30755,7 @@ var _default$H = function _default() {
|
|
|
30976
30755
|
var _series2 = lodash$1.clone(state.series);
|
|
30977
30756
|
|
|
30978
30757
|
_series2[action.payload.index] = action.payload.series;
|
|
30979
|
-
return _objectSpread$
|
|
30758
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
30980
30759
|
series: _series2
|
|
30981
30760
|
});
|
|
30982
30761
|
}
|
|
@@ -30985,21 +30764,21 @@ var _default$H = function _default() {
|
|
|
30985
30764
|
{
|
|
30986
30765
|
var _seriesCurrentIndex = state.seriesCurrentIndex;
|
|
30987
30766
|
_seriesCurrentIndex[action.payload.seriesIndex] = action.payload.index;
|
|
30988
|
-
return _objectSpread$
|
|
30767
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
30989
30768
|
seriesCurrentIndex: _seriesCurrentIndex
|
|
30990
30769
|
});
|
|
30991
30770
|
}
|
|
30992
30771
|
|
|
30993
30772
|
case INIT_SERIES_CURRENT_INDEX:
|
|
30994
30773
|
{
|
|
30995
|
-
return _objectSpread$
|
|
30774
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
30996
30775
|
seriesCurrentIndex: action.payload.data
|
|
30997
30776
|
});
|
|
30998
30777
|
}
|
|
30999
30778
|
|
|
31000
30779
|
case SET_CURRENT_SERIES_UID:
|
|
31001
30780
|
{
|
|
31002
|
-
return _objectSpread$
|
|
30781
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
31003
30782
|
currentSeries: action.payload,
|
|
31004
30783
|
currentSeriesUID: action.payload.seriesInstanceUID
|
|
31005
30784
|
});
|
|
@@ -31007,21 +30786,21 @@ var _default$H = function _default() {
|
|
|
31007
30786
|
|
|
31008
30787
|
case SET_LINK_SERIES:
|
|
31009
30788
|
{
|
|
31010
|
-
return _objectSpread$
|
|
30789
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
31011
30790
|
linkSeriesIndex: action.payload
|
|
31012
30791
|
});
|
|
31013
30792
|
}
|
|
31014
30793
|
|
|
31015
30794
|
case SET_LINK_IMAGES:
|
|
31016
30795
|
{
|
|
31017
|
-
return _objectSpread$
|
|
30796
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
31018
30797
|
linkImageIndex: action.payload
|
|
31019
30798
|
});
|
|
31020
30799
|
}
|
|
31021
30800
|
|
|
31022
30801
|
case RESER_VIEWPORT:
|
|
31023
30802
|
{
|
|
31024
|
-
return _objectSpread$
|
|
30803
|
+
return _objectSpread$d({}, initialState$4);
|
|
31025
30804
|
}
|
|
31026
30805
|
|
|
31027
30806
|
case SWITCH_MPR_PERSPECTIVE:
|
|
@@ -31046,14 +30825,14 @@ var _default$H = function _default() {
|
|
|
31046
30825
|
}
|
|
31047
30826
|
}
|
|
31048
30827
|
|
|
31049
|
-
return _objectSpread$
|
|
30828
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
31050
30829
|
mprPerspective: nextPerspective
|
|
31051
30830
|
});
|
|
31052
30831
|
}
|
|
31053
30832
|
|
|
31054
30833
|
case SOCKET_INIT_REDUX:
|
|
31055
30834
|
{
|
|
31056
|
-
return _objectSpread$
|
|
30835
|
+
return _objectSpread$d(_objectSpread$d({}, state), action.payload.viewport);
|
|
31057
30836
|
}
|
|
31058
30837
|
|
|
31059
30838
|
default:
|
|
@@ -31216,7 +30995,7 @@ function switchMprPerspective(reset) {
|
|
|
31216
30995
|
enterModule && enterModule(module);
|
|
31217
30996
|
})();
|
|
31218
30997
|
|
|
31219
|
-
var __signature__$
|
|
30998
|
+
var __signature__$1$ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31220
30999
|
return a;
|
|
31221
31000
|
};
|
|
31222
31001
|
|
|
@@ -31258,6 +31037,239 @@ function socketInitRedux(payload) {
|
|
|
31258
31037
|
leaveModule && leaveModule(module);
|
|
31259
31038
|
})();
|
|
31260
31039
|
|
|
31040
|
+
(function () {
|
|
31041
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
31042
|
+
enterModule && enterModule(module);
|
|
31043
|
+
})();
|
|
31044
|
+
|
|
31045
|
+
function ownKeys$e(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
31046
|
+
|
|
31047
|
+
function _objectSpread$e(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$e(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
31048
|
+
|
|
31049
|
+
var __signature__$20 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31050
|
+
return a;
|
|
31051
|
+
};
|
|
31052
|
+
|
|
31053
|
+
function wadoUriMetaDataProvider(type, imageId) {
|
|
31054
|
+
if (imageId.split(':')[0] !== 'wadouri') {
|
|
31055
|
+
return;
|
|
31056
|
+
}
|
|
31057
|
+
|
|
31058
|
+
var _cornerstoneWADOImage = cornerstoneWADOImageLoader.wadouri,
|
|
31059
|
+
parseImageId = _cornerstoneWADOImage.parseImageId,
|
|
31060
|
+
dataSetCacheManager = _cornerstoneWADOImage.dataSetCacheManager,
|
|
31061
|
+
metaData = _cornerstoneWADOImage.metaData;
|
|
31062
|
+
var parsedImageId = parseImageId(imageId);
|
|
31063
|
+
var dataSet = dataSetCacheManager.get(parsedImageId.url);
|
|
31064
|
+
var getNumberValues = metaData.getNumberValues;
|
|
31065
|
+
|
|
31066
|
+
if (!dataSet) {
|
|
31067
|
+
return;
|
|
31068
|
+
}
|
|
31069
|
+
|
|
31070
|
+
if (type === 'dicomInfo') {
|
|
31071
|
+
return new DicomInfo(dataSet);
|
|
31072
|
+
}
|
|
31073
|
+
|
|
31074
|
+
if (type === 'imagePlaneModule') {
|
|
31075
|
+
var imageOrientationPatient = getNumberValues(dataSet, 'x00200037', 6);
|
|
31076
|
+
var imagePositionPatient = getNumberValues(dataSet, 'x00200032', 3);
|
|
31077
|
+
var pixelSpacing = getNumberValues(dataSet, 'x00280030', 2);
|
|
31078
|
+
var imagePixelSpacing = getNumberValues(dataSet, 'x00181164', 2);
|
|
31079
|
+
|
|
31080
|
+
var _getPixelSpacing = getPixelSpacing$8(pixelSpacing, imagePixelSpacing),
|
|
31081
|
+
rowPixelSpacing = _getPixelSpacing.rowPixelSpacing,
|
|
31082
|
+
columnPixelSpacing = _getPixelSpacing.columnPixelSpacing;
|
|
31083
|
+
|
|
31084
|
+
var _getCosines = getCosines(imageOrientationPatient),
|
|
31085
|
+
rowCosines = _getCosines.rowCosines,
|
|
31086
|
+
columnCosines = _getCosines.columnCosines;
|
|
31087
|
+
|
|
31088
|
+
return {
|
|
31089
|
+
frameOfReferenceUID: dataSet.string('x00200052'),
|
|
31090
|
+
rows: dataSet.uint16('x00280010'),
|
|
31091
|
+
columns: dataSet.uint16('x00280011'),
|
|
31092
|
+
imageOrientationPatient: imageOrientationPatient,
|
|
31093
|
+
rowCosines: rowCosines,
|
|
31094
|
+
columnCosines: columnCosines,
|
|
31095
|
+
imagePositionPatient: imagePositionPatient,
|
|
31096
|
+
sliceThickness: dataSet.floatString('x00180050'),
|
|
31097
|
+
sliceLocation: dataSet.floatString('x00201041'),
|
|
31098
|
+
pixelSpacing: pixelSpacing,
|
|
31099
|
+
rowPixelSpacing: rowPixelSpacing,
|
|
31100
|
+
columnPixelSpacing: columnPixelSpacing
|
|
31101
|
+
};
|
|
31102
|
+
}
|
|
31103
|
+
}
|
|
31104
|
+
|
|
31105
|
+
function mprMetaDataProvider(type, imageId) {
|
|
31106
|
+
if (imageId.split(':')[0] !== 'mpr') {
|
|
31107
|
+
return;
|
|
31108
|
+
}
|
|
31109
|
+
|
|
31110
|
+
var _imageId$split = imageId.split(':'),
|
|
31111
|
+
_imageId$split2 = slicedToArray(_imageId$split, 4),
|
|
31112
|
+
scheme = _imageId$split2[0],
|
|
31113
|
+
seriesNumber = _imageId$split2[1],
|
|
31114
|
+
imageOrientationPatient = _imageId$split2[2],
|
|
31115
|
+
imagePositionPatient = _imageId$split2[3];
|
|
31116
|
+
|
|
31117
|
+
var mprWorker;
|
|
31118
|
+
mprWorker = _default$s.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
31119
|
+
|
|
31120
|
+
if (!mprWorker) {
|
|
31121
|
+
return;
|
|
31122
|
+
}
|
|
31123
|
+
|
|
31124
|
+
var images = mprWorker.imageResultDatasMap;
|
|
31125
|
+
var mprImage = images[imageOrientationPatient];
|
|
31126
|
+
var image = mprImage.CornerStoneImage;
|
|
31127
|
+
|
|
31128
|
+
if (type === 'dicomInfo') {
|
|
31129
|
+
return {
|
|
31130
|
+
Rows: {
|
|
31131
|
+
value: [image.rows]
|
|
31132
|
+
},
|
|
31133
|
+
Columns: {
|
|
31134
|
+
value: [image.columns]
|
|
31135
|
+
}
|
|
31136
|
+
};
|
|
31137
|
+
}
|
|
31138
|
+
|
|
31139
|
+
if (type === 'imagePlaneModule') {
|
|
31140
|
+
var imageOrientation = mprImage.imageOrientation,
|
|
31141
|
+
scoutLine = mprImage.scoutLine,
|
|
31142
|
+
imagePosition = mprImage.imagePosition;
|
|
31143
|
+
var rowPixelSpacing = image.rowPixelSpacing,
|
|
31144
|
+
columnPixelSpacing = image.columnPixelSpacing;
|
|
31145
|
+
|
|
31146
|
+
var _getCosines2 = getCosines(imageOrientation),
|
|
31147
|
+
rowCosines = _getCosines2.rowCosines,
|
|
31148
|
+
columnCosines = _getCosines2.columnCosines;
|
|
31149
|
+
|
|
31150
|
+
return _objectSpread$e({
|
|
31151
|
+
rowCosines: rowCosines,
|
|
31152
|
+
columnCosines: columnCosines,
|
|
31153
|
+
rowPixelSpacing: rowPixelSpacing,
|
|
31154
|
+
columnPixelSpacing: columnPixelSpacing,
|
|
31155
|
+
imagePositionPatient: imagePosition,
|
|
31156
|
+
scoutLine: scoutLine
|
|
31157
|
+
}, mprImage);
|
|
31158
|
+
}
|
|
31159
|
+
}
|
|
31160
|
+
|
|
31161
|
+
function centesisMetaDataProvider(type, imageId) {
|
|
31162
|
+
if (imageId.split(':')[0] !== 'centesis') {
|
|
31163
|
+
return;
|
|
31164
|
+
}
|
|
31165
|
+
|
|
31166
|
+
var _imageId$split3 = imageId.split(':'),
|
|
31167
|
+
_imageId$split4 = slicedToArray(_imageId$split3, 4),
|
|
31168
|
+
scheme = _imageId$split4[0],
|
|
31169
|
+
seriesNumber = _imageId$split4[1],
|
|
31170
|
+
imageOrientationPatient = _imageId$split4[2],
|
|
31171
|
+
imagePositionPatient = _imageId$split4[3];
|
|
31172
|
+
|
|
31173
|
+
var mprWorker;
|
|
31174
|
+
mprWorker = _default$s.getWorkerFromCache(seriesNumber, ImageProcessType.Centesis);
|
|
31175
|
+
|
|
31176
|
+
if (!mprWorker) {
|
|
31177
|
+
return;
|
|
31178
|
+
}
|
|
31179
|
+
|
|
31180
|
+
var images = mprWorker.imageResultDatasMap;
|
|
31181
|
+
var mprImage = images[imageOrientationPatient];
|
|
31182
|
+
var image = mprImage.CornerStoneImage;
|
|
31183
|
+
|
|
31184
|
+
if (type === 'dicomInfo') {
|
|
31185
|
+
return {
|
|
31186
|
+
Rows: {
|
|
31187
|
+
value: [image.rows]
|
|
31188
|
+
},
|
|
31189
|
+
Columns: {
|
|
31190
|
+
value: [image.columns]
|
|
31191
|
+
}
|
|
31192
|
+
};
|
|
31193
|
+
}
|
|
31194
|
+
|
|
31195
|
+
if (type === 'imagePlaneModule') {
|
|
31196
|
+
var imageOrientation = mprImage.imageOrientation,
|
|
31197
|
+
imagePosition = mprImage.imagePosition,
|
|
31198
|
+
centesisPaths = mprImage.centesisPaths;
|
|
31199
|
+
var rowPixelSpacing = image.rowPixelSpacing,
|
|
31200
|
+
columnPixelSpacing = image.columnPixelSpacing;
|
|
31201
|
+
|
|
31202
|
+
var _getCosines3 = getCosines(imageOrientation),
|
|
31203
|
+
rowCosines = _getCosines3.rowCosines,
|
|
31204
|
+
columnCosines = _getCosines3.columnCosines;
|
|
31205
|
+
|
|
31206
|
+
return _objectSpread$e({
|
|
31207
|
+
rowCosines: rowCosines,
|
|
31208
|
+
columnCosines: columnCosines,
|
|
31209
|
+
rowPixelSpacing: rowPixelSpacing,
|
|
31210
|
+
columnPixelSpacing: columnPixelSpacing,
|
|
31211
|
+
imagePositionPatient: imagePosition,
|
|
31212
|
+
centesisPaths: centesisPaths
|
|
31213
|
+
}, mprImage);
|
|
31214
|
+
}
|
|
31215
|
+
}
|
|
31216
|
+
|
|
31217
|
+
function getPixelSpacing$8(pixelSpacing, imagePixelSpacing) {
|
|
31218
|
+
var columnPixelSpacing = null;
|
|
31219
|
+
var rowPixelSpacing = null;
|
|
31220
|
+
|
|
31221
|
+
if (pixelSpacing) {
|
|
31222
|
+
rowPixelSpacing = pixelSpacing[0];
|
|
31223
|
+
columnPixelSpacing = pixelSpacing[1];
|
|
31224
|
+
} else if (imagePixelSpacing) {
|
|
31225
|
+
rowPixelSpacing = imagePixelSpacing[0];
|
|
31226
|
+
columnPixelSpacing = imagePixelSpacing[1];
|
|
31227
|
+
}
|
|
31228
|
+
|
|
31229
|
+
return {
|
|
31230
|
+
rowPixelSpacing: rowPixelSpacing,
|
|
31231
|
+
columnPixelSpacing: columnPixelSpacing
|
|
31232
|
+
};
|
|
31233
|
+
}
|
|
31234
|
+
|
|
31235
|
+
function getCosines(imageOrientation) {
|
|
31236
|
+
var rowCosines = null;
|
|
31237
|
+
var columnCosines = null;
|
|
31238
|
+
|
|
31239
|
+
if (imageOrientation) {
|
|
31240
|
+
rowCosines = [parseFloat(imageOrientation[0]), parseFloat(imageOrientation[1]), parseFloat(imageOrientation[2])];
|
|
31241
|
+
columnCosines = [parseFloat(imageOrientation[3]), parseFloat(imageOrientation[4]), parseFloat(imageOrientation[5])];
|
|
31242
|
+
}
|
|
31243
|
+
|
|
31244
|
+
return {
|
|
31245
|
+
rowCosines: rowCosines,
|
|
31246
|
+
columnCosines: columnCosines
|
|
31247
|
+
};
|
|
31248
|
+
}
|
|
31249
|
+
|
|
31250
|
+
cornerstone.metaData.addProvider(wadoUriMetaDataProvider);
|
|
31251
|
+
cornerstone.metaData.addProvider(mprMetaDataProvider);
|
|
31252
|
+
cornerstone.metaData.addProvider(centesisMetaDataProvider);
|
|
31253
|
+
|
|
31254
|
+
(function () {
|
|
31255
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
31256
|
+
|
|
31257
|
+
if (!reactHotLoader) {
|
|
31258
|
+
return;
|
|
31259
|
+
}
|
|
31260
|
+
|
|
31261
|
+
reactHotLoader.register(wadoUriMetaDataProvider, "wadoUriMetaDataProvider", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/metadataProvider.js");
|
|
31262
|
+
reactHotLoader.register(mprMetaDataProvider, "mprMetaDataProvider", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/metadataProvider.js");
|
|
31263
|
+
reactHotLoader.register(centesisMetaDataProvider, "centesisMetaDataProvider", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/metadataProvider.js");
|
|
31264
|
+
reactHotLoader.register(getPixelSpacing$8, "getPixelSpacing", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/metadataProvider.js");
|
|
31265
|
+
reactHotLoader.register(getCosines, "getCosines", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/metadataProvider.js");
|
|
31266
|
+
})();
|
|
31267
|
+
|
|
31268
|
+
(function () {
|
|
31269
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
31270
|
+
leaveModule && leaveModule(module);
|
|
31271
|
+
})();
|
|
31272
|
+
|
|
31261
31273
|
var _extends_1 = createCommonjsModule(function (module) {
|
|
31262
31274
|
function _extends() {
|
|
31263
31275
|
module.exports = _extends = Object.assign || function (target) {
|
|
@@ -44201,47 +44213,18 @@ var SvgMpr = function SvgMpr(props) {
|
|
|
44201
44213
|
|
|
44202
44214
|
function _extends$18() { _extends$18 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$18.apply(this, arguments); }
|
|
44203
44215
|
|
|
44204
|
-
var _ref$16 = /*#__PURE__*/React__default.createElement("
|
|
44205
|
-
|
|
44206
|
-
|
|
44207
|
-
"data-name": "\\u8DEF\\u5F84 1657",
|
|
44208
|
-
d: "M136.15 83.17l-.65-37.27 6.439 4.683.65 37.27z",
|
|
44209
|
-
transform: "translate(-135.5 -45.9)"
|
|
44210
|
-
})));
|
|
44211
|
-
|
|
44212
|
-
var _ref2$e = /*#__PURE__*/React__default.createElement("path", {
|
|
44213
|
-
"data-name": "\\u51CF\\u53BB 8",
|
|
44214
|
-
d: "M51.964 113.499a12.506 12.506 0 01-6.435-1.853L6.508 89.662a9.941 9.941 0 01-4.768-4.077 12.315 12.315 0 01-1.742-6.462v-44.75a11.358 11.358 0 011.742-5.91 14.368 14.368 0 014.764-4.691L45.532 1.855a9.449 9.449 0 015.8-1.853 12.477 12.477 0 016.431 1.853l39.028 21.917c4.011 1.621 6.5 5.683 6.5 10.6v44.75c0 4.041-2.493 8.079-6.506 10.539L57.76 111.645a9.461 9.461 0 01-5.796 1.854zm-8.643-30.406l8.322 4.814a25.6 25.6 0 0012.742 3.84 19.773 19.773 0 009.368-2.409l1.27-.741c2.689-1.7 4.034-3.5 4-5.337-.048-2.312-2.277-4.754-6.626-7.26l-13.984-8.062-33.435 19.449 5.532 3.186 12.813-7.479zM55.287 9.139v45.526c.679.434 1.012.631 2 1.216l.144.085L94.314 76.65V34.372a4.29 4.29 0 00-2.473-4.029l-36.553-21.2zM16.526 28.466l-5.857 3.371.13 35.122 5.008-2.925-.063-24.129.13-.13 9.041 18.992 2.2-1.25 2.164-1.253 8.9-29.369.131-.063.063 24.165 5.012-2.9-.067-35.059-5.851 3.383-10.279 33.5-.193.067-10.468-21.519zm46.77 58.938c-.191 0-.391-.006-.593-.019a17.276 17.276 0 01-6.7-2.342l-8-4.684 11.253-6.505 8 4.617c2.454 1.418 3.774 2.675 4.034 3.84s-.594 2.348-2.535 3.513a10.843 10.843 0 01-5.455 1.581z"
|
|
44216
|
+
var _ref$16 = /*#__PURE__*/React__default.createElement("path", {
|
|
44217
|
+
"data-name": "\\u51CF\\u53BB 6",
|
|
44218
|
+
d: "M128 85H9a9.01 9.01 0 01-9-9V9a9.01 9.01 0 019-9h119a9.01 9.01 0 019 9v67a9.01 9.01 0 01-9 9zM93.259 17.92v49.157h7.706V51.143h5.351a25.3 25.3 0 007.142-.887 10.88 10.88 0 004.882-2.9 12.193 12.193 0 002.794-5.206 30.158 30.158 0 00.88-7.863 31.849 31.849 0 00-.764-7.439 11.483 11.483 0 00-2.587-5.1 10.638 10.638 0 00-4.852-2.9 26.27 26.27 0 00-7.5-.922zm-22.094 0v49.157h7.7V17.92zm-22.606 9.067v40.09h7.586V17.92H44.034L35.8 46.961h-.354l-8-29.041h-12.46v49.157h7.526v-40.09h.354l8.7 30.176h7.879l8.763-30.176h.349zm56.813 16.645h-4.407V25.43h4.407c3.241 0 5.536.667 6.822 1.982s1.94 3.677 1.94 7.014a18.955 18.955 0 01-.44 4.46 6.186 6.186 0 01-1.47 2.835 5.6 5.6 0 01-2.7 1.486 17.364 17.364 0 01-4.152.426z"
|
|
44215
44219
|
});
|
|
44216
44220
|
|
|
44217
|
-
var _ref3$4 = /*#__PURE__*/React__default.createElement("g", {
|
|
44218
|
-
"data-name": "\\u7EC4 3241"
|
|
44219
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
44220
|
-
"data-name": "\\u7EC4 3240"
|
|
44221
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
44222
|
-
"data-name": "\\u7EC4 3239"
|
|
44223
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
44224
|
-
"data-name": "\\u7EC4 3238",
|
|
44225
|
-
clipPath: "url(#mip_svg__a)",
|
|
44226
|
-
transform: "translate(71.873 21.951)"
|
|
44227
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
44228
|
-
"data-name": "\\u7EC4 3237"
|
|
44229
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
44230
|
-
"data-name": "\\u7EC4 3236"
|
|
44231
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
44232
|
-
"data-name": "\\u7EC4 3235"
|
|
44233
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
44234
|
-
"data-name": "\\u8DEF\\u5F84 1656",
|
|
44235
|
-
d: "M6.439 4.683L0 0l.65 37.27 6.439 4.683-.65-37.27"
|
|
44236
|
-
}))))))));
|
|
44237
|
-
|
|
44238
44221
|
var SvgMip = function SvgMip(props) {
|
|
44239
44222
|
return /*#__PURE__*/React__default.createElement("svg", _extends$18({
|
|
44240
|
-
width:
|
|
44241
|
-
height:
|
|
44242
|
-
viewBox: "0 0
|
|
44223
|
+
width: 137,
|
|
44224
|
+
height: 85,
|
|
44225
|
+
viewBox: "0 0 137 85",
|
|
44243
44226
|
fill: "currentColor"
|
|
44244
|
-
}, props), _ref$16
|
|
44227
|
+
}, props), _ref$16);
|
|
44245
44228
|
};
|
|
44246
44229
|
|
|
44247
44230
|
function _extends$19() { _extends$19 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$19.apply(this, arguments); }
|
|
@@ -44250,11 +44233,11 @@ var _ref$17 = /*#__PURE__*/React__default.createElement("path", {
|
|
|
44250
44233
|
d: "M11.217 10.354l1.672 4.76 1.698-4.76h1.366l-2.49 6.326h-1.212l-2.398-6.326zM21.513 15.722a4.73 4.73 0 00-.073-.617 2.253 2.253 0 00-.149-.436 1.319 1.319 0 00-.308-.432 1.8 1.8 0 00-.503-.28c.278-.102.503-.249.674-.446.273-.33.41-.795.41-1.395a1.91 1.91 0 00-.176-.821 1.521 1.521 0 00-.5-.602c-.313-.228-.868-.341-1.665-.341h-2.775v6.328h1.212v-2.4h.972c.42-.007.74.057.963.19.176.114.308.268.396.465.088.197.147.477.176.844.045.455.088.757.128.901h1.357c-.058-.182-.105-.502-.139-.958zm-1.558-2.713c-.119.095-.32.142-.607.142H17.65v-1.67h1.698c.216 0 .372.019.47.057.273.109.41.353.41.74 0 .349-.09.591-.273.731z"
|
|
44251
44234
|
});
|
|
44252
44235
|
|
|
44253
|
-
var _ref2$
|
|
44236
|
+
var _ref2$e = /*#__PURE__*/React__default.createElement("path", {
|
|
44254
44237
|
d: "M18.632 20.558a.544.544 0 00-.676.347c-1.013 3.168-2.586 5.059-4.21 5.059-.645 0-1.283-.294-1.893-.872-.641-.609-1.222-1.488-1.722-2.613-1.068-2.384-1.654-5.565-1.654-8.958 0-3.394.587-6.576 1.654-8.96.498-1.122 1.077-2 1.722-2.612.614-.578 1.25-.872 1.893-.872 1.158 0 2.082.932 2.711 1.846l-1.634 1.03 4.315 2.226-.155-4.849-1.622 1.022C16.312.818 15.073 0 13.748 0c-1.775 0-3.408 1.465-4.595 4.124-1.126 2.513-1.746 5.849-1.746 9.396 0 3.543.62 6.88 1.746 9.396 1.19 2.655 2.821 4.117 4.595 4.117 1.099 0 2.17-.576 3.1-1.667.847-.993 1.583-2.422 2.131-4.135a.537.537 0 00-.347-.673z"
|
|
44255
44238
|
});
|
|
44256
44239
|
|
|
44257
|
-
var _ref3$
|
|
44240
|
+
var _ref3$4 = /*#__PURE__*/React__default.createElement("path", {
|
|
44258
44241
|
d: "M25.938 10.351c-1.25-.931-3.022-1.704-5.13-2.237-.277-.057-.577.109-.649.39a.531.531 0 00.389.65c3.958.998 6.419 2.789 6.419 4.674 0 .663-.306 1.32-.913 1.954-.626.659-1.54 1.257-2.718 1.779-2.478 1.099-5.787 1.703-9.317 1.703-3.53 0-6.839-.604-9.319-1.703-1.176-.523-2.09-1.122-2.718-1.779-.604-.63-.911-1.287-.911-1.954 0-.856.526-1.712 1.515-2.494l1.097 1.589 2.048-4.4-4.842.354 1.089 1.577C.688 11.456 0 12.616 0 13.828c0 1.821 1.515 3.495 4.268 4.714 2.614 1.158 6.076 1.795 9.753 1.795s7.137-.638 9.745-1.798c2.753-1.219 4.268-2.893 4.268-4.714 0-1.249-.724-2.452-2.096-3.474z"
|
|
44259
44242
|
});
|
|
44260
44243
|
|
|
@@ -44264,7 +44247,7 @@ var SvgVr = function SvgVr(props) {
|
|
|
44264
44247
|
height: 28.346,
|
|
44265
44248
|
viewBox: "0 0 28.346 28.346",
|
|
44266
44249
|
fill: "currentColor"
|
|
44267
|
-
}, props), _ref$17, _ref2$
|
|
44250
|
+
}, props), _ref$17, _ref2$e, _ref3$4);
|
|
44268
44251
|
};
|
|
44269
44252
|
|
|
44270
44253
|
function _extends$1a() { _extends$1a = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1a.apply(this, arguments); }
|
|
@@ -44521,7 +44504,7 @@ var _ref$19 = /*#__PURE__*/React__default.createElement("g", {
|
|
|
44521
44504
|
d: "M69.932 69.61a2.333 2.333 0 01-.21-4.659c5.374-.496 8.79-.947 8.813-.95a2.326 2.326 0 012.621 2.007 2.337 2.337 0 01-2.007 2.621s-3.494.463-8.999.971a2.67 2.67 0 01-.218.01zM43.655 70.914c-3.452 0-6.767-.084-9.851-.249a2.332 2.332 0 01-2.206-2.454c.068-1.289 1.185-2.323 2.454-2.206 5.473.291 11.89.298 17.809.096 1.276-.089 2.37.962 2.412 2.251a2.33 2.33 0 01-2.251 2.412c-2.725.096-5.534.15-8.367.15zm-27.55-2.694c-.196 0-.396-.026-.594-.077C6.428 65.759 1.228 61.747.051 56.22a2.333 2.333 0 011.797-2.768 2.33 2.33 0 012.768 1.797c.778 3.661 4.842 6.48 12.079 8.378a2.336 2.336 0 01-.59 4.593zm-5.524-24.506a2.336 2.336 0 01-1.028-4.432c4.313-2.111 10.118-3.477 18.265-4.301 1.297-.154 2.426.803 2.556 2.086s-.805 2.426-2.086 2.556c-7.581.768-12.881 1.992-16.683 3.852-.33.161-.68.239-1.024.239zm35.488-5.234a2.333 2.333 0 01-.126-4.664c7.067-.386 12.765-.847 17.6-1.834a2.324 2.324 0 012.754 1.82 2.332 2.332 0 01-1.818 2.752c-5.116 1.045-11.008 1.525-18.28 1.921-.044.005-.088.005-.13.005zm32.18-11.231a2.334 2.334 0 01-2.232-3.017c.254-.829.382-1.753.38-2.742l-.012-.531c-.172-4.024-2.032-7.186-5.687-9.669a2.334 2.334 0 012.623-3.861c4.891 3.321 7.491 7.807 7.728 13.333l.016.724c.002 1.452-.195 2.835-.584 4.109a2.335 2.335 0 01-2.232 1.654zM55.035 6.132c-.107 0-.214-.007-.323-.021-5.108-.708-11.329-.981-17.61-.838-1.346-.06-2.356-.996-2.384-2.283A2.333 2.333 0 0137 .606c6.515-.133 12.995.142 18.351.88a2.335 2.335 0 01-.316 4.646zM9.854 7.836a2.335 2.335 0 01-2.297-1.929 2.332 2.332 0 011.892-2.702c.146-.026 3.613-.635 9.022-1.266 1.248-.156 2.439.766 2.588 2.046a2.33 2.33 0 01-2.048 2.589c-5.26.615-8.715 1.22-8.75 1.227a2.269 2.269 0 01-.407.035z"
|
|
44522
44505
|
}));
|
|
44523
44506
|
|
|
44524
|
-
var _ref2$
|
|
44507
|
+
var _ref2$f = /*#__PURE__*/React__default.createElement("path", {
|
|
44525
44508
|
fill: "#FFF",
|
|
44526
44509
|
d: "M128.104.646l11.434 11.096a2.36 2.36 0 01.732 1.702c0 .638-.264 1.252-.732 1.703a2.536 2.536 0 01-3.508 0l-3.824-3.712-6.22 6.179 13.402 13.026c.468.45.732 1.063.732 1.702 0 .64-.264 1.252-.732 1.703a2.545 2.545 0 01-1.754.674 2.538 2.538 0 01-1.754-.707l-5.182-5.029-25.38 25.303a9.602 9.602 0 01-6.839 2.834 9.604 9.604 0 01-6.84-2.832l-1.047-1.048-8.739 8.742a2.53 2.53 0 01-1.778.739 2.536 2.536 0 01-2.524-2.519c0-.669.269-1.31.744-1.781l8.739-8.743-1.053-1.055a9.717 9.717 0 010-13.709l25.02-25.046-5.846-5.673a2.363 2.363 0 01-.637-2.333A2.452 2.452 0 01106.28.159a2.537 2.537 0 012.4.631l13.907 13.518L128.77 8.1l-4.173-4.049a2.358 2.358 0 01.062-3.345 2.534 2.534 0 013.445-.06zM94.112 33.519a2.144 2.144 0 00-.582 2.823l.101.153 6.922 6.792a2.29 2.29 0 003.061-.453 2.158 2.158 0 00.568-2.838l-.101-.153-6.906-6.776a2.292 2.292 0 00-3.063.452zm7.072-6.888a2.142 2.142 0 00-.599 2.82l.101.155 4.276 4.285a2.293 2.293 0 003.061-.403 2.176 2.176 0 00.598-2.837l-.098-.155-4.276-4.285c-.718-.76-2.081-.518-3.063.42zm0 0"
|
|
44527
44510
|
});
|
|
@@ -44532,7 +44515,7 @@ var SvgCentesis = function SvgCentesis(props) {
|
|
|
44532
44515
|
height: 141.73,
|
|
44533
44516
|
viewBox: "0 0 141.73 141.73",
|
|
44534
44517
|
fill: "currentColor"
|
|
44535
|
-
}, props), _ref$19, _ref2$
|
|
44518
|
+
}, props), _ref$19, _ref2$f);
|
|
44536
44519
|
};
|
|
44537
44520
|
|
|
44538
44521
|
(function () {
|
|
@@ -53441,7 +53424,7 @@ var _default$16 = ConnectedSurgeryLayout;
|
|
|
53441
53424
|
var css_248z$r = ".paladin-main-wrapper svg {\n width: 100%;\n height: 100%;\n}\n.paladin-main-wrapper span,\n.paladin-main-wrapper div {\n user-select: none;\n}\n.paladin-main-wrapper .paladin-dicomView-dicomToolWrapper {\n background-color: #353535;\n z-index: 2;\n}\n.paladin-main-wrapper .paladin-dicomView-dicomThumbnailWrapper {\n background-color: #353535;\n border: 1px solid #727882;\n}\n.paladin-main-wrapper .paladin-dicomView-pcmobileWrapper {\n display: flex;\n flex-direction: column;\n flex: 1;\n width: 0;\n}\nbutton:focus {\n outline: none;\n}\n.paladin-flex {\n display: flex;\n}\n.paladin-flex-row {\n display: flex;\n box-sizing: border-box;\n flex-direction: row;\n flex-wrap: wrap;\n flex: 0 1 auto;\n}\n.paladin-flex-col {\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n flex: 0 0 auto;\n}\n.paladin-flex-center {\n justify-content: center;\n align-items: center;\n}\n.paladin-flex-end {\n justify-content: flex-end;\n}\n.paladin-flex-1 {\n flex: 1;\n}\n.paladin-full-content {\n width: 100%;\n height: 100%;\n}\n.paladin-full-height {\n height: 100%;\n}\n.paladin-full-width {\n width: 100%;\n}\n.paladin-text-center {\n text-align: center;\n}\n";
|
|
53442
53425
|
styleInject$1(css_248z$r);
|
|
53443
53426
|
|
|
53444
|
-
var css_248z$s = ".image-processing-container {\n position: absolute;\n width: 100%;\n height: 100%;\n text-align: center;\n background: black;\n display: flex;\n align-items: center;\n justify-content: space-around;\n flex-direction: column;\n z-index: 999;\n}\n.image-processing-container-content {\n cursor: pointer;\n}\n.image-processing-container-content svg {\n width: 50px;\n height: 50px;\n display: block;\n margin: 15px auto 0 auto;\n color: #999;\n}\n.paladin-three-wrapper {\n width: 100%;\n height: 100%;\n color: white;\n display: flex;\n}\n.paladin-three-horizontal-left {\n width: 66.6%;\n height: 100%;\n}\n.paladin-three-horizontal-right {\n width: 33.4%;\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.paladin-three-vertical-top {\n width: 100%;\n height: 66.6%;\n flex-direction: row;\n}\n.paladin-three-vertical-bottom {\n width: 100%;\n height: 33.4%;\n display: flex;\n flex-direction: row;\n}\n.paladin-three-height-50 {\n width: 100%;\n height: 50%;\n}\n.paladin-three-width-50 {\n width: 50%;\n height: 100%;\n}\n.paladin-three-height-33 {\n width: 100%;\n height: 33.333%;\n}\n.paladin-three-width-33 {\n height: 100%;\n width: 33.333%;\n}\n.paladin-three-relative {\n position: relative;\n}\n";
|
|
53427
|
+
var css_248z$s = ".image-processing-container {\n position: absolute;\n width: 100%;\n height: 100%;\n text-align: center;\n background: black;\n display: flex;\n align-items: center;\n justify-content: space-around;\n flex-direction: column;\n z-index: 999;\n}\n.image-processing-container-content {\n cursor: pointer;\n}\n.image-processing-container-content svg {\n width: 50px;\n height: 50px;\n display: block;\n margin: 15px auto 0 auto;\n color: #999;\n}\n.paladin-three-wrapper {\n width: 100%;\n height: 100%;\n color: white;\n display: flex;\n}\n.paladin-three-horizontal-left {\n width: 66.6%;\n height: 100%;\n}\n.paladin-three-horizontal-right {\n width: 33.4%;\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.paladin-three-vertical-top {\n width: 100%;\n height: 66.6%;\n flex-direction: row;\n}\n.paladin-three-vertical-bottom {\n width: 100%;\n height: 33.4%;\n display: flex;\n flex-direction: row;\n}\n.paladin-three-height-50 {\n width: 100%;\n height: 50%;\n}\n.paladin-three-width-50 {\n width: 50%;\n height: 100%;\n}\n.paladin-three-height-33 {\n width: 100%;\n height: 33.333%;\n}\n.paladin-three-width-33 {\n height: 100%;\n width: 33.333%;\n}\n.paladin-three-relative {\n position: relative;\n}\n.mip-wwwc {\n position: absolute;\n bottom: 15px;\n left: 15px;\n}\n.mip-wwwc p {\n color: #ffffff;\n margin: 0;\n text-align: right;\n}\n";
|
|
53445
53428
|
styleInject$1(css_248z$s);
|
|
53446
53429
|
|
|
53447
53430
|
(function () {
|
|
@@ -54347,7 +54330,9 @@ var MIPLayout = /*#__PURE__*/function (_Component) {
|
|
|
54347
54330
|
|
|
54348
54331
|
_this.state = {
|
|
54349
54332
|
processing: true,
|
|
54350
|
-
error: null
|
|
54333
|
+
error: null,
|
|
54334
|
+
windowWidth: 0,
|
|
54335
|
+
windowCenter: 0
|
|
54351
54336
|
};
|
|
54352
54337
|
_this.vr = '';
|
|
54353
54338
|
return _this;
|
|
@@ -54357,6 +54342,9 @@ var MIPLayout = /*#__PURE__*/function (_Component) {
|
|
|
54357
54342
|
key: "initVR",
|
|
54358
54343
|
value: function () {
|
|
54359
54344
|
var _initVR = asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(currentSeries, instanceImages) {
|
|
54345
|
+
var _this2 = this;
|
|
54346
|
+
|
|
54347
|
+
var volumeWindowLevel;
|
|
54360
54348
|
return regenerator.wrap(function _callee$(_context) {
|
|
54361
54349
|
while (1) {
|
|
54362
54350
|
switch (_context.prev = _context.next) {
|
|
@@ -54374,12 +54362,27 @@ var MIPLayout = /*#__PURE__*/function (_Component) {
|
|
|
54374
54362
|
this.vr = _context.sent;
|
|
54375
54363
|
// mip左键默认工具是调窗
|
|
54376
54364
|
this.vr.ActionParameter.mouseActionMode = InteractorStyleActionMode.WindowLevel;
|
|
54377
|
-
this.props.set3DActiveTool('MipWWWc');
|
|
54378
|
-
|
|
54365
|
+
this.props.set3DActiveTool('MipWWWc'); // 窗值初始值
|
|
54366
|
+
|
|
54367
|
+
volumeWindowLevel = this.vr.volumeWindowLevel;
|
|
54368
|
+
this.setState({
|
|
54369
|
+
windowWidth: Math.floor(volumeWindowLevel.level),
|
|
54370
|
+
windowCenter: Math.floor(volumeWindowLevel.center)
|
|
54371
|
+
}); // 调窗监听
|
|
54372
|
+
|
|
54373
|
+
Messager.Instance.regist(_default$1.MessagerKeys.MipWwwcChange, this.vr.messageGroupId, function (param) {
|
|
54374
|
+
if (param) {
|
|
54375
|
+
_this2.setState({
|
|
54376
|
+
windowWidth: param.level,
|
|
54377
|
+
windowCenter: param.center
|
|
54378
|
+
});
|
|
54379
|
+
}
|
|
54380
|
+
});
|
|
54381
|
+
_context.next = 16;
|
|
54379
54382
|
break;
|
|
54380
54383
|
|
|
54381
|
-
case
|
|
54382
|
-
_context.prev =
|
|
54384
|
+
case 11:
|
|
54385
|
+
_context.prev = 11;
|
|
54383
54386
|
_context.t0 = _context["catch"](0);
|
|
54384
54387
|
console.error(_context.t0);
|
|
54385
54388
|
this.setState({
|
|
@@ -54388,19 +54391,19 @@ var MIPLayout = /*#__PURE__*/function (_Component) {
|
|
|
54388
54391
|
});
|
|
54389
54392
|
return _context.abrupt("return");
|
|
54390
54393
|
|
|
54391
|
-
case
|
|
54394
|
+
case 16:
|
|
54392
54395
|
this.setState({
|
|
54393
54396
|
processingMessage: null,
|
|
54394
54397
|
processing: false,
|
|
54395
54398
|
error: null
|
|
54396
54399
|
});
|
|
54397
54400
|
|
|
54398
|
-
case
|
|
54401
|
+
case 17:
|
|
54399
54402
|
case "end":
|
|
54400
54403
|
return _context.stop();
|
|
54401
54404
|
}
|
|
54402
54405
|
}
|
|
54403
|
-
}, _callee, this, [[0,
|
|
54406
|
+
}, _callee, this, [[0, 11]]);
|
|
54404
54407
|
}));
|
|
54405
54408
|
|
|
54406
54409
|
function initVR(_x, _x2) {
|
|
@@ -54413,7 +54416,7 @@ var MIPLayout = /*#__PURE__*/function (_Component) {
|
|
|
54413
54416
|
key: "componentDidMount",
|
|
54414
54417
|
value: function () {
|
|
54415
54418
|
var _componentDidMount = asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2() {
|
|
54416
|
-
var
|
|
54419
|
+
var _this3 = this;
|
|
54417
54420
|
|
|
54418
54421
|
var currentSeries, instanceImages, i;
|
|
54419
54422
|
return regenerator.wrap(function _callee2$(_context2) {
|
|
@@ -54444,7 +54447,7 @@ var MIPLayout = /*#__PURE__*/function (_Component) {
|
|
|
54444
54447
|
error: null
|
|
54445
54448
|
}, function () {
|
|
54446
54449
|
setTimeout(function () {
|
|
54447
|
-
|
|
54450
|
+
_this3.initVR(currentSeries, instanceImages);
|
|
54448
54451
|
}, 50);
|
|
54449
54452
|
});
|
|
54450
54453
|
}
|
|
@@ -54496,7 +54499,9 @@ var MIPLayout = /*#__PURE__*/function (_Component) {
|
|
|
54496
54499
|
var _this$state = this.state,
|
|
54497
54500
|
processing = _this$state.processing,
|
|
54498
54501
|
processingMessage = _this$state.processingMessage,
|
|
54499
|
-
error = _this$state.error
|
|
54502
|
+
error = _this$state.error,
|
|
54503
|
+
windowWidth = _this$state.windowWidth,
|
|
54504
|
+
windowCenter = _this$state.windowCenter;
|
|
54500
54505
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
54501
54506
|
className: "paladin-three-wrapper",
|
|
54502
54507
|
style: {
|
|
@@ -54515,7 +54520,9 @@ var MIPLayout = /*#__PURE__*/function (_Component) {
|
|
|
54515
54520
|
height: '100%'
|
|
54516
54521
|
},
|
|
54517
54522
|
id: 'mipContainer'
|
|
54518
|
-
})
|
|
54523
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
|
54524
|
+
className: "mip-wwwc"
|
|
54525
|
+
}, /*#__PURE__*/React__default.createElement("p", null, "W:", windowWidth), /*#__PURE__*/React__default.createElement("p", null, "C:", windowCenter))));
|
|
54519
54526
|
}
|
|
54520
54527
|
}, {
|
|
54521
54528
|
key: "__reactstandin__regenerateByEval",
|
|
@@ -55749,6 +55756,7 @@ var mergeProps$l = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
55749
55756
|
},
|
|
55750
55757
|
FORWARD: function FORWARD() {
|
|
55751
55758
|
var activeElement = getCurrentElement();
|
|
55759
|
+
if (!activeElement) return;
|
|
55752
55760
|
|
|
55753
55761
|
if (threeDMode) {
|
|
55754
55762
|
changeMprPositionWithElement(activeElement, -1, threeScrollType);
|
|
@@ -55758,6 +55766,7 @@ var mergeProps$l = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
55758
55766
|
},
|
|
55759
55767
|
BACKWARD: function BACKWARD() {
|
|
55760
55768
|
var activeElement = getCurrentElement();
|
|
55769
|
+
if (!activeElement) return;
|
|
55761
55770
|
|
|
55762
55771
|
if (threeDMode) {
|
|
55763
55772
|
changeMprPositionWithElement(activeElement, 1, threeScrollType);
|
|
@@ -55797,12 +55806,15 @@ var mergeProps$l = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
55797
55806
|
});
|
|
55798
55807
|
},
|
|
55799
55808
|
SCROLL_START: function SCROLL_START() {
|
|
55800
|
-
|
|
55809
|
+
var activeElement = getCurrentElement();
|
|
55810
|
+
if (!activeElement) return;
|
|
55811
|
+
_default$E.scrollToIndex(activeElement, 0, true, {
|
|
55801
55812
|
backToStart: true
|
|
55802
55813
|
});
|
|
55803
55814
|
},
|
|
55804
55815
|
SCROLL_END: function SCROLL_END() {
|
|
55805
55816
|
var activeElement = getCurrentElement();
|
|
55817
|
+
if (!activeElement) return;
|
|
55806
55818
|
var max = _default$E.getImagesLength(activeElement) - 1;
|
|
55807
55819
|
_default$E.scrollToIndex(activeElement, max, tement, max, true, {
|
|
55808
55820
|
backToEnd: true
|
|
@@ -55819,43 +55831,63 @@ var mergeProps$l = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
55819
55831
|
},
|
|
55820
55832
|
WWWC1: function WWWC1() {
|
|
55821
55833
|
if (!wwwcCustomDic[0]) return;
|
|
55822
|
-
|
|
55834
|
+
var activeElement = getCurrentElement();
|
|
55835
|
+
if (!activeElement) return;
|
|
55836
|
+
setWwwc(activeElement, wwwcCustomDic[0].ww, wwwcCustomDic[0].wc);
|
|
55823
55837
|
},
|
|
55824
55838
|
WWWC2: function WWWC2() {
|
|
55825
55839
|
if (!wwwcCustomDic[1]) return;
|
|
55826
|
-
|
|
55840
|
+
var activeElement = getCurrentElement();
|
|
55841
|
+
if (!activeElement) return;
|
|
55842
|
+
setWwwc(activeElement, wwwcCustomDic[1].ww, wwwcCustomDic[1].wc);
|
|
55827
55843
|
},
|
|
55828
55844
|
WWWC3: function WWWC3() {
|
|
55829
55845
|
if (!wwwcCustomDic[2]) return;
|
|
55830
|
-
|
|
55846
|
+
var activeElement = getCurrentElement();
|
|
55847
|
+
if (!activeElement) return;
|
|
55848
|
+
setWwwc(activeElement, wwwcCustomDic[2].ww, wwwcCustomDic[2].wc);
|
|
55831
55849
|
},
|
|
55832
55850
|
WWWC4: function WWWC4() {
|
|
55833
55851
|
if (!wwwcCustomDic[3]) return;
|
|
55834
|
-
|
|
55852
|
+
var activeElement = getCurrentElement();
|
|
55853
|
+
if (!activeElement) return;
|
|
55854
|
+
setWwwc(activeElement, wwwcCustomDic[3].ww, wwwcCustomDic[3].wc);
|
|
55835
55855
|
},
|
|
55836
55856
|
WWWC5: function WWWC5() {
|
|
55837
55857
|
if (!wwwcCustomDic[4]) return;
|
|
55838
|
-
|
|
55858
|
+
var activeElement = getCurrentElement();
|
|
55859
|
+
if (!activeElement) return;
|
|
55860
|
+
setWwwc(activeElement, wwwcCustomDic[4].ww, wwwcCustomDic[4].wc);
|
|
55839
55861
|
},
|
|
55840
55862
|
WWWC6: function WWWC6() {
|
|
55841
55863
|
if (!wwwcCustomDic[5]) return;
|
|
55842
|
-
|
|
55864
|
+
var activeElement = getCurrentElement();
|
|
55865
|
+
if (!activeElement) return;
|
|
55866
|
+
setWwwc(activeElement, wwwcCustomDic[5].ww, wwwcCustomDic[5].wc);
|
|
55843
55867
|
},
|
|
55844
55868
|
WWWC7: function WWWC7() {
|
|
55845
55869
|
if (!wwwcCustomDic[6]) return;
|
|
55846
|
-
|
|
55870
|
+
var activeElement = getCurrentElement();
|
|
55871
|
+
if (!activeElement) return;
|
|
55872
|
+
setWwwc(activeElement, wwwcCustomDic[6].ww, wwwcCustomDic[6].wc);
|
|
55847
55873
|
},
|
|
55848
55874
|
WWWC8: function WWWC8() {
|
|
55849
55875
|
if (!wwwcCustomDic[7]) return;
|
|
55850
|
-
|
|
55876
|
+
var activeElement = getCurrentElement();
|
|
55877
|
+
if (!activeElement) return;
|
|
55878
|
+
setWwwc(activeElement, wwwcCustomDic[7].ww, wwwcCustomDic[7].wc);
|
|
55851
55879
|
},
|
|
55852
55880
|
WWWC9: function WWWC9() {
|
|
55853
55881
|
if (!wwwcCustomDic[8]) return;
|
|
55854
|
-
|
|
55882
|
+
var activeElement = getCurrentElement();
|
|
55883
|
+
if (!activeElement) return;
|
|
55884
|
+
setWwwc(activeElement, wwwcCustomDic[8].ww, wwwcCustomDic[8].wc);
|
|
55855
55885
|
},
|
|
55856
55886
|
WWWC0: function WWWC0() {
|
|
55857
55887
|
if (!wwwcCustomDic[9]) return;
|
|
55858
|
-
|
|
55888
|
+
var activeElement = getCurrentElement();
|
|
55889
|
+
if (!activeElement) return;
|
|
55890
|
+
setWwwc(activeElement, wwwcCustomDic[9].ww, wwwcCustomDic[9].wc);
|
|
55859
55891
|
}
|
|
55860
55892
|
},
|
|
55861
55893
|
getCurrentElement: getCurrentElement,
|