@qn-pandora/pandora-component 5.1.0 → 5.1.2

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 (280) hide show
  1. package/README.md +36 -36
  2. package/es/components/AutoComplete/index.js +2 -2
  3. package/es/components/AutoComplete/style.css +127 -39
  4. package/es/components/AutoComplete/style.less +8 -8
  5. package/es/components/Breadcrumb/style.css +13 -3
  6. package/es/components/Breadcrumb/style.less +9 -9
  7. package/es/components/Button/style.css +282 -176
  8. package/es/components/Button/style.less +51 -51
  9. package/es/components/Card/RowExtra/style.css +6 -0
  10. package/es/components/Card/RowExtra/style.less +8 -8
  11. package/es/components/Card/SearchInput/style.less +8 -8
  12. package/es/components/Card/style.css +61 -66
  13. package/es/components/Card/style.less +11 -11
  14. package/es/components/CheckTransformList/style.css +345 -121
  15. package/es/components/CheckTransformList/style.less +35 -35
  16. package/es/components/Checkbox/index.js +9 -1
  17. package/es/components/Checkbox/style.css +5 -0
  18. package/es/components/Checkbox/style.less +5 -5
  19. package/es/components/CheckboxList/style.css +10 -5
  20. package/es/components/CheckboxList/style.less +11 -11
  21. package/es/components/Collapse/style.css +35 -3
  22. package/es/components/Collapse/style.less +58 -58
  23. package/es/components/CollapsiblePanel/style.less +63 -63
  24. package/es/components/DateTimePicker/Base/index.d.ts +3 -0
  25. package/es/components/DateTimePicker/Base/index.js +51 -6
  26. package/es/components/DateTimePicker/Base/style.css +508 -112
  27. package/es/components/DateTimePicker/Base/style.less +167 -160
  28. package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  29. package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
  30. package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  31. package/es/components/DateTimePicker/DisplayInput/index.js +3 -1
  32. package/es/components/DateTimePicker/DisplayInput/style.css +231 -53
  33. package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
  34. package/es/components/DateTimePicker/constants.d.ts +9 -3
  35. package/es/components/DateTimePicker/constants.js +1 -0
  36. package/es/components/DateTimePicker/index.js +1 -1
  37. package/es/components/DateTimePicker/style.css +77 -46
  38. package/es/components/DateTimePicker/style.less +19 -19
  39. package/es/components/DateTimePicker/time.d.ts +1 -0
  40. package/es/components/DateTimePicker/time.js +1 -0
  41. package/es/components/DateTimePicker/transform.js +4 -2
  42. package/es/components/Descriptions/style.css +77 -46
  43. package/es/components/Descriptions/style.less +16 -16
  44. package/es/components/Drawer/CloseIcon/style.less +8 -8
  45. package/es/components/Drawer/index.d.ts +6 -6
  46. package/es/components/Drawer/index.js +4 -4
  47. package/es/components/Drawer/style.css +244 -169
  48. package/es/components/Drawer/style.less +69 -61
  49. package/es/components/FileResumable/index.js +2 -3
  50. package/es/components/FileResumable/style.css +20 -50
  51. package/es/components/FileResumable/style.less +94 -94
  52. package/es/components/FlameGraph/customTooltip.d.ts +22 -0
  53. package/es/components/FlameGraph/customTooltip.js +91 -0
  54. package/es/components/FlameGraph/index.d.ts +16 -0
  55. package/es/components/FlameGraph/index.js +96 -0
  56. package/es/components/FlameGraph/style.css +8 -0
  57. package/es/components/FlameGraph/style.less +14 -0
  58. package/es/components/Input/index.d.ts +1 -1
  59. package/es/components/Input/style.css +231 -53
  60. package/es/components/Input/style.less +12 -12
  61. package/es/components/KeyValuePair/style.less +25 -25
  62. package/es/components/Menu/Option.d.ts +1 -1
  63. package/es/components/Menu/Option.js +12 -4
  64. package/es/components/Menu/style.css +31 -22
  65. package/es/components/Menu/style.less +18 -18
  66. package/es/components/Modal/style.css +11 -8
  67. package/es/components/Modal/style.less +30 -30
  68. package/es/components/NameExplainTooltip/style.css +1 -1
  69. package/es/components/NameExplainTooltip/style.less +10 -10
  70. package/es/components/NameLimiter/index.js +1 -1
  71. package/es/components/NameLimiter/style.css +83 -55
  72. package/es/components/NameLimiter/style.less +19 -19
  73. package/es/components/OptionList/InlineOptionList/style.css +22 -9
  74. package/es/components/OptionList/InlineOptionList/style.less +16 -16
  75. package/es/components/OptionList/OptionItem/style.css +85 -57
  76. package/es/components/OptionList/OptionItem/style.less +25 -25
  77. package/es/components/OptionList/PopoverOptionList/index.js +1 -1
  78. package/es/components/OptionList/PopoverOptionList/style.css +80 -49
  79. package/es/components/OptionList/PopoverOptionList/style.less +30 -30
  80. package/es/components/OptionList/style.css +187 -115
  81. package/es/components/OptionList/style.less +3 -3
  82. package/es/components/RadioGroup/style.css +51 -40
  83. package/es/components/RadioGroup/style.less +41 -41
  84. package/es/components/RangeInput/style.css +604 -87
  85. package/es/components/RangeInput/style.less +37 -37
  86. package/es/components/RemarkName/style.css +83 -55
  87. package/es/components/RemarkName/style.less +2 -2
  88. package/es/components/Selector/style.css +127 -39
  89. package/es/components/Selector/style.less +99 -99
  90. package/es/components/Spin/style.css +10 -8
  91. package/es/components/Spin/style.less +26 -26
  92. package/es/components/Steps/ControlButton/style.less +5 -5
  93. package/es/components/Steps/style.css +59 -21
  94. package/es/components/Steps/style.less +48 -48
  95. package/es/components/Table/ColumnSetting/index.d.ts +1 -0
  96. package/es/components/Table/ColumnSetting/index.js +19 -14
  97. package/es/components/Table/ColumnSetting/style.css +2 -5
  98. package/es/components/Table/ColumnSetting/style.less +50 -51
  99. package/es/components/Table/ColumnTag/style.css +4 -4
  100. package/es/components/Table/ColumnTag/style.less +40 -40
  101. package/es/components/Table/EmptyText.d.ts +7 -0
  102. package/es/components/Table/EmptyText.js +22 -0
  103. package/es/components/Table/ResizableTitle/style.less +25 -25
  104. package/es/components/Table/index.d.ts +19 -88
  105. package/es/components/Table/index.js +142 -326
  106. package/es/components/Table/style.css +146 -98
  107. package/es/components/Table/style.less +364 -345
  108. package/es/components/Table/type.d.ts +63 -0
  109. package/es/components/Table/type.js +5 -0
  110. package/es/components/Table/util.d.ts +58 -0
  111. package/es/components/Table/util.js +218 -0
  112. package/es/components/Tabs/style.css +127 -78
  113. package/es/components/Tabs/style.less +33 -33
  114. package/es/components/TagList/Tag/style.css +5 -5
  115. package/es/components/TagList/Tag/style.less +72 -72
  116. package/es/components/TagList/TagSwitch/style.css +1 -1
  117. package/es/components/TagList/TagSwitch/style.less +28 -28
  118. package/es/components/TagList/style.css +6 -6
  119. package/es/components/TagList/style.less +28 -28
  120. package/es/components/Timeline/TimelineItem/style.css +1 -1
  121. package/es/components/Timeline/TimelineItem/style.less +49 -49
  122. package/es/components/Timeline/style.less +23 -23
  123. package/es/components/TopologyChart/index.d.ts +7 -0
  124. package/es/components/TopologyChart/index.js +19 -0
  125. package/es/components/TopologyChart/style.css +14 -0
  126. package/es/components/TopologyChart/style.less +14 -0
  127. package/es/components/Transfer/List/style.less +19 -19
  128. package/es/components/Transfer/ListBody/style.less +18 -18
  129. package/es/components/Transfer/style.less +14 -14
  130. package/es/components/TreeSelector/style.css +42 -30
  131. package/es/components/TreeSelector/style.less +56 -56
  132. package/es/constants/language/datetime/en.js +4 -2
  133. package/es/constants/language/datetime/type.d.ts +4 -2
  134. package/es/constants/language/datetime/zh.js +4 -2
  135. package/es/index.css +9067 -7963
  136. package/es/index.d.ts +2 -0
  137. package/es/index.js +2 -0
  138. package/es/index.less +56 -54
  139. package/es/style/mixin.less +45 -45
  140. package/es/style/theme.less +416 -416
  141. package/lib/components/AutoComplete/index.js +2 -2
  142. package/lib/components/AutoComplete/style.css +127 -39
  143. package/lib/components/AutoComplete/style.less +8 -8
  144. package/lib/components/Breadcrumb/style.css +13 -3
  145. package/lib/components/Breadcrumb/style.less +9 -9
  146. package/lib/components/Button/style.css +282 -176
  147. package/lib/components/Button/style.less +51 -51
  148. package/lib/components/Card/RowExtra/style.css +6 -0
  149. package/lib/components/Card/RowExtra/style.less +8 -8
  150. package/lib/components/Card/SearchInput/style.less +8 -8
  151. package/lib/components/Card/style.css +61 -66
  152. package/lib/components/Card/style.less +11 -11
  153. package/lib/components/CheckTransformList/style.css +345 -121
  154. package/lib/components/CheckTransformList/style.less +35 -35
  155. package/lib/components/Checkbox/index.js +9 -1
  156. package/lib/components/Checkbox/style.css +5 -0
  157. package/lib/components/Checkbox/style.less +5 -5
  158. package/lib/components/CheckboxList/style.css +10 -5
  159. package/lib/components/CheckboxList/style.less +11 -11
  160. package/lib/components/Collapse/style.css +35 -3
  161. package/lib/components/Collapse/style.less +58 -58
  162. package/lib/components/CollapsiblePanel/style.less +63 -63
  163. package/lib/components/DateTimePicker/Base/index.d.ts +3 -0
  164. package/lib/components/DateTimePicker/Base/index.js +51 -6
  165. package/lib/components/DateTimePicker/Base/style.css +508 -112
  166. package/lib/components/DateTimePicker/Base/style.less +167 -160
  167. package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  168. package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
  169. package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  170. package/lib/components/DateTimePicker/DisplayInput/index.js +3 -1
  171. package/lib/components/DateTimePicker/DisplayInput/style.css +231 -53
  172. package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
  173. package/lib/components/DateTimePicker/constants.d.ts +9 -3
  174. package/lib/components/DateTimePicker/constants.js +1 -0
  175. package/lib/components/DateTimePicker/index.js +1 -1
  176. package/lib/components/DateTimePicker/style.css +77 -46
  177. package/lib/components/DateTimePicker/style.less +19 -19
  178. package/lib/components/DateTimePicker/time.d.ts +1 -0
  179. package/lib/components/DateTimePicker/time.js +1 -0
  180. package/lib/components/DateTimePicker/transform.js +4 -2
  181. package/lib/components/Descriptions/style.css +77 -46
  182. package/lib/components/Descriptions/style.less +16 -16
  183. package/lib/components/Drawer/CloseIcon/style.less +8 -8
  184. package/lib/components/Drawer/index.d.ts +6 -6
  185. package/lib/components/Drawer/index.js +4 -4
  186. package/lib/components/Drawer/style.css +244 -169
  187. package/lib/components/Drawer/style.less +69 -61
  188. package/lib/components/FileResumable/index.js +2 -3
  189. package/lib/components/FileResumable/style.css +20 -50
  190. package/lib/components/FileResumable/style.less +94 -94
  191. package/lib/components/FlameGraph/customTooltip.d.ts +22 -0
  192. package/lib/components/FlameGraph/customTooltip.js +114 -0
  193. package/lib/components/FlameGraph/index.d.ts +16 -0
  194. package/lib/components/FlameGraph/index.js +117 -0
  195. package/lib/components/FlameGraph/style.css +8 -0
  196. package/lib/components/FlameGraph/style.less +14 -0
  197. package/lib/components/Input/index.d.ts +1 -1
  198. package/lib/components/Input/style.css +231 -53
  199. package/lib/components/Input/style.less +12 -12
  200. package/lib/components/KeyValuePair/style.less +25 -25
  201. package/lib/components/Menu/Option.d.ts +1 -1
  202. package/lib/components/Menu/Option.js +17 -25
  203. package/lib/components/Menu/style.css +31 -22
  204. package/lib/components/Menu/style.less +18 -18
  205. package/lib/components/Modal/style.css +11 -8
  206. package/lib/components/Modal/style.less +30 -30
  207. package/lib/components/NameExplainTooltip/style.css +1 -1
  208. package/lib/components/NameExplainTooltip/style.less +10 -10
  209. package/lib/components/NameLimiter/index.js +1 -1
  210. package/lib/components/NameLimiter/style.css +83 -55
  211. package/lib/components/NameLimiter/style.less +19 -19
  212. package/lib/components/OptionList/InlineOptionList/style.css +22 -9
  213. package/lib/components/OptionList/InlineOptionList/style.less +16 -16
  214. package/lib/components/OptionList/OptionItem/style.css +85 -57
  215. package/lib/components/OptionList/OptionItem/style.less +25 -25
  216. package/lib/components/OptionList/PopoverOptionList/index.js +1 -1
  217. package/lib/components/OptionList/PopoverOptionList/style.css +80 -49
  218. package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
  219. package/lib/components/OptionList/style.css +187 -115
  220. package/lib/components/OptionList/style.less +3 -3
  221. package/lib/components/RadioGroup/style.css +51 -40
  222. package/lib/components/RadioGroup/style.less +41 -41
  223. package/lib/components/RangeInput/style.css +604 -87
  224. package/lib/components/RangeInput/style.less +37 -37
  225. package/lib/components/RemarkName/style.css +83 -55
  226. package/lib/components/RemarkName/style.less +2 -2
  227. package/lib/components/Selector/style.css +127 -39
  228. package/lib/components/Selector/style.less +99 -99
  229. package/lib/components/Spin/style.css +10 -8
  230. package/lib/components/Spin/style.less +26 -26
  231. package/lib/components/Steps/ControlButton/style.less +5 -5
  232. package/lib/components/Steps/style.css +59 -21
  233. package/lib/components/Steps/style.less +48 -48
  234. package/lib/components/Table/ColumnSetting/index.d.ts +1 -0
  235. package/lib/components/Table/ColumnSetting/index.js +19 -14
  236. package/lib/components/Table/ColumnSetting/style.css +2 -5
  237. package/lib/components/Table/ColumnSetting/style.less +50 -51
  238. package/lib/components/Table/ColumnTag/style.css +4 -4
  239. package/lib/components/Table/ColumnTag/style.less +40 -40
  240. package/lib/components/Table/EmptyText.d.ts +7 -0
  241. package/lib/components/Table/EmptyText.js +27 -0
  242. package/lib/components/Table/ResizableTitle/style.less +25 -25
  243. package/lib/components/Table/index.d.ts +19 -88
  244. package/lib/components/Table/index.js +145 -327
  245. package/lib/components/Table/style.css +146 -98
  246. package/lib/components/Table/style.less +364 -345
  247. package/lib/components/Table/type.d.ts +63 -0
  248. package/lib/components/Table/type.js +8 -0
  249. package/lib/components/Table/util.d.ts +58 -0
  250. package/lib/components/Table/util.js +227 -0
  251. package/lib/components/Tabs/style.css +127 -78
  252. package/lib/components/Tabs/style.less +33 -33
  253. package/lib/components/TagList/Tag/style.css +5 -5
  254. package/lib/components/TagList/Tag/style.less +72 -72
  255. package/lib/components/TagList/TagSwitch/style.css +1 -1
  256. package/lib/components/TagList/TagSwitch/style.less +28 -28
  257. package/lib/components/TagList/style.css +6 -6
  258. package/lib/components/TagList/style.less +28 -28
  259. package/lib/components/Timeline/TimelineItem/style.css +1 -1
  260. package/lib/components/Timeline/TimelineItem/style.less +49 -49
  261. package/lib/components/Timeline/style.less +23 -23
  262. package/lib/components/TopologyChart/index.d.ts +7 -0
  263. package/lib/components/TopologyChart/index.js +28 -0
  264. package/lib/components/TopologyChart/style.css +14 -0
  265. package/lib/components/TopologyChart/style.less +14 -0
  266. package/lib/components/Transfer/List/style.less +19 -19
  267. package/lib/components/Transfer/ListBody/style.less +18 -18
  268. package/lib/components/Transfer/style.less +14 -14
  269. package/lib/components/TreeSelector/style.css +42 -30
  270. package/lib/components/TreeSelector/style.less +56 -56
  271. package/lib/constants/language/datetime/en.js +4 -2
  272. package/lib/constants/language/datetime/type.d.ts +4 -2
  273. package/lib/constants/language/datetime/zh.js +4 -2
  274. package/lib/index.css +4782 -3678
  275. package/lib/index.d.ts +2 -0
  276. package/lib/index.js +8 -1
  277. package/lib/index.less +56 -54
  278. package/lib/style/mixin.less +45 -45
  279. package/lib/style/theme.less +416 -416
  280. package/package.json +10 -6
