hellfire 0.19.1 → 0.19.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/index.js +713 -246
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10531,6 +10531,11 @@ function addTaskIntoPool(task) {
|
|
|
10531
10531
|
|
|
10532
10532
|
var priority = task.priority || task.priority === 0 || 1;
|
|
10533
10533
|
|
|
10534
|
+
if (cache && cache.executed) {
|
|
10535
|
+
delete cachedTask[task.key];
|
|
10536
|
+
cache = null;
|
|
10537
|
+
}
|
|
10538
|
+
|
|
10534
10539
|
if (cache) {
|
|
10535
10540
|
cache.priority = priority;
|
|
10536
10541
|
var callbacks = cache.callbacks || [];
|
|
@@ -10586,6 +10591,7 @@ function executeTask() {
|
|
|
10586
10591
|
res: res
|
|
10587
10592
|
});
|
|
10588
10593
|
});
|
|
10594
|
+
task.executed = true;
|
|
10589
10595
|
executeTask();
|
|
10590
10596
|
}, function (err) {
|
|
10591
10597
|
// 请求失败 重试机制
|
|
@@ -24368,12 +24374,12 @@ function getLinePonintByDistance(start, end, center, area) {
|
|
|
24368
24374
|
}
|
|
24369
24375
|
}
|
|
24370
24376
|
/**
|
|
24371
|
-
*
|
|
24377
|
+
*
|
|
24372
24378
|
* @param {*} a1 直线上的一点
|
|
24373
24379
|
* @param {*} a2 直线上的一点
|
|
24374
24380
|
* @param {*} a3 当前点
|
|
24375
24381
|
* @param {*} direction 直线的方向
|
|
24376
|
-
*
|
|
24382
|
+
*
|
|
24377
24383
|
* 返回: 返回直线上的两个点 lineSegment
|
|
24378
24384
|
*/
|
|
24379
24385
|
|
|
@@ -24566,7 +24572,7 @@ function checkBoundary(point, width, height) {
|
|
|
24566
24572
|
}
|
|
24567
24573
|
}
|
|
24568
24574
|
/**
|
|
24569
|
-
*
|
|
24575
|
+
*
|
|
24570
24576
|
* @param {*} a1 参考线的起点
|
|
24571
24577
|
* @param {*} a2 参考线的终点
|
|
24572
24578
|
* @param {*} a3 当前线的起点
|
|
@@ -24597,7 +24603,7 @@ function getParallelLine(a1, a2, a3, a4) {
|
|
|
24597
24603
|
x: x4,
|
|
24598
24604
|
y: y3
|
|
24599
24605
|
};
|
|
24600
|
-
} // 表达式 y = ((x - x1) * (y2 - y1) / (x2 - x1)) + y1
|
|
24606
|
+
} // 表达式 y = ((x - x1) * (y2 - y1) / (x2 - x1)) + y1
|
|
24601
24607
|
|
|
24602
24608
|
|
|
24603
24609
|
var linePoint = getLinePonint(a1, a2)({
|
|
@@ -24672,6 +24678,62 @@ function checkCorrectPoint(a1, a2, a3, a4, a5) {
|
|
|
24672
24678
|
return a5;
|
|
24673
24679
|
}
|
|
24674
24680
|
|
|
24681
|
+
function sqr(x) {
|
|
24682
|
+
return x * x;
|
|
24683
|
+
}
|
|
24684
|
+
|
|
24685
|
+
function dist2(v, w) {
|
|
24686
|
+
return sqr(v.x - w.x) + sqr(v.y - w.y);
|
|
24687
|
+
}
|
|
24688
|
+
|
|
24689
|
+
function distanceToPointSquared(lineSegment, point, rowPixelSpacing, columnPixelSpacing) {
|
|
24690
|
+
var l2 = dist2(lineSegment.start, lineSegment.end);
|
|
24691
|
+
|
|
24692
|
+
if (l2 === 0) {
|
|
24693
|
+
return dist2(point, lineSegment.start);
|
|
24694
|
+
}
|
|
24695
|
+
|
|
24696
|
+
var t = ((point.x - lineSegment.start.x) * (lineSegment.end.x - lineSegment.start.x) + (point.y - lineSegment.start.y) * (lineSegment.end.y - lineSegment.start.y)) / l2;
|
|
24697
|
+
|
|
24698
|
+
if (t < 0) {
|
|
24699
|
+
return dist2(point, lineSegment.start);
|
|
24700
|
+
}
|
|
24701
|
+
|
|
24702
|
+
if (t > 1) {
|
|
24703
|
+
return dist2(point, lineSegment.end);
|
|
24704
|
+
}
|
|
24705
|
+
|
|
24706
|
+
var pt = {
|
|
24707
|
+
x: lineSegment.start.x + t * (lineSegment.end.x - lineSegment.start.x),
|
|
24708
|
+
y: lineSegment.start.y + t * (lineSegment.end.y - lineSegment.start.y)
|
|
24709
|
+
};
|
|
24710
|
+
|
|
24711
|
+
var _rowPixelSpacing = rowPixelSpacing || 1;
|
|
24712
|
+
|
|
24713
|
+
var _columnPixelSpacing = columnPixelSpacing || 1;
|
|
24714
|
+
|
|
24715
|
+
return sqr((point.x - pt.x) * _columnPixelSpacing) + sqr((point.y - pt.y) * _rowPixelSpacing);
|
|
24716
|
+
}
|
|
24717
|
+
|
|
24718
|
+
function lineSegDistanceWithSpacing(start, end, point, rowPixelSpacing, columnPixelSpacing) {
|
|
24719
|
+
var lineSegment = {
|
|
24720
|
+
start: start,
|
|
24721
|
+
end: end
|
|
24722
|
+
};
|
|
24723
|
+
return Math.sqrt(distanceToPointSquared(lineSegment, point, rowPixelSpacing, columnPixelSpacing));
|
|
24724
|
+
}
|
|
24725
|
+
function pointDistanceWithSpacing(point1, point2, rowPixelSpacing, columnPixelSpacing) {
|
|
24726
|
+
if (!point1 || !point2) {
|
|
24727
|
+
return;
|
|
24728
|
+
}
|
|
24729
|
+
|
|
24730
|
+
var _rowPixelSpacing = rowPixelSpacing || 1;
|
|
24731
|
+
|
|
24732
|
+
var _columnPixelSpacing = columnPixelSpacing || 1;
|
|
24733
|
+
|
|
24734
|
+
return Math.sqrt(sqr((point1.x - point2.x) * _columnPixelSpacing) + sqr((point1.y - point2.y) * _rowPixelSpacing));
|
|
24735
|
+
}
|
|
24736
|
+
|
|
24675
24737
|
(function () {
|
|
24676
24738
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
24677
24739
|
|
|
@@ -24686,6 +24748,11 @@ function checkCorrectPoint(a1, a2, a3, a4, a5) {
|
|
|
24686
24748
|
reactHotLoader.register(checkBoundary, "checkBoundary", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24687
24749
|
reactHotLoader.register(getParallelLine, "getParallelLine", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24688
24750
|
reactHotLoader.register(checkCorrectPoint, "checkCorrectPoint", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24751
|
+
reactHotLoader.register(sqr, "sqr", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24752
|
+
reactHotLoader.register(dist2, "dist2", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24753
|
+
reactHotLoader.register(distanceToPointSquared, "distanceToPointSquared", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24754
|
+
reactHotLoader.register(lineSegDistanceWithSpacing, "lineSegDistanceWithSpacing", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24755
|
+
reactHotLoader.register(pointDistanceWithSpacing, "pointDistanceWithSpacing", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24689
24756
|
})();
|
|
24690
24757
|
|
|
24691
24758
|
(function () {
|
|
@@ -26776,7 +26843,7 @@ var ReferencePositionTool = /*#__PURE__*/function (_BaseAnnotationPlusTo) {
|
|
|
26776
26843
|
|
|
26777
26844
|
var distance = _this3.calcDistance(sourcePointV3, sourcePointInTargetPlaneV3);
|
|
26778
26845
|
|
|
26779
|
-
if (!min || distance < min) {
|
|
26846
|
+
if (!min && min !== 0 || distance < min) {
|
|
26780
26847
|
min = distance;
|
|
26781
26848
|
targetImageIndex = index;
|
|
26782
26849
|
}
|
|
@@ -27868,6 +27935,84 @@ var _default$D = {
|
|
|
27868
27935
|
enterModule && enterModule(module);
|
|
27869
27936
|
})();
|
|
27870
27937
|
|
|
27938
|
+
var __signature__$1P = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
27939
|
+
return a;
|
|
27940
|
+
};
|
|
27941
|
+
var external$o = cornerstoneTools.external;
|
|
27942
|
+
|
|
27943
|
+
function changeThickness(imageId, value, mpr, type) {
|
|
27944
|
+
var _imageId$split = imageId.split(':'),
|
|
27945
|
+
_imageId$split2 = slicedToArray(_imageId$split, 4),
|
|
27946
|
+
scheme = _imageId$split2[0],
|
|
27947
|
+
seriesNumber = _imageId$split2[1],
|
|
27948
|
+
imageOrientationPatient = _imageId$split2[2],
|
|
27949
|
+
imagePositionPatient = _imageId$split2[3];
|
|
27950
|
+
|
|
27951
|
+
var mprWorker = _default$r.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
27952
|
+
|
|
27953
|
+
var _imageOrientationPatient = mpr || Number(imageOrientationPatient);
|
|
27954
|
+
|
|
27955
|
+
mprWorker.ActionParameter.parameter(_imageOrientationPatient).sliceThickness = value;
|
|
27956
|
+
|
|
27957
|
+
if (type && ReconstructMethodType[type]) {
|
|
27958
|
+
mprWorker.ActionParameter.parameter(_imageOrientationPatient).reconstructMethodType = ReconstructMethodType[type];
|
|
27959
|
+
}
|
|
27960
|
+
|
|
27961
|
+
mprWorker.process(mprWorker.actionParameter);
|
|
27962
|
+
var images = mprWorker.imageResultDatasMap;
|
|
27963
|
+
var classname = 'cornerstone-mpr-' + _imageOrientationPatient;
|
|
27964
|
+
var element = document.getElementsByClassName(classname)[0];
|
|
27965
|
+
|
|
27966
|
+
if (element) {
|
|
27967
|
+
external$o.cornerstone.triggerEvent(element, 'MPR_REFERENCE_LINE', {
|
|
27968
|
+
images: images
|
|
27969
|
+
});
|
|
27970
|
+
var mprElements = [ImagePlanDirection.Sagittal, ImagePlanDirection.Transverse, ImagePlanDirection.Coronal];
|
|
27971
|
+
lodash$1.remove(mprElements, function (i) {
|
|
27972
|
+
return i === _imageOrientationPatient;
|
|
27973
|
+
});
|
|
27974
|
+
lodash$1.forEach(mprElements, function (item) {
|
|
27975
|
+
var classname = 'cornerstone-mpr-' + item;
|
|
27976
|
+
var element = document.getElementsByClassName(classname)[0];
|
|
27977
|
+
external$o.cornerstone.updateImage(element, true);
|
|
27978
|
+
});
|
|
27979
|
+
}
|
|
27980
|
+
}
|
|
27981
|
+
|
|
27982
|
+
function setThickness(imageId) {
|
|
27983
|
+
var _imageId$split3 = imageId.split(':'),
|
|
27984
|
+
_imageId$split4 = slicedToArray(_imageId$split3, 4),
|
|
27985
|
+
scheme = _imageId$split4[0],
|
|
27986
|
+
seriesNumber = _imageId$split4[1],
|
|
27987
|
+
imageOrientationPatient = _imageId$split4[2],
|
|
27988
|
+
imagePositionPatient = _imageId$split4[3];
|
|
27989
|
+
|
|
27990
|
+
var mprWorker = _default$r.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
27991
|
+
return mprWorker.ActionParameter.parameter(imageOrientationPatient).sliceThickness;
|
|
27992
|
+
}
|
|
27993
|
+
|
|
27994
|
+
(function () {
|
|
27995
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
27996
|
+
|
|
27997
|
+
if (!reactHotLoader) {
|
|
27998
|
+
return;
|
|
27999
|
+
}
|
|
28000
|
+
|
|
28001
|
+
reactHotLoader.register(external$o, "external", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/changeThickness.js");
|
|
28002
|
+
reactHotLoader.register(changeThickness, "changeThickness", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/changeThickness.js");
|
|
28003
|
+
reactHotLoader.register(setThickness, "setThickness", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/changeThickness.js");
|
|
28004
|
+
})();
|
|
28005
|
+
|
|
28006
|
+
(function () {
|
|
28007
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
28008
|
+
leaveModule && leaveModule(module);
|
|
28009
|
+
})();
|
|
28010
|
+
|
|
28011
|
+
(function () {
|
|
28012
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
28013
|
+
enterModule && enterModule(module);
|
|
28014
|
+
})();
|
|
28015
|
+
|
|
27871
28016
|
function _createForOfIteratorHelper$6(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$7(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
27872
28017
|
|
|
27873
28018
|
function _unsupportedIterableToArray$7(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$7(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$7(o, minLen); }
|
|
@@ -27882,10 +28027,10 @@ function _createSuper$B(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
27882
28027
|
|
|
27883
28028
|
function _isNativeReflectConstruct$B() { 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; } }
|
|
27884
28029
|
|
|
27885
|
-
var __signature__$
|
|
28030
|
+
var __signature__$1Q = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
27886
28031
|
return a;
|
|
27887
28032
|
};
|
|
27888
|
-
var external$
|
|
28033
|
+
var external$p = cornerstoneTools.external;
|
|
27889
28034
|
var draw$c = cornerstoneTools.importInternal('drawing/draw');
|
|
27890
28035
|
var drawLines$2 = cornerstoneTools.importInternal('drawing/drawLines');
|
|
27891
28036
|
var getNewContext$d = cornerstoneTools.importInternal('drawing/getNewContext');
|
|
@@ -27897,9 +28042,7 @@ var lineSegDistance$5 = cornerstoneTools.importInternal('util/lineSegDistance');
|
|
|
27897
28042
|
* @class CrosshairsTool
|
|
27898
28043
|
* @memberof Tools
|
|
27899
28044
|
*
|
|
27900
|
-
*
|
|
27901
|
-
* image position in a synchronized image series.
|
|
27902
|
-
* @extends Tools.Base.BaseTool
|
|
28045
|
+
* MPR的十字定位线 + 层厚辅助线 功能
|
|
27903
28046
|
*/
|
|
27904
28047
|
|
|
27905
28048
|
var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
@@ -27921,7 +28064,8 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
27921
28064
|
};
|
|
27922
28065
|
_this = _super.call(this, props, defaultProps);
|
|
27923
28066
|
_this.eventCollection = [];
|
|
27924
|
-
_this.processing = false;
|
|
28067
|
+
_this.processing = false; // 定位线的几个端点
|
|
28068
|
+
|
|
27925
28069
|
_this.rowStart = null;
|
|
27926
28070
|
_this.rowEnd = null;
|
|
27927
28071
|
_this.colStart = null;
|
|
@@ -27931,7 +28075,8 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
27931
28075
|
_this.currentDragPoint = {}; // 可旋转区域范围
|
|
27932
28076
|
|
|
27933
28077
|
var isMobile = _default$D.isDeviceTypeMobile();
|
|
27934
|
-
_this.area = isMobile ? 50 : 10;
|
|
28078
|
+
_this.area = isMobile ? 50 : 10; // 定位线的触发区域
|
|
28079
|
+
|
|
27935
28080
|
_this.centerArea = 15;
|
|
27936
28081
|
_this.rotateArea = 3 / 4; // 旋转响应区域离中心点的距离(百分比
|
|
27937
28082
|
// 旋转中
|
|
@@ -27944,6 +28089,11 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
27944
28089
|
_this.mouseDragCallback = _this._dragCallback;
|
|
27945
28090
|
_this.rotateDirection = ['rowStart', 'rowEnd', 'colEnd', 'colStart'];
|
|
27946
28091
|
_this.panDirection = ['rowLine', 'colLine'];
|
|
28092
|
+
_this.thicknessPanDirection = ['rowThickness', 'colThickness'];
|
|
28093
|
+
_this.rowThicknessSpacing = 0;
|
|
28094
|
+
_this.colThicknessSpacing = 0;
|
|
28095
|
+
_this.thicknessArea = 2; // 层厚辅助线的触发区域
|
|
28096
|
+
|
|
27947
28097
|
return _this;
|
|
27948
28098
|
}
|
|
27949
28099
|
|
|
@@ -27961,7 +28111,7 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
27961
28111
|
// 旋转图标
|
|
27962
28112
|
element.style.cursor = 'se-resize';
|
|
27963
28113
|
} else {
|
|
27964
|
-
// 平移图标
|
|
28114
|
+
// 平移图标 -- 定位线平移 或者 层厚平移
|
|
27965
28115
|
element.style.cursor = 'move';
|
|
27966
28116
|
}
|
|
27967
28117
|
} else {
|
|
@@ -27985,6 +28135,9 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
27985
28135
|
console.log('测试斜位功能 - 选择旋转的位置', areaCheck);
|
|
27986
28136
|
this.rotating = true;
|
|
27987
28137
|
this.currentDragPoint = this[this.direction];
|
|
28138
|
+
} else if (areaCheck && lodash$1.includes(this.thicknessPanDirection, areaCheck)) {
|
|
28139
|
+
console.log('调整层厚辅助线', areaCheck);
|
|
28140
|
+
this.collectionEvent(evt, this.direction);
|
|
27988
28141
|
} else {
|
|
27989
28142
|
if (!areaCheck) {
|
|
27990
28143
|
this.collectionEvent(evt);
|
|
@@ -28010,41 +28163,26 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28010
28163
|
return false;
|
|
28011
28164
|
}
|
|
28012
28165
|
|
|
28013
|
-
var
|
|
28014
|
-
var
|
|
28015
|
-
|
|
28016
|
-
var
|
|
28017
|
-
|
|
28018
|
-
|
|
28019
|
-
var
|
|
28020
|
-
|
|
28021
|
-
var
|
|
28022
|
-
|
|
28023
|
-
|
|
28024
|
-
var x2 = rowEnd.x,
|
|
28025
|
-
y2 = rowEnd.y;
|
|
28026
|
-
var x3 = colStart.x,
|
|
28027
|
-
y3 = colStart.y;
|
|
28028
|
-
var x4 = colEnd.x,
|
|
28029
|
-
y4 = colEnd.y; // 点和row线的距离
|
|
28030
|
-
|
|
28031
|
-
var rowLineDistance = lineSegDistance$5(element, this.rowStart, this.rowEnd, coords); // 点和col线的距离
|
|
28032
|
-
|
|
28033
|
-
var colLineDistance = lineSegDistance$5(element, this.colStart, this.colEnd, coords); // 点和中心的距离
|
|
28034
|
-
|
|
28035
|
-
var pointDistance = external$o.cornerstoneMath.point.distance(center, imagePoint); // 中心点
|
|
28036
|
-
|
|
28037
|
-
var centerX = center.x,
|
|
28038
|
-
centerY = center.y; // row方向上
|
|
28166
|
+
var imagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', evt.detail.image.imageId);
|
|
28167
|
+
var coords = evt.detail.currentPoints.image; // 中心点
|
|
28168
|
+
|
|
28169
|
+
var rowPixelSpacing = imagePlane.rowPixelSpacing,
|
|
28170
|
+
columnPixelSpacing = imagePlane.columnPixelSpacing; // 点和row线的距离
|
|
28171
|
+
|
|
28172
|
+
var rowLineDistance = lineSegDistanceWithSpacing(this.rowStart, this.rowEnd, coords, rowPixelSpacing, columnPixelSpacing); // 点和col线的距离
|
|
28173
|
+
|
|
28174
|
+
var colLineDistance = lineSegDistanceWithSpacing(this.colStart, this.colEnd, coords, rowPixelSpacing, columnPixelSpacing); // 点和中心的距离
|
|
28175
|
+
|
|
28176
|
+
var pointDistance = pointDistanceWithSpacing(this.centerPoint, coords, rowPixelSpacing, columnPixelSpacing); // row方向上
|
|
28039
28177
|
|
|
28040
28178
|
if (rowLineDistance <= this.area) {
|
|
28041
28179
|
// 点到start的距离
|
|
28042
|
-
var pointToStart =
|
|
28180
|
+
var pointToStart = pointDistanceWithSpacing(this.rowStart, coords, rowPixelSpacing, columnPixelSpacing); // 点到end的距离
|
|
28043
28181
|
|
|
28044
|
-
var pointToEnd =
|
|
28182
|
+
var pointToEnd = pointDistanceWithSpacing(this.rowEnd, coords, rowPixelSpacing, columnPixelSpacing); // 中心到start end 的距离
|
|
28045
28183
|
|
|
28046
|
-
var centerToStart =
|
|
28047
|
-
var centerToEnd =
|
|
28184
|
+
var centerToStart = pointDistanceWithSpacing(this.rowStart, this.centerPoint, rowPixelSpacing, columnPixelSpacing);
|
|
28185
|
+
var centerToEnd = pointDistanceWithSpacing(this.rowEnd, this.centerPoint, rowPixelSpacing, columnPixelSpacing); // 点到中心距离 小于 中心范围 则是center
|
|
28048
28186
|
|
|
28049
28187
|
if (pointDistance <= this.centerArea) {
|
|
28050
28188
|
return 'center';
|
|
@@ -28071,13 +28209,13 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28071
28209
|
|
|
28072
28210
|
|
|
28073
28211
|
if (colLineDistance <= this.area) {
|
|
28074
|
-
var _pointToStart =
|
|
28212
|
+
var _pointToStart = pointDistanceWithSpacing(this.colStart, coords, rowPixelSpacing, columnPixelSpacing);
|
|
28075
28213
|
|
|
28076
|
-
var _pointToEnd =
|
|
28214
|
+
var _pointToEnd = pointDistanceWithSpacing(this.colEnd, coords, rowPixelSpacing, columnPixelSpacing);
|
|
28077
28215
|
|
|
28078
|
-
var _centerToStart =
|
|
28216
|
+
var _centerToStart = pointDistanceWithSpacing(this.colStart, this.centerPoint, rowPixelSpacing, columnPixelSpacing);
|
|
28079
28217
|
|
|
28080
|
-
var _centerToEnd =
|
|
28218
|
+
var _centerToEnd = pointDistanceWithSpacing(this.colEnd, this.centerPoint, rowPixelSpacing, columnPixelSpacing);
|
|
28081
28219
|
|
|
28082
28220
|
if (pointDistance <= this.centerArea) {
|
|
28083
28221
|
return 'center';
|
|
@@ -28098,6 +28236,24 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28098
28236
|
|
|
28099
28237
|
return 'colLine';
|
|
28100
28238
|
}
|
|
28239
|
+
} // 层厚辅助线
|
|
28240
|
+
|
|
28241
|
+
|
|
28242
|
+
if (this.rowThicknessSpacing && this.rowThicknessSpacing > 1) {
|
|
28243
|
+
// row方向上的层厚辅助线
|
|
28244
|
+
var _rowLineDistance = rowLineDistance;
|
|
28245
|
+
|
|
28246
|
+
if (_rowLineDistance > this.rowThicknessSpacing * rowPixelSpacing - this.thicknessArea && _rowLineDistance < this.rowThicknessSpacing * rowPixelSpacing + this.thicknessArea) {
|
|
28247
|
+
return 'rowThickness';
|
|
28248
|
+
}
|
|
28249
|
+
}
|
|
28250
|
+
|
|
28251
|
+
if (this.colThicknessSpacing && this.colThicknessSpacing > 1) {
|
|
28252
|
+
var _colLineDistance = colLineDistance; // col方向上的层厚辅助线
|
|
28253
|
+
|
|
28254
|
+
if (_colLineDistance > this.colThicknessSpacing * columnPixelSpacing - this.thicknessArea && _colLineDistance < this.colThicknessSpacing * columnPixelSpacing + this.thicknessArea) {
|
|
28255
|
+
return 'colThickness';
|
|
28256
|
+
}
|
|
28101
28257
|
}
|
|
28102
28258
|
|
|
28103
28259
|
return false;
|
|
@@ -28121,7 +28277,7 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28121
28277
|
key: "collectRotate",
|
|
28122
28278
|
value: function collectRotate(evt) {
|
|
28123
28279
|
if (this.direction && lodash$1.includes(this.rotateDirection, this.direction)) {
|
|
28124
|
-
var imagePlane = external$
|
|
28280
|
+
var imagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', evt.detail.image.imageId);
|
|
28125
28281
|
var imagePoint = evt.detail.currentPoints.image;
|
|
28126
28282
|
var angle = angleBetweenPoints(this.centerPoint, this.currentDragPoint, imagePoint, imagePlane.rowPixelSpacing, imagePlane.columnPixelSpacing);
|
|
28127
28283
|
var isVectorX = true;
|
|
@@ -28149,7 +28305,7 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28149
28305
|
|
|
28150
28306
|
if (this.lastImagePoint.x === detail.currentPoints.image.x && this.lastImagePoint.y === detail.currentPoints.image.y) {
|
|
28151
28307
|
return;
|
|
28152
|
-
} // direction
|
|
28308
|
+
} // direction是定位线平移的情况 修改位置
|
|
28153
28309
|
|
|
28154
28310
|
|
|
28155
28311
|
if (direction && lodash$1.includes(this.panDirection, direction)) {
|
|
@@ -28189,6 +28345,38 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28189
28345
|
detail.currentPoints.image = nextCenterPoint;
|
|
28190
28346
|
}
|
|
28191
28347
|
|
|
28348
|
+
if (direction && lodash$1.includes(this.thicknessPanDirection, direction)) {
|
|
28349
|
+
detail.thickness = true;
|
|
28350
|
+
|
|
28351
|
+
if (direction === 'rowThickness') {
|
|
28352
|
+
if (this.lastImagePoint.y < detail.currentPoints.image.y) {
|
|
28353
|
+
// 层厚+2x
|
|
28354
|
+
detail.thicknessDirection = 'row';
|
|
28355
|
+
detail.thicknessDelta = 2;
|
|
28356
|
+
}
|
|
28357
|
+
|
|
28358
|
+
if (this.lastImagePoint.y > detail.currentPoints.image.y) {
|
|
28359
|
+
// 层厚-2x
|
|
28360
|
+
detail.thicknessDirection = 'row';
|
|
28361
|
+
detail.thicknessDelta = -2;
|
|
28362
|
+
}
|
|
28363
|
+
}
|
|
28364
|
+
|
|
28365
|
+
if (direction === 'colThickness') {
|
|
28366
|
+
if (detail.currentPoints.image.x > this.lastImagePoint.x) {
|
|
28367
|
+
// 层厚+2x
|
|
28368
|
+
detail.thicknessDirection = 'col';
|
|
28369
|
+
detail.thicknessDelta = 2;
|
|
28370
|
+
}
|
|
28371
|
+
|
|
28372
|
+
if (detail.currentPoints.image.x < this.lastImagePoint.x) {
|
|
28373
|
+
// 层厚-2x
|
|
28374
|
+
detail.thicknessDirection = 'col';
|
|
28375
|
+
detail.thicknessDelta = -2;
|
|
28376
|
+
}
|
|
28377
|
+
}
|
|
28378
|
+
}
|
|
28379
|
+
|
|
28192
28380
|
if (this.rotating || this.checkBoundary(detail.currentPoints.image, detail.image)) {
|
|
28193
28381
|
this.eventCollection.push(detail);
|
|
28194
28382
|
this.lastImagePoint = detail.currentPoints.image;
|
|
@@ -28222,46 +28410,50 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28222
28410
|
}, {
|
|
28223
28411
|
key: "processEvent",
|
|
28224
28412
|
value: function processEvent(eventData) {
|
|
28225
|
-
|
|
28226
|
-
|
|
28227
|
-
scheme = _eventData$image$imag2[0],
|
|
28228
|
-
seriesNumber = _eventData$image$imag2[1],
|
|
28229
|
-
imageOrientationPatient = _eventData$image$imag2[2],
|
|
28230
|
-
imagePositionPatient = _eventData$image$imag2[3];
|
|
28231
|
-
|
|
28232
|
-
var mprWorker = _default$r.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
28233
|
-
|
|
28234
|
-
if (eventData && eventData.rotate) {
|
|
28235
|
-
console.log('日志:旋转角度', eventData.angle, eventData.isVectorX);
|
|
28236
|
-
mprWorker.ActionParameter.parameter(imageOrientationPatient).rotate(eventData.angle, eventData.isVectorX);
|
|
28413
|
+
if (eventData.thickness) {
|
|
28414
|
+
this.handleThicknessAction(eventData);
|
|
28237
28415
|
} else {
|
|
28238
|
-
var
|
|
28416
|
+
var _eventData$image$imag = eventData.image.imageId.split(':'),
|
|
28417
|
+
_eventData$image$imag2 = slicedToArray(_eventData$image$imag, 4),
|
|
28418
|
+
scheme = _eventData$image$imag2[0],
|
|
28419
|
+
seriesNumber = _eventData$image$imag2[1],
|
|
28420
|
+
imageOrientationPatient = _eventData$image$imag2[2],
|
|
28421
|
+
imagePositionPatient = _eventData$image$imag2[3];
|
|
28422
|
+
|
|
28423
|
+
var mprWorker = _default$r.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
28424
|
+
|
|
28425
|
+
if (eventData && eventData.rotate) {
|
|
28426
|
+
console.log('日志:旋转角度', eventData.angle, eventData.isVectorX);
|
|
28427
|
+
mprWorker.ActionParameter.parameter(imageOrientationPatient).rotate(eventData.angle, eventData.isVectorX);
|
|
28428
|
+
} else {
|
|
28429
|
+
var imagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', eventData.image.imageId);
|
|
28239
28430
|
|
|
28240
|
-
|
|
28431
|
+
var v3 = this._imagePointToPatientPoint(eventData.currentPoints.image, imagePlane);
|
|
28241
28432
|
|
|
28242
|
-
|
|
28243
|
-
|
|
28433
|
+
mprWorker.ActionParameter.parameter(imageOrientationPatient).moveCenter(v3.x, v3.y, v3.z);
|
|
28434
|
+
}
|
|
28244
28435
|
|
|
28245
|
-
|
|
28246
|
-
|
|
28247
|
-
|
|
28248
|
-
|
|
28436
|
+
mprWorker.process(mprWorker.actionParameter);
|
|
28437
|
+
this.currentDragPoint = eventData.currentPoints.image;
|
|
28438
|
+
var images = mprWorker.imageResultDatasMap;
|
|
28439
|
+
var elements = document.getElementsByClassName('cornerstone-canvas-container');
|
|
28249
28440
|
|
|
28250
|
-
|
|
28251
|
-
|
|
28441
|
+
var _iterator = _createForOfIteratorHelper$6(elements),
|
|
28442
|
+
_step;
|
|
28252
28443
|
|
|
28253
|
-
|
|
28254
|
-
|
|
28255
|
-
|
|
28256
|
-
|
|
28257
|
-
|
|
28258
|
-
|
|
28259
|
-
|
|
28444
|
+
try {
|
|
28445
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
28446
|
+
var element = _step.value;
|
|
28447
|
+
external$p.cornerstone.triggerEvent(element, 'MPR_REFERENCE_LINE', {
|
|
28448
|
+
images: images,
|
|
28449
|
+
source: imageOrientationPatient
|
|
28450
|
+
});
|
|
28451
|
+
}
|
|
28452
|
+
} catch (err) {
|
|
28453
|
+
_iterator.e(err);
|
|
28454
|
+
} finally {
|
|
28455
|
+
_iterator.f();
|
|
28260
28456
|
}
|
|
28261
|
-
} catch (err) {
|
|
28262
|
-
_iterator.e(err);
|
|
28263
|
-
} finally {
|
|
28264
|
-
_iterator.f();
|
|
28265
28457
|
}
|
|
28266
28458
|
}
|
|
28267
28459
|
}, {
|
|
@@ -28298,7 +28490,7 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28298
28490
|
key: "renderToolData",
|
|
28299
28491
|
value: function renderToolData(evt) {
|
|
28300
28492
|
var eventData = evt.detail;
|
|
28301
|
-
var imagePlane = external$
|
|
28493
|
+
var imagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', eventData.image.imageId);
|
|
28302
28494
|
var _imagePlane$scoutLine = imagePlane.scoutLine,
|
|
28303
28495
|
row = _imagePlane$scoutLine.row,
|
|
28304
28496
|
col = _imagePlane$scoutLine.col; // 获取vtk给的四个点
|
|
@@ -28330,40 +28522,39 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28330
28522
|
this.colStart = borderColStart;
|
|
28331
28523
|
this.colEnd = borderColEnd;
|
|
28332
28524
|
this.drawCorsshairs(eventData, row, col);
|
|
28333
|
-
}
|
|
28525
|
+
} // 绘制十字定位线和层厚辅助线
|
|
28526
|
+
|
|
28334
28527
|
}, {
|
|
28335
28528
|
key: "drawCorsshairs",
|
|
28336
28529
|
value: function drawCorsshairs(eventData, row, col) {
|
|
28337
|
-
var r1 = external$o.cornerstone.pixelToCanvas(eventData.element, this.rowStart);
|
|
28338
|
-
var r2 = external$o.cornerstone.pixelToCanvas(eventData.element, this.rowEnd);
|
|
28339
|
-
var r3 = external$o.cornerstone.pixelToCanvas(eventData.element, this.colStart);
|
|
28340
|
-
var r4 = external$o.cornerstone.pixelToCanvas(eventData.element, this.colEnd);
|
|
28341
|
-
var center = external$o.cornerstone.pixelToCanvas(eventData.element, this.centerPoint);
|
|
28342
28530
|
var context = getNewContext$d(eventData.canvasContext.canvas);
|
|
28343
|
-
var
|
|
28344
|
-
|
|
28345
|
-
|
|
28531
|
+
var imagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', eventData.image.imageId);
|
|
28532
|
+
var rowCenterPoints = getLinePonintByDistance(this.rowStart, this.rowEnd, this.centerPoint, this.centerArea / imagePlane.columnPixelSpacing) || {
|
|
28533
|
+
start: this.centerPoint,
|
|
28534
|
+
end: this.centerPoint
|
|
28346
28535
|
};
|
|
28347
|
-
var colCenterPoints = getLinePonintByDistance(
|
|
28348
|
-
start:
|
|
28349
|
-
end:
|
|
28536
|
+
var colCenterPoints = getLinePonintByDistance(this.colStart, this.colEnd, this.centerPoint, this.centerArea / imagePlane.rowPixelSpacing) || {
|
|
28537
|
+
start: this.centerPoint,
|
|
28538
|
+
end: this.centerPoint
|
|
28350
28539
|
};
|
|
28351
28540
|
var rowLines = [{
|
|
28352
28541
|
start: this.rowStart,
|
|
28353
|
-
end:
|
|
28542
|
+
end: rowCenterPoints.start
|
|
28354
28543
|
}, {
|
|
28355
|
-
start:
|
|
28544
|
+
start: rowCenterPoints.end,
|
|
28356
28545
|
end: this.rowEnd
|
|
28357
28546
|
}];
|
|
28358
28547
|
var colLines = [{
|
|
28359
28548
|
start: this.colStart,
|
|
28360
|
-
end:
|
|
28549
|
+
end: colCenterPoints.start
|
|
28361
28550
|
}, {
|
|
28362
|
-
start:
|
|
28551
|
+
start: colCenterPoints.end,
|
|
28363
28552
|
end: this.colEnd
|
|
28364
28553
|
}];
|
|
28365
|
-
var
|
|
28366
|
-
var
|
|
28554
|
+
var rowDirection = row.direction;
|
|
28555
|
+
var colDirection = col.direction;
|
|
28556
|
+
var rowColor = MPR_DIRECTION_COLOR[rowDirection];
|
|
28557
|
+
var colColor = MPR_DIRECTION_COLOR[colDirection];
|
|
28367
28558
|
draw$c(context, function (context) {
|
|
28368
28559
|
drawLines$2(context, eventData.element, rowLines, {
|
|
28369
28560
|
color: rowColor
|
|
@@ -28372,6 +28563,132 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28372
28563
|
color: colColor
|
|
28373
28564
|
});
|
|
28374
28565
|
});
|
|
28566
|
+
this.drawSliceThicknessLines(context, eventData, rowDirection, colDirection);
|
|
28567
|
+
}
|
|
28568
|
+
/**
|
|
28569
|
+
* 层厚辅助线绘制
|
|
28570
|
+
* row和column分别对应另外两个方位
|
|
28571
|
+
* 因为在重建的时候为了填满图像改变了pixelSpacing,sliceThickness是层厚的倍数,其实就是叠多少层
|
|
28572
|
+
* 对于image来说就是就把图像切成几份,比如高度512的话就是512份,所以只要用rowSliceThickness来计算坐标值就可以了
|
|
28573
|
+
*/
|
|
28574
|
+
|
|
28575
|
+
}, {
|
|
28576
|
+
key: "drawSliceThicknessLines",
|
|
28577
|
+
value: function drawSliceThicknessLines(context, eventData, rowDirection, colDirection) {
|
|
28578
|
+
var _eventData$image$imag3 = eventData.image.imageId.split(':'),
|
|
28579
|
+
_eventData$image$imag4 = slicedToArray(_eventData$image$imag3, 4),
|
|
28580
|
+
scheme = _eventData$image$imag4[0],
|
|
28581
|
+
seriesNumber = _eventData$image$imag4[1],
|
|
28582
|
+
imageOrientationPatient = _eventData$image$imag4[2],
|
|
28583
|
+
imagePositionPatient = _eventData$image$imag4[3];
|
|
28584
|
+
|
|
28585
|
+
var mprWorker = _default$r.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
28586
|
+
var rowSliceThickness = mprWorker.ActionParameter.parameter(rowDirection).sliceThickness;
|
|
28587
|
+
var colSliceThickness = mprWorker.ActionParameter.parameter(colDirection).sliceThickness;
|
|
28588
|
+
|
|
28589
|
+
if (rowSliceThickness && rowSliceThickness > 1) {
|
|
28590
|
+
this.rowThicknessSpacing = rowSliceThickness / 2;
|
|
28591
|
+
var rowColor = MPR_DIRECTION_COLOR[rowDirection];
|
|
28592
|
+
var rowLines = [{
|
|
28593
|
+
start: {
|
|
28594
|
+
x: this.rowStart.x,
|
|
28595
|
+
y: this.rowStart.y + this.rowThicknessSpacing
|
|
28596
|
+
},
|
|
28597
|
+
end: {
|
|
28598
|
+
x: this.rowEnd.x,
|
|
28599
|
+
y: this.rowEnd.y + this.rowThicknessSpacing
|
|
28600
|
+
}
|
|
28601
|
+
}, {
|
|
28602
|
+
start: {
|
|
28603
|
+
x: this.rowStart.x,
|
|
28604
|
+
y: this.rowStart.y - this.rowThicknessSpacing
|
|
28605
|
+
},
|
|
28606
|
+
end: {
|
|
28607
|
+
x: this.rowEnd.x,
|
|
28608
|
+
y: this.rowEnd.y - this.rowThicknessSpacing
|
|
28609
|
+
}
|
|
28610
|
+
}];
|
|
28611
|
+
draw$c(context, function (context) {
|
|
28612
|
+
drawLines$2(context, eventData.element, rowLines, {
|
|
28613
|
+
color: rowColor,
|
|
28614
|
+
lineDash: [10]
|
|
28615
|
+
});
|
|
28616
|
+
});
|
|
28617
|
+
}
|
|
28618
|
+
|
|
28619
|
+
if (colSliceThickness && colSliceThickness > 1) {
|
|
28620
|
+
this.colThicknessSpacing = colSliceThickness / 2;
|
|
28621
|
+
var colColor = MPR_DIRECTION_COLOR[colDirection];
|
|
28622
|
+
var colLines = [{
|
|
28623
|
+
start: {
|
|
28624
|
+
x: this.colStart.x + this.colThicknessSpacing,
|
|
28625
|
+
y: this.colStart.y
|
|
28626
|
+
},
|
|
28627
|
+
end: {
|
|
28628
|
+
x: this.colEnd.x + this.colThicknessSpacing,
|
|
28629
|
+
y: this.colEnd.y
|
|
28630
|
+
}
|
|
28631
|
+
}, {
|
|
28632
|
+
start: {
|
|
28633
|
+
x: this.colStart.x - this.colThicknessSpacing,
|
|
28634
|
+
y: this.colStart.y
|
|
28635
|
+
},
|
|
28636
|
+
end: {
|
|
28637
|
+
x: this.colEnd.x - this.colThicknessSpacing,
|
|
28638
|
+
y: this.colEnd.y
|
|
28639
|
+
}
|
|
28640
|
+
}];
|
|
28641
|
+
draw$c(context, function (context) {
|
|
28642
|
+
drawLines$2(context, eventData.element, colLines, {
|
|
28643
|
+
color: colColor,
|
|
28644
|
+
lineDash: [10]
|
|
28645
|
+
});
|
|
28646
|
+
});
|
|
28647
|
+
}
|
|
28648
|
+
}
|
|
28649
|
+
}, {
|
|
28650
|
+
key: "handleThicknessAction",
|
|
28651
|
+
value: function handleThicknessAction(eventData) {
|
|
28652
|
+
var orientation = eventData.thicknessDirection;
|
|
28653
|
+
var delta = eventData.thicknessDelta;
|
|
28654
|
+
|
|
28655
|
+
if (!orientation || !delta || !eventData.thickness) {
|
|
28656
|
+
return;
|
|
28657
|
+
}
|
|
28658
|
+
|
|
28659
|
+
var imagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', eventData.image.imageId);
|
|
28660
|
+
|
|
28661
|
+
var _eventData$image$imag5 = eventData.image.imageId.split(':'),
|
|
28662
|
+
_eventData$image$imag6 = slicedToArray(_eventData$image$imag5, 4),
|
|
28663
|
+
scheme = _eventData$image$imag6[0],
|
|
28664
|
+
seriesNumber = _eventData$image$imag6[1],
|
|
28665
|
+
imageOrientationPatient = _eventData$image$imag6[2],
|
|
28666
|
+
imagePositionPatient = _eventData$image$imag6[3];
|
|
28667
|
+
|
|
28668
|
+
var mprWorker = _default$r.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
28669
|
+
var _imagePlane$scoutLine2 = imagePlane.scoutLine,
|
|
28670
|
+
row = _imagePlane$scoutLine2.row,
|
|
28671
|
+
col = _imagePlane$scoutLine2.col;
|
|
28672
|
+
var direction = orientation === 'row' ? row.direction : col.direction;
|
|
28673
|
+
var currentThickness = mprWorker.ActionParameter.parameter(direction).sliceThickness;
|
|
28674
|
+
var resultThickness = currentThickness + delta; // 操作方位的层厚倍数最大值
|
|
28675
|
+
|
|
28676
|
+
var classname = 'cornerstone-mpr-' + direction;
|
|
28677
|
+
var targetElement = document.getElementsByClassName(classname)[0];
|
|
28678
|
+
var enabled = external$p.cornerstone.getEnabledElement(targetElement);
|
|
28679
|
+
var targetImageId = enabled.image.imageId;
|
|
28680
|
+
var targetImagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', targetImageId);
|
|
28681
|
+
var targetSliceEnd = targetImagePlane.sliceEnd;
|
|
28682
|
+
|
|
28683
|
+
if (resultThickness > targetSliceEnd) {
|
|
28684
|
+
return;
|
|
28685
|
+
}
|
|
28686
|
+
|
|
28687
|
+
if (resultThickness <= 1) {
|
|
28688
|
+
resultThickness = 2;
|
|
28689
|
+
}
|
|
28690
|
+
|
|
28691
|
+
changeThickness(eventData.image.imageId, resultThickness, direction, 'MIP');
|
|
28375
28692
|
}
|
|
28376
28693
|
}, {
|
|
28377
28694
|
key: "__reactstandin__regenerateByEval",
|
|
@@ -28392,7 +28709,7 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28392
28709
|
return;
|
|
28393
28710
|
}
|
|
28394
28711
|
|
|
28395
|
-
reactHotLoader.register(external$
|
|
28712
|
+
reactHotLoader.register(external$p, "external", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/CrosshairsMPRTool.js");
|
|
28396
28713
|
reactHotLoader.register(draw$c, "draw", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/CrosshairsMPRTool.js");
|
|
28397
28714
|
reactHotLoader.register(drawLines$2, "drawLines", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/CrosshairsMPRTool.js");
|
|
28398
28715
|
reactHotLoader.register(getNewContext$d, "getNewContext", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/CrosshairsMPRTool.js");
|
|
@@ -28416,10 +28733,10 @@ function _createSuper$C(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
28416
28733
|
|
|
28417
28734
|
function _isNativeReflectConstruct$C() { 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; } }
|
|
28418
28735
|
|
|
28419
|
-
var __signature__$
|
|
28736
|
+
var __signature__$1R = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
28420
28737
|
return a;
|
|
28421
28738
|
};
|
|
28422
|
-
var external$
|
|
28739
|
+
var external$q = cornerstoneTools.external;
|
|
28423
28740
|
var BaseTool$b = cornerstoneTools.importInternal('base/BaseTool');
|
|
28424
28741
|
/**
|
|
28425
28742
|
*
|
|
@@ -28469,10 +28786,10 @@ var OverlayTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28469
28786
|
}, {
|
|
28470
28787
|
key: "forceImageUpdate",
|
|
28471
28788
|
value: function forceImageUpdate(element) {
|
|
28472
|
-
var enabledElement = external$
|
|
28789
|
+
var enabledElement = external$q.cornerstone.getEnabledElement(element);
|
|
28473
28790
|
|
|
28474
28791
|
if (enabledElement.image) {
|
|
28475
|
-
external$
|
|
28792
|
+
external$q.cornerstone.updateImage(element);
|
|
28476
28793
|
}
|
|
28477
28794
|
}
|
|
28478
28795
|
}, {
|
|
@@ -28488,7 +28805,7 @@ var OverlayTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28488
28805
|
return;
|
|
28489
28806
|
}
|
|
28490
28807
|
|
|
28491
|
-
var overlayPlaneMetadata = external$
|
|
28808
|
+
var overlayPlaneMetadata = external$q.cornerstone.metaData.get('overlayPlaneModule', image.imageId);
|
|
28492
28809
|
|
|
28493
28810
|
if (!overlayPlaneMetadata || !overlayPlaneMetadata.overlays || !overlayPlaneMetadata.overlays.length) {
|
|
28494
28811
|
return;
|
|
@@ -28526,7 +28843,7 @@ var OverlayTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28526
28843
|
var overlayX = !isNaN(parseFloat(overlay.x)) && isFinite(overlay.x) ? overlay.x : 0;
|
|
28527
28844
|
var overlayY = !isNaN(parseFloat(overlay.y)) && isFinite(overlay.y) ? overlay.y : 0; // Draw the overlay layer onto the canvas
|
|
28528
28845
|
|
|
28529
|
-
var transform = external$
|
|
28846
|
+
var transform = external$q.cornerstone.internal.getTransform(eventData.enabledElement);
|
|
28530
28847
|
canvasContext.setTransform(transform.m[0], transform.m[1], transform.m[2], transform.m[3], transform.m[4], transform.m[5]);
|
|
28531
28848
|
canvasContext.drawImage(layerCanvas, overlayX, overlayY);
|
|
28532
28849
|
});
|
|
@@ -28550,7 +28867,7 @@ var OverlayTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28550
28867
|
return;
|
|
28551
28868
|
}
|
|
28552
28869
|
|
|
28553
|
-
reactHotLoader.register(external$
|
|
28870
|
+
reactHotLoader.register(external$q, "external", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/OverlayTool.js");
|
|
28554
28871
|
reactHotLoader.register(BaseTool$b, "BaseTool", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/OverlayTool.js");
|
|
28555
28872
|
reactHotLoader.register(OverlayTool, "OverlayTool", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/OverlayTool.js");
|
|
28556
28873
|
})();
|
|
@@ -28565,7 +28882,7 @@ var OverlayTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28565
28882
|
enterModule && enterModule(module);
|
|
28566
28883
|
})();
|
|
28567
28884
|
|
|
28568
|
-
var __signature__$
|
|
28885
|
+
var __signature__$1S = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
28569
28886
|
return a;
|
|
28570
28887
|
};
|
|
28571
28888
|
var cornerstoneState = {
|
|
@@ -28679,7 +28996,7 @@ function reset$2(key) {
|
|
|
28679
28996
|
enterModule && enterModule(module);
|
|
28680
28997
|
})();
|
|
28681
28998
|
|
|
28682
|
-
var __signature__$
|
|
28999
|
+
var __signature__$1T = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
28683
29000
|
return a;
|
|
28684
29001
|
};
|
|
28685
29002
|
var dicomCache = {};
|
|
@@ -28736,7 +29053,7 @@ function _createSuper$D(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
28736
29053
|
|
|
28737
29054
|
function _isNativeReflectConstruct$D() { 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; } }
|
|
28738
29055
|
|
|
28739
|
-
var __signature__$
|
|
29056
|
+
var __signature__$1U = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
28740
29057
|
return a;
|
|
28741
29058
|
};
|
|
28742
29059
|
var drawLinkedTextBox$7 = cornerstoneTools.importInternal('drawing/drawLinkedTextBox');
|
|
@@ -28744,7 +29061,7 @@ var getNewContext$e = cornerstoneTools.importInternal('drawing/getNewContext');
|
|
|
28744
29061
|
var moveHandleNearImagePoint = cornerstoneTools.importInternal('manipulators/moveHandleNearImagePoint');
|
|
28745
29062
|
var drawLines$3 = cornerstoneTools.importInternal('drawing/drawLines');
|
|
28746
29063
|
var addToolState$4 = cornerstoneTools.addToolState,
|
|
28747
|
-
external$
|
|
29064
|
+
external$r = cornerstoneTools.external;
|
|
28748
29065
|
|
|
28749
29066
|
var AIAnalysisOverlayTool = /*#__PURE__*/function (_BaseAnnotationPlusTo) {
|
|
28750
29067
|
inherits(AIAnalysisOverlayTool, _BaseAnnotationPlusTo);
|
|
@@ -28773,7 +29090,7 @@ var AIAnalysisOverlayTool = /*#__PURE__*/function (_BaseAnnotationPlusTo) {
|
|
|
28773
29090
|
value: function addMeasurement(data, element) {
|
|
28774
29091
|
var measurementData = this.createNewMeasurement(data);
|
|
28775
29092
|
addToolState$4(element, this.name, measurementData);
|
|
28776
|
-
external$
|
|
29093
|
+
external$r.cornerstone.updateImage(element);
|
|
28777
29094
|
}
|
|
28778
29095
|
}, {
|
|
28779
29096
|
key: "handleSelectedCallback",
|
|
@@ -29100,7 +29417,7 @@ var textureDic = function textureDic(value) {
|
|
|
29100
29417
|
reactHotLoader.register(moveHandleNearImagePoint, "moveHandleNearImagePoint", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
29101
29418
|
reactHotLoader.register(drawLines$3, "drawLines", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
29102
29419
|
reactHotLoader.register(addToolState$4, "addToolState", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
29103
|
-
reactHotLoader.register(external$
|
|
29420
|
+
reactHotLoader.register(external$r, "external", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
29104
29421
|
reactHotLoader.register(AIAnalysisOverlayTool, "AIAnalysisOverlayTool", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
29105
29422
|
reactHotLoader.register(getAIText, "getAIText", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
29106
29423
|
reactHotLoader.register(textBoxAnchorPoints, "textBoxAnchorPoints", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
@@ -29118,7 +29435,7 @@ var textureDic = function textureDic(value) {
|
|
|
29118
29435
|
enterModule && enterModule(module);
|
|
29119
29436
|
})();
|
|
29120
29437
|
|
|
29121
|
-
var __signature__$
|
|
29438
|
+
var __signature__$1V = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29122
29439
|
return a;
|
|
29123
29440
|
};
|
|
29124
29441
|
|
|
@@ -29180,7 +29497,7 @@ var _default$E = cornerstoneTools;
|
|
|
29180
29497
|
enterModule && enterModule(module);
|
|
29181
29498
|
})();
|
|
29182
29499
|
|
|
29183
|
-
var __signature__$
|
|
29500
|
+
var __signature__$1W = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29184
29501
|
return a;
|
|
29185
29502
|
};
|
|
29186
29503
|
|
|
@@ -29249,7 +29566,7 @@ function _createImage() {
|
|
|
29249
29566
|
enterModule && enterModule(module);
|
|
29250
29567
|
})();
|
|
29251
29568
|
|
|
29252
|
-
var __signature__$
|
|
29569
|
+
var __signature__$1X = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29253
29570
|
return a;
|
|
29254
29571
|
};
|
|
29255
29572
|
|
|
@@ -29322,7 +29639,7 @@ function ownKeys$d(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
29322
29639
|
|
|
29323
29640
|
function _objectSpread$d(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$d(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
29324
29641
|
|
|
29325
|
-
var __signature__$
|
|
29642
|
+
var __signature__$1Y = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29326
29643
|
return a;
|
|
29327
29644
|
};
|
|
29328
29645
|
|
|
@@ -29551,7 +29868,7 @@ cornerstone.metaData.addProvider(centesisMetaDataProvider);
|
|
|
29551
29868
|
enterModule && enterModule(module);
|
|
29552
29869
|
})();
|
|
29553
29870
|
|
|
29554
|
-
var __signature__$
|
|
29871
|
+
var __signature__$1Z = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29555
29872
|
return a;
|
|
29556
29873
|
};
|
|
29557
29874
|
|
|
@@ -29684,7 +30001,7 @@ function ownKeys$e(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
29684
30001
|
|
|
29685
30002
|
function _objectSpread$e(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$e(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
29686
30003
|
|
|
29687
|
-
var __signature__$
|
|
30004
|
+
var __signature__$1_ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29688
30005
|
return a;
|
|
29689
30006
|
};
|
|
29690
30007
|
|
|
@@ -30046,7 +30363,7 @@ function switchMprPerspective(reset) {
|
|
|
30046
30363
|
enterModule && enterModule(module);
|
|
30047
30364
|
})();
|
|
30048
30365
|
|
|
30049
|
-
var __signature__$
|
|
30366
|
+
var __signature__$1$ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
30050
30367
|
return a;
|
|
30051
30368
|
};
|
|
30052
30369
|
|
|
@@ -31429,7 +31746,7 @@ function _createSuper$E(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
31429
31746
|
|
|
31430
31747
|
function _isNativeReflectConstruct$E() { 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; } }
|
|
31431
31748
|
|
|
31432
|
-
var __signature__$
|
|
31749
|
+
var __signature__$20 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31433
31750
|
return a;
|
|
31434
31751
|
};
|
|
31435
31752
|
|
|
@@ -31524,7 +31841,7 @@ function _createSuper$F(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
31524
31841
|
|
|
31525
31842
|
function _isNativeReflectConstruct$F() { 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; } }
|
|
31526
31843
|
|
|
31527
|
-
var __signature__$
|
|
31844
|
+
var __signature__$21 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31528
31845
|
return a;
|
|
31529
31846
|
};
|
|
31530
31847
|
|
|
@@ -31604,7 +31921,7 @@ var Layout = /*#__PURE__*/function (_Component) {
|
|
|
31604
31921
|
enterModule && enterModule(module);
|
|
31605
31922
|
})();
|
|
31606
31923
|
|
|
31607
|
-
var __signature__$
|
|
31924
|
+
var __signature__$22 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31608
31925
|
return a;
|
|
31609
31926
|
};
|
|
31610
31927
|
|
|
@@ -31659,7 +31976,7 @@ function ownKeys$f(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
31659
31976
|
|
|
31660
31977
|
function _objectSpread$f(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; }
|
|
31661
31978
|
|
|
31662
|
-
var __signature__$
|
|
31979
|
+
var __signature__$23 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31663
31980
|
return a;
|
|
31664
31981
|
};
|
|
31665
31982
|
|
|
@@ -31812,7 +32129,7 @@ function _createSuper$G(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
31812
32129
|
|
|
31813
32130
|
function _isNativeReflectConstruct$G() { 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; } }
|
|
31814
32131
|
|
|
31815
|
-
var __signature__$
|
|
32132
|
+
var __signature__$24 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31816
32133
|
return a;
|
|
31817
32134
|
};
|
|
31818
32135
|
|
|
@@ -31919,7 +32236,7 @@ function _createSuper$H(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
31919
32236
|
|
|
31920
32237
|
function _isNativeReflectConstruct$H() { 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; } }
|
|
31921
32238
|
|
|
31922
|
-
var __signature__$
|
|
32239
|
+
var __signature__$25 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31923
32240
|
return a;
|
|
31924
32241
|
};
|
|
31925
32242
|
|
|
@@ -31993,7 +32310,7 @@ function _createSuper$I(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
31993
32310
|
|
|
31994
32311
|
function _isNativeReflectConstruct$I() { 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; } }
|
|
31995
32312
|
|
|
31996
|
-
var __signature__$
|
|
32313
|
+
var __signature__$26 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31997
32314
|
return a;
|
|
31998
32315
|
};
|
|
31999
32316
|
|
|
@@ -32084,7 +32401,7 @@ function _createSuper$J(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
32084
32401
|
|
|
32085
32402
|
function _isNativeReflectConstruct$J() { 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; } }
|
|
32086
32403
|
|
|
32087
|
-
var __signature__$
|
|
32404
|
+
var __signature__$27 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32088
32405
|
return a;
|
|
32089
32406
|
};
|
|
32090
32407
|
/**
|
|
@@ -32177,7 +32494,7 @@ function _createSuper$K(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
32177
32494
|
|
|
32178
32495
|
function _isNativeReflectConstruct$K() { 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; } }
|
|
32179
32496
|
|
|
32180
|
-
var __signature__$
|
|
32497
|
+
var __signature__$28 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32181
32498
|
return a;
|
|
32182
32499
|
};
|
|
32183
32500
|
|
|
@@ -32383,7 +32700,7 @@ function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
32383
32700
|
|
|
32384
32701
|
function _objectSpread$g(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; }
|
|
32385
32702
|
|
|
32386
|
-
var __signature__$
|
|
32703
|
+
var __signature__$29 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32387
32704
|
return a;
|
|
32388
32705
|
};
|
|
32389
32706
|
var destroyFns = [];
|
|
@@ -32525,7 +32842,7 @@ var _default$K = Modal;
|
|
|
32525
32842
|
enterModule && enterModule(module);
|
|
32526
32843
|
})();
|
|
32527
32844
|
|
|
32528
|
-
var __signature__$
|
|
32845
|
+
var __signature__$2a = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32529
32846
|
return a;
|
|
32530
32847
|
};
|
|
32531
32848
|
|
|
@@ -32587,7 +32904,7 @@ function _createSuper$L(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
32587
32904
|
|
|
32588
32905
|
function _isNativeReflectConstruct$L() { 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; } }
|
|
32589
32906
|
|
|
32590
|
-
var __signature__$
|
|
32907
|
+
var __signature__$2b = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32591
32908
|
return a;
|
|
32592
32909
|
};
|
|
32593
32910
|
|
|
@@ -32911,7 +33228,7 @@ function _createSuper$M(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
32911
33228
|
|
|
32912
33229
|
function _isNativeReflectConstruct$M() { 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; } }
|
|
32913
33230
|
|
|
32914
|
-
var __signature__$
|
|
33231
|
+
var __signature__$2c = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32915
33232
|
return a;
|
|
32916
33233
|
};
|
|
32917
33234
|
|
|
@@ -33153,7 +33470,7 @@ function ownKeys$h(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
33153
33470
|
|
|
33154
33471
|
function _objectSpread$h(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; }
|
|
33155
33472
|
|
|
33156
|
-
var __signature__$
|
|
33473
|
+
var __signature__$2d = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33157
33474
|
return a;
|
|
33158
33475
|
};
|
|
33159
33476
|
|
|
@@ -33336,7 +33653,7 @@ function _createSuper$N(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
33336
33653
|
|
|
33337
33654
|
function _isNativeReflectConstruct$N() { 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; } }
|
|
33338
33655
|
|
|
33339
|
-
var __signature__$
|
|
33656
|
+
var __signature__$2e = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33340
33657
|
return a;
|
|
33341
33658
|
};
|
|
33342
33659
|
|
|
@@ -33440,7 +33757,7 @@ function ownKeys$i(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
33440
33757
|
|
|
33441
33758
|
function _objectSpread$i(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; }
|
|
33442
33759
|
|
|
33443
|
-
var __signature__$
|
|
33760
|
+
var __signature__$2f = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33444
33761
|
return a;
|
|
33445
33762
|
};
|
|
33446
33763
|
|
|
@@ -33604,7 +33921,7 @@ function _createSuper$O(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
33604
33921
|
|
|
33605
33922
|
function _isNativeReflectConstruct$O() { 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; } }
|
|
33606
33923
|
|
|
33607
|
-
var __signature__$
|
|
33924
|
+
var __signature__$2g = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33608
33925
|
return a;
|
|
33609
33926
|
};
|
|
33610
33927
|
|
|
@@ -33699,7 +34016,7 @@ function ownKeys$j(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
33699
34016
|
|
|
33700
34017
|
function _objectSpread$j(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$j(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$j(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
33701
34018
|
|
|
33702
|
-
var __signature__$
|
|
34019
|
+
var __signature__$2h = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33703
34020
|
return a;
|
|
33704
34021
|
};
|
|
33705
34022
|
|
|
@@ -33845,7 +34162,7 @@ function _createSuper$P(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
33845
34162
|
|
|
33846
34163
|
function _isNativeReflectConstruct$P() { 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; } }
|
|
33847
34164
|
|
|
33848
|
-
var __signature__$
|
|
34165
|
+
var __signature__$2i = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33849
34166
|
return a;
|
|
33850
34167
|
};
|
|
33851
34168
|
|
|
@@ -33902,7 +34219,7 @@ defineProperty(ButtonGroup, "propTypes", {});
|
|
|
33902
34219
|
enterModule && enterModule(module);
|
|
33903
34220
|
})();
|
|
33904
34221
|
|
|
33905
|
-
var __signature__$
|
|
34222
|
+
var __signature__$2j = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33906
34223
|
return a;
|
|
33907
34224
|
};
|
|
33908
34225
|
/**
|
|
@@ -33991,7 +34308,7 @@ function _createSuper$Q(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
33991
34308
|
|
|
33992
34309
|
function _isNativeReflectConstruct$Q() { 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; } }
|
|
33993
34310
|
|
|
33994
|
-
var __signature__$
|
|
34311
|
+
var __signature__$2k = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33995
34312
|
return a;
|
|
33996
34313
|
};
|
|
33997
34314
|
|
|
@@ -34103,7 +34420,7 @@ defineProperty(DicomTagsRow, "propTypes", {
|
|
|
34103
34420
|
enterModule && enterModule(module);
|
|
34104
34421
|
})();
|
|
34105
34422
|
|
|
34106
|
-
var __signature__$
|
|
34423
|
+
var __signature__$2l = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34107
34424
|
return a;
|
|
34108
34425
|
};
|
|
34109
34426
|
|
|
@@ -34139,7 +34456,7 @@ function _createSuper$R(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
34139
34456
|
|
|
34140
34457
|
function _isNativeReflectConstruct$R() { 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; } }
|
|
34141
34458
|
|
|
34142
|
-
var __signature__$
|
|
34459
|
+
var __signature__$2m = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34143
34460
|
return a;
|
|
34144
34461
|
};
|
|
34145
34462
|
var dicomTagsKeysScan = lodash$1.chain(dicomDataDictionary.standardDataElements).pickBy(function (value) {
|
|
@@ -34331,7 +34648,7 @@ function _createSuper$S(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
34331
34648
|
|
|
34332
34649
|
function _isNativeReflectConstruct$S() { 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; } }
|
|
34333
34650
|
|
|
34334
|
-
var __signature__$
|
|
34651
|
+
var __signature__$2n = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34335
34652
|
return a;
|
|
34336
34653
|
};
|
|
34337
34654
|
|
|
@@ -34615,7 +34932,7 @@ function ownKeys$l(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
34615
34932
|
|
|
34616
34933
|
function _objectSpread$l(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$l(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$l(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
34617
34934
|
|
|
34618
|
-
var __signature__$
|
|
34935
|
+
var __signature__$2o = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34619
34936
|
return a;
|
|
34620
34937
|
};
|
|
34621
34938
|
|
|
@@ -34738,7 +35055,7 @@ function _createSuper$T(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
34738
35055
|
|
|
34739
35056
|
function _isNativeReflectConstruct$T() { 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; } }
|
|
34740
35057
|
|
|
34741
|
-
var __signature__$
|
|
35058
|
+
var __signature__$2p = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34742
35059
|
return a;
|
|
34743
35060
|
};
|
|
34744
35061
|
|
|
@@ -34978,7 +35295,7 @@ function ownKeys$m(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
34978
35295
|
|
|
34979
35296
|
function _objectSpread$m(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$m(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$m(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
34980
35297
|
|
|
34981
|
-
var __signature__$
|
|
35298
|
+
var __signature__$2q = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34982
35299
|
return a;
|
|
34983
35300
|
};
|
|
34984
35301
|
var destroyFns$1 = [];
|
|
@@ -35076,7 +35393,7 @@ function ownKeys$n(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
35076
35393
|
|
|
35077
35394
|
function _objectSpread$n(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$n(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$n(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
35078
35395
|
|
|
35079
|
-
var __signature__$
|
|
35396
|
+
var __signature__$2r = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
35080
35397
|
return a;
|
|
35081
35398
|
};
|
|
35082
35399
|
|
|
@@ -39402,7 +39719,7 @@ function _createSuper$U(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
39402
39719
|
|
|
39403
39720
|
function _isNativeReflectConstruct$U() { 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; } }
|
|
39404
39721
|
|
|
39405
|
-
var __signature__$
|
|
39722
|
+
var __signature__$2s = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
39406
39723
|
return a;
|
|
39407
39724
|
};
|
|
39408
39725
|
|
|
@@ -39713,7 +40030,7 @@ function _createSuper$V(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
39713
40030
|
|
|
39714
40031
|
function _isNativeReflectConstruct$V() { 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; } }
|
|
39715
40032
|
|
|
39716
|
-
var __signature__$
|
|
40033
|
+
var __signature__$2t = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
39717
40034
|
return a;
|
|
39718
40035
|
};
|
|
39719
40036
|
|
|
@@ -39862,7 +40179,7 @@ function ownKeys$p(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
39862
40179
|
|
|
39863
40180
|
function _objectSpread$p(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$p(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$p(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
39864
40181
|
|
|
39865
|
-
var __signature__$
|
|
40182
|
+
var __signature__$2u = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
39866
40183
|
return a;
|
|
39867
40184
|
};
|
|
39868
40185
|
|
|
@@ -40003,7 +40320,7 @@ function _createSuper$W(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
40003
40320
|
|
|
40004
40321
|
function _isNativeReflectConstruct$W() { 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; } }
|
|
40005
40322
|
|
|
40006
|
-
var __signature__$
|
|
40323
|
+
var __signature__$2v = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40007
40324
|
return a;
|
|
40008
40325
|
};
|
|
40009
40326
|
|
|
@@ -40086,7 +40403,7 @@ function ownKeys$q(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
40086
40403
|
|
|
40087
40404
|
function _objectSpread$q(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$q(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$q(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
40088
40405
|
|
|
40089
|
-
var __signature__$
|
|
40406
|
+
var __signature__$2w = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40090
40407
|
return a;
|
|
40091
40408
|
};
|
|
40092
40409
|
|
|
@@ -40199,7 +40516,7 @@ function _createSuper$X(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
40199
40516
|
|
|
40200
40517
|
function _isNativeReflectConstruct$X() { 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; } }
|
|
40201
40518
|
|
|
40202
|
-
var __signature__$
|
|
40519
|
+
var __signature__$2x = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40203
40520
|
return a;
|
|
40204
40521
|
};
|
|
40205
40522
|
|
|
@@ -40329,7 +40646,7 @@ function ownKeys$r(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
40329
40646
|
|
|
40330
40647
|
function _objectSpread$r(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$r(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$r(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
40331
40648
|
|
|
40332
|
-
var __signature__$
|
|
40649
|
+
var __signature__$2y = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40333
40650
|
return a;
|
|
40334
40651
|
};
|
|
40335
40652
|
|
|
@@ -40413,7 +40730,7 @@ function _createSuper$Y(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
40413
40730
|
|
|
40414
40731
|
function _isNativeReflectConstruct$Y() { 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; } }
|
|
40415
40732
|
|
|
40416
|
-
var __signature__$
|
|
40733
|
+
var __signature__$2z = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40417
40734
|
return a;
|
|
40418
40735
|
};
|
|
40419
40736
|
|
|
@@ -40499,7 +40816,7 @@ function ownKeys$s(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
40499
40816
|
|
|
40500
40817
|
function _objectSpread$s(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$s(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$s(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
40501
40818
|
|
|
40502
|
-
var __signature__$
|
|
40819
|
+
var __signature__$2A = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40503
40820
|
return a;
|
|
40504
40821
|
};
|
|
40505
40822
|
|
|
@@ -40603,7 +40920,7 @@ function _createSuper$Z(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
40603
40920
|
|
|
40604
40921
|
function _isNativeReflectConstruct$Z() { 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; } }
|
|
40605
40922
|
|
|
40606
|
-
var __signature__$
|
|
40923
|
+
var __signature__$2B = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40607
40924
|
return a;
|
|
40608
40925
|
};
|
|
40609
40926
|
var VRModeDict = (_VRModeDict = {}, defineProperty(_VRModeDict, OperationMode.Fast, '流畅'), defineProperty(_VRModeDict, OperationMode.Standard, '常规'), defineProperty(_VRModeDict, OperationMode.Advanced, '增强'), _VRModeDict);
|
|
@@ -40678,7 +40995,7 @@ function ownKeys$t(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
40678
40995
|
|
|
40679
40996
|
function _objectSpread$t(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$t(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$t(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
40680
40997
|
|
|
40681
|
-
var __signature__$
|
|
40998
|
+
var __signature__$2C = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40682
40999
|
return a;
|
|
40683
41000
|
};
|
|
40684
41001
|
|
|
@@ -40765,7 +41082,7 @@ styleInject$1(css_248z$d);
|
|
|
40765
41082
|
enterModule && enterModule(module);
|
|
40766
41083
|
})();
|
|
40767
41084
|
|
|
40768
|
-
var __signature__$
|
|
41085
|
+
var __signature__$2D = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40769
41086
|
return a;
|
|
40770
41087
|
};
|
|
40771
41088
|
|
|
@@ -40811,7 +41128,7 @@ function exitFullscreen() {
|
|
|
40811
41128
|
enterModule && enterModule(module);
|
|
40812
41129
|
})();
|
|
40813
41130
|
|
|
40814
|
-
var __signature__$
|
|
41131
|
+
var __signature__$2E = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40815
41132
|
return a;
|
|
40816
41133
|
};
|
|
40817
41134
|
var boundsPosition = function boundsPosition(_ref) {
|
|
@@ -40858,7 +41175,7 @@ function _createSuper$_(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
40858
41175
|
|
|
40859
41176
|
function _isNativeReflectConstruct$_() { 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; } }
|
|
40860
41177
|
|
|
40861
|
-
var __signature__$
|
|
41178
|
+
var __signature__$2F = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40862
41179
|
return a;
|
|
40863
41180
|
};
|
|
40864
41181
|
|
|
@@ -42843,7 +43160,7 @@ function _createSuper$$(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
42843
43160
|
|
|
42844
43161
|
function _isNativeReflectConstruct$$() { 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; } }
|
|
42845
43162
|
|
|
42846
|
-
var __signature__$
|
|
43163
|
+
var __signature__$2G = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
42847
43164
|
return a;
|
|
42848
43165
|
};
|
|
42849
43166
|
var SortableItem = sortableElement(function (_ref) {
|
|
@@ -43027,7 +43344,7 @@ function _createSuper$10(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
43027
43344
|
|
|
43028
43345
|
function _isNativeReflectConstruct$10() { 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; } }
|
|
43029
43346
|
|
|
43030
|
-
var __signature__$
|
|
43347
|
+
var __signature__$2H = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
43031
43348
|
return a;
|
|
43032
43349
|
};
|
|
43033
43350
|
|
|
@@ -43274,7 +43591,7 @@ function _createSuper$11(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
43274
43591
|
|
|
43275
43592
|
function _isNativeReflectConstruct$11() { 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; } }
|
|
43276
43593
|
|
|
43277
|
-
var __signature__$
|
|
43594
|
+
var __signature__$2I = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
43278
43595
|
return a;
|
|
43279
43596
|
};
|
|
43280
43597
|
|
|
@@ -43546,7 +43863,7 @@ function _createSuper$12(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
43546
43863
|
|
|
43547
43864
|
function _isNativeReflectConstruct$12() { 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; } }
|
|
43548
43865
|
|
|
43549
|
-
var __signature__$
|
|
43866
|
+
var __signature__$2J = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
43550
43867
|
return a;
|
|
43551
43868
|
};
|
|
43552
43869
|
|
|
@@ -43731,7 +44048,7 @@ function _createSuper$13(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
43731
44048
|
|
|
43732
44049
|
function _isNativeReflectConstruct$13() { 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; } }
|
|
43733
44050
|
|
|
43734
|
-
var __signature__$
|
|
44051
|
+
var __signature__$2K = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
43735
44052
|
return a;
|
|
43736
44053
|
};
|
|
43737
44054
|
|
|
@@ -44021,7 +44338,7 @@ function _createSuper$14(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
44021
44338
|
|
|
44022
44339
|
function _isNativeReflectConstruct$14() { 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; } }
|
|
44023
44340
|
|
|
44024
|
-
var __signature__$
|
|
44341
|
+
var __signature__$2L = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
44025
44342
|
return a;
|
|
44026
44343
|
};
|
|
44027
44344
|
|
|
@@ -44328,7 +44645,7 @@ function _createSuper$15(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
44328
44645
|
|
|
44329
44646
|
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; } }
|
|
44330
44647
|
|
|
44331
|
-
var __signature__$
|
|
44648
|
+
var __signature__$2M = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
44332
44649
|
return a;
|
|
44333
44650
|
};
|
|
44334
44651
|
|
|
@@ -44398,7 +44715,7 @@ function ownKeys$v(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
44398
44715
|
|
|
44399
44716
|
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; }
|
|
44400
44717
|
|
|
44401
|
-
var __signature__$
|
|
44718
|
+
var __signature__$2N = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
44402
44719
|
return a;
|
|
44403
44720
|
};
|
|
44404
44721
|
|
|
@@ -44495,7 +44812,7 @@ function _createSuper$16(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
44495
44812
|
|
|
44496
44813
|
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; } }
|
|
44497
44814
|
|
|
44498
|
-
var __signature__$
|
|
44815
|
+
var __signature__$2O = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
44499
44816
|
return a;
|
|
44500
44817
|
};
|
|
44501
44818
|
|
|
@@ -45108,7 +45425,7 @@ styleInject$1(css_248z$h);
|
|
|
45108
45425
|
enterModule && enterModule(module);
|
|
45109
45426
|
})();
|
|
45110
45427
|
|
|
45111
|
-
var __signature__$
|
|
45428
|
+
var __signature__$2P = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
45112
45429
|
return a;
|
|
45113
45430
|
};
|
|
45114
45431
|
|
|
@@ -45218,7 +45535,7 @@ function _createSuper$17(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
45218
45535
|
|
|
45219
45536
|
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; } }
|
|
45220
45537
|
|
|
45221
|
-
var __signature__$
|
|
45538
|
+
var __signature__$2Q = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
45222
45539
|
return a;
|
|
45223
45540
|
};
|
|
45224
45541
|
|
|
@@ -45386,7 +45703,7 @@ function ownKeys$w(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
45386
45703
|
|
|
45387
45704
|
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; }
|
|
45388
45705
|
|
|
45389
|
-
var __signature__$
|
|
45706
|
+
var __signature__$2R = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
45390
45707
|
return a;
|
|
45391
45708
|
};
|
|
45392
45709
|
var scrollToIndex$2 = _default$E.importInternal('util/scrollToIndex');
|
|
@@ -46211,7 +46528,7 @@ function _createSuper$18(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
46211
46528
|
|
|
46212
46529
|
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; } }
|
|
46213
46530
|
|
|
46214
|
-
var __signature__$
|
|
46531
|
+
var __signature__$2S = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46215
46532
|
return a;
|
|
46216
46533
|
};
|
|
46217
46534
|
|
|
@@ -46308,7 +46625,7 @@ function _createSuper$19(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
46308
46625
|
|
|
46309
46626
|
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; } }
|
|
46310
46627
|
|
|
46311
|
-
var __signature__$
|
|
46628
|
+
var __signature__$2T = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46312
46629
|
return a;
|
|
46313
46630
|
};
|
|
46314
46631
|
var loadIndicatorDelay = 300;
|
|
@@ -46524,7 +46841,7 @@ function _createSuper$1a(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
46524
46841
|
|
|
46525
46842
|
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; } }
|
|
46526
46843
|
|
|
46527
|
-
var __signature__$
|
|
46844
|
+
var __signature__$2U = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46528
46845
|
return a;
|
|
46529
46846
|
};
|
|
46530
46847
|
|
|
@@ -46733,7 +47050,7 @@ function ownKeys$x(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
46733
47050
|
|
|
46734
47051
|
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; }
|
|
46735
47052
|
|
|
46736
|
-
var __signature__$
|
|
47053
|
+
var __signature__$2V = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46737
47054
|
return a;
|
|
46738
47055
|
};
|
|
46739
47056
|
|
|
@@ -46838,7 +47155,7 @@ styleInject$1(css_248z$k);
|
|
|
46838
47155
|
enterModule && enterModule(module);
|
|
46839
47156
|
})();
|
|
46840
47157
|
|
|
46841
|
-
var __signature__$
|
|
47158
|
+
var __signature__$2W = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46842
47159
|
return a;
|
|
46843
47160
|
};
|
|
46844
47161
|
function combineDateAndTimeToMoment(dicom, tag) {
|
|
@@ -46891,7 +47208,7 @@ function convertSecondsToMinAndSecond(seconds) {
|
|
|
46891
47208
|
enterModule && enterModule(module);
|
|
46892
47209
|
})();
|
|
46893
47210
|
|
|
46894
|
-
var __signature__$
|
|
47211
|
+
var __signature__$2X = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46895
47212
|
return a;
|
|
46896
47213
|
};
|
|
46897
47214
|
|
|
@@ -46921,7 +47238,7 @@ function formatNumberPrecision(number, precision) {
|
|
|
46921
47238
|
enterModule && enterModule(module);
|
|
46922
47239
|
})();
|
|
46923
47240
|
|
|
46924
|
-
var __signature__$
|
|
47241
|
+
var __signature__$2Y = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46925
47242
|
return a;
|
|
46926
47243
|
};
|
|
46927
47244
|
function getPixelSpacing$8(imageId) {
|
|
@@ -46964,7 +47281,7 @@ function _createSuper$1b(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
46964
47281
|
|
|
46965
47282
|
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; } }
|
|
46966
47283
|
|
|
46967
|
-
var __signature__$
|
|
47284
|
+
var __signature__$2Z = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46968
47285
|
return a;
|
|
46969
47286
|
};
|
|
46970
47287
|
|
|
@@ -47319,7 +47636,7 @@ function _createSuper$1c(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
47319
47636
|
|
|
47320
47637
|
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; } }
|
|
47321
47638
|
|
|
47322
|
-
var __signature__$
|
|
47639
|
+
var __signature__$2_ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
47323
47640
|
return a;
|
|
47324
47641
|
};
|
|
47325
47642
|
|
|
@@ -47394,7 +47711,7 @@ function _createSuper$1d(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
47394
47711
|
|
|
47395
47712
|
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; } }
|
|
47396
47713
|
|
|
47397
|
-
var __signature__$
|
|
47714
|
+
var __signature__$2$ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
47398
47715
|
return a;
|
|
47399
47716
|
};
|
|
47400
47717
|
|
|
@@ -47817,7 +48134,7 @@ function _unsupportedIterableToArray$b(o, minLen) { if (!o) return; if (typeof o
|
|
|
47817
48134
|
|
|
47818
48135
|
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; }
|
|
47819
48136
|
|
|
47820
|
-
var __signature__$
|
|
48137
|
+
var __signature__$30 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
47821
48138
|
return a;
|
|
47822
48139
|
};
|
|
47823
48140
|
var triggerEvent$3 = _default$E.importInternal('util/triggerEvent');
|
|
@@ -47990,10 +48307,10 @@ function _unsupportedIterableToArray$c(o, minLen) { if (!o) return; if (typeof o
|
|
|
47990
48307
|
|
|
47991
48308
|
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; }
|
|
47992
48309
|
|
|
47993
|
-
var __signature__$
|
|
48310
|
+
var __signature__$31 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
47994
48311
|
return a;
|
|
47995
48312
|
};
|
|
47996
|
-
var external$
|
|
48313
|
+
var external$s = cornerstoneTools.external;
|
|
47997
48314
|
|
|
47998
48315
|
function processCentesisPath(imageId) {
|
|
47999
48316
|
var _imageId$split = imageId.split(':'),
|
|
@@ -48025,7 +48342,7 @@ function processCentesisPath(imageId) {
|
|
|
48025
48342
|
try {
|
|
48026
48343
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
48027
48344
|
var element = _step.value;
|
|
48028
|
-
external$
|
|
48345
|
+
external$s.cornerstone.triggerEvent(element, 'MPR_REFERENCE_LINE', {
|
|
48029
48346
|
images: images,
|
|
48030
48347
|
source: imageOrientationPatient
|
|
48031
48348
|
});
|
|
@@ -48044,7 +48361,7 @@ function processCentesisPath(imageId) {
|
|
|
48044
48361
|
return;
|
|
48045
48362
|
}
|
|
48046
48363
|
|
|
48047
|
-
reactHotLoader.register(external$
|
|
48364
|
+
reactHotLoader.register(external$s, "external", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/processCentesisPath.js");
|
|
48048
48365
|
reactHotLoader.register(processCentesisPath, "processCentesisPath", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/processCentesisPath.js");
|
|
48049
48366
|
})();
|
|
48050
48367
|
|
|
@@ -48053,6 +48370,131 @@ function processCentesisPath(imageId) {
|
|
|
48053
48370
|
leaveModule && leaveModule(module);
|
|
48054
48371
|
})();
|
|
48055
48372
|
|
|
48373
|
+
var css_248z$o = ".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";
|
|
48374
|
+
styleInject$1(css_248z$o);
|
|
48375
|
+
|
|
48376
|
+
(function () {
|
|
48377
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
48378
|
+
enterModule && enterModule(module);
|
|
48379
|
+
})();
|
|
48380
|
+
|
|
48381
|
+
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); }; }
|
|
48382
|
+
|
|
48383
|
+
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; } }
|
|
48384
|
+
|
|
48385
|
+
var __signature__$32 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
48386
|
+
return a;
|
|
48387
|
+
};
|
|
48388
|
+
|
|
48389
|
+
var ThicknessSelectMain = /*#__PURE__*/function (_Component) {
|
|
48390
|
+
inherits(ThicknessSelectMain, _Component);
|
|
48391
|
+
|
|
48392
|
+
var _super = _createSuper$1e(ThicknessSelectMain);
|
|
48393
|
+
|
|
48394
|
+
function ThicknessSelectMain(props) {
|
|
48395
|
+
var _this;
|
|
48396
|
+
|
|
48397
|
+
classCallCheck(this, ThicknessSelectMain);
|
|
48398
|
+
|
|
48399
|
+
_this = _super.call(this, props);
|
|
48400
|
+
|
|
48401
|
+
defineProperty(assertThisInitialized(_this), "onPopoverClose", function (eventData) {
|
|
48402
|
+
if (eventData && eventData.value) {
|
|
48403
|
+
var value = eventData.value;
|
|
48404
|
+
changeThickness(_this.props.imageId, value, _this.props.mpr, 'MIP');
|
|
48405
|
+
|
|
48406
|
+
_this.props.onSelect(value);
|
|
48407
|
+
}
|
|
48408
|
+
});
|
|
48409
|
+
|
|
48410
|
+
var stack = _this.props.stack;
|
|
48411
|
+
var spaceBetweenSlice = stack.spaceBetweenSlice && stack.spaceBetweenSlice.toFixed(1);
|
|
48412
|
+
var sliceEnd = stack.sliceEnd;
|
|
48413
|
+
var thicknessOptions = [2, 4, 8, 16, 32]; //sliceEnd层数
|
|
48414
|
+
|
|
48415
|
+
if (sliceEnd) {
|
|
48416
|
+
thicknessOptions = lodash$1.filter(thicknessOptions, function (item) {
|
|
48417
|
+
return item < sliceEnd || item === sliceEnd;
|
|
48418
|
+
});
|
|
48419
|
+
}
|
|
48420
|
+
|
|
48421
|
+
_this.selectOptions = lodash$1.map(thicknessOptions, function (item) {
|
|
48422
|
+
return {
|
|
48423
|
+
label: (spaceBetweenSlice * item).toFixed(1) + 'mm-MIP',
|
|
48424
|
+
value: item
|
|
48425
|
+
};
|
|
48426
|
+
});
|
|
48427
|
+
return _this;
|
|
48428
|
+
}
|
|
48429
|
+
|
|
48430
|
+
createClass(ThicknessSelectMain, [{
|
|
48431
|
+
key: "render",
|
|
48432
|
+
value: function render() {
|
|
48433
|
+
var _this2 = this;
|
|
48434
|
+
|
|
48435
|
+
var _this$props = this.props,
|
|
48436
|
+
value = _this$props.value,
|
|
48437
|
+
stack = _this$props.stack;
|
|
48438
|
+
var spaceBetweenSlice = stack.spaceBetweenSlice && stack.spaceBetweenSlice.toFixed(1);
|
|
48439
|
+
|
|
48440
|
+
var ThicknessSelect = function ThicknessSelect(props) {
|
|
48441
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
48442
|
+
className: "paladin-thickness-selecter"
|
|
48443
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
48444
|
+
className: "paladin-thickness-select-item paladin-thickness-select-mpr",
|
|
48445
|
+
onClick: function onClick() {
|
|
48446
|
+
props.onClose({
|
|
48447
|
+
value: 1
|
|
48448
|
+
});
|
|
48449
|
+
}
|
|
48450
|
+
}, "MPR"), _this2.selectOptions && _this2.selectOptions.map(function (item) {
|
|
48451
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
48452
|
+
className: "paladin-thickness-select-item",
|
|
48453
|
+
key: "thickness-".concat(item.value),
|
|
48454
|
+
onClick: function onClick() {
|
|
48455
|
+
props.onClose({
|
|
48456
|
+
value: item.value
|
|
48457
|
+
});
|
|
48458
|
+
}
|
|
48459
|
+
}, item.label);
|
|
48460
|
+
}));
|
|
48461
|
+
};
|
|
48462
|
+
|
|
48463
|
+
return /*#__PURE__*/React__default.createElement(PopperBox, {
|
|
48464
|
+
popover: ThicknessSelect,
|
|
48465
|
+
onPopoverClose: this.onPopoverClose,
|
|
48466
|
+
popoverPlacement: 'top'
|
|
48467
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
48468
|
+
className: "paladin-thickness-container"
|
|
48469
|
+
}, value === 1 ? 'MPR' : (spaceBetweenSlice * value).toFixed(1) + 'mm-MIP'));
|
|
48470
|
+
}
|
|
48471
|
+
}, {
|
|
48472
|
+
key: "__reactstandin__regenerateByEval",
|
|
48473
|
+
// @ts-ignore
|
|
48474
|
+
value: function __reactstandin__regenerateByEval(key, code) {
|
|
48475
|
+
// @ts-ignore
|
|
48476
|
+
this[key] = eval(code);
|
|
48477
|
+
}
|
|
48478
|
+
}]);
|
|
48479
|
+
|
|
48480
|
+
return ThicknessSelectMain;
|
|
48481
|
+
}(React.Component);
|
|
48482
|
+
|
|
48483
|
+
(function () {
|
|
48484
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
48485
|
+
|
|
48486
|
+
if (!reactHotLoader) {
|
|
48487
|
+
return;
|
|
48488
|
+
}
|
|
48489
|
+
|
|
48490
|
+
reactHotLoader.register(ThicknessSelectMain, "ThicknessSelectMain", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomViewport/mpr/ThicknessSelectMain.js");
|
|
48491
|
+
})();
|
|
48492
|
+
|
|
48493
|
+
(function () {
|
|
48494
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
48495
|
+
leaveModule && leaveModule(module);
|
|
48496
|
+
})();
|
|
48497
|
+
|
|
48056
48498
|
(function () {
|
|
48057
48499
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
48058
48500
|
enterModule && enterModule(module);
|
|
@@ -48062,11 +48504,11 @@ function ownKeys$y(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
48062
48504
|
|
|
48063
48505
|
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; }
|
|
48064
48506
|
|
|
48065
|
-
function _createSuper$
|
|
48507
|
+
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); }; }
|
|
48066
48508
|
|
|
48067
|
-
function _isNativeReflectConstruct$
|
|
48509
|
+
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; } }
|
|
48068
48510
|
|
|
48069
|
-
var __signature__$
|
|
48511
|
+
var __signature__$33 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
48070
48512
|
return a;
|
|
48071
48513
|
};
|
|
48072
48514
|
var EVENT_RESIZE = 'resize';
|
|
@@ -48108,7 +48550,7 @@ function initializeTools$1(cornerstoneTools, tools, element) {
|
|
|
48108
48550
|
var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
48109
48551
|
inherits(DicomViewport, _Component);
|
|
48110
48552
|
|
|
48111
|
-
var _super = _createSuper$
|
|
48553
|
+
var _super = _createSuper$1f(DicomViewport);
|
|
48112
48554
|
|
|
48113
48555
|
function DicomViewport(_props) {
|
|
48114
48556
|
var _this;
|
|
@@ -48850,12 +49292,26 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
48850
49292
|
value: currentImageIndex + 1
|
|
48851
49293
|
}))), showCustomScroll && mpr && /*#__PURE__*/React__default.createElement("div", {
|
|
48852
49294
|
className: "paladin-flex paladin-flex-row paladin-viewport-scroll-mpr-wrappper"
|
|
49295
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
49296
|
+
style: {
|
|
49297
|
+
width: 'calc(100% - 90px)'
|
|
49298
|
+
}
|
|
48853
49299
|
}, /*#__PURE__*/React__default.createElement(CustomScroll, {
|
|
48854
49300
|
step: imageCount,
|
|
48855
49301
|
value: currentImageIndex,
|
|
48856
49302
|
onPan: this.handlePan,
|
|
48857
49303
|
name: index,
|
|
48858
49304
|
aiTips: Surgery && centesisTipInCustomScroll
|
|
49305
|
+
})), mpr && /*#__PURE__*/React__default.createElement(ThicknessSelectMain, {
|
|
49306
|
+
value: sliceThickness,
|
|
49307
|
+
onSelect: function onSelect(v) {
|
|
49308
|
+
_this3.setState({
|
|
49309
|
+
sliceThickness: v
|
|
49310
|
+
});
|
|
49311
|
+
},
|
|
49312
|
+
stack: stack,
|
|
49313
|
+
imageId: imageId,
|
|
49314
|
+
mpr: mpr
|
|
48859
49315
|
})), mpr && !Surgery && /*#__PURE__*/React__default.createElement("div", {
|
|
48860
49316
|
className: "paladin-mpr-direaction-tip",
|
|
48861
49317
|
style: {
|
|
@@ -48904,6 +49360,15 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
48904
49360
|
var viewport = cornerstone.getViewport(this.element);
|
|
48905
49361
|
var stateViewport = this.state.viewport;
|
|
48906
49362
|
|
|
49363
|
+
if (this.props.mpr) {
|
|
49364
|
+
var currentImageIndex = this.props.stack && this.props.stack.currentImageIdIndex || 0;
|
|
49365
|
+
var imageId = this.props.stack && this.props.stack.imageIds[currentImageIndex];
|
|
49366
|
+
var sliceThickness = setThickness(imageId);
|
|
49367
|
+
this.setState({
|
|
49368
|
+
sliceThickness: sliceThickness
|
|
49369
|
+
});
|
|
49370
|
+
}
|
|
49371
|
+
|
|
48907
49372
|
if (JSON.stringify(viewport) === JSON.stringify(stateViewport)) {
|
|
48908
49373
|
return;
|
|
48909
49374
|
}
|
|
@@ -49534,7 +49999,7 @@ defineProperty(DicomViewport, "defaultProps", {
|
|
|
49534
49999
|
enterModule && enterModule(module);
|
|
49535
50000
|
})();
|
|
49536
50001
|
|
|
49537
|
-
var __signature__$
|
|
50002
|
+
var __signature__$34 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49538
50003
|
return a;
|
|
49539
50004
|
};
|
|
49540
50005
|
var _default$12 = DicomViewport;
|
|
@@ -49559,7 +50024,7 @@ var _default$12 = DicomViewport;
|
|
|
49559
50024
|
enterModule && enterModule(module);
|
|
49560
50025
|
})();
|
|
49561
50026
|
|
|
49562
|
-
var __signature__$
|
|
50027
|
+
var __signature__$35 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49563
50028
|
return a;
|
|
49564
50029
|
};
|
|
49565
50030
|
|
|
@@ -49632,15 +50097,15 @@ var _default$13 = ConnectedDicomViewport;
|
|
|
49632
50097
|
leaveModule && leaveModule(module);
|
|
49633
50098
|
})();
|
|
49634
50099
|
|
|
49635
|
-
var css_248z$
|
|
49636
|
-
styleInject$1(css_248z$
|
|
50100
|
+
var css_248z$p = ".paladin-dicom-scroll {\n display: flex;\n width: 16px;\n height: 100%;\n flex-shrink: 0;\n background: #333333;\n}\n";
|
|
50101
|
+
styleInject$1(css_248z$p);
|
|
49637
50102
|
|
|
49638
50103
|
(function () {
|
|
49639
50104
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
49640
50105
|
enterModule && enterModule(module);
|
|
49641
50106
|
})();
|
|
49642
50107
|
|
|
49643
|
-
var __signature__$
|
|
50108
|
+
var __signature__$36 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49644
50109
|
return a;
|
|
49645
50110
|
};
|
|
49646
50111
|
var DicomLayoutContainer = function DicomLayoutContainer(props) {
|
|
@@ -49676,11 +50141,11 @@ function _unsupportedIterableToArray$d(o, minLen) { if (!o) return; if (typeof o
|
|
|
49676
50141
|
|
|
49677
50142
|
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; }
|
|
49678
50143
|
|
|
49679
|
-
function _createSuper$
|
|
50144
|
+
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); }; }
|
|
49680
50145
|
|
|
49681
|
-
function _isNativeReflectConstruct$
|
|
50146
|
+
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; } }
|
|
49682
50147
|
|
|
49683
|
-
var __signature__$
|
|
50148
|
+
var __signature__$37 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49684
50149
|
return a;
|
|
49685
50150
|
};
|
|
49686
50151
|
|
|
@@ -49697,7 +50162,7 @@ var EmptyElement = function EmptyElement(_ref) {
|
|
|
49697
50162
|
var DicomLayout = /*#__PURE__*/function (_Component) {
|
|
49698
50163
|
inherits(DicomLayout, _Component);
|
|
49699
50164
|
|
|
49700
|
-
var _super = _createSuper$
|
|
50165
|
+
var _super = _createSuper$1g(DicomLayout);
|
|
49701
50166
|
|
|
49702
50167
|
function DicomLayout(props) {
|
|
49703
50168
|
var _this;
|
|
@@ -50020,7 +50485,7 @@ function ownKeys$z(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
50020
50485
|
|
|
50021
50486
|
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; }
|
|
50022
50487
|
|
|
50023
|
-
var __signature__$
|
|
50488
|
+
var __signature__$38 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
50024
50489
|
return a;
|
|
50025
50490
|
};
|
|
50026
50491
|
/**
|
|
@@ -50345,7 +50810,7 @@ function ownKeys$A(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
50345
50810
|
|
|
50346
50811
|
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; }
|
|
50347
50812
|
|
|
50348
|
-
var __signature__$
|
|
50813
|
+
var __signature__$39 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
50349
50814
|
return a;
|
|
50350
50815
|
};
|
|
50351
50816
|
/**
|
|
@@ -50604,26 +51069,26 @@ var _default$15 = ConnectedDicomImageModeLayout;
|
|
|
50604
51069
|
leaveModule && leaveModule(module);
|
|
50605
51070
|
})();
|
|
50606
51071
|
|
|
50607
|
-
var css_248z$
|
|
50608
|
-
styleInject$1(css_248z$
|
|
51072
|
+
var css_248z$q = ".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";
|
|
51073
|
+
styleInject$1(css_248z$q);
|
|
50609
51074
|
|
|
50610
51075
|
(function () {
|
|
50611
51076
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
50612
51077
|
enterModule && enterModule(module);
|
|
50613
51078
|
})();
|
|
50614
51079
|
|
|
50615
|
-
function _createSuper$
|
|
51080
|
+
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); }; }
|
|
50616
51081
|
|
|
50617
|
-
function _isNativeReflectConstruct$
|
|
51082
|
+
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; } }
|
|
50618
51083
|
|
|
50619
|
-
var __signature__$
|
|
51084
|
+
var __signature__$3a = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
50620
51085
|
return a;
|
|
50621
51086
|
};
|
|
50622
51087
|
|
|
50623
51088
|
var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
50624
51089
|
inherits(SurgeryLayout, _Component);
|
|
50625
51090
|
|
|
50626
|
-
var _super = _createSuper$
|
|
51091
|
+
var _super = _createSuper$1h(SurgeryLayout);
|
|
50627
51092
|
|
|
50628
51093
|
function SurgeryLayout(props) {
|
|
50629
51094
|
var _this;
|
|
@@ -51309,7 +51774,7 @@ function ownKeys$B(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
51309
51774
|
|
|
51310
51775
|
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; }
|
|
51311
51776
|
|
|
51312
|
-
var __signature__$
|
|
51777
|
+
var __signature__$3b = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
51313
51778
|
return a;
|
|
51314
51779
|
};
|
|
51315
51780
|
|
|
@@ -51372,29 +51837,29 @@ var _default$16 = ConnectedSurgeryLayout;
|
|
|
51372
51837
|
leaveModule && leaveModule(module);
|
|
51373
51838
|
})();
|
|
51374
51839
|
|
|
51375
|
-
var css_248z$
|
|
51376
|
-
styleInject$1(css_248z$q);
|
|
51377
|
-
|
|
51378
|
-
var css_248z$r = ".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";
|
|
51840
|
+
var css_248z$r = ".paladin-main-wrapper svg {\n width: 100%;\n height: 100%;\n}\n.paladin-main-wrapper span,\n.paladin-main-wrapper div {\n user-select: none;\n}\n.paladin-main-wrapper .paladin-dicomView-dicomToolWrapper {\n background-color: #353535;\n z-index: 2;\n}\n.paladin-main-wrapper .paladin-dicomView-dicomThumbnailWrapper {\n background-color: #353535;\n border: 1px solid #727882;\n}\n.paladin-main-wrapper .paladin-dicomView-pcmobileWrapper {\n display: flex;\n flex-direction: column;\n flex: 1;\n width: 0;\n}\nbutton:focus {\n outline: none;\n}\n.paladin-flex {\n display: flex;\n}\n.paladin-flex-row {\n display: flex;\n box-sizing: border-box;\n flex-direction: row;\n flex-wrap: wrap;\n flex: 0 1 auto;\n}\n.paladin-flex-col {\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n flex: 0 0 auto;\n}\n.paladin-flex-center {\n justify-content: center;\n align-items: center;\n}\n.paladin-flex-end {\n justify-content: flex-end;\n}\n.paladin-flex-1 {\n flex: 1;\n}\n.paladin-full-content {\n width: 100%;\n height: 100%;\n}\n.paladin-full-height {\n height: 100%;\n}\n.paladin-full-width {\n width: 100%;\n}\n.paladin-text-center {\n text-align: center;\n}\n";
|
|
51379
51841
|
styleInject$1(css_248z$r);
|
|
51380
51842
|
|
|
51843
|
+
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";
|
|
51844
|
+
styleInject$1(css_248z$s);
|
|
51845
|
+
|
|
51381
51846
|
(function () {
|
|
51382
51847
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
51383
51848
|
enterModule && enterModule(module);
|
|
51384
51849
|
})();
|
|
51385
51850
|
|
|
51386
|
-
function _createSuper$
|
|
51851
|
+
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); }; }
|
|
51387
51852
|
|
|
51388
|
-
function _isNativeReflectConstruct$
|
|
51853
|
+
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; } }
|
|
51389
51854
|
|
|
51390
|
-
var __signature__$
|
|
51855
|
+
var __signature__$3c = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
51391
51856
|
return a;
|
|
51392
51857
|
};
|
|
51393
51858
|
|
|
51394
51859
|
var ThreeDLayout = /*#__PURE__*/function (_Component) {
|
|
51395
51860
|
inherits(ThreeDLayout, _Component);
|
|
51396
51861
|
|
|
51397
|
-
var _super = _createSuper$
|
|
51862
|
+
var _super = _createSuper$1i(ThreeDLayout);
|
|
51398
51863
|
|
|
51399
51864
|
function ThreeDLayout(props) {
|
|
51400
51865
|
var _this;
|
|
@@ -51831,7 +52296,7 @@ function ownKeys$C(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
51831
52296
|
|
|
51832
52297
|
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; }
|
|
51833
52298
|
|
|
51834
|
-
var __signature__$
|
|
52299
|
+
var __signature__$3d = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
51835
52300
|
return a;
|
|
51836
52301
|
};
|
|
51837
52302
|
|
|
@@ -51902,18 +52367,18 @@ function _unsupportedIterableToArray$e(o, minLen) { if (!o) return; if (typeof o
|
|
|
51902
52367
|
|
|
51903
52368
|
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; }
|
|
51904
52369
|
|
|
51905
|
-
function _createSuper$
|
|
52370
|
+
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); }; }
|
|
51906
52371
|
|
|
51907
|
-
function _isNativeReflectConstruct$
|
|
52372
|
+
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; } }
|
|
51908
52373
|
|
|
51909
|
-
var __signature__$
|
|
52374
|
+
var __signature__$3e = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
51910
52375
|
return a;
|
|
51911
52376
|
};
|
|
51912
52377
|
|
|
51913
52378
|
var ThreeDLayout$1 = /*#__PURE__*/function (_Component) {
|
|
51914
52379
|
inherits(ThreeDLayout, _Component);
|
|
51915
52380
|
|
|
51916
|
-
var _super = _createSuper$
|
|
52381
|
+
var _super = _createSuper$1j(ThreeDLayout);
|
|
51917
52382
|
|
|
51918
52383
|
function ThreeDLayout(props) {
|
|
51919
52384
|
var _this;
|
|
@@ -52210,7 +52675,7 @@ function ownKeys$D(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
52210
52675
|
|
|
52211
52676
|
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; }
|
|
52212
52677
|
|
|
52213
|
-
var __signature__$
|
|
52678
|
+
var __signature__$3f = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
52214
52679
|
return a;
|
|
52215
52680
|
};
|
|
52216
52681
|
|
|
@@ -52253,7 +52718,7 @@ var _default$18 = ConnectedVR;
|
|
|
52253
52718
|
enterModule && enterModule(module);
|
|
52254
52719
|
})();
|
|
52255
52720
|
|
|
52256
|
-
var __signature__$
|
|
52721
|
+
var __signature__$3g = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
52257
52722
|
return a;
|
|
52258
52723
|
};
|
|
52259
52724
|
|
|
@@ -52296,11 +52761,11 @@ function _unsupportedIterableToArray$f(o, minLen) { if (!o) return; if (typeof o
|
|
|
52296
52761
|
|
|
52297
52762
|
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; }
|
|
52298
52763
|
|
|
52299
|
-
function _createSuper$
|
|
52764
|
+
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); }; }
|
|
52300
52765
|
|
|
52301
|
-
function _isNativeReflectConstruct$
|
|
52766
|
+
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; } }
|
|
52302
52767
|
|
|
52303
|
-
var __signature__$
|
|
52768
|
+
var __signature__$3h = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
52304
52769
|
return a;
|
|
52305
52770
|
};
|
|
52306
52771
|
|
|
@@ -52350,7 +52815,7 @@ index$1.configure({
|
|
|
52350
52815
|
var DicomView = /*#__PURE__*/function (_Component) {
|
|
52351
52816
|
inherits(DicomView, _Component);
|
|
52352
52817
|
|
|
52353
|
-
var _super = _createSuper$
|
|
52818
|
+
var _super = _createSuper$1k(DicomView);
|
|
52354
52819
|
|
|
52355
52820
|
function DicomView(props) {
|
|
52356
52821
|
var _this;
|
|
@@ -52918,7 +53383,7 @@ function ownKeys$E(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
52918
53383
|
|
|
52919
53384
|
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; }
|
|
52920
53385
|
|
|
52921
|
-
var __signature__$
|
|
53386
|
+
var __signature__$3i = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
52922
53387
|
return a;
|
|
52923
53388
|
};
|
|
52924
53389
|
var scroll = _default$E.importInternal('util/scroll');
|
|
@@ -53167,18 +53632,20 @@ var mergeProps$j = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
53167
53632
|
return getElement(n);
|
|
53168
53633
|
});
|
|
53169
53634
|
lodash$1.forEach(layoutElements, function (ele) {
|
|
53170
|
-
|
|
53171
|
-
|
|
53172
|
-
|
|
53173
|
-
|
|
53174
|
-
|
|
53175
|
-
|
|
53176
|
-
|
|
53177
|
-
|
|
53178
|
-
|
|
53179
|
-
|
|
53180
|
-
|
|
53181
|
-
|
|
53635
|
+
if (ele) {
|
|
53636
|
+
lodash$1.forEach(LengthTools, function (tool) {
|
|
53637
|
+
var toolData = _default$E.getToolState(ele, tool);
|
|
53638
|
+
|
|
53639
|
+
if (toolData && toolData.data && toolData.data.length > 0) {
|
|
53640
|
+
lodash$1.forEach(toolData.data, function (handler) {
|
|
53641
|
+
if (handler && handler.active) {
|
|
53642
|
+
_default$E.removeToolState(ele, tool, handler);
|
|
53643
|
+
cornerstone.updateImage(ele);
|
|
53644
|
+
}
|
|
53645
|
+
});
|
|
53646
|
+
}
|
|
53647
|
+
});
|
|
53648
|
+
}
|
|
53182
53649
|
});
|
|
53183
53650
|
},
|
|
53184
53651
|
SCROLL_START: function SCROLL_START() {
|
|
@@ -53479,7 +53946,7 @@ var _default$19 = ConnectedDicomView;
|
|
|
53479
53946
|
enterModule && enterModule(module);
|
|
53480
53947
|
})();
|
|
53481
53948
|
|
|
53482
|
-
var __signature__$
|
|
53949
|
+
var __signature__$3j = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
53483
53950
|
return a;
|
|
53484
53951
|
};
|
|
53485
53952
|
var _default$1a = _default$19;
|