tntd 2.8.0-beta.1 → 2.8.0-beta.10

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 (1612) hide show
  1. package/es/affix/index.js +1 -1
  2. package/es/affix/index.js.map +1 -1
  3. package/es/affix/style/index.js +2 -0
  4. package/es/affix/style/index.js.map +1 -0
  5. package/es/affix/style/index.less +6 -0
  6. package/es/alert/index.js +1 -1
  7. package/es/alert/index.js.map +1 -1
  8. package/es/alert/style/index.js +2 -0
  9. package/es/alert/style/index.js.map +1 -0
  10. package/es/alert/style/index.less +188 -0
  11. package/es/anchor/index.js +1 -1
  12. package/es/anchor/index.js.map +1 -1
  13. package/es/anchor/style/index.js +4 -0
  14. package/es/anchor/style/index.js.map +1 -0
  15. package/es/anchor/style/index.less +82 -0
  16. package/es/auto-complete/index.js +1 -1
  17. package/es/auto-complete/index.js.map +1 -1
  18. package/es/auto-complete/style/index.js +5 -0
  19. package/es/auto-complete/style/index.js.map +1 -0
  20. package/es/auto-complete/style/index.less +92 -0
  21. package/es/avatar/index.js +1 -1
  22. package/es/avatar/index.js.map +1 -1
  23. package/es/avatar/style/index.js +2 -0
  24. package/es/avatar/style/index.js.map +1 -0
  25. package/es/avatar/style/index.less +59 -0
  26. package/es/back-top/index.js +1 -1
  27. package/es/back-top/index.js.map +1 -1
  28. package/es/back-top/style/index.js +2 -0
  29. package/es/back-top/style/index.js.map +1 -0
  30. package/es/back-top/style/index.less +42 -0
  31. package/es/back-top/style/responsive.less +11 -0
  32. package/es/badge/index.js +1 -1
  33. package/es/badge/index.js.map +1 -1
  34. package/es/badge/style/index.js +2 -0
  35. package/es/badge/style/index.js.map +1 -0
  36. package/es/badge/style/index.less +190 -0
  37. package/es/breadcrumb/index.js +1 -1
  38. package/es/breadcrumb/index.js.map +1 -1
  39. package/es/breadcrumb/style/index.js +4 -0
  40. package/es/breadcrumb/style/index.js.map +1 -0
  41. package/es/breadcrumb/style/index.less +52 -0
  42. package/es/button/button.less +7 -0
  43. package/es/button/index.js +2 -1
  44. package/es/button/index.js.map +1 -1
  45. package/es/button/style/index.js +2 -0
  46. package/es/button/style/index.js.map +1 -0
  47. package/es/button/style/index.less +224 -0
  48. package/es/button/style/mixin.less +357 -0
  49. package/es/calendar/index.js +1 -1
  50. package/es/calendar/index.js.map +1 -1
  51. package/es/calendar/style/index.js +5 -0
  52. package/es/calendar/style/index.js.map +1 -0
  53. package/es/calendar/style/index.less +278 -0
  54. package/es/card/index.js +1 -1
  55. package/es/card/index.js.map +1 -1
  56. package/es/card/style/index.js +6 -0
  57. package/es/card/style/index.js.map +1 -0
  58. package/es/card/style/index.less +263 -0
  59. package/es/card/style/size.less +25 -0
  60. package/es/carousel/index.js +1 -1
  61. package/es/carousel/index.js.map +1 -1
  62. package/es/carousel/style/index.js +2 -0
  63. package/es/carousel/style/index.js.map +1 -0
  64. package/es/carousel/style/index.less +238 -0
  65. package/es/cascader/index.js +1 -1
  66. package/es/cascader/index.js.map +1 -1
  67. package/es/cascader/style/index.js +5 -0
  68. package/es/cascader/style/index.js.map +1 -0
  69. package/es/cascader/style/index.less +227 -0
  70. package/es/check-card/index.js +2 -3
  71. package/es/check-card/index.js.map +1 -1
  72. package/es/checkbox/index.js +1 -1
  73. package/es/checkbox/index.js.map +1 -1
  74. package/es/checkbox/style/index.js +2 -0
  75. package/es/checkbox/style/index.js.map +1 -0
  76. package/es/checkbox/style/index.less +4 -0
  77. package/es/checkbox/style/mixin.less +220 -0
  78. package/es/col/index.js +1 -1
  79. package/es/col/index.js.map +1 -1
  80. package/es/col/style/index.js +4 -0
  81. package/es/col/style/index.js.map +1 -0
  82. package/es/collapse/collapse.less +3 -3
  83. package/es/collapse/index.js +1 -1
  84. package/es/collapse/index.js.map +1 -1
  85. package/es/collapse/style/index.js +2 -0
  86. package/es/collapse/style/index.js.map +1 -0
  87. package/es/collapse/style/index.less +135 -0
  88. package/es/color-picker/ColorPicker.js +8 -8
  89. package/es/color-picker/ColorPicker.js.map +1 -1
  90. package/es/color-picker/index.less +25 -8
  91. package/es/comment/index.js +1 -1
  92. package/es/comment/index.js.map +1 -1
  93. package/es/comment/style/index.js +2 -0
  94. package/es/comment/style/index.js.map +1 -0
  95. package/es/comment/style/index.less +93 -0
  96. package/es/config-provider/index.js +1 -1
  97. package/es/config-provider/index.js.map +1 -1
  98. package/es/config-provider/style/index.js +1 -0
  99. package/es/config-provider/style/index.js.map +1 -0
  100. package/es/config-provider/style/index.less +2 -0
  101. package/es/date-picker/index.js +1 -1
  102. package/es/date-picker/index.js.map +1 -1
  103. package/es/date-picker/style/Calendar.less +402 -0
  104. package/es/date-picker/style/DecadePanel.less +81 -0
  105. package/es/date-picker/style/MonthPanel.less +86 -0
  106. package/es/date-picker/style/MonthPicker.less +11 -0
  107. package/es/date-picker/style/Picker.less +114 -0
  108. package/es/date-picker/style/RangePicker.less +248 -0
  109. package/es/date-picker/style/TimePicker.less +151 -0
  110. package/es/date-picker/style/WeekPicker.less +21 -0
  111. package/es/date-picker/style/YearPanel.less +85 -0
  112. package/es/date-picker/style/index.js +7 -0
  113. package/es/date-picker/style/index.js.map +1 -0
  114. package/es/date-picker/style/index.less +17 -0
  115. package/es/descriptions/descriptions.js +40 -26
  116. package/es/descriptions/descriptions.js.map +1 -1
  117. package/es/descriptions/descriptions.less +104 -16
  118. package/es/descriptions/index.js +1 -1
  119. package/es/descriptions/index.js.map +1 -1
  120. package/es/descriptions/style/index.js +2 -0
  121. package/es/descriptions/style/index.js.map +1 -0
  122. package/es/descriptions/style/index.less +144 -0
  123. package/es/divider/index.js +1 -1
  124. package/es/divider/index.js.map +1 -1
  125. package/es/divider/style/index.js +2 -0
  126. package/es/divider/style/index.js.map +1 -0
  127. package/es/divider/style/index.less +109 -0
  128. package/es/drawer/drawer.js +102 -13
  129. package/es/drawer/drawer.js.map +1 -1
  130. package/es/drawer/drawer.less +1 -1
  131. package/es/drawer/index.js +2 -2
  132. package/es/drawer/index.js.map +1 -1
  133. package/es/drawer/index.less +157 -0
  134. package/es/drawer/style/drawer.less +230 -0
  135. package/es/drawer/style/index.js +3 -0
  136. package/es/drawer/style/index.js.map +1 -0
  137. package/es/drawer/style/index.less +3 -0
  138. package/es/dropdown/index.js +1 -1
  139. package/es/dropdown/index.js.map +1 -1
  140. package/es/dropdown/style/index.js +4 -0
  141. package/es/dropdown/style/index.js.map +1 -0
  142. package/es/dropdown/style/index.less +283 -0
  143. package/es/empty/index.js +1 -1
  144. package/es/empty/index.js.map +1 -1
  145. package/es/empty/style/index.js +2 -0
  146. package/es/empty/style/index.js.map +1 -0
  147. package/es/empty/style/index.less +52 -0
  148. package/es/form/index.js +1 -1
  149. package/es/form/index.js.map +1 -1
  150. package/es/form/style/index.js +4 -0
  151. package/es/form/style/index.js.map +1 -0
  152. package/es/form/style/index.less +653 -0
  153. package/es/form/style/mixin.less +126 -0
  154. package/es/grid/index.js +3 -13
  155. package/es/grid/index.js.map +1 -1
  156. package/es/grid/style/index.js +1 -1
  157. package/es/grid/style/index.js.map +1 -1
  158. package/es/grid/style/index.less +24 -26
  159. package/es/grid/style/mixin.less +63 -19
  160. package/es/grid-v4/RowContext.js.map +1 -0
  161. package/es/grid-v4/col.js.map +1 -0
  162. package/es/grid-v4/hooks/useBreakpoint.js.map +1 -0
  163. package/es/grid-v4/index.js +14 -0
  164. package/es/grid-v4/index.js.map +1 -0
  165. package/{lib/grid → es/grid-v4}/row.js.map +1 -1
  166. package/es/grid-v4/style/index.js +2 -0
  167. package/es/grid-v4/style/index.js.map +1 -0
  168. package/es/grid-v4/style/index.less +124 -0
  169. package/es/grid-v4/style/mixin.less +57 -0
  170. package/es/icon/index.js +2 -1
  171. package/es/icon/index.js.map +1 -1
  172. package/es/icon/style/index.js +3 -0
  173. package/es/icon/style/index.js.map +1 -0
  174. package/es/icon/style/index.less +4 -0
  175. package/es/icon/style/style.less +6 -0
  176. package/es/icon-old/index.js +4 -0
  177. package/es/icon-old/index.js.map +1 -0
  178. package/es/icon-old/style/index.js +2 -0
  179. package/es/icon-old/style/index.js.map +1 -0
  180. package/es/icon-old/style/index.less +4 -0
  181. package/es/index.js +7 -2
  182. package/es/index.js.map +1 -1
  183. package/es/input/index.js +1 -1
  184. package/es/input/index.js.map +1 -1
  185. package/es/input/style/index.js +4 -0
  186. package/es/input/style/index.js.map +1 -0
  187. package/es/input/style/index.less +57 -0
  188. package/es/input/style/mixin.less +448 -0
  189. package/es/input/style/search-input.less +34 -0
  190. package/es/input-number/index.js +1 -1
  191. package/es/input-number/index.js.map +1 -1
  192. package/es/input-number/style/index.js +2 -0
  193. package/es/input-number/style/index.js.map +1 -0
  194. package/es/input-number/style/index.less +179 -0
  195. package/es/layout/index.js +1 -1
  196. package/es/layout/index.js.map +1 -1
  197. package/es/layout/style/index.js +2 -0
  198. package/es/layout/style/index.js.map +1 -0
  199. package/es/layout/style/index.less +124 -0
  200. package/es/layout/style/light.less +15 -0
  201. package/es/list/index.js +1 -1
  202. package/es/list/index.js.map +1 -1
  203. package/es/list/style/bordered.less +41 -0
  204. package/es/list/style/index.js +7 -0
  205. package/es/list/style/index.js.map +1 -0
  206. package/es/list/style/index.less +234 -0
  207. package/es/list/style/responsive.less +40 -0
  208. package/es/locale/en_US.js +8 -1
  209. package/es/locale/en_US.js.map +1 -1
  210. package/es/locale/zh_CN.js +8 -1
  211. package/es/locale/zh_CN.js.map +1 -1
  212. package/es/locale-provider/index.js +1 -1
  213. package/es/locale-provider/index.js.map +1 -1
  214. package/es/locale-provider/style/index.js +1 -0
  215. package/es/locale-provider/style/index.js.map +1 -0
  216. package/es/locale-provider/style/index.less +2 -0
  217. package/es/mentions/index.js +1 -1
  218. package/es/mentions/index.js.map +1 -1
  219. package/es/mentions/style/index.js +4 -0
  220. package/es/mentions/style/index.js.map +1 -0
  221. package/es/mentions/style/index.less +164 -0
  222. package/es/menu/index.js +1 -1
  223. package/es/menu/index.js.map +1 -1
  224. package/es/menu/style/dark.less +139 -0
  225. package/es/menu/style/index.js +5 -0
  226. package/es/menu/style/index.js.map +1 -0
  227. package/es/menu/style/index.less +515 -0
  228. package/es/message/index.js +1 -1
  229. package/es/message/index.js.map +1 -1
  230. package/es/message/style/index.js +2 -0
  231. package/es/message/style/index.js.map +1 -0
  232. package/es/message/style/index.less +75 -0
  233. package/es/modal/index.js +1 -1
  234. package/es/modal/index.js.map +1 -1
  235. package/es/modal/modal.js +51 -9
  236. package/es/modal/modal.js.map +1 -1
  237. package/es/modal/modal.less +13 -32
  238. package/es/modal/style/confirm.less +96 -0
  239. package/es/modal/style/index.js +4 -0
  240. package/es/modal/style/index.js.map +1 -0
  241. package/es/modal/style/index.less +4 -0
  242. package/es/modal/style/modal.less +169 -0
  243. package/es/notification/index.js +1 -1
  244. package/es/notification/index.js.map +1 -1
  245. package/es/notification/style/index.js +2 -0
  246. package/es/notification/style/index.js.map +1 -0
  247. package/es/notification/style/index.less +201 -0
  248. package/es/page/index.js +0 -1
  249. package/es/page-container/index.js +13 -0
  250. package/es/page-container/index.js.map +1 -0
  251. package/es/page-container/index.less +38 -0
  252. package/es/page-header/index.js +1 -1
  253. package/es/page-header/index.js.map +1 -1
  254. package/es/page-header/style/index.js +4 -0
  255. package/es/page-header/style/index.js.map +1 -0
  256. package/es/page-header/style/index.less +119 -0
  257. package/es/page-loading/index.js +29 -0
  258. package/es/page-loading/index.js.map +1 -0
  259. package/es/page-loading/index.less +38 -0
  260. package/es/page-loading/loading.gif +0 -0
  261. package/es/pagination/index.js +1 -1
  262. package/es/pagination/index.js.map +1 -1
  263. package/es/pagination/style/index.js +4 -0
  264. package/es/pagination/style/index.js.map +1 -0
  265. package/es/pagination/style/index.less +400 -0
  266. package/es/popconfirm/index.js +1 -1
  267. package/es/popconfirm/index.js.map +1 -1
  268. package/es/popconfirm/style/index.js +5 -0
  269. package/es/popconfirm/style/index.js.map +1 -0
  270. package/es/popover/index.js +1 -1
  271. package/es/popover/index.js.map +1 -1
  272. package/es/popover/style/index.js +4 -0
  273. package/es/popover/style/index.js.map +1 -0
  274. package/es/popover/style/index.less +206 -0
  275. package/es/progress/index.js +1 -1
  276. package/es/progress/index.js.map +1 -1
  277. package/es/progress/style/index.js +2 -0
  278. package/es/progress/style/index.js.map +1 -0
  279. package/es/progress/style/index.less +182 -0
  280. package/es/radio/index.js +1 -1
  281. package/es/radio/index.js.map +1 -1
  282. package/es/radio/style/index.js +2 -0
  283. package/es/radio/style/index.js.map +1 -0
  284. package/es/radio/style/index.less +327 -0
  285. package/es/rate/index.js +1 -1
  286. package/es/rate/index.js.map +1 -1
  287. package/es/rate/style/index.js +4 -0
  288. package/es/rate/style/index.js.map +1 -0
  289. package/es/rate/style/index.less +85 -0
  290. package/es/result/index.js +1 -1
  291. package/es/result/index.js.map +1 -1
  292. package/es/result/style/index.js +2 -0
  293. package/es/result/style/index.js.map +1 -0
  294. package/es/result/style/index.less +71 -0
  295. package/es/row/index.js +1 -1
  296. package/es/row/index.js.map +1 -1
  297. package/es/row/style/index.js +4 -0
  298. package/es/row/style/index.js.map +1 -0
  299. package/es/select/index.js +1 -1
  300. package/es/select/index.js.map +1 -1
  301. package/es/select/style/index.js +4 -0
  302. package/es/select/style/index.js.map +1 -0
  303. package/es/select/style/index.less +605 -0
  304. package/es/skeleton/index.js +1 -1
  305. package/es/skeleton/index.js.map +1 -1
  306. package/es/skeleton/style/index.js +2 -0
  307. package/es/skeleton/style/index.js.map +1 -0
  308. package/es/skeleton/style/index.less +130 -0
  309. package/es/slider/index.js +1 -1
  310. package/es/slider/index.js.map +1 -1
  311. package/es/slider/style/index.js +4 -0
  312. package/es/slider/style/index.js.map +1 -0
  313. package/es/slider/style/index.less +197 -0
  314. package/es/spin/index.js +1 -1
  315. package/es/spin/index.js.map +1 -1
  316. package/es/spin/style/index.js +2 -0
  317. package/es/spin/style/index.js.map +1 -0
  318. package/es/spin/style/index.less +214 -0
  319. package/es/statistic/index.js +1 -1
  320. package/es/statistic/index.js.map +1 -1
  321. package/es/statistic/style/index.js +2 -0
  322. package/es/statistic/style/index.js.map +1 -0
  323. package/es/statistic/style/index.less +40 -0
  324. package/es/steps/index.js +2 -1
  325. package/es/steps/index.js.map +1 -1
  326. package/es/steps/stepStyle/index.less +12 -0
  327. package/es/steps/stepStyle/nav.less +281 -0
  328. package/es/steps/stepStyle/small.less +5 -0
  329. package/es/steps/steps.js +6 -6
  330. package/es/steps/steps.js.map +1 -1
  331. package/es/steps/style/compatibility.less +50 -0
  332. package/es/steps/style/custom-icon.less +31 -0
  333. package/es/steps/style/index.js +2 -0
  334. package/es/steps/style/index.js.map +1 -0
  335. package/es/steps/style/index.less +241 -6
  336. package/es/steps/style/label-placement.less +38 -0
  337. package/es/steps/style/nav.less +96 -247
  338. package/es/steps/style/progress-dot.less +80 -0
  339. package/es/steps/style/small.less +43 -3
  340. package/es/steps/style/vertical.less +74 -0
  341. package/es/style/color/bezierEasing.less +110 -0
  342. package/es/style/color/colorPalette.less +75 -0
  343. package/es/style/color/colors.less +149 -0
  344. package/es/style/color/tinyColor.less +1184 -0
  345. package/es/style/core/base.less +510 -0
  346. package/es/style/core/iconfont.less +19 -0
  347. package/es/style/core/index.less +4 -0
  348. package/es/style/core/motion/fade.less +31 -0
  349. package/es/style/core/motion/move.less +120 -0
  350. package/es/style/core/motion/other.less +40 -0
  351. package/es/style/core/motion/slide.less +120 -0
  352. package/es/style/core/motion/swing.less +34 -0
  353. package/es/style/core/motion/zoom.less +162 -0
  354. package/es/style/core/motion.less +20 -0
  355. package/es/style/index.js +1 -0
  356. package/es/style/index.js.map +1 -0
  357. package/es/style/index.less +2 -0
  358. package/es/style/mixins/clearfix.less +13 -0
  359. package/es/style/mixins/compatibility.less +22 -0
  360. package/es/style/mixins/iconfont.less +44 -0
  361. package/es/style/mixins/index.less +10 -0
  362. package/es/style/mixins/motion.less +35 -0
  363. package/es/style/mixins/operation-unit.less +18 -0
  364. package/es/style/mixins/reset.less +13 -0
  365. package/es/style/mixins/size.less +10 -0
  366. package/es/style/mixins/typography.less +49 -0
  367. package/es/style/themes/default.less +700 -0
  368. package/es/style/themes/index.less +1 -0
  369. package/es/style/v2-compatible-reset.js +1 -0
  370. package/es/style/v2-compatible-reset.js.map +1 -0
  371. package/es/style/v2-compatible-reset.less +51 -0
  372. package/es/switch/style/index.js +2 -0
  373. package/es/switch/style/index.js.map +1 -0
  374. package/es/switch/style/index.less +178 -0
  375. package/es/switch/switch.js +1 -1
  376. package/es/switch/switch.js.map +1 -1
  377. package/es/table/index.js +1 -1
  378. package/es/table/index.js.map +1 -1
  379. package/es/table/style/index.js +10 -0
  380. package/es/table/style/index.js.map +1 -0
  381. package/es/table/style/index.less +800 -0
  382. package/es/table/style/size.less +179 -0
  383. package/es/table/table.js +1 -3
  384. package/es/table/table.js.map +1 -1
  385. package/es/table-container/index.js +12 -0
  386. package/es/table-container/index.js.map +1 -0
  387. package/es/table-container/index.less +13 -0
  388. package/es/tabs/index.js +1 -1
  389. package/es/tabs/index.js.map +1 -1
  390. package/es/tabs/style/card-style.less +186 -0
  391. package/es/tabs/style/index.js +2 -0
  392. package/es/tabs/style/index.js.map +1 -0
  393. package/es/tabs/style/index.less +436 -0
  394. package/es/tabs/tabs.js +4 -2
  395. package/es/tabs/tabs.js.map +1 -1
  396. package/es/tabs-container/index.js +13 -0
  397. package/es/tabs-container/index.js.map +1 -0
  398. package/es/tabs-container/index.less +51 -0
  399. package/es/tag/color.less +43 -0
  400. package/es/tag/index.js +12 -3
  401. package/es/tag/index.js.map +1 -1
  402. package/es/tag/style/index.js +2 -0
  403. package/es/tag/style/index.js.map +1 -0
  404. package/es/tag/style/index.less +106 -0
  405. package/es/tag/tag.js +171 -0
  406. package/es/tag/tag.js.map +1 -0
  407. package/es/tag/tag.less +193 -0
  408. package/es/time-picker/index.js +1 -1
  409. package/es/time-picker/index.js.map +1 -1
  410. package/es/time-picker/style/index.js +2 -0
  411. package/es/time-picker/style/index.js.map +1 -0
  412. package/es/time-picker/style/index.less +247 -0
  413. package/es/timeline/index.js +1 -1
  414. package/es/timeline/index.js.map +1 -1
  415. package/es/timeline/style/index.js +2 -0
  416. package/es/timeline/style/index.js.map +1 -0
  417. package/es/timeline/style/index.less +167 -0
  418. package/es/tntd-action/index.js +7 -0
  419. package/es/tntd-action/index.js.map +1 -0
  420. package/es/tntd-cascader/AntdCascader/component/getIcons.js +7 -8
  421. package/es/tntd-cascader/AntdCascader/component/getIcons.js.map +1 -1
  422. package/es/tntd-cascader/AntdCascader/index.js +4 -5
  423. package/es/tntd-cascader/AntdCascader/index.js.map +1 -1
  424. package/es/tntd-cascader/rc-cascader/OptionList/index.js +0 -1
  425. package/es/tntd-cascader/rc-cascader/OptionList/useActive.js +0 -1
  426. package/es/tntd-form/Form.js.map +1 -1
  427. package/es/tntd-form/FormItem/ItemHolder.js +1 -1
  428. package/es/tntd-form/FormItem/ItemHolder.js.map +1 -1
  429. package/es/tntd-form/FormItemInput.js +1 -1
  430. package/es/tntd-form/FormItemInput.js.map +1 -1
  431. package/es/tntd-form/FormItemLabel.js +1 -1
  432. package/es/tntd-form/FormItemLabel.js.map +1 -1
  433. package/es/tntd-form/context.js.map +1 -1
  434. package/es/tntd-form/style/index.js +1 -1
  435. package/es/tntd-form/style/index.js.map +1 -1
  436. package/es/tntd-form/style/index.less +1 -1
  437. package/es/tntd-form/style/rtl.less +3 -3
  438. package/es/tntd-layout/index.js +0 -1
  439. package/es/tntd-rc-select/_util/getIcons.js +7 -8
  440. package/es/tntd-rc-select/_util/getIcons.js.map +1 -1
  441. package/es/tntd-rc-select/style/index.less +844 -740
  442. package/es/tntd-select/index.js +0 -1
  443. package/es/tooltip/index.js +1 -1
  444. package/es/tooltip/index.js.map +1 -1
  445. package/es/tooltip/style/index.js +2 -0
  446. package/es/tooltip/style/index.js.map +1 -0
  447. package/es/tooltip/style/index.less +187 -0
  448. package/es/transfer/index.js +1 -1
  449. package/es/transfer/index.js.map +1 -1
  450. package/es/transfer/style/customize.less +62 -0
  451. package/es/transfer/style/index.js +7 -0
  452. package/es/transfer/style/index.js.map +1 -0
  453. package/es/transfer/style/index.less +191 -0
  454. package/es/tree/index.js +1 -1
  455. package/es/tree/index.js.map +1 -1
  456. package/es/tree/style/directory.less +95 -0
  457. package/es/tree/style/index.js +2 -0
  458. package/es/tree/style/index.js.map +1 -0
  459. package/es/tree/style/index.less +280 -0
  460. package/es/tree/style/mixin.less +29 -0
  461. package/es/tree-select/index.js +1 -1
  462. package/es/tree-select/index.js.map +1 -1
  463. package/es/tree-select/style/index.js +6 -0
  464. package/es/tree-select/style/index.js.map +1 -0
  465. package/es/tree-select/style/index.less +191 -0
  466. package/es/typography/index.js +1 -1
  467. package/es/typography/index.js.map +1 -1
  468. package/es/typography/style/index.js +5 -0
  469. package/es/typography/style/index.js.map +1 -0
  470. package/es/typography/style/index.less +204 -0
  471. package/es/upload/index.js +1 -1
  472. package/es/upload/index.js.map +1 -1
  473. package/es/upload/style/index.js +5 -0
  474. package/es/upload/style/index.js.map +1 -0
  475. package/es/upload/style/index.less +542 -0
  476. package/es/version/index.js +1 -1
  477. package/es/version/index.js.map +1 -1
  478. package/es/version/style/index.js +2 -0
  479. package/es/version/style/index.js.map +1 -0
  480. package/lib/_util/context.js +3 -6
  481. package/lib/_util/defaultRenderEmpty.d.ts +2 -2
  482. package/lib/_util/defaultRenderEmpty.d.ts.map +1 -1
  483. package/lib/_util/defaultRenderEmpty.js +4 -5
  484. package/lib/_util/hooks/useFlexGapSupport.js +7 -8
  485. package/lib/_util/hooks/useForceUpdate.js +5 -5
  486. package/lib/_util/motion.js +3 -6
  487. package/lib/_util/reactNode.js +4 -5
  488. package/lib/_util/responsiveObserve.js +6 -9
  489. package/lib/_util/styleChecker.js +3 -5
  490. package/lib/_util/type.js +3 -5
  491. package/lib/_util/warning.js +5 -6
  492. package/lib/actions/index.js +1 -2
  493. package/lib/affix/index.d.ts +1 -1
  494. package/lib/affix/index.d.ts.map +1 -1
  495. package/lib/affix/index.js +5 -6
  496. package/lib/affix/index.js.map +1 -1
  497. package/lib/affix/style/index.d.ts +3 -0
  498. package/lib/affix/style/index.d.ts.map +1 -0
  499. package/lib/affix/style/index.js +4 -0
  500. package/lib/affix/style/index.js.map +1 -0
  501. package/lib/affix/style/index.less +6 -0
  502. package/lib/alert/index.d.ts +1 -1
  503. package/lib/alert/index.d.ts.map +1 -1
  504. package/lib/alert/index.js +5 -6
  505. package/lib/alert/index.js.map +1 -1
  506. package/lib/alert/style/index.d.ts +3 -0
  507. package/lib/alert/style/index.d.ts.map +1 -0
  508. package/lib/alert/style/index.js +4 -0
  509. package/lib/alert/style/index.js.map +1 -0
  510. package/lib/alert/style/index.less +188 -0
  511. package/lib/anchor/index.d.ts +1 -1
  512. package/lib/anchor/index.d.ts.map +1 -1
  513. package/lib/anchor/index.js +5 -6
  514. package/lib/anchor/index.js.map +1 -1
  515. package/lib/anchor/style/index.d.ts +4 -0
  516. package/lib/anchor/style/index.d.ts.map +1 -0
  517. package/lib/anchor/style/index.js +5 -0
  518. package/lib/anchor/style/index.js.map +1 -0
  519. package/lib/anchor/style/index.less +82 -0
  520. package/lib/array-input/icon.d.ts +3 -2
  521. package/lib/array-input/icon.d.ts.map +1 -1
  522. package/lib/array-input/icon.js +3 -5
  523. package/lib/array-input/index.d.ts +2 -1
  524. package/lib/array-input/index.d.ts.map +1 -1
  525. package/lib/array-input/index.js +8 -10
  526. package/lib/auth-context/index.js +2 -3
  527. package/lib/auto-complete/index.d.ts +1 -1
  528. package/lib/auto-complete/index.d.ts.map +1 -1
  529. package/lib/auto-complete/index.js +5 -6
  530. package/lib/auto-complete/index.js.map +1 -1
  531. package/lib/auto-complete/style/index.d.ts +5 -0
  532. package/lib/auto-complete/style/index.d.ts.map +1 -0
  533. package/lib/auto-complete/style/index.js +6 -0
  534. package/lib/auto-complete/style/index.js.map +1 -0
  535. package/lib/auto-complete/style/index.less +92 -0
  536. package/lib/avatar/index.d.ts +1 -1
  537. package/lib/avatar/index.d.ts.map +1 -1
  538. package/lib/avatar/index.js +5 -6
  539. package/lib/avatar/index.js.map +1 -1
  540. package/lib/avatar/style/index.d.ts +3 -0
  541. package/lib/avatar/style/index.d.ts.map +1 -0
  542. package/lib/avatar/style/index.js +4 -0
  543. package/lib/avatar/style/index.js.map +1 -0
  544. package/lib/avatar/style/index.less +59 -0
  545. package/lib/back-top/index.d.ts +1 -1
  546. package/lib/back-top/index.d.ts.map +1 -1
  547. package/lib/back-top/index.js +5 -6
  548. package/lib/back-top/index.js.map +1 -1
  549. package/lib/back-top/style/index.d.ts +3 -0
  550. package/lib/back-top/style/index.d.ts.map +1 -0
  551. package/lib/back-top/style/index.js +4 -0
  552. package/lib/back-top/style/index.js.map +1 -0
  553. package/lib/back-top/style/index.less +42 -0
  554. package/lib/back-top/style/responsive.less +11 -0
  555. package/lib/badge/index.d.ts +1 -1
  556. package/lib/badge/index.d.ts.map +1 -1
  557. package/lib/badge/index.js +5 -6
  558. package/lib/badge/index.js.map +1 -1
  559. package/lib/badge/style/index.d.ts +3 -0
  560. package/lib/badge/style/index.d.ts.map +1 -0
  561. package/lib/badge/style/index.js +4 -0
  562. package/lib/badge/style/index.js.map +1 -0
  563. package/lib/badge/style/index.less +190 -0
  564. package/lib/breadcrumb/index.d.ts +1 -1
  565. package/lib/breadcrumb/index.d.ts.map +1 -1
  566. package/lib/breadcrumb/index.js +5 -6
  567. package/lib/breadcrumb/index.js.map +1 -1
  568. package/lib/breadcrumb/style/index.d.ts +5 -0
  569. package/lib/breadcrumb/style/index.d.ts.map +1 -0
  570. package/lib/breadcrumb/style/index.js +6 -0
  571. package/lib/breadcrumb/style/index.js.map +1 -0
  572. package/lib/breadcrumb/style/index.less +52 -0
  573. package/lib/button/button.js +6 -9
  574. package/lib/button/button.less +7 -0
  575. package/lib/button/index.d.ts +2 -1
  576. package/lib/button/index.d.ts.map +1 -1
  577. package/lib/button/index.js +7 -7
  578. package/lib/button/index.js.map +1 -1
  579. package/lib/button/style/index.d.ts +3 -0
  580. package/lib/button/style/index.d.ts.map +1 -0
  581. package/lib/button/style/index.js +4 -0
  582. package/lib/button/style/index.js.map +1 -0
  583. package/lib/button/style/index.less +224 -0
  584. package/lib/button/style/mixin.less +357 -0
  585. package/lib/calendar/index.d.ts +1 -1
  586. package/lib/calendar/index.d.ts.map +1 -1
  587. package/lib/calendar/index.js +5 -6
  588. package/lib/calendar/index.js.map +1 -1
  589. package/lib/calendar/style/index.d.ts +5 -0
  590. package/lib/calendar/style/index.d.ts.map +1 -0
  591. package/lib/calendar/style/index.js +6 -0
  592. package/lib/calendar/style/index.js.map +1 -0
  593. package/lib/calendar/style/index.less +278 -0
  594. package/lib/card/card.js +5 -8
  595. package/lib/card/index.d.ts +1 -1
  596. package/lib/card/index.d.ts.map +1 -1
  597. package/lib/card/index.js +2 -3
  598. package/lib/card/index.js.map +1 -1
  599. package/lib/card/style/index.d.ts +6 -0
  600. package/lib/card/style/index.d.ts.map +1 -0
  601. package/lib/card/style/index.js +7 -0
  602. package/lib/card/style/index.js.map +1 -0
  603. package/lib/card/style/index.less +263 -0
  604. package/lib/card/style/size.less +25 -0
  605. package/lib/carousel/index.d.ts +1 -1
  606. package/lib/carousel/index.d.ts.map +1 -1
  607. package/lib/carousel/index.js +5 -6
  608. package/lib/carousel/index.js.map +1 -1
  609. package/lib/carousel/style/index.d.ts +3 -0
  610. package/lib/carousel/style/index.d.ts.map +1 -0
  611. package/lib/carousel/style/index.js +4 -0
  612. package/lib/carousel/style/index.js.map +1 -0
  613. package/lib/carousel/style/index.less +238 -0
  614. package/lib/cascader/index.d.ts +1 -1
  615. package/lib/cascader/index.d.ts.map +1 -1
  616. package/lib/cascader/index.js +6 -8
  617. package/lib/cascader/index.js.map +1 -1
  618. package/lib/cascader/style/index.d.ts +5 -0
  619. package/lib/cascader/style/index.d.ts.map +1 -0
  620. package/lib/cascader/style/index.js +6 -0
  621. package/lib/cascader/style/index.js.map +1 -0
  622. package/lib/cascader/style/index.less +227 -0
  623. package/lib/check-card/group.js +9 -14
  624. package/lib/check-card/index.js +11 -16
  625. package/lib/check-card/index.js.map +1 -1
  626. package/lib/checkbox/checkbox-group.js +1 -2
  627. package/lib/checkbox/index.d.ts +1 -1
  628. package/lib/checkbox/index.d.ts.map +1 -1
  629. package/lib/checkbox/index.js +5 -6
  630. package/lib/checkbox/index.js.map +1 -1
  631. package/lib/checkbox/style/index.d.ts +3 -0
  632. package/lib/checkbox/style/index.d.ts.map +1 -0
  633. package/lib/checkbox/style/index.js +4 -0
  634. package/lib/checkbox/style/index.js.map +1 -0
  635. package/lib/checkbox/style/index.less +4 -0
  636. package/lib/checkbox/style/mixin.less +220 -0
  637. package/lib/col/index.d.ts +1 -1
  638. package/lib/col/index.d.ts.map +1 -1
  639. package/lib/col/index.js +5 -6
  640. package/lib/col/index.js.map +1 -1
  641. package/lib/col/style/index.d.ts +3 -0
  642. package/lib/col/style/index.d.ts.map +1 -0
  643. package/lib/col/style/index.js +4 -0
  644. package/lib/col/style/index.js.map +1 -0
  645. package/lib/collapse/collapse.less +3 -3
  646. package/lib/collapse/index.d.ts +1 -1
  647. package/lib/collapse/index.d.ts.map +1 -1
  648. package/lib/collapse/index.js +5 -6
  649. package/lib/collapse/index.js.map +1 -1
  650. package/lib/collapse/style/index.d.ts +3 -0
  651. package/lib/collapse/style/index.d.ts.map +1 -0
  652. package/lib/collapse/style/index.js +4 -0
  653. package/lib/collapse/style/index.js.map +1 -0
  654. package/lib/collapse/style/index.less +135 -0
  655. package/lib/color-picker/ColorPicker.d.ts +4 -2
  656. package/lib/color-picker/ColorPicker.d.ts.map +1 -1
  657. package/lib/color-picker/ColorPicker.js +13 -17
  658. package/lib/color-picker/ColorPicker.js.map +1 -1
  659. package/lib/color-picker/index.d.ts +2 -1
  660. package/lib/color-picker/index.d.ts.map +1 -1
  661. package/lib/color-picker/index.less +25 -8
  662. package/lib/columns/index.d.ts +3 -2
  663. package/lib/columns/index.d.ts.map +1 -1
  664. package/lib/columns/index.js +3 -7
  665. package/lib/comment/index.d.ts +1 -1
  666. package/lib/comment/index.d.ts.map +1 -1
  667. package/lib/comment/index.js +5 -6
  668. package/lib/comment/index.js.map +1 -1
  669. package/lib/comment/style/index.d.ts +3 -0
  670. package/lib/comment/style/index.d.ts.map +1 -0
  671. package/lib/comment/style/index.js +4 -0
  672. package/lib/comment/style/index.js.map +1 -0
  673. package/lib/comment/style/index.less +93 -0
  674. package/lib/config-provider/DisabledContext.js +5 -7
  675. package/lib/config-provider/SizeContext.js +5 -7
  676. package/lib/config-provider/index.d.ts +1 -1
  677. package/lib/config-provider/index.d.ts.map +1 -1
  678. package/lib/config-provider/index.js +5 -6
  679. package/lib/config-provider/index.js.map +1 -1
  680. package/lib/config-provider/style/index.d.ts +2 -0
  681. package/lib/config-provider/style/index.d.ts.map +1 -0
  682. package/lib/config-provider/style/index.js +3 -0
  683. package/lib/config-provider/style/index.js.map +1 -0
  684. package/lib/config-provider/style/index.less +2 -0
  685. package/lib/connect/index.js +5 -11
  686. package/lib/date-picker/index.d.ts +1 -1
  687. package/lib/date-picker/index.d.ts.map +1 -1
  688. package/lib/date-picker/index.js +6 -8
  689. package/lib/date-picker/index.js.map +1 -1
  690. package/lib/date-picker/style/Calendar.less +402 -0
  691. package/lib/date-picker/style/DecadePanel.less +81 -0
  692. package/lib/date-picker/style/MonthPanel.less +86 -0
  693. package/lib/date-picker/style/MonthPicker.less +11 -0
  694. package/lib/date-picker/style/Picker.less +114 -0
  695. package/lib/date-picker/style/RangePicker.less +248 -0
  696. package/lib/date-picker/style/TimePicker.less +151 -0
  697. package/lib/date-picker/style/WeekPicker.less +21 -0
  698. package/lib/date-picker/style/YearPanel.less +85 -0
  699. package/lib/date-picker/style/index.d.ts +6 -0
  700. package/lib/date-picker/style/index.d.ts.map +1 -0
  701. package/lib/date-picker/style/index.js +7 -0
  702. package/lib/date-picker/style/index.js.map +1 -0
  703. package/lib/date-picker/style/index.less +17 -0
  704. package/lib/descriptions/descriptions.d.ts +10 -4
  705. package/lib/descriptions/descriptions.d.ts.map +1 -1
  706. package/lib/descriptions/descriptions.js +41 -30
  707. package/lib/descriptions/descriptions.js.map +1 -1
  708. package/lib/descriptions/descriptions.less +104 -16
  709. package/lib/descriptions/index.d.ts +1 -1
  710. package/lib/descriptions/index.d.ts.map +1 -1
  711. package/lib/descriptions/index.js +2 -3
  712. package/lib/descriptions/index.js.map +1 -1
  713. package/lib/descriptions/style/index.d.ts +3 -0
  714. package/lib/descriptions/style/index.d.ts.map +1 -0
  715. package/lib/descriptions/style/index.js +4 -0
  716. package/lib/descriptions/style/index.js.map +1 -0
  717. package/lib/descriptions/style/index.less +144 -0
  718. package/lib/development-login/LoginModal.d.ts +2 -1
  719. package/lib/development-login/LoginModal.d.ts.map +1 -1
  720. package/lib/development-login/LoginModal.js +9 -10
  721. package/lib/development-login/index.d.ts +2 -1
  722. package/lib/development-login/index.d.ts.map +1 -1
  723. package/lib/development-login/index.js +9 -8
  724. package/lib/divider/index.d.ts +1 -1
  725. package/lib/divider/index.d.ts.map +1 -1
  726. package/lib/divider/index.js +5 -6
  727. package/lib/divider/index.js.map +1 -1
  728. package/lib/divider/style/index.d.ts +3 -0
  729. package/lib/divider/style/index.d.ts.map +1 -0
  730. package/lib/divider/style/index.js +4 -0
  731. package/lib/divider/style/index.js.map +1 -0
  732. package/lib/divider/style/index.less +109 -0
  733. package/lib/drawer/drawer.d.ts +25 -2
  734. package/lib/drawer/drawer.d.ts.map +1 -1
  735. package/lib/drawer/drawer.js +115 -22
  736. package/lib/drawer/drawer.js.map +1 -1
  737. package/lib/drawer/drawer.less +1 -1
  738. package/lib/drawer/index.d.ts +2 -2
  739. package/lib/drawer/index.d.ts.map +1 -1
  740. package/lib/drawer/index.js +7 -8
  741. package/lib/drawer/index.js.map +1 -1
  742. package/lib/drawer/index.less +157 -0
  743. package/lib/drawer/style/drawer.less +230 -0
  744. package/lib/drawer/style/index.d.ts +3 -0
  745. package/lib/drawer/style/index.d.ts.map +1 -0
  746. package/lib/drawer/style/index.js +4 -0
  747. package/lib/drawer/style/index.js.map +1 -0
  748. package/lib/drawer/style/index.less +3 -0
  749. package/lib/dropdown/index.d.ts +1 -1
  750. package/lib/dropdown/index.d.ts.map +1 -1
  751. package/lib/dropdown/index.js +5 -6
  752. package/lib/dropdown/index.js.map +1 -1
  753. package/lib/dropdown/style/index.d.ts +4 -0
  754. package/lib/dropdown/style/index.d.ts.map +1 -0
  755. package/lib/dropdown/style/index.js +5 -0
  756. package/lib/dropdown/style/index.js.map +1 -0
  757. package/lib/dropdown/style/index.less +283 -0
  758. package/lib/ellipsis/Svg/CopySVG.d.ts +2 -1
  759. package/lib/ellipsis/Svg/CopySVG.d.ts.map +1 -1
  760. package/lib/ellipsis/Svg/CopySVG.js +2 -3
  761. package/lib/ellipsis/Svg/TickSVG.d.ts +2 -1
  762. package/lib/ellipsis/Svg/TickSVG.d.ts.map +1 -1
  763. package/lib/ellipsis/Svg/TickSVG.js +2 -3
  764. package/lib/ellipsis/index.d.ts +2 -1
  765. package/lib/ellipsis/index.d.ts.map +1 -1
  766. package/lib/ellipsis/index.js +12 -9
  767. package/lib/empty/empty.d.ts +2 -2
  768. package/lib/empty/empty.d.ts.map +1 -1
  769. package/lib/empty/empty.js +8 -12
  770. package/lib/empty/empty.stories.js +2 -4
  771. package/lib/empty/index.d.ts +1 -1
  772. package/lib/empty/index.d.ts.map +1 -1
  773. package/lib/empty/index.js +2 -3
  774. package/lib/empty/index.js.map +1 -1
  775. package/lib/empty/style/index.d.ts +3 -0
  776. package/lib/empty/style/index.d.ts.map +1 -0
  777. package/lib/empty/style/index.js +4 -0
  778. package/lib/empty/style/index.js.map +1 -0
  779. package/lib/empty/style/index.less +52 -0
  780. package/lib/exception/exception.js +1 -2
  781. package/lib/exception/index.js +1 -2
  782. package/lib/form/form.js +7 -10
  783. package/lib/form/index.d.ts +1 -1
  784. package/lib/form/index.d.ts.map +1 -1
  785. package/lib/form/index.js +2 -3
  786. package/lib/form/index.js.map +1 -1
  787. package/lib/form/style/index.d.ts +4 -0
  788. package/lib/form/style/index.d.ts.map +1 -0
  789. package/lib/form/style/index.js +5 -0
  790. package/lib/form/style/index.js.map +1 -0
  791. package/lib/form/style/index.less +653 -0
  792. package/lib/form/style/mixin.less +126 -0
  793. package/lib/grid/index.d.ts +3 -10
  794. package/lib/grid/index.d.ts.map +1 -1
  795. package/lib/grid/index.js +17 -24
  796. package/lib/grid/index.js.map +1 -1
  797. package/lib/grid/style/index.d.ts +1 -0
  798. package/lib/grid/style/index.d.ts.map +1 -1
  799. package/lib/grid/style/index.js +1 -0
  800. package/lib/grid/style/index.js.map +1 -1
  801. package/lib/grid/style/index.less +24 -26
  802. package/lib/grid/style/mixin.less +63 -19
  803. package/lib/grid-v4/RowContext.d.ts.map +1 -0
  804. package/lib/{grid → grid-v4}/RowContext.js +1 -2
  805. package/lib/grid-v4/RowContext.js.map +1 -0
  806. package/lib/grid-v4/col.d.ts.map +1 -0
  807. package/lib/{grid → grid-v4}/col.js +9 -14
  808. package/lib/grid-v4/col.js.map +1 -0
  809. package/lib/grid-v4/hooks/useBreakpoint.d.ts.map +1 -0
  810. package/lib/{grid → grid-v4}/hooks/useBreakpoint.js +1 -2
  811. package/lib/grid-v4/hooks/useBreakpoint.js.map +1 -0
  812. package/lib/grid-v4/index.d.ts +12 -0
  813. package/lib/grid-v4/index.d.ts.map +1 -0
  814. package/lib/grid-v4/index.js +30 -0
  815. package/lib/grid-v4/index.js.map +1 -0
  816. package/lib/grid-v4/row.d.ts.map +1 -0
  817. package/lib/{grid → grid-v4}/row.js +10 -14
  818. package/lib/grid-v4/row.js.map +1 -0
  819. package/lib/grid-v4/style/index.d.ts +2 -0
  820. package/lib/grid-v4/style/index.d.ts.map +1 -0
  821. package/lib/grid-v4/style/index.js +3 -0
  822. package/lib/grid-v4/style/index.js.map +1 -0
  823. package/lib/grid-v4/style/index.less +124 -0
  824. package/lib/grid-v4/style/mixin.less +57 -0
  825. package/lib/handle/index.d.ts +2 -1
  826. package/lib/handle/index.d.ts.map +1 -1
  827. package/lib/handle/index.js +6 -9
  828. package/lib/icon/IconFont.js +4 -6
  829. package/lib/icon/components/Icon.js +16 -22
  830. package/lib/icon/components/utils.js +7 -9
  831. package/lib/icon/index.d.ts +1 -0
  832. package/lib/icon/index.d.ts.map +1 -1
  833. package/lib/icon/index.js +10 -13
  834. package/lib/icon/index.js.map +1 -1
  835. package/lib/icon/style/index.d.ts +4 -0
  836. package/lib/icon/style/index.d.ts.map +1 -0
  837. package/lib/icon/style/index.js +5 -0
  838. package/lib/icon/style/index.js.map +1 -0
  839. package/lib/icon/style/index.less +4 -0
  840. package/lib/icon/style/style.less +6 -0
  841. package/lib/icon/utils.js +1 -2
  842. package/lib/icon-list/index.js +1 -2
  843. package/lib/icon-old/index.d.ts +5 -0
  844. package/lib/icon-old/index.d.ts.map +1 -0
  845. package/lib/icon-old/index.js +24 -0
  846. package/lib/icon-old/index.js.map +1 -0
  847. package/lib/icon-old/style/index.d.ts +3 -0
  848. package/lib/icon-old/style/index.d.ts.map +1 -0
  849. package/lib/icon-old/style/index.js +4 -0
  850. package/lib/icon-old/style/index.js.map +1 -0
  851. package/lib/icon-old/style/index.less +4 -0
  852. package/lib/img/Contain.d.ts +2 -1
  853. package/lib/img/Contain.d.ts.map +1 -1
  854. package/lib/img/Contain.js +3 -6
  855. package/lib/img/Cover.d.ts +2 -1
  856. package/lib/img/Cover.d.ts.map +1 -1
  857. package/lib/img/Cover.js +8 -11
  858. package/lib/img/index.d.ts +2 -1
  859. package/lib/img/index.d.ts.map +1 -1
  860. package/lib/img/index.js +8 -11
  861. package/lib/index.d.ts +7 -2
  862. package/lib/index.d.ts.map +1 -1
  863. package/lib/index.js +38 -3
  864. package/lib/index.js.map +1 -1
  865. package/lib/input/index.d.ts +1 -1
  866. package/lib/input/index.d.ts.map +1 -1
  867. package/lib/input/index.js +2 -3
  868. package/lib/input/index.js.map +1 -1
  869. package/lib/input/input.js +8 -12
  870. package/lib/input/style/index.d.ts +4 -0
  871. package/lib/input/style/index.d.ts.map +1 -0
  872. package/lib/input/style/index.js +5 -0
  873. package/lib/input/style/index.js.map +1 -0
  874. package/lib/input/style/index.less +57 -0
  875. package/lib/input/style/mixin.less +448 -0
  876. package/lib/input/style/search-input.less +34 -0
  877. package/lib/input-number/index.d.ts +1 -1
  878. package/lib/input-number/index.d.ts.map +1 -1
  879. package/lib/input-number/index.js +5 -6
  880. package/lib/input-number/index.js.map +1 -1
  881. package/lib/input-number/style/index.d.ts +3 -0
  882. package/lib/input-number/style/index.d.ts.map +1 -0
  883. package/lib/input-number/style/index.js +4 -0
  884. package/lib/input-number/style/index.js.map +1 -0
  885. package/lib/input-number/style/index.less +179 -0
  886. package/lib/label/index.d.ts +2 -2
  887. package/lib/label/index.d.ts.map +1 -1
  888. package/lib/label/index.js +10 -17
  889. package/lib/layout/index.d.ts +1 -1
  890. package/lib/layout/index.d.ts.map +1 -1
  891. package/lib/layout/index.js +5 -6
  892. package/lib/layout/index.js.map +1 -1
  893. package/lib/layout/style/index.d.ts +3 -0
  894. package/lib/layout/style/index.d.ts.map +1 -0
  895. package/lib/layout/style/index.js +4 -0
  896. package/lib/layout/style/index.js.map +1 -0
  897. package/lib/layout/style/index.less +124 -0
  898. package/lib/layout/style/light.less +15 -0
  899. package/lib/list/index.d.ts +1 -1
  900. package/lib/list/index.d.ts.map +1 -1
  901. package/lib/list/index.js +5 -6
  902. package/lib/list/index.js.map +1 -1
  903. package/lib/list/style/bordered.less +41 -0
  904. package/lib/list/style/index.d.ts +7 -0
  905. package/lib/list/style/index.d.ts.map +1 -0
  906. package/lib/list/style/index.js +8 -0
  907. package/lib/list/style/index.js.map +1 -0
  908. package/lib/list/style/index.less +234 -0
  909. package/lib/list/style/responsive.less +40 -0
  910. package/lib/loading-button/index.d.ts +2 -1
  911. package/lib/loading-button/index.d.ts.map +1 -1
  912. package/lib/loading-button/index.js +8 -11
  913. package/lib/locale/default.d.ts +7 -0
  914. package/lib/locale/default.d.ts.map +1 -1
  915. package/lib/locale/default.js +1 -2
  916. package/lib/locale/en_US.d.ts +7 -0
  917. package/lib/locale/en_US.d.ts.map +1 -1
  918. package/lib/locale/en_US.js +9 -3
  919. package/lib/locale/en_US.js.map +1 -1
  920. package/lib/locale/zh_CN.d.ts +7 -0
  921. package/lib/locale/zh_CN.d.ts.map +1 -1
  922. package/lib/locale/zh_CN.js +9 -3
  923. package/lib/locale/zh_CN.js.map +1 -1
  924. package/lib/locale-provider/index.d.ts +1 -1
  925. package/lib/locale-provider/index.d.ts.map +1 -1
  926. package/lib/locale-provider/index.js +5 -6
  927. package/lib/locale-provider/index.js.map +1 -1
  928. package/lib/locale-provider/style/index.d.ts +2 -0
  929. package/lib/locale-provider/style/index.d.ts.map +1 -0
  930. package/lib/locale-provider/style/index.js +3 -0
  931. package/lib/locale-provider/style/index.js.map +1 -0
  932. package/lib/locale-provider/style/index.less +2 -0
  933. package/lib/mentions/index.d.ts +1 -1
  934. package/lib/mentions/index.d.ts.map +1 -1
  935. package/lib/mentions/index.js +5 -6
  936. package/lib/mentions/index.js.map +1 -1
  937. package/lib/mentions/style/index.d.ts +4 -0
  938. package/lib/mentions/style/index.d.ts.map +1 -0
  939. package/lib/mentions/style/index.js +5 -0
  940. package/lib/mentions/style/index.js.map +1 -0
  941. package/lib/mentions/style/index.less +164 -0
  942. package/lib/menu/index.d.ts +1 -1
  943. package/lib/menu/index.d.ts.map +1 -1
  944. package/lib/menu/index.js +5 -6
  945. package/lib/menu/index.js.map +1 -1
  946. package/lib/menu/style/dark.less +139 -0
  947. package/lib/menu/style/index.d.ts +4 -0
  948. package/lib/menu/style/index.d.ts.map +1 -0
  949. package/lib/menu/style/index.js +5 -0
  950. package/lib/menu/style/index.js.map +1 -0
  951. package/lib/menu/style/index.less +515 -0
  952. package/lib/message/index.d.ts +1 -1
  953. package/lib/message/index.d.ts.map +1 -1
  954. package/lib/message/index.js +5 -6
  955. package/lib/message/index.js.map +1 -1
  956. package/lib/message/style/index.d.ts +3 -0
  957. package/lib/message/style/index.d.ts.map +1 -0
  958. package/lib/message/style/index.js +4 -0
  959. package/lib/message/style/index.js.map +1 -0
  960. package/lib/message/style/index.less +75 -0
  961. package/lib/modal/index.d.ts +1 -1
  962. package/lib/modal/index.d.ts.map +1 -1
  963. package/lib/modal/index.js +2 -3
  964. package/lib/modal/index.js.map +1 -1
  965. package/lib/modal/modal.d.ts +1 -1
  966. package/lib/modal/modal.d.ts.map +1 -1
  967. package/lib/modal/modal.js +56 -17
  968. package/lib/modal/modal.js.map +1 -1
  969. package/lib/modal/modal.less +13 -32
  970. package/lib/modal/style/confirm.less +96 -0
  971. package/lib/modal/style/index.d.ts +4 -0
  972. package/lib/modal/style/index.d.ts.map +1 -0
  973. package/lib/modal/style/index.js +5 -0
  974. package/lib/modal/style/index.js.map +1 -0
  975. package/lib/modal/style/index.less +4 -0
  976. package/lib/modal/style/modal.less +169 -0
  977. package/lib/notification/index.d.ts +1 -1
  978. package/lib/notification/index.d.ts.map +1 -1
  979. package/lib/notification/index.js +5 -6
  980. package/lib/notification/index.js.map +1 -1
  981. package/lib/notification/style/index.d.ts +3 -0
  982. package/lib/notification/style/index.d.ts.map +1 -0
  983. package/lib/notification/style/index.js +4 -0
  984. package/lib/notification/style/index.js.map +1 -0
  985. package/lib/notification/style/index.less +201 -0
  986. package/lib/page/Box.d.ts +2 -1
  987. package/lib/page/Box.d.ts.map +1 -1
  988. package/lib/page/Box.js +2 -5
  989. package/lib/page/index.d.ts +2 -1
  990. package/lib/page/index.d.ts.map +1 -1
  991. package/lib/page/index.js +7 -12
  992. package/lib/page/utils.js +4 -7
  993. package/lib/page-container/index.d.ts +4 -0
  994. package/lib/page-container/index.d.ts.map +1 -0
  995. package/lib/page-container/index.js +22 -0
  996. package/lib/page-container/index.js.map +1 -0
  997. package/lib/page-container/index.less +38 -0
  998. package/lib/page-header/index.d.ts +1 -1
  999. package/lib/page-header/index.d.ts.map +1 -1
  1000. package/lib/page-header/index.js +5 -6
  1001. package/lib/page-header/index.js.map +1 -1
  1002. package/lib/page-header/style/index.d.ts +4 -0
  1003. package/lib/page-header/style/index.d.ts.map +1 -0
  1004. package/lib/page-header/style/index.js +5 -0
  1005. package/lib/page-header/style/index.js.map +1 -0
  1006. package/lib/page-header/style/index.less +119 -0
  1007. package/lib/page-loading/index.d.ts +4 -0
  1008. package/lib/page-loading/index.d.ts.map +1 -0
  1009. package/lib/page-loading/index.js +34 -0
  1010. package/lib/page-loading/index.js.map +1 -0
  1011. package/lib/page-loading/index.less +38 -0
  1012. package/lib/page-loading/loading.gif +0 -0
  1013. package/lib/pagination/index.d.ts +1 -1
  1014. package/lib/pagination/index.d.ts.map +1 -1
  1015. package/lib/pagination/index.js +5 -6
  1016. package/lib/pagination/index.js.map +1 -1
  1017. package/lib/pagination/style/index.d.ts +4 -0
  1018. package/lib/pagination/style/index.d.ts.map +1 -0
  1019. package/lib/pagination/style/index.js +5 -0
  1020. package/lib/pagination/style/index.js.map +1 -0
  1021. package/lib/pagination/style/index.less +400 -0
  1022. package/lib/popconfirm/index.d.ts +1 -1
  1023. package/lib/popconfirm/index.d.ts.map +1 -1
  1024. package/lib/popconfirm/index.js +5 -6
  1025. package/lib/popconfirm/index.js.map +1 -1
  1026. package/lib/popconfirm/style/index.d.ts +4 -0
  1027. package/lib/popconfirm/style/index.d.ts.map +1 -0
  1028. package/lib/popconfirm/style/index.js +5 -0
  1029. package/lib/popconfirm/style/index.js.map +1 -0
  1030. package/lib/popover/index.d.ts +1 -1
  1031. package/lib/popover/index.d.ts.map +1 -1
  1032. package/lib/popover/index.js +5 -6
  1033. package/lib/popover/index.js.map +1 -1
  1034. package/lib/popover/style/index.d.ts +3 -0
  1035. package/lib/popover/style/index.d.ts.map +1 -0
  1036. package/lib/popover/style/index.js +4 -0
  1037. package/lib/popover/style/index.js.map +1 -0
  1038. package/lib/popover/style/index.less +206 -0
  1039. package/lib/prev-locale.js +6 -11
  1040. package/lib/preview-text/index.js +5 -7
  1041. package/lib/progress/index.d.ts +1 -1
  1042. package/lib/progress/index.d.ts.map +1 -1
  1043. package/lib/progress/index.js +5 -6
  1044. package/lib/progress/index.js.map +1 -1
  1045. package/lib/progress/style/index.d.ts +3 -0
  1046. package/lib/progress/style/index.d.ts.map +1 -0
  1047. package/lib/progress/style/index.js +4 -0
  1048. package/lib/progress/style/index.js.map +1 -0
  1049. package/lib/progress/style/index.less +182 -0
  1050. package/lib/query-form/Field/Checkbox.d.ts +2 -1
  1051. package/lib/query-form/Field/Checkbox.d.ts.map +1 -1
  1052. package/lib/query-form/Field/Checkbox.js +3 -6
  1053. package/lib/query-form/Field/Select.d.ts +2 -1
  1054. package/lib/query-form/Field/Select.d.ts.map +1 -1
  1055. package/lib/query-form/Field/Select.js +10 -13
  1056. package/lib/query-form/Field/SelectInput.d.ts +2 -1
  1057. package/lib/query-form/Field/SelectInput.d.ts.map +1 -1
  1058. package/lib/query-form/Field/SelectInput.js +10 -13
  1059. package/lib/query-form/Field/fieldsMap.js +4 -7
  1060. package/lib/query-form/Field/index.d.ts +1 -1
  1061. package/lib/query-form/Field/index.d.ts.map +1 -1
  1062. package/lib/query-form/Field/index.js +19 -24
  1063. package/lib/query-form/createActions.js +2 -3
  1064. package/lib/query-form/index.d.ts +1 -1
  1065. package/lib/query-form/index.d.ts.map +1 -1
  1066. package/lib/query-form/index.js +22 -25
  1067. package/lib/query-list-scene/List.d.ts +1 -1
  1068. package/lib/query-list-scene/List.d.ts.map +1 -1
  1069. package/lib/query-list-scene/List.js +24 -29
  1070. package/lib/query-list-scene/QueryForm.d.ts +1 -1
  1071. package/lib/query-list-scene/QueryForm.d.ts.map +1 -1
  1072. package/lib/query-list-scene/QueryForm.js +17 -22
  1073. package/lib/query-list-scene/QueryListScene.d.ts +1 -1
  1074. package/lib/query-list-scene/QueryListScene.d.ts.map +1 -1
  1075. package/lib/query-list-scene/QueryListScene.js +14 -18
  1076. package/lib/query-list-scene/Title.d.ts +2 -1
  1077. package/lib/query-list-scene/Title.d.ts.map +1 -1
  1078. package/lib/query-list-scene/Title.js +2 -3
  1079. package/lib/query-list-scene/Toolbar.d.ts +2 -1
  1080. package/lib/query-list-scene/Toolbar.d.ts.map +1 -1
  1081. package/lib/query-list-scene/Toolbar.js +6 -9
  1082. package/lib/query-list-scene/createActions.js +2 -3
  1083. package/lib/query-list-scene/index.js +4 -8
  1084. package/lib/radio/index.d.ts +1 -1
  1085. package/lib/radio/index.d.ts.map +1 -1
  1086. package/lib/radio/index.js +5 -6
  1087. package/lib/radio/index.js.map +1 -1
  1088. package/lib/radio/radio-group.js +1 -2
  1089. package/lib/radio/style/index.d.ts +3 -0
  1090. package/lib/radio/style/index.d.ts.map +1 -0
  1091. package/lib/radio/style/index.js +4 -0
  1092. package/lib/radio/style/index.js.map +1 -0
  1093. package/lib/radio/style/index.less +327 -0
  1094. package/lib/rate/index.d.ts +1 -1
  1095. package/lib/rate/index.d.ts.map +1 -1
  1096. package/lib/rate/index.js +5 -6
  1097. package/lib/rate/index.js.map +1 -1
  1098. package/lib/rate/style/index.d.ts +4 -0
  1099. package/lib/rate/style/index.d.ts.map +1 -0
  1100. package/lib/rate/style/index.js +5 -0
  1101. package/lib/rate/style/index.js.map +1 -0
  1102. package/lib/rate/style/index.less +85 -0
  1103. package/lib/render-empty/index.js +1 -2
  1104. package/lib/render-empty/render-empty.js +2 -3
  1105. package/lib/result/index.d.ts +1 -1
  1106. package/lib/result/index.d.ts.map +1 -1
  1107. package/lib/result/index.js +5 -6
  1108. package/lib/result/index.js.map +1 -1
  1109. package/lib/result/style/index.d.ts +3 -0
  1110. package/lib/result/style/index.d.ts.map +1 -0
  1111. package/lib/result/style/index.js +4 -0
  1112. package/lib/result/style/index.js.map +1 -0
  1113. package/lib/result/style/index.less +71 -0
  1114. package/lib/row/index.d.ts +1 -1
  1115. package/lib/row/index.d.ts.map +1 -1
  1116. package/lib/row/index.js +5 -6
  1117. package/lib/row/index.js.map +1 -1
  1118. package/lib/row/style/index.d.ts +3 -0
  1119. package/lib/row/style/index.d.ts.map +1 -0
  1120. package/lib/row/style/index.js +4 -0
  1121. package/lib/row/style/index.js.map +1 -0
  1122. package/lib/segmented/index.d.ts +1 -1
  1123. package/lib/segmented/index.d.ts.map +1 -1
  1124. package/lib/segmented/index.js +8 -12
  1125. package/lib/select/index.d.ts +1 -1
  1126. package/lib/select/index.d.ts.map +1 -1
  1127. package/lib/select/index.js +2 -3
  1128. package/lib/select/index.js.map +1 -1
  1129. package/lib/select/select.js +8 -12
  1130. package/lib/select/style/index.d.ts +4 -0
  1131. package/lib/select/style/index.d.ts.map +1 -0
  1132. package/lib/select/style/index.js +5 -0
  1133. package/lib/select/style/index.js.map +1 -0
  1134. package/lib/select/style/index.less +605 -0
  1135. package/lib/skeleton/index.d.ts +1 -1
  1136. package/lib/skeleton/index.d.ts.map +1 -1
  1137. package/lib/skeleton/index.js +5 -6
  1138. package/lib/skeleton/index.js.map +1 -1
  1139. package/lib/skeleton/style/index.d.ts +3 -0
  1140. package/lib/skeleton/style/index.d.ts.map +1 -0
  1141. package/lib/skeleton/style/index.js +4 -0
  1142. package/lib/skeleton/style/index.js.map +1 -0
  1143. package/lib/skeleton/style/index.less +130 -0
  1144. package/lib/slider/index.d.ts +1 -1
  1145. package/lib/slider/index.d.ts.map +1 -1
  1146. package/lib/slider/index.js +5 -6
  1147. package/lib/slider/index.js.map +1 -1
  1148. package/lib/slider/style/index.d.ts +4 -0
  1149. package/lib/slider/style/index.d.ts.map +1 -0
  1150. package/lib/slider/style/index.js +5 -0
  1151. package/lib/slider/style/index.js.map +1 -0
  1152. package/lib/slider/style/index.less +197 -0
  1153. package/lib/spin/index.d.ts +1 -1
  1154. package/lib/spin/index.d.ts.map +1 -1
  1155. package/lib/spin/index.js +5 -6
  1156. package/lib/spin/index.js.map +1 -1
  1157. package/lib/spin/style/index.d.ts +3 -0
  1158. package/lib/spin/style/index.d.ts.map +1 -0
  1159. package/lib/spin/style/index.js +4 -0
  1160. package/lib/spin/style/index.js.map +1 -0
  1161. package/lib/spin/style/index.less +214 -0
  1162. package/lib/statistic/index.d.ts +1 -1
  1163. package/lib/statistic/index.d.ts.map +1 -1
  1164. package/lib/statistic/index.js +5 -6
  1165. package/lib/statistic/index.js.map +1 -1
  1166. package/lib/statistic/style/index.d.ts +3 -0
  1167. package/lib/statistic/style/index.d.ts.map +1 -0
  1168. package/lib/statistic/style/index.js +4 -0
  1169. package/lib/statistic/style/index.js.map +1 -0
  1170. package/lib/statistic/style/index.less +40 -0
  1171. package/lib/steps/index.d.ts +2 -1
  1172. package/lib/steps/index.d.ts.map +1 -1
  1173. package/lib/steps/index.js +3 -3
  1174. package/lib/steps/index.js.map +1 -1
  1175. package/lib/steps/stepStyle/index.less +12 -0
  1176. package/lib/steps/stepStyle/nav.less +281 -0
  1177. package/lib/steps/stepStyle/small.less +5 -0
  1178. package/lib/steps/steps.d.ts +2 -2
  1179. package/lib/steps/steps.d.ts.map +1 -1
  1180. package/lib/steps/steps.js +9 -12
  1181. package/lib/steps/steps.js.map +1 -1
  1182. package/lib/steps/style/compatibility.less +50 -0
  1183. package/lib/steps/style/custom-icon.less +31 -0
  1184. package/lib/steps/style/index.d.ts +3 -0
  1185. package/lib/steps/style/index.d.ts.map +1 -0
  1186. package/lib/steps/style/index.js +4 -0
  1187. package/lib/steps/style/index.js.map +1 -0
  1188. package/lib/steps/style/index.less +241 -6
  1189. package/lib/steps/style/label-placement.less +38 -0
  1190. package/lib/steps/style/nav.less +96 -247
  1191. package/lib/steps/style/progress-dot.less +80 -0
  1192. package/lib/steps/style/small.less +43 -3
  1193. package/lib/steps/style/vertical.less +74 -0
  1194. package/lib/style/color/bezierEasing.less +110 -0
  1195. package/lib/style/color/colorPalette.less +75 -0
  1196. package/lib/style/color/colors.less +149 -0
  1197. package/lib/style/color/tinyColor.less +1184 -0
  1198. package/lib/style/core/base.less +510 -0
  1199. package/lib/style/core/iconfont.less +19 -0
  1200. package/lib/style/core/index.less +4 -0
  1201. package/lib/style/core/motion/fade.less +31 -0
  1202. package/lib/style/core/motion/move.less +120 -0
  1203. package/lib/style/core/motion/other.less +40 -0
  1204. package/lib/style/core/motion/slide.less +120 -0
  1205. package/lib/style/core/motion/swing.less +34 -0
  1206. package/lib/style/core/motion/zoom.less +162 -0
  1207. package/lib/style/core/motion.less +20 -0
  1208. package/lib/style/index.d.ts +2 -0
  1209. package/lib/style/index.d.ts.map +1 -0
  1210. package/lib/style/index.js +3 -0
  1211. package/lib/style/index.js.map +1 -0
  1212. package/lib/style/index.less +2 -0
  1213. package/lib/style/mixins/clearfix.less +13 -0
  1214. package/lib/style/mixins/compatibility.less +22 -0
  1215. package/lib/style/mixins/iconfont.less +44 -0
  1216. package/lib/style/mixins/index.less +10 -0
  1217. package/lib/style/mixins/motion.less +35 -0
  1218. package/lib/style/mixins/operation-unit.less +18 -0
  1219. package/lib/style/mixins/reset.less +13 -0
  1220. package/lib/style/mixins/size.less +10 -0
  1221. package/lib/style/mixins/typography.less +49 -0
  1222. package/lib/style/themes/default.less +700 -0
  1223. package/lib/style/themes/index.less +1 -0
  1224. package/lib/style/v2-compatible-reset.d.ts +2 -0
  1225. package/lib/style/v2-compatible-reset.d.ts.map +1 -0
  1226. package/lib/style/v2-compatible-reset.js +3 -0
  1227. package/lib/style/v2-compatible-reset.js.map +1 -0
  1228. package/lib/style/v2-compatible-reset.less +51 -0
  1229. package/lib/svg-components/illustration-403.d.ts +1 -1
  1230. package/lib/svg-components/illustration-403.js +4 -5
  1231. package/lib/svg-components/illustration-404.d.ts +1 -1
  1232. package/lib/svg-components/illustration-404.js +4 -5
  1233. package/lib/svg-components/illustration-500.d.ts +1 -1
  1234. package/lib/svg-components/illustration-500.js +4 -5
  1235. package/lib/svg-components/illustration-empty.d.ts +1 -1
  1236. package/lib/svg-components/illustration-empty.js +4 -5
  1237. package/lib/svg-components/illustration-failure.d.ts +1 -1
  1238. package/lib/svg-components/illustration-failure.js +4 -5
  1239. package/lib/svg-components/illustration-no-access.d.ts +1 -1
  1240. package/lib/svg-components/illustration-no-access.js +4 -5
  1241. package/lib/svg-components/illustration-no-chart.d.ts +1 -1
  1242. package/lib/svg-components/illustration-no-chart.js +4 -5
  1243. package/lib/svg-components/illustration-no-result.d.ts +1 -1
  1244. package/lib/svg-components/illustration-no-result.js +4 -5
  1245. package/lib/svg-components/illustration-offline.d.ts +1 -1
  1246. package/lib/svg-components/illustration-offline.js +4 -5
  1247. package/lib/svg-components/illustration-success.d.ts +1 -1
  1248. package/lib/svg-components/illustration-success.js +4 -5
  1249. package/lib/switch/index.js +4 -5
  1250. package/lib/switch/style/index.d.ts +3 -0
  1251. package/lib/switch/style/index.d.ts.map +1 -0
  1252. package/lib/switch/style/index.js +4 -0
  1253. package/lib/switch/style/index.js.map +1 -0
  1254. package/lib/switch/style/index.less +178 -0
  1255. package/lib/switch/switch.d.ts +1 -1
  1256. package/lib/switch/switch.d.ts.map +1 -1
  1257. package/lib/switch/switch.js +6 -8
  1258. package/lib/switch/switch.js.map +1 -1
  1259. package/lib/table/assets/image-loading-background.d.ts +1 -1
  1260. package/lib/table/assets/image-loading-background.js +4 -5
  1261. package/lib/table/assets/image-loading.d.ts +1 -1
  1262. package/lib/table/assets/image-loading.js +4 -5
  1263. package/lib/table/constants.js +1 -2
  1264. package/lib/table/context.js +1 -2
  1265. package/lib/table/hooks/use-column-setting.js +4 -5
  1266. package/lib/table/index.d.ts +1 -1
  1267. package/lib/table/index.d.ts.map +1 -1
  1268. package/lib/table/index.js +2 -3
  1269. package/lib/table/index.js.map +1 -1
  1270. package/lib/table/style/index.d.ts +9 -0
  1271. package/lib/table/style/index.d.ts.map +1 -0
  1272. package/lib/table/style/index.js +10 -0
  1273. package/lib/table/style/index.js.map +1 -0
  1274. package/lib/table/style/index.less +800 -0
  1275. package/lib/table/style/size.less +179 -0
  1276. package/lib/table/table.d.ts +2 -2
  1277. package/lib/table/table.d.ts.map +1 -1
  1278. package/lib/table/table.js +11 -17
  1279. package/lib/table/table.js.map +1 -1
  1280. package/lib/table/table.stories.js +5 -10
  1281. package/lib/table/total-shower.d.ts +2 -2
  1282. package/lib/table/total-shower.d.ts.map +1 -1
  1283. package/lib/table/total-shower.js +2 -3
  1284. package/lib/table-container/index.d.ts +3 -0
  1285. package/lib/table-container/index.d.ts.map +1 -0
  1286. package/lib/table-container/index.js +21 -0
  1287. package/lib/table-container/index.js.map +1 -0
  1288. package/lib/table-container/index.less +13 -0
  1289. package/lib/tabs/index.d.ts +1 -1
  1290. package/lib/tabs/index.d.ts.map +1 -1
  1291. package/lib/tabs/index.js +2 -3
  1292. package/lib/tabs/index.js.map +1 -1
  1293. package/lib/tabs/style/card-style.less +186 -0
  1294. package/lib/tabs/style/index.d.ts +3 -0
  1295. package/lib/tabs/style/index.d.ts.map +1 -0
  1296. package/lib/tabs/style/index.js +4 -0
  1297. package/lib/tabs/style/index.js.map +1 -0
  1298. package/lib/tabs/style/index.less +436 -0
  1299. package/lib/tabs/tabs.d.ts.map +1 -1
  1300. package/lib/tabs/tabs.js +8 -9
  1301. package/lib/tabs/tabs.js.map +1 -1
  1302. package/lib/tabs-container/index.d.ts +4 -0
  1303. package/lib/tabs-container/index.d.ts.map +1 -0
  1304. package/lib/tabs-container/index.js +22 -0
  1305. package/lib/tabs-container/index.js.map +1 -0
  1306. package/lib/tabs-container/index.less +51 -0
  1307. package/lib/tag/color.less +43 -0
  1308. package/lib/tag/index.d.ts +4 -3
  1309. package/lib/tag/index.d.ts.map +1 -1
  1310. package/lib/tag/index.js +15 -10
  1311. package/lib/tag/index.js.map +1 -1
  1312. package/lib/tag/style/index.d.ts +3 -0
  1313. package/lib/tag/style/index.d.ts.map +1 -0
  1314. package/lib/tag/style/index.js +4 -0
  1315. package/lib/tag/style/index.js.map +1 -0
  1316. package/lib/tag/style/index.less +106 -0
  1317. package/lib/tag/tag.d.ts +41 -0
  1318. package/lib/tag/tag.d.ts.map +1 -0
  1319. package/lib/tag/tag.js +183 -0
  1320. package/lib/tag/tag.js.map +1 -0
  1321. package/lib/tag/tag.less +193 -0
  1322. package/lib/time-picker/index.d.ts +1 -1
  1323. package/lib/time-picker/index.d.ts.map +1 -1
  1324. package/lib/time-picker/index.js +5 -6
  1325. package/lib/time-picker/index.js.map +1 -1
  1326. package/lib/time-picker/style/index.d.ts +3 -0
  1327. package/lib/time-picker/style/index.d.ts.map +1 -0
  1328. package/lib/time-picker/style/index.js +4 -0
  1329. package/lib/time-picker/style/index.js.map +1 -0
  1330. package/lib/time-picker/style/index.less +247 -0
  1331. package/lib/timeline/index.d.ts +1 -1
  1332. package/lib/timeline/index.d.ts.map +1 -1
  1333. package/lib/timeline/index.js +5 -6
  1334. package/lib/timeline/index.js.map +1 -1
  1335. package/lib/timeline/style/index.d.ts +3 -0
  1336. package/lib/timeline/style/index.d.ts.map +1 -0
  1337. package/lib/timeline/style/index.js +4 -0
  1338. package/lib/timeline/style/index.js.map +1 -0
  1339. package/lib/timeline/style/index.less +167 -0
  1340. package/lib/title/index.d.ts +1 -1
  1341. package/lib/title/index.js +3 -6
  1342. package/lib/tntd-action/index.d.ts +4 -0
  1343. package/lib/tntd-action/index.d.ts.map +1 -0
  1344. package/lib/tntd-action/index.js +12 -0
  1345. package/lib/tntd-action/index.js.map +1 -0
  1346. package/lib/tntd-cascader/AntdCascader/component/DisabledContext.js +5 -7
  1347. package/lib/tntd-cascader/AntdCascader/component/FormItemInputContext.js +4 -5
  1348. package/lib/tntd-cascader/AntdCascader/component/SizeContext.js +4 -5
  1349. package/lib/tntd-cascader/AntdCascader/component/context.js +3 -6
  1350. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.d.ts +2 -2
  1351. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.d.ts.map +1 -1
  1352. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +4 -5
  1353. package/lib/tntd-cascader/AntdCascader/component/getIcons.d.ts +2 -2
  1354. package/lib/tntd-cascader/AntdCascader/component/getIcons.js +4 -5
  1355. package/lib/tntd-cascader/AntdCascader/component/getIcons.js.map +1 -1
  1356. package/lib/tntd-cascader/AntdCascader/component/useCompactItemContext.js +9 -12
  1357. package/lib/tntd-cascader/AntdCascader/config/utils.d.ts +1 -1
  1358. package/lib/tntd-cascader/AntdCascader/config/utils.js +8 -12
  1359. package/lib/tntd-cascader/AntdCascader/config/warning.js +4 -5
  1360. package/lib/tntd-cascader/AntdCascader/index.d.ts.map +1 -1
  1361. package/lib/tntd-cascader/AntdCascader/index.js +14 -18
  1362. package/lib/tntd-cascader/AntdCascader/index.js.map +1 -1
  1363. package/lib/tntd-cascader/AntdCascader/interface.js +1 -2
  1364. package/lib/tntd-cascader/rc-cascader/Cascader.js +7 -10
  1365. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.d.ts +1 -1
  1366. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.d.ts.map +1 -1
  1367. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.js +6 -7
  1368. package/lib/tntd-cascader/rc-cascader/OptionList/Column.d.ts +1 -1
  1369. package/lib/tntd-cascader/rc-cascader/OptionList/Column.d.ts.map +1 -1
  1370. package/lib/tntd-cascader/rc-cascader/OptionList/Column.js +8 -10
  1371. package/lib/tntd-cascader/rc-cascader/OptionList/index.js +14 -17
  1372. package/lib/tntd-cascader/rc-cascader/OptionList/useActive.js +8 -10
  1373. package/lib/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +11 -13
  1374. package/lib/tntd-cascader/rc-cascader/context.js +4 -5
  1375. package/lib/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +6 -7
  1376. package/lib/tntd-cascader/rc-cascader/hooks/useEntities.js +5 -6
  1377. package/lib/tntd-cascader/rc-cascader/hooks/useMissingValues.js +5 -6
  1378. package/lib/tntd-cascader/rc-cascader/hooks/useRefFunc.js +3 -3
  1379. package/lib/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +3 -3
  1380. package/lib/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +10 -13
  1381. package/lib/tntd-cascader/rc-cascader/index.js +1 -2
  1382. package/lib/tntd-cascader/rc-cascader/utils/commonUtil.js +3 -6
  1383. package/lib/tntd-cascader/rc-cascader/utils/treeUtil.js +2 -2
  1384. package/lib/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +1 -2
  1385. package/lib/tntd-form/ErrorList.d.ts +1 -1
  1386. package/lib/tntd-form/ErrorList.d.ts.map +1 -1
  1387. package/lib/tntd-form/ErrorList.js +6 -6
  1388. package/lib/tntd-form/Form.d.ts +1 -1
  1389. package/lib/tntd-form/Form.d.ts.map +1 -1
  1390. package/lib/tntd-form/Form.js +15 -18
  1391. package/lib/tntd-form/Form.js.map +1 -1
  1392. package/lib/tntd-form/FormItem/ItemHolder.d.ts +1 -1
  1393. package/lib/tntd-form/FormItem/ItemHolder.d.ts.map +1 -1
  1394. package/lib/tntd-form/FormItem/ItemHolder.js +11 -14
  1395. package/lib/tntd-form/FormItem/ItemHolder.js.map +1 -1
  1396. package/lib/tntd-form/FormItem/index.js +14 -14
  1397. package/lib/tntd-form/FormItemInput.d.ts +1 -1
  1398. package/lib/tntd-form/FormItemInput.d.ts.map +1 -1
  1399. package/lib/tntd-form/FormItemInput.js +5 -6
  1400. package/lib/tntd-form/FormItemInput.js.map +1 -1
  1401. package/lib/tntd-form/FormItemLabel.d.ts +1 -1
  1402. package/lib/tntd-form/FormItemLabel.d.ts.map +1 -1
  1403. package/lib/tntd-form/FormItemLabel.js +9 -13
  1404. package/lib/tntd-form/FormItemLabel.js.map +1 -1
  1405. package/lib/tntd-form/FormList.js +5 -8
  1406. package/lib/tntd-form/context.d.ts +1 -1
  1407. package/lib/tntd-form/context.d.ts.map +1 -1
  1408. package/lib/tntd-form/context.js +14 -19
  1409. package/lib/tntd-form/context.js.map +1 -1
  1410. package/lib/tntd-form/hooks/useDebounce.js +5 -5
  1411. package/lib/tntd-form/hooks/useForm.js +5 -5
  1412. package/lib/tntd-form/hooks/useFormItemStatus.js +1 -2
  1413. package/lib/tntd-form/hooks/useFrameState.js +10 -9
  1414. package/lib/tntd-form/hooks/useItemRef.js +3 -3
  1415. package/lib/tntd-form/index.js +4 -5
  1416. package/lib/tntd-form/style/index.d.ts +1 -1
  1417. package/lib/tntd-form/style/index.d.ts.map +1 -1
  1418. package/lib/tntd-form/style/index.js +1 -1
  1419. package/lib/tntd-form/style/index.js.map +1 -1
  1420. package/lib/tntd-form/style/index.less +1 -1
  1421. package/lib/tntd-form/style/rtl.less +3 -3
  1422. package/lib/tntd-form/validateMessagesContext.js +1 -2
  1423. package/lib/tntd-icon/index.d.ts +2 -1
  1424. package/lib/tntd-icon/index.d.ts.map +1 -1
  1425. package/lib/tntd-icon/index.js +3 -6
  1426. package/lib/tntd-layout/ActionsContext.js +1 -2
  1427. package/lib/tntd-layout/AppList.js +7 -8
  1428. package/lib/tntd-layout/Application.d.ts +2 -1
  1429. package/lib/tntd-layout/Application.d.ts.map +1 -1
  1430. package/lib/tntd-layout/Application.js +7 -8
  1431. package/lib/tntd-layout/Avatar.d.ts +2 -1
  1432. package/lib/tntd-layout/Avatar.d.ts.map +1 -1
  1433. package/lib/tntd-layout/Avatar.js +5 -6
  1434. package/lib/tntd-layout/CompatibleLanguage.d.ts +2 -1
  1435. package/lib/tntd-layout/CompatibleLanguage.d.ts.map +1 -1
  1436. package/lib/tntd-layout/CompatibleLanguage.js +7 -8
  1437. package/lib/tntd-layout/EnterpriseLayout/Avatar.d.ts +2 -1
  1438. package/lib/tntd-layout/EnterpriseLayout/Avatar.d.ts.map +1 -1
  1439. package/lib/tntd-layout/EnterpriseLayout/Avatar.js +5 -6
  1440. package/lib/tntd-layout/EnterpriseLayout/Language.js +7 -8
  1441. package/lib/tntd-layout/EnterpriseLayout/Theme.d.ts +2 -1
  1442. package/lib/tntd-layout/EnterpriseLayout/Theme.d.ts.map +1 -1
  1443. package/lib/tntd-layout/EnterpriseLayout/Theme.js +7 -8
  1444. package/lib/tntd-layout/EnterpriseLayout/index.js +2 -3
  1445. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.d.ts +2 -1
  1446. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.d.ts.map +1 -1
  1447. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.js +7 -8
  1448. package/lib/tntd-layout/GlobalNavigation/index.js +7 -8
  1449. package/lib/tntd-layout/Header.js +9 -6
  1450. package/lib/tntd-layout/HeaderActions.js +18 -21
  1451. package/lib/tntd-layout/HeaderNavs.js +8 -12
  1452. package/lib/tntd-layout/HeaderTabs.js +10 -14
  1453. package/lib/tntd-layout/Iconfont.d.ts +2 -1
  1454. package/lib/tntd-layout/Iconfont.d.ts.map +1 -1
  1455. package/lib/tntd-layout/Iconfont.js +2 -3
  1456. package/lib/tntd-layout/Language.js +7 -8
  1457. package/lib/tntd-layout/Layout.js +7 -8
  1458. package/lib/tntd-layout/Logo.js +9 -6
  1459. package/lib/tntd-layout/OrgAppList.js +7 -8
  1460. package/lib/tntd-layout/SideMenu.js +8 -11
  1461. package/lib/tntd-layout/Theme.d.ts +2 -1
  1462. package/lib/tntd-layout/Theme.d.ts.map +1 -1
  1463. package/lib/tntd-layout/Theme.js +7 -8
  1464. package/lib/tntd-layout/createActions.js +2 -3
  1465. package/lib/tntd-layout/images/index.js +4 -7
  1466. package/lib/tntd-layout/index.d.ts +3 -2
  1467. package/lib/tntd-layout/index.d.ts.map +1 -1
  1468. package/lib/tntd-layout/index.js +6 -11
  1469. package/lib/tntd-layout/paaslayout/CompactSideMenu.d.ts +2 -1
  1470. package/lib/tntd-layout/paaslayout/CompactSideMenu.d.ts.map +1 -1
  1471. package/lib/tntd-layout/paaslayout/CompactSideMenu.js +7 -8
  1472. package/lib/tntd-layout/paaslayout/Header.d.ts +2 -1
  1473. package/lib/tntd-layout/paaslayout/Header.d.ts.map +1 -1
  1474. package/lib/tntd-layout/paaslayout/Header.js +9 -6
  1475. package/lib/tntd-layout/paaslayout/Logo.d.ts +2 -1
  1476. package/lib/tntd-layout/paaslayout/Logo.d.ts.map +1 -1
  1477. package/lib/tntd-layout/paaslayout/Logo.js +6 -3
  1478. package/lib/tntd-layout/paaslayout/SideMenu.d.ts +2 -1
  1479. package/lib/tntd-layout/paaslayout/SideMenu.d.ts.map +1 -1
  1480. package/lib/tntd-layout/paaslayout/SideMenu.js +7 -8
  1481. package/lib/tntd-layout/paaslayout/index.js +7 -8
  1482. package/lib/tntd-layout/storage.js +14 -27
  1483. package/lib/tntd-modal/index.d.ts +2 -1
  1484. package/lib/tntd-modal/index.d.ts.map +1 -1
  1485. package/lib/tntd-modal/index.js +11 -15
  1486. package/lib/tntd-rc-select/_util/DisabledContext.js +5 -7
  1487. package/lib/tntd-rc-select/_util/FormItemInputContext.js +4 -5
  1488. package/lib/tntd-rc-select/_util/PurePanel.d.ts +2 -2
  1489. package/lib/tntd-rc-select/_util/PurePanel.d.ts.map +1 -1
  1490. package/lib/tntd-rc-select/_util/PurePanel.js +5 -5
  1491. package/lib/tntd-rc-select/_util/SizeContext.js +4 -5
  1492. package/lib/tntd-rc-select/_util/context.js +3 -6
  1493. package/lib/tntd-rc-select/_util/defaultRenderEmpty.d.ts +2 -2
  1494. package/lib/tntd-rc-select/_util/defaultRenderEmpty.d.ts.map +1 -1
  1495. package/lib/tntd-rc-select/_util/defaultRenderEmpty.js +4 -5
  1496. package/lib/tntd-rc-select/_util/getIcons.d.ts +2 -2
  1497. package/lib/tntd-rc-select/_util/getIcons.js +4 -5
  1498. package/lib/tntd-rc-select/_util/getIcons.js.map +1 -1
  1499. package/lib/tntd-rc-select/_util/interface.js +1 -2
  1500. package/lib/tntd-rc-select/_util/motion.js +3 -6
  1501. package/lib/tntd-rc-select/_util/type.js +3 -5
  1502. package/lib/tntd-rc-select/_util/useCompactItemContext.js +9 -12
  1503. package/lib/tntd-rc-select/_util/warning.js +4 -5
  1504. package/lib/tntd-rc-select/index.js +11 -14
  1505. package/lib/tntd-rc-select/style/index.less +844 -740
  1506. package/lib/tntd-select/DropDownWrap.js +16 -19
  1507. package/lib/tntd-select/index.d.ts +1 -1
  1508. package/lib/tntd-select/index.d.ts.map +1 -1
  1509. package/lib/tntd-select/index.js +44 -47
  1510. package/lib/tooltip/index.d.ts +1 -1
  1511. package/lib/tooltip/index.d.ts.map +1 -1
  1512. package/lib/tooltip/index.js +5 -6
  1513. package/lib/tooltip/index.js.map +1 -1
  1514. package/lib/tooltip/style/index.d.ts +3 -0
  1515. package/lib/tooltip/style/index.d.ts.map +1 -0
  1516. package/lib/tooltip/style/index.js +4 -0
  1517. package/lib/tooltip/style/index.js.map +1 -0
  1518. package/lib/tooltip/style/index.less +187 -0
  1519. package/lib/transfer/index.d.ts +1 -1
  1520. package/lib/transfer/index.d.ts.map +1 -1
  1521. package/lib/transfer/index.js +5 -6
  1522. package/lib/transfer/index.js.map +1 -1
  1523. package/lib/transfer/style/customize.less +62 -0
  1524. package/lib/transfer/style/index.d.ts +7 -0
  1525. package/lib/transfer/style/index.d.ts.map +1 -0
  1526. package/lib/transfer/style/index.js +8 -0
  1527. package/lib/transfer/style/index.js.map +1 -0
  1528. package/lib/transfer/style/index.less +191 -0
  1529. package/lib/tree/index.d.ts +1 -1
  1530. package/lib/tree/index.d.ts.map +1 -1
  1531. package/lib/tree/index.js +5 -6
  1532. package/lib/tree/index.js.map +1 -1
  1533. package/lib/tree/style/directory.less +95 -0
  1534. package/lib/tree/style/index.d.ts +3 -0
  1535. package/lib/tree/style/index.d.ts.map +1 -0
  1536. package/lib/tree/style/index.js +4 -0
  1537. package/lib/tree/style/index.js.map +1 -0
  1538. package/lib/tree/style/index.less +280 -0
  1539. package/lib/tree/style/mixin.less +29 -0
  1540. package/lib/tree-select/index.d.ts +1 -1
  1541. package/lib/tree-select/index.d.ts.map +1 -1
  1542. package/lib/tree-select/index.js +6 -8
  1543. package/lib/tree-select/index.js.map +1 -1
  1544. package/lib/tree-select/style/index.d.ts +5 -0
  1545. package/lib/tree-select/style/index.d.ts.map +1 -0
  1546. package/lib/tree-select/style/index.js +6 -0
  1547. package/lib/tree-select/style/index.js.map +1 -0
  1548. package/lib/tree-select/style/index.less +191 -0
  1549. package/lib/typography/index.d.ts +1 -1
  1550. package/lib/typography/index.d.ts.map +1 -1
  1551. package/lib/typography/index.js +5 -6
  1552. package/lib/typography/index.js.map +1 -1
  1553. package/lib/typography/style/index.d.ts +5 -0
  1554. package/lib/typography/style/index.d.ts.map +1 -0
  1555. package/lib/typography/style/index.js +6 -0
  1556. package/lib/typography/style/index.js.map +1 -0
  1557. package/lib/typography/style/index.less +204 -0
  1558. package/lib/upload/index.d.ts +1 -1
  1559. package/lib/upload/index.d.ts.map +1 -1
  1560. package/lib/upload/index.js +5 -6
  1561. package/lib/upload/index.js.map +1 -1
  1562. package/lib/upload/style/index.d.ts +5 -0
  1563. package/lib/upload/style/index.d.ts.map +1 -0
  1564. package/lib/upload/style/index.js +6 -0
  1565. package/lib/upload/style/index.js.map +1 -0
  1566. package/lib/upload/style/index.less +542 -0
  1567. package/lib/utils/checkAuth.js +2 -4
  1568. package/lib/utils/findMenuInfoByPath.js +2 -4
  1569. package/lib/utils/index.js +10 -18
  1570. package/lib/utils/lang.js +6 -11
  1571. package/lib/version/index.d.ts +1 -1
  1572. package/lib/version/index.d.ts.map +1 -1
  1573. package/lib/version/index.js +5 -6
  1574. package/lib/version/index.js.map +1 -1
  1575. package/lib/version/style/index.d.ts +2 -0
  1576. package/lib/version/style/index.d.ts.map +1 -0
  1577. package/lib/version/style/index.js +3 -0
  1578. package/lib/version/style/index.js.map +1 -0
  1579. package/lib/water-mark/index.js +7 -9
  1580. package/package.json +4 -4
  1581. package/themes/common/css2.x.css +154 -0
  1582. package/themes/common/css3.x.css +154 -0
  1583. package/themes/common/index.less +2 -0
  1584. package/themes/default/colors.less +12 -4
  1585. package/themes/default/colorsVar.less +160 -0
  1586. package/themes/default/lessToCssVar.less +127 -0
  1587. package/themes/default/lessVars2.x.less +33 -0
  1588. package/themes/default/lessVars3.x.less +35 -0
  1589. package/themes/default/variables.less +34 -24
  1590. package/themes/default/variablesVar.less +675 -0
  1591. package/themes/utils/colorPalette.less +11 -0
  1592. package/es/grid/RowContext.js.map +0 -1
  1593. package/es/grid/col.js.map +0 -1
  1594. package/es/grid/hooks/useBreakpoint.js.map +0 -1
  1595. package/es/grid/row.js.map +0 -1
  1596. package/lib/grid/RowContext.d.ts.map +0 -1
  1597. package/lib/grid/RowContext.js.map +0 -1
  1598. package/lib/grid/col.d.ts.map +0 -1
  1599. package/lib/grid/col.js.map +0 -1
  1600. package/lib/grid/hooks/useBreakpoint.d.ts.map +0 -1
  1601. package/lib/grid/hooks/useBreakpoint.js.map +0 -1
  1602. package/lib/grid/row.d.ts.map +0 -1
  1603. /package/es/{grid → grid-v4}/RowContext.js +0 -0
  1604. /package/es/{grid → grid-v4}/col.js +0 -0
  1605. /package/es/{grid → grid-v4}/hooks/useBreakpoint.js +0 -0
  1606. /package/es/{grid → grid-v4}/row.js +0 -0
  1607. /package/es/{grid → grid-v4}/style/rtl.less +0 -0
  1608. /package/lib/{grid → grid-v4}/RowContext.d.ts +0 -0
  1609. /package/lib/{grid → grid-v4}/col.d.ts +0 -0
  1610. /package/lib/{grid → grid-v4}/hooks/useBreakpoint.d.ts +0 -0
  1611. /package/lib/{grid → grid-v4}/row.d.ts +0 -0
  1612. /package/lib/{grid → grid-v4}/style/rtl.less +0 -0
