hellfire 0.26.2 → 0.26.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/index.js +68 -98
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.26.4](http://10.16.100.57/diffusion/115/paladin/compare/v0.26.3...v0.26.4) (2023-06-01)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.26.3](http://10.16.100.57/diffusion/115/paladin/compare/v0.26.2...v0.26.3) (2023-06-01)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [0.26.2](http://10.16.100.57/diffusion/115/paladin/compare/v0.26.1...v0.26.2) (2023-05-26)
|
|
6
14
|
|
|
7
15
|
|
package/dist/index.js
CHANGED
|
@@ -906,9 +906,10 @@ var SET_MIP_ACTIVE_TOOL = 'SET_MIP_ACTIVE_TOOL';
|
|
|
906
906
|
var SET_ACTION_STATE_KEY = 'SET_ACTION_STATE_KEY'; // ---------- Reducers ----------
|
|
907
907
|
|
|
908
908
|
var isMobile = ua.isDeviceTypeMobile();
|
|
909
|
+
var initActiveTool = isMobile ? 'StackScroll' : 'Wwwc';
|
|
909
910
|
var initialState$1 = {
|
|
910
|
-
activeTool:
|
|
911
|
-
originActiveTool:
|
|
911
|
+
activeTool: initActiveTool,
|
|
912
|
+
originActiveTool: initActiveTool,
|
|
912
913
|
mipActiveTool: 'MipWWWc',
|
|
913
914
|
// seriesMode序列模式 imageMode图像模式 allImageMode全部模式
|
|
914
915
|
mode: 'seriesMode',
|
|
@@ -43243,49 +43244,6 @@ const SvgPlay$1 = props => /*#__PURE__*/React__default.createElement("svg", _ext
|
|
|
43243
43244
|
fill: "currentColor"
|
|
43244
43245
|
}, props), _ref$1f);
|
|
43245
43246
|
|
|
43246
|
-
function _extends$1i() { _extends$1i = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1i.apply(this, arguments); }
|
|
43247
|
-
|
|
43248
|
-
var _ref$1g = /*#__PURE__*/React__default.createElement("path", {
|
|
43249
|
-
d: "M15.9 1c0-.886-.625-1.25-1.391-.817L2.074 7.214c-.768.434-.766 1.14 0 1.573l12.435 7.031c.768.434 1.391.069 1.391-.817z"
|
|
43250
|
-
});
|
|
43251
|
-
|
|
43252
|
-
var _ref2$f = /*#__PURE__*/React__default.createElement("rect", {
|
|
43253
|
-
"data-name": "\\u77E9\\u5F62 1551",
|
|
43254
|
-
width: 1.5,
|
|
43255
|
-
height: 16,
|
|
43256
|
-
rx: 0.75
|
|
43257
|
-
});
|
|
43258
|
-
|
|
43259
|
-
const SvgPrev = props => /*#__PURE__*/React__default.createElement("svg", _extends$1i({
|
|
43260
|
-
"data-name": "\\u7EC4 4439",
|
|
43261
|
-
width: 15.901,
|
|
43262
|
-
height: 16,
|
|
43263
|
-
viewBox: "0 0 15.901 16",
|
|
43264
|
-
fill: "currentColor"
|
|
43265
|
-
}, props), _ref$1g, _ref2$f);
|
|
43266
|
-
|
|
43267
|
-
function _extends$1j() { _extends$1j = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1j.apply(this, arguments); }
|
|
43268
|
-
|
|
43269
|
-
var _ref$1h = /*#__PURE__*/React__default.createElement("path", {
|
|
43270
|
-
d: "M0 1C0 .114.625-.25 1.391.183l12.435 7.031c.768.434.766 1.14 0 1.573L1.391 15.818C.623 16.252 0 15.887 0 15.001z"
|
|
43271
|
-
});
|
|
43272
|
-
|
|
43273
|
-
var _ref2$g = /*#__PURE__*/React__default.createElement("rect", {
|
|
43274
|
-
"data-name": "\\u77E9\\u5F62 1551",
|
|
43275
|
-
width: 1.5,
|
|
43276
|
-
height: 16,
|
|
43277
|
-
rx: 0.75,
|
|
43278
|
-
transform: "translate(16.201)"
|
|
43279
|
-
});
|
|
43280
|
-
|
|
43281
|
-
const SvgNext = props => /*#__PURE__*/React__default.createElement("svg", _extends$1j({
|
|
43282
|
-
"data-name": "\\u7EC4 4440",
|
|
43283
|
-
width: 17.701,
|
|
43284
|
-
height: 16,
|
|
43285
|
-
viewBox: "0 0 17.701 16",
|
|
43286
|
-
fill: "currentColor"
|
|
43287
|
-
}, props), _ref$1h, _ref2$g);
|
|
43288
|
-
|
|
43289
43247
|
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); }; }
|
|
43290
43248
|
|
|
43291
43249
|
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; } }
|
|
@@ -43357,9 +43315,9 @@ var MobileScrollAndCineTool = /*#__PURE__*/function (_Component) {
|
|
|
43357
43315
|
}, Cine ? /*#__PURE__*/React__default.createElement(SvgPause, null) : /*#__PURE__*/React__default.createElement(SvgPlay$1, null)), /*#__PURE__*/React__default.createElement("div", {
|
|
43358
43316
|
className: disabled ? 'paladin-mobile-cine-icon-disabled' : 'paladin-mobile-cine-icon',
|
|
43359
43317
|
onClick: function onClick() {
|
|
43360
|
-
onRowClick('
|
|
43318
|
+
onRowClick('prev');
|
|
43361
43319
|
}
|
|
43362
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
43320
|
+
}, /*#__PURE__*/React__default.createElement(SvgChevronLeft, null)), /*#__PURE__*/React__default.createElement("div", {
|
|
43363
43321
|
className: 'paladin-mobile-scroll-wrapper'
|
|
43364
43322
|
}, /*#__PURE__*/React__default.createElement(Rcslider, {
|
|
43365
43323
|
className: disabled ? 'paladin-slice-range-disable' : 'paladin-slice-range',
|
|
@@ -43373,9 +43331,9 @@ var MobileScrollAndCineTool = /*#__PURE__*/function (_Component) {
|
|
|
43373
43331
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
43374
43332
|
className: disabled ? 'paladin-mobile-cine-icon-disabled' : 'paladin-mobile-cine-icon',
|
|
43375
43333
|
onClick: function onClick() {
|
|
43376
|
-
onRowClick('
|
|
43334
|
+
onRowClick('next');
|
|
43377
43335
|
}
|
|
43378
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
43336
|
+
}, /*#__PURE__*/React__default.createElement(SvgChevronRight, null)), /*#__PURE__*/React__default.createElement("div", {
|
|
43379
43337
|
className: disabled ? 'paladin-mobile-cine-icon-disabled paladin-mobile-cine-fps' : 'paladin-mobile-cine-icon paladin-mobile-cine-fps'
|
|
43380
43338
|
}, /*#__PURE__*/React__default.createElement(PopperBox, {
|
|
43381
43339
|
popover: Fps,
|
|
@@ -43392,6 +43350,7 @@ var MobileScrollAndCineTool = /*#__PURE__*/function (_Component) {
|
|
|
43392
43350
|
function ownKeys$A(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
43393
43351
|
|
|
43394
43352
|
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; }
|
|
43353
|
+
var scrollToIndex$2 = cornerstoneTools.scrollToIndex;
|
|
43395
43354
|
|
|
43396
43355
|
var mapStateToProps$e = function mapStateToProps(state) {
|
|
43397
43356
|
var _state$paladin$viewpo = state.paladin.viewport,
|
|
@@ -43423,24 +43382,35 @@ var mergeProps$e = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
43423
43382
|
var activeElement = propsFromState.activeElement,
|
|
43424
43383
|
cineFps = propsFromState.cineFps,
|
|
43425
43384
|
Cine = propsFromState.Cine,
|
|
43426
|
-
cineDireaction = propsFromState.cineDireaction
|
|
43385
|
+
cineDireaction = propsFromState.cineDireaction,
|
|
43386
|
+
currentImageIndex = propsFromState.currentImageIndex,
|
|
43387
|
+
currentSeries = propsFromState.currentSeries;
|
|
43427
43388
|
var setCineFps = propsFromDispatch.setCineFps,
|
|
43428
43389
|
setCineDireaction = propsFromDispatch.setCineDireaction,
|
|
43429
43390
|
activeDicomFunction = propsFromDispatch.activeDicomFunction;
|
|
43391
|
+
var maxIndex = currentSeries && currentSeries.imageIds.length - 1;
|
|
43430
43392
|
return _objectSpread$B(_objectSpread$B(_objectSpread$B({}, ownProps), propsFromState), {}, {
|
|
43431
43393
|
onRowClick: function onRowClick(key) {
|
|
43432
43394
|
switch (key) {
|
|
43433
|
-
case '
|
|
43434
|
-
|
|
43435
|
-
|
|
43436
|
-
|
|
43395
|
+
case 'prev':
|
|
43396
|
+
var prevIndex = currentImageIndex - 1;
|
|
43397
|
+
|
|
43398
|
+
if (currentImageIndex === 0) {
|
|
43399
|
+
prevIndex = maxIndex;
|
|
43400
|
+
}
|
|
43401
|
+
|
|
43402
|
+
scrollToIndex$2(activeElement, prevIndex);
|
|
43437
43403
|
break;
|
|
43438
43404
|
|
|
43439
|
-
case '
|
|
43440
|
-
|
|
43441
|
-
|
|
43442
|
-
|
|
43443
|
-
|
|
43405
|
+
case 'next':
|
|
43406
|
+
// 下一张
|
|
43407
|
+
var nextIndex = currentImageIndex + 1;
|
|
43408
|
+
|
|
43409
|
+
if (currentImageIndex === maxIndex) {
|
|
43410
|
+
nextIndex = 0;
|
|
43411
|
+
}
|
|
43412
|
+
|
|
43413
|
+
scrollToIndex$2(activeElement, nextIndex);
|
|
43444
43414
|
break;
|
|
43445
43415
|
|
|
43446
43416
|
case 'forward':
|
|
@@ -43517,41 +43487,41 @@ var ConnectedMobileScrollAndCineTool = reactRedux.connect(mapStateToProps$e, {
|
|
|
43517
43487
|
var css_248z$o = ".paladin-mobile-mip-bottom {\n width: 100%;\n height: 57px;\n display: flex;\n flex-direction: row;\n background: #1D1D1D;\n}\n.paladin-mobile-mip-bottom .paladin-mobile-mip-icon {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n flex: none;\n width: 58px;\n height: 100%;\n position: relative;\n}\n.paladin-mobile-mip-bottom .paladin-mobile-mip-bottom-center {\n display: flex;\n flex-direction: column;\n flex: 1;\n justify-content: center;\n align-items: center;\n font-size: 12px;\n color: #EBEBEB;\n flex-flow: row;\n}\n.paladin-mobile-mip-bottom .paladin-mobile-mip-bottom-center span {\n display: inline-block;\n margin-right: 10px;\n}\n.paladin-mobile-mip-bottom .paladin-mobile-mip-bottom-center svg {\n width: 20px !important;\n height: 20px !important;\n}\n.paladin-mobile-mip-bottom .paladin-mobile-mip-angle-text {\n position: absolute;\n z-index: 99;\n font-size: 12px;\n font-weight: bold;\n color: #EBEBEB;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) scale(0.8);\n}\n.paladin-mobile-fps {\n width: 60px;\n background: #000;\n height: 55px;\n justify-content: center;\n align-items: center;\n}\n.paladin-mobile-fps .paladin-mobile-fps-item {\n height: 50%;\n}\n.paladin-mobile-fps .paladin-mobile-fps-item svg {\n height: 22px !important;\n}\n.paladin-mobile-angle-popover {\n background: #1D1D1D;\n}\n.paladin-mobile-angle-popover .paladin-mobile-angle-option {\n color: #EBEBEB;\n padding: 3px 20px;\n}\n";
|
|
43518
43488
|
styleInject$1(css_248z$o);
|
|
43519
43489
|
|
|
43520
|
-
function _extends$
|
|
43490
|
+
function _extends$1i() { _extends$1i = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1i.apply(this, arguments); }
|
|
43521
43491
|
|
|
43522
|
-
var _ref$
|
|
43492
|
+
var _ref$1g = /*#__PURE__*/React__default.createElement("path", {
|
|
43523
43493
|
"data-name": "\\u8054\\u5408 4",
|
|
43524
43494
|
d: "M10 14.154v-4.89l-8.841 5.66c-.64.41-1.159.065-1.159-.77V.943C0 .107.52-.237 1.159.172L10 5.832V.943c0-.836.521-1.18 1.159-.77L21.52 6.807a.814.814 0 010 1.484l-10.361 6.633a.963.963 0 01-.51.173c-.385.003-.649-.346-.649-.943z",
|
|
43525
43495
|
fill: "#c9c9c9",
|
|
43526
43496
|
opacity: 0.997
|
|
43527
43497
|
});
|
|
43528
43498
|
|
|
43529
|
-
const SvgAddFps = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
43499
|
+
const SvgAddFps = props => /*#__PURE__*/React__default.createElement("svg", _extends$1i({
|
|
43530
43500
|
width: 22,
|
|
43531
43501
|
height: 15.097,
|
|
43532
43502
|
viewBox: "0 0 22 15.097",
|
|
43533
43503
|
fill: "currentColor"
|
|
43534
|
-
}, props), _ref$
|
|
43504
|
+
}, props), _ref$1g);
|
|
43535
43505
|
|
|
43536
|
-
function _extends$
|
|
43506
|
+
function _extends$1j() { _extends$1j = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1j.apply(this, arguments); }
|
|
43537
43507
|
|
|
43538
|
-
var _ref$
|
|
43508
|
+
var _ref$1h = /*#__PURE__*/React__default.createElement("path", {
|
|
43539
43509
|
"data-name": "\\u8054\\u5408 4",
|
|
43540
43510
|
d: "M11.929 14.069V9.206l8.787 5.628c.636.408 1.152.065 1.152-.765V.937c0-.831-.517-1.172-1.152-.766l-8.787 5.626V.937c0-.831-.518-1.172-1.152-.766L.477 6.765a.809.809 0 000 1.475l10.299 6.594a.957.957 0 00.507.172c.385 0 .646-.344.646-.937z",
|
|
43541
43511
|
fill: "#c8c8c8",
|
|
43542
43512
|
opacity: 0.997
|
|
43543
43513
|
});
|
|
43544
43514
|
|
|
43545
|
-
const SvgMinusFps = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
43515
|
+
const SvgMinusFps = props => /*#__PURE__*/React__default.createElement("svg", _extends$1j({
|
|
43546
43516
|
width: 21.868,
|
|
43547
43517
|
height: 15.006,
|
|
43548
43518
|
viewBox: "0 0 21.868 15.006",
|
|
43549
43519
|
fill: "currentColor"
|
|
43550
|
-
}, props), _ref$
|
|
43520
|
+
}, props), _ref$1h);
|
|
43551
43521
|
|
|
43552
|
-
function _extends$
|
|
43522
|
+
function _extends$1k() { _extends$1k = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1k.apply(this, arguments); }
|
|
43553
43523
|
|
|
43554
|
-
var _ref$
|
|
43524
|
+
var _ref$1i = /*#__PURE__*/React__default.createElement("g", {
|
|
43555
43525
|
"data-name": "\\u7EC4 4486"
|
|
43556
43526
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
43557
43527
|
d: "M8.209 19.496a8.78 8.78 0 002.32.475l-.155 2.285a11.074 11.074 0 01-2.92-.6zm12.318-2.364L18.605 15.9a8.815 8.815 0 01-1.529 1.808l1.537 1.7a11.243 11.243 0 001.922-2.271zm-.629-4.7a8.769 8.769 0 01-.3 1.31l2.189.674a10.838 10.838 0 00.378-1.655l-2.271-.332zm-4.775 6.613a8.761 8.761 0 01-2.233.772l.453 2.247a11.16 11.16 0 002.816-.977zm-9.021-.624a8.971 8.971 0 01-1.751-1.592l-1.747 1.474a11.236 11.236 0 002.2 2l1.305-1.882zm5.04-18.423A11.147 11.147 0 001.01 15.783l2.081-.956A8.851 8.851 0 0116.48 4.091l-1.684 1.792 6.735 1.678-1.634-6.9-1.782 1.793a11.061 11.061 0 00-6.973-2.456zm0 0",
|
|
@@ -43573,16 +43543,16 @@ var _ref$1k = /*#__PURE__*/React__default.createElement("g", {
|
|
|
43573
43543
|
r: 0.75
|
|
43574
43544
|
})));
|
|
43575
43545
|
|
|
43576
|
-
const SvgAngle = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
43546
|
+
const SvgAngle = props => /*#__PURE__*/React__default.createElement("svg", _extends$1k({
|
|
43577
43547
|
width: 22.169,
|
|
43578
43548
|
height: 22.257,
|
|
43579
43549
|
viewBox: "0 0 22.169 22.257",
|
|
43580
43550
|
fill: "currentColor"
|
|
43581
|
-
}, props), _ref$
|
|
43551
|
+
}, props), _ref$1i);
|
|
43582
43552
|
|
|
43583
|
-
function _extends$
|
|
43553
|
+
function _extends$1l() { _extends$1l = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1l.apply(this, arguments); }
|
|
43584
43554
|
|
|
43585
|
-
var _ref$
|
|
43555
|
+
var _ref$1j = /*#__PURE__*/React__default.createElement("g", {
|
|
43586
43556
|
"data-name": "\\u7EC4 4494"
|
|
43587
43557
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
43588
43558
|
"data-name": "\\u7EC4 4492"
|
|
@@ -43604,16 +43574,16 @@ var _ref$1l = /*#__PURE__*/React__default.createElement("g", {
|
|
|
43604
43574
|
fill: "#c8c8c8"
|
|
43605
43575
|
}));
|
|
43606
43576
|
|
|
43607
|
-
const SvgVerticalRotate = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
43577
|
+
const SvgVerticalRotate = props => /*#__PURE__*/React__default.createElement("svg", _extends$1l({
|
|
43608
43578
|
width: 24.567,
|
|
43609
43579
|
height: 25.027,
|
|
43610
43580
|
viewBox: "0 0 24.567 25.027",
|
|
43611
43581
|
fill: "currentColor"
|
|
43612
|
-
}, props), _ref$
|
|
43582
|
+
}, props), _ref$1j);
|
|
43613
43583
|
|
|
43614
|
-
function _extends$
|
|
43584
|
+
function _extends$1m() { _extends$1m = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1m.apply(this, arguments); }
|
|
43615
43585
|
|
|
43616
|
-
var _ref$
|
|
43586
|
+
var _ref$1k = /*#__PURE__*/React__default.createElement("g", {
|
|
43617
43587
|
"data-name": "\\u7EC4 4495"
|
|
43618
43588
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
43619
43589
|
"data-name": "\\u7EC4 4493"
|
|
@@ -43633,12 +43603,12 @@ var _ref$1m = /*#__PURE__*/React__default.createElement("g", {
|
|
|
43633
43603
|
fill: "#c8c8c8"
|
|
43634
43604
|
})));
|
|
43635
43605
|
|
|
43636
|
-
const SvgHozRotate = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
43606
|
+
const SvgHozRotate = props => /*#__PURE__*/React__default.createElement("svg", _extends$1m({
|
|
43637
43607
|
width: 22.659,
|
|
43638
43608
|
height: 26.472,
|
|
43639
43609
|
viewBox: "0 0 22.659 26.472",
|
|
43640
43610
|
fill: "currentColor"
|
|
43641
|
-
}, props), _ref$
|
|
43611
|
+
}, props), _ref$1k);
|
|
43642
43612
|
|
|
43643
43613
|
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); }; }
|
|
43644
43614
|
|
|
@@ -43995,8 +43965,8 @@ var DicomToolMobileThreeModeBottom = /*#__PURE__*/function (_Component) {
|
|
|
43995
43965
|
}
|
|
43996
43966
|
});
|
|
43997
43967
|
|
|
43998
|
-
var phoneToolsFixed = ["
|
|
43999
|
-
var phoneTools = ["Rotate", "Length", "Reset", "Tool", "MPR", "VR", "MIP", "Settings"];
|
|
43968
|
+
var phoneToolsFixed = ["StackScroll", "Wwwc", "Zoom"];
|
|
43969
|
+
var phoneTools = ["Pan", "Rotate", "Length", "Reset", "Tool", "MPR", "VR", "MIP", "Settings"];
|
|
44000
43970
|
|
|
44001
43971
|
if (MPR) {
|
|
44002
43972
|
phoneTools = ["Rotate", "Length", "Reset", "Tool"];
|
|
@@ -44006,7 +43976,7 @@ var DicomToolMobileThreeModeBottom = /*#__PURE__*/function (_Component) {
|
|
|
44006
43976
|
phoneTools = ["MprSwitchPerspective", "Rotate", "Length", "Reset", "Tool"];
|
|
44007
43977
|
}
|
|
44008
43978
|
|
|
44009
|
-
var fixWidth = 58 *
|
|
43979
|
+
var fixWidth = 58 * phoneToolsFixed.length + 2;
|
|
44010
43980
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
44011
43981
|
className: "paladin-full-height paladin-mobile-tool-mode"
|
|
44012
43982
|
}, !scrollHidden && /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -45159,7 +45129,7 @@ function _arrayLikeToArray$b(arr, len) { if (len == null || len > arr.length) le
|
|
|
45159
45129
|
function ownKeys$F(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
45160
45130
|
|
|
45161
45131
|
function _objectSpread$G(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$F(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$F(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
45162
|
-
var scrollToIndex$
|
|
45132
|
+
var scrollToIndex$3 = cornerstoneTools.scrollToIndex;
|
|
45163
45133
|
|
|
45164
45134
|
var mapStateToProps$h = function mapStateToProps(state) {
|
|
45165
45135
|
var _state$paladin$tools$ = state.paladin.tools.customization,
|
|
@@ -45443,7 +45413,7 @@ var mergeProps$h = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
45443
45413
|
prevIndex = maxIndex;
|
|
45444
45414
|
}
|
|
45445
45415
|
|
|
45446
|
-
scrollToIndex$
|
|
45416
|
+
scrollToIndex$3(activeElement, prevIndex);
|
|
45447
45417
|
},
|
|
45448
45418
|
nextImage: function nextImage() {
|
|
45449
45419
|
// 下一张
|
|
@@ -45467,7 +45437,7 @@ var mergeProps$h = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
45467
45437
|
nextIndex = 0;
|
|
45468
45438
|
}
|
|
45469
45439
|
|
|
45470
|
-
scrollToIndex$
|
|
45440
|
+
scrollToIndex$3(activeElement, nextIndex);
|
|
45471
45441
|
},
|
|
45472
45442
|
// 切换模式
|
|
45473
45443
|
// key: 1.SeriesMode返回序列模式 2.ImageMode进入图像模式
|
|
@@ -45644,7 +45614,7 @@ var mergeProps$h = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
45644
45614
|
case 34:
|
|
45645
45615
|
if (links && links.length > 0) {
|
|
45646
45616
|
lodash$1.forEach(links, function (link) {
|
|
45647
|
-
scrollToIndex$
|
|
45617
|
+
scrollToIndex$3(getElement(link), _currentImageIdIndex);
|
|
45648
45618
|
});
|
|
45649
45619
|
}
|
|
45650
45620
|
|
|
@@ -46344,18 +46314,18 @@ var ConnectedDicomTool = reactRedux.connect(mapStateToProps$h, {
|
|
|
46344
46314
|
var css_248z$p = ".paladin-thumb-content {\n position: relative;\n height: 66px;\n width: 66px;\n border-width: 1px;\n border-style: solid;\n cursor: pointer;\n}\n.paladin-thumb-content .paladin-thumb-bottom {\n white-space: nowrap;\n position: absolute;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n color: #faa80a;\n text-align: center;\n font-size: 14px;\n z-index: 2;\n}\n.paladin-thumb-content .paladin-thumb-bottom-mobile {\n font-size: 10px;\n}\n.paladin-thumb-content .paladin-thumb-mask {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n}\n.paladin-thumb-content .paladin-thumb-process {\n position: absolute;\n z-index: 1;\n top: 0;\n height: 4px;\n width: 100%;\n background: #ffffff;\n overflow: hidden;\n}\n.paladin-thumb-content .paladin-thumb-process .paladin-thumb-process-inner {\n background: #faa80a;\n height: 100%;\n}\n.mobile-thumb {\n width: 50px;\n height: 50px;\n}\n.paladin-thumb-svg {\n cursor: pointer;\n justify-content: center;\n}\n.paladin-thumb-svg svg {\n fill: #fff;\n}\n.paladin-thumb-svg:hover {\n background-color: #616772;\n}\n.paladin-thumb-button {\n cursor: pointer;\n justify-content: center;\n padding: 0 15px;\n}\n.paladin-thumb-button svg {\n fill: #fff;\n}\n.paladin-thumb-button:hover {\n background-color: #616772;\n}\n.paladin-thumb-button svg {\n width: 11px !important;\n}\n.paladin-fresh-button {\n cursor: pointer;\n justify-content: center;\n padding: 0 25px;\n}\n.paladin-fresh-button svg {\n fill: #fff;\n}\n.paladin-fresh-button:hover {\n background-color: #616772;\n}\n.paladin-fresh-button svg {\n width: 15px !important;\n}\n.paladin-thumb-study {\n cursor: pointer;\n font-size: 14px;\n line-height: 40px;\n padding: 0 12px;\n color: #ffffff;\n}\n.paladin-thumb-viewport {\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n}\n.paladin-thumb-viewport h4,\n.paladin-thumb-viewport p {\n font-size: 10px;\n}\n.paladin-thumb-study-wrapper {\n border-bottom: 1px solid #727882;\n}\n.paladin-thumb-context-wrapper {\n padding: 4px 2px;\n}\n";
|
|
46345
46315
|
styleInject$1(css_248z$p);
|
|
46346
46316
|
|
|
46347
|
-
function _extends$
|
|
46317
|
+
function _extends$1n() { _extends$1n = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1n.apply(this, arguments); }
|
|
46348
46318
|
|
|
46349
|
-
var _ref$
|
|
46319
|
+
var _ref$1l = /*#__PURE__*/React__default.createElement("path", {
|
|
46350
46320
|
d: "M3658.026 10.064c5.915-.329 11.359 2.241 14.432 6.357l-5.498 2.292 14.488 7.78 4.678-15.768-5.437 2.266c-4.491-7.516-13.347-12.235-23.194-11.634-12.153.737-22.056 9.888-23.034 21.285l8.693.746c.612-7.121 7.003-12.847 14.872-13.324zM3661.635 45.864c-6.105.345-11.715-2.402-14.729-6.753l4.887-2.037-13.401-7.196-4.324 14.584 4.657-1.941c4.157 7.321 12.398 12.102 21.752 12.102.558 0 1.121-.017 1.687-.051 12.151-.737 22.054-9.888 23.032-21.285l-8.691-.746c-.615 7.12-7.005 12.846-14.87 13.323z"
|
|
46351
46321
|
});
|
|
46352
46322
|
|
|
46353
|
-
const SvgRefresh$1 = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
46323
|
+
const SvgRefresh$1 = props => /*#__PURE__*/React__default.createElement("svg", _extends$1n({
|
|
46354
46324
|
width: 60,
|
|
46355
46325
|
height: 56,
|
|
46356
46326
|
viewBox: "3630 0 60 56",
|
|
46357
46327
|
fill: "currentColor"
|
|
46358
|
-
}, props), _ref$
|
|
46328
|
+
}, props), _ref$1l);
|
|
46359
46329
|
|
|
46360
46330
|
var css_248z$q = ".loadingIndicator {\n position: absolute;\n top: 0;\n background: black;\n opacity: 1;\n width: 100%;\n height: 100%;\n text-align: center;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.loadingIndicator .lds-ring {\n color: #999;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n width: 40px;\n height: 40px;\n margin: auto;\n}\n.loadingIndicator .lds-ring div {\n box-sizing: border-box;\n display: block;\n position: absolute;\n width: 40px;\n height: 40px;\n border: 4px solid silver;\n border-radius: 50%;\n animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n border-color: silver transparent transparent transparent;\n}\n.loadingIndicator .lds-ring div:nth-child(1) {\n animation-delay: -0.45s;\n}\n.loadingIndicator .lds-ring div:nth-child(2) {\n animation-delay: -0.3s;\n}\n.loadingIndicator .lds-ring div:nth-child(3) {\n animation-delay: -0.15s;\n}\n@keyframes lds-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.loadingIndicator .loadingIndicator-retry {\n width: 40px;\n color: #999;\n margin: 0 auto;\n font-size: 14px;\n}\n.loadingIndicator .indicatorContents h4 {\n font-size: 18px;\n margin: 0 auto 10px 0;\n}\n.loadingIndicator .indicatorContents h5 {\n font-size: 16px;\n margin: 0 auto 10px 0;\n}\n.loadingIndicator .indicatorContents p {\n margin: 4px auto;\n color: #999;\n font-size: 14px;\n}\n.loadingIndicator .indicatorContents .loadingIndicator-retry {\n width: 40px;\n margin: 20px auto 0 auto;\n}\n.loadingIndicator .indicatorContents-mini h4 {\n color: #fff;\n font-size: 12px;\n margin: 5px 0 5px 0;\n}\n.loadingIndicator .indicatorContents-mini .loadingIndicator-retry {\n width: 20px;\n font-size: 12px;\n}\n";
|
|
46361
46331
|
styleInject$1(css_248z$q);
|
|
@@ -47295,31 +47265,31 @@ defineProperty(ViewportOverlay, "propTypes", {
|
|
|
47295
47265
|
var css_248z$s = ".paladin-custom-scroll {\n cursor: pointer;\n background: #333333;\n position: relative;\n border-color: #727882;\n border-style: solid;\n border-width: 0;\n box-sizing: border-box;\n}\n.paladin-custom-scroll .paladin-custom-scroll-controller {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.paladin-custom-scroll .paladin-custom-scroll-controller .paladin-custom-scroll-box {\n position: absolute;\n top: 0;\n left: 0;\n height: 16px;\n width: 16px;\n background: rgba(91, 91, 91, 0.8);\n}\n.paladin-custom-scroll .paladin-custom-scroll-ctrl-up {\n width: 16px;\n height: 20px;\n background: #5b5b5b;\n position: absolute;\n top: 0;\n}\n.paladin-custom-scroll .paladin-custom-scroll-ctrl-up svg {\n color: #ccc;\n}\n.paladin-custom-scroll .paladin-custom-scroll-ctrl-down {\n width: 16px;\n height: 20px;\n background: #5b5b5b;\n position: absolute;\n bottom: 0;\n}\n.paladin-custom-scroll .paladin-custom-scroll-ctrl-down svg {\n color: #ccc;\n}\n";
|
|
47296
47266
|
styleInject$1(css_248z$s);
|
|
47297
47267
|
|
|
47298
|
-
function _extends$
|
|
47268
|
+
function _extends$1o() { _extends$1o = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1o.apply(this, arguments); }
|
|
47299
47269
|
|
|
47300
|
-
var _ref$
|
|
47270
|
+
var _ref$1m = /*#__PURE__*/React__default.createElement("path", {
|
|
47301
47271
|
d: "M30.054 23.768l-2.964 2.946q-.339.339-.804.339t-.804-.339L16 17.232l-9.482 9.482q-.339.339-.804.339t-.804-.339l-2.964-2.946q-.339-.339-.339-.813t.339-.813L15.196 8.91q.339-.339.804-.339t.804.339l13.25 13.232q.339.339.339.813t-.339.813z"
|
|
47302
47272
|
});
|
|
47303
47273
|
|
|
47304
|
-
const SvgChevronUp = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
47274
|
+
const SvgChevronUp = props => /*#__PURE__*/React__default.createElement("svg", _extends$1o({
|
|
47305
47275
|
width: 32,
|
|
47306
47276
|
height: 32,
|
|
47307
47277
|
viewBox: "0 0 32 32",
|
|
47308
47278
|
fill: "currentColor"
|
|
47309
|
-
}, props), _ref$
|
|
47279
|
+
}, props), _ref$1m);
|
|
47310
47280
|
|
|
47311
|
-
function _extends$
|
|
47281
|
+
function _extends$1p() { _extends$1p = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1p.apply(this, arguments); }
|
|
47312
47282
|
|
|
47313
|
-
var _ref$
|
|
47283
|
+
var _ref$1n = /*#__PURE__*/React__default.createElement("path", {
|
|
47314
47284
|
d: "M30.054 14.429l-13.25 13.232Q16.465 28 16 28t-.804-.339L1.946 14.429q-.339-.339-.339-.813t.339-.813L4.91 9.857q.339-.339.804-.339t.804.339L16 19.339l9.482-9.482q.339-.339.804-.339t.804.339l2.964 2.946q.339.339.339.813t-.339.813z"
|
|
47315
47285
|
});
|
|
47316
47286
|
|
|
47317
|
-
const SvgChevronDown = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
47287
|
+
const SvgChevronDown = props => /*#__PURE__*/React__default.createElement("svg", _extends$1p({
|
|
47318
47288
|
width: 32,
|
|
47319
47289
|
height: 32,
|
|
47320
47290
|
viewBox: "0 0 32 32",
|
|
47321
47291
|
fill: "currentColor"
|
|
47322
|
-
}, props), _ref$
|
|
47292
|
+
}, props), _ref$1n);
|
|
47323
47293
|
|
|
47324
47294
|
var css_248z$t = ".paladin-aiTips-wrapper {\n width: 100%;\n height: 100%;\n}\n.paladin-aiTips-content {\n width: 1px;\n height: 100%;\n background: #ffff00;\n position: absolute;\n top: 0;\n}\n";
|
|
47325
47295
|
styleInject$1(css_248z$t);
|