tntd 2.8.0-beta.3 → 3.0.0-beta

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 (531) hide show
  1. package/es/alert/alert.js +70 -0
  2. package/es/alert/alert.js.map +1 -0
  3. package/es/alert/alert.less +128 -0
  4. package/es/alert/index.js +1 -1
  5. package/es/alert/index.js.map +1 -1
  6. package/es/alert/style/index.less +1 -0
  7. package/es/button/button.js +30 -3
  8. package/es/button/button.js.map +1 -1
  9. package/es/button/button.less +72 -0
  10. package/es/button/index.js +1 -0
  11. package/es/button/index.js.map +1 -1
  12. package/es/checkbox/check.png +0 -0
  13. package/es/checkbox/checkbox.js +48 -0
  14. package/es/checkbox/checkbox.js.map +1 -0
  15. package/es/checkbox/checkbox.less +69 -0
  16. package/es/checkbox/index.js +3 -7
  17. package/es/checkbox/index.js.map +1 -1
  18. package/es/color-picker/index.less +4 -1
  19. package/es/date-picker/DatePicker.js +101 -0
  20. package/es/date-picker/DatePicker.js.map +1 -0
  21. package/es/date-picker/index.js +6 -12
  22. package/es/date-picker/index.js.map +1 -1
  23. package/es/date-picker/index.less +294 -0
  24. package/es/date-picker/style/RangePicker.less +3 -3
  25. package/es/descriptions/descriptions.js +64 -21
  26. package/es/descriptions/descriptions.js.map +1 -1
  27. package/es/descriptions/descriptions.less +57 -60
  28. package/es/descriptions/index.js +2 -2
  29. package/es/descriptions/index.js.map +1 -1
  30. package/es/drawer/drawer.js +98 -13
  31. package/es/drawer/drawer.js.map +1 -1
  32. package/es/drawer/index.js +1 -1
  33. package/es/drawer/index.js.map +1 -1
  34. package/es/drawer/index.less +154 -0
  35. package/es/drawer/style/drawer.less +18 -3
  36. package/es/drawer/style/index.js +2 -1
  37. package/es/drawer/style/index.js.map +1 -1
  38. package/es/form/form.js +3 -0
  39. package/es/form/form.js.map +1 -1
  40. package/es/form/form.less +36 -0
  41. package/es/icon/index.js +2 -0
  42. package/es/icon/index.js.map +1 -1
  43. package/es/icon/style/style.less +4 -0
  44. package/es/input/index.js +1 -1
  45. package/es/input/index.js.map +1 -1
  46. package/es/input/input.js +21 -30
  47. package/es/input/input.js.map +1 -1
  48. package/es/input/input.less +123 -20
  49. package/es/input-number/index.js +4 -5
  50. package/es/input-number/index.js.map +1 -1
  51. package/es/input-number/inputNumber.js +29 -0
  52. package/es/input-number/inputNumber.js.map +1 -0
  53. package/es/input-number/inputNumber.less +12 -0
  54. package/es/locale/en_US.js +12 -1
  55. package/es/locale/en_US.js.map +1 -1
  56. package/es/locale/zh_CN.js +12 -1
  57. package/es/locale/zh_CN.js.map +1 -1
  58. package/es/message/message.less +2 -1
  59. package/es/modal/index.js +2 -3
  60. package/es/modal/index.js.map +1 -1
  61. package/es/modal/index.less +36 -0
  62. package/es/modal/modal.js +104 -17
  63. package/es/modal/modal.js.map +1 -1
  64. package/es/modal/style/index.js +2 -1
  65. package/es/modal/style/index.js.map +1 -1
  66. package/es/notification/assets/index.js +2 -0
  67. package/es/notification/assets/index.js.map +1 -0
  68. package/es/notification/assets/svg-error-tip.js +145 -0
  69. package/es/notification/assets/svg-error-tip.js.map +1 -0
  70. package/es/notification/assets/svg-success-tip.js +162 -0
  71. package/es/notification/assets/svg-success-tip.js.map +1 -0
  72. package/es/notification/index.js +1 -1
  73. package/es/notification/index.js.map +1 -1
  74. package/es/notification/notification.js +80 -0
  75. package/es/notification/notification.js.map +1 -0
  76. package/es/notification/notification.less +59 -0
  77. package/es/notification/style/index.less +2 -0
  78. package/es/popconfirm/index.js +2 -2
  79. package/es/popconfirm/index.js.map +1 -1
  80. package/es/popconfirm/index.less +26 -0
  81. package/es/popconfirm/popconfirm.js +40 -0
  82. package/es/popconfirm/popconfirm.js.map +1 -0
  83. package/es/popconfirm/style/index.js +2 -1
  84. package/es/popconfirm/style/index.js.map +1 -1
  85. package/es/popover/index.js +2 -2
  86. package/es/popover/index.js.map +1 -1
  87. package/es/popover/index.less +51 -0
  88. package/es/popover/popover.js +33 -0
  89. package/es/popover/popover.js.map +1 -0
  90. package/es/popover/style/index.js +1 -0
  91. package/es/popover/style/index.js.map +1 -1
  92. package/es/preview-text/index.js.map +1 -1
  93. package/es/progress/index.js +2 -2
  94. package/es/progress/index.js.map +1 -1
  95. package/es/progress/progress.js +132 -0
  96. package/es/progress/progress.js.map +1 -0
  97. package/es/progress/progress.less +82 -0
  98. package/es/query-form/Field/Composition/FieldPopover.js +284 -0
  99. package/es/query-form/Field/Composition/FieldPopover.js.map +1 -0
  100. package/es/query-form/Field/Composition/FieldPopover.less +35 -0
  101. package/es/query-form/Field/Composition/Select.js +108 -0
  102. package/es/query-form/Field/Composition/Select.js.map +1 -0
  103. package/es/query-form/Field/Composition/index.js +282 -0
  104. package/es/query-form/Field/Composition/index.js.map +1 -0
  105. package/es/query-form/Field/Composition/index.less +106 -0
  106. package/es/query-form/Field/Composition/utils.js +19 -0
  107. package/es/query-form/Field/Composition/utils.js.map +1 -0
  108. package/es/query-form/index.js +109 -125
  109. package/es/query-form/index.js.map +1 -1
  110. package/es/query-form/index.less +12 -9
  111. package/es/query-list-scene/index.less +4 -4
  112. package/es/radio/index.js +3 -5
  113. package/es/radio/index.js.map +1 -1
  114. package/es/radio/radio.js +57 -0
  115. package/es/radio/radio.js.map +1 -0
  116. package/es/radio/radio.less +43 -0
  117. package/es/segmented/index.less +126 -112
  118. package/es/select/index.js +1 -1
  119. package/es/select/index.js.map +1 -1
  120. package/es/select/select.js +5 -6
  121. package/es/select/select.js.map +1 -1
  122. package/es/select/select.less +83 -9
  123. package/es/steps/assets/background_left.svg +12 -0
  124. package/es/steps/assets/background_right.svg +12 -0
  125. package/es/steps/assets/horizontal_line.svg +3 -0
  126. package/es/steps/assets/vertical_line.svg +3 -0
  127. package/es/steps/index.js +9 -2
  128. package/es/steps/index.js.map +1 -1
  129. package/es/steps/stepStyle/icon.less +51 -0
  130. package/es/steps/stepStyle/index.less +173 -8
  131. package/es/steps/stepStyle/nav.less +51 -259
  132. package/es/steps/stepStyle/progress-dot.less +10 -0
  133. package/es/steps/stepStyle/variables.less +8 -0
  134. package/es/steps/stepStyle/vertical.less +41 -0
  135. package/es/steps/steps.js +53 -27
  136. package/es/steps/steps.js.map +1 -1
  137. package/es/steps/style/index.js +8 -0
  138. package/es/steps/style/index.js.map +1 -1
  139. package/es/style/themes/default.less +3 -2
  140. package/es/switch/index.less +46 -0
  141. package/es/switch/style/index.js +2 -1
  142. package/es/switch/style/index.js.map +1 -1
  143. package/es/switch/switch.js +40 -2
  144. package/es/switch/switch.js.map +1 -1
  145. package/es/table/style/index.less +51 -7
  146. package/es/table/style/size.less +5 -5
  147. package/es/table/table.js +37 -6
  148. package/es/table/table.js.map +1 -1
  149. package/es/table/table.less +33 -5
  150. package/es/tabs/index.js +1 -0
  151. package/es/tabs/index.js.map +1 -1
  152. package/es/tabs/style/index.js.map +1 -1
  153. package/es/tabs/style/index.less +1 -0
  154. package/es/tabs/tabs.js +22 -4
  155. package/es/tabs/tabs.js.map +1 -1
  156. package/es/tabs/tabs.less +114 -0
  157. package/es/tag/color.less +43 -0
  158. package/es/tag/index.js +11 -2
  159. package/es/tag/index.js.map +1 -1
  160. package/es/tag/tag.js +171 -0
  161. package/es/tag/tag.js.map +1 -0
  162. package/es/tag/tag.less +192 -0
  163. package/es/time-picker/TimePicker.js +36 -0
  164. package/es/time-picker/TimePicker.js.map +1 -0
  165. package/es/time-picker/index.js +2 -2
  166. package/es/time-picker/index.js.map +1 -1
  167. package/es/time-picker/index.less +38 -0
  168. package/es/tntd-action/Action.js +66 -0
  169. package/es/tntd-action/Action.js.map +1 -0
  170. package/es/tntd-action/index.js +64 -6
  171. package/es/tntd-action/index.js.map +1 -1
  172. package/es/tntd-action/index.less +36 -0
  173. package/es/tntd-cascader/AntdCascader/index.less +28 -27
  174. package/es/tooltip/index.js +2 -2
  175. package/es/tooltip/index.js.map +1 -1
  176. package/es/tooltip/index.less +24 -0
  177. package/es/tooltip/style/index.js +2 -1
  178. package/es/tooltip/style/index.js.map +1 -1
  179. package/es/tooltip/tooltip.js +32 -0
  180. package/es/tooltip/tooltip.js.map +1 -0
  181. package/es/utils/lang.js +8 -2
  182. package/es/utils/lang.js.map +1 -1
  183. package/lib/alert/alert.d.ts +12 -0
  184. package/lib/alert/alert.d.ts.map +1 -0
  185. package/lib/alert/alert.js +92 -0
  186. package/lib/alert/alert.js.map +1 -0
  187. package/lib/alert/alert.less +128 -0
  188. package/lib/alert/index.d.ts +1 -1
  189. package/lib/alert/index.d.ts.map +1 -1
  190. package/lib/alert/index.js +7 -8
  191. package/lib/alert/index.js.map +1 -1
  192. package/lib/alert/style/index.less +1 -0
  193. package/lib/button/button.d.ts +9 -4
  194. package/lib/button/button.d.ts.map +1 -1
  195. package/lib/button/button.js +27 -3
  196. package/lib/button/button.js.map +1 -1
  197. package/lib/button/button.less +72 -0
  198. package/lib/button/index.d.ts +1 -0
  199. package/lib/button/index.d.ts.map +1 -1
  200. package/lib/button/index.js +6 -5
  201. package/lib/button/index.js.map +1 -1
  202. package/lib/checkbox/check.png +0 -0
  203. package/lib/checkbox/checkbox.d.ts +16 -0
  204. package/lib/checkbox/checkbox.d.ts.map +1 -0
  205. package/lib/checkbox/checkbox.js +65 -0
  206. package/lib/checkbox/checkbox.js.map +1 -0
  207. package/lib/checkbox/checkbox.less +69 -0
  208. package/lib/checkbox/index.d.ts +3 -3
  209. package/lib/checkbox/index.d.ts.map +1 -1
  210. package/lib/checkbox/index.js +2 -17
  211. package/lib/checkbox/index.js.map +1 -1
  212. package/lib/color-picker/index.less +4 -1
  213. package/lib/date-picker/DatePicker.d.ts +21 -0
  214. package/lib/date-picker/DatePicker.d.ts.map +1 -0
  215. package/lib/date-picker/DatePicker.js +128 -0
  216. package/lib/date-picker/DatePicker.js.map +1 -0
  217. package/lib/date-picker/index.d.ts +2 -6
  218. package/lib/date-picker/index.d.ts.map +1 -1
  219. package/lib/date-picker/index.js +6 -37
  220. package/lib/date-picker/index.js.map +1 -1
  221. package/lib/date-picker/index.less +294 -0
  222. package/lib/date-picker/style/RangePicker.less +3 -3
  223. package/lib/descriptions/descriptions.d.ts +11 -6
  224. package/lib/descriptions/descriptions.d.ts.map +1 -1
  225. package/lib/descriptions/descriptions.js +68 -26
  226. package/lib/descriptions/descriptions.js.map +1 -1
  227. package/lib/descriptions/descriptions.less +57 -60
  228. package/lib/descriptions/index.d.ts +1 -1
  229. package/lib/descriptions/index.d.ts.map +1 -1
  230. package/lib/descriptions/index.js +7 -7
  231. package/lib/descriptions/index.js.map +1 -1
  232. package/lib/drawer/drawer.d.ts +22 -2
  233. package/lib/drawer/drawer.d.ts.map +1 -1
  234. package/lib/drawer/drawer.js +104 -13
  235. package/lib/drawer/drawer.js.map +1 -1
  236. package/lib/drawer/index.d.ts +1 -1
  237. package/lib/drawer/index.d.ts.map +1 -1
  238. package/lib/drawer/index.js +5 -5
  239. package/lib/drawer/index.js.map +1 -1
  240. package/lib/drawer/index.less +154 -0
  241. package/lib/drawer/style/drawer.less +18 -3
  242. package/lib/drawer/style/index.d.ts +1 -0
  243. package/lib/drawer/style/index.d.ts.map +1 -1
  244. package/lib/drawer/style/index.js +2 -1
  245. package/lib/drawer/style/index.js.map +1 -1
  246. package/lib/form/form.d.ts +1 -0
  247. package/lib/form/form.d.ts.map +1 -1
  248. package/lib/form/form.js +4 -0
  249. package/lib/form/form.js.map +1 -1
  250. package/lib/form/form.less +36 -0
  251. package/lib/icon/index.d.ts +1 -0
  252. package/lib/icon/index.d.ts.map +1 -1
  253. package/lib/icon/index.js +2 -1
  254. package/lib/icon/index.js.map +1 -1
  255. package/lib/icon/style/style.less +4 -0
  256. package/lib/input/index.d.ts +1 -1
  257. package/lib/input/index.d.ts.map +1 -1
  258. package/lib/input/index.js +7 -7
  259. package/lib/input/index.js.map +1 -1
  260. package/lib/input/input.d.ts +5 -5
  261. package/lib/input/input.d.ts.map +1 -1
  262. package/lib/input/input.js +11 -20
  263. package/lib/input/input.js.map +1 -1
  264. package/lib/input/input.less +123 -20
  265. package/lib/input-number/index.d.ts +4 -8
  266. package/lib/input-number/index.d.ts.map +1 -1
  267. package/lib/input-number/index.js +3 -5
  268. package/lib/input-number/index.js.map +1 -1
  269. package/lib/input-number/inputNumber.d.ts +10 -0
  270. package/lib/input-number/inputNumber.d.ts.map +1 -0
  271. package/lib/input-number/inputNumber.js +48 -0
  272. package/lib/input-number/inputNumber.js.map +1 -0
  273. package/lib/input-number/inputNumber.less +12 -0
  274. package/lib/locale/default.d.ts +11 -0
  275. package/lib/locale/default.d.ts.map +1 -1
  276. package/lib/locale/en_US.d.ts +11 -0
  277. package/lib/locale/en_US.d.ts.map +1 -1
  278. package/lib/locale/en_US.js +12 -1
  279. package/lib/locale/en_US.js.map +1 -1
  280. package/lib/locale/zh_CN.d.ts +11 -0
  281. package/lib/locale/zh_CN.d.ts.map +1 -1
  282. package/lib/locale/zh_CN.js +12 -1
  283. package/lib/locale/zh_CN.js.map +1 -1
  284. package/lib/message/message.less +2 -1
  285. package/lib/modal/index.d.ts +0 -1
  286. package/lib/modal/index.d.ts.map +1 -1
  287. package/lib/modal/index.js +2 -3
  288. package/lib/modal/index.js.map +1 -1
  289. package/lib/modal/index.less +36 -0
  290. package/lib/modal/modal.d.ts.map +1 -1
  291. package/lib/modal/modal.js +91 -16
  292. package/lib/modal/modal.js.map +1 -1
  293. package/lib/modal/style/index.d.ts +1 -0
  294. package/lib/modal/style/index.d.ts.map +1 -1
  295. package/lib/modal/style/index.js +2 -1
  296. package/lib/modal/style/index.js.map +1 -1
  297. package/lib/notification/assets/index.d.ts +3 -0
  298. package/lib/notification/assets/index.d.ts.map +1 -0
  299. package/lib/notification/assets/index.js +20 -0
  300. package/lib/notification/assets/index.js.map +1 -0
  301. package/lib/notification/assets/svg-error-tip.d.ts +4 -0
  302. package/lib/notification/assets/svg-error-tip.d.ts.map +1 -0
  303. package/lib/notification/assets/svg-error-tip.js +154 -0
  304. package/lib/notification/assets/svg-error-tip.js.map +1 -0
  305. package/lib/notification/assets/svg-success-tip.d.ts +4 -0
  306. package/lib/notification/assets/svg-success-tip.d.ts.map +1 -0
  307. package/lib/notification/assets/svg-success-tip.js +171 -0
  308. package/lib/notification/assets/svg-success-tip.js.map +1 -0
  309. package/lib/notification/index.d.ts +1 -1
  310. package/lib/notification/index.d.ts.map +1 -1
  311. package/lib/notification/index.js +7 -8
  312. package/lib/notification/index.js.map +1 -1
  313. package/lib/notification/notification.d.ts +9 -0
  314. package/lib/notification/notification.d.ts.map +1 -0
  315. package/lib/notification/notification.js +105 -0
  316. package/lib/notification/notification.js.map +1 -0
  317. package/lib/notification/notification.less +59 -0
  318. package/lib/notification/style/index.less +2 -0
  319. package/lib/popconfirm/index.d.ts +2 -2
  320. package/lib/popconfirm/index.d.ts.map +1 -1
  321. package/lib/popconfirm/index.js +1 -1
  322. package/lib/popconfirm/index.js.map +1 -1
  323. package/lib/popconfirm/index.less +26 -0
  324. package/lib/popconfirm/popconfirm.d.ts +6 -0
  325. package/lib/popconfirm/popconfirm.d.ts.map +1 -0
  326. package/lib/popconfirm/popconfirm.js +58 -0
  327. package/lib/popconfirm/popconfirm.js.map +1 -0
  328. package/lib/popconfirm/style/index.d.ts +1 -0
  329. package/lib/popconfirm/style/index.d.ts.map +1 -1
  330. package/lib/popconfirm/style/index.js +2 -1
  331. package/lib/popconfirm/style/index.js.map +1 -1
  332. package/lib/popover/index.d.ts +2 -2
  333. package/lib/popover/index.d.ts.map +1 -1
  334. package/lib/popover/index.js +2 -2
  335. package/lib/popover/index.js.map +1 -1
  336. package/lib/popover/index.less +51 -0
  337. package/lib/popover/popover.d.ts +13 -0
  338. package/lib/popover/popover.d.ts.map +1 -0
  339. package/lib/popover/popover.js +53 -0
  340. package/lib/popover/popover.js.map +1 -0
  341. package/lib/popover/style/index.d.ts +1 -0
  342. package/lib/popover/style/index.d.ts.map +1 -1
  343. package/lib/popover/style/index.js +2 -1
  344. package/lib/popover/style/index.js.map +1 -1
  345. package/lib/preview-text/index.d.ts +1 -1
  346. package/lib/preview-text/index.d.ts.map +1 -1
  347. package/lib/preview-text/index.js.map +1 -1
  348. package/lib/progress/index.d.ts +2 -2
  349. package/lib/progress/index.d.ts.map +1 -1
  350. package/lib/progress/index.js +1 -1
  351. package/lib/progress/index.js.map +1 -1
  352. package/lib/progress/progress.d.ts +12 -0
  353. package/lib/progress/progress.d.ts.map +1 -0
  354. package/lib/progress/progress.js +148 -0
  355. package/lib/progress/progress.js.map +1 -0
  356. package/lib/progress/progress.less +82 -0
  357. package/lib/query-form/Field/Composition/FieldPopover.d.ts +17 -0
  358. package/lib/query-form/Field/Composition/FieldPopover.d.ts.map +1 -0
  359. package/lib/query-form/Field/Composition/FieldPopover.js +319 -0
  360. package/lib/query-form/Field/Composition/FieldPopover.js.map +1 -0
  361. package/lib/query-form/Field/Composition/FieldPopover.less +35 -0
  362. package/lib/query-form/Field/Composition/Select.d.ts +4 -0
  363. package/lib/query-form/Field/Composition/Select.d.ts.map +1 -0
  364. package/lib/query-form/Field/Composition/Select.js +132 -0
  365. package/lib/query-form/Field/Composition/Select.js.map +1 -0
  366. package/lib/query-form/Field/Composition/index.d.ts +14 -0
  367. package/lib/query-form/Field/Composition/index.d.ts.map +1 -0
  368. package/lib/query-form/Field/Composition/index.js +337 -0
  369. package/lib/query-form/Field/Composition/index.js.map +1 -0
  370. package/lib/query-form/Field/Composition/index.less +106 -0
  371. package/lib/query-form/Field/Composition/utils.d.ts +6 -0
  372. package/lib/query-form/Field/Composition/utils.d.ts.map +1 -0
  373. package/lib/query-form/Field/Composition/utils.js +27 -0
  374. package/lib/query-form/Field/Composition/utils.js.map +1 -0
  375. package/lib/query-form/index.d.ts +4 -7
  376. package/lib/query-form/index.d.ts.map +1 -1
  377. package/lib/query-form/index.js +137 -149
  378. package/lib/query-form/index.js.map +1 -1
  379. package/lib/query-form/index.less +12 -9
  380. package/lib/query-list-scene/index.less +4 -4
  381. package/lib/radio/index.d.ts +3 -2
  382. package/lib/radio/index.d.ts.map +1 -1
  383. package/lib/radio/index.js +2 -5
  384. package/lib/radio/index.js.map +1 -1
  385. package/lib/radio/radio.d.ts +17 -0
  386. package/lib/radio/radio.d.ts.map +1 -0
  387. package/lib/radio/radio.js +75 -0
  388. package/lib/radio/radio.js.map +1 -0
  389. package/lib/radio/radio.less +43 -0
  390. package/lib/segmented/index.d.ts +1 -1
  391. package/lib/segmented/index.less +126 -112
  392. package/lib/select/index.d.ts +1 -1
  393. package/lib/select/index.d.ts.map +1 -1
  394. package/lib/select/index.js +6 -6
  395. package/lib/select/index.js.map +1 -1
  396. package/lib/select/select.d.ts +1 -1
  397. package/lib/select/select.d.ts.map +1 -1
  398. package/lib/select/select.js +3 -4
  399. package/lib/select/select.js.map +1 -1
  400. package/lib/select/select.less +83 -9
  401. package/lib/steps/assets/background_left.svg +12 -0
  402. package/lib/steps/assets/background_right.svg +12 -0
  403. package/lib/steps/assets/horizontal_line.svg +3 -0
  404. package/lib/steps/assets/vertical_line.svg +3 -0
  405. package/lib/steps/index.d.ts +1 -2
  406. package/lib/steps/index.d.ts.map +1 -1
  407. package/lib/steps/index.js +9 -2
  408. package/lib/steps/index.js.map +1 -1
  409. package/lib/steps/stepStyle/icon.less +51 -0
  410. package/lib/steps/stepStyle/index.less +173 -8
  411. package/lib/steps/stepStyle/nav.less +51 -259
  412. package/lib/steps/stepStyle/progress-dot.less +10 -0
  413. package/lib/steps/stepStyle/variables.less +8 -0
  414. package/lib/steps/stepStyle/vertical.less +41 -0
  415. package/lib/steps/steps.d.ts +10 -2
  416. package/lib/steps/steps.d.ts.map +1 -1
  417. package/lib/steps/steps.js +50 -22
  418. package/lib/steps/steps.js.map +1 -1
  419. package/lib/steps/style/index.d.ts.map +1 -1
  420. package/lib/steps/style/index.js.map +1 -1
  421. package/lib/style/themes/default.less +3 -2
  422. package/lib/svg-components/illustration-403.d.ts +1 -1
  423. package/lib/svg-components/illustration-404.d.ts +1 -1
  424. package/lib/svg-components/illustration-500.d.ts +1 -1
  425. package/lib/svg-components/illustration-empty.d.ts +1 -1
  426. package/lib/svg-components/illustration-failure.d.ts +1 -1
  427. package/lib/svg-components/illustration-no-access.d.ts +1 -1
  428. package/lib/svg-components/illustration-no-chart.d.ts +1 -1
  429. package/lib/svg-components/illustration-no-result.d.ts +1 -1
  430. package/lib/svg-components/illustration-offline.d.ts +1 -1
  431. package/lib/svg-components/illustration-success.d.ts +1 -1
  432. package/lib/switch/index.less +46 -0
  433. package/lib/switch/style/index.d.ts +1 -0
  434. package/lib/switch/style/index.d.ts.map +1 -1
  435. package/lib/switch/style/index.js +2 -1
  436. package/lib/switch/style/index.js.map +1 -1
  437. package/lib/switch/switch.d.ts +8 -0
  438. package/lib/switch/switch.d.ts.map +1 -1
  439. package/lib/switch/switch.js +40 -5
  440. package/lib/switch/switch.js.map +1 -1
  441. package/lib/table/assets/image-loading-background.d.ts +1 -1
  442. package/lib/table/assets/image-loading.d.ts +1 -1
  443. package/lib/table/style/index.less +51 -7
  444. package/lib/table/style/size.less +5 -5
  445. package/lib/table/table.d.ts +2 -1
  446. package/lib/table/table.d.ts.map +1 -1
  447. package/lib/table/table.js +35 -4
  448. package/lib/table/table.js.map +1 -1
  449. package/lib/table/table.less +33 -5
  450. package/lib/tabs/index.d.ts +1 -0
  451. package/lib/tabs/index.d.ts.map +1 -1
  452. package/lib/tabs/index.js +6 -5
  453. package/lib/tabs/index.js.map +1 -1
  454. package/lib/tabs/style/index.js.map +1 -1
  455. package/lib/tabs/style/index.less +1 -0
  456. package/lib/tabs/tabs.d.ts +3 -2
  457. package/lib/tabs/tabs.d.ts.map +1 -1
  458. package/lib/tabs/tabs.js +24 -3
  459. package/lib/tabs/tabs.js.map +1 -1
  460. package/lib/tabs/tabs.less +114 -0
  461. package/lib/tag/color.less +43 -0
  462. package/lib/tag/index.d.ts +3 -2
  463. package/lib/tag/index.d.ts.map +1 -1
  464. package/lib/tag/index.js +15 -9
  465. package/lib/tag/index.js.map +1 -1
  466. package/lib/tag/tag.d.ts +41 -0
  467. package/lib/tag/tag.d.ts.map +1 -0
  468. package/lib/tag/tag.js +183 -0
  469. package/lib/tag/tag.js.map +1 -0
  470. package/lib/tag/tag.less +192 -0
  471. package/lib/time-picker/TimePicker.d.ts +9 -0
  472. package/lib/time-picker/TimePicker.d.ts.map +1 -0
  473. package/lib/time-picker/TimePicker.js +55 -0
  474. package/lib/time-picker/TimePicker.js.map +1 -0
  475. package/lib/time-picker/index.d.ts +7 -6
  476. package/lib/time-picker/index.d.ts.map +1 -1
  477. package/lib/time-picker/index.js +4 -17
  478. package/lib/time-picker/index.js.map +1 -1
  479. package/lib/time-picker/index.less +38 -0
  480. package/lib/tntd-action/Action.d.ts +6 -0
  481. package/lib/tntd-action/Action.d.ts.map +1 -0
  482. package/lib/tntd-action/Action.js +86 -0
  483. package/lib/tntd-action/Action.js.map +1 -0
  484. package/lib/tntd-action/index.d.ts +4 -2
  485. package/lib/tntd-action/index.d.ts.map +1 -1
  486. package/lib/tntd-action/index.js +76 -5
  487. package/lib/tntd-action/index.js.map +1 -1
  488. package/lib/tntd-action/index.less +36 -0
  489. package/lib/tntd-cascader/AntdCascader/config/utils.d.ts +1 -1
  490. package/lib/tntd-cascader/AntdCascader/index.less +28 -27
  491. package/lib/tntd-rc-select/_util/PurePanel.d.ts +1 -1
  492. package/lib/tooltip/index.d.ts +2 -2
  493. package/lib/tooltip/index.d.ts.map +1 -1
  494. package/lib/tooltip/index.js +2 -2
  495. package/lib/tooltip/index.js.map +1 -1
  496. package/lib/tooltip/index.less +24 -0
  497. package/lib/tooltip/style/index.d.ts +1 -0
  498. package/lib/tooltip/style/index.d.ts.map +1 -1
  499. package/lib/tooltip/style/index.js +2 -1
  500. package/lib/tooltip/style/index.js.map +1 -1
  501. package/lib/tooltip/tooltip.d.ts +8 -0
  502. package/lib/tooltip/tooltip.d.ts.map +1 -0
  503. package/lib/tooltip/tooltip.js +51 -0
  504. package/lib/tooltip/tooltip.js.map +1 -0
  505. package/lib/utils/lang.d.ts.map +1 -1
  506. package/lib/utils/lang.js +8 -2
  507. package/lib/utils/lang.js.map +1 -1
  508. package/package.json +3 -2
  509. package/themes/common/index.less +29 -27
  510. package/themes/default/colors.less +1 -1
  511. package/themes/default/lessVars2.x.less +2 -1
  512. package/themes/default/lessVars3.x.less +1 -0
  513. package/themes/default/variables.less +60 -36
  514. package/es/checkbox/checkbox-group.js +0 -5
  515. package/es/checkbox/checkbox-group.js.map +0 -1
  516. package/es/drawer/drawer.less +0 -20
  517. package/es/modal/modal.less +0 -18
  518. package/es/radio/radio-group.js +0 -5
  519. package/es/radio/radio-group.js.map +0 -1
  520. package/es/steps/stepStyle/small.less +0 -5
  521. package/lib/checkbox/checkbox-group.d.ts +0 -8
  522. package/lib/checkbox/checkbox-group.d.ts.map +0 -1
  523. package/lib/checkbox/checkbox-group.js +0 -12
  524. package/lib/checkbox/checkbox-group.js.map +0 -1
  525. package/lib/drawer/drawer.less +0 -20
  526. package/lib/modal/modal.less +0 -18
  527. package/lib/radio/radio-group.d.ts +0 -8
  528. package/lib/radio/radio-group.d.ts.map +0 -1
  529. package/lib/radio/radio-group.js +0 -12
  530. package/lib/radio/radio-group.js.map +0 -1
  531. package/lib/steps/stepStyle/small.less +0 -5
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { TimePickerProps as AntdTimePickerProps } from 'antd/lib/time-picker';
3
+ export * from 'antd/lib/time-picker';
4
+ declare const TimePicker: React.FC<AntdTimePickerProps & {
5
+ theme?: string;
6
+ readonly?: boolean;
7
+ }>;
8
+ export default TimePicker;
9
+ //# sourceMappingURL=TimePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../src/time-picker/TimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAEvC,OAAO,KAAK,EAAE,eAAe,IAAI,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAIjF,cAAc,qBAAqB,CAAA;AACnC,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAqBtF,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ var _exportNames = {};
8
+ exports["default"] = void 0;
9
+ var _react = _interopRequireDefault(require("react"));
10
+ var _icon = _interopRequireDefault(require("../icon"));
11
+ var _configProvider = require("antd/lib/config-provider");
12
+ var _timePicker = _interopRequireWildcard(require("antd/lib/time-picker"));
13
+ Object.keys(_timePicker).forEach(function (key) {
14
+ if (key === "default" || key === "__esModule") return;
15
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
16
+ if (key in exports && exports[key] === _timePicker[key]) return;
17
+ Object.defineProperty(exports, key, {
18
+ enumerable: true,
19
+ get: function get() {
20
+ return _timePicker[key];
21
+ }
22
+ });
23
+ });
24
+ var _classnames = _interopRequireDefault(require("classnames"));
25
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
26
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
27
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
28
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
31
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
32
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
33
+ }
34
+ return t;
35
+ };
36
+ var TimePicker = function TimePicker(props) {
37
+ //theme样式类型 outline | fill 默认 outline
38
+ var _props$theme = props.theme,
39
+ theme = _props$theme === void 0 ? 'outline' : _props$theme,
40
+ className = props.className,
41
+ suffixIcon = props.suffixIcon,
42
+ restProps = __rest(props, ["theme", "className", "suffixIcon"]);
43
+ var defaultIcon = _react["default"].createElement(_icon["default"], {
44
+ type: "clock-circle"
45
+ });
46
+ return _react["default"].createElement(_configProvider.ConfigConsumer, null, function (_ref) {
47
+ var getPrefixCls = _ref.getPrefixCls;
48
+ var prefixCls = getPrefixCls('time-picker');
49
+ return _react["default"].createElement(_timePicker["default"], Object.assign({
50
+ suffixIcon: suffixIcon || defaultIcon,
51
+ className: (0, _classnames["default"])(className, "".concat(prefixCls, "-").concat(theme))
52
+ }, restProps));
53
+ });
54
+ };
55
+ var _default = exports["default"] = TimePicker;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimePicker.js","sourceRoot":"","sources":["../../src/time-picker/TimePicker.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAuC;AACvC,mDAA0B;AAE1B,6DAAwD;AACxD,sEAA+C;AAC/C,4DAAmC;AACnC,sDAAmC;AACnC,MAAM,UAAU,GAA2E,CACzF,KAAK,EACL,EAAE;IACF,sCAAsC;IACtC,MAAM,EAAE,KAAK,GAAG,SAAS,EAAE,SAAS,EAAE,UAAU,KAAmB,KAAK,EAAnB,SAAS,UAAK,KAAK,EAAlE,oCAA0D,CAAQ,CAAA;IACxE,MAAM,WAAW,GAAG,8BAAC,cAAI,IAAC,IAAI,EAAC,cAAc,GAAG,CAAA;IAEhD,OAAO,CACL,8BAAC,gCAAc,QACZ,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QACpB,MAAM,SAAS,GAAG,YAAY,CAAC,aAAa,CAAC,CAAA;QAC7C,OAAO,CACL,8BAAC,qBAAa,kBACZ,UAAU,EAAE,UAAU,IAAI,WAAW,EACrC,SAAS,EAAE,IAAA,oBAAU,EAAC,SAAS,EAAE,GAAG,SAAS,IAAI,KAAK,EAAE,CAAC,IACrD,SAAS,EACb,CACH,CAAA;IACH,CAAC,CACc,CAClB,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,UAAU,CAAA","sourcesContent":["import React, { useState } from 'react'\nimport Icon from '../icon'\nimport type { TimePickerProps as AntdTimePickerProps } from 'antd/lib/time-picker'\nimport { ConfigConsumer } from 'antd/lib/config-provider'\nimport AntTimePicker from 'antd/lib/time-picker'\nimport classNames from 'classnames'\nexport * from 'antd/lib/time-picker'\nconst TimePicker: React.FC<AntdTimePickerProps & { theme?: string; readonly?: boolean }> = (\n props\n) => {\n //theme样式类型 outline | fill 默认 outline\n const { theme = 'outline', className, suffixIcon, ...restProps } = props\n const defaultIcon = <Icon type=\"clock-circle\" />\n\n return (\n <ConfigConsumer>\n {({ getPrefixCls }) => {\n const prefixCls = getPrefixCls('time-picker')\n return (\n <AntTimePicker\n suffixIcon={suffixIcon || defaultIcon}\n className={classNames(className, `${prefixCls}-${theme}`)}\n {...restProps}\n />\n )\n }}\n </ConfigConsumer>\n )\n}\n\nexport default TimePicker\n"]}
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- import type { TimePickerProps as AntdTimePickerProps } from 'antd/lib/time-picker';
3
2
  import './style';
4
- export * from 'antd/lib/time-picker';
5
- export declare type TimePickerProps = AntdTimePickerProps & {
6
- readonly?: boolean;
7
- };
8
- declare const _default: import("react").ForwardRefExoticComponent<AntdTimePickerProps & import("react").RefAttributes<unknown>>;
3
+ import './index.less';
4
+ declare const _default: import("react").ForwardRefExoticComponent<import("antd/lib/time-picker").TimePickerProps & {
5
+ theme?: string | undefined;
6
+ readonly?: boolean | undefined;
7
+ } & {
8
+ children?: import("react").ReactNode;
9
+ } & import("react").RefAttributes<unknown>>;
9
10
  export default _default;
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/time-picker/index.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,eAAe,IAAI,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAIjF,OAAO,SAAS,CAAA;AAEhB,cAAc,qBAAqB,CAAA;AAEnC,oBAAY,eAAe,GAAG,mBAAmB,GAAG;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;;AAED,wBAA2E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/time-picker/index.ts"],"names":[],"mappings":";AAGA,OAAO,SAAS,CAAA;AAChB,OAAO,cAAc,CAAA;;;;;;;AAGrB,wBAA2E"}
@@ -1,26 +1,13 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
7
- var _exportNames = {};
8
6
  exports["default"] = void 0;
9
- var _timePicker = _interopRequireWildcard(require("antd/lib/time-picker"));
10
- Object.keys(_timePicker).forEach(function (key) {
11
- if (key === "default" || key === "__esModule") return;
12
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
13
- if (key in exports && exports[key] === _timePicker[key]) return;
14
- Object.defineProperty(exports, key, {
15
- enumerable: true,
16
- get: function get() {
17
- return _timePicker[key];
18
- }
19
- });
20
- });
21
7
  var _connect = require("../connect");
22
8
  var _previewText = require("../preview-text");
23
9
  require("./style");
24
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
25
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
26
- var _default = exports["default"] = (0, _connect.connectReadonlyComponent)(_timePicker["default"], _previewText.PreviewText.TimePicker);
10
+ require("./index.less");
11
+ var _TimePicker = _interopRequireDefault(require("./TimePicker"));
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+ var _default = exports["default"] = (0, _connect.connectReadonlyComponent)(_TimePicker["default"], _previewText.PreviewText.TimePicker);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/time-picker/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,sEAA4C;AAE5C,wCAAqD;AACrD,kDAA6C;AAE7C,mBAAgB;AAEhB,sDAAmC;AAMnC,kBAAe,IAAA,kCAAwB,EAAC,qBAAU,EAAE,0BAAW,CAAC,UAAU,CAAC,CAAA","sourcesContent":["import TimePicker from 'antd/lib/time-picker'\nimport type { TimePickerProps as AntdTimePickerProps } from 'antd/lib/time-picker'\nimport { connectReadonlyComponent } from '../connect'\nimport { PreviewText } from '../preview-text'\n\nimport './style'\n\nexport * from 'antd/lib/time-picker'\n\nexport type TimePickerProps = AntdTimePickerProps & {\n readonly?: boolean\n}\n\nexport default connectReadonlyComponent(TimePicker, PreviewText.TimePicker)\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/time-picker/index.ts"],"names":[],"mappings":";;;;;AAAA,wCAAqD;AACrD,kDAA6C;AAE7C,mBAAgB;AAChB,wBAAqB;AACrB,8DAAqC;AAErC,kBAAe,IAAA,kCAAwB,EAAC,oBAAU,EAAE,0BAAW,CAAC,UAAU,CAAC,CAAA","sourcesContent":["import { connectReadonlyComponent } from '../connect'\nimport { PreviewText } from '../preview-text'\n\nimport './style'\nimport './index.less'\nimport TimePicker from './TimePicker'\n\nexport default connectReadonlyComponent(TimePicker, PreviewText.TimePicker)\n"]}
@@ -0,0 +1,38 @@
1
+ @import '../style/themes/index';
2
+
3
+ @timepicker-prefix-cls: ~'@{ant-prefix}-time-picker';
4
+ .@{timepicker-prefix-cls} {
5
+ input{
6
+ border-color: @border-color-secondary;
7
+ }
8
+ &:has(input:not([value=''])),&:hover {
9
+ .@{timepicker-prefix-cls}-icon{
10
+ i{
11
+ color: @text-color-secondary;
12
+ }
13
+ }
14
+ }
15
+ &:has(input[disabled]){
16
+ .@{timepicker-prefix-cls}-icon{
17
+ i{
18
+ color: @disabled-color;
19
+ }
20
+ }
21
+ }
22
+ &-fill{
23
+ input {
24
+ background-color: @fill-color-quaternary;
25
+ border-color: @fill-color-quaternary;
26
+ &[disabled] {
27
+ border: none;
28
+ }
29
+ &:focus{
30
+ background-color: @white;
31
+ }
32
+ &:not([value='']):hover {
33
+ background-color: @white;
34
+ }
35
+ }
36
+ }
37
+ }
38
+
@@ -0,0 +1,6 @@
1
+ export default function WarpAction({ getContainer, ...other }: {
2
+ [x: string]: any;
3
+ getContainer?: (() => HTMLElement) | undefined;
4
+ }): React.JSX.Element;
5
+ import React from "react";
6
+ //# sourceMappingURL=Action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../src/tntd-action/Action.js"],"names":[],"mappings":"AASA;;;sBAgBC"}
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = WarpAction;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _reactDom = _interopRequireDefault(require("react-dom"));
10
+ var _configProvider = require("antd/lib/config-provider");
11
+ var _LocaleReceiver = _interopRequireDefault(require("antd/lib/locale-provider/LocaleReceiver"));
12
+ var _classnames = _interopRequireDefault(require("classnames"));
13
+ var _button = require("../button");
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
18
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
19
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
20
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
21
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
22
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
23
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
24
+ var t = {};
25
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
26
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
27
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
28
+ }
29
+ return t;
30
+ };
31
+ var defaultGetContainer = function defaultGetContainer() {
32
+ return document.body;
33
+ };
34
+ function WarpAction(_a) {
35
+ var _a$getContainer = _a.getContainer,
36
+ getContainer = _a$getContainer === void 0 ? defaultGetContainer : _a$getContainer,
37
+ other = __rest(_a, ["getContainer"]);
38
+ return _react["default"].createElement(_configProvider.ConfigConsumer, null, function (_ref) {
39
+ var getPrefixCls = _ref.getPrefixCls,
40
+ getContextPopupContainer = _ref.getPopupContainer;
41
+ var _getContainer = getContainer === undefined ? getContextPopupContainer : getContainer;
42
+ return _react["default"].createElement(_LocaleReceiver["default"], {
43
+ componentName: "TntdAction"
44
+ }, function (locale) {
45
+ return _react["default"].createElement(Action, Object.assign({}, other, {
46
+ locale: locale,
47
+ getContainer: _getContainer
48
+ }));
49
+ });
50
+ });
51
+ }
52
+ function Action(_ref2) {
53
+ var title = _ref2.title,
54
+ data = _ref2.data,
55
+ locale = _ref2.locale,
56
+ className = _ref2.className,
57
+ getContainer = _ref2.getContainer;
58
+ var _useState = (0, _react.useState)(false),
59
+ _useState2 = _slicedToArray(_useState, 2),
60
+ visible = _useState2[0],
61
+ setVisible = _useState2[1];
62
+ var ref = (0, _react.useRef)();
63
+ (0, _react.useEffect)(function () {
64
+ ref.current = getContainer();
65
+ }, [getContainer]);
66
+ (0, _react.useEffect)(function () {
67
+ setVisible(data.length > 0);
68
+ }, [data]);
69
+ if (ref.current && visible) {
70
+ return _reactDom["default"].createPortal(_react["default"].createElement("div", {
71
+ className: (0, _classnames["default"])('tnt-action', className)
72
+ }, _react["default"].createElement("div", {
73
+ className: "fr"
74
+ }, data), _react["default"].createElement(_button.Button, {
75
+ shape: "circle",
76
+ icon: "close",
77
+ type: "tertiary",
78
+ onClick: function onClick() {
79
+ return setVisible(false);
80
+ }
81
+ }), _react["default"].createElement("span", {
82
+ className: "tnt-action-text"
83
+ }, title)), ref.current);
84
+ }
85
+ return null;
86
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Action.js","sourceRoot":"","sources":["../../src/tntd-action/Action.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA0D;AAC1D,0DAAgC;AAChC,6DAAwD;AACxD,4FAAmE;AACnE,4DAAmC;AACnC,sCAAkC;AAElC,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAA;AAE/C,SAAwB,UAAU,CAAC,EAAgD;QAAhD,EAAE,YAAY,GAAG,mBAAmB,OAAY,EAAP,KAAK,cAA9C,gBAAgD,CAAF;IAC/E,OAAO,CACL,8BAAC,gCAAc,QACZ,CAAC,EAAE,YAAY,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,EAAE,EAAE;QACjE,MAAM,aAAa,GAAG,YAAY,KAAK,SAAS,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,YAAY,CAAA;QAE1F,OAAO,CACL,8BAAC,wBAAc,IAAC,aAAa,EAAC,YAAY,IACvC,CAAC,MAAM,EAAE,EAAE;YACV,OAAO,8BAAC,MAAM,oBAAK,KAAK,IAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,aAAa,IAAI,CAAA;QAC3E,CAAC,CACc,CAClB,CAAA;IACH,CAAC,CACc,CAClB,CAAA;AACH,CAAC;AAhBD,6BAgBC;AAED,SAAS,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE;IAC9D,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAA;IAC7C,MAAM,GAAG,GAAG,IAAA,cAAM,GAAE,CAAA;IAEpB,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,GAAG,CAAC,OAAO,GAAG,YAAY,EAAE,CAAA;IAC9B,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAA;IAElB,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,UAAU,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IAC7B,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAA;IAEV,IAAI,GAAG,CAAC,OAAO,IAAI,OAAO,EAAE;QAC1B,OAAO,mBAAQ,CAAC,YAAY,CAC1B,uCAAK,SAAS,EAAE,IAAA,oBAAU,EAAC,YAAY,EAAE,SAAS,CAAC;YACjD,uCAAK,SAAS,EAAC,IAAI,IAAE,IAAI,CAAO;YAChC,8BAAC,eAAM,IAAC,KAAK,EAAC,QAAQ,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,UAAU,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAAI;YACxF,wCAAM,SAAS,EAAC,iBAAiB,IAAE,KAAK,CAAQ,CAC5C,EACN,GAAG,CAAC,OAAO,CACZ,CAAA;KACF;IACD,OAAO,IAAI,CAAA;AACb,CAAC","sourcesContent":["import React, { useState, useEffect, useRef } from 'react'\nimport ReactDOM from 'react-dom'\nimport { ConfigConsumer } from 'antd/lib/config-provider'\nimport LocaleReceiver from 'antd/lib/locale-provider/LocaleReceiver'\nimport classNames from 'classnames'\nimport { Button } from '../button'\n\nconst defaultGetContainer = () => document.body\n\nexport default function WarpAction({ getContainer = defaultGetContainer, ...other }) {\n return (\n <ConfigConsumer>\n {({ getPrefixCls, getPopupContainer: getContextPopupContainer }) => {\n const _getContainer = getContainer === undefined ? getContextPopupContainer : getContainer\n\n return (\n <LocaleReceiver componentName=\"TntdAction\">\n {(locale) => {\n return <Action {...other} locale={locale} getContainer={_getContainer} />\n }}\n </LocaleReceiver>\n )\n }}\n </ConfigConsumer>\n )\n}\n\nfunction Action({ title, data, locale, className, getContainer }) {\n const [visible, setVisible] = useState(false)\n const ref = useRef()\n\n useEffect(() => {\n ref.current = getContainer()\n }, [getContainer])\n\n useEffect(() => {\n setVisible(data.length > 0)\n }, [data])\n\n if (ref.current && visible) {\n return ReactDOM.createPortal(\n <div className={classNames('tnt-action', className)}>\n <div className=\"fr\">{data}</div>\n <Button shape=\"circle\" icon=\"close\" type=\"tertiary\" onClick={() => setVisible(false)} />\n <span className=\"tnt-action-text\">{title}</span>\n </div>,\n ref.current\n )\n }\n return null\n}\n"]}
@@ -1,4 +1,6 @@
1
- export default function _default({ children }: {
1
+ export default function _default({ children, ...other }: {
2
+ [x: string]: any;
2
3
  children: any;
3
- }): any;
4
+ }): React.JSX.Element;
5
+ import React from "react";
4
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tntd-action/index.js"],"names":[],"mappings":"AAGA;;QAEC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tntd-action/index.js"],"names":[],"mappings":"AA+BA;;;sBA2BC"}
@@ -1,12 +1,83 @@
1
1
  "use strict";
2
2
 
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports["default"] = _default;
7
- require("react");
8
- // 空组件,为了保持tntd两个版本使用上统一
9
- function _default(_ref) {
10
- var children = _ref.children;
11
- return children;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _Action = _interopRequireDefault(require("./Action"));
10
+ require("./index.less");
11
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
14
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
15
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
16
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
17
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
18
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
19
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
20
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
21
+ var t = {};
22
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
23
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
24
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
25
+ }
26
+ return t;
27
+ };
28
+ var checkShowChild = function checkShowChild(child, checkDeep) {
29
+ var _ref = child.props || {},
30
+ disabled = _ref.disabled,
31
+ children = _ref.children,
32
+ text = _ref.text;
33
+ if (checkDeep === 0 && !disabled) {
34
+ return _react["default"].cloneElement(child, text ? {
35
+ children: _react["default"].createElement(_react["default"].Fragment, null, children, text)
36
+ } : {});
37
+ } else if (children) {
38
+ var newChild = _react["default"].Children.map(children, function (child) {
39
+ return checkShowChild(child, checkDeep - 1);
40
+ }).filter(function (i) {
41
+ return !!i;
42
+ });
43
+ if (newChild.length > 0) {
44
+ return _react["default"].cloneElement(child, {
45
+ children: newChild
46
+ });
47
+ }
48
+ }
49
+ return false;
50
+ };
51
+ function _default(_a) {
52
+ var children = _a.children,
53
+ other = __rest(_a, ["children"]);
54
+ var _useMemo = (0, _react.useMemo)(function () {
55
+ var thisChild = [];
56
+ var popChild = [];
57
+ _react["default"].Children.forEach(children, function (child) {
58
+ if (child && child.props) {
59
+ var _child$props = child.props,
60
+ _child$props$checkDee = _child$props.checkDeep,
61
+ checkDeep = _child$props$checkDee === void 0 ? 0 : _child$props$checkDee,
62
+ exclude = _child$props.exclude;
63
+ if (exclude) {
64
+ thisChild.push(_react["default"].cloneElement(child, {
65
+ exclude: undefined
66
+ }));
67
+ } else {
68
+ var showChild = checkShowChild(child, checkDeep);
69
+ if (showChild) {
70
+ popChild.push(showChild);
71
+ }
72
+ }
73
+ }
74
+ });
75
+ return [thisChild, popChild];
76
+ }, [children]),
77
+ _useMemo2 = _slicedToArray(_useMemo, 2),
78
+ thisChild = _useMemo2[0],
79
+ popChild = _useMemo2[1];
80
+ return _react["default"].createElement(_react["default"].Fragment, null, thisChild, _react["default"].createElement(_Action["default"], Object.assign({
81
+ data: popChild
82
+ }, other)));
12
83
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tntd-action/index.js"],"names":[],"mappings":";;AAAA,iBAAyB;AAEzB,wBAAwB;AACxB,mBAAyB,EAAE,QAAQ,EAAE;IACnC,OAAO,QAAQ,CAAA;AACjB,CAAC;AAFD,4BAEC","sourcesContent":["import React from 'react'\n\n// 空组件,为了保持tntd两个版本使用上统一\nexport default function ({ children }) {\n return children\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tntd-action/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAsC;AACtC,sDAA6B;AAC7B,wBAAqB;AAErB,MAAM,cAAc,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE;IAC1C,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC,KAAK,IAAI,EAAE,CAAA;IACtD,IAAI,SAAS,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE;QAChC,OAAO,eAAK,CAAC,YAAY,CACvB,KAAK,EACL,IAAI;YACF,CAAC,CAAC;gBACE,QAAQ,EAAE,CACR;oBACG,QAAQ;oBACR,IAAI,CACJ,CACJ;aACF;YACH,CAAC,CAAC,EAAE,CACP,CAAA;KACF;SAAM,IAAI,QAAQ,EAAE;QACnB,MAAM,QAAQ,GAAG,eAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;YACtD,OAAO,cAAc,CAAC,KAAK,EAAE,SAAS,GAAG,CAAC,CAAC,CAAA;QAC7C,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QACrB,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,eAAK,CAAC,YAAY,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAA;SACzD;KACF;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AAED,mBAAyB,EAAsB;QAAtB,EAAE,QAAQ,OAAY,EAAP,KAAK,cAApB,YAAsB,CAAF;IAC3C,MAAM,CAAC,SAAS,EAAE,QAAQ,CAAC,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;QACzC,MAAM,SAAS,GAAG,EAAE,CAAA;QACpB,MAAM,QAAQ,GAAG,EAAE,CAAA;QACnB,eAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;YACzC,IAAI,KAAK,IAAI,KAAK,CAAC,KAAK,EAAE;gBACxB,MAAM,EAAE,SAAS,GAAG,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC,KAAK,CAAA;gBAC9C,IAAI,OAAO,EAAE;oBACX,SAAS,CAAC,IAAI,CAAC,eAAK,CAAC,YAAY,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC,CAAA;iBAClE;qBAAM;oBACL,MAAM,SAAS,GAAG,cAAc,CAAC,KAAK,EAAE,SAAS,CAAC,CAAA;oBAClD,IAAI,SAAS,EAAE;wBACb,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;qBACzB;iBACF;aACF;QACH,CAAC,CAAC,CAAA;QACF,OAAO,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAA;IAC9B,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAA;IAEd,OAAO,CACL;QACG,SAAS;QAEV,8BAAC,gBAAM,kBAAC,IAAI,EAAE,QAAQ,IAAM,KAAK,EAAI,CACpC,CACJ,CAAA;AACH,CAAC;AA3BD,4BA2BC","sourcesContent":["import React, { useMemo } from 'react'\nimport Action from './Action'\nimport './index.less'\n\nconst checkShowChild = (child, checkDeep) => {\n const { disabled, children, text } = child.props || {}\n if (checkDeep === 0 && !disabled) {\n return React.cloneElement(\n child,\n text\n ? {\n children: (\n <>\n {children}\n {text}\n </>\n ),\n }\n : {}\n )\n } else if (children) {\n const newChild = React.Children.map(children, (child) => {\n return checkShowChild(child, checkDeep - 1)\n }).filter((i) => !!i)\n if (newChild.length > 0) {\n return React.cloneElement(child, { children: newChild })\n }\n }\n return false\n}\n\nexport default function ({ children, ...other }) {\n const [thisChild, popChild] = useMemo(() => {\n const thisChild = []\n const popChild = []\n React.Children.forEach(children, (child) => {\n if (child && child.props) {\n const { checkDeep = 0, exclude } = child.props\n if (exclude) {\n thisChild.push(React.cloneElement(child, { exclude: undefined }))\n } else {\n const showChild = checkShowChild(child, checkDeep)\n if (showChild) {\n popChild.push(showChild)\n }\n }\n }\n })\n return [thisChild, popChild]\n }, [children])\n\n return (\n <>\n {thisChild}\n\n <Action data={popChild} {...other} />\n </>\n )\n}\n"]}
@@ -0,0 +1,36 @@
1
+ .tnt-action {
2
+ position: fixed;
3
+ bottom: 100px;
4
+ width: @tnt-action-width;
5
+ left: calc(50vw - @tnt-action-width / 2);
6
+ padding: 10px 16px;
7
+ background-color: @text-color;
8
+ border-radius: @border-radius-base;
9
+ z-index: 200;
10
+ &-text {
11
+ color: @white;
12
+ margin-left: 20px;
13
+ font-size: 14px;
14
+ }
15
+ > .tnt-btn-tertiary {
16
+ opacity: 0.5;
17
+ background: #454f64;
18
+ color: @white;
19
+ border-width: 0;
20
+ width: @tnt-action-close-width;
21
+ height: @tnt-action-close-width;
22
+ min-width: @tnt-action-close-width;
23
+ line-height: @tnt-action-close-width;
24
+ margin-top: 4px;
25
+ font-size: 14px;
26
+ &:hover {
27
+ opacity: 0.8;
28
+ }
29
+ }
30
+ .fr {
31
+ float: right;
32
+ .ant-btn {
33
+ margin-left: 10px;
34
+ }
35
+ }
36
+ }
@@ -2,5 +2,5 @@ import type { SelectCommonPlacement, ValidateStatus } from '../interface';
2
2
  export declare const getTransitionDirection: (placement: SelectCommonPlacement | undefined) => "slide-down" | "slide-up";
3
3
  export declare const getTransitionName: (rootPrefixCls: string, motion: string, transitionName?: string | undefined) => string;
4
4
  export declare function getStatusClassNames(prefixCls: string, status?: ValidateStatus, hasFeedback?: boolean): string;
5
- export declare const getMergedStatus: (contextStatus?: "" | "validating" | "success" | "warning" | "error" | undefined, customStatus?: "" | "warning" | "error" | undefined) => "" | "validating" | "success" | "warning" | "error" | undefined;
5
+ export declare const getMergedStatus: (contextStatus?: "" | "success" | "warning" | "error" | "validating" | undefined, customStatus?: "" | "warning" | "error" | undefined) => "" | "success" | "warning" | "error" | "validating" | undefined;
6
6
  //# sourceMappingURL=utils.d.ts.map