@aloudata/aloudata-design 0.2.7 → 0.3.1

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 (559) hide show
  1. package/es/Avatar/index.d.ts +15 -0
  2. package/es/Avatar/index.js +33 -0
  3. package/es/{Message → Avatar}/style/index.d.ts +0 -0
  4. package/es/{Message → Avatar}/style/index.js +0 -0
  5. package/es/Avatar/style/index.less +34 -0
  6. package/es/Breadcrumb/index.d.ts +7 -0
  7. package/es/Breadcrumb/index.js +36 -0
  8. package/es/{Notification → Breadcrumb}/style/index.d.ts +0 -0
  9. package/es/{Notification → Breadcrumb}/style/index.js +0 -0
  10. package/es/Breadcrumb/style/index.less +36 -0
  11. package/es/Button/index.d.ts +4 -4
  12. package/es/Button/index.js +45 -25
  13. package/es/Button/style/index.less +185 -150
  14. package/es/Button/style/variables.less +67 -0
  15. package/es/Checkbox/index.d.ts +0 -1
  16. package/es/Checkbox/style/index.less +35 -1
  17. package/es/ConfigProvider/index.d.ts +1 -0
  18. package/es/ConfigProvider/index.js +1 -0
  19. package/es/Drawer/index.d.ts +4 -0
  20. package/es/Drawer/index.js +3 -0
  21. package/{lib/Message → es/Drawer}/style/index.d.ts +0 -0
  22. package/es/Drawer/style/index.js +2 -0
  23. package/es/{Message → Drawer}/style/index.less +0 -0
  24. package/es/Dropdown/Button.js +1 -1
  25. package/es/Dropdown/style/index.less +41 -8
  26. package/es/Empty/image/Authority.d.ts +2 -0
  27. package/es/Empty/image/Authority.js +360 -0
  28. package/es/Empty/image/Dataspace.d.ts +2 -0
  29. package/es/Empty/image/Dataspace.js +271 -0
  30. package/es/Empty/image/Search.d.ts +2 -0
  31. package/es/Empty/image/Search.js +156 -0
  32. package/es/Empty/image/Simple.d.ts +2 -0
  33. package/es/Empty/image/Simple.js +20 -0
  34. package/es/Empty/image/Worksheet.d.ts +2 -0
  35. package/es/Empty/image/Worksheet.js +270 -0
  36. package/es/Empty/image/empty.d.ts +2 -0
  37. package/es/Empty/image/empty.js +139 -0
  38. package/es/Empty/index.d.ts +21 -5
  39. package/es/Empty/index.js +84 -54
  40. package/es/Empty/style/index.less +56 -11
  41. package/es/Form/style/index.less +8 -0
  42. package/es/Icon/antdIconfont.d.ts +4 -0
  43. package/es/Icon/antdIconfont.js +2 -0
  44. package/es/Icon/components/Icon.d.ts +32 -0
  45. package/es/Icon/components/Icon.js +27 -0
  46. package/es/Icon/components/createFromScripts.d.ts +1 -0
  47. package/es/Icon/components/createFromScripts.js +35 -0
  48. package/es/Icon/iconSvgs/arrows_right_sm.svg +3 -0
  49. package/es/Icon/icons/AddLine.d.ts +13 -0
  50. package/es/Icon/icons/AddLine.js +66 -0
  51. package/es/Icon/icons/AlertFill.d.ts +13 -0
  52. package/es/Icon/icons/AlertFill.js +73 -0
  53. package/es/Icon/icons/ArrowsDownLine.d.ts +13 -0
  54. package/es/Icon/icons/ArrowsDownLine.js +66 -0
  55. package/es/Icon/icons/CancelFill.d.ts +13 -0
  56. package/es/Icon/icons/CancelFill.js +73 -0
  57. package/es/Icon/icons/CheckFill.d.ts +13 -0
  58. package/es/Icon/icons/CheckFill.js +73 -0
  59. package/es/Icon/icons/CloseLine.d.ts +13 -0
  60. package/es/Icon/icons/CloseLine.js +66 -0
  61. package/es/Icon/icons/DatabaseLine.d.ts +13 -0
  62. package/es/Icon/icons/DatabaseLine.js +66 -0
  63. package/es/Icon/icons/Deleteline.d.ts +13 -0
  64. package/es/Icon/icons/Deleteline.js +66 -0
  65. package/es/Icon/icons/DownloadLine.d.ts +13 -0
  66. package/es/Icon/icons/DownloadLine.js +73 -0
  67. package/es/Icon/icons/ErrorFill.d.ts +13 -0
  68. package/es/Icon/icons/ErrorFill.js +73 -0
  69. package/es/Icon/icons/EyeOffLine.d.ts +13 -0
  70. package/es/Icon/icons/EyeOffLine.js +73 -0
  71. package/es/Icon/icons/EyeOnLine.d.ts +13 -0
  72. package/es/Icon/icons/EyeOnLine.js +66 -0
  73. package/es/Icon/icons/FileLine.d.ts +13 -0
  74. package/es/Icon/icons/FileLine.js +73 -0
  75. package/es/Icon/icons/HomeFill.d.ts +13 -0
  76. package/es/Icon/icons/HomeFill.js +73 -0
  77. package/es/Icon/icons/IconBase.withSpan.tpl +58 -0
  78. package/es/Icon/icons/LightningLine.d.ts +13 -0
  79. package/es/Icon/icons/LightningLine.js +66 -0
  80. package/es/Icon/icons/Loading.d.ts +13 -0
  81. package/es/Icon/icons/Loading.js +66 -0
  82. package/es/Icon/icons/More.d.ts +13 -0
  83. package/es/Icon/icons/More.js +66 -0
  84. package/es/Icon/icons/NewWindowsLine.d.ts +13 -0
  85. package/es/Icon/icons/NewWindowsLine.js +74 -0
  86. package/es/Icon/icons/SearchLine.d.ts +13 -0
  87. package/es/Icon/icons/SearchLine.js +73 -0
  88. package/es/Icon/icons/SortAscendingLine.d.ts +13 -0
  89. package/es/Icon/icons/SortAscendingLine.js +66 -0
  90. package/es/Icon/icons/SortDescendingLine.d.ts +13 -0
  91. package/es/Icon/icons/SortDescendingLine.js +66 -0
  92. package/es/Icon/icons/TextLine.d.ts +13 -0
  93. package/es/Icon/icons/TextLine.js +73 -0
  94. package/es/Icon/icons/UserLine.d.ts +13 -0
  95. package/es/Icon/icons/UserLine.js +73 -0
  96. package/es/Icon/icons/style.css +9 -0
  97. package/es/Icon/icons/style.css.d.ts +10 -0
  98. package/es/Icon/index.d.ts +2 -13
  99. package/es/Icon/index.js +2 -45
  100. package/es/Icon/index.less +9 -17
  101. package/es/Icon/style/index.d.ts +1 -0
  102. package/es/Icon/style/index.js +1 -0
  103. package/es/Icon/style/index.less +0 -0
  104. package/es/Input/components/Group/index.d.ts +4 -3
  105. package/es/Input/components/Group/index.js +23 -1
  106. package/es/Input/components/Input/index.d.ts +1 -1
  107. package/es/Input/components/Input/index.js +12 -0
  108. package/es/Input/components/Password/index.d.ts +7 -1
  109. package/es/Input/components/Password/index.js +29 -6
  110. package/es/Input/style/index.less +278 -43
  111. package/es/InputNumber/index.d.ts +3 -0
  112. package/es/InputNumber/index.js +32 -0
  113. package/{lib/Notification → es/InputNumber}/style/index.d.ts +0 -0
  114. package/es/InputNumber/style/index.js +2 -0
  115. package/es/InputNumber/style/index.less +224 -0
  116. package/es/Menu/Divider.d.ts +2 -2
  117. package/es/Menu/MenuItem.d.ts +2 -1
  118. package/es/Menu/SubMenu.d.ts +2 -1
  119. package/es/Menu/SubMenu.js +1 -1
  120. package/es/Menu/index.d.ts +2 -1
  121. package/es/Menu/style/index.less +5 -5
  122. package/es/Modal/index.d.ts +21 -0
  123. package/es/Modal/index.js +95 -0
  124. package/es/Modal/style/index.d.ts +2 -0
  125. package/es/Modal/style/index.js +2 -0
  126. package/es/Modal/style/index.less +206 -0
  127. package/es/Navigator/components/Header/index.d.ts +8 -0
  128. package/es/Navigator/components/Header/index.js +18 -0
  129. package/es/Navigator/components/Menu/index.d.ts +6 -13
  130. package/es/Navigator/components/Menu/index.js +26 -119
  131. package/es/Navigator/components/MenuItem/index.d.ts +21 -0
  132. package/es/Navigator/components/MenuItem/index.js +39 -0
  133. package/es/Navigator/index.d.ts +19 -8
  134. package/es/Navigator/index.js +6 -15
  135. package/es/Navigator/style/bg.png +0 -0
  136. package/es/Navigator/style/index.less +97 -164
  137. package/es/Popover/index.d.ts +4 -0
  138. package/es/Popover/index.js +22 -0
  139. package/es/Popover/style/index.d.ts +2 -0
  140. package/es/Popover/style/index.js +2 -0
  141. package/es/Popover/style/index.less +37 -0
  142. package/es/Radio/index.d.ts +2 -3
  143. package/es/Select/index.d.ts +37 -9
  144. package/es/Select/index.js +155 -7
  145. package/es/Select/rc-select/BaseSelect.d.ts +116 -0
  146. package/es/Select/rc-select/BaseSelect.js +641 -0
  147. package/es/Select/rc-select/OptGroup.d.ts +12 -0
  148. package/es/Select/{OptionsList → rc-select}/OptGroup.js +1 -0
  149. package/es/Select/rc-select/Option.d.ts +14 -0
  150. package/es/Select/{OptionsList/Options.js → rc-select/Option.js} +1 -0
  151. package/es/Select/rc-select/OptionList.d.ts +10 -0
  152. package/es/Select/rc-select/OptionList.js +401 -0
  153. package/es/Select/rc-select/Select.d.ts +109 -0
  154. package/es/Select/rc-select/Select.js +547 -0
  155. package/es/Select/rc-select/SelectContext.d.ts +20 -0
  156. package/es/Select/rc-select/SelectContext.js +4 -0
  157. package/es/Select/rc-select/SelectTrigger.d.ts +30 -0
  158. package/es/Select/rc-select/SelectTrigger.js +136 -0
  159. package/es/Select/rc-select/Selector/Input.d.ts +26 -0
  160. package/es/Select/rc-select/Selector/Input.js +114 -0
  161. package/es/Select/rc-select/Selector/MultipleSelector.d.ts +16 -0
  162. package/es/Select/rc-select/Selector/MultipleSelector.js +236 -0
  163. package/es/Select/rc-select/Selector/SingleSelector.d.ts +8 -0
  164. package/es/Select/rc-select/Selector/SingleSelector.js +112 -0
  165. package/es/Select/rc-select/Selector/index.d.ts +80 -0
  166. package/es/Select/rc-select/Selector/index.js +194 -0
  167. package/es/Select/rc-select/TransBtn.d.ts +12 -0
  168. package/es/Select/rc-select/TransBtn.js +42 -0
  169. package/es/Select/rc-select/hooks/useBaseProps.d.ts +13 -0
  170. package/es/Select/rc-select/hooks/useBaseProps.js +11 -0
  171. package/es/Select/rc-select/hooks/useCache.d.ts +7 -0
  172. package/es/Select/rc-select/hooks/useCache.js +49 -0
  173. package/es/Select/rc-select/hooks/useDelayReset.d.ts +5 -0
  174. package/es/Select/rc-select/hooks/useDelayReset.js +50 -0
  175. package/es/Select/rc-select/hooks/useFilterOptions.d.ts +3 -0
  176. package/es/Select/rc-select/hooks/useFilterOptions.js +75 -0
  177. package/es/Select/rc-select/hooks/useId.d.ts +5 -0
  178. package/es/Select/rc-select/hooks/useId.js +47 -0
  179. package/es/Select/rc-select/hooks/useLayoutEffect.d.ts +5 -0
  180. package/es/Select/rc-select/hooks/useLayoutEffect.js +17 -0
  181. package/es/Select/rc-select/hooks/useLock.d.ts +7 -0
  182. package/es/Select/rc-select/hooks/useLock.js +35 -0
  183. package/es/Select/rc-select/hooks/useOptions.d.ts +11 -0
  184. package/es/Select/rc-select/hooks/useOptions.js +53 -0
  185. package/es/Select/rc-select/hooks/useRefFunc.d.ts +5 -0
  186. package/es/Select/rc-select/hooks/useRefFunc.js +15 -0
  187. package/es/Select/rc-select/hooks/useSelectTriggerControl.d.ts +1 -0
  188. package/es/Select/rc-select/hooks/useSelectTriggerControl.js +40 -0
  189. package/es/Select/rc-select/index.d.ts +10 -0
  190. package/es/Select/rc-select/index.js +7 -0
  191. package/es/Select/rc-select/interface.d.ts +10 -0
  192. package/es/Select/{interface.js → rc-select/interface.js} +0 -0
  193. package/es/Select/rc-select/utils/commonUtil.d.ts +4 -0
  194. package/es/Select/rc-select/utils/commonUtil.js +12 -0
  195. package/es/Select/rc-select/utils/keyUtil.d.ts +2 -0
  196. package/es/Select/rc-select/utils/keyUtil.js +8 -0
  197. package/es/Select/rc-select/utils/legacyUtil.d.ts +3 -0
  198. package/es/Select/rc-select/utils/legacyUtil.js +58 -0
  199. package/es/Select/rc-select/utils/platformUtil.d.ts +1 -0
  200. package/es/Select/rc-select/utils/platformUtil.js +4 -0
  201. package/es/Select/rc-select/utils/valueUtil.d.ts +22 -0
  202. package/es/Select/rc-select/utils/valueUtil.js +157 -0
  203. package/es/Select/rc-select/utils/warningPropsUtil.d.ts +3 -0
  204. package/es/Select/rc-select/utils/warningPropsUtil.js +114 -0
  205. package/es/Select/style/index.d.ts +1 -0
  206. package/es/Select/style/index.js +3 -1
  207. package/es/Select/style/index.less +230 -480
  208. package/es/Select/style/multiple.less +222 -0
  209. package/es/Select/style/rtl.less +168 -0
  210. package/es/Select/style/select.less +337 -0
  211. package/es/Select/style/single.less +179 -0
  212. package/es/Select/style/status.less +48 -0
  213. package/es/Select/style/variables.less +67 -0
  214. package/es/Select/style/variables.less.d.ts +100 -0
  215. package/es/Select/utils/iconUtil.d.ts +24 -0
  216. package/es/Select/utils/iconUtil.js +82 -0
  217. package/es/Space/index.d.ts +1 -1
  218. package/es/Space/index.js +0 -1
  219. package/es/Table/Table.d.ts +5 -0
  220. package/es/Table/Table.js +473 -0
  221. package/es/Table/index.d.ts +2 -4
  222. package/es/Table/index.js +2 -463
  223. package/es/Table/interface.d.ts +11 -15
  224. package/es/Table/style/index.less +51 -21
  225. package/es/Tabs/index.d.ts +2 -1
  226. package/es/Tabs/index.js +10 -4
  227. package/es/Tabs/style/index.less +73 -7
  228. package/es/Tooltip/style/index.less +2 -1
  229. package/es/index.d.ts +20 -5
  230. package/es/index.js +11 -3
  231. package/es/{Message → message}/index.d.ts +0 -0
  232. package/es/{Message → message}/index.js +0 -0
  233. package/es/message/style/index.d.ts +2 -0
  234. package/es/message/style/index.js +2 -0
  235. package/es/{Notification → message}/style/index.less +0 -0
  236. package/es/{Notification → notification}/index.d.ts +0 -0
  237. package/es/{Notification → notification}/index.js +0 -0
  238. package/es/notification/style/index.d.ts +2 -0
  239. package/es/notification/style/index.js +2 -0
  240. package/{lib/Message → es/notification}/style/index.less +0 -0
  241. package/es/style/index.less +3 -1
  242. package/es/style/mixins/index.less +8 -0
  243. package/es/style/themes/default/index.less +10 -10
  244. package/es/style/themes/default/scrollBar.less +13 -0
  245. package/es/style/themes/default/themeColor.module.less +58 -94
  246. package/es/style/themes/default/themeColor.module.less.d.ts +1 -17
  247. package/lib/Avatar/index.d.ts +15 -0
  248. package/lib/Avatar/index.js +57 -0
  249. package/lib/Avatar/style/index.d.ts +2 -0
  250. package/lib/{Message → Avatar}/style/index.js +0 -0
  251. package/lib/Avatar/style/index.less +34 -0
  252. package/lib/Breadcrumb/index.d.ts +7 -0
  253. package/lib/Breadcrumb/index.js +50 -0
  254. package/lib/Breadcrumb/style/index.d.ts +2 -0
  255. package/lib/{Notification → Breadcrumb}/style/index.js +0 -0
  256. package/lib/Breadcrumb/style/index.less +36 -0
  257. package/lib/Button/index.d.ts +4 -4
  258. package/lib/Button/index.js +45 -25
  259. package/lib/Button/style/index.less +185 -150
  260. package/lib/Button/style/variables.less +67 -0
  261. package/lib/Checkbox/index.d.ts +0 -1
  262. package/lib/Checkbox/style/index.less +35 -1
  263. package/lib/ConfigProvider/index.d.ts +1 -0
  264. package/lib/ConfigProvider/index.js +26 -0
  265. package/lib/Drawer/index.d.ts +4 -0
  266. package/lib/Drawer/index.js +15 -0
  267. package/lib/Drawer/style/index.d.ts +2 -0
  268. package/lib/Drawer/style/index.js +5 -0
  269. package/lib/{Notification → Drawer}/style/index.less +0 -0
  270. package/lib/Dropdown/Button.js +1 -1
  271. package/lib/Dropdown/style/index.less +41 -8
  272. package/lib/Empty/image/Authority.d.ts +2 -0
  273. package/lib/Empty/image/Authority.js +374 -0
  274. package/lib/Empty/image/Dataspace.d.ts +2 -0
  275. package/lib/Empty/image/Dataspace.js +285 -0
  276. package/lib/Empty/image/Search.d.ts +2 -0
  277. package/lib/Empty/image/Search.js +170 -0
  278. package/lib/Empty/image/Simple.d.ts +2 -0
  279. package/lib/Empty/image/Simple.js +34 -0
  280. package/lib/Empty/image/Worksheet.d.ts +2 -0
  281. package/lib/Empty/image/Worksheet.js +284 -0
  282. package/lib/Empty/image/empty.d.ts +2 -0
  283. package/lib/Empty/image/empty.js +153 -0
  284. package/lib/Empty/index.d.ts +21 -5
  285. package/lib/Empty/index.js +94 -53
  286. package/lib/Empty/style/index.less +56 -11
  287. package/lib/Form/style/index.less +8 -0
  288. package/lib/Icon/antdIconfont.d.ts +4 -0
  289. package/lib/Icon/antdIconfont.js +13 -0
  290. package/lib/Icon/components/Icon.d.ts +32 -0
  291. package/lib/Icon/components/Icon.js +38 -0
  292. package/lib/Icon/components/createFromScripts.d.ts +1 -0
  293. package/lib/Icon/components/createFromScripts.js +41 -0
  294. package/lib/Icon/iconSvgs/arrows_right_sm.svg +3 -0
  295. package/lib/Icon/icons/AddLine.d.ts +13 -0
  296. package/lib/Icon/icons/AddLine.js +83 -0
  297. package/lib/Icon/icons/AlertFill.d.ts +13 -0
  298. package/lib/Icon/icons/AlertFill.js +90 -0
  299. package/lib/Icon/icons/ArrowsDownLine.d.ts +13 -0
  300. package/lib/Icon/icons/ArrowsDownLine.js +83 -0
  301. package/lib/Icon/icons/CancelFill.d.ts +13 -0
  302. package/lib/Icon/icons/CancelFill.js +90 -0
  303. package/lib/Icon/icons/CheckFill.d.ts +13 -0
  304. package/lib/Icon/icons/CheckFill.js +90 -0
  305. package/lib/Icon/icons/CloseLine.d.ts +13 -0
  306. package/lib/Icon/icons/CloseLine.js +83 -0
  307. package/lib/Icon/icons/DatabaseLine.d.ts +13 -0
  308. package/lib/Icon/icons/DatabaseLine.js +83 -0
  309. package/lib/Icon/icons/Deleteline.d.ts +13 -0
  310. package/lib/Icon/icons/Deleteline.js +83 -0
  311. package/lib/Icon/icons/DownloadLine.d.ts +13 -0
  312. package/lib/Icon/icons/DownloadLine.js +90 -0
  313. package/lib/Icon/icons/ErrorFill.d.ts +13 -0
  314. package/lib/Icon/icons/ErrorFill.js +90 -0
  315. package/lib/Icon/icons/EyeOffLine.d.ts +13 -0
  316. package/lib/Icon/icons/EyeOffLine.js +90 -0
  317. package/lib/Icon/icons/EyeOnLine.d.ts +13 -0
  318. package/lib/Icon/icons/EyeOnLine.js +83 -0
  319. package/lib/Icon/icons/FileLine.d.ts +13 -0
  320. package/lib/Icon/icons/FileLine.js +90 -0
  321. package/lib/Icon/icons/HomeFill.d.ts +13 -0
  322. package/lib/Icon/icons/HomeFill.js +90 -0
  323. package/lib/Icon/icons/IconBase.withSpan.tpl +58 -0
  324. package/lib/Icon/icons/LightningLine.d.ts +13 -0
  325. package/lib/Icon/icons/LightningLine.js +83 -0
  326. package/lib/Icon/icons/Loading.d.ts +13 -0
  327. package/lib/Icon/icons/Loading.js +83 -0
  328. package/lib/Icon/icons/More.d.ts +13 -0
  329. package/lib/Icon/icons/More.js +83 -0
  330. package/lib/Icon/icons/NewWindowsLine.d.ts +13 -0
  331. package/lib/Icon/icons/NewWindowsLine.js +91 -0
  332. package/lib/Icon/icons/SearchLine.d.ts +13 -0
  333. package/lib/Icon/icons/SearchLine.js +90 -0
  334. package/lib/Icon/icons/SortAscendingLine.d.ts +13 -0
  335. package/lib/Icon/icons/SortAscendingLine.js +83 -0
  336. package/lib/Icon/icons/SortDescendingLine.d.ts +13 -0
  337. package/lib/Icon/icons/SortDescendingLine.js +83 -0
  338. package/lib/Icon/icons/TextLine.d.ts +13 -0
  339. package/lib/Icon/icons/TextLine.js +90 -0
  340. package/lib/Icon/icons/UserLine.d.ts +13 -0
  341. package/lib/Icon/icons/UserLine.js +90 -0
  342. package/lib/Icon/icons/style.css +9 -0
  343. package/lib/Icon/icons/style.css.d.ts +10 -0
  344. package/lib/Icon/index.d.ts +2 -13
  345. package/lib/Icon/index.js +2 -51
  346. package/lib/Icon/index.less +9 -17
  347. package/lib/Icon/style/index.d.ts +1 -0
  348. package/lib/Icon/style/index.js +1 -0
  349. package/lib/Icon/style/index.less +0 -0
  350. package/lib/Input/components/Group/index.d.ts +4 -3
  351. package/lib/Input/components/Group/index.js +24 -1
  352. package/lib/Input/components/Input/index.d.ts +1 -1
  353. package/lib/Input/components/Input/index.js +13 -0
  354. package/lib/Input/components/Password/index.d.ts +7 -1
  355. package/lib/Input/components/Password/index.js +30 -5
  356. package/lib/Input/style/index.less +278 -43
  357. package/lib/InputNumber/index.d.ts +3 -0
  358. package/lib/InputNumber/index.js +45 -0
  359. package/lib/InputNumber/style/index.d.ts +2 -0
  360. package/lib/InputNumber/style/index.js +5 -0
  361. package/lib/InputNumber/style/index.less +224 -0
  362. package/lib/Menu/Divider.d.ts +2 -2
  363. package/lib/Menu/MenuItem.d.ts +2 -1
  364. package/lib/Menu/SubMenu.d.ts +2 -1
  365. package/lib/Menu/SubMenu.js +1 -1
  366. package/lib/Menu/index.d.ts +2 -1
  367. package/lib/Menu/style/index.less +5 -5
  368. package/lib/Modal/index.d.ts +21 -0
  369. package/lib/Modal/index.js +121 -0
  370. package/lib/Modal/style/index.d.ts +2 -0
  371. package/lib/Modal/style/index.js +5 -0
  372. package/lib/Modal/style/index.less +206 -0
  373. package/lib/Navigator/components/Header/index.d.ts +8 -0
  374. package/lib/Navigator/components/Header/index.js +28 -0
  375. package/lib/Navigator/components/Menu/index.d.ts +6 -13
  376. package/lib/Navigator/components/Menu/index.js +25 -118
  377. package/lib/Navigator/components/MenuItem/index.d.ts +21 -0
  378. package/lib/Navigator/components/MenuItem/index.js +56 -0
  379. package/lib/Navigator/index.d.ts +19 -8
  380. package/lib/Navigator/index.js +7 -15
  381. package/lib/Navigator/style/bg.png +0 -0
  382. package/lib/Navigator/style/index.less +97 -164
  383. package/lib/Popover/index.d.ts +4 -0
  384. package/lib/Popover/index.js +35 -0
  385. package/lib/Popover/style/index.d.ts +2 -0
  386. package/lib/Popover/style/index.js +5 -0
  387. package/lib/Popover/style/index.less +37 -0
  388. package/lib/Radio/index.d.ts +2 -3
  389. package/lib/Select/index.d.ts +37 -9
  390. package/lib/Select/index.js +167 -18
  391. package/lib/Select/rc-select/BaseSelect.d.ts +116 -0
  392. package/lib/Select/rc-select/BaseSelect.js +672 -0
  393. package/lib/Select/rc-select/OptGroup.d.ts +12 -0
  394. package/lib/Select/{OptionsList → rc-select}/OptGroup.js +1 -0
  395. package/lib/Select/rc-select/Option.d.ts +14 -0
  396. package/lib/Select/{OptionsList/Options.js → rc-select/Option.js} +1 -0
  397. package/lib/Select/rc-select/OptionList.d.ts +10 -0
  398. package/lib/Select/rc-select/OptionList.js +427 -0
  399. package/lib/Select/rc-select/Select.d.ts +109 -0
  400. package/lib/Select/rc-select/Select.js +545 -0
  401. package/lib/Select/rc-select/SelectContext.d.ts +20 -0
  402. package/lib/Select/rc-select/SelectContext.js +19 -0
  403. package/lib/Select/rc-select/SelectTrigger.d.ts +30 -0
  404. package/lib/Select/rc-select/SelectTrigger.js +153 -0
  405. package/lib/Select/rc-select/Selector/Input.d.ts +26 -0
  406. package/lib/Select/rc-select/Selector/Input.js +132 -0
  407. package/lib/Select/rc-select/Selector/MultipleSelector.d.ts +16 -0
  408. package/lib/Select/rc-select/Selector/MultipleSelector.js +257 -0
  409. package/lib/Select/rc-select/Selector/SingleSelector.d.ts +8 -0
  410. package/lib/Select/rc-select/Selector/SingleSelector.js +129 -0
  411. package/lib/Select/rc-select/Selector/index.d.ts +80 -0
  412. package/lib/Select/rc-select/Selector/index.js +203 -0
  413. package/lib/Select/rc-select/TransBtn.d.ts +12 -0
  414. package/lib/Select/rc-select/TransBtn.js +59 -0
  415. package/lib/Select/rc-select/hooks/useBaseProps.d.ts +13 -0
  416. package/lib/Select/rc-select/hooks/useBaseProps.js +28 -0
  417. package/lib/Select/rc-select/hooks/useCache.d.ts +7 -0
  418. package/lib/Select/rc-select/hooks/useCache.js +63 -0
  419. package/lib/Select/rc-select/hooks/useDelayReset.d.ts +5 -0
  420. package/lib/Select/rc-select/hooks/useDelayReset.js +62 -0
  421. package/lib/Select/rc-select/hooks/useFilterOptions.d.ts +3 -0
  422. package/lib/Select/rc-select/hooks/useFilterOptions.js +91 -0
  423. package/lib/Select/rc-select/hooks/useId.d.ts +5 -0
  424. package/lib/Select/rc-select/hooks/useId.js +68 -0
  425. package/lib/Select/rc-select/hooks/useLayoutEffect.d.ts +5 -0
  426. package/lib/Select/rc-select/hooks/useLayoutEffect.js +32 -0
  427. package/lib/Select/rc-select/hooks/useLock.d.ts +7 -0
  428. package/lib/Select/rc-select/hooks/useLock.js +49 -0
  429. package/lib/Select/rc-select/hooks/useOptions.d.ts +11 -0
  430. package/lib/Select/rc-select/hooks/useOptions.js +68 -0
  431. package/lib/Select/rc-select/hooks/useRefFunc.d.ts +5 -0
  432. package/lib/Select/rc-select/hooks/useRefFunc.js +29 -0
  433. package/lib/Select/rc-select/hooks/useSelectTriggerControl.d.ts +1 -0
  434. package/lib/Select/rc-select/hooks/useSelectTriggerControl.js +54 -0
  435. package/lib/Select/rc-select/index.d.ts +10 -0
  436. package/lib/Select/rc-select/index.js +45 -0
  437. package/lib/Select/rc-select/interface.d.ts +10 -0
  438. package/lib/Select/{interface.js → rc-select/interface.js} +0 -0
  439. package/lib/Select/rc-select/utils/commonUtil.d.ts +4 -0
  440. package/lib/Select/rc-select/utils/commonUtil.js +23 -0
  441. package/lib/Select/rc-select/utils/keyUtil.d.ts +2 -0
  442. package/lib/Select/rc-select/utils/keyUtil.js +17 -0
  443. package/lib/Select/rc-select/utils/legacyUtil.d.ts +3 -0
  444. package/lib/Select/rc-select/utils/legacyUtil.js +73 -0
  445. package/lib/Select/rc-select/utils/platformUtil.d.ts +1 -0
  446. package/lib/Select/rc-select/utils/platformUtil.js +11 -0
  447. package/lib/Select/rc-select/utils/valueUtil.d.ts +22 -0
  448. package/lib/Select/rc-select/utils/valueUtil.js +172 -0
  449. package/lib/Select/rc-select/utils/warningPropsUtil.d.ts +3 -0
  450. package/lib/Select/rc-select/utils/warningPropsUtil.js +132 -0
  451. package/lib/Select/style/index.d.ts +1 -0
  452. package/lib/Select/style/index.js +2 -0
  453. package/lib/Select/style/index.less +230 -480
  454. package/lib/Select/style/multiple.less +222 -0
  455. package/lib/Select/style/rtl.less +168 -0
  456. package/lib/Select/style/select.less +337 -0
  457. package/lib/Select/style/single.less +179 -0
  458. package/lib/Select/style/status.less +48 -0
  459. package/lib/Select/style/variables.less +67 -0
  460. package/lib/Select/style/variables.less.d.ts +100 -0
  461. package/lib/Select/utils/iconUtil.d.ts +24 -0
  462. package/lib/Select/utils/iconUtil.js +102 -0
  463. package/lib/Space/index.d.ts +1 -1
  464. package/lib/Space/index.js +0 -6
  465. package/lib/Table/Table.d.ts +5 -0
  466. package/lib/Table/Table.js +501 -0
  467. package/lib/Table/index.d.ts +2 -4
  468. package/lib/Table/index.js +2 -478
  469. package/lib/Table/interface.d.ts +11 -15
  470. package/lib/Table/style/index.less +51 -21
  471. package/lib/Tabs/index.d.ts +2 -1
  472. package/lib/Tabs/index.js +11 -4
  473. package/lib/Tabs/style/index.less +73 -7
  474. package/lib/Tooltip/style/index.less +2 -1
  475. package/lib/index.d.ts +20 -5
  476. package/lib/index.js +70 -6
  477. package/lib/{Message → message}/index.d.ts +0 -0
  478. package/lib/{Message → message}/index.js +0 -0
  479. package/lib/message/style/index.d.ts +2 -0
  480. package/lib/message/style/index.js +5 -0
  481. package/lib/message/style/index.less +1 -0
  482. package/lib/{Notification → notification}/index.d.ts +0 -0
  483. package/lib/{Notification → notification}/index.js +0 -0
  484. package/lib/notification/style/index.d.ts +2 -0
  485. package/lib/notification/style/index.js +5 -0
  486. package/lib/notification/style/index.less +1 -0
  487. package/lib/style/index.less +3 -1
  488. package/lib/style/mixins/index.less +8 -0
  489. package/lib/style/themes/default/index.less +10 -10
  490. package/lib/style/themes/default/scrollBar.less +13 -0
  491. package/lib/style/themes/default/themeColor.module.less +58 -94
  492. package/lib/style/themes/default/themeColor.module.less.d.ts +1 -17
  493. package/package.json +7 -6
  494. package/es/Icon/iconfont/demo.css +0 -539
  495. package/es/Icon/iconfont/demo_index.html +0 -720
  496. package/es/Icon/iconfont/iconfont.css +0 -109
  497. package/es/Icon/iconfont/iconfont.js +0 -46
  498. package/es/Icon/iconfont/iconfont.json +0 -170
  499. package/es/Icon/iconfont/iconfont.ttf +0 -0
  500. package/es/Icon/iconfont/iconfont.woff +0 -0
  501. package/es/Icon/iconfont/iconfont.woff2 +0 -0
  502. package/es/Select/BaseSelect.d.ts +0 -5
  503. package/es/Select/BaseSelect.js +0 -413
  504. package/es/Select/OptionsList/OptGroup.d.ts +0 -7
  505. package/es/Select/OptionsList/OptionItem/RenderGroup.d.ts +0 -9
  506. package/es/Select/OptionsList/OptionItem/RenderGroup.js +0 -16
  507. package/es/Select/OptionsList/OptionItem/RenderLabelIcon.d.ts +0 -10
  508. package/es/Select/OptionsList/OptionItem/RenderLabelIcon.js +0 -45
  509. package/es/Select/OptionsList/OptionItem/RenderOption.d.ts +0 -16
  510. package/es/Select/OptionsList/OptionItem/RenderOption.js +0 -79
  511. package/es/Select/OptionsList/OptionItem/RenderTooltip.d.ts +0 -8
  512. package/es/Select/OptionsList/OptionItem/RenderTooltip.js +0 -25
  513. package/es/Select/OptionsList/OptionItem.d.ts +0 -4
  514. package/es/Select/OptionsList/OptionItem.js +0 -4
  515. package/es/Select/OptionsList/Options.d.ts +0 -7
  516. package/es/Select/OptionsList/index.d.ts +0 -4
  517. package/es/Select/OptionsList/index.js +0 -176
  518. package/es/Select/Selector/index.d.ts +0 -4
  519. package/es/Select/Selector/index.js +0 -252
  520. package/es/Select/VirtualList.d.ts +0 -5
  521. package/es/Select/VirtualList.js +0 -29
  522. package/es/Select/hooks/useCacheOption.d.ts +0 -9
  523. package/es/Select/hooks/useCacheOption.js +0 -107
  524. package/es/Select/interface.d.ts +0 -235
  525. package/es/Select/utils.d.ts +0 -21
  526. package/es/Select/utils.js +0 -193
  527. package/lib/Icon/iconfont/demo.css +0 -539
  528. package/lib/Icon/iconfont/demo_index.html +0 -720
  529. package/lib/Icon/iconfont/iconfont.css +0 -109
  530. package/lib/Icon/iconfont/iconfont.js +0 -48
  531. package/lib/Icon/iconfont/iconfont.json +0 -170
  532. package/lib/Icon/iconfont/iconfont.ttf +0 -0
  533. package/lib/Icon/iconfont/iconfont.woff +0 -0
  534. package/lib/Icon/iconfont/iconfont.woff2 +0 -0
  535. package/lib/Select/BaseSelect.d.ts +0 -5
  536. package/lib/Select/BaseSelect.js +0 -446
  537. package/lib/Select/OptionsList/OptGroup.d.ts +0 -7
  538. package/lib/Select/OptionsList/OptionItem/RenderGroup.d.ts +0 -9
  539. package/lib/Select/OptionsList/OptionItem/RenderGroup.js +0 -27
  540. package/lib/Select/OptionsList/OptionItem/RenderLabelIcon.d.ts +0 -10
  541. package/lib/Select/OptionsList/OptionItem/RenderLabelIcon.js +0 -60
  542. package/lib/Select/OptionsList/OptionItem/RenderOption.d.ts +0 -16
  543. package/lib/Select/OptionsList/OptionItem/RenderOption.js +0 -94
  544. package/lib/Select/OptionsList/OptionItem/RenderTooltip.d.ts +0 -8
  545. package/lib/Select/OptionsList/OptionItem/RenderTooltip.js +0 -37
  546. package/lib/Select/OptionsList/OptionItem.d.ts +0 -4
  547. package/lib/Select/OptionsList/OptionItem.js +0 -39
  548. package/lib/Select/OptionsList/Options.d.ts +0 -7
  549. package/lib/Select/OptionsList/index.d.ts +0 -4
  550. package/lib/Select/OptionsList/index.js +0 -195
  551. package/lib/Select/Selector/index.d.ts +0 -4
  552. package/lib/Select/Selector/index.js +0 -276
  553. package/lib/Select/VirtualList.d.ts +0 -5
  554. package/lib/Select/VirtualList.js +0 -42
  555. package/lib/Select/hooks/useCacheOption.d.ts +0 -9
  556. package/lib/Select/hooks/useCacheOption.js +0 -113
  557. package/lib/Select/interface.d.ts +0 -235
  558. package/lib/Select/utils.d.ts +0 -21
  559. package/lib/Select/utils.js +0 -233
