@zgfe/business-lib 1.0.0-beta.6 → 1.0.3

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 (283) hide show
  1. package/es/analysisLayout/demo/index.js +4 -1
  2. package/es/analysisLayout/index.d.ts +1 -28
  3. package/es/analysisLayout/index.js +38 -48
  4. package/es/analysisLayout/index.less +1 -1
  5. package/es/assets/styles/chunks.less +143 -0
  6. package/es/assets/styles/inner.less +3 -0
  7. package/es/assets/styles/resetAntd.less +398 -0
  8. package/es/assets/styles/variable.less +21 -0
  9. package/es/assets/theme.d.ts +5 -0
  10. package/es/assets/theme.js +4 -0
  11. package/es/attrConditions/components/operateList.d.ts +8 -0
  12. package/es/attrConditions/components/operateList.js +83 -0
  13. package/es/attrConditions/components/stringList.d.ts +9 -0
  14. package/es/attrConditions/components/stringList.js +168 -0
  15. package/es/attrConditions/components/valuesList.d.ts +10 -0
  16. package/es/attrConditions/components/valuesList.js +188 -0
  17. package/es/{attributeSelector/demo/multi.d.ts → attrConditions/demo/group.d.ts} +0 -0
  18. package/es/attrConditions/demo/group.js +82 -0
  19. package/es/{globalAttributes → attrConditions}/demo/index.d.ts +0 -0
  20. package/es/{datePicker/demo/form.js → attrConditions/demo/index.js} +43 -23
  21. package/es/attrConditions/group.d.ts +5 -0
  22. package/es/attrConditions/group.js +183 -0
  23. package/es/attrConditions/index.d.ts +6 -0
  24. package/es/attrConditions/index.js +160 -0
  25. package/es/attrConditions/styles/group.less +49 -0
  26. package/es/attrConditions/styles/index.less +94 -0
  27. package/es/attrConditions/types.d.ts +63 -0
  28. package/es/attrConditions/types.js +19 -0
  29. package/es/attrConditions/utils/operates.d.ts +16 -0
  30. package/es/attrConditions/utils/operates.js +67 -0
  31. package/es/attributeSelector/demo/index.d.ts +3 -0
  32. package/es/attributeSelector/demo/{singleForm.js → index.js} +42 -44
  33. package/es/attributeSelector/index.d.ts +4 -111
  34. package/es/attributeSelector/index.js +88 -543
  35. package/es/attributeSelector/listPanel.d.ts +4 -0
  36. package/es/attributeSelector/listPanel.js +208 -0
  37. package/es/attributeSelector/option.d.ts +15 -0
  38. package/es/attributeSelector/option.js +53 -0
  39. package/es/attributeSelector/styles/index.less +100 -0
  40. package/es/attributeSelector/types.d.ts +79 -0
  41. package/es/attributeSelector/types.js +15 -0
  42. package/es/attributeSelector/util.d.ts +7 -0
  43. package/es/attributeSelector/util.js +69 -0
  44. package/es/chart/demo/pie.js +1 -0
  45. package/es/chart/index.d.ts +2 -96
  46. package/es/chart/index.js +28 -35
  47. package/es/chart/styles/index.less +50 -0
  48. package/es/chart/types.d.ts +46 -0
  49. package/es/chart/{type.js → types.js} +0 -0
  50. package/es/chart/util/{chartConfig.d.ts → chartOptionConfig.d.ts} +4 -35
  51. package/es/chart/util/{chartConfig.js → chartOptionConfig.js} +45 -111
  52. package/es/chart/util/formatData.d.ts +3 -7
  53. package/es/chart/util/formatData.js +47 -26
  54. package/es/chart/util/formatOption.d.ts +2 -1
  55. package/es/chart/util/formatOption.js +22 -9
  56. package/es/chart/util/mapUtil.d.ts +3 -3
  57. package/es/chart/util/mapUtil.js +9 -19
  58. package/es/commonStyle/icon.less +116 -112
  59. package/es/commonStyle/select.less +1 -1
  60. package/es/commonStyle/theme.less +520 -473
  61. package/es/components/iconFont.js +4 -2
  62. package/es/context/index.d.ts +16 -0
  63. package/es/context/index.js +3 -0
  64. package/es/datePicker/datePicker.d.ts +10 -0
  65. package/es/datePicker/datePicker.js +115 -0
  66. package/es/datePicker/demo/index.d.ts +1 -0
  67. package/es/datePicker/demo/index.js +9 -2
  68. package/es/datePicker/index.d.ts +4 -27
  69. package/es/datePicker/index.js +72 -148
  70. package/es/datePicker/styles/index.less +48 -0
  71. package/es/datePicker/types.d.ts +24 -0
  72. package/es/{eventSelector/type.js → datePicker/types.js} +0 -0
  73. package/es/datePicker/utils.d.ts +6 -0
  74. package/es/datePicker/utils.js +70 -0
  75. package/es/dialog/components/itemNode.d.ts +10 -0
  76. package/es/dialog/components/itemNode.js +109 -0
  77. package/es/dialog/components/list.d.ts +3 -13
  78. package/es/dialog/components/list.js +15 -12
  79. package/es/dialog/components/selectToInput.d.ts +4 -48
  80. package/es/dialog/components/selectToInput.js +74 -80
  81. package/es/dialog/components/styles/handle.less +39 -0
  82. package/es/dialog/components/styles/list.less +60 -0
  83. package/es/dialog/components/styles/tab.less +55 -0
  84. package/es/dialog/components/tab.d.ts +3 -7
  85. package/es/dialog/components/tab.js +57 -19
  86. package/es/dialog/data/{chart.d.ts → data.d.ts} +9 -0
  87. package/es/dialog/data/{chart.js → data.js} +11 -0
  88. package/es/dialog/demo/index.d.ts +23 -0
  89. package/es/dialog/demo/index.js +34 -3
  90. package/es/dialog/demo/index2.js +14 -2
  91. package/es/dialog/index.d.ts +4 -97
  92. package/es/dialog/index.js +54 -109
  93. package/es/dialog/styles/index.less +11 -0
  94. package/es/dialog/types.d.ts +77 -0
  95. package/es/{targetConditionGroup/type.js → dialog/types.js} +0 -0
  96. package/es/eventSelector/demo/index.js +26 -44
  97. package/es/eventSelector/index.d.ts +4 -30
  98. package/es/eventSelector/index.js +90 -416
  99. package/es/eventSelector/listPanel.d.ts +4 -0
  100. package/es/eventSelector/listPanel.js +197 -0
  101. package/es/eventSelector/option.d.ts +17 -0
  102. package/es/eventSelector/option.js +54 -0
  103. package/es/eventSelector/styles/index.less +77 -0
  104. package/es/eventSelector/types.d.ts +31 -0
  105. package/es/eventSelector/types.js +1 -0
  106. package/es/index.d.ts +14 -11
  107. package/es/index.js +9 -11
  108. package/es/{attributeSelector/data → mock}/env.d.ts +0 -0
  109. package/es/{attributeSelector/data → mock}/env.js +0 -0
  110. package/es/{attributeSelector/data → mock}/event.d.ts +0 -0
  111. package/es/{attributeSelector/data → mock}/event.js +0 -0
  112. package/es/{attributeSelector/data → mock}/user.d.ts +0 -0
  113. package/es/{attributeSelector/data → mock}/user.js +0 -0
  114. package/es/{multipleSelector → searchInput}/demo/index.d.ts +0 -0
  115. package/es/searchInput/demo/index.js +5 -0
  116. package/es/searchInput/index.d.ts +8 -0
  117. package/es/searchInput/index.js +31 -0
  118. package/es/{attributeSelector/demo/multiForm.d.ts → select/demo/group.d.ts} +0 -0
  119. package/es/{globalAttributes/demo/index.js → select/demo/group.js} +49 -31
  120. package/es/select/demo/index.js +49 -21
  121. package/es/{attributeSelector/demo/single.d.ts → select/demo/multiple.d.ts} +0 -0
  122. package/es/{multipleSelector/demo/index.js → select/demo/multiple.js} +55 -12
  123. package/es/select/handle.d.ts +5 -0
  124. package/es/select/handle.js +119 -0
  125. package/es/select/index.d.ts +4 -49
  126. package/es/select/index.js +168 -122
  127. package/es/select/option.d.ts +4 -0
  128. package/es/select/option.js +59 -0
  129. package/es/select/overlay.d.ts +4 -0
  130. package/es/select/overlay.js +154 -0
  131. package/es/select/styles/handle.less +111 -0
  132. package/es/select/styles/index.less +99 -0
  133. package/es/select/types.d.ts +65 -0
  134. package/es/select/types.js +1 -0
  135. package/es/table/demo/data/table.js +1 -1
  136. package/es/table/demo/index.d.ts +1 -1
  137. package/es/table/demo/index.js +9 -8
  138. package/es/table/demo/index3.js +9 -18
  139. package/es/table/index.d.ts +4 -30
  140. package/es/table/index.js +30 -26
  141. package/es/table/styles/index.less +5 -0
  142. package/es/table/type.d.ts +10 -0
  143. package/es/table/type.js +1 -0
  144. package/es/targetConditionGroup/components/targetDimension.d.ts +8 -0
  145. package/es/targetConditionGroup/components/targetDimension.js +153 -0
  146. package/es/targetConditionGroup/data/operates.d.ts +8 -24
  147. package/es/targetConditionGroup/data/operates.js +26 -69
  148. package/es/targetConditionGroup/demo/group.d.ts +1 -0
  149. package/es/targetConditionGroup/demo/group.js +108 -23
  150. package/es/targetConditionGroup/demo/index.js +34 -34
  151. package/es/targetConditionGroup/demo/styles/index.less +29 -0
  152. package/es/targetConditionGroup/index.d.ts +4 -57
  153. package/es/targetConditionGroup/index.js +177 -274
  154. package/es/targetConditionGroup/styles/index.less +25 -0
  155. package/es/targetConditionGroup/types.d.ts +32 -0
  156. package/es/targetConditionGroup/types.js +1 -0
  157. package/es/targetSelector/demo/index.d.ts +1 -0
  158. package/es/targetSelector/demo/index.js +29 -71
  159. package/es/targetSelector/editBox.d.ts +8 -0
  160. package/es/targetSelector/{components/BizEventNameEditBox.js → editBox.js} +49 -24
  161. package/es/targetSelector/index.d.ts +5 -55
  162. package/es/targetSelector/index.js +103 -214
  163. package/es/targetSelector/optionIcon.d.ts +9 -0
  164. package/es/targetSelector/optionIcon.js +24 -0
  165. package/es/targetSelector/optionMenu.d.ts +7 -0
  166. package/es/targetSelector/optionMenu.js +38 -0
  167. package/es/targetSelector/styles/index.less +88 -0
  168. package/es/targetSelector/types.d.ts +18 -0
  169. package/es/targetSelector/types.js +1 -0
  170. package/es/userCondition/conditionTypeList.d.ts +10 -0
  171. package/es/userCondition/conditionTypeList.js +43 -0
  172. package/es/userCondition/conditionWrap.d.ts +7 -0
  173. package/es/userCondition/conditionWrap.js +18 -0
  174. package/es/userCondition/conditions/eventCondition.d.ts +8 -0
  175. package/es/userCondition/conditions/eventCondition.js +104 -0
  176. package/es/userCondition/conditions/periodCondition.d.ts +11 -0
  177. package/es/userCondition/conditions/periodCondition.js +156 -0
  178. package/es/userCondition/conditions/propCondition.d.ts +11 -0
  179. package/es/userCondition/conditions/propCondition.js +147 -0
  180. package/es/userCondition/conditions/runTimesCondition.d.ts +9 -0
  181. package/es/userCondition/conditions/runTimesCondition.js +78 -0
  182. package/es/userCondition/conditions/styles/eventCondition.less +49 -0
  183. package/es/userCondition/conditions/styles/periodCondition.less +14 -0
  184. package/es/userCondition/conditions/styles/propCondition.less +36 -0
  185. package/es/userCondition/conditions/styles/runTimesCondition.less +16 -0
  186. package/es/{attributeSelector/demo/singleForm.d.ts → userCondition/demo/index.d.ts} +0 -0
  187. package/es/userCondition/demo/index.js +97 -0
  188. package/es/userCondition/index.d.ts +7 -0
  189. package/es/userCondition/index.js +146 -0
  190. package/es/userCondition/orConditions.d.ts +5 -0
  191. package/es/userCondition/orConditions.js +202 -0
  192. package/es/userCondition/relationLabel.d.ts +6 -0
  193. package/es/userCondition/relationLabel.js +12 -0
  194. package/es/userCondition/styles/conditionTypeList.less +31 -0
  195. package/es/userCondition/styles/conditionWrap.less +14 -0
  196. package/es/userCondition/styles/index.less +13 -0
  197. package/es/userCondition/styles/orConditions.less +16 -0
  198. package/es/userCondition/styles/relationLabel.less +18 -0
  199. package/es/userCondition/types.d.ts +79 -0
  200. package/es/userCondition/types.js +1 -0
  201. package/es/userCondition/util.d.ts +2 -0
  202. package/es/userCondition/util.js +54 -0
  203. package/es/{datePicker/demo/form.d.ts → userGroup/demo/group.d.ts} +0 -0
  204. package/es/{targetConditionGroup/demo/form.js → userGroup/demo/group.js} +68 -72
  205. package/es/userGroup/demo/index.d.ts +0 -1
  206. package/es/userGroup/demo/index.js +5 -62
  207. package/es/userGroup/index.d.ts +3 -77
  208. package/es/userGroup/index.js +60 -108
  209. package/es/userGroup/styles/index.less +20 -0
  210. package/es/userGroup/types.d.ts +15 -0
  211. package/es/userGroup/types.js +1 -0
  212. package/es/utils/ajax.js +5 -20
  213. package/es/utils/type.d.ts +42 -44
  214. package/es/utils/util.d.ts +1 -35
  215. package/es/utils/util.js +27 -57
  216. package/package.json +11 -4
  217. package/es/attributeSelector/demo/multi.js +0 -39
  218. package/es/attributeSelector/demo/multiForm.js +0 -64
  219. package/es/attributeSelector/demo/single.js +0 -43
  220. package/es/attributeSelector/group.d.ts +0 -31
  221. package/es/attributeSelector/group.js +0 -225
  222. package/es/attributeSelector/index.less +0 -172
  223. package/es/chart/index.less +0 -38
  224. package/es/chart/style/circle.svg +0 -4
  225. package/es/chart/type.d.ts +0 -22
  226. package/es/datePicker/data.d.ts +0 -9
  227. package/es/datePicker/data.js +0 -65
  228. package/es/datePicker/index.less +0 -364
  229. package/es/dialog/components/style/list.less +0 -59
  230. package/es/dialog/components/style/tab.less +0 -61
  231. package/es/dialog/style/index.less +0 -86
  232. package/es/eventSelector/demo/form.d.ts +0 -2
  233. package/es/eventSelector/demo/form.js +0 -89
  234. package/es/eventSelector/demo/nodata.d.ts +0 -2
  235. package/es/eventSelector/demo/nodata.js +0 -13
  236. package/es/eventSelector/index.less +0 -121
  237. package/es/eventSelector/type.d.ts +0 -41
  238. package/es/globalAttributes/demo/data/env.d.ts +0 -11
  239. package/es/globalAttributes/demo/data/env.js +0 -181
  240. package/es/globalAttributes/demo/data/event.d.ts +0 -237
  241. package/es/globalAttributes/demo/data/event.js +0 -3483
  242. package/es/globalAttributes/demo/data/user.d.ts +0 -22
  243. package/es/globalAttributes/demo/data/user.js +0 -218
  244. package/es/globalAttributes/index.d.ts +0 -47
  245. package/es/globalAttributes/index.js +0 -112
  246. package/es/multipleSelector/index.d.ts +0 -36
  247. package/es/multipleSelector/index.js +0 -131
  248. package/es/multipleSelector/index.less +0 -136
  249. package/es/table/demo/index.less +0 -8
  250. package/es/table/index.less +0 -139
  251. package/es/targetConditionGroup/components/conditionGroup.d.ts +0 -30
  252. package/es/targetConditionGroup/components/conditionGroup.js +0 -112
  253. package/es/targetConditionGroup/components/conditionItem.d.ts +0 -47
  254. package/es/targetConditionGroup/components/conditionItem.js +0 -232
  255. package/es/targetConditionGroup/components/style/group.less +0 -47
  256. package/es/targetConditionGroup/components/style/index.less +0 -16
  257. package/es/targetConditionGroup/demo/data/env.d.ts +0 -11
  258. package/es/targetConditionGroup/demo/data/env.js +0 -181
  259. package/es/targetConditionGroup/demo/data/event.d.ts +0 -237
  260. package/es/targetConditionGroup/demo/data/event.js +0 -3483
  261. package/es/targetConditionGroup/demo/data/user.d.ts +0 -22
  262. package/es/targetConditionGroup/demo/data/user.js +0 -218
  263. package/es/targetConditionGroup/demo/form.d.ts +0 -2
  264. package/es/targetConditionGroup/demo/item.d.ts +0 -2
  265. package/es/targetConditionGroup/demo/item.js +0 -5
  266. package/es/targetConditionGroup/group.d.ts +0 -56
  267. package/es/targetConditionGroup/group.js +0 -204
  268. package/es/targetConditionGroup/index.less +0 -76
  269. package/es/targetConditionGroup/type.d.ts +0 -95
  270. package/es/targetSelector/components/BizCascadeBox.d.ts +0 -34
  271. package/es/targetSelector/components/BizCascadeBox.js +0 -213
  272. package/es/targetSelector/components/BizEventNameEditBox.d.ts +0 -20
  273. package/es/targetSelector/demo/form.d.ts +0 -2
  274. package/es/targetSelector/demo/form.js +0 -133
  275. package/es/targetSelector/demo/nodata.d.ts +0 -2
  276. package/es/targetSelector/demo/nodata.js +0 -13
  277. package/es/targetSelector/index.less +0 -28
  278. package/es/userGroup/demo/cluster.d.ts +0 -3
  279. package/es/userGroup/demo/cluster.js +0 -102
  280. package/es/userGroup/demo/index.less +0 -3
  281. package/es/userGroup/index.less +0 -2
  282. package/es/userGroup/userCluster.d.ts +0 -63
  283. package/es/userGroup/userCluster.js +0 -255
