@aloudata/aloudata-design 0.2.7 → 0.3.0-beta.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 (391) hide show
  1. package/es/Avatar/index.d.ts +15 -0
  2. package/es/Avatar/index.js +33 -0
  3. package/es/Avatar/style/index.d.ts +2 -0
  4. package/es/Avatar/style/index.js +2 -0
  5. package/es/Avatar/style/index.less +34 -0
  6. package/es/Breadcrumb/index.d.ts +8 -0
  7. package/es/Breadcrumb/index.js +36 -0
  8. package/es/Breadcrumb/style/index.d.ts +2 -0
  9. package/es/Breadcrumb/style/index.js +2 -0
  10. package/es/Breadcrumb/style/index.less +28 -0
  11. package/es/Button/index.d.ts +4 -4
  12. package/es/Button/index.js +28 -23
  13. package/es/Button/style/index.less +163 -130
  14. package/es/Button/style/variables.less +60 -0
  15. package/es/Checkbox/style/index.less +16 -1
  16. package/es/ConfigProvider/index.d.ts +1 -0
  17. package/es/ConfigProvider/index.js +1 -0
  18. package/es/Dropdown/Button.js +1 -1
  19. package/es/Dropdown/style/index.less +41 -8
  20. package/es/Empty/image/Authority.d.ts +3 -0
  21. package/es/Empty/image/Authority.js +360 -0
  22. package/es/Empty/image/Dataspace.d.ts +3 -0
  23. package/es/Empty/image/Dataspace.js +271 -0
  24. package/es/Empty/image/Search.d.ts +3 -0
  25. package/es/Empty/image/Search.js +156 -0
  26. package/es/Empty/image/Simple.d.ts +3 -0
  27. package/es/Empty/image/Simple.js +20 -0
  28. package/es/Empty/image/Worksheet.d.ts +3 -0
  29. package/es/Empty/image/Worksheet.js +270 -0
  30. package/es/Empty/image/empty.d.ts +3 -0
  31. package/es/Empty/image/empty.js +139 -0
  32. package/es/Empty/index.d.ts +21 -5
  33. package/es/Empty/index.js +84 -54
  34. package/es/Empty/style/index.less +56 -11
  35. package/es/Icon/index.d.ts +2 -2
  36. package/es/Icon/index.js +10 -2
  37. package/es/Input/components/Group/index.d.ts +4 -2
  38. package/es/Input/components/Group/index.js +23 -1
  39. package/es/Input/components/Input/index.d.ts +1 -1
  40. package/es/Input/components/Input/index.js +12 -0
  41. package/es/Input/components/Password/index.d.ts +7 -1
  42. package/es/Input/components/Password/index.js +25 -3
  43. package/es/Input/style/index.less +278 -43
  44. package/es/InputNumber/index.d.ts +4 -0
  45. package/es/InputNumber/index.js +32 -0
  46. package/es/InputNumber/style/index.d.ts +2 -0
  47. package/es/InputNumber/style/index.js +2 -0
  48. package/es/InputNumber/style/index.less +152 -0
  49. package/es/Menu/Divider.d.ts +2 -1
  50. package/es/Menu/MenuItem.d.ts +2 -1
  51. package/es/Menu/SubMenu.d.ts +2 -1
  52. package/es/Menu/SubMenu.js +1 -1
  53. package/es/Menu/index.d.ts +2 -1
  54. package/es/Menu/style/index.less +1 -2
  55. package/es/Modal/index.d.ts +21 -0
  56. package/es/Modal/index.js +93 -0
  57. package/es/Modal/style/index.d.ts +2 -0
  58. package/es/Modal/style/index.js +2 -0
  59. package/es/Modal/style/index.less +206 -0
  60. package/es/Navigator/components/Header/index.d.ts +9 -0
  61. package/es/Navigator/components/Header/index.js +18 -0
  62. package/es/Navigator/components/Menu/index.d.ts +7 -13
  63. package/es/Navigator/components/Menu/index.js +26 -119
  64. package/es/Navigator/components/MenuItem/index.d.ts +21 -0
  65. package/es/Navigator/components/MenuItem/index.js +39 -0
  66. package/es/Navigator/index.d.ts +19 -8
  67. package/es/Navigator/index.js +6 -15
  68. package/es/Navigator/style/bg.png +0 -0
  69. package/es/Navigator/style/index.less +58 -166
  70. package/es/Popover/index.d.ts +5 -0
  71. package/es/Popover/index.js +22 -0
  72. package/es/Popover/style/index.d.ts +2 -0
  73. package/es/Popover/style/index.js +2 -0
  74. package/es/Popover/style/index.less +37 -0
  75. package/es/Radio/index.d.ts +2 -3
  76. package/es/Select/index.d.ts +36 -9
  77. package/es/Select/index.js +154 -7
  78. package/es/Select/rc-select/BaseSelect.d.ts +116 -0
  79. package/es/Select/rc-select/BaseSelect.js +641 -0
  80. package/es/Select/rc-select/OptGroup.d.ts +12 -0
  81. package/es/Select/{OptionsList → rc-select}/OptGroup.js +1 -0
  82. package/es/Select/rc-select/Option.d.ts +14 -0
  83. package/es/Select/{OptionsList/Options.js → rc-select/Option.js} +1 -0
  84. package/es/Select/rc-select/OptionList.d.ts +10 -0
  85. package/es/Select/rc-select/OptionList.js +401 -0
  86. package/es/Select/rc-select/Select.d.ts +109 -0
  87. package/es/Select/rc-select/Select.js +547 -0
  88. package/es/Select/rc-select/SelectContext.d.ts +20 -0
  89. package/es/Select/rc-select/SelectContext.js +4 -0
  90. package/es/Select/rc-select/SelectTrigger.d.ts +30 -0
  91. package/es/Select/rc-select/SelectTrigger.js +136 -0
  92. package/es/Select/rc-select/Selector/Input.d.ts +26 -0
  93. package/es/Select/rc-select/Selector/Input.js +114 -0
  94. package/es/Select/rc-select/Selector/MultipleSelector.d.ts +16 -0
  95. package/es/Select/rc-select/Selector/MultipleSelector.js +236 -0
  96. package/es/Select/rc-select/Selector/SingleSelector.d.ts +8 -0
  97. package/es/Select/rc-select/Selector/SingleSelector.js +112 -0
  98. package/es/Select/rc-select/Selector/index.d.ts +80 -0
  99. package/es/Select/rc-select/Selector/index.js +194 -0
  100. package/es/Select/rc-select/TransBtn.d.ts +12 -0
  101. package/es/Select/rc-select/TransBtn.js +42 -0
  102. package/es/Select/rc-select/hooks/useBaseProps.d.ts +13 -0
  103. package/es/Select/rc-select/hooks/useBaseProps.js +11 -0
  104. package/es/Select/rc-select/hooks/useCache.d.ts +7 -0
  105. package/es/Select/rc-select/hooks/useCache.js +49 -0
  106. package/es/Select/rc-select/hooks/useDelayReset.d.ts +5 -0
  107. package/es/Select/rc-select/hooks/useDelayReset.js +50 -0
  108. package/es/Select/rc-select/hooks/useFilterOptions.d.ts +3 -0
  109. package/es/Select/rc-select/hooks/useFilterOptions.js +75 -0
  110. package/es/Select/rc-select/hooks/useId.d.ts +5 -0
  111. package/es/Select/rc-select/hooks/useId.js +47 -0
  112. package/es/Select/rc-select/hooks/useLayoutEffect.d.ts +5 -0
  113. package/es/Select/rc-select/hooks/useLayoutEffect.js +17 -0
  114. package/es/Select/rc-select/hooks/useLock.d.ts +7 -0
  115. package/es/Select/rc-select/hooks/useLock.js +35 -0
  116. package/es/Select/rc-select/hooks/useOptions.d.ts +11 -0
  117. package/es/Select/rc-select/hooks/useOptions.js +53 -0
  118. package/es/Select/rc-select/hooks/useRefFunc.d.ts +5 -0
  119. package/es/Select/rc-select/hooks/useRefFunc.js +15 -0
  120. package/es/Select/rc-select/hooks/useSelectTriggerControl.d.ts +1 -0
  121. package/es/Select/rc-select/hooks/useSelectTriggerControl.js +40 -0
  122. package/es/Select/rc-select/index.d.ts +10 -0
  123. package/es/Select/rc-select/index.js +7 -0
  124. package/es/Select/rc-select/interface.d.ts +10 -0
  125. package/es/Select/{interface.js → rc-select/interface.js} +0 -0
  126. package/es/Select/rc-select/utils/commonUtil.d.ts +4 -0
  127. package/es/Select/rc-select/utils/commonUtil.js +12 -0
  128. package/es/Select/rc-select/utils/keyUtil.d.ts +2 -0
  129. package/es/Select/rc-select/utils/keyUtil.js +8 -0
  130. package/es/Select/rc-select/utils/legacyUtil.d.ts +3 -0
  131. package/es/Select/rc-select/utils/legacyUtil.js +58 -0
  132. package/es/Select/rc-select/utils/platformUtil.d.ts +1 -0
  133. package/es/Select/rc-select/utils/platformUtil.js +4 -0
  134. package/es/Select/rc-select/utils/valueUtil.d.ts +22 -0
  135. package/es/Select/rc-select/utils/valueUtil.js +157 -0
  136. package/es/Select/rc-select/utils/warningPropsUtil.d.ts +3 -0
  137. package/es/Select/rc-select/utils/warningPropsUtil.js +114 -0
  138. package/es/Select/style/index.d.ts +2 -0
  139. package/es/Select/style/index.js +4 -1
  140. package/es/Select/style/index.less +173 -494
  141. package/es/Select/style/multiple.less +222 -0
  142. package/es/Select/style/rtl.less +168 -0
  143. package/es/Select/style/select.less +337 -0
  144. package/es/Select/style/single.less +179 -0
  145. package/es/Select/style/status.less +48 -0
  146. package/es/Select/style/variables.less +56 -0
  147. package/es/Select/style/variables.less.d.ts +97 -0
  148. package/es/Select/utils/iconUtil.d.ts +24 -0
  149. package/es/Select/utils/iconUtil.js +87 -0
  150. package/es/Space/index.d.ts +1 -1
  151. package/es/Space/index.js +0 -1
  152. package/es/Table/Table.d.ts +6 -0
  153. package/es/Table/Table.js +464 -0
  154. package/es/Table/components/Empty/empty-img.png +0 -0
  155. package/es/Table/components/Empty/index.d.ts +4 -0
  156. package/es/Table/components/Empty/index.js +16 -0
  157. package/es/Table/components/Empty/index.less +24 -0
  158. package/es/Table/index.d.ts +2 -4
  159. package/es/Table/index.js +2 -463
  160. package/es/Table/interface.d.ts +11 -15
  161. package/es/Table/style/index.less +44 -21
  162. package/es/Tabs/style/index.less +39 -7
  163. package/es/Tooltip/style/index.less +2 -1
  164. package/es/index.d.ts +14 -2
  165. package/es/index.js +7 -1
  166. package/es/style/index.less +2 -1
  167. package/es/style/mixins/index.less +8 -0
  168. package/es/style/themes/default/index.less +10 -10
  169. package/es/style/themes/default/themeColor.module.less +58 -94
  170. package/es/style/themes/default/themeColor.module.less.d.ts +1 -17
  171. package/lib/Avatar/index.d.ts +15 -0
  172. package/lib/Avatar/index.js +57 -0
  173. package/lib/Avatar/style/index.d.ts +2 -0
  174. package/lib/Avatar/style/index.js +5 -0
  175. package/lib/Avatar/style/index.less +34 -0
  176. package/lib/Breadcrumb/index.d.ts +8 -0
  177. package/lib/Breadcrumb/index.js +50 -0
  178. package/lib/Breadcrumb/style/index.d.ts +2 -0
  179. package/lib/Breadcrumb/style/index.js +5 -0
  180. package/lib/Breadcrumb/style/index.less +28 -0
  181. package/lib/Button/index.d.ts +4 -4
  182. package/lib/Button/index.js +28 -24
  183. package/lib/Button/style/index.less +163 -130
  184. package/lib/Button/style/variables.less +60 -0
  185. package/lib/Checkbox/style/index.less +16 -1
  186. package/lib/ConfigProvider/index.d.ts +1 -0
  187. package/lib/ConfigProvider/index.js +26 -0
  188. package/lib/Dropdown/Button.js +1 -1
  189. package/lib/Dropdown/style/index.less +41 -8
  190. package/lib/Empty/image/Authority.d.ts +3 -0
  191. package/lib/Empty/image/Authority.js +374 -0
  192. package/lib/Empty/image/Dataspace.d.ts +3 -0
  193. package/lib/Empty/image/Dataspace.js +285 -0
  194. package/lib/Empty/image/Search.d.ts +3 -0
  195. package/lib/Empty/image/Search.js +170 -0
  196. package/lib/Empty/image/Simple.d.ts +3 -0
  197. package/lib/Empty/image/Simple.js +34 -0
  198. package/lib/Empty/image/Worksheet.d.ts +3 -0
  199. package/lib/Empty/image/Worksheet.js +284 -0
  200. package/lib/Empty/image/empty.d.ts +3 -0
  201. package/lib/Empty/image/empty.js +153 -0
  202. package/lib/Empty/index.d.ts +21 -5
  203. package/lib/Empty/index.js +94 -53
  204. package/lib/Empty/style/index.less +56 -11
  205. package/lib/Icon/index.d.ts +2 -2
  206. package/lib/Icon/index.js +10 -2
  207. package/lib/Input/components/Group/index.d.ts +4 -2
  208. package/lib/Input/components/Group/index.js +24 -1
  209. package/lib/Input/components/Input/index.d.ts +1 -1
  210. package/lib/Input/components/Input/index.js +13 -0
  211. package/lib/Input/components/Password/index.d.ts +7 -1
  212. package/lib/Input/components/Password/index.js +25 -2
  213. package/lib/Input/style/index.less +278 -43
  214. package/lib/InputNumber/index.d.ts +4 -0
  215. package/lib/InputNumber/index.js +45 -0
  216. package/lib/InputNumber/style/index.d.ts +2 -0
  217. package/lib/InputNumber/style/index.js +5 -0
  218. package/lib/InputNumber/style/index.less +152 -0
  219. package/lib/Menu/Divider.d.ts +2 -1
  220. package/lib/Menu/MenuItem.d.ts +2 -1
  221. package/lib/Menu/SubMenu.d.ts +2 -1
  222. package/lib/Menu/SubMenu.js +1 -1
  223. package/lib/Menu/index.d.ts +2 -1
  224. package/lib/Menu/style/index.less +1 -2
  225. package/lib/Modal/index.d.ts +21 -0
  226. package/lib/Modal/index.js +119 -0
  227. package/lib/Modal/style/index.d.ts +2 -0
  228. package/lib/Modal/style/index.js +5 -0
  229. package/lib/Modal/style/index.less +206 -0
  230. package/lib/Navigator/components/Header/index.d.ts +9 -0
  231. package/lib/Navigator/components/Header/index.js +28 -0
  232. package/lib/Navigator/components/Menu/index.d.ts +7 -13
  233. package/lib/Navigator/components/Menu/index.js +25 -118
  234. package/lib/Navigator/components/MenuItem/index.d.ts +21 -0
  235. package/lib/Navigator/components/MenuItem/index.js +56 -0
  236. package/lib/Navigator/index.d.ts +19 -8
  237. package/lib/Navigator/index.js +7 -15
  238. package/lib/Navigator/style/bg.png +0 -0
  239. package/lib/Navigator/style/index.less +58 -166
  240. package/lib/Popover/index.d.ts +5 -0
  241. package/lib/Popover/index.js +35 -0
  242. package/lib/Popover/style/index.d.ts +2 -0
  243. package/lib/Popover/style/index.js +5 -0
  244. package/lib/Popover/style/index.less +37 -0
  245. package/lib/Radio/index.d.ts +2 -3
  246. package/lib/Select/index.d.ts +36 -9
  247. package/lib/Select/index.js +166 -18
  248. package/lib/Select/rc-select/BaseSelect.d.ts +116 -0
  249. package/lib/Select/rc-select/BaseSelect.js +672 -0
  250. package/lib/Select/rc-select/OptGroup.d.ts +12 -0
  251. package/lib/Select/{OptionsList → rc-select}/OptGroup.js +1 -0
  252. package/lib/Select/rc-select/Option.d.ts +14 -0
  253. package/lib/Select/{OptionsList/Options.js → rc-select/Option.js} +1 -0
  254. package/lib/Select/rc-select/OptionList.d.ts +10 -0
  255. package/lib/Select/rc-select/OptionList.js +427 -0
  256. package/lib/Select/rc-select/Select.d.ts +109 -0
  257. package/lib/Select/rc-select/Select.js +545 -0
  258. package/lib/Select/rc-select/SelectContext.d.ts +20 -0
  259. package/lib/Select/rc-select/SelectContext.js +19 -0
  260. package/lib/Select/rc-select/SelectTrigger.d.ts +30 -0
  261. package/lib/Select/rc-select/SelectTrigger.js +153 -0
  262. package/lib/Select/rc-select/Selector/Input.d.ts +26 -0
  263. package/lib/Select/rc-select/Selector/Input.js +132 -0
  264. package/lib/Select/rc-select/Selector/MultipleSelector.d.ts +16 -0
  265. package/lib/Select/rc-select/Selector/MultipleSelector.js +257 -0
  266. package/lib/Select/rc-select/Selector/SingleSelector.d.ts +8 -0
  267. package/lib/Select/rc-select/Selector/SingleSelector.js +129 -0
  268. package/lib/Select/rc-select/Selector/index.d.ts +80 -0
  269. package/lib/Select/rc-select/Selector/index.js +203 -0
  270. package/lib/Select/rc-select/TransBtn.d.ts +12 -0
  271. package/lib/Select/rc-select/TransBtn.js +59 -0
  272. package/lib/Select/rc-select/hooks/useBaseProps.d.ts +13 -0
  273. package/lib/Select/rc-select/hooks/useBaseProps.js +28 -0
  274. package/lib/Select/rc-select/hooks/useCache.d.ts +7 -0
  275. package/lib/Select/rc-select/hooks/useCache.js +63 -0
  276. package/lib/Select/rc-select/hooks/useDelayReset.d.ts +5 -0
  277. package/lib/Select/rc-select/hooks/useDelayReset.js +62 -0
  278. package/lib/Select/rc-select/hooks/useFilterOptions.d.ts +3 -0
  279. package/lib/Select/rc-select/hooks/useFilterOptions.js +91 -0
  280. package/lib/Select/rc-select/hooks/useId.d.ts +5 -0
  281. package/lib/Select/rc-select/hooks/useId.js +68 -0
  282. package/lib/Select/rc-select/hooks/useLayoutEffect.d.ts +5 -0
  283. package/lib/Select/rc-select/hooks/useLayoutEffect.js +32 -0
  284. package/lib/Select/rc-select/hooks/useLock.d.ts +7 -0
  285. package/lib/Select/rc-select/hooks/useLock.js +49 -0
  286. package/lib/Select/rc-select/hooks/useOptions.d.ts +11 -0
  287. package/lib/Select/rc-select/hooks/useOptions.js +68 -0
  288. package/lib/Select/rc-select/hooks/useRefFunc.d.ts +5 -0
  289. package/lib/Select/rc-select/hooks/useRefFunc.js +29 -0
  290. package/lib/Select/rc-select/hooks/useSelectTriggerControl.d.ts +1 -0
  291. package/lib/Select/rc-select/hooks/useSelectTriggerControl.js +54 -0
  292. package/lib/Select/rc-select/index.d.ts +10 -0
  293. package/lib/Select/rc-select/index.js +45 -0
  294. package/lib/Select/rc-select/interface.d.ts +10 -0
  295. package/lib/Select/{interface.js → rc-select/interface.js} +0 -0
  296. package/lib/Select/rc-select/utils/commonUtil.d.ts +4 -0
  297. package/lib/Select/rc-select/utils/commonUtil.js +23 -0
  298. package/lib/Select/rc-select/utils/keyUtil.d.ts +2 -0
  299. package/lib/Select/rc-select/utils/keyUtil.js +17 -0
  300. package/lib/Select/rc-select/utils/legacyUtil.d.ts +3 -0
  301. package/lib/Select/rc-select/utils/legacyUtil.js +73 -0
  302. package/lib/Select/rc-select/utils/platformUtil.d.ts +1 -0
  303. package/lib/Select/rc-select/utils/platformUtil.js +11 -0
  304. package/lib/Select/rc-select/utils/valueUtil.d.ts +22 -0
  305. package/lib/Select/rc-select/utils/valueUtil.js +172 -0
  306. package/lib/Select/rc-select/utils/warningPropsUtil.d.ts +3 -0
  307. package/lib/Select/rc-select/utils/warningPropsUtil.js +132 -0
  308. package/lib/Select/style/index.d.ts +2 -0
  309. package/lib/Select/style/index.js +4 -0
  310. package/lib/Select/style/index.less +173 -494
  311. package/lib/Select/style/multiple.less +222 -0
  312. package/lib/Select/style/rtl.less +168 -0
  313. package/lib/Select/style/select.less +337 -0
  314. package/lib/Select/style/single.less +179 -0
  315. package/lib/Select/style/status.less +48 -0
  316. package/lib/Select/style/variables.less +56 -0
  317. package/lib/Select/style/variables.less.d.ts +97 -0
  318. package/lib/Select/utils/iconUtil.d.ts +24 -0
  319. package/lib/Select/utils/iconUtil.js +109 -0
  320. package/lib/Space/index.d.ts +1 -1
  321. package/lib/Space/index.js +0 -6
  322. package/lib/Table/Table.d.ts +6 -0
  323. package/lib/Table/Table.js +491 -0
  324. package/lib/Table/components/Empty/empty-img.png +0 -0
  325. package/lib/Table/components/Empty/index.d.ts +4 -0
  326. package/lib/Table/components/Empty/index.js +30 -0
  327. package/lib/Table/components/Empty/index.less +24 -0
  328. package/lib/Table/index.d.ts +2 -4
  329. package/lib/Table/index.js +2 -478
  330. package/lib/Table/interface.d.ts +11 -15
  331. package/lib/Table/style/index.less +44 -21
  332. package/lib/Tabs/style/index.less +39 -7
  333. package/lib/Tooltip/style/index.less +2 -1
  334. package/lib/index.d.ts +14 -2
  335. package/lib/index.js +48 -0
  336. package/lib/style/index.less +2 -1
  337. package/lib/style/mixins/index.less +8 -0
  338. package/lib/style/themes/default/index.less +10 -10
  339. package/lib/style/themes/default/themeColor.module.less +58 -94
  340. package/lib/style/themes/default/themeColor.module.less.d.ts +1 -17
  341. package/package.json +3 -2
  342. package/es/Select/BaseSelect.d.ts +0 -5
  343. package/es/Select/BaseSelect.js +0 -413
  344. package/es/Select/OptionsList/OptGroup.d.ts +0 -7
  345. package/es/Select/OptionsList/OptionItem/RenderGroup.d.ts +0 -9
  346. package/es/Select/OptionsList/OptionItem/RenderGroup.js +0 -16
  347. package/es/Select/OptionsList/OptionItem/RenderLabelIcon.d.ts +0 -10
  348. package/es/Select/OptionsList/OptionItem/RenderLabelIcon.js +0 -45
  349. package/es/Select/OptionsList/OptionItem/RenderOption.d.ts +0 -16
  350. package/es/Select/OptionsList/OptionItem/RenderOption.js +0 -79
  351. package/es/Select/OptionsList/OptionItem/RenderTooltip.d.ts +0 -8
  352. package/es/Select/OptionsList/OptionItem/RenderTooltip.js +0 -25
  353. package/es/Select/OptionsList/OptionItem.d.ts +0 -4
  354. package/es/Select/OptionsList/OptionItem.js +0 -4
  355. package/es/Select/OptionsList/Options.d.ts +0 -7
  356. package/es/Select/OptionsList/index.d.ts +0 -4
  357. package/es/Select/OptionsList/index.js +0 -176
  358. package/es/Select/Selector/index.d.ts +0 -4
  359. package/es/Select/Selector/index.js +0 -252
  360. package/es/Select/VirtualList.d.ts +0 -5
  361. package/es/Select/VirtualList.js +0 -29
  362. package/es/Select/hooks/useCacheOption.d.ts +0 -9
  363. package/es/Select/hooks/useCacheOption.js +0 -107
  364. package/es/Select/interface.d.ts +0 -235
  365. package/es/Select/utils.d.ts +0 -21
  366. package/es/Select/utils.js +0 -193
  367. package/lib/Select/BaseSelect.d.ts +0 -5
  368. package/lib/Select/BaseSelect.js +0 -446
  369. package/lib/Select/OptionsList/OptGroup.d.ts +0 -7
  370. package/lib/Select/OptionsList/OptionItem/RenderGroup.d.ts +0 -9
  371. package/lib/Select/OptionsList/OptionItem/RenderGroup.js +0 -27
  372. package/lib/Select/OptionsList/OptionItem/RenderLabelIcon.d.ts +0 -10
  373. package/lib/Select/OptionsList/OptionItem/RenderLabelIcon.js +0 -60
  374. package/lib/Select/OptionsList/OptionItem/RenderOption.d.ts +0 -16
  375. package/lib/Select/OptionsList/OptionItem/RenderOption.js +0 -94
  376. package/lib/Select/OptionsList/OptionItem/RenderTooltip.d.ts +0 -8
  377. package/lib/Select/OptionsList/OptionItem/RenderTooltip.js +0 -37
  378. package/lib/Select/OptionsList/OptionItem.d.ts +0 -4
  379. package/lib/Select/OptionsList/OptionItem.js +0 -39
  380. package/lib/Select/OptionsList/Options.d.ts +0 -7
  381. package/lib/Select/OptionsList/index.d.ts +0 -4
  382. package/lib/Select/OptionsList/index.js +0 -195
  383. package/lib/Select/Selector/index.d.ts +0 -4
  384. package/lib/Select/Selector/index.js +0 -276
  385. package/lib/Select/VirtualList.d.ts +0 -5
  386. package/lib/Select/VirtualList.js +0 -42
  387. package/lib/Select/hooks/useCacheOption.d.ts +0 -9
  388. package/lib/Select/hooks/useCacheOption.js +0 -113
  389. package/lib/Select/interface.d.ts +0 -235
  390. package/lib/Select/utils.d.ts +0 -21
  391. package/lib/Select/utils.js +0 -233
