hellfire 0.21.4 → 0.22.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 +12 -0
- package/dist/index.js +1036 -363
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -114,7 +114,7 @@ var vrPhoneTools = ["MprExit", "VRMode", "VRPresentColor", "VRCenterPointShow",
|
|
|
114
114
|
var surgeryTools = ["SurgeryExit", "CentesisStart", "CentesisEnd", "CentesisSave", "PrevNext", "StackScroll", "Wwwc", "Zoom", "Pan", "Reset", "Rotate", "Tool", "Length", "Fullscreen"];
|
|
115
115
|
var surgeryPhoneTools = ["SurgeryExit", "CentesisStart", "CentesisEnd", "CentesisSave", "Prev", "Next", "StackScroll", "Wwwc", "Zoom", "Pan", "Reset", "Rotate", "Tool", "Length"]; // MIP 允许使用的工具, 及其排序
|
|
116
116
|
|
|
117
|
-
var mipTools = ["MprExit", "MipWWWc", "MipRotate", "MipZoom", "VRDirection", "VRRefresh"]; // 初始化时工具栏平铺or单列
|
|
117
|
+
var mipTools = ["MprExit", "MipWWWc", "MipRotate", "MipZoom", "VRDirection", "VRCine", "VRRefresh"]; // 初始化时工具栏平铺or单列
|
|
118
118
|
|
|
119
119
|
var initToolMode = 'flatten';
|
|
120
120
|
var localToolMode = window.localStorage.getItem('hellfire-custom-toolMode');
|
|
@@ -681,6 +681,11 @@ var MessagerKeys = {
|
|
|
681
681
|
*/
|
|
682
682
|
MipEyeSightDirection: "d",
|
|
683
683
|
|
|
684
|
+
/**
|
|
685
|
+
* 视角旋转
|
|
686
|
+
*/
|
|
687
|
+
MipCameraRotate: "e",
|
|
688
|
+
|
|
684
689
|
/**
|
|
685
690
|
* 重置MPR
|
|
686
691
|
*/
|
|
@@ -1097,7 +1102,8 @@ var SET_CENTESIS_PATH = 'SET_CENTESIS_PATH';
|
|
|
1097
1102
|
var SET_IO_ON = 'SET_IO_ON';
|
|
1098
1103
|
var SET_IO_OFF = 'SET_IO_OFF';
|
|
1099
1104
|
var SET_VIEW_MODE = 'SET_VIEW_MODE';
|
|
1100
|
-
var SET_MIP_ACTIVE_TOOL = 'SET_MIP_ACTIVE_TOOL';
|
|
1105
|
+
var SET_MIP_ACTIVE_TOOL = 'SET_MIP_ACTIVE_TOOL';
|
|
1106
|
+
var SET_ACTION_STATE_KEY = 'SET_ACTION_STATE_KEY'; // ---------- Reducers ----------
|
|
1101
1107
|
|
|
1102
1108
|
var isMobile = _default$3.isDeviceTypeMobile();
|
|
1103
1109
|
var initialState$1 = {
|
|
@@ -1128,7 +1134,10 @@ var initialState$1 = {
|
|
|
1128
1134
|
CentesisEnd: false,
|
|
1129
1135
|
centesisPath: [],
|
|
1130
1136
|
VRClip: false,
|
|
1131
|
-
IO: false
|
|
1137
|
+
IO: false,
|
|
1138
|
+
VRCine: null,
|
|
1139
|
+
VRCineFps: 3,
|
|
1140
|
+
VRCineAngle: 20
|
|
1132
1141
|
};
|
|
1133
1142
|
|
|
1134
1143
|
var _default$4 = function _default() {
|
|
@@ -1270,6 +1279,11 @@ var _default$4 = function _default() {
|
|
|
1270
1279
|
});
|
|
1271
1280
|
}
|
|
1272
1281
|
|
|
1282
|
+
case SET_ACTION_STATE_KEY:
|
|
1283
|
+
{
|
|
1284
|
+
return _objectSpread$1(_objectSpread$1({}, state), {}, defineProperty({}, action.payload.key, action.payload.value));
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1273
1287
|
default:
|
|
1274
1288
|
{
|
|
1275
1289
|
return state;
|
|
@@ -1376,6 +1390,12 @@ function closeIO() {
|
|
|
1376
1390
|
type: SET_IO_OFF
|
|
1377
1391
|
};
|
|
1378
1392
|
}
|
|
1393
|
+
function setActionStateByKey(payload) {
|
|
1394
|
+
return {
|
|
1395
|
+
type: SET_ACTION_STATE_KEY,
|
|
1396
|
+
payload: payload
|
|
1397
|
+
};
|
|
1398
|
+
}
|
|
1379
1399
|
|
|
1380
1400
|
(function () {
|
|
1381
1401
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -1397,6 +1417,7 @@ function closeIO() {
|
|
|
1397
1417
|
reactHotLoader.register(SET_IO_OFF, "SET_IO_OFF", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/redux/tools/action.js");
|
|
1398
1418
|
reactHotLoader.register(SET_VIEW_MODE, "SET_VIEW_MODE", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/redux/tools/action.js");
|
|
1399
1419
|
reactHotLoader.register(SET_MIP_ACTIVE_TOOL, "SET_MIP_ACTIVE_TOOL", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/redux/tools/action.js");
|
|
1420
|
+
reactHotLoader.register(SET_ACTION_STATE_KEY, "SET_ACTION_STATE_KEY", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/redux/tools/action.js");
|
|
1400
1421
|
reactHotLoader.register(isMobile, "isMobile", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/redux/tools/action.js");
|
|
1401
1422
|
reactHotLoader.register(initialState$1, "initialState", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/redux/tools/action.js");
|
|
1402
1423
|
reactHotLoader.register(setActiveTool, "setActiveTool", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/redux/tools/action.js");
|
|
@@ -1412,6 +1433,7 @@ function closeIO() {
|
|
|
1412
1433
|
reactHotLoader.register(setCentesisPath, "setCentesisPath", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/redux/tools/action.js");
|
|
1413
1434
|
reactHotLoader.register(openIO, "openIO", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/redux/tools/action.js");
|
|
1414
1435
|
reactHotLoader.register(closeIO, "closeIO", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/redux/tools/action.js");
|
|
1436
|
+
reactHotLoader.register(setActionStateByKey, "setActionStateByKey", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/redux/tools/action.js");
|
|
1415
1437
|
reactHotLoader.register(_default$4, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/redux/tools/action.js");
|
|
1416
1438
|
})();
|
|
1417
1439
|
|
|
@@ -14178,6 +14200,10 @@ var ImageProcessorWorkerBase = /*#__PURE__*/function () {
|
|
|
14178
14200
|
throw new InvalidImageException("LoadImage 参数不能为空.");
|
|
14179
14201
|
}
|
|
14180
14202
|
|
|
14203
|
+
if (param.images.length <= 3) {
|
|
14204
|
+
throw new LoadImageException("序列影像数必须多于3张");
|
|
14205
|
+
}
|
|
14206
|
+
|
|
14181
14207
|
if (!ImageProcessorWorkerBase.canImagesProcess(param.images)) {
|
|
14182
14208
|
throw new InvalidImageException("该序列中影像参数不一致[如 宽/高/方位].");
|
|
14183
14209
|
}
|
|
@@ -14186,7 +14212,6 @@ var ImageProcessorWorkerBase = /*#__PURE__*/function () {
|
|
|
14186
14212
|
|
|
14187
14213
|
try {
|
|
14188
14214
|
if (param.images === undefined) throw new LoadImageException("LoadImage 参数不能为空");
|
|
14189
|
-
if (param.images.length <= 3) throw new LoadImageException("序列影像数不能少于3张");
|
|
14190
14215
|
var logger = new RuntimeLogger(this.loadImages.name);
|
|
14191
14216
|
this.init(param);
|
|
14192
14217
|
this.loadImagesInternal(ImageProcessorWorkerBase.converToImageModel(param.images), param);
|
|
@@ -14493,13 +14518,31 @@ var ImageProcessorWorkerBase = /*#__PURE__*/function () {
|
|
|
14493
14518
|
}], [{
|
|
14494
14519
|
key: "canImagesProcess",
|
|
14495
14520
|
value: function canImagesProcess(images) {
|
|
14496
|
-
if (!images || images.length < 3) return false;
|
|
14497
14521
|
var imageModels = ImageProcessorWorkerBase.converToImageModel(images, false);
|
|
14498
14522
|
var firstImage = imageModels[0];
|
|
14499
14523
|
|
|
14500
14524
|
for (var i = 1; i < imageModels.length; i++) {
|
|
14501
14525
|
var checkImage = imageModels[i];
|
|
14502
|
-
|
|
14526
|
+
|
|
14527
|
+
if (!firstImage.imageWidth || !firstImage.imageHeight || !checkImage.imageWidth || !checkImage.imageHeight) {
|
|
14528
|
+
console.log('[vtk - image process check] 宽高缺失');
|
|
14529
|
+
return false;
|
|
14530
|
+
}
|
|
14531
|
+
|
|
14532
|
+
if (!firstImage.orientation || !checkImage.orientation) {
|
|
14533
|
+
console.log('[vtk - image process check] 方位缺失');
|
|
14534
|
+
return false;
|
|
14535
|
+
}
|
|
14536
|
+
|
|
14537
|
+
if (firstImage.imageWidth !== checkImage.imageWidth || firstImage.imageHeight !== checkImage.imageHeight) {
|
|
14538
|
+
console.log('[vtk - image process check] 宽高不一致');
|
|
14539
|
+
return false;
|
|
14540
|
+
}
|
|
14541
|
+
|
|
14542
|
+
if (Math.abs(firstImage.orientation[0] - checkImage.orientation[0]) > 0.0001 || Math.abs(firstImage.orientation[1] - checkImage.orientation[1]) > 0.0001 || Math.abs(firstImage.orientation[2] - checkImage.orientation[2]) > 0.0001 || Math.abs(firstImage.orientation[3] - checkImage.orientation[3]) > 0.0001 || Math.abs(firstImage.orientation[4] - checkImage.orientation[4]) > 0.0001 || Math.abs(firstImage.orientation[5] - checkImage.orientation[5]) > 0.0001) {
|
|
14543
|
+
console.log('[vtk - image process check] 方位不一致');
|
|
14544
|
+
return false;
|
|
14545
|
+
}
|
|
14503
14546
|
}
|
|
14504
14547
|
|
|
14505
14548
|
return true;
|
|
@@ -18946,6 +18989,20 @@ var MipActionParameterImpl = /*#__PURE__*/function (_ActionParameter) {
|
|
|
18946
18989
|
direction: _default$q.Posterior
|
|
18947
18990
|
});
|
|
18948
18991
|
}
|
|
18992
|
+
/**
|
|
18993
|
+
* 旋转角度
|
|
18994
|
+
* 1.direction 水平 / 垂直
|
|
18995
|
+
* 2.angle 旋转角度
|
|
18996
|
+
*/
|
|
18997
|
+
|
|
18998
|
+
}, {
|
|
18999
|
+
key: "viewCameraRotate",
|
|
19000
|
+
value: function viewCameraRotate(direction, angle) {
|
|
19001
|
+
Messager.Instance.call(MessagerKeys.MipCameraRotate, this.messageGroupId, {
|
|
19002
|
+
direction: direction,
|
|
19003
|
+
angle: angle
|
|
19004
|
+
});
|
|
19005
|
+
}
|
|
18949
19006
|
/**
|
|
18950
19007
|
* 【可用】隐藏中心点
|
|
18951
19008
|
*/
|
|
@@ -19465,6 +19522,30 @@ var CameraEyeSightHelper_RALP = /*#__PURE__*/function (_CameraEyeSightHelper) {
|
|
|
19465
19522
|
camera.roll(90);
|
|
19466
19523
|
camera.azimuth(-90);
|
|
19467
19524
|
}
|
|
19525
|
+
/**
|
|
19526
|
+
* 垂直方向旋转
|
|
19527
|
+
*/
|
|
19528
|
+
|
|
19529
|
+
}, {
|
|
19530
|
+
key: "rotateVertical",
|
|
19531
|
+
value: function rotateVertical(camera, angle) {
|
|
19532
|
+
camera.roll(-90.1);
|
|
19533
|
+
camera.azimuth(-90.1);
|
|
19534
|
+
camera.azimuth(angle);
|
|
19535
|
+
camera.roll(90.1);
|
|
19536
|
+
}
|
|
19537
|
+
/**
|
|
19538
|
+
* 水平方向旋转
|
|
19539
|
+
*/
|
|
19540
|
+
|
|
19541
|
+
}, {
|
|
19542
|
+
key: "rotateHorizon",
|
|
19543
|
+
value: function rotateHorizon(camera, angle) {
|
|
19544
|
+
camera.roll(-90.1);
|
|
19545
|
+
camera.azimuth(-90.1);
|
|
19546
|
+
camera.roll(90.1);
|
|
19547
|
+
camera.azimuth(-angle);
|
|
19548
|
+
}
|
|
19468
19549
|
}, {
|
|
19469
19550
|
key: "__reactstandin__regenerateByEval",
|
|
19470
19551
|
// @ts-ignore
|
|
@@ -19584,6 +19665,29 @@ var CameraEyeSightHelper_AHPF = /*#__PURE__*/function (_CameraEyeSightHelper) {
|
|
|
19584
19665
|
camera.azimuth(90);
|
|
19585
19666
|
camera.roll(-180);
|
|
19586
19667
|
}
|
|
19668
|
+
/**
|
|
19669
|
+
* 垂直方向旋转
|
|
19670
|
+
*/
|
|
19671
|
+
|
|
19672
|
+
}, {
|
|
19673
|
+
key: "rotateVertical",
|
|
19674
|
+
value: function rotateVertical(camera, angle) {
|
|
19675
|
+
camera.azimuth(-180.1);
|
|
19676
|
+
camera.roll(90.1);
|
|
19677
|
+
camera.azimuth(angle);
|
|
19678
|
+
camera.roll(90.1);
|
|
19679
|
+
}
|
|
19680
|
+
/**
|
|
19681
|
+
* 水平方向旋转
|
|
19682
|
+
*/
|
|
19683
|
+
|
|
19684
|
+
}, {
|
|
19685
|
+
key: "rotateHorizon",
|
|
19686
|
+
value: function rotateHorizon(camera, angle) {
|
|
19687
|
+
camera.azimuth(-180.1);
|
|
19688
|
+
camera.roll(180.1);
|
|
19689
|
+
camera.azimuth(-angle);
|
|
19690
|
+
}
|
|
19587
19691
|
}, {
|
|
19588
19692
|
key: "__reactstandin__regenerateByEval",
|
|
19589
19693
|
// @ts-ignore
|
|
@@ -19704,6 +19808,30 @@ var CameraEyeSightHelper_RHLF = /*#__PURE__*/function (_CameraEyeSightHelper) {
|
|
|
19704
19808
|
value: function switchToPosterior(camera) {
|
|
19705
19809
|
camera.roll(180);
|
|
19706
19810
|
}
|
|
19811
|
+
/**
|
|
19812
|
+
* 垂直方向旋转
|
|
19813
|
+
*/
|
|
19814
|
+
|
|
19815
|
+
}, {
|
|
19816
|
+
key: "rotateVertical",
|
|
19817
|
+
value: function rotateVertical(camera, angle) {
|
|
19818
|
+
camera.roll(-90.1);
|
|
19819
|
+
camera.azimuth(-90.1);
|
|
19820
|
+
camera.azimuth(angle);
|
|
19821
|
+
camera.roll(-90.1);
|
|
19822
|
+
}
|
|
19823
|
+
/**
|
|
19824
|
+
* 水平方向旋转
|
|
19825
|
+
*/
|
|
19826
|
+
|
|
19827
|
+
}, {
|
|
19828
|
+
key: "rotateHorizon",
|
|
19829
|
+
value: function rotateHorizon(camera, angle) {
|
|
19830
|
+
camera.roll(-90.1);
|
|
19831
|
+
camera.azimuth(-90.1);
|
|
19832
|
+
camera.roll(-90.1);
|
|
19833
|
+
camera.azimuth(-angle);
|
|
19834
|
+
}
|
|
19707
19835
|
}, {
|
|
19708
19836
|
key: "__reactstandin__regenerateByEval",
|
|
19709
19837
|
// @ts-ignore
|
|
@@ -19828,6 +19956,25 @@ var CameraHelper = /*#__PURE__*/function () {
|
|
|
19828
19956
|
if (!func) return;
|
|
19829
19957
|
func.switchTo(direction, camera);
|
|
19830
19958
|
}
|
|
19959
|
+
/**
|
|
19960
|
+
* rotate
|
|
19961
|
+
*/
|
|
19962
|
+
|
|
19963
|
+
}, {
|
|
19964
|
+
key: "rotateTo",
|
|
19965
|
+
value: function rotateTo(camera, direction, angle) {
|
|
19966
|
+
this.resetCameraPosition(camera);
|
|
19967
|
+
|
|
19968
|
+
var func = CameraHelper._eyeSightFuncs.get(this.imageViewDirection);
|
|
19969
|
+
|
|
19970
|
+
if (!func) return;
|
|
19971
|
+
|
|
19972
|
+
if (direction === 'vertical') {
|
|
19973
|
+
func.rotateVertical(camera, angle);
|
|
19974
|
+
} else {
|
|
19975
|
+
func.rotateHorizon(camera, angle);
|
|
19976
|
+
}
|
|
19977
|
+
}
|
|
19831
19978
|
}, {
|
|
19832
19979
|
key: "__reactstandin__regenerateByEval",
|
|
19833
19980
|
// @ts-ignore
|
|
@@ -20840,9 +20987,10 @@ var MipImageProcessorWorkerImpl = /*#__PURE__*/function (_ImageProcessorWorker)
|
|
|
20840
20987
|
Messager.Instance.unregist(_default$1.MessagerKeys.GlobalAddOperationPath, _default$1.MessagerKeys.Empty);
|
|
20841
20988
|
Messager.Instance.unregist(_default$1.MessagerKeys.GlobalRemoveOperationPath, _default$1.MessagerKeys.Empty);
|
|
20842
20989
|
Messager.Instance.unregist(_default$1.MessagerKeys.GlobalClearOperationPath, _default$1.MessagerKeys.Empty);
|
|
20990
|
+
Messager.Instance.unregist(_default$1.MessagerKeys.MipCameraRotate, this.messageGroupId);
|
|
20843
20991
|
this.releaseVTKComponent();
|
|
20844
20992
|
|
|
20845
|
-
case
|
|
20993
|
+
case 23:
|
|
20846
20994
|
case "end":
|
|
20847
20995
|
return _context4.stop();
|
|
20848
20996
|
}
|
|
@@ -21192,6 +21340,20 @@ var MipImageProcessorWorkerImpl = /*#__PURE__*/function (_ImageProcessorWorker)
|
|
|
21192
21340
|
});
|
|
21193
21341
|
/*Messager.Instance.regist(MessagerKeys.MessagerKeys.GlobalClearOperationPath, MessagerKeys.MessagerKeys.Empty,
|
|
21194
21342
|
param => this.clearOperationPath());*/
|
|
21343
|
+
|
|
21344
|
+
Messager.Instance.regist(_default$1.MessagerKeys.MipCameraRotate, this.messageGroupId, function (param) {
|
|
21345
|
+
_this3.cameraHelper.rotateTo(_this3.renderer.getActiveCamera(), param.direction, param.angle);
|
|
21346
|
+
|
|
21347
|
+
if (_this3.orientationMarkerWidget) _this3.orientationMarkerWidget.updateMarkerOrientation();
|
|
21348
|
+
|
|
21349
|
+
if (_this3.renderer) {
|
|
21350
|
+
_this3.renderer.resetCameraClippingRange();
|
|
21351
|
+
|
|
21352
|
+
_this3.renderer.updateLightGeometry();
|
|
21353
|
+
}
|
|
21354
|
+
|
|
21355
|
+
_this3.renderWindow.render();
|
|
21356
|
+
});
|
|
21195
21357
|
}
|
|
21196
21358
|
/**
|
|
21197
21359
|
* 窗宽窗位
|
|
@@ -28833,7 +28995,7 @@ var __signature__$1R = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoa
|
|
|
28833
28995
|
};
|
|
28834
28996
|
var external$p = cornerstoneTools.external;
|
|
28835
28997
|
|
|
28836
|
-
function changeThickness(imageId, value, mpr, type) {
|
|
28998
|
+
function changeThickness(imageId, value, mpr, type, imageProcessType) {
|
|
28837
28999
|
var _imageId$split = imageId.split(':'),
|
|
28838
29000
|
_imageId$split2 = slicedToArray(_imageId$split, 4),
|
|
28839
29001
|
scheme = _imageId$split2[0],
|
|
@@ -28841,7 +29003,7 @@ function changeThickness(imageId, value, mpr, type) {
|
|
|
28841
29003
|
imageOrientationPatient = _imageId$split2[2],
|
|
28842
29004
|
imagePositionPatient = _imageId$split2[3];
|
|
28843
29005
|
|
|
28844
|
-
var mprWorker = _default$s.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
29006
|
+
var mprWorker = _default$s.getWorkerFromCache(seriesNumber, imageProcessType || ImageProcessType.MPR);
|
|
28845
29007
|
|
|
28846
29008
|
var _imageOrientationPatient = mpr || Number(imageOrientationPatient);
|
|
28847
29009
|
|
|
@@ -28867,12 +29029,15 @@ function changeThickness(imageId, value, mpr, type) {
|
|
|
28867
29029
|
lodash$1.forEach(mprElements, function (item) {
|
|
28868
29030
|
var classname = 'cornerstone-mpr-' + item;
|
|
28869
29031
|
var element = document.getElementsByClassName(classname)[0];
|
|
28870
|
-
|
|
29032
|
+
|
|
29033
|
+
if (element) {
|
|
29034
|
+
external$p.cornerstone.updateImage(element, true);
|
|
29035
|
+
}
|
|
28871
29036
|
});
|
|
28872
29037
|
}
|
|
28873
29038
|
}
|
|
28874
29039
|
|
|
28875
|
-
function setThickness(imageId) {
|
|
29040
|
+
function setThickness(imageId, imageProcessType) {
|
|
28876
29041
|
var _imageId$split3 = imageId.split(':'),
|
|
28877
29042
|
_imageId$split4 = slicedToArray(_imageId$split3, 4),
|
|
28878
29043
|
scheme = _imageId$split4[0],
|
|
@@ -28880,8 +29045,11 @@ function setThickness(imageId) {
|
|
|
28880
29045
|
imageOrientationPatient = _imageId$split4[2],
|
|
28881
29046
|
imagePositionPatient = _imageId$split4[3];
|
|
28882
29047
|
|
|
28883
|
-
var mprWorker = _default$s.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
28884
|
-
|
|
29048
|
+
var mprWorker = _default$s.getWorkerFromCache(seriesNumber, imageProcessType || ImageProcessType.MPR);
|
|
29049
|
+
|
|
29050
|
+
if (mprWorker) {
|
|
29051
|
+
return mprWorker.ActionParameter.parameter(imageOrientationPatient).sliceThickness;
|
|
29052
|
+
}
|
|
28885
29053
|
}
|
|
28886
29054
|
|
|
28887
29055
|
(function () {
|
|
@@ -40979,7 +41147,7 @@ var Cine = /*#__PURE__*/function (_Component) {
|
|
|
40979
41147
|
}, /*#__PURE__*/React__default.createElement(Col, {
|
|
40980
41148
|
xs: 2,
|
|
40981
41149
|
className: "paladin-cine-label"
|
|
40982
|
-
}, "\u5E27\
|
|
41150
|
+
}, "\u5E27\u901F"), /*#__PURE__*/React__default.createElement(Col, {
|
|
40983
41151
|
xs: 8,
|
|
40984
41152
|
className: "paladin-cine-input"
|
|
40985
41153
|
}, /*#__PURE__*/React__default.createElement(Input$1, {
|
|
@@ -41991,7 +42159,7 @@ var _default$X = ConnectedVRMode;
|
|
|
41991
42159
|
leaveModule && leaveModule(module);
|
|
41992
42160
|
})();
|
|
41993
42161
|
|
|
41994
|
-
var css_248z$d = ".paladin-tool-go-flatten {\n cursor: pointer;\n font-size: 12px;\n height: 32px;\n text-align: center;\n border-bottom: 1px solid #fff;\n background: #353535;\n position: relative;\n z-index: 999;\n color: #fff;\n}\n.paladin-tool-go-flatten svg {\n width: 7px !important;\n color: #fff;\n}\n.paladin-tool-go-flatten:hover {\n background: #d4d4d4;\n}\n.paladin-tool-go-flatten:hover svg {\n color: #333;\n}\n.paladin-tool-go-line {\n cursor: pointer;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n right: 0;\n margin-top: 6px;\n height: 34px;\n}\n.paladin-tool-go-line .paladin-full-content {\n width: 24px;\n}\n.paladin-tool-go-line svg {\n width: 8px !important;\n color: #fff;\n}\n.paladin-tool-go-line:hover {\n background: #d4d4d4;\n}\n.paladin-tool-go-line:hover svg {\n color: #333;\n}\n.paladin-tool-item {\n background: #fff;\n padding: 5px 0;\n min-width: 160px;\n max-width: 280px;\n}\n.paladin-tool-lg-content {\n border-bottom: 1px solid #5b5b5b;\n}\n.paladin-tool-lg-content .paladin-tool-lg-item {\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n flex: 1;\n border-top: 1px solid #5b5b5b;\n color: #b0b0b0;\n font-size: 12px;\n text-align: center;\n padding: 8px 10px;\n cursor: pointer;\n}\n.paladin-tool-lg-content .paladin-tool-lg-item:last-child {\n border-left: 1px solid #5b5b5b;\n}\n.paladin-tool-lg-content .paladin-tool-lg-item:hover {\n color: #fff;\n}\n.paladin-tool-lg-content .paladin-tool-lg-item-active {\n background: #0d5075;\n color: #fff;\n}\n.paladin-tool-flatten-vertical-wrapper {\n width: 228px;\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.paladin-tool-flatten-vertical-wrapper .paladin-tool-nav-wrapper {\n margin: 6px 2px;\n}\n.paladin-tool-flatten-vertical-wrapper .paladin-tool-nav {\n cursor: pointer;\n font-size: 13px;\n color: #e2e2e2;\n padding: 8px 10px;\n border-top: 1px solid #5b5b5b;\n border-bottom: 1px solid #5b5b5b;\n border-left: 1px solid #5b5b5b;\n}\n.paladin-tool-flatten-vertical-wrapper .paladin-tool-qa {\n cursor: pointer;\n margin-left: 15px;\n color: #e2e2e2;\n}\n.paladin-tool-flatten-vertical-wrapper .paladin-tool-qa svg {\n width: 22px;\n}\n.paladin-tool-flatten-vertical-wrapper .paladin-tool-nav-active {\n color: #c8c8c8;\n background-color: #5b5b5b;\n}\n.paladin-tool-flatten-vertical-wrapper .paladin-tool-space-line {\n border-top: 1px solid gray;\n margin-top: 6px;\n padding-top: 6px;\n}\n.paladin-tool-flatten-hor-wrapper {\n position: relative;\n z-index: 100;\n width: 100%;\n display: flex;\n flex-direction: row;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-flatten-hor-go-line {\n display: flex;\n flex-direction: column;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-flatten-hor-go-line .paladin-flatten-hor-go-line-content {\n width: 24px;\n height: 100%;\n text-align: center;\n line-height: 100%;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-flatten-hor-go-line .paladin-flatten-hor-go-line-content svg {\n width: 10px !important;\n color: #fff;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-flatten-hor-go-line .paladin-flatten-hor-go-line-content:hover {\n background: #d4d4d4;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-flatten-hor-go-line .paladin-flatten-hor-go-line-content:hover svg {\n color: #333;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-tool-nav-wrapper {\n padding: 5px;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-tool-nav {\n cursor: pointer;\n font-size: 13px;\n color: #e2e2e2;\n padding: 8px 10px;\n border: 1px solid #5b5b5b;\n margin-bottom: 5px;\n text-align: center;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-tool-qa {\n cursor: pointer;\n margin: 5px auto;\n color: #e2e2e2;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-tool-qa svg {\n width: 20px;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-tool-nav-active {\n color: #c8c8c8;\n background-color: #5b5b5b;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-tool-lg-item {\n border: 1px solid #5b5b5b;\n}\n.paladin-tool-space-line-3d {\n border-top: 1px solid gray;\n margin-top: 6px;\n}\n.paladin-tool-space-line-mip {\n margin-top: 6px;\n padding-top: 6px;\n}\n.paladin-tool-subtitle {\n font-size: 12px;\n color: gray;\n padding: 4px 2px 3px 2px;\n}\n.paladin-hor-border {\n border-right: 1px solid #666;\n margin-right: 6px;\n}\n.paladin-hor-three-content {\n position: relative;\n padding-left: 13px;\n}\n.paladin-hor-three-content .paladin-hor-three-title {\n position: absolute;\n left: 0;\n top: 2px;\n width: 12px;\n font-size: 12px;\n word-break: break-all;\n color: gray;\n}\n";
|
|
42162
|
+
var css_248z$d = ".paladin-tool-go-flatten {\n cursor: pointer;\n font-size: 12px;\n height: 32px;\n text-align: center;\n border-bottom: 1px solid #fff;\n background: #353535;\n position: relative;\n z-index: 999;\n color: #fff;\n}\n.paladin-tool-go-flatten svg {\n width: 7px !important;\n color: #fff;\n}\n.paladin-tool-go-flatten:hover {\n background: #d4d4d4;\n}\n.paladin-tool-go-flatten:hover svg {\n color: #333;\n}\n.paladin-tool-go-line {\n cursor: pointer;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n right: 0;\n margin-top: 6px;\n height: 34px;\n}\n.paladin-tool-go-line .paladin-full-content {\n width: 24px;\n}\n.paladin-tool-go-line svg {\n width: 8px !important;\n color: #fff;\n}\n.paladin-tool-go-line:hover {\n background: #d4d4d4;\n}\n.paladin-tool-go-line:hover svg {\n color: #333;\n}\n.paladin-tool-item {\n background: #fff;\n padding: 5px 0;\n min-width: 160px;\n max-width: 280px;\n}\n.paladin-tool-lg-content {\n border-bottom: 1px solid #5b5b5b;\n}\n.paladin-tool-lg-content .paladin-tool-lg-item {\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n flex: 1;\n border-top: 1px solid #5b5b5b;\n color: #b0b0b0;\n font-size: 12px;\n text-align: center;\n padding: 8px 10px;\n cursor: pointer;\n}\n.paladin-tool-lg-content .paladin-tool-lg-item:last-child {\n border-left: 1px solid #5b5b5b;\n}\n.paladin-tool-lg-content .paladin-tool-lg-item:hover {\n color: #fff;\n}\n.paladin-tool-lg-content .paladin-tool-lg-item-active {\n background: #0d5075;\n color: #fff;\n}\n.paladin-tool-flatten-vertical-wrapper {\n width: 228px;\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.paladin-tool-flatten-vertical-wrapper .paladin-tool-nav-wrapper {\n margin: 6px 2px;\n}\n.paladin-tool-flatten-vertical-wrapper .paladin-tool-nav {\n cursor: pointer;\n font-size: 13px;\n color: #e2e2e2;\n padding: 8px 10px;\n border-top: 1px solid #5b5b5b;\n border-bottom: 1px solid #5b5b5b;\n border-left: 1px solid #5b5b5b;\n}\n.paladin-tool-flatten-vertical-wrapper .paladin-tool-qa {\n cursor: pointer;\n margin-left: 15px;\n color: #e2e2e2;\n}\n.paladin-tool-flatten-vertical-wrapper .paladin-tool-qa svg {\n width: 22px;\n}\n.paladin-tool-flatten-vertical-wrapper .paladin-tool-nav-active {\n color: #c8c8c8;\n background-color: #5b5b5b;\n}\n.paladin-tool-flatten-vertical-wrapper .paladin-tool-space-line {\n border-top: 1px solid gray;\n margin-top: 6px;\n padding-top: 6px;\n}\n.paladin-tool-flatten-hor-wrapper {\n position: relative;\n z-index: 100;\n width: 100%;\n display: flex;\n flex-direction: row;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-flatten-hor-go-line {\n display: flex;\n flex-direction: column;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-flatten-hor-go-line .paladin-flatten-hor-go-line-content {\n width: 24px;\n height: 100%;\n text-align: center;\n line-height: 100%;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-flatten-hor-go-line .paladin-flatten-hor-go-line-content svg {\n width: 10px !important;\n color: #fff;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-flatten-hor-go-line .paladin-flatten-hor-go-line-content:hover {\n background: #d4d4d4;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-flatten-hor-go-line .paladin-flatten-hor-go-line-content:hover svg {\n color: #333;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-tool-nav-wrapper {\n padding: 5px;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-tool-nav {\n cursor: pointer;\n font-size: 13px;\n color: #e2e2e2;\n padding: 8px 10px;\n border: 1px solid #5b5b5b;\n margin-bottom: 5px;\n text-align: center;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-tool-qa {\n cursor: pointer;\n margin: 5px auto;\n color: #e2e2e2;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-tool-qa svg {\n width: 20px;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-tool-nav-active {\n color: #c8c8c8;\n background-color: #5b5b5b;\n}\n.paladin-tool-flatten-hor-wrapper .paladin-tool-lg-item {\n border: 1px solid #5b5b5b;\n}\n.paladin-tool-space-line-3d {\n border-top: 1px solid gray;\n margin-top: 6px;\n}\n.paladin-tool-space-line-mip {\n margin-top: 6px;\n padding-top: 6px;\n}\n.paladin-tool-subtitle {\n font-size: 12px;\n color: gray;\n padding: 4px 2px 3px 2px;\n}\n.paladin-hor-border {\n border-right: 1px solid #666;\n margin-right: 6px;\n}\n.paladin-hor-three-content {\n position: relative;\n padding-left: 13px;\n}\n.paladin-hor-three-content .paladin-hor-three-title {\n position: absolute;\n left: 0;\n top: 2px;\n width: 12px;\n font-size: 12px;\n word-break: break-all;\n color: gray;\n}\n.paladin-hor-three-content .paladin-hor-three-title-bottom {\n position: absolute;\n top: 2px;\n width: 12px;\n font-size: 12px;\n word-break: break-all;\n color: gray;\n left: 0;\n top: 80px;\n}\n";
|
|
41995
42163
|
styleInject$1(css_248z$d);
|
|
41996
42164
|
|
|
41997
42165
|
(function () {
|
|
@@ -44978,6 +45146,9 @@ var SvgCaretLeft = function SvgCaretLeft(props) {
|
|
|
44978
45146
|
}, props), _ref$1a);
|
|
44979
45147
|
};
|
|
44980
45148
|
|
|
45149
|
+
var css_248z$h = ".paladin-vr-cine {\n min-width: 220px;\n font-size: 14px;\n color: #c0c0c0;\n background: #353535;\n padding-bottom: 8px;\n}\n.paladin-vr-cine .paladin-vr-cine-click {\n cursor: pointer;\n}\n.paladin-vr-cine .paladin-vr-cine-active {\n cursor: pointer;\n background: #0d5075;\n color: #fff;\n}\n.paladin-vr-cine .paladin-vr-cine-active svg {\n fill: #fff;\n}\n.paladin-vr-cine svg {\n width: 12px !important;\n height: 12px !important;\n fill: #c0c0c0;\n}\n.paladin-vr-cine .paladin-vr-cine-row {\n padding: 3px 0;\n width: 100%;\n height: 40px;\n}\n.paladin-vr-cine .paladin-vr-cine-speed {\n padding-left: 12px;\n}\n.paladin-vr-cine .paladin-vr-cine-speed .paladin-cine-label {\n font-size: 12px;\n justify-content: center;\n white-space: nowrap;\n}\n.paladin-vr-cine .paladin-vr-cine-speed .paladin-cine-input {\n justify-content: center;\n align-items: center;\n}\n.paladin-vr-cine .paladin-vr-cine-speed .paladin-cine-input input {\n height: 20px;\n padding: 0;\n width: 80%;\n border-color: #c0c0c0;\n color: #c0c0c0;\n}\n.paladin-vr-cine .paladin-vr-cine-angle {\n font-size: 12px;\n padding-left: 12px;\n padding-right: 5px;\n margin: 5px 0;\n}\n.paladin-vr-cine .paladin-vr-cine-angle .paladin-vr-cine-angle-item {\n border: 1px solid #666;\n margin-left: 5px;\n justify-content: center;\n align-items: center;\n}\n.paladin-vr-cine .paladin-vr-cine-angle .paladin-vr-cine-angle-item-active {\n background: #7f7f7f;\n color: #333;\n}\n";
|
|
45150
|
+
styleInject$1(css_248z$h);
|
|
45151
|
+
|
|
44981
45152
|
(function () {
|
|
44982
45153
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
44983
45154
|
enterModule && enterModule(module);
|
|
@@ -44991,10 +45162,421 @@ var __signature__$2L = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoa
|
|
|
44991
45162
|
return a;
|
|
44992
45163
|
};
|
|
44993
45164
|
|
|
45165
|
+
var Cine$1 = /*#__PURE__*/function (_Component) {
|
|
45166
|
+
inherits(Cine, _Component);
|
|
45167
|
+
|
|
45168
|
+
var _super = _createSuper$14(Cine);
|
|
45169
|
+
|
|
45170
|
+
function Cine(props) {
|
|
45171
|
+
var _this;
|
|
45172
|
+
|
|
45173
|
+
classCallCheck(this, Cine);
|
|
45174
|
+
|
|
45175
|
+
_this = _super.call(this, props);
|
|
45176
|
+
_this.angleOptions = [10, 20, 30, 60, 90];
|
|
45177
|
+
return _this;
|
|
45178
|
+
}
|
|
45179
|
+
|
|
45180
|
+
createClass(Cine, [{
|
|
45181
|
+
key: "componentWillUnmount",
|
|
45182
|
+
value: function componentWillUnmount() {
|
|
45183
|
+
this.props.onRowClick('pause');
|
|
45184
|
+
}
|
|
45185
|
+
}, {
|
|
45186
|
+
key: "render",
|
|
45187
|
+
value: function render() {
|
|
45188
|
+
var _this$props = this.props,
|
|
45189
|
+
onRowClick = _this$props.onRowClick,
|
|
45190
|
+
VRCine = _this$props.VRCine,
|
|
45191
|
+
VRCineAngle = _this$props.VRCineAngle,
|
|
45192
|
+
VRCineFps = _this$props.VRCineFps;
|
|
45193
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
45194
|
+
className: "paladin-vr-cine"
|
|
45195
|
+
}, /*#__PURE__*/React__default.createElement(Row, {
|
|
45196
|
+
className: "paladin-vr-cine-row"
|
|
45197
|
+
}, /*#__PURE__*/React__default.createElement(Col, {
|
|
45198
|
+
xs: 4,
|
|
45199
|
+
className: VRCine && VRCine === 'horizontal' ? "paladin-flex-center paladin-vr-cine-active" : "paladin-flex-center paladin-vr-cine-click",
|
|
45200
|
+
onClick: function onClick() {
|
|
45201
|
+
onRowClick('startHorizontal');
|
|
45202
|
+
}
|
|
45203
|
+
}, /*#__PURE__*/React__default.createElement("div", null, "\u6C34\u5E73 ", /*#__PURE__*/React__default.createElement(SvgPlay, null))), /*#__PURE__*/React__default.createElement(Col, {
|
|
45204
|
+
xs: 4,
|
|
45205
|
+
className: VRCine && VRCine === 'vertical' ? "paladin-flex-center paladin-vr-cine-active" : "paladin-flex-center paladin-vr-cine-click",
|
|
45206
|
+
onClick: function onClick() {
|
|
45207
|
+
onRowClick('startVertical');
|
|
45208
|
+
}
|
|
45209
|
+
}, /*#__PURE__*/React__default.createElement("div", null, "\u5782\u76F4 ", /*#__PURE__*/React__default.createElement(SvgPlay, null))), /*#__PURE__*/React__default.createElement(Col, {
|
|
45210
|
+
xs: 4,
|
|
45211
|
+
className: "paladin-flex-center paladin-vr-cine-click",
|
|
45212
|
+
onClick: function onClick() {
|
|
45213
|
+
onRowClick('pause');
|
|
45214
|
+
}
|
|
45215
|
+
}, /*#__PURE__*/React__default.createElement(SvgPause, null))), /*#__PURE__*/React__default.createElement(Row, {
|
|
45216
|
+
className: "paladin-vr-cine-speed"
|
|
45217
|
+
}, /*#__PURE__*/React__default.createElement(Col, {
|
|
45218
|
+
xs: 2,
|
|
45219
|
+
className: "paladin-cine-label"
|
|
45220
|
+
}, "\u5E27\u901F"), /*#__PURE__*/React__default.createElement(Col, {
|
|
45221
|
+
xs: 8,
|
|
45222
|
+
className: "paladin-cine-input"
|
|
45223
|
+
}, /*#__PURE__*/React__default.createElement(Input$1, {
|
|
45224
|
+
type: "tel",
|
|
45225
|
+
disabled: true,
|
|
45226
|
+
value: VRCineFps,
|
|
45227
|
+
style: {
|
|
45228
|
+
textAlign: 'center'
|
|
45229
|
+
}
|
|
45230
|
+
})), /*#__PURE__*/React__default.createElement(Col, {
|
|
45231
|
+
xs: 2,
|
|
45232
|
+
className: "paladin-cine-svg"
|
|
45233
|
+
}, /*#__PURE__*/React__default.createElement(Row, {
|
|
45234
|
+
onClick: function onClick() {
|
|
45235
|
+
onRowClick('fpsAdd');
|
|
45236
|
+
}
|
|
45237
|
+
}, /*#__PURE__*/React__default.createElement(PopperBox, {
|
|
45238
|
+
tooltip: "\u52A0\u901F"
|
|
45239
|
+
}, /*#__PURE__*/React__default.createElement(SvgCaretUp, null))), /*#__PURE__*/React__default.createElement(Row, {
|
|
45240
|
+
onClick: function onClick() {
|
|
45241
|
+
onRowClick('fpsMinus');
|
|
45242
|
+
}
|
|
45243
|
+
}, /*#__PURE__*/React__default.createElement(PopperBox, {
|
|
45244
|
+
tooltip: "\u51CF\u901F"
|
|
45245
|
+
}, /*#__PURE__*/React__default.createElement(SvgCaretDown, null))))), /*#__PURE__*/React__default.createElement(Row, {
|
|
45246
|
+
className: "paladin-vr-cine-angle"
|
|
45247
|
+
}, /*#__PURE__*/React__default.createElement(Col, {
|
|
45248
|
+
xs: 2,
|
|
45249
|
+
className: "paladin-cine-label"
|
|
45250
|
+
}, "\u89D2\u5EA6"), this.angleOptions.map(function (angle) {
|
|
45251
|
+
return /*#__PURE__*/React__default.createElement(Col, {
|
|
45252
|
+
xs: 2
|
|
45253
|
+
}, /*#__PURE__*/React__default.createElement(Row, {
|
|
45254
|
+
className: VRCineAngle && VRCineAngle === angle ? "paladin-vr-cine-angle-item paladin-vr-cine-angle-item-active" : "paladin-vr-cine-angle-item",
|
|
45255
|
+
onClick: function onClick() {
|
|
45256
|
+
onRowClick('angle', angle);
|
|
45257
|
+
}
|
|
45258
|
+
}, angle));
|
|
45259
|
+
})));
|
|
45260
|
+
}
|
|
45261
|
+
}, {
|
|
45262
|
+
key: "__reactstandin__regenerateByEval",
|
|
45263
|
+
// @ts-ignore
|
|
45264
|
+
value: function __reactstandin__regenerateByEval(key, code) {
|
|
45265
|
+
// @ts-ignore
|
|
45266
|
+
this[key] = eval(code);
|
|
45267
|
+
}
|
|
45268
|
+
}]);
|
|
45269
|
+
|
|
45270
|
+
return Cine;
|
|
45271
|
+
}(React.Component);
|
|
45272
|
+
|
|
45273
|
+
(function () {
|
|
45274
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
45275
|
+
|
|
45276
|
+
if (!reactHotLoader) {
|
|
45277
|
+
return;
|
|
45278
|
+
}
|
|
45279
|
+
|
|
45280
|
+
reactHotLoader.register(Cine$1, "Cine", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/components/VRCine/index.js");
|
|
45281
|
+
})();
|
|
45282
|
+
|
|
45283
|
+
(function () {
|
|
45284
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
45285
|
+
leaveModule && leaveModule(module);
|
|
45286
|
+
})();
|
|
45287
|
+
|
|
45288
|
+
(function () {
|
|
45289
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
45290
|
+
enterModule && enterModule(module);
|
|
45291
|
+
})();
|
|
45292
|
+
|
|
45293
|
+
var __signature__$2M = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
45294
|
+
return a;
|
|
45295
|
+
};
|
|
45296
|
+
/**
|
|
45297
|
+
* 相机自动旋转
|
|
45298
|
+
* - 水平方向 / 垂直方向 / 停止
|
|
45299
|
+
* - fps 帧率
|
|
45300
|
+
* - 单次旋转角度
|
|
45301
|
+
*/
|
|
45302
|
+
|
|
45303
|
+
var fps = 3;
|
|
45304
|
+
var everyAngle = 20;
|
|
45305
|
+
var angle = 0;
|
|
45306
|
+
var vrTimer;
|
|
45307
|
+
var startCameraAutoPlay = /*#__PURE__*/function () {
|
|
45308
|
+
var _ref = asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(direction, seriesInstanceUID, options) {
|
|
45309
|
+
var worker, timeStamp;
|
|
45310
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
45311
|
+
while (1) {
|
|
45312
|
+
switch (_context.prev = _context.next) {
|
|
45313
|
+
case 0:
|
|
45314
|
+
stopCameraAutoPlay();
|
|
45315
|
+
_context.next = 3;
|
|
45316
|
+
return _default$s.getWorkerFromCache(seriesInstanceUID, ImageProcessType.MIP);
|
|
45317
|
+
|
|
45318
|
+
case 3:
|
|
45319
|
+
worker = _context.sent;
|
|
45320
|
+
|
|
45321
|
+
if (worker) {
|
|
45322
|
+
_context.next = 6;
|
|
45323
|
+
break;
|
|
45324
|
+
}
|
|
45325
|
+
|
|
45326
|
+
return _context.abrupt("return");
|
|
45327
|
+
|
|
45328
|
+
case 6:
|
|
45329
|
+
// 配置
|
|
45330
|
+
if (options && options.fps && lodash$1.isNumber(options.fps)) fps = options.fps;
|
|
45331
|
+
if (options && options.angle && lodash$1.isNumber(options.angle)) everyAngle = options.angle; // 定时器
|
|
45332
|
+
|
|
45333
|
+
timeStamp = parseInt(1000 / (fps || 3), 10);
|
|
45334
|
+
vrTimer = setInterval(function () {
|
|
45335
|
+
angle += everyAngle;
|
|
45336
|
+
|
|
45337
|
+
if (angle > 360) {
|
|
45338
|
+
angle = angle - 360;
|
|
45339
|
+
}
|
|
45340
|
+
|
|
45341
|
+
if (direction === 'vertical') {
|
|
45342
|
+
worker.ActionParameter.viewCameraRotate('vertical', angle);
|
|
45343
|
+
} else {
|
|
45344
|
+
worker.ActionParameter.viewCameraRotate('horizontal', angle);
|
|
45345
|
+
}
|
|
45346
|
+
}, timeStamp);
|
|
45347
|
+
|
|
45348
|
+
case 10:
|
|
45349
|
+
case "end":
|
|
45350
|
+
return _context.stop();
|
|
45351
|
+
}
|
|
45352
|
+
}
|
|
45353
|
+
}, _callee);
|
|
45354
|
+
}));
|
|
45355
|
+
|
|
45356
|
+
return function startCameraAutoPlay(_x, _x2, _x3) {
|
|
45357
|
+
return _ref.apply(this, arguments);
|
|
45358
|
+
};
|
|
45359
|
+
}();
|
|
45360
|
+
var stopCameraAutoPlay = function stopCameraAutoPlay() {
|
|
45361
|
+
if (vrTimer) {
|
|
45362
|
+
clearInterval(vrTimer);
|
|
45363
|
+
angle = 0;
|
|
45364
|
+
vrTimer = null;
|
|
45365
|
+
}
|
|
45366
|
+
};
|
|
45367
|
+
|
|
45368
|
+
(function () {
|
|
45369
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
45370
|
+
|
|
45371
|
+
if (!reactHotLoader) {
|
|
45372
|
+
return;
|
|
45373
|
+
}
|
|
45374
|
+
|
|
45375
|
+
reactHotLoader.register(fps, "fps", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-vtk/Utility/CameraAutoPlay.js");
|
|
45376
|
+
reactHotLoader.register(everyAngle, "everyAngle", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-vtk/Utility/CameraAutoPlay.js");
|
|
45377
|
+
reactHotLoader.register(angle, "angle", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-vtk/Utility/CameraAutoPlay.js");
|
|
45378
|
+
reactHotLoader.register(vrTimer, "vrTimer", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-vtk/Utility/CameraAutoPlay.js");
|
|
45379
|
+
reactHotLoader.register(startCameraAutoPlay, "startCameraAutoPlay", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-vtk/Utility/CameraAutoPlay.js");
|
|
45380
|
+
reactHotLoader.register(stopCameraAutoPlay, "stopCameraAutoPlay", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-vtk/Utility/CameraAutoPlay.js");
|
|
45381
|
+
})();
|
|
45382
|
+
|
|
45383
|
+
(function () {
|
|
45384
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
45385
|
+
leaveModule && leaveModule(module);
|
|
45386
|
+
})();
|
|
45387
|
+
|
|
45388
|
+
(function () {
|
|
45389
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
45390
|
+
enterModule && enterModule(module);
|
|
45391
|
+
})();
|
|
45392
|
+
|
|
45393
|
+
function ownKeys$v(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; }
|
|
45394
|
+
|
|
45395
|
+
function _objectSpread$w(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$v(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$v(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
45396
|
+
|
|
45397
|
+
var __signature__$2N = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
45398
|
+
return a;
|
|
45399
|
+
};
|
|
45400
|
+
|
|
45401
|
+
var mapStateToProps$b = function mapStateToProps(state) {
|
|
45402
|
+
var currentSeries = state.paladin.viewport.currentSeries;
|
|
45403
|
+
var _state$paladin$tools$ = state.paladin.tools.action,
|
|
45404
|
+
VRCineFps = _state$paladin$tools$.VRCineFps,
|
|
45405
|
+
VRCineAngle = _state$paladin$tools$.VRCineAngle,
|
|
45406
|
+
VRCine = _state$paladin$tools$.VRCine;
|
|
45407
|
+
return {
|
|
45408
|
+
currentSeries: currentSeries,
|
|
45409
|
+
VRCineFps: VRCineFps,
|
|
45410
|
+
VRCineAngle: VRCineAngle,
|
|
45411
|
+
VRCine: VRCine
|
|
45412
|
+
};
|
|
45413
|
+
};
|
|
45414
|
+
|
|
45415
|
+
var mergeProps$b = function mergeProps(propsFromState, propsFromDispatch, ownProps) {
|
|
45416
|
+
var currentSeries = propsFromState.currentSeries,
|
|
45417
|
+
VRCineFps = propsFromState.VRCineFps,
|
|
45418
|
+
VRCineAngle = propsFromState.VRCineAngle,
|
|
45419
|
+
VRCine = propsFromState.VRCine;
|
|
45420
|
+
var setActionStateByKey = propsFromDispatch.setActionStateByKey;
|
|
45421
|
+
var seriesInstanceUID = currentSeries.seriesInstanceUID;
|
|
45422
|
+
|
|
45423
|
+
var startVertical = function startVertical() {
|
|
45424
|
+
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
45425
|
+
angle = _ref.angle,
|
|
45426
|
+
fps = _ref.fps;
|
|
45427
|
+
|
|
45428
|
+
startCameraAutoPlay('vertical', seriesInstanceUID, {
|
|
45429
|
+
fps: fps || VRCineFps,
|
|
45430
|
+
angle: angle || VRCineAngle
|
|
45431
|
+
});
|
|
45432
|
+
};
|
|
45433
|
+
|
|
45434
|
+
var startHorizontal = function startHorizontal() {
|
|
45435
|
+
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
45436
|
+
angle = _ref2.angle,
|
|
45437
|
+
fps = _ref2.fps;
|
|
45438
|
+
|
|
45439
|
+
startCameraAutoPlay('horizontal', seriesInstanceUID, {
|
|
45440
|
+
fps: fps || VRCineFps,
|
|
45441
|
+
angle: angle || VRCineAngle
|
|
45442
|
+
});
|
|
45443
|
+
};
|
|
45444
|
+
|
|
45445
|
+
var restart = function restart(options) {
|
|
45446
|
+
if (VRCine && VRCine === 'vertical') {
|
|
45447
|
+
startVertical(options);
|
|
45448
|
+
}
|
|
45449
|
+
|
|
45450
|
+
if (VRCine && VRCine === 'horizontal') {
|
|
45451
|
+
startHorizontal(options);
|
|
45452
|
+
}
|
|
45453
|
+
};
|
|
45454
|
+
|
|
45455
|
+
return _objectSpread$w(_objectSpread$w(_objectSpread$w({}, ownProps), propsFromState), {}, {
|
|
45456
|
+
onRowClick: function onRowClick(key, value) {
|
|
45457
|
+
switch (key) {
|
|
45458
|
+
case 'startHorizontal':
|
|
45459
|
+
if (VRCine && VRCine === 'horizontal') {
|
|
45460
|
+
stopCameraAutoPlay();
|
|
45461
|
+
setActionStateByKey({
|
|
45462
|
+
key: 'VRCine',
|
|
45463
|
+
value: null
|
|
45464
|
+
});
|
|
45465
|
+
} else {
|
|
45466
|
+
startHorizontal();
|
|
45467
|
+
setActionStateByKey({
|
|
45468
|
+
key: 'VRCine',
|
|
45469
|
+
value: 'horizontal'
|
|
45470
|
+
});
|
|
45471
|
+
}
|
|
45472
|
+
|
|
45473
|
+
break;
|
|
45474
|
+
|
|
45475
|
+
case 'startVertical':
|
|
45476
|
+
if (VRCine && VRCine === 'vertical') {
|
|
45477
|
+
stopCameraAutoPlay();
|
|
45478
|
+
setActionStateByKey({
|
|
45479
|
+
key: 'VRCine',
|
|
45480
|
+
value: null
|
|
45481
|
+
});
|
|
45482
|
+
} else {
|
|
45483
|
+
startVertical();
|
|
45484
|
+
setActionStateByKey({
|
|
45485
|
+
key: 'VRCine',
|
|
45486
|
+
value: 'vertical'
|
|
45487
|
+
});
|
|
45488
|
+
}
|
|
45489
|
+
|
|
45490
|
+
break;
|
|
45491
|
+
|
|
45492
|
+
case 'pause':
|
|
45493
|
+
stopCameraAutoPlay();
|
|
45494
|
+
setActionStateByKey({
|
|
45495
|
+
key: 'VRCine',
|
|
45496
|
+
value: null
|
|
45497
|
+
});
|
|
45498
|
+
break;
|
|
45499
|
+
|
|
45500
|
+
case 'fpsAdd':
|
|
45501
|
+
var fps = VRCineFps < 10 ? VRCineFps + 1 : 10;
|
|
45502
|
+
setActionStateByKey({
|
|
45503
|
+
key: 'VRCineFps',
|
|
45504
|
+
value: fps
|
|
45505
|
+
});
|
|
45506
|
+
restart({
|
|
45507
|
+
fps: fps
|
|
45508
|
+
});
|
|
45509
|
+
break;
|
|
45510
|
+
|
|
45511
|
+
case 'fpsMinus':
|
|
45512
|
+
var _fps = VRCineFps > 1 ? VRCineFps - 1 : 1;
|
|
45513
|
+
|
|
45514
|
+
setActionStateByKey({
|
|
45515
|
+
key: 'VRCineFps',
|
|
45516
|
+
value: _fps
|
|
45517
|
+
});
|
|
45518
|
+
restart({
|
|
45519
|
+
fps: _fps
|
|
45520
|
+
});
|
|
45521
|
+
break;
|
|
45522
|
+
|
|
45523
|
+
case 'angle':
|
|
45524
|
+
setActionStateByKey({
|
|
45525
|
+
key: 'VRCineAngle',
|
|
45526
|
+
value: value
|
|
45527
|
+
});
|
|
45528
|
+
restart({
|
|
45529
|
+
angle: value
|
|
45530
|
+
});
|
|
45531
|
+
break;
|
|
45532
|
+
|
|
45533
|
+
default:
|
|
45534
|
+
return;
|
|
45535
|
+
}
|
|
45536
|
+
}
|
|
45537
|
+
});
|
|
45538
|
+
};
|
|
45539
|
+
|
|
45540
|
+
var ConnectedVRCine = reactRedux.connect(mapStateToProps$b, {
|
|
45541
|
+
setActionStateByKey: setActionStateByKey
|
|
45542
|
+
}, mergeProps$b)(Cine$1);
|
|
45543
|
+
var _default$Y = ConnectedVRCine;
|
|
45544
|
+
|
|
45545
|
+
(function () {
|
|
45546
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
45547
|
+
|
|
45548
|
+
if (!reactHotLoader) {
|
|
45549
|
+
return;
|
|
45550
|
+
}
|
|
45551
|
+
|
|
45552
|
+
reactHotLoader.register(mapStateToProps$b, "mapStateToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/components/VRCine/ConnectedVRCine.js");
|
|
45553
|
+
reactHotLoader.register(mergeProps$b, "mergeProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/components/VRCine/ConnectedVRCine.js");
|
|
45554
|
+
reactHotLoader.register(ConnectedVRCine, "ConnectedVRCine", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/components/VRCine/ConnectedVRCine.js");
|
|
45555
|
+
reactHotLoader.register(_default$Y, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/components/VRCine/ConnectedVRCine.js");
|
|
45556
|
+
})();
|
|
45557
|
+
|
|
45558
|
+
(function () {
|
|
45559
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
45560
|
+
leaveModule && leaveModule(module);
|
|
45561
|
+
})();
|
|
45562
|
+
|
|
45563
|
+
(function () {
|
|
45564
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
45565
|
+
enterModule && enterModule(module);
|
|
45566
|
+
})();
|
|
45567
|
+
|
|
45568
|
+
function _createSuper$15(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$15(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
45569
|
+
|
|
45570
|
+
function _isNativeReflectConstruct$15() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
45571
|
+
|
|
45572
|
+
var __signature__$2O = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
45573
|
+
return a;
|
|
45574
|
+
};
|
|
45575
|
+
|
|
44994
45576
|
var DicomToolFlattenMode = /*#__PURE__*/function (_Component) {
|
|
44995
45577
|
inherits(DicomToolFlattenMode, _Component);
|
|
44996
45578
|
|
|
44997
|
-
var _super = _createSuper$
|
|
45579
|
+
var _super = _createSuper$15(DicomToolFlattenMode);
|
|
44998
45580
|
|
|
44999
45581
|
function DicomToolFlattenMode(props) {
|
|
45000
45582
|
var _this;
|
|
@@ -45124,35 +45706,35 @@ var DicomToolFlattenMode = /*#__PURE__*/function (_Component) {
|
|
|
45124
45706
|
onClick: function onClick(e) {
|
|
45125
45707
|
e.stopPropagation();
|
|
45126
45708
|
|
|
45127
|
-
if (!
|
|
45709
|
+
if (!VR) {
|
|
45128
45710
|
if (isThree) {
|
|
45129
45711
|
exit3D();
|
|
45130
45712
|
}
|
|
45131
45713
|
|
|
45132
|
-
start3D('
|
|
45714
|
+
start3D('VR');
|
|
45133
45715
|
}
|
|
45134
45716
|
},
|
|
45135
|
-
className:
|
|
45717
|
+
className: VR ? 'paladin-tool-nav paladin-tool-nav-active' : 'paladin-tool-nav',
|
|
45136
45718
|
style: {
|
|
45137
45719
|
borderRight: '1px solid #5b5b5b'
|
|
45138
45720
|
}
|
|
45139
|
-
}, "
|
|
45721
|
+
}, "VR"), IODisconnect && /*#__PURE__*/React__default.createElement("div", {
|
|
45140
45722
|
onClick: function onClick(e) {
|
|
45141
45723
|
e.stopPropagation();
|
|
45142
45724
|
|
|
45143
|
-
if (!
|
|
45725
|
+
if (!MIP) {
|
|
45144
45726
|
if (isThree) {
|
|
45145
45727
|
exit3D();
|
|
45146
45728
|
}
|
|
45147
45729
|
|
|
45148
|
-
start3D('
|
|
45730
|
+
start3D('MIP');
|
|
45149
45731
|
}
|
|
45150
45732
|
},
|
|
45151
|
-
className:
|
|
45733
|
+
className: MIP ? 'paladin-tool-nav paladin-tool-nav-active' : 'paladin-tool-nav',
|
|
45152
45734
|
style: {
|
|
45153
45735
|
borderRight: '1px solid #5b5b5b'
|
|
45154
45736
|
}
|
|
45155
|
-
}, "
|
|
45737
|
+
}, "MIP")), showBaseTools && /*#__PURE__*/React__default.createElement("div", {
|
|
45156
45738
|
className: "paladin-flex-row"
|
|
45157
45739
|
}, commonTools && commonTools.map(function (item, i) {
|
|
45158
45740
|
return /*#__PURE__*/React__default.createElement(DicomToolItemPlus, _extends_1({}, _this2.props, {
|
|
@@ -45213,7 +45795,9 @@ var DicomToolFlattenMode = /*#__PURE__*/function (_Component) {
|
|
|
45213
45795
|
key: "tool-mip2-".concat(i),
|
|
45214
45796
|
data: toolsMap[item]
|
|
45215
45797
|
}));
|
|
45216
|
-
}))
|
|
45798
|
+
})), /*#__PURE__*/React__default.createElement("div", {
|
|
45799
|
+
className: "paladin-tool-subtitle"
|
|
45800
|
+
}, "\u64AD\u653E"), /*#__PURE__*/React__default.createElement(_default$Y, null))), /*#__PURE__*/React__default.createElement("div", {
|
|
45217
45801
|
className: "paladin-tool-lg-content"
|
|
45218
45802
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
45219
45803
|
className: "paladin-flex-row"
|
|
@@ -45328,18 +45912,18 @@ var LargeToolItem = function LargeToolItem(props) {
|
|
|
45328
45912
|
enterModule && enterModule(module);
|
|
45329
45913
|
})();
|
|
45330
45914
|
|
|
45331
|
-
function _createSuper$
|
|
45915
|
+
function _createSuper$16(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$16(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
45332
45916
|
|
|
45333
|
-
function _isNativeReflectConstruct$
|
|
45917
|
+
function _isNativeReflectConstruct$16() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
45334
45918
|
|
|
45335
|
-
var __signature__$
|
|
45919
|
+
var __signature__$2P = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
45336
45920
|
return a;
|
|
45337
45921
|
};
|
|
45338
45922
|
|
|
45339
45923
|
var DicomToolFlattenMode$1 = /*#__PURE__*/function (_Component) {
|
|
45340
45924
|
inherits(DicomToolFlattenMode, _Component);
|
|
45341
45925
|
|
|
45342
|
-
var _super = _createSuper$
|
|
45926
|
+
var _super = _createSuper$16(DicomToolFlattenMode);
|
|
45343
45927
|
|
|
45344
45928
|
function DicomToolFlattenMode(props) {
|
|
45345
45929
|
var _this;
|
|
@@ -45462,32 +46046,32 @@ var DicomToolFlattenMode$1 = /*#__PURE__*/function (_Component) {
|
|
|
45462
46046
|
onClick: function onClick(e) {
|
|
45463
46047
|
e.stopPropagation();
|
|
45464
46048
|
|
|
45465
|
-
if (!
|
|
46049
|
+
if (!VR) {
|
|
45466
46050
|
if (isThree) {
|
|
45467
46051
|
exit3D();
|
|
45468
46052
|
}
|
|
45469
46053
|
|
|
45470
|
-
start3D('
|
|
46054
|
+
start3D('VR');
|
|
45471
46055
|
}
|
|
45472
46056
|
},
|
|
45473
|
-
className:
|
|
45474
|
-
|
|
45475
|
-
borderRight: '1px solid #5b5b5b'
|
|
45476
|
-
}
|
|
45477
|
-
}, "MIP"), IODisconnect && /*#__PURE__*/React__default.createElement("div", {
|
|
46057
|
+
className: VR ? 'paladin-tool-nav paladin-tool-nav-active' : 'paladin-tool-nav'
|
|
46058
|
+
}, "VR"), IODisconnect && /*#__PURE__*/React__default.createElement("div", {
|
|
45478
46059
|
onClick: function onClick(e) {
|
|
45479
46060
|
e.stopPropagation();
|
|
45480
46061
|
|
|
45481
|
-
if (!
|
|
46062
|
+
if (!MIP) {
|
|
45482
46063
|
if (isThree) {
|
|
45483
46064
|
exit3D();
|
|
45484
46065
|
}
|
|
45485
46066
|
|
|
45486
|
-
start3D('
|
|
46067
|
+
start3D('MIP');
|
|
45487
46068
|
}
|
|
45488
46069
|
},
|
|
45489
|
-
className:
|
|
45490
|
-
|
|
46070
|
+
className: MIP ? 'paladin-tool-nav paladin-tool-nav-active' : 'paladin-tool-nav',
|
|
46071
|
+
style: {
|
|
46072
|
+
borderRight: '1px solid #5b5b5b'
|
|
46073
|
+
}
|
|
46074
|
+
}, "MIP")), showBaseTools && /*#__PURE__*/React__default.createElement("div", {
|
|
45491
46075
|
className: "paladin-flex-col paladin-flex-1 paladin-hor-border",
|
|
45492
46076
|
style: {
|
|
45493
46077
|
flex: MPR ? 3 : 2
|
|
@@ -45574,7 +46158,9 @@ var DicomToolFlattenMode$1 = /*#__PURE__*/function (_Component) {
|
|
|
45574
46158
|
key: "tool-mip2-".concat(i),
|
|
45575
46159
|
data: toolsMap[item]
|
|
45576
46160
|
}));
|
|
45577
|
-
}))
|
|
46161
|
+
})), /*#__PURE__*/React__default.createElement("div", {
|
|
46162
|
+
className: "paladin-hor-three-title-bottom"
|
|
46163
|
+
}, "\u64AD\u653E"), /*#__PURE__*/React__default.createElement(_default$Y, null)), /*#__PURE__*/React__default.createElement("div", {
|
|
45578
46164
|
className: "paladin-flex-col paladin-flex-1 paladin-tool-lg-content",
|
|
45579
46165
|
style: {
|
|
45580
46166
|
flex: 2
|
|
@@ -45695,18 +46281,18 @@ var LargeToolItem$1 = function LargeToolItem(props) {
|
|
|
45695
46281
|
enterModule && enterModule(module);
|
|
45696
46282
|
})();
|
|
45697
46283
|
|
|
45698
|
-
function _createSuper$
|
|
46284
|
+
function _createSuper$17(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$17(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
45699
46285
|
|
|
45700
|
-
function _isNativeReflectConstruct$
|
|
46286
|
+
function _isNativeReflectConstruct$17() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
45701
46287
|
|
|
45702
|
-
var __signature__$
|
|
46288
|
+
var __signature__$2Q = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
45703
46289
|
return a;
|
|
45704
46290
|
};
|
|
45705
46291
|
|
|
45706
46292
|
var VRClip = /*#__PURE__*/function (_Component) {
|
|
45707
46293
|
inherits(VRClip, _Component);
|
|
45708
46294
|
|
|
45709
|
-
var _super = _createSuper$
|
|
46295
|
+
var _super = _createSuper$17(VRClip);
|
|
45710
46296
|
|
|
45711
46297
|
function VRClip(props) {
|
|
45712
46298
|
classCallCheck(this, VRClip);
|
|
@@ -45765,24 +46351,24 @@ var VRClip = /*#__PURE__*/function (_Component) {
|
|
|
45765
46351
|
enterModule && enterModule(module);
|
|
45766
46352
|
})();
|
|
45767
46353
|
|
|
45768
|
-
function ownKeys$
|
|
46354
|
+
function ownKeys$w(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; }
|
|
45769
46355
|
|
|
45770
|
-
function _objectSpread$
|
|
46356
|
+
function _objectSpread$x(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$w(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$w(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
45771
46357
|
|
|
45772
|
-
var __signature__$
|
|
46358
|
+
var __signature__$2R = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
45773
46359
|
return a;
|
|
45774
46360
|
};
|
|
45775
46361
|
|
|
45776
|
-
var mapStateToProps$
|
|
46362
|
+
var mapStateToProps$c = function mapStateToProps(state) {
|
|
45777
46363
|
var currentSeries = state.paladin.viewport.currentSeries;
|
|
45778
46364
|
return {
|
|
45779
46365
|
currentSeries: currentSeries
|
|
45780
46366
|
};
|
|
45781
46367
|
};
|
|
45782
46368
|
|
|
45783
|
-
var mergeProps$
|
|
46369
|
+
var mergeProps$c = function mergeProps(propsFromState, propsFromDispatch, ownProps) {
|
|
45784
46370
|
var currentSeries = propsFromState.currentSeries;
|
|
45785
|
-
return _objectSpread$
|
|
46371
|
+
return _objectSpread$x({
|
|
45786
46372
|
onRowClick: function () {
|
|
45787
46373
|
var _onRowClick = asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(key) {
|
|
45788
46374
|
var vrWorker;
|
|
@@ -45836,8 +46422,8 @@ var mergeProps$b = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
45836
46422
|
}, ownProps);
|
|
45837
46423
|
};
|
|
45838
46424
|
|
|
45839
|
-
var ConnectedVRClip = reactRedux.connect(mapStateToProps$
|
|
45840
|
-
var _default$
|
|
46425
|
+
var ConnectedVRClip = reactRedux.connect(mapStateToProps$c, {}, mergeProps$c)(VRClip);
|
|
46426
|
+
var _default$Z = ConnectedVRClip;
|
|
45841
46427
|
|
|
45842
46428
|
(function () {
|
|
45843
46429
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -45846,10 +46432,10 @@ var _default$Y = ConnectedVRClip;
|
|
|
45846
46432
|
return;
|
|
45847
46433
|
}
|
|
45848
46434
|
|
|
45849
|
-
reactHotLoader.register(mapStateToProps$
|
|
45850
|
-
reactHotLoader.register(mergeProps$
|
|
46435
|
+
reactHotLoader.register(mapStateToProps$c, "mapStateToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/components/VRClip/ConnectedVRClip.js");
|
|
46436
|
+
reactHotLoader.register(mergeProps$c, "mergeProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/components/VRClip/ConnectedVRClip.js");
|
|
45851
46437
|
reactHotLoader.register(ConnectedVRClip, "ConnectedVRClip", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/components/VRClip/ConnectedVRClip.js");
|
|
45852
|
-
reactHotLoader.register(_default$
|
|
46438
|
+
reactHotLoader.register(_default$Z, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/components/VRClip/ConnectedVRClip.js");
|
|
45853
46439
|
})();
|
|
45854
46440
|
|
|
45855
46441
|
(function () {
|
|
@@ -45862,18 +46448,18 @@ var _default$Y = ConnectedVRClip;
|
|
|
45862
46448
|
enterModule && enterModule(module);
|
|
45863
46449
|
})();
|
|
45864
46450
|
|
|
45865
|
-
function _createSuper$
|
|
46451
|
+
function _createSuper$18(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$18(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
45866
46452
|
|
|
45867
|
-
function _isNativeReflectConstruct$
|
|
46453
|
+
function _isNativeReflectConstruct$18() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
45868
46454
|
|
|
45869
|
-
var __signature__$
|
|
46455
|
+
var __signature__$2S = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
45870
46456
|
return a;
|
|
45871
46457
|
};
|
|
45872
46458
|
|
|
45873
46459
|
var DicomTool = /*#__PURE__*/function (_Component) {
|
|
45874
46460
|
inherits(DicomTool, _Component);
|
|
45875
46461
|
|
|
45876
|
-
var _super = _createSuper$
|
|
46462
|
+
var _super = _createSuper$18(DicomTool);
|
|
45877
46463
|
|
|
45878
46464
|
function DicomTool(props) {
|
|
45879
46465
|
var _this;
|
|
@@ -46218,7 +46804,7 @@ var DicomTool = /*#__PURE__*/function (_Component) {
|
|
|
46218
46804
|
onClick: function onClick() {
|
|
46219
46805
|
_this.props.toggleVRClip();
|
|
46220
46806
|
},
|
|
46221
|
-
moreComponent: _default$
|
|
46807
|
+
moreComponent: _default$Z
|
|
46222
46808
|
},
|
|
46223
46809
|
VRPresentColor: {
|
|
46224
46810
|
label: "预设",
|
|
@@ -46471,6 +47057,13 @@ var DicomTool = /*#__PURE__*/function (_Component) {
|
|
|
46471
47057
|
onClick: function onClick() {
|
|
46472
47058
|
_this.props.handleMipDirectionChange('P');
|
|
46473
47059
|
}
|
|
47060
|
+
},
|
|
47061
|
+
VRCine: {
|
|
47062
|
+
label: "播放",
|
|
47063
|
+
name: "VRCine",
|
|
47064
|
+
tooltip: "自动播放",
|
|
47065
|
+
component: /*#__PURE__*/React__default.createElement(SvgVideo, null),
|
|
47066
|
+
popover: _default$Y
|
|
46474
47067
|
}
|
|
46475
47068
|
};
|
|
46476
47069
|
return _this;
|
|
@@ -46573,19 +47166,23 @@ var DicomTool = /*#__PURE__*/function (_Component) {
|
|
|
46573
47166
|
leaveModule && leaveModule(module);
|
|
46574
47167
|
})();
|
|
46575
47168
|
|
|
46576
|
-
var css_248z$
|
|
46577
|
-
styleInject$1(css_248z$
|
|
47169
|
+
var css_248z$i = ".paladin-three-modal-wrapper {\n font-size: 15px;\n padding: 8px 10px 15px 10px;\n color: #ccc;\n}\n.paladin-three-modal-wrapper .paladin-three-modal-wrapper-btn {\n margin-top: 20px;\n text-align: center;\n}\n";
|
|
47170
|
+
styleInject$1(css_248z$i);
|
|
46578
47171
|
|
|
46579
47172
|
(function () {
|
|
46580
47173
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
46581
47174
|
enterModule && enterModule(module);
|
|
46582
47175
|
})();
|
|
46583
47176
|
|
|
46584
|
-
|
|
47177
|
+
function ownKeys$x(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; }
|
|
47178
|
+
|
|
47179
|
+
function _objectSpread$y(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$x(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$x(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
47180
|
+
|
|
47181
|
+
var __signature__$2T = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46585
47182
|
return a;
|
|
46586
47183
|
};
|
|
46587
47184
|
|
|
46588
|
-
var _default$
|
|
47185
|
+
var _default$_ = function _default(images) {
|
|
46589
47186
|
if (!images) {
|
|
46590
47187
|
return "LoadImage 参数不能为空.";
|
|
46591
47188
|
} // 校验张数
|
|
@@ -46598,35 +47195,48 @@ var _default$Z = function _default(images) {
|
|
|
46598
47195
|
|
|
46599
47196
|
|
|
46600
47197
|
if (images.length <= 3) {
|
|
46601
|
-
return "
|
|
47198
|
+
return "序列影像数必须多于3张";
|
|
46602
47199
|
}
|
|
46603
47200
|
|
|
46604
|
-
|
|
46605
|
-
|
|
47201
|
+
var checkResult = imageProcessCheckError(images);
|
|
47202
|
+
|
|
47203
|
+
if (checkResult) {
|
|
47204
|
+
return _objectSpread$y(_objectSpread$y({}, checkResult), {}, {
|
|
47205
|
+
message: "该序列中影像参数不一致[如 宽/高/方位]."
|
|
47206
|
+
});
|
|
46606
47207
|
}
|
|
46607
47208
|
};
|
|
46608
47209
|
|
|
46609
|
-
function
|
|
46610
|
-
var
|
|
47210
|
+
function imageProcessCheckError(images) {
|
|
47211
|
+
var total = images.length;
|
|
47212
|
+
var centerIndex = lodash$1.floor(total / 2);
|
|
47213
|
+
var firstImage = images[centerIndex];
|
|
47214
|
+
var checkedIndex = [];
|
|
47215
|
+
var failIndex = [];
|
|
46611
47216
|
|
|
46612
|
-
for (var i =
|
|
47217
|
+
for (var i = 0; i < images.length; i++) {
|
|
46613
47218
|
var checkImage = images[i]; // PixelSpacing
|
|
46614
47219
|
|
|
46615
47220
|
if (firstImage.PixelSpacing && checkImage.PixelSpacing) {
|
|
46616
47221
|
if (firstImage.PixelSpacing.value !== checkImage.PixelSpacing.value) {
|
|
46617
|
-
|
|
47222
|
+
failIndex.push(i);
|
|
47223
|
+
continue;
|
|
46618
47224
|
}
|
|
46619
47225
|
}
|
|
46620
47226
|
|
|
46621
47227
|
if (firstImage.ImagerPixelSpacing && checkImage.ImagerPixelSpacing) {
|
|
46622
47228
|
if (firstImage.ImagerPixelSpacing.value !== checkImage.ImagerPixelSpacing.value) {
|
|
46623
|
-
|
|
47229
|
+
failIndex.push(i);
|
|
47230
|
+
continue;
|
|
46624
47231
|
}
|
|
46625
47232
|
} // 宽 高
|
|
46626
47233
|
|
|
46627
47234
|
|
|
46628
|
-
if (
|
|
46629
|
-
|
|
47235
|
+
if (firstImage.Rows && firstImage.Columns && checkImage.Rows && checkImage.Columns) {
|
|
47236
|
+
if (Number(firstImage.Rows.value) !== Number(checkImage.Rows.value) || Number(firstImage.Columns.value) !== Number(checkImage.Columns.value)) {
|
|
47237
|
+
failIndex.push(i);
|
|
47238
|
+
continue;
|
|
47239
|
+
}
|
|
46630
47240
|
} // 方位
|
|
46631
47241
|
|
|
46632
47242
|
|
|
@@ -46636,36 +47246,62 @@ function canImagesProcess(images) {
|
|
|
46636
47246
|
var _orientation = checkImage.ImageOrientationPatient.value.split('\\');
|
|
46637
47247
|
|
|
46638
47248
|
if (Math.abs(orientation[0] - _orientation[0]) > 0.0001 || Math.abs(orientation[1] - _orientation[1]) > 0.0001 || Math.abs(orientation[2] - _orientation[2]) > 0.0001 || Math.abs(orientation[3] - _orientation[3]) > 0.0001 || Math.abs(orientation[4] - _orientation[4]) > 0.0001 || Math.abs(orientation[5] - _orientation[5]) > 0.0001) {
|
|
46639
|
-
|
|
47249
|
+
failIndex.push(i);
|
|
47250
|
+
continue;
|
|
46640
47251
|
}
|
|
46641
47252
|
} // SpacingBetweenSlices
|
|
46642
47253
|
|
|
46643
47254
|
|
|
46644
47255
|
if (firstImage.SpacingBetweenSlices && !checkImage.SpacingBetweenSlices || !firstImage.SpacingBetweenSlices && checkImage.SpacingBetweenSlices) {
|
|
46645
|
-
|
|
47256
|
+
failIndex.push(i);
|
|
47257
|
+
continue;
|
|
46646
47258
|
}
|
|
46647
47259
|
|
|
46648
47260
|
if (firstImage.SpacingBetweenSlices && checkImage.SpacingBetweenSlices) {
|
|
46649
47261
|
if (firstImage.SpacingBetweenSlices.value !== checkImage.SpacingBetweenSlices.value) {
|
|
46650
|
-
|
|
47262
|
+
failIndex.push(i);
|
|
47263
|
+
continue;
|
|
46651
47264
|
}
|
|
46652
47265
|
} // SliceThickness
|
|
46653
47266
|
|
|
46654
47267
|
|
|
46655
47268
|
if (firstImage.SliceThickness && !checkImage.SliceThickness || !firstImage.SliceThickness && checkImage.SliceThickness) {
|
|
46656
|
-
|
|
47269
|
+
failIndex.push(i);
|
|
47270
|
+
continue;
|
|
46657
47271
|
}
|
|
46658
47272
|
|
|
46659
47273
|
if (firstImage.SliceThickness && checkImage.SliceThickness) {
|
|
46660
47274
|
if (firstImage.SliceThickness.value !== checkImage.SliceThickness.value) {
|
|
46661
|
-
|
|
47275
|
+
failIndex.push(i);
|
|
47276
|
+
continue;
|
|
46662
47277
|
}
|
|
46663
47278
|
}
|
|
47279
|
+
|
|
47280
|
+
checkedIndex.push(i);
|
|
46664
47281
|
}
|
|
46665
47282
|
|
|
46666
|
-
|
|
47283
|
+
if (failIndex.length === 0) {
|
|
47284
|
+
return false;
|
|
47285
|
+
} else {
|
|
47286
|
+
return {
|
|
47287
|
+
success: checkedIndex,
|
|
47288
|
+
fail: failIndex
|
|
47289
|
+
};
|
|
47290
|
+
}
|
|
46667
47291
|
}
|
|
46668
47292
|
|
|
47293
|
+
var filterRebuildImages = function filterRebuildImages(images) {
|
|
47294
|
+
var checkResult = imageProcessCheckError(images);
|
|
47295
|
+
|
|
47296
|
+
if (checkResult) {
|
|
47297
|
+
return lodash$1.map(checkResult.success, function (index) {
|
|
47298
|
+
return images[index];
|
|
47299
|
+
});
|
|
47300
|
+
} else {
|
|
47301
|
+
return images;
|
|
47302
|
+
}
|
|
47303
|
+
};
|
|
47304
|
+
|
|
46669
47305
|
(function () {
|
|
46670
47306
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
46671
47307
|
|
|
@@ -46673,8 +47309,9 @@ function canImagesProcess(images) {
|
|
|
46673
47309
|
return;
|
|
46674
47310
|
}
|
|
46675
47311
|
|
|
46676
|
-
reactHotLoader.register(
|
|
46677
|
-
reactHotLoader.register(
|
|
47312
|
+
reactHotLoader.register(imageProcessCheckError, "imageProcessCheckError", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-utils/precheckMPR.js");
|
|
47313
|
+
reactHotLoader.register(filterRebuildImages, "filterRebuildImages", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-utils/precheckMPR.js");
|
|
47314
|
+
reactHotLoader.register(_default$_, "default", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-utils/precheckMPR.js");
|
|
46678
47315
|
})();
|
|
46679
47316
|
|
|
46680
47317
|
(function () {
|
|
@@ -46687,18 +47324,18 @@ function canImagesProcess(images) {
|
|
|
46687
47324
|
enterModule && enterModule(module);
|
|
46688
47325
|
})();
|
|
46689
47326
|
|
|
46690
|
-
function _createSuper$
|
|
47327
|
+
function _createSuper$19(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$19(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
46691
47328
|
|
|
46692
|
-
function _isNativeReflectConstruct$
|
|
47329
|
+
function _isNativeReflectConstruct$19() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
46693
47330
|
|
|
46694
|
-
var __signature__$
|
|
47331
|
+
var __signature__$2U = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46695
47332
|
return a;
|
|
46696
47333
|
};
|
|
46697
47334
|
|
|
46698
47335
|
var ThreeDLoadingModal = /*#__PURE__*/function (_Component) {
|
|
46699
47336
|
inherits(ThreeDLoadingModal, _Component);
|
|
46700
47337
|
|
|
46701
|
-
var _super = _createSuper$
|
|
47338
|
+
var _super = _createSuper$19(ThreeDLoadingModal);
|
|
46702
47339
|
|
|
46703
47340
|
function ThreeDLoadingModal(props) {
|
|
46704
47341
|
var _this;
|
|
@@ -46708,7 +47345,8 @@ var ThreeDLoadingModal = /*#__PURE__*/function (_Component) {
|
|
|
46708
47345
|
_this = _super.call(this, props);
|
|
46709
47346
|
_this.state = {
|
|
46710
47347
|
processingMessage: null,
|
|
46711
|
-
error: false
|
|
47348
|
+
error: false,
|
|
47349
|
+
rebuild: false
|
|
46712
47350
|
};
|
|
46713
47351
|
return _this;
|
|
46714
47352
|
}
|
|
@@ -46763,13 +47401,20 @@ var ThreeDLoadingModal = /*#__PURE__*/function (_Component) {
|
|
|
46763
47401
|
return _context.abrupt("return");
|
|
46764
47402
|
|
|
46765
47403
|
case 18:
|
|
46766
|
-
errorLog = _default$
|
|
47404
|
+
errorLog = _default$_(instanceImages);
|
|
46767
47405
|
|
|
46768
47406
|
if (errorLog) {
|
|
46769
|
-
|
|
46770
|
-
|
|
46771
|
-
|
|
46772
|
-
|
|
47407
|
+
if (typeof errorLog === "string") {
|
|
47408
|
+
this.setState({
|
|
47409
|
+
processingMessage: "\u56FE\u50CF\u52A0\u8F7D\u5931\u8D25: ".concat(errorLog || '未知错误'),
|
|
47410
|
+
error: true
|
|
47411
|
+
});
|
|
47412
|
+
} else {
|
|
47413
|
+
this.setState({
|
|
47414
|
+
processingMessage: "\u68C0\u6D4B\u5230\u8BE5\u5E8F\u5217\u5305\u542B\u4E0D\u540C\u65B9\u4F4D\u4FE1\u606F\u7684\u56FE\u50CF\uFF0C\u662F\u5426\u9700\u8981\u8F6F\u4EF6\u81EA\u52A8\u9009\u62E9\u5176\u4E2D\u7B26\u5408\u6761\u4EF6\u7684\u8FDB\u884C\u91CD\u5EFA\uFF1F",
|
|
47415
|
+
rebuild: true
|
|
47416
|
+
});
|
|
47417
|
+
}
|
|
46773
47418
|
} else {
|
|
46774
47419
|
this.setState({
|
|
46775
47420
|
processingMessage: '图像加载完毕',
|
|
@@ -46798,9 +47443,12 @@ var ThreeDLoadingModal = /*#__PURE__*/function (_Component) {
|
|
|
46798
47443
|
}, {
|
|
46799
47444
|
key: "render",
|
|
46800
47445
|
value: function render() {
|
|
47446
|
+
var _this3 = this;
|
|
47447
|
+
|
|
46801
47448
|
var _this$state = this.state,
|
|
46802
47449
|
processingMessage = _this$state.processingMessage,
|
|
46803
|
-
error = _this$state.error
|
|
47450
|
+
error = _this$state.error,
|
|
47451
|
+
rebuild = _this$state.rebuild;
|
|
46804
47452
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
46805
47453
|
className: "paladin-three-modal-wrapper"
|
|
46806
47454
|
}, processingMessage, error && /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -46810,7 +47458,24 @@ var ThreeDLoadingModal = /*#__PURE__*/function (_Component) {
|
|
|
46810
47458
|
onClick: function onClick() {
|
|
46811
47459
|
_default$K.destroy();
|
|
46812
47460
|
}
|
|
46813
|
-
}, "\u5173\u95ED"))
|
|
47461
|
+
}, "\u5173\u95ED")), rebuild && /*#__PURE__*/React__default.createElement("div", {
|
|
47462
|
+
className: "paladin-three-modal-wrapper-btn"
|
|
47463
|
+
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
47464
|
+
type: "default",
|
|
47465
|
+
style: {
|
|
47466
|
+
marginRight: '10px'
|
|
47467
|
+
},
|
|
47468
|
+
onClick: function onClick() {
|
|
47469
|
+
_default$K.destroy();
|
|
47470
|
+
}
|
|
47471
|
+
}, "\u53D6\u6D88"), /*#__PURE__*/React__default.createElement(Button, {
|
|
47472
|
+
type: "primary",
|
|
47473
|
+
onClick: function onClick() {
|
|
47474
|
+
_default$K.destroy();
|
|
47475
|
+
|
|
47476
|
+
_this3.props.onready();
|
|
47477
|
+
}
|
|
47478
|
+
}, "\u7EE7\u7EED")));
|
|
46814
47479
|
}
|
|
46815
47480
|
}, {
|
|
46816
47481
|
key: "__reactstandin__regenerateByEval",
|
|
@@ -46855,16 +47520,16 @@ function _unsupportedIterableToArray$a(o, minLen) { if (!o) return; if (typeof o
|
|
|
46855
47520
|
|
|
46856
47521
|
function _arrayLikeToArray$a(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
46857
47522
|
|
|
46858
|
-
function ownKeys$
|
|
47523
|
+
function ownKeys$y(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; }
|
|
46859
47524
|
|
|
46860
|
-
function _objectSpread$
|
|
47525
|
+
function _objectSpread$z(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$y(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
46861
47526
|
|
|
46862
|
-
var __signature__$
|
|
47527
|
+
var __signature__$2V = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46863
47528
|
return a;
|
|
46864
47529
|
};
|
|
46865
47530
|
var scrollToIndex$2 = _default$E.importInternal('util/scrollToIndex');
|
|
46866
47531
|
|
|
46867
|
-
var mapStateToProps$
|
|
47532
|
+
var mapStateToProps$d = function mapStateToProps(state) {
|
|
46868
47533
|
var _state$paladin$tools$ = state.paladin.tools.customization,
|
|
46869
47534
|
tools = _state$paladin$tools$.tools,
|
|
46870
47535
|
imageModeTools = _state$paladin$tools$.imageModeTools,
|
|
@@ -47022,7 +47687,7 @@ var mapStateToProps$c = function mapStateToProps(state) {
|
|
|
47022
47687
|
};
|
|
47023
47688
|
};
|
|
47024
47689
|
|
|
47025
|
-
var mergeProps$
|
|
47690
|
+
var mergeProps$d = function mergeProps(propsFromState, propsFromDispatch, ownProps) {
|
|
47026
47691
|
// 数据
|
|
47027
47692
|
var series = propsFromState.series,
|
|
47028
47693
|
activeIndex = propsFromState.activeIndex,
|
|
@@ -47046,7 +47711,7 @@ var mergeProps$c = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
47046
47711
|
Surgery = propsFromState.Surgery,
|
|
47047
47712
|
MIP = propsFromState.MIP;
|
|
47048
47713
|
var maxIndex = currentSeries.imageIds.length - 1;
|
|
47049
|
-
return _objectSpread$
|
|
47714
|
+
return _objectSpread$z(_objectSpread$z(_objectSpread$z(_objectSpread$z({}, ownProps), propsFromState), propsFromDispatch), {}, {
|
|
47050
47715
|
reset: function reset() {
|
|
47051
47716
|
// 重置
|
|
47052
47717
|
var activeElement = getElement(realActiveIndex);
|
|
@@ -47820,7 +48485,7 @@ var mergeProps$c = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
47820
48485
|
});
|
|
47821
48486
|
};
|
|
47822
48487
|
|
|
47823
|
-
var ConnectedDicomTool = reactRedux.connect(mapStateToProps$
|
|
48488
|
+
var ConnectedDicomTool = reactRedux.connect(mapStateToProps$d, {
|
|
47824
48489
|
setActiveTool: setActiveTool,
|
|
47825
48490
|
setTools: setTools,
|
|
47826
48491
|
refreshTools: refreshTools,
|
|
@@ -47842,8 +48507,8 @@ var ConnectedDicomTool = reactRedux.connect(mapStateToProps$c, {
|
|
|
47842
48507
|
setActiveIndex: setActiveIndex,
|
|
47843
48508
|
setLayout: setLayout,
|
|
47844
48509
|
setLastLayout: setLastLayout
|
|
47845
|
-
}, mergeProps$
|
|
47846
|
-
var _default
|
|
48510
|
+
}, mergeProps$d)(DicomTool);
|
|
48511
|
+
var _default$$ = ConnectedDicomTool;
|
|
47847
48512
|
|
|
47848
48513
|
(function () {
|
|
47849
48514
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -47853,10 +48518,10 @@ var _default$_ = ConnectedDicomTool;
|
|
|
47853
48518
|
}
|
|
47854
48519
|
|
|
47855
48520
|
reactHotLoader.register(scrollToIndex$2, "scrollToIndex", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/ConnectedDicomTool.js");
|
|
47856
|
-
reactHotLoader.register(mapStateToProps$
|
|
47857
|
-
reactHotLoader.register(mergeProps$
|
|
48521
|
+
reactHotLoader.register(mapStateToProps$d, "mapStateToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/ConnectedDicomTool.js");
|
|
48522
|
+
reactHotLoader.register(mergeProps$d, "mergeProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/ConnectedDicomTool.js");
|
|
47858
48523
|
reactHotLoader.register(ConnectedDicomTool, "ConnectedDicomTool", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/ConnectedDicomTool.js");
|
|
47859
|
-
reactHotLoader.register(_default
|
|
48524
|
+
reactHotLoader.register(_default$$, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomTool/ConnectedDicomTool.js");
|
|
47860
48525
|
})();
|
|
47861
48526
|
|
|
47862
48527
|
(function () {
|
|
@@ -47864,8 +48529,8 @@ var _default$_ = ConnectedDicomTool;
|
|
|
47864
48529
|
leaveModule && leaveModule(module);
|
|
47865
48530
|
})();
|
|
47866
48531
|
|
|
47867
|
-
var css_248z$
|
|
47868
|
-
styleInject$1(css_248z$
|
|
48532
|
+
var css_248z$j = ".paladin-thumb-content {\n position: relative;\n height: 66px;\n width: 66px;\n border-width: 1px;\n border-style: solid;\n cursor: pointer;\n}\n.paladin-thumb-content .paladin-thumb-bottom {\n white-space: nowrap;\n position: absolute;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n color: #faa80a;\n text-align: center;\n font-size: 14px;\n z-index: 2;\n}\n.paladin-thumb-content .paladin-thumb-mask {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n}\n.paladin-thumb-content .paladin-thumb-process {\n position: absolute;\n z-index: 1;\n top: 0;\n height: 4px;\n width: 100%;\n background: #ffffff;\n overflow: hidden;\n}\n.paladin-thumb-content .paladin-thumb-process .paladin-thumb-process-inner {\n background: #faa80a;\n height: 100%;\n}\n.paladin-thumb-svg {\n cursor: pointer;\n justify-content: center;\n}\n.paladin-thumb-svg svg {\n fill: #fff;\n}\n.paladin-thumb-svg:hover {\n background-color: #616772;\n}\n.paladin-thumb-button {\n cursor: pointer;\n justify-content: center;\n padding: 0 15px;\n}\n.paladin-thumb-button svg {\n fill: #fff;\n}\n.paladin-thumb-button:hover {\n background-color: #616772;\n}\n.paladin-thumb-button svg {\n width: 11px !important;\n}\n.paladin-fresh-button {\n cursor: pointer;\n justify-content: center;\n padding: 0 25px;\n}\n.paladin-fresh-button svg {\n fill: #fff;\n}\n.paladin-fresh-button:hover {\n background-color: #616772;\n}\n.paladin-fresh-button svg {\n width: 15px !important;\n}\n.paladin-thumb-study {\n cursor: pointer;\n font-size: 14px;\n line-height: 40px;\n padding: 0 12px;\n color: #ffffff;\n}\n.paladin-thumb-viewport {\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n}\n.paladin-thumb-viewport h4,\n.paladin-thumb-viewport p {\n font-size: 10px;\n}\n.paladin-thumb-study-wrapper {\n border-bottom: 1px solid #727882;\n}\n.paladin-thumb-context-wrapper {\n padding: 4px 2px;\n}\n";
|
|
48533
|
+
styleInject$1(css_248z$j);
|
|
47869
48534
|
|
|
47870
48535
|
function _extends$1d() { _extends$1d = 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$1d.apply(this, arguments); }
|
|
47871
48536
|
|
|
@@ -47882,26 +48547,26 @@ var SvgRefresh$1 = function SvgRefresh(props) {
|
|
|
47882
48547
|
}, props), _ref$1b);
|
|
47883
48548
|
};
|
|
47884
48549
|
|
|
47885
|
-
var css_248z$
|
|
47886
|
-
styleInject$1(css_248z$
|
|
48550
|
+
var css_248z$k = ".loadingIndicator {\n position: absolute;\n top: 0;\n background: black;\n opacity: 1;\n width: 100%;\n height: 100%;\n text-align: center;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.loadingIndicator .lds-ring {\n color: #999;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n width: 40px;\n height: 40px;\n margin: auto;\n}\n.loadingIndicator .lds-ring div {\n box-sizing: border-box;\n display: block;\n position: absolute;\n width: 40px;\n height: 40px;\n border: 4px solid silver;\n border-radius: 50%;\n animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n border-color: silver transparent transparent transparent;\n}\n.loadingIndicator .lds-ring div:nth-child(1) {\n animation-delay: -0.45s;\n}\n.loadingIndicator .lds-ring div:nth-child(2) {\n animation-delay: -0.3s;\n}\n.loadingIndicator .lds-ring div:nth-child(3) {\n animation-delay: -0.15s;\n}\n@keyframes lds-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.loadingIndicator .loadingIndicator-retry {\n width: 40px;\n color: #999;\n margin: 0 auto;\n font-size: 14px;\n}\n.loadingIndicator .indicatorContents h4 {\n font-size: 18px;\n margin: 0 auto 10px 0;\n}\n.loadingIndicator .indicatorContents p {\n margin: 4px auto;\n color: #999;\n font-size: 14px;\n}\n.loadingIndicator .indicatorContents .loadingIndicator-retry {\n width: 40px;\n margin: 20px auto 0 auto;\n}\n.loadingIndicator .indicatorContents-mini h4 {\n color: #fff;\n font-size: 12px;\n margin: 5px 0 5px 0;\n}\n.loadingIndicator .indicatorContents-mini .loadingIndicator-retry {\n width: 20px;\n font-size: 12px;\n}\n";
|
|
48551
|
+
styleInject$1(css_248z$k);
|
|
47887
48552
|
|
|
47888
48553
|
(function () {
|
|
47889
48554
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
47890
48555
|
enterModule && enterModule(module);
|
|
47891
48556
|
})();
|
|
47892
48557
|
|
|
47893
|
-
function _createSuper$
|
|
48558
|
+
function _createSuper$1a(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1a(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
47894
48559
|
|
|
47895
|
-
function _isNativeReflectConstruct$
|
|
48560
|
+
function _isNativeReflectConstruct$1a() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
47896
48561
|
|
|
47897
|
-
var __signature__$
|
|
48562
|
+
var __signature__$2W = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
47898
48563
|
return a;
|
|
47899
48564
|
};
|
|
47900
48565
|
|
|
47901
48566
|
var LoadingIndicator = /*#__PURE__*/function (_PureComponent) {
|
|
47902
48567
|
inherits(LoadingIndicator, _PureComponent);
|
|
47903
48568
|
|
|
47904
|
-
var _super = _createSuper$
|
|
48569
|
+
var _super = _createSuper$1a(LoadingIndicator);
|
|
47905
48570
|
|
|
47906
48571
|
function LoadingIndicator() {
|
|
47907
48572
|
classCallCheck(this, LoadingIndicator);
|
|
@@ -47964,7 +48629,7 @@ defineProperty(LoadingIndicator, "defaultProps", {
|
|
|
47964
48629
|
error: null
|
|
47965
48630
|
});
|
|
47966
48631
|
|
|
47967
|
-
var _default
|
|
48632
|
+
var _default$10 = LoadingIndicator;
|
|
47968
48633
|
|
|
47969
48634
|
(function () {
|
|
47970
48635
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -47974,7 +48639,7 @@ var _default$$ = LoadingIndicator;
|
|
|
47974
48639
|
}
|
|
47975
48640
|
|
|
47976
48641
|
reactHotLoader.register(LoadingIndicator, "LoadingIndicator", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomViewport/LoadingIndicator/LoadingIndicator.js");
|
|
47977
|
-
reactHotLoader.register(_default
|
|
48642
|
+
reactHotLoader.register(_default$10, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomViewport/LoadingIndicator/LoadingIndicator.js");
|
|
47978
48643
|
})();
|
|
47979
48644
|
|
|
47980
48645
|
(function () {
|
|
@@ -47987,11 +48652,11 @@ var _default$$ = LoadingIndicator;
|
|
|
47987
48652
|
enterModule && enterModule(module);
|
|
47988
48653
|
})();
|
|
47989
48654
|
|
|
47990
|
-
function _createSuper$
|
|
48655
|
+
function _createSuper$1b(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1b(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
47991
48656
|
|
|
47992
|
-
function _isNativeReflectConstruct$
|
|
48657
|
+
function _isNativeReflectConstruct$1b() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
47993
48658
|
|
|
47994
|
-
var __signature__$
|
|
48659
|
+
var __signature__$2X = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
47995
48660
|
return a;
|
|
47996
48661
|
};
|
|
47997
48662
|
var loadIndicatorDelay = 300;
|
|
@@ -48019,7 +48684,7 @@ function initializeTools(cornerstoneTools, tools, element) {
|
|
|
48019
48684
|
var ThumbnailViewport = /*#__PURE__*/function (_Component) {
|
|
48020
48685
|
inherits(ThumbnailViewport, _Component);
|
|
48021
48686
|
|
|
48022
|
-
var _super = _createSuper$
|
|
48687
|
+
var _super = _createSuper$1b(ThumbnailViewport);
|
|
48023
48688
|
|
|
48024
48689
|
function ThumbnailViewport(props) {
|
|
48025
48690
|
var _this;
|
|
@@ -48148,7 +48813,7 @@ var ThumbnailViewport = /*#__PURE__*/function (_Component) {
|
|
|
48148
48813
|
className: "paladin-thumb-viewport"
|
|
48149
48814
|
}, source && /*#__PURE__*/React__default.createElement("img", {
|
|
48150
48815
|
src: source
|
|
48151
|
-
}), loading && /*#__PURE__*/React__default.createElement(_default
|
|
48816
|
+
}), loading && /*#__PURE__*/React__default.createElement(_default$10, {
|
|
48152
48817
|
error: error,
|
|
48153
48818
|
mini: true,
|
|
48154
48819
|
handleRetry: this.loadImage
|
|
@@ -48203,11 +48868,11 @@ defineProperty(ThumbnailViewport, "defaultProps", {
|
|
|
48203
48868
|
enterModule && enterModule(module);
|
|
48204
48869
|
})();
|
|
48205
48870
|
|
|
48206
|
-
function _createSuper$
|
|
48871
|
+
function _createSuper$1c(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1c(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
48207
48872
|
|
|
48208
|
-
function _isNativeReflectConstruct$
|
|
48873
|
+
function _isNativeReflectConstruct$1c() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
48209
48874
|
|
|
48210
|
-
var __signature__$
|
|
48875
|
+
var __signature__$2Y = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
48211
48876
|
return a;
|
|
48212
48877
|
};
|
|
48213
48878
|
|
|
@@ -48246,7 +48911,7 @@ var ThumbContent = function ThumbContent(props) {
|
|
|
48246
48911
|
var DicomThumbnailLayout = /*#__PURE__*/function (_Component) {
|
|
48247
48912
|
inherits(DicomThumbnailLayout, _Component);
|
|
48248
48913
|
|
|
48249
|
-
var _super = _createSuper$
|
|
48914
|
+
var _super = _createSuper$1c(DicomThumbnailLayout);
|
|
48250
48915
|
|
|
48251
48916
|
function DicomThumbnailLayout(props) {
|
|
48252
48917
|
var _this;
|
|
@@ -48412,15 +49077,15 @@ var DicomThumbnailLayout = /*#__PURE__*/function (_Component) {
|
|
|
48412
49077
|
enterModule && enterModule(module);
|
|
48413
49078
|
})();
|
|
48414
49079
|
|
|
48415
|
-
function ownKeys$
|
|
49080
|
+
function ownKeys$z(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; }
|
|
48416
49081
|
|
|
48417
|
-
function _objectSpread$
|
|
49082
|
+
function _objectSpread$A(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$z(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
48418
49083
|
|
|
48419
|
-
var __signature__$
|
|
49084
|
+
var __signature__$2Z = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
48420
49085
|
return a;
|
|
48421
49086
|
};
|
|
48422
49087
|
|
|
48423
|
-
var mapStateToProps$
|
|
49088
|
+
var mapStateToProps$e = function mapStateToProps(state) {
|
|
48424
49089
|
var _state$paladin$viewpo = state.paladin.viewport,
|
|
48425
49090
|
activeIndex = _state$paladin$viewpo.activeIndex,
|
|
48426
49091
|
currentSeriesUID = _state$paladin$viewpo.currentSeriesUID,
|
|
@@ -48441,8 +49106,8 @@ var mapStateToProps$d = function mapStateToProps(state) {
|
|
|
48441
49106
|
};
|
|
48442
49107
|
};
|
|
48443
49108
|
|
|
48444
|
-
var mergeProps$
|
|
48445
|
-
return _objectSpread$
|
|
49109
|
+
var mergeProps$e = function mergeProps(propsFromState, propsFromDispatch, ownProps) {
|
|
49110
|
+
return _objectSpread$A(_objectSpread$A(_objectSpread$A({}, ownProps), propsFromState), {}, {
|
|
48446
49111
|
selectThumb: function selectThumb(selectSeriesIndex, currentStudy) {
|
|
48447
49112
|
/**
|
|
48448
49113
|
* 选择了缩略图时
|
|
@@ -48486,14 +49151,14 @@ var mergeProps$d = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
48486
49151
|
});
|
|
48487
49152
|
};
|
|
48488
49153
|
|
|
48489
|
-
var ConnectedDicomThumbnail = reactRedux.connect(mapStateToProps$
|
|
49154
|
+
var ConnectedDicomThumbnail = reactRedux.connect(mapStateToProps$e, {
|
|
48490
49155
|
setSeries: setSeries,
|
|
48491
49156
|
setCurrentSeries: setCurrentSeries,
|
|
48492
49157
|
setSeriesCurrentIndex: setSeriesCurrentIndex,
|
|
48493
49158
|
setImageScrollLine: setImageScrollLine,
|
|
48494
49159
|
setImageActiveIndex: setImageActiveIndex
|
|
48495
|
-
}, mergeProps$
|
|
48496
|
-
var _default$
|
|
49160
|
+
}, mergeProps$e)(DicomThumbnailLayout);
|
|
49161
|
+
var _default$11 = ConnectedDicomThumbnail;
|
|
48497
49162
|
|
|
48498
49163
|
(function () {
|
|
48499
49164
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -48502,10 +49167,10 @@ var _default$10 = ConnectedDicomThumbnail;
|
|
|
48502
49167
|
return;
|
|
48503
49168
|
}
|
|
48504
49169
|
|
|
48505
|
-
reactHotLoader.register(mapStateToProps$
|
|
48506
|
-
reactHotLoader.register(mergeProps$
|
|
49170
|
+
reactHotLoader.register(mapStateToProps$e, "mapStateToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomThumbnail/ConnectedDicomThumbnail.js");
|
|
49171
|
+
reactHotLoader.register(mergeProps$e, "mergeProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomThumbnail/ConnectedDicomThumbnail.js");
|
|
48507
49172
|
reactHotLoader.register(ConnectedDicomThumbnail, "ConnectedDicomThumbnail", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomThumbnail/ConnectedDicomThumbnail.js");
|
|
48508
|
-
reactHotLoader.register(_default$
|
|
49173
|
+
reactHotLoader.register(_default$11, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomThumbnail/ConnectedDicomThumbnail.js");
|
|
48509
49174
|
})();
|
|
48510
49175
|
|
|
48511
49176
|
(function () {
|
|
@@ -48513,15 +49178,15 @@ var _default$10 = ConnectedDicomThumbnail;
|
|
|
48513
49178
|
leaveModule && leaveModule(module);
|
|
48514
49179
|
})();
|
|
48515
49180
|
|
|
48516
|
-
var css_248z$
|
|
48517
|
-
styleInject$1(css_248z$
|
|
49181
|
+
var css_248z$l = ".paladin-dicom-layout {\n display: flex;\n flex-wrap: wrap;\n height: 100%;\n flex: 1;\n}\n.paladin-dicom-layout-warp {\n display: flex;\n flex: 1;\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n";
|
|
49182
|
+
styleInject$1(css_248z$l);
|
|
48518
49183
|
|
|
48519
49184
|
(function () {
|
|
48520
49185
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
48521
49186
|
enterModule && enterModule(module);
|
|
48522
49187
|
})();
|
|
48523
49188
|
|
|
48524
|
-
var __signature__$
|
|
49189
|
+
var __signature__$2_ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
48525
49190
|
return a;
|
|
48526
49191
|
};
|
|
48527
49192
|
function combineDateAndTimeToMoment(dicom, tag) {
|
|
@@ -48574,7 +49239,7 @@ function convertSecondsToMinAndSecond(seconds) {
|
|
|
48574
49239
|
enterModule && enterModule(module);
|
|
48575
49240
|
})();
|
|
48576
49241
|
|
|
48577
|
-
var __signature__$
|
|
49242
|
+
var __signature__$2$ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
48578
49243
|
return a;
|
|
48579
49244
|
};
|
|
48580
49245
|
|
|
@@ -48604,7 +49269,7 @@ function formatNumberPrecision(number, precision) {
|
|
|
48604
49269
|
enterModule && enterModule(module);
|
|
48605
49270
|
})();
|
|
48606
49271
|
|
|
48607
|
-
var __signature__$
|
|
49272
|
+
var __signature__$30 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
48608
49273
|
return a;
|
|
48609
49274
|
};
|
|
48610
49275
|
function getPixelSpacing$9(imageId) {
|
|
@@ -48643,11 +49308,11 @@ function getPixelSpacing$9(imageId) {
|
|
|
48643
49308
|
enterModule && enterModule(module);
|
|
48644
49309
|
})();
|
|
48645
49310
|
|
|
48646
|
-
function _createSuper$
|
|
49311
|
+
function _createSuper$1d(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1d(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
48647
49312
|
|
|
48648
|
-
function _isNativeReflectConstruct$
|
|
49313
|
+
function _isNativeReflectConstruct$1d() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
48649
49314
|
|
|
48650
|
-
var __signature__$
|
|
49315
|
+
var __signature__$31 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
48651
49316
|
return a;
|
|
48652
49317
|
};
|
|
48653
49318
|
|
|
@@ -48773,7 +49438,7 @@ var formatDicomInfo = function formatDicomInfo(label, value) {
|
|
|
48773
49438
|
var ViewportOverlay = /*#__PURE__*/function (_PureComponent) {
|
|
48774
49439
|
inherits(ViewportOverlay, _PureComponent);
|
|
48775
49440
|
|
|
48776
|
-
var _super = _createSuper$
|
|
49441
|
+
var _super = _createSuper$1d(ViewportOverlay);
|
|
48777
49442
|
|
|
48778
49443
|
function ViewportOverlay(props) {
|
|
48779
49444
|
var _this;
|
|
@@ -49002,7 +49667,7 @@ defineProperty(ViewportOverlay, "propTypes", {
|
|
|
49002
49667
|
hide: PropTypes$1.bool
|
|
49003
49668
|
});
|
|
49004
49669
|
|
|
49005
|
-
var _default$
|
|
49670
|
+
var _default$12 = ViewportOverlay;
|
|
49006
49671
|
|
|
49007
49672
|
(function () {
|
|
49008
49673
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -49021,7 +49686,7 @@ var _default$11 = ViewportOverlay;
|
|
|
49021
49686
|
reactHotLoader.register(getADAndNEX, "getADAndNEX", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomViewport/ViewportOverlay/index.js");
|
|
49022
49687
|
reactHotLoader.register(formatDicomInfo, "formatDicomInfo", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomViewport/ViewportOverlay/index.js");
|
|
49023
49688
|
reactHotLoader.register(ViewportOverlay, "ViewportOverlay", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomViewport/ViewportOverlay/index.js");
|
|
49024
|
-
reactHotLoader.register(_default$
|
|
49689
|
+
reactHotLoader.register(_default$12, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomViewport/ViewportOverlay/index.js");
|
|
49025
49690
|
})();
|
|
49026
49691
|
|
|
49027
49692
|
(function () {
|
|
@@ -49029,8 +49694,8 @@ var _default$11 = ViewportOverlay;
|
|
|
49029
49694
|
leaveModule && leaveModule(module);
|
|
49030
49695
|
})();
|
|
49031
49696
|
|
|
49032
|
-
var css_248z$
|
|
49033
|
-
styleInject$1(css_248z$
|
|
49697
|
+
var css_248z$m = ".paladin-custom-scroll {\n cursor: pointer;\n background: #333333;\n position: relative;\n border-color: #727882;\n border-style: solid;\n border-width: 0;\n box-sizing: border-box;\n}\n.paladin-custom-scroll .paladin-custom-scroll-controller {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.paladin-custom-scroll .paladin-custom-scroll-controller .paladin-custom-scroll-box {\n position: absolute;\n top: 0;\n left: 0;\n height: 16px;\n width: 16px;\n background: rgba(91, 91, 91, 0.8);\n}\n.paladin-custom-scroll .paladin-custom-scroll-ctrl-up {\n width: 16px;\n height: 20px;\n background: #5b5b5b;\n position: absolute;\n top: 0;\n}\n.paladin-custom-scroll .paladin-custom-scroll-ctrl-up svg {\n color: #ccc;\n}\n.paladin-custom-scroll .paladin-custom-scroll-ctrl-down {\n width: 16px;\n height: 20px;\n background: #5b5b5b;\n position: absolute;\n bottom: 0;\n}\n.paladin-custom-scroll .paladin-custom-scroll-ctrl-down svg {\n color: #ccc;\n}\n";
|
|
49698
|
+
styleInject$1(css_248z$m);
|
|
49034
49699
|
|
|
49035
49700
|
function _extends$1e() { _extends$1e = 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$1e.apply(this, arguments); }
|
|
49036
49701
|
|
|
@@ -49062,26 +49727,26 @@ var SvgChevronDown = function SvgChevronDown(props) {
|
|
|
49062
49727
|
}, props), _ref$1d);
|
|
49063
49728
|
};
|
|
49064
49729
|
|
|
49065
|
-
var css_248z$
|
|
49066
|
-
styleInject$1(css_248z$
|
|
49730
|
+
var css_248z$n = ".paladin-aiTips-wrapper {\n width: 100%;\n height: 100%;\n}\n.paladin-aiTips-content {\n width: 1px;\n height: 100%;\n background: #ffff00;\n position: absolute;\n top: 0;\n}\n";
|
|
49731
|
+
styleInject$1(css_248z$n);
|
|
49067
49732
|
|
|
49068
49733
|
(function () {
|
|
49069
49734
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
49070
49735
|
enterModule && enterModule(module);
|
|
49071
49736
|
})();
|
|
49072
49737
|
|
|
49073
|
-
function _createSuper$
|
|
49738
|
+
function _createSuper$1e(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1e(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
49074
49739
|
|
|
49075
|
-
function _isNativeReflectConstruct$
|
|
49740
|
+
function _isNativeReflectConstruct$1e() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
49076
49741
|
|
|
49077
|
-
var __signature__$
|
|
49742
|
+
var __signature__$32 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49078
49743
|
return a;
|
|
49079
49744
|
};
|
|
49080
49745
|
|
|
49081
49746
|
var AITips = /*#__PURE__*/function (_Component) {
|
|
49082
49747
|
inherits(AITips, _Component);
|
|
49083
49748
|
|
|
49084
|
-
var _super = _createSuper$
|
|
49749
|
+
var _super = _createSuper$1e(AITips);
|
|
49085
49750
|
|
|
49086
49751
|
function AITips() {
|
|
49087
49752
|
classCallCheck(this, AITips);
|
|
@@ -49145,18 +49810,18 @@ defineProperty(AITips, "propTypes", {
|
|
|
49145
49810
|
enterModule && enterModule(module);
|
|
49146
49811
|
})();
|
|
49147
49812
|
|
|
49148
|
-
function _createSuper$
|
|
49813
|
+
function _createSuper$1f(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1f(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
49149
49814
|
|
|
49150
|
-
function _isNativeReflectConstruct$
|
|
49815
|
+
function _isNativeReflectConstruct$1f() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
49151
49816
|
|
|
49152
|
-
var __signature__$
|
|
49817
|
+
var __signature__$33 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49153
49818
|
return a;
|
|
49154
49819
|
};
|
|
49155
49820
|
|
|
49156
49821
|
var CustomScroll = /*#__PURE__*/function (_Component) {
|
|
49157
49822
|
inherits(CustomScroll, _Component);
|
|
49158
49823
|
|
|
49159
|
-
var _super = _createSuper$
|
|
49824
|
+
var _super = _createSuper$1f(CustomScroll);
|
|
49160
49825
|
|
|
49161
49826
|
function CustomScroll(props) {
|
|
49162
49827
|
var _this;
|
|
@@ -49558,8 +50223,8 @@ defineProperty(CustomScroll, "propTypes", {
|
|
|
49558
50223
|
leaveModule && leaveModule(module);
|
|
49559
50224
|
})();
|
|
49560
50225
|
|
|
49561
|
-
var css_248z$
|
|
49562
|
-
styleInject$1(css_248z$
|
|
50226
|
+
var css_248z$o = ".paladin-mpr-direaction-tip {\n position: absolute;\n top: 10px;\n left: 10px;\n z-index: 2;\n width: 10px;\n height: 10px;\n}\n.paladin-mpr-direaction-toggle-box {\n position: absolute;\n top: 10px;\n left: 10px;\n z-index: 2;\n cursor: pointer;\n}\n.paladin-mpr-direaction-toggle-box span {\n display: inline-block;\n padding: 3px;\n font-size: 12px;\n}\n.paladin-mpr-direaction-toggle-box .paladin-mpr-direaction-toggle {\n border: 1px solid #999;\n background: #000;\n}\n.paladin-mpr-direaction-toggle-box .paladin-mpr-direaction-toggle:last-child {\n border-left: none;\n}\n.paladin-mpr-direaction-toggle-box .paladin-mpr-direaction-toggle-active {\n background: #0d5075;\n}\n.rc-slider {\n background-color: transparent !important;\n}\n.paladin-viewport-wrapper {\n overflow: hidden;\n color: white;\n height: 100%;\n position: relative;\n}\n.cornerstone-canvas-container {\n box-sizing: border-box;\n width: 100%;\n position: relative;\n}\n.paladin-viewport-scroll-wrappper {\n width: 100%;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n z-index: 1;\n height: 30px;\n}\n.paladin-viewport-scroll-inner {\n width: 40%;\n margin: 5px auto auto;\n}\n.paladin-viewport-scroll-mpr-wrappper {\n width: 100%;\n position: relative;\n z-index: 1;\n}\n";
|
|
50227
|
+
styleInject$1(css_248z$o);
|
|
49563
50228
|
|
|
49564
50229
|
(function () {
|
|
49565
50230
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
@@ -49572,7 +50237,7 @@ function _unsupportedIterableToArray$b(o, minLen) { if (!o) return; if (typeof o
|
|
|
49572
50237
|
|
|
49573
50238
|
function _arrayLikeToArray$b(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
49574
50239
|
|
|
49575
|
-
var __signature__$
|
|
50240
|
+
var __signature__$34 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49576
50241
|
return a;
|
|
49577
50242
|
};
|
|
49578
50243
|
var triggerEvent$3 = _default$E.importInternal('util/triggerEvent');
|
|
@@ -49793,7 +50458,7 @@ function _unsupportedIterableToArray$c(o, minLen) { if (!o) return; if (typeof o
|
|
|
49793
50458
|
|
|
49794
50459
|
function _arrayLikeToArray$c(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
49795
50460
|
|
|
49796
|
-
var __signature__$
|
|
50461
|
+
var __signature__$35 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49797
50462
|
return a;
|
|
49798
50463
|
};
|
|
49799
50464
|
var external$t = cornerstoneTools.external;
|
|
@@ -49856,26 +50521,26 @@ function processCentesisPath(imageId) {
|
|
|
49856
50521
|
leaveModule && leaveModule(module);
|
|
49857
50522
|
})();
|
|
49858
50523
|
|
|
49859
|
-
var css_248z$
|
|
49860
|
-
styleInject$1(css_248z$
|
|
50524
|
+
var css_248z$p = ".paladin-thickness-container {\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 90px;\n height: 16px;\n background-color: #505050;\n color: #888;\n font-size: 13px;\n}\n.paladin-thickness-selecter {\n padding: 5px 0;\n background-color: #333;\n color: #c8c8c8;\n font-size: 12px;\n}\n.paladin-thickness-selecter .paladin-thickness-select-item {\n padding: 3px 20px;\n cursor: pointer;\n}\n.paladin-thickness-selecter .paladin-thickness-select-item:hover {\n background-color: #fff;\n color: #000;\n}\n.paladin-thickness-selecter .paladin-thickness-select-mpr {\n border-bottom: 1px solid #ffffff;\n padding: 3px 20px 8px 20px;\n}\n";
|
|
50525
|
+
styleInject$1(css_248z$p);
|
|
49861
50526
|
|
|
49862
50527
|
(function () {
|
|
49863
50528
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
49864
50529
|
enterModule && enterModule(module);
|
|
49865
50530
|
})();
|
|
49866
50531
|
|
|
49867
|
-
function _createSuper$
|
|
50532
|
+
function _createSuper$1g(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1g(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
49868
50533
|
|
|
49869
|
-
function _isNativeReflectConstruct$
|
|
50534
|
+
function _isNativeReflectConstruct$1g() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
49870
50535
|
|
|
49871
|
-
var __signature__$
|
|
50536
|
+
var __signature__$36 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49872
50537
|
return a;
|
|
49873
50538
|
};
|
|
49874
50539
|
|
|
49875
50540
|
var ThicknessSelectMain = /*#__PURE__*/function (_Component) {
|
|
49876
50541
|
inherits(ThicknessSelectMain, _Component);
|
|
49877
50542
|
|
|
49878
|
-
var _super = _createSuper$
|
|
50543
|
+
var _super = _createSuper$1g(ThicknessSelectMain);
|
|
49879
50544
|
|
|
49880
50545
|
function ThicknessSelectMain(props) {
|
|
49881
50546
|
var _this;
|
|
@@ -49887,7 +50552,8 @@ var ThicknessSelectMain = /*#__PURE__*/function (_Component) {
|
|
|
49887
50552
|
defineProperty(assertThisInitialized(_this), "onPopoverClose", function (eventData) {
|
|
49888
50553
|
if (eventData && eventData.value) {
|
|
49889
50554
|
var value = eventData.value;
|
|
49890
|
-
|
|
50555
|
+
var imageProcessType = _this.props.Surgery ? ImageProcessType.Centesis : ImageProcessType.MPR;
|
|
50556
|
+
changeThickness(_this.props.imageId, value, _this.props.mpr, 'MIP', imageProcessType);
|
|
49891
50557
|
|
|
49892
50558
|
_this.props.onSelect(value);
|
|
49893
50559
|
}
|
|
@@ -49986,15 +50652,15 @@ var ThicknessSelectMain = /*#__PURE__*/function (_Component) {
|
|
|
49986
50652
|
enterModule && enterModule(module);
|
|
49987
50653
|
})();
|
|
49988
50654
|
|
|
49989
|
-
function ownKeys$
|
|
50655
|
+
function ownKeys$A(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; }
|
|
49990
50656
|
|
|
49991
|
-
function _objectSpread$
|
|
50657
|
+
function _objectSpread$B(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$A(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$A(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
49992
50658
|
|
|
49993
|
-
function _createSuper$
|
|
50659
|
+
function _createSuper$1h(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1h(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
49994
50660
|
|
|
49995
|
-
function _isNativeReflectConstruct$
|
|
50661
|
+
function _isNativeReflectConstruct$1h() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
49996
50662
|
|
|
49997
|
-
var __signature__$
|
|
50663
|
+
var __signature__$37 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49998
50664
|
return a;
|
|
49999
50665
|
};
|
|
50000
50666
|
var EVENT_RESIZE = 'resize';
|
|
@@ -50036,7 +50702,7 @@ function initializeTools$1(cornerstoneTools, tools, element) {
|
|
|
50036
50702
|
var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
50037
50703
|
inherits(DicomViewport, _Component);
|
|
50038
50704
|
|
|
50039
|
-
var _super = _createSuper$
|
|
50705
|
+
var _super = _createSuper$1h(DicomViewport);
|
|
50040
50706
|
|
|
50041
50707
|
function DicomViewport(_props) {
|
|
50042
50708
|
var _this;
|
|
@@ -50793,7 +51459,7 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
50793
51459
|
height: showCustomScroll && scrollType !== 'rc' ? 'calc(100% - 16px)' : '100%',
|
|
50794
51460
|
border: "1px solid ".concat(active ? 'rgb(250, 168, 10)' : linked ? 'yellow' : 'rgb(114, 120, 130)')
|
|
50795
51461
|
}
|
|
50796
|
-
}, displayLoadingIndicator && /*#__PURE__*/React__default.createElement(_default
|
|
51462
|
+
}, displayLoadingIndicator && /*#__PURE__*/React__default.createElement(_default$10, {
|
|
50797
51463
|
error: error,
|
|
50798
51464
|
handleRetry: this.loadImage
|
|
50799
51465
|
}), /*#__PURE__*/React__default.createElement("canvas", {
|
|
@@ -50803,7 +51469,7 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
50803
51469
|
position: 'absolute',
|
|
50804
51470
|
color: 'transparent'
|
|
50805
51471
|
}
|
|
50806
|
-
}, "1"), showOverlayText && /*#__PURE__*/React__default.createElement(_default$
|
|
51472
|
+
}, "1"), showOverlayText && /*#__PURE__*/React__default.createElement(_default$12, {
|
|
50807
51473
|
viewport: viewport,
|
|
50808
51474
|
imageId: imageId,
|
|
50809
51475
|
stack: stack,
|
|
@@ -50854,6 +51520,7 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
50854
51520
|
},
|
|
50855
51521
|
stack: stack,
|
|
50856
51522
|
imageId: imageId,
|
|
51523
|
+
Surgery: Surgery,
|
|
50857
51524
|
mpr: mpr
|
|
50858
51525
|
})), mpr && !Surgery && /*#__PURE__*/React__default.createElement("div", {
|
|
50859
51526
|
className: "paladin-mpr-direaction-tip",
|
|
@@ -50908,7 +51575,8 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
50908
51575
|
if (this.props.mpr) {
|
|
50909
51576
|
var currentImageIndex = this.props.stack && this.props.stack.currentImageIdIndex || 0;
|
|
50910
51577
|
var imageId = this.props.stack && this.props.stack.imageIds[currentImageIndex];
|
|
50911
|
-
var
|
|
51578
|
+
var imageProcessType = this.props.Surgery ? ImageProcessType.Centesis : ImageProcessType.MPR;
|
|
51579
|
+
var sliceThickness = setThickness(imageId, imageProcessType);
|
|
50912
51580
|
this.setState({
|
|
50913
51581
|
sliceThickness: sliceThickness
|
|
50914
51582
|
});
|
|
@@ -50973,7 +51641,7 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
50973
51641
|
nextViewport.colormap = undefined;
|
|
50974
51642
|
}
|
|
50975
51643
|
|
|
50976
|
-
cornerstone.setViewport(this.element, _objectSpread$
|
|
51644
|
+
cornerstone.setViewport(this.element, _objectSpread$B(_objectSpread$B({}, nextViewport), {}, {
|
|
50977
51645
|
displayedArea: defaultViewport.displayedArea
|
|
50978
51646
|
}));
|
|
50979
51647
|
this.setState({
|
|
@@ -51583,10 +52251,10 @@ defineProperty(DicomViewport, "defaultProps", {
|
|
|
51583
52251
|
enterModule && enterModule(module);
|
|
51584
52252
|
})();
|
|
51585
52253
|
|
|
51586
|
-
var __signature__$
|
|
52254
|
+
var __signature__$38 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
51587
52255
|
return a;
|
|
51588
52256
|
};
|
|
51589
|
-
var _default$
|
|
52257
|
+
var _default$13 = DicomViewport;
|
|
51590
52258
|
|
|
51591
52259
|
(function () {
|
|
51592
52260
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -51595,7 +52263,7 @@ var _default$12 = DicomViewport;
|
|
|
51595
52263
|
return;
|
|
51596
52264
|
}
|
|
51597
52265
|
|
|
51598
|
-
reactHotLoader.register(_default$
|
|
52266
|
+
reactHotLoader.register(_default$13, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomViewport/index.js");
|
|
51599
52267
|
})();
|
|
51600
52268
|
|
|
51601
52269
|
(function () {
|
|
@@ -51608,11 +52276,11 @@ var _default$12 = DicomViewport;
|
|
|
51608
52276
|
enterModule && enterModule(module);
|
|
51609
52277
|
})();
|
|
51610
52278
|
|
|
51611
|
-
var __signature__$
|
|
52279
|
+
var __signature__$39 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
51612
52280
|
return a;
|
|
51613
52281
|
};
|
|
51614
52282
|
|
|
51615
|
-
var mapStateToProps$
|
|
52283
|
+
var mapStateToProps$f = function mapStateToProps(state) {
|
|
51616
52284
|
var _state$paladin$tools$ = state.paladin.tools.action,
|
|
51617
52285
|
activeTool = _state$paladin$tools$.activeTool,
|
|
51618
52286
|
ReferenceLines = _state$paladin$tools$.ReferenceLines,
|
|
@@ -51658,11 +52326,11 @@ var mapStateToProps$e = function mapStateToProps(state) {
|
|
|
51658
52326
|
};
|
|
51659
52327
|
};
|
|
51660
52328
|
|
|
51661
|
-
var ConnectedDicomViewport = reactRedux.connect(mapStateToProps$
|
|
52329
|
+
var ConnectedDicomViewport = reactRedux.connect(mapStateToProps$f, {
|
|
51662
52330
|
setActiveTool: setActiveTool,
|
|
51663
52331
|
setSeriesCurrentIndex: setSeriesCurrentIndex
|
|
51664
|
-
})(_default$
|
|
51665
|
-
var _default$
|
|
52332
|
+
})(_default$13);
|
|
52333
|
+
var _default$14 = ConnectedDicomViewport;
|
|
51666
52334
|
|
|
51667
52335
|
(function () {
|
|
51668
52336
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -51671,9 +52339,9 @@ var _default$13 = ConnectedDicomViewport;
|
|
|
51671
52339
|
return;
|
|
51672
52340
|
}
|
|
51673
52341
|
|
|
51674
|
-
reactHotLoader.register(mapStateToProps$
|
|
52342
|
+
reactHotLoader.register(mapStateToProps$f, "mapStateToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomViewport/ConnectedDicomViewport.js");
|
|
51675
52343
|
reactHotLoader.register(ConnectedDicomViewport, "ConnectedDicomViewport", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomViewport/ConnectedDicomViewport.js");
|
|
51676
|
-
reactHotLoader.register(_default$
|
|
52344
|
+
reactHotLoader.register(_default$14, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomViewport/ConnectedDicomViewport.js");
|
|
51677
52345
|
})();
|
|
51678
52346
|
|
|
51679
52347
|
(function () {
|
|
@@ -51681,15 +52349,15 @@ var _default$13 = ConnectedDicomViewport;
|
|
|
51681
52349
|
leaveModule && leaveModule(module);
|
|
51682
52350
|
})();
|
|
51683
52351
|
|
|
51684
|
-
var css_248z$
|
|
51685
|
-
styleInject$1(css_248z$
|
|
52352
|
+
var css_248z$q = ".paladin-dicom-scroll {\n display: flex;\n width: 16px;\n height: 100%;\n flex-shrink: 0;\n background: #333333;\n}\n";
|
|
52353
|
+
styleInject$1(css_248z$q);
|
|
51686
52354
|
|
|
51687
52355
|
(function () {
|
|
51688
52356
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
51689
52357
|
enterModule && enterModule(module);
|
|
51690
52358
|
})();
|
|
51691
52359
|
|
|
51692
|
-
var __signature__$
|
|
52360
|
+
var __signature__$3a = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
51693
52361
|
return a;
|
|
51694
52362
|
};
|
|
51695
52363
|
var DicomLayoutContainer = function DicomLayoutContainer(props) {
|
|
@@ -51725,11 +52393,11 @@ function _unsupportedIterableToArray$d(o, minLen) { if (!o) return; if (typeof o
|
|
|
51725
52393
|
|
|
51726
52394
|
function _arrayLikeToArray$d(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
51727
52395
|
|
|
51728
|
-
function _createSuper$
|
|
52396
|
+
function _createSuper$1i(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1i(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
51729
52397
|
|
|
51730
|
-
function _isNativeReflectConstruct$
|
|
52398
|
+
function _isNativeReflectConstruct$1i() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
51731
52399
|
|
|
51732
|
-
var __signature__$
|
|
52400
|
+
var __signature__$3b = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
51733
52401
|
return a;
|
|
51734
52402
|
};
|
|
51735
52403
|
|
|
@@ -51746,7 +52414,7 @@ var EmptyElement = function EmptyElement(_ref) {
|
|
|
51746
52414
|
var DicomLayout = /*#__PURE__*/function (_Component) {
|
|
51747
52415
|
inherits(DicomLayout, _Component);
|
|
51748
52416
|
|
|
51749
|
-
var _super = _createSuper$
|
|
52417
|
+
var _super = _createSuper$1i(DicomLayout);
|
|
51750
52418
|
|
|
51751
52419
|
function DicomLayout(props) {
|
|
51752
52420
|
var _this;
|
|
@@ -51969,7 +52637,7 @@ var DicomLayout = /*#__PURE__*/function (_Component) {
|
|
|
51969
52637
|
col: col
|
|
51970
52638
|
});
|
|
51971
52639
|
}
|
|
51972
|
-
return /*#__PURE__*/React__default.createElement(_default$
|
|
52640
|
+
return /*#__PURE__*/React__default.createElement(_default$14 // key={`viewport-${row}-${col}-${currentScrollLine}-${index}`}
|
|
51973
52641
|
, {
|
|
51974
52642
|
key: "viewport-".concat(index),
|
|
51975
52643
|
scrollWidth: scrollWidth,
|
|
@@ -52065,11 +52733,11 @@ defineProperty(DicomLayout, "propTypes", {
|
|
|
52065
52733
|
enterModule && enterModule(module);
|
|
52066
52734
|
})();
|
|
52067
52735
|
|
|
52068
|
-
function ownKeys$
|
|
52736
|
+
function ownKeys$B(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; }
|
|
52069
52737
|
|
|
52070
|
-
function _objectSpread$
|
|
52738
|
+
function _objectSpread$C(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$B(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$B(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
52071
52739
|
|
|
52072
|
-
var __signature__$
|
|
52740
|
+
var __signature__$3c = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
52073
52741
|
return a;
|
|
52074
52742
|
};
|
|
52075
52743
|
/**
|
|
@@ -52077,7 +52745,7 @@ var __signature__$39 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoa
|
|
|
52077
52745
|
*
|
|
52078
52746
|
*/
|
|
52079
52747
|
|
|
52080
|
-
var mapStateToProps$
|
|
52748
|
+
var mapStateToProps$g = function mapStateToProps(state) {
|
|
52081
52749
|
var _state$paladin$viewpo = state.paladin.viewport,
|
|
52082
52750
|
activeIndex = _state$paladin$viewpo.activeIndex,
|
|
52083
52751
|
linkSeriesIndex = _state$paladin$viewpo.linkSeriesIndex,
|
|
@@ -52111,7 +52779,7 @@ var mapStateToProps$f = function mapStateToProps(state) {
|
|
|
52111
52779
|
};
|
|
52112
52780
|
};
|
|
52113
52781
|
|
|
52114
|
-
var mergeProps$
|
|
52782
|
+
var mergeProps$f = function mergeProps(propsFromState, propsFromDispatch, ownProps) {
|
|
52115
52783
|
var linkSeriesIndex = propsFromState.linkSeriesIndex,
|
|
52116
52784
|
linkSynchronizer = propsFromState.linkSynchronizer,
|
|
52117
52785
|
linkScrollSynchronizer = propsFromState.linkScrollSynchronizer,
|
|
@@ -52143,7 +52811,7 @@ var mergeProps$e = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
52143
52811
|
var startIndex = col * currentScrollLine;
|
|
52144
52812
|
var endIndex = startIndex + col * row;
|
|
52145
52813
|
var currentLayoutSeries = series.slice(startIndex, endIndex);
|
|
52146
|
-
return _objectSpread$
|
|
52814
|
+
return _objectSpread$C(_objectSpread$C(_objectSpread$C(_objectSpread$C({}, ownProps), propsFromState), propsFromDispatch), {}, {
|
|
52147
52815
|
series: currentLayoutSeries,
|
|
52148
52816
|
seriesTotalCount: series.length,
|
|
52149
52817
|
row: row,
|
|
@@ -52354,7 +53022,7 @@ var mergeProps$e = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
52354
53022
|
});
|
|
52355
53023
|
};
|
|
52356
53024
|
|
|
52357
|
-
var ConnectedDicomLayout = reactRedux.connect(mapStateToProps$
|
|
53025
|
+
var ConnectedDicomLayout = reactRedux.connect(mapStateToProps$g, {
|
|
52358
53026
|
setActiveIndex: setActiveIndex,
|
|
52359
53027
|
setCurrentSeries: setCurrentSeries,
|
|
52360
53028
|
setSeries: setSeries,
|
|
@@ -52364,8 +53032,8 @@ var ConnectedDicomLayout = reactRedux.connect(mapStateToProps$f, {
|
|
|
52364
53032
|
setLinkSeries: setLinkSeries,
|
|
52365
53033
|
openOnePickLayout: openOnePickLayout,
|
|
52366
53034
|
closeOnePickLayout: closeOnePickLayout
|
|
52367
|
-
}, mergeProps$
|
|
52368
|
-
var _default$
|
|
53035
|
+
}, mergeProps$f)(DicomLayout);
|
|
53036
|
+
var _default$15 = ConnectedDicomLayout;
|
|
52369
53037
|
|
|
52370
53038
|
(function () {
|
|
52371
53039
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -52374,10 +53042,10 @@ var _default$14 = ConnectedDicomLayout;
|
|
|
52374
53042
|
return;
|
|
52375
53043
|
}
|
|
52376
53044
|
|
|
52377
|
-
reactHotLoader.register(mapStateToProps$
|
|
52378
|
-
reactHotLoader.register(mergeProps$
|
|
53045
|
+
reactHotLoader.register(mapStateToProps$g, "mapStateToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomLayout.js");
|
|
53046
|
+
reactHotLoader.register(mergeProps$f, "mergeProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomLayout.js");
|
|
52379
53047
|
reactHotLoader.register(ConnectedDicomLayout, "ConnectedDicomLayout", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomLayout.js");
|
|
52380
|
-
reactHotLoader.register(_default$
|
|
53048
|
+
reactHotLoader.register(_default$15, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomLayout.js");
|
|
52381
53049
|
})();
|
|
52382
53050
|
|
|
52383
53051
|
(function () {
|
|
@@ -52390,11 +53058,11 @@ var _default$14 = ConnectedDicomLayout;
|
|
|
52390
53058
|
enterModule && enterModule(module);
|
|
52391
53059
|
})();
|
|
52392
53060
|
|
|
52393
|
-
function ownKeys$
|
|
53061
|
+
function ownKeys$C(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; }
|
|
52394
53062
|
|
|
52395
|
-
function _objectSpread$
|
|
53063
|
+
function _objectSpread$D(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$C(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$C(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
52396
53064
|
|
|
52397
|
-
var __signature__$
|
|
53065
|
+
var __signature__$3d = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
52398
53066
|
return a;
|
|
52399
53067
|
};
|
|
52400
53068
|
/**
|
|
@@ -52402,7 +53070,7 @@ var __signature__$3a = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoa
|
|
|
52402
53070
|
*
|
|
52403
53071
|
*/
|
|
52404
53072
|
|
|
52405
|
-
var mapStateToProps$
|
|
53073
|
+
var mapStateToProps$h = function mapStateToProps(state) {
|
|
52406
53074
|
var _state$paladin$viewpo = state.paladin.viewport,
|
|
52407
53075
|
imageActiveIndex = _state$paladin$viewpo.imageActiveIndex,
|
|
52408
53076
|
currentSeries = _state$paladin$viewpo.currentSeries,
|
|
@@ -52467,7 +53135,7 @@ var mapDispatchToProps$4 = function mapDispatchToProps(dispatch) {
|
|
|
52467
53135
|
};
|
|
52468
53136
|
};
|
|
52469
53137
|
|
|
52470
|
-
var mergeProps$
|
|
53138
|
+
var mergeProps$g = function mergeProps(propsFromState, propsFromDispatch, ownProps) {
|
|
52471
53139
|
var currentSeries = propsFromState.currentSeries,
|
|
52472
53140
|
imageActiveIndex = propsFromState.imageActiveIndex,
|
|
52473
53141
|
linkImageIndex = propsFromState.linkImageIndex,
|
|
@@ -52501,7 +53169,7 @@ var mergeProps$f = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
52501
53169
|
};
|
|
52502
53170
|
});
|
|
52503
53171
|
var showVerticalScroll = series && series.length / col > row;
|
|
52504
|
-
return _objectSpread$
|
|
53172
|
+
return _objectSpread$D(_objectSpread$D(_objectSpread$D(_objectSpread$D({}, ownProps), propsFromState), propsFromDispatch), {}, {
|
|
52505
53173
|
currentScrollLine: currentScrollLineImage,
|
|
52506
53174
|
series: series,
|
|
52507
53175
|
activeIndex: imageActiveIndex,
|
|
@@ -52631,8 +53299,8 @@ var mergeProps$f = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
52631
53299
|
});
|
|
52632
53300
|
};
|
|
52633
53301
|
|
|
52634
|
-
var ConnectedDicomImageModeLayout = reactRedux.connect(mapStateToProps$
|
|
52635
|
-
var _default$
|
|
53302
|
+
var ConnectedDicomImageModeLayout = reactRedux.connect(mapStateToProps$h, mapDispatchToProps$4, mergeProps$g)(DicomLayout);
|
|
53303
|
+
var _default$16 = ConnectedDicomImageModeLayout;
|
|
52636
53304
|
|
|
52637
53305
|
(function () {
|
|
52638
53306
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -52641,11 +53309,11 @@ var _default$15 = ConnectedDicomImageModeLayout;
|
|
|
52641
53309
|
return;
|
|
52642
53310
|
}
|
|
52643
53311
|
|
|
52644
|
-
reactHotLoader.register(mapStateToProps$
|
|
53312
|
+
reactHotLoader.register(mapStateToProps$h, "mapStateToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomImageModeLayout.js");
|
|
52645
53313
|
reactHotLoader.register(mapDispatchToProps$4, "mapDispatchToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomImageModeLayout.js");
|
|
52646
|
-
reactHotLoader.register(mergeProps$
|
|
53314
|
+
reactHotLoader.register(mergeProps$g, "mergeProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomImageModeLayout.js");
|
|
52647
53315
|
reactHotLoader.register(ConnectedDicomImageModeLayout, "ConnectedDicomImageModeLayout", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomImageModeLayout.js");
|
|
52648
|
-
reactHotLoader.register(_default$
|
|
53316
|
+
reactHotLoader.register(_default$16, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomImageModeLayout.js");
|
|
52649
53317
|
})();
|
|
52650
53318
|
|
|
52651
53319
|
(function () {
|
|
@@ -52653,26 +53321,26 @@ var _default$15 = ConnectedDicomImageModeLayout;
|
|
|
52653
53321
|
leaveModule && leaveModule(module);
|
|
52654
53322
|
})();
|
|
52655
53323
|
|
|
52656
|
-
var css_248z$
|
|
52657
|
-
styleInject$1(css_248z$
|
|
53324
|
+
var css_248z$r = ".paladin-dicom-layout {\n display: flex;\n flex-wrap: wrap;\n height: 100%;\n flex: 1;\n}\n.paladin-dicom-layout-warp {\n display: flex;\n flex: 1;\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n";
|
|
53325
|
+
styleInject$1(css_248z$r);
|
|
52658
53326
|
|
|
52659
53327
|
(function () {
|
|
52660
53328
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
52661
53329
|
enterModule && enterModule(module);
|
|
52662
53330
|
})();
|
|
52663
53331
|
|
|
52664
|
-
function _createSuper$
|
|
53332
|
+
function _createSuper$1j(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1j(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
52665
53333
|
|
|
52666
|
-
function _isNativeReflectConstruct$
|
|
53334
|
+
function _isNativeReflectConstruct$1j() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
52667
53335
|
|
|
52668
|
-
var __signature__$
|
|
53336
|
+
var __signature__$3e = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
52669
53337
|
return a;
|
|
52670
53338
|
};
|
|
52671
53339
|
|
|
52672
53340
|
var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
52673
53341
|
inherits(SurgeryLayout, _Component);
|
|
52674
53342
|
|
|
52675
|
-
var _super = _createSuper$
|
|
53343
|
+
var _super = _createSuper$1j(SurgeryLayout);
|
|
52676
53344
|
|
|
52677
53345
|
function SurgeryLayout(props) {
|
|
52678
53346
|
var _this;
|
|
@@ -53030,12 +53698,11 @@ var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
|
53030
53698
|
break;
|
|
53031
53699
|
|
|
53032
53700
|
case 12:
|
|
53033
|
-
|
|
53034
|
-
_context2.next = 19;
|
|
53701
|
+
_context2.next = 18;
|
|
53035
53702
|
break;
|
|
53036
53703
|
|
|
53037
|
-
case
|
|
53038
|
-
_context2.prev =
|
|
53704
|
+
case 14:
|
|
53705
|
+
_context2.prev = 14;
|
|
53039
53706
|
_context2.t0 = _context2["catch"](3);
|
|
53040
53707
|
processing && this.setState({
|
|
53041
53708
|
processingMessage: "\u56FE\u50CF\u52A0\u8F7D\u5931\u8D25: ".concat(_context2.t0.message || '未知错误'),
|
|
@@ -53043,7 +53710,10 @@ var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
|
53043
53710
|
});
|
|
53044
53711
|
return _context2.abrupt("return");
|
|
53045
53712
|
|
|
53046
|
-
case
|
|
53713
|
+
case 18:
|
|
53714
|
+
// 能进入到这个组件中的已经默认是符合前期条件+选择了继续重建的,所以做一遍filter
|
|
53715
|
+
this.instanceImages = filterRebuildImages(instanceImages);
|
|
53716
|
+
|
|
53047
53717
|
if (processing) {
|
|
53048
53718
|
_context2.next = 23;
|
|
53049
53719
|
break;
|
|
@@ -53070,7 +53740,7 @@ var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
|
53070
53740
|
return _context2.stop();
|
|
53071
53741
|
}
|
|
53072
53742
|
}
|
|
53073
|
-
}, _callee2, this, [[3,
|
|
53743
|
+
}, _callee2, this, [[3, 14]]);
|
|
53074
53744
|
}));
|
|
53075
53745
|
|
|
53076
53746
|
function componentDidMount() {
|
|
@@ -53120,7 +53790,7 @@ var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
|
53120
53790
|
getCacheViewport = _this$props.getCacheViewport,
|
|
53121
53791
|
onSyncOpen = _this$props.onSyncOpen; // 横断面
|
|
53122
53792
|
|
|
53123
|
-
var transverseEle = /*#__PURE__*/React__default.createElement(_default$
|
|
53793
|
+
var transverseEle = /*#__PURE__*/React__default.createElement(_default$14, {
|
|
53124
53794
|
stack: transverseStack,
|
|
53125
53795
|
width: '50%',
|
|
53126
53796
|
index: 0,
|
|
@@ -53137,7 +53807,7 @@ var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
|
53137
53807
|
availableToolsConfig: this.availableToolsConfig
|
|
53138
53808
|
}); // 正矢状面
|
|
53139
53809
|
|
|
53140
|
-
var sagittalEle = /*#__PURE__*/React__default.createElement(_default$
|
|
53810
|
+
var sagittalEle = /*#__PURE__*/React__default.createElement(_default$14, {
|
|
53141
53811
|
stack: sagittalStack,
|
|
53142
53812
|
key: 'Sagittal',
|
|
53143
53813
|
width: '50%',
|
|
@@ -53164,7 +53834,7 @@ var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
|
53164
53834
|
direction: direction
|
|
53165
53835
|
}); // 正冠
|
|
53166
53836
|
|
|
53167
|
-
var coronalEle = /*#__PURE__*/React__default.createElement(_default$
|
|
53837
|
+
var coronalEle = /*#__PURE__*/React__default.createElement(_default$14, {
|
|
53168
53838
|
stack: coronalStack,
|
|
53169
53839
|
key: 'Coronal',
|
|
53170
53840
|
width: '50%',
|
|
@@ -53191,7 +53861,7 @@ var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
|
53191
53861
|
direction: direction
|
|
53192
53862
|
}); // 斜矢状面
|
|
53193
53863
|
|
|
53194
|
-
var slantSagittalEle = /*#__PURE__*/React__default.createElement(_default$
|
|
53864
|
+
var slantSagittalEle = /*#__PURE__*/React__default.createElement(_default$14, {
|
|
53195
53865
|
stack: slantSagittalStack,
|
|
53196
53866
|
key: 'SlantSagittal',
|
|
53197
53867
|
width: '50%',
|
|
@@ -53218,7 +53888,7 @@ var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
|
53218
53888
|
direction: slantDirection
|
|
53219
53889
|
}); // 斜冠状面
|
|
53220
53890
|
|
|
53221
|
-
var slantCoronalEle = /*#__PURE__*/React__default.createElement(_default$
|
|
53891
|
+
var slantCoronalEle = /*#__PURE__*/React__default.createElement(_default$14, {
|
|
53222
53892
|
stack: slantCoronalStack,
|
|
53223
53893
|
key: 'SlantCoronal',
|
|
53224
53894
|
width: '50%',
|
|
@@ -53245,7 +53915,7 @@ var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
|
53245
53915
|
direction: slantDirection
|
|
53246
53916
|
}); // 容积横断面
|
|
53247
53917
|
|
|
53248
|
-
var volumeTransverseEle = /*#__PURE__*/React__default.createElement(_default$
|
|
53918
|
+
var volumeTransverseEle = /*#__PURE__*/React__default.createElement(_default$14, {
|
|
53249
53919
|
stack: volumeTransverseStack,
|
|
53250
53920
|
width: '50%',
|
|
53251
53921
|
index: 3,
|
|
@@ -53264,7 +53934,7 @@ var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
|
53264
53934
|
directionToggle: this.volumnDirectionToggle
|
|
53265
53935
|
}); // 容积矢状面
|
|
53266
53936
|
|
|
53267
|
-
var volumeSagittalEle = /*#__PURE__*/React__default.createElement(_default$
|
|
53937
|
+
var volumeSagittalEle = /*#__PURE__*/React__default.createElement(_default$14, {
|
|
53268
53938
|
stack: volumeSagittalStack,
|
|
53269
53939
|
width: '50%',
|
|
53270
53940
|
index: 3,
|
|
@@ -53283,7 +53953,7 @@ var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
|
53283
53953
|
directionToggle: this.volumnDirectionToggle
|
|
53284
53954
|
}); // 容积冠状面
|
|
53285
53955
|
|
|
53286
|
-
var volumeCoronalEle = /*#__PURE__*/React__default.createElement(_default$
|
|
53956
|
+
var volumeCoronalEle = /*#__PURE__*/React__default.createElement(_default$14, {
|
|
53287
53957
|
stack: volumeCoronalStack,
|
|
53288
53958
|
width: '50%',
|
|
53289
53959
|
index: 3,
|
|
@@ -53354,15 +54024,15 @@ defineProperty(SurgeryLayout, "propTypes", {});
|
|
|
53354
54024
|
enterModule && enterModule(module);
|
|
53355
54025
|
})();
|
|
53356
54026
|
|
|
53357
|
-
function ownKeys$
|
|
54027
|
+
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; }
|
|
53358
54028
|
|
|
53359
|
-
function _objectSpread$
|
|
54029
|
+
function _objectSpread$E(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; }
|
|
53360
54030
|
|
|
53361
|
-
var __signature__$
|
|
54031
|
+
var __signature__$3f = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
53362
54032
|
return a;
|
|
53363
54033
|
};
|
|
53364
54034
|
|
|
53365
|
-
var mapStateToProps$
|
|
54035
|
+
var mapStateToProps$i = function mapStateToProps(state) {
|
|
53366
54036
|
var _state$paladin$viewpo = state.paladin.viewport,
|
|
53367
54037
|
currentSeries = _state$paladin$viewpo.currentSeries,
|
|
53368
54038
|
surgeryActiveIndex = _state$paladin$viewpo.surgeryActiveIndex,
|
|
@@ -53378,8 +54048,8 @@ var mapStateToProps$h = function mapStateToProps(state) {
|
|
|
53378
54048
|
};
|
|
53379
54049
|
};
|
|
53380
54050
|
|
|
53381
|
-
var mergeProps$
|
|
53382
|
-
return _objectSpread$
|
|
54051
|
+
var mergeProps$h = function mergeProps(propsFromState, propsFromDispatch, ownProps) {
|
|
54052
|
+
return _objectSpread$E(_objectSpread$E(_objectSpread$E({}, propsFromState), ownProps), {}, {
|
|
53383
54053
|
onViewPortCellClick: function onViewPortCellClick() {
|
|
53384
54054
|
propsFromDispatch.setSurgeryActiveIndex.apply(propsFromDispatch, arguments);
|
|
53385
54055
|
},
|
|
@@ -53398,10 +54068,10 @@ var mergeProps$g = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
53398
54068
|
});
|
|
53399
54069
|
};
|
|
53400
54070
|
|
|
53401
|
-
var ConnectedSurgeryLayout = reactRedux.connect(mapStateToProps$
|
|
54071
|
+
var ConnectedSurgeryLayout = reactRedux.connect(mapStateToProps$i, {
|
|
53402
54072
|
setSurgeryActiveIndex: setSurgeryActiveIndex
|
|
53403
|
-
}, mergeProps$
|
|
53404
|
-
var _default$
|
|
54073
|
+
}, mergeProps$h)(SurgeryLayout);
|
|
54074
|
+
var _default$17 = ConnectedSurgeryLayout;
|
|
53405
54075
|
|
|
53406
54076
|
(function () {
|
|
53407
54077
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -53410,10 +54080,10 @@ var _default$16 = ConnectedSurgeryLayout;
|
|
|
53410
54080
|
return;
|
|
53411
54081
|
}
|
|
53412
54082
|
|
|
53413
|
-
reactHotLoader.register(mapStateToProps$
|
|
53414
|
-
reactHotLoader.register(mergeProps$
|
|
54083
|
+
reactHotLoader.register(mapStateToProps$i, "mapStateToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/Surgery/ConnectedSurgeryLayout.js");
|
|
54084
|
+
reactHotLoader.register(mergeProps$h, "mergeProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/Surgery/ConnectedSurgeryLayout.js");
|
|
53415
54085
|
reactHotLoader.register(ConnectedSurgeryLayout, "ConnectedSurgeryLayout", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/Surgery/ConnectedSurgeryLayout.js");
|
|
53416
|
-
reactHotLoader.register(_default$
|
|
54086
|
+
reactHotLoader.register(_default$17, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/Surgery/ConnectedSurgeryLayout.js");
|
|
53417
54087
|
})();
|
|
53418
54088
|
|
|
53419
54089
|
(function () {
|
|
@@ -53421,29 +54091,29 @@ var _default$16 = ConnectedSurgeryLayout;
|
|
|
53421
54091
|
leaveModule && leaveModule(module);
|
|
53422
54092
|
})();
|
|
53423
54093
|
|
|
53424
|
-
var css_248z$
|
|
53425
|
-
styleInject$1(css_248z$r);
|
|
53426
|
-
|
|
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";
|
|
54094
|
+
var css_248z$s = ".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";
|
|
53428
54095
|
styleInject$1(css_248z$s);
|
|
53429
54096
|
|
|
54097
|
+
var css_248z$t = ".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";
|
|
54098
|
+
styleInject$1(css_248z$t);
|
|
54099
|
+
|
|
53430
54100
|
(function () {
|
|
53431
54101
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
53432
54102
|
enterModule && enterModule(module);
|
|
53433
54103
|
})();
|
|
53434
54104
|
|
|
53435
|
-
function _createSuper$
|
|
54105
|
+
function _createSuper$1k(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1k(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
53436
54106
|
|
|
53437
|
-
function _isNativeReflectConstruct$
|
|
54107
|
+
function _isNativeReflectConstruct$1k() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
53438
54108
|
|
|
53439
|
-
var __signature__$
|
|
54109
|
+
var __signature__$3g = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
53440
54110
|
return a;
|
|
53441
54111
|
};
|
|
53442
54112
|
|
|
53443
54113
|
var ThreeDLayout = /*#__PURE__*/function (_Component) {
|
|
53444
54114
|
inherits(ThreeDLayout, _Component);
|
|
53445
54115
|
|
|
53446
|
-
var _super = _createSuper$
|
|
54116
|
+
var _super = _createSuper$1k(ThreeDLayout);
|
|
53447
54117
|
|
|
53448
54118
|
function ThreeDLayout(props) {
|
|
53449
54119
|
var _this;
|
|
@@ -53665,18 +54335,21 @@ var ThreeDLayout = /*#__PURE__*/function (_Component) {
|
|
|
53665
54335
|
return _context2.abrupt("return");
|
|
53666
54336
|
|
|
53667
54337
|
case 18:
|
|
54338
|
+
// 能进入到这个组件中的已经默认是符合前期条件+选择了继续重建的,所以做一遍filter
|
|
54339
|
+
instanceImages = filterRebuildImages(instanceImages);
|
|
54340
|
+
|
|
53668
54341
|
if (processing) {
|
|
53669
|
-
_context2.next =
|
|
54342
|
+
_context2.next = 23;
|
|
53670
54343
|
break;
|
|
53671
54344
|
}
|
|
53672
54345
|
|
|
53673
|
-
_context2.next =
|
|
54346
|
+
_context2.next = 22;
|
|
53674
54347
|
return this.initMPR(currentSeries, instanceImages);
|
|
53675
54348
|
|
|
53676
|
-
case
|
|
54349
|
+
case 22:
|
|
53677
54350
|
return _context2.abrupt("return");
|
|
53678
54351
|
|
|
53679
|
-
case
|
|
54352
|
+
case 23:
|
|
53680
54353
|
this.setState({
|
|
53681
54354
|
processingMessage: "\u6B63\u5728\u5904\u7406\u56FE\u50CF...",
|
|
53682
54355
|
error: null
|
|
@@ -53686,7 +54359,7 @@ var ThreeDLayout = /*#__PURE__*/function (_Component) {
|
|
|
53686
54359
|
}, 50);
|
|
53687
54360
|
});
|
|
53688
54361
|
|
|
53689
|
-
case
|
|
54362
|
+
case 24:
|
|
53690
54363
|
case "end":
|
|
53691
54364
|
return _context2.stop();
|
|
53692
54365
|
}
|
|
@@ -53736,7 +54409,7 @@ var ThreeDLayout = /*#__PURE__*/function (_Component) {
|
|
|
53736
54409
|
var sagittalIndex = mprPerspective === ImagePlanDirection.Transverse ? 1 : mprPerspective === ImagePlanDirection.Sagittal ? 0 : 2;
|
|
53737
54410
|
var coronalIndex = mprPerspective === ImagePlanDirection.Transverse ? 2 : mprPerspective === ImagePlanDirection.Sagittal ? 1 : 0; // 横断面
|
|
53738
54411
|
|
|
53739
|
-
var transverseEle = /*#__PURE__*/React__default.createElement(_default$
|
|
54412
|
+
var transverseEle = /*#__PURE__*/React__default.createElement(_default$14, {
|
|
53740
54413
|
stack: transverseStack,
|
|
53741
54414
|
index: transverseIndex,
|
|
53742
54415
|
showOverlayText: showOverlayText,
|
|
@@ -53752,7 +54425,7 @@ var ThreeDLayout = /*#__PURE__*/function (_Component) {
|
|
|
53752
54425
|
availableToolsConfig: this.availableToolsConfig
|
|
53753
54426
|
}); // 矢状面
|
|
53754
54427
|
|
|
53755
|
-
var sagittalEle = /*#__PURE__*/React__default.createElement(_default$
|
|
54428
|
+
var sagittalEle = /*#__PURE__*/React__default.createElement(_default$14, {
|
|
53756
54429
|
stack: sagittalStack,
|
|
53757
54430
|
index: sagittalIndex,
|
|
53758
54431
|
showOverlayText: showOverlayText,
|
|
@@ -53768,7 +54441,7 @@ var ThreeDLayout = /*#__PURE__*/function (_Component) {
|
|
|
53768
54441
|
availableToolsConfig: this.availableToolsConfig
|
|
53769
54442
|
}); // 冠状面
|
|
53770
54443
|
|
|
53771
|
-
var coronalEle = /*#__PURE__*/React__default.createElement(_default$
|
|
54444
|
+
var coronalEle = /*#__PURE__*/React__default.createElement(_default$14, {
|
|
53772
54445
|
stack: coronalStack,
|
|
53773
54446
|
index: coronalIndex,
|
|
53774
54447
|
showOverlayText: showOverlayText,
|
|
@@ -53876,15 +54549,15 @@ defineProperty(ThreeDLayout, "propTypes", {});
|
|
|
53876
54549
|
enterModule && enterModule(module);
|
|
53877
54550
|
})();
|
|
53878
54551
|
|
|
53879
|
-
function ownKeys$
|
|
54552
|
+
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; }
|
|
53880
54553
|
|
|
53881
|
-
function _objectSpread$
|
|
54554
|
+
function _objectSpread$F(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; }
|
|
53882
54555
|
|
|
53883
|
-
var __signature__$
|
|
54556
|
+
var __signature__$3h = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
53884
54557
|
return a;
|
|
53885
54558
|
};
|
|
53886
54559
|
|
|
53887
|
-
var mapStateToProps$
|
|
54560
|
+
var mapStateToProps$j = function mapStateToProps(state) {
|
|
53888
54561
|
var _state$paladin$viewpo = state.paladin.viewport,
|
|
53889
54562
|
currentSeries = _state$paladin$viewpo.currentSeries,
|
|
53890
54563
|
mprActiveIndex = _state$paladin$viewpo.mprActiveIndex,
|
|
@@ -53900,8 +54573,8 @@ var mapStateToProps$i = function mapStateToProps(state) {
|
|
|
53900
54573
|
};
|
|
53901
54574
|
};
|
|
53902
54575
|
|
|
53903
|
-
var mergeProps$
|
|
53904
|
-
return _objectSpread$
|
|
54576
|
+
var mergeProps$i = function mergeProps(propsFromState, propsFromDispatch, ownProps) {
|
|
54577
|
+
return _objectSpread$F(_objectSpread$F(_objectSpread$F({}, propsFromState), ownProps), {}, {
|
|
53905
54578
|
onViewPortCellClick: function onViewPortCellClick() {
|
|
53906
54579
|
propsFromDispatch.setMprActiveIndex.apply(propsFromDispatch, arguments);
|
|
53907
54580
|
},
|
|
@@ -53917,10 +54590,10 @@ var mergeProps$h = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
53917
54590
|
});
|
|
53918
54591
|
};
|
|
53919
54592
|
|
|
53920
|
-
var ConnectedMPRLayout = reactRedux.connect(mapStateToProps$
|
|
54593
|
+
var ConnectedMPRLayout = reactRedux.connect(mapStateToProps$j, {
|
|
53921
54594
|
setMprActiveIndex: setMprActiveIndex
|
|
53922
|
-
}, mergeProps$
|
|
53923
|
-
var _default$
|
|
54595
|
+
}, mergeProps$i)(ThreeDLayout);
|
|
54596
|
+
var _default$18 = ConnectedMPRLayout;
|
|
53924
54597
|
|
|
53925
54598
|
(function () {
|
|
53926
54599
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -53929,10 +54602,10 @@ var _default$17 = ConnectedMPRLayout;
|
|
|
53929
54602
|
return;
|
|
53930
54603
|
}
|
|
53931
54604
|
|
|
53932
|
-
reactHotLoader.register(mapStateToProps$
|
|
53933
|
-
reactHotLoader.register(mergeProps$
|
|
54605
|
+
reactHotLoader.register(mapStateToProps$j, "mapStateToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/3DLayout/Connected3DLayout.js");
|
|
54606
|
+
reactHotLoader.register(mergeProps$i, "mergeProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/3DLayout/Connected3DLayout.js");
|
|
53934
54607
|
reactHotLoader.register(ConnectedMPRLayout, "ConnectedMPRLayout", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/3DLayout/Connected3DLayout.js");
|
|
53935
|
-
reactHotLoader.register(_default$
|
|
54608
|
+
reactHotLoader.register(_default$18, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/3DLayout/Connected3DLayout.js");
|
|
53936
54609
|
})();
|
|
53937
54610
|
|
|
53938
54611
|
(function () {
|
|
@@ -53951,18 +54624,18 @@ function _unsupportedIterableToArray$e(o, minLen) { if (!o) return; if (typeof o
|
|
|
53951
54624
|
|
|
53952
54625
|
function _arrayLikeToArray$e(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
53953
54626
|
|
|
53954
|
-
function _createSuper$
|
|
54627
|
+
function _createSuper$1l(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1l(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
53955
54628
|
|
|
53956
|
-
function _isNativeReflectConstruct$
|
|
54629
|
+
function _isNativeReflectConstruct$1l() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
53957
54630
|
|
|
53958
|
-
var __signature__$
|
|
54631
|
+
var __signature__$3i = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
53959
54632
|
return a;
|
|
53960
54633
|
};
|
|
53961
54634
|
|
|
53962
54635
|
var ThreeDLayout$1 = /*#__PURE__*/function (_Component) {
|
|
53963
54636
|
inherits(ThreeDLayout, _Component);
|
|
53964
54637
|
|
|
53965
|
-
var _super = _createSuper$
|
|
54638
|
+
var _super = _createSuper$1l(ThreeDLayout);
|
|
53966
54639
|
|
|
53967
54640
|
function ThreeDLayout(props) {
|
|
53968
54641
|
var _this;
|
|
@@ -54125,6 +54798,8 @@ var ThreeDLayout$1 = /*#__PURE__*/function (_Component) {
|
|
|
54125
54798
|
instanceImages[i] = _context2.sent;
|
|
54126
54799
|
|
|
54127
54800
|
if (i === currentSeries.imageIds.length - 1) {
|
|
54801
|
+
// 能进入到这个组件中的已经默认是符合前期条件+选择了继续重建的,所以做一遍filter
|
|
54802
|
+
instanceImages = filterRebuildImages(instanceImages);
|
|
54128
54803
|
this.setState({
|
|
54129
54804
|
processingMessage: "\u6B63\u5728\u5904\u7406\u56FE\u50CF...",
|
|
54130
54805
|
instanceImages: instanceImages,
|
|
@@ -54208,7 +54883,7 @@ var ThreeDLayout$1 = /*#__PURE__*/function (_Component) {
|
|
|
54208
54883
|
id: 'vrContainer'
|
|
54209
54884
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
54210
54885
|
className: " paladin-three-width-50"
|
|
54211
|
-
}, instanceImages && /*#__PURE__*/React__default.createElement(_default$
|
|
54886
|
+
}, instanceImages && /*#__PURE__*/React__default.createElement(_default$18, {
|
|
54212
54887
|
VR: true,
|
|
54213
54888
|
showProcessing: false
|
|
54214
54889
|
}))) : /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -54218,7 +54893,7 @@ var ThreeDLayout$1 = /*#__PURE__*/function (_Component) {
|
|
|
54218
54893
|
id: 'vrContainer'
|
|
54219
54894
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
54220
54895
|
className: " paladin-three-height-50"
|
|
54221
|
-
}, instanceImages && /*#__PURE__*/React__default.createElement(_default$
|
|
54896
|
+
}, instanceImages && /*#__PURE__*/React__default.createElement(_default$18, {
|
|
54222
54897
|
VR: true,
|
|
54223
54898
|
showProcessing: false
|
|
54224
54899
|
}))));
|
|
@@ -54257,29 +54932,27 @@ defineProperty(ThreeDLayout$1, "propTypes", {});
|
|
|
54257
54932
|
enterModule && enterModule(module);
|
|
54258
54933
|
})();
|
|
54259
54934
|
|
|
54260
|
-
function ownKeys$
|
|
54935
|
+
function ownKeys$F(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; }
|
|
54261
54936
|
|
|
54262
|
-
function _objectSpread$
|
|
54937
|
+
function _objectSpread$G(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$F(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$F(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
54263
54938
|
|
|
54264
|
-
var __signature__$
|
|
54939
|
+
var __signature__$3j = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
54265
54940
|
return a;
|
|
54266
54941
|
};
|
|
54267
54942
|
|
|
54268
|
-
var mapStateToProps$
|
|
54269
|
-
var
|
|
54270
|
-
series = _state$paladin$viewpo.series,
|
|
54271
|
-
activeIndex = _state$paladin$viewpo.activeIndex;
|
|
54943
|
+
var mapStateToProps$k = function mapStateToProps(state) {
|
|
54944
|
+
var currentSeries = state.paladin.viewport.currentSeries;
|
|
54272
54945
|
return {
|
|
54273
|
-
currentSeries:
|
|
54946
|
+
currentSeries: currentSeries
|
|
54274
54947
|
};
|
|
54275
54948
|
};
|
|
54276
54949
|
|
|
54277
|
-
var mergeProps$
|
|
54278
|
-
return _objectSpread$
|
|
54950
|
+
var mergeProps$j = function mergeProps(propsFromState, propsFromDispatch, ownProps) {
|
|
54951
|
+
return _objectSpread$G(_objectSpread$G({}, propsFromState), ownProps);
|
|
54279
54952
|
};
|
|
54280
54953
|
|
|
54281
|
-
var ConnectedVR = reactRedux.connect(mapStateToProps$
|
|
54282
|
-
var _default$
|
|
54954
|
+
var ConnectedVR = reactRedux.connect(mapStateToProps$k, {}, mergeProps$j)(ThreeDLayout$1);
|
|
54955
|
+
var _default$19 = ConnectedVR;
|
|
54283
54956
|
|
|
54284
54957
|
(function () {
|
|
54285
54958
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -54288,10 +54961,10 @@ var _default$18 = ConnectedVR;
|
|
|
54288
54961
|
return;
|
|
54289
54962
|
}
|
|
54290
54963
|
|
|
54291
|
-
reactHotLoader.register(mapStateToProps$
|
|
54292
|
-
reactHotLoader.register(mergeProps$
|
|
54964
|
+
reactHotLoader.register(mapStateToProps$k, "mapStateToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/3DLayout/ConnectedVR.js");
|
|
54965
|
+
reactHotLoader.register(mergeProps$j, "mergeProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/3DLayout/ConnectedVR.js");
|
|
54293
54966
|
reactHotLoader.register(ConnectedVR, "ConnectedVR", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/3DLayout/ConnectedVR.js");
|
|
54294
|
-
reactHotLoader.register(_default$
|
|
54967
|
+
reactHotLoader.register(_default$19, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/3DLayout/ConnectedVR.js");
|
|
54295
54968
|
})();
|
|
54296
54969
|
|
|
54297
54970
|
(function () {
|
|
@@ -54304,18 +54977,18 @@ var _default$18 = ConnectedVR;
|
|
|
54304
54977
|
enterModule && enterModule(module);
|
|
54305
54978
|
})();
|
|
54306
54979
|
|
|
54307
|
-
function _createSuper$
|
|
54980
|
+
function _createSuper$1m(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1m(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
54308
54981
|
|
|
54309
|
-
function _isNativeReflectConstruct$
|
|
54982
|
+
function _isNativeReflectConstruct$1m() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
54310
54983
|
|
|
54311
|
-
var __signature__$
|
|
54984
|
+
var __signature__$3k = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
54312
54985
|
return a;
|
|
54313
54986
|
};
|
|
54314
54987
|
|
|
54315
54988
|
var MIPLayout = /*#__PURE__*/function (_Component) {
|
|
54316
54989
|
inherits(MIPLayout, _Component);
|
|
54317
54990
|
|
|
54318
|
-
var _super = _createSuper$
|
|
54991
|
+
var _super = _createSuper$1m(MIPLayout);
|
|
54319
54992
|
|
|
54320
54993
|
function MIPLayout(props) {
|
|
54321
54994
|
var _this;
|
|
@@ -54441,6 +55114,8 @@ var MIPLayout = /*#__PURE__*/function (_Component) {
|
|
|
54441
55114
|
instanceImages[i] = _context2.sent;
|
|
54442
55115
|
|
|
54443
55116
|
if (i === currentSeries.imageIds.length - 1) {
|
|
55117
|
+
// 能进入到这个组件中的已经默认是符合前期条件+选择了继续重建的,所以做一遍filter
|
|
55118
|
+
instanceImages = filterRebuildImages(instanceImages);
|
|
54444
55119
|
this.setState({
|
|
54445
55120
|
processingMessage: "\u6B63\u5728\u5904\u7406\u56FE\u50CF...",
|
|
54446
55121
|
instanceImages: instanceImages,
|
|
@@ -54558,31 +55233,29 @@ defineProperty(MIPLayout, "propTypes", {});
|
|
|
54558
55233
|
enterModule && enterModule(module);
|
|
54559
55234
|
})();
|
|
54560
55235
|
|
|
54561
|
-
function ownKeys$
|
|
55236
|
+
function ownKeys$G(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; }
|
|
54562
55237
|
|
|
54563
|
-
function _objectSpread$
|
|
55238
|
+
function _objectSpread$H(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$G(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$G(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
54564
55239
|
|
|
54565
|
-
var __signature__$
|
|
55240
|
+
var __signature__$3l = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
54566
55241
|
return a;
|
|
54567
55242
|
};
|
|
54568
55243
|
|
|
54569
|
-
var mapStateToProps$
|
|
54570
|
-
var
|
|
54571
|
-
series = _state$paladin$viewpo.series,
|
|
54572
|
-
activeIndex = _state$paladin$viewpo.activeIndex;
|
|
55244
|
+
var mapStateToProps$l = function mapStateToProps(state) {
|
|
55245
|
+
var currentSeries = state.paladin.viewport.currentSeries;
|
|
54573
55246
|
return {
|
|
54574
|
-
currentSeries:
|
|
55247
|
+
currentSeries: currentSeries
|
|
54575
55248
|
};
|
|
54576
55249
|
};
|
|
54577
55250
|
|
|
54578
|
-
var mergeProps$
|
|
54579
|
-
return _objectSpread$
|
|
55251
|
+
var mergeProps$k = function mergeProps(propsFromState, propsFromDispatch, ownProps) {
|
|
55252
|
+
return _objectSpread$H(_objectSpread$H(_objectSpread$H({}, propsFromState), propsFromDispatch), ownProps);
|
|
54580
55253
|
};
|
|
54581
55254
|
|
|
54582
|
-
var ConnectedMIP = reactRedux.connect(mapStateToProps$
|
|
55255
|
+
var ConnectedMIP = reactRedux.connect(mapStateToProps$l, {
|
|
54583
55256
|
set3DActiveTool: set3DActiveTool
|
|
54584
|
-
}, mergeProps$
|
|
54585
|
-
var _default$
|
|
55257
|
+
}, mergeProps$k)(MIPLayout);
|
|
55258
|
+
var _default$1a = ConnectedMIP;
|
|
54586
55259
|
|
|
54587
55260
|
(function () {
|
|
54588
55261
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -54591,10 +55264,10 @@ var _default$19 = ConnectedMIP;
|
|
|
54591
55264
|
return;
|
|
54592
55265
|
}
|
|
54593
55266
|
|
|
54594
|
-
reactHotLoader.register(mapStateToProps$
|
|
54595
|
-
reactHotLoader.register(mergeProps$
|
|
55267
|
+
reactHotLoader.register(mapStateToProps$l, "mapStateToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/3DLayout/ConnectedMIP.js");
|
|
55268
|
+
reactHotLoader.register(mergeProps$k, "mergeProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/3DLayout/ConnectedMIP.js");
|
|
54596
55269
|
reactHotLoader.register(ConnectedMIP, "ConnectedMIP", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/3DLayout/ConnectedMIP.js");
|
|
54597
|
-
reactHotLoader.register(_default$
|
|
55270
|
+
reactHotLoader.register(_default$1a, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/3DLayout/ConnectedMIP.js");
|
|
54598
55271
|
})();
|
|
54599
55272
|
|
|
54600
55273
|
(function () {
|
|
@@ -54607,7 +55280,7 @@ var _default$19 = ConnectedMIP;
|
|
|
54607
55280
|
enterModule && enterModule(module);
|
|
54608
55281
|
})();
|
|
54609
55282
|
|
|
54610
|
-
var __signature__$
|
|
55283
|
+
var __signature__$3m = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
54611
55284
|
return a;
|
|
54612
55285
|
};
|
|
54613
55286
|
|
|
@@ -54644,11 +55317,11 @@ function colorMapFix(viewportData) {
|
|
|
54644
55317
|
enterModule && enterModule(module);
|
|
54645
55318
|
})();
|
|
54646
55319
|
|
|
54647
|
-
function ownKeys$
|
|
55320
|
+
function ownKeys$H(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; }
|
|
54648
55321
|
|
|
54649
|
-
function _objectSpread$
|
|
55322
|
+
function _objectSpread$I(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$H(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$H(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
54650
55323
|
|
|
54651
|
-
var __signature__$
|
|
55324
|
+
var __signature__$3n = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
54652
55325
|
return a;
|
|
54653
55326
|
};
|
|
54654
55327
|
/**
|
|
@@ -54656,7 +55329,7 @@ var __signature__$3k = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoa
|
|
|
54656
55329
|
*
|
|
54657
55330
|
*/
|
|
54658
55331
|
|
|
54659
|
-
var mapStateToProps$
|
|
55332
|
+
var mapStateToProps$m = function mapStateToProps(state) {
|
|
54660
55333
|
var _state$paladin$viewpo = state.paladin.viewport,
|
|
54661
55334
|
imageActiveIndex = _state$paladin$viewpo.imageActiveIndex,
|
|
54662
55335
|
linkImageIndex = _state$paladin$viewpo.linkImageIndex,
|
|
@@ -54719,7 +55392,7 @@ var mapDispatchToProps$5 = function mapDispatchToProps(dispatch) {
|
|
|
54719
55392
|
};
|
|
54720
55393
|
};
|
|
54721
55394
|
|
|
54722
|
-
var mergeProps$
|
|
55395
|
+
var mergeProps$l = function mergeProps(propsFromState, propsFromDispatch, ownProps) {
|
|
54723
55396
|
var imageActiveIndex = propsFromState.imageActiveIndex,
|
|
54724
55397
|
linkImageIndex = propsFromState.linkImageIndex,
|
|
54725
55398
|
activeIndex = propsFromState.activeIndex,
|
|
@@ -54754,7 +55427,7 @@ var mergeProps$k = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
54754
55427
|
var endIndex = startIndex + onePageCount;
|
|
54755
55428
|
var series = allSeries.slice(startIndex, endIndex);
|
|
54756
55429
|
var showVerticalScroll = series && series.length / col > row;
|
|
54757
|
-
return _objectSpread$
|
|
55430
|
+
return _objectSpread$I(_objectSpread$I(_objectSpread$I(_objectSpread$I({}, ownProps), propsFromState), propsFromDispatch), {}, {
|
|
54758
55431
|
currentScrollLine: currentScrollLineImage,
|
|
54759
55432
|
series: series,
|
|
54760
55433
|
activeIndex: imageActiveIndex,
|
|
@@ -54868,8 +55541,8 @@ var mergeProps$k = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
54868
55541
|
});
|
|
54869
55542
|
};
|
|
54870
55543
|
|
|
54871
|
-
var ConnectedDicomAllImageModeLayout = reactRedux.connect(mapStateToProps$
|
|
54872
|
-
var _default$
|
|
55544
|
+
var ConnectedDicomAllImageModeLayout = reactRedux.connect(mapStateToProps$m, mapDispatchToProps$5, mergeProps$l)(DicomLayout);
|
|
55545
|
+
var _default$1b = ConnectedDicomAllImageModeLayout;
|
|
54873
55546
|
|
|
54874
55547
|
(function () {
|
|
54875
55548
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -54878,11 +55551,11 @@ var _default$1a = ConnectedDicomAllImageModeLayout;
|
|
|
54878
55551
|
return;
|
|
54879
55552
|
}
|
|
54880
55553
|
|
|
54881
|
-
reactHotLoader.register(mapStateToProps$
|
|
55554
|
+
reactHotLoader.register(mapStateToProps$m, "mapStateToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomAllImageModeLayout.js");
|
|
54882
55555
|
reactHotLoader.register(mapDispatchToProps$5, "mapDispatchToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomAllImageModeLayout.js");
|
|
54883
|
-
reactHotLoader.register(mergeProps$
|
|
55556
|
+
reactHotLoader.register(mergeProps$l, "mergeProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomAllImageModeLayout.js");
|
|
54884
55557
|
reactHotLoader.register(ConnectedDicomAllImageModeLayout, "ConnectedDicomAllImageModeLayout", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomAllImageModeLayout.js");
|
|
54885
|
-
reactHotLoader.register(_default$
|
|
55558
|
+
reactHotLoader.register(_default$1b, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomLayout/ConnectedDicomAllImageModeLayout.js");
|
|
54886
55559
|
})();
|
|
54887
55560
|
|
|
54888
55561
|
(function () {
|
|
@@ -54901,11 +55574,11 @@ function _unsupportedIterableToArray$f(o, minLen) { if (!o) return; if (typeof o
|
|
|
54901
55574
|
|
|
54902
55575
|
function _arrayLikeToArray$f(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
54903
55576
|
|
|
54904
|
-
function _createSuper$
|
|
55577
|
+
function _createSuper$1n(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1n(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
54905
55578
|
|
|
54906
|
-
function _isNativeReflectConstruct$
|
|
55579
|
+
function _isNativeReflectConstruct$1n() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
54907
55580
|
|
|
54908
|
-
var __signature__$
|
|
55581
|
+
var __signature__$3o = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
54909
55582
|
return a;
|
|
54910
55583
|
};
|
|
54911
55584
|
|
|
@@ -54955,7 +55628,7 @@ index$1.configure({
|
|
|
54955
55628
|
var DicomView = /*#__PURE__*/function (_Component) {
|
|
54956
55629
|
inherits(DicomView, _Component);
|
|
54957
55630
|
|
|
54958
|
-
var _super = _createSuper$
|
|
55631
|
+
var _super = _createSuper$1n(DicomView);
|
|
54959
55632
|
|
|
54960
55633
|
function DicomView(props) {
|
|
54961
55634
|
var _this;
|
|
@@ -55411,7 +56084,7 @@ var DicomView = /*#__PURE__*/function (_Component) {
|
|
|
55411
56084
|
};
|
|
55412
56085
|
var DicomTool = /*#__PURE__*/React__default.createElement("div", {
|
|
55413
56086
|
className: "paladin-dicomView-dicomToolWrapper"
|
|
55414
|
-
}, /*#__PURE__*/React__default.createElement(_default
|
|
56087
|
+
}, /*#__PURE__*/React__default.createElement(_default$$, {
|
|
55415
56088
|
isMobile: isMobile,
|
|
55416
56089
|
toolSortChange: this.props.toolSortChange,
|
|
55417
56090
|
operateServerToolState: this.props.operateServerToolState,
|
|
@@ -55421,19 +56094,19 @@ var DicomView = /*#__PURE__*/function (_Component) {
|
|
|
55421
56094
|
study: this.state.study,
|
|
55422
56095
|
windowLayoutType: this.props.windowLayoutType
|
|
55423
56096
|
}));
|
|
55424
|
-
var DicomLayout = /*#__PURE__*/React__default.createElement(DicomLayoutContainerWrap, null, viewMode === '2D' && this.props.mode === 'seriesMode' && /*#__PURE__*/React__default.createElement(_default$
|
|
56097
|
+
var DicomLayout = /*#__PURE__*/React__default.createElement(DicomLayoutContainerWrap, null, viewMode === '2D' && this.props.mode === 'seriesMode' && /*#__PURE__*/React__default.createElement(_default$15, {
|
|
55425
56098
|
series: this.props.series,
|
|
55426
56099
|
showAIResult: this.props.showAIResult,
|
|
55427
56100
|
onResizeEmit: this.props.onResizeEmit
|
|
55428
|
-
}), viewMode === '2D' && this.props.mode === 'imageMode' && /*#__PURE__*/React__default.createElement(_default$
|
|
56101
|
+
}), viewMode === '2D' && this.props.mode === 'imageMode' && /*#__PURE__*/React__default.createElement(_default$16, {
|
|
55429
56102
|
onResizeEmit: this.props.onResizeEmit
|
|
55430
|
-
}), viewMode === '2D' && this.props.mode === 'allImageMode' && /*#__PURE__*/React__default.createElement(_default$
|
|
56103
|
+
}), viewMode === '2D' && this.props.mode === 'allImageMode' && /*#__PURE__*/React__default.createElement(_default$1b, {
|
|
55431
56104
|
study: this.state.study,
|
|
55432
56105
|
onResizeEmit: this.props.onResizeEmit
|
|
55433
|
-
}), viewMode === 'MPR' && /*#__PURE__*/React__default.createElement(_default$
|
|
56106
|
+
}), viewMode === 'MPR' && /*#__PURE__*/React__default.createElement(_default$18, null), viewMode === 'VR' && /*#__PURE__*/React__default.createElement(_default$19, null), viewMode === 'Surgery' && /*#__PURE__*/React__default.createElement(_default$17, null), viewMode === 'MIP' && /*#__PURE__*/React__default.createElement(_default$1a, null));
|
|
55434
56107
|
var DicomThumbnail = /*#__PURE__*/React__default.createElement("div", {
|
|
55435
56108
|
className: "paladin-dicomView-dicomThumbnailWrapper"
|
|
55436
|
-
}, /*#__PURE__*/React__default.createElement(_default$
|
|
56109
|
+
}, /*#__PURE__*/React__default.createElement(_default$11, {
|
|
55437
56110
|
isMobile: isMobile,
|
|
55438
56111
|
study: this.state.study
|
|
55439
56112
|
}));
|
|
@@ -55522,16 +56195,16 @@ function _unsupportedIterableToArray$g(o, minLen) { if (!o) return; if (typeof o
|
|
|
55522
56195
|
|
|
55523
56196
|
function _arrayLikeToArray$g(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
55524
56197
|
|
|
55525
|
-
function ownKeys$
|
|
56198
|
+
function ownKeys$I(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; }
|
|
55526
56199
|
|
|
55527
|
-
function _objectSpread$
|
|
56200
|
+
function _objectSpread$J(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$I(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$I(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
55528
56201
|
|
|
55529
|
-
var __signature__$
|
|
56202
|
+
var __signature__$3p = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
55530
56203
|
return a;
|
|
55531
56204
|
};
|
|
55532
56205
|
var scroll = _default$E.importInternal('util/scroll');
|
|
55533
56206
|
|
|
55534
|
-
var mapStateToProps$
|
|
56207
|
+
var mapStateToProps$n = function mapStateToProps(state) {
|
|
55535
56208
|
var _state$paladin$viewpo = state.paladin.viewport,
|
|
55536
56209
|
activeIndex = _state$paladin$viewpo.activeIndex,
|
|
55537
56210
|
imageActiveIndex = _state$paladin$viewpo.imageActiveIndex,
|
|
@@ -55593,7 +56266,7 @@ var mapStateToProps$m = function mapStateToProps(state) {
|
|
|
55593
56266
|
};
|
|
55594
56267
|
};
|
|
55595
56268
|
|
|
55596
|
-
var mergeProps$
|
|
56269
|
+
var mergeProps$m = function mergeProps(propsFromState, propsFromDispatch, ownProps) {
|
|
55597
56270
|
var activeIndex = propsFromState.activeIndex,
|
|
55598
56271
|
imageActiveIndex = propsFromState.imageActiveIndex,
|
|
55599
56272
|
MPR = propsFromState.MPR,
|
|
@@ -55643,7 +56316,7 @@ var mergeProps$l = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
55643
56316
|
*/
|
|
55644
56317
|
|
|
55645
56318
|
|
|
55646
|
-
return _objectSpread$
|
|
56319
|
+
return _objectSpread$J(_objectSpread$J(_objectSpread$J({}, ownProps), propsFromState), {}, {
|
|
55647
56320
|
showDicomThumbnail: showDicomThumbnail,
|
|
55648
56321
|
viewMode: viewMode,
|
|
55649
56322
|
keyMap: {
|
|
@@ -56077,7 +56750,7 @@ var mergeProps$l = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
56077
56750
|
});
|
|
56078
56751
|
};
|
|
56079
56752
|
|
|
56080
|
-
var ConnectedDicomView = reactRedux.connect(mapStateToProps$
|
|
56753
|
+
var ConnectedDicomView = reactRedux.connect(mapStateToProps$n, {
|
|
56081
56754
|
initSeries: initSeries,
|
|
56082
56755
|
addSeries: addSeries,
|
|
56083
56756
|
setCurrentSeries: setCurrentSeries,
|
|
@@ -56097,7 +56770,7 @@ var ConnectedDicomView = reactRedux.connect(mapStateToProps$m, {
|
|
|
56097
56770
|
openIO: openIO,
|
|
56098
56771
|
closeIO: closeIO,
|
|
56099
56772
|
setActiveTool: setActiveTool
|
|
56100
|
-
}, mergeProps$
|
|
56773
|
+
}, mergeProps$m, withRef())(DicomView);
|
|
56101
56774
|
|
|
56102
56775
|
function withRef() {
|
|
56103
56776
|
var reactReduxVersion = package_json.version.split('.')[0];
|
|
@@ -56113,7 +56786,7 @@ function withRef() {
|
|
|
56113
56786
|
}
|
|
56114
56787
|
}
|
|
56115
56788
|
|
|
56116
|
-
var _default$
|
|
56789
|
+
var _default$1c = ConnectedDicomView;
|
|
56117
56790
|
|
|
56118
56791
|
(function () {
|
|
56119
56792
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -56123,11 +56796,11 @@ var _default$1b = ConnectedDicomView;
|
|
|
56123
56796
|
}
|
|
56124
56797
|
|
|
56125
56798
|
reactHotLoader.register(scroll, "scroll", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/ConnectedDicomView.js");
|
|
56126
|
-
reactHotLoader.register(mapStateToProps$
|
|
56127
|
-
reactHotLoader.register(mergeProps$
|
|
56799
|
+
reactHotLoader.register(mapStateToProps$n, "mapStateToProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/ConnectedDicomView.js");
|
|
56800
|
+
reactHotLoader.register(mergeProps$m, "mergeProps", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/ConnectedDicomView.js");
|
|
56128
56801
|
reactHotLoader.register(ConnectedDicomView, "ConnectedDicomView", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/ConnectedDicomView.js");
|
|
56129
56802
|
reactHotLoader.register(withRef, "withRef", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/ConnectedDicomView.js");
|
|
56130
|
-
reactHotLoader.register(_default$
|
|
56803
|
+
reactHotLoader.register(_default$1c, "default", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomView/ConnectedDicomView.js");
|
|
56131
56804
|
})();
|
|
56132
56805
|
|
|
56133
56806
|
(function () {
|
|
@@ -56140,7 +56813,7 @@ var _default$1b = ConnectedDicomView;
|
|
|
56140
56813
|
enterModule && enterModule(module);
|
|
56141
56814
|
})();
|
|
56142
56815
|
|
|
56143
|
-
var __signature__$
|
|
56816
|
+
var __signature__$3q = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
56144
56817
|
return a;
|
|
56145
56818
|
};
|
|
56146
56819
|
var domId = "paladinOutputMock";
|
|
@@ -56297,13 +56970,13 @@ function removeDom(id) {
|
|
|
56297
56970
|
enterModule && enterModule(module);
|
|
56298
56971
|
})();
|
|
56299
56972
|
|
|
56300
|
-
var __signature__$
|
|
56973
|
+
var __signature__$3r = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
56301
56974
|
return a;
|
|
56302
56975
|
};
|
|
56303
56976
|
var paladinUtils = {
|
|
56304
56977
|
getMultiImageDataFromWodo: getMultiImageDataFromWodo
|
|
56305
56978
|
};
|
|
56306
|
-
var _default$
|
|
56979
|
+
var _default$1d = _default$1c;
|
|
56307
56980
|
|
|
56308
56981
|
(function () {
|
|
56309
56982
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -56313,7 +56986,7 @@ var _default$1c = _default$1b;
|
|
|
56313
56986
|
}
|
|
56314
56987
|
|
|
56315
56988
|
reactHotLoader.register(paladinUtils, "paladinUtils", "/Users/huyeqing/workspace/chainz/paladin/src/index.js");
|
|
56316
|
-
reactHotLoader.register(_default$
|
|
56989
|
+
reactHotLoader.register(_default$1d, "default", "/Users/huyeqing/workspace/chainz/paladin/src/index.js");
|
|
56317
56990
|
})();
|
|
56318
56991
|
|
|
56319
56992
|
(function () {
|
|
@@ -56322,7 +56995,7 @@ var _default$1c = _default$1b;
|
|
|
56322
56995
|
})();
|
|
56323
56996
|
|
|
56324
56997
|
exports.cornerstoneUtils = index;
|
|
56325
|
-
exports.default = _default$
|
|
56998
|
+
exports.default = _default$1d;
|
|
56326
56999
|
exports.paladinUtils = paladinUtils;
|
|
56327
57000
|
exports.reducers = _default$I;
|
|
56328
57001
|
//# sourceMappingURL=index.js.map
|