hellfire 0.33.1 → 0.33.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/index.js +528 -119
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30920,6 +30920,55 @@ var SET_FILM_ACTIVE_INDEX = 'FILM/SET_FILM_ACTIVE_INDEX';
|
|
|
30920
30920
|
var CLEAR_FILMS = 'FILM/CLEAR_FILMS';
|
|
30921
30921
|
var SET_FILM_RELATIVE_INDEX = 'FILM/SET_FILM_RELATIVE_INDEX';
|
|
30922
30922
|
var SET_FILM_RELATIVE_INDEX_MULTI = 'FILM/SET_FILM_RELATIVE_INDEX_MULTI';
|
|
30923
|
+
var SET_FILM_OVERLAY_CONFIG = 'FILM/SET_FILM_OVERLAY_CONFIG'; // 从localStorage加载overlayConfig
|
|
30924
|
+
|
|
30925
|
+
var loadOverlayConfigFromLocalStorage = function loadOverlayConfigFromLocalStorage() {
|
|
30926
|
+
try {
|
|
30927
|
+
var savedConfig = localStorage.getItem('hellfire-film-overlay-config');
|
|
30928
|
+
|
|
30929
|
+
if (savedConfig) {
|
|
30930
|
+
return JSON.parse(savedConfig);
|
|
30931
|
+
}
|
|
30932
|
+
} catch (error) {
|
|
30933
|
+
console.error('Failed to load overlay config from localStorage:', error);
|
|
30934
|
+
}
|
|
30935
|
+
|
|
30936
|
+
return {
|
|
30937
|
+
topLeft: {
|
|
30938
|
+
patientName: true,
|
|
30939
|
+
patientSexAge: true,
|
|
30940
|
+
patientID: true,
|
|
30941
|
+
bodyPartExamined: true,
|
|
30942
|
+
lateralityViewPosition: true
|
|
30943
|
+
},
|
|
30944
|
+
bottomLeft: {
|
|
30945
|
+
dxDrCrInfo: true,
|
|
30946
|
+
patientOrientation: true,
|
|
30947
|
+
trTe: true,
|
|
30948
|
+
ti: true,
|
|
30949
|
+
fa: true,
|
|
30950
|
+
thk: true,
|
|
30951
|
+
bValue: true,
|
|
30952
|
+
seriesDescription: true
|
|
30953
|
+
},
|
|
30954
|
+
topRight: {
|
|
30955
|
+
institutionName: true,
|
|
30956
|
+
studyDateTime: true,
|
|
30957
|
+
seriesNumber: true,
|
|
30958
|
+
instanceNumber: true,
|
|
30959
|
+
inPlanePhaseEncodingDirection: true
|
|
30960
|
+
},
|
|
30961
|
+
bottomRight: {
|
|
30962
|
+
windowWidth: true,
|
|
30963
|
+
windowCenter: true,
|
|
30964
|
+
zoom: true,
|
|
30965
|
+
fov: true,
|
|
30966
|
+
mat: true,
|
|
30967
|
+
sliceLocation: true
|
|
30968
|
+
}
|
|
30969
|
+
};
|
|
30970
|
+
};
|
|
30971
|
+
|
|
30923
30972
|
var initialState$4 = {
|
|
30924
30973
|
// 胶片添加模式 image or series
|
|
30925
30974
|
filmAddType: 'series',
|
|
@@ -30935,6 +30984,7 @@ var initialState$4 = {
|
|
|
30935
30984
|
filmActiveIndex: -1,
|
|
30936
30985
|
filmRelativeIndexes: [],
|
|
30937
30986
|
filmPrinterSettings: [],
|
|
30987
|
+
filmOverlayConfig: loadOverlayConfigFromLocalStorage(),
|
|
30938
30988
|
// 胶片区激活态的工具
|
|
30939
30989
|
filmActiveTool: 'Select',
|
|
30940
30990
|
filmSynchronizer: filmSynchronizer
|
|
@@ -31090,6 +31140,13 @@ var film = (function () {
|
|
|
31090
31140
|
});
|
|
31091
31141
|
}
|
|
31092
31142
|
|
|
31143
|
+
case SET_FILM_OVERLAY_CONFIG:
|
|
31144
|
+
{
|
|
31145
|
+
return _objectSpread$d(_objectSpread$d({}, state), {}, {
|
|
31146
|
+
filmOverlayConfig: action.payload
|
|
31147
|
+
});
|
|
31148
|
+
}
|
|
31149
|
+
|
|
31093
31150
|
case SET_FILM_ACTIVE_INDEX:
|
|
31094
31151
|
{
|
|
31095
31152
|
var _action$payload2 = action.payload,
|
|
@@ -31195,6 +31252,12 @@ function clearFilms() {
|
|
|
31195
31252
|
type: CLEAR_FILMS
|
|
31196
31253
|
};
|
|
31197
31254
|
}
|
|
31255
|
+
function setFilmOverlayConfig(config) {
|
|
31256
|
+
return {
|
|
31257
|
+
type: SET_FILM_OVERLAY_CONFIG,
|
|
31258
|
+
payload: config
|
|
31259
|
+
};
|
|
31260
|
+
}
|
|
31198
31261
|
|
|
31199
31262
|
function ownKeys$e(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
31200
31263
|
|
|
@@ -96951,7 +97014,8 @@ var FilmToolVerticalMode = /*#__PURE__*/function (_Component) {
|
|
|
96951
97014
|
filmSizeType = _this$props.filmSizeType,
|
|
96952
97015
|
toolsMap = _this$props.toolsMap,
|
|
96953
97016
|
onSelectOrientation = _this$props.onSelectOrientation,
|
|
96954
|
-
filmOrientation = _this$props.filmOrientation
|
|
97017
|
+
filmOrientation = _this$props.filmOrientation,
|
|
97018
|
+
openPrintInfoConfigModal = _this$props.openPrintInfoConfigModal;
|
|
96955
97019
|
var viewportTools = ['Select', 'Wwwc', 'Zoom', 'Pan', 'Reset', 'Clear'];
|
|
96956
97020
|
|
|
96957
97021
|
var MenuElement = function MenuElement(_props) {
|
|
@@ -97043,6 +97107,12 @@ var FilmToolVerticalMode = /*#__PURE__*/function (_Component) {
|
|
|
97043
97107
|
},
|
|
97044
97108
|
onClick: handlePrintConfig
|
|
97045
97109
|
}, /*#__PURE__*/React__default.createElement(SvgPrintSetting, null), "\u6253\u5370\u673A\u8BBE\u7F6E"), /*#__PURE__*/React__default.createElement("div", {
|
|
97110
|
+
className: 'film-full-button',
|
|
97111
|
+
style: {
|
|
97112
|
+
marginTop: '10px'
|
|
97113
|
+
},
|
|
97114
|
+
onClick: openPrintInfoConfigModal
|
|
97115
|
+
}, /*#__PURE__*/React__default.createElement(SvgCog, null), "\u56FE\u50CF\u4FE1\u606F\u8BBE\u7F6E"), /*#__PURE__*/React__default.createElement("div", {
|
|
97046
97116
|
className: 'film-full-button',
|
|
97047
97117
|
style: {
|
|
97048
97118
|
marginTop: '10px'
|
|
@@ -97337,14 +97407,249 @@ var FilmPrintModal = /*#__PURE__*/function (_Component) {
|
|
|
97337
97407
|
return FilmPrintModal;
|
|
97338
97408
|
}(React.Component);
|
|
97339
97409
|
|
|
97410
|
+
var css_248z$N = ".film-overlay-config-modal {\n padding: 20px;\n}\n.film-overlay-config-modal .config-header {\n margin-bottom: 20px;\n}\n.film-overlay-config-modal .config-header .paladin-btn {\n background: #007bff;\n border-color: #007bff;\n color: #fff;\n}\n.film-overlay-config-modal .film-simulation {\n background: #1a1a1a;\n border-radius: 12px;\n padding: 20px;\n margin-bottom: 20px;\n border: 2px solid #333;\n position: relative;\n min-height: 600px;\n}\n.film-overlay-config-modal .film-simulation .film-corner {\n position: absolute;\n background: rgba(51, 51, 51, 0.9);\n border: 1px solid #555;\n border-radius: 6px;\n padding: 12px;\n min-width: 180px;\n transition: all 0.3s ease;\n}\n.film-overlay-config-modal .film-simulation .film-corner.top-left {\n top: 20px;\n left: 20px;\n}\n.film-overlay-config-modal .film-simulation .film-corner.top-right {\n top: 20px;\n right: 20px;\n}\n.film-overlay-config-modal .film-simulation .film-corner.bottom-left {\n bottom: 20px;\n left: 20px;\n}\n.film-overlay-config-modal .film-simulation .film-corner.bottom-right {\n bottom: 20px;\n right: 20px;\n}\n.film-overlay-config-modal .film-simulation .film-corner h4 {\n color: #007bff;\n font-size: 12px;\n margin: 0 0 10px 0;\n text-transform: uppercase;\n letter-spacing: 1px;\n font-weight: bold;\n}\n.film-overlay-config-modal .film-simulation .film-corner .corner-items {\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n.film-overlay-config-modal .film-simulation .film-corner .corner-items .config-item {\n background: rgba(68, 68, 68, 0.8);\n border: 1px solid #666;\n border-radius: 4px;\n padding: 6px 10px;\n cursor: pointer;\n transition: all 0.2s ease;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 12px;\n}\n.film-overlay-config-modal .film-simulation .film-corner .corner-items .config-item:hover {\n background: rgba(85, 85, 85, 0.9);\n border-color: #888;\n transform: translateY(-1px);\n}\n.film-overlay-config-modal .film-simulation .film-corner .corner-items .config-item.visible {\n background: rgba(0, 86, 179, 0.8);\n border-color: #007bff;\n}\n.film-overlay-config-modal .film-simulation .film-corner .corner-items .config-item.visible:hover {\n background: rgba(0, 123, 255, 0.9);\n border-color: #0096ff;\n transform: translateY(-1px);\n}\n.film-overlay-config-modal .film-simulation .film-corner .corner-items .config-item.hidden {\n background: rgba(85, 85, 85, 0.8);\n border-color: #777;\n}\n.film-overlay-config-modal .film-simulation .film-corner .corner-items .config-item.hidden:hover {\n background: rgba(102, 102, 102, 0.9);\n border-color: #999;\n}\n.film-overlay-config-modal .film-simulation .film-corner .corner-items .config-item .item-name {\n color: #fff;\n font-weight: 500;\n}\n.film-overlay-config-modal .film-simulation .film-corner .corner-items .config-item .item-status {\n font-size: 11px;\n opacity: 0.8;\n}\n.film-overlay-config-modal .film-simulation .film-title {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: #666;\n font-size: 16px;\n font-weight: bold;\n text-align: center;\n pointer-events: none;\n text-transform: uppercase;\n letter-spacing: 3px;\n}\n.film-overlay-config-modal .config-actions {\n display: flex;\n justify-content: center;\n gap: 15px;\n}\n.film-overlay-config-modal .config-actions .ant-btn {\n min-width: 120px;\n height: 36px;\n font-size: 14px;\n}\n@media (max-width: 768px) {\n .film-overlay-config-modal .film-simulation {\n min-height: 200px;\n padding: 15px;\n }\n .film-overlay-config-modal .film-simulation .film-corner {\n position: static;\n margin-bottom: 15px;\n min-width: auto;\n }\n .film-overlay-config-modal .film-simulation .film-corner.top-left,\n .film-overlay-config-modal .film-simulation .film-corner.top-right,\n .film-overlay-config-modal .film-simulation .film-corner.bottom-left,\n .film-overlay-config-modal .film-simulation .film-corner.bottom-right {\n position: static;\n margin-bottom: 10px;\n }\n .film-overlay-config-modal .film-simulation .film-title {\n display: none;\n }\n .film-overlay-config-modal .config-list {\n grid-template-columns: 1fr;\n }\n}\n";
|
|
97411
|
+
styleInject$1(css_248z$N);
|
|
97412
|
+
|
|
97340
97413
|
function _createSuper$1T(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1U(); 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); }; }
|
|
97341
97414
|
|
|
97342
97415
|
function _isNativeReflectConstruct$1U() { 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; } }
|
|
97343
97416
|
|
|
97417
|
+
var FilmOverlayConfigModal = /*#__PURE__*/function (_Component) {
|
|
97418
|
+
inherits(FilmOverlayConfigModal, _Component);
|
|
97419
|
+
|
|
97420
|
+
var _super = _createSuper$1T(FilmOverlayConfigModal);
|
|
97421
|
+
|
|
97422
|
+
function FilmOverlayConfigModal(props) {
|
|
97423
|
+
var _this;
|
|
97424
|
+
|
|
97425
|
+
classCallCheck(this, FilmOverlayConfigModal);
|
|
97426
|
+
|
|
97427
|
+
_this = _super.call(this, props);
|
|
97428
|
+
|
|
97429
|
+
defineProperty(assertThisInitialized(_this), "getDefaultConfig", function () {
|
|
97430
|
+
return {
|
|
97431
|
+
topLeft: {
|
|
97432
|
+
patientName: true,
|
|
97433
|
+
patientSexAge: true,
|
|
97434
|
+
patientID: true,
|
|
97435
|
+
bodyPartExamined: true,
|
|
97436
|
+
lateralityViewPosition: true
|
|
97437
|
+
},
|
|
97438
|
+
bottomLeft: {
|
|
97439
|
+
dxDrCrInfo: true,
|
|
97440
|
+
patientOrientation: true,
|
|
97441
|
+
trTe: true,
|
|
97442
|
+
ti: true,
|
|
97443
|
+
fa: true,
|
|
97444
|
+
thk: true,
|
|
97445
|
+
bValue: true,
|
|
97446
|
+
seriesDescription: true
|
|
97447
|
+
},
|
|
97448
|
+
topRight: {
|
|
97449
|
+
institutionName: true,
|
|
97450
|
+
studyDateTime: true,
|
|
97451
|
+
seriesNumber: true,
|
|
97452
|
+
instanceNumber: true,
|
|
97453
|
+
inPlanePhaseEncodingDirection: true
|
|
97454
|
+
},
|
|
97455
|
+
bottomRight: {
|
|
97456
|
+
windowWidth: true,
|
|
97457
|
+
windowCenter: true,
|
|
97458
|
+
zoom: true,
|
|
97459
|
+
fov: true,
|
|
97460
|
+
mat: true,
|
|
97461
|
+
sliceLocation: true
|
|
97462
|
+
}
|
|
97463
|
+
};
|
|
97464
|
+
});
|
|
97465
|
+
|
|
97466
|
+
defineProperty(assertThisInitialized(_this), "toggleCornerItem", function (corner, item) {
|
|
97467
|
+
var newConfig = lodash$1.cloneDeep(_this.state.config);
|
|
97468
|
+
newConfig[corner][item] = !newConfig[corner][item];
|
|
97469
|
+
|
|
97470
|
+
_this.setState({
|
|
97471
|
+
config: newConfig
|
|
97472
|
+
});
|
|
97473
|
+
});
|
|
97474
|
+
|
|
97475
|
+
defineProperty(assertThisInitialized(_this), "applyConfig", function () {
|
|
97476
|
+
var setFilmOverlayConfig = _this.props.setFilmOverlayConfig;
|
|
97477
|
+
var config = _this.state.config; // 保存到Redux
|
|
97478
|
+
|
|
97479
|
+
setFilmOverlayConfig(config); // 保存到localStorage
|
|
97480
|
+
|
|
97481
|
+
localStorage.setItem('hellfire-film-overlay-config', JSON.stringify(config)); // 关闭模态框
|
|
97482
|
+
|
|
97483
|
+
_this.props.onClose();
|
|
97484
|
+
});
|
|
97485
|
+
|
|
97486
|
+
defineProperty(assertThisInitialized(_this), "resetToDefault", function () {
|
|
97487
|
+
var defaultConfig = _this.getDefaultConfig();
|
|
97488
|
+
|
|
97489
|
+
_this.setState({
|
|
97490
|
+
config: defaultConfig
|
|
97491
|
+
});
|
|
97492
|
+
});
|
|
97493
|
+
|
|
97494
|
+
defineProperty(assertThisInitialized(_this), "getCornerConfig", function (corner, items) {
|
|
97495
|
+
var config = _this.state.config;
|
|
97496
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
97497
|
+
className: "corner-items"
|
|
97498
|
+
}, items.map(function (item) {
|
|
97499
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
97500
|
+
key: item.id,
|
|
97501
|
+
className: "config-item ".concat(config[corner][item.id] ? 'visible' : 'hidden'),
|
|
97502
|
+
onClick: function onClick() {
|
|
97503
|
+
return _this.toggleCornerItem(corner, item.id);
|
|
97504
|
+
}
|
|
97505
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
|
97506
|
+
className: "item-name"
|
|
97507
|
+
}, item.name), /*#__PURE__*/React__default.createElement("span", {
|
|
97508
|
+
className: "item-status"
|
|
97509
|
+
}, config[corner][item.id] ? '显示' : '隐藏'));
|
|
97510
|
+
}));
|
|
97511
|
+
});
|
|
97512
|
+
|
|
97513
|
+
_this.state = {
|
|
97514
|
+
config: lodash$1.cloneDeep(props.filmOverlayConfig || _this.getDefaultConfig())
|
|
97515
|
+
};
|
|
97516
|
+
return _this;
|
|
97517
|
+
}
|
|
97518
|
+
|
|
97519
|
+
createClass(FilmOverlayConfigModal, [{
|
|
97520
|
+
key: "render",
|
|
97521
|
+
value: function render() {
|
|
97522
|
+
var visible = this.props.visible;
|
|
97523
|
+
|
|
97524
|
+
if (!visible) {
|
|
97525
|
+
return null;
|
|
97526
|
+
}
|
|
97527
|
+
|
|
97528
|
+
var topLeftItems = [{
|
|
97529
|
+
id: 'patientName',
|
|
97530
|
+
name: '患者姓名'
|
|
97531
|
+
}, {
|
|
97532
|
+
id: 'patientSexAge',
|
|
97533
|
+
name: '性别/年龄'
|
|
97534
|
+
}, {
|
|
97535
|
+
id: 'patientID',
|
|
97536
|
+
name: '患者ID'
|
|
97537
|
+
}, {
|
|
97538
|
+
id: 'bodyPartExamined',
|
|
97539
|
+
name: '检查部位'
|
|
97540
|
+
}, {
|
|
97541
|
+
id: 'lateralityViewPosition',
|
|
97542
|
+
name: '体位'
|
|
97543
|
+
}];
|
|
97544
|
+
var bottomLeftItems = [{
|
|
97545
|
+
id: 'dxDrCrInfo',
|
|
97546
|
+
name: '曝光参数'
|
|
97547
|
+
}, {
|
|
97548
|
+
id: 'patientOrientation',
|
|
97549
|
+
name: '患者方向'
|
|
97550
|
+
}, {
|
|
97551
|
+
id: 'trTe',
|
|
97552
|
+
name: 'TR/TE'
|
|
97553
|
+
}, {
|
|
97554
|
+
id: 'ti',
|
|
97555
|
+
name: 'TI'
|
|
97556
|
+
}, {
|
|
97557
|
+
id: 'fa',
|
|
97558
|
+
name: 'FA'
|
|
97559
|
+
}, {
|
|
97560
|
+
id: 'thk',
|
|
97561
|
+
name: '层厚'
|
|
97562
|
+
}, {
|
|
97563
|
+
id: 'bValue',
|
|
97564
|
+
name: 'B值'
|
|
97565
|
+
}, {
|
|
97566
|
+
id: 'seriesDescription',
|
|
97567
|
+
name: '序列描述'
|
|
97568
|
+
}];
|
|
97569
|
+
var topRightItems = [{
|
|
97570
|
+
id: 'institutionName',
|
|
97571
|
+
name: '医院名称'
|
|
97572
|
+
}, {
|
|
97573
|
+
id: 'studyDateTime',
|
|
97574
|
+
name: '检查时间'
|
|
97575
|
+
}, {
|
|
97576
|
+
id: 'seriesNumber',
|
|
97577
|
+
name: 'SeriesNumber'
|
|
97578
|
+
}, {
|
|
97579
|
+
id: 'instanceNumber',
|
|
97580
|
+
name: 'InstanceNumber'
|
|
97581
|
+
}, {
|
|
97582
|
+
id: 'inPlanePhaseEncodingDirection',
|
|
97583
|
+
name: '相位编码方向'
|
|
97584
|
+
}];
|
|
97585
|
+
var bottomRightItems = [{
|
|
97586
|
+
id: 'windowWidth',
|
|
97587
|
+
name: '窗宽'
|
|
97588
|
+
}, {
|
|
97589
|
+
id: 'windowCenter',
|
|
97590
|
+
name: '窗位'
|
|
97591
|
+
}, {
|
|
97592
|
+
id: 'zoom',
|
|
97593
|
+
name: '缩放倍率'
|
|
97594
|
+
}, {
|
|
97595
|
+
id: 'fov',
|
|
97596
|
+
name: 'FOV'
|
|
97597
|
+
}, {
|
|
97598
|
+
id: 'mat',
|
|
97599
|
+
name: 'MAT'
|
|
97600
|
+
}, {
|
|
97601
|
+
id: 'sliceLocation',
|
|
97602
|
+
name: '切片位置'
|
|
97603
|
+
}];
|
|
97604
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
97605
|
+
className: "film-overlay-config-modal"
|
|
97606
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
97607
|
+
className: "config-header"
|
|
97608
|
+
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
97609
|
+
type: "default",
|
|
97610
|
+
onClick: this.resetToDefault
|
|
97611
|
+
}, "\u91CD\u7F6E\u9ED8\u8BA4")), /*#__PURE__*/React__default.createElement("div", {
|
|
97612
|
+
className: "film-simulation"
|
|
97613
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
97614
|
+
className: "film-corner top-left"
|
|
97615
|
+
}, /*#__PURE__*/React__default.createElement("h4", null, "\u5DE6\u4E0A\u89D2"), this.getCornerConfig('topLeft', topLeftItems)), /*#__PURE__*/React__default.createElement("div", {
|
|
97616
|
+
className: "film-corner top-right"
|
|
97617
|
+
}, /*#__PURE__*/React__default.createElement("h4", null, "\u53F3\u4E0A\u89D2"), this.getCornerConfig('topRight', topRightItems)), /*#__PURE__*/React__default.createElement("div", {
|
|
97618
|
+
className: "film-corner bottom-left"
|
|
97619
|
+
}, /*#__PURE__*/React__default.createElement("h4", null, "\u5DE6\u4E0B\u89D2"), this.getCornerConfig('bottomLeft', bottomLeftItems)), /*#__PURE__*/React__default.createElement("div", {
|
|
97620
|
+
className: "film-corner bottom-right"
|
|
97621
|
+
}, /*#__PURE__*/React__default.createElement("h4", null, "\u53F3\u4E0B\u89D2"), this.getCornerConfig('bottomRight', bottomRightItems)), /*#__PURE__*/React__default.createElement("div", {
|
|
97622
|
+
className: "film-title"
|
|
97623
|
+
}, "\u56FE\u50CF\u9884\u89C8")), /*#__PURE__*/React__default.createElement("div", {
|
|
97624
|
+
className: "config-actions"
|
|
97625
|
+
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
97626
|
+
type: "primary",
|
|
97627
|
+
onClick: this.applyConfig
|
|
97628
|
+
}, "\u5E94\u7528\u914D\u7F6E")));
|
|
97629
|
+
}
|
|
97630
|
+
}]);
|
|
97631
|
+
|
|
97632
|
+
return FilmOverlayConfigModal;
|
|
97633
|
+
}(React.Component);
|
|
97634
|
+
|
|
97635
|
+
var mapStateToProps$B = function mapStateToProps(state) {
|
|
97636
|
+
return {
|
|
97637
|
+
filmOverlayConfig: state.paladin.tools.film.filmOverlayConfig
|
|
97638
|
+
};
|
|
97639
|
+
};
|
|
97640
|
+
|
|
97641
|
+
var FilmOverlayConfigModal$1 = reactRedux.connect(mapStateToProps$B, {
|
|
97642
|
+
setFilmOverlayConfig: setFilmOverlayConfig
|
|
97643
|
+
})(FilmOverlayConfigModal);
|
|
97644
|
+
|
|
97645
|
+
function _createSuper$1U(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1V(); 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); }; }
|
|
97646
|
+
|
|
97647
|
+
function _isNativeReflectConstruct$1V() { 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; } }
|
|
97648
|
+
|
|
97344
97649
|
var FilmTool = /*#__PURE__*/function (_Component) {
|
|
97345
97650
|
inherits(FilmTool, _Component);
|
|
97346
97651
|
|
|
97347
|
-
var _super = _createSuper$
|
|
97652
|
+
var _super = _createSuper$1U(FilmTool);
|
|
97348
97653
|
|
|
97349
97654
|
function FilmTool(props) {
|
|
97350
97655
|
var _this;
|
|
@@ -97353,7 +97658,8 @@ var FilmTool = /*#__PURE__*/function (_Component) {
|
|
|
97353
97658
|
|
|
97354
97659
|
_this = _super.call(this, props);
|
|
97355
97660
|
_this.state = {
|
|
97356
|
-
visible: false
|
|
97661
|
+
visible: false,
|
|
97662
|
+
printInfoVisible: false
|
|
97357
97663
|
};
|
|
97358
97664
|
_this.toolsMap = {
|
|
97359
97665
|
Select: {
|
|
@@ -97421,7 +97727,9 @@ var FilmTool = /*#__PURE__*/function (_Component) {
|
|
|
97421
97727
|
operateFilmPrinterSetting = _this$props.operateFilmPrinterSetting,
|
|
97422
97728
|
filmPrinterMethods = _this$props.filmPrinterMethods,
|
|
97423
97729
|
filmPrinterSettings = _this$props.filmPrinterSettings;
|
|
97424
|
-
var
|
|
97730
|
+
var _this$state = this.state,
|
|
97731
|
+
visible = _this$state.visible,
|
|
97732
|
+
printInfoVisible = _this$state.printInfoVisible;
|
|
97425
97733
|
var ToolLayout = FilmToolVerticalMode; // if (windowLayoutType) {
|
|
97426
97734
|
// // 竖屏
|
|
97427
97735
|
// if (windowLayoutType === 'vertical') ToolLayout = FilmToolHorizontalMode;
|
|
@@ -97438,6 +97746,11 @@ var FilmTool = /*#__PURE__*/function (_Component) {
|
|
|
97438
97746
|
_this2.setState({
|
|
97439
97747
|
visible: true
|
|
97440
97748
|
});
|
|
97749
|
+
},
|
|
97750
|
+
openPrintInfoConfigModal: function openPrintInfoConfigModal() {
|
|
97751
|
+
_this2.setState({
|
|
97752
|
+
printInfoVisible: true
|
|
97753
|
+
});
|
|
97441
97754
|
}
|
|
97442
97755
|
})), /*#__PURE__*/React__default.createElement(Modal, {
|
|
97443
97756
|
title: "\u6253\u5370\u673A\u8BBE\u7F6E",
|
|
@@ -97473,6 +97786,33 @@ var FilmTool = /*#__PURE__*/function (_Component) {
|
|
|
97473
97786
|
testFilmPrinterEcho: function testFilmPrinterEcho(data) {
|
|
97474
97787
|
filmPrinterMethods && filmPrinterMethods('echo', data);
|
|
97475
97788
|
}
|
|
97789
|
+
})), /*#__PURE__*/React__default.createElement(Modal, {
|
|
97790
|
+
title: "\u56FE\u50CF\u4FE1\u606F\u8BBE\u7F6E",
|
|
97791
|
+
wrapperClassName: 'paladin-film-print-modal-wrapper',
|
|
97792
|
+
maskClosable: false,
|
|
97793
|
+
cancelButtonProps: {
|
|
97794
|
+
show: false
|
|
97795
|
+
},
|
|
97796
|
+
footer: null,
|
|
97797
|
+
style: {
|
|
97798
|
+
width: '800px',
|
|
97799
|
+
background: '#2A2A2B',
|
|
97800
|
+
color: '#fff',
|
|
97801
|
+
fontSize: '15px'
|
|
97802
|
+
},
|
|
97803
|
+
visible: printInfoVisible,
|
|
97804
|
+
onCancel: function onCancel() {
|
|
97805
|
+
_this2.setState({
|
|
97806
|
+
printInfoVisible: false
|
|
97807
|
+
});
|
|
97808
|
+
}
|
|
97809
|
+
}, /*#__PURE__*/React__default.createElement(FilmOverlayConfigModal$1, {
|
|
97810
|
+
visible: printInfoVisible,
|
|
97811
|
+
onClose: function onClose() {
|
|
97812
|
+
_this2.setState({
|
|
97813
|
+
printInfoVisible: false
|
|
97814
|
+
});
|
|
97815
|
+
}
|
|
97476
97816
|
})));
|
|
97477
97817
|
}
|
|
97478
97818
|
}]);
|
|
@@ -98003,7 +98343,7 @@ var getEmptyImageBitmap = function getEmptyImageBitmap(width, height) {
|
|
|
98003
98343
|
|
|
98004
98344
|
var addDicomInfoOnCanvas = /*#__PURE__*/function () {
|
|
98005
98345
|
var _ref4 = asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4(enableElement) {
|
|
98006
|
-
var canvas, image, viewport, ctx, dicom, width, height, stackImageInfo;
|
|
98346
|
+
var canvas, image, viewport, ctx, dicom, width, height, stackImageInfo, filmOverlayConfigLocalData, filmOverlayConfig;
|
|
98007
98347
|
return regenerator.wrap(function _callee4$(_context4) {
|
|
98008
98348
|
while (1) {
|
|
98009
98349
|
switch (_context4.prev = _context4.next) {
|
|
@@ -98032,14 +98372,16 @@ var addDicomInfoOnCanvas = /*#__PURE__*/function () {
|
|
|
98032
98372
|
ctx.setTransform(1, 0, 0, 1, 0, 0);
|
|
98033
98373
|
ctx.textAlign = 'left';
|
|
98034
98374
|
ctx.font = dicomInfoFontSize + 'px Arial';
|
|
98035
|
-
|
|
98036
|
-
|
|
98375
|
+
filmOverlayConfigLocalData = localStorage.getItem('hellfire-film-overlay-config');
|
|
98376
|
+
filmOverlayConfig = JSON.parse(filmOverlayConfigLocalData);
|
|
98377
|
+
drawLeftTop(dicom, ctx, filmOverlayConfig.topLeft);
|
|
98378
|
+
drawLeftBottom(dicom, ctx, filmOverlayConfig.bottomLeft, height);
|
|
98037
98379
|
ctx.textAlign = 'right';
|
|
98038
|
-
drawRightTop(dicom, ctx, width, stackImageInfo);
|
|
98039
|
-
drawRightBottom(dicom, ctx, width, height, viewport, image);
|
|
98380
|
+
drawRightTop(dicom, ctx, filmOverlayConfig.topRight, width, stackImageInfo);
|
|
98381
|
+
drawRightBottom(dicom, ctx, filmOverlayConfig.bottomRight, width, height, viewport, image);
|
|
98040
98382
|
ctx.textAlign = 'left';
|
|
98041
98383
|
|
|
98042
|
-
case
|
|
98384
|
+
case 23:
|
|
98043
98385
|
case "end":
|
|
98044
98386
|
return _context4.stop();
|
|
98045
98387
|
}
|
|
@@ -98053,7 +98395,7 @@ var addDicomInfoOnCanvas = /*#__PURE__*/function () {
|
|
|
98053
98395
|
}(); // 左上
|
|
98054
98396
|
|
|
98055
98397
|
|
|
98056
|
-
var drawLeftTop = function drawLeftTop(dicom, ctx) {
|
|
98398
|
+
var drawLeftTop = function drawLeftTop(dicom, ctx, filmOverlayConfig) {
|
|
98057
98399
|
var patientName = dicom.PatientName.toString();
|
|
98058
98400
|
var patientSex = dicom.PatientSex.toString();
|
|
98059
98401
|
var patientAge = dicom.PatientAge.toString();
|
|
@@ -98064,38 +98406,46 @@ var drawLeftTop = function drawLeftTop(dicom, ctx) {
|
|
|
98064
98406
|
var contentX = dicomInfoPaddingX;
|
|
98065
98407
|
var contentY = dicomInfoPaddingY;
|
|
98066
98408
|
var spacing = dicomInfoSpacing;
|
|
98067
|
-
ctx.fillText("".concat(patientName || ''), contentX, contentY);
|
|
98068
|
-
contentY += spacing;
|
|
98069
|
-
ctx.fillText("".concat(patientSex || '', "/").concat(patientAge || ''), contentX, contentY);
|
|
98070
|
-
contentY += spacing;
|
|
98071
98409
|
|
|
98072
|
-
if (
|
|
98410
|
+
if (filmOverlayConfig.patientName) {
|
|
98411
|
+
ctx.fillText("".concat(patientName || ''), contentX, contentY);
|
|
98412
|
+
contentY += spacing;
|
|
98413
|
+
}
|
|
98414
|
+
|
|
98415
|
+
if (filmOverlayConfig.patientSexAge) {
|
|
98416
|
+
ctx.fillText("".concat(patientSex || '', "/").concat(patientAge || ''), contentX, contentY);
|
|
98417
|
+
contentY += spacing;
|
|
98418
|
+
}
|
|
98419
|
+
|
|
98420
|
+
if (filmOverlayConfig.patientID && patientID) {
|
|
98073
98421
|
ctx.fillText(patientID, contentX, contentY);
|
|
98074
98422
|
contentY += spacing;
|
|
98075
98423
|
}
|
|
98076
98424
|
|
|
98077
|
-
if (bodyPartExamined) {
|
|
98425
|
+
if (filmOverlayConfig.bodyPartExamined && bodyPartExamined) {
|
|
98078
98426
|
ctx.fillText(bodyPartExamined, contentX, contentY);
|
|
98079
98427
|
contentY += spacing;
|
|
98080
98428
|
}
|
|
98081
98429
|
|
|
98082
|
-
if (
|
|
98083
|
-
|
|
98430
|
+
if (filmOverlayConfig.lateralityViewPosition) {
|
|
98431
|
+
if (laterality || viewPosition) {
|
|
98432
|
+
var _text = '';
|
|
98084
98433
|
|
|
98085
|
-
|
|
98086
|
-
|
|
98087
|
-
|
|
98088
|
-
|
|
98089
|
-
|
|
98090
|
-
|
|
98091
|
-
|
|
98434
|
+
if (laterality && viewPosition) {
|
|
98435
|
+
_text = "".concat(laterality, " ").concat(viewPosition);
|
|
98436
|
+
} else if (laterality) {
|
|
98437
|
+
_text = laterality;
|
|
98438
|
+
} else {
|
|
98439
|
+
_text = viewPosition;
|
|
98440
|
+
}
|
|
98092
98441
|
|
|
98093
|
-
|
|
98442
|
+
ctx.fillText(_text, contentX, contentY);
|
|
98443
|
+
}
|
|
98094
98444
|
}
|
|
98095
98445
|
}; // 左下
|
|
98096
98446
|
|
|
98097
98447
|
|
|
98098
|
-
var drawLeftBottom = function drawLeftBottom(dicom, ctx, height) {
|
|
98448
|
+
var drawLeftBottom = function drawLeftBottom(dicom, ctx, filmOverlayConfig, height) {
|
|
98099
98449
|
var modality = dicom.Modality.toString();
|
|
98100
98450
|
var showDXDRCR = modality === 'DX' || modality === 'DR' || modality === 'CR';
|
|
98101
98451
|
var showCT = modality === 'CT';
|
|
@@ -98122,24 +98472,28 @@ var drawLeftBottom = function drawLeftBottom(dicom, ctx, height) {
|
|
|
98122
98472
|
var contentY = height - dicomInfoPaddingX;
|
|
98123
98473
|
var spacing = dicomInfoSpacing;
|
|
98124
98474
|
|
|
98125
|
-
if (seriesDescription
|
|
98126
|
-
|
|
98127
|
-
|
|
98475
|
+
if (filmOverlayConfig.seriesDescription) {
|
|
98476
|
+
if (seriesDescription && seriesDescription !== protocolName) {
|
|
98477
|
+
ctx.fillText(seriesDescription, contentX, contentY);
|
|
98478
|
+
contentY -= spacing;
|
|
98479
|
+
}
|
|
98128
98480
|
}
|
|
98129
98481
|
|
|
98130
|
-
|
|
98482
|
+
if (filmOverlayConfig.bValue) {
|
|
98483
|
+
var _diffusionBValue = formatDicomInfo$1('B', diffusionBValue, false);
|
|
98131
98484
|
|
|
98132
|
-
|
|
98133
|
-
|
|
98134
|
-
|
|
98485
|
+
if (_diffusionBValue) {
|
|
98486
|
+
ctx.fillText(_diffusionBValue, contentX, contentY);
|
|
98487
|
+
contentY -= spacing;
|
|
98488
|
+
}
|
|
98135
98489
|
}
|
|
98136
98490
|
|
|
98137
|
-
if (thk) {
|
|
98491
|
+
if (filmOverlayConfig.thk && thk) {
|
|
98138
98492
|
ctx.fillText(thk, contentX, contentY);
|
|
98139
98493
|
contentY -= spacing;
|
|
98140
98494
|
}
|
|
98141
98495
|
|
|
98142
|
-
if (showCT) {
|
|
98496
|
+
if (filmOverlayConfig.dxDrCrInfo && showCT) {
|
|
98143
98497
|
if (kvp) {
|
|
98144
98498
|
ctx.fillText(formatDRDXInfo$1('kV', kvp), contentX, contentY);
|
|
98145
98499
|
contentY -= spacing;
|
|
@@ -98153,31 +98507,31 @@ var drawLeftBottom = function drawLeftBottom(dicom, ctx, height) {
|
|
|
98153
98507
|
|
|
98154
98508
|
var _flipAngle = formatDicomInfo$1('FA', flipAngle);
|
|
98155
98509
|
|
|
98156
|
-
if (_flipAngle) {
|
|
98510
|
+
if (filmOverlayConfig.fa && _flipAngle) {
|
|
98157
98511
|
ctx.fillText(_flipAngle, contentX, contentY);
|
|
98158
98512
|
contentY -= spacing;
|
|
98159
98513
|
}
|
|
98160
98514
|
|
|
98161
98515
|
var _inversionTime = formatDicomInfo$1('TI', inversionTime);
|
|
98162
98516
|
|
|
98163
|
-
if (_inversionTime) {
|
|
98517
|
+
if (filmOverlayConfig.ti && _inversionTime) {
|
|
98164
98518
|
ctx.fillText(_inversionTime, contentX, contentY);
|
|
98165
98519
|
contentY -= spacing;
|
|
98166
98520
|
}
|
|
98167
98521
|
|
|
98168
98522
|
var trAndTe = getTRAndTE$1(repetitionTime, echoTime);
|
|
98169
98523
|
|
|
98170
|
-
if (trAndTe) {
|
|
98524
|
+
if (filmOverlayConfig.trTe && trAndTe) {
|
|
98171
98525
|
ctx.fillText(trAndTe, contentX, contentY);
|
|
98172
98526
|
contentY -= spacing;
|
|
98173
98527
|
}
|
|
98174
98528
|
|
|
98175
|
-
if (patientOrientation) {
|
|
98529
|
+
if (filmOverlayConfig.patientOrientation && patientOrientation) {
|
|
98176
98530
|
ctx.fillText(patientOrientation, contentX, contentY);
|
|
98177
98531
|
contentY -= spacing;
|
|
98178
98532
|
}
|
|
98179
98533
|
|
|
98180
|
-
if (showDXDRCR) {
|
|
98534
|
+
if (filmOverlayConfig.dxDrCrInfo && showDXDRCR) {
|
|
98181
98535
|
if (kvp) {
|
|
98182
98536
|
ctx.fillText(formatDRDXInfo$1('kV', kvp), contentX, contentY);
|
|
98183
98537
|
contentY -= spacing;
|
|
@@ -98200,7 +98554,7 @@ var drawLeftBottom = function drawLeftBottom(dicom, ctx, height) {
|
|
|
98200
98554
|
}; // 右上
|
|
98201
98555
|
|
|
98202
98556
|
|
|
98203
|
-
var drawRightTop = function drawRightTop(dicom, ctx, width, stack) {
|
|
98557
|
+
var drawRightTop = function drawRightTop(dicom, ctx, filmOverlayConfig, width, stack) {
|
|
98204
98558
|
var institutionName = dicom.InstitutionName.toString();
|
|
98205
98559
|
var studyDateTime = getStudyDateTime$1(dicom);
|
|
98206
98560
|
var instanceCount = stack.instanceCount || '';
|
|
@@ -98212,32 +98566,37 @@ var drawRightTop = function drawRightTop(dicom, ctx, width, stack) {
|
|
|
98212
98566
|
var contentY = dicomInfoPaddingY;
|
|
98213
98567
|
var spacing = dicomInfoSpacing;
|
|
98214
98568
|
|
|
98215
|
-
if (institutionName) {
|
|
98569
|
+
if (filmOverlayConfig.institutionName && institutionName) {
|
|
98216
98570
|
ctx.fillText(institutionName, contentX, contentY);
|
|
98217
98571
|
contentY += spacing;
|
|
98218
98572
|
}
|
|
98219
98573
|
|
|
98220
|
-
if (studyDateTime) {
|
|
98574
|
+
if (filmOverlayConfig.studyDateTime && studyDateTime) {
|
|
98221
98575
|
var _v = studyDateTime.format('YYYY-MM-DD HH:mm:ss');
|
|
98222
98576
|
|
|
98223
98577
|
ctx.fillText(_v, contentX, contentY);
|
|
98224
98578
|
contentY += spacing;
|
|
98225
98579
|
}
|
|
98226
98580
|
|
|
98227
|
-
|
|
98228
|
-
|
|
98229
|
-
|
|
98230
|
-
|
|
98581
|
+
if (filmOverlayConfig.seriesNumber) {
|
|
98582
|
+
ctx.fillText("Se: ".concat(seriesNumber, "/").concat(seriesCount), contentX, contentY);
|
|
98583
|
+
contentY += spacing;
|
|
98584
|
+
}
|
|
98585
|
+
|
|
98586
|
+
if (filmOverlayConfig.instanceNumber) {
|
|
98587
|
+
ctx.fillText("Im: ".concat(instanceNumber, "/").concat(instanceCount), contentX, contentY);
|
|
98588
|
+
contentY += spacing;
|
|
98589
|
+
}
|
|
98231
98590
|
|
|
98232
98591
|
var _inPlanePhaseEncodingDirection = formatInPlanePhaseEncodingDirection$1(inPlanePhaseEncodingDirection);
|
|
98233
98592
|
|
|
98234
|
-
if (_inPlanePhaseEncodingDirection) {
|
|
98593
|
+
if (filmOverlayConfig.inPlanePhaseEncodingDirection && _inPlanePhaseEncodingDirection) {
|
|
98235
98594
|
ctx.fillText(_inPlanePhaseEncodingDirection, contentX, contentY);
|
|
98236
98595
|
}
|
|
98237
98596
|
}; // 右下
|
|
98238
98597
|
|
|
98239
98598
|
|
|
98240
|
-
var drawRightBottom = function drawRightBottom(dicom, ctx, width, height, viewport, image) {
|
|
98599
|
+
var drawRightBottom = function drawRightBottom(dicom, ctx, filmOverlayConfig, width, height, viewport, image) {
|
|
98241
98600
|
var zoom = viewport.scale.toFixed(2);
|
|
98242
98601
|
var windowWidth = parseFloat(viewport.voi.windowWidth) || 0;
|
|
98243
98602
|
var windowCenter = parseFloat(viewport.voi.windowCenter) || 0;
|
|
@@ -98247,30 +98606,38 @@ var drawRightBottom = function drawRightBottom(dicom, ctx, width, height, viewpo
|
|
|
98247
98606
|
var contentY = height - dicomInfoPaddingX;
|
|
98248
98607
|
var spacing = dicomInfoSpacing;
|
|
98249
98608
|
|
|
98250
|
-
if (sliceLocation || sliceLocation === 0) {
|
|
98609
|
+
if (filmOverlayConfig.sliceLocation && (sliceLocation || sliceLocation === 0)) {
|
|
98251
98610
|
ctx.fillText("Location: ".concat(sliceLocation), contentX, contentY);
|
|
98252
98611
|
contentY -= spacing;
|
|
98253
98612
|
}
|
|
98254
98613
|
|
|
98255
98614
|
var mat = getMat$1(acquisitionMatrix);
|
|
98256
98615
|
|
|
98257
|
-
if (mat) {
|
|
98616
|
+
if (filmOverlayConfig.mat && mat) {
|
|
98258
98617
|
ctx.fillText(mat, contentX, contentY);
|
|
98259
98618
|
contentY -= spacing;
|
|
98260
98619
|
}
|
|
98261
98620
|
|
|
98262
98621
|
var fov = getFovV2(dicom, image);
|
|
98263
98622
|
|
|
98264
|
-
if (fov) {
|
|
98623
|
+
if (filmOverlayConfig.fov && fov) {
|
|
98265
98624
|
ctx.fillText(fov, contentX, contentY);
|
|
98266
98625
|
contentY -= spacing;
|
|
98267
98626
|
}
|
|
98268
98627
|
|
|
98269
|
-
|
|
98270
|
-
|
|
98271
|
-
|
|
98272
|
-
|
|
98273
|
-
|
|
98628
|
+
if (filmOverlayConfig.zoom) {
|
|
98629
|
+
ctx.fillText("".concat(zoom, "X"), contentX, contentY);
|
|
98630
|
+
contentY -= spacing;
|
|
98631
|
+
}
|
|
98632
|
+
|
|
98633
|
+
if (filmOverlayConfig.windowCenter) {
|
|
98634
|
+
ctx.fillText("C: ".concat(windowCenter.toFixed(0)), contentX, contentY);
|
|
98635
|
+
contentY -= spacing;
|
|
98636
|
+
}
|
|
98637
|
+
|
|
98638
|
+
if (filmOverlayConfig.windowWidth) {
|
|
98639
|
+
ctx.fillText("W: ".concat(windowWidth.toFixed(0)), contentX, contentY);
|
|
98640
|
+
}
|
|
98274
98641
|
};
|
|
98275
98642
|
|
|
98276
98643
|
function _extends$1G() { _extends$1G = 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$1G.apply(this, arguments); }
|
|
@@ -98291,14 +98658,14 @@ function ownKeys$1b(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
98291
98658
|
|
|
98292
98659
|
function _objectSpread$1a(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1b(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
98293
98660
|
|
|
98294
|
-
function _createSuper$
|
|
98661
|
+
function _createSuper$1V(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1W(); 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); }; }
|
|
98295
98662
|
|
|
98296
|
-
function _isNativeReflectConstruct$
|
|
98663
|
+
function _isNativeReflectConstruct$1W() { 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; } }
|
|
98297
98664
|
|
|
98298
98665
|
var FilmPrintModal$1 = /*#__PURE__*/function (_Component) {
|
|
98299
98666
|
inherits(FilmPrintModal, _Component);
|
|
98300
98667
|
|
|
98301
|
-
var _super = _createSuper$
|
|
98668
|
+
var _super = _createSuper$1V(FilmPrintModal);
|
|
98302
98669
|
|
|
98303
98670
|
function FilmPrintModal(props) {
|
|
98304
98671
|
var _this;
|
|
@@ -98606,7 +98973,7 @@ function ownKeys$1c(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
98606
98973
|
|
|
98607
98974
|
function _objectSpread$1b(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1c(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1c(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
98608
98975
|
|
|
98609
|
-
var mapStateToProps$
|
|
98976
|
+
var mapStateToProps$C = function mapStateToProps(state) {
|
|
98610
98977
|
var _state$paladin$tools$ = state.paladin.tools.film,
|
|
98611
98978
|
films = _state$paladin$tools$.films,
|
|
98612
98979
|
filmSizeType = _state$paladin$tools$.filmSizeType,
|
|
@@ -98947,7 +99314,7 @@ var mergeProps$A = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
98947
99314
|
});
|
|
98948
99315
|
};
|
|
98949
99316
|
|
|
98950
|
-
var ConnectedFilmTool = reactRedux.connect(mapStateToProps$
|
|
99317
|
+
var ConnectedFilmTool = reactRedux.connect(mapStateToProps$C, {
|
|
98951
99318
|
setFilmLayout: setFilmLayout,
|
|
98952
99319
|
setFilmSizeType: setFilmSizeType,
|
|
98953
99320
|
activeDicomFunction: activeDicomFunction,
|
|
@@ -98956,15 +99323,15 @@ var ConnectedFilmTool = reactRedux.connect(mapStateToProps$B, {
|
|
|
98956
99323
|
setFilmOrientation: setFilmOrientation
|
|
98957
99324
|
}, mergeProps$A)(FilmTool);
|
|
98958
99325
|
|
|
98959
|
-
var css_248z$
|
|
98960
|
-
styleInject$1(css_248z$N);
|
|
98961
|
-
|
|
98962
|
-
var css_248z$O = ".paladin-film-viewport-wrapper {\n width: 100%;\n height: 100%;\n color: #fff;\n}\n.cornerstone-canvas-container {\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n position: relative;\n}\n";
|
|
99326
|
+
var css_248z$O = ".paladin-film-view-wrapper {\n width: 100%;\n height: 100%;\n text-align: center;\n position: relative;\n}\n.paladin-film-view-wrapper .paladin-film-slide-ctrl {\n height: 40px;\n width: 100%;\n margin: 20px auto 0 auto;\n color: #d2d2d2;\n background: #353535;\n display: flex;\n align-items: center;\n position: relative;\n}\n.paladin-film-view-wrapper .paladin-film-slide-ctrl svg {\n width: 18px;\n height: 18px;\n}\n.paladin-film-view-wrapper .paladin-film-slide-ctrl div {\n display: flex;\n flex: none;\n margin-left: 15px;\n}\n.paladin-film-view-wrapper .paladin-film-slide-ctrl .paladin-film-slide-ctrl-delete {\n margin-left: 0;\n position: absolute;\n right: 10px;\n}\n.paladin-film-view-wrapper .paladin-film-view-content {\n box-sizing: border-box;\n position: absolute;\n left: 50%;\n}\n.paladin-film-view-wrapper .paladin-film-view-col {\n box-sizing: border-box;\n border: 2px solid #353535;\n}\n.paladin-film-view-wrapper .paladin-film-view-row {\n box-sizing: border-box;\n display: flex;\n width: 100%;\n}\n";
|
|
98963
99327
|
styleInject$1(css_248z$O);
|
|
98964
99328
|
|
|
98965
|
-
|
|
99329
|
+
var css_248z$P = ".paladin-film-viewport-wrapper {\n width: 100%;\n height: 100%;\n color: #fff;\n}\n.cornerstone-canvas-container {\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n position: relative;\n}\n";
|
|
99330
|
+
styleInject$1(css_248z$P);
|
|
98966
99331
|
|
|
98967
|
-
function
|
|
99332
|
+
function _createSuper$1W(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1X(); 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); }; }
|
|
99333
|
+
|
|
99334
|
+
function _isNativeReflectConstruct$1X() { 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; } }
|
|
98968
99335
|
|
|
98969
99336
|
var getStudyDateTime$2 = function getStudyDateTime(dicom) {
|
|
98970
99337
|
// 因为检查时间部分数据可能未传, 根据以下顺序进行获取
|
|
@@ -99091,7 +99458,7 @@ var formatDRDXInfo$2 = function formatDRDXInfo(label, value) {
|
|
|
99091
99458
|
var ViewportOverlay$1 = /*#__PURE__*/function (_PureComponent) {
|
|
99092
99459
|
inherits(ViewportOverlay, _PureComponent);
|
|
99093
99460
|
|
|
99094
|
-
var _super = _createSuper$
|
|
99461
|
+
var _super = _createSuper$1W(ViewportOverlay);
|
|
99095
99462
|
|
|
99096
99463
|
function ViewportOverlay(props) {
|
|
99097
99464
|
var _this;
|
|
@@ -99273,7 +99640,8 @@ var ViewportOverlay$1 = /*#__PURE__*/function (_PureComponent) {
|
|
|
99273
99640
|
imageId = _this$props5.imageId,
|
|
99274
99641
|
stack = _this$props5.stack,
|
|
99275
99642
|
viewport = _this$props5.viewport,
|
|
99276
|
-
hide = _this$props5.hide
|
|
99643
|
+
hide = _this$props5.hide,
|
|
99644
|
+
filmOverlayConfig = _this$props5.filmOverlayConfig;
|
|
99277
99645
|
|
|
99278
99646
|
if (!imageId || !stack) {
|
|
99279
99647
|
return null;
|
|
@@ -99334,7 +99702,43 @@ var ViewportOverlay$1 = /*#__PURE__*/function (_PureComponent) {
|
|
|
99334
99702
|
var windowWidth = parseFloat(viewport.voi.windowWidth) || 0;
|
|
99335
99703
|
var windowCenter = parseFloat(viewport.voi.windowCenter) || 0;
|
|
99336
99704
|
var acquisitionMatrix = dicom.AcquisitionMatrix.value;
|
|
99337
|
-
var sliceLocation = dicom.SliceLocation.value && parseFloat(dicom.SliceLocation.value).toFixed(2);
|
|
99705
|
+
var sliceLocation = dicom.SliceLocation.value && parseFloat(dicom.SliceLocation.value).toFixed(2); // 从配置中获取左上角的显示状态
|
|
99706
|
+
|
|
99707
|
+
var topLeftConfig = (filmOverlayConfig === null || filmOverlayConfig === void 0 ? void 0 : filmOverlayConfig.topLeft) || {
|
|
99708
|
+
patientName: true,
|
|
99709
|
+
patientSexAge: true,
|
|
99710
|
+
patientID: true,
|
|
99711
|
+
bodyPartExamined: true,
|
|
99712
|
+
lateralityViewPosition: true
|
|
99713
|
+
}; // 从配置中获取左下角的显示状态
|
|
99714
|
+
|
|
99715
|
+
var bottomLeftConfig = (filmOverlayConfig === null || filmOverlayConfig === void 0 ? void 0 : filmOverlayConfig.bottomLeft) || {
|
|
99716
|
+
dxDrCrInfo: true,
|
|
99717
|
+
patientOrientation: true,
|
|
99718
|
+
trTe: true,
|
|
99719
|
+
ti: true,
|
|
99720
|
+
fa: true,
|
|
99721
|
+
thk: true,
|
|
99722
|
+
bValue: true,
|
|
99723
|
+
seriesDescription: true
|
|
99724
|
+
}; // 从配置中获取右上角的显示状态
|
|
99725
|
+
|
|
99726
|
+
var topRightConfig = (filmOverlayConfig === null || filmOverlayConfig === void 0 ? void 0 : filmOverlayConfig.topRight) || {
|
|
99727
|
+
institutionName: true,
|
|
99728
|
+
studyDateTime: true,
|
|
99729
|
+
seriesNumber: true,
|
|
99730
|
+
instanceNumber: true,
|
|
99731
|
+
inPlanePhaseEncodingDirection: true
|
|
99732
|
+
}; // 从配置中获取右下角的显示状态
|
|
99733
|
+
|
|
99734
|
+
var bottomRightConfig = (filmOverlayConfig === null || filmOverlayConfig === void 0 ? void 0 : filmOverlayConfig.bottomRight) || {
|
|
99735
|
+
windowWidth: true,
|
|
99736
|
+
windowCenter: true,
|
|
99737
|
+
zoom: true,
|
|
99738
|
+
fov: true,
|
|
99739
|
+
mat: true,
|
|
99740
|
+
sliceLocation: true
|
|
99741
|
+
};
|
|
99338
99742
|
return /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("div", {
|
|
99339
99743
|
style: {
|
|
99340
99744
|
position: 'absolute',
|
|
@@ -99344,7 +99748,7 @@ var ViewportOverlay$1 = /*#__PURE__*/function (_PureComponent) {
|
|
|
99344
99748
|
fontSize: "".concat(fontSize, "px"),
|
|
99345
99749
|
display: "".concat(hide ? 'none' : 'block')
|
|
99346
99750
|
}
|
|
99347
|
-
}, /*#__PURE__*/React__default.createElement("div", null, patientName), /*#__PURE__*/React__default.createElement("div", null, patientSex, "/", patientAge), /*#__PURE__*/React__default.createElement("div", null, patientID), /*#__PURE__*/React__default.createElement("div", null, bodyPartExamined), /*#__PURE__*/React__default.createElement("div", null, laterality, " ", viewPosition)), /*#__PURE__*/React__default.createElement("div", {
|
|
99751
|
+
}, topLeftConfig.patientName && /*#__PURE__*/React__default.createElement("div", null, patientName), topLeftConfig.patientSexAge && /*#__PURE__*/React__default.createElement("div", null, patientSex, "/", patientAge), topLeftConfig.patientID && /*#__PURE__*/React__default.createElement("div", null, patientID), topLeftConfig.bodyPartExamined && /*#__PURE__*/React__default.createElement("div", null, bodyPartExamined), topLeftConfig.lateralityViewPosition && /*#__PURE__*/React__default.createElement("div", null, laterality, " ", viewPosition)), /*#__PURE__*/React__default.createElement("div", {
|
|
99348
99752
|
style: {
|
|
99349
99753
|
position: 'absolute',
|
|
99350
99754
|
bottom: 4,
|
|
@@ -99353,7 +99757,7 @@ var ViewportOverlay$1 = /*#__PURE__*/function (_PureComponent) {
|
|
|
99353
99757
|
fontSize: "".concat(fontSize, "px"),
|
|
99354
99758
|
display: "".concat(hide ? 'none' : 'block')
|
|
99355
99759
|
}
|
|
99356
|
-
}, showDXDRCR && /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("div", null, formatDRDXInfo$2('kV', kvp)), /*#__PURE__*/React__default.createElement("div", null, formatDRDXInfo$2('mA', xRayTubeCurrent)), /*#__PURE__*/React__default.createElement("div", null, formatDRDXInfo$2('Time', exposureTime)), /*#__PURE__*/React__default.createElement("div", null, formatDRDXInfo$2('mAs', exposure))), /*#__PURE__*/React__default.createElement("div", null, patientOrientation), /*#__PURE__*/React__default.createElement("div", null, getTRAndTE$2(repetitionTime, echoTime)), /*#__PURE__*/React__default.createElement("div", null, formatDicomInfo$2('TI', inversionTime)), /*#__PURE__*/React__default.createElement("div", null, formatDicomInfo$2('FA', flipAngle)), showCT && /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("div", null, formatDRDXInfo$2('kV', kvp)), /*#__PURE__*/React__default.createElement("div", null, formatDRDXInfo$2('mAs', exposure))), /*#__PURE__*/React__default.createElement("div", null, thk), /*#__PURE__*/React__default.createElement("div", null, formatDicomInfo$2('B', diffusionBValue, false)), seriesDescription && seriesDescription !== protocolName && /*#__PURE__*/React__default.createElement("div", null, seriesDescription)), /*#__PURE__*/React__default.createElement("div", {
|
|
99760
|
+
}, showDXDRCR && bottomLeftConfig.dxDrCrInfo && /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("div", null, formatDRDXInfo$2('kV', kvp)), /*#__PURE__*/React__default.createElement("div", null, formatDRDXInfo$2('mA', xRayTubeCurrent)), /*#__PURE__*/React__default.createElement("div", null, formatDRDXInfo$2('Time', exposureTime)), /*#__PURE__*/React__default.createElement("div", null, formatDRDXInfo$2('mAs', exposure))), bottomLeftConfig.patientOrientation && /*#__PURE__*/React__default.createElement("div", null, patientOrientation), bottomLeftConfig.trTe && /*#__PURE__*/React__default.createElement("div", null, getTRAndTE$2(repetitionTime, echoTime)), bottomLeftConfig.ti && /*#__PURE__*/React__default.createElement("div", null, formatDicomInfo$2('TI', inversionTime)), bottomLeftConfig.fa && /*#__PURE__*/React__default.createElement("div", null, formatDicomInfo$2('FA', flipAngle)), showCT && bottomLeftConfig.dxDrCrInfo && /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("div", null, formatDRDXInfo$2('kV', kvp)), /*#__PURE__*/React__default.createElement("div", null, formatDRDXInfo$2('mAs', exposure))), bottomLeftConfig.thk && /*#__PURE__*/React__default.createElement("div", null, thk), bottomLeftConfig.bValue && /*#__PURE__*/React__default.createElement("div", null, formatDicomInfo$2('B', diffusionBValue, false)), seriesDescription && seriesDescription !== protocolName && bottomLeftConfig.seriesDescription && /*#__PURE__*/React__default.createElement("div", null, seriesDescription)), /*#__PURE__*/React__default.createElement("div", {
|
|
99357
99761
|
style: {
|
|
99358
99762
|
position: 'absolute',
|
|
99359
99763
|
top: 4,
|
|
@@ -99362,7 +99766,7 @@ var ViewportOverlay$1 = /*#__PURE__*/function (_PureComponent) {
|
|
|
99362
99766
|
fontSize: "".concat(fontSize, "px"),
|
|
99363
99767
|
display: "".concat(hide ? 'none' : 'block')
|
|
99364
99768
|
}
|
|
99365
|
-
}, /*#__PURE__*/React__default.createElement("div", null, institutionName), /*#__PURE__*/React__default.createElement("div", null, studyDateTime && studyDateTime.format('YYYY-MM-DD HH:mm:ss')), /*#__PURE__*/React__default.createElement("div", null, "Se: ", seriesNumber, "/", seriesCount), /*#__PURE__*/React__default.createElement("div", null, "Im: ", instanceNumber, "/", instanceCount), /*#__PURE__*/React__default.createElement("div", null, formatInPlanePhaseEncodingDirection$2(inPlanePhaseEncodingDirection))), /*#__PURE__*/React__default.createElement("div", {
|
|
99769
|
+
}, topRightConfig.institutionName && /*#__PURE__*/React__default.createElement("div", null, institutionName), topRightConfig.studyDateTime && /*#__PURE__*/React__default.createElement("div", null, studyDateTime && studyDateTime.format('YYYY-MM-DD HH:mm:ss')), topRightConfig.seriesNumber && /*#__PURE__*/React__default.createElement("div", null, "Se: ", seriesNumber, "/", seriesCount), topRightConfig.instanceNumber && /*#__PURE__*/React__default.createElement("div", null, "Im: ", instanceNumber, "/", instanceCount), topRightConfig.inPlanePhaseEncodingDirection && /*#__PURE__*/React__default.createElement("div", null, formatInPlanePhaseEncodingDirection$2(inPlanePhaseEncodingDirection))), /*#__PURE__*/React__default.createElement("div", {
|
|
99366
99770
|
style: {
|
|
99367
99771
|
position: 'absolute',
|
|
99368
99772
|
bottom: 4,
|
|
@@ -99371,7 +99775,7 @@ var ViewportOverlay$1 = /*#__PURE__*/function (_PureComponent) {
|
|
|
99371
99775
|
fontSize: "".concat(fontSize, "px"),
|
|
99372
99776
|
display: "".concat(hide ? 'none' : 'block')
|
|
99373
99777
|
}
|
|
99374
|
-
}, /*#__PURE__*/React__default.createElement("div", null, "W: ", windowWidth.toFixed(0)), /*#__PURE__*/React__default.createElement("div", null, "C: ", windowCenter.toFixed(0)), /*#__PURE__*/React__default.createElement("div", null, zoom, "X"), /*#__PURE__*/React__default.createElement("div", null, getFov$1(dicom, imageId)), /*#__PURE__*/React__default.createElement("div", null, getMat$2(acquisitionMatrix)), (sliceLocation || sliceLocation === 0) && /*#__PURE__*/React__default.createElement("div", null, "Location: ", sliceLocation)));
|
|
99778
|
+
}, bottomRightConfig.windowWidth && /*#__PURE__*/React__default.createElement("div", null, "W: ", windowWidth.toFixed(0)), bottomRightConfig.windowCenter && /*#__PURE__*/React__default.createElement("div", null, "C: ", windowCenter.toFixed(0)), bottomRightConfig.zoom && /*#__PURE__*/React__default.createElement("div", null, zoom, "X"), bottomRightConfig.fov && /*#__PURE__*/React__default.createElement("div", null, getFov$1(dicom, imageId)), bottomRightConfig.mat && /*#__PURE__*/React__default.createElement("div", null, getMat$2(acquisitionMatrix)), (sliceLocation || sliceLocation === 0) && bottomRightConfig.sliceLocation && /*#__PURE__*/React__default.createElement("div", null, "Location: ", sliceLocation)));
|
|
99375
99779
|
}
|
|
99376
99780
|
}]);
|
|
99377
99781
|
|
|
@@ -99382,12 +99786,13 @@ defineProperty(ViewportOverlay$1, "propTypes", {
|
|
|
99382
99786
|
viewport: PropTypes$1.object.isRequired,
|
|
99383
99787
|
imageId: PropTypes$1.string.isRequired,
|
|
99384
99788
|
stack: PropTypes$1.object.isRequired,
|
|
99385
|
-
hide: PropTypes$1.bool
|
|
99789
|
+
hide: PropTypes$1.bool,
|
|
99790
|
+
filmOverlayConfig: PropTypes$1.object
|
|
99386
99791
|
});
|
|
99387
99792
|
|
|
99388
|
-
function _createSuper$
|
|
99793
|
+
function _createSuper$1X(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1Y(); 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); }; }
|
|
99389
99794
|
|
|
99390
|
-
function _isNativeReflectConstruct$
|
|
99795
|
+
function _isNativeReflectConstruct$1Y() { 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; } }
|
|
99391
99796
|
var loadIndicatorDelay$2 = 300;
|
|
99392
99797
|
|
|
99393
99798
|
function capitalizeFirstLetter$1(string) {
|
|
@@ -99419,7 +99824,7 @@ function initializeTools$1(cornerstoneTools, tools, element) {
|
|
|
99419
99824
|
var FilmViewport = /*#__PURE__*/function (_Component) {
|
|
99420
99825
|
inherits(FilmViewport, _Component);
|
|
99421
99826
|
|
|
99422
|
-
var _super = _createSuper$
|
|
99827
|
+
var _super = _createSuper$1X(FilmViewport);
|
|
99423
99828
|
|
|
99424
99829
|
function FilmViewport(props) {
|
|
99425
99830
|
var _this;
|
|
@@ -99714,7 +100119,8 @@ var FilmViewport = /*#__PURE__*/function (_Component) {
|
|
|
99714
100119
|
var _this$props3 = this.props,
|
|
99715
100120
|
index = _this$props3.index,
|
|
99716
100121
|
onClick = _this$props3.onClick,
|
|
99717
|
-
overlayFontSize = _this$props3.overlayFontSize
|
|
100122
|
+
overlayFontSize = _this$props3.overlayFontSize,
|
|
100123
|
+
filmOverlayConfig = _this$props3.filmOverlayConfig;
|
|
99718
100124
|
var imageId = stack && stack.imageIds[0];
|
|
99719
100125
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
99720
100126
|
className: "paladin-film-viewport-wrapper"
|
|
@@ -99739,7 +100145,8 @@ var FilmViewport = /*#__PURE__*/function (_Component) {
|
|
|
99739
100145
|
viewport: viewport,
|
|
99740
100146
|
imageId: imageId,
|
|
99741
100147
|
stack: stack,
|
|
99742
|
-
fontSize: overlayFontSize
|
|
100148
|
+
fontSize: overlayFontSize,
|
|
100149
|
+
filmOverlayConfig: filmOverlayConfig
|
|
99743
100150
|
})));
|
|
99744
100151
|
}
|
|
99745
100152
|
}]);
|
|
@@ -99774,31 +100181,33 @@ defineProperty(FilmViewport, "defaultProps", {
|
|
|
99774
100181
|
}]
|
|
99775
100182
|
});
|
|
99776
100183
|
|
|
99777
|
-
var mapStateToProps$
|
|
100184
|
+
var mapStateToProps$D = function mapStateToProps(state) {
|
|
99778
100185
|
var _state$paladin$tools$ = state.paladin.tools.film,
|
|
99779
100186
|
filmActiveTool = _state$paladin$tools$.filmActiveTool,
|
|
99780
100187
|
filmRelativeIndexes = _state$paladin$tools$.filmRelativeIndexes,
|
|
99781
|
-
filmSynchronizer = _state$paladin$tools$.filmSynchronizer
|
|
100188
|
+
filmSynchronizer = _state$paladin$tools$.filmSynchronizer,
|
|
100189
|
+
filmOverlayConfig = _state$paladin$tools$.filmOverlayConfig;
|
|
99782
100190
|
return {
|
|
99783
100191
|
filmActiveTool: filmActiveTool,
|
|
99784
100192
|
filmRelativeIndexes: filmRelativeIndexes,
|
|
99785
|
-
filmSynchronizer: filmSynchronizer
|
|
100193
|
+
filmSynchronizer: filmSynchronizer,
|
|
100194
|
+
filmOverlayConfig: filmOverlayConfig
|
|
99786
100195
|
};
|
|
99787
100196
|
};
|
|
99788
100197
|
|
|
99789
|
-
var ConnectedFilmViewport = reactRedux.connect(mapStateToProps$
|
|
100198
|
+
var ConnectedFilmViewport = reactRedux.connect(mapStateToProps$D, {
|
|
99790
100199
|
setActiveTool: setActiveTool,
|
|
99791
100200
|
setSeriesCurrentIndex: setSeriesCurrentIndex
|
|
99792
100201
|
})(FilmViewport);
|
|
99793
100202
|
|
|
99794
|
-
function _createSuper$
|
|
100203
|
+
function _createSuper$1Y(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1Z(); 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); }; }
|
|
99795
100204
|
|
|
99796
|
-
function _isNativeReflectConstruct$
|
|
100205
|
+
function _isNativeReflectConstruct$1Z() { 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; } }
|
|
99797
100206
|
|
|
99798
100207
|
var FilmView = /*#__PURE__*/function (_Component) {
|
|
99799
100208
|
inherits(FilmView, _Component);
|
|
99800
100209
|
|
|
99801
|
-
var _super = _createSuper$
|
|
100210
|
+
var _super = _createSuper$1Y(FilmView);
|
|
99802
100211
|
|
|
99803
100212
|
function FilmView(props) {
|
|
99804
100213
|
var _this;
|
|
@@ -100067,7 +100476,7 @@ function ownKeys$1d(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
100067
100476
|
|
|
100068
100477
|
function _objectSpread$1c(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1d(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
100069
100478
|
|
|
100070
|
-
var mapStateToProps$
|
|
100479
|
+
var mapStateToProps$E = function mapStateToProps(state) {
|
|
100071
100480
|
var _state$paladin$tools$ = state.paladin.tools.film,
|
|
100072
100481
|
films = _state$paladin$tools$.films,
|
|
100073
100482
|
filmLayoutRow = _state$paladin$tools$.filmLayoutRow,
|
|
@@ -100193,7 +100602,7 @@ var mergeProps$B = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
100193
100602
|
});
|
|
100194
100603
|
};
|
|
100195
100604
|
|
|
100196
|
-
var ConnectedFilmView = reactRedux.connect(mapStateToProps$
|
|
100605
|
+
var ConnectedFilmView = reactRedux.connect(mapStateToProps$E, {
|
|
100197
100606
|
setActiveTool: setActiveTool,
|
|
100198
100607
|
exchangeFilm: exchangeFilm,
|
|
100199
100608
|
removeFilm: removeFilm,
|
|
@@ -100204,8 +100613,8 @@ var ConnectedFilmView = reactRedux.connect(mapStateToProps$D, {
|
|
|
100204
100613
|
setFilmRelativeIndexMulti: setFilmRelativeIndexMulti
|
|
100205
100614
|
}, mergeProps$B)(FilmView);
|
|
100206
100615
|
|
|
100207
|
-
var css_248z$
|
|
100208
|
-
styleInject$1(css_248z$
|
|
100616
|
+
var css_248z$Q = ".paladin-fusion-wrapper {\n width: 100%;\n height: 100%;\n color: white;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n.paladin-fusion-wrapper .paladin-fusion-item-fusion {\n display: flex;\n flex-direction: column;\n width: 60%;\n height: 100%;\n position: relative;\n z-index: 1;\n flex: none;\n}\n.paladin-fusion-wrapper .paladin-fusion-origin {\n display: flex;\n flex-direction: column;\n width: 40%;\n height: 100%;\n position: relative;\n z-index: 1;\n flex: none;\n}\n.paladin-fusion-wrapper .paladin-fusion-item {\n display: flex;\n flex-direction: row;\n width: 100%;\n height: 50%;\n position: relative;\n z-index: 1;\n flex: none;\n}\n.paladin-fusion-wrapper .paladin-fusion-ct,\n.paladin-fusion-wrapper .paladin-fusion-pet {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n}\n.paladin-fusion-wrapper .paladin-fusion-ct {\n z-index: 2;\n}\n.paladin-fusion-wrapper .paladin-fusion-pet {\n z-index: 3;\n}\n";
|
|
100617
|
+
styleInject$1(css_248z$Q);
|
|
100209
100618
|
|
|
100210
100619
|
var dicomToolDefaultProps$1 = {
|
|
100211
100620
|
activeTool: 'Wwwc',
|
|
@@ -100520,12 +100929,12 @@ function getPETCustomAvailableTools(data) {
|
|
|
100520
100929
|
}];
|
|
100521
100930
|
}
|
|
100522
100931
|
|
|
100523
|
-
var css_248z$
|
|
100524
|
-
styleInject$1(css_248z$
|
|
100932
|
+
var css_248z$R = ".paladin-mpr-direaction-tip {\n position: absolute;\n top: 10px;\n left: 10px;\n z-index: 2;\n width: 10px;\n height: 10px;\n}\n.paladin-mpr-direaction-toggle-box {\n position: absolute;\n top: 10px;\n left: 10px;\n z-index: 2;\n cursor: pointer;\n}\n.paladin-mpr-direaction-toggle-box span {\n display: inline-block;\n padding: 3px;\n font-size: 12px;\n}\n.paladin-mpr-direaction-toggle-box .paladin-mpr-direaction-toggle {\n border: 1px solid #999;\n background: #000;\n}\n.paladin-mpr-direaction-toggle-box .paladin-mpr-direaction-toggle:last-child {\n border-left: none;\n}\n.paladin-mpr-direaction-toggle-box .paladin-mpr-direaction-toggle-active {\n background: #0d5075;\n}\n.rc-slider {\n background-color: transparent !important;\n}\n.paladin-viewport-wrapper {\n overflow: hidden;\n color: white;\n height: 100%;\n position: relative;\n}\n.cornerstone-canvas-container {\n box-sizing: border-box;\n width: 100%;\n position: relative;\n}\n.paladin-viewport-scroll-wrappper {\n width: 100%;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n z-index: 1;\n height: 30px;\n}\n.paladin-viewport-scroll-inner {\n width: 40%;\n margin: 5px auto auto;\n}\n.paladin-viewport-scroll-mpr-wrappper {\n width: 100%;\n position: relative;\n z-index: 1;\n}\n.paladin-key-image-tip {\n position: absolute;\n top: 9px;\n left: 50%;\n font-size: 12px;\n transform: translateX(20px);\n}\n.paladin-key-image-tip svg {\n display: inline-block;\n width: 12px !important;\n height: 12px !important;\n margin-right: 3px;\n}\n";
|
|
100933
|
+
styleInject$1(css_248z$R);
|
|
100525
100934
|
|
|
100526
|
-
function _createSuper$
|
|
100935
|
+
function _createSuper$1Z(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1_(); 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); }; }
|
|
100527
100936
|
|
|
100528
|
-
function _isNativeReflectConstruct$
|
|
100937
|
+
function _isNativeReflectConstruct$1_() { 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; } }
|
|
100529
100938
|
var calculateSUV$3 = cornerstoneTools.importInternal('util/calculateSUV');
|
|
100530
100939
|
var EVENT_RESIZE$1 = 'resize';
|
|
100531
100940
|
var loadIndicatorDelay$3 = 300;
|
|
@@ -100560,7 +100969,7 @@ function initializeTools$2(cornerstoneTools, tools, element) {
|
|
|
100560
100969
|
var FusionViewport = /*#__PURE__*/function (_Component) {
|
|
100561
100970
|
inherits(FusionViewport, _Component);
|
|
100562
100971
|
|
|
100563
|
-
var _super = _createSuper$
|
|
100972
|
+
var _super = _createSuper$1Z(FusionViewport);
|
|
100564
100973
|
|
|
100565
100974
|
function FusionViewport(props) {
|
|
100566
100975
|
var _this;
|
|
@@ -101312,7 +101721,7 @@ function ownKeys$1e(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
101312
101721
|
|
|
101313
101722
|
function _objectSpread$1d(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1e(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
101314
101723
|
|
|
101315
|
-
var mapStateToProps$
|
|
101724
|
+
var mapStateToProps$F = function mapStateToProps(state) {
|
|
101316
101725
|
var _state$paladin$tools$ = state.paladin.tools.action,
|
|
101317
101726
|
activeTool = _state$paladin$tools$.activeTool,
|
|
101318
101727
|
originActiveTool = _state$paladin$tools$.originActiveTool,
|
|
@@ -101355,15 +101764,15 @@ var mergeProps$C = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
101355
101764
|
});
|
|
101356
101765
|
};
|
|
101357
101766
|
|
|
101358
|
-
var ConnectedFusionViewport = reactRedux.connect(mapStateToProps$
|
|
101767
|
+
var ConnectedFusionViewport = reactRedux.connect(mapStateToProps$F, {
|
|
101359
101768
|
setActiveTool: setActiveTool,
|
|
101360
101769
|
setSeriesCurrentIndex: setSeriesCurrentIndex,
|
|
101361
101770
|
setFusionReduxValue: setFusionReduxValue
|
|
101362
101771
|
}, mergeProps$C)(FusionViewport);
|
|
101363
101772
|
|
|
101364
|
-
function _createSuper$
|
|
101773
|
+
function _createSuper$1_(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1$(); 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); }; }
|
|
101365
101774
|
|
|
101366
|
-
function _isNativeReflectConstruct$
|
|
101775
|
+
function _isNativeReflectConstruct$1$() { 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; } }
|
|
101367
101776
|
|
|
101368
101777
|
var getStudyDateTime$3 = function getStudyDateTime(dicom) {
|
|
101369
101778
|
// 因为检查时间部分数据可能未传, 根据以下顺序进行获取
|
|
@@ -101429,7 +101838,7 @@ var formatDicomInfo$3 = function formatDicomInfo(label, value) {
|
|
|
101429
101838
|
var FusionOverlay = /*#__PURE__*/function (_PureComponent) {
|
|
101430
101839
|
inherits(FusionOverlay, _PureComponent);
|
|
101431
101840
|
|
|
101432
|
-
var _super = _createSuper$
|
|
101841
|
+
var _super = _createSuper$1_(FusionOverlay);
|
|
101433
101842
|
|
|
101434
101843
|
function FusionOverlay(props) {
|
|
101435
101844
|
var _this;
|
|
@@ -101685,9 +102094,9 @@ defineProperty(FusionOverlay, "propTypes", {
|
|
|
101685
102094
|
hide: PropTypes$1.bool
|
|
101686
102095
|
});
|
|
101687
102096
|
|
|
101688
|
-
function _createSuper$
|
|
102097
|
+
function _createSuper$1$(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$20(); 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); }; }
|
|
101689
102098
|
|
|
101690
|
-
function _isNativeReflectConstruct$
|
|
102099
|
+
function _isNativeReflectConstruct$20() { 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; } }
|
|
101691
102100
|
var EVENT_RESIZE$2 = 'resize';
|
|
101692
102101
|
var loadIndicatorDelay$4 = 300;
|
|
101693
102102
|
var loadHandlerManager$3 = cornerstoneTools.loadHandlerManager;
|
|
@@ -101721,7 +102130,7 @@ function initializeTools$3(cornerstoneTools, tools, element) {
|
|
|
101721
102130
|
var FusionViewport$1 = /*#__PURE__*/function (_Component) {
|
|
101722
102131
|
inherits(FusionViewport, _Component);
|
|
101723
102132
|
|
|
101724
|
-
var _super = _createSuper$
|
|
102133
|
+
var _super = _createSuper$1$(FusionViewport);
|
|
101725
102134
|
|
|
101726
102135
|
function FusionViewport(props) {
|
|
101727
102136
|
var _this;
|
|
@@ -102426,7 +102835,7 @@ function ownKeys$1f(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
102426
102835
|
|
|
102427
102836
|
function _objectSpread$1e(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1f(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
102428
102837
|
|
|
102429
|
-
var mapStateToProps$
|
|
102838
|
+
var mapStateToProps$G = function mapStateToProps(state) {
|
|
102430
102839
|
var _state$paladin$tools$ = state.paladin.tools.action,
|
|
102431
102840
|
activeTool = _state$paladin$tools$.activeTool,
|
|
102432
102841
|
originActiveTool = _state$paladin$tools$.originActiveTool,
|
|
@@ -102469,20 +102878,20 @@ var mergeProps$D = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
102469
102878
|
});
|
|
102470
102879
|
};
|
|
102471
102880
|
|
|
102472
|
-
var ConnectedFusionViewport$1 = reactRedux.connect(mapStateToProps$
|
|
102881
|
+
var ConnectedFusionViewport$1 = reactRedux.connect(mapStateToProps$G, {
|
|
102473
102882
|
setActiveTool: setActiveTool,
|
|
102474
102883
|
setSeriesCurrentIndex: setSeriesCurrentIndex,
|
|
102475
102884
|
setFusionReduxValue: setFusionReduxValue
|
|
102476
102885
|
}, mergeProps$D)(FusionViewport$1);
|
|
102477
102886
|
|
|
102478
|
-
function _createSuper$
|
|
102887
|
+
function _createSuper$20(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$21(); 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); }; }
|
|
102479
102888
|
|
|
102480
|
-
function _isNativeReflectConstruct$
|
|
102889
|
+
function _isNativeReflectConstruct$21() { 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; } }
|
|
102481
102890
|
|
|
102482
102891
|
var PETLayout = /*#__PURE__*/function (_Component) {
|
|
102483
102892
|
inherits(PETLayout, _Component);
|
|
102484
102893
|
|
|
102485
|
-
var _super = _createSuper$
|
|
102894
|
+
var _super = _createSuper$20(PETLayout);
|
|
102486
102895
|
|
|
102487
102896
|
function PETLayout(props) {
|
|
102488
102897
|
var _this;
|
|
@@ -102619,7 +103028,7 @@ function ownKeys$1g(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
102619
103028
|
|
|
102620
103029
|
function _objectSpread$1f(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1g(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
102621
103030
|
|
|
102622
|
-
var mapStateToProps$
|
|
103031
|
+
var mapStateToProps$H = function mapStateToProps(state) {
|
|
102623
103032
|
return _objectSpread$1f({}, state.paladin.tools.fusion);
|
|
102624
103033
|
};
|
|
102625
103034
|
|
|
@@ -102661,7 +103070,7 @@ var mergeProps$E = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
102661
103070
|
});
|
|
102662
103071
|
};
|
|
102663
103072
|
|
|
102664
|
-
var ConnectedPETLayout = reactRedux.connect(mapStateToProps$
|
|
103073
|
+
var ConnectedPETLayout = reactRedux.connect(mapStateToProps$H, {
|
|
102665
103074
|
setFusionActiveIndex: setFusionActiveIndex
|
|
102666
103075
|
}, mergeProps$E)(PETLayout);
|
|
102667
103076
|
|
|
@@ -102671,9 +103080,9 @@ function _unsupportedIterableToArray$m(o, minLen) { if (!o) return; if (typeof o
|
|
|
102671
103080
|
|
|
102672
103081
|
function _arrayLikeToArray$m(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; }
|
|
102673
103082
|
|
|
102674
|
-
function _createSuper$
|
|
103083
|
+
function _createSuper$21(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$22(); 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); }; }
|
|
102675
103084
|
|
|
102676
|
-
function _isNativeReflectConstruct$
|
|
103085
|
+
function _isNativeReflectConstruct$22() { 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; } }
|
|
102677
103086
|
|
|
102678
103087
|
var DicomLayoutContainerWrap = function DicomLayoutContainerWrap(props) {
|
|
102679
103088
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -102697,7 +103106,7 @@ index$3.configure({
|
|
|
102697
103106
|
var DicomView = /*#__PURE__*/function (_Component) {
|
|
102698
103107
|
inherits(DicomView, _Component);
|
|
102699
103108
|
|
|
102700
|
-
var _super = _createSuper$
|
|
103109
|
+
var _super = _createSuper$21(DicomView);
|
|
102701
103110
|
|
|
102702
103111
|
function DicomView(props) {
|
|
102703
103112
|
var _this;
|
|
@@ -103331,7 +103740,7 @@ function _objectSpread$1g(target) { for (var i = 1; i < arguments.length; i++) {
|
|
|
103331
103740
|
var throttle$9 = cornerstoneTools.importInternal('util/throttle');
|
|
103332
103741
|
var NO_CHECK_MULTI_FRAME_MODALITIES = ['DR', 'CR', 'DX', 'MG'];
|
|
103333
103742
|
|
|
103334
|
-
var mapStateToProps$
|
|
103743
|
+
var mapStateToProps$I = function mapStateToProps(state) {
|
|
103335
103744
|
var _state$paladin$viewpo = state.paladin.viewport,
|
|
103336
103745
|
activeIndex = _state$paladin$viewpo.activeIndex,
|
|
103337
103746
|
imageActiveIndex = _state$paladin$viewpo.imageActiveIndex,
|
|
@@ -104586,7 +104995,7 @@ var mergeProps$F = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
104586
104995
|
});
|
|
104587
104996
|
};
|
|
104588
104997
|
|
|
104589
|
-
var ConnectedDicomView = reactRedux.connect(mapStateToProps$
|
|
104998
|
+
var ConnectedDicomView = reactRedux.connect(mapStateToProps$I, {
|
|
104590
104999
|
initSeries: initSeries,
|
|
104591
105000
|
addSeries: addSeries,
|
|
104592
105001
|
setCurrentSeries: setCurrentSeries,
|