tntd 2.8.0-beta.2 → 2.8.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1518) 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 +51 -0
  42. package/es/button/index.js +1 -1
  43. package/es/button/index.js.map +1 -1
  44. package/es/button/style/index.js +2 -0
  45. package/es/button/style/index.js.map +1 -0
  46. package/es/button/style/index.less +224 -0
  47. package/es/button/style/mixin.less +357 -0
  48. package/es/calendar/index.js +1 -1
  49. package/es/calendar/index.js.map +1 -1
  50. package/es/calendar/style/index.js +5 -0
  51. package/es/calendar/style/index.js.map +1 -0
  52. package/es/calendar/style/index.less +278 -0
  53. package/es/card/index.js +1 -1
  54. package/es/card/index.js.map +1 -1
  55. package/es/card/style/index.js +6 -0
  56. package/es/card/style/index.js.map +1 -0
  57. package/es/card/style/index.less +263 -0
  58. package/es/card/style/size.less +25 -0
  59. package/es/carousel/index.js +1 -1
  60. package/es/carousel/index.js.map +1 -1
  61. package/es/carousel/style/index.js +2 -0
  62. package/es/carousel/style/index.js.map +1 -0
  63. package/es/carousel/style/index.less +238 -0
  64. package/es/cascader/index.js +1 -1
  65. package/es/cascader/index.js.map +1 -1
  66. package/es/cascader/style/index.js +5 -0
  67. package/es/cascader/style/index.js.map +1 -0
  68. package/es/cascader/style/index.less +227 -0
  69. package/es/checkbox/index.js +1 -1
  70. package/es/checkbox/index.js.map +1 -1
  71. package/es/checkbox/style/index.js +2 -0
  72. package/es/checkbox/style/index.js.map +1 -0
  73. package/es/checkbox/style/index.less +4 -0
  74. package/es/checkbox/style/mixin.less +220 -0
  75. package/es/col/index.js +1 -1
  76. package/es/col/index.js.map +1 -1
  77. package/es/col/style/index.js +4 -0
  78. package/es/col/style/index.js.map +1 -0
  79. package/es/collapse/index.js +1 -1
  80. package/es/collapse/index.js.map +1 -1
  81. package/es/collapse/style/index.js +2 -0
  82. package/es/collapse/style/index.js.map +1 -0
  83. package/es/collapse/style/index.less +134 -0
  84. package/es/color-picker/ColorPicker.js +4 -2
  85. package/es/color-picker/ColorPicker.js.map +1 -1
  86. package/es/color-picker/index.less +21 -7
  87. package/es/comment/index.js +1 -1
  88. package/es/comment/index.js.map +1 -1
  89. package/es/comment/style/index.js +2 -0
  90. package/es/comment/style/index.js.map +1 -0
  91. package/es/comment/style/index.less +93 -0
  92. package/es/config-provider/index.js +1 -1
  93. package/es/config-provider/index.js.map +1 -1
  94. package/es/config-provider/style/index.js +1 -0
  95. package/es/config-provider/style/index.js.map +1 -0
  96. package/es/config-provider/style/index.less +2 -0
  97. package/es/date-picker/index.js +1 -1
  98. package/es/date-picker/index.js.map +1 -1
  99. package/es/date-picker/style/Calendar.less +402 -0
  100. package/es/date-picker/style/DecadePanel.less +81 -0
  101. package/es/date-picker/style/MonthPanel.less +86 -0
  102. package/es/date-picker/style/MonthPicker.less +11 -0
  103. package/es/date-picker/style/Picker.less +113 -0
  104. package/es/date-picker/style/RangePicker.less +248 -0
  105. package/es/date-picker/style/TimePicker.less +151 -0
  106. package/es/date-picker/style/WeekPicker.less +21 -0
  107. package/es/date-picker/style/YearPanel.less +85 -0
  108. package/es/date-picker/style/index.js +7 -0
  109. package/es/date-picker/style/index.js.map +1 -0
  110. package/es/date-picker/style/index.less +17 -0
  111. package/es/descriptions/descriptions.js +40 -26
  112. package/es/descriptions/descriptions.js.map +1 -1
  113. package/es/descriptions/descriptions.less +104 -16
  114. package/es/descriptions/index.js +1 -1
  115. package/es/descriptions/index.js.map +1 -1
  116. package/es/descriptions/style/index.js +2 -0
  117. package/es/descriptions/style/index.js.map +1 -0
  118. package/es/descriptions/style/index.less +144 -0
  119. package/es/divider/index.js +1 -1
  120. package/es/divider/index.js.map +1 -1
  121. package/es/divider/style/index.js +2 -0
  122. package/es/divider/style/index.js.map +1 -0
  123. package/es/divider/style/index.less +109 -0
  124. package/es/drawer/drawer.less +1 -1
  125. package/es/drawer/index.js +1 -1
  126. package/es/drawer/index.js.map +1 -1
  127. package/es/drawer/style/drawer.less +230 -0
  128. package/es/drawer/style/index.js +3 -0
  129. package/es/drawer/style/index.js.map +1 -0
  130. package/es/drawer/style/index.less +3 -0
  131. package/es/dropdown/index.js +1 -1
  132. package/es/dropdown/index.js.map +1 -1
  133. package/es/dropdown/style/index.js +4 -0
  134. package/es/dropdown/style/index.js.map +1 -0
  135. package/es/dropdown/style/index.less +282 -0
  136. package/es/empty/index.js +1 -1
  137. package/es/empty/index.js.map +1 -1
  138. package/es/empty/style/index.js +2 -0
  139. package/es/empty/style/index.js.map +1 -0
  140. package/es/empty/style/index.less +52 -0
  141. package/es/form/index.js +1 -1
  142. package/es/form/index.js.map +1 -1
  143. package/es/form/style/index.js +4 -0
  144. package/es/form/style/index.js.map +1 -0
  145. package/es/form/style/index.less +653 -0
  146. package/es/form/style/mixin.less +126 -0
  147. package/es/grid/index.js +3 -13
  148. package/es/grid/index.js.map +1 -1
  149. package/es/grid/style/index.js +1 -1
  150. package/es/grid/style/index.js.map +1 -1
  151. package/es/grid/style/index.less +24 -26
  152. package/es/grid/style/mixin.less +63 -19
  153. package/es/grid-v4/RowContext.js.map +1 -0
  154. package/es/grid-v4/col.js.map +1 -0
  155. package/es/grid-v4/hooks/useBreakpoint.js.map +1 -0
  156. package/es/grid-v4/index.js +14 -0
  157. package/es/grid-v4/index.js.map +1 -0
  158. package/{lib/grid → es/grid-v4}/row.js.map +1 -1
  159. package/es/grid-v4/style/index.js +2 -0
  160. package/es/grid-v4/style/index.js.map +1 -0
  161. package/es/grid-v4/style/index.less +124 -0
  162. package/es/grid-v4/style/mixin.less +57 -0
  163. package/es/icon/style/index.js +2 -0
  164. package/es/icon/style/index.js.map +1 -0
  165. package/es/icon/style/index.less +4 -0
  166. package/es/icon-old/index.js +4 -0
  167. package/es/icon-old/index.js.map +1 -0
  168. package/es/icon-old/style/index.js +2 -0
  169. package/es/icon-old/style/index.js.map +1 -0
  170. package/es/icon-old/style/index.less +4 -0
  171. package/es/index.js +3 -2
  172. package/es/index.js.map +1 -1
  173. package/es/input/index.js +1 -1
  174. package/es/input/index.js.map +1 -1
  175. package/es/input/style/index.js +4 -0
  176. package/es/input/style/index.js.map +1 -0
  177. package/es/input/style/index.less +57 -0
  178. package/es/input/style/mixin.less +449 -0
  179. package/es/input/style/search-input.less +34 -0
  180. package/es/input-number/index.js +1 -1
  181. package/es/input-number/index.js.map +1 -1
  182. package/es/input-number/style/index.js +2 -0
  183. package/es/input-number/style/index.js.map +1 -0
  184. package/es/input-number/style/index.less +179 -0
  185. package/es/layout/index.js +1 -1
  186. package/es/layout/index.js.map +1 -1
  187. package/es/layout/style/index.js +2 -0
  188. package/es/layout/style/index.js.map +1 -0
  189. package/es/layout/style/index.less +124 -0
  190. package/es/layout/style/light.less +15 -0
  191. package/es/list/index.js +1 -1
  192. package/es/list/index.js.map +1 -1
  193. package/es/list/style/bordered.less +41 -0
  194. package/es/list/style/index.js +7 -0
  195. package/es/list/style/index.js.map +1 -0
  196. package/es/list/style/index.less +234 -0
  197. package/es/list/style/responsive.less +40 -0
  198. package/es/locale-provider/index.js +1 -1
  199. package/es/locale-provider/index.js.map +1 -1
  200. package/es/locale-provider/style/index.js +1 -0
  201. package/es/locale-provider/style/index.js.map +1 -0
  202. package/es/locale-provider/style/index.less +2 -0
  203. package/es/mentions/index.js +1 -1
  204. package/es/mentions/index.js.map +1 -1
  205. package/es/mentions/style/index.js +4 -0
  206. package/es/mentions/style/index.js.map +1 -0
  207. package/es/mentions/style/index.less +164 -0
  208. package/es/menu/index.js +1 -1
  209. package/es/menu/index.js.map +1 -1
  210. package/es/menu/style/dark.less +139 -0
  211. package/es/menu/style/index.js +5 -0
  212. package/es/menu/style/index.js.map +1 -0
  213. package/es/menu/style/index.less +515 -0
  214. package/es/message/index.js +1 -1
  215. package/es/message/index.js.map +1 -1
  216. package/es/message/style/index.js +2 -0
  217. package/es/message/style/index.js.map +1 -0
  218. package/es/message/style/index.less +75 -0
  219. package/es/modal/index.js +1 -1
  220. package/es/modal/index.js.map +1 -1
  221. package/es/modal/modal.js +51 -9
  222. package/es/modal/modal.js.map +1 -1
  223. package/es/modal/modal.less +13 -32
  224. package/es/modal/style/confirm.less +96 -0
  225. package/es/modal/style/index.js +4 -0
  226. package/es/modal/style/index.js.map +1 -0
  227. package/es/modal/style/index.less +4 -0
  228. package/es/modal/style/modal.less +165 -0
  229. package/es/notification/index.js +1 -1
  230. package/es/notification/index.js.map +1 -1
  231. package/es/notification/style/index.js +2 -0
  232. package/es/notification/style/index.js.map +1 -0
  233. package/es/notification/style/index.less +199 -0
  234. package/es/page/index.js +0 -1
  235. package/es/page-header/index.js +1 -1
  236. package/es/page-header/index.js.map +1 -1
  237. package/es/page-header/style/index.js +4 -0
  238. package/es/page-header/style/index.js.map +1 -0
  239. package/es/page-header/style/index.less +119 -0
  240. package/es/pagination/index.js +1 -1
  241. package/es/pagination/index.js.map +1 -1
  242. package/es/pagination/style/index.js +4 -0
  243. package/es/pagination/style/index.js.map +1 -0
  244. package/es/pagination/style/index.less +400 -0
  245. package/es/popconfirm/index.js +1 -1
  246. package/es/popconfirm/index.js.map +1 -1
  247. package/es/popconfirm/style/index.js +5 -0
  248. package/es/popconfirm/style/index.js.map +1 -0
  249. package/es/popover/index.js +1 -1
  250. package/es/popover/index.js.map +1 -1
  251. package/es/popover/style/index.js +4 -0
  252. package/es/popover/style/index.js.map +1 -0
  253. package/es/popover/style/index.less +205 -0
  254. package/es/progress/index.js +1 -1
  255. package/es/progress/index.js.map +1 -1
  256. package/es/progress/style/index.js +2 -0
  257. package/es/progress/style/index.js.map +1 -0
  258. package/es/progress/style/index.less +182 -0
  259. package/es/radio/index.js +1 -1
  260. package/es/radio/index.js.map +1 -1
  261. package/es/radio/style/index.js +2 -0
  262. package/es/radio/style/index.js.map +1 -0
  263. package/es/radio/style/index.less +327 -0
  264. package/es/rate/index.js +1 -1
  265. package/es/rate/index.js.map +1 -1
  266. package/es/rate/style/index.js +4 -0
  267. package/es/rate/style/index.js.map +1 -0
  268. package/es/rate/style/index.less +85 -0
  269. package/es/result/index.js +1 -1
  270. package/es/result/index.js.map +1 -1
  271. package/es/result/style/index.js +2 -0
  272. package/es/result/style/index.js.map +1 -0
  273. package/es/result/style/index.less +71 -0
  274. package/es/row/index.js +1 -1
  275. package/es/row/index.js.map +1 -1
  276. package/es/row/style/index.js +4 -0
  277. package/es/row/style/index.js.map +1 -0
  278. package/es/select/index.js +1 -1
  279. package/es/select/index.js.map +1 -1
  280. package/es/select/style/index.js +4 -0
  281. package/es/select/style/index.js.map +1 -0
  282. package/es/select/style/index.less +604 -0
  283. package/es/skeleton/index.js +1 -1
  284. package/es/skeleton/index.js.map +1 -1
  285. package/es/skeleton/style/index.js +2 -0
  286. package/es/skeleton/style/index.js.map +1 -0
  287. package/es/skeleton/style/index.less +130 -0
  288. package/es/slider/index.js +1 -1
  289. package/es/slider/index.js.map +1 -1
  290. package/es/slider/style/index.js +4 -0
  291. package/es/slider/style/index.js.map +1 -0
  292. package/es/slider/style/index.less +197 -0
  293. package/es/spin/index.js +1 -1
  294. package/es/spin/index.js.map +1 -1
  295. package/es/spin/style/index.js +2 -0
  296. package/es/spin/style/index.js.map +1 -0
  297. package/es/spin/style/index.less +214 -0
  298. package/es/statistic/index.js +1 -1
  299. package/es/statistic/index.js.map +1 -1
  300. package/es/statistic/style/index.js +2 -0
  301. package/es/statistic/style/index.js.map +1 -0
  302. package/es/statistic/style/index.less +40 -0
  303. package/es/steps/index.js +2 -1
  304. package/es/steps/index.js.map +1 -1
  305. package/es/steps/stepStyle/index.less +12 -0
  306. package/es/steps/stepStyle/nav.less +281 -0
  307. package/es/steps/stepStyle/small.less +5 -0
  308. package/es/steps/steps.js +6 -6
  309. package/es/steps/steps.js.map +1 -1
  310. package/es/steps/style/compatibility.less +50 -0
  311. package/es/steps/style/custom-icon.less +31 -0
  312. package/es/steps/style/index.js +2 -0
  313. package/es/steps/style/index.js.map +1 -0
  314. package/es/steps/style/index.less +241 -6
  315. package/es/steps/style/label-placement.less +38 -0
  316. package/es/steps/style/nav.less +96 -247
  317. package/es/steps/style/progress-dot.less +80 -0
  318. package/es/steps/style/small.less +43 -3
  319. package/es/steps/style/vertical.less +74 -0
  320. package/es/style/color/bezierEasing.less +110 -0
  321. package/es/style/color/colorPalette.less +75 -0
  322. package/es/style/color/colors.less +149 -0
  323. package/es/style/color/tinyColor.less +1184 -0
  324. package/es/style/core/base.less +510 -0
  325. package/es/style/core/iconfont.less +19 -0
  326. package/es/style/core/index.less +4 -0
  327. package/es/style/core/motion/fade.less +31 -0
  328. package/es/style/core/motion/move.less +120 -0
  329. package/es/style/core/motion/other.less +40 -0
  330. package/es/style/core/motion/slide.less +120 -0
  331. package/es/style/core/motion/swing.less +34 -0
  332. package/es/style/core/motion/zoom.less +162 -0
  333. package/es/style/core/motion.less +20 -0
  334. package/es/style/index.js +1 -0
  335. package/es/style/index.js.map +1 -0
  336. package/es/style/index.less +2 -0
  337. package/es/style/mixins/clearfix.less +13 -0
  338. package/es/style/mixins/compatibility.less +22 -0
  339. package/es/style/mixins/iconfont.less +43 -0
  340. package/es/style/mixins/index.less +10 -0
  341. package/es/style/mixins/motion.less +35 -0
  342. package/es/style/mixins/operation-unit.less +18 -0
  343. package/es/style/mixins/reset.less +13 -0
  344. package/es/style/mixins/size.less +10 -0
  345. package/es/style/mixins/typography.less +49 -0
  346. package/es/style/themes/default.less +699 -0
  347. package/es/style/themes/index.less +1 -0
  348. package/es/style/v2-compatible-reset.js +1 -0
  349. package/es/style/v2-compatible-reset.js.map +1 -0
  350. package/es/style/v2-compatible-reset.less +51 -0
  351. package/es/switch/style/index.js +2 -0
  352. package/es/switch/style/index.js.map +1 -0
  353. package/es/switch/style/index.less +178 -0
  354. package/es/switch/switch.js +1 -1
  355. package/es/switch/switch.js.map +1 -1
  356. package/es/table/index.js +1 -1
  357. package/es/table/index.js.map +1 -1
  358. package/es/table/style/index.js +10 -0
  359. package/es/table/style/index.js.map +1 -0
  360. package/es/table/style/index.less +800 -0
  361. package/es/table/style/size.less +179 -0
  362. package/es/table/table.js +0 -1
  363. package/es/tabs/index.js +1 -1
  364. package/es/tabs/index.js.map +1 -1
  365. package/es/tabs/style/card-style.less +186 -0
  366. package/es/tabs/style/index.js +2 -0
  367. package/es/tabs/style/index.js.map +1 -0
  368. package/es/tabs/style/index.less +436 -0
  369. package/es/tag/index.js +1 -1
  370. package/es/tag/index.js.map +1 -1
  371. package/es/tag/style/index.js +2 -0
  372. package/es/tag/style/index.js.map +1 -0
  373. package/es/tag/style/index.less +106 -0
  374. package/es/time-picker/index.js +1 -1
  375. package/es/time-picker/index.js.map +1 -1
  376. package/es/time-picker/style/index.js +2 -0
  377. package/es/time-picker/style/index.js.map +1 -0
  378. package/es/time-picker/style/index.less +246 -0
  379. package/es/timeline/index.js +1 -1
  380. package/es/timeline/index.js.map +1 -1
  381. package/es/timeline/style/index.js +2 -0
  382. package/es/timeline/style/index.js.map +1 -0
  383. package/es/timeline/style/index.less +167 -0
  384. package/es/tntd-action/index.js +7 -0
  385. package/es/tntd-action/index.js.map +1 -0
  386. package/es/tntd-cascader/rc-cascader/OptionList/index.js +0 -1
  387. package/es/tntd-cascader/rc-cascader/OptionList/useActive.js +0 -1
  388. package/es/tntd-form/Form.js.map +1 -1
  389. package/es/tntd-form/FormItem/ItemHolder.js +1 -1
  390. package/es/tntd-form/FormItem/ItemHolder.js.map +1 -1
  391. package/es/tntd-form/FormItemInput.js +1 -1
  392. package/es/tntd-form/FormItemInput.js.map +1 -1
  393. package/es/tntd-form/FormItemLabel.js +1 -1
  394. package/es/tntd-form/FormItemLabel.js.map +1 -1
  395. package/es/tntd-form/context.js.map +1 -1
  396. package/es/tntd-form/style/index.js +1 -1
  397. package/es/tntd-form/style/index.js.map +1 -1
  398. package/es/tntd-form/style/index.less +1 -1
  399. package/es/tntd-form/style/rtl.less +3 -3
  400. package/es/tntd-layout/index.js +0 -1
  401. package/es/tntd-rc-select/style/index.less +844 -740
  402. package/es/tntd-select/index.js +0 -1
  403. package/es/tooltip/index.js +1 -1
  404. package/es/tooltip/index.js.map +1 -1
  405. package/es/tooltip/style/index.js +2 -0
  406. package/es/tooltip/style/index.js.map +1 -0
  407. package/es/tooltip/style/index.less +187 -0
  408. package/es/transfer/index.js +1 -1
  409. package/es/transfer/index.js.map +1 -1
  410. package/es/transfer/style/customize.less +62 -0
  411. package/es/transfer/style/index.js +7 -0
  412. package/es/transfer/style/index.js.map +1 -0
  413. package/es/transfer/style/index.less +191 -0
  414. package/es/tree/index.js +1 -1
  415. package/es/tree/index.js.map +1 -1
  416. package/es/tree/style/directory.less +95 -0
  417. package/es/tree/style/index.js +2 -0
  418. package/es/tree/style/index.js.map +1 -0
  419. package/es/tree/style/index.less +280 -0
  420. package/es/tree/style/mixin.less +29 -0
  421. package/es/tree-select/index.js +1 -1
  422. package/es/tree-select/index.js.map +1 -1
  423. package/es/tree-select/style/index.js +6 -0
  424. package/es/tree-select/style/index.js.map +1 -0
  425. package/es/tree-select/style/index.less +191 -0
  426. package/es/typography/index.js +1 -1
  427. package/es/typography/index.js.map +1 -1
  428. package/es/typography/style/index.js +5 -0
  429. package/es/typography/style/index.js.map +1 -0
  430. package/es/typography/style/index.less +204 -0
  431. package/es/upload/index.js +1 -1
  432. package/es/upload/index.js.map +1 -1
  433. package/es/upload/style/index.js +5 -0
  434. package/es/upload/style/index.js.map +1 -0
  435. package/es/upload/style/index.less +542 -0
  436. package/es/version/index.js +1 -1
  437. package/es/version/index.js.map +1 -1
  438. package/es/version/style/index.js +2 -0
  439. package/es/version/style/index.js.map +1 -0
  440. package/lib/_util/context.js +3 -6
  441. package/lib/_util/defaultRenderEmpty.d.ts +2 -2
  442. package/lib/_util/defaultRenderEmpty.d.ts.map +1 -1
  443. package/lib/_util/defaultRenderEmpty.js +4 -5
  444. package/lib/_util/hooks/useFlexGapSupport.js +7 -8
  445. package/lib/_util/hooks/useForceUpdate.js +5 -5
  446. package/lib/_util/motion.js +3 -6
  447. package/lib/_util/reactNode.js +4 -5
  448. package/lib/_util/responsiveObserve.js +6 -9
  449. package/lib/_util/styleChecker.js +3 -5
  450. package/lib/_util/type.js +3 -5
  451. package/lib/_util/warning.js +5 -6
  452. package/lib/actions/index.js +1 -2
  453. package/lib/affix/index.d.ts +1 -1
  454. package/lib/affix/index.d.ts.map +1 -1
  455. package/lib/affix/index.js +5 -6
  456. package/lib/affix/index.js.map +1 -1
  457. package/lib/affix/style/index.d.ts +3 -0
  458. package/lib/affix/style/index.d.ts.map +1 -0
  459. package/lib/affix/style/index.js +4 -0
  460. package/lib/affix/style/index.js.map +1 -0
  461. package/lib/affix/style/index.less +6 -0
  462. package/lib/alert/index.d.ts +1 -1
  463. package/lib/alert/index.d.ts.map +1 -1
  464. package/lib/alert/index.js +5 -6
  465. package/lib/alert/index.js.map +1 -1
  466. package/lib/alert/style/index.d.ts +3 -0
  467. package/lib/alert/style/index.d.ts.map +1 -0
  468. package/lib/alert/style/index.js +4 -0
  469. package/lib/alert/style/index.js.map +1 -0
  470. package/lib/alert/style/index.less +188 -0
  471. package/lib/anchor/index.d.ts +1 -1
  472. package/lib/anchor/index.d.ts.map +1 -1
  473. package/lib/anchor/index.js +5 -6
  474. package/lib/anchor/index.js.map +1 -1
  475. package/lib/anchor/style/index.d.ts +4 -0
  476. package/lib/anchor/style/index.d.ts.map +1 -0
  477. package/lib/anchor/style/index.js +5 -0
  478. package/lib/anchor/style/index.js.map +1 -0
  479. package/lib/anchor/style/index.less +82 -0
  480. package/lib/array-input/icon.d.ts +3 -2
  481. package/lib/array-input/icon.d.ts.map +1 -1
  482. package/lib/array-input/icon.js +3 -5
  483. package/lib/array-input/index.d.ts +2 -1
  484. package/lib/array-input/index.d.ts.map +1 -1
  485. package/lib/array-input/index.js +8 -10
  486. package/lib/auth-context/index.js +2 -3
  487. package/lib/auto-complete/index.d.ts +1 -1
  488. package/lib/auto-complete/index.d.ts.map +1 -1
  489. package/lib/auto-complete/index.js +5 -6
  490. package/lib/auto-complete/index.js.map +1 -1
  491. package/lib/auto-complete/style/index.d.ts +5 -0
  492. package/lib/auto-complete/style/index.d.ts.map +1 -0
  493. package/lib/auto-complete/style/index.js +6 -0
  494. package/lib/auto-complete/style/index.js.map +1 -0
  495. package/lib/auto-complete/style/index.less +92 -0
  496. package/lib/avatar/index.d.ts +1 -1
  497. package/lib/avatar/index.d.ts.map +1 -1
  498. package/lib/avatar/index.js +5 -6
  499. package/lib/avatar/index.js.map +1 -1
  500. package/lib/avatar/style/index.d.ts +3 -0
  501. package/lib/avatar/style/index.d.ts.map +1 -0
  502. package/lib/avatar/style/index.js +4 -0
  503. package/lib/avatar/style/index.js.map +1 -0
  504. package/lib/avatar/style/index.less +59 -0
  505. package/lib/back-top/index.d.ts +1 -1
  506. package/lib/back-top/index.d.ts.map +1 -1
  507. package/lib/back-top/index.js +5 -6
  508. package/lib/back-top/index.js.map +1 -1
  509. package/lib/back-top/style/index.d.ts +3 -0
  510. package/lib/back-top/style/index.d.ts.map +1 -0
  511. package/lib/back-top/style/index.js +4 -0
  512. package/lib/back-top/style/index.js.map +1 -0
  513. package/lib/back-top/style/index.less +42 -0
  514. package/lib/back-top/style/responsive.less +11 -0
  515. package/lib/badge/index.d.ts +1 -1
  516. package/lib/badge/index.d.ts.map +1 -1
  517. package/lib/badge/index.js +5 -6
  518. package/lib/badge/index.js.map +1 -1
  519. package/lib/badge/style/index.d.ts +3 -0
  520. package/lib/badge/style/index.d.ts.map +1 -0
  521. package/lib/badge/style/index.js +4 -0
  522. package/lib/badge/style/index.js.map +1 -0
  523. package/lib/badge/style/index.less +190 -0
  524. package/lib/breadcrumb/index.d.ts +1 -1
  525. package/lib/breadcrumb/index.d.ts.map +1 -1
  526. package/lib/breadcrumb/index.js +5 -6
  527. package/lib/breadcrumb/index.js.map +1 -1
  528. package/lib/breadcrumb/style/index.d.ts +5 -0
  529. package/lib/breadcrumb/style/index.d.ts.map +1 -0
  530. package/lib/breadcrumb/style/index.js +6 -0
  531. package/lib/breadcrumb/style/index.js.map +1 -0
  532. package/lib/breadcrumb/style/index.less +51 -0
  533. package/lib/button/button.js +6 -9
  534. package/lib/button/index.d.ts +1 -1
  535. package/lib/button/index.d.ts.map +1 -1
  536. package/lib/button/index.js +2 -3
  537. package/lib/button/index.js.map +1 -1
  538. package/lib/button/style/index.d.ts +3 -0
  539. package/lib/button/style/index.d.ts.map +1 -0
  540. package/lib/button/style/index.js +4 -0
  541. package/lib/button/style/index.js.map +1 -0
  542. package/lib/button/style/index.less +224 -0
  543. package/lib/button/style/mixin.less +357 -0
  544. package/lib/calendar/index.d.ts +1 -1
  545. package/lib/calendar/index.d.ts.map +1 -1
  546. package/lib/calendar/index.js +5 -6
  547. package/lib/calendar/index.js.map +1 -1
  548. package/lib/calendar/style/index.d.ts +5 -0
  549. package/lib/calendar/style/index.d.ts.map +1 -0
  550. package/lib/calendar/style/index.js +6 -0
  551. package/lib/calendar/style/index.js.map +1 -0
  552. package/lib/calendar/style/index.less +278 -0
  553. package/lib/card/card.js +5 -8
  554. package/lib/card/index.d.ts +1 -1
  555. package/lib/card/index.d.ts.map +1 -1
  556. package/lib/card/index.js +2 -3
  557. package/lib/card/index.js.map +1 -1
  558. package/lib/card/style/index.d.ts +6 -0
  559. package/lib/card/style/index.d.ts.map +1 -0
  560. package/lib/card/style/index.js +7 -0
  561. package/lib/card/style/index.js.map +1 -0
  562. package/lib/card/style/index.less +263 -0
  563. package/lib/card/style/size.less +25 -0
  564. package/lib/carousel/index.d.ts +1 -1
  565. package/lib/carousel/index.d.ts.map +1 -1
  566. package/lib/carousel/index.js +5 -6
  567. package/lib/carousel/index.js.map +1 -1
  568. package/lib/carousel/style/index.d.ts +3 -0
  569. package/lib/carousel/style/index.d.ts.map +1 -0
  570. package/lib/carousel/style/index.js +4 -0
  571. package/lib/carousel/style/index.js.map +1 -0
  572. package/lib/carousel/style/index.less +238 -0
  573. package/lib/cascader/index.d.ts +1 -1
  574. package/lib/cascader/index.d.ts.map +1 -1
  575. package/lib/cascader/index.js +6 -8
  576. package/lib/cascader/index.js.map +1 -1
  577. package/lib/cascader/style/index.d.ts +5 -0
  578. package/lib/cascader/style/index.d.ts.map +1 -0
  579. package/lib/cascader/style/index.js +6 -0
  580. package/lib/cascader/style/index.js.map +1 -0
  581. package/lib/cascader/style/index.less +227 -0
  582. package/lib/check-card/group.js +9 -14
  583. package/lib/check-card/index.js +10 -14
  584. package/lib/checkbox/checkbox-group.js +1 -2
  585. package/lib/checkbox/index.d.ts +1 -1
  586. package/lib/checkbox/index.d.ts.map +1 -1
  587. package/lib/checkbox/index.js +5 -6
  588. package/lib/checkbox/index.js.map +1 -1
  589. package/lib/checkbox/style/index.d.ts +3 -0
  590. package/lib/checkbox/style/index.d.ts.map +1 -0
  591. package/lib/checkbox/style/index.js +4 -0
  592. package/lib/checkbox/style/index.js.map +1 -0
  593. package/lib/checkbox/style/index.less +4 -0
  594. package/lib/checkbox/style/mixin.less +220 -0
  595. package/lib/col/index.d.ts +1 -1
  596. package/lib/col/index.d.ts.map +1 -1
  597. package/lib/col/index.js +5 -6
  598. package/lib/col/index.js.map +1 -1
  599. package/lib/col/style/index.d.ts +3 -0
  600. package/lib/col/style/index.d.ts.map +1 -0
  601. package/lib/col/style/index.js +4 -0
  602. package/lib/col/style/index.js.map +1 -0
  603. package/lib/collapse/index.d.ts +1 -1
  604. package/lib/collapse/index.d.ts.map +1 -1
  605. package/lib/collapse/index.js +5 -6
  606. package/lib/collapse/index.js.map +1 -1
  607. package/lib/collapse/style/index.d.ts +3 -0
  608. package/lib/collapse/style/index.d.ts.map +1 -0
  609. package/lib/collapse/style/index.js +4 -0
  610. package/lib/collapse/style/index.js.map +1 -0
  611. package/lib/collapse/style/index.less +134 -0
  612. package/lib/color-picker/ColorPicker.d.ts +4 -2
  613. package/lib/color-picker/ColorPicker.d.ts.map +1 -1
  614. package/lib/color-picker/ColorPicker.js +11 -13
  615. package/lib/color-picker/ColorPicker.js.map +1 -1
  616. package/lib/color-picker/index.d.ts +2 -1
  617. package/lib/color-picker/index.d.ts.map +1 -1
  618. package/lib/color-picker/index.less +21 -7
  619. package/lib/columns/index.d.ts +3 -2
  620. package/lib/columns/index.d.ts.map +1 -1
  621. package/lib/columns/index.js +3 -7
  622. package/lib/comment/index.d.ts +1 -1
  623. package/lib/comment/index.d.ts.map +1 -1
  624. package/lib/comment/index.js +5 -6
  625. package/lib/comment/index.js.map +1 -1
  626. package/lib/comment/style/index.d.ts +3 -0
  627. package/lib/comment/style/index.d.ts.map +1 -0
  628. package/lib/comment/style/index.js +4 -0
  629. package/lib/comment/style/index.js.map +1 -0
  630. package/lib/comment/style/index.less +93 -0
  631. package/lib/config-provider/DisabledContext.js +5 -7
  632. package/lib/config-provider/SizeContext.js +5 -7
  633. package/lib/config-provider/index.d.ts +1 -1
  634. package/lib/config-provider/index.d.ts.map +1 -1
  635. package/lib/config-provider/index.js +5 -6
  636. package/lib/config-provider/index.js.map +1 -1
  637. package/lib/config-provider/style/index.d.ts +2 -0
  638. package/lib/config-provider/style/index.d.ts.map +1 -0
  639. package/lib/config-provider/style/index.js +3 -0
  640. package/lib/config-provider/style/index.js.map +1 -0
  641. package/lib/config-provider/style/index.less +2 -0
  642. package/lib/connect/index.js +5 -11
  643. package/lib/date-picker/index.d.ts +1 -1
  644. package/lib/date-picker/index.d.ts.map +1 -1
  645. package/lib/date-picker/index.js +6 -8
  646. package/lib/date-picker/index.js.map +1 -1
  647. package/lib/date-picker/style/Calendar.less +402 -0
  648. package/lib/date-picker/style/DecadePanel.less +81 -0
  649. package/lib/date-picker/style/MonthPanel.less +86 -0
  650. package/lib/date-picker/style/MonthPicker.less +11 -0
  651. package/lib/date-picker/style/Picker.less +113 -0
  652. package/lib/date-picker/style/RangePicker.less +248 -0
  653. package/lib/date-picker/style/TimePicker.less +151 -0
  654. package/lib/date-picker/style/WeekPicker.less +21 -0
  655. package/lib/date-picker/style/YearPanel.less +85 -0
  656. package/lib/date-picker/style/index.d.ts +6 -0
  657. package/lib/date-picker/style/index.d.ts.map +1 -0
  658. package/lib/date-picker/style/index.js +7 -0
  659. package/lib/date-picker/style/index.js.map +1 -0
  660. package/lib/date-picker/style/index.less +17 -0
  661. package/lib/descriptions/descriptions.d.ts +10 -4
  662. package/lib/descriptions/descriptions.d.ts.map +1 -1
  663. package/lib/descriptions/descriptions.js +41 -30
  664. package/lib/descriptions/descriptions.js.map +1 -1
  665. package/lib/descriptions/descriptions.less +104 -16
  666. package/lib/descriptions/index.d.ts +1 -1
  667. package/lib/descriptions/index.d.ts.map +1 -1
  668. package/lib/descriptions/index.js +2 -3
  669. package/lib/descriptions/index.js.map +1 -1
  670. package/lib/descriptions/style/index.d.ts +3 -0
  671. package/lib/descriptions/style/index.d.ts.map +1 -0
  672. package/lib/descriptions/style/index.js +4 -0
  673. package/lib/descriptions/style/index.js.map +1 -0
  674. package/lib/descriptions/style/index.less +144 -0
  675. package/lib/development-login/LoginModal.d.ts +2 -1
  676. package/lib/development-login/LoginModal.d.ts.map +1 -1
  677. package/lib/development-login/LoginModal.js +9 -10
  678. package/lib/development-login/index.d.ts +2 -1
  679. package/lib/development-login/index.d.ts.map +1 -1
  680. package/lib/development-login/index.js +9 -8
  681. package/lib/divider/index.d.ts +1 -1
  682. package/lib/divider/index.d.ts.map +1 -1
  683. package/lib/divider/index.js +5 -6
  684. package/lib/divider/index.js.map +1 -1
  685. package/lib/divider/style/index.d.ts +3 -0
  686. package/lib/divider/style/index.d.ts.map +1 -0
  687. package/lib/divider/style/index.js +4 -0
  688. package/lib/divider/style/index.js.map +1 -0
  689. package/lib/divider/style/index.less +109 -0
  690. package/lib/drawer/drawer.js +6 -9
  691. package/lib/drawer/drawer.less +1 -1
  692. package/lib/drawer/index.d.ts +1 -1
  693. package/lib/drawer/index.d.ts.map +1 -1
  694. package/lib/drawer/index.js +2 -3
  695. package/lib/drawer/index.js.map +1 -1
  696. package/lib/drawer/style/drawer.less +230 -0
  697. package/lib/drawer/style/index.d.ts +3 -0
  698. package/lib/drawer/style/index.d.ts.map +1 -0
  699. package/lib/drawer/style/index.js +4 -0
  700. package/lib/drawer/style/index.js.map +1 -0
  701. package/lib/drawer/style/index.less +3 -0
  702. package/lib/dropdown/index.d.ts +1 -1
  703. package/lib/dropdown/index.d.ts.map +1 -1
  704. package/lib/dropdown/index.js +5 -6
  705. package/lib/dropdown/index.js.map +1 -1
  706. package/lib/dropdown/style/index.d.ts +4 -0
  707. package/lib/dropdown/style/index.d.ts.map +1 -0
  708. package/lib/dropdown/style/index.js +5 -0
  709. package/lib/dropdown/style/index.js.map +1 -0
  710. package/lib/dropdown/style/index.less +282 -0
  711. package/lib/ellipsis/Svg/CopySVG.d.ts +2 -1
  712. package/lib/ellipsis/Svg/CopySVG.d.ts.map +1 -1
  713. package/lib/ellipsis/Svg/CopySVG.js +2 -3
  714. package/lib/ellipsis/Svg/TickSVG.d.ts +2 -1
  715. package/lib/ellipsis/Svg/TickSVG.d.ts.map +1 -1
  716. package/lib/ellipsis/Svg/TickSVG.js +2 -3
  717. package/lib/ellipsis/index.d.ts +2 -1
  718. package/lib/ellipsis/index.d.ts.map +1 -1
  719. package/lib/ellipsis/index.js +12 -9
  720. package/lib/empty/empty.d.ts +2 -2
  721. package/lib/empty/empty.d.ts.map +1 -1
  722. package/lib/empty/empty.js +8 -12
  723. package/lib/empty/empty.stories.js +2 -4
  724. package/lib/empty/index.d.ts +1 -1
  725. package/lib/empty/index.d.ts.map +1 -1
  726. package/lib/empty/index.js +2 -3
  727. package/lib/empty/index.js.map +1 -1
  728. package/lib/empty/style/index.d.ts +3 -0
  729. package/lib/empty/style/index.d.ts.map +1 -0
  730. package/lib/empty/style/index.js +4 -0
  731. package/lib/empty/style/index.js.map +1 -0
  732. package/lib/empty/style/index.less +52 -0
  733. package/lib/exception/exception.js +1 -2
  734. package/lib/exception/index.js +1 -2
  735. package/lib/form/form.js +7 -10
  736. package/lib/form/index.d.ts +1 -1
  737. package/lib/form/index.d.ts.map +1 -1
  738. package/lib/form/index.js +2 -3
  739. package/lib/form/index.js.map +1 -1
  740. package/lib/form/style/index.d.ts +4 -0
  741. package/lib/form/style/index.d.ts.map +1 -0
  742. package/lib/form/style/index.js +5 -0
  743. package/lib/form/style/index.js.map +1 -0
  744. package/lib/form/style/index.less +653 -0
  745. package/lib/form/style/mixin.less +126 -0
  746. package/lib/grid/index.d.ts +3 -10
  747. package/lib/grid/index.d.ts.map +1 -1
  748. package/lib/grid/index.js +17 -24
  749. package/lib/grid/index.js.map +1 -1
  750. package/lib/grid/style/index.d.ts +1 -0
  751. package/lib/grid/style/index.d.ts.map +1 -1
  752. package/lib/grid/style/index.js +1 -0
  753. package/lib/grid/style/index.js.map +1 -1
  754. package/lib/grid/style/index.less +24 -26
  755. package/lib/grid/style/mixin.less +63 -19
  756. package/lib/grid-v4/RowContext.d.ts.map +1 -0
  757. package/lib/{grid → grid-v4}/RowContext.js +1 -2
  758. package/lib/grid-v4/RowContext.js.map +1 -0
  759. package/lib/grid-v4/col.d.ts.map +1 -0
  760. package/lib/{grid → grid-v4}/col.js +9 -14
  761. package/lib/grid-v4/col.js.map +1 -0
  762. package/lib/grid-v4/hooks/useBreakpoint.d.ts.map +1 -0
  763. package/lib/{grid → grid-v4}/hooks/useBreakpoint.js +1 -2
  764. package/lib/grid-v4/hooks/useBreakpoint.js.map +1 -0
  765. package/lib/grid-v4/index.d.ts +12 -0
  766. package/lib/grid-v4/index.d.ts.map +1 -0
  767. package/lib/grid-v4/index.js +30 -0
  768. package/lib/grid-v4/index.js.map +1 -0
  769. package/lib/grid-v4/row.d.ts.map +1 -0
  770. package/lib/{grid → grid-v4}/row.js +10 -14
  771. package/lib/grid-v4/row.js.map +1 -0
  772. package/lib/grid-v4/style/index.d.ts +2 -0
  773. package/lib/grid-v4/style/index.d.ts.map +1 -0
  774. package/lib/grid-v4/style/index.js +3 -0
  775. package/lib/grid-v4/style/index.js.map +1 -0
  776. package/lib/grid-v4/style/index.less +124 -0
  777. package/lib/grid-v4/style/mixin.less +57 -0
  778. package/lib/handle/index.d.ts +2 -1
  779. package/lib/handle/index.d.ts.map +1 -1
  780. package/lib/handle/index.js +6 -9
  781. package/lib/icon/IconFont.js +4 -6
  782. package/lib/icon/components/Icon.js +16 -22
  783. package/lib/icon/components/utils.js +7 -9
  784. package/lib/icon/index.js +9 -13
  785. package/lib/icon/style/index.d.ts +3 -0
  786. package/lib/icon/style/index.d.ts.map +1 -0
  787. package/lib/icon/style/index.js +4 -0
  788. package/lib/icon/style/index.js.map +1 -0
  789. package/lib/icon/style/index.less +4 -0
  790. package/lib/icon/utils.js +1 -2
  791. package/lib/icon-list/index.js +1 -2
  792. package/lib/icon-old/index.d.ts +5 -0
  793. package/lib/icon-old/index.d.ts.map +1 -0
  794. package/lib/icon-old/index.js +24 -0
  795. package/lib/icon-old/index.js.map +1 -0
  796. package/lib/icon-old/style/index.d.ts +3 -0
  797. package/lib/icon-old/style/index.d.ts.map +1 -0
  798. package/lib/icon-old/style/index.js +4 -0
  799. package/lib/icon-old/style/index.js.map +1 -0
  800. package/lib/icon-old/style/index.less +4 -0
  801. package/lib/img/Contain.d.ts +2 -1
  802. package/lib/img/Contain.d.ts.map +1 -1
  803. package/lib/img/Contain.js +3 -6
  804. package/lib/img/Cover.d.ts +2 -1
  805. package/lib/img/Cover.d.ts.map +1 -1
  806. package/lib/img/Cover.js +8 -11
  807. package/lib/img/index.d.ts +2 -1
  808. package/lib/img/index.d.ts.map +1 -1
  809. package/lib/img/index.js +8 -11
  810. package/lib/index.d.ts +3 -2
  811. package/lib/index.d.ts.map +1 -1
  812. package/lib/index.js +10 -3
  813. package/lib/index.js.map +1 -1
  814. package/lib/input/index.d.ts +1 -1
  815. package/lib/input/index.d.ts.map +1 -1
  816. package/lib/input/index.js +2 -3
  817. package/lib/input/index.js.map +1 -1
  818. package/lib/input/input.js +8 -12
  819. package/lib/input/style/index.d.ts +4 -0
  820. package/lib/input/style/index.d.ts.map +1 -0
  821. package/lib/input/style/index.js +5 -0
  822. package/lib/input/style/index.js.map +1 -0
  823. package/lib/input/style/index.less +57 -0
  824. package/lib/input/style/mixin.less +449 -0
  825. package/lib/input/style/search-input.less +34 -0
  826. package/lib/input-number/index.d.ts +1 -1
  827. package/lib/input-number/index.d.ts.map +1 -1
  828. package/lib/input-number/index.js +5 -6
  829. package/lib/input-number/index.js.map +1 -1
  830. package/lib/input-number/style/index.d.ts +3 -0
  831. package/lib/input-number/style/index.d.ts.map +1 -0
  832. package/lib/input-number/style/index.js +4 -0
  833. package/lib/input-number/style/index.js.map +1 -0
  834. package/lib/input-number/style/index.less +179 -0
  835. package/lib/label/index.d.ts +2 -2
  836. package/lib/label/index.d.ts.map +1 -1
  837. package/lib/label/index.js +10 -17
  838. package/lib/layout/index.d.ts +1 -1
  839. package/lib/layout/index.d.ts.map +1 -1
  840. package/lib/layout/index.js +5 -6
  841. package/lib/layout/index.js.map +1 -1
  842. package/lib/layout/style/index.d.ts +3 -0
  843. package/lib/layout/style/index.d.ts.map +1 -0
  844. package/lib/layout/style/index.js +4 -0
  845. package/lib/layout/style/index.js.map +1 -0
  846. package/lib/layout/style/index.less +124 -0
  847. package/lib/layout/style/light.less +15 -0
  848. package/lib/list/index.d.ts +1 -1
  849. package/lib/list/index.d.ts.map +1 -1
  850. package/lib/list/index.js +5 -6
  851. package/lib/list/index.js.map +1 -1
  852. package/lib/list/style/bordered.less +41 -0
  853. package/lib/list/style/index.d.ts +7 -0
  854. package/lib/list/style/index.d.ts.map +1 -0
  855. package/lib/list/style/index.js +8 -0
  856. package/lib/list/style/index.js.map +1 -0
  857. package/lib/list/style/index.less +234 -0
  858. package/lib/list/style/responsive.less +40 -0
  859. package/lib/loading-button/index.d.ts +2 -1
  860. package/lib/loading-button/index.d.ts.map +1 -1
  861. package/lib/loading-button/index.js +8 -11
  862. package/lib/locale/default.js +1 -2
  863. package/lib/locale/en_US.js +1 -2
  864. package/lib/locale/zh_CN.js +1 -2
  865. package/lib/locale-provider/index.d.ts +1 -1
  866. package/lib/locale-provider/index.d.ts.map +1 -1
  867. package/lib/locale-provider/index.js +5 -6
  868. package/lib/locale-provider/index.js.map +1 -1
  869. package/lib/locale-provider/style/index.d.ts +2 -0
  870. package/lib/locale-provider/style/index.d.ts.map +1 -0
  871. package/lib/locale-provider/style/index.js +3 -0
  872. package/lib/locale-provider/style/index.js.map +1 -0
  873. package/lib/locale-provider/style/index.less +2 -0
  874. package/lib/mentions/index.d.ts +1 -1
  875. package/lib/mentions/index.d.ts.map +1 -1
  876. package/lib/mentions/index.js +5 -6
  877. package/lib/mentions/index.js.map +1 -1
  878. package/lib/mentions/style/index.d.ts +4 -0
  879. package/lib/mentions/style/index.d.ts.map +1 -0
  880. package/lib/mentions/style/index.js +5 -0
  881. package/lib/mentions/style/index.js.map +1 -0
  882. package/lib/mentions/style/index.less +164 -0
  883. package/lib/menu/index.d.ts +1 -1
  884. package/lib/menu/index.d.ts.map +1 -1
  885. package/lib/menu/index.js +5 -6
  886. package/lib/menu/index.js.map +1 -1
  887. package/lib/menu/style/dark.less +139 -0
  888. package/lib/menu/style/index.d.ts +4 -0
  889. package/lib/menu/style/index.d.ts.map +1 -0
  890. package/lib/menu/style/index.js +5 -0
  891. package/lib/menu/style/index.js.map +1 -0
  892. package/lib/menu/style/index.less +515 -0
  893. package/lib/message/index.d.ts +1 -1
  894. package/lib/message/index.d.ts.map +1 -1
  895. package/lib/message/index.js +5 -6
  896. package/lib/message/index.js.map +1 -1
  897. package/lib/message/style/index.d.ts +3 -0
  898. package/lib/message/style/index.d.ts.map +1 -0
  899. package/lib/message/style/index.js +4 -0
  900. package/lib/message/style/index.js.map +1 -0
  901. package/lib/message/style/index.less +75 -0
  902. package/lib/modal/index.d.ts +1 -1
  903. package/lib/modal/index.d.ts.map +1 -1
  904. package/lib/modal/index.js +2 -3
  905. package/lib/modal/index.js.map +1 -1
  906. package/lib/modal/modal.d.ts +1 -1
  907. package/lib/modal/modal.d.ts.map +1 -1
  908. package/lib/modal/modal.js +56 -17
  909. package/lib/modal/modal.js.map +1 -1
  910. package/lib/modal/modal.less +13 -32
  911. package/lib/modal/style/confirm.less +96 -0
  912. package/lib/modal/style/index.d.ts +4 -0
  913. package/lib/modal/style/index.d.ts.map +1 -0
  914. package/lib/modal/style/index.js +5 -0
  915. package/lib/modal/style/index.js.map +1 -0
  916. package/lib/modal/style/index.less +4 -0
  917. package/lib/modal/style/modal.less +165 -0
  918. package/lib/notification/index.d.ts +1 -1
  919. package/lib/notification/index.d.ts.map +1 -1
  920. package/lib/notification/index.js +5 -6
  921. package/lib/notification/index.js.map +1 -1
  922. package/lib/notification/style/index.d.ts +3 -0
  923. package/lib/notification/style/index.d.ts.map +1 -0
  924. package/lib/notification/style/index.js +4 -0
  925. package/lib/notification/style/index.js.map +1 -0
  926. package/lib/notification/style/index.less +199 -0
  927. package/lib/page/Box.d.ts +2 -1
  928. package/lib/page/Box.d.ts.map +1 -1
  929. package/lib/page/Box.js +2 -5
  930. package/lib/page/index.d.ts +2 -1
  931. package/lib/page/index.d.ts.map +1 -1
  932. package/lib/page/index.js +7 -12
  933. package/lib/page/utils.js +4 -7
  934. package/lib/page-header/index.d.ts +1 -1
  935. package/lib/page-header/index.d.ts.map +1 -1
  936. package/lib/page-header/index.js +5 -6
  937. package/lib/page-header/index.js.map +1 -1
  938. package/lib/page-header/style/index.d.ts +4 -0
  939. package/lib/page-header/style/index.d.ts.map +1 -0
  940. package/lib/page-header/style/index.js +5 -0
  941. package/lib/page-header/style/index.js.map +1 -0
  942. package/lib/page-header/style/index.less +119 -0
  943. package/lib/pagination/index.d.ts +1 -1
  944. package/lib/pagination/index.d.ts.map +1 -1
  945. package/lib/pagination/index.js +5 -6
  946. package/lib/pagination/index.js.map +1 -1
  947. package/lib/pagination/style/index.d.ts +4 -0
  948. package/lib/pagination/style/index.d.ts.map +1 -0
  949. package/lib/pagination/style/index.js +5 -0
  950. package/lib/pagination/style/index.js.map +1 -0
  951. package/lib/pagination/style/index.less +400 -0
  952. package/lib/popconfirm/index.d.ts +1 -1
  953. package/lib/popconfirm/index.d.ts.map +1 -1
  954. package/lib/popconfirm/index.js +5 -6
  955. package/lib/popconfirm/index.js.map +1 -1
  956. package/lib/popconfirm/style/index.d.ts +4 -0
  957. package/lib/popconfirm/style/index.d.ts.map +1 -0
  958. package/lib/popconfirm/style/index.js +5 -0
  959. package/lib/popconfirm/style/index.js.map +1 -0
  960. package/lib/popover/index.d.ts +1 -1
  961. package/lib/popover/index.d.ts.map +1 -1
  962. package/lib/popover/index.js +5 -6
  963. package/lib/popover/index.js.map +1 -1
  964. package/lib/popover/style/index.d.ts +3 -0
  965. package/lib/popover/style/index.d.ts.map +1 -0
  966. package/lib/popover/style/index.js +4 -0
  967. package/lib/popover/style/index.js.map +1 -0
  968. package/lib/popover/style/index.less +205 -0
  969. package/lib/prev-locale.js +6 -11
  970. package/lib/preview-text/index.js +5 -7
  971. package/lib/progress/index.d.ts +1 -1
  972. package/lib/progress/index.d.ts.map +1 -1
  973. package/lib/progress/index.js +5 -6
  974. package/lib/progress/index.js.map +1 -1
  975. package/lib/progress/style/index.d.ts +3 -0
  976. package/lib/progress/style/index.d.ts.map +1 -0
  977. package/lib/progress/style/index.js +4 -0
  978. package/lib/progress/style/index.js.map +1 -0
  979. package/lib/progress/style/index.less +182 -0
  980. package/lib/query-form/Field/Checkbox.d.ts +2 -1
  981. package/lib/query-form/Field/Checkbox.d.ts.map +1 -1
  982. package/lib/query-form/Field/Checkbox.js +3 -6
  983. package/lib/query-form/Field/Select.d.ts +2 -1
  984. package/lib/query-form/Field/Select.d.ts.map +1 -1
  985. package/lib/query-form/Field/Select.js +10 -13
  986. package/lib/query-form/Field/SelectInput.d.ts +2 -1
  987. package/lib/query-form/Field/SelectInput.d.ts.map +1 -1
  988. package/lib/query-form/Field/SelectInput.js +10 -13
  989. package/lib/query-form/Field/fieldsMap.js +4 -7
  990. package/lib/query-form/Field/index.d.ts +1 -1
  991. package/lib/query-form/Field/index.d.ts.map +1 -1
  992. package/lib/query-form/Field/index.js +19 -24
  993. package/lib/query-form/createActions.js +2 -3
  994. package/lib/query-form/index.d.ts +1 -1
  995. package/lib/query-form/index.d.ts.map +1 -1
  996. package/lib/query-form/index.js +22 -25
  997. package/lib/query-list-scene/List.d.ts +1 -1
  998. package/lib/query-list-scene/List.d.ts.map +1 -1
  999. package/lib/query-list-scene/List.js +24 -29
  1000. package/lib/query-list-scene/QueryForm.d.ts +1 -1
  1001. package/lib/query-list-scene/QueryForm.d.ts.map +1 -1
  1002. package/lib/query-list-scene/QueryForm.js +17 -22
  1003. package/lib/query-list-scene/QueryListScene.d.ts +1 -1
  1004. package/lib/query-list-scene/QueryListScene.d.ts.map +1 -1
  1005. package/lib/query-list-scene/QueryListScene.js +14 -18
  1006. package/lib/query-list-scene/Title.d.ts +2 -1
  1007. package/lib/query-list-scene/Title.d.ts.map +1 -1
  1008. package/lib/query-list-scene/Title.js +2 -3
  1009. package/lib/query-list-scene/Toolbar.d.ts +2 -1
  1010. package/lib/query-list-scene/Toolbar.d.ts.map +1 -1
  1011. package/lib/query-list-scene/Toolbar.js +6 -9
  1012. package/lib/query-list-scene/createActions.js +2 -3
  1013. package/lib/query-list-scene/index.js +4 -8
  1014. package/lib/radio/index.d.ts +1 -1
  1015. package/lib/radio/index.d.ts.map +1 -1
  1016. package/lib/radio/index.js +5 -6
  1017. package/lib/radio/index.js.map +1 -1
  1018. package/lib/radio/radio-group.js +1 -2
  1019. package/lib/radio/style/index.d.ts +3 -0
  1020. package/lib/radio/style/index.d.ts.map +1 -0
  1021. package/lib/radio/style/index.js +4 -0
  1022. package/lib/radio/style/index.js.map +1 -0
  1023. package/lib/radio/style/index.less +327 -0
  1024. package/lib/rate/index.d.ts +1 -1
  1025. package/lib/rate/index.d.ts.map +1 -1
  1026. package/lib/rate/index.js +5 -6
  1027. package/lib/rate/index.js.map +1 -1
  1028. package/lib/rate/style/index.d.ts +4 -0
  1029. package/lib/rate/style/index.d.ts.map +1 -0
  1030. package/lib/rate/style/index.js +5 -0
  1031. package/lib/rate/style/index.js.map +1 -0
  1032. package/lib/rate/style/index.less +85 -0
  1033. package/lib/render-empty/index.js +1 -2
  1034. package/lib/render-empty/render-empty.js +2 -3
  1035. package/lib/result/index.d.ts +1 -1
  1036. package/lib/result/index.d.ts.map +1 -1
  1037. package/lib/result/index.js +5 -6
  1038. package/lib/result/index.js.map +1 -1
  1039. package/lib/result/style/index.d.ts +3 -0
  1040. package/lib/result/style/index.d.ts.map +1 -0
  1041. package/lib/result/style/index.js +4 -0
  1042. package/lib/result/style/index.js.map +1 -0
  1043. package/lib/result/style/index.less +71 -0
  1044. package/lib/row/index.d.ts +1 -1
  1045. package/lib/row/index.d.ts.map +1 -1
  1046. package/lib/row/index.js +5 -6
  1047. package/lib/row/index.js.map +1 -1
  1048. package/lib/row/style/index.d.ts +3 -0
  1049. package/lib/row/style/index.d.ts.map +1 -0
  1050. package/lib/row/style/index.js +4 -0
  1051. package/lib/row/style/index.js.map +1 -0
  1052. package/lib/segmented/index.d.ts +1 -1
  1053. package/lib/segmented/index.d.ts.map +1 -1
  1054. package/lib/segmented/index.js +8 -12
  1055. package/lib/select/index.d.ts +1 -1
  1056. package/lib/select/index.d.ts.map +1 -1
  1057. package/lib/select/index.js +2 -3
  1058. package/lib/select/index.js.map +1 -1
  1059. package/lib/select/select.js +8 -12
  1060. package/lib/select/style/index.d.ts +4 -0
  1061. package/lib/select/style/index.d.ts.map +1 -0
  1062. package/lib/select/style/index.js +5 -0
  1063. package/lib/select/style/index.js.map +1 -0
  1064. package/lib/select/style/index.less +604 -0
  1065. package/lib/skeleton/index.d.ts +1 -1
  1066. package/lib/skeleton/index.d.ts.map +1 -1
  1067. package/lib/skeleton/index.js +5 -6
  1068. package/lib/skeleton/index.js.map +1 -1
  1069. package/lib/skeleton/style/index.d.ts +3 -0
  1070. package/lib/skeleton/style/index.d.ts.map +1 -0
  1071. package/lib/skeleton/style/index.js +4 -0
  1072. package/lib/skeleton/style/index.js.map +1 -0
  1073. package/lib/skeleton/style/index.less +130 -0
  1074. package/lib/slider/index.d.ts +1 -1
  1075. package/lib/slider/index.d.ts.map +1 -1
  1076. package/lib/slider/index.js +5 -6
  1077. package/lib/slider/index.js.map +1 -1
  1078. package/lib/slider/style/index.d.ts +4 -0
  1079. package/lib/slider/style/index.d.ts.map +1 -0
  1080. package/lib/slider/style/index.js +5 -0
  1081. package/lib/slider/style/index.js.map +1 -0
  1082. package/lib/slider/style/index.less +197 -0
  1083. package/lib/spin/index.d.ts +1 -1
  1084. package/lib/spin/index.d.ts.map +1 -1
  1085. package/lib/spin/index.js +5 -6
  1086. package/lib/spin/index.js.map +1 -1
  1087. package/lib/spin/style/index.d.ts +3 -0
  1088. package/lib/spin/style/index.d.ts.map +1 -0
  1089. package/lib/spin/style/index.js +4 -0
  1090. package/lib/spin/style/index.js.map +1 -0
  1091. package/lib/spin/style/index.less +214 -0
  1092. package/lib/statistic/index.d.ts +1 -1
  1093. package/lib/statistic/index.d.ts.map +1 -1
  1094. package/lib/statistic/index.js +5 -6
  1095. package/lib/statistic/index.js.map +1 -1
  1096. package/lib/statistic/style/index.d.ts +3 -0
  1097. package/lib/statistic/style/index.d.ts.map +1 -0
  1098. package/lib/statistic/style/index.js +4 -0
  1099. package/lib/statistic/style/index.js.map +1 -0
  1100. package/lib/statistic/style/index.less +40 -0
  1101. package/lib/steps/index.d.ts +2 -1
  1102. package/lib/steps/index.d.ts.map +1 -1
  1103. package/lib/steps/index.js +3 -3
  1104. package/lib/steps/index.js.map +1 -1
  1105. package/lib/steps/stepStyle/index.less +12 -0
  1106. package/lib/steps/stepStyle/nav.less +281 -0
  1107. package/lib/steps/stepStyle/small.less +5 -0
  1108. package/lib/steps/steps.d.ts +2 -2
  1109. package/lib/steps/steps.d.ts.map +1 -1
  1110. package/lib/steps/steps.js +9 -12
  1111. package/lib/steps/steps.js.map +1 -1
  1112. package/lib/steps/style/compatibility.less +50 -0
  1113. package/lib/steps/style/custom-icon.less +31 -0
  1114. package/lib/steps/style/index.d.ts +3 -0
  1115. package/lib/steps/style/index.d.ts.map +1 -0
  1116. package/lib/steps/style/index.js +4 -0
  1117. package/lib/steps/style/index.js.map +1 -0
  1118. package/lib/steps/style/index.less +241 -6
  1119. package/lib/steps/style/label-placement.less +38 -0
  1120. package/lib/steps/style/nav.less +96 -247
  1121. package/lib/steps/style/progress-dot.less +80 -0
  1122. package/lib/steps/style/small.less +43 -3
  1123. package/lib/steps/style/vertical.less +74 -0
  1124. package/lib/style/color/bezierEasing.less +110 -0
  1125. package/lib/style/color/colorPalette.less +75 -0
  1126. package/lib/style/color/colors.less +149 -0
  1127. package/lib/style/color/tinyColor.less +1184 -0
  1128. package/lib/style/core/base.less +510 -0
  1129. package/lib/style/core/iconfont.less +19 -0
  1130. package/lib/style/core/index.less +4 -0
  1131. package/lib/style/core/motion/fade.less +31 -0
  1132. package/lib/style/core/motion/move.less +120 -0
  1133. package/lib/style/core/motion/other.less +40 -0
  1134. package/lib/style/core/motion/slide.less +120 -0
  1135. package/lib/style/core/motion/swing.less +34 -0
  1136. package/lib/style/core/motion/zoom.less +162 -0
  1137. package/lib/style/core/motion.less +20 -0
  1138. package/lib/style/index.d.ts +2 -0
  1139. package/lib/style/index.d.ts.map +1 -0
  1140. package/lib/style/index.js +3 -0
  1141. package/lib/style/index.js.map +1 -0
  1142. package/lib/style/index.less +2 -0
  1143. package/lib/style/mixins/clearfix.less +13 -0
  1144. package/lib/style/mixins/compatibility.less +22 -0
  1145. package/lib/style/mixins/iconfont.less +43 -0
  1146. package/lib/style/mixins/index.less +10 -0
  1147. package/lib/style/mixins/motion.less +35 -0
  1148. package/lib/style/mixins/operation-unit.less +18 -0
  1149. package/lib/style/mixins/reset.less +13 -0
  1150. package/lib/style/mixins/size.less +10 -0
  1151. package/lib/style/mixins/typography.less +49 -0
  1152. package/lib/style/themes/default.less +699 -0
  1153. package/lib/style/themes/index.less +1 -0
  1154. package/lib/style/v2-compatible-reset.d.ts +2 -0
  1155. package/lib/style/v2-compatible-reset.d.ts.map +1 -0
  1156. package/lib/style/v2-compatible-reset.js +3 -0
  1157. package/lib/style/v2-compatible-reset.js.map +1 -0
  1158. package/lib/style/v2-compatible-reset.less +51 -0
  1159. package/lib/svg-components/illustration-403.d.ts +1 -1
  1160. package/lib/svg-components/illustration-403.js +4 -5
  1161. package/lib/svg-components/illustration-404.d.ts +1 -1
  1162. package/lib/svg-components/illustration-404.js +4 -5
  1163. package/lib/svg-components/illustration-500.d.ts +1 -1
  1164. package/lib/svg-components/illustration-500.js +4 -5
  1165. package/lib/svg-components/illustration-empty.d.ts +1 -1
  1166. package/lib/svg-components/illustration-empty.js +4 -5
  1167. package/lib/svg-components/illustration-failure.d.ts +1 -1
  1168. package/lib/svg-components/illustration-failure.js +4 -5
  1169. package/lib/svg-components/illustration-no-access.d.ts +1 -1
  1170. package/lib/svg-components/illustration-no-access.js +4 -5
  1171. package/lib/svg-components/illustration-no-chart.d.ts +1 -1
  1172. package/lib/svg-components/illustration-no-chart.js +4 -5
  1173. package/lib/svg-components/illustration-no-result.d.ts +1 -1
  1174. package/lib/svg-components/illustration-no-result.js +4 -5
  1175. package/lib/svg-components/illustration-offline.d.ts +1 -1
  1176. package/lib/svg-components/illustration-offline.js +4 -5
  1177. package/lib/svg-components/illustration-success.d.ts +1 -1
  1178. package/lib/svg-components/illustration-success.js +4 -5
  1179. package/lib/switch/index.js +4 -5
  1180. package/lib/switch/style/index.d.ts +3 -0
  1181. package/lib/switch/style/index.d.ts.map +1 -0
  1182. package/lib/switch/style/index.js +4 -0
  1183. package/lib/switch/style/index.js.map +1 -0
  1184. package/lib/switch/style/index.less +178 -0
  1185. package/lib/switch/switch.d.ts +1 -1
  1186. package/lib/switch/switch.d.ts.map +1 -1
  1187. package/lib/switch/switch.js +6 -8
  1188. package/lib/switch/switch.js.map +1 -1
  1189. package/lib/table/assets/image-loading-background.d.ts +1 -1
  1190. package/lib/table/assets/image-loading-background.js +4 -5
  1191. package/lib/table/assets/image-loading.d.ts +1 -1
  1192. package/lib/table/assets/image-loading.js +4 -5
  1193. package/lib/table/constants.js +1 -2
  1194. package/lib/table/context.js +1 -2
  1195. package/lib/table/hooks/use-column-setting.js +4 -5
  1196. package/lib/table/index.d.ts +1 -1
  1197. package/lib/table/index.d.ts.map +1 -1
  1198. package/lib/table/index.js +2 -3
  1199. package/lib/table/index.js.map +1 -1
  1200. package/lib/table/style/index.d.ts +9 -0
  1201. package/lib/table/style/index.d.ts.map +1 -0
  1202. package/lib/table/style/index.js +10 -0
  1203. package/lib/table/style/index.js.map +1 -0
  1204. package/lib/table/style/index.less +800 -0
  1205. package/lib/table/style/size.less +179 -0
  1206. package/lib/table/table.d.ts +2 -2
  1207. package/lib/table/table.d.ts.map +1 -1
  1208. package/lib/table/table.js +10 -15
  1209. package/lib/table/table.stories.js +5 -10
  1210. package/lib/table/total-shower.d.ts +2 -2
  1211. package/lib/table/total-shower.d.ts.map +1 -1
  1212. package/lib/table/total-shower.js +2 -3
  1213. package/lib/tabs/index.d.ts +1 -1
  1214. package/lib/tabs/index.d.ts.map +1 -1
  1215. package/lib/tabs/index.js +2 -3
  1216. package/lib/tabs/index.js.map +1 -1
  1217. package/lib/tabs/style/card-style.less +186 -0
  1218. package/lib/tabs/style/index.d.ts +3 -0
  1219. package/lib/tabs/style/index.d.ts.map +1 -0
  1220. package/lib/tabs/style/index.js +4 -0
  1221. package/lib/tabs/style/index.js.map +1 -0
  1222. package/lib/tabs/style/index.less +436 -0
  1223. package/lib/tabs/tabs.js +5 -8
  1224. package/lib/tag/index.d.ts +1 -1
  1225. package/lib/tag/index.d.ts.map +1 -1
  1226. package/lib/tag/index.js +5 -6
  1227. package/lib/tag/index.js.map +1 -1
  1228. package/lib/tag/style/index.d.ts +3 -0
  1229. package/lib/tag/style/index.d.ts.map +1 -0
  1230. package/lib/tag/style/index.js +4 -0
  1231. package/lib/tag/style/index.js.map +1 -0
  1232. package/lib/tag/style/index.less +106 -0
  1233. package/lib/time-picker/index.d.ts +1 -1
  1234. package/lib/time-picker/index.d.ts.map +1 -1
  1235. package/lib/time-picker/index.js +5 -6
  1236. package/lib/time-picker/index.js.map +1 -1
  1237. package/lib/time-picker/style/index.d.ts +3 -0
  1238. package/lib/time-picker/style/index.d.ts.map +1 -0
  1239. package/lib/time-picker/style/index.js +4 -0
  1240. package/lib/time-picker/style/index.js.map +1 -0
  1241. package/lib/time-picker/style/index.less +246 -0
  1242. package/lib/timeline/index.d.ts +1 -1
  1243. package/lib/timeline/index.d.ts.map +1 -1
  1244. package/lib/timeline/index.js +5 -6
  1245. package/lib/timeline/index.js.map +1 -1
  1246. package/lib/timeline/style/index.d.ts +3 -0
  1247. package/lib/timeline/style/index.d.ts.map +1 -0
  1248. package/lib/timeline/style/index.js +4 -0
  1249. package/lib/timeline/style/index.js.map +1 -0
  1250. package/lib/timeline/style/index.less +167 -0
  1251. package/lib/title/index.d.ts +1 -1
  1252. package/lib/title/index.js +3 -6
  1253. package/lib/tntd-action/index.d.ts +4 -0
  1254. package/lib/tntd-action/index.d.ts.map +1 -0
  1255. package/lib/tntd-action/index.js +12 -0
  1256. package/lib/tntd-action/index.js.map +1 -0
  1257. package/lib/tntd-cascader/AntdCascader/component/DisabledContext.js +5 -7
  1258. package/lib/tntd-cascader/AntdCascader/component/FormItemInputContext.js +4 -5
  1259. package/lib/tntd-cascader/AntdCascader/component/SizeContext.js +4 -5
  1260. package/lib/tntd-cascader/AntdCascader/component/context.js +3 -6
  1261. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.d.ts +2 -2
  1262. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.d.ts.map +1 -1
  1263. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +4 -5
  1264. package/lib/tntd-cascader/AntdCascader/component/getIcons.d.ts +2 -2
  1265. package/lib/tntd-cascader/AntdCascader/component/getIcons.js +3 -3
  1266. package/lib/tntd-cascader/AntdCascader/component/useCompactItemContext.js +9 -12
  1267. package/lib/tntd-cascader/AntdCascader/config/utils.js +8 -12
  1268. package/lib/tntd-cascader/AntdCascader/config/warning.js +4 -5
  1269. package/lib/tntd-cascader/AntdCascader/index.js +13 -16
  1270. package/lib/tntd-cascader/AntdCascader/interface.js +1 -2
  1271. package/lib/tntd-cascader/rc-cascader/Cascader.js +7 -10
  1272. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.d.ts +1 -1
  1273. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.d.ts.map +1 -1
  1274. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.js +6 -7
  1275. package/lib/tntd-cascader/rc-cascader/OptionList/Column.d.ts +1 -1
  1276. package/lib/tntd-cascader/rc-cascader/OptionList/Column.d.ts.map +1 -1
  1277. package/lib/tntd-cascader/rc-cascader/OptionList/Column.js +8 -10
  1278. package/lib/tntd-cascader/rc-cascader/OptionList/index.js +14 -17
  1279. package/lib/tntd-cascader/rc-cascader/OptionList/useActive.js +8 -10
  1280. package/lib/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +11 -13
  1281. package/lib/tntd-cascader/rc-cascader/context.js +4 -5
  1282. package/lib/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +6 -7
  1283. package/lib/tntd-cascader/rc-cascader/hooks/useEntities.js +5 -6
  1284. package/lib/tntd-cascader/rc-cascader/hooks/useMissingValues.js +5 -6
  1285. package/lib/tntd-cascader/rc-cascader/hooks/useRefFunc.js +3 -3
  1286. package/lib/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +3 -3
  1287. package/lib/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +10 -13
  1288. package/lib/tntd-cascader/rc-cascader/index.js +1 -2
  1289. package/lib/tntd-cascader/rc-cascader/utils/commonUtil.js +3 -6
  1290. package/lib/tntd-cascader/rc-cascader/utils/treeUtil.js +2 -2
  1291. package/lib/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +1 -2
  1292. package/lib/tntd-form/ErrorList.d.ts +1 -1
  1293. package/lib/tntd-form/ErrorList.d.ts.map +1 -1
  1294. package/lib/tntd-form/ErrorList.js +6 -6
  1295. package/lib/tntd-form/Form.d.ts +1 -1
  1296. package/lib/tntd-form/Form.d.ts.map +1 -1
  1297. package/lib/tntd-form/Form.js +15 -18
  1298. package/lib/tntd-form/Form.js.map +1 -1
  1299. package/lib/tntd-form/FormItem/ItemHolder.d.ts +1 -1
  1300. package/lib/tntd-form/FormItem/ItemHolder.d.ts.map +1 -1
  1301. package/lib/tntd-form/FormItem/ItemHolder.js +11 -14
  1302. package/lib/tntd-form/FormItem/ItemHolder.js.map +1 -1
  1303. package/lib/tntd-form/FormItem/index.js +14 -14
  1304. package/lib/tntd-form/FormItemInput.d.ts +1 -1
  1305. package/lib/tntd-form/FormItemInput.d.ts.map +1 -1
  1306. package/lib/tntd-form/FormItemInput.js +5 -6
  1307. package/lib/tntd-form/FormItemInput.js.map +1 -1
  1308. package/lib/tntd-form/FormItemLabel.d.ts +1 -1
  1309. package/lib/tntd-form/FormItemLabel.d.ts.map +1 -1
  1310. package/lib/tntd-form/FormItemLabel.js +9 -13
  1311. package/lib/tntd-form/FormItemLabel.js.map +1 -1
  1312. package/lib/tntd-form/FormList.js +5 -8
  1313. package/lib/tntd-form/context.d.ts +1 -1
  1314. package/lib/tntd-form/context.d.ts.map +1 -1
  1315. package/lib/tntd-form/context.js +14 -19
  1316. package/lib/tntd-form/context.js.map +1 -1
  1317. package/lib/tntd-form/hooks/useDebounce.js +5 -5
  1318. package/lib/tntd-form/hooks/useForm.js +5 -5
  1319. package/lib/tntd-form/hooks/useFormItemStatus.js +1 -2
  1320. package/lib/tntd-form/hooks/useFrameState.js +10 -9
  1321. package/lib/tntd-form/hooks/useItemRef.js +3 -3
  1322. package/lib/tntd-form/index.js +4 -5
  1323. package/lib/tntd-form/style/index.d.ts +1 -1
  1324. package/lib/tntd-form/style/index.d.ts.map +1 -1
  1325. package/lib/tntd-form/style/index.js +1 -1
  1326. package/lib/tntd-form/style/index.js.map +1 -1
  1327. package/lib/tntd-form/style/index.less +1 -1
  1328. package/lib/tntd-form/style/rtl.less +3 -3
  1329. package/lib/tntd-form/validateMessagesContext.js +1 -2
  1330. package/lib/tntd-icon/index.d.ts +2 -1
  1331. package/lib/tntd-icon/index.d.ts.map +1 -1
  1332. package/lib/tntd-icon/index.js +3 -6
  1333. package/lib/tntd-layout/ActionsContext.js +1 -2
  1334. package/lib/tntd-layout/AppList.js +7 -8
  1335. package/lib/tntd-layout/Application.d.ts +2 -1
  1336. package/lib/tntd-layout/Application.d.ts.map +1 -1
  1337. package/lib/tntd-layout/Application.js +7 -8
  1338. package/lib/tntd-layout/Avatar.d.ts +2 -1
  1339. package/lib/tntd-layout/Avatar.d.ts.map +1 -1
  1340. package/lib/tntd-layout/Avatar.js +5 -6
  1341. package/lib/tntd-layout/CompatibleLanguage.d.ts +2 -1
  1342. package/lib/tntd-layout/CompatibleLanguage.d.ts.map +1 -1
  1343. package/lib/tntd-layout/CompatibleLanguage.js +7 -8
  1344. package/lib/tntd-layout/EnterpriseLayout/Avatar.d.ts +2 -1
  1345. package/lib/tntd-layout/EnterpriseLayout/Avatar.d.ts.map +1 -1
  1346. package/lib/tntd-layout/EnterpriseLayout/Avatar.js +5 -6
  1347. package/lib/tntd-layout/EnterpriseLayout/Language.js +7 -8
  1348. package/lib/tntd-layout/EnterpriseLayout/Theme.d.ts +2 -1
  1349. package/lib/tntd-layout/EnterpriseLayout/Theme.d.ts.map +1 -1
  1350. package/lib/tntd-layout/EnterpriseLayout/Theme.js +7 -8
  1351. package/lib/tntd-layout/EnterpriseLayout/index.js +2 -3
  1352. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.d.ts +2 -1
  1353. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.d.ts.map +1 -1
  1354. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.js +7 -8
  1355. package/lib/tntd-layout/GlobalNavigation/index.js +7 -8
  1356. package/lib/tntd-layout/Header.js +9 -6
  1357. package/lib/tntd-layout/HeaderActions.js +18 -21
  1358. package/lib/tntd-layout/HeaderNavs.js +8 -12
  1359. package/lib/tntd-layout/HeaderTabs.js +10 -14
  1360. package/lib/tntd-layout/Iconfont.d.ts +2 -1
  1361. package/lib/tntd-layout/Iconfont.d.ts.map +1 -1
  1362. package/lib/tntd-layout/Iconfont.js +2 -3
  1363. package/lib/tntd-layout/Language.js +7 -8
  1364. package/lib/tntd-layout/Layout.js +7 -8
  1365. package/lib/tntd-layout/Logo.js +9 -6
  1366. package/lib/tntd-layout/OrgAppList.js +7 -8
  1367. package/lib/tntd-layout/SideMenu.js +8 -11
  1368. package/lib/tntd-layout/Theme.d.ts +2 -1
  1369. package/lib/tntd-layout/Theme.d.ts.map +1 -1
  1370. package/lib/tntd-layout/Theme.js +7 -8
  1371. package/lib/tntd-layout/createActions.js +2 -3
  1372. package/lib/tntd-layout/images/index.js +4 -7
  1373. package/lib/tntd-layout/index.d.ts +3 -2
  1374. package/lib/tntd-layout/index.d.ts.map +1 -1
  1375. package/lib/tntd-layout/index.js +6 -11
  1376. package/lib/tntd-layout/paaslayout/CompactSideMenu.d.ts +2 -1
  1377. package/lib/tntd-layout/paaslayout/CompactSideMenu.d.ts.map +1 -1
  1378. package/lib/tntd-layout/paaslayout/CompactSideMenu.js +7 -8
  1379. package/lib/tntd-layout/paaslayout/Header.d.ts +2 -1
  1380. package/lib/tntd-layout/paaslayout/Header.d.ts.map +1 -1
  1381. package/lib/tntd-layout/paaslayout/Header.js +9 -6
  1382. package/lib/tntd-layout/paaslayout/Logo.d.ts +2 -1
  1383. package/lib/tntd-layout/paaslayout/Logo.d.ts.map +1 -1
  1384. package/lib/tntd-layout/paaslayout/Logo.js +6 -3
  1385. package/lib/tntd-layout/paaslayout/SideMenu.d.ts +2 -1
  1386. package/lib/tntd-layout/paaslayout/SideMenu.d.ts.map +1 -1
  1387. package/lib/tntd-layout/paaslayout/SideMenu.js +7 -8
  1388. package/lib/tntd-layout/paaslayout/index.js +7 -8
  1389. package/lib/tntd-layout/storage.js +14 -27
  1390. package/lib/tntd-modal/index.d.ts +2 -1
  1391. package/lib/tntd-modal/index.d.ts.map +1 -1
  1392. package/lib/tntd-modal/index.js +11 -15
  1393. package/lib/tntd-rc-select/_util/DisabledContext.js +5 -7
  1394. package/lib/tntd-rc-select/_util/FormItemInputContext.js +4 -5
  1395. package/lib/tntd-rc-select/_util/PurePanel.d.ts +1 -1
  1396. package/lib/tntd-rc-select/_util/PurePanel.d.ts.map +1 -1
  1397. package/lib/tntd-rc-select/_util/PurePanel.js +5 -5
  1398. package/lib/tntd-rc-select/_util/SizeContext.js +4 -5
  1399. package/lib/tntd-rc-select/_util/context.js +3 -6
  1400. package/lib/tntd-rc-select/_util/defaultRenderEmpty.d.ts +2 -2
  1401. package/lib/tntd-rc-select/_util/defaultRenderEmpty.d.ts.map +1 -1
  1402. package/lib/tntd-rc-select/_util/defaultRenderEmpty.js +4 -5
  1403. package/lib/tntd-rc-select/_util/getIcons.d.ts +2 -2
  1404. package/lib/tntd-rc-select/_util/getIcons.js +3 -3
  1405. package/lib/tntd-rc-select/_util/interface.js +1 -2
  1406. package/lib/tntd-rc-select/_util/motion.js +3 -6
  1407. package/lib/tntd-rc-select/_util/type.js +3 -5
  1408. package/lib/tntd-rc-select/_util/useCompactItemContext.js +9 -12
  1409. package/lib/tntd-rc-select/_util/warning.js +4 -5
  1410. package/lib/tntd-rc-select/index.js +11 -14
  1411. package/lib/tntd-rc-select/style/index.less +844 -740
  1412. package/lib/tntd-select/DropDownWrap.js +16 -19
  1413. package/lib/tntd-select/index.d.ts +1 -1
  1414. package/lib/tntd-select/index.d.ts.map +1 -1
  1415. package/lib/tntd-select/index.js +44 -47
  1416. package/lib/tooltip/index.d.ts +1 -1
  1417. package/lib/tooltip/index.d.ts.map +1 -1
  1418. package/lib/tooltip/index.js +5 -6
  1419. package/lib/tooltip/index.js.map +1 -1
  1420. package/lib/tooltip/style/index.d.ts +3 -0
  1421. package/lib/tooltip/style/index.d.ts.map +1 -0
  1422. package/lib/tooltip/style/index.js +4 -0
  1423. package/lib/tooltip/style/index.js.map +1 -0
  1424. package/lib/tooltip/style/index.less +187 -0
  1425. package/lib/transfer/index.d.ts +1 -1
  1426. package/lib/transfer/index.d.ts.map +1 -1
  1427. package/lib/transfer/index.js +5 -6
  1428. package/lib/transfer/index.js.map +1 -1
  1429. package/lib/transfer/style/customize.less +62 -0
  1430. package/lib/transfer/style/index.d.ts +7 -0
  1431. package/lib/transfer/style/index.d.ts.map +1 -0
  1432. package/lib/transfer/style/index.js +8 -0
  1433. package/lib/transfer/style/index.js.map +1 -0
  1434. package/lib/transfer/style/index.less +191 -0
  1435. package/lib/tree/index.d.ts +1 -1
  1436. package/lib/tree/index.d.ts.map +1 -1
  1437. package/lib/tree/index.js +5 -6
  1438. package/lib/tree/index.js.map +1 -1
  1439. package/lib/tree/style/directory.less +95 -0
  1440. package/lib/tree/style/index.d.ts +3 -0
  1441. package/lib/tree/style/index.d.ts.map +1 -0
  1442. package/lib/tree/style/index.js +4 -0
  1443. package/lib/tree/style/index.js.map +1 -0
  1444. package/lib/tree/style/index.less +280 -0
  1445. package/lib/tree/style/mixin.less +29 -0
  1446. package/lib/tree-select/index.d.ts +1 -1
  1447. package/lib/tree-select/index.d.ts.map +1 -1
  1448. package/lib/tree-select/index.js +6 -8
  1449. package/lib/tree-select/index.js.map +1 -1
  1450. package/lib/tree-select/style/index.d.ts +5 -0
  1451. package/lib/tree-select/style/index.d.ts.map +1 -0
  1452. package/lib/tree-select/style/index.js +6 -0
  1453. package/lib/tree-select/style/index.js.map +1 -0
  1454. package/lib/tree-select/style/index.less +191 -0
  1455. package/lib/typography/index.d.ts +1 -1
  1456. package/lib/typography/index.d.ts.map +1 -1
  1457. package/lib/typography/index.js +5 -6
  1458. package/lib/typography/index.js.map +1 -1
  1459. package/lib/typography/style/index.d.ts +5 -0
  1460. package/lib/typography/style/index.d.ts.map +1 -0
  1461. package/lib/typography/style/index.js +6 -0
  1462. package/lib/typography/style/index.js.map +1 -0
  1463. package/lib/typography/style/index.less +204 -0
  1464. package/lib/upload/index.d.ts +1 -1
  1465. package/lib/upload/index.d.ts.map +1 -1
  1466. package/lib/upload/index.js +5 -6
  1467. package/lib/upload/index.js.map +1 -1
  1468. package/lib/upload/style/index.d.ts +5 -0
  1469. package/lib/upload/style/index.d.ts.map +1 -0
  1470. package/lib/upload/style/index.js +6 -0
  1471. package/lib/upload/style/index.js.map +1 -0
  1472. package/lib/upload/style/index.less +542 -0
  1473. package/lib/utils/checkAuth.js +2 -4
  1474. package/lib/utils/findMenuInfoByPath.js +2 -4
  1475. package/lib/utils/index.js +10 -18
  1476. package/lib/utils/lang.js +6 -11
  1477. package/lib/version/index.d.ts +1 -1
  1478. package/lib/version/index.d.ts.map +1 -1
  1479. package/lib/version/index.js +5 -6
  1480. package/lib/version/index.js.map +1 -1
  1481. package/lib/version/style/index.d.ts +2 -0
  1482. package/lib/version/style/index.d.ts.map +1 -0
  1483. package/lib/version/style/index.js +3 -0
  1484. package/lib/version/style/index.js.map +1 -0
  1485. package/lib/water-mark/index.js +7 -9
  1486. package/package.json +1 -1
  1487. package/themes/common/css2.x.css +154 -0
  1488. package/themes/common/css3.x.css +154 -0
  1489. package/themes/common/index.less +2 -0
  1490. package/themes/default/colors.less +12 -4
  1491. package/themes/default/colorsVar.less +160 -0
  1492. package/themes/default/lessToCssVar.less +127 -0
  1493. package/themes/default/lessVars2.x.less +33 -0
  1494. package/themes/default/lessVars3.x.less +35 -0
  1495. package/themes/default/variables.less +31 -23
  1496. package/themes/default/variablesVar.less +673 -0
  1497. package/themes/utils/colorPalette.less +11 -0
  1498. package/es/grid/RowContext.js.map +0 -1
  1499. package/es/grid/col.js.map +0 -1
  1500. package/es/grid/hooks/useBreakpoint.js.map +0 -1
  1501. package/es/grid/row.js.map +0 -1
  1502. package/lib/grid/RowContext.d.ts.map +0 -1
  1503. package/lib/grid/RowContext.js.map +0 -1
  1504. package/lib/grid/col.d.ts.map +0 -1
  1505. package/lib/grid/col.js.map +0 -1
  1506. package/lib/grid/hooks/useBreakpoint.d.ts.map +0 -1
  1507. package/lib/grid/hooks/useBreakpoint.js.map +0 -1
  1508. package/lib/grid/row.d.ts.map +0 -1
  1509. /package/es/{grid → grid-v4}/RowContext.js +0 -0
  1510. /package/es/{grid → grid-v4}/col.js +0 -0
  1511. /package/es/{grid → grid-v4}/hooks/useBreakpoint.js +0 -0
  1512. /package/es/{grid → grid-v4}/row.js +0 -0
  1513. /package/es/{grid → grid-v4}/style/rtl.less +0 -0
  1514. /package/lib/{grid → grid-v4}/RowContext.d.ts +0 -0
  1515. /package/lib/{grid → grid-v4}/col.d.ts +0 -0
  1516. /package/lib/{grid → grid-v4}/hooks/useBreakpoint.d.ts +0 -0
  1517. /package/lib/{grid → grid-v4}/row.d.ts +0 -0
  1518. /package/lib/{grid → grid-v4}/style/rtl.less +0 -0
