@zgfe/business-lib 1.2.71-hxd.26 → 1.2.71-hxd.30

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 (215) 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 +21 -22
  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 +116 -325
  43. package/es/attributeSelector/types.d.ts +0 -1
  44. package/es/attributeSelector/util.js +0 -3
  45. package/es/chart/demo/index.js +5 -5
  46. package/es/chart/demo/line_bar_stack.js +21 -21
  47. package/es/chart/demo/stack.js +5 -5
  48. package/es/chart/index.js +11 -11
  49. package/es/chart/styles/index.less +113 -113
  50. package/es/chart/util/chartOptionConfig.js +6 -6
  51. package/es/chart/util/data/china.js +1 -1
  52. package/es/chart/util/formatData.js +6 -6
  53. package/es/chart/util/mapUtil.js +11 -11
  54. package/es/constants/common.js +5 -5
  55. package/es/cycleTime/demo/hour.js +5 -5
  56. package/es/cycleTime/index.js +16 -16
  57. package/es/cycleTime/month.js +7 -7
  58. package/es/dataSetGroup/index.js +5 -5
  59. package/es/dataSetGroup/overlay.js +10 -10
  60. package/es/datePicker/datePicker.js +8 -8
  61. package/es/datePicker/demo/customType.js +5 -5
  62. package/es/datePicker/demo/day.js +5 -5
  63. package/es/datePicker/demo/index.js +5 -5
  64. package/es/datePicker/index.js +19 -19
  65. package/es/datePicker/shortcut.js +5 -5
  66. package/es/datePickerV2/datePicker.js +8 -8
  67. package/es/datePickerV2/demo/customType.js +5 -5
  68. package/es/datePickerV2/demo/day.js +5 -5
  69. package/es/datePickerV2/demo/index.js +5 -5
  70. package/es/datePickerV2/index.js +23 -23
  71. package/es/datePickerV2/popoverContent.js +10 -10
  72. package/es/datePickerV2/shortcut.js +7 -7
  73. package/es/datePickerV2/styles/index.less +194 -194
  74. package/es/demoWrapper/content.js +37 -37
  75. package/es/demoWrapper/index.js +15 -15
  76. package/es/dialog/demo/index.js +5 -5
  77. package/es/dialog/index.js +6 -6
  78. package/es/dnd/demo/data.js +5 -5
  79. package/es/dnd/demo/handle.js +5 -5
  80. package/es/dnd/index.js +10 -11
  81. package/es/dnd/item.js +5 -5
  82. package/es/empty/index.js +6 -6
  83. package/es/eventSelector/demo/index.js +5 -5
  84. package/es/eventSelector/demo/multiple.js +5 -5
  85. package/es/eventSelector/index.js +7 -7
  86. package/es/eventSelector/listPanel.js +33 -33
  87. package/es/eventSelector/option.js +3 -3
  88. package/es/eventSelector/styles/index.less +127 -127
  89. package/es/formulaTarget/components/formula/index.js +7 -7
  90. package/es/formulaTarget/components/formula/index.less +76 -76
  91. package/es/formulaTarget/components/formula/util.js +6 -6
  92. package/es/formulaTarget/components/formulaItem/index.js +21 -21
  93. package/es/formulaTarget/components/panel/index.js +32 -32
  94. package/es/formulaTarget/components/panel/item.js +10 -10
  95. package/es/formulaTarget/components/symbol/index.js +5 -5
  96. package/es/formulaTarget/demo/group.js +13 -13
  97. package/es/formulaTarget/index.js +25 -25
  98. package/es/hooks/useBizStore.js +35 -35
  99. package/es/hooks/useChanged.js +5 -5
  100. package/es/hooks/useSubject.js +5 -5
  101. package/es/icon/iconFont.js +8 -8
  102. package/es/layout/analysisLayout/index.js +8 -8
  103. package/es/layout/columnLayout/demo/data.js +9 -9
  104. package/es/layout/columnLayout/demo/index.js +5 -5
  105. package/es/layout/columnLayout/demo/panel.js +5 -5
  106. package/es/layout/columnLayout/index.js +10 -10
  107. package/es/layout/optionTitle/components/btnMenu/demo.js +2 -2
  108. package/es/layout/optionTitle/components/btnMenu/index.js +6 -6
  109. package/es/layout/optionTitle/components/changePanelModal/index.js +14 -14
  110. package/es/layout/optionTitle/components/changePanelModal/panelItem.js +10 -10
  111. package/es/layout/optionTitle/components/changePanelModal/styles/index.less +92 -92
  112. package/es/layout/optionTitle/components/title/demo.js +5 -5
  113. package/es/layout/optionTitle/components/title/index.js +11 -11
  114. package/es/layout/optionTitle/demo/index.js +5 -5
  115. package/es/layout/optionTitle/demo/layout.js +5 -5
  116. package/es/layout/optionTitle/demo/panelCreate.js +5 -5
  117. package/es/layout/optionTitle/index.js +15 -15
  118. package/es/layout/optionTitle/layout.js +9 -9
  119. package/es/loginForm/index.js +5 -5
  120. package/es/platformSelector/index.js +5 -5
  121. package/es/platformSelector/styles/index.less +26 -26
  122. package/es/productCondition/conditionTypeList.js +2 -2
  123. package/es/productCondition/conditions/cdpCshCondition.js +45 -45
  124. package/es/productCondition/conditions/eventCondition.js +8 -8
  125. package/es/productCondition/conditions/order/runPeriodCondition.js +6 -6
  126. package/es/productCondition/conditions/order/runTimesCondition.js +13 -13
  127. package/es/productCondition/conditions/periodCondition.js +8 -8
  128. package/es/productCondition/conditions/propCondition.js +14 -14
  129. package/es/productCondition/conditions/runTimesCondition.js +6 -6
  130. package/es/productCondition/conditions/styles/periodCondition.less +26 -26
  131. package/es/productCondition/conditions/textDesc.js +6 -6
  132. package/es/productCondition/conditions/timeDimension.js +18 -18
  133. package/es/productCondition/demo/business.js +5 -5
  134. package/es/productCondition/demo/index.js +5 -5
  135. package/es/productCondition/index.js +17 -17
  136. package/es/productCondition/orConditions.js +8 -8
  137. package/es/productCondition/relationLabel.js +2 -2
  138. package/es/productCondition/styles/conditionTypeList.less +32 -32
  139. package/es/productCondition/styles/relationLabel.less +19 -19
  140. package/es/productCondition/util.js +6 -6
  141. package/es/quickDatePicker/demo/index.js +11 -11
  142. package/es/quickDatePicker/index.js +27 -27
  143. package/es/quickDatePicker/styles/index.less +141 -141
  144. package/es/select/demo/children.js +5 -5
  145. package/es/select/demo/group.js +5 -5
  146. package/es/select/demo/index.js +5 -5
  147. package/es/select/demo/loading.js +5 -5
  148. package/es/select/demo/multiple.js +5 -5
  149. package/es/select/handle.js +12 -12
  150. package/es/select/index.js +16 -17
  151. package/es/select/option.js +13 -13
  152. package/es/select/overlay.js +16 -17
  153. package/es/select/styles/handle.less +206 -206
  154. package/es/select/styles/index.less +131 -131
  155. package/es/socket/demo/demo.js +8 -8
  156. package/es/socket/index.js +23 -26
  157. package/es/subjectWrapper/index.js +13 -13
  158. package/es/table/demo/index.js +15 -15
  159. package/es/table/demo/index2.js +5 -5
  160. package/es/table/demo/index3.js +8 -8
  161. package/es/table/index.js +8 -8
  162. package/es/targetConditionGroup/components/targetDimension.js +57 -61
  163. package/es/targetConditionGroup/demo/group.js +13 -13
  164. package/es/targetConditionGroup/demo/index.js +5 -5
  165. package/es/targetConditionGroup/index.js +32 -32
  166. package/es/targetSelector/demo/index.js +5 -5
  167. package/es/targetSelector/editBox.js +5 -5
  168. package/es/targetSelector/index.js +7 -7
  169. package/es/targetSelector/styles/index.less +142 -142
  170. package/es/userCondition/conditionTypeList.js +11 -11
  171. package/es/userCondition/conditions/business/operatorCondition.js +15 -15
  172. package/es/userCondition/conditions/business/paramsCondition.js +10 -10
  173. package/es/userCondition/conditions/businessCondition.js +15 -15
  174. package/es/userCondition/conditions/cdpCondition.js +27 -27
  175. package/es/userCondition/conditions/cdpCshCondition.js +45 -45
  176. package/es/userCondition/conditions/dataAttribute.js +11 -11
  177. package/es/userCondition/conditions/eventCondition.js +17 -17
  178. package/es/userCondition/conditions/order/runPeriodCondition.js +6 -6
  179. package/es/userCondition/conditions/order/runTimesCondition.js +13 -13
  180. package/es/userCondition/conditions/periodCondition.js +10 -10
  181. package/es/userCondition/conditions/propCondition.js +16 -16
  182. package/es/userCondition/conditions/runTimesCondition.js +6 -6
  183. package/es/userCondition/conditions/styles/eventCondition.less +71 -71
  184. package/es/userCondition/conditions/styles/periodCondition.less +32 -32
  185. package/es/userCondition/conditions/styles/textDesc.less +16 -16
  186. package/es/userCondition/conditions/tagsCondition.js +11 -11
  187. package/es/userCondition/conditions/textDesc.js +14 -14
  188. package/es/userCondition/conditions/timeDimension.js +18 -18
  189. package/es/userCondition/demo/business.js +5 -5
  190. package/es/userCondition/demo/index.js +5 -5
  191. package/es/userCondition/index.js +45 -46
  192. package/es/userCondition/orConditions.js +8 -8
  193. package/es/userCondition/relationLabel.js +2 -2
  194. package/es/userCondition/styles/conditionTypeList.less +32 -32
  195. package/es/userCondition/styles/relationLabel.less +19 -19
  196. package/es/userCondition/util.js +6 -6
  197. package/es/userGroup/demo/group.js +13 -13
  198. package/es/userGroup/demo/index.js +7 -7
  199. package/es/userGroup/index.js +9 -10
  200. package/es/userGroup/overlay.js +15 -15
  201. package/es/userGroup/styles/index.less +199 -199
  202. package/es/userGroupHeader/index.js +10 -10
  203. package/es/userGroupHeader/styles/index.less +50 -50
  204. package/es/userTagsSelector/cascaderOverlay.js +27 -27
  205. package/es/userTagsSelector/components/tagList/index.js +5 -5
  206. package/es/userTagsSelector/demo/index.js +5 -5
  207. package/es/userTagsSelector/groups/index.js +5 -5
  208. package/es/userTagsSelector/index.js +13 -13
  209. package/es/userTagsSelector/multipleCheckPanel/index.js +5 -5
  210. package/es/userTagsSelector/styles/index.less +20 -20
  211. package/es/utils/ajax.js +47 -50
  212. package/es/utils/demo/interruption.js +5 -5
  213. package/es/utils/eventApi.js +50 -58
  214. package/es/utils/type.js +6 -6
  215. package/package.json +2 -2
