@chaoswise/ui 3.0.6 → 3.0.8

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 (1320) hide show
  1. package/lib/AbreastLayout/CollapsedBtn.js +45 -0
  2. package/lib/AbreastLayout/CollapsedIcon.js +14 -0
  3. package/lib/AbreastLayout/NavTreeContainer.js +26 -0
  4. package/lib/AbreastLayout/assets/icon.png +0 -0
  5. package/lib/AbreastLayout/assets/icon.svg +11 -0
  6. package/lib/AbreastLayout/assets/icon1.svg +20 -0
  7. package/lib/AbreastLayout/index.js +215 -0
  8. package/lib/AbreastLayout/index.style.js +91 -0
  9. package/lib/Ace/ace.js +600 -0
  10. package/lib/Ace/diff.js +291 -0
  11. package/lib/Ace/editorOptions.js +34 -0
  12. package/lib/Ace/index.js +6 -0
  13. package/lib/Ace/split.js +462 -0
  14. package/lib/AdaptiveLayout/index.js +251 -0
  15. package/lib/Affix/index.js +2 -0
  16. package/lib/Alert/index.js +2 -0
  17. package/lib/Anchor/index.js +2 -0
  18. package/lib/Antd5/_util/ActionButton.js +117 -0
  19. package/lib/Antd5/_util/PurePanel.js +103 -0
  20. package/lib/Antd5/_util/aria-data-attrs.js +1 -0
  21. package/lib/Antd5/_util/capitalize.js +7 -0
  22. package/lib/Antd5/_util/colors.js +26 -0
  23. package/lib/Antd5/_util/easings.js +10 -0
  24. package/lib/Antd5/_util/extendsObject.js +26 -0
  25. package/lib/Antd5/_util/gapSize.js +10 -0
  26. package/lib/Antd5/_util/getAllowClear.js +16 -0
  27. package/lib/Antd5/_util/getRenderPropValue.js +6 -0
  28. package/lib/Antd5/_util/getScroll.js +29 -0
  29. package/lib/Antd5/_util/hooks/useClosable.js +119 -0
  30. package/lib/Antd5/_util/hooks/useForceUpdate.js +15 -0
  31. package/lib/Antd5/_util/hooks/useMultipleSelect.js +47 -0
  32. package/lib/Antd5/_util/hooks/usePatchElement.js +33 -0
  33. package/lib/Antd5/_util/hooks/useProxyImperativeHandle.js +32 -0
  34. package/lib/Antd5/_util/hooks/useSyncState.js +13 -0
  35. package/lib/Antd5/_util/hooks/useZIndex.js +56 -0
  36. package/lib/Antd5/_util/isNumeric.js +4 -0
  37. package/lib/Antd5/_util/motion.js +47 -0
  38. package/lib/Antd5/_util/placements.js +182 -0
  39. package/lib/Antd5/_util/reactNode.js +13 -0
  40. package/lib/Antd5/_util/responsiveObserver.js +123 -0
  41. package/lib/Antd5/_util/scrollTo.js +34 -0
  42. package/lib/Antd5/_util/statusUtils.js +12 -0
  43. package/lib/Antd5/_util/styleChecker.js +6 -0
  44. package/lib/Antd5/_util/throttleByAnimationFrame.js +30 -0
  45. package/lib/Antd5/_util/transButton.js +63 -0
  46. package/lib/Antd5/_util/transKeys.js +18 -0
  47. package/lib/Antd5/_util/type.js +1 -0
  48. package/lib/Antd5/_util/warning.js +59 -0
  49. package/lib/Antd5/_util/wave/WaveEffect.js +160 -0
  50. package/lib/Antd5/_util/wave/index.js +63 -0
  51. package/lib/Antd5/_util/wave/interface.js +1 -0
  52. package/lib/Antd5/_util/wave/style.js +32 -0
  53. package/lib/Antd5/_util/wave/useWave.js +48 -0
  54. package/lib/Antd5/_util/wave/util.js +29 -0
  55. package/lib/Antd5/_util/zindexContext.js +6 -0
  56. package/lib/Antd5/affix/index.js +228 -0
  57. package/lib/Antd5/affix/style/index.js +20 -0
  58. package/lib/Antd5/affix/utils.js +19 -0
  59. package/lib/Antd5/alert/Alert.js +233 -0
  60. package/lib/Antd5/alert/ErrorBoundary.js +76 -0
  61. package/lib/Antd5/alert/design/behavior-pattern.js +31 -0
  62. package/lib/Antd5/alert/index.js +5 -0
  63. package/lib/Antd5/alert/style/index.js +153 -0
  64. package/lib/Antd5/anchor/Anchor.js +278 -0
  65. package/lib/Antd5/anchor/AnchorLink.js +67 -0
  66. package/lib/Antd5/anchor/context.js +3 -0
  67. package/lib/Antd5/anchor/index.js +5 -0
  68. package/lib/Antd5/anchor/style/index.js +124 -0
  69. package/lib/Antd5/app/context.js +8 -0
  70. package/lib/Antd5/app/index.js +93 -0
  71. package/lib/Antd5/app/style/index.js +24 -0
  72. package/lib/Antd5/auto-complete/index.js +112 -0
  73. package/lib/Antd5/avatar/AvatarContext.js +3 -0
  74. package/lib/Antd5/avatar/avatar.js +189 -0
  75. package/lib/Antd5/avatar/group.js +103 -0
  76. package/lib/Antd5/avatar/index.js +6 -0
  77. package/lib/Antd5/avatar/style/index.js +110 -0
  78. package/lib/Antd5/back-top/index.js +113 -0
  79. package/lib/Antd5/back-top/style/index.js +82 -0
  80. package/lib/Antd5/badge/Ribbon.js +65 -0
  81. package/lib/Antd5/badge/ScrollNumber.js +72 -0
  82. package/lib/Antd5/badge/SingleNumber.js +122 -0
  83. package/lib/Antd5/badge/index.js +189 -0
  84. package/lib/Antd5/badge/style/index.js +291 -0
  85. package/lib/Antd5/badge/style/ribbon.js +72 -0
  86. package/lib/Antd5/breadcrumb/Breadcrumb.js +157 -0
  87. package/lib/Antd5/breadcrumb/BreadcrumbItem.js +103 -0
  88. package/lib/Antd5/breadcrumb/BreadcrumbSeparator.js +16 -0
  89. package/lib/Antd5/breadcrumb/design/behavior-pattern.js +36 -0
  90. package/lib/Antd5/breadcrumb/index.js +2 -0
  91. package/lib/Antd5/breadcrumb/style/index.js +82 -0
  92. package/lib/Antd5/breadcrumb/useItemRender.js +57 -0
  93. package/lib/Antd5/breadcrumb/useItems.js +42 -0
  94. package/lib/Antd5/button/IconWrapper.js +17 -0
  95. package/lib/Antd5/button/LoadingIcon.js +87 -0
  96. package/lib/Antd5/button/button-group.js +59 -0
  97. package/lib/Antd5/button/button.js +230 -0
  98. package/lib/Antd5/button/buttonHelpers.js +68 -0
  99. package/lib/Antd5/button/index.js +3 -0
  100. package/lib/Antd5/button/style/compactCmp.js +46 -0
  101. package/lib/Antd5/button/style/group.js +52 -0
  102. package/lib/Antd5/button/style/index.js +322 -0
  103. package/lib/Antd5/button/style/token.js +61 -0
  104. package/lib/Antd5/calendar/Header.js +176 -0
  105. package/lib/Antd5/calendar/generateCalendar.js +225 -0
  106. package/lib/Antd5/calendar/index.js +5 -0
  107. package/lib/Antd5/calendar/locale/ar_EG.js +2 -0
  108. package/lib/Antd5/calendar/locale/az_AZ.js +2 -0
  109. package/lib/Antd5/calendar/locale/bg_BG.js +2 -0
  110. package/lib/Antd5/calendar/locale/bn_BD.js +2 -0
  111. package/lib/Antd5/calendar/locale/by_BY.js +2 -0
  112. package/lib/Antd5/calendar/locale/ca_ES.js +2 -0
  113. package/lib/Antd5/calendar/locale/cs_CZ.js +2 -0
  114. package/lib/Antd5/calendar/locale/da_DK.js +2 -0
  115. package/lib/Antd5/calendar/locale/de_DE.js +2 -0
  116. package/lib/Antd5/calendar/locale/el_GR.js +2 -0
  117. package/lib/Antd5/calendar/locale/en_GB.js +2 -0
  118. package/lib/Antd5/calendar/locale/en_US.js +2 -0
  119. package/lib/Antd5/calendar/locale/es_ES.js +2 -0
  120. package/lib/Antd5/calendar/locale/et_EE.js +2 -0
  121. package/lib/Antd5/calendar/locale/eu_ES.js +2 -0
  122. package/lib/Antd5/calendar/locale/fa_IR.js +2 -0
  123. package/lib/Antd5/calendar/locale/fi_FI.js +2 -0
  124. package/lib/Antd5/calendar/locale/fr_BE.js +2 -0
  125. package/lib/Antd5/calendar/locale/fr_CA.js +2 -0
  126. package/lib/Antd5/calendar/locale/fr_FR.js +2 -0
  127. package/lib/Antd5/calendar/locale/ga_IE.js +2 -0
  128. package/lib/Antd5/calendar/locale/gl_ES.js +2 -0
  129. package/lib/Antd5/calendar/locale/he_IL.js +2 -0
  130. package/lib/Antd5/calendar/locale/hi_IN.js +2 -0
  131. package/lib/Antd5/calendar/locale/hr_HR.js +2 -0
  132. package/lib/Antd5/calendar/locale/hu_HU.js +2 -0
  133. package/lib/Antd5/calendar/locale/id_ID.js +2 -0
  134. package/lib/Antd5/calendar/locale/is_IS.js +2 -0
  135. package/lib/Antd5/calendar/locale/it_IT.js +2 -0
  136. package/lib/Antd5/calendar/locale/ja_JP.js +2 -0
  137. package/lib/Antd5/calendar/locale/ka_GE.js +2 -0
  138. package/lib/Antd5/calendar/locale/kk_KZ.js +2 -0
  139. package/lib/Antd5/calendar/locale/km_KH.js +2 -0
  140. package/lib/Antd5/calendar/locale/kmr_IQ.js +2 -0
  141. package/lib/Antd5/calendar/locale/kn_IN.js +2 -0
  142. package/lib/Antd5/calendar/locale/ko_KR.js +2 -0
  143. package/lib/Antd5/calendar/locale/lt_LT.js +2 -0
  144. package/lib/Antd5/calendar/locale/lv_LV.js +2 -0
  145. package/lib/Antd5/calendar/locale/mk_MK.js +2 -0
  146. package/lib/Antd5/calendar/locale/ml_IN.js +2 -0
  147. package/lib/Antd5/calendar/locale/mn_MN.js +2 -0
  148. package/lib/Antd5/calendar/locale/ms_MY.js +2 -0
  149. package/lib/Antd5/calendar/locale/my_MM.js +2 -0
  150. package/lib/Antd5/calendar/locale/nb_NO.js +2 -0
  151. package/lib/Antd5/calendar/locale/nl_BE.js +2 -0
  152. package/lib/Antd5/calendar/locale/nl_NL.js +2 -0
  153. package/lib/Antd5/calendar/locale/pl_PL.js +2 -0
  154. package/lib/Antd5/calendar/locale/pt_BR.js +2 -0
  155. package/lib/Antd5/calendar/locale/pt_PT.js +2 -0
  156. package/lib/Antd5/calendar/locale/ro_RO.js +2 -0
  157. package/lib/Antd5/calendar/locale/ru_RU.js +2 -0
  158. package/lib/Antd5/calendar/locale/si_LK.js +2 -0
  159. package/lib/Antd5/calendar/locale/sk_SK.js +2 -0
  160. package/lib/Antd5/calendar/locale/sl_SI.js +2 -0
  161. package/lib/Antd5/calendar/locale/sr_RS.js +2 -0
  162. package/lib/Antd5/calendar/locale/sv_SE.js +2 -0
  163. package/lib/Antd5/calendar/locale/ta_IN.js +2 -0
  164. package/lib/Antd5/calendar/locale/th_TH.js +2 -0
  165. package/lib/Antd5/calendar/locale/tk_TK.js +2 -0
  166. package/lib/Antd5/calendar/locale/tr_TR.js +2 -0
  167. package/lib/Antd5/calendar/locale/uk_UA.js +2 -0
  168. package/lib/Antd5/calendar/locale/ur_PK.js +2 -0
  169. package/lib/Antd5/calendar/locale/uz_UZ.js +2 -0
  170. package/lib/Antd5/calendar/locale/vi_VN.js +2 -0
  171. package/lib/Antd5/calendar/locale/zh_CN.js +2 -0
  172. package/lib/Antd5/calendar/locale/zh_TW.js +2 -0
  173. package/lib/Antd5/calendar/style/index.js +153 -0
  174. package/lib/Antd5/card/Card.js +201 -0
  175. package/lib/Antd5/card/Grid.js +28 -0
  176. package/lib/Antd5/card/Meta.js +46 -0
  177. package/lib/Antd5/card/index.js +10 -0
  178. package/lib/Antd5/card/style/index.js +287 -0
  179. package/lib/Antd5/carousel/index.js +120 -0
  180. package/lib/Antd5/carousel/style/index.js +310 -0
  181. package/lib/Antd5/cascader/Panel.js +68 -0
  182. package/lib/Antd5/cascader/hooks/useBase.js +12 -0
  183. package/lib/Antd5/cascader/hooks/useCheckable.js +9 -0
  184. package/lib/Antd5/cascader/hooks/useColumnIcons.js +18 -0
  185. package/lib/Antd5/cascader/index.js +264 -0
  186. package/lib/Antd5/cascader/style/columns.js +87 -0
  187. package/lib/Antd5/cascader/style/index.js +48 -0
  188. package/lib/Antd5/cascader/style/panel.js +29 -0
  189. package/lib/Antd5/checkbox/Checkbox.js +125 -0
  190. package/lib/Antd5/checkbox/Group.js +148 -0
  191. package/lib/Antd5/checkbox/GroupContext.js +3 -0
  192. package/lib/Antd5/checkbox/index.js +9 -0
  193. package/lib/Antd5/checkbox/style/index.js +159 -0
  194. package/lib/Antd5/col/index.js +2 -0
  195. package/lib/Antd5/col/style/index.js +3 -0
  196. package/lib/Antd5/collapse/Collapse.js +121 -0
  197. package/lib/Antd5/collapse/CollapsePanel.js +33 -0
  198. package/lib/Antd5/collapse/index.js +2 -0
  199. package/lib/Antd5/collapse/style/index.js +183 -0
  200. package/lib/Antd5/color-picker/ColorPicker.js +233 -0
  201. package/lib/Antd5/color-picker/ColorPickerPanel.js +64 -0
  202. package/lib/Antd5/color-picker/color.js +67 -0
  203. package/lib/Antd5/color-picker/components/ColorAlphaInput.js +45 -0
  204. package/lib/Antd5/color-picker/components/ColorClear.js +22 -0
  205. package/lib/Antd5/color-picker/components/ColorHexInput.js +47 -0
  206. package/lib/Antd5/color-picker/components/ColorHsbInput.js +76 -0
  207. package/lib/Antd5/color-picker/components/ColorInput.js +86 -0
  208. package/lib/Antd5/color-picker/components/ColorPresets.js +109 -0
  209. package/lib/Antd5/color-picker/components/ColorRgbInput.js +67 -0
  210. package/lib/Antd5/color-picker/components/ColorSteppers.js +47 -0
  211. package/lib/Antd5/color-picker/components/ColorTrigger.js +65 -0
  212. package/lib/Antd5/color-picker/components/PanelPicker.js +53 -0
  213. package/lib/Antd5/color-picker/components/PanelPresets.js +18 -0
  214. package/lib/Antd5/color-picker/context.js +7 -0
  215. package/lib/Antd5/color-picker/hooks/useColorState.js +53 -0
  216. package/lib/Antd5/color-picker/index.js +2 -0
  217. package/lib/Antd5/color-picker/interface.js +6 -0
  218. package/lib/Antd5/color-picker/style/color-block.js +36 -0
  219. package/lib/Antd5/color-picker/style/index.js +203 -0
  220. package/lib/Antd5/color-picker/style/input.js +74 -0
  221. package/lib/Antd5/color-picker/style/picker.js +64 -0
  222. package/lib/Antd5/color-picker/style/presets.js +94 -0
  223. package/lib/Antd5/color-picker/util.js +18 -0
  224. package/lib/Antd5/config-provider/DisabledContext.js +13 -0
  225. package/lib/Antd5/config-provider/MotionWrapper.js +26 -0
  226. package/lib/Antd5/config-provider/PropWarning.js +18 -0
  227. package/lib/Antd5/config-provider/SizeContext.js +13 -0
  228. package/lib/Antd5/config-provider/context.js +16 -0
  229. package/lib/Antd5/config-provider/cssVariables.js +88 -0
  230. package/lib/Antd5/config-provider/defaultRenderEmpty.js +31 -0
  231. package/lib/Antd5/config-provider/hooks/useCSSVarCls.js +19 -0
  232. package/lib/Antd5/config-provider/hooks/useConfig.js +12 -0
  233. package/lib/Antd5/config-provider/hooks/useSize.js +19 -0
  234. package/lib/Antd5/config-provider/hooks/useTheme.js +55 -0
  235. package/lib/Antd5/config-provider/hooks/useThemeKey.js +14 -0
  236. package/lib/Antd5/config-provider/index.js +432 -0
  237. package/lib/Antd5/config-provider/style/index.js +2 -0
  238. package/lib/Antd5/date-picker/PickerButton.js +15 -0
  239. package/lib/Antd5/date-picker/design/behavior-pattern.js +89 -0
  240. package/lib/Antd5/date-picker/generatePicker/generateRangePicker.js +170 -0
  241. package/lib/Antd5/date-picker/generatePicker/generateSinglePicker.js +200 -0
  242. package/lib/Antd5/date-picker/generatePicker/index.js +26 -0
  243. package/lib/Antd5/date-picker/generatePicker/interface.js +2 -0
  244. package/lib/Antd5/date-picker/generatePicker/useComponents.js +15 -0
  245. package/lib/Antd5/date-picker/index.js +27 -0
  246. package/lib/Antd5/date-picker/locale/ar_EG.js +23 -0
  247. package/lib/Antd5/date-picker/locale/az_AZ.js +16 -0
  248. package/lib/Antd5/date-picker/locale/bg_BG.js +19 -0
  249. package/lib/Antd5/date-picker/locale/bn_BD.js +26 -0
  250. package/lib/Antd5/date-picker/locale/by_BY.js +24 -0
  251. package/lib/Antd5/date-picker/locale/ca_ES.js +19 -0
  252. package/lib/Antd5/date-picker/locale/cs_CZ.js +19 -0
  253. package/lib/Antd5/date-picker/locale/da_DK.js +19 -0
  254. package/lib/Antd5/date-picker/locale/de_DE.js +21 -0
  255. package/lib/Antd5/date-picker/locale/el_GR.js +19 -0
  256. package/lib/Antd5/date-picker/locale/en_GB.js +27 -0
  257. package/lib/Antd5/date-picker/locale/en_US.js +27 -0
  258. package/lib/Antd5/date-picker/locale/es_ES.js +21 -0
  259. package/lib/Antd5/date-picker/locale/et_EE.js +19 -0
  260. package/lib/Antd5/date-picker/locale/eu_ES.js +19 -0
  261. package/lib/Antd5/date-picker/locale/example.json +55 -0
  262. package/lib/Antd5/date-picker/locale/fa_IR.js +27 -0
  263. package/lib/Antd5/date-picker/locale/fi_FI.js +19 -0
  264. package/lib/Antd5/date-picker/locale/fr_BE.js +26 -0
  265. package/lib/Antd5/date-picker/locale/fr_CA.js +26 -0
  266. package/lib/Antd5/date-picker/locale/fr_FR.js +26 -0
  267. package/lib/Antd5/date-picker/locale/ga_IE.js +26 -0
  268. package/lib/Antd5/date-picker/locale/gl_ES.js +19 -0
  269. package/lib/Antd5/date-picker/locale/he_IL.js +19 -0
  270. package/lib/Antd5/date-picker/locale/hi_IN.js +26 -0
  271. package/lib/Antd5/date-picker/locale/hr_HR.js +26 -0
  272. package/lib/Antd5/date-picker/locale/hu_HU.js +19 -0
  273. package/lib/Antd5/date-picker/locale/id_ID.js +27 -0
  274. package/lib/Antd5/date-picker/locale/is_IS.js +19 -0
  275. package/lib/Antd5/date-picker/locale/it_IT.js +19 -0
  276. package/lib/Antd5/date-picker/locale/ja_JP.js +19 -0
  277. package/lib/Antd5/date-picker/locale/ka_GE.js +23 -0
  278. package/lib/Antd5/date-picker/locale/kk_KZ.js +26 -0
  279. package/lib/Antd5/date-picker/locale/km_KH.js +26 -0
  280. package/lib/Antd5/date-picker/locale/kmr_IQ.js +19 -0
  281. package/lib/Antd5/date-picker/locale/kn_IN.js +19 -0
  282. package/lib/Antd5/date-picker/locale/ko_KR.js +19 -0
  283. package/lib/Antd5/date-picker/locale/lt_LT.js +27 -0
  284. package/lib/Antd5/date-picker/locale/lv_LV.js +19 -0
  285. package/lib/Antd5/date-picker/locale/mk_MK.js +19 -0
  286. package/lib/Antd5/date-picker/locale/ml_IN.js +26 -0
  287. package/lib/Antd5/date-picker/locale/mn_MN.js +19 -0
  288. package/lib/Antd5/date-picker/locale/ms_MY.js +19 -0
  289. package/lib/Antd5/date-picker/locale/my_MM.js +27 -0
  290. package/lib/Antd5/date-picker/locale/nb_NO.js +26 -0
  291. package/lib/Antd5/date-picker/locale/nl_BE.js +26 -0
  292. package/lib/Antd5/date-picker/locale/nl_NL.js +26 -0
  293. package/lib/Antd5/date-picker/locale/pl_PL.js +19 -0
  294. package/lib/Antd5/date-picker/locale/pt_BR.js +19 -0
  295. package/lib/Antd5/date-picker/locale/pt_PT.js +47 -0
  296. package/lib/Antd5/date-picker/locale/ro_RO.js +19 -0
  297. package/lib/Antd5/date-picker/locale/ru_RU.js +29 -0
  298. package/lib/Antd5/date-picker/locale/si_LK.js +27 -0
  299. package/lib/Antd5/date-picker/locale/sk_SK.js +19 -0
  300. package/lib/Antd5/date-picker/locale/sl_SI.js +45 -0
  301. package/lib/Antd5/date-picker/locale/sr_RS.js +26 -0
  302. package/lib/Antd5/date-picker/locale/sv_SE.js +26 -0
  303. package/lib/Antd5/date-picker/locale/ta_IN.js +27 -0
  304. package/lib/Antd5/date-picker/locale/th_TH.js +26 -0
  305. package/lib/Antd5/date-picker/locale/tk_TK.js +24 -0
  306. package/lib/Antd5/date-picker/locale/tr_TR.js +26 -0
  307. package/lib/Antd5/date-picker/locale/uk_UA.js +19 -0
  308. package/lib/Antd5/date-picker/locale/ur_PK.js +26 -0
  309. package/lib/Antd5/date-picker/locale/uz_UZ.js +26 -0
  310. package/lib/Antd5/date-picker/locale/vi_VN.js +27 -0
  311. package/lib/Antd5/date-picker/locale/zh_CN.js +29 -0
  312. package/lib/Antd5/date-picker/locale/zh_TW.js +28 -0
  313. package/lib/Antd5/date-picker/style/index.js +328 -0
  314. package/lib/Antd5/date-picker/style/multiple.js +81 -0
  315. package/lib/Antd5/date-picker/style/panel.js +448 -0
  316. package/lib/Antd5/date-picker/style/token.js +77 -0
  317. package/lib/Antd5/date-picker/style/variants.js +28 -0
  318. package/lib/Antd5/date-picker/util.js +118 -0
  319. package/lib/Antd5/descriptions/Cell.js +57 -0
  320. package/lib/Antd5/descriptions/DescriptionsContext.js +3 -0
  321. package/lib/Antd5/descriptions/Item.js +5 -0
  322. package/lib/Antd5/descriptions/Row.js +107 -0
  323. package/lib/Antd5/descriptions/constant.js +9 -0
  324. package/lib/Antd5/descriptions/hooks/useItems.js +38 -0
  325. package/lib/Antd5/descriptions/hooks/useRow.js +78 -0
  326. package/lib/Antd5/descriptions/index.js +119 -0
  327. package/lib/Antd5/descriptions/style/index.js +146 -0
  328. package/lib/Antd5/divider/index.js +85 -0
  329. package/lib/Antd5/divider/style/index.js +136 -0
  330. package/lib/Antd5/drawer/DrawerPanel.js +107 -0
  331. package/lib/Antd5/drawer/index.js +206 -0
  332. package/lib/Antd5/drawer/style/index.js +192 -0
  333. package/lib/Antd5/drawer/style/motion.js +56 -0
  334. package/lib/Antd5/dropdown/dropdown-button.js +129 -0
  335. package/lib/Antd5/dropdown/dropdown.js +255 -0
  336. package/lib/Antd5/dropdown/index.js +5 -0
  337. package/lib/Antd5/dropdown/style/index.js +220 -0
  338. package/lib/Antd5/dropdown/style/status.js +19 -0
  339. package/lib/Antd5/empty/empty.js +73 -0
  340. package/lib/Antd5/empty/index.js +83 -0
  341. package/lib/Antd5/empty/simple.js +61 -0
  342. package/lib/Antd5/empty/style/index.js +61 -0
  343. package/lib/Antd5/flex/index.js +67 -0
  344. package/lib/Antd5/flex/interface.js +1 -0
  345. package/lib/Antd5/flex/style/index.js +83 -0
  346. package/lib/Antd5/flex/utils.js +33 -0
  347. package/lib/Antd5/float-button/BackTop.js +109 -0
  348. package/lib/Antd5/float-button/FloatButton.js +105 -0
  349. package/lib/Antd5/float-button/FloatButtonContent.js +31 -0
  350. package/lib/Antd5/float-button/FloatButtonGroup.js +144 -0
  351. package/lib/Antd5/float-button/PurePanel.js +49 -0
  352. package/lib/Antd5/float-button/context.js +5 -0
  353. package/lib/Antd5/float-button/index.js +8 -0
  354. package/lib/Antd5/float-button/interface.js +1 -0
  355. package/lib/Antd5/float-button/style/index.js +294 -0
  356. package/lib/Antd5/float-button/util.js +9 -0
  357. package/lib/Antd5/form/ErrorList.js +110 -0
  358. package/lib/Antd5/form/Form.js +166 -0
  359. package/lib/Antd5/form/FormItem/ItemHolder.js +128 -0
  360. package/lib/Antd5/form/FormItem/StatusProvider.js +73 -0
  361. package/lib/Antd5/form/FormItem/index.js +310 -0
  362. package/lib/Antd5/form/FormItemInput.js +100 -0
  363. package/lib/Antd5/form/FormItemLabel.js +120 -0
  364. package/lib/Antd5/form/FormList.js +49 -0
  365. package/lib/Antd5/form/context.js +51 -0
  366. package/lib/Antd5/form/hooks/useChildren.js +8 -0
  367. package/lib/Antd5/form/hooks/useDebounce.js +22 -0
  368. package/lib/Antd5/form/hooks/useForm.js +69 -0
  369. package/lib/Antd5/form/hooks/useFormInstance.js +7 -0
  370. package/lib/Antd5/form/hooks/useFormItemStatus.js +23 -0
  371. package/lib/Antd5/form/hooks/useFormWarning.js +16 -0
  372. package/lib/Antd5/form/hooks/useFrameState.js +46 -0
  373. package/lib/Antd5/form/hooks/useItemRef.js +20 -0
  374. package/lib/Antd5/form/hooks/useVariants.js +21 -0
  375. package/lib/Antd5/form/index.js +19 -0
  376. package/lib/Antd5/form/interface.js +1 -0
  377. package/lib/Antd5/form/style/explain.js +37 -0
  378. package/lib/Antd5/form/style/fallbackCmp.js +26 -0
  379. package/lib/Antd5/form/style/index.js +318 -0
  380. package/lib/Antd5/form/util.js +39 -0
  381. package/lib/Antd5/form/validateMessagesContext.js +5 -0
  382. package/lib/Antd5/grid/RowContext.js +3 -0
  383. package/lib/Antd5/grid/col.js +103 -0
  384. package/lib/Antd5/grid/hooks/useBreakpoint.js +23 -0
  385. package/lib/Antd5/grid/index.js +11 -0
  386. package/lib/Antd5/grid/row.js +169 -0
  387. package/lib/Antd5/grid/style/index.js +153 -0
  388. package/lib/Antd5/icon/index.js +9 -0
  389. package/lib/Antd5/image/PreviewGroup.js +84 -0
  390. package/lib/Antd5/image/index.js +94 -0
  391. package/lib/Antd5/image/style/index.js +264 -0
  392. package/lib/Antd5/index.js +72 -0
  393. package/lib/Antd5/input/Group.js +57 -0
  394. package/lib/Antd5/input/Input.js +188 -0
  395. package/lib/Antd5/input/OTP/OTPInput.js +69 -0
  396. package/lib/Antd5/input/OTP/index.js +210 -0
  397. package/lib/Antd5/input/Password.js +116 -0
  398. package/lib/Antd5/input/Search.js +143 -0
  399. package/lib/Antd5/input/TextArea.js +118 -0
  400. package/lib/Antd5/input/hooks/useRemovePasswordTimeout.js +26 -0
  401. package/lib/Antd5/input/index.js +13 -0
  402. package/lib/Antd5/input/style/index.js +532 -0
  403. package/lib/Antd5/input/style/otp.js +32 -0
  404. package/lib/Antd5/input/style/token.js +46 -0
  405. package/lib/Antd5/input/style/variants.js +213 -0
  406. package/lib/Antd5/input/utils.js +4 -0
  407. package/lib/Antd5/input-number/index.js +163 -0
  408. package/lib/Antd5/input-number/style/index.js +299 -0
  409. package/lib/Antd5/input-number/style/token.js +24 -0
  410. package/lib/Antd5/layout/Sider.js +198 -0
  411. package/lib/Antd5/layout/context.js +11 -0
  412. package/lib/Antd5/layout/hooks/useHasSider.js +14 -0
  413. package/lib/Antd5/layout/index.js +9 -0
  414. package/lib/Antd5/layout/layout.js +143 -0
  415. package/lib/Antd5/layout/style/index.js +187 -0
  416. package/lib/Antd5/layout/style/light.js +24 -0
  417. package/lib/Antd5/list/Item.js +113 -0
  418. package/lib/Antd5/list/context.js +3 -0
  419. package/lib/Antd5/list/index.js +246 -0
  420. package/lib/Antd5/list/style/index.js +249 -0
  421. package/lib/Antd5/locale/ar_EG.js +114 -0
  422. package/lib/Antd5/locale/az_AZ.js +97 -0
  423. package/lib/Antd5/locale/bg_BG.js +95 -0
  424. package/lib/Antd5/locale/bn_BD.js +127 -0
  425. package/lib/Antd5/locale/by_BY.js +129 -0
  426. package/lib/Antd5/locale/ca_ES.js +122 -0
  427. package/lib/Antd5/locale/context.js +3 -0
  428. package/lib/Antd5/locale/cs_CZ.js +129 -0
  429. package/lib/Antd5/locale/da_DK.js +105 -0
  430. package/lib/Antd5/locale/de_DE.js +133 -0
  431. package/lib/Antd5/locale/el_GR.js +44 -0
  432. package/lib/Antd5/locale/en_GB.js +129 -0
  433. package/lib/Antd5/locale/en_US.js +144 -0
  434. package/lib/Antd5/locale/es_ES.js +129 -0
  435. package/lib/Antd5/locale/et_EE.js +129 -0
  436. package/lib/Antd5/locale/eu_ES.js +141 -0
  437. package/lib/Antd5/locale/fa_IR.js +138 -0
  438. package/lib/Antd5/locale/fi_FI.js +54 -0
  439. package/lib/Antd5/locale/fr_BE.js +126 -0
  440. package/lib/Antd5/locale/fr_CA.js +126 -0
  441. package/lib/Antd5/locale/fr_FR.js +131 -0
  442. package/lib/Antd5/locale/ga_IE.js +120 -0
  443. package/lib/Antd5/locale/gl_ES.js +108 -0
  444. package/lib/Antd5/locale/he_IL.js +114 -0
  445. package/lib/Antd5/locale/hi_IN.js +127 -0
  446. package/lib/Antd5/locale/hr_HR.js +126 -0
  447. package/lib/Antd5/locale/hu_HU.js +45 -0
  448. package/lib/Antd5/locale/hy_AM.js +106 -0
  449. package/lib/Antd5/locale/id_ID.js +144 -0
  450. package/lib/Antd5/locale/index.js +40 -0
  451. package/lib/Antd5/locale/is_IS.js +95 -0
  452. package/lib/Antd5/locale/it_IT.js +134 -0
  453. package/lib/Antd5/locale/ja_JP.js +144 -0
  454. package/lib/Antd5/locale/ka_GE.js +127 -0
  455. package/lib/Antd5/locale/kk_KZ.js +121 -0
  456. package/lib/Antd5/locale/km_KH.js +105 -0
  457. package/lib/Antd5/locale/kmr_IQ.js +44 -0
  458. package/lib/Antd5/locale/kn_IN.js +51 -0
  459. package/lib/Antd5/locale/ko_KR.js +141 -0
  460. package/lib/Antd5/locale/ku_IQ.js +47 -0
  461. package/lib/Antd5/locale/lt_LT.js +141 -0
  462. package/lib/Antd5/locale/lv_LV.js +44 -0
  463. package/lib/Antd5/locale/mk_MK.js +56 -0
  464. package/lib/Antd5/locale/ml_IN.js +127 -0
  465. package/lib/Antd5/locale/mn_MN.js +44 -0
  466. package/lib/Antd5/locale/ms_MY.js +61 -0
  467. package/lib/Antd5/locale/my_MM.js +136 -0
  468. package/lib/Antd5/locale/nb_NO.js +121 -0
  469. package/lib/Antd5/locale/ne_NP.js +44 -0
  470. package/lib/Antd5/locale/nl_BE.js +127 -0
  471. package/lib/Antd5/locale/nl_NL.js +127 -0
  472. package/lib/Antd5/locale/pl_PL.js +134 -0
  473. package/lib/Antd5/locale/pt_BR.js +134 -0
  474. package/lib/Antd5/locale/pt_PT.js +129 -0
  475. package/lib/Antd5/locale/ro_RO.js +127 -0
  476. package/lib/Antd5/locale/ru_RU.js +138 -0
  477. package/lib/Antd5/locale/si_LK.js +129 -0
  478. package/lib/Antd5/locale/sk_SK.js +129 -0
  479. package/lib/Antd5/locale/sl_SI.js +44 -0
  480. package/lib/Antd5/locale/sr_RS.js +127 -0
  481. package/lib/Antd5/locale/sv_SE.js +138 -0
  482. package/lib/Antd5/locale/ta_IN.js +126 -0
  483. package/lib/Antd5/locale/th_TH.js +138 -0
  484. package/lib/Antd5/locale/tk_TK.js +125 -0
  485. package/lib/Antd5/locale/tr_TR.js +125 -0
  486. package/lib/Antd5/locale/uk_UA.js +138 -0
  487. package/lib/Antd5/locale/ur_PK.js +127 -0
  488. package/lib/Antd5/locale/useLocale.js +28 -0
  489. package/lib/Antd5/locale/uz_UZ.js +143 -0
  490. package/lib/Antd5/locale/vi_VN.js +137 -0
  491. package/lib/Antd5/locale/zh_CN.js +145 -0
  492. package/lib/Antd5/locale/zh_HK.js +138 -0
  493. package/lib/Antd5/locale/zh_TW.js +139 -0
  494. package/lib/Antd5/mentions/index.js +198 -0
  495. package/lib/Antd5/mentions/style/index.js +205 -0
  496. package/lib/Antd5/menu/MenuContext.js +7 -0
  497. package/lib/Antd5/menu/MenuDivider.js +28 -0
  498. package/lib/Antd5/menu/MenuItem.js +82 -0
  499. package/lib/Antd5/menu/OverrideContext.js +39 -0
  500. package/lib/Antd5/menu/SubMenu.js +74 -0
  501. package/lib/Antd5/menu/index.js +39 -0
  502. package/lib/Antd5/menu/interface.js +1 -0
  503. package/lib/Antd5/menu/menu.js +174 -0
  504. package/lib/Antd5/menu/style/horizontal.js +38 -0
  505. package/lib/Antd5/menu/style/index.js +441 -0
  506. package/lib/Antd5/menu/style/rtl.js +23 -0
  507. package/lib/Antd5/menu/style/theme.js +158 -0
  508. package/lib/Antd5/menu/style/vertical.js +131 -0
  509. package/lib/Antd5/message/PurePanel.js +77 -0
  510. package/lib/Antd5/message/index.js +281 -0
  511. package/lib/Antd5/message/interface.js +1 -0
  512. package/lib/Antd5/message/style/index.js +128 -0
  513. package/lib/Antd5/message/useMessage.js +235 -0
  514. package/lib/Antd5/message/util.js +23 -0
  515. package/lib/Antd5/modal/ConfirmDialog.js +228 -0
  516. package/lib/Antd5/modal/Modal.js +162 -0
  517. package/lib/Antd5/modal/PurePanel.js +78 -0
  518. package/lib/Antd5/modal/components/ConfirmCancelBtn.js +32 -0
  519. package/lib/Antd5/modal/components/ConfirmOkBtn.js +33 -0
  520. package/lib/Antd5/modal/components/NormalCancelBtn.js +22 -0
  521. package/lib/Antd5/modal/components/NormalOkBtn.js +26 -0
  522. package/lib/Antd5/modal/confirm.js +169 -0
  523. package/lib/Antd5/modal/context.js +4 -0
  524. package/lib/Antd5/modal/destroyFns.js +2 -0
  525. package/lib/Antd5/modal/index.js +38 -0
  526. package/lib/Antd5/modal/interface.js +1 -0
  527. package/lib/Antd5/modal/locale.js +31 -0
  528. package/lib/Antd5/modal/shared.js +81 -0
  529. package/lib/Antd5/modal/style/confirm.js +83 -0
  530. package/lib/Antd5/modal/style/index.js +221 -0
  531. package/lib/Antd5/modal/useModal/HookModal.js +87 -0
  532. package/lib/Antd5/modal/useModal/index.js +128 -0
  533. package/lib/Antd5/notification/PurePanel.js +134 -0
  534. package/lib/Antd5/notification/index.js +215 -0
  535. package/lib/Antd5/notification/interface.js +1 -0
  536. package/lib/Antd5/notification/style/index.js +184 -0
  537. package/lib/Antd5/notification/style/placement.js +77 -0
  538. package/lib/Antd5/notification/style/pure-panel.js +18 -0
  539. package/lib/Antd5/notification/style/stack.js +81 -0
  540. package/lib/Antd5/notification/useNotification.js +201 -0
  541. package/lib/Antd5/notification/util.js +57 -0
  542. package/lib/Antd5/pagination/Pagination.js +135 -0
  543. package/lib/Antd5/pagination/Select.js +24 -0
  544. package/lib/Antd5/pagination/design/behavior-pattern.js +32 -0
  545. package/lib/Antd5/pagination/index.js +2 -0
  546. package/lib/Antd5/pagination/style/bordered.js +68 -0
  547. package/lib/Antd5/pagination/style/index.js +411 -0
  548. package/lib/Antd5/popconfirm/PurePanel.js +114 -0
  549. package/lib/Antd5/popconfirm/index.js +109 -0
  550. package/lib/Antd5/popconfirm/style/index.js +61 -0
  551. package/lib/Antd5/popover/PurePanel.js +77 -0
  552. package/lib/Antd5/popover/index.js +126 -0
  553. package/lib/Antd5/popover/style/index.js +137 -0
  554. package/lib/Antd5/progress/Circle.js +95 -0
  555. package/lib/Antd5/progress/Line.js +149 -0
  556. package/lib/Antd5/progress/Steps.js +55 -0
  557. package/lib/Antd5/progress/design/behavior-pattern.js +31 -0
  558. package/lib/Antd5/progress/index.js +2 -0
  559. package/lib/Antd5/progress/progress.js +144 -0
  560. package/lib/Antd5/progress/style/index.js +201 -0
  561. package/lib/Antd5/progress/utils.js +97 -0
  562. package/lib/Antd5/qr-code/index.js +125 -0
  563. package/lib/Antd5/qr-code/interface.js +1 -0
  564. package/lib/Antd5/qr-code/style/index.js +66 -0
  565. package/lib/Antd5/qrcode/index.js +4 -0
  566. package/lib/Antd5/qrcode/interface.js +3 -0
  567. package/lib/Antd5/qrcode/style/index.js +3 -0
  568. package/lib/Antd5/radio/context.js +6 -0
  569. package/lib/Antd5/radio/group.js +131 -0
  570. package/lib/Antd5/radio/index.js +9 -0
  571. package/lib/Antd5/radio/interface.js +1 -0
  572. package/lib/Antd5/radio/radio.js +137 -0
  573. package/lib/Antd5/radio/radioButton.js +31 -0
  574. package/lib/Antd5/radio/style/index.js +533 -0
  575. package/lib/Antd5/rate/index.js +69 -0
  576. package/lib/Antd5/rate/style/index.js +88 -0
  577. package/lib/Antd5/result/index.js +128 -0
  578. package/lib/Antd5/result/noFound.js +243 -0
  579. package/lib/Antd5/result/serverError.js +283 -0
  580. package/lib/Antd5/result/style/index.js +101 -0
  581. package/lib/Antd5/result/unauthorized.js +230 -0
  582. package/lib/Antd5/row/index.js +2 -0
  583. package/lib/Antd5/row/style/index.js +3 -0
  584. package/lib/Antd5/segmented/index.js +87 -0
  585. package/lib/Antd5/segmented/style/index.js +162 -0
  586. package/lib/Antd5/select/index.js +222 -0
  587. package/lib/Antd5/select/mergedBuiltinPlacements.js +40 -0
  588. package/lib/Antd5/select/style/dropdown.js +109 -0
  589. package/lib/Antd5/select/style/index.js +183 -0
  590. package/lib/Antd5/select/style/multiple.js +217 -0
  591. package/lib/Antd5/select/style/single.js +101 -0
  592. package/lib/Antd5/select/style/token.js +53 -0
  593. package/lib/Antd5/select/style/variants.js +126 -0
  594. package/lib/Antd5/select/useIcons.js +82 -0
  595. package/lib/Antd5/select/useShowArrow.js +9 -0
  596. package/lib/Antd5/skeleton/Avatar.js +48 -0
  597. package/lib/Antd5/skeleton/Button.js +47 -0
  598. package/lib/Antd5/skeleton/Element.js +30 -0
  599. package/lib/Antd5/skeleton/Image.js +49 -0
  600. package/lib/Antd5/skeleton/Input.js +46 -0
  601. package/lib/Antd5/skeleton/Node.js +43 -0
  602. package/lib/Antd5/skeleton/Paragraph.js +44 -0
  603. package/lib/Antd5/skeleton/Skeleton.js +153 -0
  604. package/lib/Antd5/skeleton/Title.js +23 -0
  605. package/lib/Antd5/skeleton/index.js +2 -0
  606. package/lib/Antd5/skeleton/style/index.js +247 -0
  607. package/lib/Antd5/slider/SliderTooltip.js +43 -0
  608. package/lib/Antd5/slider/index.js +236 -0
  609. package/lib/Antd5/slider/style/index.js +246 -0
  610. package/lib/Antd5/slider/useRafLock.js +32 -0
  611. package/lib/Antd5/space/Compact.js +103 -0
  612. package/lib/Antd5/space/Item.js +26 -0
  613. package/lib/Antd5/space/context.js +5 -0
  614. package/lib/Antd5/space/index.js +120 -0
  615. package/lib/Antd5/space/style/compact.js +18 -0
  616. package/lib/Antd5/space/style/index.js +79 -0
  617. package/lib/Antd5/spin/index.js +149 -0
  618. package/lib/Antd5/spin/style/index.js +206 -0
  619. package/lib/Antd5/statistic/Countdown.js +73 -0
  620. package/lib/Antd5/statistic/Number.js +47 -0
  621. package/lib/Antd5/statistic/Statistic.js +99 -0
  622. package/lib/Antd5/statistic/index.js +4 -0
  623. package/lib/Antd5/statistic/interface.js +1 -0
  624. package/lib/Antd5/statistic/style/index.js +51 -0
  625. package/lib/Antd5/statistic/utils.js +57 -0
  626. package/lib/Antd5/steps/index.js +120 -0
  627. package/lib/Antd5/steps/style/custom-icon.js +26 -0
  628. package/lib/Antd5/steps/style/horizontal.js +12 -0
  629. package/lib/Antd5/steps/style/index.js +249 -0
  630. package/lib/Antd5/steps/style/inline.js +95 -0
  631. package/lib/Antd5/steps/style/label-placement.js +46 -0
  632. package/lib/Antd5/steps/style/nav.js +109 -0
  633. package/lib/Antd5/steps/style/progress-dot.js +100 -0
  634. package/lib/Antd5/steps/style/progress.js +52 -0
  635. package/lib/Antd5/steps/style/rtl.js +25 -0
  636. package/lib/Antd5/steps/style/small.js +53 -0
  637. package/lib/Antd5/steps/style/vertical.js +55 -0
  638. package/lib/Antd5/steps/useLegacyItems.js +32 -0
  639. package/lib/Antd5/style/compact-item-vertical.js +33 -0
  640. package/lib/Antd5/style/compact-item.js +47 -0
  641. package/lib/Antd5/style/index.js +126 -0
  642. package/lib/Antd5/style/motion/collapse.js +16 -0
  643. package/lib/Antd5/style/motion/fade.js +34 -0
  644. package/lib/Antd5/style/motion/index.js +6 -0
  645. package/lib/Antd5/style/motion/motion.js +35 -0
  646. package/lib/Antd5/style/motion/move.js +133 -0
  647. package/lib/Antd5/style/motion/slide.js +137 -0
  648. package/lib/Antd5/style/motion/zoom.js +179 -0
  649. package/lib/Antd5/style/operationUnit.js +18 -0
  650. package/lib/Antd5/style/placementArrow.js +120 -0
  651. package/lib/Antd5/style/reset.css +253 -0
  652. package/lib/Antd5/style/roundedArrow.js +72 -0
  653. package/lib/Antd5/switch/index.js +97 -0
  654. package/lib/Antd5/switch/style/index.js +245 -0
  655. package/lib/Antd5/table/Column.js +7 -0
  656. package/lib/Antd5/table/ColumnGroup.js +7 -0
  657. package/lib/Antd5/table/ExpandIcon.js +28 -0
  658. package/lib/Antd5/table/InternalTable.js +451 -0
  659. package/lib/Antd5/table/RcTable/VirtualTable.js +9 -0
  660. package/lib/Antd5/table/RcTable/index.js +9 -0
  661. package/lib/Antd5/table/Table.js +34 -0
  662. package/lib/Antd5/table/hooks/useContainerWidth.js +14 -0
  663. package/lib/Antd5/table/hooks/useFilter/FilterDropdown.js +497 -0
  664. package/lib/Antd5/table/hooks/useFilter/FilterSearch.js +27 -0
  665. package/lib/Antd5/table/hooks/useFilter/FilterWrapper.js +24 -0
  666. package/lib/Antd5/table/hooks/useFilter/index.js +234 -0
  667. package/lib/Antd5/table/hooks/useLazyKVMap.js +30 -0
  668. package/lib/Antd5/table/hooks/usePagination.js +78 -0
  669. package/lib/Antd5/table/hooks/useSelection.js +578 -0
  670. package/lib/Antd5/table/hooks/useSorter.js +362 -0
  671. package/lib/Antd5/table/hooks/useTitleColumns.js +24 -0
  672. package/lib/Antd5/table/index.js +2 -0
  673. package/lib/Antd5/table/interface.js +3 -0
  674. package/lib/Antd5/table/style/bordered.js +68 -0
  675. package/lib/Antd5/table/style/ellipsis.js +24 -0
  676. package/lib/Antd5/table/style/empty.js +15 -0
  677. package/lib/Antd5/table/style/expand.js +106 -0
  678. package/lib/Antd5/table/style/filter.js +127 -0
  679. package/lib/Antd5/table/style/fixed.js +82 -0
  680. package/lib/Antd5/table/style/index.js +273 -0
  681. package/lib/Antd5/table/style/pagination.js +30 -0
  682. package/lib/Antd5/table/style/radius.js +35 -0
  683. package/lib/Antd5/table/style/rtl.js +40 -0
  684. package/lib/Antd5/table/style/selection.js +67 -0
  685. package/lib/Antd5/table/style/size.js +30 -0
  686. package/lib/Antd5/table/style/sorter.js +75 -0
  687. package/lib/Antd5/table/style/sticky.js +53 -0
  688. package/lib/Antd5/table/style/summary.js +25 -0
  689. package/lib/Antd5/table/style/virtual.js +49 -0
  690. package/lib/Antd5/table/util.js +31 -0
  691. package/lib/Antd5/tabs/TabPane.js +7 -0
  692. package/lib/Antd5/tabs/hooks/useAnimateConfig.js +40 -0
  693. package/lib/Antd5/tabs/hooks/useLegacyItems.js +43 -0
  694. package/lib/Antd5/tabs/index.js +115 -0
  695. package/lib/Antd5/tabs/style/index.js +633 -0
  696. package/lib/Antd5/tabs/style/motion.js +36 -0
  697. package/lib/Antd5/tag/CheckableTag.js +51 -0
  698. package/lib/Antd5/tag/index.js +133 -0
  699. package/lib/Antd5/tag/style/index.js +104 -0
  700. package/lib/Antd5/tag/style/presetCmp.js +34 -0
  701. package/lib/Antd5/tag/style/statusCmp.js +22 -0
  702. package/lib/Antd5/theme/context.js +15 -0
  703. package/lib/Antd5/theme/getDesignToken.js +18 -0
  704. package/lib/Antd5/theme/index.js +39 -0
  705. package/lib/Antd5/theme/interface/alias.js +1 -0
  706. package/lib/Antd5/theme/interface/components.js +1 -0
  707. package/lib/Antd5/theme/interface/index.js +1 -0
  708. package/lib/Antd5/theme/interface/maps/colors.js +1 -0
  709. package/lib/Antd5/theme/interface/maps/font.js +1 -0
  710. package/lib/Antd5/theme/interface/maps/index.js +4 -0
  711. package/lib/Antd5/theme/interface/maps/size.js +1 -0
  712. package/lib/Antd5/theme/interface/maps/style.js +1 -0
  713. package/lib/Antd5/theme/interface/presetColors.js +1 -0
  714. package/lib/Antd5/theme/interface/seeds.js +1 -0
  715. package/lib/Antd5/theme/internal.js +13 -0
  716. package/lib/Antd5/theme/themes/ColorMap.js +1 -0
  717. package/lib/Antd5/theme/themes/compact/genCompactSizeMapToken.js +16 -0
  718. package/lib/Antd5/theme/themes/compact/index.js +22 -0
  719. package/lib/Antd5/theme/themes/dark/colorAlgorithm.js +8 -0
  720. package/lib/Antd5/theme/themes/dark/colors.js +45 -0
  721. package/lib/Antd5/theme/themes/dark/index.js +32 -0
  722. package/lib/Antd5/theme/themes/default/colorAlgorithm.js +8 -0
  723. package/lib/Antd5/theme/themes/default/colors.js +43 -0
  724. package/lib/Antd5/theme/themes/default/index.js +31 -0
  725. package/lib/Antd5/theme/themes/seed.js +68 -0
  726. package/lib/Antd5/theme/themes/shared/genColorMapToken.js +85 -0
  727. package/lib/Antd5/theme/themes/shared/genCommonMapToken.js +21 -0
  728. package/lib/Antd5/theme/themes/shared/genControlHeight.js +9 -0
  729. package/lib/Antd5/theme/themes/shared/genFontMapToken.js +39 -0
  730. package/lib/Antd5/theme/themes/shared/genFontSizes.js +20 -0
  731. package/lib/Antd5/theme/themes/shared/genRadius.js +46 -0
  732. package/lib/Antd5/theme/themes/shared/genSizeMapToken.js +23 -0
  733. package/lib/Antd5/theme/useToken.js +129 -0
  734. package/lib/Antd5/theme/util/alias.js +143 -0
  735. package/lib/Antd5/theme/util/calc/CSSCalculator.js +119 -0
  736. package/lib/Antd5/theme/util/calc/NumCalculator.js +81 -0
  737. package/lib/Antd5/theme/util/calc/calculator.js +10 -0
  738. package/lib/Antd5/theme/util/calc/index.js +9 -0
  739. package/lib/Antd5/theme/util/genComponentStyleHook.js +243 -0
  740. package/lib/Antd5/theme/util/genPresetColor.js +21 -0
  741. package/lib/Antd5/theme/util/getAlphaColor.js +40 -0
  742. package/lib/Antd5/theme/util/maxmin.js +27 -0
  743. package/lib/Antd5/theme/util/statistic.js +74 -0
  744. package/lib/Antd5/theme/util/useResetIconStyle.js +39 -0
  745. package/lib/Antd5/time-picker/index.js +56 -0
  746. package/lib/Antd5/time-picker/locale/ar_EG.js +4 -0
  747. package/lib/Antd5/time-picker/locale/az_AZ.js +4 -0
  748. package/lib/Antd5/time-picker/locale/bg_BG.js +4 -0
  749. package/lib/Antd5/time-picker/locale/bn_BD.js +5 -0
  750. package/lib/Antd5/time-picker/locale/by_BY.js +5 -0
  751. package/lib/Antd5/time-picker/locale/ca_ES.js +4 -0
  752. package/lib/Antd5/time-picker/locale/cs_CZ.js +4 -0
  753. package/lib/Antd5/time-picker/locale/da_DK.js +5 -0
  754. package/lib/Antd5/time-picker/locale/de_DE.js +5 -0
  755. package/lib/Antd5/time-picker/locale/el_GR.js +4 -0
  756. package/lib/Antd5/time-picker/locale/en_GB.js +4 -0
  757. package/lib/Antd5/time-picker/locale/en_US.js +5 -0
  758. package/lib/Antd5/time-picker/locale/es_ES.js +4 -0
  759. package/lib/Antd5/time-picker/locale/et_EE.js +4 -0
  760. package/lib/Antd5/time-picker/locale/eu_ES.js +4 -0
  761. package/lib/Antd5/time-picker/locale/fa_IR.js +5 -0
  762. package/lib/Antd5/time-picker/locale/fi_FI.js +4 -0
  763. package/lib/Antd5/time-picker/locale/fr_BE.js +5 -0
  764. package/lib/Antd5/time-picker/locale/fr_CA.js +5 -0
  765. package/lib/Antd5/time-picker/locale/fr_FR.js +5 -0
  766. package/lib/Antd5/time-picker/locale/ga_IE.js +5 -0
  767. package/lib/Antd5/time-picker/locale/gl_ES.js +4 -0
  768. package/lib/Antd5/time-picker/locale/he_IL.js +4 -0
  769. package/lib/Antd5/time-picker/locale/hi_IN.js +5 -0
  770. package/lib/Antd5/time-picker/locale/hr_HR.js +5 -0
  771. package/lib/Antd5/time-picker/locale/hu_HU.js +4 -0
  772. package/lib/Antd5/time-picker/locale/id_ID.js +5 -0
  773. package/lib/Antd5/time-picker/locale/is_IS.js +4 -0
  774. package/lib/Antd5/time-picker/locale/it_IT.js +4 -0
  775. package/lib/Antd5/time-picker/locale/ja_JP.js +5 -0
  776. package/lib/Antd5/time-picker/locale/ka_GE.js +5 -0
  777. package/lib/Antd5/time-picker/locale/kk_KZ.js +5 -0
  778. package/lib/Antd5/time-picker/locale/km_KH.js +5 -0
  779. package/lib/Antd5/time-picker/locale/kmr_IQ.js +4 -0
  780. package/lib/Antd5/time-picker/locale/kn_IN.js +4 -0
  781. package/lib/Antd5/time-picker/locale/ko_KR.js +5 -0
  782. package/lib/Antd5/time-picker/locale/lt_LT.js +5 -0
  783. package/lib/Antd5/time-picker/locale/lv_LV.js +4 -0
  784. package/lib/Antd5/time-picker/locale/mk_MK.js +4 -0
  785. package/lib/Antd5/time-picker/locale/ml_IN.js +5 -0
  786. package/lib/Antd5/time-picker/locale/mn_MN.js +4 -0
  787. package/lib/Antd5/time-picker/locale/ms_MY.js +4 -0
  788. package/lib/Antd5/time-picker/locale/my_MM.js +5 -0
  789. package/lib/Antd5/time-picker/locale/nb_NO.js +5 -0
  790. package/lib/Antd5/time-picker/locale/nl_BE.js +5 -0
  791. package/lib/Antd5/time-picker/locale/nl_NL.js +5 -0
  792. package/lib/Antd5/time-picker/locale/pl_PL.js +4 -0
  793. package/lib/Antd5/time-picker/locale/pt_BR.js +4 -0
  794. package/lib/Antd5/time-picker/locale/pt_PT.js +4 -0
  795. package/lib/Antd5/time-picker/locale/ro_RO.js +4 -0
  796. package/lib/Antd5/time-picker/locale/ru_RU.js +5 -0
  797. package/lib/Antd5/time-picker/locale/si_LK.js +5 -0
  798. package/lib/Antd5/time-picker/locale/sk_SK.js +4 -0
  799. package/lib/Antd5/time-picker/locale/sl_SI.js +4 -0
  800. package/lib/Antd5/time-picker/locale/sr_RS.js +5 -0
  801. package/lib/Antd5/time-picker/locale/sv_SE.js +4 -0
  802. package/lib/Antd5/time-picker/locale/ta_IN.js +4 -0
  803. package/lib/Antd5/time-picker/locale/th_TH.js +4 -0
  804. package/lib/Antd5/time-picker/locale/tk_TK.js +5 -0
  805. package/lib/Antd5/time-picker/locale/tr_TR.js +5 -0
  806. package/lib/Antd5/time-picker/locale/uk_UA.js +4 -0
  807. package/lib/Antd5/time-picker/locale/ur_PK.js +5 -0
  808. package/lib/Antd5/time-picker/locale/uz_UZ.js +5 -0
  809. package/lib/Antd5/time-picker/locale/vi_VN.js +5 -0
  810. package/lib/Antd5/time-picker/locale/zh_CN.js +5 -0
  811. package/lib/Antd5/time-picker/locale/zh_TW.js +4 -0
  812. package/lib/Antd5/timeline/Timeline.js +65 -0
  813. package/lib/Antd5/timeline/TimelineItem.js +52 -0
  814. package/lib/Antd5/timeline/TimelineItemList.js +87 -0
  815. package/lib/Antd5/timeline/index.js +2 -0
  816. package/lib/Antd5/timeline/style/index.js +157 -0
  817. package/lib/Antd5/timeline/useItems.js +19 -0
  818. package/lib/Antd5/tooltip/PurePanel.js +55 -0
  819. package/lib/Antd5/tooltip/index.js +211 -0
  820. package/lib/Antd5/tooltip/style/index.js +104 -0
  821. package/lib/Antd5/tooltip/util.js +23 -0
  822. package/lib/Antd5/tour/PurePanel.js +78 -0
  823. package/lib/Antd5/tour/index.js +99 -0
  824. package/lib/Antd5/tour/interface.js +1 -0
  825. package/lib/Antd5/tour/panelRender.js +143 -0
  826. package/lib/Antd5/tour/style/index.js +187 -0
  827. package/lib/Antd5/transfer/ListBody.js +123 -0
  828. package/lib/Antd5/transfer/ListItem.js +72 -0
  829. package/lib/Antd5/transfer/hooks/useData.js +46 -0
  830. package/lib/Antd5/transfer/hooks/useSelection.js +59 -0
  831. package/lib/Antd5/transfer/index.js +361 -0
  832. package/lib/Antd5/transfer/interface.js +1 -0
  833. package/lib/Antd5/transfer/list.js +316 -0
  834. package/lib/Antd5/transfer/operation.js +43 -0
  835. package/lib/Antd5/transfer/search.js +32 -0
  836. package/lib/Antd5/transfer/style/index.js +264 -0
  837. package/lib/Antd5/tree/DirectoryTree.js +173 -0
  838. package/lib/Antd5/tree/Tree.js +123 -0
  839. package/lib/Antd5/tree/index.js +7 -0
  840. package/lib/Antd5/tree/style/index.js +348 -0
  841. package/lib/Antd5/tree/utils/dictUtil.js +74 -0
  842. package/lib/Antd5/tree/utils/dropIndicator.js +35 -0
  843. package/lib/Antd5/tree/utils/iconUtil.js +69 -0
  844. package/lib/Antd5/tree-select/index.js +228 -0
  845. package/lib/Antd5/tree-select/style/index.js +51 -0
  846. package/lib/Antd5/typography/Base/CopyBtn.js +43 -0
  847. package/lib/Antd5/typography/Base/Ellipsis.js +245 -0
  848. package/lib/Antd5/typography/Base/EllipsisTooltip.js +27 -0
  849. package/lib/Antd5/typography/Base/index.js +444 -0
  850. package/lib/Antd5/typography/Base/util.js +12 -0
  851. package/lib/Antd5/typography/Editable.js +119 -0
  852. package/lib/Antd5/typography/Link.js +33 -0
  853. package/lib/Antd5/typography/Paragraph.js +17 -0
  854. package/lib/Antd5/typography/Text.js +35 -0
  855. package/lib/Antd5/typography/Title.js +35 -0
  856. package/lib/Antd5/typography/Typography.js +70 -0
  857. package/lib/Antd5/typography/hooks/useCopyClick.js +95 -0
  858. package/lib/Antd5/typography/hooks/useMergedConfig.js +13 -0
  859. package/lib/Antd5/typography/hooks/usePrevious.js +9 -0
  860. package/lib/Antd5/typography/hooks/useUpdatedEffect.js +13 -0
  861. package/lib/Antd5/typography/index.js +11 -0
  862. package/lib/Antd5/typography/style/index.js +58 -0
  863. package/lib/Antd5/typography/style/mixins.js +216 -0
  864. package/lib/Antd5/upload/Dragger.js +32 -0
  865. package/lib/Antd5/upload/Upload.js +458 -0
  866. package/lib/Antd5/upload/UploadList/ListItem.js +197 -0
  867. package/lib/Antd5/upload/UploadList/index.js +250 -0
  868. package/lib/Antd5/upload/index.js +6 -0
  869. package/lib/Antd5/upload/interface.js +1 -0
  870. package/lib/Antd5/upload/style/dragger.js +51 -0
  871. package/lib/Antd5/upload/style/index.js +48 -0
  872. package/lib/Antd5/upload/style/list.js +86 -0
  873. package/lib/Antd5/upload/style/motion.js +39 -0
  874. package/lib/Antd5/upload/style/picture.js +175 -0
  875. package/lib/Antd5/upload/style/rtl.js +12 -0
  876. package/lib/Antd5/upload/utils.js +140 -0
  877. package/lib/Antd5/version/index.js +4 -0
  878. package/lib/Antd5/version/token-meta.json +1 -0
  879. package/lib/Antd5/version/token.json +1 -0
  880. package/lib/Antd5/version/version.js +1 -0
  881. package/lib/Antd5/watermark/context.js +22 -0
  882. package/lib/Antd5/watermark/index.js +253 -0
  883. package/lib/Antd5/watermark/useClips.js +118 -0
  884. package/lib/Antd5/watermark/useRafDebounce.js +21 -0
  885. package/lib/Antd5/watermark/useWatermark.js +61 -0
  886. package/lib/Antd5/watermark/utils.js +28 -0
  887. package/lib/App/index.js +2 -0
  888. package/lib/AutoComplete/index.js +2 -0
  889. package/lib/Avatar/index.js +2 -0
  890. package/lib/BackTop/index.js +2 -0
  891. package/lib/Badge/index.js +48 -0
  892. package/lib/Badge/index.style.js +65 -0
  893. package/lib/BasicLayout/Breadcrumb.js +78 -0
  894. package/lib/BasicLayout/Nav.js +37 -0
  895. package/lib/BasicLayout/Sider.js +159 -0
  896. package/lib/BasicLayout/index.js +396 -0
  897. package/lib/BasicLayout/locale/en_US.js +4 -0
  898. package/lib/BasicLayout/locale/index.js +11 -0
  899. package/lib/BasicLayout/locale/zh_CN.js +4 -0
  900. package/lib/BasicLayout/locale/zh_TW.js +4 -0
  901. package/lib/BasicLayout/style/index.js +101 -0
  902. package/lib/BasicLayout/style/sider.js +73 -0
  903. package/lib/BasicLayout/utils.js +7 -0
  904. package/lib/Breadcrumb/index.js +2 -0
  905. package/lib/Button/index.js +53 -0
  906. package/lib/Button/index.style.js +41 -0
  907. package/lib/CWCascader/Cascader/index.js +281 -0
  908. package/lib/CWCascader/Cascader/utils/iconUtil.js +81 -0
  909. package/lib/CWCascader/Cascader/utils/motion.js +13 -0
  910. package/lib/CWCascader/index.js +73 -0
  911. package/lib/CWCascader/index.style.js +42 -0
  912. package/lib/CWCascader/rc-cascader/Cascader.js +353 -0
  913. package/lib/CWCascader/rc-cascader/OptionList/Checkbox.js +21 -0
  914. package/lib/CWCascader/rc-cascader/OptionList/Column.js +274 -0
  915. package/lib/CWCascader/rc-cascader/OptionList/index.js +220 -0
  916. package/lib/CWCascader/rc-cascader/OptionList/useActive.js +33 -0
  917. package/lib/CWCascader/rc-cascader/OptionList/useKeyboard.js +172 -0
  918. package/lib/CWCascader/rc-cascader/context.js +3 -0
  919. package/lib/CWCascader/rc-cascader/hooks/useDisplayValues.js +85 -0
  920. package/lib/CWCascader/rc-cascader/hooks/useEntities.js +40 -0
  921. package/lib/CWCascader/rc-cascader/hooks/useMissingValues.js +19 -0
  922. package/lib/CWCascader/rc-cascader/hooks/useRefFunc.js +13 -0
  923. package/lib/CWCascader/rc-cascader/hooks/useSearchConfig.js +30 -0
  924. package/lib/CWCascader/rc-cascader/hooks/useSearchOptions.js +73 -0
  925. package/lib/CWCascader/rc-cascader/index.js +2 -0
  926. package/lib/CWCascader/rc-cascader/utils/commonUtil.js +54 -0
  927. package/lib/CWCascader/rc-cascader/utils/treeUtil.js +81 -0
  928. package/lib/CWCascader/rc-cascader/utils/warningPropsUtil.js +30 -0
  929. package/lib/CWColorPicker/SketchPicker/components/common/Alpha.js +132 -0
  930. package/lib/CWColorPicker/SketchPicker/components/common/Checkboard.js +40 -0
  931. package/lib/CWColorPicker/SketchPicker/components/common/ColorWrap.js +79 -0
  932. package/lib/CWColorPicker/SketchPicker/components/common/EditableInput.js +171 -0
  933. package/lib/CWColorPicker/SketchPicker/components/common/Hue.js +117 -0
  934. package/lib/CWColorPicker/SketchPicker/components/common/Raised.js +91 -0
  935. package/lib/CWColorPicker/SketchPicker/components/common/Saturation.js +138 -0
  936. package/lib/CWColorPicker/SketchPicker/components/common/Swatch.js +62 -0
  937. package/lib/CWColorPicker/SketchPicker/components/common/index.js +8 -0
  938. package/lib/CWColorPicker/SketchPicker/components/sketch/SketchFields.js +148 -0
  939. package/lib/CWColorPicker/SketchPicker/components/sketch/SketchPresetColors.js +72 -0
  940. package/lib/CWColorPicker/SketchPicker/components/sketch/index.js +160 -0
  941. package/lib/CWColorPicker/SketchPicker/helpers/alpha.js +46 -0
  942. package/lib/CWColorPicker/SketchPicker/helpers/checkboard.js +29 -0
  943. package/lib/CWColorPicker/SketchPicker/helpers/color.js +86 -0
  944. package/lib/CWColorPicker/SketchPicker/helpers/hue.js +48 -0
  945. package/lib/CWColorPicker/SketchPicker/helpers/index.js +2 -0
  946. package/lib/CWColorPicker/SketchPicker/helpers/interaction.js +54 -0
  947. package/lib/CWColorPicker/SketchPicker/helpers/saturation.js +28 -0
  948. package/lib/CWColorPicker/index.js +296 -0
  949. package/lib/CWColorPicker/index.style.js +81 -0
  950. package/lib/CWColorPicker/utils.js +15 -0
  951. package/lib/CWMessage/CommonIcon.js +16 -0
  952. package/lib/CWMessage/MessageContent/TabList/index.js +113 -0
  953. package/lib/CWMessage/MessageContent/index.js +269 -0
  954. package/lib/CWMessage/index.js +457 -0
  955. package/lib/CWMessage/index.style.js +153 -0
  956. package/lib/CWMessage/message.svg +14 -0
  957. package/lib/CWMessage/messageSvg.js +19 -0
  958. package/lib/CWMessage/service/index.js +35 -0
  959. package/lib/CWMessage/utils/index.js +33 -0
  960. package/lib/CWRadioTabs/index.js +150 -0
  961. package/lib/CWRadioTabs/index.style.js +33 -0
  962. package/lib/CWRangePicker/DropdownMenu/MoreHistoryList/index.js +37 -0
  963. package/lib/CWRangePicker/DropdownMenu/MoreTimeList/index.js +46 -0
  964. package/lib/CWRangePicker/DropdownMenu/index.js +240 -0
  965. package/lib/CWRangePicker/DropdownMenu/index.style.js +159 -0
  966. package/lib/CWRangePicker/Refresh/index.js +161 -0
  967. package/lib/CWRangePicker/Refresh/index.style.js +37 -0
  968. package/lib/CWRangePicker/TimeSpan/index.js +96 -0
  969. package/lib/CWRangePicker/TimeSpan/index.style.js +25 -0
  970. package/lib/CWRangePicker/assets/Calendar.js +15 -0
  971. package/lib/CWRangePicker/assets/Calendar2.js +15 -0
  972. package/lib/CWRangePicker/assets/Recover.js +18 -0
  973. package/lib/CWRangePicker/assets/Refresh1.js +14 -0
  974. package/lib/CWRangePicker/assets/Refresh2.js +14 -0
  975. package/lib/CWRangePicker/assets/Refresh3.js +14 -0
  976. package/lib/CWRangePicker/assets/live.js +19 -0
  977. package/lib/CWRangePicker/assets/more.js +23 -0
  978. package/lib/CWRangePicker/index.js +742 -0
  979. package/lib/CWRangePicker/index.style.js +78 -0
  980. package/lib/CWRangePicker/locale/en_US.js +29 -0
  981. package/lib/CWRangePicker/locale/index.js +11 -0
  982. package/lib/CWRangePicker/locale/zh_CN.js +29 -0
  983. package/lib/CWRangePicker/locale/zh_TW.js +29 -0
  984. package/lib/CWRangePicker/utils/index.js +706 -0
  985. package/lib/CWSelect/index.js +2 -0
  986. package/lib/CWTable/CWTable.js +605 -0
  987. package/lib/CWTable/header.js +55 -0
  988. package/lib/CWTable/index.js +217 -0
  989. package/lib/CWTable/index.style.js +96 -0
  990. package/lib/CWTree/assets/Drag.js +23 -0
  991. package/lib/CWTree/index.js +399 -0
  992. package/lib/CWTree/index.style.js +127 -0
  993. package/lib/CWTree/locale/en_US.js +3 -0
  994. package/lib/CWTree/locale/index.js +11 -0
  995. package/lib/CWTree/locale/zh_CN.js +3 -0
  996. package/lib/CWTree/locale/zh_TW.js +3 -0
  997. package/lib/CWTree/utils/index.js +99 -0
  998. package/lib/Calendar/index.js +2 -0
  999. package/lib/Card/index.js +2 -0
  1000. package/lib/CardSelect/index.js +153 -0
  1001. package/lib/CardSelect/index.style.js +76 -0
  1002. package/lib/Carousel/index.js +2 -0
  1003. package/lib/Cascader/index.js +2 -0
  1004. package/lib/ChangeIcon/index.js +153 -0
  1005. package/lib/ChangeIcon/index.style.js +89 -0
  1006. package/lib/Checkbox/index.js +2 -0
  1007. package/lib/CitySelect/citys.js +1457 -0
  1008. package/lib/CitySelect/index.js +128 -0
  1009. package/lib/Col/index.js +2 -0
  1010. package/lib/Collapse/index.js +85 -0
  1011. package/lib/Collapse/index.style.js +120 -0
  1012. package/lib/ColorPicker/index.js +2 -0
  1013. package/lib/ConfigProvider/ConfigProvider.js +92 -0
  1014. package/lib/ConfigProvider/Switch.js +43 -0
  1015. package/lib/ConfigProvider/customTheme.js +271 -0
  1016. package/lib/ConfigProvider/customTheme.json +163 -0
  1017. package/lib/ConfigProvider/customToken.js +44 -0
  1018. package/lib/ConfigProvider/index.js +6 -0
  1019. package/lib/ConfigProvider/intlContext.js +8 -0
  1020. package/lib/ConfigProvider/useLocale.js +15 -0
  1021. package/lib/CustomScrollBar/index.js +150 -0
  1022. package/lib/DataView/index.js +72 -0
  1023. package/lib/DataView/index.style.js +34 -0
  1024. package/lib/DatePicker/index.js +2 -0
  1025. package/lib/DemoShow/index.js +15 -0
  1026. package/lib/Descriptions/index.js +2 -0
  1027. package/lib/Divider/index.js +2 -0
  1028. package/lib/Documentation/Tocify.js +114 -0
  1029. package/lib/Documentation/index.js +147 -0
  1030. package/lib/Documentation/index.style.js +180 -0
  1031. package/lib/Drawer/index.js +107 -0
  1032. package/lib/Drawer/index.style.js +93 -0
  1033. package/lib/Dropdown/DropdownButton.js +20 -0
  1034. package/lib/Dropdown/index.js +39 -0
  1035. package/lib/Dropdown/index.style.js +22 -0
  1036. package/lib/EchartsArea/index.js +113 -0
  1037. package/lib/EchartsBar/index.js +212 -0
  1038. package/lib/EchartsBarRow/index.js +86 -0
  1039. package/lib/EchartsBase/index.js +217 -0
  1040. package/lib/EchartsLine/index.js +173 -0
  1041. package/lib/EchartsPie/index.js +121 -0
  1042. package/lib/EchartsRing/index.js +102 -0
  1043. package/lib/Empty/index.js +70 -0
  1044. package/lib/Empty/index.style.js +36 -0
  1045. package/lib/ErrorBoundary/ErrorPage.js +35 -0
  1046. package/lib/ErrorBoundary/assets/images/No-data.png +0 -0
  1047. package/lib/ErrorBoundary/history.js +81 -0
  1048. package/lib/ErrorBoundary/index.js +93 -0
  1049. package/lib/ErrorBoundary/index.styles.js +48 -0
  1050. package/lib/Exception/images/error.svg +58 -0
  1051. package/lib/Exception/index.js +99 -0
  1052. package/lib/Exception/index.style.js +37 -0
  1053. package/lib/FilterDropDown/DragList.js +106 -0
  1054. package/lib/FilterDropDown/assets/DragSvg.js +33 -0
  1055. package/lib/FilterDropDown/assets/ShowSvgIcon.js +14 -0
  1056. package/lib/FilterDropDown/index.js +271 -0
  1057. package/lib/FilterDropDown/index.style.js +83 -0
  1058. package/lib/Flex/index.js +2 -0
  1059. package/lib/FloatButton/index.js +2 -0
  1060. package/lib/Flow/BasicLayout/Chain.js +112 -0
  1061. package/lib/Flow/BasicLayout/config.js +21 -0
  1062. package/lib/Flow/BasicLayout/util.js +106 -0
  1063. package/lib/Flow/Flow.js +183 -0
  1064. package/lib/Flow/commons/initCommands.js +150 -0
  1065. package/lib/Flow/components/PluginWrapper.js +25 -0
  1066. package/lib/Flow/index.js +7 -0
  1067. package/lib/Flow/layouts/callChain.js +121 -0
  1068. package/lib/Flow/layouts/index.js +4 -0
  1069. package/lib/Flow/plugins/CommandLifeCycle.js +215 -0
  1070. package/lib/Flow/plugins/InitSideBarPlugin.js +81 -0
  1071. package/lib/Flow/plugins/InitToolBarPlugin.js +99 -0
  1072. package/lib/Flow/shape/index.js +4 -0
  1073. package/lib/Flow/shape/nodes/baseNode.js +99 -0
  1074. package/lib/Flow/shape/nodes/index.js +4 -0
  1075. package/lib/Flow/tools/index.js +22 -0
  1076. package/lib/Flow/types/index.js +1 -0
  1077. package/lib/Form/FormItem.js +79 -0
  1078. package/lib/Form/consts.js +2 -0
  1079. package/lib/Form/context.js +3 -0
  1080. package/lib/Form/hook/useForm3.js +117 -0
  1081. package/lib/Form/index.js +77 -0
  1082. package/lib/Form/index.style.js +56 -0
  1083. package/lib/FormItemWrapper/index.js +52 -0
  1084. package/lib/FormItemWrapper/index.style.js +32 -0
  1085. package/lib/GlobalTabs/index.js +49 -0
  1086. package/lib/GlobalTabs/index.style.js +31 -0
  1087. package/lib/Grid/index.js +2 -0
  1088. package/lib/Header/CommonDropMenu.js +90 -0
  1089. package/lib/Header/CommonIcon.js +26 -0
  1090. package/lib/Header/Document/icon.svg +14 -0
  1091. package/lib/Header/Document/index.js +29 -0
  1092. package/lib/Header/LocaleSwitcher.js +41 -0
  1093. package/lib/Header/Message/index.js +21 -0
  1094. package/lib/Header/TopNavigationMenu/index.js +73 -0
  1095. package/lib/Header/TopNavigationMenu/index.style.js +47 -0
  1096. package/lib/Header/UserSetting/TenantList.js +26 -0
  1097. package/lib/Header/UserSetting/TenantTree.js +33 -0
  1098. package/lib/Header/UserSetting/index.js +202 -0
  1099. package/lib/Header/UserSetting/index.style.js +60 -0
  1100. package/lib/Header/UserSetting/utils.js +30 -0
  1101. package/lib/Header/assets/home.svg +13 -0
  1102. package/lib/Header/assets/logo.svg +20 -0
  1103. package/lib/Header/index.js +320 -0
  1104. package/lib/Header/index.style.js +154 -0
  1105. package/lib/Icon/index.js +23 -0
  1106. package/lib/Icon/utils.js +20 -0
  1107. package/lib/IconSelect/components/CustomImg/index.js +84 -0
  1108. package/lib/IconSelect/components/SearchIcon/index.js +98 -0
  1109. package/lib/IconSelect/constants/icon.js +13291 -0
  1110. package/lib/IconSelect/index.js +144 -0
  1111. package/lib/IconSelect/index.style.js +75 -0
  1112. package/lib/Image/index.js +2 -0
  1113. package/lib/Input/InputComponent.js +71 -0
  1114. package/lib/Input/index.js +93 -0
  1115. package/lib/Input/index.style.js +23 -0
  1116. package/lib/InputNumber/index.js +27 -0
  1117. package/lib/Joyride/List.js +85 -0
  1118. package/lib/Joyride/img/finishImg.png +0 -0
  1119. package/lib/Joyride/img/welcomeImg.png +0 -0
  1120. package/lib/Joyride/index.js +448 -0
  1121. package/lib/Joyride/style/index.style.js +67 -0
  1122. package/lib/Joyride/style/list.style.js +115 -0
  1123. package/lib/Layout/index.js +2 -0
  1124. package/lib/LayoutWrapper/Footer.js +31 -0
  1125. package/lib/LayoutWrapper/Header.js +59 -0
  1126. package/lib/LayoutWrapper/LeftArrow.js +17 -0
  1127. package/lib/LayoutWrapper/assets/left-arrow.svg +21 -0
  1128. package/lib/LayoutWrapper/index.js +196 -0
  1129. package/lib/LayoutWrapper/style/footer.js +25 -0
  1130. package/lib/LayoutWrapper/style/header.js +46 -0
  1131. package/lib/LayoutWrapper/style/index.js +58 -0
  1132. package/lib/LeftNavigation/index.js +80 -0
  1133. package/lib/LeftNavigation/index.style.js +34 -0
  1134. package/lib/List/index.js +2 -0
  1135. package/lib/Mentions/index.js +2 -0
  1136. package/lib/Menu/index.js +2 -0
  1137. package/lib/Modal/Modal.js +176 -0
  1138. package/lib/Modal/assets/Close.js +22 -0
  1139. package/lib/Modal/confirmGlobalStyle.js +37 -0
  1140. package/lib/Modal/custom-backup/entiretyDrag.js +142 -0
  1141. package/lib/Modal/custom-backup/index.less +76 -0
  1142. package/lib/Modal/index.js +274 -0
  1143. package/lib/Modal/index.style.js +53 -0
  1144. package/lib/ModuleFederation/ErrorBoundary/index.js +52 -0
  1145. package/lib/ModuleFederation/index.js +10 -0
  1146. package/lib/ModuleFederation/react-dynamic-remote-component/RemoteComponent.js +185 -0
  1147. package/lib/ModuleFederation/react-dynamic-remote-component/attach-script.js +42 -0
  1148. package/lib/ModuleFederation/react-dynamic-remote-component/index.js +1 -0
  1149. package/lib/ModuleFederation/react-dynamic-remote-component/load-module.js +44 -0
  1150. package/lib/ModuleFederation/react-dynamic-remote-component/loading-script.js +35 -0
  1151. package/lib/ModuleFederation/react-dynamic-remote-component/suspend.js +28 -0
  1152. package/lib/ModuleFederation/react-dynamic-remote-component/utils.js +7 -0
  1153. package/lib/ModuleTitle/index.js +30 -0
  1154. package/lib/ModuleTitle/index.style.js +34 -0
  1155. package/lib/Overview/index.js +2 -0
  1156. package/lib/Pagination/index.js +363 -0
  1157. package/lib/Pagination/index.style.js +137 -0
  1158. package/lib/Popconfirm/index.js +2 -0
  1159. package/lib/Popover/index.js +2 -0
  1160. package/lib/Progress/index.js +2 -0
  1161. package/lib/QrCode/index.js +2 -0
  1162. package/lib/QuickRangePicker/index.js +149 -0
  1163. package/lib/QuickRangePicker/index.style.js +45 -0
  1164. package/lib/QuickTransfer/Drag.js +56 -0
  1165. package/lib/QuickTransfer/DragList.js +114 -0
  1166. package/lib/QuickTransfer/NoDrag.js +33 -0
  1167. package/lib/QuickTransfer/NotDragList.js +41 -0
  1168. package/lib/QuickTransfer/assets/DragSvg.js +14 -0
  1169. package/lib/QuickTransfer/assets/LockSvg.js +15 -0
  1170. package/lib/QuickTransfer/index.js +938 -0
  1171. package/lib/QuickTransfer/index.style.js +185 -0
  1172. package/lib/QuickTransfer/utils.js +291 -0
  1173. package/lib/Radio/index.js +2 -0
  1174. package/lib/RangePicker/index.js +2 -0
  1175. package/lib/Rate/index.js +2 -0
  1176. package/lib/Result/index.js +2 -0
  1177. package/lib/Row/index.js +2 -0
  1178. package/lib/ScrollLoad/index.js +134 -0
  1179. package/lib/SearchBar/OutSearch.js +107 -0
  1180. package/lib/SearchBar/index.js +680 -0
  1181. package/lib/SearchBar/index.style.js +91 -0
  1182. package/lib/SearchBar/locale/en_US.js +6 -0
  1183. package/lib/SearchBar/locale/index.js +11 -0
  1184. package/lib/SearchBar/locale/zh_CN.js +6 -0
  1185. package/lib/SearchBar/locale/zh_TW.js +6 -0
  1186. package/lib/Segmented/index.js +2 -0
  1187. package/lib/Select/index.js +2 -0
  1188. package/lib/SiderMenu/index.js +215 -0
  1189. package/lib/SiderMenu/index.style.js +23 -0
  1190. package/lib/SimpleCard/index.js +121 -0
  1191. package/lib/SimpleCard/index.style.js +76 -0
  1192. package/lib/SimplePagination/index.js +188 -0
  1193. package/lib/SimplePagination/index.style.js +105 -0
  1194. package/lib/SingleSpa/import-html/index.js +51 -0
  1195. package/lib/SingleSpa/import-html/process-tpl.js +189 -0
  1196. package/lib/SingleSpa/import-html/utils.js +147 -0
  1197. package/lib/SingleSpa/index.js +131 -0
  1198. package/lib/SingleSpa/singleSpa/single-spa.dev.js +1505 -0
  1199. package/lib/SingleSpa/system/amd.js +153 -0
  1200. package/lib/SingleSpa/system/index.js +11 -0
  1201. package/lib/SingleSpa/system/system.js +771 -0
  1202. package/lib/SingleSpa/system/systemjs-css.js +96 -0
  1203. package/lib/SingleSpa/utils.js +73 -0
  1204. package/lib/Skeleton/index.js +2 -0
  1205. package/lib/Slider/assets/slider.png +0 -0
  1206. package/lib/Slider/index.js +32 -0
  1207. package/lib/Slider/index.style.js +116 -0
  1208. package/lib/Space/index.js +2 -0
  1209. package/lib/Spin/index.js +2 -0
  1210. package/lib/Statistic/index.js +2 -0
  1211. package/lib/Steps/index.js +2 -0
  1212. package/lib/Switch/index.js +2 -0
  1213. package/lib/Table/index.js +2 -0
  1214. package/lib/Tabs/index.js +52 -0
  1215. package/lib/Tabs/index.style.js +58 -0
  1216. package/lib/Tag/CheckableTag.js +53 -0
  1217. package/lib/Tag/assets/LeftBottomCorner.js +22 -0
  1218. package/lib/Tag/assets/LeftTopCorner.js +22 -0
  1219. package/lib/Tag/assets/RightBottomCorner.js +22 -0
  1220. package/lib/Tag/assets/RightTopCorner.js +14 -0
  1221. package/lib/Tag/index.js +109 -0
  1222. package/lib/Tag/index.style.js +156 -0
  1223. package/lib/Theme/index.js +2 -0
  1224. package/lib/ThemeProvider/Switcher.js +25 -0
  1225. package/lib/ThemeProvider/index.js +5 -0
  1226. package/lib/ThemeProvider/main.js +185 -0
  1227. package/lib/ThemeProvider/utils.js +60 -0
  1228. package/lib/TimePicker/index.js +2 -0
  1229. package/lib/Timeline/index.js +2 -0
  1230. package/lib/Tooltip/index.js +54 -0
  1231. package/lib/Tooltip/index.style.js +23 -0
  1232. package/lib/TooltipText/ResizeObserverManager.js +56 -0
  1233. package/lib/TooltipText/index.js +138 -0
  1234. package/lib/TooltipText/index.style.js +47 -0
  1235. package/lib/Tour/index.js +2 -0
  1236. package/lib/Transfer/index.js +2 -0
  1237. package/lib/Tree/index.js +2 -0
  1238. package/lib/TreeSelect/index.js +2 -0
  1239. package/lib/Typography/index.js +2 -0
  1240. package/lib/Upload/index.js +2 -0
  1241. package/lib/WangEditor/editor4.js +652 -0
  1242. package/lib/WangEditor/index.js +298 -0
  1243. package/lib/WangEditor/index.style.js +203 -0
  1244. package/lib/WangEditor/locale/index.js +62 -0
  1245. package/lib/WangEditor/release/wangEditor.js +5390 -0
  1246. package/lib/WangEditor/resizeable.js +112 -0
  1247. package/lib/WangEditor/usePreview.js +39 -0
  1248. package/lib/WangEditor/wangEditor.js +4627 -0
  1249. package/lib/Watermark/index.js +2 -0
  1250. package/lib/antd-style/context/ThemeModeContext.js +11 -0
  1251. package/lib/antd-style/context/index.js +1 -0
  1252. package/lib/antd-style/core/CacheManager.js +56 -0
  1253. package/lib/antd-style/core/createCSS.js +42 -0
  1254. package/lib/antd-style/core/createEmotion.js +1 -0
  1255. package/lib/antd-style/core/createSerializeStyles.js +11 -0
  1256. package/lib/antd-style/core/index.js +5 -0
  1257. package/lib/antd-style/core/insertStyles.js +35 -0
  1258. package/lib/antd-style/factories/createEmotionContext.js +4 -0
  1259. package/lib/antd-style/factories/createGlobalStyle.js +28 -0
  1260. package/lib/antd-style/factories/createStyish.js +14 -0
  1261. package/lib/antd-style/factories/createStyleProvider/index.js +69 -0
  1262. package/lib/antd-style/factories/createStyledThemeProvider.js +16 -0
  1263. package/lib/antd-style/factories/createStyles/index.js +114 -0
  1264. package/lib/antd-style/factories/createStyles/response.js +43 -0
  1265. package/lib/antd-style/factories/createStyles/types.js +1 -0
  1266. package/lib/antd-style/factories/createThemeProvider/AntdProvider.js +78 -0
  1267. package/lib/antd-style/factories/createThemeProvider/ThemeSwitcher.js +130 -0
  1268. package/lib/antd-style/factories/createThemeProvider/TokenContainer.js +75 -0
  1269. package/lib/antd-style/factories/createThemeProvider/index.js +77 -0
  1270. package/lib/antd-style/factories/createThemeProvider/type.js +1 -0
  1271. package/lib/antd-style/factories/createUseTheme.js +33 -0
  1272. package/lib/antd-style/functions/createInstance.js +95 -0
  1273. package/lib/antd-style/functions/extractStaticStyle.js +63 -0
  1274. package/lib/antd-style/functions/index.js +21 -0
  1275. package/lib/antd-style/functions/setupStyled.js +11 -0
  1276. package/lib/antd-style/hooks/index.js +5 -0
  1277. package/lib/antd-style/hooks/useAntdStylish.js +20 -0
  1278. package/lib/antd-style/hooks/useAntdTheme.js +18 -0
  1279. package/lib/antd-style/hooks/useAntdToken.js +6 -0
  1280. package/lib/antd-style/hooks/useResponsive.js +9 -0
  1281. package/lib/antd-style/hooks/useThemeMode.js +5 -0
  1282. package/lib/antd-style/index.js +5 -0
  1283. package/lib/antd-style/stylish/button.js +19 -0
  1284. package/lib/antd-style/types/appearance.js +1 -0
  1285. package/lib/antd-style/types/css.js +1 -0
  1286. package/lib/antd-style/types/function.js +1 -0
  1287. package/lib/antd-style/types/genericUtils.js +1 -0
  1288. package/lib/antd-style/types/index.js +8 -0
  1289. package/lib/antd-style/types/response.js +1 -0
  1290. package/lib/antd-style/types/styleManager.js +1 -0
  1291. package/lib/antd-style/types/styled.js +1 -0
  1292. package/lib/antd-style/types/theme.js +1 -0
  1293. package/lib/antd-style/utils/convertStylish.js +18 -0
  1294. package/lib/antd-style/utils/css.js +59 -0
  1295. package/lib/antd-style/utils/css.test.js +20 -0
  1296. package/lib/antd-style/utils/index.js +1 -0
  1297. package/lib/antd-style/utils/matchBrowserPrefers.js +9 -0
  1298. package/lib/antd-style/utils/responsive.js +14 -0
  1299. package/lib/antd-style/utils/safeStartTransition.js +8 -0
  1300. package/lib/configHoc/index.js +23 -0
  1301. package/lib/index.js +5 -0
  1302. package/lib/locales/en_US.json +78 -0
  1303. package/lib/locales/index.js +57 -0
  1304. package/lib/locales/intl.js +46 -0
  1305. package/lib/locales/zh_CN.json +78 -0
  1306. package/lib/locales/zh_TW.json +78 -0
  1307. package/lib/message/index.js +2 -0
  1308. package/lib/noticeManager/event.js +52 -0
  1309. package/lib/noticeManager/globalState.js +26 -0
  1310. package/lib/noticeManager/index.js +16 -0
  1311. package/lib/notification/index.js +2 -0
  1312. package/lib/portalNoticeManager/event.js +52 -0
  1313. package/lib/portalNoticeManager/index.js +14 -0
  1314. package/lib/portalNoticeManager/usePortalDispatchNotice.js +37 -0
  1315. package/lib/portalNoticeManager/withPortalDispatchNotice.js +10 -0
  1316. package/lib/treeLoad/index.js +43 -0
  1317. package/lib/useChartTheme/index.js +36 -0
  1318. package/lib/useConfigContext/index.js +6 -0
  1319. package/lib/utils/index.js +90 -0
  1320. package/package.json +1 -1