@@ -63,7 +63,7 @@
63
63
  .ant-steps-item-icon .ant-steps-icon {
64
64
  position: relative;
65
65
  top: -0.5px;
66
- color: #7a869a;
66
+ color: #436bff;
67
67
  line-height: 1;
68
68
  }
69
69
  .ant-steps-item-tail {
@@ -136,13 +136,13 @@
136
136
  }
137
137
  .ant-steps-item-process .ant-steps-item-icon {
138
138
  background-color: #ffffff;
139
- border-color: #7a869a;
139
+ border-color: #436bff;
140
140
  }
141
141
  .ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon {
142
- color: #7a869a;
142
+ color: #436bff;
143
143
  }
144
144
  .ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {
145
- background: #7a869a;
145
+ background: #436bff;
146
146
  }
147
147
  .ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title {
148
148
  color: #333;
@@ -157,7 +157,7 @@
157
157
  background-color: #e5e5e5;
158
158
  }
159
159
  .ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-icon {
160
- background: #7a869a;
160
+ background: #436bff;
161
161
  }
162
162
  .ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-icon .ant-steps-icon {
163
163
  color: #fff;
@@ -167,25 +167,25 @@
167
167
  }
168
168
  .ant-steps-item-finish .ant-steps-item-icon {
169
169
  background-color: #ffffff;
170
- border-color: #7a869a;
170
+ border-color: #436bff;
171
171
  }