@@ -1,41 +1,37 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.NoStyleItemContext = exports.NoFormStyle = exports.FormProvider = exports.FormItemPrefixContext = exports.FormItemInputContext = exports.FormContext = void 0;
8
8
  var _rcFieldForm = require("rc-field-form");
9
9
  var _omit = _interopRequireDefault(require("rc-util/lib/omit"));
10
- var React = _interopRequireWildcard(require("react"));
11
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
10
+ var _react = _interopRequireWildcard(require("react"));
11
+ var React = _react;
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; }
13
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
- var FormContext = React.createContext({
15
+ var FormContext = exports.FormContext = React.createContext({
15
16
  labelAlign: 'right',
16
17
  vertical: false,
17
18
  itemRef: function itemRef() {}
18
19
  });
19
- exports.FormContext = FormContext;
20
- var NoStyleItemContext = React.createContext(null);
21
- exports.NoStyleItemContext = NoStyleItemContext;
22
- var FormProvider = function FormProvider(props) {
20
+ var NoStyleItemContext = exports.NoStyleItemContext = React.createContext(null);
21
+ var FormProvider = exports.FormProvider = function FormProvider(props) {
23
22
  var providerProps = (0, _omit["default"])(props, ['prefixCls']);
24
23
  return React.createElement(_rcFieldForm.FormProvider, Object.assign({}, providerProps));
25
24
  };
26
- exports.FormProvider = FormProvider;
27
- var FormItemPrefixContext = React.createContext({
25
+ var FormItemPrefixContext = exports.FormItemPrefixContext = React.createContext({
28
26
  prefixCls: ''
29
27
  });
30
- exports.FormItemPrefixContext = FormItemPrefixContext;
31
- var FormItemInputContext = React.createContext({});
32
- exports.FormItemInputContext = FormItemInputContext;
33
- var NoFormStyle = function NoFormStyle(_ref) {
28
+ var FormItemInputContext = exports.FormItemInputContext = React.createContext({});
29
+ var NoFormStyle = exports.NoFormStyle = function NoFormStyle(_ref) {
34
30
  var children = _ref.children,
35
31
  status = _ref.status,
36
32
  override = _ref.override;
37
- var formItemInputContext = (0, React.useContext)(FormItemInputContext);
38
- var newFormItemInputContext = (0, React.useMemo)(function () {
33
+ var formItemInputContext = (0, _react.useContext)(FormItemInputContext);
34
+ var newFormItemInputContext = (0, _react.useMemo)(function () {
39
35
  var newContext = Object.assign({}, formItemInputContext);
40
36
  if (override) {
41
37
  delete newContext.isFormItemInput;
@@ -50,5 +46,4 @@ var NoFormStyle = function NoFormStyle(_ref) {
50
46
  return React.createElement(FormItemInputContext.Provider, {
51
47
  value: newFormItemInputContext
52
48
  }, children);
53
- };
54
- exports.NoFormStyle = NoFormStyle;
49
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/tntd-form/context.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAA8D;AAG9D,4DAAmC;AAEnC,6CAA8B;AAC9B,iCAA2C;AAsB9B,QAAA,WAAW,GAAG,KAAK,CAAC,aAAa,CAAmB;IAC/D,UAAU,EAAE,OAAO;IACnB,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,CAAC,GAAG,EAAE,GAAE,CAAC,CAAQ;CAC3B,CAAC,CAAA;AAIW,QAAA,kBAAkB,GAAG,KAAK,CAAC,aAAa,CAA0B,IAAI,CAAC,CAAA;AAO7E,MAAM,YAAY,GAAgC,CAAC,KAAK,EAAE,EAAE;IACjE,MAAM,aAAa,GAAG,IAAA,cAAI,EAAC,KAAK,EAAE,CAAC,WAAW,CAAC,CAAC,CAAA;IAChD,OAAO,oBAAC,4BAAc,oBAAK,aAAa,EAAI,CAAA;AAC9C,CAAC,CAAA;AAHY,QAAA,YAAY,gBAGxB;AAQY,QAAA,qBAAqB,GAAG,KAAK,CAAC,aAAa,CAA6B;IACnF,SAAS,EAAE,EAAE;CACd,CAAC,CAAA;AASW,QAAA,oBAAoB,GAAG,KAAK,CAAC,aAAa,CAA6B,EAAE,CAAC,CAAA;AAOhF,MAAM,WAAW,GAAyB,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClF,MAAM,oBAAoB,GAAG,IAAA,kBAAU,EAAC,4BAAoB,CAAC,CAAA;IAE7D,MAAM,uBAAuB,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;QAC3C,MAAM,UAAU,qBAAQ,oBAAoB,CAAE,CAAA;QAC9C,IAAI,QAAQ,EAAE;YACZ,OAAO,UAAU,CAAC,eAAe,CAAA;SAClC;QACD,IAAI,MAAM,EAAE;YACV,OAAO,UAAU,CAAC,MAAM,CAAA;YACxB,OAAO,UAAU,CAAC,WAAW,CAAA;YAC7B,OAAO,UAAU,CAAC,YAAY,CAAA;SAC/B;QACD,OAAO,UAAU,CAAA;IACnB,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,oBAAoB,CAAC,CAAC,CAAA;IAE5C,OAAO,CACL,oBAAC,4BAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,uBAAuB,IAC1D,QAAQ,CACqB,CACjC,CAAA;AACH,CAAC,CAAA;AArBY,QAAA,WAAW,eAqBvB","sourcesContent":["import { FormProvider as RcFormProvider } from 'rc-field-form'\nimport type { FormProviderProps as RcFormProviderProps } from 'rc-field-form/lib/FormContext'\nimport type { Meta } from 'rc-field-form/lib/interface'\nimport omit from 'rc-util/lib/omit'\nimport type { FC, PropsWithChildren, ReactNode } from 'react'\nimport * as React from 'react'\nimport { useContext, useMemo } from 'react'\nimport type { ColProps } from '../col'\nimport type { FormInstance, RequiredMark } from './Form'\nimport type { ValidateStatus } from './FormItem'\nimport type { FormLabelAlign } from './interface'\n\n/** Form Context. Set top form style and pass to Form Item usage. */\nexport interface FormContextProps {\n vertical: boolean\n name?: string\n colon?: boolean\n labelAlign?: FormLabelAlign\n labelWrap?: boolean\n labelCol?: ColProps\n wrapperCol?: ColProps\n requiredMark?: RequiredMark\n itemRef: (name: (string | number)[]) => (node: React.ReactElement) => void\n form?: FormInstance\n readonly?: boolean\n placeholder?: string | React.ReactNode\n}\n\nexport const FormContext = React.createContext<FormContextProps>({\n labelAlign: 'right',\n vertical: false,\n itemRef: (() => {}) as any,\n})\n\n/** `noStyle` Form Item Context. Used for error collection */\nexport type ReportMetaChange = (meta: Meta, uniqueKeys: React.Key[]) => void\nexport const NoStyleItemContext = React.createContext<ReportMetaChange | null>(null)\n\n/** Form Provider */\nexport interface FormProviderProps extends Omit<RcFormProviderProps, 'validateMessages'> {\n prefixCls?: string\n}\n\nexport const FormProvider: React.FC<FormProviderProps> = (props) => {\n const providerProps = omit(props, ['prefixCls'])\n return <RcFormProvider {...providerProps} />\n}\n\n/** Used for ErrorList only */\nexport interface FormItemPrefixContextProps {\n prefixCls: string\n status?: ValidateStatus\n}\n\nexport const FormItemPrefixContext = React.createContext<FormItemPrefixContextProps>({\n prefixCls: '',\n})\n\nexport interface FormItemStatusContextProps {\n isFormItemInput?: boolean\n status?: ValidateStatus\n hasFeedback?: boolean\n feedbackIcon?: ReactNode\n}\n\nexport const FormItemInputContext = React.createContext<FormItemStatusContextProps>({})\n\nexport type NoFormStyleProps = PropsWithChildren<{\n status?: boolean\n override?: boolean\n}>\n\nexport const NoFormStyle: FC<NoFormStyleProps> = ({ children, status, override }) => {\n const formItemInputContext = useContext(FormItemInputContext)\n\n const newFormItemInputContext = useMemo(() => {\n const newContext = { ...formItemInputContext }\n if (override) {\n delete newContext.isFormItemInput\n }\n if (status) {\n delete newContext.status\n delete newContext.hasFeedback\n delete newContext.feedbackIcon\n }\n return newContext\n }, [status, override, formItemInputContext])\n\n return (\n <FormItemInputContext.Provider value={newFormItemInputContext}>\n {children}\n </FormItemInputContext.Provider>\n )\n}\n"]}
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/tntd-form/context.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAA8D;AAG9D,4DAAmC;AAEnC,6CAA8B;AAC9B,iCAA2C;AAsB9B,QAAA,WAAW,GAAG,KAAK,CAAC,aAAa,CAAmB;IAC/D,UAAU,EAAE,OAAO;IACnB,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,CAAC,GAAG,EAAE,GAAE,CAAC,CAAQ;CAC3B,CAAC,CAAA;AAIW,QAAA,kBAAkB,GAAG,KAAK,CAAC,aAAa,CAA0B,IAAI,CAAC,CAAA;AAO7E,MAAM,YAAY,GAAgC,CAAC,KAAK,EAAE,EAAE;IACjE,MAAM,aAAa,GAAG,IAAA,cAAI,EAAC,KAAK,EAAE,CAAC,WAAW,CAAC,CAAC,CAAA;IAChD,OAAO,oBAAC,4BAAc,oBAAK,aAAa,EAAI,CAAA;AAC9C,CAAC,CAAA;AAHY,QAAA,YAAY,gBAGxB;AAQY,QAAA,qBAAqB,GAAG,KAAK,CAAC,aAAa,CAA6B;IACnF,SAAS,EAAE,EAAE;CACd,CAAC,CAAA;AASW,QAAA,oBAAoB,GAAG,KAAK,CAAC,aAAa,CAA6B,EAAE,CAAC,CAAA;AAOhF,MAAM,WAAW,GAAyB,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClF,MAAM,oBAAoB,GAAG,IAAA,kBAAU,EAAC,4BAAoB,CAAC,CAAA;IAE7D,MAAM,uBAAuB,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;QAC3C,MAAM,UAAU,qBAAQ,oBAAoB,CAAE,CAAA;QAC9C,IAAI,QAAQ,EAAE;YACZ,OAAO,UAAU,CAAC,eAAe,CAAA;SAClC;QACD,IAAI,MAAM,EAAE;YACV,OAAO,UAAU,CAAC,MAAM,CAAA;YACxB,OAAO,UAAU,CAAC,WAAW,CAAA;YAC7B,OAAO,UAAU,CAAC,YAAY,CAAA;SAC/B;QACD,OAAO,UAAU,CAAA;IACnB,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,oBAAoB,CAAC,CAAC,CAAA;IAE5C,OAAO,CACL,oBAAC,4BAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,uBAAuB,IAC1D,QAAQ,CACqB,CACjC,CAAA;AACH,CAAC,CAAA;AArBY,QAAA,WAAW,eAqBvB","sourcesContent":["import { FormProvider as RcFormProvider } from 'rc-field-form'\nimport type { FormProviderProps as RcFormProviderProps } from 'rc-field-form/lib/FormContext'\nimport type { Meta } from 'rc-field-form/lib/interface'\nimport omit from 'rc-util/lib/omit'\nimport type { FC, PropsWithChildren, ReactNode } from 'react'\nimport * as React from 'react'\nimport { useContext, useMemo } from 'react'\nimport type { ColProps } from '../grid-v4/col'\nimport type { FormInstance, RequiredMark } from './Form'\nimport type { ValidateStatus } from './FormItem'\nimport type { FormLabelAlign } from './interface'\n\n/** Form Context. Set top form style and pass to Form Item usage. */\nexport interface FormContextProps {\n vertical: boolean\n name?: string\n colon?: boolean\n labelAlign?: FormLabelAlign\n labelWrap?: boolean\n labelCol?: ColProps\n wrapperCol?: ColProps\n requiredMark?: RequiredMark\n itemRef: (name: (string | number)[]) => (node: React.ReactElement) => void\n form?: FormInstance\n readonly?: boolean\n placeholder?: string | React.ReactNode\n}\n\nexport const FormContext = React.createContext<FormContextProps>({\n labelAlign: 'right',\n vertical: false,\n itemRef: (() => {}) as any,\n})\n\n/** `noStyle` Form Item Context. Used for error collection */\nexport type ReportMetaChange = (meta: Meta, uniqueKeys: React.Key[]) => void\nexport const NoStyleItemContext = React.createContext<ReportMetaChange | null>(null)\n\n/** Form Provider */\nexport interface FormProviderProps extends Omit<RcFormProviderProps, 'validateMessages'> {\n prefixCls?: string\n}\n\nexport const FormProvider: React.FC<FormProviderProps> = (props) => {\n const providerProps = omit(props, ['prefixCls'])\n return <RcFormProvider {...providerProps} />\n}\n\n/** Used for ErrorList only */\nexport interface FormItemPrefixContextProps {\n prefixCls: string\n status?: ValidateStatus\n}\n\nexport const FormItemPrefixContext = React.createContext<FormItemPrefixContextProps>({\n prefixCls: '',\n})\n\nexport interface FormItemStatusContextProps {\n isFormItemInput?: boolean\n status?: ValidateStatus\n hasFeedback?: boolean\n feedbackIcon?: ReactNode\n}\n\nexport const FormItemInputContext = React.createContext<FormItemStatusContextProps>({})\n\nexport type NoFormStyleProps = PropsWithChildren<{\n status?: boolean\n override?: boolean\n}>\n\nexport const NoFormStyle: FC<NoFormStyleProps> = ({ children, status, override }) => {\n const formItemInputContext = useContext(FormItemInputContext)\n\n const newFormItemInputContext = useMemo(() => {\n const newContext = { ...formItemInputContext }\n if (override) {\n delete newContext.isFormItemInput\n }\n if (status) {\n delete newContext.status\n delete newContext.hasFeedback\n delete newContext.feedbackIcon\n }\n return newContext\n }, [status, override, formItemInputContext])\n\n return (\n <FormItemInputContext.Provider value={newFormItemInputContext}>\n {children}\n </FormItemInputContext.Provider>\n )\n}\n"]}
@@ -1,18 +1,18 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports["default"] = useDebounce;
8
8
  var React = _interopRequireWildcard(require("react"));
9
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
10
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
9
+ 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); }
10
+ 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; }
11
11
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
12
12
  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."); }
13
13
  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); }
14
- 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; }
15
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
14
+ function _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; }
15
+ 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; } }
16
16
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
17
17
  function useDebounce(value) {
18
18
  var _React$useState = React.useState(value),
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -10,13 +10,13 @@ var React = _interopRequireWildcard(require("react"));
10
10
  var _scrollIntoViewIfNeeded = _interopRequireDefault(require("scroll-into-view-if-needed"));
11
11
  var _util = require("../util");
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
14
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
+ 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); }
14
+ 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; }
15
15
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
16
16
  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."); }
17
17
  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); }
