@bit-sun/business-component 2.2.20 → 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/components/Business/JsonQueryTable/static.d.ts +2 -0
- package/dist/index.esm.js +83 -42
- package/dist/index.js +83 -42
- package/package.json +1 -1
- package/src/assets/arrow_top.svg +18 -0
- package/src/components/Business/CommonGuideWrapper/index.less +3 -1
- package/src/components/Business/CommonGuideWrapper/index.tsx +3 -3
- package/src/components/Business/JsonQueryTable/static.ts +35 -1
- package/src/components/Business/StateFlow/index.less +49 -28
- package/src/components/Business/StateFlow/index.md +5 -5
- package/src/components/Business/StateFlow/index.tsx +18 -15
- package/src/components/Business/TreeSearchSelect/index.md +29 -1
- package/src/components/Business/TreeSearchSelect/utils.ts +9 -0
- package/src/components/Functional/TreeSearchSelect/index.tsx +7 -5
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,
|
|
@@ -15155,7 +15157,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15155
15157
|
switch (_context.prev = _context.next) {
|
|
15156
15158
|
case 0:
|
|
15157
15159
|
resData = (res === null || res === void 0 ? void 0 : res.data) || [];
|
|
15158
|
-
if (!(resData.status === '0')) {
|
|
15160
|
+
if (!(resData.status === '0' || resData.code === '000000')) {
|
|
15159
15161
|
_context.next = 13;
|
|
15160
15162
|
break;
|
|
15161
15163
|
}
|
|
@@ -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) {
|
|
@@ -15338,6 +15340,15 @@ var handleDefaultProps = function handleDefaultProps(type) {
|
|
|
15338
15340
|
}
|
|
15339
15341
|
};
|
|
15340
15342
|
break;
|
|
15343
|
+
case 'market-area':
|
|
15344
|
+
result = {
|
|
15345
|
+
isChoose: true,
|
|
15346
|
+
remoteSource: {
|
|
15347
|
+
url: "/channel-manage/tagNode/getTree/10",
|
|
15348
|
+
resKeyValue: ['code', 'name']
|
|
15349
|
+
}
|
|
15350
|
+
};
|
|
15351
|
+
break;
|
|
15341
15352
|
default:
|
|
15342
15353
|
result = {
|
|
15343
15354
|
treeCheckable: true,
|
|
@@ -15374,7 +15385,7 @@ var index$1 = /*#__PURE__*/React.memo(BusinessTreeSearchSelect, function (props,
|
|
|
15374
15385
|
return true;
|
|
15375
15386
|
});
|
|
15376
15387
|
|
|
15377
|
-
var css_248z$8 = ".form-status-label {\n height:
|
|
15388
|
+
var css_248z$8 = ".form-status-label {\n height: 38px;\n margin-right: 7px;\n display: inline-block;\n position: relative;\n background-color: #B0B4B7;\n align-items: center;\n}\n.choosed-status-label.form-status-label {\n background-color: #68C900;\n}\n.form-status-label:last-child {\n margin-right: 0px;\n}\n.form-status-label:first-child::after {\n position: absolute;\n display: block;\n content: '';\n right: -38px;\n top: 0;\n width: 38px;\n height: 38px;\n border: 19px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.choosed-status-label.form-status-label::after {\n border-left: 12px solid #68C900;\n z-index: 9;\n}\n.choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {\n border-left: 12px solid #68C900;\n z-index: 10;\n}\n.form-status-label:last-child::after {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 38px;\n height: 38px;\n border: 19px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::before {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 38px;\n height: 38px;\n border: 19px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::after {\n position: absolute;\n display: block;\n content: '';\n right: -38px;\n top: 0;\n width: 38px;\n height: 38px;\n border: 19px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n z-index: 9;\n}\n.status-label-index {\n display: inline-block;\n width: 16px;\n height: 16px;\n background: #FFFFFF;\n color: #68C900;\n border-radius: 50%;\n font-family: Montserrat;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n text-align: center;\n margin: 0 4px 0 20px;\n}\n.choosed-status-label-index {\n border: 1px solid #FFFFFF;\n color: #FFFFFF;\n display: inline-block;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n font-family: Montserrat;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n text-align: center;\n margin: 0 4px 0 20px;\n}\n.status-label-key {\n width: 50px;\n height: 100%;\n display: inline-flex;\n float: left;\n align-items: center;\n justify-content: center;\n}\n.status-label-operate {\n float: left;\n width: calc(100% - 50px);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 100%;\n margin: 4px 0;\n}\n.status-label-operate > div {\n font-size: 10px;\n height: 14px;\n line-height: 14px;\n color: #FFFFFF;\n font-family: PingFangSC;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-weight: 300;\n}\n.status-label-operate > div:first-child {\n font-size: 12px;\n font-weight: 500;\n}\n.only-one-child.form-status-label::after,\n.only-one-child.form-status-label::before {\n border-left: 0px;\n}\n";
|
|
15378
15389
|
styleInject(css_248z$8);
|
|
15379
15390
|
|
|
15380
15391
|
var index$2 = (function (props) {
|
|
@@ -15383,7 +15394,6 @@ var index$2 = (function (props) {
|
|
|
15383
15394
|
return /*#__PURE__*/React.createElement("div", {
|
|
15384
15395
|
style: {
|
|
15385
15396
|
display: 'flex',
|
|
15386
|
-
padding: '10px 60px 0px',
|
|
15387
15397
|
background: '#FFFFFF'
|
|
15388
15398
|
}
|
|
15389
15399
|
}, formStatusMapping.map(function (item, index) {
|
|
@@ -15395,13 +15405,14 @@ var index$2 = (function (props) {
|
|
|
15395
15405
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15396
15406
|
className: 'status-label-key'
|
|
15397
15407
|
}, /*#__PURE__*/React.createElement("span", {
|
|
15398
|
-
className
|
|
15408
|
+
// className='status-label-index'
|
|
15409
|
+
className: "".concat(item.isDone ? 'status-label-index' : 'choosed-status-label-index')
|
|
15399
15410
|
}, index + 1)), /*#__PURE__*/React.createElement("div", {
|
|
15400
15411
|
className: 'status-label-operate'
|
|
15401
15412
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15402
15413
|
style: !item.isDone ? {
|
|
15403
|
-
height: '
|
|
15404
|
-
lineHeight: '
|
|
15414
|
+
height: '30px',
|
|
15415
|
+
lineHeight: '30px'
|
|
15405
15416
|
} : {}
|
|
15406
15417
|
}, item.text), item.isDone ? /*#__PURE__*/React.createElement("div", {
|
|
15407
15418
|
title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
|
|
@@ -15415,16 +15426,16 @@ var index$2 = (function (props) {
|
|
|
15415
15426
|
|
|
15416
15427
|
var label_icon_bottom = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%203%E5%A4%87%E4%BB%BD%204%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B5%E9%9D%A2-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%8D%95%E6%8D%AE-%E8%AF%A6%E6%83%85%E9%A1%B5%EF%BC%88%E4%BA%8C%E7%BA%A7%E9%A1%B5%EF%BC%89-%E4%B8%8B%E6%8B%89%22%20transform%3D%22translate%28-1858.000000%2C%20-1326.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-20%22%20transform%3D%22translate%28280.000000%2C%20866.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%22%20transform%3D%22translate%281554.000000%2C%20179.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-3%E5%A4%87%E4%BB%BD-4%22%20transform%3D%22translate%2824.000000%2C%20281.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20mask%3D%22url%28%23mask-2%29%22%20fill%3D%22%23B1BAD4%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%283.000000%2C%203.000000%29%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.99072727%2C0.237481917%20C6.50454545%2C-0.0418576482%206.56509091%2C-0.0745634228%206.97254545%2C0.138292264%20L7.15527271%2C0.236945765%20C7.31727271%2C0.445512161%207.34672726%2C0.483579531%207.3761818%2C0.664265595%20L7.39690908%2C0.809565049%20L7.39690908%2C17%20L5.76054545%2C17%20L5.76054545%2C2.73974241%20L1.15690909%2C7.26654448%20L0%2C6.12934831%20L5.99072727%2C0.237481917%20Z%20M13.0909091%2C13.6720525%20L13.0909091%2C15.2805337%20L9.81818182%2C15.2805337%20L9.81818182%2C13.6720525%20L13.0909091%2C13.6720525%20Z%20M14.7272727%2C9.91892987%20L14.7272727%2C11.527411%20L9.81818182%2C11.527411%20L9.81818182%2C9.91892987%20L14.7272727%2C9.91892987%20Z%20M16.3636364%2C6.16580723%20L16.3636364%2C7.77428836%20L9.81818182%2C7.77428836%20L9.81818182%2C6.16580723%20L16.3636364%2C6.16580723%20Z%20M18%2C2.41268459%20L18%2C4.02116572%20L9.81818182%2C4.02116572%20L9.81818182%2C2.41268459%20L18%2C2.41268459%20Z%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
15417
15428
|
|
|
15418
|
-
var arrow_top = "data:image/
|
|
15429
|
+
var arrow_top = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2220px%22%20height%3D%2220px%22%20viewBox%3D%220%200%2020%2020%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Earrow_icon_up%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E9%9B%B6%E5%94%AE%E3%80%90%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85%E3%80%91%E6%94%B9%E9%80%A0%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%28-462.000000%2C%20-1828.000000%29%22%20id%3D%22%E7%BC%96%E7%BB%84-5%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%28372.000000%2C%201534.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-2%22%20transform%3D%22translate%2810.000000%2C%20286.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-17%22%20transform%3D%22translate%2880.000000%2C%208.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22arrow_icon_up%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2220%22%20height%3D%2220%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%282.500000%2C%202.500000%29%22%20fill%3D%22%23B6B6B6%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M7.5%2C0%20C11.6422059%2C0%2015%2C3.35779411%2015%2C7.5%20C15%2C11.6422059%2011.6422059%2C15%207.5%2C15%20C3.35779411%2C15%200%2C11.6422059%200%2C7.5%20C0%2C3.35779411%203.35779411%2C0%207.5%2C0%20Z%20M7.61029411%2C4.79955883%20L3.58632353%2C8.82352941%20L4.52205883%2C9.7592647%20L7.61029411%2C6.67102942%20L10.6985294%2C9.7592647%20L11.6342647%2C8.82352941%20L7.61029411%2C4.79955883%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
15419
15430
|
|
|
15420
|
-
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:
|
|
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";
|
|
15421
15432
|
styleInject(css_248z$9);
|
|
15422
15433
|
|
|
15423
|
-
var _excluded$
|
|
15434
|
+
var _excluded$6 = ["children"],
|
|
15424
15435
|
_excluded2$2 = ["children"];
|
|
15425
15436
|
var Field = function Field(_ref) {
|
|
15426
15437
|
var children = _ref.children,
|
|
15427
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15438
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
15428
15439
|
var _React$useState = React.useState(true),
|
|
15429
15440
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
15430
15441
|
fieldGroupVisible = _React$useState2[0],
|
|
@@ -15440,10 +15451,10 @@ var Field = function Field(_ref) {
|
|
|
15440
15451
|
className: 'title-left-line'
|
|
15441
15452
|
}), /*#__PURE__*/React.createElement("span", {
|
|
15442
15453
|
style: {
|
|
15443
|
-
marginRight: '
|
|
15454
|
+
marginRight: '4px'
|
|
15444
15455
|
}
|
|
15445
15456
|
}, props === null || props === void 0 ? void 0 : props.title), /*#__PURE__*/React.createElement("img", {
|
|
15446
|
-
width:
|
|
15457
|
+
width: 20,
|
|
15447
15458
|
style: {
|
|
15448
15459
|
transform: fieldGroupVisible ? 'inherit' : 'rotate(180deg)',
|
|
15449
15460
|
cursor: 'pointer'
|
|
@@ -15559,7 +15570,7 @@ var ExportIcon = function ExportIcon(_ref) {
|
|
|
15559
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";
|
|
15560
15571
|
styleInject(css_248z$a);
|
|
15561
15572
|
|
|
15562
|
-
var _excluded$
|
|
15573
|
+
var _excluded$7 = ["className", "style"];
|
|
15563
15574
|
var Search$1 = Input.Search;
|
|
15564
15575
|
var DragHandle$1 = SortableHandle(function () {
|
|
15565
15576
|
return /*#__PURE__*/React.createElement("img", {
|
|
@@ -15926,7 +15937,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
15926
15937
|
_this.DraggableBodyRow = function (_ref2) {
|
|
15927
15938
|
var className = _ref2.className,
|
|
15928
15939
|
style = _ref2.style,
|
|
15929
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
15940
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$7);
|
|
15930
15941
|
var sortDataSource = _this.state.sortDataSource;
|
|
15931
15942
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
15932
15943
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -16193,7 +16204,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16193
16204
|
return SortableTable;
|
|
16194
16205
|
}(React.Component);
|
|
16195
16206
|
|
|
16196
|
-
var _excluded$
|
|
16207
|
+
var _excluded$8 = ["onResize", "width"],
|
|
16197
16208
|
_excluded2$3 = ["style", "columns", "tableCode", "summary", "dynamicColumns", "scroll"];
|
|
16198
16209
|
var Text = Typography.Text;
|
|
16199
16210
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -16306,7 +16317,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16306
16317
|
_this.ResizeableTitle = function (props) {
|
|
16307
16318
|
var onResize = props.onResize,
|
|
16308
16319
|
width = props.width,
|
|
16309
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16320
|
+
restProps = _objectWithoutProperties(props, _excluded$8);
|
|
16310
16321
|
if (!width) {
|
|
16311
16322
|
return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
|
|
16312
16323
|
}
|
|
@@ -16438,7 +16449,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16438
16449
|
return ColumnSettingSulaTable;
|
|
16439
16450
|
}(React.Component);
|
|
16440
16451
|
|
|
16441
|
-
var _excluded$
|
|
16452
|
+
var _excluded$9 = ["onResize", "width"],
|
|
16442
16453
|
_excluded2$4 = ["columns", "tableCode", "summary", "dynamicColumns", "scroll"];
|
|
16443
16454
|
var Text$1 = Typography.Text;
|
|
16444
16455
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -16550,7 +16561,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16550
16561
|
_this.ResizeableTitle = function (props) {
|
|
16551
16562
|
var onResize = props.onResize,
|
|
16552
16563
|
width = props.width,
|
|
16553
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16564
|
+
restProps = _objectWithoutProperties(props, _excluded$9);
|
|
16554
16565
|
if (!width) {
|
|
16555
16566
|
return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
|
|
16556
16567
|
}
|
|
@@ -16760,12 +16771,12 @@ var moreIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D
|
|
|
16760
16771
|
var css_248z$c = "";
|
|
16761
16772
|
styleInject(css_248z$c);
|
|
16762
16773
|
|
|
16763
|
-
var _excluded$
|
|
16774
|
+
var _excluded$a = ["message", "type"];
|
|
16764
16775
|
var CommonAlert = (function (props) {
|
|
16765
16776
|
var message = props.message,
|
|
16766
16777
|
_props$type = props.type,
|
|
16767
16778
|
type = _props$type === void 0 ? 'info' : _props$type,
|
|
16768
|
-
reset = _objectWithoutProperties(props, _excluded$
|
|
16779
|
+
reset = _objectWithoutProperties(props, _excluded$a);
|
|
16769
16780
|
return /*#__PURE__*/React.createElement("div", {
|
|
16770
16781
|
style: {
|
|
16771
16782
|
width: '100%',
|
|
@@ -16786,7 +16797,7 @@ var CommonAlert = (function (props) {
|
|
|
16786
16797
|
}, reset)));
|
|
16787
16798
|
});
|
|
16788
16799
|
|
|
16789
|
-
var _excluded$
|
|
16800
|
+
var _excluded$b = ["children"];
|
|
16790
16801
|
var iconMap = {
|
|
16791
16802
|
edit: /*#__PURE__*/React.createElement("img", {
|
|
16792
16803
|
src: editIcon
|
|
@@ -16808,7 +16819,7 @@ var index$3 = (function (props) {
|
|
|
16808
16819
|
_useState2 = _slicedToArray(_useState, 1),
|
|
16809
16820
|
id = _useState2[0];
|
|
16810
16821
|
var children = props.children,
|
|
16811
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16822
|
+
restProps = _objectWithoutProperties(props, _excluded$b);
|
|
16812
16823
|
return /*#__PURE__*/React.createElement("div", {
|
|
16813
16824
|
id: id,
|
|
16814
16825
|
className: 'detail_page_wrapper'
|
|
@@ -17017,7 +17028,7 @@ var DetailWrapper = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
17017
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";
|
|
17018
17029
|
styleInject(css_248z$d);
|
|
17019
17030
|
|
|
17020
|
-
var _excluded$
|
|
17031
|
+
var _excluded$c = ["children"];
|
|
17021
17032
|
var index$4 = (function (props) {
|
|
17022
17033
|
var _useLocation = useLocation(),
|
|
17023
17034
|
pathname = _useLocation.pathname;
|
|
@@ -17025,7 +17036,7 @@ var index$4 = (function (props) {
|
|
|
17025
17036
|
_useState2 = _slicedToArray(_useState, 1),
|
|
17026
17037
|
id = _useState2[0];
|
|
17027
17038
|
var children = props.children,
|
|
17028
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
17039
|
+
restProps = _objectWithoutProperties(props, _excluded$c);
|
|
17029
17040
|
return /*#__PURE__*/React.createElement("div", {
|
|
17030
17041
|
id: id,
|
|
17031
17042
|
className: 'home_page_wrapper'
|
|
@@ -17128,7 +17139,7 @@ var HeaderWrapper = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
17128
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";
|
|
17129
17140
|
styleInject(css_248z$e);
|
|
17130
17141
|
|
|
17131
|
-
var _excluded$
|
|
17142
|
+
var _excluded$d = ["className", "style"];
|
|
17132
17143
|
var DragHandle$2 = SortableHandle(function () {
|
|
17133
17144
|
return /*#__PURE__*/React.createElement("img", {
|
|
17134
17145
|
src: drag
|
|
@@ -17515,7 +17526,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17515
17526
|
_this.DraggableBodyRow = function (_ref2) {
|
|
17516
17527
|
var className = _ref2.className,
|
|
17517
17528
|
style = _ref2.style,
|
|
17518
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
17529
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$d);
|
|
17519
17530
|
var sortDataSource = _this.state.sortDataSource;
|
|
17520
17531
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
17521
17532
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -17820,7 +17831,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17820
17831
|
return SortableTable;
|
|
17821
17832
|
}(React.Component);
|
|
17822
17833
|
|
|
17823
|
-
var _excluded$
|
|
17834
|
+
var _excluded$e = ["className", "style"];
|
|
17824
17835
|
var DragHandle$3 = SortableHandle(function () {
|
|
17825
17836
|
return /*#__PURE__*/React.createElement("img", {
|
|
17826
17837
|
src: drag
|
|
@@ -18050,7 +18061,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
18050
18061
|
_this.DraggableBodyRow = function (_ref2) {
|
|
18051
18062
|
var className = _ref2.className,
|
|
18052
18063
|
style = _ref2.style,
|
|
18053
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
18064
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$e);
|
|
18054
18065
|
var sortDataSource = _this.state.sortDataSource;
|
|
18055
18066
|
var index = sortDataSource.findIndex(function (x) {
|
|
18056
18067
|
return x.name === restProps['data-row-key'];
|
|
@@ -18293,12 +18304,12 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
18293
18304
|
return SearchItemTable;
|
|
18294
18305
|
}(React.Component);
|
|
18295
18306
|
|
|
18296
|
-
var _excluded$
|
|
18307
|
+
var _excluded$f = ["onResize", "width"];
|
|
18297
18308
|
var MemoQueryTable = /*#__PURE__*/React.memo(QueryTable);
|
|
18298
18309
|
var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
18299
18310
|
var onResize = props.onResize,
|
|
18300
18311
|
width = props.width,
|
|
18301
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
18312
|
+
restProps = _objectWithoutProperties(props, _excluded$f);
|
|
18302
18313
|
if (!width) {
|
|
18303
18314
|
return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
|
|
18304
18315
|
}
|
|
@@ -20791,7 +20802,7 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
20791
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";
|
|
20792
20803
|
styleInject(css_248z$m);
|
|
20793
20804
|
|
|
20794
|
-
var _excluded$
|
|
20805
|
+
var _excluded$g = ["route"];
|
|
20795
20806
|
var TabPane = Tabs.TabPane;
|
|
20796
20807
|
var UN_LISTTEN_DRP;
|
|
20797
20808
|
var routerArray = [];
|
|
@@ -21607,7 +21618,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
21607
21618
|
}); // 添加数据大屏
|
|
21608
21619
|
var _this$props3 = this.props,
|
|
21609
21620
|
route = _this$props3.route,
|
|
21610
|
-
restPrpos = _objectWithoutProperties(_this$props3, _excluded$
|
|
21621
|
+
restPrpos = _objectWithoutProperties(_this$props3, _excluded$g);
|
|
21611
21622
|
var exist = route.routes.find(function (route) {
|
|
21612
21623
|
return route.path === '/homePage/data-show';
|
|
21613
21624
|
});
|
|
@@ -22456,10 +22467,10 @@ var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
22456
22467
|
}))))));
|
|
22457
22468
|
});
|
|
22458
22469
|
|
|
22459
|
-
var _excluded$
|
|
22470
|
+
var _excluded$h = ["children"];
|
|
22460
22471
|
var Drawer = (function (props) {
|
|
22461
22472
|
var children = props.children,
|
|
22462
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
22473
|
+
restProps = _objectWithoutProperties(props, _excluded$h);
|
|
22463
22474
|
return /*#__PURE__*/React.createElement(Drawer$1, _objectSpread2({
|
|
22464
22475
|
mask: true,
|
|
22465
22476
|
closable: false,
|
|
@@ -29231,6 +29242,20 @@ var inputTypes = {
|
|
|
29231
29242
|
310: {
|
|
29232
29243
|
type: 'bs-deliveryModeSearchSelect',
|
|
29233
29244
|
props: _objectSpread2({}, normalSingleSelectProps)
|
|
29245
|
+
},
|
|
29246
|
+
340: {
|
|
29247
|
+
type: 'bs-RuleTemplateSearchSelect',
|
|
29248
|
+
props: _objectSpread2(_objectSpread2({}, normalMultipleSelectProps), {}, {
|
|
29249
|
+
requestConfig: {
|
|
29250
|
+
filter: 'qp-name,code-orGroup-in'
|
|
29251
|
+
}
|
|
29252
|
+
})
|
|
29253
|
+
},
|
|
29254
|
+
350: {
|
|
29255
|
+
type: 'bs-marketAreaOrgSelect',
|
|
29256
|
+
props: _objectSpread2({
|
|
29257
|
+
treeCheckable: false
|
|
29258
|
+
}, normalSingleSelectProps)
|
|
29234
29259
|
}
|
|
29235
29260
|
},
|
|
29236
29261
|
30: {
|
|
@@ -29367,6 +29392,20 @@ var inputTypes = {
|
|
|
29367
29392
|
filter: 'qp-name,code-orGroup,in'
|
|
29368
29393
|
}
|
|
29369
29394
|
})
|
|
29395
|
+
},
|
|
29396
|
+
340: {
|
|
29397
|
+
type: 'bs-RuleTemplateSearchSelect',
|
|
29398
|
+
props: _objectSpread2(_objectSpread2({}, normalMultipleSelectProps), {}, {
|
|
29399
|
+
requestConfig: {
|
|
29400
|
+
filter: 'qp-name,code-orGroup-in'
|
|
29401
|
+
}
|
|
29402
|
+
})
|
|
29403
|
+
},
|
|
29404
|
+
350: {
|
|
29405
|
+
type: 'bs-marketAreaOrgSelect',
|
|
29406
|
+
props: _objectSpread2({
|
|
29407
|
+
treeCheckable: false
|
|
29408
|
+
}, normalSingleSelectProps)
|
|
29370
29409
|
}
|
|
29371
29410
|
}
|
|
29372
29411
|
};
|
|
@@ -29395,7 +29434,9 @@ var choiceType = Object.freeze({
|
|
|
29395
29434
|
270: '员工选择器',
|
|
29396
29435
|
280: '库存组织选择器',
|
|
29397
29436
|
310: '配送方式选择器',
|
|
29398
|
-
330: '变量'
|
|
29437
|
+
330: '变量',
|
|
29438
|
+
340: '规则场景选择器',
|
|
29439
|
+
350: '营销区域选择器'
|
|
29399
29440
|
});
|
|
29400
29441
|
var inputType = {
|
|
29401
29442
|
10: '输入',
|