@@ -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,23 +10,21 @@ var _react = _interopRequireWildcard(require("react"));
10
10
  var _modal = _interopRequireDefault(require("../modal"));
11
11
  var _tntdIcon = _interopRequireDefault(require("../tntd-icon"));
12
12
  require("./index.less");
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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
16
16
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
19
19
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
20
20
  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."); }
21
21
  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); }
22
- 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; }
23
- 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; } }
22
+ 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; }
23
+ 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; } }
24
24
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
25
25
  var __rest = void 0 && (void 0).__rest || function (s, e) {
26
26
  var t = {};
27
- for (var p in s) {
28
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
29
- }
27
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
30
28
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
31
29
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
32
30
  }
@@ -54,8 +52,7 @@ var Title = function Title(_ref) {
54
52
  onClick: onClose
55
53
  })));
56
54
  };
57
- var _default = function _default(props) {
58
- var _cn;
55
+ var _default = exports["default"] = function _default(props) {
59
56
  var visible = props.visible,
60
57
  children = props.children,
61
58
  logo = props.logo,
@@ -97,7 +94,6 @@ var _default = function _default(props) {
97
94
  style: {
98
95
  height: fullscreen ? '100vh' : height
99
96
  },
100
- className: (0, _classnames["default"])('tnt-modal', (_cn = {}, _defineProperty(_cn, className, className), _defineProperty(_cn, "fullscreen", fullscreen), _cn))
97
+ className: (0, _classnames["default"])('tnt-modal', _defineProperty(_defineProperty({}, className, className), "fullscreen", fullscreen))
101
98
  }, rest), children);