@@ -0,0 +1,143 @@
1
+ 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); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
+ 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); }
7
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
8
+ 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."); }
9
+ 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; } }
10
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
11
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
12
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
13
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
14
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
15
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
16
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
17
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
18
+ import React from 'react';
19
+ import CloseOutlined from '@ant-design/icons/CloseOutlined';
20
+ import classNames from 'classnames';
21
+ import Button from '../button';
22
+ import { useLocale } from '../locale';
23
+ import defaultLocale from '../locale/en_US';
24
+ function isValidNode(node) {
25
+ return node !== undefined && node !== null;
26
+ }
27
+ // Due to the independent design of Panel, it will be too coupled to put in rc-tour,
28
+ // so a set of Panel logic is implemented separately in antd.
29
+ var TourPanel = function TourPanel(props) {
30
+ var _prevButtonProps$chil, _nextButtonProps$chil;
31
+ var stepProps = props.stepProps,
32
+ current = props.current,
33
+ type = props.type,
34
+ indicatorsRender = props.indicatorsRender;
35
+ var prefixCls = stepProps.prefixCls,
36
+ _stepProps$total = stepProps.total,
37
+ total = _stepProps$total === void 0 ? 1 : _stepProps$total,
38
+ title = stepProps.title,
39
+ onClose = stepProps.onClose,
40
+ onPrev = stepProps.onPrev,
41
+ onNext = stepProps.onNext,
42
+ onFinish = stepProps.onFinish,
43
+ cover = stepProps.cover,
44
+ description = stepProps.description,
45
+ nextButtonProps = stepProps.nextButtonProps,
46
+ prevButtonProps = stepProps.prevButtonProps,
47
+ stepType = stepProps.type,
48
+ closable = stepProps.closable;
49
+ var mergedType = stepType !== null && stepType !== void 0 ? stepType : type;
50
+ var mergedCloseIcon = React.useMemo(function () {
51
+ var defaultCloseIcon = _jsx(CloseOutlined, {
52
+ className: "".concat(prefixCls, "-close-icon")
53
+ });
54
+ if (closable && closable.closeIcon) {
55
+ defaultCloseIcon = closable.closeIcon;
56
+ }
57
+ return _jsx("button", {
58
+ type: "button",
59
+ onClick: onClose,
60
+ className: "".concat(prefixCls, "-close"),
61
+ children: defaultCloseIcon
62
+ });
63
+ }, [closable]);
64
+ var isLastStep = current === total - 1;
65
+ var prevBtnClick = function prevBtnClick() {
66
+ var _prevButtonProps$onCl;
67
+ onPrev === null || onPrev === void 0 || onPrev();
68
+ prevButtonProps === null || prevButtonProps === void 0 || (_prevButtonProps$onCl = prevButtonProps.onClick) === null || _prevButtonProps$onCl === void 0 || _prevButtonProps$onCl.call(prevButtonProps);
69
+ };
70
+ var nextBtnClick = function nextBtnClick() {
71
+ var _nextButtonProps$onCl;
72
+ if (isLastStep) {
73
+ onFinish === null || onFinish === void 0 || onFinish();
74
+ } else {
75
+ onNext === null || onNext === void 0 || onNext();
76
+ }
77
+ nextButtonProps === null || nextButtonProps === void 0 || (_nextButtonProps$onCl = nextButtonProps.onClick) === null || _nextButtonProps$onCl === void 0 || _nextButtonProps$onCl.call(nextButtonProps);
78
+ };
79
+ var headerNode = isValidNode(title) ? _jsx("div", {
80
+ className: "".concat(prefixCls, "-header"),
81
+ children: _jsx("div", {
82
+ className: "".concat(prefixCls, "-title"),
83
+ children: title
84
+ })
85
+ }) : null;
86
+ var descriptionNode = isValidNode(description) ? _jsx("div", {
87
+ className: "".concat(prefixCls, "-description"),
88
+ children: description
89
+ }) : null;
90
+ var coverNode = isValidNode(cover) ? _jsx("div", {
91
+ className: "".concat(prefixCls, "-cover"),
92
+ children: cover
93
+ }) : null;
94
+ var mergedIndicatorNode;
95
+ if (indicatorsRender) {
96
+ mergedIndicatorNode = indicatorsRender(current, total);
97
+ } else {
98
+ mergedIndicatorNode = _toConsumableArray(Array.from({
99
+ length: total
100
+ }).keys()).map(function (stepItem, index) {
101
+ return _jsx("span", {
102
+ className: classNames(index === current && "".concat(prefixCls, "-indicator-active"), "".concat(prefixCls, "-indicator"))
103
+ }, stepItem);
104
+ });
105
+ }
106
+ var mainBtnType = mergedType === 'primary' ? 'default' : 'primary';
107
+ var secondaryBtnProps = {
108
+ type: 'default',
109
+ ghost: mergedType === 'primary'
110
+ };
111
+ var _useLocale = useLocale('Tour', defaultLocale.Tour),
112
+ _useLocale2 = _slicedToArray(_useLocale, 1),
113
+ contextLocale = _useLocale2[0];
114
+ return _jsx("div", {
115
+ className: "".concat(prefixCls, "-content"),
116
+ children: _jsxs("div", {
117
+ className: "".concat(prefixCls, "-inner"),
118
+ children: [closable && mergedCloseIcon, coverNode, headerNode, descriptionNode, _jsxs("div", {
119
+ className: "".concat(prefixCls, "-footer"),
120
+ children: [total > 1 && _jsx("div", {
121
+ className: "".concat(prefixCls, "-indicators"),
122
+ children: mergedIndicatorNode
123
+ }), _jsxs("div", {
124
+ className: "".concat(prefixCls, "-buttons"),
125
+ children: [current !== 0 ? _jsx(Button, _objectSpread(_objectSpread(_objectSpread({}, secondaryBtnProps), prevButtonProps), {}, {
126
+ onClick: prevBtnClick,
127
+ size: "small",
128
+ className: classNames("".concat(prefixCls, "-prev-btn"), prevButtonProps === null || prevButtonProps === void 0 ? void 0 : prevButtonProps.className),
129
+ children: (_prevButtonProps$chil = prevButtonProps === null || prevButtonProps === void 0 ? void 0 : prevButtonProps.children) !== null && _prevButtonProps$chil !== void 0 ? _prevButtonProps$chil : contextLocale === null || contextLocale === void 0 ? void 0 : contextLocale.Previous
130
+ })) : null, _jsx(Button, _objectSpread(_objectSpread({
131
+ type: mainBtnType
132
+ }, nextButtonProps), {}, {
133
+ onClick: nextBtnClick,
134
+ size: "small",
135
+ className: classNames("".concat(prefixCls, "-next-btn"), nextButtonProps === null || nextButtonProps === void 0 ? void 0 : nextButtonProps.className),
136
+ children: (_nextButtonProps$chil = nextButtonProps === null || nextButtonProps === void 0 ? void 0 : nextButtonProps.children) !== null && _nextButtonProps$chil !== void 0 ? _nextButtonProps$chil : isLastStep ? contextLocale === null || contextLocale === void 0 ? void 0 : contextLocale.Finish : contextLocale === null || contextLocale === void 0 ? void 0 : contextLocale.Next
137
+ }))]
138
+ })]
139
+ })]
140
+ })
141
+ });
142
+ };
143
+ export default TourPanel;
@@ -0,0 +1,187 @@
1
+ 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); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
+ 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); }
7
+ import { unit } from '@ant-design/cssinjs';
8
+ import { TinyColor } from '@ctrl/tinycolor';
9
+ import { genFocusStyle, resetComponent } from '../../style';
10
+ import getArrowStyle, { getArrowOffsetToken, MAX_VERTICAL_CONTENT_RADIUS } from '../../style/placementArrow';
11
+ import { getArrowToken } from '../../style/roundedArrow';
12
+ import { genStyleHooks, mergeToken } from '../../theme/internal';
13
+ // =============================== Base ===============================
14
+ var genBaseStyle = function genBaseStyle(token) {
15
+ var componentCls = token.componentCls,
16
+ lineHeight = token.lineHeight,
17
+ padding = token.padding,
18
+ paddingXS = token.paddingXS,
19
+ borderRadius = token.borderRadius,
20
+ borderRadiusXS = token.borderRadiusXS,
21
+ colorPrimary = token.colorPrimary,
22
+ colorText = token.colorText,
23
+ colorFill = token.colorFill,
24
+ indicatorHeight = token.indicatorHeight,
25
+ indicatorWidth = token.indicatorWidth,
26
+ boxShadowTertiary = token.boxShadowTertiary,
27
+ tourZIndexPopup = token.tourZIndexPopup,
28
+ fontSize = token.fontSize,
29
+ colorBgElevated = token.colorBgElevated,
30
+ fontWeightStrong = token.fontWeightStrong,
31
+ marginXS = token.marginXS,
32
+ colorTextLightSolid = token.colorTextLightSolid,
33
+ tourBorderRadius = token.tourBorderRadius,
34
+ colorWhite = token.colorWhite,
35
+ primaryNextBtnHoverBg = token.primaryNextBtnHoverBg,
36
+ closeBtnSize = token.closeBtnSize,
37
+ motionDurationSlow = token.motionDurationSlow,
38
+ antCls = token.antCls,
39
+ primaryPrevBtnBg = token.primaryPrevBtnBg;
40
+ return [_defineProperty(_defineProperty(_defineProperty({}, componentCls, _objectSpread(_objectSpread({}, resetComponent(token)), {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty({
41
+ color: colorText,
42
+ position: 'absolute',
43
+ zIndex: tourZIndexPopup,
44
+ display: 'block',
45
+ visibility: 'visible',
46
+ fontSize: fontSize,
47
+ lineHeight: lineHeight,
48
+ width: 520,
49
+ '--antd-arrow-background-color': colorBgElevated,
50
+ '&-pure': {
51
+ maxWidth: '100%',
52
+ position: 'relative'
53
+ }
54
+ }, "&".concat(componentCls, "-hidden"), {
55
+ display: 'none'
56
+ }), "".concat(componentCls, "-content"), {
57
+ position: 'relative'
58
+ }), "".concat(componentCls, "-inner"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
59
+ textAlign: 'start',
60
+ textDecoration: 'none',
61
+ borderRadius: tourBorderRadius,
62
+ boxShadow: boxShadowTertiary,
63
+ position: 'relative',
64
+ backgroundColor: colorBgElevated,
65
+ border: 'none',
66
+ backgroundClip: 'padding-box'
67
+ }, "".concat(componentCls, "-close"), _objectSpread({
68
+ position: 'absolute',
69
+ top: padding,
70
+ insetInlineEnd: padding,
71
+ color: token.colorIcon,
72
+ background: 'none',
73
+ border: 'none',
74
+ width: closeBtnSize,
75
+ height: closeBtnSize,
76
+ borderRadius: token.borderRadiusSM,
77
+ transition: "background-color ".concat(token.motionDurationMid, ", color ").concat(token.motionDurationMid),
78
+ display: 'flex',
79
+ alignItems: 'center',
80
+ justifyContent: 'center',
81
+ cursor: 'pointer',
82
+ '&:hover': {
83
+ color: token.colorIconHover,
84
+ backgroundColor: token.colorBgTextHover
85
+ },
86
+ '&:active': {
87
+ backgroundColor: token.colorBgTextActive
88
+ }
89
+ }, genFocusStyle(token))), "".concat(componentCls, "-cover"), {
90
+ textAlign: 'center',
91
+ padding: "".concat(unit(token.calc(padding).add(closeBtnSize).add(paddingXS).equal()), " ").concat(unit(padding), " 0"),
92
+ img: {
93
+ width: '100%'
94
+ }
95
+ }), "".concat(componentCls, "-header"), _defineProperty({
96
+ padding: "".concat(unit(padding), " ").concat(unit(padding), " ").concat(unit(paddingXS))
97
+ }, "".concat(componentCls, "-title"), {
98
+ lineHeight: lineHeight,
99
+ fontSize: fontSize,
100
+ fontWeight: fontWeightStrong
101
+ })), "".concat(componentCls, "-description"), {
102
+ padding: "0 ".concat(unit(padding)),
103
+ lineHeight: lineHeight,
104
+ wordWrap: 'break-word'
105
+ }), "".concat(componentCls, "-footer"), _defineProperty(_defineProperty({
106
+ padding: "".concat(unit(paddingXS), " ").concat(unit(padding), " ").concat(unit(padding)),
107
+ textAlign: 'end',
108
+ borderRadius: "0 0 ".concat(unit(borderRadiusXS), " ").concat(unit(borderRadiusXS)),
109
+ display: 'flex'
110
+ }, "".concat(componentCls, "-indicators"), _defineProperty({
111
+ display: 'inline-block'
112
+ }, "".concat(componentCls, "-indicator"), {
113
+ width: indicatorWidth,
114
+ height: indicatorHeight,
115
+ display: 'inline-block',
116
+ borderRadius: '50%',
117
+ background: colorFill,
118
+ '&:not(:last-child)': {
119
+ marginInlineEnd: indicatorHeight
120
+ },
121
+ '&-active': {
122
+ background: colorPrimary
123
+ }
124
+ })), "".concat(componentCls, "-buttons"), _defineProperty({
125
+ marginInlineStart: 'auto'
126
+ }, "".concat(antCls, "-btn"), {
127
+ marginInlineStart: marginXS
128
+ })))), "".concat(componentCls, "-primary, &").concat(componentCls, "-primary"), _defineProperty({
129
+ '--antd-arrow-background-color': colorPrimary
130
+ }, "".concat(componentCls, "-inner"), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
131
+ color: colorTextLightSolid,
132
+ textAlign: 'start',
133
+ textDecoration: 'none',
134
+ backgroundColor: colorPrimary,
135
+ borderRadius: borderRadius,
136
+ boxShadow: boxShadowTertiary
137
+ }, "".concat(componentCls, "-close"), {
138
+ color: colorTextLightSolid
139
+ }), "".concat(componentCls, "-indicators"), _defineProperty({}, "".concat(componentCls, "-indicator"), {
140
+ background: primaryPrevBtnBg,
141
+ '&-active': {
142
+ background: colorTextLightSolid
143
+ }
144
+ })), "".concat(componentCls, "-prev-btn"), {
145
+ color: colorTextLightSolid,
146
+ borderColor: primaryPrevBtnBg,
147
+ backgroundColor: colorPrimary,
148
+ '&:hover': {
149
+ backgroundColor: primaryPrevBtnBg,
150
+ borderColor: 'transparent'
151
+ }
152
+ }), "".concat(componentCls, "-next-btn"), {
153
+ color: colorPrimary,
154
+ borderColor: 'transparent',
155
+ background: colorWhite,
156
+ '&:hover': {
157
+ background: primaryNextBtnHoverBg
158
+ }
159
+ }))))), "".concat(componentCls, "-mask"), _defineProperty({}, "".concat(componentCls, "-placeholder-animated"), {
160
+ transition: "all ".concat(motionDurationSlow)
161
+ })), ['&-placement-left', '&-placement-leftTop', '&-placement-leftBottom', '&-placement-right', '&-placement-rightTop', '&-placement-rightBottom'].join(','), _defineProperty({}, "".concat(componentCls, "-inner"), {
162
+ borderRadius: token.min(tourBorderRadius, MAX_VERTICAL_CONTENT_RADIUS)
163
+ })),
164
+ // ============================= Arrow ===========================
165
+ getArrowStyle(token, 'var(--antd-arrow-background-color)')];
166
+ };
167
+ // ============================== Export ==============================
168
+ export var prepareComponentToken = function prepareComponentToken(token) {
169
+ return _objectSpread(_objectSpread({
170
+ zIndexPopup: token.zIndexPopupBase + 70,
171
+ closeBtnSize: token.fontSize * token.lineHeight,
172
+ primaryPrevBtnBg: new TinyColor(token.colorTextLightSolid).setAlpha(0.15).toRgbString(),
173
+ primaryNextBtnHoverBg: new TinyColor(token.colorBgTextHover).onBackground(token.colorWhite).toRgbString()
174
+ }, getArrowOffsetToken({
175
+ contentRadius: token.borderRadiusLG,
176
+ limitVerticalRadius: true
177
+ })), getArrowToken(token));
178
+ };
179
+ export default genStyleHooks('Tour', function (token) {
180
+ var borderRadiusLG = token.borderRadiusLG;
181
+ var TourToken = mergeToken(token, {
182
+ indicatorWidth: 6,
183
+ indicatorHeight: 6,
184
+ tourBorderRadius: borderRadiusLG
185
+ });
186
+ return [genBaseStyle(TourToken)];
187
+ }, prepareComponentToken);
@@ -0,0 +1,123 @@
1
+ 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); }
2
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
3
+ 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."); }
4
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
5
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
6
+ 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; } }
7
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
8
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
11
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
12
+ 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); }
13
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
14
+ import * as React from 'react';
15
+ import classNames from 'classnames';
16
+ import useMergedState from 'rc-util/lib/hooks/useMergedState';
17
+ import Pagination from '../pagination';
18
+ import ListItem from './ListItem';
19
+ export var OmitProps = ['handleFilter', 'handleClear', 'checkedKeys'];
20
+ var parsePagination = function parsePagination(pagination) {
21
+ var defaultPagination = {
22
+ simple: true,
23
+ showSizeChanger: false,
24
+ showLessItems: false
25
+ };
26
+ return _objectSpread(_objectSpread({}, defaultPagination), pagination);
27
+ };
28
+ var TransferListBody = function TransferListBody(props, ref) {
29
+ var prefixCls = props.prefixCls,
30
+ filteredRenderItems = props.filteredRenderItems,
31
+ selectedKeys = props.selectedKeys,
32
+ globalDisabled = props.disabled,
33
+ showRemove = props.showRemove,
34
+ pagination = props.pagination,
35
+ onScroll = props.onScroll,
36
+ onItemSelect = props.onItemSelect,
37
+ onItemRemove = props.onItemRemove;
38
+ var _React$useState = React.useState(1),
39
+ _React$useState2 = _slicedToArray(_React$useState, 2),
40
+ current = _React$useState2[0],
41
+ setCurrent = _React$useState2[1];
42
+ var mergedPagination = React.useMemo(function () {
43
+ if (!pagination) {
44
+ return null;
45
+ }
46
+ var convertPagination = _typeof(pagination) === 'object' ? pagination : {};
47
+ return parsePagination(convertPagination);
48
+ }, [pagination]);
49
+ var _useMergedState = useMergedState(10, {
50
+ value: mergedPagination === null || mergedPagination === void 0 ? void 0 : mergedPagination.pageSize
51
+ }),
52
+ _useMergedState2 = _slicedToArray(_useMergedState, 2),
53
+ pageSize = _useMergedState2[0],
54
+ setPageSize = _useMergedState2[1];
55
+ React.useEffect(function () {
56
+ if (mergedPagination) {
57
+ var maxPageCount = Math.ceil(filteredRenderItems.length / pageSize);
58
+ setCurrent(Math.min(current, maxPageCount));
59
+ }
60
+ }, [filteredRenderItems, mergedPagination, pageSize]);
61
+ var onInternalClick = function onInternalClick(item, e) {
62
+ onItemSelect(item.key, !selectedKeys.includes(item.key), e);
63
+ };
64
+ var onRemove = function onRemove(item) {
65
+ onItemRemove === null || onItemRemove === void 0 || onItemRemove([item.key]);
66
+ };
67
+ var onPageChange = function onPageChange(cur) {
68
+ setCurrent(cur);
69
+ };
70
+ var onSizeChange = function onSizeChange(cur, size) {
71
+ setCurrent(cur);
72
+ setPageSize(size);
73
+ };
74
+ var memoizedItems = React.useMemo(function () {
75
+ var displayItems = mergedPagination ? filteredRenderItems.slice((current - 1) * pageSize, current * pageSize) : filteredRenderItems;
76
+ return displayItems;
77
+ }, [current, filteredRenderItems, mergedPagination, pageSize]);
78
+ React.useImperativeHandle(ref, function () {
79
+ return {
80
+ items: memoizedItems
81
+ };
82
+ });
83
+ var paginationNode = mergedPagination ? _jsx(Pagination, {
84
+ size: "small",
85
+ disabled: globalDisabled,
86
+ simple: mergedPagination.simple,
87
+ pageSize: pageSize,
88
+ showLessItems: mergedPagination.showLessItems,
89
+ showSizeChanger: mergedPagination.showSizeChanger,
90
+ className: "".concat(prefixCls, "-pagination"),
91
+ total: filteredRenderItems.length,
92
+ current: current,
93
+ onChange: onPageChange,
94
+ onShowSizeChange: onSizeChange
95
+ }) : null;
96
+ var cls = classNames("".concat(prefixCls, "-content"), _defineProperty({}, "".concat(prefixCls, "-content-show-remove"), showRemove));
97
+ return _jsxs(_Fragment, {
98
+ children: [_jsx("ul", {
99
+ className: cls,
100
+ onScroll: onScroll,
101
+ children: (memoizedItems || []).map(function (_ref) {
102
+ var renderedEl = _ref.renderedEl,
103
+ renderedText = _ref.renderedText,
104
+ item = _ref.item;
105
+ return _jsx(ListItem, {
106
+ item: item,
107
+ renderedText: renderedText,
108
+ renderedEl: renderedEl,
109
+ prefixCls: prefixCls,
110
+ showRemove: showRemove,
111
+ onClick: onInternalClick,
112
+ onRemove: onRemove,
113
+ checked: selectedKeys.includes(item.key),
114
+ disabled: globalDisabled || item.disabled
115
+ }, item.key);
116
+ })
117
+ }), paginationNode]
118
+ });
119
+ };
120
+ if (process.env.NODE_ENV !== 'production') {
121
+ TransferListBody.displayName = 'TransferListBody';
122
+ }
123
+ export default /*#__PURE__*/React.forwardRef(TransferListBody);
@@ -0,0 +1,72 @@
1
+ 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); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
5
+ 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."); }
6
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
7
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
8
+ 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; } }
9
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
10
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
11
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
12
+ 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); }
13
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
+ import * as React from 'react';
15
+ import DeleteOutlined from '@ant-design/icons/DeleteOutlined';
16
+ import classNames from 'classnames';
17
+ import TransButton from '../_util/transButton';
18
+ import Checkbox from '../checkbox';
19
+ import { useLocale } from '../locale';
20
+ import defaultLocale from '../locale/en_US';
21
+ var ListItem = function ListItem(props) {
22
+ var renderedText = props.renderedText,
23
+ renderedEl = props.renderedEl,
24
+ item = props.item,
25
+ checked = props.checked,
26
+ disabled = props.disabled,
27
+ prefixCls = props.prefixCls,
28
+ onClick = props.onClick,
29
+ onRemove = props.onRemove,
30
+ showRemove = props.showRemove;
31
+ var className = classNames("".concat(prefixCls, "-content-item"), _defineProperty(_defineProperty({}, "".concat(prefixCls, "-content-item-disabled"), disabled || item.disabled), "".concat(prefixCls, "-content-item-checked"), checked));
32
+ var title;
33
+ if (typeof renderedText === 'string' || typeof renderedText === 'number') {
34
+ title = String(renderedText);
35
+ }
36
+ var _useLocale = useLocale('Transfer', defaultLocale.Transfer),
37
+ _useLocale2 = _slicedToArray(_useLocale, 1),
38
+ contextLocale = _useLocale2[0];
39
+ var liProps = {
40
+ className: className,
41
+ title: title
42
+ };
43
+ var labelNode = _jsx("span", {
44
+ className: "".concat(prefixCls, "-content-item-text"),
45
+ children: renderedEl
46
+ });
47
+ if (showRemove) {
48
+ return _jsxs("li", _objectSpread(_objectSpread({}, liProps), {}, {
49
+ children: [labelNode, _jsx(TransButton, {
50
+ disabled: disabled || item.disabled,
51
+ className: "".concat(prefixCls, "-content-item-remove"),
52
+ "aria-label": contextLocale === null || contextLocale === void 0 ? void 0 : contextLocale.remove,
53
+ onClick: function onClick() {
54
+ onRemove === null || onRemove === void 0 || onRemove(item);
55
+ },
56
+ children: _jsx(DeleteOutlined, {})
57
+ })]
58
+ }));
59
+ }
60
+ // Default click to select
61
+ liProps.onClick = disabled || item.disabled ? undefined : function (event) {
62
+ return onClick(item, event);
63
+ };
64
+ return _jsxs("li", _objectSpread(_objectSpread({}, liProps), {}, {
65
+ children: [_jsx(Checkbox, {
66
+ className: "".concat(prefixCls, "-checkbox"),
67
+ checked: checked,
68
+ disabled: disabled || item.disabled
69
+ }), labelNode]
70
+ }));
71
+ };
72
+ export default /*#__PURE__*/React.memo(ListItem);
@@ -0,0 +1,46 @@
1
+ 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); }
2
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
3
+ 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."); }
4
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
5
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
6
+ 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; } }
7
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
8
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
11
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
12
+ 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); }
13
+ import * as React from 'react';
14
+ import { groupKeysMap } from '../../_util/transKeys';
15
+ var useData = function useData(dataSource, rowKey, targetKeys) {
16
+ var mergedDataSource = React.useMemo(function () {
17
+ return (dataSource || []).map(function (record) {
18
+ if (rowKey) {
19
+ record = _objectSpread(_objectSpread({}, record), {}, {
20
+ key: rowKey(record)
21
+ });
22
+ }
23
+ return record;
24
+ });
25
+ }, [dataSource, rowKey]);
26
+ var _React$useMemo = React.useMemo(function () {
27
+ var leftData = [];
28
+ var rightData = new Array((targetKeys || []).length);
29
+ var targetKeysMap = groupKeysMap(targetKeys || []);
30
+ mergedDataSource.forEach(function (record) {
31
+ // rightData should be ordered by targetKeys
32
+ // leftData should be ordered by dataSource
33
+ if (targetKeysMap.has(record.key)) {
34
+ rightData[targetKeysMap.get(record.key)] = record;
35
+ } else {
36
+ leftData.push(record);
37
+ }
38
+ });
39
+ return [leftData, rightData];
40
+ }, [mergedDataSource, targetKeys, rowKey]),
41
+ _React$useMemo2 = _slicedToArray(_React$useMemo, 2),
42
+ leftDataSource = _React$useMemo2[0],
43
+ rightDataSource = _React$useMemo2[1];
44
+ return [mergedDataSource, leftDataSource, rightDataSource];
45
+ };
46
+ export default useData;
@@ -0,0 +1,59 @@
1
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
2
+ 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."); }
3
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
4
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
5
+ 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; } }
6
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
+ import * as React from 'react';
8
+ var EMPTY_KEYS = [];
9
+ function filterKeys(keys, dataKeys) {
10
+ var filteredKeys = keys.filter(function (key) {
11
+ return dataKeys.has(key);
12
+ });
13
+ return keys.length === filteredKeys.length ? keys : filteredKeys;
14
+ }
15
+ function flattenKeys(keys) {
16
+ return Array.from(keys).join(';');
17
+ }
18
+ export default function useSelection(leftDataSource, rightDataSource) {
19
+ var selectedKeys = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : EMPTY_KEYS;
20
+ // Prepare `dataSource` keys
21
+ var _React$useMemo = React.useMemo(function () {
22
+ return [new Set(leftDataSource.map(function (src) {
23
+ return src.key;
24
+ })), new Set(rightDataSource.map(function (src) {
25
+ return src.key;
26
+ }))];
27
+ }, [leftDataSource, rightDataSource]),
28
+ _React$useMemo2 = _slicedToArray(_React$useMemo, 2),
29
+ leftKeys = _React$useMemo2[0],
30
+ rightKeys = _React$useMemo2[1];
31
+ // Selected Keys
32
+ var _React$useState = React.useState(function () {
33
+ return filterKeys(selectedKeys, leftKeys);
34
+ }),
35
+ _React$useState2 = _slicedToArray(_React$useState, 2),
36
+ sourceSelectedKeys = _React$useState2[0],
37
+ setSourceSelectedKeys = _React$useState2[1];
38
+ var _React$useState3 = React.useState(function () {
39
+ return filterKeys(selectedKeys, rightKeys);
40
+ }),
41
+ _React$useState4 = _slicedToArray(_React$useState3, 2),
42
+ targetSelectedKeys = _React$useState4[0],
43
+ setTargetSelectedKeys = _React$useState4[1];
44
+ // Fill selected keys
45
+ React.useEffect(function () {
46
+ setSourceSelectedKeys(filterKeys(selectedKeys, leftKeys));
47
+ setTargetSelectedKeys(filterKeys(selectedKeys, rightKeys));
48
+ }, [selectedKeys]);
49
+ // Reset when data changed
50
+ React.useEffect(function () {
51
+ setSourceSelectedKeys(filterKeys(sourceSelectedKeys, leftKeys));
52
+ setTargetSelectedKeys(filterKeys(targetSelectedKeys, rightKeys));
53
+ }, [flattenKeys(leftKeys), flattenKeys(rightKeys)]);
54
+ return [
55
+ // Keys
56
+ sourceSelectedKeys, targetSelectedKeys,
57
+ // Updater
58
+ setSourceSelectedKeys, setTargetSelectedKeys];
59
+ }