@zgfe/business-lib 1.2.71-hxd.22 → 1.2.71-hxd.24
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/es/AUMFormulaTarget/components/formula/index.js +10 -10
- package/es/AUMFormulaTarget/components/formula/util.js +6 -6
- package/es/AUMFormulaTarget/components/formulaItem/index.js +23 -23
- package/es/AUMFormulaTarget/components/panel/cdpCshCondition.js +50 -50
- package/es/AUMFormulaTarget/components/panel/index.js +30 -30
- package/es/AUMFormulaTarget/components/panel/index.less +269 -269
- package/es/AUMFormulaTarget/components/panel/item.js +22 -22
- package/es/AUMFormulaTarget/components/symbol/index.js +5 -5
- package/es/AUMFormulaTarget/demo/group.js +13 -13
- package/es/AUMFormulaTarget/index.js +11 -11
- package/es/addToPanel/components/addPanel.js +5 -5
- package/es/addToPanel/components/numberChart.js +5 -5
- package/es/addToPanel/components/styleList.js +5 -5
- package/es/addToPanel/components/wholeChart.js +5 -5
- package/es/addToPanel/demo/edit.js +7 -7
- package/es/addToPanel/demo/index.js +7 -7
- package/es/addToPanel/index.js +21 -21
- package/es/addToScene/demo/index.js +7 -7
- package/es/addToScene/index.js +8 -8
- package/es/assets/colorIcon/iconfont.json +555 -555
- package/es/assets/demo/dropdown.js +5 -5
- package/es/assets/demo/input.js +5 -5
- package/es/assets/styles/resetAntd.less +568 -568
- package/es/assets/styles/variable.less +21 -21
- package/es/assets/theme.js +1 -1
- package/es/attrCondition/group.js +4 -4
- package/es/attrCondition/index.js +11 -11
- package/es/attrCondition/styles/index.less +101 -101
- package/es/attrCondition/useAttrCondition.js +7 -7
- package/es/attrCondition/useConditionGroup.js +8 -8
- package/es/attrConditions/components/operateList.js +10 -10
- package/es/attrConditions/components/stringList.js +22 -21
- package/es/attrConditions/components/valuesList.js +5 -5
- package/es/attrConditions/demo/group.js +7 -7
- package/es/attrConditions/demo/index.js +5 -5
- package/es/attrConditions/group.js +3 -3
- package/es/attributeSelector/demo/disable.js +5 -5
- package/es/attributeSelector/demo/extra.js +5 -5
- package/es/attributeSelector/demo/funnel.js +5 -5
- package/es/attributeSelector/demo/index.js +5 -5
- package/es/attributeSelector/index.js +15 -15
- package/es/attributeSelector/listPanel.js +119 -116
- package/es/chart/demo/index.js +5 -5
- package/es/chart/demo/line_bar_stack.js +21 -21
- package/es/chart/demo/stack.js +5 -5
- package/es/chart/index.js +11 -11
- package/es/chart/styles/index.less +113 -113
- package/es/chart/util/chartOptionConfig.js +6 -6
- package/es/chart/util/data/china.js +1 -1
- package/es/chart/util/formatData.js +6 -6
- package/es/chart/util/mapUtil.js +11 -11
- package/es/constants/common.js +5 -5
- package/es/cycleTime/demo/hour.js +5 -5
- package/es/cycleTime/index.js +16 -16
- package/es/cycleTime/month.js +7 -7
- package/es/dataSetGroup/index.js +5 -5
- package/es/dataSetGroup/overlay.js +10 -10
- package/es/datePicker/datePicker.js +8 -8
- package/es/datePicker/demo/customType.js +5 -5
- package/es/datePicker/demo/day.js +5 -5
- package/es/datePicker/demo/index.js +5 -5
- package/es/datePicker/index.js +19 -19
- package/es/datePicker/shortcut.js +5 -5
- package/es/datePickerV2/datePicker.js +8 -8
- package/es/datePickerV2/demo/customType.js +5 -5
- package/es/datePickerV2/demo/day.js +5 -5
- package/es/datePickerV2/demo/index.js +5 -5
- package/es/datePickerV2/index.js +22 -22
- package/es/datePickerV2/popoverContent.js +10 -10
- package/es/datePickerV2/shortcut.js +7 -7
- package/es/datePickerV2/styles/index.less +194 -194
- package/es/demoWrapper/content.js +37 -37
- package/es/demoWrapper/index.js +15 -15
- package/es/dialog/demo/index.js +5 -5
- package/es/dialog/index.js +6 -6
- package/es/dnd/demo/data.js +5 -5
- package/es/dnd/demo/handle.js +5 -5
- package/es/dnd/index.js +11 -10
- package/es/dnd/item.js +5 -5
- package/es/empty/index.js +6 -6
- package/es/eventSelector/demo/index.js +5 -5
- package/es/eventSelector/demo/multiple.js +5 -5
- package/es/eventSelector/index.js +7 -7
- package/es/eventSelector/listPanel.js +33 -33
- package/es/eventSelector/option.js +3 -3
- package/es/eventSelector/styles/index.less +127 -127
- package/es/formulaTarget/components/formula/index.js +7 -7
- package/es/formulaTarget/components/formula/index.less +76 -76
- package/es/formulaTarget/components/formula/util.js +6 -6
- package/es/formulaTarget/components/formulaItem/index.js +21 -21
- package/es/formulaTarget/components/panel/index.js +32 -32
- package/es/formulaTarget/components/panel/item.js +10 -10
- package/es/formulaTarget/components/symbol/index.js +5 -5
- package/es/formulaTarget/demo/group.js +13 -13
- package/es/formulaTarget/index.js +25 -25
- package/es/hooks/useBizStore.js +35 -35
- package/es/hooks/useChanged.js +5 -5
- package/es/hooks/useSubject.js +5 -5
- package/es/icon/iconFont.js +8 -8
- package/es/layout/analysisLayout/index.js +8 -8
- package/es/layout/columnLayout/demo/data.js +9 -9
- package/es/layout/columnLayout/demo/index.js +5 -5
- package/es/layout/columnLayout/demo/panel.js +5 -5
- package/es/layout/columnLayout/index.js +10 -10
- package/es/layout/optionTitle/components/btnMenu/demo.js +2 -2
- package/es/layout/optionTitle/components/btnMenu/index.js +6 -6
- package/es/layout/optionTitle/components/changePanelModal/index.js +14 -14
- package/es/layout/optionTitle/components/changePanelModal/panelItem.js +10 -10
- package/es/layout/optionTitle/components/changePanelModal/styles/index.less +92 -92
- package/es/layout/optionTitle/components/title/demo.js +5 -5
- package/es/layout/optionTitle/components/title/index.js +11 -11
- package/es/layout/optionTitle/demo/index.js +5 -5
- package/es/layout/optionTitle/demo/layout.js +5 -5
- package/es/layout/optionTitle/demo/panelCreate.js +5 -5
- package/es/layout/optionTitle/index.js +21 -18
- package/es/layout/optionTitle/layout.js +9 -9
- package/es/loginForm/index.js +5 -5
- package/es/platformSelector/index.js +5 -5
- package/es/platformSelector/styles/index.less +26 -26
- package/es/productCondition/conditionTypeList.js +2 -2
- package/es/productCondition/conditions/cdpCshCondition.js +45 -45
- package/es/productCondition/conditions/eventCondition.js +8 -8
- package/es/productCondition/conditions/order/runPeriodCondition.js +6 -6
- package/es/productCondition/conditions/order/runTimesCondition.js +13 -13
- package/es/productCondition/conditions/periodCondition.js +8 -8
- package/es/productCondition/conditions/propCondition.js +14 -14
- package/es/productCondition/conditions/runTimesCondition.js +6 -6
- package/es/productCondition/conditions/styles/periodCondition.less +26 -26
- package/es/productCondition/conditions/textDesc.js +6 -6
- package/es/productCondition/conditions/timeDimension.js +18 -18
- package/es/productCondition/demo/business.js +5 -5
- package/es/productCondition/demo/index.js +5 -5
- package/es/productCondition/index.js +17 -17
- package/es/productCondition/orConditions.js +8 -8
- package/es/productCondition/relationLabel.js +2 -2
- package/es/productCondition/styles/conditionTypeList.less +32 -32
- package/es/productCondition/styles/relationLabel.less +19 -19
- package/es/productCondition/util.js +6 -6
- package/es/quickDatePicker/demo/index.js +11 -11
- package/es/quickDatePicker/index.js +27 -27
- package/es/quickDatePicker/styles/index.less +141 -141
- package/es/select/demo/children.js +5 -5
- package/es/select/demo/group.js +5 -5
- package/es/select/demo/index.js +5 -5
- package/es/select/demo/loading.js +5 -5
- package/es/select/demo/multiple.js +5 -5
- package/es/select/handle.js +12 -12
- package/es/select/index.js +17 -16
- package/es/select/option.js +13 -13
- package/es/select/overlay.js +17 -16
- package/es/select/styles/handle.less +206 -206
- package/es/select/styles/index.less +131 -131
- package/es/socket/demo/demo.js +8 -8
- package/es/socket/index.js +26 -23
- package/es/subjectWrapper/index.js +13 -13
- package/es/table/demo/index.js +15 -15
- package/es/table/demo/index2.js +5 -5
- package/es/table/demo/index3.js +8 -8
- package/es/table/index.js +8 -8
- package/es/targetConditionGroup/components/targetDimension.js +61 -57
- package/es/targetConditionGroup/demo/group.js +13 -13
- package/es/targetConditionGroup/demo/index.js +5 -5
- package/es/targetConditionGroup/index.js +32 -32
- package/es/targetSelector/demo/index.js +5 -5
- package/es/targetSelector/editBox.js +5 -5
- package/es/targetSelector/index.js +7 -7
- package/es/targetSelector/styles/index.less +142 -142
- package/es/userCondition/conditionTypeList.js +11 -11
- package/es/userCondition/conditions/business/operatorCondition.js +15 -15
- package/es/userCondition/conditions/business/paramsCondition.js +10 -10
- package/es/userCondition/conditions/businessCondition.js +15 -15
- package/es/userCondition/conditions/cdpCondition.js +27 -27
- package/es/userCondition/conditions/cdpCshCondition.js +45 -45
- package/es/userCondition/conditions/dataAttribute.js +11 -11
- package/es/userCondition/conditions/eventCondition.js +17 -17
- package/es/userCondition/conditions/order/runPeriodCondition.js +6 -6
- package/es/userCondition/conditions/order/runTimesCondition.js +13 -13
- package/es/userCondition/conditions/periodCondition.js +10 -10
- package/es/userCondition/conditions/propCondition.js +16 -16
- package/es/userCondition/conditions/runTimesCondition.js +6 -6
- package/es/userCondition/conditions/styles/eventCondition.less +71 -71
- package/es/userCondition/conditions/styles/periodCondition.less +32 -32
- package/es/userCondition/conditions/styles/textDesc.less +16 -16
- package/es/userCondition/conditions/tagsCondition.js +11 -11
- package/es/userCondition/conditions/textDesc.js +14 -14
- package/es/userCondition/conditions/timeDimension.js +18 -18
- package/es/userCondition/demo/business.js +5 -5
- package/es/userCondition/demo/index.js +5 -5
- package/es/userCondition/index.js +46 -45
- package/es/userCondition/orConditions.js +8 -8
- package/es/userCondition/relationLabel.js +2 -2
- package/es/userCondition/styles/conditionTypeList.less +32 -32
- package/es/userCondition/styles/relationLabel.less +19 -19
- package/es/userCondition/util.js +6 -6
- package/es/userGroup/demo/group.js +13 -13
- package/es/userGroup/demo/index.js +7 -7
- package/es/userGroup/index.js +10 -9
- package/es/userGroup/overlay.js +15 -15
- package/es/userGroup/styles/index.less +199 -199
- package/es/userGroupHeader/index.js +10 -10
- package/es/userGroupHeader/styles/index.less +50 -50
- package/es/userTagsSelector/cascaderOverlay.js +27 -27
- package/es/userTagsSelector/components/tagList/index.js +5 -5
- package/es/userTagsSelector/demo/index.js +5 -5
- package/es/userTagsSelector/groups/index.js +5 -5
- package/es/userTagsSelector/index.js +13 -13
- package/es/userTagsSelector/multipleCheckPanel/index.js +5 -5
- package/es/userTagsSelector/styles/index.less +20 -20
- package/es/utils/ajax.js +50 -47
- package/es/utils/demo/interruption.js +5 -5
- package/es/utils/eventApi.js +58 -50
- package/es/utils/type.js +6 -6
- package/package.json +2 -2
package/es/select/overlay.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function _toConsumableArray(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
3
3
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
-
function _iterableToArray(
|
|
5
|
-
function _arrayWithoutHoles(
|
|
6
|
-
function _defineProperty(
|
|
7
|
-
function _toPropertyKey(
|
|
8
|
-
function _toPrimitive(
|
|
9
|
-
function _slicedToArray(
|
|
4
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
5
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
10
10
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
11
|
-
function _unsupportedIterableToArray(
|
|
12
|
-
function _arrayLikeToArray(
|
|
13
|
-
function _iterableToArrayLimit(
|
|
14
|
-
function _arrayWithHoles(
|
|
11
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
12
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
13
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
14
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
15
15
|
import React, { useEffect, useState } from 'react';
|
|
16
16
|
import { Spin, message } from 'antd';
|
|
17
17
|
import BizSearchInput from '../searchInput';
|
|
@@ -92,7 +92,8 @@ var SelectOverlay = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
92
92
|
var optionsDom = [];
|
|
93
93
|
var list = _.cloneDeep(data);
|
|
94
94
|
if (props.enableCreate && searchValue) {
|
|
95
|
-
|
|
95
|
+
var _list$push;
|
|
96
|
+
list.push((_list$push = {}, _defineProperty(_list$push, props.keyField, searchValue), _defineProperty(_list$push, props.labelField, searchValue), _defineProperty(_list$push, "isTemp", true), _list$push));
|
|
96
97
|
}
|
|
97
98
|
var tempOption = null;
|
|
98
99
|
var useTemp = true;
|
|
@@ -196,15 +197,15 @@ var SelectOverlay = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
196
197
|
return /*#__PURE__*/React.createElement("div", {
|
|
197
198
|
className: "".concat(classPrefix, "-overlay ").concat(overlayClassName),
|
|
198
199
|
ref: ref
|
|
199
|
-
}, props.enableSearch &&
|
|
200
|
+
}, props.enableSearch && /*#__PURE__*/React.createElement(BizSearchInput, {
|
|
200
201
|
className: "".concat(classPrefix, "-search"),
|
|
201
202
|
onChange: onSearch,
|
|
202
203
|
placeholder: props.searchPlaceholder || '请输入'
|
|
203
|
-
})
|
|
204
|
+
}), dropdownExtra, props.enableSelectAll && props.multiple && showList.length ? /*#__PURE__*/React.createElement(SelectAll, {
|
|
204
205
|
options: props.options,
|
|
205
206
|
value: current,
|
|
206
207
|
onChange: onCheckAllChange
|
|
207
|
-
})
|
|
208
|
+
}) : null, /*#__PURE__*/React.createElement("div", {
|
|
208
209
|
className: "".concat(classPrefix, "-list-panel")
|
|
209
210
|
}, render()));
|
|
210
211
|
});
|
|
@@ -1,206 +1,206 @@
|
|
|
1
|
-
@import '../../assets/styles/inner.less';
|
|
2
|
-
|
|
3
|
-
.biz-select-handle {
|
|
4
|
-
&-input {
|
|
5
|
-
position: relative;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex: 1;
|
|
8
|
-
padding: 0px 6px 0 8px;
|
|
9
|
-
&.disable {
|
|
10
|
-
.__disable();
|
|
11
|
-
.bsicon {
|
|
12
|
-
color: @disabled-color;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.__select-default();
|
|
17
|
-
|
|
18
|
-
&.secondary {
|
|
19
|
-
.__select-normal-secondary();
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.borderless {
|
|
23
|
-
border: none;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&.large {
|
|
27
|
-
height: @height-lg;
|
|
28
|
-
font-size: @font-size-lg;
|
|
29
|
-
line-height: @height-lg;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&.small {
|
|
33
|
-
height: @height-sm;
|
|
34
|
-
line-height: @height-sm;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&.middle {
|
|
38
|
-
height: @height-base;
|
|
39
|
-
line-height: @height-base;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&-input-multiple {
|
|
44
|
-
display: flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
height: auto;
|
|
47
|
-
line-height: 1;
|
|
48
|
-
&.small {
|
|
49
|
-
height: auto;
|
|
50
|
-
min-height: @height-sm;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&.middle {
|
|
54
|
-
height: auto;
|
|
55
|
-
min-height: @height-base;
|
|
56
|
-
}
|
|
57
|
-
.biz-select-handle-tag {
|
|
58
|
-
display: flex;
|
|
59
|
-
align-items: center;
|
|
60
|
-
margin: 2px 4px 2px 0;
|
|
61
|
-
padding: 0 4px;
|
|
62
|
-
padding-top: 1px;
|
|
63
|
-
padding-bottom: 1px;
|
|
64
|
-
background: none;
|
|
65
|
-
border-color: #cacdd4;
|
|
66
|
-
border-radius: @border-radius-small;
|
|
67
|
-
&-label {
|
|
68
|
-
min-width: 0;
|
|
69
|
-
max-width: 100px;
|
|
70
|
-
overflow: hidden;
|
|
71
|
-
text-overflow: ellipsis;
|
|
72
|
-
}
|
|
73
|
-
&:not(.disable) {
|
|
74
|
-
&:hover {
|
|
75
|
-
.__default-hover();
|
|
76
|
-
.anticon {
|
|
77
|
-
color: @primary-color;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
&.disable {
|
|
82
|
-
&:hover {
|
|
83
|
-
cursor: not-allowed;
|
|
84
|
-
.anticon-close {
|
|
85
|
-
cursor: not-allowed;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
.biz-select-handle-tag-label,
|
|
89
|
-
.ant-tag-close-icon {
|
|
90
|
-
color: #ccd0d4 !important;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
.biz-select-handle-tag:is(.state-2, .state-3, .state-4) {
|
|
95
|
-
color: #fb5547;
|
|
96
|
-
border-color: #fb5547;
|
|
97
|
-
.ant-tag-close-icon {
|
|
98
|
-
color: #fb5547 !important;
|
|
99
|
-
}
|
|
100
|
-
&:not(.disable) {
|
|
101
|
-
&:hover {
|
|
102
|
-
color: #fb5547;
|
|
103
|
-
border-color: #fb5547;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
&-multiple-content {
|
|
109
|
-
display: flex;
|
|
110
|
-
flex: 1;
|
|
111
|
-
flex-wrap: wrap;
|
|
112
|
-
align-items: center;
|
|
113
|
-
overflow: visible;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
&-search.ant-input {
|
|
117
|
-
width: auto;
|
|
118
|
-
padding: 0;
|
|
119
|
-
background-color: transparent;
|
|
120
|
-
border: none !important;
|
|
121
|
-
box-shadow: none;
|
|
122
|
-
|
|
123
|
-
&:focus,
|
|
124
|
-
&.active {
|
|
125
|
-
box-shadow: none !important;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
&-temp {
|
|
129
|
-
position: absolute;
|
|
130
|
-
top: -999999999999999px;
|
|
131
|
-
padding: 0 @padding-sm;
|
|
132
|
-
font-size: @font-size-base;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&-holder {
|
|
136
|
-
color: @input-placeholder-color;
|
|
137
|
-
line-height: 20px;
|
|
138
|
-
}
|
|
139
|
-
&-content {
|
|
140
|
-
display: flex;
|
|
141
|
-
flex: 1;
|
|
142
|
-
align-items: center;
|
|
143
|
-
width: calc(100% - 19px);
|
|
144
|
-
&-label {
|
|
145
|
-
// width: 100%;
|
|
146
|
-
.__default-overflow();
|
|
147
|
-
}
|
|
148
|
-
&-icon-list {
|
|
149
|
-
display: flex;
|
|
150
|
-
// flex: 1;
|
|
151
|
-
flex-direction: row;
|
|
152
|
-
align-items: center;
|
|
153
|
-
justify-content: end;
|
|
154
|
-
}
|
|
155
|
-
&-icon-qingchu-box {
|
|
156
|
-
display: none;
|
|
157
|
-
gap: 10px;
|
|
158
|
-
align-items: center;
|
|
159
|
-
justify-content: center;
|
|
160
|
-
width: 16px;
|
|
161
|
-
height: 24px;
|
|
162
|
-
margin-left: 8px;
|
|
163
|
-
padding: 10px;
|
|
164
|
-
border-radius: 4px;
|
|
165
|
-
}
|
|
166
|
-
&-icon-qingchu-box:hover {
|
|
167
|
-
color: #fb5547;
|
|
168
|
-
background: #feddda;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
&-input:hover {
|
|
172
|
-
.biz-select-handle-content-icon-qingchu-box {
|
|
173
|
-
display: flex;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
&-expand-icon {
|
|
177
|
-
width: 14px;
|
|
178
|
-
margin-left: 5px;
|
|
179
|
-
color: @text-color-secondary;
|
|
180
|
-
&.open {
|
|
181
|
-
transform: rotate(180deg);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
&-tooltip {
|
|
186
|
-
.ant-tooltip-inner {
|
|
187
|
-
color: @black;
|
|
188
|
-
background-color: @white;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
&-icon {
|
|
193
|
-
margin-right: @margin-xss;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
&-status-error {
|
|
197
|
-
border-color: @error-color;
|
|
198
|
-
&.biz-select-handle-input:hover {
|
|
199
|
-
border-color: @error-color;
|
|
200
|
-
}
|
|
201
|
-
&.biz-select-handle-input.active:not(.disable) {
|
|
202
|
-
border-color: @error-color;
|
|
203
|
-
box-shadow: 0 0 0 4px rgba(#ff8170, 0.2) !important;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
1
|
+
@import '../../assets/styles/inner.less';
|
|
2
|
+
|
|
3
|
+
.biz-select-handle {
|
|
4
|
+
&-input {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex: 1;
|
|
8
|
+
padding: 0px 6px 0 8px;
|
|
9
|
+
&.disable {
|
|
10
|
+
.__disable();
|
|
11
|
+
.bsicon {
|
|
12
|
+
color: @disabled-color;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.__select-default();
|
|
17
|
+
|
|
18
|
+
&.secondary {
|
|
19
|
+
.__select-normal-secondary();
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.borderless {
|
|
23
|
+
border: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.large {
|
|
27
|
+
height: @height-lg;
|
|
28
|
+
font-size: @font-size-lg;
|
|
29
|
+
line-height: @height-lg;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.small {
|
|
33
|
+
height: @height-sm;
|
|
34
|
+
line-height: @height-sm;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.middle {
|
|
38
|
+
height: @height-base;
|
|
39
|
+
line-height: @height-base;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&-input-multiple {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
height: auto;
|
|
47
|
+
line-height: 1;
|
|
48
|
+
&.small {
|
|
49
|
+
height: auto;
|
|
50
|
+
min-height: @height-sm;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.middle {
|
|
54
|
+
height: auto;
|
|
55
|
+
min-height: @height-base;
|
|
56
|
+
}
|
|
57
|
+
.biz-select-handle-tag {
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
margin: 2px 4px 2px 0;
|
|
61
|
+
padding: 0 4px;
|
|
62
|
+
padding-top: 1px;
|
|
63
|
+
padding-bottom: 1px;
|
|
64
|
+
background: none;
|
|
65
|
+
border-color: #cacdd4;
|
|
66
|
+
border-radius: @border-radius-small;
|
|
67
|
+
&-label {
|
|
68
|
+
min-width: 0;
|
|
69
|
+
max-width: 100px;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
text-overflow: ellipsis;
|
|
72
|
+
}
|
|
73
|
+
&:not(.disable) {
|
|
74
|
+
&:hover {
|
|
75
|
+
.__default-hover();
|
|
76
|
+
.anticon {
|
|
77
|
+
color: @primary-color;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
&.disable {
|
|
82
|
+
&:hover {
|
|
83
|
+
cursor: not-allowed;
|
|
84
|
+
.anticon-close {
|
|
85
|
+
cursor: not-allowed;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
.biz-select-handle-tag-label,
|
|
89
|
+
.ant-tag-close-icon {
|
|
90
|
+
color: #ccd0d4 !important;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
.biz-select-handle-tag:is(.state-2, .state-3, .state-4) {
|
|
95
|
+
color: #fb5547;
|
|
96
|
+
border-color: #fb5547;
|
|
97
|
+
.ant-tag-close-icon {
|
|
98
|
+
color: #fb5547 !important;
|
|
99
|
+
}
|
|
100
|
+
&:not(.disable) {
|
|
101
|
+
&:hover {
|
|
102
|
+
color: #fb5547;
|
|
103
|
+
border-color: #fb5547;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
&-multiple-content {
|
|
109
|
+
display: flex;
|
|
110
|
+
flex: 1;
|
|
111
|
+
flex-wrap: wrap;
|
|
112
|
+
align-items: center;
|
|
113
|
+
overflow: visible;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&-search.ant-input {
|
|
117
|
+
width: auto;
|
|
118
|
+
padding: 0;
|
|
119
|
+
background-color: transparent;
|
|
120
|
+
border: none !important;
|
|
121
|
+
box-shadow: none;
|
|
122
|
+
|
|
123
|
+
&:focus,
|
|
124
|
+
&.active {
|
|
125
|
+
box-shadow: none !important;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
&-temp {
|
|
129
|
+
position: absolute;
|
|
130
|
+
top: -999999999999999px;
|
|
131
|
+
padding: 0 @padding-sm;
|
|
132
|
+
font-size: @font-size-base;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&-holder {
|
|
136
|
+
color: @input-placeholder-color;
|
|
137
|
+
line-height: 20px;
|
|
138
|
+
}
|
|
139
|
+
&-content {
|
|
140
|
+
display: flex;
|
|
141
|
+
flex: 1;
|
|
142
|
+
align-items: center;
|
|
143
|
+
width: calc(100% - 19px);
|
|
144
|
+
&-label {
|
|
145
|
+
// width: 100%;
|
|
146
|
+
.__default-overflow();
|
|
147
|
+
}
|
|
148
|
+
&-icon-list {
|
|
149
|
+
display: flex;
|
|
150
|
+
// flex: 1;
|
|
151
|
+
flex-direction: row;
|
|
152
|
+
align-items: center;
|
|
153
|
+
justify-content: end;
|
|
154
|
+
}
|
|
155
|
+
&-icon-qingchu-box {
|
|
156
|
+
display: none;
|
|
157
|
+
gap: 10px;
|
|
158
|
+
align-items: center;
|
|
159
|
+
justify-content: center;
|
|
160
|
+
width: 16px;
|
|
161
|
+
height: 24px;
|
|
162
|
+
margin-left: 8px;
|
|
163
|
+
padding: 10px;
|
|
164
|
+
border-radius: 4px;
|
|
165
|
+
}
|
|
166
|
+
&-icon-qingchu-box:hover {
|
|
167
|
+
color: #fb5547;
|
|
168
|
+
background: #feddda;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
&-input:hover {
|
|
172
|
+
.biz-select-handle-content-icon-qingchu-box {
|
|
173
|
+
display: flex;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
&-expand-icon {
|
|
177
|
+
width: 14px;
|
|
178
|
+
margin-left: 5px;
|
|
179
|
+
color: @text-color-secondary;
|
|
180
|
+
&.open {
|
|
181
|
+
transform: rotate(180deg);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&-tooltip {
|
|
186
|
+
.ant-tooltip-inner {
|
|
187
|
+
color: @black;
|
|
188
|
+
background-color: @white;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&-icon {
|
|
193
|
+
margin-right: @margin-xss;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
&-status-error {
|
|
197
|
+
border-color: @error-color;
|
|
198
|
+
&.biz-select-handle-input:hover {
|
|
199
|
+
border-color: @error-color;
|
|
200
|
+
}
|
|
201
|
+
&.biz-select-handle-input.active:not(.disable) {
|
|
202
|
+
border-color: @error-color;
|
|
203
|
+
box-shadow: 0 0 0 4px rgba(#ff8170, 0.2) !important;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|