102
- };
103
- exports["default"] = _default;
99
+ };
@@ -1,15 +1,15 @@
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"] = exports.DisabledContextProvider = void 0;
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
  var DisabledContext = React.createContext(false);
12
- var DisabledContextProvider = function DisabledContextProvider(_ref) {
12
+ var DisabledContextProvider = exports.DisabledContextProvider = function DisabledContextProvider(_ref) {
13
13
  var children = _ref.children,
14
14
  disabled = _ref.disabled;
15
15
  var originDisabled = React.useContext(DisabledContext);
@@ -17,6 +17,4 @@ var DisabledContextProvider = function DisabledContextProvider(_ref) {
17
17
  value: disabled !== null && disabled !== void 0 ? disabled : originDisabled
18
18
  }, children);
19
19
  };
20
- exports.DisabledContextProvider = DisabledContextProvider;
21
- var _default = DisabledContext;
22
- exports["default"] = _default;
20
+ var _default = exports["default"] = DisabledContext;
@@ -1,12 +1,11 @@
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.FormItemInputContext = void 0;
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; }
11
- var FormItemInputContext = React.createContext({});
12
- exports.FormItemInputContext = FormItemInputContext;
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
+ var FormItemInputContext = exports.FormItemInputContext = React.createContext({});
@@ -5,5 +5,5 @@ export interface BaseProps {
5
5
  }