18
- 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; }
19
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
18
+ 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; }
19
+ 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; } }
20
20
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
21
21
  function toNamePathStr(name) {
22
22
  var namePath = (0, _util.toArray)(name);
@@ -16,5 +16,4 @@ var useFormItemStatus = function useFormItemStatus() {
16
16
  status: status
17
17
  };
18
18
  };
19
- var _default = useFormItemStatus;
20
- exports["default"] = _default;
19
+ var _default = exports["default"] = useFormItemStatus;
@@ -1,29 +1,30 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports["default"] = useFrameState;
8
8
  var _raf = _interopRequireDefault(require("rc-util/lib/raf"));
9
- var React = _interopRequireWildcard(require("react"));
10
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
9
+ var _react = _interopRequireWildcard(require("react"));
10
+ var React = _react;
11
+ 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); }
12
+ 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; }
12
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
14
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
14
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."); }
15
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); }
16
- 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; }
17
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
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; } }
18
19
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
19
20
  function useFrameState(defaultValue) {
20
21
  var _React$useState = React.useState(defaultValue),
21
22
  _React$useState2 = _slicedToArray(_React$useState, 2),
22
23
  value = _React$useState2[0],
23
24
  setValue = _React$useState2[1];
24
- var frameRef = (0, React.useRef)(null);
25
- var batchRef = (0, React.useRef)([]);
26
- var destroyRef = (0, React.useRef)(false);
25
+ var frameRef = (0, _react.useRef)(null);
26
+ var batchRef = (0, _react.useRef)([]);
27
+ var destroyRef = (0, _react.useRef)(false);
27
28
  React.useEffect(function () {
28
29
  destroyRef.current = false;
29
30
  return function () {
@@ -7,9 +7,9 @@ exports["default"] = useItemRef;
7
7
  var _ref = require("rc-util/lib/ref");
8
8
  var React = _interopRequireWildcard(require("react"));
9
9
  var _context = require("../context");
10
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
10
+ 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); }
11
+ 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; }
12
+ 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); }
13
13
  function useItemRef() {
14
14
  var _React$useContext = React.useContext(_context.FormContext),
15
15
  itemRef = _React$useContext.itemRef;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -12,8 +12,8 @@ var _FormItem = _interopRequireDefault(require("./FormItem"));
12
12
  var _FormList = _interopRequireDefault(require("./FormList"));
13
13
  var _useFormInstance = _interopRequireDefault(require("./hooks/useFormInstance"));
14
14
  require("./style/index.less");
15
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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
17
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
18
18
  var Form = _Form["default"];
19
19
  Form.Item = _FormItem["default"];
@@ -23,5 +23,4 @@ Form.useForm = _Form.useForm;
23
23
  Form.useFormInstance = _useFormInstance["default"];
24
24
  Form.useWatch = _Form.useWatch;
25
25
  Form.Provider = _context.FormProvider;
26
- var _default = Form;
27
- exports["default"] = _default;
26
+ var _default = exports["default"] = Form;
@@ -1,5 +1,5 @@
1
1
  import '../../style/index.less';
2
2
  import './index.less';
3
- import '../../grid/style';
3
+ import '../../grid-v4/style';
4
4
  import '../../tooltip/style';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tntd-form/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAGrB,OAAO,kBAAkB,CAAA;AACzB,OAAO,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tntd-form/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAGrB,OAAO,qBAAqB,CAAA;AAC5B,OAAO,qBAAqB,CAAA"}
@@ -2,5 +2,5 @@
2
2
 
3
3
  require("../../style/index.less");
4
4
  require("./index.less");
5
- require("../../grid/style");
5
+ require("../../grid-v4/style");
6
6
  require("../../tooltip/style");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tntd-form/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB;AAErB,qBAAqB;AACrB,4BAAyB;AACzB,+BAA4B","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../grid/style'\nimport '../../tooltip/style'\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tntd-form/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB;AAErB,qBAAqB;AACrB,+BAA4B;AAC5B,+BAA4B","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../grid-v4/style'\nimport '../../tooltip/style'\n"]}
@@ -98,7 +98,7 @@
98
98
 
99
99
  &-wrap {
100
100
  overflow: unset;
101
- line-height: (@line-height-base - 0.25em);
101
+ line-height: calc(@line-height-base - 0.25em);
102
102
  white-space: unset;
103
103
  }
104
104
 
@@ -151,20 +151,20 @@
151
151
  .@{ant-prefix}-picker {
152
152
  .@{form-prefix-cls}-rtl & {
153
153
  padding-right: @input-padding-horizontal-base;
154
- padding-left: @input-padding-horizontal-base + @font-size-base * 1.3;
154
+ padding-left: calc(@input-padding-horizontal-base + @font-size-base * 1.3);
155
155
  }
156
156
 
157
157
  &-large {
158
158
  .@{form-prefix-cls}-rtl & {
159
159
  padding-right: @input-padding-horizontal-lg;
160
- padding-left: @input-padding-horizontal-lg + @font-size-base * 1.3;
160
+ padding-left: calc(@input-padding-horizontal-lg + @font-size-base * 1.3);
161
161
  }
162
162
  }
163
163
 
164
164
  &-small {
165
165
  .@{form-prefix-cls}-rtl & {
166
166
  padding-right: @input-padding-horizontal-sm;
167
- padding-left: @input-padding-horizontal-sm + @font-size-base * 1.3;
167
+ padding-left: calc(@input-padding-horizontal-sm + @font-size-base * 1.3);
168
168
  }
169
169
  }
170
170
  }
@@ -8,5 +8,4 @@ var _react = require("react");
8
8
  // ZombieJ: We export single file here since
9
9
  // ConfigProvider use this which will make loop deps
10
10
  // to import whole `rc-field-form`
11
- var _default = (0, _react.createContext)(undefined);
12
- exports["default"] = _default;
11
+ var _default = exports["default"] = (0, _react.createContext)(undefined);
@@ -4,6 +4,7 @@ declare function _default({ type, prefix, className, ...props }: {
4
4
  type: any;
5
5
  prefix?: string | undefined;
6
6
  className?: string | undefined;
7
- }): JSX.Element;
7
+ }): React.JSX.Element;
8
8
  export default _default;