@@ -0,0 +1,284 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var React = _interopRequireWildcard(require("react"));
11
+
12
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
+
14
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
+
16
+ var Empty = function Empty() {
17
+ return /*#__PURE__*/React.createElement("svg", {
18
+ className: " ald-empty-img",
19
+ width: "264",
20
+ height: "264",
21
+ viewBox: "0 0 264 264",
22
+ fill: "none",
23
+ xmlns: "http://www.w3.org/2000/svg"
24
+ }, /*#__PURE__*/React.createElement("g", {
25
+ clipPath: "url(#clip0_3756_45749)"
26
+ }, /*#__PURE__*/React.createElement("circle", {
27
+ cx: "132",
28
+ cy: "133",
29
+ r: "98",
30
+ fill: "#D4E4FF"
31
+ }), /*#__PURE__*/React.createElement("circle", {
32
+ cx: "12",
33
+ cy: "182",
34
+ r: "10",
35
+ fill: "#D4E4FF"
36
+ }), /*#__PURE__*/React.createElement("circle", {
37
+ cx: "246",
38
+ cy: "90",
39
+ r: "10",
40
+ fill: "#D4E4FF"
41
+ }), /*#__PURE__*/React.createElement("circle", {
42
+ cx: "257",
43
+ cy: "69",
44
+ r: "5",
45
+ fill: "#D4E4FF"
46
+ }), /*#__PURE__*/React.createElement("circle", {
47
+ cx: "29",
48
+ cy: "77",
49
+ r: "5",
50
+ fill: "#D4E4FF"
51
+ }), /*#__PURE__*/React.createElement("g", {
52
+ filter: "url(#filter0_dd_3756_45749)"
53
+ }, /*#__PURE__*/React.createElement("g", {
54
+ clipPath: "url(#clip1_3756_45749)"
55
+ }, /*#__PURE__*/React.createElement("path", {
56
+ d: "M60 48H172L204 80V228H60V48Z",
57
+ fill: "white"
58
+ }), /*#__PURE__*/React.createElement("rect", {
59
+ x: "76",
60
+ y: "88",
61
+ width: "72",
62
+ height: "8",
63
+ rx: "4",
64
+ fill: "#D4E4FF"
65
+ }), /*#__PURE__*/React.createElement("rect", {
66
+ x: "76",
67
+ y: "108",
68
+ width: "24",
69
+ height: "8",
70
+ rx: "4",
71
+ fill: "#D4E4FF"
72
+ }), /*#__PURE__*/React.createElement("rect", {
73
+ x: "108",
74
+ y: "108",
75
+ width: "48",
76
+ height: "8",
77
+ rx: "4",
78
+ fill: "#EFF5FF"
79
+ }), /*#__PURE__*/React.createElement("rect", {
80
+ x: "164",
81
+ y: "108",
82
+ width: "24",
83
+ height: "8",
84
+ rx: "4",
85
+ fill: "#EFF5FF"
86
+ }), /*#__PURE__*/React.createElement("rect", {
87
+ x: "76",
88
+ y: "128",
89
+ width: "16",
90
+ height: "8",
91
+ rx: "4",
92
+ fill: "#EFF5FF"
93
+ }), /*#__PURE__*/React.createElement("rect", {
94
+ x: "100",
95
+ y: "128",
96
+ width: "24",
97
+ height: "8",
98
+ rx: "4",
99
+ fill: "#EFF5FF"
100
+ }), /*#__PURE__*/React.createElement("rect", {
101
+ x: "132",
102
+ y: "128",
103
+ width: "48",
104
+ height: "8",
105
+ rx: "4",
106
+ fill: "#EFF5FF"
107
+ }), /*#__PURE__*/React.createElement("rect", {
108
+ x: "76",
109
+ y: "148",
110
+ width: "56",
111
+ height: "8",
112
+ rx: "4",
113
+ fill: "#EFF5FF"
114
+ }), /*#__PURE__*/React.createElement("rect", {
115
+ x: "140",
116
+ y: "148",
117
+ width: "16",
118
+ height: "8",
119
+ rx: "4",
120
+ fill: "#EFF5FF"
121
+ }), /*#__PURE__*/React.createElement("rect", {
122
+ x: "76",
123
+ y: "168",
124
+ width: "24",
125
+ height: "8",
126
+ rx: "4",
127
+ fill: "#D4E4FF"
128
+ }), /*#__PURE__*/React.createElement("rect", {
129
+ x: "108",
130
+ y: "168",
131
+ width: "24",
132
+ height: "8",
133
+ rx: "4",
134
+ fill: "#EFF5FF"
135
+ }), /*#__PURE__*/React.createElement("rect", {
136
+ x: "140",
137
+ y: "168",
138
+ width: "24",
139
+ height: "8",
140
+ rx: "4",
141
+ fill: "#EFF5FF"
142
+ }), /*#__PURE__*/React.createElement("path", {
143
+ d: "M172 48L204 80H180C175.582 80 172 76.4183 172 72V48Z",
144
+ fill: "#EFF5FF"
145
+ }))), /*#__PURE__*/React.createElement("g", {
146
+ filter: "url(#filter1_dd_3756_45749)"
147
+ }, /*#__PURE__*/React.createElement("circle", {
148
+ cx: "132",
149
+ cy: "220",
150
+ r: "20",
151
+ fill: "url(#paint0_linear_3756_45749)"
152
+ }), /*#__PURE__*/React.createElement("path", {
153
+ fillRule: "evenodd",
154
+ clipRule: "evenodd",
155
+ 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",
156
+ fill: "white"
157
+ }))), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("filter", {
158
+ id: "filter0_dd_3756_45749",
159
+ x: "20",
160
+ y: "16",
161
+ width: "224",
162
+ height: "254",
163
+ filterUnits: "userSpaceOnUse",
164
+ colorInterpolationFilters: "sRGB"
165
+ }, /*#__PURE__*/React.createElement("feFlood", {
166
+ floodOpacity: "0",
167
+ result: "BackgroundImageFix"
168
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
169
+ in: "SourceAlpha",
170
+ type: "matrix",
171
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
172
+ result: "hardAlpha"
173
+ }), /*#__PURE__*/React.createElement("feOffset", {
174
+ dy: "8"
175
+ }), /*#__PURE__*/React.createElement("feGaussianBlur", {
176
+ stdDeviation: "20"
177
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
178
+ type: "matrix",
179
+ 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"
180
+ }), /*#__PURE__*/React.createElement("feBlend", {
181
+ mode: "normal",
182
+ in2: "BackgroundImageFix",
183
+ result: "effect1_dropShadow_3756_45749"
184
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
185
+ in: "SourceAlpha",
186
+ type: "matrix",
187
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
188
+ result: "hardAlpha"
189
+ }), /*#__PURE__*/React.createElement("feOffset", {
190
+ dy: "4"
191
+ }), /*#__PURE__*/React.createElement("feGaussianBlur", {
192
+ stdDeviation: "8"
193
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
194
+ type: "matrix",
195
+ 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"
196
+ }), /*#__PURE__*/React.createElement("feBlend", {
197
+ mode: "normal",
198
+ in2: "effect1_dropShadow_3756_45749",
199
+ result: "effect2_dropShadow_3756_45749"
200
+ }), /*#__PURE__*/React.createElement("feBlend", {
201
+ mode: "normal",
202
+ in: "SourceGraphic",
203
+ in2: "effect2_dropShadow_3756_45749",
204
+ result: "shape"
205
+ })), /*#__PURE__*/React.createElement("filter", {
206
+ id: "filter1_dd_3756_45749",
207
+ x: "66",
208
+ y: "166",
209
+ width: "132",
210
+ height: "132",
211
+ filterUnits: "userSpaceOnUse",
212
+ colorInterpolationFilters: "sRGB"
213
+ }, /*#__PURE__*/React.createElement("feFlood", {
214
+ floodOpacity: "0",
215
+ result: "BackgroundImageFix"
216
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
217
+ in: "SourceAlpha",
218
+ type: "matrix",
219
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
220
+ result: "hardAlpha"
221
+ }), /*#__PURE__*/React.createElement("feOffset", {
222
+ dy: "12"
223
+ }), /*#__PURE__*/React.createElement("feGaussianBlur", {
224
+ stdDeviation: "23"
225
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
226
+ type: "matrix",
227
+ 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"
228
+ }), /*#__PURE__*/React.createElement("feBlend", {
229
+ mode: "normal",
230
+ in2: "BackgroundImageFix",
231
+ result: "effect1_dropShadow_3756_45749"
232
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
233
+ in: "SourceAlpha",
234
+ type: "matrix",
235
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
236
+ result: "hardAlpha"
237
+ }), /*#__PURE__*/React.createElement("feOffset", {
238
+ dy: "16"
239
+ }), /*#__PURE__*/React.createElement("feGaussianBlur", {
240
+ stdDeviation: "7.5"
241
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
242
+ type: "matrix",
243
+ 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"
244
+ }), /*#__PURE__*/React.createElement("feBlend", {
245
+ mode: "normal",
246
+ in2: "effect1_dropShadow_3756_45749",
247
+ result: "effect2_dropShadow_3756_45749"
248
+ }), /*#__PURE__*/React.createElement("feBlend", {
249
+ mode: "normal",
250
+ in: "SourceGraphic",
251
+ in2: "effect2_dropShadow_3756_45749",
252
+ result: "shape"
253
+ })), /*#__PURE__*/React.createElement("linearGradient", {
254
+ id: "paint0_linear_3756_45749",
255
+ x1: "132",
256
+ y1: "200",
257
+ x2: "132",
258
+ y2: "240",
259
+ gradientUnits: "userSpaceOnUse"
260
+ }, /*#__PURE__*/React.createElement("stop", {
261
+ stopColor: "#79A5FE"
262
+ }), /*#__PURE__*/React.createElement("stop", {
263
+ offset: "1",
264
+ stopColor: "#1552DF"
265
+ })), /*#__PURE__*/React.createElement("clipPath", {
266
+ id: "clip0_3756_45749"
267
+ }, /*#__PURE__*/React.createElement("rect", {
268
+ width: "264",
269
+ height: "264",
270
+ fill: "white"
271
+ })), /*#__PURE__*/React.createElement("clipPath", {
272
+ id: "clip1_3756_45749"
273
+ }, /*#__PURE__*/React.createElement("rect", {
274
+ x: "60",
275
+ y: "48",
276
+ width: "144",
277
+ height: "174",
278
+ rx: "8",
279
+ fill: "white"
280
+ }))));
281
+ };
282
+
283
+ var _default = Empty;
284
+ exports.default = _default;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Empty: () => JSX.Element;
3
+ export default Empty;
@@ -0,0 +1,153 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var React = _interopRequireWildcard(require("react"));
11
+
12
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
+
14
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
+
16
+ var Empty = function Empty() {
17
+ return /*#__PURE__*/React.createElement("svg", {
18
+ className: "ald-empty-img-default ald-empty-img",
19
+ width: "264",
20
+ height: "264",
21
+ viewBox: "0 0 264 264",
22
+ fill: "none",
23
+ xmlns: "http://www.w3.org/2000/svg"
24
+ }, /*#__PURE__*/React.createElement("g", {
25
+ clipPath: "url(#clip0_3832_46458)"
26
+ }, /*#__PURE__*/React.createElement("circle", {
27
+ cx: "132",
28
+ cy: "133",
29
+ r: "98",
30
+ fill: "#D4E4FF"
31
+ }), /*#__PURE__*/React.createElement("circle", {
32
+ cx: "12",
33
+ cy: "182",
34
+ r: "10",
35
+ fill: "#D4E4FF"
36
+ }), /*#__PURE__*/React.createElement("circle", {
37
+ cx: "246",
38
+ cy: "90",
39
+ r: "10",
40
+ fill: "#D4E4FF"
41
+ }), /*#__PURE__*/React.createElement("circle", {
42
+ cx: "257",
43
+ cy: "69",
44
+ r: "5",
45
+ fill: "#D4E4FF"
46
+ }), /*#__PURE__*/React.createElement("circle", {
47
+ cx: "29",
48
+ cy: "77",
49
+ r: "5",
50
+ fill: "#D4E4FF"
51
+ }), /*#__PURE__*/React.createElement("g", {
52
+ filter: "url(#filter0_dd_3832_46458)"
53
+ }, /*#__PURE__*/React.createElement("path", {
54
+ d: "M162 120H222V208C222 212.418 218.418 216 214 216H162V120Z",
55
+ fill: "#D4E4FF"
56
+ }), /*#__PURE__*/React.createElement("path", {
57
+ d: "M42 120H162V216H50C45.5817 216 42 212.418 42 208V120Z",
58
+ fill: "white"
59
+ }), /*#__PURE__*/React.createElement("rect", {
60
+ x: "54",
61
+ y: "176",
62
+ width: "40",
63
+ height: "4",
64
+ rx: "2",
65
+ fill: "#ABC8FE"
66
+ }), /*#__PURE__*/React.createElement("rect", {
67
+ x: "54",
68
+ y: "188",
69
+ width: "24",
70
+ height: "4",
71
+ rx: "2",
72
+ fill: "#ABC8FE"
73
+ }), /*#__PURE__*/React.createElement("rect", {
74
+ x: "54",
75
+ y: "200",
76
+ width: "32",
77
+ height: "4",
78
+ rx: "2",
79
+ fill: "#ABC8FE"
80
+ }), /*#__PURE__*/React.createElement("path", {
81
+ 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",
82
+ fill: "#EFF5FF"
83
+ }), /*#__PURE__*/React.createElement("path", {
84
+ d: "M245.276 73.4472C245.609 72.7823 245.125 72 244.382 72H118L94 120H222L245.276 73.4472Z",
85
+ fill: "white"
86
+ }), /*#__PURE__*/React.createElement("path", {
87
+ 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",
88
+ fill: "#EFF5FF"
89
+ }), /*#__PURE__*/React.createElement("path", {
90
+ 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",
91
+ stroke: "#ABC8FE",
92
+ strokeWidth: "2",
93
+ strokeLinecap: "round",
94
+ strokeDasharray: "3 3"
95
+ }))), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("filter", {
96
+ id: "filter0_dd_3832_46458",
97
+ x: "-21.3833",
98
+ y: "-19.4129",
99
+ width: "306.767",
100
+ height: "283.413",
101
+ filterUnits: "userSpaceOnUse",
102
+ colorInterpolationFilters: "sRGB"
103
+ }, /*#__PURE__*/React.createElement("feFlood", {
104
+ floodOpacity: "0",
105
+ result: "BackgroundImageFix"
106
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
107
+ in: "SourceAlpha",
108
+ type: "matrix",
109
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
110
+ result: "hardAlpha"
111
+ }), /*#__PURE__*/React.createElement("feOffset", {
112
+ dy: "8"
113
+ }), /*#__PURE__*/React.createElement("feGaussianBlur", {
114
+ stdDeviation: "20"
115
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
116
+ type: "matrix",
117
+ 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"
118
+ }), /*#__PURE__*/React.createElement("feBlend", {
119
+ mode: "normal",
120
+ in2: "BackgroundImageFix",
121
+ result: "effect1_dropShadow_3832_46458"
122
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
123
+ in: "SourceAlpha",
124
+ type: "matrix",
125
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
126
+ result: "hardAlpha"
127
+ }), /*#__PURE__*/React.createElement("feOffset", {
128
+ dy: "4"
129
+ }), /*#__PURE__*/React.createElement("feGaussianBlur", {
130
+ stdDeviation: "8"
131
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
132
+ type: "matrix",
133
+ 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"
134
+ }), /*#__PURE__*/React.createElement("feBlend", {
135
+ mode: "normal",
136
+ in2: "effect1_dropShadow_3832_46458",
137
+ result: "effect2_dropShadow_3832_46458"
138
+ }), /*#__PURE__*/React.createElement("feBlend", {
139
+ mode: "normal",
140
+ in: "SourceGraphic",
141
+ in2: "effect2_dropShadow_3832_46458",
142
+ result: "shape"
143
+ })), /*#__PURE__*/React.createElement("clipPath", {
144
+ id: "clip0_3832_46458"
145
+ }, /*#__PURE__*/React.createElement("rect", {
146
+ width: "264",
147
+ height: "264",
148
+ fill: "white"
149
+ }))));
150
+ };
151
+
152
+ var _default = Empty;
153
+ exports.default = _default;
@@ -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;
@@ -1,69 +1,110 @@
1
1
  "use strict";