6
6
  export default function genPurePanel<ComponentProps extends BaseProps>(Component: any, defaultPrefixCls?: string, getDropdownCls?: null | ((prefixCls: string) => string), postProps?: (props: ComponentProps) => ComponentProps): (props: Omit<ComponentProps, "open" | "visible"> & {
7
7
  open?: boolean | undefined;
8
- }) => JSX.Element;
8
+ }) => React.JSX.Element;
9
9
  //# sourceMappingURL=PurePanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PurePanel.d.ts","sourceRoot":"","sources":["../../../src/tntd-rc-select/_util/PurePanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,MAAM,WAAW,SAAS;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAC5B;AAGD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,cAAc,SAAS,SAAS,EACnE,SAAS,EAAE,GAAG,EACd,gBAAgB,CAAC,EAAE,MAAM,EACzB,cAAc,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC,EACvD,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,cAAc;;kBA6EtD"}
1
+ {"version":3,"file":"PurePanel.d.ts","sourceRoot":"","sources":["../../../src/tntd-rc-select/_util/PurePanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,MAAM,WAAW,SAAS;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAC5B;AAGD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,cAAc,SAAS,SAAS,EACnE,SAAS,EAAE,GAAG,EACd,gBAAgB,CAAC,EAAE,MAAM,EACzB,cAAc,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC,EACvD,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,cAAc;;wBA6EtD"}
@@ -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
  });
