@bit-sun/business-component 2.2.21 → 2.2.22
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/dist/index.esm.js
CHANGED
|
@@ -15076,6 +15076,7 @@ function getStorageVale(storageKeyString) {
|
|
|
15076
15076
|
return "";
|
|
15077
15077
|
}
|
|
15078
15078
|
|
|
15079
|
+
var _excluded$5 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
|
|
15079
15080
|
var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
15080
15081
|
var _useState = useState([]),
|
|
15081
15082
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -15108,13 +15109,14 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15108
15109
|
_props$allowClear = props.allowClear,
|
|
15109
15110
|
allowClear = _props$allowClear === void 0 ? true : _props$allowClear,
|
|
15110
15111
|
_props$showCheckedStr = props.showCheckedStrategy,
|
|
15111
|
-
showCheckedStrategy = _props$showCheckedStr === void 0 ? TreeSelect.SHOW_PARENT : _props$showCheckedStr,
|
|
15112
|
+
showCheckedStrategy = _props$showCheckedStr === void 0 ? (props === null || props === void 0 ? void 0 : props.treeCheckStrictly) ? TreeSelect.SHOW_ALL : TreeSelect.SHOW_PARENT : _props$showCheckedStr,
|
|
15112
15113
|
_props$style = props.style,
|
|
15113
15114
|
style = _props$style === void 0 ? {
|
|
15114
15115
|
width: '100%'
|
|
15115
15116
|
} : _props$style,
|
|
15116
15117
|
getTreeData = props.getTreeData,
|
|
15117
|
-
disabled = props.disabled
|
|
15118
|
+
disabled = props.disabled,
|
|
15119
|
+
restProps = _objectWithoutProperties(props, _excluded$5);
|
|
15118
15120
|
var url = remoteSource.url,
|
|
15119
15121
|
_remoteSource$paramsK = remoteSource.paramsKey,
|
|
15120
15122
|
paramsKey = _remoteSource$paramsK === void 0 ? 'qp-name-like' : _remoteSource$paramsK,
|
|
@@ -15199,7 +15201,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15199
15201
|
};
|
|
15200
15202
|
var formatData = function formatData(value) {
|
|
15201
15203
|
if (labelInValue) {
|
|
15202
|
-
var formatResult = multiple ? value.map(function (i) {
|
|
15204
|
+
var formatResult = multiple || treeCheckable ? value.map(function (i) {
|
|
15203
15205
|
return _objectSpread2(_objectSpread2({}, i), {}, {
|
|
15204
15206
|
key: i.value
|
|
15205
15207
|
});
|
|
@@ -15208,9 +15210,9 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15208
15210
|
});
|
|
15209
15211
|
return formatResult;
|
|
15210
15212
|
} else {
|
|
15211
|
-
var _formatResult = multiple ? value.map(function (i) {
|
|
15213
|
+
var _formatResult = multiple || treeCheckable ? value.map(function (i) {
|
|
15212
15214
|
return (i === null || i === void 0 ? void 0 : i.value) || i;
|
|
15213
|
-
}) : _.get(value[0], 'value') || value;
|
|
15215
|
+
}) : _.get(value === null || value === void 0 ? void 0 : value[0], 'value') || value;
|
|
15214
15216
|
return _formatResult;
|
|
15215
15217
|
}
|
|
15216
15218
|
};
|
|
@@ -15257,7 +15259,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15257
15259
|
};
|
|
15258
15260
|
return /*#__PURE__*/React.createElement("div", {
|
|
15259
15261
|
className: 'tree_search_select'
|
|
15260
|
-
}, /*#__PURE__*/React.createElement(TreeSelect, {
|
|
15262
|
+
}, /*#__PURE__*/React.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
15261
15263
|
treeCheckable: treeCheckable,
|
|
15262
15264
|
maxTagCount: maxTagCount,
|
|
15263
15265
|
showSearch: showSearch,
|
|
@@ -15283,7 +15285,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15283
15285
|
getPopupContainer: function getPopupContainer() {
|
|
15284
15286
|
return _getPopupContainer && _getPopupContainer() || document.body;
|
|
15285
15287
|
}
|
|
15286
|
-
}));
|
|
15288
|
+
})));
|
|
15287
15289
|
};
|
|
15288
15290
|
|
|
15289
15291
|
var handleDefaultProps = function handleDefaultProps(type) {
|
|
@@ -15429,11 +15431,11 @@ var arrow_top = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3
|
|
|
15429
15431
|
var css_248z$9 = ".form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.white-card.bitsun-form-card-class .ant-card-body {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.bitsun-form-card-class > .ant-card-body {\n margin-bottom: 10px;\n}\n.bitsun-form-card-class .ant-card-head {\n border: 0px;\n padding: 0px;\n height: 48px;\n}\n.bitsun-form-card-class .ant-card-body {\n padding: 12px 0 0;\n margin-top: -4px;\n background-color: #F3F3F3;\n}\n.bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 14px;\n color: #000000;\n font-weight: 600;\n font-family: PingFangSC;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n border-bottom: 1px solid #F0F0F0;\n border-radius: 4px 4px 0 0;\n}\n.bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #005CFF;\n height: 20px;\n margin-right: 16px;\n}\n.field-group-hidden .ant-card-body {\n display: none !important;\n}\n";
|
|
15430
15432
|
styleInject(css_248z$9);
|
|
15431
15433
|
|
|
15432
|
-
var _excluded$
|
|
15434
|
+
var _excluded$6 = ["children"],
|
|
15433
15435
|
_excluded2$2 = ["children"];
|
|
15434
15436
|
var Field = function Field(_ref) {
|
|
15435
15437
|
var children = _ref.children,
|
|
15436
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15438
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
15437
15439
|
var _React$useState = React.useState(true),
|
|
15438
15440
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
15439
15441
|
fieldGroupVisible = _React$useState2[0],
|
|
@@ -15568,7 +15570,7 @@ var ExportIcon = function ExportIcon(_ref) {
|
|
|
15568
15570
|
var css_248z$a = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 10px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper div.ant-modal-header {\n width: 820px;\n height: 64px;\n background: #ffffff;\n padding: 20px;\n border: 0px;\n}\n.sort_table_wrapper div.ant-modal-header div.ant-modal-title {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 24px;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 0 20px !important;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 32px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n height: 70px;\n border: 0;\n padding: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 34px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn:first-child {\n margin-right: 524px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 36px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 36px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 115px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 34px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.global_tab_nav_style {\n top: 2px !important;\n}\n.row-dragging {\n background: #fafafa;\n border: 1px solid #ccc;\n z-index: 10000;\n}\n.row-dragging td {\n padding: 7px 16px;\n display: none;\n}\n.row-dragging td:first-child {\n display: inline-block;\n}\n.row-dragging .drag-visible {\n visibility: visible;\n}\n";
|
|
15569
15571
|
styleInject(css_248z$a);
|
|
15570
15572
|
|
|
15571
|
-
var _excluded$
|
|
15573
|
+
var _excluded$7 = ["className", "style"];
|
|
15572
15574
|
var Search$1 = Input.Search;
|
|
15573
15575
|
var DragHandle$1 = SortableHandle(function () {
|
|
15574
15576
|
return /*#__PURE__*/React.createElement("img", {
|
|
@@ -15935,7 +15937,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
15935
15937
|
_this.DraggableBodyRow = function (_ref2) {
|
|
15936
15938
|
var className = _ref2.className,
|
|
15937
15939
|
style = _ref2.style,
|
|
15938
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
15940
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$7);
|
|
15939
15941
|
var sortDataSource = _this.state.sortDataSource;
|
|
15940
15942
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
15941
15943
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -16202,7 +16204,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16202
16204
|
return SortableTable;
|
|
16203
16205
|
}(React.Component);
|
|
16204
16206
|
|
|
16205
|
-
var _excluded$
|
|
16207
|
+
var _excluded$8 = ["onResize", "width"],
|
|
16206
16208
|
_excluded2$3 = ["style", "columns", "tableCode", "summary", "dynamicColumns", "scroll"];
|
|
16207
16209
|
var Text = Typography.Text;
|
|
16208
16210
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -16315,7 +16317,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16315
16317
|
_this.ResizeableTitle = function (props) {
|
|
16316
16318
|
var onResize = props.onResize,
|
|
16317
16319
|
width = props.width,
|
|
16318
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16320
|
+
restProps = _objectWithoutProperties(props, _excluded$8);
|
|
16319
16321
|
if (!width) {
|
|
16320
16322
|
return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
|
|
16321
16323
|
}
|
|
@@ -16447,7 +16449,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16447
16449
|
return ColumnSettingSulaTable;
|
|
16448
16450
|
}(React.Component);
|
|
16449
16451
|
|
|
16450
|
-
var _excluded$
|
|
16452
|
+
var _excluded$9 = ["onResize", "width"],
|
|
16451
16453
|
_excluded2$4 = ["columns", "tableCode", "summary", "dynamicColumns", "scroll"];
|
|
16452
16454
|
var Text$1 = Typography.Text;
|
|
16453
16455
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -16559,7 +16561,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16559
16561
|
_this.ResizeableTitle = function (props) {
|
|
16560
16562
|
var onResize = props.onResize,
|
|
16561
16563
|
width = props.width,
|
|
16562
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16564
|
+
restProps = _objectWithoutProperties(props, _excluded$9);
|
|
16563
16565
|
if (!width) {
|
|
16564
16566
|
return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
|
|
16565
16567
|
}
|
|
@@ -16769,12 +16771,12 @@ var moreIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D
|
|
|
16769
16771
|
var css_248z$c = "";
|
|
16770
16772
|
styleInject(css_248z$c);
|
|
16771
16773
|
|
|
16772
|
-
var _excluded$
|
|
16774
|
+
var _excluded$a = ["message", "type"];
|
|
16773
16775
|
var CommonAlert = (function (props) {
|
|
16774
16776
|
var message = props.message,
|
|
16775
16777
|
_props$type = props.type,
|
|
16776
16778
|
type = _props$type === void 0 ? 'info' : _props$type,
|
|
16777
|
-
reset = _objectWithoutProperties(props, _excluded$
|
|
16779
|
+
reset = _objectWithoutProperties(props, _excluded$a);
|
|
16778
16780
|
return /*#__PURE__*/React.createElement("div", {
|
|
16779
16781
|
style: {
|
|
16780
16782
|
width: '100%',
|
|
@@ -16795,7 +16797,7 @@ var CommonAlert = (function (props) {
|
|
|
16795
16797
|
}, reset)));
|
|
16796
16798
|
});
|
|
16797
16799
|
|
|
16798
|
-
var _excluded$
|
|
16800
|
+
var _excluded$b = ["children"];
|
|
16799
16801
|
var iconMap = {
|
|
16800
16802
|
edit: /*#__PURE__*/React.createElement("img", {
|
|
16801
16803
|
src: editIcon
|
|
@@ -16817,7 +16819,7 @@ var index$3 = (function (props) {
|
|
|
16817
16819
|
_useState2 = _slicedToArray(_useState, 1),
|
|
16818
16820
|
id = _useState2[0];
|
|
16819
16821
|
var children = props.children,
|
|
16820
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16822
|
+
restProps = _objectWithoutProperties(props, _excluded$b);
|
|
16821
16823
|
return /*#__PURE__*/React.createElement("div", {
|
|
16822
16824
|
id: id,
|
|
16823
16825
|
className: 'detail_page_wrapper'
|
|
@@ -17026,7 +17028,7 @@ var DetailWrapper = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
17026
17028
|
var css_248z$d = ".home_page_head {\n height: 54px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 0 20px;\n}\n.home_page_head .home_page_title {\n height: 20px;\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n flex-grow: 1;\n margin-top: 2px;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n";
|
|
17027
17029
|
styleInject(css_248z$d);
|
|
17028
17030
|
|
|
17029
|
-
var _excluded$
|
|
17031
|
+
var _excluded$c = ["children"];
|
|
17030
17032
|
var index$4 = (function (props) {
|
|
17031
17033
|
var _useLocation = useLocation(),
|
|
17032
17034
|
pathname = _useLocation.pathname;
|
|
@@ -17034,7 +17036,7 @@ var index$4 = (function (props) {
|
|
|
17034
17036
|
_useState2 = _slicedToArray(_useState, 1),
|
|
17035
17037
|
id = _useState2[0];
|
|
17036
17038
|
var children = props.children,
|
|
17037
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
17039
|
+
restProps = _objectWithoutProperties(props, _excluded$c);
|
|
17038
17040
|
return /*#__PURE__*/React.createElement("div", {
|
|
17039
17041
|
id: id,
|
|
17040
17042
|
className: 'home_page_wrapper'
|
|
@@ -17137,7 +17139,7 @@ var HeaderWrapper = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
17137
17139
|
var css_248z$e = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 10px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper div.ant-modal-header {\n width: 820px;\n height: 64px;\n background: #ffffff;\n padding: 20px;\n border: 0px;\n}\n.sort_table_wrapper div.ant-modal-header div.ant-modal-title {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 24px;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 0 20px !important;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 32px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n height: 70px;\n border: 0;\n padding: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 34px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn:first-child {\n margin-right: 524px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 36px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 36px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 115px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 34px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n";
|
|
17138
17140
|
styleInject(css_248z$e);
|
|
17139
17141
|
|
|
17140
|
-
var _excluded$
|
|
17142
|
+
var _excluded$d = ["className", "style"];
|
|
17141
17143
|
var DragHandle$2 = SortableHandle(function () {
|
|
17142
17144
|
return /*#__PURE__*/React.createElement("img", {
|
|
17143
17145
|
src: drag
|
|
@@ -17524,7 +17526,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17524
17526
|
_this.DraggableBodyRow = function (_ref2) {
|
|
17525
17527
|
var className = _ref2.className,
|
|
17526
17528
|
style = _ref2.style,
|
|
17527
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
17529
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$d);
|
|
17528
17530
|
var sortDataSource = _this.state.sortDataSource;
|
|
17529
17531
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
17530
17532
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -17829,7 +17831,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17829
17831
|
return SortableTable;
|
|
17830
17832
|
}(React.Component);
|
|
17831
17833
|
|
|
17832
|
-
var _excluded$
|
|
17834
|
+
var _excluded$e = ["className", "style"];
|
|
17833
17835
|
var DragHandle$3 = SortableHandle(function () {
|
|
17834
17836
|
return /*#__PURE__*/React.createElement("img", {
|
|
17835
17837
|
src: drag
|
|
@@ -18059,7 +18061,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
18059
18061
|
_this.DraggableBodyRow = function (_ref2) {
|
|
18060
18062
|
var className = _ref2.className,
|
|
18061
18063
|
style = _ref2.style,
|
|
18062
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
18064
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$e);
|
|
18063
18065
|
var sortDataSource = _this.state.sortDataSource;
|
|
18064
18066
|
var index = sortDataSource.findIndex(function (x) {
|
|
18065
18067
|
return x.name === restProps['data-row-key'];
|
|
@@ -18302,12 +18304,12 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
18302
18304
|
return SearchItemTable;
|
|
18303
18305
|
}(React.Component);
|
|
18304
18306
|
|
|
18305
|
-
var _excluded$
|
|
18307
|
+
var _excluded$f = ["onResize", "width"];
|
|
18306
18308
|
var MemoQueryTable = /*#__PURE__*/React.memo(QueryTable);
|
|
18307
18309
|
var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
18308
18310
|
var onResize = props.onResize,
|
|
18309
18311
|
width = props.width,
|
|
18310
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
18312
|
+
restProps = _objectWithoutProperties(props, _excluded$f);
|
|
18311
18313
|
if (!width) {
|
|
18312
18314
|
return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
|
|
18313
18315
|
}
|
|
@@ -20800,7 +20802,7 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
20800
20802
|
var css_248z$m = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 40px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.menu_item {\n line-height: 30px;\n height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #e4e7ed;\n cursor: pointer;\n color: #1890ff;\n}\n.sub_menu_content {\n box-shadow: 2px 0px 4px 0px rgba(185, 185, 185, 0.5);\n position: fixed;\n top: 50px;\n left: 140px;\n width: 200px;\n height: 100%;\n background-color: #fff;\n padding-top: 10px;\n z-index: 9999;\n}\n.tab_left_operate {\n display: flex;\n height: 28px;\n align-items: center;\n}\n.tab_left_operate > div {\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n cursor: pointer;\n}\n.tab_left_operate > div:last-child {\n box-shadow: 2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n}\n.tab_right_operate {\n height: 28px;\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n box-shadow: -2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n cursor: pointer;\n position: relative;\n}\n";
|
|
20801
20803
|
styleInject(css_248z$m);
|
|
20802
20804
|
|
|
20803
|
-
var _excluded$
|
|
20805
|
+
var _excluded$g = ["route"];
|
|
20804
20806
|
var TabPane = Tabs.TabPane;
|
|
20805
20807
|
var UN_LISTTEN_DRP;
|
|
20806
20808
|
var routerArray = [];
|
|
@@ -21616,7 +21618,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
21616
21618
|
}); // 添加数据大屏
|
|
21617
21619
|
var _this$props3 = this.props,
|
|
21618
21620
|
route = _this$props3.route,
|
|
21619
|
-
restPrpos = _objectWithoutProperties(_this$props3, _excluded$
|
|
21621
|
+
restPrpos = _objectWithoutProperties(_this$props3, _excluded$g);
|
|
21620
21622
|
var exist = route.routes.find(function (route) {
|
|
21621
21623
|
return route.path === '/homePage/data-show';
|
|
21622
21624
|
});
|
|
@@ -22465,10 +22467,10 @@ var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
22465
22467
|
}))))));
|
|
22466
22468
|
});
|
|
22467
22469
|
|
|
22468
|
-
var _excluded$
|
|
22470
|
+
var _excluded$h = ["children"];
|
|
22469
22471
|
var Drawer = (function (props) {
|
|
22470
22472
|
var children = props.children,
|
|
22471
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
22473
|
+
restProps = _objectWithoutProperties(props, _excluded$h);
|
|
22472
22474
|
return /*#__PURE__*/React.createElement(Drawer$1, _objectSpread2({
|
|
22473
22475
|
mask: true,
|
|
22474
22476
|
closable: false,
|
package/dist/index.js
CHANGED
|
@@ -15094,6 +15094,7 @@ function getStorageVale(storageKeyString) {
|
|
|
15094
15094
|
return "";
|
|
15095
15095
|
}
|
|
15096
15096
|
|
|
15097
|
+
var _excluded$5 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
|
|
15097
15098
|
var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
15098
15099
|
var _useState = React.useState([]),
|
|
15099
15100
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -15126,13 +15127,14 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15126
15127
|
_props$allowClear = props.allowClear,
|
|
15127
15128
|
allowClear = _props$allowClear === void 0 ? true : _props$allowClear,
|
|
15128
15129
|
_props$showCheckedStr = props.showCheckedStrategy,
|
|
15129
|
-
showCheckedStrategy = _props$showCheckedStr === void 0 ? antd.TreeSelect.SHOW_PARENT : _props$showCheckedStr,
|
|
15130
|
+
showCheckedStrategy = _props$showCheckedStr === void 0 ? (props === null || props === void 0 ? void 0 : props.treeCheckStrictly) ? antd.TreeSelect.SHOW_ALL : antd.TreeSelect.SHOW_PARENT : _props$showCheckedStr,
|
|
15130
15131
|
_props$style = props.style,
|
|
15131
15132
|
style = _props$style === void 0 ? {
|
|
15132
15133
|
width: '100%'
|
|
15133
15134
|
} : _props$style,
|
|
15134
15135
|
getTreeData = props.getTreeData,
|
|
15135
|
-
disabled = props.disabled
|
|
15136
|
+
disabled = props.disabled,
|
|
15137
|
+
restProps = _objectWithoutProperties(props, _excluded$5);
|
|
15136
15138
|
var url = remoteSource.url,
|
|
15137
15139
|
_remoteSource$paramsK = remoteSource.paramsKey,
|
|
15138
15140
|
paramsKey = _remoteSource$paramsK === void 0 ? 'qp-name-like' : _remoteSource$paramsK,
|
|
@@ -15217,7 +15219,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15217
15219
|
};
|
|
15218
15220
|
var formatData = function formatData(value) {
|
|
15219
15221
|
if (labelInValue) {
|
|
15220
|
-
var formatResult = multiple ? value.map(function (i) {
|
|
15222
|
+
var formatResult = multiple || treeCheckable ? value.map(function (i) {
|
|
15221
15223
|
return _objectSpread2(_objectSpread2({}, i), {}, {
|
|
15222
15224
|
key: i.value
|
|
15223
15225
|
});
|
|
@@ -15226,9 +15228,9 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15226
15228
|
});
|
|
15227
15229
|
return formatResult;
|
|
15228
15230
|
} else {
|
|
15229
|
-
var _formatResult = multiple ? value.map(function (i) {
|
|
15231
|
+
var _formatResult = multiple || treeCheckable ? value.map(function (i) {
|
|
15230
15232
|
return (i === null || i === void 0 ? void 0 : i.value) || i;
|
|
15231
|
-
}) : ___default['default'].get(value[0], 'value') || value;
|
|
15233
|
+
}) : ___default['default'].get(value === null || value === void 0 ? void 0 : value[0], 'value') || value;
|
|
15232
15234
|
return _formatResult;
|
|
15233
15235
|
}
|
|
15234
15236
|
};
|
|
@@ -15275,7 +15277,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15275
15277
|
};
|
|
15276
15278
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15277
15279
|
className: 'tree_search_select'
|
|
15278
|
-
}, /*#__PURE__*/React__default['default'].createElement(antd.TreeSelect, {
|
|
15280
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
15279
15281
|
treeCheckable: treeCheckable,
|
|
15280
15282
|
maxTagCount: maxTagCount,
|
|
15281
15283
|
showSearch: showSearch,
|
|
@@ -15301,7 +15303,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15301
15303
|
getPopupContainer: function getPopupContainer() {
|
|
15302
15304
|
return _getPopupContainer && _getPopupContainer() || document.body;
|
|
15303
15305
|
}
|
|
15304
|
-
}));
|
|
15306
|
+
})));
|
|
15305
15307
|
};
|
|
15306
15308
|
|
|
15307
15309
|
var handleDefaultProps = function handleDefaultProps(type) {
|
|
@@ -15447,11 +15449,11 @@ var arrow_top = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3
|
|
|
15447
15449
|
var css_248z$9 = ".form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.white-card.bitsun-form-card-class .ant-card-body {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.bitsun-form-card-class > .ant-card-body {\n margin-bottom: 10px;\n}\n.bitsun-form-card-class .ant-card-head {\n border: 0px;\n padding: 0px;\n height: 48px;\n}\n.bitsun-form-card-class .ant-card-body {\n padding: 12px 0 0;\n margin-top: -4px;\n background-color: #F3F3F3;\n}\n.bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 14px;\n color: #000000;\n font-weight: 600;\n font-family: PingFangSC;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n border-bottom: 1px solid #F0F0F0;\n border-radius: 4px 4px 0 0;\n}\n.bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #005CFF;\n height: 20px;\n margin-right: 16px;\n}\n.field-group-hidden .ant-card-body {\n display: none !important;\n}\n";
|
|
15448
15450
|
styleInject(css_248z$9);
|
|
15449
15451
|
|
|
15450
|
-
var _excluded$
|
|
15452
|
+
var _excluded$6 = ["children"],
|
|
15451
15453
|
_excluded2$2 = ["children"];
|
|
15452
15454
|
var Field = function Field(_ref) {
|
|
15453
15455
|
var children = _ref.children,
|
|
15454
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15456
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
15455
15457
|
var _React$useState = React__default['default'].useState(true),
|
|
15456
15458
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
15457
15459
|
fieldGroupVisible = _React$useState2[0],
|
|
@@ -15586,7 +15588,7 @@ var ExportIcon = function ExportIcon(_ref) {
|
|
|
15586
15588
|
var css_248z$a = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 10px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper div.ant-modal-header {\n width: 820px;\n height: 64px;\n background: #ffffff;\n padding: 20px;\n border: 0px;\n}\n.sort_table_wrapper div.ant-modal-header div.ant-modal-title {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 24px;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 0 20px !important;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 32px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n height: 70px;\n border: 0;\n padding: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 34px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn:first-child {\n margin-right: 524px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 36px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 36px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 115px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 34px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.global_tab_nav_style {\n top: 2px !important;\n}\n.row-dragging {\n background: #fafafa;\n border: 1px solid #ccc;\n z-index: 10000;\n}\n.row-dragging td {\n padding: 7px 16px;\n display: none;\n}\n.row-dragging td:first-child {\n display: inline-block;\n}\n.row-dragging .drag-visible {\n visibility: visible;\n}\n";
|
|
15587
15589
|
styleInject(css_248z$a);
|
|
15588
15590
|
|
|
15589
|
-
var _excluded$
|
|
15591
|
+
var _excluded$7 = ["className", "style"];
|
|
15590
15592
|
var Search$1 = antd.Input.Search;
|
|
15591
15593
|
var DragHandle$1 = reactSortableHoc.SortableHandle(function () {
|
|
15592
15594
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
@@ -15953,7 +15955,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
15953
15955
|
_this.DraggableBodyRow = function (_ref2) {
|
|
15954
15956
|
var className = _ref2.className,
|
|
15955
15957
|
style = _ref2.style,
|
|
15956
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
15958
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$7);
|
|
15957
15959
|
var sortDataSource = _this.state.sortDataSource;
|
|
15958
15960
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
15959
15961
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -16220,7 +16222,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16220
16222
|
return SortableTable;
|
|
16221
16223
|
}(React__default['default'].Component);
|
|
16222
16224
|
|
|
16223
|
-
var _excluded$
|
|
16225
|
+
var _excluded$8 = ["onResize", "width"],
|
|
16224
16226
|
_excluded2$3 = ["style", "columns", "tableCode", "summary", "dynamicColumns", "scroll"];
|
|
16225
16227
|
var Text = antd.Typography.Text;
|
|
16226
16228
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -16333,7 +16335,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16333
16335
|
_this.ResizeableTitle = function (props) {
|
|
16334
16336
|
var onResize = props.onResize,
|
|
16335
16337
|
width = props.width,
|
|
16336
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16338
|
+
restProps = _objectWithoutProperties(props, _excluded$8);
|
|
16337
16339
|
if (!width) {
|
|
16338
16340
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
16339
16341
|
}
|
|
@@ -16465,7 +16467,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16465
16467
|
return ColumnSettingSulaTable;
|
|
16466
16468
|
}(React__default['default'].Component);
|
|
16467
16469
|
|
|
16468
|
-
var _excluded$
|
|
16470
|
+
var _excluded$9 = ["onResize", "width"],
|
|
16469
16471
|
_excluded2$4 = ["columns", "tableCode", "summary", "dynamicColumns", "scroll"];
|
|
16470
16472
|
var Text$1 = antd.Typography.Text;
|
|
16471
16473
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -16577,7 +16579,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16577
16579
|
_this.ResizeableTitle = function (props) {
|
|
16578
16580
|
var onResize = props.onResize,
|
|
16579
16581
|
width = props.width,
|
|
16580
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16582
|
+
restProps = _objectWithoutProperties(props, _excluded$9);
|
|
16581
16583
|
if (!width) {
|
|
16582
16584
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
16583
16585
|
}
|
|
@@ -16787,12 +16789,12 @@ var moreIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D
|
|
|
16787
16789
|
var css_248z$c = "";
|
|
16788
16790
|
styleInject(css_248z$c);
|
|
16789
16791
|
|
|
16790
|
-
var _excluded$
|
|
16792
|
+
var _excluded$a = ["message", "type"];
|
|
16791
16793
|
var CommonAlert = (function (props) {
|
|
16792
16794
|
var message = props.message,
|
|
16793
16795
|
_props$type = props.type,
|
|
16794
16796
|
type = _props$type === void 0 ? 'info' : _props$type,
|
|
16795
|
-
reset = _objectWithoutProperties(props, _excluded$
|
|
16797
|
+
reset = _objectWithoutProperties(props, _excluded$a);
|
|
16796
16798
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16797
16799
|
style: {
|
|
16798
16800
|
width: '100%',
|
|
@@ -16813,7 +16815,7 @@ var CommonAlert = (function (props) {
|
|
|
16813
16815
|
}, reset)));
|
|
16814
16816
|
});
|
|
16815
16817
|
|
|
16816
|
-
var _excluded$
|
|
16818
|
+
var _excluded$b = ["children"];
|
|
16817
16819
|
var iconMap = {
|
|
16818
16820
|
edit: /*#__PURE__*/React__default['default'].createElement("img", {
|
|
16819
16821
|
src: editIcon
|
|
@@ -16835,7 +16837,7 @@ var index$3 = (function (props) {
|
|
|
16835
16837
|
_useState2 = _slicedToArray(_useState, 1),
|
|
16836
16838
|
id = _useState2[0];
|
|
16837
16839
|
var children = props.children,
|
|
16838
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16840
|
+
restProps = _objectWithoutProperties(props, _excluded$b);
|
|
16839
16841
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16840
16842
|
id: id,
|
|
16841
16843
|
className: 'detail_page_wrapper'
|
|
@@ -17044,7 +17046,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
17044
17046
|
var css_248z$d = ".home_page_head {\n height: 54px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 0 20px;\n}\n.home_page_head .home_page_title {\n height: 20px;\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n flex-grow: 1;\n margin-top: 2px;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n";
|
|
17045
17047
|
styleInject(css_248z$d);
|
|
17046
17048
|
|
|
17047
|
-
var _excluded$
|
|
17049
|
+
var _excluded$c = ["children"];
|
|
17048
17050
|
var index$4 = (function (props) {
|
|
17049
17051
|
var _useLocation = umi.useLocation(),
|
|
17050
17052
|
pathname = _useLocation.pathname;
|
|
@@ -17052,7 +17054,7 @@ var index$4 = (function (props) {
|
|
|
17052
17054
|
_useState2 = _slicedToArray(_useState, 1),
|
|
17053
17055
|
id = _useState2[0];
|
|
17054
17056
|
var children = props.children,
|
|
17055
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
17057
|
+
restProps = _objectWithoutProperties(props, _excluded$c);
|
|
17056
17058
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17057
17059
|
id: id,
|
|
17058
17060
|
className: 'home_page_wrapper'
|
|
@@ -17155,7 +17157,7 @@ var HeaderWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
17155
17157
|
var css_248z$e = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 10px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper div.ant-modal-header {\n width: 820px;\n height: 64px;\n background: #ffffff;\n padding: 20px;\n border: 0px;\n}\n.sort_table_wrapper div.ant-modal-header div.ant-modal-title {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 24px;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 0 20px !important;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 32px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n height: 70px;\n border: 0;\n padding: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 34px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn:first-child {\n margin-right: 524px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 36px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 36px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 115px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 34px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n";
|
|
17156
17158
|
styleInject(css_248z$e);
|
|
17157
17159
|
|
|
17158
|
-
var _excluded$
|
|
17160
|
+
var _excluded$d = ["className", "style"];
|
|
17159
17161
|
var DragHandle$2 = reactSortableHoc.SortableHandle(function () {
|
|
17160
17162
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
17161
17163
|
src: drag
|
|
@@ -17542,7 +17544,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17542
17544
|
_this.DraggableBodyRow = function (_ref2) {
|
|
17543
17545
|
var className = _ref2.className,
|
|
17544
17546
|
style = _ref2.style,
|
|
17545
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
17547
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$d);
|
|
17546
17548
|
var sortDataSource = _this.state.sortDataSource;
|
|
17547
17549
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
17548
17550
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -17847,7 +17849,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17847
17849
|
return SortableTable;
|
|
17848
17850
|
}(React__default['default'].Component);
|
|
17849
17851
|
|
|
17850
|
-
var _excluded$
|
|
17852
|
+
var _excluded$e = ["className", "style"];
|
|
17851
17853
|
var DragHandle$3 = reactSortableHoc.SortableHandle(function () {
|
|
17852
17854
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
17853
17855
|
src: drag
|
|
@@ -18077,7 +18079,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
18077
18079
|
_this.DraggableBodyRow = function (_ref2) {
|
|
18078
18080
|
var className = _ref2.className,
|
|
18079
18081
|
style = _ref2.style,
|
|
18080
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
18082
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$e);
|
|
18081
18083
|
var sortDataSource = _this.state.sortDataSource;
|
|
18082
18084
|
var index = sortDataSource.findIndex(function (x) {
|
|
18083
18085
|
return x.name === restProps['data-row-key'];
|
|
@@ -18320,12 +18322,12 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
18320
18322
|
return SearchItemTable;
|
|
18321
18323
|
}(React__default['default'].Component);
|
|
18322
18324
|
|
|
18323
|
-
var _excluded$
|
|
18325
|
+
var _excluded$f = ["onResize", "width"];
|
|
18324
18326
|
var MemoQueryTable = /*#__PURE__*/React__default['default'].memo(bssula.QueryTable);
|
|
18325
18327
|
var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
18326
18328
|
var onResize = props.onResize,
|
|
18327
18329
|
width = props.width,
|
|
18328
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
18330
|
+
restProps = _objectWithoutProperties(props, _excluded$f);
|
|
18329
18331
|
if (!width) {
|
|
18330
18332
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
18331
18333
|
}
|
|
@@ -20818,7 +20820,7 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
20818
20820
|
var css_248z$m = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 40px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.menu_item {\n line-height: 30px;\n height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #e4e7ed;\n cursor: pointer;\n color: #1890ff;\n}\n.sub_menu_content {\n box-shadow: 2px 0px 4px 0px rgba(185, 185, 185, 0.5);\n position: fixed;\n top: 50px;\n left: 140px;\n width: 200px;\n height: 100%;\n background-color: #fff;\n padding-top: 10px;\n z-index: 9999;\n}\n.tab_left_operate {\n display: flex;\n height: 28px;\n align-items: center;\n}\n.tab_left_operate > div {\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n cursor: pointer;\n}\n.tab_left_operate > div:last-child {\n box-shadow: 2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n}\n.tab_right_operate {\n height: 28px;\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n box-shadow: -2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n cursor: pointer;\n position: relative;\n}\n";
|
|
20819
20821
|
styleInject(css_248z$m);
|
|
20820
20822
|
|
|
20821
|
-
var _excluded$
|
|
20823
|
+
var _excluded$g = ["route"];
|
|
20822
20824
|
var TabPane = antd.Tabs.TabPane;
|
|
20823
20825
|
var UN_LISTTEN_DRP;
|
|
20824
20826
|
var routerArray = [];
|
|
@@ -21634,7 +21636,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
21634
21636
|
}); // 添加数据大屏
|
|
21635
21637
|
var _this$props3 = this.props,
|
|
21636
21638
|
route = _this$props3.route,
|
|
21637
|
-
restPrpos = _objectWithoutProperties(_this$props3, _excluded$
|
|
21639
|
+
restPrpos = _objectWithoutProperties(_this$props3, _excluded$g);
|
|
21638
21640
|
var exist = route.routes.find(function (route) {
|
|
21639
21641
|
return route.path === '/homePage/data-show';
|
|
21640
21642
|
});
|
|
@@ -22483,10 +22485,10 @@ var index$6 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
22483
22485
|
}))))));
|
|
22484
22486
|
});
|
|
22485
22487
|
|
|
22486
|
-
var _excluded$
|
|
22488
|
+
var _excluded$h = ["children"];
|
|
22487
22489
|
var Drawer = (function (props) {
|
|
22488
22490
|
var children = props.children,
|
|
22489
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
22491
|
+
restProps = _objectWithoutProperties(props, _excluded$h);
|
|
22490
22492
|
return /*#__PURE__*/React__default['default'].createElement(antd.Drawer, _objectSpread2({
|
|
22491
22493
|
mask: true,
|
|
22492
22494
|
closable: false,
|
package/package.json
CHANGED
|
@@ -25,10 +25,11 @@ const TreeSearchSelect = (props: any) => {
|
|
|
25
25
|
labelInValue = false,
|
|
26
26
|
showArrow = true,
|
|
27
27
|
allowClear = true,
|
|
28
|
-
showCheckedStrategy = TreeSelect.SHOW_PARENT,
|
|
28
|
+
showCheckedStrategy = props?.treeCheckStrictly ? TreeSelect.SHOW_ALL : TreeSelect.SHOW_PARENT,
|
|
29
29
|
style = { width: '100%' },
|
|
30
30
|
getTreeData,
|
|
31
|
-
disabled
|
|
31
|
+
disabled,
|
|
32
|
+
...restProps
|
|
32
33
|
} = props;
|
|
33
34
|
|
|
34
35
|
const {
|
|
@@ -88,10 +89,10 @@ const TreeSearchSelect = (props: any) => {
|
|
|
88
89
|
|
|
89
90
|
const formatData = (value: any) => {
|
|
90
91
|
if (labelInValue) {
|
|
91
|
-
const formatResult = multiple ? value.map((i: any) => ({...i, key: i.value})) : { ...value, key: value?.value };
|
|
92
|
+
const formatResult = multiple||treeCheckable ? value.map((i: any) => ({...i, key: i.value})) : { ...value, key: value?.value };
|
|
92
93
|
return formatResult
|
|
93
94
|
} else {
|
|
94
|
-
const formatResult = multiple ? value.map((i: any) => (i?.value || i)) : (_.get(value[0], 'value') || value)
|
|
95
|
+
const formatResult = multiple||treeCheckable ? value.map((i: any) => (i?.value || i)) : (_.get(value?.[0], 'value') || value)
|
|
95
96
|
return formatResult
|
|
96
97
|
}
|
|
97
98
|
}
|
|
@@ -132,6 +133,7 @@ const TreeSearchSelect = (props: any) => {
|
|
|
132
133
|
return (
|
|
133
134
|
<div className={'tree_search_select'}>
|
|
134
135
|
<TreeSelect
|
|
136
|
+
{...restProps}
|
|
135
137
|
treeCheckable={treeCheckable}
|
|
136
138
|
maxTagCount={maxTagCount}
|
|
137
139
|
showSearch={showSearch}
|