@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.
Files changed (213) hide show
  1. package/es/AUMFormulaTarget/components/formula/index.js +10 -10
  2. package/es/AUMFormulaTarget/components/formula/util.js +6 -6
  3. package/es/AUMFormulaTarget/components/formulaItem/index.js +23 -23
  4. package/es/AUMFormulaTarget/components/panel/cdpCshCondition.js +50 -50
  5. package/es/AUMFormulaTarget/components/panel/index.js +30 -30
  6. package/es/AUMFormulaTarget/components/panel/index.less +269 -269
  7. package/es/AUMFormulaTarget/components/panel/item.js +22 -22
  8. package/es/AUMFormulaTarget/components/symbol/index.js +5 -5
  9. package/es/AUMFormulaTarget/demo/group.js +13 -13
  10. package/es/AUMFormulaTarget/index.js +11 -11
  11. package/es/addToPanel/components/addPanel.js +5 -5
  12. package/es/addToPanel/components/numberChart.js +5 -5
  13. package/es/addToPanel/components/styleList.js +5 -5
  14. package/es/addToPanel/components/wholeChart.js +5 -5
  15. package/es/addToPanel/demo/edit.js +7 -7
  16. package/es/addToPanel/demo/index.js +7 -7
  17. package/es/addToPanel/index.js +21 -21
  18. package/es/addToScene/demo/index.js +7 -7
  19. package/es/addToScene/index.js +8 -8
  20. package/es/assets/colorIcon/iconfont.json +555 -555
  21. package/es/assets/demo/dropdown.js +5 -5
  22. package/es/assets/demo/input.js +5 -5
  23. package/es/assets/styles/resetAntd.less +568 -568
  24. package/es/assets/styles/variable.less +21 -21
  25. package/es/assets/theme.js +1 -1
  26. package/es/attrCondition/group.js +4 -4
  27. package/es/attrCondition/index.js +11 -11
  28. package/es/attrCondition/styles/index.less +101 -101
  29. package/es/attrCondition/useAttrCondition.js +7 -7
  30. package/es/attrCondition/useConditionGroup.js +8 -8
  31. package/es/attrConditions/components/operateList.js +10 -10
  32. package/es/attrConditions/components/stringList.js +22 -21
  33. package/es/attrConditions/components/valuesList.js +5 -5
  34. package/es/attrConditions/demo/group.js +7 -7
  35. package/es/attrConditions/demo/index.js +5 -5
  36. package/es/attrConditions/group.js +3 -3
  37. package/es/attributeSelector/demo/disable.js +5 -5
  38. package/es/attributeSelector/demo/extra.js +5 -5
  39. package/es/attributeSelector/demo/funnel.js +5 -5
  40. package/es/attributeSelector/demo/index.js +5 -5
  41. package/es/attributeSelector/index.js +15 -15
  42. package/es/attributeSelector/listPanel.js +119 -116
  43. package/es/chart/demo/index.js +5 -5
  44. package/es/chart/demo/line_bar_stack.js +21 -21
  45. package/es/chart/demo/stack.js +5 -5
  46. package/es/chart/index.js +11 -11
  47. package/es/chart/styles/index.less +113 -113
  48. package/es/chart/util/chartOptionConfig.js +6 -6
  49. package/es/chart/util/data/china.js +1 -1
  50. package/es/chart/util/formatData.js +6 -6
  51. package/es/chart/util/mapUtil.js +11 -11
  52. package/es/constants/common.js +5 -5
  53. package/es/cycleTime/demo/hour.js +5 -5
  54. package/es/cycleTime/index.js +16 -16
  55. package/es/cycleTime/month.js +7 -7
  56. package/es/dataSetGroup/index.js +5 -5
  57. package/es/dataSetGroup/overlay.js +10 -10
  58. package/es/datePicker/datePicker.js +8 -8
  59. package/es/datePicker/demo/customType.js +5 -5
  60. package/es/datePicker/demo/day.js +5 -5
  61. package/es/datePicker/demo/index.js +5 -5
  62. package/es/datePicker/index.js +19 -19
  63. package/es/datePicker/shortcut.js +5 -5
  64. package/es/datePickerV2/datePicker.js +8 -8
  65. package/es/datePickerV2/demo/customType.js +5 -5
  66. package/es/datePickerV2/demo/day.js +5 -5
  67. package/es/datePickerV2/demo/index.js +5 -5
  68. package/es/datePickerV2/index.js +22 -22
  69. package/es/datePickerV2/popoverContent.js +10 -10
  70. package/es/datePickerV2/shortcut.js +7 -7
  71. package/es/datePickerV2/styles/index.less +194 -194
  72. package/es/demoWrapper/content.js +37 -37
  73. package/es/demoWrapper/index.js +15 -15
  74. package/es/dialog/demo/index.js +5 -5
  75. package/es/dialog/index.js +6 -6
  76. package/es/dnd/demo/data.js +5 -5
  77. package/es/dnd/demo/handle.js +5 -5
  78. package/es/dnd/index.js +11 -10
  79. package/es/dnd/item.js +5 -5
  80. package/es/empty/index.js +6 -6
  81. package/es/eventSelector/demo/index.js +5 -5
  82. package/es/eventSelector/demo/multiple.js +5 -5
  83. package/es/eventSelector/index.js +7 -7
  84. package/es/eventSelector/listPanel.js +33 -33
  85. package/es/eventSelector/option.js +3 -3
  86. package/es/eventSelector/styles/index.less +127 -127
  87. package/es/formulaTarget/components/formula/index.js +7 -7
  88. package/es/formulaTarget/components/formula/index.less +76 -76
  89. package/es/formulaTarget/components/formula/util.js +6 -6
  90. package/es/formulaTarget/components/formulaItem/index.js +21 -21
  91. package/es/formulaTarget/components/panel/index.js +32 -32
  92. package/es/formulaTarget/components/panel/item.js +10 -10
  93. package/es/formulaTarget/components/symbol/index.js +5 -5
  94. package/es/formulaTarget/demo/group.js +13 -13
  95. package/es/formulaTarget/index.js +25 -25
  96. package/es/hooks/useBizStore.js +35 -35
  97. package/es/hooks/useChanged.js +5 -5
  98. package/es/hooks/useSubject.js +5 -5
  99. package/es/icon/iconFont.js +8 -8
  100. package/es/layout/analysisLayout/index.js +8 -8
  101. package/es/layout/columnLayout/demo/data.js +9 -9
  102. package/es/layout/columnLayout/demo/index.js +5 -5
  103. package/es/layout/columnLayout/demo/panel.js +5 -5
  104. package/es/layout/columnLayout/index.js +10 -10
  105. package/es/layout/optionTitle/components/btnMenu/demo.js +2 -2
  106. package/es/layout/optionTitle/components/btnMenu/index.js +6 -6
  107. package/es/layout/optionTitle/components/changePanelModal/index.js +14 -14
  108. package/es/layout/optionTitle/components/changePanelModal/panelItem.js +10 -10
  109. package/es/layout/optionTitle/components/changePanelModal/styles/index.less +92 -92
  110. package/es/layout/optionTitle/components/title/demo.js +5 -5
  111. package/es/layout/optionTitle/components/title/index.js +11 -11
  112. package/es/layout/optionTitle/demo/index.js +5 -5
  113. package/es/layout/optionTitle/demo/layout.js +5 -5
  114. package/es/layout/optionTitle/demo/panelCreate.js +5 -5
  115. package/es/layout/optionTitle/index.js +21 -18
  116. package/es/layout/optionTitle/layout.js +9 -9
  117. package/es/loginForm/index.js +5 -5
  118. package/es/platformSelector/index.js +5 -5
  119. package/es/platformSelector/styles/index.less +26 -26
  120. package/es/productCondition/conditionTypeList.js +2 -2
  121. package/es/productCondition/conditions/cdpCshCondition.js +45 -45
  122. package/es/productCondition/conditions/eventCondition.js +8 -8
  123. package/es/productCondition/conditions/order/runPeriodCondition.js +6 -6
  124. package/es/productCondition/conditions/order/runTimesCondition.js +13 -13
  125. package/es/productCondition/conditions/periodCondition.js +8 -8
  126. package/es/productCondition/conditions/propCondition.js +14 -14
  127. package/es/productCondition/conditions/runTimesCondition.js +6 -6
  128. package/es/productCondition/conditions/styles/periodCondition.less +26 -26
  129. package/es/productCondition/conditions/textDesc.js +6 -6
  130. package/es/productCondition/conditions/timeDimension.js +18 -18
  131. package/es/productCondition/demo/business.js +5 -5
  132. package/es/productCondition/demo/index.js +5 -5
  133. package/es/productCondition/index.js +17 -17
  134. package/es/productCondition/orConditions.js +8 -8
  135. package/es/productCondition/relationLabel.js +2 -2
  136. package/es/productCondition/styles/conditionTypeList.less +32 -32
  137. package/es/productCondition/styles/relationLabel.less +19 -19
  138. package/es/productCondition/util.js +6 -6
  139. package/es/quickDatePicker/demo/index.js +11 -11
  140. package/es/quickDatePicker/index.js +27 -27
  141. package/es/quickDatePicker/styles/index.less +141 -141
  142. package/es/select/demo/children.js +5 -5
  143. package/es/select/demo/group.js +5 -5
  144. package/es/select/demo/index.js +5 -5
  145. package/es/select/demo/loading.js +5 -5
  146. package/es/select/demo/multiple.js +5 -5
  147. package/es/select/handle.js +12 -12
  148. package/es/select/index.js +17 -16
  149. package/es/select/option.js +13 -13
  150. package/es/select/overlay.js +17 -16
  151. package/es/select/styles/handle.less +206 -206
  152. package/es/select/styles/index.less +131 -131
  153. package/es/socket/demo/demo.js +8 -8
  154. package/es/socket/index.js +26 -23
  155. package/es/subjectWrapper/index.js +13 -13
  156. package/es/table/demo/index.js +15 -15
  157. package/es/table/demo/index2.js +5 -5
  158. package/es/table/demo/index3.js +8 -8
  159. package/es/table/index.js +8 -8
  160. package/es/targetConditionGroup/components/targetDimension.js +61 -57
  161. package/es/targetConditionGroup/demo/group.js +13 -13
  162. package/es/targetConditionGroup/demo/index.js +5 -5
  163. package/es/targetConditionGroup/index.js +32 -32
  164. package/es/targetSelector/demo/index.js +5 -5
  165. package/es/targetSelector/editBox.js +5 -5
  166. package/es/targetSelector/index.js +7 -7
  167. package/es/targetSelector/styles/index.less +142 -142
  168. package/es/userCondition/conditionTypeList.js +11 -11
  169. package/es/userCondition/conditions/business/operatorCondition.js +15 -15
  170. package/es/userCondition/conditions/business/paramsCondition.js +10 -10
  171. package/es/userCondition/conditions/businessCondition.js +15 -15
  172. package/es/userCondition/conditions/cdpCondition.js +27 -27
  173. package/es/userCondition/conditions/cdpCshCondition.js +45 -45
  174. package/es/userCondition/conditions/dataAttribute.js +11 -11
  175. package/es/userCondition/conditions/eventCondition.js +17 -17
  176. package/es/userCondition/conditions/order/runPeriodCondition.js +6 -6
  177. package/es/userCondition/conditions/order/runTimesCondition.js +13 -13
  178. package/es/userCondition/conditions/periodCondition.js +10 -10
  179. package/es/userCondition/conditions/propCondition.js +16 -16
  180. package/es/userCondition/conditions/runTimesCondition.js +6 -6
  181. package/es/userCondition/conditions/styles/eventCondition.less +71 -71
  182. package/es/userCondition/conditions/styles/periodCondition.less +32 -32
  183. package/es/userCondition/conditions/styles/textDesc.less +16 -16
  184. package/es/userCondition/conditions/tagsCondition.js +11 -11
  185. package/es/userCondition/conditions/textDesc.js +14 -14
  186. package/es/userCondition/conditions/timeDimension.js +18 -18
  187. package/es/userCondition/demo/business.js +5 -5
  188. package/es/userCondition/demo/index.js +5 -5
  189. package/es/userCondition/index.js +46 -45
  190. package/es/userCondition/orConditions.js +8 -8
  191. package/es/userCondition/relationLabel.js +2 -2
  192. package/es/userCondition/styles/conditionTypeList.less +32 -32
  193. package/es/userCondition/styles/relationLabel.less +19 -19
  194. package/es/userCondition/util.js +6 -6
  195. package/es/userGroup/demo/group.js +13 -13
  196. package/es/userGroup/demo/index.js +7 -7
  197. package/es/userGroup/index.js +10 -9
  198. package/es/userGroup/overlay.js +15 -15
  199. package/es/userGroup/styles/index.less +199 -199
  200. package/es/userGroupHeader/index.js +10 -10
  201. package/es/userGroupHeader/styles/index.less +50 -50
  202. package/es/userTagsSelector/cascaderOverlay.js +27 -27
  203. package/es/userTagsSelector/components/tagList/index.js +5 -5
  204. package/es/userTagsSelector/demo/index.js +5 -5
  205. package/es/userTagsSelector/groups/index.js +5 -5
  206. package/es/userTagsSelector/index.js +13 -13
  207. package/es/userTagsSelector/multipleCheckPanel/index.js +5 -5
  208. package/es/userTagsSelector/styles/index.less +20 -20
  209. package/es/utils/ajax.js +50 -47
  210. package/es/utils/demo/interruption.js +5 -5
  211. package/es/utils/eventApi.js +58 -50
  212. package/es/utils/type.js +6 -6
  213. package/package.json +2 -2
@@ -1,17 +1,17 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
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(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
5
- function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
6
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
7
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
8
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
- function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
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(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
12
- function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
13
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
14
- function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
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
- list.push(_defineProperty(_defineProperty(_defineProperty({}, props.keyField, searchValue), props.labelField, searchValue), "isTemp", true));
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 && (/*#__PURE__*/React.createElement(BizSearchInput, {
200
+ }, props.enableSearch && /*#__PURE__*/React.createElement(BizSearchInput, {
200
201
  className: "".concat(classPrefix, "-search"),
201
202
  onChange: onSearch,
202
203
  placeholder: props.searchPlaceholder || '请输入'
203
- })), dropdownExtra, props.enableSelectAll && props.multiple && showList.length ? (/*#__PURE__*/React.createElement(SelectAll, {
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
- })) : null, /*#__PURE__*/React.createElement("div", {
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
+ }