@@ -1,476 +1,523 @@
1
1
  @import (reference) './variable.less';
2
2
 
3
3
  /* Select-文本框样式重构 */
4
- .ant-select {
5
- color: @fontColor;
6
- font-size: @fontSize;
7
-
8
- &.small {
9
- .ant-select-selector {
10
- height: @inputHeight;
11
- line-height: @inputHeight;
12
-
13
- .ant-select-selection-item,
14
- .ant-select-selection-placeholder {
15
- line-height: @inputHeight;
16
- }
17
- }
18
- }
19
-
20
- &.middle {
21
- .ant-select-selector {
22
- height: @inputHeightNormal;
23
- line-height: @inputHeightNormal;
24
-
25
- .ant-select-selection-item,
26
- .ant-select-selection-placeholder {
27
- line-height: @inputHeightNormal;
28
- }
29
- }
30
- }
31
-
32
- &.large {
33
- .ant-select-selector {
34
- height: @inputHeightLarge;
35
- line-height: @inputHeightLarge;
36
-
37
- .ant-select-selection-item,
38
- .ant-select-selection-placeholder {
39
- line-height: @inputHeightLarge;
40
- }
41
- }
42
- }
43
-
44
- .ant-select-selection-item {
45
- color: @fontColor;
46
-
47
- span {
48
- color: @fontColor;
49
- }
50
- }
51
-
52
- &.ant-select-borderless {
53
- &.biz-gray .ant-select-selector {
54
- background-color: @grayColor;
55
- }
56
-
57
- .ant-select-arrow {
58
- display: none;
59
- }
60
- }
61
-
62
- &:not(.ant-select-customize-input).biz-borderless {
63
- .ant-select-selector {
64
- background-color: @grayColor;
65
- border-color: @grayColor;
66
- }
67
-
68
- .ant-select-arrow {
69
- display: none;
70
- }
71
-
72
- &.ant-select-focused:not(.ant-select-disabled, .biz-borderless),
73
- &:not(.ant-select-disabled, .ant-select-customize-input, .biz-borderless):hover {
74
- .ant-select-selector {
75
- color: @themeColor;
76
- background: @hoverBgColor;
77
- border-color: @hoverBgColor;
78
- box-shadow: none;
79
-
80
- .ant-select-selection-item {
81
- color: @themeColor;
82
-
83
- span {
84
- color: @themeColor;
85
- }
86
- }
87
- }
88
- }
89
- }
90
-
91
- &:not(.ant-select-customize-input) .ant-select-selector {
92
- padding: @inputPadding;
93
- background-color: #fff;
94
- border: @boxBorder;
95
- border-radius: @boxRadius;
96
- }
97
-
98
- &:not(.ant-select-customize-input).ant-select-focused:not(.ant-select-disabled),
99
- &:not(.ant-select-disabled, .ant-select-customize-input):hover,
100
- &.ant-select-borderless:hover,
101
- &.ant-select-borderless.ant-select-focused:not(.ant-select-disabled) {
102
- .ant-select-selector {
103
- color: @themeColor;
104
- background: @hoverBgColor;
105
- border-color: transparent;
106
- box-shadow: none;
107
-
108
- .ant-select-selection-item {
109
- color: @themeColor;
110
-
111
- span {
112
- color: @themeColor;
113
- }
114
- }
115
- }
116
-
117
- .ant-select-arrow {
118
- display: inline-block;
119
- color: @themeColor !important;
120
- }
121
- }
122
- }
123
-
124
- .ant-select-arrow {
125
- height: 16px;
126
- margin-top: -8px;
127
- color: @iconColor;
128
- font-size: 16px;
129
- }
130
-
131
- .ant-select-selection-placeholder {
132
- color: @defaultGray;
133
- }
134
-
135
- /* Select-下拉框样式重构 */
136
- .ant-select-dropdown {
137
- width: @dropdownWidth;
138
- max-height: @dropdownHeight;
139
- padding: @dropdownPadding !important;
140
- border-radius: @boxRadius2 !important;
141
- box-shadow: @boxShadow !important;
142
-
143
- &.small {
144
- width: @dropdownWidth2;
145
- }
146
- }
147
-
148
- .ant-dropdown-menu {
149
- width: @dropdownWidth2;
150
- padding: @dropdownPadding !important;
151
- border-radius: @boxRadius2 !important;
152
- box-shadow: @boxShadow !important;
153
- }
154
-
155
- .ant-dropdown.large {
156
- .ant-dropdown-menu {
157
- width: @dropdownWidth3;
158
- }
159
- }
160
-
161
- .ant-dropdown-menu-submenu {
162
- .ant-dropdown-menu {
163
- width: 120px;
164
- height: 208px;
165
- }
166
- }
167
-
168
- .ant-dropdown-menu-submenu-vertical {
169
- &:hover {
170
- .box-hover();
171
-
172
- .ant-dropdown-menu-submenu-title {
173
- color: @themeColor;
174
- background: transparent;
175
-
176
- .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon {
177
- color: @themeColor;
178
- }
179
- }
180
- }
181
-
182
- .ant-dropdown-menu-submenu-title {
183
- padding: 0;
184
- }
185
- }
186
-
187
- .ant-select-item-empty {
188
- color: @fontColor;
189
- }
190
-
191
- .ant-select-item,
192
- .ant-list-item,
193
- .ant-dropdown-menu-item,
194
- .ant-dropdown-menu-submenu-vertical,
195
- .ant-cascader-menu-item {
196
- height: @selectItemHeight !important;
197
- padding: @selectItemPadding !important;
198
- color: @fontColor;
199
- font-weight: @fontWeight;
200
- font-size: @fontSize;
201
- line-height: 20px;
202
- border-radius: @boxRadius2 !important;
203
- }
204
-
205
- .ant-select-item-option-active:not(.ant-select-item-option-disabled),
206
- .ant-cascader-menu-item:not(.ant-cascader-menu-item-disabled, .ant-cascader-menu-item-active):hover {
207
- color: @hoverColor !important;
208
- background-color: @hoverBgColor !important;
209
-
210
- .biz-icon {
211
- color: @hoverColor;
212
- }
213
- }
214
-
215
- .ant-select-item-option-selected:not(.ant-select-item-option-disabled),
216
- .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled) {
217
- color: @activeColor !important;
218
- font-weight: @fontWeight !important;
219
- background-color: @activeBgColor !important;
220
-
221
- .biz-icon {
222
- color: @activeColor;
223
- }
224
- }
225
-
226
- .ant-select-item-option-disabled {
227
- color: @disableColor !important;
228
- background: #fff;
229
- }
230
-
231
- .ant-cascader-menu-item-active {
232
- .ant-cascader-menu-item-expand-icon {
233
- color: @activeColor;
234
- }
235
- }
236
-
237
- .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover {
238
- color: @activeColor !important;
239
- background-color: @activeBgColor !important;
240
- }
241
-
242
- .ant-dropdown-menu-item {
243
- &:not(.box-active, .ant-dropdown-menu-item-disabled, .ant-dropdown-menu-submenu-title-disabled):hover {
244
- .box-hover();
245
- }
246
-
247
- &.box-active:not(.ant-dropdown-menu-item-disabled, .ant-dropdown-menu-submenu-title-disabled):hover {
248
- .box-active();
249
- }
250
-
251
- .ant-dropdown-menu-item-icon {
252
- margin-right: 15px;
253
- font-size: @iconSize;
254
- }
255
- &.ant-dropdown-menu-item-disabled {
256
- color: @disableColor;
257
- }
258
- }
259
-
260
- /* input-search/clear */
261
-
262
- .ant-input-affix-wrapper {
263
- height: 40px !important;
264
- line-height: 40px !important;
265
- background-color: @grayColor !important;
266
- border-color: transparent !important;
267
- border-radius: @boxRadius !important;
268
-
269
- &.biz-search-box {
270
- margin-bottom: 12px;
271
- border-radius: @boxRadius2;
272
- }
273
-
274
- .ant-input {
275
- height: 100%;
276
- padding: 0;
277
- background-color: transparent !important;
278
- border: none;
279
- outline: none;
280
- box-shadow: none;
281
- }
282
-
283
- &:not(.ant-input-affix-wrapper-disabled):hover {
284
- background-color: #fff !important;
285
- border-color: @themeColor !important;
286
- box-shadow: 0 0 0 4px #e8efff !important;
287
- }
288
-
289
- &:focus,
290
- &.ant-input-affix-wrapper-focused {
291
- background: #fff !important;
292
- border-color: @themeColor !important;
293
- box-shadow: 0 0 0 4px #e8efff !important;
294
- }
295
-
296
- .ant-input-suffix span {
297
- color: @iconColor;
298
- font-size: 16px;
299
- }
300
-
301
- .ant-input-clear-icon span {
302
- width: 16px;
303
- height: 16px;
304
- background-color: transparent;
305
- border-radius: 50%;
306
-
307
- &:hover {
308
- background: @grayColor;
309
- }
310
- }
311
- }
312
-
313
- /* 高亮 */
314
- .biz-light-height {
315
- color: @themeColor;
316
- }
317
-
318
- .ant-select-item-option-selected {
319
- .biz-light-height {
320
- color: inherit;
321
- }
322
- }
323
-
324
- .ant-tooltip {
325
- .ant-tooltip-inner {
326
- border-radius: @boxRadius2;
327
- }
328
-
329
- &.biz-tooltip {
330
- width: auto;
331
-
332
- .ant-tooltip-inner {
333
- padding: 4px;
334
- color: @fontColor;
335
- background-color: #fff;
336
- border-radius: 4px;
337
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
338
- }
339
-
340
- .ant-tooltip-arrow-content {
341
- background-color: #fff;
342
- --antd-arrow-background-color: #fff;
343
- }
344
- }
345
- }
346
-
347
- .biz-title {
348
- margin-bottom: 12px;
349
- padding: 0 !important;
350
- color: @titleColor;
351
- font-weight: 600;
352
- font-size: @fontSize;
353
- }
354
-
355
- .ant-form-item-explain-error {
356
- font-size: 12px;
357
- }
358
-
359
- /* radio */
360
-
361
- .ant-radio {
362
- color: @fontColor;
363
-
364
- &.ant-radio-checked {
365
- .ant-radio-inner {
366
- background: #fff;
367
- border: 5px solid @themeColor;
368
-
369
- &::after {
370
- background-color: #fff;
371
- }
372
- }
373
- }
374
-
375
- .ant-radio-inner {
376
- width: 18px;
377
- height: 18px;
378
- border-radius: 50%;
379
- }
380
- }
381
-
382
- .ant-radio-wrapper:hover .ant-radio,
383
- .ant-radio:hover .ant-radio-inner,
384
- .ant-radio-input:focus + .ant-radio-inner {
385
- border-color: @themeColor;
386
- }
387
-
388
- .ant-radio-input:focus + .ant-radio-inner {
389
- box-shadow: none;
390
- }
391
-
392
- .ant-radio-button-wrapper {
393
- border: 1px solid @borderColor;
394
-
395
- &:first-child {
396
- border-left: 1px solid @borderColor;
397
- }
398
-
399
- &:not(:first-child)::before {
400
- background-color: @borderColor;
401
- }
402
-
403
- &:not(.ant-radio-button-wrapper-checked, .ant-radio-button-wrapper-disabled):hover {
404
- .box-hover();
405
-
406
- .biz-icon {
407
- color: @themeColor;
408
- }
409
- }
410
- }
411
-
412
- .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
413
- color: @themeColor;
414
- background: @hoverBgColor;
415
- border-color: @themeColor;
416
- }
417
-
418
- .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)::before {
419
- background-color: @themeColor;
420
- }
421
-
422
- .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child {
423
- border-color: @themeColor;
424
- }
425
-
426
- .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover,
427
- .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {
428
- color: @themeColor;
429
- border-color: @themeColor;
430
- }
431
-
432
- .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active::before,
433
- .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover::before {
434
- background-color: @hoverBgColor;
435
- }
436
-
437
- .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {
438
- box-shadow: none;
439
- }
440
-
441
- .ant-radio-button-wrapper-disabled {
442
- color: @disableColor;
443
- background: #fafafb;
444
- border-color: @borderColor;
445
- cursor: not-allowed;
446
-
447
- .biz-icon {
448
- color: @disableColor;
449
- }
450
- }
451
-
452
- .ant-radio-button-wrapper-disabled:first-child,
453
- .ant-radio-button-wrapper-disabled:hover {
454
- color: @disableColor;
455
- background: #fafafb;
456
- border-color: @borderColor;
457
- }
458
-
459
- .ant-radio-button-wrapper-disabled:first-child {
460
- border-color: @borderColor;
461
- }
462
-
463
- .ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {
464
- color: @disableColor;
465
- background: #fafafb;
466
- border-color: @borderColor;
467
- box-shadow: none;
468
- }
469
-
470
- .ant-radio-button-wrapper-checked:not([class*=' ant-radio-button-wrapper-disabled']).ant-radio-button-wrapper:first-child {
471
- border-right-color: @themeColor;
472
- }
473
-
474
- .mb-12 {
475
- margin-bottom: 12px;
476
- }
4
+ // .ant-select:not(.ant-select-customize-input) {
5
+ // color: @fontColor;
6
+ // font-size: @fontSize;
7
+
8
+ // &.small {
9
+ // .ant-select-selector {
10
+ // height: @inputHeight;
11
+ // line-height: @inputHeight;
12
+
13
+ // .ant-select-selection-item,
14
+ // .ant-select-selection-placeholder {
15
+ // line-height: @inputHeight;
16
+ // }
17
+ // }
18
+ // }
19
+
20
+ // &.middle {
21
+ // .ant-select-selector {
22
+ // height: @inputHeightNormal;
23
+ // line-height: @inputHeightNormal;
24
+
25
+ // .ant-select-selection-item,
26
+ // .ant-select-selection-placeholder {
27
+ // line-height: @inputHeightNormal;
28
+ // }
29
+ // }
30
+ // }
31
+
32
+ // &.large {
33
+ // .ant-select-selector {
34
+ // height: @inputHeightLarge;
35
+ // line-height: @inputHeightLarge;
36
+
37
+ // .ant-select-selection-item,
38
+ // .ant-select-selection-placeholder {
39
+ // line-height: @inputHeightLarge;
40
+ // }
41
+ // }
42
+ // }
43
+
44
+ // .ant-select-selection-item {
45
+ // color: @fontColor;
46
+
47
+ // span {
48
+ // color: @fontColor;
49
+ // }
50
+ // }
51
+
52
+ // &.ant-select-borderless {
53
+ // &.biz-gray .ant-select-selector {
54
+ // background-color: @grayColor;
55
+ // }
56
+
57
+ // .ant-select-arrow {
58
+ // display: none;
59
+ // }
60
+ // &:hover,
61
+ // &.ant-select-focused:not(.ant-select-disabled) {
62
+ // .ant-select-selector {
63
+ // color: @themeColor;
64
+ // background: @hoverBgColor;
65
+ // box-shadow: none;
66
+
67
+ // .ant-select-selection-item {
68
+ // color: @themeColor;
69
+
70
+ // span {
71
+ // color: @themeColor;
72
+ // }
73
+ // }
74
+ // }
75
+
76
+ // .ant-select-arrow {
77
+ // display: inline-block;
78
+ // color: @themeColor !important;
79
+ // }
80
+ // }
81
+ // }
82
+
83
+ // &:not(.ant-select-disabled).biz-borderless {
84
+ // .ant-select-selector {
85
+ // background-color: @grayColor;
86
+ // border-color: @grayColor;
87
+ // }
88
+
89
+ // .ant-select-arrow {
90
+ // display: none;
91
+ // }
92
+ // &.ant-select-focused,
93
+ // &:hover {
94
+ // .ant-select-selector {
95
+ // color: @themeColor;
96
+ // background: @hoverBgColor;
97
+ // border-color: @hoverBgColor;
98
+ // box-shadow: none;
99
+
100
+ // .ant-select-selection-item {
101
+ // color: @themeColor;
102
+
103
+ // span {
104
+ // color: @themeColor;
105
+ // }
106
+ // }
107
+ // }
108
+ // .ant-select-arrow {
109
+ // display: inline-block;
110
+ // color: @themeColor !important;
111
+ // }
112
+ // }
113
+ // }
114
+
115
+ // & .ant-select-selector {
116
+ // padding: @inputPadding !important;
117
+ // border-radius: @boxRadius !important;
118
+ // }
119
+
120
+ // &:not(.ant-select-disabled, .biz-select-theme-gray, .ant-select-borderless, .biz-borderless, .biz-multi-select) {
121
+ // .ant-select-selector {
122
+ // background-color: #fff;
123
+ // border: @boxBorder !important;
124
+ // }
125
+ // &.ant-select-focused,
126
+ // &:hover {
127
+ // .ant-select-selector {
128
+ // color: @themeColor;
129
+ // background: @hoverBgColor;
130
+ // border-color: @borderColor;
131
+ // box-shadow: none;
132
+
133
+ // .ant-select-selection-item {
134
+ // color: @themeColor;
135
+
136
+ // span {
137
+ // color: @themeColor;
138
+ // }
139
+ // }
140
+ // }
141
+
142
+ // .ant-select-arrow {
143
+ // display: inline-block;
144
+ // color: @themeColor !important;
145
+ // }
146
+ // }
147
+ // }
148
+
149
+ // &.biz-select-theme-gray {
150
+ // .ant-select-selector {
151
+ // background-color: @grayBgColor;
152
+ // border-color: @grayBgColor;
153
+ // }
154
+ // &:hover {
155
+ // .ant-select-selector {
156
+ // border-color: @themeColor;
157
+ // }
158
+ // }
159
+ // &.ant-select-focused:not(.ant-select-disabled) {
160
+ // .ant-select-selector {
161
+ // background: #fff !important;
162
+ // border-color: @themeColor !important;
163
+ // box-shadow: 0 0 0 4px #e8efff !important;
164
+ // }
165
+ // }
166
+ // }
167
+ // }
168
+
169
+ // .ant-select-arrow {
170
+ // height: 16px;
171
+ // margin-top: -8px;
172
+ // color: @iconColor;
173
+ // font-size: 16px;
174
+ // }
175
+
176
+ // .ant-select-selection-placeholder {
177
+ // color: @defaultGray;
178
+ // }
179
+
180
+ // /* Select-下拉框样式重构 */
181
+ // .ant-select-dropdown {
182
+ // width: @dropdownWidth;
183
+ // max-height: @dropdownHeight;
184
+ // padding: @dropdownPadding !important;
185
+ // border-radius: @boxRadius2 !important;
186
+ // box-shadow: @boxShadow !important;
187
+
188
+ // &.small {
189
+ // width: @dropdownWidth2;
190
+ // }
191
+ // }
192
+
193
+ // .ant-dropdown-menu {
194
+ // width: @dropdownWidth2;
195
+ // padding: @dropdownPadding !important;
196
+ // border-radius: @boxRadius2 !important;
197
+ // box-shadow: @boxShadow !important;
198
+ // }
199
+
200
+ // .ant-dropdown.large {
201
+ // .ant-dropdown-menu {
202
+ // width: @dropdownWidth3;
203
+ // }
204
+ // }
205
+
206
+ // .ant-dropdown-menu-submenu {
207
+ // .ant-dropdown-menu {
208
+ // width: 120px;
209
+ // height: 208px;
210
+ // }
211
+ // }
212
+
213
+ // .ant-dropdown-menu-submenu-vertical {
214
+ // &:hover {
215
+ // .box-hover();
216
+
217
+ // .ant-dropdown-menu-submenu-title {
218
+ // color: @themeColor;
219
+ // background: transparent;
220
+
221
+ // .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon {
222
+ // color: @themeColor;
223
+ // }
224
+ // }
225
+ // }
226
+
227
+ // .ant-dropdown-menu-submenu-title {
228
+ // padding: 0;
229
+ // }
230
+ // }
231
+
232
+ // .ant-select-item-empty {
233
+ // color: @fontColor;
234
+ // }
235
+
236
+ // .ant-select-item,
237
+ // .ant-list-item,
238
+ // .ant-dropdown-menu-item,
239
+ // .ant-dropdown-menu-submenu-vertical,
240
+ // .ant-cascader-menu-item {
241
+ // height: @selectItemHeight !important;
242
+ // padding: @selectItemPadding !important;
243
+ // color: @fontColor;
244
+ // font-weight: @fontWeight;
245
+ // font-size: @fontSize;
246
+ // line-height: 20px;
247
+ // border-radius: @boxRadius2 !important;
248
+ // }
249
+
250
+ // .ant-select-item-option-active:not(.ant-select-item-option-disabled),
251
+ // .ant-cascader-menu-item:not(.ant-cascader-menu-item-disabled, .ant-cascader-menu-item-active):hover {
252
+ // color: @hoverColor !important;
253
+ // background-color: @hoverBgColor !important;
254
+
255
+ // .biz-icon {
256
+ // color: @hoverColor;
257
+ // }
258
+ // }
259
+
260
+ // .ant-select-item-option-selected:not(.ant-select-item-option-disabled),
261
+ // .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled) {
262
+ // color: @activeColor !important;
263
+ // font-weight: @fontWeight !important;
264
+ // background-color: @activeBgColor !important;
265
+
266
+ // .biz-icon {
267
+ // color: @activeColor;
268
+ // }
269
+ // }
270
+
271
+ // .ant-select-item-option-disabled {
272
+ // color: @disableColor !important;
273
+ // background: #fff;
274
+ // }
275
+
276
+ // .ant-cascader-menu-item-active {
277
+ // .ant-cascader-menu-item-expand-icon {
278
+ // color: @activeColor;
279
+ // }
280
+ // }
281
+
282
+ // .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover {
283
+ // color: @activeColor !important;
284
+ // background-color: @activeBgColor !important;
285
+ // }
286
+
287
+ // .ant-dropdown-menu-item {
288
+ // &:not(.box-active, .ant-dropdown-menu-item-disabled, .ant-dropdown-menu-submenu-title-disabled):hover {
289
+ // .box-hover();
290
+ // }
291
+
292
+ // &.box-active:not(.ant-dropdown-menu-item-disabled, .ant-dropdown-menu-submenu-title-disabled):hover {
293
+ // .box-active();
294
+ // }
295
+
296
+ // .ant-dropdown-menu-item-icon {
297
+ // margin-right: 15px;
298
+ // font-size: @iconSize;
299
+ // }
300
+ // &.ant-dropdown-menu-item-disabled {
301
+ // color: @disableColor;
302
+ // }
303
+ // }
304
+
305
+ // /* input-search/clear */
306
+
307
+ // .ant-input-affix-wrapper {
308
+ // height: @inputHeightNormal !important;
309
+ // line-height: @inputHeightNormal !important;
310
+ // background-color: @grayBgColor !important;
311
+ // border-color: transparent !important;
312
+ // border-radius: @boxRadius !important;
313
+
314
+ // &.biz-search-box {
315
+ // margin-bottom: 12px;
316
+ // border-radius: @boxRadius2;
317
+ // }
318
+ // &.small {
319
+ // height: @inputHeight !important;
320
+ // line-height: @inputHeight !important;
321
+ // }
322
+
323
+ // .ant-input {
324
+ // height: 100%;
325
+ // padding: 0;
326
+ // background-color: transparent !important;
327
+ // border: none;
328
+ // outline: none;
329
+ // box-shadow: none;
330
+ // }
331
+
332
+ // &:not(.ant-input-affix-wrapper-disabled):hover {
333
+ // border-color: @themeColor !important;
334
+ // }
335
+
336
+ // &:focus,
337
+ // &.ant-input-affix-wrapper-focused {
338
+ // background: #fff !important;
339
+ // border-color: @themeColor !important;
340
+ // box-shadow: 0 0 0 4px #e8efff !important;
341
+ // }
342
+
343
+ // .ant-input-suffix span {
344
+ // color: @iconColor;
345
+ // font-size: 16px;
346
+ // }
347
+
348
+ // .ant-input-clear-icon span {
349
+ // width: 16px;
350
+ // height: 16px;
351
+ // background-color: transparent;
352
+ // border-radius: 50%;
353
+
354
+ // &:hover {
355
+ // background: @grayColor;
356
+ // }
357
+ // }
358
+ // }
359
+
360
+ // /* 高亮 */
361
+ // .biz-light-height {
362
+ // color: @themeColor;
363
+ // }
364
+
365
+ // .ant-select-item-option-selected {
366
+ // .biz-light-height {
367
+ // color: inherit;
368
+ // }
369
+ // }
370
+
371
+ // .ant-tooltip {
372
+ // .ant-tooltip-inner {
373
+ // border-radius: @boxRadius2;
374
+ // }
375
+
376
+ // &.biz-tooltip {
377
+ // width: auto;
378
+
379
+ // .ant-tooltip-inner {
380
+ // padding: 4px;
381
+ // color: @fontColor;
382
+ // background-color: #fff;
383
+ // border-radius: 4px;
384
+ // box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
385
+ // }
386
+
387
+ // .ant-tooltip-arrow-content {
388
+ // background-color: #fff;
389
+ // --antd-arrow-background-color: #fff;
390
+ // }
391
+ // }
392
+ // }
393
+
394
+ // .biz-title {
395
+ // margin-bottom: 12px;
396
+ // padding: 0 !important;
397
+ // color: @titleColor;
398
+ // font-weight: 600;
399
+ // font-size: @fontSize;
400
+ // }
401
+
402
+ // .ant-form-item-explain-error {
403
+ // font-size: 12px;
404
+ // }
405
+
406
+ // /* radio */
407
+
408
+ // .ant-radio {
409
+ // color: @fontColor;
410
+
411
+ // &.ant-radio-checked {
412
+ // .ant-radio-inner {
413
+ // background: #fff;
414
+ // border: 5px solid @themeColor;
415
+
416
+ // &::after {
417
+ // background-color: #fff;
418
+ // }
419
+ // }
420
+ // }
421
+
422
+ // .ant-radio-inner {
423
+ // width: 18px;
424
+ // height: 18px;
425
+ // border-radius: 50%;
426
+ // }
427
+ // }
428
+
429
+ // .ant-radio-wrapper:hover .ant-radio,
430
+ // .ant-radio:hover .ant-radio-inner,
431
+ // .ant-radio-input:focus + .ant-radio-inner {
432
+ // border-color: @themeColor;
433
+ // }
434
+
435
+ // .ant-radio-input:focus + .ant-radio-inner {
436
+ // box-shadow: none;
437
+ // }
438
+
439
+ // .ant-radio-button-wrapper {
440
+ // border: 1px solid @borderColor;
441
+
442
+ // &:first-child {
443
+ // border-left: 1px solid @borderColor;
444
+ // }
445
+
446
+ // &:not(:first-child)::before {
447
+ // background-color: @borderColor;
448
+ // }
449
+
450
+ // &:not(.ant-radio-button-wrapper-checked, .ant-radio-button-wrapper-disabled):hover {
451
+ // .box-hover();
452
+
453
+ // .biz-icon {
454
+ // color: @themeColor;
455
+ // }
456
+ // }
457
+ // }
458
+
459
+ // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
460
+ // color: @themeColor;
461
+ // background: @hoverBgColor;
462
+ // border-color: @themeColor;
463
+ // }
464
+
465
+ // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)::before {
466
+ // background-color: @themeColor;
467
+ // }
468
+
469
+ // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child {
470
+ // border-color: @themeColor;
471
+ // }
472
+
473
+ // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover,
474
+ // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {
475
+ // color: @themeColor;
476
+ // border-color: @themeColor;
477
+ // }
478
+
479
+ // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active::before,
480
+ // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover::before {
481
+ // background-color: @hoverBgColor;
482
+ // }
483
+
484
+ // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {
485
+ // box-shadow: none;
486
+ // }
487
+
488
+ // .ant-radio-button-wrapper-disabled {
489
+ // color: @disableColor;
490
+ // background: #fafafb;
491
+ // border-color: @borderColor;
492
+ // cursor: not-allowed;
493
+
494
+ // .biz-icon {
495
+ // color: @disableColor;
496
+ // }
497
+ // }
498
+
499
+ // .ant-radio-button-wrapper-disabled:first-child,
500
+ // .ant-radio-button-wrapper-disabled:hover {
501
+ // color: @disableColor;
502
+ // background: #fafafb;
503
+ // border-color: @borderColor;
504
+ // }
505
+
506
+ // .ant-radio-button-wrapper-disabled:first-child {
507
+ // border-color: @borderColor;
508
+ // }
509
+
510
+ // .ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {
511
+ // color: @disableColor;
512
+ // background: #fafafb;
513
+ // border-color: @borderColor;
514
+ // box-shadow: none;
515
+ // }
516
+
517
+ // .ant-radio-button-wrapper-checked:not([class*=' ant-radio-button-wrapper-disabled']).ant-radio-button-wrapper:first-child {
518
+ // border-right-color: @themeColor;
519
+ // }
520
+
521
+ // .mb-12 {
522
+ // margin-bottom: 12px;
523
+ // }