@chaoswise/ui 3.0.5 → 3.0.6

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