@@ -8,14 +8,14 @@ exports["default"] = genPurePanel;
8
8
  var _useMergedState3 = _interopRequireDefault(require("rc-util/lib/hooks/useMergedState"));
9
9
  var React = _interopRequireWildcard(require("react"));
10
10
  var _context = require("./context");
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; }
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; }
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
14
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
15
15
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
16
16
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
17
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
18
- function _iterableToArrayLimit(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; } }
19
19
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
20
20
  /* istanbul ignore next */
21
21
  function genPurePanel(Component, defaultPrefixCls, getDropdownCls, postProps) {
@@ -1,12 +1,11 @@
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.SizeContext = void 0;
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; }
11
- var SizeContext = React.createContext(undefined);
12
- exports.SizeContext = SizeContext;
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
+ var SizeContext = exports.SizeContext = React.createContext(undefined);
@@ -10,13 +10,10 @@ var defaultGetPrefixCls = function defaultGetPrefixCls(suffixCls, customizePrefi
10
10
  if (customizePrefixCls) return customizePrefixCls;
11
11
  return suffixCls ? "tntd-rc-".concat(suffixCls) : 'tntd-rc';
12
12
  };
13
- var defaultIconPrefixCls = 'anticon';
13
+ var defaultIconPrefixCls = exports.defaultIconPrefixCls = 'anticon';
14
14
  // zombieJ: 🚨 Do not pass `defaultRenderEmpty` here since it will case circular dependency.