@@ -0,0 +1,66 @@
1
+ var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
2
+
3
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
+
5
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
+
7
+ import React, { useEffect, useRef } from 'react';
8
+ import styles from './style.css';
9
+ export default function SortDescendingLine(props) {
10
+ var root = useRef(null);
11
+
12
+ var _props$size = props.size,
13
+ size = _props$size === void 0 ? '1em' : _props$size,
14
+ width = props.width,
15
+ height = props.height,
16
+ spin = props.spin,
17
+ rtl = props.rtl,
18
+ color = props.color,
19
+ fill = props.fill,
20
+ stroke = props.stroke,
21
+ className = props.className,
22
+ rest = _objectWithoutProperties(props, _excluded);
23
+
24
+ var _width = width || size;
25
+
26
+ var _height = height || size;
27
+
28
+ var _stroke = stroke || color;
29
+
30
+ var _fill = fill || color;
31
+
32
+ useEffect(function () {
33
+ if (!_fill) {
34
+ var _root$current;
35
+
36
+ (_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
37
+ item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
38
+ });
39
+ }
40
+
41
+ if (!_stroke) {
42
+ var _root$current2;
43
+
44
+ (_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
45
+ item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
46
+ });
47
+ }
48
+ }, [stroke, color, fill]);
49
+ return /*#__PURE__*/React.createElement("svg", Object.assign({
50
+ ref: root,
51
+ width: _width,
52
+ height: _height,
53
+ viewBox: "0 0 24 24",
54
+ preserveAspectRatio: "xMidYMid meet",
55
+ fill: "none",
56
+ role: "presentation",
57
+ xmlns: "http://www.w3.org/2000/svg",
58
+ className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
59
+ }, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
60
+ "data-follow-fill": "#001A33",
61
+ d: "m13 18.586 4.293-4.293a1 1 0 0 1 1.414 1.414l-6 6a.997.997 0 0 1-1.414 0l-6-6a1 1 0 1 1 1.414-1.414L11 18.586V3a1 1 0 1 1 2 0v15.586Z",
62
+ clipRule: "evenodd",
63
+ fillRule: "evenodd",
64
+ fill: _fill
65
+ })));
66
+ }
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface IconProps extends React.SVGProps<SVGSVGElement> {
3
+ size?: string | number;
4
+ width?: string | number;
5
+ height?: string | number;
6
+ spin?: boolean;
7
+ rtl?: boolean;
8
+ color?: string;
9
+ fill?: string;
10
+ stroke?: string;
11
+ }
12
+ export default function TextLine(props: IconProps): JSX.Element;
13
+ export {};
@@ -0,0 +1,73 @@
1
+ var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
2
+
3
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
+
5
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
+
7
+ import React, { useEffect, useRef } from 'react';
8
+ import styles from './style.css';
9
+ export default function TextLine(props) {
10
+ var root = useRef(null);
11
+
12
+ var _props$size = props.size,
13
+ size = _props$size === void 0 ? '1em' : _props$size,
14
+ width = props.width,
15
+ height = props.height,
16
+ spin = props.spin,
17
+ rtl = props.rtl,
18
+ color = props.color,
19
+ fill = props.fill,
20
+ stroke = props.stroke,
21
+ className = props.className,
22
+ rest = _objectWithoutProperties(props, _excluded);
23
+
24
+ var _width = width || size;
25
+
26
+ var _height = height || size;
27
+
28
+ var _stroke = stroke || color;
29
+
30
+ var _fill = fill || color;
31
+
32
+ useEffect(function () {
33
+ if (!_fill) {
34
+ var _root$current;
35
+
36
+ (_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
37
+ item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
38
+ });
39
+ }
40
+
41
+ if (!_stroke) {
42
+ var _root$current2;
43
+
44
+ (_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
45
+ item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
46
+ });
47
+ }
48
+ }, [stroke, color, fill]);
49
+ return /*#__PURE__*/React.createElement("svg", Object.assign({
50
+ ref: root,
51
+ width: _width,
52
+ height: _height,
53
+ viewBox: "0 0 24 24",
54
+ preserveAspectRatio: "xMidYMid meet",
55
+ fill: "none",
56
+ role: "presentation",
57
+ xmlns: "http://www.w3.org/2000/svg",
58
+ className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
59
+ }, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
60
+ clipPath: "url(#562cc__a)"
61
+ }, /*#__PURE__*/React.createElement("path", {
62
+ "data-follow-fill": "#001A33",
63
+ fillRule: "evenodd",
64
+ clipRule: "evenodd",
65
+ d: "M7 5.778 4.49 13h5.02L7 5.778Zm-5.055 14.55L3.795 15h6.41l1.85 5.328a1 1 0 1 0 1.89-.656L8.563 4.182a1.809 1.809 0 0 0-.557-.816A1.582 1.582 0 0 0 7 3c-.382 0-.732.14-1.006.366a1.809 1.809 0 0 0-.557.816L.055 19.672a1 1 0 0 0 1.89.656ZM19 13a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm0-2c1.126 0 2.164.372 3 1a1 1 0 0 1 2 0v8a1 1 0 0 1-2 0 5 5 0 1 1-3-9Z",
66
+ fill: _fill
67
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
68
+ id: "562cc__a"
69
+ }, /*#__PURE__*/React.createElement("path", {
70
+ d: "M0 0h24v24H0z",
71
+ fill: "#fff"
72
+ })))));
73
+ }
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface IconProps extends React.SVGProps<SVGSVGElement> {
3
+ size?: string | number;
4
+ width?: string | number;
5
+ height?: string | number;
6
+ spin?: boolean;
7
+ rtl?: boolean;
8
+ color?: string;
9
+ fill?: string;
10
+ stroke?: string;
11
+ }
12
+ export default function UserLine(props: IconProps): JSX.Element;
13
+ export {};
@@ -0,0 +1,73 @@
1
+ var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
2
+
3
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
+
5
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
+
7
+ import React, { useEffect, useRef } from 'react';
8
+ import styles from './style.css';
9
+ export default function UserLine(props) {
10
+ var root = useRef(null);
11
+
12
+ var _props$size = props.size,
13
+ size = _props$size === void 0 ? '1em' : _props$size,
14
+ width = props.width,
15
+ height = props.height,
16
+ spin = props.spin,
17
+ rtl = props.rtl,
18
+ color = props.color,
19
+ fill = props.fill,
20
+ stroke = props.stroke,
21
+ className = props.className,
22
+ rest = _objectWithoutProperties(props, _excluded);
23
+
24
+ var _width = width || size;
25
+
26
+ var _height = height || size;
27
+
28
+ var _stroke = stroke || color;
29
+
30
+ var _fill = fill || color;
31
+
32
+ useEffect(function () {
33
+ if (!_fill) {
34
+ var _root$current;
35
+
36
+ (_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
37
+ item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
38
+ });
39
+ }
40
+
41
+ if (!_stroke) {
42
+ var _root$current2;
43
+
44
+ (_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
45
+ item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
46
+ });
47
+ }
48
+ }, [stroke, color, fill]);
49
+ return /*#__PURE__*/React.createElement("svg", Object.assign({
50
+ ref: root,
51
+ width: _width,
52
+ height: _height,
53
+ viewBox: "0 0 24 24",
54
+ preserveAspectRatio: "xMidYMid meet",
55
+ fill: "none",
56
+ role: "presentation",
57
+ xmlns: "http://www.w3.org/2000/svg",
58
+ className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
59
+ }, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
60
+ clipPath: "url(#56361__a)"
61
+ }, /*#__PURE__*/React.createElement("path", {
62
+ "data-follow-fill": "#001A33",
63
+ d: "M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10a9.964 9.964 0 0 1-2.627 6.756A9.242 9.242 0 0 0 16.51 16.2 9.09 9.09 0 0 0 12 15a9.09 9.09 0 0 0-4.51 1.2 9.242 9.242 0 0 0-2.863 2.556A9.964 9.964 0 0 1 2 12Zm4.128 8.095A9.955 9.955 0 0 0 12 22a9.955 9.955 0 0 0 5.872-1.904 7.247 7.247 0 0 0-2.354-2.16A7.09 7.09 0 0 0 12 17a7.09 7.09 0 0 0-3.518.937 7.247 7.247 0 0 0-2.354 2.158ZM12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0Zm0 6a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM7 9a5 5 0 1 1 10 0A5 5 0 0 1 7 9Z",
64
+ clipRule: "evenodd",
65
+ fillRule: "evenodd",
66
+ fill: _fill
67
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
68
+ id: "56361__a"
69
+ }, /*#__PURE__*/React.createElement("path", {
70
+ fill: "#fff",
71
+ d: "M0 0h24v24H0z"
72
+ })))));
73
+ }
@@ -0,0 +1,9 @@
1
+ .spin,.spin svg {animation: iconpark-spin 1s infinite linear;}
2
+ .rtl,.rtl svg {transform: scaleX(-1);}
3
+ .spin.rtl,.spin.rtl svg {animation: iconpark-spin-rtl 1s infinite linear;}
4
+ @keyframes iconpark-spin {
5
+ 0% { -webkit-transform: rotate(0); transform: rotate(0);} 100% {-webkit-transform: rotate(360deg); transform: rotate(360deg);}
6
+ }
7
+ @keyframes iconpark-spin-rtl {
8
+ 0% {-webkit-transform: scaleX(-1) rotate(0); transform: scaleX(-1) rotate(0);} 100% {-webkit-transform: scaleX(-1) rotate(360deg); transform: scaleX(-1) rotate(360deg);}
9
+ }
@@ -0,0 +1,10 @@
1
+ // This file is automatically generated.
2
+ // Please do not change this file!
3
+ interface CssExports {
4
+ 'iconpark-spin': string;
5
+ 'iconpark-spin-rtl': string;
6
+ 'rtl': string;
7
+ 'spin': string;
8
+ }
9
+ export const cssExports: CssExports;
10
+ export default cssExports;
@@ -1,14 +1,3 @@
1
- import React from 'react';
2
- import { IconFontProps } from '@ant-design/icons/lib/components/IconFont';
3
- import { createFromIconfontCN } from '@ant-design/icons';
4
- declare const Icon: (props: IIconProps) => JSX.Element;
1
+ import Icon from './components/Icon';
2
+ export type { IBaseIconProps } from './components/Icon';
5
3
  export default Icon;