2
2
 
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
6
8
  exports.default = void 0;
7
9
 
8
- var _react = _interopRequireDefault(require("react"));
10
+ var React = _interopRequireWildcard(require("react"));
11
+
12
+ var _classnames = _interopRequireDefault(require("classnames"));
13
+
14
+ var _empty = _interopRequireDefault(require("./image/empty"));
15
+
16
+ var _Authority = _interopRequireDefault(require("./image/Authority"));
17
+
18
+ var _Dataspace = _interopRequireDefault(require("./image/Dataspace"));
19
+
20
+ var _Search = _interopRequireDefault(require("./image/Search"));
9
21
 
10
- var _usePrefixCls = _interopRequireDefault(require("../_utils/hooks/usePrefixCls"));
22
+ var _Simple = _interopRequireDefault(require("./image/Simple"));
23
+
24
+ var _Worksheet = _interopRequireDefault(require("./image/Worksheet"));
25
+
26
+ var _excluded = ["className", "prefixCls", "image", "description", "title", "size", "children", "imageStyle"];
11
27
 
12
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
29
 
14
- // @ts-nocheck
15
- var _default = function _default(_ref) {
16
- var description = _ref.description,
17
- children = _ref.children;
18
- var prefixCls = (0, _usePrefixCls.default)('empty');
19
- return /*#__PURE__*/_react.default.createElement("div", {
20
- className: prefixCls
21
- }, /*#__PURE__*/_react.default.createElement("div", {
22
- className: "".concat(prefixCls, "-content")
23
- }, /*#__PURE__*/_react.default.createElement("svg", {
24
- width: "75",
25
- height: "79",
26
- viewBox: "0 0 75 79",
27
- fill: "none",
28
- xmlns: "http://www.w3.org/2000/svg"
29
- }, /*#__PURE__*/_react.default.createElement("path", {
30
- 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",
31
- fill: "#EBF3FF"
32
- }), /*#__PURE__*/_react.default.createElement("path", {
33
- 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",
34
- fill: "white"
35
- }), /*#__PURE__*/_react.default.createElement("path", {
36
- 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",
37
- fill: "#D7E7FE"
38
- }), /*#__PURE__*/_react.default.createElement("path", {
39
- 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",
40
- fill: "#F3F8FF"
41
- }), /*#__PURE__*/_react.default.createElement("path", {
42
- 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",
43
- fill: "#D7E7FE"
44
- }), /*#__PURE__*/_react.default.createElement("path", {
45
- 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",
46
- fill: "#F3F8FF"
47
- }), /*#__PURE__*/_react.default.createElement("path", {
48
- 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",
49
- fill: "#D7E7FE"
50
- }), /*#__PURE__*/_react.default.createElement("path", {
51
- 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",
52
- fill: "#F3F8FF"
53
- }), /*#__PURE__*/_react.default.createElement("path", {
54
- 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",
55
- fill: "#A0B5D5"
56
- }), /*#__PURE__*/_react.default.createElement("path", {
57
- 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",
58
- fill: "#D7E7FE"
59
- }), /*#__PURE__*/_react.default.createElement("path", {
60
- 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",
61
- fill: "white"
62
- })), description && /*#__PURE__*/_react.default.createElement("div", {
30
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
31
+
32
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
33
+
34
+ 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; }
35
+
36
+ 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; }
37
+
38
+ 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; }
39
+
40
+ var defaultEmptyImg = /*#__PURE__*/React.createElement(_empty.default, null);
41
+ var dataSpaceEmptyImg = /*#__PURE__*/React.createElement(_Dataspace.default, null);
42
+ var searchEmptyImg = /*#__PURE__*/React.createElement(_Search.default, null);
43
+ var simpleEmptyImg = /*#__PURE__*/React.createElement(_Simple.default, null);
44
+ var worksheetEmptyImg = /*#__PURE__*/React.createElement(_Worksheet.default, null);
45
+ var authorityEmptyImg = /*#__PURE__*/React.createElement(_Authority.default, null);
46
+
47
+ var Empty = function Empty(props) {
48
+ var className = props.className,
49
+ customizePrefixCls = props.prefixCls,
50
+ _props$image = props.image,
51
+ image = _props$image === void 0 ? defaultEmptyImg : _props$image,
52
+ description = props.description,
53
+ title = props.title,
54
+ size = props.size,
55
+ children = props.children,
56
+ imageStyle = props.imageStyle,
57
+ restProps = _objectWithoutProperties(props, _excluded);
58
+
59
+ var prefixCls = 'ald-empty';
60
+ var des = typeof description !== 'undefined' ? description : null;
61
+ var alt = typeof des === 'string' ? des : 'empty';
62
+ var imageNode = null;
63
+
64
+ if (typeof image === 'string') {
65
+ imageNode = /*#__PURE__*/React.createElement("img", {
66
+ alt: alt,
67
+ src: image
68
+ });
69
+ } else {
70
+ imageNode = image;
71
+ }
72
+
73
+ var getSize = function getSize(ESize) {
74
+ if (ESize === undefined) {
75
+ if (image === simpleEmptyImg) {
76
+ return 'small';
77
+ }
78
+
79
+ return 'large';
80
+ }
81
+
82
+ if (['small', 'large'].includes(ESize)) {
83
+ return ESize;
84
+ }
85
+
86
+ return 'large';
87
+ };
88
+
89
+ return /*#__PURE__*/React.createElement("div", Object.assign({
90
+ className: (0, _classnames.default)(prefixCls, _defineProperty({}, "".concat(prefixCls, "-").concat(getSize(size)), getSize(size)), className)
91
+ }, restProps), /*#__PURE__*/React.createElement("div", {
92
+ className: "".concat(prefixCls, "-image"),
93
+ style: imageStyle
94
+ }, imageNode), title && /*#__PURE__*/React.createElement("div", {
95
+ className: "".concat(prefixCls, "-title")
96
+ }, title), des && /*#__PURE__*/React.createElement("div", {
63
97
  className: "".concat(prefixCls, "-description")
64
- }, description), children && /*#__PURE__*/_react.default.createElement("div", {
98
+ }, des), children && /*#__PURE__*/React.createElement("div", {
65
99
  className: "".concat(prefixCls, "-footer")
66
- }, children)));
100
+ }, children));
67
101
  };
68
102
 
103
+ Empty.PRESENTED_IMAGE_DEFAULT = defaultEmptyImg;
104
+ Empty.PRESENTED_IMAGE_DATASPACE = dataSpaceEmptyImg;
105
+ Empty.PRESENTED_IMAGE_SIMPLE = simpleEmptyImg;
106
+ Empty.PRESENTED_IMAGE_WORKSHEET = worksheetEmptyImg;
107
+ Empty.PRESENTED_IMAGE_SEARCH = searchEmptyImg;
108
+ Empty.PRESENTED_IMAGE_AUTHORITY = authorityEmptyImg;
109
+ var _default = Empty;
69
110
  exports.default = _default;