15
- exports.defaultIconPrefixCls = defaultIconPrefixCls;
16
- var ConfigContext = _react["default"].createContext({
15
+ var ConfigContext = exports.ConfigContext = _react["default"].createContext({
17
16
  // We provide a default function for Context without provider
18
17
  getPrefixCls: defaultGetPrefixCls
19
18
  });
20
- exports.ConfigContext = ConfigContext;
21
- var ConfigConsumer = ConfigContext.Consumer;
22
- exports.ConfigConsumer = ConfigConsumer;
19
+ var ConfigConsumer = exports.ConfigConsumer = ConfigContext.Consumer;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- declare const defaultRenderEmpty: (componentName: string) => JSX.Element;
1
+ import * as React from 'react';
2
+ declare const defaultRenderEmpty: (componentName: string) => React.JSX.Element;
3
3
  export declare type RenderEmptyHandler = typeof defaultRenderEmpty;
4
4
  export default defaultRenderEmpty;
5
5
  //# sourceMappingURL=defaultRenderEmpty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defaultRenderEmpty.d.ts","sourceRoot":"","sources":["../../../src/tntd-rc-select/_util/defaultRenderEmpty.tsx"],"names":[],"mappings":";AAWA,QAAA,MAAM,kBAAkB,kBAAmB,MAAM,gBAwBhD,CAAA;AAED,oBAAY,kBAAkB,GAAG,OAAO,kBAAkB,CAAA;AAE1D,eAAe,kBAAkB,CAAA"}
1
+ {"version":3,"file":"defaultRenderEmpty.d.ts","sourceRoot":"","sources":["../../../src/tntd-rc-select/_util/defaultRenderEmpty.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,kBAAkB,kBAAmB,MAAM,sBAwBhD,CAAA;AAED,oBAAY,kBAAkB,GAAG,OAAO,kBAAkB,CAAA;AAE1D,eAAe,kBAAkB,CAAA"}
@@ -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
  });
@@ -9,8 +9,8 @@ var React = _interopRequireWildcard(require("react"));
9
9
  var _context = require("./context");
10
10
  var _LocaleReceiver = _interopRequireDefault(require("antd/lib/locale-provider/LocaleReceiver"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
- 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); }
13
- 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 _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
14
14
  /*
15
15
  * @Descripttion: 空状态
16
16
  * @Author: 郑泳健
@@ -40,5 +40,4 @@ var defaultRenderEmpty = function defaultRenderEmpty(componentName) {
40
40
  });
41
41
  });
42
42
  };
43
- var _default = defaultRenderEmpty;
44
- exports["default"] = _default;
43
+ var _default = exports["default"] = defaultRenderEmpty;
@@ -14,10 +14,10 @@ export default function getIcons({ suffixIcon, clearIcon, menuItemSelectedIcon,
14
14
  showArrow?: boolean;
15
15
  }): {
16
16
  clearIcon: {};
17
- suffixIcon: JSX.Element | (({ open, showSearch }: {
17
+ suffixIcon: React.JSX.Element | (({ open, showSearch }: {
18
18
  open: boolean;
19
19
  showSearch: boolean;
20
- }) => JSX.Element);
20
+ }) => React.JSX.Element);
21
21
  itemIcon: {} | null;
22
22
  removeIcon: {} | null;
23
23
  };
@@ -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
  });
@@ -8,8 +8,8 @@ exports["default"] = getIcons;
8
8
  require("antd/lib/icon/style");
9
9
  var _icon = _interopRequireDefault(require("antd/lib/icon"));
10
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; }
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; }
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
14
  function getIcons(_ref) {
15
15
  var suffixIcon = _ref.suffixIcon,
@@ -4,13 +4,12 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.tuple = void 0;
7
- var tuple = function tuple() {
7
+ var tuple = exports.tuple = function tuple() {
8
8
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
9
9
  args[_key] = arguments[_key];
10
10
  }
11
11
  return args;
12
12
  };
13
- exports.tuple = tuple;
14
13
  var ValidateStatuses = tuple('success', 'warning', 'error', 'validating', '');
15
14
  var SelectPlacements = tuple('bottomLeft', 'bottomRight', 'topLeft', 'topRight');
16
15
  var InputStatuses = tuple('warning', 'error', '');
@@ -41,19 +41,16 @@ var collapseMotion = {
41
41
  motionDeadline: 500
42
42
  };
43
43
  var SelectPlacements = (0, _type.tuple)('bottomLeft', 'bottomRight', 'topLeft', 'topRight');
44
- var getTransitionDirection = function getTransitionDirection(placement) {
44
+ var getTransitionDirection = exports.getTransitionDirection = function getTransitionDirection(placement) {
45
45
  if (placement !== undefined && (placement === 'topLeft' || placement === 'topRight')) {
46
46
  return "slide-down";
47
47
  }
48
48
  return "slide-up";
49
49
  };
50
- exports.getTransitionDirection = getTransitionDirection;
51
- var getTransitionName = function getTransitionName(rootPrefixCls, motion, transitionName) {
50
+ var getTransitionName = exports.getTransitionName = function getTransitionName(rootPrefixCls, motion, transitionName) {
52
51
  if (transitionName !== undefined) {
53
52
  return transitionName;
54
53
  }
55
54
  return "".concat(rootPrefixCls, "-").concat(motion);
56
55
  };
57
- exports.getTransitionName = getTransitionName;
58
- var _default = collapseMotion;
59
- exports["default"] = _default;
56
+ var _default = exports["default"] = collapseMotion;
@@ -5,17 +5,15 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.tupleNum = exports.tuple = void 0;
7
7
  // https://stackoverflow.com/questions/46176165/ways-to-get-string-literal-type-of-array-values-without-enum-overhead
8
- var tuple = function tuple() {
8
+ var tuple = exports.tuple = function tuple() {
9
9
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
10
10
  args[_key] = arguments[_key];
11
11
  }
12
12
  return args;
13
13
  };
14
- exports.tuple = tuple;
15
- var tupleNum = function tupleNum() {
14
+ var tupleNum = exports.tupleNum = function tupleNum() {
16
15
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
17
16
  args[_key2] = arguments[_key2];
18
17
  }
19
18
  return args;
20
- };
21
- exports.tupleNum = tupleNum;
19
+ };
@@ -7,29 +7,26 @@ exports.useCompactItemContext = exports.SpaceCompactItemContext = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
8
  var _classnames = _interopRequireDefault(require("classnames"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
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 _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
16
- var SpaceCompactItemContext = React.createContext(null);
17
- exports.SpaceCompactItemContext = SpaceCompactItemContext;
18
- var useCompactItemContext = function useCompactItemContext(prefixCls, direction) {
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
16
+ var SpaceCompactItemContext = exports.SpaceCompactItemContext = React.createContext(null);
17
+ var useCompactItemContext = exports.useCompactItemContext = function useCompactItemContext(prefixCls, direction) {
19
18
  var compactItemContext = React.useContext(SpaceCompactItemContext);
20
19
  var compactItemClassnames = React.useMemo(function () {
21
- var _classNames;
22
20
  if (!compactItemContext) return '';
23
21
  var compactDirection = compactItemContext.compactDirection,
24
22
  isFirstItem = compactItemContext.isFirstItem,
25
23
  isLastItem = compactItemContext.isLastItem;
26
24
  var separator = compactDirection === 'vertical' ? '-vertical-' : '-';
27
- return (0, _classnames["default"])((_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-compact").concat(separator, "item"), true), _defineProperty(_classNames, "".concat(prefixCls, "-compact").concat(separator, "first-item"), isFirstItem), _defineProperty(_classNames, "".concat(prefixCls, "-compact").concat(separator, "last-item"), isLastItem), _defineProperty(_classNames, "".concat(prefixCls, "-compact").concat(separator, "item-rtl"), direction === 'rtl'), _classNames));
25
+ return (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-compact").concat(separator, "item"), true), "".concat(prefixCls, "-compact").concat(separator, "first-item"), isFirstItem), "".concat(prefixCls, "-compact").concat(separator, "last-item"), isLastItem), "".concat(prefixCls, "-compact").concat(separator, "item-rtl"), direction === 'rtl'));
28
26
  }, [prefixCls, direction, compactItemContext]);
29
27
  return {
30
28
  compactSize: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactSize,
31
29
  compactDirection: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactDirection,
32
30
  compactItemClassnames: compactItemClassnames
33
31
  };
34
- };
35
- exports.useCompactItemContext = useCompactItemContext;
32
+ };
@@ -1,13 +1,13 @@
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"] = void 0;
8
8
  var _warning = _interopRequireWildcard(require("rc-util/lib/warning"));
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 noop() {}
12
12
  // eslint-disable-next-line import/no-mutable-exports
13
13
  var warning = noop;
@@ -20,5 +20,4 @@ if (process.env.NODE_ENV !== 'production') {
20
20
  }
21
21
  };
22
22
  }
23
- var _default = warning;
24
- exports["default"] = _default;
23
+ var _default = exports["default"] = warning;
@@ -7,7 +7,8 @@ exports["default"] = void 0;
7
7
  var _classnames = _interopRequireDefault(require("classnames"));
8
8
  var _rcSelect = _interopRequireWildcard(require("rc-select"));
9
9
  var _omit = _interopRequireDefault(require("rc-util/lib/omit"));
10
- var React = _interopRequireWildcard(require("react"));
10
+ var _react = _interopRequireWildcard(require("react"));
11
+ var React = _react;
11
12
  var _context = require("./_util/context");
12
13
  var _defaultRenderEmpty = _interopRequireDefault(require("./_util/defaultRenderEmpty"));
13
14
  var _DisabledContext = _interopRequireDefault(require("../config-provider/DisabledContext"));
@@ -18,19 +19,17 @@ var _getIcons2 = _interopRequireDefault(require("./_util/getIcons"));
18
19
  var _warning = _interopRequireDefault(require("./_util/warning"));
19
20
  var _useCompactItemContext = require("./_util/useCompactItemContext");
20
21
  require("./style/index.less");
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; }
22
+ 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); }
23
+ 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
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
24
- 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); }
25
+ 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); }
25
26
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
26
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
27
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
27
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
28
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
28
29
  // TODO: 4.0 - codemod should help to change `filterOption` to support node props.
29
30
  var __rest = void 0 && (void 0).__rest || function (s, e) {
30
31
  var t = {};
31
- for (var p in s) {
32
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
33
- }
32
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
34
33
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
35
34
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
36
35
  }
@@ -38,7 +37,6 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
38
37
  };
39
38
  var SECRET_COMBOBOX_MODE_DO_NOT_USE = 'SECRET_COMBOBOX_MODE_DO_NOT_USE';
40
39
  var InternalSelect = function InternalSelect(_a, ref) {
41
- var _classNames2;
42
40
  var customizePrefixCls = _a.prefixCls,
43
41
  _a$bordered = _a.bordered,
44
42
  bordered = _a$bordered === void 0 ? true : _a$bordered,
@@ -84,7 +82,7 @@ var InternalSelect = function InternalSelect(_a, ref) {
84
82
  // =================== Warning =====================
85
83
  (0, _warning["default"])(!dropdownClassName, 'Select', '`dropdownClassName` is deprecated which will be removed in next major version. Please use `popupClassName` instead.');
86
84
  // ===================== Form Status =====================
87
- var _useContext = (0, React.useContext)(_FormItemInputContext.FormItemInputContext),
85
+ var _useContext = (0, _react.useContext)(_FormItemInputContext.FormItemInputContext),
88
86
  contextStatus = _useContext.status,
89
87
  hasFeedback = _useContext.hasFeedback,
90
88
  isFormItemInput = _useContext.isFormItemInput,
@@ -117,7 +115,7 @@ var InternalSelect = function InternalSelect(_a, ref) {
117
115
  // ===================== Disabled =====================
118
116
  var disabled = React.useContext(_DisabledContext["default"]);
119
117
  var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;
120
- var mergedClassName = (0, _classnames["default"])((_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefixCls, "-lg"), mergedSize === 'large'), _defineProperty(_classNames2, "".concat(prefixCls, "-sm"), mergedSize === 'small'), _defineProperty(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _defineProperty(_classNames2, "".concat(prefixCls, "-borderless"), !bordered), _defineProperty(_classNames2, "".concat(prefixCls, "-in-form-item"), isFormItemInput), _classNames2),
118
+ var mergedClassName = (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-lg"), mergedSize === 'large'), "".concat(prefixCls, "-sm"), mergedSize === 'small'), "".concat(prefixCls, "-rtl"), direction === 'rtl'), "".concat(prefixCls, "-borderless"), !bordered), "".concat(prefixCls, "-in-form-item"), isFormItemInput),
121
119
  // prefixCls||hasFeedback,
122
120
  // getStatusClassNames(prefixCls, mergedStatus, hasFeedback),
123
121
  compactItemClassnames, className);
@@ -156,5 +154,4 @@ var TntdRcSelect = React.forwardRef(InternalSelect);
156
154
  TntdRcSelect.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE;
157
155
  TntdRcSelect.Option = _rcSelect.Option;
158
156
  TntdRcSelect.OptGroup = _rcSelect.OptGroup;
159
- var _default = TntdRcSelect;
160
- exports["default"] = _default;
157
+ var _default = exports["default"] = TntdRcSelect;