6
- export type { IconFontProps };
7
- export { createFromIconfontCN };
8
- export interface IIconProps extends IconFontProps {
9
- className?: string;
10
- size?: number;
11
- style?: React.CSSProperties;
12
- color?: string;
13
- type: string;
14
- }
package/es/Icon/index.js CHANGED
@@ -1,45 +1,2 @@
1
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2
-
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
-
5
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
-
7
- import React from 'react';
8
- import { createFromIconfontCN } from '@ant-design/icons'; // @ts-ignore iconfont.js 没有ts类型定义
9
- // import iconfontJs from './iconfont/iconfont';
10
-
11
- var iconfontJs = require('./iconfont/iconfont');
12
-
13
- var IconFont = createFromIconfontCN({
14
- scriptUrl: iconfontJs
15
- });
16
- var DEFAULT_SIZE = 16;
17
-
18
- var Icon = function Icon(props) {
19
- var className = props.className,
20
- _props$size = props.size,
21
- size = _props$size === void 0 ? DEFAULT_SIZE : _props$size,
22
- _props$style = props.style,
23
- style = _props$style === void 0 ? {} : _props$style,
24
- color = props.color; // 添加一个前缀
25
-
26
- var prefix = '';
27
- var type = "".concat(prefix).concat(props.type);
28
-
29
- var finalStyle = _objectSpread({
30
- verticalAlign: 'middle',
31
- color: color,
32
- fontSize: size,
33
- height: size,
34
- width: size
35
- }, style);
36
-
37
- return /*#__PURE__*/React.createElement(IconFont, Object.assign({}, props, {
38
- style: finalStyle,
39
- type: type,
40
- className: className
41
- }));
42
- };
43
-
44
- export default Icon;
45
- export { createFromIconfontCN };
1
+ import Icon from './components/Icon';
2
+ export default Icon;
@@ -2,31 +2,23 @@
2
2
  font-size: 16px;
