hellfire 0.19.0 → 0.19.3
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 +714 -248
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24368,12 +24368,12 @@ function getLinePonintByDistance(start, end, center, area) {
|
|
|
24368
24368
|
}
|
|
24369
24369
|
}
|
|
24370
24370
|
/**
|
|
24371
|
-
*
|
|
24371
|
+
*
|
|
24372
24372
|
* @param {*} a1 直线上的一点
|
|
24373
24373
|
* @param {*} a2 直线上的一点
|
|
24374
24374
|
* @param {*} a3 当前点
|
|
24375
24375
|
* @param {*} direction 直线的方向
|
|
24376
|
-
*
|
|
24376
|
+
*
|
|
24377
24377
|
* 返回: 返回直线上的两个点 lineSegment
|
|
24378
24378
|
*/
|
|
24379
24379
|
|
|
@@ -24566,7 +24566,7 @@ function checkBoundary(point, width, height) {
|
|
|
24566
24566
|
}
|
|
24567
24567
|
}
|
|
24568
24568
|
/**
|
|
24569
|
-
*
|
|
24569
|
+
*
|
|
24570
24570
|
* @param {*} a1 参考线的起点
|
|
24571
24571
|
* @param {*} a2 参考线的终点
|
|
24572
24572
|
* @param {*} a3 当前线的起点
|
|
@@ -24597,7 +24597,7 @@ function getParallelLine(a1, a2, a3, a4) {
|
|
|
24597
24597
|
x: x4,
|
|
24598
24598
|
y: y3
|
|
24599
24599
|
};
|
|
24600
|
-
} // 表达式 y = ((x - x1) * (y2 - y1) / (x2 - x1)) + y1
|
|
24600
|
+
} // 表达式 y = ((x - x1) * (y2 - y1) / (x2 - x1)) + y1
|
|
24601
24601
|
|
|
24602
24602
|
|
|
24603
24603
|
var linePoint = getLinePonint(a1, a2)({
|
|
@@ -24672,6 +24672,62 @@ function checkCorrectPoint(a1, a2, a3, a4, a5) {
|
|
|
24672
24672
|
return a5;
|
|
24673
24673
|
}
|
|
24674
24674
|
|
|
24675
|
+
function sqr(x) {
|
|
24676
|
+
return x * x;
|
|
24677
|
+
}
|
|
24678
|
+
|
|
24679
|
+
function dist2(v, w) {
|
|
24680
|
+
return sqr(v.x - w.x) + sqr(v.y - w.y);
|
|
24681
|
+
}
|
|
24682
|
+
|
|
24683
|
+
function distanceToPointSquared(lineSegment, point, rowPixelSpacing, columnPixelSpacing) {
|
|
24684
|
+
var l2 = dist2(lineSegment.start, lineSegment.end);
|
|
24685
|
+
|
|
24686
|
+
if (l2 === 0) {
|
|
24687
|
+
return dist2(point, lineSegment.start);
|
|
24688
|
+
}
|
|
24689
|
+
|
|
24690
|
+
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;
|
|
24691
|
+
|
|
24692
|
+
if (t < 0) {
|
|
24693
|
+
return dist2(point, lineSegment.start);
|
|
24694
|
+
}
|
|
24695
|
+
|
|
24696
|
+
if (t > 1) {
|
|
24697
|
+
return dist2(point, lineSegment.end);
|
|
24698
|
+
}
|
|
24699
|
+
|
|
24700
|
+
var pt = {
|
|
24701
|
+
x: lineSegment.start.x + t * (lineSegment.end.x - lineSegment.start.x),
|
|
24702
|
+
y: lineSegment.start.y + t * (lineSegment.end.y - lineSegment.start.y)
|
|
24703
|
+
};
|
|
24704
|
+
|
|
24705
|
+
var _rowPixelSpacing = rowPixelSpacing || 1;
|
|
24706
|
+
|
|
24707
|
+
var _columnPixelSpacing = columnPixelSpacing || 1;
|
|
24708
|
+
|
|
24709
|
+
return sqr((point.x - pt.x) * _columnPixelSpacing) + sqr((point.y - pt.y) * _rowPixelSpacing);
|
|
24710
|
+
}
|
|
24711
|
+
|
|
24712
|
+
function lineSegDistanceWithSpacing(start, end, point, rowPixelSpacing, columnPixelSpacing) {
|
|
24713
|
+
var lineSegment = {
|
|
24714
|
+
start: start,
|
|
24715
|
+
end: end
|
|
24716
|
+
};
|
|
24717
|
+
return Math.sqrt(distanceToPointSquared(lineSegment, point, rowPixelSpacing, columnPixelSpacing));
|
|
24718
|
+
}
|
|
24719
|
+
function pointDistanceWithSpacing(point1, point2, rowPixelSpacing, columnPixelSpacing) {
|
|
24720
|
+
if (!point1 || !point2) {
|
|
24721
|
+
return;
|
|
24722
|
+
}
|
|
24723
|
+
|
|
24724
|
+
var _rowPixelSpacing = rowPixelSpacing || 1;
|
|
24725
|
+
|
|
24726
|
+
var _columnPixelSpacing = columnPixelSpacing || 1;
|
|
24727
|
+
|
|
24728
|
+
return Math.sqrt(sqr((point1.x - point2.x) * _columnPixelSpacing) + sqr((point1.y - point2.y) * _rowPixelSpacing));
|
|
24729
|
+
}
|
|
24730
|
+
|
|
24675
24731
|
(function () {
|
|
24676
24732
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
24677
24733
|
|
|
@@ -24686,6 +24742,11 @@ function checkCorrectPoint(a1, a2, a3, a4, a5) {
|
|
|
24686
24742
|
reactHotLoader.register(checkBoundary, "checkBoundary", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24687
24743
|
reactHotLoader.register(getParallelLine, "getParallelLine", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24688
24744
|
reactHotLoader.register(checkCorrectPoint, "checkCorrectPoint", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24745
|
+
reactHotLoader.register(sqr, "sqr", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24746
|
+
reactHotLoader.register(dist2, "dist2", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24747
|
+
reactHotLoader.register(distanceToPointSquared, "distanceToPointSquared", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24748
|
+
reactHotLoader.register(lineSegDistanceWithSpacing, "lineSegDistanceWithSpacing", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24749
|
+
reactHotLoader.register(pointDistanceWithSpacing, "pointDistanceWithSpacing", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/lineMath.js");
|
|
24689
24750
|
})();
|
|
24690
24751
|
|
|
24691
24752
|
(function () {
|
|
@@ -26776,7 +26837,7 @@ var ReferencePositionTool = /*#__PURE__*/function (_BaseAnnotationPlusTo) {
|
|
|
26776
26837
|
|
|
26777
26838
|
var distance = _this3.calcDistance(sourcePointV3, sourcePointInTargetPlaneV3);
|
|
26778
26839
|
|
|
26779
|
-
if (!min || distance < min) {
|
|
26840
|
+
if (!min && min !== 0 || distance < min) {
|
|
26780
26841
|
min = distance;
|
|
26781
26842
|
targetImageIndex = index;
|
|
26782
26843
|
}
|
|
@@ -27868,6 +27929,84 @@ var _default$D = {
|
|
|
27868
27929
|
enterModule && enterModule(module);
|
|
27869
27930
|
})();
|
|
27870
27931
|
|
|
27932
|
+
var __signature__$1P = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
27933
|
+
return a;
|
|
27934
|
+
};
|
|
27935
|
+
var external$o = cornerstoneTools.external;
|
|
27936
|
+
|
|
27937
|
+
function changeThickness(imageId, value, mpr, type) {
|
|
27938
|
+
var _imageId$split = imageId.split(':'),
|
|
27939
|
+
_imageId$split2 = slicedToArray(_imageId$split, 4),
|
|
27940
|
+
scheme = _imageId$split2[0],
|
|
27941
|
+
seriesNumber = _imageId$split2[1],
|
|
27942
|
+
imageOrientationPatient = _imageId$split2[2],
|
|
27943
|
+
imagePositionPatient = _imageId$split2[3];
|
|
27944
|
+
|
|
27945
|
+
var mprWorker = _default$r.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
27946
|
+
|
|
27947
|
+
var _imageOrientationPatient = mpr || Number(imageOrientationPatient);
|
|
27948
|
+
|
|
27949
|
+
mprWorker.ActionParameter.parameter(_imageOrientationPatient).sliceThickness = value;
|
|
27950
|
+
|
|
27951
|
+
if (type && ReconstructMethodType[type]) {
|
|
27952
|
+
mprWorker.ActionParameter.parameter(_imageOrientationPatient).reconstructMethodType = ReconstructMethodType[type];
|
|
27953
|
+
}
|
|
27954
|
+
|
|
27955
|
+
mprWorker.process(mprWorker.actionParameter);
|
|
27956
|
+
var images = mprWorker.imageResultDatasMap;
|
|
27957
|
+
var classname = 'cornerstone-mpr-' + _imageOrientationPatient;
|
|
27958
|
+
var element = document.getElementsByClassName(classname)[0];
|
|
27959
|
+
|
|
27960
|
+
if (element) {
|
|
27961
|
+
external$o.cornerstone.triggerEvent(element, 'MPR_REFERENCE_LINE', {
|
|
27962
|
+
images: images
|
|
27963
|
+
});
|
|
27964
|
+
var mprElements = [ImagePlanDirection.Sagittal, ImagePlanDirection.Transverse, ImagePlanDirection.Coronal];
|
|
27965
|
+
lodash$1.remove(mprElements, function (i) {
|
|
27966
|
+
return i === _imageOrientationPatient;
|
|
27967
|
+
});
|
|
27968
|
+
lodash$1.forEach(mprElements, function (item) {
|
|
27969
|
+
var classname = 'cornerstone-mpr-' + item;
|
|
27970
|
+
var element = document.getElementsByClassName(classname)[0];
|
|
27971
|
+
external$o.cornerstone.updateImage(element, true);
|
|
27972
|
+
});
|
|
27973
|
+
}
|
|
27974
|
+
}
|
|
27975
|
+
|
|
27976
|
+
function setThickness(imageId) {
|
|
27977
|
+
var _imageId$split3 = imageId.split(':'),
|
|
27978
|
+
_imageId$split4 = slicedToArray(_imageId$split3, 4),
|
|
27979
|
+
scheme = _imageId$split4[0],
|
|
27980
|
+
seriesNumber = _imageId$split4[1],
|
|
27981
|
+
imageOrientationPatient = _imageId$split4[2],
|
|
27982
|
+
imagePositionPatient = _imageId$split4[3];
|
|
27983
|
+
|
|
27984
|
+
var mprWorker = _default$r.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
27985
|
+
return mprWorker.ActionParameter.parameter(imageOrientationPatient).sliceThickness;
|
|
27986
|
+
}
|
|
27987
|
+
|
|
27988
|
+
(function () {
|
|
27989
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
27990
|
+
|
|
27991
|
+
if (!reactHotLoader) {
|
|
27992
|
+
return;
|
|
27993
|
+
}
|
|
27994
|
+
|
|
27995
|
+
reactHotLoader.register(external$o, "external", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/changeThickness.js");
|
|
27996
|
+
reactHotLoader.register(changeThickness, "changeThickness", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/changeThickness.js");
|
|
27997
|
+
reactHotLoader.register(setThickness, "setThickness", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/changeThickness.js");
|
|
27998
|
+
})();
|
|
27999
|
+
|
|
28000
|
+
(function () {
|
|
28001
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
28002
|
+
leaveModule && leaveModule(module);
|
|
28003
|
+
})();
|
|
28004
|
+
|
|
28005
|
+
(function () {
|
|
28006
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
28007
|
+
enterModule && enterModule(module);
|
|
28008
|
+
})();
|
|
28009
|
+
|
|
27871
28010
|
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
28011
|
|
|
27873
28012
|
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 +28021,10 @@ function _createSuper$B(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
27882
28021
|
|
|
27883
28022
|
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
28023
|
|
|
27885
|
-
var __signature__$
|
|
28024
|
+
var __signature__$1Q = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
27886
28025
|
return a;
|
|
27887
28026
|
};
|
|
27888
|
-
var external$
|
|
28027
|
+
var external$p = cornerstoneTools.external;
|
|
27889
28028
|
var draw$c = cornerstoneTools.importInternal('drawing/draw');
|
|
27890
28029
|
var drawLines$2 = cornerstoneTools.importInternal('drawing/drawLines');
|
|
27891
28030
|
var getNewContext$d = cornerstoneTools.importInternal('drawing/getNewContext');
|
|
@@ -27897,9 +28036,7 @@ var lineSegDistance$5 = cornerstoneTools.importInternal('util/lineSegDistance');
|
|
|
27897
28036
|
* @class CrosshairsTool
|
|
27898
28037
|
* @memberof Tools
|
|
27899
28038
|
*
|
|
27900
|
-
*
|
|
27901
|
-
* image position in a synchronized image series.
|
|
27902
|
-
* @extends Tools.Base.BaseTool
|
|
28039
|
+
* MPR的十字定位线 + 层厚辅助线 功能
|
|
27903
28040
|
*/
|
|
27904
28041
|
|
|
27905
28042
|
var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
@@ -27921,7 +28058,8 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
27921
28058
|
};
|
|
27922
28059
|
_this = _super.call(this, props, defaultProps);
|
|
27923
28060
|
_this.eventCollection = [];
|
|
27924
|
-
_this.processing = false;
|
|
28061
|
+
_this.processing = false; // 定位线的几个端点
|
|
28062
|
+
|
|
27925
28063
|
_this.rowStart = null;
|
|
27926
28064
|
_this.rowEnd = null;
|
|
27927
28065
|
_this.colStart = null;
|
|
@@ -27931,7 +28069,8 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
27931
28069
|
_this.currentDragPoint = {}; // 可旋转区域范围
|
|
27932
28070
|
|
|
27933
28071
|
var isMobile = _default$D.isDeviceTypeMobile();
|
|
27934
|
-
_this.area = isMobile ? 50 : 10;
|
|
28072
|
+
_this.area = isMobile ? 50 : 10; // 定位线的触发区域
|
|
28073
|
+
|
|
27935
28074
|
_this.centerArea = 15;
|
|
27936
28075
|
_this.rotateArea = 3 / 4; // 旋转响应区域离中心点的距离(百分比
|
|
27937
28076
|
// 旋转中
|
|
@@ -27944,6 +28083,11 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
27944
28083
|
_this.mouseDragCallback = _this._dragCallback;
|
|
27945
28084
|
_this.rotateDirection = ['rowStart', 'rowEnd', 'colEnd', 'colStart'];
|
|
27946
28085
|
_this.panDirection = ['rowLine', 'colLine'];
|
|
28086
|
+
_this.thicknessPanDirection = ['rowThickness', 'colThickness'];
|
|
28087
|
+
_this.rowThicknessSpacing = 0;
|
|
28088
|
+
_this.colThicknessSpacing = 0;
|
|
28089
|
+
_this.thicknessArea = 2; // 层厚辅助线的触发区域
|
|
28090
|
+
|
|
27947
28091
|
return _this;
|
|
27948
28092
|
}
|
|
27949
28093
|
|
|
@@ -27961,7 +28105,7 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
27961
28105
|
// 旋转图标
|
|
27962
28106
|
element.style.cursor = 'se-resize';
|
|
27963
28107
|
} else {
|
|
27964
|
-
// 平移图标
|
|
28108
|
+
// 平移图标 -- 定位线平移 或者 层厚平移
|
|
27965
28109
|
element.style.cursor = 'move';
|
|
27966
28110
|
}
|
|
27967
28111
|
} else {
|
|
@@ -27985,6 +28129,9 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
27985
28129
|
console.log('测试斜位功能 - 选择旋转的位置', areaCheck);
|
|
27986
28130
|
this.rotating = true;
|
|
27987
28131
|
this.currentDragPoint = this[this.direction];
|
|
28132
|
+
} else if (areaCheck && lodash$1.includes(this.thicknessPanDirection, areaCheck)) {
|
|
28133
|
+
console.log('调整层厚辅助线', areaCheck);
|
|
28134
|
+
this.collectionEvent(evt, this.direction);
|
|
27988
28135
|
} else {
|
|
27989
28136
|
if (!areaCheck) {
|
|
27990
28137
|
this.collectionEvent(evt);
|
|
@@ -28010,41 +28157,26 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28010
28157
|
return false;
|
|
28011
28158
|
}
|
|
28012
28159
|
|
|
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方向上
|
|
28160
|
+
var imagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', evt.detail.image.imageId);
|
|
28161
|
+
var coords = evt.detail.currentPoints.image; // 中心点
|
|
28162
|
+
|
|
28163
|
+
var rowPixelSpacing = imagePlane.rowPixelSpacing,
|
|
28164
|
+
columnPixelSpacing = imagePlane.columnPixelSpacing; // 点和row线的距离
|
|
28165
|
+
|
|
28166
|
+
var rowLineDistance = lineSegDistanceWithSpacing(this.rowStart, this.rowEnd, coords, rowPixelSpacing, columnPixelSpacing); // 点和col线的距离
|
|
28167
|
+
|
|
28168
|
+
var colLineDistance = lineSegDistanceWithSpacing(this.colStart, this.colEnd, coords, rowPixelSpacing, columnPixelSpacing); // 点和中心的距离
|
|
28169
|
+
|
|
28170
|
+
var pointDistance = pointDistanceWithSpacing(this.centerPoint, coords, rowPixelSpacing, columnPixelSpacing); // row方向上
|
|
28039
28171
|
|
|
28040
28172
|
if (rowLineDistance <= this.area) {
|
|
28041
28173
|
// 点到start的距离
|
|
28042
|
-
var pointToStart =
|
|
28174
|
+
var pointToStart = pointDistanceWithSpacing(this.rowStart, coords, rowPixelSpacing, columnPixelSpacing); // 点到end的距离
|
|
28043
28175
|
|
|
28044
|
-
var pointToEnd =
|
|
28176
|
+
var pointToEnd = pointDistanceWithSpacing(this.rowEnd, coords, rowPixelSpacing, columnPixelSpacing); // 中心到start end 的距离
|
|
28045
28177
|
|
|
28046
|
-
var centerToStart =
|
|
28047
|
-
var centerToEnd =
|
|
28178
|
+
var centerToStart = pointDistanceWithSpacing(this.rowStart, this.centerPoint, rowPixelSpacing, columnPixelSpacing);
|
|
28179
|
+
var centerToEnd = pointDistanceWithSpacing(this.rowEnd, this.centerPoint, rowPixelSpacing, columnPixelSpacing); // 点到中心距离 小于 中心范围 则是center
|
|
28048
28180
|
|
|
28049
28181
|
if (pointDistance <= this.centerArea) {
|
|
28050
28182
|
return 'center';
|
|
@@ -28071,13 +28203,13 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28071
28203
|
|
|
28072
28204
|
|
|
28073
28205
|
if (colLineDistance <= this.area) {
|
|
28074
|
-
var _pointToStart =
|
|
28206
|
+
var _pointToStart = pointDistanceWithSpacing(this.colStart, coords, rowPixelSpacing, columnPixelSpacing);
|
|
28075
28207
|
|
|
28076
|
-
var _pointToEnd =
|
|
28208
|
+
var _pointToEnd = pointDistanceWithSpacing(this.colEnd, coords, rowPixelSpacing, columnPixelSpacing);
|
|
28077
28209
|
|
|
28078
|
-
var _centerToStart =
|
|
28210
|
+
var _centerToStart = pointDistanceWithSpacing(this.colStart, this.centerPoint, rowPixelSpacing, columnPixelSpacing);
|
|
28079
28211
|
|
|
28080
|
-
var _centerToEnd =
|
|
28212
|
+
var _centerToEnd = pointDistanceWithSpacing(this.colEnd, this.centerPoint, rowPixelSpacing, columnPixelSpacing);
|
|
28081
28213
|
|
|
28082
28214
|
if (pointDistance <= this.centerArea) {
|
|
28083
28215
|
return 'center';
|
|
@@ -28098,6 +28230,24 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28098
28230
|
|
|
28099
28231
|
return 'colLine';
|
|
28100
28232
|
}
|
|
28233
|
+
} // 层厚辅助线
|
|
28234
|
+
|
|
28235
|
+
|
|
28236
|
+
if (this.rowThicknessSpacing && this.rowThicknessSpacing > 1) {
|
|
28237
|
+
// row方向上的层厚辅助线
|
|
28238
|
+
var _rowLineDistance = rowLineDistance;
|
|
28239
|
+
|
|
28240
|
+
if (_rowLineDistance > this.rowThicknessSpacing * rowPixelSpacing - this.thicknessArea && _rowLineDistance < this.rowThicknessSpacing * rowPixelSpacing + this.thicknessArea) {
|
|
28241
|
+
return 'rowThickness';
|
|
28242
|
+
}
|
|
28243
|
+
}
|
|
28244
|
+
|
|
28245
|
+
if (this.colThicknessSpacing && this.colThicknessSpacing > 1) {
|
|
28246
|
+
var _colLineDistance = colLineDistance; // col方向上的层厚辅助线
|
|
28247
|
+
|
|
28248
|
+
if (_colLineDistance > this.colThicknessSpacing * columnPixelSpacing - this.thicknessArea && _colLineDistance < this.colThicknessSpacing * columnPixelSpacing + this.thicknessArea) {
|
|
28249
|
+
return 'colThickness';
|
|
28250
|
+
}
|
|
28101
28251
|
}
|
|
28102
28252
|
|
|
28103
28253
|
return false;
|
|
@@ -28121,7 +28271,7 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28121
28271
|
key: "collectRotate",
|
|
28122
28272
|
value: function collectRotate(evt) {
|
|
28123
28273
|
if (this.direction && lodash$1.includes(this.rotateDirection, this.direction)) {
|
|
28124
|
-
var imagePlane = external$
|
|
28274
|
+
var imagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', evt.detail.image.imageId);
|
|
28125
28275
|
var imagePoint = evt.detail.currentPoints.image;
|
|
28126
28276
|
var angle = angleBetweenPoints(this.centerPoint, this.currentDragPoint, imagePoint, imagePlane.rowPixelSpacing, imagePlane.columnPixelSpacing);
|
|
28127
28277
|
var isVectorX = true;
|
|
@@ -28149,7 +28299,7 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28149
28299
|
|
|
28150
28300
|
if (this.lastImagePoint.x === detail.currentPoints.image.x && this.lastImagePoint.y === detail.currentPoints.image.y) {
|
|
28151
28301
|
return;
|
|
28152
|
-
} // direction
|
|
28302
|
+
} // direction是定位线平移的情况 修改位置
|
|
28153
28303
|
|
|
28154
28304
|
|
|
28155
28305
|
if (direction && lodash$1.includes(this.panDirection, direction)) {
|
|
@@ -28189,6 +28339,38 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28189
28339
|
detail.currentPoints.image = nextCenterPoint;
|
|
28190
28340
|
}
|
|
28191
28341
|
|
|
28342
|
+
if (direction && lodash$1.includes(this.thicknessPanDirection, direction)) {
|
|
28343
|
+
detail.thickness = true;
|
|
28344
|
+
|
|
28345
|
+
if (direction === 'rowThickness') {
|
|
28346
|
+
if (this.lastImagePoint.y < detail.currentPoints.image.y) {
|
|
28347
|
+
// 层厚+2x
|
|
28348
|
+
detail.thicknessDirection = 'row';
|
|
28349
|
+
detail.thicknessDelta = 2;
|
|
28350
|
+
}
|
|
28351
|
+
|
|
28352
|
+
if (this.lastImagePoint.y > detail.currentPoints.image.y) {
|
|
28353
|
+
// 层厚-2x
|
|
28354
|
+
detail.thicknessDirection = 'row';
|
|
28355
|
+
detail.thicknessDelta = -2;
|
|
28356
|
+
}
|
|
28357
|
+
}
|
|
28358
|
+
|
|
28359
|
+
if (direction === 'colThickness') {
|
|
28360
|
+
if (detail.currentPoints.image.x > this.lastImagePoint.x) {
|
|
28361
|
+
// 层厚+2x
|
|
28362
|
+
detail.thicknessDirection = 'col';
|
|
28363
|
+
detail.thicknessDelta = 2;
|
|
28364
|
+
}
|
|
28365
|
+
|
|
28366
|
+
if (detail.currentPoints.image.x < this.lastImagePoint.x) {
|
|
28367
|
+
// 层厚-2x
|
|
28368
|
+
detail.thicknessDirection = 'col';
|
|
28369
|
+
detail.thicknessDelta = -2;
|
|
28370
|
+
}
|
|
28371
|
+
}
|
|
28372
|
+
}
|
|
28373
|
+
|
|
28192
28374
|
if (this.rotating || this.checkBoundary(detail.currentPoints.image, detail.image)) {
|
|
28193
28375
|
this.eventCollection.push(detail);
|
|
28194
28376
|
this.lastImagePoint = detail.currentPoints.image;
|
|
@@ -28222,46 +28404,50 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28222
28404
|
}, {
|
|
28223
28405
|
key: "processEvent",
|
|
28224
28406
|
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);
|
|
28407
|
+
if (eventData.thickness) {
|
|
28408
|
+
this.handleThicknessAction(eventData);
|
|
28237
28409
|
} else {
|
|
28238
|
-
var
|
|
28410
|
+
var _eventData$image$imag = eventData.image.imageId.split(':'),
|
|
28411
|
+
_eventData$image$imag2 = slicedToArray(_eventData$image$imag, 4),
|
|
28412
|
+
scheme = _eventData$image$imag2[0],
|
|
28413
|
+
seriesNumber = _eventData$image$imag2[1],
|
|
28414
|
+
imageOrientationPatient = _eventData$image$imag2[2],
|
|
28415
|
+
imagePositionPatient = _eventData$image$imag2[3];
|
|
28416
|
+
|
|
28417
|
+
var mprWorker = _default$r.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
28418
|
+
|
|
28419
|
+
if (eventData && eventData.rotate) {
|
|
28420
|
+
console.log('日志:旋转角度', eventData.angle, eventData.isVectorX);
|
|
28421
|
+
mprWorker.ActionParameter.parameter(imageOrientationPatient).rotate(eventData.angle, eventData.isVectorX);
|
|
28422
|
+
} else {
|
|
28423
|
+
var imagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', eventData.image.imageId);
|
|
28239
28424
|
|
|
28240
|
-
|
|
28425
|
+
var v3 = this._imagePointToPatientPoint(eventData.currentPoints.image, imagePlane);
|
|
28241
28426
|
|
|
28242
|
-
|
|
28243
|
-
|
|
28427
|
+
mprWorker.ActionParameter.parameter(imageOrientationPatient).moveCenter(v3.x, v3.y, v3.z);
|
|
28428
|
+
}
|
|
28244
28429
|
|
|
28245
|
-
|
|
28246
|
-
|
|
28247
|
-
|
|
28248
|
-
|
|
28430
|
+
mprWorker.process(mprWorker.actionParameter);
|
|
28431
|
+
this.currentDragPoint = eventData.currentPoints.image;
|
|
28432
|
+
var images = mprWorker.imageResultDatasMap;
|
|
28433
|
+
var elements = document.getElementsByClassName('cornerstone-canvas-container');
|
|
28249
28434
|
|
|
28250
|
-
|
|
28251
|
-
|
|
28435
|
+
var _iterator = _createForOfIteratorHelper$6(elements),
|
|
28436
|
+
_step;
|
|
28252
28437
|
|
|
28253
|
-
|
|
28254
|
-
|
|
28255
|
-
|
|
28256
|
-
|
|
28257
|
-
|
|
28258
|
-
|
|
28259
|
-
|
|
28438
|
+
try {
|
|
28439
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
28440
|
+
var element = _step.value;
|
|
28441
|
+
external$p.cornerstone.triggerEvent(element, 'MPR_REFERENCE_LINE', {
|
|
28442
|
+
images: images,
|
|
28443
|
+
source: imageOrientationPatient
|
|
28444
|
+
});
|
|
28445
|
+
}
|
|
28446
|
+
} catch (err) {
|
|
28447
|
+
_iterator.e(err);
|
|
28448
|
+
} finally {
|
|
28449
|
+
_iterator.f();
|
|
28260
28450
|
}
|
|
28261
|
-
} catch (err) {
|
|
28262
|
-
_iterator.e(err);
|
|
28263
|
-
} finally {
|
|
28264
|
-
_iterator.f();
|
|
28265
28451
|
}
|
|
28266
28452
|
}
|
|
28267
28453
|
}, {
|
|
@@ -28298,7 +28484,7 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28298
28484
|
key: "renderToolData",
|
|
28299
28485
|
value: function renderToolData(evt) {
|
|
28300
28486
|
var eventData = evt.detail;
|
|
28301
|
-
var imagePlane = external$
|
|
28487
|
+
var imagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', eventData.image.imageId);
|
|
28302
28488
|
var _imagePlane$scoutLine = imagePlane.scoutLine,
|
|
28303
28489
|
row = _imagePlane$scoutLine.row,
|
|
28304
28490
|
col = _imagePlane$scoutLine.col; // 获取vtk给的四个点
|
|
@@ -28330,40 +28516,39 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28330
28516
|
this.colStart = borderColStart;
|
|
28331
28517
|
this.colEnd = borderColEnd;
|
|
28332
28518
|
this.drawCorsshairs(eventData, row, col);
|
|
28333
|
-
}
|
|
28519
|
+
} // 绘制十字定位线和层厚辅助线
|
|
28520
|
+
|
|
28334
28521
|
}, {
|
|
28335
28522
|
key: "drawCorsshairs",
|
|
28336
28523
|
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
28524
|
var context = getNewContext$d(eventData.canvasContext.canvas);
|
|
28343
|
-
var
|
|
28344
|
-
|
|
28345
|
-
|
|
28525
|
+
var imagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', eventData.image.imageId);
|
|
28526
|
+
var rowCenterPoints = getLinePonintByDistance(this.rowStart, this.rowEnd, this.centerPoint, this.centerArea / imagePlane.columnPixelSpacing) || {
|
|
28527
|
+
start: this.centerPoint,
|
|
28528
|
+
end: this.centerPoint
|
|
28346
28529
|
};
|
|
28347
|
-
var colCenterPoints = getLinePonintByDistance(
|
|
28348
|
-
start:
|
|
28349
|
-
end:
|
|
28530
|
+
var colCenterPoints = getLinePonintByDistance(this.colStart, this.colEnd, this.centerPoint, this.centerArea / imagePlane.rowPixelSpacing) || {
|
|
28531
|
+
start: this.centerPoint,
|
|
28532
|
+
end: this.centerPoint
|
|
28350
28533
|
};
|
|
28351
28534
|
var rowLines = [{
|
|
28352
28535
|
start: this.rowStart,
|
|
28353
|
-
end:
|
|
28536
|
+
end: rowCenterPoints.start
|
|
28354
28537
|
}, {
|
|
28355
|
-
start:
|
|
28538
|
+
start: rowCenterPoints.end,
|
|
28356
28539
|
end: this.rowEnd
|
|
28357
28540
|
}];
|
|
28358
28541
|
var colLines = [{
|
|
28359
28542
|
start: this.colStart,
|
|
28360
|
-
end:
|
|
28543
|
+
end: colCenterPoints.start
|
|
28361
28544
|
}, {
|
|
28362
|
-
start:
|
|
28545
|
+
start: colCenterPoints.end,
|
|
28363
28546
|
end: this.colEnd
|
|
28364
28547
|
}];
|
|
28365
|
-
var
|
|
28366
|
-
var
|
|
28548
|
+
var rowDirection = row.direction;
|
|
28549
|
+
var colDirection = col.direction;
|
|
28550
|
+
var rowColor = MPR_DIRECTION_COLOR[rowDirection];
|
|
28551
|
+
var colColor = MPR_DIRECTION_COLOR[colDirection];
|
|
28367
28552
|
draw$c(context, function (context) {
|
|
28368
28553
|
drawLines$2(context, eventData.element, rowLines, {
|
|
28369
28554
|
color: rowColor
|
|
@@ -28372,6 +28557,132 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28372
28557
|
color: colColor
|
|
28373
28558
|
});
|
|
28374
28559
|
});
|
|
28560
|
+
this.drawSliceThicknessLines(context, eventData, rowDirection, colDirection);
|
|
28561
|
+
}
|
|
28562
|
+
/**
|
|
28563
|
+
* 层厚辅助线绘制
|
|
28564
|
+
* row和column分别对应另外两个方位
|
|
28565
|
+
* 因为在重建的时候为了填满图像改变了pixelSpacing,sliceThickness是层厚的倍数,其实就是叠多少层
|
|
28566
|
+
* 对于image来说就是就把图像切成几份,比如高度512的话就是512份,所以只要用rowSliceThickness来计算坐标值就可以了
|
|
28567
|
+
*/
|
|
28568
|
+
|
|
28569
|
+
}, {
|
|
28570
|
+
key: "drawSliceThicknessLines",
|
|
28571
|
+
value: function drawSliceThicknessLines(context, eventData, rowDirection, colDirection) {
|
|
28572
|
+
var _eventData$image$imag3 = eventData.image.imageId.split(':'),
|
|
28573
|
+
_eventData$image$imag4 = slicedToArray(_eventData$image$imag3, 4),
|
|
28574
|
+
scheme = _eventData$image$imag4[0],
|
|
28575
|
+
seriesNumber = _eventData$image$imag4[1],
|
|
28576
|
+
imageOrientationPatient = _eventData$image$imag4[2],
|
|
28577
|
+
imagePositionPatient = _eventData$image$imag4[3];
|
|
28578
|
+
|
|
28579
|
+
var mprWorker = _default$r.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
28580
|
+
var rowSliceThickness = mprWorker.ActionParameter.parameter(rowDirection).sliceThickness;
|
|
28581
|
+
var colSliceThickness = mprWorker.ActionParameter.parameter(colDirection).sliceThickness;
|
|
28582
|
+
|
|
28583
|
+
if (rowSliceThickness && rowSliceThickness > 1) {
|
|
28584
|
+
this.rowThicknessSpacing = rowSliceThickness / 2;
|
|
28585
|
+
var rowColor = MPR_DIRECTION_COLOR[rowDirection];
|
|
28586
|
+
var rowLines = [{
|
|
28587
|
+
start: {
|
|
28588
|
+
x: this.rowStart.x,
|
|
28589
|
+
y: this.rowStart.y + this.rowThicknessSpacing
|
|
28590
|
+
},
|
|
28591
|
+
end: {
|
|
28592
|
+
x: this.rowEnd.x,
|
|
28593
|
+
y: this.rowEnd.y + this.rowThicknessSpacing
|
|
28594
|
+
}
|
|
28595
|
+
}, {
|
|
28596
|
+
start: {
|
|
28597
|
+
x: this.rowStart.x,
|
|
28598
|
+
y: this.rowStart.y - this.rowThicknessSpacing
|
|
28599
|
+
},
|
|
28600
|
+
end: {
|
|
28601
|
+
x: this.rowEnd.x,
|
|
28602
|
+
y: this.rowEnd.y - this.rowThicknessSpacing
|
|
28603
|
+
}
|
|
28604
|
+
}];
|
|
28605
|
+
draw$c(context, function (context) {
|
|
28606
|
+
drawLines$2(context, eventData.element, rowLines, {
|
|
28607
|
+
color: rowColor,
|
|
28608
|
+
lineDash: [10]
|
|
28609
|
+
});
|
|
28610
|
+
});
|
|
28611
|
+
}
|
|
28612
|
+
|
|
28613
|
+
if (colSliceThickness && colSliceThickness > 1) {
|
|
28614
|
+
this.colThicknessSpacing = colSliceThickness / 2;
|
|
28615
|
+
var colColor = MPR_DIRECTION_COLOR[colDirection];
|
|
28616
|
+
var colLines = [{
|
|
28617
|
+
start: {
|
|
28618
|
+
x: this.colStart.x + this.colThicknessSpacing,
|
|
28619
|
+
y: this.colStart.y
|
|
28620
|
+
},
|
|
28621
|
+
end: {
|
|
28622
|
+
x: this.colEnd.x + this.colThicknessSpacing,
|
|
28623
|
+
y: this.colEnd.y
|
|
28624
|
+
}
|
|
28625
|
+
}, {
|
|
28626
|
+
start: {
|
|
28627
|
+
x: this.colStart.x - this.colThicknessSpacing,
|
|
28628
|
+
y: this.colStart.y
|
|
28629
|
+
},
|
|
28630
|
+
end: {
|
|
28631
|
+
x: this.colEnd.x - this.colThicknessSpacing,
|
|
28632
|
+
y: this.colEnd.y
|
|
28633
|
+
}
|
|
28634
|
+
}];
|
|
28635
|
+
draw$c(context, function (context) {
|
|
28636
|
+
drawLines$2(context, eventData.element, colLines, {
|
|
28637
|
+
color: colColor,
|
|
28638
|
+
lineDash: [10]
|
|
28639
|
+
});
|
|
28640
|
+
});
|
|
28641
|
+
}
|
|
28642
|
+
}
|
|
28643
|
+
}, {
|
|
28644
|
+
key: "handleThicknessAction",
|
|
28645
|
+
value: function handleThicknessAction(eventData) {
|
|
28646
|
+
var orientation = eventData.thicknessDirection;
|
|
28647
|
+
var delta = eventData.thicknessDelta;
|
|
28648
|
+
|
|
28649
|
+
if (!orientation || !delta || !eventData.thickness) {
|
|
28650
|
+
return;
|
|
28651
|
+
}
|
|
28652
|
+
|
|
28653
|
+
var imagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', eventData.image.imageId);
|
|
28654
|
+
|
|
28655
|
+
var _eventData$image$imag5 = eventData.image.imageId.split(':'),
|
|
28656
|
+
_eventData$image$imag6 = slicedToArray(_eventData$image$imag5, 4),
|
|
28657
|
+
scheme = _eventData$image$imag6[0],
|
|
28658
|
+
seriesNumber = _eventData$image$imag6[1],
|
|
28659
|
+
imageOrientationPatient = _eventData$image$imag6[2],
|
|
28660
|
+
imagePositionPatient = _eventData$image$imag6[3];
|
|
28661
|
+
|
|
28662
|
+
var mprWorker = _default$r.getWorkerFromCache(seriesNumber, ImageProcessType.MPR);
|
|
28663
|
+
var _imagePlane$scoutLine2 = imagePlane.scoutLine,
|
|
28664
|
+
row = _imagePlane$scoutLine2.row,
|
|
28665
|
+
col = _imagePlane$scoutLine2.col;
|
|
28666
|
+
var direction = orientation === 'row' ? row.direction : col.direction;
|
|
28667
|
+
var currentThickness = mprWorker.ActionParameter.parameter(direction).sliceThickness;
|
|
28668
|
+
var resultThickness = currentThickness + delta; // 操作方位的层厚倍数最大值
|
|
28669
|
+
|
|
28670
|
+
var classname = 'cornerstone-mpr-' + direction;
|
|
28671
|
+
var targetElement = document.getElementsByClassName(classname)[0];
|
|
28672
|
+
var enabled = external$p.cornerstone.getEnabledElement(targetElement);
|
|
28673
|
+
var targetImageId = enabled.image.imageId;
|
|
28674
|
+
var targetImagePlane = external$p.cornerstone.metaData.get('imagePlaneModule', targetImageId);
|
|
28675
|
+
var targetSliceEnd = targetImagePlane.sliceEnd;
|
|
28676
|
+
|
|
28677
|
+
if (resultThickness > targetSliceEnd) {
|
|
28678
|
+
return;
|
|
28679
|
+
}
|
|
28680
|
+
|
|
28681
|
+
if (resultThickness <= 1) {
|
|
28682
|
+
resultThickness = 2;
|
|
28683
|
+
}
|
|
28684
|
+
|
|
28685
|
+
changeThickness(eventData.image.imageId, resultThickness, direction, 'MIP');
|
|
28375
28686
|
}
|
|
28376
28687
|
}, {
|
|
28377
28688
|
key: "__reactstandin__regenerateByEval",
|
|
@@ -28392,7 +28703,7 @@ var CrosshairsMPRTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28392
28703
|
return;
|
|
28393
28704
|
}
|
|
28394
28705
|
|
|
28395
|
-
reactHotLoader.register(external$
|
|
28706
|
+
reactHotLoader.register(external$p, "external", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/CrosshairsMPRTool.js");
|
|
28396
28707
|
reactHotLoader.register(draw$c, "draw", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/CrosshairsMPRTool.js");
|
|
28397
28708
|
reactHotLoader.register(drawLines$2, "drawLines", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/CrosshairsMPRTool.js");
|
|
28398
28709
|
reactHotLoader.register(getNewContext$d, "getNewContext", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/CrosshairsMPRTool.js");
|
|
@@ -28416,10 +28727,10 @@ function _createSuper$C(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
28416
28727
|
|
|
28417
28728
|
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
28729
|
|
|
28419
|
-
var __signature__$
|
|
28730
|
+
var __signature__$1R = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
28420
28731
|
return a;
|
|
28421
28732
|
};
|
|
28422
|
-
var external$
|
|
28733
|
+
var external$q = cornerstoneTools.external;
|
|
28423
28734
|
var BaseTool$b = cornerstoneTools.importInternal('base/BaseTool');
|
|
28424
28735
|
/**
|
|
28425
28736
|
*
|
|
@@ -28469,10 +28780,10 @@ var OverlayTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28469
28780
|
}, {
|
|
28470
28781
|
key: "forceImageUpdate",
|
|
28471
28782
|
value: function forceImageUpdate(element) {
|
|
28472
|
-
var enabledElement = external$
|
|
28783
|
+
var enabledElement = external$q.cornerstone.getEnabledElement(element);
|
|
28473
28784
|
|
|
28474
28785
|
if (enabledElement.image) {
|
|
28475
|
-
external$
|
|
28786
|
+
external$q.cornerstone.updateImage(element);
|
|
28476
28787
|
}
|
|
28477
28788
|
}
|
|
28478
28789
|
}, {
|
|
@@ -28488,7 +28799,7 @@ var OverlayTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28488
28799
|
return;
|
|
28489
28800
|
}
|
|
28490
28801
|
|
|
28491
|
-
var overlayPlaneMetadata = external$
|
|
28802
|
+
var overlayPlaneMetadata = external$q.cornerstone.metaData.get('overlayPlaneModule', image.imageId);
|
|
28492
28803
|
|
|
28493
28804
|
if (!overlayPlaneMetadata || !overlayPlaneMetadata.overlays || !overlayPlaneMetadata.overlays.length) {
|
|
28494
28805
|
return;
|
|
@@ -28526,7 +28837,7 @@ var OverlayTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28526
28837
|
var overlayX = !isNaN(parseFloat(overlay.x)) && isFinite(overlay.x) ? overlay.x : 0;
|
|
28527
28838
|
var overlayY = !isNaN(parseFloat(overlay.y)) && isFinite(overlay.y) ? overlay.y : 0; // Draw the overlay layer onto the canvas
|
|
28528
28839
|
|
|
28529
|
-
var transform = external$
|
|
28840
|
+
var transform = external$q.cornerstone.internal.getTransform(eventData.enabledElement);
|
|
28530
28841
|
canvasContext.setTransform(transform.m[0], transform.m[1], transform.m[2], transform.m[3], transform.m[4], transform.m[5]);
|
|
28531
28842
|
canvasContext.drawImage(layerCanvas, overlayX, overlayY);
|
|
28532
28843
|
});
|
|
@@ -28550,7 +28861,7 @@ var OverlayTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28550
28861
|
return;
|
|
28551
28862
|
}
|
|
28552
28863
|
|
|
28553
|
-
reactHotLoader.register(external$
|
|
28864
|
+
reactHotLoader.register(external$q, "external", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/OverlayTool.js");
|
|
28554
28865
|
reactHotLoader.register(BaseTool$b, "BaseTool", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/OverlayTool.js");
|
|
28555
28866
|
reactHotLoader.register(OverlayTool, "OverlayTool", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/OverlayTool.js");
|
|
28556
28867
|
})();
|
|
@@ -28565,7 +28876,7 @@ var OverlayTool = /*#__PURE__*/function (_BaseTool) {
|
|
|
28565
28876
|
enterModule && enterModule(module);
|
|
28566
28877
|
})();
|
|
28567
28878
|
|
|
28568
|
-
var __signature__$
|
|
28879
|
+
var __signature__$1S = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
28569
28880
|
return a;
|
|
28570
28881
|
};
|
|
28571
28882
|
var cornerstoneState = {
|
|
@@ -28679,7 +28990,7 @@ function reset$2(key) {
|
|
|
28679
28990
|
enterModule && enterModule(module);
|
|
28680
28991
|
})();
|
|
28681
28992
|
|
|
28682
|
-
var __signature__$
|
|
28993
|
+
var __signature__$1T = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
28683
28994
|
return a;
|
|
28684
28995
|
};
|
|
28685
28996
|
var dicomCache = {};
|
|
@@ -28736,7 +29047,7 @@ function _createSuper$D(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
28736
29047
|
|
|
28737
29048
|
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
29049
|
|
|
28739
|
-
var __signature__$
|
|
29050
|
+
var __signature__$1U = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
28740
29051
|
return a;
|
|
28741
29052
|
};
|
|
28742
29053
|
var drawLinkedTextBox$7 = cornerstoneTools.importInternal('drawing/drawLinkedTextBox');
|
|
@@ -28744,7 +29055,7 @@ var getNewContext$e = cornerstoneTools.importInternal('drawing/getNewContext');
|
|
|
28744
29055
|
var moveHandleNearImagePoint = cornerstoneTools.importInternal('manipulators/moveHandleNearImagePoint');
|
|
28745
29056
|
var drawLines$3 = cornerstoneTools.importInternal('drawing/drawLines');
|
|
28746
29057
|
var addToolState$4 = cornerstoneTools.addToolState,
|
|
28747
|
-
external$
|
|
29058
|
+
external$r = cornerstoneTools.external;
|
|
28748
29059
|
|
|
28749
29060
|
var AIAnalysisOverlayTool = /*#__PURE__*/function (_BaseAnnotationPlusTo) {
|
|
28750
29061
|
inherits(AIAnalysisOverlayTool, _BaseAnnotationPlusTo);
|
|
@@ -28773,7 +29084,7 @@ var AIAnalysisOverlayTool = /*#__PURE__*/function (_BaseAnnotationPlusTo) {
|
|
|
28773
29084
|
value: function addMeasurement(data, element) {
|
|
28774
29085
|
var measurementData = this.createNewMeasurement(data);
|
|
28775
29086
|
addToolState$4(element, this.name, measurementData);
|
|
28776
|
-
external$
|
|
29087
|
+
external$r.cornerstone.updateImage(element);
|
|
28777
29088
|
}
|
|
28778
29089
|
}, {
|
|
28779
29090
|
key: "handleSelectedCallback",
|
|
@@ -29100,7 +29411,7 @@ var textureDic = function textureDic(value) {
|
|
|
29100
29411
|
reactHotLoader.register(moveHandleNearImagePoint, "moveHandleNearImagePoint", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
29101
29412
|
reactHotLoader.register(drawLines$3, "drawLines", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
29102
29413
|
reactHotLoader.register(addToolState$4, "addToolState", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
29103
|
-
reactHotLoader.register(external$
|
|
29414
|
+
reactHotLoader.register(external$r, "external", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
29104
29415
|
reactHotLoader.register(AIAnalysisOverlayTool, "AIAnalysisOverlayTool", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
29105
29416
|
reactHotLoader.register(getAIText, "getAIText", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
29106
29417
|
reactHotLoader.register(textBoxAnchorPoints, "textBoxAnchorPoints", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
@@ -29118,7 +29429,7 @@ var textureDic = function textureDic(value) {
|
|
|
29118
29429
|
enterModule && enterModule(module);
|
|
29119
29430
|
})();
|
|
29120
29431
|
|
|
29121
|
-
var __signature__$
|
|
29432
|
+
var __signature__$1V = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29122
29433
|
return a;
|
|
29123
29434
|
};
|
|
29124
29435
|
|
|
@@ -29180,7 +29491,7 @@ var _default$E = cornerstoneTools;
|
|
|
29180
29491
|
enterModule && enterModule(module);
|
|
29181
29492
|
})();
|
|
29182
29493
|
|
|
29183
|
-
var __signature__$
|
|
29494
|
+
var __signature__$1W = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29184
29495
|
return a;
|
|
29185
29496
|
};
|
|
29186
29497
|
|
|
@@ -29249,7 +29560,7 @@ function _createImage() {
|
|
|
29249
29560
|
enterModule && enterModule(module);
|
|
29250
29561
|
})();
|
|
29251
29562
|
|
|
29252
|
-
var __signature__$
|
|
29563
|
+
var __signature__$1X = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29253
29564
|
return a;
|
|
29254
29565
|
};
|
|
29255
29566
|
|
|
@@ -29322,7 +29633,7 @@ function ownKeys$d(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
29322
29633
|
|
|
29323
29634
|
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
29635
|
|
|
29325
|
-
var __signature__$
|
|
29636
|
+
var __signature__$1Y = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29326
29637
|
return a;
|
|
29327
29638
|
};
|
|
29328
29639
|
|
|
@@ -29551,7 +29862,7 @@ cornerstone.metaData.addProvider(centesisMetaDataProvider);
|
|
|
29551
29862
|
enterModule && enterModule(module);
|
|
29552
29863
|
})();
|
|
29553
29864
|
|
|
29554
|
-
var __signature__$
|
|
29865
|
+
var __signature__$1Z = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29555
29866
|
return a;
|
|
29556
29867
|
};
|
|
29557
29868
|
|
|
@@ -29684,7 +29995,7 @@ function ownKeys$e(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
29684
29995
|
|
|
29685
29996
|
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
29997
|
|
|
29687
|
-
var __signature__$
|
|
29998
|
+
var __signature__$1_ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29688
29999
|
return a;
|
|
29689
30000
|
};
|
|
29690
30001
|
|
|
@@ -30046,7 +30357,7 @@ function switchMprPerspective(reset) {
|
|
|
30046
30357
|
enterModule && enterModule(module);
|
|
30047
30358
|
})();
|
|
30048
30359
|
|
|
30049
|
-
var __signature__$
|
|
30360
|
+
var __signature__$1$ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
30050
30361
|
return a;
|
|
30051
30362
|
};
|
|
30052
30363
|
|
|
@@ -31429,7 +31740,7 @@ function _createSuper$E(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
31429
31740
|
|
|
31430
31741
|
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
31742
|
|
|
31432
|
-
var __signature__$
|
|
31743
|
+
var __signature__$20 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31433
31744
|
return a;
|
|
31434
31745
|
};
|
|
31435
31746
|
|
|
@@ -31524,7 +31835,7 @@ function _createSuper$F(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
31524
31835
|
|
|
31525
31836
|
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
31837
|
|
|
31527
|
-
var __signature__$
|
|
31838
|
+
var __signature__$21 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31528
31839
|
return a;
|
|
31529
31840
|
};
|
|
31530
31841
|
|
|
@@ -31604,7 +31915,7 @@ var Layout = /*#__PURE__*/function (_Component) {
|
|
|
31604
31915
|
enterModule && enterModule(module);
|
|
31605
31916
|
})();
|
|
31606
31917
|
|
|
31607
|
-
var __signature__$
|
|
31918
|
+
var __signature__$22 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31608
31919
|
return a;
|
|
31609
31920
|
};
|
|
31610
31921
|
|
|
@@ -31659,7 +31970,7 @@ function ownKeys$f(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
31659
31970
|
|
|
31660
31971
|
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
31972
|
|
|
31662
|
-
var __signature__$
|
|
31973
|
+
var __signature__$23 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31663
31974
|
return a;
|
|
31664
31975
|
};
|
|
31665
31976
|
|
|
@@ -31812,7 +32123,7 @@ function _createSuper$G(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
31812
32123
|
|
|
31813
32124
|
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
32125
|
|
|
31815
|
-
var __signature__$
|
|
32126
|
+
var __signature__$24 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31816
32127
|
return a;
|
|
31817
32128
|
};
|
|
31818
32129
|
|
|
@@ -31919,7 +32230,7 @@ function _createSuper$H(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
31919
32230
|
|
|
31920
32231
|
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
32232
|
|
|
31922
|
-
var __signature__$
|
|
32233
|
+
var __signature__$25 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31923
32234
|
return a;
|
|
31924
32235
|
};
|
|
31925
32236
|
|
|
@@ -31993,7 +32304,7 @@ function _createSuper$I(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
31993
32304
|
|
|
31994
32305
|
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
32306
|
|
|
31996
|
-
var __signature__$
|
|
32307
|
+
var __signature__$26 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31997
32308
|
return a;
|
|
31998
32309
|
};
|
|
31999
32310
|
|
|
@@ -32084,7 +32395,7 @@ function _createSuper$J(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
32084
32395
|
|
|
32085
32396
|
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
32397
|
|
|
32087
|
-
var __signature__$
|
|
32398
|
+
var __signature__$27 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32088
32399
|
return a;
|
|
32089
32400
|
};
|
|
32090
32401
|
/**
|
|
@@ -32177,7 +32488,7 @@ function _createSuper$K(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
32177
32488
|
|
|
32178
32489
|
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
32490
|
|
|
32180
|
-
var __signature__$
|
|
32491
|
+
var __signature__$28 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32181
32492
|
return a;
|
|
32182
32493
|
};
|
|
32183
32494
|
|
|
@@ -32383,7 +32694,7 @@ function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
32383
32694
|
|
|
32384
32695
|
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
32696
|
|
|
32386
|
-
var __signature__$
|
|
32697
|
+
var __signature__$29 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32387
32698
|
return a;
|
|
32388
32699
|
};
|
|
32389
32700
|
var destroyFns = [];
|
|
@@ -32525,7 +32836,7 @@ var _default$K = Modal;
|
|
|
32525
32836
|
enterModule && enterModule(module);
|
|
32526
32837
|
})();
|
|
32527
32838
|
|
|
32528
|
-
var __signature__$
|
|
32839
|
+
var __signature__$2a = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32529
32840
|
return a;
|
|
32530
32841
|
};
|
|
32531
32842
|
|
|
@@ -32587,7 +32898,7 @@ function _createSuper$L(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
32587
32898
|
|
|
32588
32899
|
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
32900
|
|
|
32590
|
-
var __signature__$
|
|
32901
|
+
var __signature__$2b = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32591
32902
|
return a;
|
|
32592
32903
|
};
|
|
32593
32904
|
|
|
@@ -32911,7 +33222,7 @@ function _createSuper$M(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
32911
33222
|
|
|
32912
33223
|
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
33224
|
|
|
32914
|
-
var __signature__$
|
|
33225
|
+
var __signature__$2c = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32915
33226
|
return a;
|
|
32916
33227
|
};
|
|
32917
33228
|
|
|
@@ -33153,7 +33464,7 @@ function ownKeys$h(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
33153
33464
|
|
|
33154
33465
|
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
33466
|
|
|
33156
|
-
var __signature__$
|
|
33467
|
+
var __signature__$2d = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33157
33468
|
return a;
|
|
33158
33469
|
};
|
|
33159
33470
|
|
|
@@ -33336,7 +33647,7 @@ function _createSuper$N(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
33336
33647
|
|
|
33337
33648
|
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
33649
|
|
|
33339
|
-
var __signature__$
|
|
33650
|
+
var __signature__$2e = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33340
33651
|
return a;
|
|
33341
33652
|
};
|
|
33342
33653
|
|
|
@@ -33440,7 +33751,7 @@ function ownKeys$i(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
33440
33751
|
|
|
33441
33752
|
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
33753
|
|
|
33443
|
-
var __signature__$
|
|
33754
|
+
var __signature__$2f = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33444
33755
|
return a;
|
|
33445
33756
|
};
|
|
33446
33757
|
|
|
@@ -33604,7 +33915,7 @@ function _createSuper$O(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
33604
33915
|
|
|
33605
33916
|
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
33917
|
|
|
33607
|
-
var __signature__$
|
|
33918
|
+
var __signature__$2g = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33608
33919
|
return a;
|
|
33609
33920
|
};
|
|
33610
33921
|
|
|
@@ -33699,7 +34010,7 @@ function ownKeys$j(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
33699
34010
|
|
|
33700
34011
|
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
34012
|
|
|
33702
|
-
var __signature__$
|
|
34013
|
+
var __signature__$2h = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33703
34014
|
return a;
|
|
33704
34015
|
};
|
|
33705
34016
|
|
|
@@ -33845,7 +34156,7 @@ function _createSuper$P(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
33845
34156
|
|
|
33846
34157
|
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
34158
|
|
|
33848
|
-
var __signature__$
|
|
34159
|
+
var __signature__$2i = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33849
34160
|
return a;
|
|
33850
34161
|
};
|
|
33851
34162
|
|
|
@@ -33902,7 +34213,7 @@ defineProperty(ButtonGroup, "propTypes", {});
|
|
|
33902
34213
|
enterModule && enterModule(module);
|
|
33903
34214
|
})();
|
|
33904
34215
|
|
|
33905
|
-
var __signature__$
|
|
34216
|
+
var __signature__$2j = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33906
34217
|
return a;
|
|
33907
34218
|
};
|
|
33908
34219
|
/**
|
|
@@ -33991,7 +34302,7 @@ function _createSuper$Q(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
33991
34302
|
|
|
33992
34303
|
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
34304
|
|
|
33994
|
-
var __signature__$
|
|
34305
|
+
var __signature__$2k = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33995
34306
|
return a;
|
|
33996
34307
|
};
|
|
33997
34308
|
|
|
@@ -34103,7 +34414,7 @@ defineProperty(DicomTagsRow, "propTypes", {
|
|
|
34103
34414
|
enterModule && enterModule(module);
|
|
34104
34415
|
})();
|
|
34105
34416
|
|
|
34106
|
-
var __signature__$
|
|
34417
|
+
var __signature__$2l = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34107
34418
|
return a;
|
|
34108
34419
|
};
|
|
34109
34420
|
|
|
@@ -34139,7 +34450,7 @@ function _createSuper$R(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
34139
34450
|
|
|
34140
34451
|
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
34452
|
|
|
34142
|
-
var __signature__$
|
|
34453
|
+
var __signature__$2m = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34143
34454
|
return a;
|
|
34144
34455
|
};
|
|
34145
34456
|
var dicomTagsKeysScan = lodash$1.chain(dicomDataDictionary.standardDataElements).pickBy(function (value) {
|
|
@@ -34331,7 +34642,7 @@ function _createSuper$S(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
34331
34642
|
|
|
34332
34643
|
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
34644
|
|
|
34334
|
-
var __signature__$
|
|
34645
|
+
var __signature__$2n = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34335
34646
|
return a;
|
|
34336
34647
|
};
|
|
34337
34648
|
|
|
@@ -34615,7 +34926,7 @@ function ownKeys$l(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
34615
34926
|
|
|
34616
34927
|
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
34928
|
|
|
34618
|
-
var __signature__$
|
|
34929
|
+
var __signature__$2o = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34619
34930
|
return a;
|
|
34620
34931
|
};
|
|
34621
34932
|
|
|
@@ -34738,7 +35049,7 @@ function _createSuper$T(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
34738
35049
|
|
|
34739
35050
|
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
35051
|
|
|
34741
|
-
var __signature__$
|
|
35052
|
+
var __signature__$2p = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34742
35053
|
return a;
|
|
34743
35054
|
};
|
|
34744
35055
|
|
|
@@ -34978,7 +35289,7 @@ function ownKeys$m(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
34978
35289
|
|
|
34979
35290
|
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
35291
|
|
|
34981
|
-
var __signature__$
|
|
35292
|
+
var __signature__$2q = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34982
35293
|
return a;
|
|
34983
35294
|
};
|
|
34984
35295
|
var destroyFns$1 = [];
|
|
@@ -35076,7 +35387,7 @@ function ownKeys$n(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
35076
35387
|
|
|
35077
35388
|
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
35389
|
|
|
35079
|
-
var __signature__$
|
|
35390
|
+
var __signature__$2r = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
35080
35391
|
return a;
|
|
35081
35392
|
};
|
|
35082
35393
|
|
|
@@ -39402,7 +39713,7 @@ function _createSuper$U(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
39402
39713
|
|
|
39403
39714
|
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
39715
|
|
|
39405
|
-
var __signature__$
|
|
39716
|
+
var __signature__$2s = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
39406
39717
|
return a;
|
|
39407
39718
|
};
|
|
39408
39719
|
|
|
@@ -39713,7 +40024,7 @@ function _createSuper$V(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
39713
40024
|
|
|
39714
40025
|
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
40026
|
|
|
39716
|
-
var __signature__$
|
|
40027
|
+
var __signature__$2t = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
39717
40028
|
return a;
|
|
39718
40029
|
};
|
|
39719
40030
|
|
|
@@ -39862,7 +40173,7 @@ function ownKeys$p(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
39862
40173
|
|
|
39863
40174
|
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
40175
|
|
|
39865
|
-
var __signature__$
|
|
40176
|
+
var __signature__$2u = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
39866
40177
|
return a;
|
|
39867
40178
|
};
|
|
39868
40179
|
|
|
@@ -40003,7 +40314,7 @@ function _createSuper$W(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
40003
40314
|
|
|
40004
40315
|
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
40316
|
|
|
40006
|
-
var __signature__$
|
|
40317
|
+
var __signature__$2v = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40007
40318
|
return a;
|
|
40008
40319
|
};
|
|
40009
40320
|
|
|
@@ -40086,7 +40397,7 @@ function ownKeys$q(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
40086
40397
|
|
|
40087
40398
|
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
40399
|
|
|
40089
|
-
var __signature__$
|
|
40400
|
+
var __signature__$2w = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40090
40401
|
return a;
|
|
40091
40402
|
};
|
|
40092
40403
|
|
|
@@ -40199,7 +40510,7 @@ function _createSuper$X(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
40199
40510
|
|
|
40200
40511
|
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
40512
|
|
|
40202
|
-
var __signature__$
|
|
40513
|
+
var __signature__$2x = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40203
40514
|
return a;
|
|
40204
40515
|
};
|
|
40205
40516
|
|
|
@@ -40329,7 +40640,7 @@ function ownKeys$r(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
40329
40640
|
|
|
40330
40641
|
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
40642
|
|
|
40332
|
-
var __signature__$
|
|
40643
|
+
var __signature__$2y = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40333
40644
|
return a;
|
|
40334
40645
|
};
|
|
40335
40646
|
|
|
@@ -40413,7 +40724,7 @@ function _createSuper$Y(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
40413
40724
|
|
|
40414
40725
|
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
40726
|
|
|
40416
|
-
var __signature__$
|
|
40727
|
+
var __signature__$2z = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40417
40728
|
return a;
|
|
40418
40729
|
};
|
|
40419
40730
|
|
|
@@ -40499,7 +40810,7 @@ function ownKeys$s(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
40499
40810
|
|
|
40500
40811
|
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
40812
|
|
|
40502
|
-
var __signature__$
|
|
40813
|
+
var __signature__$2A = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40503
40814
|
return a;
|
|
40504
40815
|
};
|
|
40505
40816
|
|
|
@@ -40603,7 +40914,7 @@ function _createSuper$Z(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
40603
40914
|
|
|
40604
40915
|
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
40916
|
|
|
40606
|
-
var __signature__$
|
|
40917
|
+
var __signature__$2B = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40607
40918
|
return a;
|
|
40608
40919
|
};
|
|
40609
40920
|
var VRModeDict = (_VRModeDict = {}, defineProperty(_VRModeDict, OperationMode.Fast, '流畅'), defineProperty(_VRModeDict, OperationMode.Standard, '常规'), defineProperty(_VRModeDict, OperationMode.Advanced, '增强'), _VRModeDict);
|
|
@@ -40678,7 +40989,7 @@ function ownKeys$t(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
40678
40989
|
|
|
40679
40990
|
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
40991
|
|
|
40681
|
-
var __signature__$
|
|
40992
|
+
var __signature__$2C = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40682
40993
|
return a;
|
|
40683
40994
|
};
|
|
40684
40995
|
|
|
@@ -40765,7 +41076,7 @@ styleInject$1(css_248z$d);
|
|
|
40765
41076
|
enterModule && enterModule(module);
|
|
40766
41077
|
})();
|
|
40767
41078
|
|
|
40768
|
-
var __signature__$
|
|
41079
|
+
var __signature__$2D = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40769
41080
|
return a;
|
|
40770
41081
|
};
|
|
40771
41082
|
|
|
@@ -40811,7 +41122,7 @@ function exitFullscreen() {
|
|
|
40811
41122
|
enterModule && enterModule(module);
|
|
40812
41123
|
})();
|
|
40813
41124
|
|
|
40814
|
-
var __signature__$
|
|
41125
|
+
var __signature__$2E = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40815
41126
|
return a;
|
|
40816
41127
|
};
|
|
40817
41128
|
var boundsPosition = function boundsPosition(_ref) {
|
|
@@ -40858,7 +41169,7 @@ function _createSuper$_(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
40858
41169
|
|
|
40859
41170
|
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
41171
|
|
|
40861
|
-
var __signature__$
|
|
41172
|
+
var __signature__$2F = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
40862
41173
|
return a;
|
|
40863
41174
|
};
|
|
40864
41175
|
|
|
@@ -42843,7 +43154,7 @@ function _createSuper$$(Derived) { var hasNativeReflectConstruct = _isNativeRefl
|
|
|
42843
43154
|
|
|
42844
43155
|
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
43156
|
|
|
42846
|
-
var __signature__$
|
|
43157
|
+
var __signature__$2G = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
42847
43158
|
return a;
|
|
42848
43159
|
};
|
|
42849
43160
|
var SortableItem = sortableElement(function (_ref) {
|
|
@@ -43027,7 +43338,7 @@ function _createSuper$10(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
43027
43338
|
|
|
43028
43339
|
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
43340
|
|
|
43030
|
-
var __signature__$
|
|
43341
|
+
var __signature__$2H = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
43031
43342
|
return a;
|
|
43032
43343
|
};
|
|
43033
43344
|
|
|
@@ -43274,7 +43585,7 @@ function _createSuper$11(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
43274
43585
|
|
|
43275
43586
|
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
43587
|
|
|
43277
|
-
var __signature__$
|
|
43588
|
+
var __signature__$2I = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
43278
43589
|
return a;
|
|
43279
43590
|
};
|
|
43280
43591
|
|
|
@@ -43546,7 +43857,7 @@ function _createSuper$12(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
43546
43857
|
|
|
43547
43858
|
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
43859
|
|
|
43549
|
-
var __signature__$
|
|
43860
|
+
var __signature__$2J = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
43550
43861
|
return a;
|
|
43551
43862
|
};
|
|
43552
43863
|
|
|
@@ -43731,7 +44042,7 @@ function _createSuper$13(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
43731
44042
|
|
|
43732
44043
|
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
44044
|
|
|
43734
|
-
var __signature__$
|
|
44045
|
+
var __signature__$2K = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
43735
44046
|
return a;
|
|
43736
44047
|
};
|
|
43737
44048
|
|
|
@@ -44021,7 +44332,7 @@ function _createSuper$14(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
44021
44332
|
|
|
44022
44333
|
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
44334
|
|
|
44024
|
-
var __signature__$
|
|
44335
|
+
var __signature__$2L = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
44025
44336
|
return a;
|
|
44026
44337
|
};
|
|
44027
44338
|
|
|
@@ -44328,7 +44639,7 @@ function _createSuper$15(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
44328
44639
|
|
|
44329
44640
|
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
44641
|
|
|
44331
|
-
var __signature__$
|
|
44642
|
+
var __signature__$2M = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
44332
44643
|
return a;
|
|
44333
44644
|
};
|
|
44334
44645
|
|
|
@@ -44398,7 +44709,7 @@ function ownKeys$v(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
44398
44709
|
|
|
44399
44710
|
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
44711
|
|
|
44401
|
-
var __signature__$
|
|
44712
|
+
var __signature__$2N = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
44402
44713
|
return a;
|
|
44403
44714
|
};
|
|
44404
44715
|
|
|
@@ -44495,7 +44806,7 @@ function _createSuper$16(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
44495
44806
|
|
|
44496
44807
|
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
44808
|
|
|
44498
|
-
var __signature__$
|
|
44809
|
+
var __signature__$2O = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
44499
44810
|
return a;
|
|
44500
44811
|
};
|
|
44501
44812
|
|
|
@@ -45108,7 +45419,7 @@ styleInject$1(css_248z$h);
|
|
|
45108
45419
|
enterModule && enterModule(module);
|
|
45109
45420
|
})();
|
|
45110
45421
|
|
|
45111
|
-
var __signature__$
|
|
45422
|
+
var __signature__$2P = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
45112
45423
|
return a;
|
|
45113
45424
|
};
|
|
45114
45425
|
|
|
@@ -45218,7 +45529,7 @@ function _createSuper$17(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
45218
45529
|
|
|
45219
45530
|
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
45531
|
|
|
45221
|
-
var __signature__$
|
|
45532
|
+
var __signature__$2Q = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
45222
45533
|
return a;
|
|
45223
45534
|
};
|
|
45224
45535
|
|
|
@@ -45386,7 +45697,7 @@ function ownKeys$w(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
45386
45697
|
|
|
45387
45698
|
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
45699
|
|
|
45389
|
-
var __signature__$
|
|
45700
|
+
var __signature__$2R = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
45390
45701
|
return a;
|
|
45391
45702
|
};
|
|
45392
45703
|
var scrollToIndex$2 = _default$E.importInternal('util/scrollToIndex');
|
|
@@ -46211,7 +46522,7 @@ function _createSuper$18(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
46211
46522
|
|
|
46212
46523
|
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
46524
|
|
|
46214
|
-
var __signature__$
|
|
46525
|
+
var __signature__$2S = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46215
46526
|
return a;
|
|
46216
46527
|
};
|
|
46217
46528
|
|
|
@@ -46308,7 +46619,7 @@ function _createSuper$19(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
46308
46619
|
|
|
46309
46620
|
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
46621
|
|
|
46311
|
-
var __signature__$
|
|
46622
|
+
var __signature__$2T = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46312
46623
|
return a;
|
|
46313
46624
|
};
|
|
46314
46625
|
var loadIndicatorDelay = 300;
|
|
@@ -46524,7 +46835,7 @@ function _createSuper$1a(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
46524
46835
|
|
|
46525
46836
|
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
46837
|
|
|
46527
|
-
var __signature__$
|
|
46838
|
+
var __signature__$2U = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46528
46839
|
return a;
|
|
46529
46840
|
};
|
|
46530
46841
|
|
|
@@ -46733,7 +47044,7 @@ function ownKeys$x(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
46733
47044
|
|
|
46734
47045
|
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
47046
|
|
|
46736
|
-
var __signature__$
|
|
47047
|
+
var __signature__$2V = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46737
47048
|
return a;
|
|
46738
47049
|
};
|
|
46739
47050
|
|
|
@@ -46838,7 +47149,7 @@ styleInject$1(css_248z$k);
|
|
|
46838
47149
|
enterModule && enterModule(module);
|
|
46839
47150
|
})();
|
|
46840
47151
|
|
|
46841
|
-
var __signature__$
|
|
47152
|
+
var __signature__$2W = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46842
47153
|
return a;
|
|
46843
47154
|
};
|
|
46844
47155
|
function combineDateAndTimeToMoment(dicom, tag) {
|
|
@@ -46891,7 +47202,7 @@ function convertSecondsToMinAndSecond(seconds) {
|
|
|
46891
47202
|
enterModule && enterModule(module);
|
|
46892
47203
|
})();
|
|
46893
47204
|
|
|
46894
|
-
var __signature__$
|
|
47205
|
+
var __signature__$2X = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46895
47206
|
return a;
|
|
46896
47207
|
};
|
|
46897
47208
|
|
|
@@ -46921,7 +47232,7 @@ function formatNumberPrecision(number, precision) {
|
|
|
46921
47232
|
enterModule && enterModule(module);
|
|
46922
47233
|
})();
|
|
46923
47234
|
|
|
46924
|
-
var __signature__$
|
|
47235
|
+
var __signature__$2Y = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46925
47236
|
return a;
|
|
46926
47237
|
};
|
|
46927
47238
|
function getPixelSpacing$8(imageId) {
|
|
@@ -46964,7 +47275,7 @@ function _createSuper$1b(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
46964
47275
|
|
|
46965
47276
|
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
47277
|
|
|
46967
|
-
var __signature__$
|
|
47278
|
+
var __signature__$2Z = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46968
47279
|
return a;
|
|
46969
47280
|
};
|
|
46970
47281
|
|
|
@@ -47319,7 +47630,7 @@ function _createSuper$1c(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
47319
47630
|
|
|
47320
47631
|
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
47632
|
|
|
47322
|
-
var __signature__$
|
|
47633
|
+
var __signature__$2_ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
47323
47634
|
return a;
|
|
47324
47635
|
};
|
|
47325
47636
|
|
|
@@ -47394,7 +47705,7 @@ function _createSuper$1d(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
47394
47705
|
|
|
47395
47706
|
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
47707
|
|
|
47397
|
-
var __signature__$
|
|
47708
|
+
var __signature__$2$ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
47398
47709
|
return a;
|
|
47399
47710
|
};
|
|
47400
47711
|
|
|
@@ -47563,7 +47874,11 @@ var CustomScroll = /*#__PURE__*/function (_Component) {
|
|
|
47563
47874
|
currentStep = step - 1;
|
|
47564
47875
|
}
|
|
47565
47876
|
|
|
47566
|
-
_this2.
|
|
47877
|
+
if (_this2.props.needDebounce) {
|
|
47878
|
+
_this2.debouncedPan(currentStep);
|
|
47879
|
+
} else {
|
|
47880
|
+
_this2.props.onPan(currentStep);
|
|
47881
|
+
}
|
|
47567
47882
|
};
|
|
47568
47883
|
|
|
47569
47884
|
switch (type) {
|
|
@@ -47813,7 +48128,7 @@ function _unsupportedIterableToArray$b(o, minLen) { if (!o) return; if (typeof o
|
|
|
47813
48128
|
|
|
47814
48129
|
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; }
|
|
47815
48130
|
|
|
47816
|
-
var __signature__$
|
|
48131
|
+
var __signature__$30 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
47817
48132
|
return a;
|
|
47818
48133
|
};
|
|
47819
48134
|
var triggerEvent$3 = _default$E.importInternal('util/triggerEvent');
|
|
@@ -47986,10 +48301,10 @@ function _unsupportedIterableToArray$c(o, minLen) { if (!o) return; if (typeof o
|
|
|
47986
48301
|
|
|
47987
48302
|
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; }
|
|
47988
48303
|
|
|
47989
|
-
var __signature__$
|
|
48304
|
+
var __signature__$31 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
47990
48305
|
return a;
|
|
47991
48306
|
};
|
|
47992
|
-
var external$
|
|
48307
|
+
var external$s = cornerstoneTools.external;
|
|
47993
48308
|
|
|
47994
48309
|
function processCentesisPath(imageId) {
|
|
47995
48310
|
var _imageId$split = imageId.split(':'),
|
|
@@ -48021,7 +48336,7 @@ function processCentesisPath(imageId) {
|
|
|
48021
48336
|
try {
|
|
48022
48337
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
48023
48338
|
var element = _step.value;
|
|
48024
|
-
external$
|
|
48339
|
+
external$s.cornerstone.triggerEvent(element, 'MPR_REFERENCE_LINE', {
|
|
48025
48340
|
images: images,
|
|
48026
48341
|
source: imageOrientationPatient
|
|
48027
48342
|
});
|
|
@@ -48040,7 +48355,7 @@ function processCentesisPath(imageId) {
|
|
|
48040
48355
|
return;
|
|
48041
48356
|
}
|
|
48042
48357
|
|
|
48043
|
-
reactHotLoader.register(external$
|
|
48358
|
+
reactHotLoader.register(external$s, "external", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/processCentesisPath.js");
|
|
48044
48359
|
reactHotLoader.register(processCentesisPath, "processCentesisPath", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/custom/processCentesisPath.js");
|
|
48045
48360
|
})();
|
|
48046
48361
|
|
|
@@ -48049,6 +48364,131 @@ function processCentesisPath(imageId) {
|
|
|
48049
48364
|
leaveModule && leaveModule(module);
|
|
48050
48365
|
})();
|
|
48051
48366
|
|
|
48367
|
+
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";
|
|
48368
|
+
styleInject$1(css_248z$o);
|
|
48369
|
+
|
|
48370
|
+
(function () {
|
|
48371
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
48372
|
+
enterModule && enterModule(module);
|
|
48373
|
+
})();
|
|
48374
|
+
|
|
48375
|
+
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); }; }
|
|
48376
|
+
|
|
48377
|
+
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; } }
|
|
48378
|
+
|
|
48379
|
+
var __signature__$32 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
48380
|
+
return a;
|
|
48381
|
+
};
|
|
48382
|
+
|
|
48383
|
+
var ThicknessSelectMain = /*#__PURE__*/function (_Component) {
|
|
48384
|
+
inherits(ThicknessSelectMain, _Component);
|
|
48385
|
+
|
|
48386
|
+
var _super = _createSuper$1e(ThicknessSelectMain);
|
|
48387
|
+
|
|
48388
|
+
function ThicknessSelectMain(props) {
|
|
48389
|
+
var _this;
|
|
48390
|
+
|
|
48391
|
+
classCallCheck(this, ThicknessSelectMain);
|
|
48392
|
+
|
|
48393
|
+
_this = _super.call(this, props);
|
|
48394
|
+
|
|
48395
|
+
defineProperty(assertThisInitialized(_this), "onPopoverClose", function (eventData) {
|
|
48396
|
+
if (eventData && eventData.value) {
|
|
48397
|
+
var value = eventData.value;
|
|
48398
|
+
changeThickness(_this.props.imageId, value, _this.props.mpr, 'MIP');
|
|
48399
|
+
|
|
48400
|
+
_this.props.onSelect(value);
|
|
48401
|
+
}
|
|
48402
|
+
});
|
|
48403
|
+
|
|
48404
|
+
var stack = _this.props.stack;
|
|
48405
|
+
var spaceBetweenSlice = stack.spaceBetweenSlice && stack.spaceBetweenSlice.toFixed(1);
|
|
48406
|
+
var sliceEnd = stack.sliceEnd;
|
|
48407
|
+
var thicknessOptions = [2, 4, 8, 16, 32]; //sliceEnd层数
|
|
48408
|
+
|
|
48409
|
+
if (sliceEnd) {
|
|
48410
|
+
thicknessOptions = lodash$1.filter(thicknessOptions, function (item) {
|
|
48411
|
+
return item < sliceEnd || item === sliceEnd;
|
|
48412
|
+
});
|
|
48413
|
+
}
|
|
48414
|
+
|
|
48415
|
+
_this.selectOptions = lodash$1.map(thicknessOptions, function (item) {
|
|
48416
|
+
return {
|
|
48417
|
+
label: (spaceBetweenSlice * item).toFixed(1) + 'mm-MIP',
|
|
48418
|
+
value: item
|
|
48419
|
+
};
|
|
48420
|
+
});
|
|
48421
|
+
return _this;
|
|
48422
|
+
}
|
|
48423
|
+
|
|
48424
|
+
createClass(ThicknessSelectMain, [{
|
|
48425
|
+
key: "render",
|
|
48426
|
+
value: function render() {
|
|
48427
|
+
var _this2 = this;
|
|
48428
|
+
|
|
48429
|
+
var _this$props = this.props,
|
|
48430
|
+
value = _this$props.value,
|
|
48431
|
+
stack = _this$props.stack;
|
|
48432
|
+
var spaceBetweenSlice = stack.spaceBetweenSlice && stack.spaceBetweenSlice.toFixed(1);
|
|
48433
|
+
|
|
48434
|
+
var ThicknessSelect = function ThicknessSelect(props) {
|
|
48435
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
48436
|
+
className: "paladin-thickness-selecter"
|
|
48437
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
48438
|
+
className: "paladin-thickness-select-item paladin-thickness-select-mpr",
|
|
48439
|
+
onClick: function onClick() {
|
|
48440
|
+
props.onClose({
|
|
48441
|
+
value: 1
|
|
48442
|
+
});
|
|
48443
|
+
}
|
|
48444
|
+
}, "MPR"), _this2.selectOptions && _this2.selectOptions.map(function (item) {
|
|
48445
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
48446
|
+
className: "paladin-thickness-select-item",
|
|
48447
|
+
key: "thickness-".concat(item.value),
|
|
48448
|
+
onClick: function onClick() {
|
|
48449
|
+
props.onClose({
|
|
48450
|
+
value: item.value
|
|
48451
|
+
});
|
|
48452
|
+
}
|
|
48453
|
+
}, item.label);
|
|
48454
|
+
}));
|
|
48455
|
+
};
|
|
48456
|
+
|
|
48457
|
+
return /*#__PURE__*/React__default.createElement(PopperBox, {
|
|
48458
|
+
popover: ThicknessSelect,
|
|
48459
|
+
onPopoverClose: this.onPopoverClose,
|
|
48460
|
+
popoverPlacement: 'top'
|
|
48461
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
48462
|
+
className: "paladin-thickness-container"
|
|
48463
|
+
}, value === 1 ? 'MPR' : (spaceBetweenSlice * value).toFixed(1) + 'mm-MIP'));
|
|
48464
|
+
}
|
|
48465
|
+
}, {
|
|
48466
|
+
key: "__reactstandin__regenerateByEval",
|
|
48467
|
+
// @ts-ignore
|
|
48468
|
+
value: function __reactstandin__regenerateByEval(key, code) {
|
|
48469
|
+
// @ts-ignore
|
|
48470
|
+
this[key] = eval(code);
|
|
48471
|
+
}
|
|
48472
|
+
}]);
|
|
48473
|
+
|
|
48474
|
+
return ThicknessSelectMain;
|
|
48475
|
+
}(React.Component);
|
|
48476
|
+
|
|
48477
|
+
(function () {
|
|
48478
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
48479
|
+
|
|
48480
|
+
if (!reactHotLoader) {
|
|
48481
|
+
return;
|
|
48482
|
+
}
|
|
48483
|
+
|
|
48484
|
+
reactHotLoader.register(ThicknessSelectMain, "ThicknessSelectMain", "/Users/huyeqing/workspace/chainz/paladin/src/Viewer/DicomViewport/mpr/ThicknessSelectMain.js");
|
|
48485
|
+
})();
|
|
48486
|
+
|
|
48487
|
+
(function () {
|
|
48488
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
48489
|
+
leaveModule && leaveModule(module);
|
|
48490
|
+
})();
|
|
48491
|
+
|
|
48052
48492
|
(function () {
|
|
48053
48493
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
48054
48494
|
enterModule && enterModule(module);
|
|
@@ -48058,11 +48498,11 @@ function ownKeys$y(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
48058
48498
|
|
|
48059
48499
|
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; }
|
|
48060
48500
|
|
|
48061
|
-
function _createSuper$
|
|
48501
|
+
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); }; }
|
|
48062
48502
|
|
|
48063
|
-
function _isNativeReflectConstruct$
|
|
48503
|
+
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; } }
|
|
48064
48504
|
|
|
48065
|
-
var __signature__$
|
|
48505
|
+
var __signature__$33 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
48066
48506
|
return a;
|
|
48067
48507
|
};
|
|
48068
48508
|
var EVENT_RESIZE = 'resize';
|
|
@@ -48104,7 +48544,7 @@ function initializeTools$1(cornerstoneTools, tools, element) {
|
|
|
48104
48544
|
var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
48105
48545
|
inherits(DicomViewport, _Component);
|
|
48106
48546
|
|
|
48107
|
-
var _super = _createSuper$
|
|
48547
|
+
var _super = _createSuper$1f(DicomViewport);
|
|
48108
48548
|
|
|
48109
48549
|
function DicomViewport(_props) {
|
|
48110
48550
|
var _this;
|
|
@@ -48846,12 +49286,26 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
48846
49286
|
value: currentImageIndex + 1
|
|
48847
49287
|
}))), showCustomScroll && mpr && /*#__PURE__*/React__default.createElement("div", {
|
|
48848
49288
|
className: "paladin-flex paladin-flex-row paladin-viewport-scroll-mpr-wrappper"
|
|
49289
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
49290
|
+
style: {
|
|
49291
|
+
width: 'calc(100% - 90px)'
|
|
49292
|
+
}
|
|
48849
49293
|
}, /*#__PURE__*/React__default.createElement(CustomScroll, {
|
|
48850
49294
|
step: imageCount,
|
|
48851
49295
|
value: currentImageIndex,
|
|
48852
49296
|
onPan: this.handlePan,
|
|
48853
49297
|
name: index,
|
|
48854
49298
|
aiTips: Surgery && centesisTipInCustomScroll
|
|
49299
|
+
})), mpr && /*#__PURE__*/React__default.createElement(ThicknessSelectMain, {
|
|
49300
|
+
value: sliceThickness,
|
|
49301
|
+
onSelect: function onSelect(v) {
|
|
49302
|
+
_this3.setState({
|
|
49303
|
+
sliceThickness: v
|
|
49304
|
+
});
|
|
49305
|
+
},
|
|
49306
|
+
stack: stack,
|
|
49307
|
+
imageId: imageId,
|
|
49308
|
+
mpr: mpr
|
|
48855
49309
|
})), mpr && !Surgery && /*#__PURE__*/React__default.createElement("div", {
|
|
48856
49310
|
className: "paladin-mpr-direaction-tip",
|
|
48857
49311
|
style: {
|
|
@@ -48900,6 +49354,15 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
48900
49354
|
var viewport = cornerstone.getViewport(this.element);
|
|
48901
49355
|
var stateViewport = this.state.viewport;
|
|
48902
49356
|
|
|
49357
|
+
if (this.props.mpr) {
|
|
49358
|
+
var currentImageIndex = this.props.stack && this.props.stack.currentImageIdIndex || 0;
|
|
49359
|
+
var imageId = this.props.stack && this.props.stack.imageIds[currentImageIndex];
|
|
49360
|
+
var sliceThickness = setThickness(imageId);
|
|
49361
|
+
this.setState({
|
|
49362
|
+
sliceThickness: sliceThickness
|
|
49363
|
+
});
|
|
49364
|
+
}
|
|
49365
|
+
|
|
48903
49366
|
if (JSON.stringify(viewport) === JSON.stringify(stateViewport)) {
|
|
48904
49367
|
return;
|
|
48905
49368
|
}
|
|
@@ -49530,7 +49993,7 @@ defineProperty(DicomViewport, "defaultProps", {
|
|
|
49530
49993
|
enterModule && enterModule(module);
|
|
49531
49994
|
})();
|
|
49532
49995
|
|
|
49533
|
-
var __signature__$
|
|
49996
|
+
var __signature__$34 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49534
49997
|
return a;
|
|
49535
49998
|
};
|
|
49536
49999
|
var _default$12 = DicomViewport;
|
|
@@ -49555,7 +50018,7 @@ var _default$12 = DicomViewport;
|
|
|
49555
50018
|
enterModule && enterModule(module);
|
|
49556
50019
|
})();
|
|
49557
50020
|
|
|
49558
|
-
var __signature__$
|
|
50021
|
+
var __signature__$35 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49559
50022
|
return a;
|
|
49560
50023
|
};
|
|
49561
50024
|
|
|
@@ -49628,15 +50091,15 @@ var _default$13 = ConnectedDicomViewport;
|
|
|
49628
50091
|
leaveModule && leaveModule(module);
|
|
49629
50092
|
})();
|
|
49630
50093
|
|
|
49631
|
-
var css_248z$
|
|
49632
|
-
styleInject$1(css_248z$
|
|
50094
|
+
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";
|
|
50095
|
+
styleInject$1(css_248z$p);
|
|
49633
50096
|
|
|
49634
50097
|
(function () {
|
|
49635
50098
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
49636
50099
|
enterModule && enterModule(module);
|
|
49637
50100
|
})();
|
|
49638
50101
|
|
|
49639
|
-
var __signature__$
|
|
50102
|
+
var __signature__$36 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49640
50103
|
return a;
|
|
49641
50104
|
};
|
|
49642
50105
|
var DicomLayoutContainer = function DicomLayoutContainer(props) {
|
|
@@ -49672,11 +50135,11 @@ function _unsupportedIterableToArray$d(o, minLen) { if (!o) return; if (typeof o
|
|
|
49672
50135
|
|
|
49673
50136
|
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; }
|
|
49674
50137
|
|
|
49675
|
-
function _createSuper$
|
|
50138
|
+
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); }; }
|
|
49676
50139
|
|
|
49677
|
-
function _isNativeReflectConstruct$
|
|
50140
|
+
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; } }
|
|
49678
50141
|
|
|
49679
|
-
var __signature__$
|
|
50142
|
+
var __signature__$37 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
49680
50143
|
return a;
|
|
49681
50144
|
};
|
|
49682
50145
|
|
|
@@ -49693,7 +50156,7 @@ var EmptyElement = function EmptyElement(_ref) {
|
|
|
49693
50156
|
var DicomLayout = /*#__PURE__*/function (_Component) {
|
|
49694
50157
|
inherits(DicomLayout, _Component);
|
|
49695
50158
|
|
|
49696
|
-
var _super = _createSuper$
|
|
50159
|
+
var _super = _createSuper$1g(DicomLayout);
|
|
49697
50160
|
|
|
49698
50161
|
function DicomLayout(props) {
|
|
49699
50162
|
var _this;
|
|
@@ -49953,7 +50416,8 @@ var DicomLayout = /*#__PURE__*/function (_Component) {
|
|
|
49953
50416
|
step: Math.ceil(seriesTotalCount / col) - row + 1,
|
|
49954
50417
|
onPan: this.props.customScrollPan,
|
|
49955
50418
|
name: 'layout',
|
|
49956
|
-
scrollType: "relative"
|
|
50419
|
+
scrollType: "relative",
|
|
50420
|
+
needDebounce: true
|
|
49957
50421
|
})));
|
|
49958
50422
|
}
|
|
49959
50423
|
}, {
|
|
@@ -50015,7 +50479,7 @@ function ownKeys$z(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
50015
50479
|
|
|
50016
50480
|
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; }
|
|
50017
50481
|
|
|
50018
|
-
var __signature__$
|
|
50482
|
+
var __signature__$38 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
50019
50483
|
return a;
|
|
50020
50484
|
};
|
|
50021
50485
|
/**
|
|
@@ -50340,7 +50804,7 @@ function ownKeys$A(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
50340
50804
|
|
|
50341
50805
|
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; }
|
|
50342
50806
|
|
|
50343
|
-
var __signature__$
|
|
50807
|
+
var __signature__$39 = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
50344
50808
|
return a;
|
|
50345
50809
|
};
|
|
50346
50810
|
/**
|
|
@@ -50599,26 +51063,26 @@ var _default$15 = ConnectedDicomImageModeLayout;
|
|
|
50599
51063
|
leaveModule && leaveModule(module);
|
|
50600
51064
|
})();
|
|
50601
51065
|
|
|
50602
|
-
var css_248z$
|
|
50603
|
-
styleInject$1(css_248z$
|
|
51066
|
+
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";
|
|
51067
|
+
styleInject$1(css_248z$q);
|
|
50604
51068
|
|
|
50605
51069
|
(function () {
|
|
50606
51070
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
50607
51071
|
enterModule && enterModule(module);
|
|
50608
51072
|
})();
|
|
50609
51073
|
|
|
50610
|
-
function _createSuper$
|
|
51074
|
+
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); }; }
|
|
50611
51075
|
|
|
50612
|
-
function _isNativeReflectConstruct$
|
|
51076
|
+
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; } }
|
|
50613
51077
|
|
|
50614
|
-
var __signature__$
|
|
51078
|
+
var __signature__$3a = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
50615
51079
|
return a;
|
|
50616
51080
|
};
|
|
50617
51081
|
|
|
50618
51082
|
var SurgeryLayout = /*#__PURE__*/function (_Component) {
|
|
50619
51083
|
inherits(SurgeryLayout, _Component);
|
|
50620
51084
|
|
|
50621
|
-
var _super = _createSuper$
|
|
51085
|
+
var _super = _createSuper$1h(SurgeryLayout);
|
|
50622
51086
|
|
|
50623
51087
|
function SurgeryLayout(props) {
|
|
50624
51088
|
var _this;
|
|
@@ -51304,7 +51768,7 @@ function ownKeys$B(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
51304
51768
|
|
|
51305
51769
|
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; }
|
|
51306
51770
|
|
|
51307
|
-
var __signature__$
|
|
51771
|
+
var __signature__$3b = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
51308
51772
|
return a;
|
|
51309
51773
|
};
|
|
51310
51774
|
|
|
@@ -51367,29 +51831,29 @@ var _default$16 = ConnectedSurgeryLayout;
|
|
|
51367
51831
|
leaveModule && leaveModule(module);
|
|
51368
51832
|
})();
|
|
51369
51833
|
|
|
51370
|
-
var css_248z$
|
|
51371
|
-
styleInject$1(css_248z$q);
|
|
51372
|
-
|
|
51373
|
-
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";
|
|
51834
|
+
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";
|
|
51374
51835
|
styleInject$1(css_248z$r);
|
|
51375
51836
|
|
|
51837
|
+
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";
|
|
51838
|
+
styleInject$1(css_248z$s);
|
|
51839
|
+
|
|
51376
51840
|
(function () {
|
|
51377
51841
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
51378
51842
|
enterModule && enterModule(module);
|
|
51379
51843
|
})();
|
|
51380
51844
|
|
|
51381
|
-
function _createSuper$
|
|
51845
|
+
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); }; }
|
|
51382
51846
|
|
|
51383
|
-
function _isNativeReflectConstruct$
|
|
51847
|
+
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; } }
|
|
51384
51848
|
|
|
51385
|
-
var __signature__$
|
|
51849
|
+
var __signature__$3c = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
51386
51850
|
return a;
|
|
51387
51851
|
};
|
|
51388
51852
|
|
|
51389
51853
|
var ThreeDLayout = /*#__PURE__*/function (_Component) {
|
|
51390
51854
|
inherits(ThreeDLayout, _Component);
|
|
51391
51855
|
|
|
51392
|
-
var _super = _createSuper$
|
|
51856
|
+
var _super = _createSuper$1i(ThreeDLayout);
|
|
51393
51857
|
|
|
51394
51858
|
function ThreeDLayout(props) {
|
|
51395
51859
|
var _this;
|
|
@@ -51826,7 +52290,7 @@ function ownKeys$C(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
51826
52290
|
|
|
51827
52291
|
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; }
|
|
51828
52292
|
|
|
51829
|
-
var __signature__$
|
|
52293
|
+
var __signature__$3d = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
51830
52294
|
return a;
|
|
51831
52295
|
};
|
|
51832
52296
|
|
|
@@ -51897,18 +52361,18 @@ function _unsupportedIterableToArray$e(o, minLen) { if (!o) return; if (typeof o
|
|
|
51897
52361
|
|
|
51898
52362
|
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; }
|
|
51899
52363
|
|
|
51900
|
-
function _createSuper$
|
|
52364
|
+
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); }; }
|
|
51901
52365
|
|
|
51902
|
-
function _isNativeReflectConstruct$
|
|
52366
|
+
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; } }
|
|
51903
52367
|
|
|
51904
|
-
var __signature__$
|
|
52368
|
+
var __signature__$3e = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
51905
52369
|
return a;
|
|
51906
52370
|
};
|
|
51907
52371
|
|
|
51908
52372
|
var ThreeDLayout$1 = /*#__PURE__*/function (_Component) {
|
|
51909
52373
|
inherits(ThreeDLayout, _Component);
|
|
51910
52374
|
|
|
51911
|
-
var _super = _createSuper$
|
|
52375
|
+
var _super = _createSuper$1j(ThreeDLayout);
|
|
51912
52376
|
|
|
51913
52377
|
function ThreeDLayout(props) {
|
|
51914
52378
|
var _this;
|
|
@@ -52205,7 +52669,7 @@ function ownKeys$D(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
52205
52669
|
|
|
52206
52670
|
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; }
|
|
52207
52671
|
|
|
52208
|
-
var __signature__$
|
|
52672
|
+
var __signature__$3f = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
52209
52673
|
return a;
|
|
52210
52674
|
};
|
|
52211
52675
|
|
|
@@ -52248,7 +52712,7 @@ var _default$18 = ConnectedVR;
|
|
|
52248
52712
|
enterModule && enterModule(module);
|
|
52249
52713
|
})();
|
|
52250
52714
|
|
|
52251
|
-
var __signature__$
|
|
52715
|
+
var __signature__$3g = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
52252
52716
|
return a;
|
|
52253
52717
|
};
|
|
52254
52718
|
|
|
@@ -52291,11 +52755,11 @@ function _unsupportedIterableToArray$f(o, minLen) { if (!o) return; if (typeof o
|
|
|
52291
52755
|
|
|
52292
52756
|
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; }
|
|
52293
52757
|
|
|
52294
|
-
function _createSuper$
|
|
52758
|
+
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); }; }
|
|
52295
52759
|
|
|
52296
|
-
function _isNativeReflectConstruct$
|
|
52760
|
+
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; } }
|
|
52297
52761
|
|
|
52298
|
-
var __signature__$
|
|
52762
|
+
var __signature__$3h = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
52299
52763
|
return a;
|
|
52300
52764
|
};
|
|
52301
52765
|
|
|
@@ -52345,7 +52809,7 @@ index$1.configure({
|
|
|
52345
52809
|
var DicomView = /*#__PURE__*/function (_Component) {
|
|
52346
52810
|
inherits(DicomView, _Component);
|
|
52347
52811
|
|
|
52348
|
-
var _super = _createSuper$
|
|
52812
|
+
var _super = _createSuper$1k(DicomView);
|
|
52349
52813
|
|
|
52350
52814
|
function DicomView(props) {
|
|
52351
52815
|
var _this;
|
|
@@ -52913,7 +53377,7 @@ function ownKeys$E(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
52913
53377
|
|
|
52914
53378
|
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; }
|
|
52915
53379
|
|
|
52916
|
-
var __signature__$
|
|
53380
|
+
var __signature__$3i = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
52917
53381
|
return a;
|
|
52918
53382
|
};
|
|
52919
53383
|
var scroll = _default$E.importInternal('util/scroll');
|
|
@@ -53162,18 +53626,20 @@ var mergeProps$j = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
53162
53626
|
return getElement(n);
|
|
53163
53627
|
});
|
|
53164
53628
|
lodash$1.forEach(layoutElements, function (ele) {
|
|
53165
|
-
|
|
53166
|
-
|
|
53167
|
-
|
|
53168
|
-
|
|
53169
|
-
|
|
53170
|
-
|
|
53171
|
-
|
|
53172
|
-
|
|
53173
|
-
|
|
53174
|
-
|
|
53175
|
-
|
|
53176
|
-
|
|
53629
|
+
if (ele) {
|
|
53630
|
+
lodash$1.forEach(LengthTools, function (tool) {
|
|
53631
|
+
var toolData = _default$E.getToolState(ele, tool);
|
|
53632
|
+
|
|
53633
|
+
if (toolData && toolData.data && toolData.data.length > 0) {
|
|
53634
|
+
lodash$1.forEach(toolData.data, function (handler) {
|
|
53635
|
+
if (handler && handler.active) {
|
|
53636
|
+
_default$E.removeToolState(ele, tool, handler);
|
|
53637
|
+
cornerstone.updateImage(ele);
|
|
53638
|
+
}
|
|
53639
|
+
});
|
|
53640
|
+
}
|
|
53641
|
+
});
|
|
53642
|
+
}
|
|
53177
53643
|
});
|
|
53178
53644
|
},
|
|
53179
53645
|
SCROLL_START: function SCROLL_START() {
|
|
@@ -53474,7 +53940,7 @@ var _default$19 = ConnectedDicomView;
|
|
|
53474
53940
|
enterModule && enterModule(module);
|
|
53475
53941
|
})();
|
|
53476
53942
|
|
|
53477
|
-
var __signature__$
|
|
53943
|
+
var __signature__$3j = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
53478
53944
|
return a;
|
|
53479
53945
|
};
|
|
53480
53946
|
var _default$1a = _default$19;
|