172
172
  .ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon {
173
- color: #7a869a;
173
+ color: #436bff;
174
174
  }
175
175
  .ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {
176
- background: #7a869a;
176
+ background: #436bff;
177
177
  }
178
178
  .ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title {
179
179
  color: rgba(0, 0, 0, 0.65);
180
180
  }
181
181
  .ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {
182
- background-color: #7a869a;
182
+ background-color: #436bff;
183
183
  }
184
184
  .ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-description {
185
185
  color: rgba(0, 0, 0, 0.45);
186
186
  }
187
187
  .ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-tail::after {
188
- background-color: #7a869a;
188
+ background-color: #436bff;
189
189
  }
190
190
  .ant-steps-item-error .ant-steps-item-icon {
191
191
  background-color: #ffffff;
@@ -228,13 +228,13 @@
228
228
  .ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role='button']:hover .ant-steps-item-title,
229
229
  .ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role='button']:hover .ant-steps-item-subtitle,
230
230
  .ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role='button']:hover .ant-steps-item-description {
231
- color: #7a869a;
231
+ color: #436bff;
232
232
  }
233
233
  .ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process) > .ant-steps-item-container[role='button']:hover .ant-steps-item-icon {
234
- border-color: #7a869a;
234
+ border-color: #436bff;
235
235
  }
236
236
  .ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process) > .ant-steps-item-container[role='button']:hover .ant-steps-item-icon .ant-steps-icon {
237
- color: #7a869a;
237
+ color: #436bff;
238
238
  }