3
3
  }
4
4
 
5
- @icon-font: ald-iconfont;
6
-
7
- @font-face {
8
- font-family: @icon-font; /* Project id 3211525 */
9
- src:
10
-
11
- url('data:application/x-font-woff2;charset=utf-8;base64,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') format('woff2'),
12
- url('./iconfont/iconfont.woff?t=1648447992265') format('woff'),
13
- url('./iconfont/iconfont.ttf?t=1648447992265') format('truetype');
14
- }
15
-
16
- .ald-iconfont(@content; @font-size: 16px) {
17
- font-family: @icon-font !important;
18
- font-size: 16px;
5
+ // 用于替换antd内的某些无法通过外部传入的图标
6
+ .ald-iconSvg(@svgName; @size: 16px) {
7
+ font-size: @size;
19
8
  font-style: normal;
20
9
  -webkit-font-smoothing: antialiased;
21
10
  -moz-osx-font-smoothing: grayscale;
22
11
 
23
12
  &::before {
24
- content: @content;
25
- font-size: @font-size;
13
+ content: url("iconSvgs/@{svgName}.svg");
14
+ width: @size;
15
+ height: @size;
16
+ font-size: @size;
17
+ color: inherit;
26
18
  display: inline-block;
27
19
  }
28
20
 
29
21
  & > svg {
30
22
  display: none;
31
23
  }
32
- }
24
+ }
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+ "use strict";
File without changes
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { GroupProps } from 'antd/lib/input';
3
- export interface IGroupProps extends GroupProps {
2
+ import { TSize } from '../Input';
3
+ export interface IGroupProps extends Omit<GroupProps, 'size'> {
4
4
  /**
5
5
  * @description 是否用紧凑模式
6
6
  * @default false
@@ -8,8 +8,9 @@ export interface IGroupProps extends GroupProps {
8
8
  compact?: boolean;
9
9
  /**
10
10
  * @description Input.Group 中所有的 Input 的大小,可选 large default small
11
+ * @type 'mini'|'small' | 'default' | 'large';
11
12
  * @default default
12
13
  */
13
- size?: 'large' | 'default' | 'small';
14
+ size?: TSize;
14
15
  }
15
16
  export default function Group(props: IGroupProps): JSX.Element;
@@ -1,6 +1,28 @@
1
+ var _excluded = ["size"];
2
+
3
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
+
5
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
+
1
7
  import React from 'react';
2
8
  import AntdInput from 'antd/lib/input';
9
+ import classnames from 'classnames';
3
10
  var AntdGroup = AntdInput.Group;
4
11
  export default function Group(props) {
5
- return /*#__PURE__*/React.createElement(AntdGroup, Object.assign({}, props));
12
+ var _props$size = props.size,
13
+ size = _props$size === void 0 ? 'default' : _props$size,
14
+ rest = _objectWithoutProperties(props, _excluded);
15
+
16
+ var getClassName = function getClassName(groupSize) {
17
+ return classnames('ald-input-group', {
18
+ 'ald-input-group-large': groupSize === 'large',
19
+ 'ald-input-group-small': groupSize === 'small',
20
+ 'ald-input-group-mini': groupSize === 'mini',
21
+ 'ald-input-group-middle': !['mini', 'small', 'large'].includes(groupSize)
22
+ });
23
+ };
24
+
25
+ return /*#__PURE__*/React.createElement(AntdGroup, Object.assign({
26
+ className: getClassName(size)
27
+ }, rest));
6
28
  }
@@ -7,7 +7,7 @@ interface IShowCountProps {
7
7
  maxLength?: number;
8
8
  }) => string;