@@ -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
+ }
@@ -1,131 +1,131 @@
1
- @import '../../assets/styles/inner.less';
2
-
3
- .biz-select {
4
- &-handle {
5
- position: relative;
6
- }
7
-
8
- &-overlay {
9
- display: flex;
10
- flex-direction: column;
11
- max-height: 240px;
12
- overflow-y: auto;
13
- .__select-panel();
14
- }
15
-
16
- &-list-panel {
17
- flex: 1;
18
- max-height: 400px;
19
- overflow-x: hidden;
20
- overflow-y: auto;
21
- }
22
-
23
- &-search {
24
- flex: none;
25
- margin-bottom: @margin-xs;
26
- }
27
-
28
- &-nodata {
29
- .__select-nodata();
30
- }
31
-
32
- &-group {
33
- position: relative;
34
- height: 32px;
35
- padding: 0 @padding-sm;
36
- color: @text-color-secondary;
37
- line-height: 32px;
38
-
39
- &::before {
40
- position: absolute;
41
- top: 9px;
42
- left: 5px;
43
- width: 3px;
44
- height: 14px;
45
- background-color: @primary-color;
46
- border-radius: 10px;
47
- content: '';
48
- }
49
-
50
- & > span {
51
- position: relative;
52
- padding-right: @padding-xss;
53
- background: #fff;
54
- }
55
- }
56
-
57
- &-split {
58
- position: absolute;
59
- top: 18px;
60
- width: 100%;
61
- height: 0;
62
- border-bottom: 1px solid @border-color-base;
63
- }
64
-
65
- &-option {
66
- display: flex;
67
- .__select-option();
68
-
69
- &.biz-select-option-multiple {
70
- &:hover:not(.disabled) {
71
- color: @primary-color;
72
- background-color: @primary-color-hover;
73
- .biz-select-checkbox {
74
- color: @primary-color;
75
- }
76
- }
77
-
78
- &.active:not(.disabled) {
79
- color: @primary-color;
80
- background: #fff;
81
- .biz-select-checkbox {
82
- color: @primary-color;
83
- }
84
- }
85
- }
86
-
87
- &:not(.active, :hover, .disabled) .biz-select-highlight {
88
- color: @primary-color;
89
- }
90
-
91
- &-label {
92
- flex: 1;
93
- .__default-overflow();
94
- }
95
- &-all {
96
- position: relative;
97
- .ant-checkbox-wrapper {
98
- width: 100%;
99
- }
100
- .ant-checkbox-inner {
101
- width: 14px;
102
- height: 14px;
103
- &::after {
104
- top: 45%;
105
- }
106
- }
107
- }
108
- }
109
-
110
- &-checkbox {
111
- margin-right: 8px;
112
- color: @border-color-base;
113
- &-indeterminate {
114
- position: absolute;
115
- top: 12px;
116
- left: 15px;
117
- width: 8px;
118
- height: 8px;
119
- background-color: @primary-color;
120
- border-radius: 1px;
121
- }
122
- }
123
-
124
- &-option-icon {
125
- margin-right: @margin-xs;
126
- }
127
-
128
- &-notfound {
129
- padding: @padding-xs;
130
- }
131
- }
1
+ @import '../../assets/styles/inner.less';
2
+
3
+ .biz-select {
4
+ &-handle {
5
+ position: relative;
6
+ }
7
+
8
+ &-overlay {
9
+ display: flex;
10
+ flex-direction: column;
11
+ max-height: 240px;
12
+ overflow-y: auto;
13
+ .__select-panel();
14
+ }
15
+
16
+ &-list-panel {
17
+ flex: 1;
18
+ max-height: 400px;
19
+ overflow-x: hidden;
20
+ overflow-y: auto;
21
+ }
22
+
23
+ &-search {
24
+ flex: none;
25
+ margin-bottom: @margin-xs;
26
+ }
27
+
28
+ &-nodata {
29
+ .__select-nodata();
30
+ }
31
+
32
+ &-group {
33
+ position: relative;
34
+ height: 32px;
35
+ padding: 0 @padding-sm;
36
+ color: @text-color-secondary;
37
+ line-height: 32px;
38
+
39
+ &::before {
40
+ position: absolute;
41
+ top: 9px;
42
+ left: 5px;
43
+ width: 3px;
44
+ height: 14px;
45
+ background-color: @primary-color;
46
+ border-radius: 10px;
47
+ content: '';
48
+ }
49
+
50
+ & > span {
51
+ position: relative;
52
+ padding-right: @padding-xss;
53
+ background: #fff;
54
+ }
55
+ }
56
+
57
+ &-split {
58
+ position: absolute;
59
+ top: 18px;
60
+ width: 100%;
61
+ height: 0;
62
+ border-bottom: 1px solid @border-color-base;
63
+ }
64
+
65
+ &-option {
66
+ display: flex;
67
+ .__select-option();
68
+
69
+ &.biz-select-option-multiple {
70
+ &:hover:not(.disabled) {
71
+ color: @primary-color;
72
+ background-color: @primary-color-hover;
73
+ .biz-select-checkbox {
74
+ color: @primary-color;
75
+ }
76
+ }
77
+
78
+ &.active:not(.disabled) {
79
+ color: @primary-color;
80
+ background: #fff;
81
+ .biz-select-checkbox {
82
+ color: @primary-color;
83
+ }
84
+ }
85
+ }
86
+
87
+ &:not(.active, :hover, .disabled) .biz-select-highlight {
88
+ color: @primary-color;
89
+ }
90
+
91
+ &-label {
92
+ flex: 1;
93
+ .__default-overflow();
94
+ }
95
+ &-all {
96
+ position: relative;
97
+ .ant-checkbox-wrapper {
98
+ width: 100%;
99
+ }
100
+ .ant-checkbox-inner {
101
+ width: 14px;
102
+ height: 14px;
103
+ &::after {
104
+ top: 45%;
105
+ }
106
+ }
107
+ }
108
+ }
109
+
110
+ &-checkbox {
111
+ margin-right: 8px;
112
+ color: @border-color-base;
113
+ &-indeterminate {
114
+ position: absolute;
115
+ top: 12px;
116
+ left: 15px;
117
+ width: 8px;
118
+ height: 8px;
119
+ background-color: @primary-color;
120
+ border-radius: 1px;
121
+ }
122
+ }
123
+
124
+ &-option-icon {
125
+ margin-right: @margin-xs;
126
+ }
127
+
128
+ &-notfound {
129
+ padding: @padding-xs;
130
+ }
131
+ }