@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,270 @@
1
+ import * as React from 'react';
2
+
3
+ var Empty = function Empty() {
4
+ return /*#__PURE__*/React.createElement("svg", {
5
+ className: " ald-empty-img",
6
+ width: "264",
7
+ height: "264",
8
+ viewBox: "0 0 264 264",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg"
11
+ }, /*#__PURE__*/React.createElement("g", {
12
+ clipPath: "url(#clip0_3756_45749)"
13
+ }, /*#__PURE__*/React.createElement("circle", {
14
+ cx: "132",
15
+ cy: "133",
16
+ r: "98",
17
+ fill: "#D4E4FF"
18
+ }), /*#__PURE__*/React.createElement("circle", {
19
+ cx: "12",
20
+ cy: "182",
21
+ r: "10",
22
+ fill: "#D4E4FF"
23
+ }), /*#__PURE__*/React.createElement("circle", {
24
+ cx: "246",
25
+ cy: "90",
26
+ r: "10",
27
+ fill: "#D4E4FF"
28
+ }), /*#__PURE__*/React.createElement("circle", {
29
+ cx: "257",
30
+ cy: "69",
31
+ r: "5",
32
+ fill: "#D4E4FF"
33
+ }), /*#__PURE__*/React.createElement("circle", {
34
+ cx: "29",
35
+ cy: "77",
36
+ r: "5",
37
+ fill: "#D4E4FF"
38
+ }), /*#__PURE__*/React.createElement("g", {
39
+ filter: "url(#filter0_dd_3756_45749)"
40
+ }, /*#__PURE__*/React.createElement("g", {
41
+ clipPath: "url(#clip1_3756_45749)"
42
+ }, /*#__PURE__*/React.createElement("path", {
43
+ d: "M60 48H172L204 80V228H60V48Z",
44
+ fill: "white"
45
+ }), /*#__PURE__*/React.createElement("rect", {
46
+ x: "76",
47
+ y: "88",
48
+ width: "72",
49
+ height: "8",
50
+ rx: "4",
51
+ fill: "#D4E4FF"
52
+ }), /*#__PURE__*/React.createElement("rect", {
53
+ x: "76",
54
+ y: "108",
55
+ width: "24",
56
+ height: "8",
57
+ rx: "4",
58
+ fill: "#D4E4FF"
59
+ }), /*#__PURE__*/React.createElement("rect", {
60
+ x: "108",
61
+ y: "108",
62
+ width: "48",
63
+ height: "8",
64
+ rx: "4",
65
+ fill: "#EFF5FF"
66
+ }), /*#__PURE__*/React.createElement("rect", {
67
+ x: "164",
68
+ y: "108",
69
+ width: "24",
70
+ height: "8",
71
+ rx: "4",
72
+ fill: "#EFF5FF"
73
+ }), /*#__PURE__*/React.createElement("rect", {
74
+ x: "76",
75
+ y: "128",
76
+ width: "16",
77
+ height: "8",
78
+ rx: "4",
79
+ fill: "#EFF5FF"
80
+ }), /*#__PURE__*/React.createElement("rect", {
81
+ x: "100",
82
+ y: "128",
83
+ width: "24",
84
+ height: "8",
85
+ rx: "4",
86
+ fill: "#EFF5FF"
87
+ }), /*#__PURE__*/React.createElement("rect", {
88
+ x: "132",
89
+ y: "128",
90
+ width: "48",
91
+ height: "8",
92
+ rx: "4",
93
+ fill: "#EFF5FF"
94
+ }), /*#__PURE__*/React.createElement("rect", {
95
+ x: "76",
96
+ y: "148",
97
+ width: "56",
98
+ height: "8",
99
+ rx: "4",
100
+ fill: "#EFF5FF"
101
+ }), /*#__PURE__*/React.createElement("rect", {
102
+ x: "140",
103
+ y: "148",
104
+ width: "16",
105
+ height: "8",
106
+ rx: "4",
107
+ fill: "#EFF5FF"
108
+ }), /*#__PURE__*/React.createElement("rect", {
109
+ x: "76",
110
+ y: "168",
111
+ width: "24",
112
+ height: "8",
113
+ rx: "4",
114
+ fill: "#D4E4FF"
115
+ }), /*#__PURE__*/React.createElement("rect", {
116
+ x: "108",
117
+ y: "168",
118
+ width: "24",
119
+ height: "8",
120
+ rx: "4",
121
+ fill: "#EFF5FF"
122
+ }), /*#__PURE__*/React.createElement("rect", {
123
+ x: "140",
124
+ y: "168",
125
+ width: "24",
126
+ height: "8",
127
+ rx: "4",
128
+ fill: "#EFF5FF"
129
+ }), /*#__PURE__*/React.createElement("path", {
130
+ d: "M172 48L204 80H180C175.582 80 172 76.4183 172 72V48Z",
131
+ fill: "#EFF5FF"
132
+ }))), /*#__PURE__*/React.createElement("g", {
133
+ filter: "url(#filter1_dd_3756_45749)"
134
+ }, /*#__PURE__*/React.createElement("circle", {
135
+ cx: "132",
136
+ cy: "220",
137
+ r: "20",
138
+ fill: "url(#paint0_linear_3756_45749)"
139
+ }), /*#__PURE__*/React.createElement("path", {
140
+ fillRule: "evenodd",
141
+ clipRule: "evenodd",
142
+ d: "M131.333 211.667C130.781 211.667 130.333 212.114 130.333 212.667V218.333H124.667C124.114 218.333 123.667 218.781 123.667 219.333L123.667 220.667C123.667 221.219 124.114 221.667 124.667 221.667H130.333V227.333C130.333 227.886 130.781 228.333 131.333 228.333H132.667C133.219 228.333 133.667 227.886 133.667 227.333V221.667H139.333C139.886 221.667 140.333 221.219 140.333 220.667V219.333C140.333 218.781 139.886 218.333 139.333 218.333H133.667V212.667C133.667 212.114 133.219 211.667 132.667 211.667H131.333Z",
143
+ fill: "white"
144
+ }))), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("filter", {
145
+ id: "filter0_dd_3756_45749",
146
+ x: "20",
147
+ y: "16",
148
+ width: "224",
149
+ height: "254",
150
+ filterUnits: "userSpaceOnUse",
151
+ colorInterpolationFilters: "sRGB"
152
+ }, /*#__PURE__*/React.createElement("feFlood", {
153
+ floodOpacity: "0",
154
+ result: "BackgroundImageFix"
155
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
156
+ in: "SourceAlpha",
157
+ type: "matrix",
158
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
159
+ result: "hardAlpha"
160
+ }), /*#__PURE__*/React.createElement("feOffset", {
161
+ dy: "8"
162
+ }), /*#__PURE__*/React.createElement("feGaussianBlur", {
163
+ stdDeviation: "20"
164
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
165
+ type: "matrix",
166
+ values: "0 0 0 0 0.262745 0 0 0 0 0.360784 0 0 0 0 0.941176 0 0 0 0.04 0"
167
+ }), /*#__PURE__*/React.createElement("feBlend", {
168
+ mode: "normal",
169
+ in2: "BackgroundImageFix",
170
+ result: "effect1_dropShadow_3756_45749"
171
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
172
+ in: "SourceAlpha",
173
+ type: "matrix",
174
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
175
+ result: "hardAlpha"
176
+ }), /*#__PURE__*/React.createElement("feOffset", {
177
+ dy: "4"
178
+ }), /*#__PURE__*/React.createElement("feGaussianBlur", {
179
+ stdDeviation: "8"
180
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
181
+ type: "matrix",
182
+ values: "0 0 0 0 0.262745 0 0 0 0 0.360784 0 0 0 0 0.941176 0 0 0 0.08 0"
183
+ }), /*#__PURE__*/React.createElement("feBlend", {
184
+ mode: "normal",
185
+ in2: "effect1_dropShadow_3756_45749",
186
+ result: "effect2_dropShadow_3756_45749"
187
+ }), /*#__PURE__*/React.createElement("feBlend", {
188
+ mode: "normal",
189
+ in: "SourceGraphic",
190
+ in2: "effect2_dropShadow_3756_45749",
191
+ result: "shape"
192
+ })), /*#__PURE__*/React.createElement("filter", {
193
+ id: "filter1_dd_3756_45749",
194
+ x: "66",
195
+ y: "166",
196
+ width: "132",
197
+ height: "132",
198
+ filterUnits: "userSpaceOnUse",
199
+ colorInterpolationFilters: "sRGB"
200
+ }, /*#__PURE__*/React.createElement("feFlood", {
201
+ floodOpacity: "0",
202
+ result: "BackgroundImageFix"
203
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
204
+ in: "SourceAlpha",
205
+ type: "matrix",
206
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
207
+ result: "hardAlpha"
208
+ }), /*#__PURE__*/React.createElement("feOffset", {
209
+ dy: "12"
210
+ }), /*#__PURE__*/React.createElement("feGaussianBlur", {
211
+ stdDeviation: "23"
212
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
213
+ type: "matrix",
214
+ values: "0 0 0 0 0.262745 0 0 0 0 0.360784 0 0 0 0 0.941176 0 0 0 0.08 0"
215
+ }), /*#__PURE__*/React.createElement("feBlend", {
216
+ mode: "normal",
217
+ in2: "BackgroundImageFix",
218
+ result: "effect1_dropShadow_3756_45749"
219
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
220
+ in: "SourceAlpha",
221
+ type: "matrix",
222
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
223
+ result: "hardAlpha"
224
+ }), /*#__PURE__*/React.createElement("feOffset", {
225
+ dy: "16"
226
+ }), /*#__PURE__*/React.createElement("feGaussianBlur", {
227
+ stdDeviation: "7.5"
228
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
229
+ type: "matrix",
230
+ values: "0 0 0 0 0.262745 0 0 0 0 0.360784 0 0 0 0 0.941176 0 0 0 0.1 0"
231
+ }), /*#__PURE__*/React.createElement("feBlend", {
232
+ mode: "normal",
233
+ in2: "effect1_dropShadow_3756_45749",
234
+ result: "effect2_dropShadow_3756_45749"
235
+ }), /*#__PURE__*/React.createElement("feBlend", {
236
+ mode: "normal",
237
+ in: "SourceGraphic",
238
+ in2: "effect2_dropShadow_3756_45749",
239
+ result: "shape"
240
+ })), /*#__PURE__*/React.createElement("linearGradient", {
241
+ id: "paint0_linear_3756_45749",
242
+ x1: "132",
243
+ y1: "200",
244
+ x2: "132",
245
+ y2: "240",
246
+ gradientUnits: "userSpaceOnUse"
247
+ }, /*#__PURE__*/React.createElement("stop", {
248
+ stopColor: "#79A5FE"
249
+ }), /*#__PURE__*/React.createElement("stop", {
250
+ offset: "1",
251
+ stopColor: "#1552DF"
252
+ })), /*#__PURE__*/React.createElement("clipPath", {
253
+ id: "clip0_3756_45749"
254
+ }, /*#__PURE__*/React.createElement("rect", {
255
+ width: "264",
256
+ height: "264",
257
+ fill: "white"
258
+ })), /*#__PURE__*/React.createElement("clipPath", {
259
+ id: "clip1_3756_45749"
260
+ }, /*#__PURE__*/React.createElement("rect", {
261
+ x: "60",
262
+ y: "48",
263
+ width: "144",
264
+ height: "174",
265
+ rx: "8",
266
+ fill: "white"
267
+ }))));
268
+ };
269
+
270
+ export default Empty;
@@ -0,0 +1,2 @@
1
+ declare const Empty: () => JSX.Element;
2
+ export default Empty;
@@ -0,0 +1,139 @@
1
+ import * as React from 'react';
2
+
3
+ var Empty = function Empty() {
4
+ return /*#__PURE__*/React.createElement("svg", {
5
+ className: "ald-empty-img-default ald-empty-img",
6
+ width: "264",
7
+ height: "264",
8
+ viewBox: "0 0 264 264",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg"
11
+ }, /*#__PURE__*/React.createElement("g", {
12
+ clipPath: "url(#clip0_3832_46458)"
13
+ }, /*#__PURE__*/React.createElement("circle", {
14
+ cx: "132",
15
+ cy: "133",
16
+ r: "98",
17
+ fill: "#D4E4FF"
18
+ }), /*#__PURE__*/React.createElement("circle", {
19
+ cx: "12",
20
+ cy: "182",
21
+ r: "10",
22
+ fill: "#D4E4FF"
23
+ }), /*#__PURE__*/React.createElement("circle", {
24
+ cx: "246",
25
+ cy: "90",
26
+ r: "10",
27
+ fill: "#D4E4FF"
28
+ }), /*#__PURE__*/React.createElement("circle", {
29
+ cx: "257",
30
+ cy: "69",
31
+ r: "5",
32
+ fill: "#D4E4FF"
33
+ }), /*#__PURE__*/React.createElement("circle", {
34
+ cx: "29",
35
+ cy: "77",
36
+ r: "5",
37
+ fill: "#D4E4FF"
38
+ }), /*#__PURE__*/React.createElement("g", {
39
+ filter: "url(#filter0_dd_3832_46458)"
40
+ }, /*#__PURE__*/React.createElement("path", {
41
+ d: "M162 120H222V208C222 212.418 218.418 216 214 216H162V120Z",
42
+ fill: "#D4E4FF"
43
+ }), /*#__PURE__*/React.createElement("path", {
44
+ d: "M42 120H162V216H50C45.5817 216 42 212.418 42 208V120Z",
45
+ fill: "white"
46
+ }), /*#__PURE__*/React.createElement("rect", {
47
+ x: "54",
48
+ y: "176",
49
+ width: "40",
50
+ height: "4",
51
+ rx: "2",
52
+ fill: "#ABC8FE"
53
+ }), /*#__PURE__*/React.createElement("rect", {
54
+ x: "54",
55
+ y: "188",
56
+ width: "24",
57
+ height: "4",
58
+ rx: "2",
59
+ fill: "#ABC8FE"
60
+ }), /*#__PURE__*/React.createElement("rect", {
61
+ x: "54",
62
+ y: "200",
63
+ width: "32",
64
+ height: "4",
65
+ rx: "2",
66
+ fill: "#ABC8FE"
67
+ }), /*#__PURE__*/React.createElement("path", {
68
+ d: "M162 120H222L244.8 150.4C245.294 151.059 244.824 152 244 152H188C186.741 152 185.555 151.407 184.8 150.4L162 120Z",
69
+ fill: "#EFF5FF"
70
+ }), /*#__PURE__*/React.createElement("path", {
71
+ d: "M245.276 73.4472C245.609 72.7823 245.125 72 244.382 72H118L94 120H222L245.276 73.4472Z",
72
+ fill: "white"
73
+ }), /*#__PURE__*/React.createElement("path", {
74
+ d: "M18.7236 73.4472C18.3912 72.7823 18.8747 72 19.618 72H137.382C137.761 72 138.107 72.214 138.276 72.5528L162 120H42L18.7236 73.4472Z",
75
+ fill: "#EFF5FF"
76
+ }), /*#__PURE__*/React.createElement("path", {
77
+ d: "M148 17.5C148.5 19.5 144.5 23.7727 138.5 23.5C129.7 23.1 126.881 17.127 119 14.5C114.5 13 109.492 13.6023 106.5 14.5C101.5 16 92 23.5 94.5 33C96.8214 41.8211 108 46.5 114.5 45C121 43.5 125.631 38.3328 123.5 33C122.033 29.3286 118.452 27.3894 114.5 27.5C110.71 27.6061 106.726 29.0578 103.5 32C97.9779 37.0362 95 44 97.5 51C100.659 59.8457 109 57 115 70",
78
+ stroke: "#ABC8FE",
79
+ strokeWidth: "2",
80
+ strokeLinecap: "round",
81
+ strokeDasharray: "3 3"
82
+ }))), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("filter", {
83
+ id: "filter0_dd_3832_46458",
84
+ x: "-21.3833",
85
+ y: "-19.4129",
86
+ width: "306.767",
87
+ height: "283.413",
88
+ filterUnits: "userSpaceOnUse",
89
+ colorInterpolationFilters: "sRGB"
90
+ }, /*#__PURE__*/React.createElement("feFlood", {
91
+ floodOpacity: "0",
92
+ result: "BackgroundImageFix"
93
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
94
+ in: "SourceAlpha",
95
+ type: "matrix",
96
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
97
+ result: "hardAlpha"
98
+ }), /*#__PURE__*/React.createElement("feOffset", {
99
+ dy: "8"
100
+ }), /*#__PURE__*/React.createElement("feGaussianBlur", {
101
+ stdDeviation: "20"
102
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
103
+ type: "matrix",
104
+ values: "0 0 0 0 0.262745 0 0 0 0 0.360784 0 0 0 0 0.941176 0 0 0 0.04 0"
105
+ }), /*#__PURE__*/React.createElement("feBlend", {
106
+ mode: "normal",
107
+ in2: "BackgroundImageFix",
108
+ result: "effect1_dropShadow_3832_46458"
109
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
110
+ in: "SourceAlpha",
111
+ type: "matrix",
112
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
113
+ result: "hardAlpha"
114
+ }), /*#__PURE__*/React.createElement("feOffset", {
115
+ dy: "4"
116
+ }), /*#__PURE__*/React.createElement("feGaussianBlur", {
117
+ stdDeviation: "8"
118
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
119
+ type: "matrix",
120
+ values: "0 0 0 0 0.262745 0 0 0 0 0.360784 0 0 0 0 0.941176 0 0 0 0.08 0"
121
+ }), /*#__PURE__*/React.createElement("feBlend", {
122
+ mode: "normal",
123
+ in2: "effect1_dropShadow_3832_46458",
124
+ result: "effect2_dropShadow_3832_46458"
125
+ }), /*#__PURE__*/React.createElement("feBlend", {
126
+ mode: "normal",
127
+ in: "SourceGraphic",
128
+ in2: "effect2_dropShadow_3832_46458",
129
+ result: "shape"
130
+ })), /*#__PURE__*/React.createElement("clipPath", {
131
+ id: "clip0_3832_46458"
132
+ }, /*#__PURE__*/React.createElement("rect", {
133
+ width: "264",
134
+ height: "264",
135
+ fill: "white"
136
+ }))));
137
+ };
138
+
139
+ export default Empty;
@@ -1,7 +1,23 @@
1
- import React from 'react';
2
- interface IEmptyProps {
3
- description?: string;
1
+ import * as React from 'react';
2
+ declare type TEmptySize = 'large' | 'small';
3
+ export interface IEmptyProps {
4
+ prefixCls?: string;
5
+ className?: string;
6
+ style?: React.CSSProperties;
7
+ title?: React.ReactNode;
8
+ imageStyle?: React.CSSProperties;
9
+ size?: TEmptySize;
10
+ image?: React.ReactNode;
11
+ description?: React.ReactNode;
4
12
  children?: React.ReactNode;
5
13
  }
6
- declare const _default: ({ description, children }: IEmptyProps) => JSX.Element;
7
- export default _default;
14
+ interface IEmptyType extends React.FC<IEmptyProps> {
15
+ PRESENTED_IMAGE_DEFAULT: React.ReactNode;
16
+ PRESENTED_IMAGE_DATASPACE: React.ReactNode;
17
+ PRESENTED_IMAGE_SIMPLE: React.ReactNode;
18
+ PRESENTED_IMAGE_WORKSHEET: React.ReactNode;
19
+ PRESENTED_IMAGE_SEARCH: React.ReactNode;
20
+ PRESENTED_IMAGE_AUTHORITY: React.ReactNode;
21
+ }
22
+ declare const Empty: IEmptyType;
23
+ export default Empty;
package/es/Empty/index.js CHANGED
@@ -1,56 +1,86 @@
1
- // @ts-nocheck
2
- import React from 'react';
3
- import usePrefixCls from '../_utils/hooks/usePrefixCls';
4
- export default (function (_ref) {
5
- var description = _ref.description,
6
- children = _ref.children;
7
- var prefixCls = usePrefixCls('empty');
8
- return /*#__PURE__*/React.createElement("div", {
9
- className: prefixCls
10
- }, /*#__PURE__*/React.createElement("div", {
11
- className: "".concat(prefixCls, "-content")
12
- }, /*#__PURE__*/React.createElement("svg", {
13
- width: "75",
14
- height: "79",
15
- viewBox: "0 0 75 79",
16
- fill: "none",
17
- xmlns: "http://www.w3.org/2000/svg"
18
- }, /*#__PURE__*/React.createElement("path", {
19
- d: "M37.4999 78.9999C58.2106 78.9999 74.9999 62.2106 74.9999 41.4999C74.9999\n 20.7893 58.2106 4 37.4999 4C16.7893 4 0 20.7893 0 41.4999C0 62.2106 16.7893 78.9999 37.4999 78.9999Z",
20
- fill: "#EBF3FF"
21
- }), /*#__PURE__*/React.createElement("path", {
22
- d: "M58.9999 25.5H16C14.6193 25.5 13.5 26.5414 13.5 27.8261V76.6738C13.5\n 77.9585 14.6193 78.9999 16 78.9999H58.9999C60.3806 78.9999 61.4999\n 77.9585 61.4999 76.6738V27.8261C61.4999 26.5414 60.3806 25.5 58.9999 25.5Z",
23
- fill: "white"
24
- }), /*#__PURE__*/React.createElement("path", {
25
- d: "M32.5 33H19.5C18.6716 33 18 33.6716 18 34.5C18 35.3284 18.6716 36 19.5\n 36H32.5C33.3284 36 34 35.3284 34 34.5C34 33.6716 33.3284 33 32.5 33Z",
26
- fill: "#D7E7FE"
27
- }), /*#__PURE__*/React.createElement("path", {
28
- d: "M41.5 39.5H19.5C18.6716 39.5 18 40.1716 18 41C18 41.8284 18.6716 42.5\n 19.5 42.5H41.5C42.3284 42.5 43 41.8284 43 41C43 40.1716 42.3284 39.5 41.5 39.5Z",
29
- fill: "#F3F8FF"
30
- }), /*#__PURE__*/React.createElement("path", {
31
- d: "M32.5 46.5H19.5C18.6716 46.5 18 47.1716 18 48C18 48.8284 18.6716 49.5\n 19.5 49.5H32.5C33.3284 49.5 34 48.8284 34 48C34 47.1716 33.3284 46.5 32.5 46.5Z",
32
- fill: "#D7E7FE"
33
- }), /*#__PURE__*/React.createElement("path", {
34
- d: "M41.5 53H19.5C18.6716 53 18 53.6716 18 54.5C18 55.3284 18.6716 56 19.5\n 56H41.5C42.3284 56 43 55.3284 43 54.5C43 53.6716 42.3284 53 41.5 53Z",
35
- fill: "#F3F8FF"
36
- }), /*#__PURE__*/React.createElement("path", {
37
- d: "M32.5 60H19.5C18.6716 60 18 60.6716 18 61.5C18 62.3284 18.6716 63 19.5\n 63H32.5C33.3284 63 34 62.3284 34 61.5C34 60.6716 33.3284 60 32.5 60Z",
38
- fill: "#D7E7FE"
39
- }), /*#__PURE__*/React.createElement("path", {
40
- d: "M41.5 66.5H19.5C18.6716 66.5 18 67.1716 18 68C18 68.8284 18.6716 69.5\n 19.5 69.5H41.5C42.3284 69.5 43 68.8284 43 68C43 67.1716 42.3284 66.5 41.5 66.5Z",
41
- fill: "#F3F8FF"
42
- }), /*#__PURE__*/React.createElement("path", {
43
- d: "M58.9998 0H15.9999C14.6192 0 13.4999 1.11929 13.4999 2.5V17.5C13.4999\n 18.8807 14.6192 20 15.9999 20H58.9998C60.3805 20 61.4998 18.8807 61.4998\n 17.5V2.5C61.4998 1.11929 60.3805 0 58.9998 0Z",
44
- fill: "#A0B5D5"
45
- }), /*#__PURE__*/React.createElement("path", {
46
- d: "M32.5 5.49902H19.5C18.6716 5.49902 18 6.1706 18 6.99902C18 7.82745\n 18.6716 8.49902 19.5 8.49902H32.5C33.3284 8.49902 34 7.82745 34 6.99902C34 6.1706 33.3284 5.49902 32.5 5.49902Z",
47
- fill: "#D7E7FE"
48
- }), /*#__PURE__*/React.createElement("path", {
49
- d: "M41.5 12H19.5C18.6716 12 18 12.6716 18 13.5C18 14.3284 18.6716 15\n 19.5 15H41.5C42.3284 15 43 14.3284 43 13.5C43 12.6716 42.3284 12 41.5 12Z",
50
- fill: "white"
51
- })), description && /*#__PURE__*/React.createElement("div", {
1
+ var _excluded = ["className", "prefixCls", "image", "description", "title", "size", "children", "imageStyle"];
2
+
3
+ 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; }
4
+
5
+ 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; }
6
+
7
+ 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; }
8
+
9
+ import * as React from 'react';
10
+ import classNames from 'classnames';
11
+ import DefaultEmptyImg from './image/empty';
12
+ import AuthorityEmptyImg from './image/Authority';
13
+ import DataSpaceEmptyImg from './image/Dataspace';
14
+ import SearchEmptyImg from './image/Search';
15
+ import SimpleEmptyImg from './image/Simple';
16
+ import WorksheetEmptyImg from './image/Worksheet';
17
+ var defaultEmptyImg = /*#__PURE__*/React.createElement(DefaultEmptyImg, null);
18
+ var dataSpaceEmptyImg = /*#__PURE__*/React.createElement(DataSpaceEmptyImg, null);
19
+ var searchEmptyImg = /*#__PURE__*/React.createElement(SearchEmptyImg, null);
20
+ var simpleEmptyImg = /*#__PURE__*/React.createElement(SimpleEmptyImg, null);
21
+ var worksheetEmptyImg = /*#__PURE__*/React.createElement(WorksheetEmptyImg, null);
22
+ var authorityEmptyImg = /*#__PURE__*/React.createElement(AuthorityEmptyImg, null);
23
+
24
+ var Empty = function Empty(props) {
25
+ var className = props.className,
26
+ customizePrefixCls = props.prefixCls,
27
+ _props$image = props.image,
28
+ image = _props$image === void 0 ? defaultEmptyImg : _props$image,
29
+ description = props.description,
30
+ title = props.title,
31
+ size = props.size,
32
+ children = props.children,
33
+ imageStyle = props.imageStyle,
34
+ restProps = _objectWithoutProperties(props, _excluded);
35
+
36
+ var prefixCls = 'ald-empty';
37
+ var des = typeof description !== 'undefined' ? description : null;
38
+ var alt = typeof des === 'string' ? des : 'empty';
39
+ var imageNode = null;
40
+
41
+ if (typeof image === 'string') {
42
+ imageNode = /*#__PURE__*/React.createElement("img", {
43
+ alt: alt,
44
+ src: image
45
+ });
46
+ } else {
47
+ imageNode = image;
48
+ }
49
+
50
+ var getSize = function getSize(ESize) {
51
+ if (ESize === undefined) {
52
+ if (image === simpleEmptyImg) {
53
+ return 'small';
54
+ }
55
+
56
+ return 'large';
57
+ }
58
+
59
+ if (['small', 'large'].includes(ESize)) {
60
+ return ESize;
61
+ }
62
+
63
+ return 'large';
64
+ };
65
+
66
+ return /*#__PURE__*/React.createElement("div", Object.assign({
67
+ className: classNames(prefixCls, _defineProperty({}, "".concat(prefixCls, "-").concat(getSize(size)), getSize(size)), className)
68
+ }, restProps), /*#__PURE__*/React.createElement("div", {
69
+ className: "".concat(prefixCls, "-image"),
70
+ style: imageStyle
71
+ }, imageNode), title && /*#__PURE__*/React.createElement("div", {
72
+ className: "".concat(prefixCls, "-title")
73
+ }, title), des && /*#__PURE__*/React.createElement("div", {
52
74
  className: "".concat(prefixCls, "-description")
53
- }, description), children && /*#__PURE__*/React.createElement("div", {
75
+ }, des), children && /*#__PURE__*/React.createElement("div", {
54
76
  className: "".concat(prefixCls, "-footer")
55
- }, children)));
56
- });
77
+ }, children));
78
+ };
79
+
80
+ Empty.PRESENTED_IMAGE_DEFAULT = defaultEmptyImg;
81
+ Empty.PRESENTED_IMAGE_DATASPACE = dataSpaceEmptyImg;
82
+ Empty.PRESENTED_IMAGE_SIMPLE = simpleEmptyImg;
83
+ Empty.PRESENTED_IMAGE_WORKSHEET = worksheetEmptyImg;
84
+ Empty.PRESENTED_IMAGE_SEARCH = searchEmptyImg;
85
+ Empty.PRESENTED_IMAGE_AUTHORITY = authorityEmptyImg;
86
+ export default Empty;
@@ -3,22 +3,67 @@
3
3
  @ald-prefix: ant;