9
9
  }
10
- export declare type TSize = 'small' | 'default' | 'large';
10
+ export declare type TSize = 'mini' | 'small' | 'default' | 'large';
11
11
  export type { InputRef };
12
12
  declare type ChangeEventHandler = (e: React.ChangeEvent<HTMLInputElement>) => void;
13
13
  export interface IInputProps extends Omit<InputProps, 'size' | 'id' | 'prefix' | 'allowClear' | 'disabled' | 'showCount' | 'maxLength' | 'value' | 'defaultValue' | 'onPressEnter' | 'onChange'> {
@@ -6,6 +6,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
6
6
 
7
7
  import React from 'react';
8
8
  import AntdInput from 'antd/lib/input/Input';
9
+ import classnames from 'classnames';
9
10
  var Input = /*#__PURE__*/React.forwardRef(function (props, ref) {
10
11
  var _props$size = props.size,
11
12
  size = _props$size === void 0 ? 'default' : _props$size,
@@ -19,11 +20,22 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, ref) {
19
20
  return 'middle';
20
21
  };
21
22
 
23
+ var getClassName = function getClassName(inputSize) {
24
+ return classnames('ald-input', {
25
+ 'ald-input-small': inputSize === 'small',
26
+ 'ald-input-large': inputSize === 'large',
27
+ 'ald-input-mini': inputSize === 'mini',
28
+ 'ald-input-middle': !['small', 'mini', 'large'].includes(inputSize),
29
+ 'ald-input-showCount': props.showCount
30
+ });
31
+ };
32
+
22
33
  return /*#__PURE__*/React.createElement(AntdInput, Object.assign({}, rest, {
23
34
  // @ts-ignore
24
35
  ref: ref,
25
36
  size: getInputSize(size),
26
37
  bordered: true,
38
+ className: getClassName(size),
27
39
  addonAfter: null,
28
40
  addonBefore: null,
29
41
  suffix: null
@@ -1,11 +1,17 @@
1
1
  import React from 'react';
2
2
  import { PasswordProps } from 'antd/lib/input/Password';
3
- export interface IPasswordProps extends PasswordProps {
3
+ import { TSize } from '../Input';
4
+ export interface IPasswordProps extends Omit<PasswordProps, 'size'> {
4
5
  /**
5
6
  * @description 是否显示切换按钮
6
7
  * @default true
7
8
  */
8
9
  visibilityToggle?: boolean;
10
+ /**
11
+ * @description 尺寸大学
12
+ * @default default
13
+ */
14
+ size?: TSize;
9
15
  }
10
16
  declare const _default: React.ForwardRefExoticComponent<IPasswordProps & React.RefAttributes<any>>;
11
17
  export default _default;
@@ -1,14 +1,37 @@
1
+ var _excluded = ["size"];
2
+
3
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
+
5
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
+
1
7
  import React from 'react';
2
- import Icon from '../../../Icon';
3
- import AntdPassword from 'antd/lib/input/Password'; // eslint-disable-next-line @typescript-eslint/no-explicit-any
8
+ import EyeOffLine from '../../../Icon/icons/EyeOffLine';
9
+ import EyeOnLine from '../../../Icon/icons/EyeOnLine';
10
+ import AntdPassword from 'antd/lib/input/Password';
11
+ import classnames from 'classnames'; // eslint-disable-next-line @typescript-eslint/no-explicit-any
4
12
 
5
13
  export default /*#__PURE__*/React.forwardRef(function (props, ref) {
6
- return /*#__PURE__*/React.createElement(AntdPassword, Object.assign({}, props, {
14
+ var _props$size = props.size,
15
+ size = _props$size === void 0 ? 'default' : _props$size,
16
+ restProps = _objectWithoutProperties(props, _excluded);
17
+
18
+ var getClassName = function getClassName(inputSize) {
19
+ return classnames('ald-input', {
20
+ 'ald-input-small': inputSize === 'small',
21
+ 'ald-input-large': inputSize === 'large',
22
+ 'ald-input-mini': inputSize === 'mini',
23
+ 'ald-input-middle': !['small', 'mini', 'large'].includes(inputSize)
24
+ });
25
+ };
26
+
27
+ return /*#__PURE__*/React.createElement(AntdPassword, Object.assign({}, restProps, {
7
28
  ref: ref,
29
+ className: getClassName(size),
8
30
  iconRender: function iconRender(visible) {
9
- var type = visible ? 'eye' : 'eye_off';
10
- return /*#__PURE__*/React.createElement(Icon, {
11
- type: type
31
+ return visible ? /*#__PURE__*/React.createElement(EyeOnLine, {
32
+ fill: "currentColor"
33
+ }) : /*#__PURE__*/React.createElement(EyeOffLine, {
34
+ fill: "currentColor"
12
35
  });
13
36
  }
14
37
  }));