9
+ import React from "react";
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tntd-icon/index.js"],"names":[],"mappings":";AAOe;;;;;gBAQd"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tntd-icon/index.js"],"names":[],"mappings":";AAOe;;;;;sBAQd"}
@@ -17,15 +17,13 @@ var _iconList = _interopRequireDefault(require("../icon-list"));
17
17
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
18
18
  var __rest = void 0 && (void 0).__rest || function (s, e) {
19
19
  var t = {};
20
- for (var p in s) {
21
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
22
- }
20
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
23
21
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
24
22
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
25
23
  }
26
24
  return t;
27
25
  };
28
- var _default = function _default(_a) {
26
+ var _default = exports["default"] = function _default(_a) {
29
27
  var type = _a.type,
30
28
  _a$prefix = _a.prefix,
31
29
  prefix = _a$prefix === void 0 ? 'tnt-' : _a$prefix,
@@ -40,5 +38,4 @@ var _default = function _default(_a) {
40
38
  }, _react["default"].createElement("use", {
41
39
  xlinkHref: "#".concat(prefix).concat(type)
42
40
  })));
43
- };
44
- exports["default"] = _default;
41
+ };
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _react = require("react");
8
8
  // import createActions from './createActions';
9
- var _default = (0, _react.createContext)({});
10
- exports["default"] = _default;
9
+ var _default = exports["default"] = (0, _react.createContext)({});
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -21,14 +21,14 @@ var _templateObject,
21
21
  _templateObject3,