239
239
  .ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item {
240
240
  padding-left: 16px;
@@ -267,7 +267,7 @@
267
267
  line-height: 32px;
268
268
  }
269
269
  .ant-steps-item-custom.ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon {
270
- color: #7a869a;
270
+ color: #436bff;
271
271
  }
272
272
  .ant-steps:not(.ant-steps-vertical) .ant-steps-item-custom .ant-steps-item-icon {
273
273
  width: auto;
@@ -352,7 +352,7 @@
352
352
  .ant-steps-vertical > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {
353
353
  position: absolute;
354
354
  top: 0;
355
- left: 16px;
355
+ left: 15px;
356
356
  width: 1px;
357
357
  height: 100%;
358
358
  padding: 38px 0 6px;
@@ -370,7 +370,7 @@
370
370
  .ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail {
371
371
  position: absolute;
372
372
  top: 0;
373
- left: 12px;
373
+ left: 11px;
374
374
  padding: 30px 0 6px;
375
375
  }
376
376
  .ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-title {
@@ -489,6 +489,12 @@
489
489
  margin: 0;
490
490
  padding: 22px 0 4px;
491
491
  }
492
+ .ant-steps-vertical.ant-steps-dot.ant-steps-small .ant-steps-item-icon {
493
+ margin-top: 10px;
494
+ }
495
+ .ant-steps-vertical.ant-steps-dot.ant-steps-small .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {
496
+ top: 3.5px;
497
+ }
492
498
  .ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot {
493
499
  left: 0;
494
500
  }
@@ -568,7 +574,7 @@
568
574
  display: inline-block;
569
575
  width: 0;
570
576
  height: 2px;
571
- background-color: #7a869a;
577
+ background-color: #436bff;
572
578
  -webkit-transition: width 0.3s, left 0.3s;
573
579
  transition: width 0.3s, left 0.3s;
574
580
  -webkit-transition-timing-function: ease-out;
@@ -608,6 +614,9 @@
608
614
  .ant-steps-navigation.ant-steps-vertical > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {
609
615
  visibility: hidden;
610
616
  }
617
+ .ant-steps-navigation.ant-steps-horizontal > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {
618
+ visibility: hidden;
619
+ }
611
620
  .ant-steps-rtl {
612
621
  direction: rtl;
613
622
  }
@@ -623,6 +632,11 @@
623
632
  padding-right: 0;
624
633
  padding-left: 16px;
625
634
  }
635
+ .ant-steps-rtl .ant-steps-item-title .ant-steps-item-subtitle {
636
+ float: left;
637
+ margin-right: 8px;
638
+ margin-left: 0;
639
+ }
626
640
  .ant-steps-rtl .ant-steps-item-title::after {
627
641
  right: 100%;
628
642
  left: auto;
@@ -736,19 +750,43 @@
736
750
  right: -2px;
737
751
  left: auto;
738
752
  }
753
+ .ant-steps-rtl.ant-steps-with-progress.ant-steps-vertical > .ant-steps-item {
754
+ padding-right: 4px;
755
+ }
756
+ .ant-steps-rtl.ant-steps-with-progress.ant-steps-vertical > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {
757
+ right: 19px;
758
+ }
759
+ .ant-steps-rtl.ant-steps-with-progress.ant-steps-small.ant-steps-vertical > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {
760
+ right: 15px;
761
+ }
762
+ .ant-steps-rtl.ant-steps-with-progress.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child {
763
+ padding-right: 4px;
764
+ padding-left: 0;
765
+ }
739
766
  .ant-steps-rtl.ant-steps-with-progress.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child.ant-steps-item-active {
740
767
  padding-right: 4px;
741
768
  }
742
769
  .ant-steps-with-progress .ant-steps-item {
743
770
  padding-top: 4px;
744
771
  }
745
- .ant-steps-with-progress .ant-steps-item .ant-steps-item-tail {
746
- top: 4px !important;
772
+ .ant-steps-with-progress .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {
773
+ top: 4px;
774
+ left: 19px;
747
775
  }
748
- .ant-steps-with-progress.ant-steps-horizontal .ant-steps-item:first-child {
776
+ .ant-steps-with-progress.ant-steps-horizontal .ant-steps-item:first-child,
777
+ .ant-steps-with-progress.ant-steps-small.ant-steps-horizontal .ant-steps-item:first-child {
749
778
  padding-bottom: 4px;
750
779
  padding-left: 4px;
751
780
  }
781
+ .ant-steps-with-progress.ant-steps-small > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {
782
+ left: 15px;
783
+ }
784
+ .ant-steps-with-progress.ant-steps-vertical .ant-steps-item {
785
+ padding-left: 4px;
786
+ }
787
+ .ant-steps-with-progress.ant-steps-label-vertical .ant-steps-item .ant-steps-item-tail {
788
+ top: 14px !important;
789
+ }
752
790
  .ant-steps-with-progress .ant-steps-item-icon {
753
791
  position: relative;
754
792
  }
@@ -776,7 +814,7 @@
776
814
  }
777
815
  .pandora-sdk-steps .ant-steps-item .ant-steps-item-icon {
778
816
  border-radius: 2px;
779
- background: #2c6dd2;
817
+ background: #436bff;
780
818
  border: none;
781
819
  }
782
820
  .pandora-sdk-steps .ant-steps-item.ant-steps-item-finish .ant-steps-item-icon .ant-steps-icon {
@@ -1,48 +1,48 @@
1
- @import 'antd/lib/steps/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{sdk-prefix}-steps {
5
- .@{ant-prefix}-steps-item-icon {
6
- width: 24px;
7
- height: 24px;
8
- font-size: 12px;
9
- line-height: 24px;
10
- .@{ant-prefix}-steps-icon {
11
- font-size: 10px;
12
- }
13
- }
14
- .@{ant-prefix}-steps-item:last-of-type {
15
- .@{ant-prefix}-steps-item-title::after {
16
- display: none;
17
- }
18
- }
19
-
20
- .@{ant-prefix}-steps-item-process .@{ant-prefix}-steps-item-title {
21
- font-weight: 400;
22
- }
23
-
24
- .@{ant-prefix}-steps-item {
25
- .@{ant-prefix}-steps-item-icon {
26
- border-radius: 2px;
27
- background: @theme-color;
28
- border: none;
29
- }
30
- &.@{ant-prefix}-steps-item-finish {
31
- .@{ant-prefix}-steps-item-icon {
32
- .@{ant-prefix}-steps-icon {
33
- color: @normal-color;
34
- span.anticon.anticon-check.@{ant-prefix}-steps-finish-icon {
35
- color: @normal-color;
36
- }
37
- }
38
- }
39
- }
40
-
41
- &.@{ant-prefix}-steps-item-wait .@{ant-prefix}-steps-item-icon {
42
- background: @button-disabled-bg;
43
- .@{ant-prefix}-steps-icon {
44
- color: @icon-color;
45
- }
46
- }
47
- }
48
- }
1
+ @import 'antd/lib/steps/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-steps {
5
+ .@{ant-prefix}-steps-item-icon {
6
+ width: 24px;
7
+ height: 24px;
8
+ font-size: 12px;
9
+ line-height: 24px;
10
+ .@{ant-prefix}-steps-icon {
11
+ font-size: 10px;
12
+ }
13
+ }
14
+ .@{ant-prefix}-steps-item:last-of-type {
15
+ .@{ant-prefix}-steps-item-title::after {
16
+ display: none;
17
+ }
18
+ }
19
+
20
+ .@{ant-prefix}-steps-item-process .@{ant-prefix}-steps-item-title {
21
+ font-weight: 400;
22
+ }
23
+
24
+ .@{ant-prefix}-steps-item {
25
+ .@{ant-prefix}-steps-item-icon {
26
+ border-radius: 2px;
27
+ background: @theme-color;
28
+ border: none;
29
+ }
30
+ &.@{ant-prefix}-steps-item-finish {
31
+ .@{ant-prefix}-steps-item-icon {
32
+ .@{ant-prefix}-steps-icon {
33
+ color: @normal-color;
34
+ span.anticon.anticon-check.@{ant-prefix}-steps-finish-icon {
35
+ color: @normal-color;
36
+ }
37
+ }
38
+ }
39
+ }
40
+
41
+ &.@{ant-prefix}-steps-item-wait .@{ant-prefix}-steps-item-icon {
42
+ background: @button-disabled-bg;
43
+ .@{ant-prefix}-steps-icon {
44
+ color: @icon-color;
45
+ }
46
+ }
47
+ }
48
+ }
@@ -11,6 +11,7 @@ export interface ISettingBtnProps {
11
11
  hiddenKeys?: string[];
12
12
  options?: IOption[];
13
13
  loading?: boolean;
14
+ sortable: boolean;
14
15
  }
15
16
  export declare function ColumnSetting(props: ISettingBtnProps): React.JSX.Element;
16
17
  declare const _default: React.MemoExoticComponent<typeof ColumnSetting>;
@@ -56,8 +56,17 @@ var style_1 = require("../../../constants/style");
56
56
  var NameLimiter_1 = __importDefault(require("../../NameLimiter"));
57
57
  var Input_1 = __importDefault(require("../../Input"));
58
58
  exports.All = '_all';
59
+ function Item(_a) {
60
+ var item = _a.item, checked = _a.checked, onChange = _a.onChange, sortable = _a.sortable;
61
+ return (react_1.default.createElement("div", { key: item.value, "data-id": item.value },
62
+ react_1.default.createElement("div", { className: style_1.SDK_PREFIX + "-table-column-setting-checkbox-container" },
63
+ sortable && (react_1.default.createElement("div", { className: style_1.SDK_PREFIX + "-table-column-setting-dragholder" },
64
+ react_1.default.createElement(icons_1.HolderOutlined, null))),
65
+ react_1.default.createElement(antd_1.Checkbox, { checked: checked, value: item.value, className: style_1.SDK_PREFIX + "-table-column-setting-checkbox", onChange: onChange },
66
+ react_1.default.createElement("span", { className: style_1.SDK_PREFIX + "-table-column-setting-value" }, typeof item.label === 'string' ? (react_1.default.createElement(NameLimiter_1.default, { name: item.label })) : (item.label))))));
67
+ }
59
68
  function ColumnSetting(props) {
60
- var overlayClass = props.overlayClass, _a = props.hiddenKeys, hiddenKeys = _a === void 0 ? [] : _a, onHiddenKeysChange = props.onHiddenKeysChange, onMove = props.onMove, _b = props.options, options = _b === void 0 ? [] : _b, loading = props.loading;
69
+ var overlayClass = props.overlayClass, _a = props.hiddenKeys, hiddenKeys = _a === void 0 ? [] : _a, onHiddenKeysChange = props.onHiddenKeysChange, onMove = props.onMove, _b = props.options, options = _b === void 0 ? [] : _b, loading = props.loading, sortable = props.sortable;
61
70
  var locale = react_1.useContext(config_provider_1.ConfigContext).locale;
62
71
  var _c = __read(react_1.useState(''), 2), prefix = _c[0], setPrefix = _c[1];
63
72
  var allKeys = react_1.useMemo(function () {
@@ -106,19 +115,15 @@ function ColumnSetting(props) {
106
115
  react_1.default.createElement(antd_1.Checkbox, { value: exports.All, checked: hiddenKeys.length === 0, onChange: allCheckChange, className: style_1.SDK_PREFIX + "-table-column-setting-all-check" }, language_1.formatString(type_1.TableLocale.check_all, locale)),
107
116
  react_1.default.createElement(Input_1.default, { value: prefix, allowClear: true, onChange: handlePrefixChange, placeholder: language_1.formatString(type_1.TableLocale.search, locale), className: style_1.SDK_PREFIX + "-table-column-setting-search-input" })),
108
117
  react_1.default.createElement("div", null,
109
- react_1.default.createElement("div", { className: style_1.SDK_PREFIX + "-table-column-setting-content" },
110
- react_1.default.createElement(ReactSortable_1.default, { onChange: onMove, options: {
111
- group: 'setting-config',
112
- animation: 150,
113
- preventOnFilter: false
114
- } }, realOptions.map(function (item) {
115
- return (react_1.default.createElement("div", { key: item.value, "data-id": item.value },
116
- react_1.default.createElement("div", { className: style_1.SDK_PREFIX + "-table-column-setting-checkbox-container" },
117
- react_1.default.createElement("div", { className: style_1.SDK_PREFIX + "-table-column-setting-dragholder" },
118
- react_1.default.createElement(icons_1.HolderOutlined, null)),
119
- react_1.default.createElement(antd_1.Checkbox, { checked: !!realValues.find(function (v) { return v === item.value; }), value: item.value, className: style_1.SDK_PREFIX + "-table-column-setting-checkbox", onChange: handleChange },
120
- react_1.default.createElement("span", { className: style_1.SDK_PREFIX + "-table-column-setting-value" }, typeof item.label === 'string' ? (react_1.default.createElement(NameLimiter_1.default, { name: item.label })) : (item.label))))));
121
- })))))) },
118
+ react_1.default.createElement("div", { className: style_1.SDK_PREFIX + "-table-column-setting-content" }, sortable ? (react_1.default.createElement(ReactSortable_1.default, { onChange: onMove, options: {
119
+ group: 'setting-config',
120
+ animation: 150,
121
+ preventOnFilter: false
122
+ } }, realOptions.map(function (item) {
123
+ return (react_1.default.createElement(Item, { item: item, checked: !!realValues.find(function (v) { return v === item.value; }), sortable: true, onChange: handleChange, key: item.value.toString() }));
124
+ }))) : (react_1.default.createElement("div", null, realOptions.map(function (item) {
125
+ return (react_1.default.createElement(Item, { item: item, checked: !!realValues.find(function (v) { return v === item.value; }), sortable: false, onChange: handleChange, key: item.value.toString() }));
126
+ }))))))) },
122
127
  react_1.default.createElement(icons_1.SettingOutlined, { className: style_1.SDK_PREFIX + "-table-column-setting-icon", onClick: function (e) {
123
128
  e.stopPropagation();
124
129
  e.preventDefault();
@@ -1,7 +1,6 @@
1
1
  .pandora-sdk-table-column-setting-popover {
2
2
  padding: 10px;
3
3
  width: 100%;
4
- width: 600px;
5
4
  max-height: 300px;
6
5
  overflow-y: auto;
7
6
  }
@@ -29,9 +28,6 @@
29
28
  flex-wrap: wrap;
30
29
  }
31
30
  .pandora-sdk-table-column-setting-content > div {
32
- -webkit-box-flex: 0;
33
- -ms-flex: 0 0 33.33%;
34
- flex: 0 0 33.33%;
35
31
  -webkit-box-sizing: border-box;
36
32
  box-sizing: border-box;
37
33
  position: relative;
@@ -48,7 +44,8 @@
48
44
  cursor: move;
49
45
  }
50
46
  .pandora-sdk-table-column-setting-content > div .pandora-sdk-table-column-setting-checkbox-container .pandora-sdk-table-column-setting-checkbox {
51
- width: 120px;
47
+ width: 100%;
48
+ min-width: 120px;
52
49
  overflow: hidden;
53
50
  }
54
51
  .pandora-sdk-table-column-setting-content > div .pandora-sdk-table-column-setting-checkbox-container .pandora-sdk-table-column-setting-checkbox > span:nth-child(2) {
@@ -1,51 +1,50 @@
1
- @import '../../../style/theme.less';
2
-
3
- .@{sdk-prefix}-table-column-setting-popover {
4
- padding: 10px;
5
- width: 100%;
6
- width: 600px;
7
- .@{sdk-prefix}-table-column-setting-header {
8
- border-bottom: 1px solid @border-color-base;
9
- display: flex;
10
- padding-bottom: 10px;
11
- .@{sdk-prefix}-table-column-setting-all-check {
12
- line-height: 32px;
13
- }
14
- .@{sdk-prefix}-table-column-setting-search-input {
15
- width: 200px;
16
- }
17
- }
18
- max-height: 300px;
19
- overflow-y: auto;
20
- }
21
-
22
- .@{sdk-prefix}-table-column-setting-icon {
23
- color: @font-color-7;
24
- }
25
-
26
- .@{sdk-prefix}-table-column-setting-content {
27
- display: flex;
28
- flex-wrap: wrap;
29
- }
30
-
31
- .@{sdk-prefix}-table-column-setting-content > div {
32
- flex: 0 0 33.33%;
33
- box-sizing: border-box;
34
- position: relative;
35
- overflow: hidden;
36
- text-overflow: ellipsis;
37
- .@{sdk-prefix}-table-column-setting-checkbox-container {
38
- margin: 4px 0;
39
- display: flex;
40
- .@{sdk-prefix}-table-column-setting-dragholder {
41
- cursor: move;
42
- }
43
- .@{sdk-prefix}-table-column-setting-checkbox {
44
- width: 120px;
45
- overflow: hidden;
46
- }
47
- .@{sdk-prefix}-table-column-setting-checkbox > span:nth-child(2) {
48
- overflow: hidden;
49
- }
50
- }
51
- }
1
+ @import '../../../style/theme.less';
2
+
3
+ .@{sdk-prefix}-table-column-setting-popover {
4
+ padding: 10px;
5
+ width: 100%;
6
+ .@{sdk-prefix}-table-column-setting-header {
7
+ border-bottom: 1px solid @border-color-base;
8
+ display: flex;
9
+ padding-bottom: 10px;
10
+ .@{sdk-prefix}-table-column-setting-all-check {
11
+ line-height: 32px;
12
+ }
13
+ .@{sdk-prefix}-table-column-setting-search-input {
14
+ width: 200px;
15
+ }
16
+ }
17
+ max-height: 300px;
18
+ overflow-y: auto;
19
+ }
20
+
21
+ .@{sdk-prefix}-table-column-setting-icon {
22
+ color: @font-color-7;
23
+ }
24
+
25
+ .@{sdk-prefix}-table-column-setting-content {
26
+ display: flex;
27
+ flex-wrap: wrap;
28
+ }
29
+
30
+ .@{sdk-prefix}-table-column-setting-content > div {
31
+ box-sizing: border-box;
32
+ position: relative;
33
+ overflow: hidden;
34
+ text-overflow: ellipsis;
35
+ .@{sdk-prefix}-table-column-setting-checkbox-container {
36
+ margin: 4px 0;
37
+ display: flex;
38
+ .@{sdk-prefix}-table-column-setting-dragholder {
39
+ cursor: move;
40
+ }
41
+ .@{sdk-prefix}-table-column-setting-checkbox {
42
+ width: 100%;
43
+ min-width: 120px;
44
+ overflow: hidden;
45
+ }
46
+ .@{sdk-prefix}-table-column-setting-checkbox > span:nth-child(2) {
47
+ overflow: hidden;
48
+ }
49
+ }
50
+ }
@@ -1,9 +1,9 @@
1
1
  .pandora-sdk-table-columnTag-groupTag {
2
2
  padding: 4px;
3
3
  height: 24px;
4
- background: rgba(44, 109, 210, 0.1);
4
+ background: rgba(67, 107, 255, 0.1);
5
5
  margin-right: 4px;
6
- color: #7a869a;
6
+ color: #436bff;
7
7
  white-space: nowrap;
8
8
  font-size: 12px;
9
9
  margin-top: 4px;
@@ -25,8 +25,8 @@
25
25
  cursor: pointer;
26
26
  }
27
27
  .pandora-sdk-table-columnTag-moreTagsIcon:hover {
28
- color: #2c6dd2;
29
- border-color: #2c6dd2;
28
+ color: #436bff;
29
+ border-color: #436bff;
30
30
  }
31
31
  .pandora-sdk-table-columnTag-tagPopoverContainer {
32
32
  padding: 6px 10px 10px 10px;
@@ -1,40 +1,40 @@
1
- @import '../../../style/theme.less';
2
- .@{sdk-prefix}-table-columnTag-groupTag {
3
- padding: 4px;
4
- height: 24px;
5
- background: @theme-color-010;
6
- margin-right: 4px;
7
- color: @primary-color;
8
- white-space: nowrap;
9
- font-size: 12px;
10
- margin-top: 4px;
11
- }
12
-
13
- .@{sdk-prefix}-table-columnTag-moreTagsIcon {
14
- margin-left: 4px;
15
- vertical-align: middle;
16
- width: 14px;
17
- height: 13px;
18
- line-height: 6px;
19
- border: 1px solid @icon-color;
20
- padding: 0 1px;
21
- text-align: center;
22
- border-radius: 48%;
23
- display: inline-block;
24
- font-size: 12px;
25
- font-weight: 400;
26
- color: @icon-color;
27
- cursor: pointer;
28
-
29
- &:hover {
30
- color: @theme-color;
31
- border-color: @theme-color;
32
- }
33
- }
34
-
35
- .@{sdk-prefix}-table-columnTag-tagPopoverContainer {
36
- padding: 6px 10px 10px 10px;
37
- display: flex;
38
- flex-wrap: wrap;
39
- width: 400px;
40
- }
1
+ @import '../../../style/theme.less';
2
+ .@{sdk-prefix}-table-columnTag-groupTag {
3
+ padding: 4px;
4
+ height: 24px;
5
+ background: @theme-color-010;
6
+ margin-right: 4px;
7
+ color: @primary-color;
8
+ white-space: nowrap;
9
+ font-size: 12px;
10
+ margin-top: 4px;
11
+ }
12
+
13
+ .@{sdk-prefix}-table-columnTag-moreTagsIcon {
14
+ margin-left: 4px;
15
+ vertical-align: middle;
16
+ width: 14px;
17
+ height: 13px;
18
+ line-height: 6px;
19
+ border: 1px solid @icon-color;
20
+ padding: 0 1px;
21
+ text-align: center;
22
+ border-radius: 48%;
23
+ display: inline-block;
24
+ font-size: 12px;
25
+ font-weight: 400;
26
+ color: @icon-color;
27
+ cursor: pointer;
28
+
29
+ &:hover {
30
+ color: @theme-color;
31
+ border-color: @theme-color;
32
+ }
33
+ }
34
+
35
+ .@{sdk-prefix}-table-columnTag-tagPopoverContainer {
36
+ padding: 6px 10px 10px 10px;
37
+ display: flex;
38
+ flex-wrap: wrap;
39
+ width: 400px;
40
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { Locale } from 'antd/es/locale-provider';
3
+ declare function EmptyTextComp({ emptyText, locale }: {
4
+ emptyText?: React.ReactNode;
5
+ locale: Locale | undefined;
6
+ }): React.JSX.Element;
7
+ export default EmptyTextComp;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ var react_1 = __importDefault(require("react"));
7
+ var language_1 = require("../../utils/language");
8
+ var style_1 = require("../../constants/style");
9
+ var type_1 = require("../../constants/language/table/type");
10
+ var pandora_component_icons_1 = require("@qn-pandora/pandora-component-icons");
11
+ function EmptyTextComp(_a) {
12
+ var emptyText = _a.emptyText, locale = _a.locale;
13
+ if (!emptyText) {
14
+ return (react_1.default.createElement("div", { className: style_1.SDK_PREFIX + "-table-empty" },
15
+ react_1.default.createElement("div", { className: style_1.SDK_PREFIX + "-table-empty-icon" },
16
+ react_1.default.createElement(pandora_component_icons_1.EmptyIcon, null)),
17
+ react_1.default.createElement("div", { className: style_1.SDK_PREFIX + "-table-empty-text" }, language_1.formatString(type_1.TableLocale.empty, locale))));
18
+ }
19
+ if (typeof emptyText === 'string' || typeof emptyText === 'number') {
20
+ return (react_1.default.createElement("div", { className: style_1.SDK_PREFIX + "-table-empty" },
21
+ react_1.default.createElement("div", { className: style_1.SDK_PREFIX + "-table-empty-icon" },
22
+ react_1.default.createElement(pandora_component_icons_1.EmptyIcon, null)),
23
+ react_1.default.createElement("div", { className: style_1.SDK_PREFIX + "-table-empty-text" }, emptyText)));
24
+ }
25
+ return emptyText;
26
+ }
27
+ exports.default = EmptyTextComp;