hellfire 0.28.5 → 0.28.7
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 +215 -122
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46453,7 +46453,7 @@ function _ref$1m() {
|
|
|
46453
46453
|
return _ref$1m.apply(this, arguments);
|
|
46454
46454
|
}
|
|
46455
46455
|
|
|
46456
|
-
var css_248z$s = ".paladin-user-setting {\n padding: 0 20px;\n margin-bottom: 30px;\n font-size: 15px;\n}\n.paladin-user-setting p {\n font-size: 16px;\n}\n.paladin-user-setting .paladin-user-setting-remark {\n color: #d43f3a;\n margin: 10px 0 0 0;\n}\n.paladin-user-setting .paladin-user-setting-footer {\n margin-top: 15px;\n text-align: right;\n}\n.paladin-user-setting .paladin-user-setting-footer button {\n margin-left: 10px;\n}\n.paladin-user-setting .paladin-setting-radio {\n display: flex;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-label {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-item {\n display: flex;\n flex-direction: row;\n margin-right: 10px;\n align-items: center;\n justify-content: center;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-item .paladin-ipt {\n padding: 0 !important;\n margin: 0 3px 0 0 !important;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-item input {\n display: flex;\n flex-direction: column;\n width: 20px;\n height: 20px;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-item span {\n display: flex;\n flex-direction: column;\n}\n.paladin-user-setting .paladin-setting-hotkey {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n.paladin-user-setting .paladin-setting-hotkey .paladin-setting-hotkey-item {\n display: flex;\n flex-direction: column;\n flex: none;\n padding: 5px 10px;\n border: 1px solid #666;\n border-radius: 3px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n";
|
|
46456
|
+
var css_248z$s = ".paladin-user-setting {\n padding: 0 20px;\n margin-bottom: 30px;\n font-size: 15px;\n}\n.paladin-user-setting p {\n font-size: 16px;\n}\n.paladin-user-setting p svg {\n width: 10px;\n margin-right: 2px;\n}\n.paladin-user-setting .paladin-user-setting-remark {\n color: #d43f3a;\n margin: 10px 0 0 0;\n}\n.paladin-user-setting .paladin-user-setting-footer {\n margin-top: 15px;\n text-align: right;\n}\n.paladin-user-setting .paladin-user-setting-footer button {\n margin-left: 10px;\n}\n.paladin-user-setting .paladin-setting-radio {\n display: flex;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-label {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-item {\n display: flex;\n flex-direction: row;\n margin-right: 10px;\n align-items: center;\n justify-content: center;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-item .paladin-ipt {\n padding: 0 !important;\n margin: 0 3px 0 0 !important;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-item input {\n display: flex;\n flex-direction: column;\n width: 20px;\n height: 20px;\n}\n.paladin-user-setting .paladin-setting-radio .paladin-setting-radio-item span {\n display: flex;\n flex-direction: column;\n}\n.paladin-user-setting .paladin-setting-hotkey {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n.paladin-user-setting .paladin-setting-hotkey .paladin-setting-hotkey-item {\n display: flex;\n flex-direction: column;\n flex: none;\n padding: 5px 10px;\n border: 1px solid #666;\n border-radius: 3px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n";
|
|
46457
46457
|
styleInject$1(css_248z$s);
|
|
46458
46458
|
|
|
46459
46459
|
var dicomSettingLeftMouseTools = ['StackScroll', 'Wwwc'];
|
|
@@ -46512,10 +46512,12 @@ var dicomSettingHotKeyDic = [{
|
|
|
46512
46512
|
hotkey: 'X'
|
|
46513
46513
|
}];
|
|
46514
46514
|
var hotKeyIsOpen = window.localStorage.getItem('hellfire-hotkey-open') || 'open';
|
|
46515
|
+
var dicomBasicInfoFrom = window.localStorage.getItem('hellfire-dicom-basic-info-from') || 'dicom';
|
|
46515
46516
|
var customDicomSetting = {
|
|
46516
46517
|
leftMouseTool: 'Wwwc',
|
|
46517
46518
|
rightMouseTool: 'Zoom',
|
|
46518
|
-
hotKeyIsOpen: hotKeyIsOpen
|
|
46519
|
+
hotKeyIsOpen: hotKeyIsOpen,
|
|
46520
|
+
dicomBasicInfoFrom: dicomBasicInfoFrom
|
|
46519
46521
|
};
|
|
46520
46522
|
|
|
46521
46523
|
var saveCustomDicomSetting = function saveCustomDicomSetting() {
|
|
@@ -46528,6 +46530,19 @@ var saveCustomDicomSetting = function saveCustomDicomSetting() {
|
|
|
46528
46530
|
customDicomSetting = Object.assign(customDicomSetting, _data);
|
|
46529
46531
|
};
|
|
46530
46532
|
|
|
46533
|
+
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); }
|
|
46534
|
+
|
|
46535
|
+
var _ref$1n = /*#__PURE__*/React__default.createElement("path", {
|
|
46536
|
+
d: "M24.571 16l2.464 2.411q.536.5.357 1.25-.214.732-.929.911l-3.357.857.946 3.321q.214.732-.339 1.25-.518.554-1.25.339l-3.321-.946-.857 3.357q-.179.714-.911.929-.214.036-.339.036-.554 0-.911-.393l-2.411-2.464-2.411 2.464q-.5.536-1.25.357-.732-.196-.911-.929l-.857-3.357-3.321.946q-.732.214-1.25-.339-.554-.518-.339-1.25l.946-3.321-3.357-.857q-.714-.179-.929-.911-.179-.75.357-1.25L2.855 16 .391 13.589q-.536-.5-.357-1.25.214-.732.929-.911l3.357-.857-.946-3.321Q3.16 6.518 3.713 6q.518-.554 1.25-.339l3.321.946.857-3.357q.179-.732.911-.911.732-.214 1.25.339l2.411 2.482 2.411-2.482q.518-.536 1.25-.339.732.179.911.911l.857 3.357 3.321-.946q.732-.214 1.25.339.554.518.339 1.25l-.946 3.321 3.357.857q.714.179.929.911.179.75-.357 1.25z"
|
|
46537
|
+
});
|
|
46538
|
+
|
|
46539
|
+
const SvgCertificate = props => /*#__PURE__*/React__default.createElement("svg", _extends$1o({
|
|
46540
|
+
width: 32,
|
|
46541
|
+
height: 32,
|
|
46542
|
+
viewBox: "0 0 32 32",
|
|
46543
|
+
fill: "currentColor"
|
|
46544
|
+
}, props), _ref$1n);
|
|
46545
|
+
|
|
46531
46546
|
function ownKeys$J(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; }
|
|
46532
46547
|
|
|
46533
46548
|
function _objectSpread$K(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$J(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$J(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
@@ -46551,6 +46566,7 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
46551
46566
|
defineProperty(assertThisInitialized(_this), "handleSave", function () {
|
|
46552
46567
|
var dicomSettingChange = _this.props.dicomSettingChange;
|
|
46553
46568
|
window.localStorage.setItem('hellfire-hotkey-open', _this.state.hotKeyIsOpen);
|
|
46569
|
+
window.localStorage.setItem('hellfire-dicom-basic-info-from', _this.state.dicomBasicInfoFrom);
|
|
46554
46570
|
|
|
46555
46571
|
if (dicomSettingChange) {
|
|
46556
46572
|
dicomSettingChange && dicomSettingChange({
|
|
@@ -46577,11 +46593,12 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
46577
46593
|
var _this$state = this.state,
|
|
46578
46594
|
leftMouseTool = _this$state.leftMouseTool,
|
|
46579
46595
|
rightMouseTool = _this$state.rightMouseTool,
|
|
46580
|
-
hotKeyIsOpen = _this$state.hotKeyIsOpen
|
|
46596
|
+
hotKeyIsOpen = _this$state.hotKeyIsOpen,
|
|
46597
|
+
dicomBasicInfoFrom = _this$state.dicomBasicInfoFrom;
|
|
46581
46598
|
var close = this.props.close;
|
|
46582
46599
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
46583
46600
|
className: 'paladin-user-setting'
|
|
46584
|
-
}, /*#__PURE__*/React__default.createElement("p", null, "\u9F20\u6807\u8BBE\u7F6E\uFF1A"), /*#__PURE__*/React__default.createElement("div", {
|
|
46601
|
+
}, /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement(SvgCertificate, null), "\u9F20\u6807\u8BBE\u7F6E\uFF1A"), /*#__PURE__*/React__default.createElement("div", {
|
|
46585
46602
|
className: 'paladin-setting-radio'
|
|
46586
46603
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
46587
46604
|
className: 'paladin-setting-radio-label'
|
|
@@ -46622,7 +46639,36 @@ var UserSettingModal = /*#__PURE__*/function (_Component) {
|
|
|
46622
46639
|
style: {
|
|
46623
46640
|
marginTop: '30px'
|
|
46624
46641
|
}
|
|
46625
|
-
}, "\
|
|
46642
|
+
}, /*#__PURE__*/React__default.createElement(SvgCertificate, null), "\u57FA\u672C\u4FE1\u606F\u663E\u793A\u6765\u6E90"), /*#__PURE__*/React__default.createElement("div", {
|
|
46643
|
+
className: 'paladin-setting-radio',
|
|
46644
|
+
style: {
|
|
46645
|
+
marginBottom: '15px'
|
|
46646
|
+
}
|
|
46647
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
46648
|
+
className: 'paladin-setting-radio-item'
|
|
46649
|
+
}, /*#__PURE__*/React__default.createElement(Input$1, {
|
|
46650
|
+
type: "radio",
|
|
46651
|
+
checked: dicomBasicInfoFrom === 'dicom',
|
|
46652
|
+
onChange: function onChange(e) {
|
|
46653
|
+
_this2.setState({
|
|
46654
|
+
dicomBasicInfoFrom: 'dicom'
|
|
46655
|
+
});
|
|
46656
|
+
}
|
|
46657
|
+
}), /*#__PURE__*/React__default.createElement("span", null, "\u56FE\u50CF")), /*#__PURE__*/React__default.createElement("div", {
|
|
46658
|
+
className: 'paladin-setting-radio-item'
|
|
46659
|
+
}, /*#__PURE__*/React__default.createElement(Input$1, {
|
|
46660
|
+
type: "radio",
|
|
46661
|
+
checked: dicomBasicInfoFrom === 'study',
|
|
46662
|
+
onChange: function onChange(e) {
|
|
46663
|
+
_this2.setState({
|
|
46664
|
+
dicomBasicInfoFrom: 'study'
|
|
46665
|
+
});
|
|
46666
|
+
}
|
|
46667
|
+
}), /*#__PURE__*/React__default.createElement("span", null, "\u68C0\u67E5\u5217\u8868"))), /*#__PURE__*/React__default.createElement("p", {
|
|
46668
|
+
style: {
|
|
46669
|
+
marginTop: '30px'
|
|
46670
|
+
}
|
|
46671
|
+
}, /*#__PURE__*/React__default.createElement(SvgCertificate, null), "\u5FEB\u6377\u952E\u8BF4\u660E\uFF1A"), /*#__PURE__*/React__default.createElement("div", {
|
|
46626
46672
|
className: 'paladin-setting-radio',
|
|
46627
46673
|
style: {
|
|
46628
46674
|
marginBottom: '15px'
|
|
@@ -47912,21 +47958,21 @@ var ConnectedDicomTool = reactRedux.connect(mapStateToProps$k, {
|
|
|
47912
47958
|
closeGlobalLoading: closeGlobalLoading
|
|
47913
47959
|
}, mergeProps$k)(DicomTool);
|
|
47914
47960
|
|
|
47915
|
-
var css_248z$t = ".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";
|
|
47961
|
+
var css_248z$t = ".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.paladin-thumb-content .paladin-thumb-top-mobile {\n font-size: 10px;\n}\n.paladin-thumb-content .paladin-thumb-top {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n color: yellow;\n font-size: 14px;\n z-index: 2;\n}\n.paladin-thumb-content .paladin-thumb-mask {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n}\n.paladin-thumb-content .paladin-thumb-process {\n position: absolute;\n z-index: 1;\n top: 0;\n height: 4px;\n width: 100%;\n background: #ffffff;\n overflow: hidden;\n}\n.paladin-thumb-content .paladin-thumb-process .paladin-thumb-process-inner {\n background: #faa80a;\n height: 100%;\n}\n.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";
|
|
47916
47962
|
styleInject$1(css_248z$t);
|
|
47917
47963
|
|
|
47918
|
-
function _extends$
|
|
47964
|
+
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); }
|
|
47919
47965
|
|
|
47920
|
-
var _ref$
|
|
47966
|
+
var _ref$1o = /*#__PURE__*/React__default.createElement("path", {
|
|
47921
47967
|
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"
|
|
47922
47968
|
});
|
|
47923
47969
|
|
|
47924
|
-
const SvgRefresh$1 = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
47970
|
+
const SvgRefresh$1 = props => /*#__PURE__*/React__default.createElement("svg", _extends$1p({
|
|
47925
47971
|
width: 60,
|
|
47926
47972
|
height: 56,
|
|
47927
47973
|
viewBox: "3630 0 60 56",
|
|
47928
47974
|
fill: "currentColor"
|
|
47929
|
-
}, props), _ref$
|
|
47975
|
+
}, props), _ref$1o);
|
|
47930
47976
|
|
|
47931
47977
|
var css_248z$u = ".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";
|
|
47932
47978
|
styleInject$1(css_248z$u);
|
|
@@ -48010,26 +48056,6 @@ function _isNativeReflectConstruct$1p() { if (typeof Reflect === "undefined" ||
|
|
|
48010
48056
|
var loadIndicatorDelay = 300;
|
|
48011
48057
|
var isMobile$2 = ua.isDeviceTypeMobile();
|
|
48012
48058
|
|
|
48013
|
-
function capitalizeFirstLetter(string) {
|
|
48014
|
-
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
48015
|
-
}
|
|
48016
|
-
|
|
48017
|
-
function initializeTools(cornerstoneTools, tools, element) {
|
|
48018
|
-
Array.from(tools).forEach(function (tool) {
|
|
48019
|
-
var apiTool = cornerstoneTools["".concat(tool.name, "Tool")] || tool.apiTool;
|
|
48020
|
-
|
|
48021
|
-
if (apiTool) {
|
|
48022
|
-
cornerstoneTools.addToolForElement(element, apiTool, tool.props);
|
|
48023
|
-
} else {
|
|
48024
|
-
throw new Error("Tool not found: ".concat(tool.name, "Tool"));
|
|
48025
|
-
}
|
|
48026
|
-
|
|
48027
|
-
if (tool.mode) {
|
|
48028
|
-
cornerstoneTools["setTool".concat(capitalizeFirstLetter(tool.mode), "ForElement")](element, tool.name);
|
|
48029
|
-
}
|
|
48030
|
-
});
|
|
48031
|
-
}
|
|
48032
|
-
|
|
48033
48059
|
var ThumbnailViewport = /*#__PURE__*/function (_Component) {
|
|
48034
48060
|
inherits(ThumbnailViewport, _Component);
|
|
48035
48061
|
|
|
@@ -48083,7 +48109,6 @@ var ThumbnailViewport = /*#__PURE__*/function (_Component) {
|
|
|
48083
48109
|
|
|
48084
48110
|
if (_this.element) {
|
|
48085
48111
|
cornerstone.displayImage(_this.element, image);
|
|
48086
|
-
cornerstoneTools.setToolActiveForElement(_this.element, 'OrientationMarkers');
|
|
48087
48112
|
}
|
|
48088
48113
|
}, function (error) {
|
|
48089
48114
|
_this.clearLoadHandler();
|
|
@@ -48114,9 +48139,7 @@ var ThumbnailViewport = /*#__PURE__*/function (_Component) {
|
|
|
48114
48139
|
cornerstone.getEnabledElement(this.element).canvas.width = size;
|
|
48115
48140
|
cornerstone.getEnabledElement(this.element).canvas.height = size;
|
|
48116
48141
|
this.addEventListener();
|
|
48117
|
-
unusedSynchronizer.add(this.element);
|
|
48118
|
-
|
|
48119
|
-
initializeTools(cornerstoneTools, this.props.availableTools, this.element);
|
|
48142
|
+
unusedSynchronizer.add(this.element);
|
|
48120
48143
|
this.loadImage();
|
|
48121
48144
|
}
|
|
48122
48145
|
}, {
|
|
@@ -48176,20 +48199,6 @@ var ThumbnailViewport = /*#__PURE__*/function (_Component) {
|
|
|
48176
48199
|
return ThumbnailViewport;
|
|
48177
48200
|
}(React.Component);
|
|
48178
48201
|
|
|
48179
|
-
defineProperty(ThumbnailViewport, "defaultProps", {
|
|
48180
|
-
availableTools: [{
|
|
48181
|
-
name: 'OrientationMarkers',
|
|
48182
|
-
props: {
|
|
48183
|
-
color: "yellow",
|
|
48184
|
-
paddingRight: isMobile$2 ? 5 : 3,
|
|
48185
|
-
paddingLeft: isMobile$2 ? 2 : 1,
|
|
48186
|
-
paddingBottom: isMobile$2 ? 6 : 2,
|
|
48187
|
-
paddingTop: 0,
|
|
48188
|
-
fontSize: isMobile$2 ? 9 : 11
|
|
48189
|
-
}
|
|
48190
|
-
}]
|
|
48191
|
-
});
|
|
48192
|
-
|
|
48193
48202
|
function _createSuper$1q(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1q(); 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); }; }
|
|
48194
48203
|
|
|
48195
48204
|
function _isNativeReflectConstruct$1q() { 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; } }
|
|
@@ -48197,7 +48206,8 @@ var isMobile$3 = ua.isDeviceTypeMobile();
|
|
|
48197
48206
|
|
|
48198
48207
|
var ThumbContent = function ThumbContent(props) {
|
|
48199
48208
|
var series = props.series,
|
|
48200
|
-
loaded = props.loaded
|
|
48209
|
+
loaded = props.loaded,
|
|
48210
|
+
hasAI = props.hasAI;
|
|
48201
48211
|
var loadedCount = loaded && loaded[series.seriesInstanceUID];
|
|
48202
48212
|
var totalCount = series && series.numberOfSeriesRelatedInstances;
|
|
48203
48213
|
var width = 0;
|
|
@@ -48225,7 +48235,9 @@ var ThumbContent = function ThumbContent(props) {
|
|
|
48225
48235
|
style: {
|
|
48226
48236
|
'width': "".concat(width * 100, "%")
|
|
48227
48237
|
}
|
|
48228
|
-
})), /*#__PURE__*/React__default.createElement(
|
|
48238
|
+
})), hasAI && /*#__PURE__*/React__default.createElement("div", {
|
|
48239
|
+
className: isMobile$3 ? "paladin-thumb-top paladin-thumb-top-mobile" : "paladin-thumb-top"
|
|
48240
|
+
}, "AI"), /*#__PURE__*/React__default.createElement(ThumbnailViewport, {
|
|
48229
48241
|
imageId: series.imageIds[0]
|
|
48230
48242
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
48231
48243
|
className: isMobile$3 ? "paladin-thumb-bottom paladin-thumb-bottom-mobile" : "paladin-thumb-bottom"
|
|
@@ -48311,7 +48323,8 @@ var DicomThumbnailLayout = /*#__PURE__*/function (_Component) {
|
|
|
48311
48323
|
var _this$props = this.props,
|
|
48312
48324
|
currentSeriesUID = _this$props.currentSeriesUID,
|
|
48313
48325
|
study = _this$props.study,
|
|
48314
|
-
loaded = _this$props.loaded
|
|
48326
|
+
loaded = _this$props.loaded,
|
|
48327
|
+
aiResult = _this$props.aiResult;
|
|
48315
48328
|
var _this$state2 = this.state,
|
|
48316
48329
|
currentStudy = _this$state2.currentStudy,
|
|
48317
48330
|
thumbnailLoaded = _this$state2.thumbnailLoaded;
|
|
@@ -48357,6 +48370,12 @@ var DicomThumbnailLayout = /*#__PURE__*/function (_Component) {
|
|
|
48357
48370
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
48358
48371
|
className: "paladin-flex"
|
|
48359
48372
|
}, studyItem.series && studyItem.series.map(function (series, i) {
|
|
48373
|
+
var hasAI = false;
|
|
48374
|
+
|
|
48375
|
+
if (aiResult && aiResult.seriesUID === series.seriesInstanceUID) {
|
|
48376
|
+
hasAI = true;
|
|
48377
|
+
}
|
|
48378
|
+
|
|
48360
48379
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
48361
48380
|
className: "paladin-thumb-context-wrapper",
|
|
48362
48381
|
style: {
|
|
@@ -48376,7 +48395,8 @@ var DicomThumbnailLayout = /*#__PURE__*/function (_Component) {
|
|
|
48376
48395
|
}, /*#__PURE__*/React__default.createElement(ThumbContent, {
|
|
48377
48396
|
series: series,
|
|
48378
48397
|
loaded: loaded,
|
|
48379
|
-
currentSeriesUID: currentSeriesUID
|
|
48398
|
+
currentSeriesUID: currentSeriesUID,
|
|
48399
|
+
hasAI: hasAI
|
|
48380
48400
|
})));
|
|
48381
48401
|
})))), /*#__PURE__*/React__default.createElement("div", {
|
|
48382
48402
|
className: "paladin-fresh-button paladin-flex-col",
|
|
@@ -48672,9 +48692,65 @@ var ViewportOverlay = /*#__PURE__*/function (_PureComponent) {
|
|
|
48672
48692
|
classCallCheck(this, ViewportOverlay);
|
|
48673
48693
|
|
|
48674
48694
|
_this = _super.call(this, props);
|
|
48695
|
+
|
|
48696
|
+
defineProperty(assertThisInitialized(_this), "getPatientNameData", function () {
|
|
48697
|
+
var _this$state = _this.state,
|
|
48698
|
+
dicom = _this$state.dicom,
|
|
48699
|
+
basicInfoFrom = _this$state.basicInfoFrom;
|
|
48700
|
+
var basicInfoFromStudy = _this.props.basicInfoFromStudy;
|
|
48701
|
+
|
|
48702
|
+
if (basicInfoFrom && basicInfoFrom === 'study' && basicInfoFromStudy && basicInfoFromStudy.name) {
|
|
48703
|
+
return basicInfoFromStudy.name;
|
|
48704
|
+
} else {
|
|
48705
|
+
return dicom.PatientName.toString();
|
|
48706
|
+
}
|
|
48707
|
+
});
|
|
48708
|
+
|
|
48709
|
+
defineProperty(assertThisInitialized(_this), "getPatientSexData", function () {
|
|
48710
|
+
var _this$state2 = _this.state,
|
|
48711
|
+
dicom = _this$state2.dicom,
|
|
48712
|
+
basicInfoFrom = _this$state2.basicInfoFrom;
|
|
48713
|
+
var basicInfoFromStudy = _this.props.basicInfoFromStudy;
|
|
48714
|
+
|
|
48715
|
+
if (basicInfoFrom && basicInfoFrom === 'study' && basicInfoFromStudy && basicInfoFromStudy.patientSex) {
|
|
48716
|
+
return basicInfoFromStudy.patientSex;
|
|
48717
|
+
} else {
|
|
48718
|
+
return dicom.PatientSex.toString();
|
|
48719
|
+
}
|
|
48720
|
+
});
|
|
48721
|
+
|
|
48722
|
+
defineProperty(assertThisInitialized(_this), "getPatientAgeData", function () {
|
|
48723
|
+
var _this$state3 = _this.state,
|
|
48724
|
+
dicom = _this$state3.dicom,
|
|
48725
|
+
basicInfoFrom = _this$state3.basicInfoFrom;
|
|
48726
|
+
var basicInfoFromStudy = _this.props.basicInfoFromStudy;
|
|
48727
|
+
|
|
48728
|
+
if (basicInfoFrom && basicInfoFrom === 'study' && basicInfoFromStudy && basicInfoFromStudy.patientAge) {
|
|
48729
|
+
return basicInfoFromStudy.patientAge;
|
|
48730
|
+
} else {
|
|
48731
|
+
return dicom.PatientAge.toString();
|
|
48732
|
+
}
|
|
48733
|
+
});
|
|
48734
|
+
|
|
48735
|
+
defineProperty(assertThisInitialized(_this), "getPatientIDData", function () {
|
|
48736
|
+
var _this$state4 = _this.state,
|
|
48737
|
+
dicom = _this$state4.dicom,
|
|
48738
|
+
basicInfoFrom = _this$state4.basicInfoFrom;
|
|
48739
|
+
var basicInfoFromStudy = _this.props.basicInfoFromStudy;
|
|
48740
|
+
|
|
48741
|
+
if (basicInfoFrom && basicInfoFrom === 'study' && basicInfoFromStudy && basicInfoFromStudy.patientID) {
|
|
48742
|
+
return basicInfoFromStudy.patientID;
|
|
48743
|
+
} else {
|
|
48744
|
+
return dicom.PatientID.toString();
|
|
48745
|
+
}
|
|
48746
|
+
});
|
|
48747
|
+
|
|
48748
|
+
var _basicInfoFrom = window.localStorage.getItem('hellfire-dicom-basic-info-from') || 'dicom';
|
|
48749
|
+
|
|
48675
48750
|
_this.state = {
|
|
48676
48751
|
dicom: null,
|
|
48677
|
-
fontSize: props.fontSize || 12
|
|
48752
|
+
fontSize: props.fontSize || 12,
|
|
48753
|
+
basicInfoFrom: _basicInfoFrom
|
|
48678
48754
|
};
|
|
48679
48755
|
return _this;
|
|
48680
48756
|
}
|
|
@@ -48772,9 +48848,9 @@ var ViewportOverlay = /*#__PURE__*/function (_PureComponent) {
|
|
|
48772
48848
|
return null;
|
|
48773
48849
|
}
|
|
48774
48850
|
|
|
48775
|
-
var _this$
|
|
48776
|
-
dicom = _this$
|
|
48777
|
-
fontSize = _this$
|
|
48851
|
+
var _this$state5 = this.state,
|
|
48852
|
+
dicom = _this$state5.dicom,
|
|
48853
|
+
fontSize = _this$state5.fontSize;
|
|
48778
48854
|
|
|
48779
48855
|
if (!dicom) {
|
|
48780
48856
|
return null;
|
|
@@ -48815,10 +48891,10 @@ var ViewportOverlay = /*#__PURE__*/function (_PureComponent) {
|
|
|
48815
48891
|
var institutionName = dicom.InstitutionName.toString();
|
|
48816
48892
|
var manufacturer = dicom.Manufacturer.toString();
|
|
48817
48893
|
var manufacturerModelName = dicom.ManufacturerModelName.toString();
|
|
48818
|
-
var patientName =
|
|
48819
|
-
var patientSex =
|
|
48820
|
-
var patientAge =
|
|
48821
|
-
var patientID =
|
|
48894
|
+
var patientName = this.getPatientNameData();
|
|
48895
|
+
var patientSex = this.getPatientSexData();
|
|
48896
|
+
var patientAge = this.getPatientAgeData();
|
|
48897
|
+
var patientID = this.getPatientIDData();
|
|
48822
48898
|
var bodyPartExamined = dicom.BodyPartExamined.toString();
|
|
48823
48899
|
var laterality = dicom.Laterality.toString() || dicom.ImageLaterality.toString() || ''; //左下
|
|
48824
48900
|
|
|
@@ -48909,31 +48985,31 @@ defineProperty(ViewportOverlay, "propTypes", {
|
|
|
48909
48985
|
var css_248z$w = ".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";
|
|
48910
48986
|
styleInject$1(css_248z$w);
|
|
48911
48987
|
|
|
48912
|
-
function _extends$
|
|
48988
|
+
function _extends$1q() { _extends$1q = 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$1q.apply(this, arguments); }
|
|
48913
48989
|
|
|
48914
|
-
var _ref$
|
|
48990
|
+
var _ref$1p = /*#__PURE__*/React__default.createElement("path", {
|
|
48915
48991
|
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"
|
|
48916
48992
|
});
|
|
48917
48993
|
|
|
48918
|
-
const SvgChevronUp = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
48994
|
+
const SvgChevronUp = props => /*#__PURE__*/React__default.createElement("svg", _extends$1q({
|
|
48919
48995
|
width: 32,
|
|
48920
48996
|
height: 32,
|
|
48921
48997
|
viewBox: "0 0 32 32",
|
|
48922
48998
|
fill: "currentColor"
|
|
48923
|
-
}, props), _ref$
|
|
48999
|
+
}, props), _ref$1p);
|
|
48924
49000
|
|
|
48925
|
-
function _extends$
|
|
49001
|
+
function _extends$1r() { _extends$1r = 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$1r.apply(this, arguments); }
|
|
48926
49002
|
|
|
48927
|
-
var _ref$
|
|
49003
|
+
var _ref$1q = /*#__PURE__*/React__default.createElement("path", {
|
|
48928
49004
|
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"
|
|
48929
49005
|
});
|
|
48930
49006
|
|
|
48931
|
-
const SvgChevronDown = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
49007
|
+
const SvgChevronDown = props => /*#__PURE__*/React__default.createElement("svg", _extends$1r({
|
|
48932
49008
|
width: 32,
|
|
48933
49009
|
height: 32,
|
|
48934
49010
|
viewBox: "0 0 32 32",
|
|
48935
49011
|
fill: "currentColor"
|
|
48936
|
-
}, props), _ref$
|
|
49012
|
+
}, props), _ref$1q);
|
|
48937
49013
|
|
|
48938
49014
|
var css_248z$x = ".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";
|
|
48939
49015
|
styleInject$1(css_248z$x);
|
|
@@ -50060,11 +50136,11 @@ function setToolsPassiveForElement(cornerstoneTools, tools, element) {
|
|
|
50060
50136
|
});
|
|
50061
50137
|
}
|
|
50062
50138
|
|
|
50063
|
-
function capitalizeFirstLetter
|
|
50139
|
+
function capitalizeFirstLetter(string) {
|
|
50064
50140
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
50065
50141
|
}
|
|
50066
50142
|
|
|
50067
|
-
function initializeTools
|
|
50143
|
+
function initializeTools(cornerstoneTools, tools, element) {
|
|
50068
50144
|
Array.from(tools).forEach(function (tool) {
|
|
50069
50145
|
var apiTool = cornerstoneTools["".concat(tool.name, "Tool")] || tool.apiTool;
|
|
50070
50146
|
|
|
@@ -50075,7 +50151,7 @@ function initializeTools$1(cornerstoneTools, tools, element) {
|
|
|
50075
50151
|
}
|
|
50076
50152
|
|
|
50077
50153
|
if (tool.mode) {
|
|
50078
|
-
cornerstoneTools["setTool".concat(capitalizeFirstLetter
|
|
50154
|
+
cornerstoneTools["setTool".concat(capitalizeFirstLetter(tool.mode), "ForElement")](element, tool.name);
|
|
50079
50155
|
}
|
|
50080
50156
|
});
|
|
50081
50157
|
}
|
|
@@ -50873,7 +50949,18 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
50873
50949
|
var _stack = lodash$1.cloneDeep(_props.stack); // 初始化的index
|
|
50874
50950
|
|
|
50875
50951
|
|
|
50876
|
-
_this.setCurrentImageIdIndex(_props, _stack);
|
|
50952
|
+
_this.setCurrentImageIdIndex(_props, _stack); // originStudy中提取basicInfoFromStudy 供四角信息
|
|
50953
|
+
|
|
50954
|
+
|
|
50955
|
+
var basicInfoFromStudy;
|
|
50956
|
+
|
|
50957
|
+
if (_this.props.originStudy) {
|
|
50958
|
+
var currentStudy = lodash$1.find(_this.props.originStudy, {
|
|
50959
|
+
studyInstanceUID: _stack.studyInstanceUID
|
|
50960
|
+
});
|
|
50961
|
+
|
|
50962
|
+
basicInfoFromStudy = lodash$1.pick(currentStudy, ['name', 'patientAge', 'patientSex', 'patientID']);
|
|
50963
|
+
}
|
|
50877
50964
|
|
|
50878
50965
|
_this.state = {
|
|
50879
50966
|
isLoading: false,
|
|
@@ -50887,7 +50974,8 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
50887
50974
|
//mpr模式的层厚倍数
|
|
50888
50975
|
forceRender: false,
|
|
50889
50976
|
aiTipInCustomScroll: null,
|
|
50890
|
-
centesisTipInCustomScroll: null
|
|
50977
|
+
centesisTipInCustomScroll: null,
|
|
50978
|
+
basicInfoFromStudy: basicInfoFromStudy
|
|
50891
50979
|
};
|
|
50892
50980
|
_this.onImageRendered = _this.onImageRendered.bind(assertThisInitialized(_this));
|
|
50893
50981
|
_this.onNewImage = _this.onNewImage.bind(assertThisInitialized(_this));
|
|
@@ -50927,7 +51015,8 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
50927
51015
|
aiTipInCustomScroll = _this$state.aiTipInCustomScroll,
|
|
50928
51016
|
centesisTipInCustomScroll = _this$state.centesisTipInCustomScroll,
|
|
50929
51017
|
stack = _this$state.stack,
|
|
50930
|
-
domError = _this$state.domError
|
|
51018
|
+
domError = _this$state.domError,
|
|
51019
|
+
basicInfoFromStudy = _this$state.basicInfoFromStudy;
|
|
50931
51020
|
var _this$props4 = this.props,
|
|
50932
51021
|
showCustomScroll = _this$props4.showCustomScroll,
|
|
50933
51022
|
mpr = _this$props4.mpr,
|
|
@@ -51003,6 +51092,7 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
51003
51092
|
viewport: viewport,
|
|
51004
51093
|
imageId: imageId,
|
|
51005
51094
|
stack: stack,
|
|
51095
|
+
basicInfoFromStudy: basicInfoFromStudy,
|
|
51006
51096
|
sliceThickness: sliceThickness,
|
|
51007
51097
|
cpr: CPR,
|
|
51008
51098
|
mpr: mpr
|
|
@@ -51500,7 +51590,7 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
51500
51590
|
|
|
51501
51591
|
this.addEventListener(); // 初始化工具
|
|
51502
51592
|
|
|
51503
|
-
initializeTools
|
|
51593
|
+
initializeTools(cornerstoneTools, this.availableTools, element);
|
|
51504
51594
|
|
|
51505
51595
|
if (this.props.mpr && this.props.mpr === ImagePlanDirection.CPR) {
|
|
51506
51596
|
return;
|
|
@@ -51781,7 +51871,8 @@ var mapStateToProps$m = function mapStateToProps(state) {
|
|
|
51781
51871
|
linkSynchronizer = _state$paladin$viewpo.linkSynchronizer,
|
|
51782
51872
|
linkImageModeSynchronizer = _state$paladin$viewpo.linkImageModeSynchronizer,
|
|
51783
51873
|
seriesCurrentIndex = _state$paladin$viewpo.seriesCurrentIndex,
|
|
51784
|
-
positionSynchronizer = _state$paladin$viewpo.positionSynchronizer
|
|
51874
|
+
positionSynchronizer = _state$paladin$viewpo.positionSynchronizer,
|
|
51875
|
+
originStudy = _state$paladin$viewpo.originStudy;
|
|
51785
51876
|
return {
|
|
51786
51877
|
activeTool: activeTool,
|
|
51787
51878
|
originActiveTool: originActiveTool,
|
|
@@ -51804,7 +51895,8 @@ var mapStateToProps$m = function mapStateToProps(state) {
|
|
|
51804
51895
|
ReferencePosition: ReferencePosition,
|
|
51805
51896
|
CPR: CPR,
|
|
51806
51897
|
referenceLineType: referenceLineType,
|
|
51807
|
-
keyImages: keyImages
|
|
51898
|
+
keyImages: keyImages,
|
|
51899
|
+
originStudy: originStudy
|
|
51808
51900
|
};
|
|
51809
51901
|
};
|
|
51810
51902
|
|
|
@@ -55060,52 +55152,52 @@ function studySeriesDataCheck (studies) {
|
|
|
55060
55152
|
var css_248z$F = ".paladin-film-tool {\n width: 220px;\n color: #c0c0c0;\n padding: 10px;\n font-size: 15px;\n}\n.paladin-film-tool .film-full-line {\n width: 100%;\n height: 1px;\n background: #777676;\n margin: 10px 0;\n}\n.paladin-film-tool .film-half-button,\n.paladin-film-tool .film-full-button {\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n height: 40px;\n border: 1px solid #1c1c1c;\n box-sizing: border-box;\n}\n.paladin-film-tool .film-half-button svg,\n.paladin-film-tool .film-full-button svg {\n width: 18px;\n height: 18px;\n margin-right: 6px;\n}\n.paladin-film-tool .film-half-button {\n width: 50%;\n}\n.paladin-film-tool .film-full-button {\n width: 100%;\n}\n.paladin-film-tool .film-template-box {\n display: flex;\n width: 100%;\n height: 40px;\n border: 1px solid #1c1c1c;\n box-sizing: border-box;\n}\n.paladin-film-tool .film-template-box div {\n display: flex;\n flex: 1;\n cursor: pointer;\n align-items: center;\n}\n.paladin-film-tool .film-template-box .template-add {\n flex: none;\n padding-left: 5px;\n padding-right: 7px;\n border-right: 1px solid #1c1c1c;\n height: 100%;\n}\n.paladin-film-tool .film-template-box .template-select {\n justify-content: center;\n}\n.paladin-film-tool .film-template-box .template-select svg {\n width: 18px;\n margin-left: 3px;\n}\n.paladin-film-tool .film-template-box .template-setting {\n height: 100%;\n width: 20px;\n flex: none;\n padding-left: 7px;\n padding-right: 5px;\n border-left: 1px solid #1c1c1c;\n}\n.paladin-film-tool .film-template-box .template-setting svg {\n width: 20px;\n}\n.paladin-film-tool .film-size-box {\n margin: 20px 0;\n display: flex;\n align-items: center;\n}\n.paladin-film-tool .film-size-box span {\n display: flex;\n flex: none;\n margin-right: 8px;\n}\n.paladin-film-tool .film-size-box .film-size-select {\n height: 40px;\n display: flex;\n flex: 1;\n align-items: center;\n justify-content: center;\n border: 1px solid #1c1c1c;\n box-sizing: border-box;\n}\n.paladin-film-tool .film-size-box button {\n border: none;\n width: 100%;\n height: 100%;\n background: #353535;\n color: #c0c0c0;\n font-size: 15px;\n}\n.paladin-film-tool .film-size-box svg {\n width: 20px;\n}\n.paladin-film-tool .g-rgl-grid {\n padding: 12px;\n}\n.paladin-dropdown-custom {\n z-index: 99;\n left: 50px !important;\n}\n.paladin-menu-custom {\n width: 180px;\n background: #000000;\n color: #c0c0c0;\n padding: 0;\n}\n.paladin-menu-custom li {\n text-align: center;\n list-style: none;\n border-bottom: 1px solid #4D4D4D;\n padding: 6px 0;\n cursor: pointer;\n}\n.paladin-menu-custom li:last-child {\n border-bottom: none;\n}\n.rc-dropdown-hidden {\n display: none;\n}\n.paladin-film-print-modal-wrapper {\n overflow: hidden;\n}\n.paladin-film-print-modal-wrapper .paladin-modal-header {\n color: #fff;\n font-weight: normal;\n font-size: 16px;\n border-bottom: 1px solid #484849;\n}\n.paladin-film-print-modal-wrapper .paladin-modal-footer {\n border: none;\n}\n";
|
|
55061
55153
|
styleInject$1(css_248z$F);
|
|
55062
55154
|
|
|
55063
|
-
function _extends$
|
|
55155
|
+
function _extends$1s() { _extends$1s = 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$1s.apply(this, arguments); }
|
|
55064
55156
|
|
|
55065
|
-
var _ref$
|
|
55157
|
+
var _ref$1r = /*#__PURE__*/React__default.createElement("path", {
|
|
55066
55158
|
"data-name": "\\u64A4\\u9500 \\u8FD4\\u56DE \\u64A4\\u56DE \\u4E0A\\u4E00\\u6B65",
|
|
55067
55159
|
d: "M10.16 3.407H1.851L4.34.921a.54.54 0 00-.764-.762L.159 3.572a.538.538 0 000 .763l3.417 3.413a.54.54 0 00.764-.763L1.884 4.534h8.276a3.377 3.377 0 110 6.753H2.844a.563.563 0 100 1.126h7.316a4.5 4.5 0 000-9z",
|
|
55068
55160
|
fill: "silver"
|
|
55069
55161
|
});
|
|
55070
55162
|
|
|
55071
|
-
const SvgFilmBack = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
55163
|
+
const SvgFilmBack = props => /*#__PURE__*/React__default.createElement("svg", _extends$1s({
|
|
55072
55164
|
width: 14.663,
|
|
55073
55165
|
height: 12.411,
|
|
55074
55166
|
viewBox: "0 0 14.663 12.411",
|
|
55075
55167
|
fill: "currentColor"
|
|
55076
|
-
}, props), _ref$
|
|
55168
|
+
}, props), _ref$1r);
|
|
55077
55169
|
|
|
55078
|
-
function _extends$
|
|
55170
|
+
function _extends$1t() { _extends$1t = 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$1t.apply(this, arguments); }
|
|
55079
55171
|
|
|
55080
|
-
var _ref$
|
|
55172
|
+
var _ref$1s = /*#__PURE__*/React__default.createElement("path", {
|
|
55081
55173
|
d: "M.006 0v4.388h4.486V0zm6.287 0v4.388h4.487V0zm6.358 0v4.388h4.489V0zM0 6.199v4.388h4.486V6.199zm6.287 0v4.388h4.486V6.199zm6.358 0v4.388h4.486V6.199zM0 12.369v4.389h4.486v-4.389zm6.287 0v4.389h4.486v-4.389zm6.358 0v4.389h4.486v-4.389z",
|
|
55082
55174
|
fill: "silver"
|
|
55083
55175
|
});
|
|
55084
55176
|
|
|
55085
|
-
const SvgFilmLayout = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
55177
|
+
const SvgFilmLayout = props => /*#__PURE__*/React__default.createElement("svg", _extends$1t({
|
|
55086
55178
|
width: 17.137,
|
|
55087
55179
|
height: 16.762,
|
|
55088
55180
|
viewBox: "0 0 17.137 16.762",
|
|
55089
55181
|
fill: "currentColor"
|
|
55090
|
-
}, props), _ref$
|
|
55182
|
+
}, props), _ref$1s);
|
|
55091
55183
|
|
|
55092
|
-
function _extends$
|
|
55184
|
+
function _extends$1u() { _extends$1u = 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$1u.apply(this, arguments); }
|
|
55093
55185
|
|
|
55094
|
-
var _ref$
|
|
55186
|
+
var _ref$1t = /*#__PURE__*/React__default.createElement("path", {
|
|
55095
55187
|
d: "M8.933 7.751a.842.842 0 01.842.842v2.022a.842.842 0 01-.842.842H3.878a.842.842 0 01-.842-.842V8.593a.842.842 0 01.842-.842zm.674-7.75a1.179 1.179 0 011.178 1.115V1.686h.168a1.853 1.853 0 011.852 1.779v5.129a1.853 1.853 0 01-1.779 1.852h-.243V8.593A1.853 1.853 0 008.93 6.74H3.875a1.853 1.853 0 00-1.853 1.853v1.853h-.168A1.853 1.853 0 01.001 8.667V3.538A1.853 1.853 0 011.78 1.686h.243v-.505A1.179 1.179 0 013.138.003h.065zm.674 3.707h-.674a.505.505 0 00-.049 1.009H10.281a.506.506 0 100-1.011zm-.674-2.7h-6.4a.169.169 0 00-.166.138v.535H9.78v-.505a.168.168 0 00-.138-.166z",
|
|
55096
55188
|
fill: "silver"
|
|
55097
55189
|
});
|
|
55098
55190
|
|
|
55099
|
-
const SvgPrint = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
55191
|
+
const SvgPrint = props => /*#__PURE__*/React__default.createElement("svg", _extends$1u({
|
|
55100
55192
|
width: 12.805,
|
|
55101
55193
|
height: 11.457,
|
|
55102
55194
|
viewBox: "0 0 12.805 11.457",
|
|
55103
55195
|
fill: "currentColor"
|
|
55104
|
-
}, props), _ref$
|
|
55196
|
+
}, props), _ref$1t);
|
|
55105
55197
|
|
|
55106
|
-
function _extends$
|
|
55198
|
+
function _extends$1v() { _extends$1v = 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$1v.apply(this, arguments); }
|
|
55107
55199
|
|
|
55108
|
-
var _ref$
|
|
55200
|
+
var _ref$1u = /*#__PURE__*/React__default.createElement("path", {
|
|
55109
55201
|
d: "M9.357 0a1.149 1.149 0 011.147 1.086V1.641h.164a1.806 1.806 0 011.8 1.733v5a1.806 1.806 0 01-1.733 1.8h-.237V8.368a1.806 1.806 0 00-1.806-1.806H3.767a1.806 1.806 0 00-1.806 1.806v1.806h-.164a1.806 1.806 0 01-1.8-1.733v-5a1.806 1.806 0 011.733-1.8h.237v-.492A1.149 1.149 0 013.053.002h.063zm.657 3.611h-.657a.492.492 0 00-.047.983H10.014a.492.492 0 100-.985zM9.357.984H3.119a.164.164 0 00-.162.135v.522h6.566v-.492a.164.164 0 00-.135-.162z",
|
|
55110
55202
|
fill: "silver"
|
|
55111
55203
|
});
|
|
@@ -55115,13 +55207,13 @@ var _ref2$g = /*#__PURE__*/React__default.createElement("path", {
|
|
|
55115
55207
|
fill: "silver"
|
|
55116
55208
|
});
|
|
55117
55209
|
|
|
55118
|
-
const SvgPrintSetting = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
55210
|
+
const SvgPrintSetting = props => /*#__PURE__*/React__default.createElement("svg", _extends$1v({
|
|
55119
55211
|
"data-name": "\\u7EC4 3872",
|
|
55120
55212
|
width: 12.476,
|
|
55121
55213
|
height: 12.949,
|
|
55122
55214
|
viewBox: "0 0 12.476 12.949",
|
|
55123
55215
|
fill: "currentColor"
|
|
55124
|
-
}, props), _ref$
|
|
55216
|
+
}, props), _ref$1u, _ref2$g);
|
|
55125
55217
|
|
|
55126
55218
|
function _createSuper$1C(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1C(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
|
|
55127
55219
|
|
|
@@ -55611,7 +55703,7 @@ module.exports = { "default": assign, __esModule: true };
|
|
|
55611
55703
|
|
|
55612
55704
|
unwrapExports(assign$1);
|
|
55613
55705
|
|
|
55614
|
-
var _extends$
|
|
55706
|
+
var _extends$1w = createCommonjsModule(function (module, exports) {
|
|
55615
55707
|
|
|
55616
55708
|
exports.__esModule = true;
|
|
55617
55709
|
|
|
@@ -55636,7 +55728,7 @@ exports.default = _assign2.default || function (target) {
|
|
|
55636
55728
|
};
|
|
55637
55729
|
});
|
|
55638
55730
|
|
|
55639
|
-
var _extends$
|
|
55731
|
+
var _extends$1x = unwrapExports(_extends$1w);
|
|
55640
55732
|
|
|
55641
55733
|
/*
|
|
55642
55734
|
object-assign
|
|
@@ -57527,7 +57619,7 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
57527
57619
|
}());
|
|
57528
57620
|
});
|
|
57529
57621
|
|
|
57530
|
-
var _extends$
|
|
57622
|
+
var _extends$1y = 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; };
|
|
57531
57623
|
|
|
57532
57624
|
var _typeof$1 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
|
|
57533
57625
|
|
|
@@ -57901,7 +57993,7 @@ function setOffset(elem, offset) {
|
|
|
57901
57993
|
css$1(elem, ret);
|
|
57902
57994
|
}
|
|
57903
57995
|
|
|
57904
|
-
var util = _extends$
|
|
57996
|
+
var util = _extends$1y({
|
|
57905
57997
|
getWindow: function getWindow(node) {
|
|
57906
57998
|
var doc = node.ownerDocument || node;
|
|
57907
57999
|
return doc.defaultView || doc.parentWindow;
|
|
@@ -58168,7 +58260,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
58168
58260
|
|
|
58169
58261
|
|
|
58170
58262
|
|
|
58171
|
-
var _extends3 = _interopRequireDefault(_extends$
|
|
58263
|
+
var _extends3 = _interopRequireDefault(_extends$1w);
|
|
58172
58264
|
|
|
58173
58265
|
|
|
58174
58266
|
|
|
@@ -58226,7 +58318,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
58226
58318
|
|
|
58227
58319
|
|
|
58228
58320
|
|
|
58229
|
-
var _extends3 = _interopRequireDefault(_extends$
|
|
58321
|
+
var _extends3 = _interopRequireDefault(_extends$1w);
|
|
58230
58322
|
|
|
58231
58323
|
|
|
58232
58324
|
|
|
@@ -58560,7 +58652,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
58560
58652
|
|
|
58561
58653
|
|
|
58562
58654
|
|
|
58563
|
-
var _extends3 = _interopRequireDefault(_extends$
|
|
58655
|
+
var _extends3 = _interopRequireDefault(_extends$1w);
|
|
58564
58656
|
|
|
58565
58657
|
|
|
58566
58658
|
|
|
@@ -60405,7 +60497,7 @@ function isPointsEq(a1, a2, isAlignPoint) {
|
|
|
60405
60497
|
|
|
60406
60498
|
function getAlignFromPlacement(builtinPlacements, placementStr, align) {
|
|
60407
60499
|
var baseAlign = builtinPlacements[placementStr] || {};
|
|
60408
|
-
return _extends$
|
|
60500
|
+
return _extends$1x({}, baseAlign, align);
|
|
60409
60501
|
}
|
|
60410
60502
|
|
|
60411
60503
|
function getAlignPopupClassName(builtinPlacements, prefixCls, align, isAlignPoint) {
|
|
@@ -62974,7 +63066,7 @@ var Animate = function (_React$Component) {
|
|
|
62974
63066
|
if (Component) {
|
|
62975
63067
|
var passedProps = props;
|
|
62976
63068
|
if (typeof Component === 'string') {
|
|
62977
|
-
passedProps = _extends$
|
|
63069
|
+
passedProps = _extends$1x({
|
|
62978
63070
|
className: props.className,
|
|
62979
63071
|
style: props.style
|
|
62980
63072
|
}, props.componentProps);
|
|
@@ -63327,7 +63419,7 @@ var Popup = function (_Component) {
|
|
|
63327
63419
|
}
|
|
63328
63420
|
}
|
|
63329
63421
|
|
|
63330
|
-
var newStyle = _extends$
|
|
63422
|
+
var newStyle = _extends$1x({}, sizeStyle, style, this.getZIndexStyle());
|
|
63331
63423
|
|
|
63332
63424
|
var popupInnerProps = {
|
|
63333
63425
|
className: className,
|
|
@@ -63360,7 +63452,7 @@ var Popup = function (_Component) {
|
|
|
63360
63452
|
},
|
|
63361
63453
|
React__default.createElement(
|
|
63362
63454
|
PopupInner,
|
|
63363
|
-
_extends$
|
|
63455
|
+
_extends$1x({
|
|
63364
63456
|
visible: true
|
|
63365
63457
|
}, popupInnerProps),
|
|
63366
63458
|
children
|
|
@@ -63393,7 +63485,7 @@ var Popup = function (_Component) {
|
|
|
63393
63485
|
},
|
|
63394
63486
|
React__default.createElement(
|
|
63395
63487
|
PopupInner,
|
|
63396
|
-
_extends$
|
|
63488
|
+
_extends$1x({
|
|
63397
63489
|
hiddenClassName: hiddenClassName
|
|
63398
63490
|
}, popupInnerProps),
|
|
63399
63491
|
children
|
|
@@ -64181,7 +64273,7 @@ var _initialiseProps$2 = function _initialiseProps() {
|
|
|
64181
64273
|
|
|
64182
64274
|
return React__default.createElement(
|
|
64183
64275
|
Popup,
|
|
64184
|
-
_extends$
|
|
64276
|
+
_extends$1x({
|
|
64185
64277
|
prefixCls: prefixCls,
|
|
64186
64278
|
destroyPopupOnHide: destroyPopupOnHide,
|
|
64187
64279
|
visible: popupVisible,
|
|
@@ -64260,7 +64352,7 @@ var _typeof3 = _interopRequireDefault(_typeof_1$1);
|
|
|
64260
64352
|
|
|
64261
64353
|
|
|
64262
64354
|
|
|
64263
|
-
var _extends3 = _interopRequireDefault(_extends$
|
|
64355
|
+
var _extends3 = _interopRequireDefault(_extends$1w);
|
|
64264
64356
|
|
|
64265
64357
|
|
|
64266
64358
|
|
|
@@ -64425,7 +64517,7 @@ var _defineProperty3 = _interopRequireDefault(defineProperty$6);
|
|
|
64425
64517
|
|
|
64426
64518
|
|
|
64427
64519
|
|
|
64428
|
-
var _extends3 = _interopRequireDefault(_extends$
|
|
64520
|
+
var _extends3 = _interopRequireDefault(_extends$1w);
|
|
64429
64521
|
|
|
64430
64522
|
|
|
64431
64523
|
|
|
@@ -64868,7 +64960,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
64868
64960
|
|
|
64869
64961
|
|
|
64870
64962
|
|
|
64871
|
-
var _extends3 = _interopRequireDefault(_extends$
|
|
64963
|
+
var _extends3 = _interopRequireDefault(_extends$1w);
|
|
64872
64964
|
|
|
64873
64965
|
|
|
64874
64966
|
|
|
@@ -65513,18 +65605,18 @@ var FilmToolVerticalMode = /*#__PURE__*/function (_Component) {
|
|
|
65513
65605
|
var css_248z$H = ".paladin-film-print-modal table {\n width: 100%;\n border-collapse: collapse;\n border-spacing: 0;\n border: 1px solid #525253;\n border-bottom: none;\n}\n.paladin-film-print-modal table svg {\n width: 20px;\n}\n.paladin-film-print-modal table tr {\n height: 54px;\n margin-left: 30px;\n border-bottom: 1px solid #525253;\n}\n.paladin-film-print-modal table tr .th-1 {\n width: 3%;\n}\n.paladin-film-print-modal table tr .th-2 {\n width: 18%;\n}\n.paladin-film-print-modal table tr .th-3 {\n width: 13%;\n}\n.paladin-film-print-modal table tr .th-4 {\n width: 19%;\n}\n.paladin-film-print-modal table tr .th-5 {\n width: 15%;\n}\n.paladin-film-print-modal table tr .th-6 {\n width: 12%;\n}\n.paladin-film-print-modal table tr .th-7 {\n width: 16%;\n}\n.paladin-film-print-modal table tr th {\n background: #404041;\n}\n.paladin-film-print-modal table tr th,\n.paladin-film-print-modal table tr td {\n text-align: left;\n font-weight: normal;\n font-size: 14px;\n word-wrap: break-word;\n word-break: break-all;\n}\n.paladin-film-print-modal table tr th button,\n.paladin-film-print-modal table tr td button {\n border: none;\n background: transparent;\n color: #3C7EFF;\n}\n.paladin-film-print-modal .print-modal-top {\n margin-bottom: 24px;\n margin-top: 5px;\n}\n.paladin-film-print-modal .print-modal-top button {\n background: #3C7EFF;\n}\n.paladin-film-print-modal .printer-config-add-title {\n color: #3C7EFF;\n margin-left: 30px;\n}\n.paladin-film-print-modal .printer-config-form {\n margin-top: 20px;\n}\n.paladin-film-print-modal .printer-config-form .paladin-ipt {\n color: #ccc;\n border: 1px solid rgba(255, 255, 255, 0.2);\n}\n.paladin-film-print-modal .printer-config-form .paladin-row {\n margin-bottom: 18px;\n}\n.paladin-film-print-modal .printer-config-form .paladin-col {\n padding-right: 20px;\n}\n.paladin-film-print-modal .printer-config-form .paladin-col-xs-2 {\n justify-content: center;\n align-items: end;\n}\n.paladin-film-print-modal .printer-config-form .printer-config-form-radio .paladin-ipt {\n width: 20px;\n}\n.paladin-film-print-modal .film-box {\n display: flex;\n align-items: center;\n}\n.paladin-film-print-modal .film-box span {\n display: flex;\n flex: none;\n width: 100px;\n}\n.paladin-film-print-modal .film-box .film-select {\n cursor: pointer;\n width: 200px;\n height: 40px;\n display: flex;\n position: relative;\n align-items: center;\n justify-content: center;\n background: #1f1f1f;\n border: 1px solid rgba(255, 255, 255, 0.2);\n}\n.paladin-film-print-modal .film-box button {\n border: none;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n background: #1f1f1f;\n color: #c0c0c0;\n font-size: 15px;\n}\n.paladin-film-print-modal .film-box svg {\n width: 20px;\n position: absolute;\n right: 5px;\n top: 0;\n}\n.paladin-film-print-modal .film-printer-info {\n margin-left: 100px;\n color: #A4A4A4;\n}\n.paladin-film-print-modal .film-printer-info p {\n margin-top: 15px;\n}\n.paladin-film-print-modal .paladin-menu-custom {\n width: 200px;\n background: #000000;\n color: #c0c0c0;\n padding: 0;\n margin: 0;\n}\n.paladin-film-print-modal .paladin-menu-custom li {\n text-align: center;\n list-style: none;\n border-bottom: 1px solid #4D4D4D;\n padding: 6px 0;\n cursor: pointer;\n}\n.paladin-film-print-modal .paladin-menu-custom li:last-child {\n border-bottom: none;\n}\n.paladin-film-print-modal .film-button-select {\n height: 36px;\n}\n.paladin-film-print-modal .film-button-select .paladin-col {\n justify-content: center;\n}\n.paladin-film-print-modal .film-button-select-item {\n cursor: pointer;\n display: flex;\n flex: 1;\n align-items: center;\n justify-content: center;\n height: 36px;\n border: 1px solid #555555;\n border-right: none;\n}\n.paladin-film-print-modal .film-button-select-item:last-child {\n border-right: 1px solid #555555;\n}\n.paladin-film-print-modal .film-button-select-item-active {\n background: #3C7EFF;\n color: #fff;\n}\n.paladin-film-print-modal .print-modal-bottom {\n margin-top: 30px;\n text-align: right;\n}\n.paladin-film-print-modal .print-modal-bottom .paladin-default {\n background: #454545;\n border: 1px solid #707070;\n color: rgba(255, 255, 255, 0.9);\n}\n.paladin-film-print-modal .print-modal-bottom .paladin-primary {\n background: #3C7EFF;\n}\n";
|
|
65514
65606
|
styleInject$1(css_248z$H);
|
|
65515
65607
|
|
|
65516
|
-
function _extends$
|
|
65608
|
+
function _extends$1z() { _extends$1z = 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$1z.apply(this, arguments); }
|
|
65517
65609
|
|
|
65518
|
-
var _ref$
|
|
65610
|
+
var _ref$1v = /*#__PURE__*/React__default.createElement("path", {
|
|
65519
65611
|
d: "M29.839 10.107q0 .714-.5 1.214L13.982 26.678q-.5.5-1.214.5t-1.214-.5l-8.893-8.893q-.5-.5-.5-1.214t.5-1.214l2.429-2.429q.5-.5 1.214-.5t1.214.5l5.25 5.268L24.482 6.464q.5-.5 1.214-.5t1.214.5l2.429 2.429q.5.5.5 1.214z"
|
|
65520
65612
|
});
|
|
65521
65613
|
|
|
65522
|
-
const SvgOk = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
65614
|
+
const SvgOk = props => /*#__PURE__*/React__default.createElement("svg", _extends$1z({
|
|
65523
65615
|
width: 32,
|
|
65524
65616
|
height: 32,
|
|
65525
65617
|
viewBox: "0 0 32 32",
|
|
65526
65618
|
fill: "currentColor"
|
|
65527
|
-
}, props), _ref$
|
|
65619
|
+
}, props), _ref$1v);
|
|
65528
65620
|
|
|
65529
65621
|
function ownKeys$Y(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
65530
65622
|
|
|
@@ -66707,19 +66799,19 @@ var drawRightBottom = function drawRightBottom(dicom, ctx, width, height, viewpo
|
|
|
66707
66799
|
ctx.fillText("W: ".concat(windowWidth.toFixed(0)), contentX, contentY);
|
|
66708
66800
|
};
|
|
66709
66801
|
|
|
66710
|
-
function _extends$
|
|
66802
|
+
function _extends$1A() { _extends$1A = 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$1A.apply(this, arguments); }
|
|
66711
66803
|
|
|
66712
|
-
var _ref$
|
|
66804
|
+
var _ref$1w = /*#__PURE__*/React__default.createElement("path", {
|
|
66713
66805
|
d: "M185.884 327.55L146.3 367.133l365.721 365.646L877.7 367.133l-39.583-39.583-326.12 326.126z"
|
|
66714
66806
|
});
|
|
66715
66807
|
|
|
66716
|
-
const SvgDown = props => /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
66808
|
+
const SvgDown = props => /*#__PURE__*/React__default.createElement("svg", _extends$1A({
|
|
66717
66809
|
className: "down_svg__icon",
|
|
66718
66810
|
viewBox: "0 0 1024 1024",
|
|
66719
66811
|
width: 200,
|
|
66720
66812
|
height: 200,
|
|
66721
66813
|
fill: "currentColor"
|
|
66722
|
-
}, props), _ref$
|
|
66814
|
+
}, props), _ref$1w);
|
|
66723
66815
|
|
|
66724
66816
|
function ownKeys$_(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; }
|
|
66725
66817
|
|
|
@@ -67292,7 +67384,7 @@ function _createSuper$1K(Derived) { var hasNativeReflectConstruct = _isNativeRef
|
|
|
67292
67384
|
function _isNativeReflectConstruct$1K() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
67293
67385
|
var loadIndicatorDelay$2 = 300;
|
|
67294
67386
|
|
|
67295
|
-
function capitalizeFirstLetter$
|
|
67387
|
+
function capitalizeFirstLetter$1(string) {
|
|
67296
67388
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
67297
67389
|
}
|
|
67298
67390
|
|
|
@@ -67302,7 +67394,7 @@ function setToolsPassiveForElement$1(cornerstoneTools, tools, element) {
|
|
|
67302
67394
|
});
|
|
67303
67395
|
}
|
|
67304
67396
|
|
|
67305
|
-
function initializeTools$
|
|
67397
|
+
function initializeTools$1(cornerstoneTools, tools, element) {
|
|
67306
67398
|
Array.from(tools).forEach(function (tool) {
|
|
67307
67399
|
var apiTool = cornerstoneTools["".concat(tool.name, "Tool")] || tool.apiTool;
|
|
67308
67400
|
|
|
@@ -67313,7 +67405,7 @@ function initializeTools$2(cornerstoneTools, tools, element) {
|
|
|
67313
67405
|
}
|
|
67314
67406
|
|
|
67315
67407
|
if (tool.mode) {
|
|
67316
|
-
cornerstoneTools["setTool".concat(capitalizeFirstLetter$
|
|
67408
|
+
cornerstoneTools["setTool".concat(capitalizeFirstLetter$1(tool.mode), "ForElement")](element, tool.name);
|
|
67317
67409
|
}
|
|
67318
67410
|
});
|
|
67319
67411
|
}
|
|
@@ -67520,7 +67612,7 @@ var FilmViewport = /*#__PURE__*/function (_Component) {
|
|
|
67520
67612
|
var element = this.element;
|
|
67521
67613
|
cornerstone.enable(element, {});
|
|
67522
67614
|
this.addEventListener();
|
|
67523
|
-
initializeTools$
|
|
67615
|
+
initializeTools$1(cornerstoneTools, this.props.availableTools, element);
|
|
67524
67616
|
this.loadImage();
|
|
67525
67617
|
unusedSynchronizer.add(this.element);
|
|
67526
67618
|
}
|
|
@@ -68644,7 +68736,8 @@ var DicomView = /*#__PURE__*/function (_Component) {
|
|
|
68644
68736
|
className: "paladin-dicomView-dicomThumbnailWrapper"
|
|
68645
68737
|
}, /*#__PURE__*/React__default.createElement(ConnectedDicomThumbnail, {
|
|
68646
68738
|
study: originStudy,
|
|
68647
|
-
onRefresh: onRefresh
|
|
68739
|
+
onRefresh: onRefresh,
|
|
68740
|
+
aiResult: this.props.aiResult
|
|
68648
68741
|
}));
|
|
68649
68742
|
var GlobalLoading = /*#__PURE__*/React__default.createElement("div", {
|
|
68650
68743
|
className: "paladin-global-loading"
|