22
22
  _templateObject4,
23
23
  _this = void 0;
24
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
25
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
27
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
28
28
  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."); }
29
29
  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); }
30
- 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; }
31
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
30
+ 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; }
31
+ 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; } }
32
32
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
33
33
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
34
34
  var Option = _select["default"].Option;
@@ -43,7 +43,7 @@ var SwitchAppMenu = _styledComponents["default"].a(_templateObject4 || (_templat
43
43
  }, function (props) {
44
44
  return "".concat(props.theme.size === 'large' ? 16 : 14, "px");
45
45
  });
46
- var _default = (0, _styledComponents.withTheme)(function (props) {
46
+ var _default = exports["default"] = (0, _styledComponents.withTheme)(function (props) {
47
47
  var selectedKey = props.selectedKey,
48
48
  _props$items = props.items,
49
49
  items = _props$items === void 0 ? [] : _props$items,
@@ -179,5 +179,4 @@ var _default = (0, _styledComponents.withTheme)(function (props) {
179
179
  }, _react["default"].createElement(SwitchAppMenu, null, _react["default"].createElement("span", null, (0, _get2["default"])(selectedApp, 'name', '请选择')), _react["default"].createElement(_tntdIcon["default"], {
180
180
  type: "caret-down"
181
181
  })));
182
- });
183
- exports["default"] = _default;
182
+ });
@@ -1,3 +1,4 @@
1
- declare function _default(props: any): JSX.Element;
1
+ declare function _default(props: any): React.JSX.Element;
2
2
  export default _default;