4
4
  @ald-iconfont-css-prefix: anticon;
5
5
 
6
- .ant-empty {
6
+ .ald-empty {
7
7
  display: flex;
8
+ flex-direction: column;
8
9
  align-items: center;
9
10
  justify-content: center;
10
- height: 100%;
11
- padding: 46px 0;
12
11
 
13
- &-content {
14
- text-align: center;
12
+ &.ald-empty-large {
13
+ .ald-empty-image {
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: center;
17
+
18
+ .ald-empty-img {
19
+ display: block;
20
+ width: 264px;
21
+ max-width: fit-content;
22
+ height: auto;
23
+ }
24
+ }
25
+
26
+ .ald-empty-title {
27
+ margin-top: 12px;
28
+ color: @NL0;
29
+ font-size: 16px;
30
+ line-height: 24px;
31
+ }
32
+
33
+ .ald-empty-description {
34
+ margin-top: 16px;
35
+ color: @NL30;
36
+ font-size: 14px;
37
+ line-height: 20px;
38
+ }
15
39
  }
16
40
 
17
- &-description {
18
- color: @NL0;
19
- font-weight: 500;
20
- font-size: 12px;
21
- line-height: 16px;
22
- text-align: center;
41
+ &.ald-empty-small {
42
+ .ald-empty-image {
43
+ display: flex;
44
+ align-items: center;
45
+ justify-content: center;
46
+
47
+ .ald-empty-img {
48
+ display: block;
49
+ width: 48px;
50
+ max-width: fit-content;
51
+ height: auto;
52
+ }
53
+ }
54
+
55
+ .ald-empty-title {
56
+ margin-top: 12px;
57
+ color: @NL50;
58
+ font-size: 14px;
59
+ line-height: 20px;
60
+ }
61
+
62
+ .ald-empty-description {
63
+ margin-top: 16px;
64
+ color: @NL50;
65
+ font-size: 14px;
66
+ line-height: 20px;
67
+ }
23
68
  }
24
69
  }