3
+ import React from "react";
3
4
  //# sourceMappingURL=Application.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Application.d.ts","sourceRoot":"","sources":["../../src/tntd-layout/Application.js"],"names":[],"mappings":"AAoHe,mDAWd"}
1
+ {"version":3,"file":"Application.d.ts","sourceRoot":"","sources":["../../src/tntd-layout/Application.js"],"names":[],"mappings":"AAoHe,yDAWd"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -18,14 +18,14 @@ var _templateObject,
18
18
  _templateObject3,
19
19
  _templateObject4,
20
20
  _this = void 0;
21
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
22
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
+ 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); }
22
+ 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; }
23
23
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
24
24
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
25
25
  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."); }
26
26
  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); }
27
- 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; }
28
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
27
+ 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; }
28
+ 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; } }
29
29
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
30
30
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
31
31
  var App = _styledComponents["default"].li(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-left: 20px;\n font-size: 20px;\n cursor: pointer;\n .tnt-icon {\n color: #17233d99;\n .tnt-themeS1 & {\n color: rgba(255, 255, 255, 0.85);\n }\n }\n"])));
@@ -66,7 +66,7 @@ var AppContent = function AppContent(props) {
66
66
  }[language || 'cn']), key)));
67
67
  })));
68
68
  };
69
- var _default = function _default(props) {
69
+ var _default = exports["default"] = function _default(props) {
70
70
  return _react["default"].createElement(App, null, _react["default"].createElement(_popover["default"], {
71
71
  placement: "bottomRight",
72
72
  title: null,
@@ -75,5 +75,4 @@ var _default = function _default(props) {
75
75
  }, _react["default"].createElement(_Iconfont["default"], {
76
76
  type: "application"
77
77
  })));
78
- };
79
- exports["default"] = _default;
78
+ };
@@ -1,3 +1,4 @@
1
- declare function _default(props: any): JSX.Element;
1
+ declare function _default(props: any): React.JSX.Element;
2
2
  export default _default;
3
+ import React from "react";
3
4
  //# sourceMappingURL=Avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../src/tntd-layout/Avatar.js"],"names":[],"mappings":"AAgIe,mDA8Bd"}
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../src/tntd-layout/Avatar.js"],"names":[],"mappings":"AAgIe,yDA8Bd"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -16,8 +16,8 @@ var _ActionsContext = _interopRequireDefault(require("./ActionsContext"));
16
16
  var _images = _interopRequireDefault(require("./images"));
17
17
  var _storage = require("./storage");
18
18
  var _templateObject, _templateObject2, _templateObject3;
19
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
20
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
+ 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); }
20
+ 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; }
21
21
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
22
22
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
23
23
  var Avatar = _styledComponents["default"].li(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-right: 0;\n font-size: 0;\n img {\n width: 26px;\n height: 26px;\n border-radius: 50%;\n cursor: pointer;\n .large-size & {\n width: 32px;\n height: 32px;\n }\n }\n"])));
@@ -81,7 +81,7 @@ var UserInfoContent = function UserInfoContent(props) {
81
81
  }
82
82
  }, getText('signOut'))));
83
83
  };
84
- var _default = function _default(props) {
84
+ var _default = exports["default"] = function _default(props) {
85
85
  var _a;
86
86
  var _props$userInfo = props.userInfo,
87
87
  userInfo = _props$userInfo === void 0 ? {} : _props$userInfo;
@@ -102,5 +102,4 @@ var _default = function _default(props) {
102
102
  }) : _react["default"].createElement("img", {
103
103
  src: ((_a = _images["default"].empty) === null || _a === void 0 ? void 0 : _a["default"]) || _images["default"].empty
104
104
  })), _react["default"].createElement(GlobalStyle, null));
105
- };
106
- exports["default"] = _default;
105
+ };
@@ -1,3 +1,4 @@
1
- declare function _default(props: any): JSX.Element | null;
1
+ declare function _default(props: any): React.JSX.Element | null;
2
2
  export default _default;
3
+ import React from "react";
3
4
  //# sourceMappingURL=CompatibleLanguage.d.ts.map