@aloudata/aloudata-design 0.4.0-beta.11 → 0.4.0-beta.12

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 (378) hide show
  1. package/es/Avatar/component/Avatar/index.d.ts +1 -1
  2. package/es/Avatar/component/Avatar/index.js +12 -16
  3. package/es/Breadcrumb/index.js +14 -18
  4. package/es/Button/index.d.ts +2 -2
  5. package/es/Button/index.js +16 -39
  6. package/es/Checkbox/component/CheckboxGroup/index.d.ts +0 -1
  7. package/es/Checkbox/component/CheckboxGroup/index.js +11 -11
  8. package/es/Checkbox/index.js +8 -8
  9. package/es/Checkbox/type.d.ts +1 -1
  10. package/es/Checkbox/type.js +0 -1
  11. package/es/ConfigProvider/defaultRenderEmpty.d.ts +2 -2
  12. package/es/ConfigProvider/defaultRenderEmpty.js +0 -6
  13. package/es/ConfigProvider/sizeContext.d.ts +2 -2
  14. package/es/ConfigProvider/sizeContext.js +1 -1
  15. package/es/Divider/index.js +7 -3
  16. package/es/Dropdown/Button.d.ts +1 -1
  17. package/es/Dropdown/Button.js +16 -14
  18. package/es/Dropdown/index.d.ts +3 -3
  19. package/es/Dropdown/index.js +10 -10
  20. package/es/Empty/image/Authority.d.ts +0 -1
  21. package/es/Empty/image/Authority.js +0 -2
  22. package/es/Empty/image/Dataspace.d.ts +0 -1
  23. package/es/Empty/image/Dataspace.js +0 -2
  24. package/es/Empty/image/Search.d.ts +0 -1
  25. package/es/Empty/image/Search.js +0 -2
  26. package/es/Empty/image/Simple.d.ts +0 -1
  27. package/es/Empty/image/Simple.js +0 -2
  28. package/es/Empty/image/Worksheet.d.ts +0 -1
  29. package/es/Empty/image/Worksheet.js +0 -2
  30. package/es/Empty/image/empty.d.ts +0 -1
  31. package/es/Empty/image/empty.js +0 -2
  32. package/es/Empty/index.d.ts +1 -1
  33. package/es/Empty/index.js +16 -24
  34. package/es/Icon/components/Icon.js +14 -12
  35. package/es/Icon/components/createFromScripts.js +2 -8
  36. package/es/Icon/icons/AddLine.js +17 -23
  37. package/es/Icon/icons/AlertFill.js +17 -23
  38. package/es/Icon/icons/ArrowsDownLine.js +17 -23
  39. package/es/Icon/icons/CancelFill.js +17 -23
  40. package/es/Icon/icons/CheckFill.js +17 -23
  41. package/es/Icon/icons/CheckLine.js +17 -23
  42. package/es/Icon/icons/CloseLine.js +17 -23
  43. package/es/Icon/icons/DatabaseLine.js +17 -23
  44. package/es/Icon/icons/Deleteline.js +17 -23
  45. package/es/Icon/icons/DownloadLine.js +17 -23
  46. package/es/Icon/icons/ErrorFill.js +17 -23
  47. package/es/Icon/icons/EyeOffLine.js +17 -23
  48. package/es/Icon/icons/EyeOnLine.js +17 -23
  49. package/es/Icon/icons/FileLine.js +17 -23
  50. package/es/Icon/icons/HomeFill.js +17 -23
  51. package/es/Icon/icons/LightningLine.js +17 -23
  52. package/es/Icon/icons/Loading.js +17 -23
  53. package/es/Icon/icons/More.js +17 -23
  54. package/es/Icon/icons/NewWindowsLine.js +17 -23
  55. package/es/Icon/icons/SearchLine.js +17 -23
  56. package/es/Icon/icons/SortAscendingLine.js +17 -23
  57. package/es/Icon/icons/SortDescendingLine.js +17 -23
  58. package/es/Icon/icons/TextLine.js +17 -23
  59. package/es/Icon/icons/UserLine.js +17 -23
  60. package/es/Icon/icons.js +1658 -1588
  61. package/es/Input/components/Group/index.js +11 -9
  62. package/es/Input/components/Input/index.d.ts +2 -2
  63. package/es/Input/components/Input/index.js +10 -9
  64. package/es/Input/components/Password/index.js +14 -12
  65. package/es/Input/components/TextArea/index.js +13 -11
  66. package/es/InputNumber/index.js +10 -12
  67. package/es/Menu/Divider.js +7 -1
  68. package/es/Menu/MenuItem.js +7 -1
  69. package/es/Menu/SubMenu.js +8 -6
  70. package/es/Menu/index.d.ts +1 -1
  71. package/es/Menu/index.js +8 -6
  72. package/es/Modal/index.d.ts +1 -1
  73. package/es/Modal/index.js +18 -28
  74. package/es/Modal/locale.js +4 -6
  75. package/es/Modal/style/index.less +6 -1
  76. package/es/Navigator/components/Header/index.js +0 -2
  77. package/es/Navigator/components/Menu/index.js +14 -18
  78. package/es/Navigator/components/MenuItem/index.js +6 -9
  79. package/es/Navigator/index.js +5 -7
  80. package/es/Popconfirm/index.js +47 -52
  81. package/es/Popconfirm/style/index.less +12 -10
  82. package/es/Popover/index.js +9 -9
  83. package/es/Radio/components/Group/index.d.ts +1 -1
  84. package/es/Radio/components/Group/index.js +23 -32
  85. package/es/Radio/components/Radio/index.js +10 -19
  86. package/es/Radio/interface/radioGroup.d.ts +3 -3
  87. package/es/Select/index.d.ts +4 -4
  88. package/es/Select/index.js +53 -70
  89. package/es/Select/rc-select/BaseSelect.d.ts +7 -7
  90. package/es/Select/rc-select/BaseSelect.js +155 -245
  91. package/es/Select/rc-select/OptGroup.js +0 -1
  92. package/es/Select/rc-select/Option.js +0 -1
  93. package/es/Select/rc-select/OptionList.d.ts +2 -2
  94. package/es/Select/rc-select/OptionList.js +76 -128
  95. package/es/Select/rc-select/Select.d.ts +8 -8
  96. package/es/Select/rc-select/Select.js +137 -205
  97. package/es/Select/rc-select/SelectTrigger.js +30 -42
  98. package/es/Select/rc-select/Selector/Input.d.ts +1 -1
  99. package/es/Select/rc-select/Selector/Input.js +29 -37
  100. package/es/Select/rc-select/Selector/MultipleSelector.js +72 -97
  101. package/es/Select/rc-select/Selector/SingleSelector.js +28 -43
  102. package/es/Select/rc-select/Selector/index.js +33 -58
  103. package/es/Select/rc-select/TransBtn.js +5 -10
  104. package/es/Select/rc-select/hooks/useBaseProps.js +0 -1
  105. package/es/Select/rc-select/hooks/useCache.d.ts +1 -1
  106. package/es/Select/rc-select/hooks/useCache.js +9 -12
  107. package/es/Select/rc-select/hooks/useDelayReset.js +4 -18
  108. package/es/Select/rc-select/hooks/useFilterOptions.d.ts +1 -1
  109. package/es/Select/rc-select/hooks/useFilterOptions.js +8 -17
  110. package/es/Select/rc-select/hooks/useId.js +6 -17
  111. package/es/Select/rc-select/hooks/useLayoutEffect.js +0 -1
  112. package/es/Select/rc-select/hooks/useLock.js +2 -6
  113. package/es/Select/rc-select/hooks/useOptions.d.ts +2 -2
  114. package/es/Select/rc-select/hooks/useOptions.js +2 -10
  115. package/es/Select/rc-select/hooks/useRefFunc.js +0 -1
  116. package/es/Select/rc-select/hooks/useSelectTriggerControl.js +0 -5
  117. package/es/Select/rc-select/utils/commonUtil.js +0 -2
  118. package/es/Select/rc-select/utils/keyUtil.js +4 -3
  119. package/es/Select/rc-select/utils/legacyUtil.js +13 -22
  120. package/es/Select/rc-select/utils/valueUtil.js +18 -50
  121. package/es/Select/rc-select/utils/warningPropsUtil.js +30 -47
  122. package/es/Select/style/index.js +2 -1
  123. package/es/Select/style/status.less +3 -1
  124. package/es/Select/utils/iconUtil.d.ts +3 -3
  125. package/es/Select/utils/iconUtil.js +16 -26
  126. package/es/Space/index.js +1 -1
  127. package/es/Spin/index.d.ts +2 -2
  128. package/es/Steps/components/Step/index.d.ts +1 -1
  129. package/es/Steps/components/Step/index.js +9 -8
  130. package/es/Steps/index.d.ts +8 -2
  131. package/es/Steps/index.js +64 -10
  132. package/es/Steps/style/index.less +11 -12
  133. package/es/Switch/index.js +17 -30
  134. package/es/Table/Table.js +80 -130
  135. package/es/Table/components/Empty/index.js +0 -2
  136. package/es/Table/components/Loading/index.js +0 -2
  137. package/es/Table/components/TableBodyRowList/index.js +20 -39
  138. package/es/Table/components/TableHead/index.js +57 -94
  139. package/es/Table/interface.d.ts +1 -1
  140. package/es/Table/utils.js +8 -29
  141. package/es/Tabs/index.d.ts +1 -1
  142. package/es/Tabs/index.js +11 -16
  143. package/es/Tooltip/index.d.ts +1 -1
  144. package/es/Tooltip/index.js +12 -12
  145. package/es/_utils/hooks/useControlledState.d.ts +1 -1
  146. package/es/_utils/hooks/useControlledState.js +8 -21
  147. package/es/_utils/hooks/useId.js +2 -6
  148. package/es/_utils/hooks/usePrefixCls.d.ts +1 -1
  149. package/es/_utils/hooks/usePrefixCls.js +2 -5
  150. package/es/locale-provider/context.d.ts +1 -1
  151. package/es/locale-provider/index.js +10 -32
  152. package/lib/Alert/index.js +0 -4
  153. package/lib/Alert/style/index.js +0 -1
  154. package/lib/Avatar/component/Avatar/index.d.ts +1 -1
  155. package/lib/Avatar/component/Avatar/index.js +11 -24
  156. package/lib/Avatar/index.js +0 -4
  157. package/lib/Avatar/style/index.js +0 -1
  158. package/lib/Breadcrumb/index.js +14 -23
  159. package/lib/Breadcrumb/style/index.js +0 -1
  160. package/lib/Button/index.d.ts +2 -2
  161. package/lib/Button/index.js +16 -47
  162. package/lib/Button/style/index.js +0 -1
  163. package/lib/Card/index.js +0 -4
  164. package/lib/Card/style/index.js +0 -1
  165. package/lib/Checkbox/component/CheckboxGroup/index.d.ts +0 -1
  166. package/lib/Checkbox/component/CheckboxGroup/index.js +9 -16
  167. package/lib/Checkbox/index.js +8 -14
  168. package/lib/Checkbox/style/index.js +0 -1
  169. package/lib/Checkbox/type.d.ts +1 -1
  170. package/lib/Checkbox/type.js +0 -1
  171. package/lib/Col/index.js +0 -4
  172. package/lib/Col/style/index.js +0 -1
  173. package/lib/ConfigProvider/defaultRenderEmpty.d.ts +2 -2
  174. package/lib/ConfigProvider/defaultRenderEmpty.js +0 -13
  175. package/lib/ConfigProvider/index.js +0 -5
  176. package/lib/ConfigProvider/sizeContext.d.ts +2 -2
  177. package/lib/ConfigProvider/sizeContext.js +1 -8
  178. package/lib/ConfigProvider/style/index.js +0 -1
  179. package/lib/DatePicker/index.js +0 -4
  180. package/lib/DatePicker/style/index.js +0 -1
  181. package/lib/Divider/index.js +7 -8
  182. package/lib/Divider/style/index.js +0 -1
  183. package/lib/Drawer/index.js +0 -4
  184. package/lib/Drawer/style/index.js +0 -1
  185. package/lib/Dropdown/Button.d.ts +1 -1
  186. package/lib/Dropdown/Button.js +14 -20
  187. package/lib/Dropdown/index.d.ts +3 -3
  188. package/lib/Dropdown/index.js +10 -17
  189. package/lib/Dropdown/style/index.js +0 -2
  190. package/lib/Empty/image/Authority.d.ts +0 -1
  191. package/lib/Empty/image/Authority.js +0 -6
  192. package/lib/Empty/image/Dataspace.d.ts +0 -1
  193. package/lib/Empty/image/Dataspace.js +0 -6
  194. package/lib/Empty/image/Search.d.ts +0 -1
  195. package/lib/Empty/image/Search.js +0 -6
  196. package/lib/Empty/image/Simple.d.ts +0 -1
  197. package/lib/Empty/image/Simple.js +0 -6
  198. package/lib/Empty/image/Worksheet.d.ts +0 -1
  199. package/lib/Empty/image/Worksheet.js +0 -6
  200. package/lib/Empty/image/empty.d.ts +0 -1
  201. package/lib/Empty/image/empty.js +0 -6
  202. package/lib/Empty/index.d.ts +1 -1
  203. package/lib/Empty/index.js +15 -37
  204. package/lib/Form/index.js +0 -4
  205. package/lib/Form/style/index.js +0 -1
  206. package/lib/Icon/antdIconfont.js +0 -1
  207. package/lib/Icon/components/Icon.js +14 -16
  208. package/lib/Icon/components/createFromScripts.js +2 -8
  209. package/lib/Icon/icons/AddLine.js +16 -30
  210. package/lib/Icon/icons/AlertFill.js +16 -30
  211. package/lib/Icon/icons/ArrowsDownLine.js +16 -30
  212. package/lib/Icon/icons/CancelFill.js +16 -30
  213. package/lib/Icon/icons/CheckFill.js +16 -30
  214. package/lib/Icon/icons/CheckLine.js +16 -30
  215. package/lib/Icon/icons/CloseLine.js +16 -30
  216. package/lib/Icon/icons/DatabaseLine.js +16 -30
  217. package/lib/Icon/icons/Deleteline.js +16 -30
  218. package/lib/Icon/icons/DownloadLine.js +16 -30
  219. package/lib/Icon/icons/ErrorFill.js +16 -30
  220. package/lib/Icon/icons/EyeOffLine.js +16 -30
  221. package/lib/Icon/icons/EyeOnLine.js +16 -30
  222. package/lib/Icon/icons/FileLine.js +16 -30
  223. package/lib/Icon/icons/HomeFill.js +16 -30
  224. package/lib/Icon/icons/LightningLine.js +16 -30
  225. package/lib/Icon/icons/Loading.js +16 -30
  226. package/lib/Icon/icons/More.js +16 -30
  227. package/lib/Icon/icons/NewWindowsLine.js +16 -30
  228. package/lib/Icon/icons/SearchLine.js +16 -30
  229. package/lib/Icon/icons/SortAscendingLine.js +16 -30
  230. package/lib/Icon/icons/SortDescendingLine.js +16 -30
  231. package/lib/Icon/icons/TextLine.js +16 -30
  232. package/lib/Icon/icons/UserLine.js +16 -30
  233. package/lib/Icon/icons.js +1658 -1588
  234. package/lib/Icon/index.js +0 -3
  235. package/lib/Input/components/Group/index.js +11 -16
  236. package/lib/Input/components/Input/index.d.ts +2 -2
  237. package/lib/Input/components/Input/index.js +10 -16
  238. package/lib/Input/components/Password/index.js +12 -21
  239. package/lib/Input/components/TextArea/index.js +13 -18
  240. package/lib/Input/index.js +0 -6
  241. package/lib/Input/style/index.js +0 -2
  242. package/lib/InputNumber/index.js +10 -18
  243. package/lib/InputNumber/style/index.js +0 -1
  244. package/lib/Layout/index.js +0 -4
  245. package/lib/Layout/style/index.js +0 -1
  246. package/lib/Menu/Divider.js +7 -7
  247. package/lib/Menu/MenuItem.js +7 -7
  248. package/lib/Menu/SubMenu.js +8 -13
  249. package/lib/Menu/index.d.ts +1 -1
  250. package/lib/Menu/index.js +8 -16
  251. package/lib/Menu/style/index.js +0 -2
  252. package/lib/Modal/index.d.ts +1 -1
  253. package/lib/Modal/index.js +17 -45
  254. package/lib/Modal/locale.js +4 -9
  255. package/lib/Modal/style/index.js +0 -1
  256. package/lib/Modal/style/index.less +6 -1
  257. package/lib/Navigator/components/Header/index.js +0 -4
  258. package/lib/Navigator/components/Menu/index.js +13 -24
  259. package/lib/Navigator/components/MenuItem/index.js +6 -15
  260. package/lib/Navigator/index.js +5 -15
  261. package/lib/Navigator/style/index.js +0 -1
  262. package/lib/PageHeader/index.js +0 -4
  263. package/lib/PageHeader/style/index.js +0 -1
  264. package/lib/Popconfirm/index.js +47 -60
  265. package/lib/Popconfirm/style/index.js +0 -1
  266. package/lib/Popconfirm/style/index.less +12 -10
  267. package/lib/Popover/index.js +9 -14
  268. package/lib/Popover/style/index.js +0 -1
  269. package/lib/Progress/index.js +0 -3
  270. package/lib/Progress/style/index.js +0 -1
  271. package/lib/Radio/components/Group/index.d.ts +1 -1
  272. package/lib/Radio/components/Group/index.js +22 -41
  273. package/lib/Radio/components/Radio/index.js +10 -30
  274. package/lib/Radio/index.js +0 -4
  275. package/lib/Radio/interface/radioGroup.d.ts +3 -3
  276. package/lib/Radio/style/index.js +0 -1
  277. package/lib/Row/index.js +0 -4
  278. package/lib/Row/style/index.js +0 -1
  279. package/lib/Select/index.d.ts +4 -4
  280. package/lib/Select/index.js +52 -87
  281. package/lib/Select/rc-select/BaseSelect.d.ts +7 -7
  282. package/lib/Select/rc-select/BaseSelect.js +155 -266
  283. package/lib/Select/rc-select/OptGroup.js +0 -2
  284. package/lib/Select/rc-select/Option.js +0 -2
  285. package/lib/Select/rc-select/OptionList.d.ts +2 -2
  286. package/lib/Select/rc-select/OptionList.js +75 -146
  287. package/lib/Select/rc-select/Select.d.ts +8 -8
  288. package/lib/Select/rc-select/Select.js +137 -224
  289. package/lib/Select/rc-select/SelectContext.js +1 -5
  290. package/lib/Select/rc-select/SelectTrigger.js +29 -49
  291. package/lib/Select/rc-select/Selector/Input.d.ts +1 -1
  292. package/lib/Select/rc-select/Selector/Input.js +29 -46
  293. package/lib/Select/rc-select/Selector/MultipleSelector.js +71 -109
  294. package/lib/Select/rc-select/Selector/SingleSelector.js +28 -50
  295. package/lib/Select/rc-select/Selector/index.js +32 -67
  296. package/lib/Select/rc-select/TransBtn.js +5 -16
  297. package/lib/Select/rc-select/hooks/useBaseProps.js +1 -7
  298. package/lib/Select/rc-select/hooks/useCache.d.ts +1 -1
  299. package/lib/Select/rc-select/hooks/useCache.js +9 -18
  300. package/lib/Select/rc-select/hooks/useDelayReset.js +4 -22
  301. package/lib/Select/rc-select/hooks/useFilterOptions.d.ts +1 -1
  302. package/lib/Select/rc-select/hooks/useFilterOptions.js +8 -25
  303. package/lib/Select/rc-select/hooks/useId.js +6 -26
  304. package/lib/Select/rc-select/hooks/useLayoutEffect.js +0 -6
  305. package/lib/Select/rc-select/hooks/useLock.js +2 -10
  306. package/lib/Select/rc-select/hooks/useOptions.d.ts +2 -2
  307. package/lib/Select/rc-select/hooks/useOptions.js +2 -15
  308. package/lib/Select/rc-select/hooks/useRefFunc.js +0 -5
  309. package/lib/Select/rc-select/hooks/useSelectTriggerControl.js +1 -10
  310. package/lib/Select/rc-select/index.js +0 -7
  311. package/lib/Select/rc-select/utils/commonUtil.js +0 -4
  312. package/lib/Select/rc-select/utils/keyUtil.js +4 -5
  313. package/lib/Select/rc-select/utils/legacyUtil.js +12 -28
  314. package/lib/Select/rc-select/utils/platformUtil.js +0 -1
  315. package/lib/Select/rc-select/utils/valueUtil.js +18 -55
  316. package/lib/Select/rc-select/utils/warningPropsUtil.js +30 -56
  317. package/lib/Select/style/index.js +0 -2
  318. package/lib/Select/style/status.less +3 -1
  319. package/lib/Select/utils/iconUtil.d.ts +3 -3
  320. package/lib/Select/utils/iconUtil.js +16 -39
  321. package/lib/Skeleton/index.js +0 -3
  322. package/lib/Skeleton/style/index.js +0 -1
  323. package/lib/Space/index.js +2 -9
  324. package/lib/Space/style/index.js +0 -1
  325. package/lib/Spin/index.d.ts +2 -2
  326. package/lib/Spin/index.js +0 -3
  327. package/lib/Spin/style/index.js +0 -1
  328. package/lib/Steps/components/ProcessIcon/index.js +0 -4
  329. package/lib/Steps/components/Step/index.d.ts +1 -1
  330. package/lib/Steps/components/Step/index.js +9 -18
  331. package/lib/Steps/index.d.ts +8 -2
  332. package/lib/Steps/index.js +63 -17
  333. package/lib/Steps/style/index.js +0 -1
  334. package/lib/Steps/style/index.less +11 -12
  335. package/lib/Switch/index.js +17 -37
  336. package/lib/Switch/style/index.js +0 -1
  337. package/lib/Table/Table.js +79 -151
  338. package/lib/Table/components/Empty/index.js +0 -6
  339. package/lib/Table/components/Loading/index.js +0 -7
  340. package/lib/Table/components/TableBodyRowList/index.js +19 -47
  341. package/lib/Table/components/TableHead/index.js +56 -108
  342. package/lib/Table/index.js +0 -3
  343. package/lib/Table/interface.d.ts +1 -1
  344. package/lib/Table/style/index.js +0 -1
  345. package/lib/Table/utils.js +8 -33
  346. package/lib/Tabs/index.d.ts +1 -1
  347. package/lib/Tabs/index.js +9 -23
  348. package/lib/Tabs/style/index.js +0 -2
  349. package/lib/Tooltip/index.d.ts +1 -1
  350. package/lib/Tooltip/index.js +12 -17
  351. package/lib/Tooltip/style/index.js +0 -1
  352. package/lib/Tree/index.js +0 -3
  353. package/lib/Tree/style/index.js +0 -1
  354. package/lib/Typography/index.js +0 -4
  355. package/lib/Typography/style/index.js +0 -1
  356. package/lib/Upload/index.js +0 -4
  357. package/lib/Upload/style/index.js +0 -1
  358. package/lib/_utils/hooks/useControlledState.d.ts +1 -1
  359. package/lib/_utils/hooks/useControlledState.js +8 -23
  360. package/lib/_utils/hooks/useId.js +3 -10
  361. package/lib/_utils/hooks/usePrefixCls.d.ts +1 -1
  362. package/lib/_utils/hooks/usePrefixCls.js +2 -10
  363. package/lib/index.js +0 -42
  364. package/lib/locale/default.js +0 -3
  365. package/lib/locale/en_US.js +1 -6
  366. package/lib/locale/zh_CN.js +1 -6
  367. package/lib/locale-provider/LocaleReceiver.js +0 -5
  368. package/lib/locale-provider/context.d.ts +1 -1
  369. package/lib/locale-provider/context.js +0 -2
  370. package/lib/locale-provider/default.js +0 -3
  371. package/lib/locale-provider/en_US.js +0 -3
  372. package/lib/locale-provider/index.js +8 -37
  373. package/lib/locale-provider/zh_CN.js +0 -3
  374. package/lib/message/index.js +0 -4
  375. package/lib/message/style/index.js +0 -1
  376. package/lib/notification/index.js +0 -4
  377. package/lib/notification/style/index.js +0 -1
  378. package/package.json +3 -3
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Empty: () => JSX.Element;
3
2
  export default Empty;
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
-
3
2
  var Empty = function Empty() {
4
3
  return /*#__PURE__*/React.createElement("svg", {
5
4
  className: " ald-empty-img",
@@ -152,5 +151,4 @@ var Empty = function Empty() {
152
151
  fill: "white"
153
152
  }))));
154
153
  };
155
-
156
154
  export default Empty;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Empty: () => JSX.Element;
3
2
  export default Empty;
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
-
3
2
  var Empty = function Empty() {
4
3
  return /*#__PURE__*/React.createElement("svg", {
5
4
  className: " ald-empty-img",
@@ -16,5 +15,4 @@ var Empty = function Empty() {
16
15
  fillOpacity: "0.4"
17
16
  }));
18
17
  };
19
-
20
18
  export default Empty;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Empty: () => JSX.Element;
3
2
  export default Empty;
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
-
3
2
  var Empty = function Empty() {
4
3
  return /*#__PURE__*/React.createElement("svg", {
5
4
  className: " ald-empty-img",
@@ -266,5 +265,4 @@ var Empty = function Empty() {
266
265
  fill: "white"
267
266
  }))));
268
267
  };
269
-
270
268
  export default Empty;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Empty: () => JSX.Element;
3
2
  export default Empty;
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
-
3
2
  var Empty = function Empty() {
4
3
  return /*#__PURE__*/React.createElement("svg", {
5
4
  className: "ald-empty-img-default ald-empty-img",
@@ -135,5 +134,4 @@ var Empty = function Empty() {
135
134
  fill: "white"
136
135
  }))));
137
136
  };
138
-
139
137
  export default Empty;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type TEmptySize = 'large' | 'small';
2
+ type TEmptySize = 'large' | 'small';
3
3
  export interface IEmptyProps {
4
4
  prefixCls?: string;
5
5
  className?: string;
package/es/Empty/index.js CHANGED
@@ -1,11 +1,12 @@
1
+ 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); }
1
2
  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
-
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
5
8
  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
9
  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
10
  import * as React from 'react';
10
11
  import classNames from 'classnames';
11
12
  import DefaultEmptyImg from './image/empty';
@@ -20,24 +21,21 @@ var searchEmptyImg = /*#__PURE__*/React.createElement(SearchEmptyImg, null);
20
21
  var simpleEmptyImg = /*#__PURE__*/React.createElement(SimpleEmptyImg, null);
21
22
  var worksheetEmptyImg = /*#__PURE__*/React.createElement(WorksheetEmptyImg, null);
22
23
  var authorityEmptyImg = /*#__PURE__*/React.createElement(AuthorityEmptyImg, null);
23
-
24
24
  var Empty = function Empty(props) {
25
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
-
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);
36
35
  var prefixCls = 'ald-empty';
37
36
  var des = typeof description !== 'undefined' ? description : null;
38
37
  var alt = typeof des === 'string' ? des : 'empty';
39
38
  var imageNode = null;
40
-
41
39
  if (typeof image === 'string') {
42
40
  imageNode = /*#__PURE__*/React.createElement("img", {
43
41
  alt: alt,
@@ -46,24 +44,19 @@ var Empty = function Empty(props) {
46
44
  } else {
47
45
  imageNode = image;
48
46
  }
49
-
50
47
  var getSize = function getSize(ESize) {
51
48
  if (ESize === undefined) {
52
49
  if (image === simpleEmptyImg) {
53
50
  return 'small';
54
51
  }
55
-
56
52
  return 'large';
57
53
  }
58
-
59
54
  if (['small', 'large'].includes(ESize)) {
60
55
  return ESize;
61
56
  }
62
-
63
57
  return 'large';
64
58
  };
65
-
66
- return /*#__PURE__*/React.createElement("div", Object.assign({
59
+ return /*#__PURE__*/React.createElement("div", _objectSpread({
67
60
  className: classNames(prefixCls, _defineProperty({}, "".concat(prefixCls, "-").concat(getSize(size)), getSize(size)), className)
68
61
  }, restProps), /*#__PURE__*/React.createElement("div", {
69
62
  className: "".concat(prefixCls, "-image"),
@@ -76,7 +69,6 @@ var Empty = function Empty(props) {
76
69
  className: "".concat(prefixCls, "-footer")
77
70
  }, children));
78
71
  };
79
-
80
72
  Empty.PRESENTED_IMAGE_DEFAULT = defaultEmptyImg;
81
73
  Empty.PRESENTED_IMAGE_DATASPACE = dataSpaceEmptyImg;
82
74
  Empty.PRESENTED_IMAGE_SIMPLE = simpleEmptyImg;
@@ -1,22 +1,24 @@
1
+ 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); }
1
2
  var _excluded = ["type", "size", "className", "color"];
2
-
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
8
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
-
5
9
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
-
7
10
  import React from 'react';
8
11
  import classnames from 'classnames';
9
12
  export default function Icon(props) {
10
13
  var type = props.type,
11
- _props$size = props.size,
12
- size = _props$size === void 0 ? '1em' : _props$size,
13
- _props$className = props.className,
14
- className = _props$className === void 0 ? 'ald-icon' : _props$className,
15
- _props$color = props.color,
16
- color = _props$color === void 0 ? 'currentColor' : _props$color,
17
- rest = _objectWithoutProperties(props, _excluded);
18
-
19
- return /*#__PURE__*/React.createElement("iconpark-icon", Object.assign({
14
+ _props$size = props.size,
15
+ size = _props$size === void 0 ? '1em' : _props$size,
16
+ _props$className = props.className,
17
+ className = _props$className === void 0 ? 'ald-icon' : _props$className,
18
+ _props$color = props.color,
19
+ color = _props$color === void 0 ? 'currentColor' : _props$color,
20
+ rest = _objectWithoutProperties(props, _excluded);
21
+ return /*#__PURE__*/React.createElement("iconpark-icon", _objectSpread({
20
22
  name: type,
21
23
  // @ts-ignore react里web-component 只能使用class
22
24
  class: classnames('ald-icon', className),
@@ -1,32 +1,26 @@
1
1
  var FIRST_INDEX = 0;
2
2
  var customCache = new Set();
3
-
4
3
  function isValidCustomScriptUrl(scriptUrl) {
5
4
  return Boolean(typeof scriptUrl === 'string' && scriptUrl.length && !customCache.has(scriptUrl));
6
5
  }
7
-
8
6
  export function createFromScripts(scriptUrl) {
9
7
  var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : FIRST_INDEX;
10
- var scriptUrls = Array.isArray(scriptUrl) ? scriptUrl : [scriptUrl]; // index 表示即将创建的脚本的索引,当所有的脚本链接都创建之后,函数不再往下执行
11
-
8
+ var scriptUrls = Array.isArray(scriptUrl) ? scriptUrl : [scriptUrl];
9
+ // index 表示即将创建的脚本的索引,当所有的脚本链接都创建之后,函数不再往下执行
12
10
  if (index >= scriptUrls.length) {
13
11
  return;
14
12
  }
15
-
16
13
  var currentScriptUrl = scriptUrls[index];
17
-
18
14
  if (isValidCustomScriptUrl(currentScriptUrl)) {
19
15
  var script = document.createElement('script');
20
16
  script.setAttribute('src', currentScriptUrl);
21
17
  script.setAttribute('data-namespace', currentScriptUrl);
22
18
  customCache.add(currentScriptUrl);
23
19
  document.body.appendChild(script);
24
-
25
20
  if (scriptUrls.length > index + 1) {
26
21
  script.onload = function () {
27
22
  createFromScripts(scriptUrls, index + 1);
28
23
  };
29
-
30
24
  script.onerror = function () {
31
25
  createFromScripts(scriptUrls, index + 1);
32
26
  };
@@ -1,52 +1,46 @@
1
+ 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); }
1
2
  var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
2
-
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
8
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
-
5
9
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
-
7
10
  import React, { useEffect, useRef } from 'react';
8
11
  import styles from './style.css';
9
12
  export default function AddLine(props) {
10
13
  var root = useRef(null);
11
-
12
14
  var _props$size = props.size,
13
- size = _props$size === void 0 ? '1em' : _props$size,
14
- width = props.width,
15
- height = props.height,
16
- spin = props.spin,
17
- rtl = props.rtl,
18
- color = props.color,
19
- fill = props.fill,
20
- stroke = props.stroke,
21
- className = props.className,
22
- rest = _objectWithoutProperties(props, _excluded);
23
-
15
+ size = _props$size === void 0 ? '1em' : _props$size,
16
+ width = props.width,
17
+ height = props.height,
18
+ spin = props.spin,
19
+ rtl = props.rtl,
20
+ color = props.color,
21
+ fill = props.fill,
22
+ stroke = props.stroke,
23
+ className = props.className,
24
+ rest = _objectWithoutProperties(props, _excluded);
24
25
  var _width = width || size;
25
-
26
26
  var _height = height || size;
27
-
28
27
  var _stroke = stroke || color;
29
-
30
28
  var _fill = fill || color;
31
-
32
29
  useEffect(function () {
33
30
  if (!_fill) {
34
31
  var _root$current;
35
-
36
32
  (_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
37
33
  item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
38
34
  });
39
35
  }
40
-
41
36
  if (!_stroke) {
42
37
  var _root$current2;
43
-
44
38
  (_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
45
39
  item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
46
40
  });
47
41
  }
48
42
  }, [stroke, color, fill]);
49
- return /*#__PURE__*/React.createElement("svg", Object.assign({
43
+ return /*#__PURE__*/React.createElement("svg", _objectSpread({
50
44
  ref: root,
51
45
  width: _width,
52
46
  height: _height,
@@ -1,52 +1,46 @@
1
+ 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); }
1
2
  var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
2
-
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
8
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
-
5
9
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
-
7
10
  import React, { useEffect, useRef } from 'react';
8
11
  import styles from './style.css';
9
12
  export default function AlertFill(props) {
10
13
  var root = useRef(null);
11
-
12
14
  var _props$size = props.size,
13
- size = _props$size === void 0 ? '1em' : _props$size,
14
- width = props.width,
15
- height = props.height,
16
- spin = props.spin,
17
- rtl = props.rtl,
18
- color = props.color,
19
- fill = props.fill,
20
- stroke = props.stroke,
21
- className = props.className,
22
- rest = _objectWithoutProperties(props, _excluded);
23
-
15
+ size = _props$size === void 0 ? '1em' : _props$size,
16
+ width = props.width,
17
+ height = props.height,
18
+ spin = props.spin,
19
+ rtl = props.rtl,
20
+ color = props.color,
21
+ fill = props.fill,
22
+ stroke = props.stroke,
23
+ className = props.className,
24
+ rest = _objectWithoutProperties(props, _excluded);
24
25
  var _width = width || size;
25
-
26
26
  var _height = height || size;
27
-
28
27
  var _stroke = stroke || color;
29
-
30
28
  var _fill = fill || color;
31
-
32
29
  useEffect(function () {
33
30
  if (!_fill) {
34
31
  var _root$current;
35
-
36
32
  (_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
37
33
  item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
38
34
  });
39
35
  }
40
-
41
36
  if (!_stroke) {
42
37
  var _root$current2;
43
-
44
38
  (_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
45
39
  item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
46
40
  });
47
41
  }
48
42
  }, [stroke, color, fill]);
49
- return /*#__PURE__*/React.createElement("svg", Object.assign({
43
+ return /*#__PURE__*/React.createElement("svg", _objectSpread({
50
44
  ref: root,
51
45
  width: _width,
52
46
  height: _height,
@@ -1,52 +1,46 @@
1
+ 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); }
1
2
  var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
2
-
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
8
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
-
5
9
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
-
7
10
  import React, { useEffect, useRef } from 'react';
8
11
  import styles from './style.css';
9
12
  export default function ArrowsDownLine(props) {
10
13
  var root = useRef(null);
11
-
12
14
  var _props$size = props.size,
13
- size = _props$size === void 0 ? '1em' : _props$size,
14
- width = props.width,
15
- height = props.height,
16
- spin = props.spin,
17
- rtl = props.rtl,
18
- color = props.color,
19
- fill = props.fill,
20
- stroke = props.stroke,
21
- className = props.className,
22
- rest = _objectWithoutProperties(props, _excluded);
23
-
15
+ size = _props$size === void 0 ? '1em' : _props$size,
16
+ width = props.width,
17
+ height = props.height,
18
+ spin = props.spin,
19
+ rtl = props.rtl,
20
+ color = props.color,
21
+ fill = props.fill,
22
+ stroke = props.stroke,
23
+ className = props.className,
24
+ rest = _objectWithoutProperties(props, _excluded);
24
25
  var _width = width || size;
25
-
26
26
  var _height = height || size;
27
-
28
27
  var _stroke = stroke || color;
29
-
30
28
  var _fill = fill || color;
31
-
32
29
  useEffect(function () {
33
30
  if (!_fill) {
34
31
  var _root$current;
35
-
36
32
  (_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
37
33
  item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
38
34
  });
39
35
  }
40
-
41
36
  if (!_stroke) {
42
37
  var _root$current2;
43
-
44
38
  (_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
45
39
  item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
46
40
  });
47
41
  }
48
42
  }, [stroke, color, fill]);
49
- return /*#__PURE__*/React.createElement("svg", Object.assign({
43
+ return /*#__PURE__*/React.createElement("svg", _objectSpread({
50
44
  ref: root,
51
45
  width: _width,
52
46
  height: _height,
@@ -1,52 +1,46 @@
1
+ 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); }
1
2
  var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
2
-
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
8
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
-
5
9
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
-
7
10
  import React, { useEffect, useRef } from 'react';
8
11
  import styles from './style.css';
9
12
  export default function CancelFill(props) {
10
13
  var root = useRef(null);
11
-
12
14
  var _props$size = props.size,
13
- size = _props$size === void 0 ? '1em' : _props$size,
14
- width = props.width,
15
- height = props.height,
16
- spin = props.spin,
17
- rtl = props.rtl,
18
- color = props.color,
19
- fill = props.fill,
20
- stroke = props.stroke,
21
- className = props.className,
22
- rest = _objectWithoutProperties(props, _excluded);
23
-
15
+ size = _props$size === void 0 ? '1em' : _props$size,
16
+ width = props.width,
17
+ height = props.height,
18
+ spin = props.spin,
19
+ rtl = props.rtl,
20
+ color = props.color,
21
+ fill = props.fill,
22
+ stroke = props.stroke,
23
+ className = props.className,
24
+ rest = _objectWithoutProperties(props, _excluded);
24
25
  var _width = width || size;
25
-
26
26
  var _height = height || size;
27
-
28
27
  var _stroke = stroke || color;
29
-
30
28
  var _fill = fill || color;
31
-
32
29
  useEffect(function () {
33
30
  if (!_fill) {
34
31
  var _root$current;
35
-
36
32
  (_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
37
33
  item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
38
34
  });
39
35
  }
40
-
41
36
  if (!_stroke) {
42
37
  var _root$current2;
43
-
44
38
  (_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
45
39
  item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
46
40
  });
47
41
  }
48
42
  }, [stroke, color, fill]);
49
- return /*#__PURE__*/React.createElement("svg", Object.assign({
43
+ return /*#__PURE__*/React.createElement("svg", _objectSpread({
50
44
  ref: root,
51
45
  width: _width,
52
46
  height: _height,
@@ -1,52 +1,46 @@
1
+ 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); }
1
2
  var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
2
-
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
8
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
-
5
9
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
-
7
10
  import React, { useEffect, useRef } from 'react';
8
11
  import styles from './style.css';
9
12
  export default function CheckFill(props) {
10
13
  var root = useRef(null);
11
-
12
14
  var _props$size = props.size,
13
- size = _props$size === void 0 ? '1em' : _props$size,
14
- width = props.width,
15
- height = props.height,
16
- spin = props.spin,
17
- rtl = props.rtl,
18
- color = props.color,
19
- fill = props.fill,
20
- stroke = props.stroke,
21
- className = props.className,
22
- rest = _objectWithoutProperties(props, _excluded);
23
-
15
+ size = _props$size === void 0 ? '1em' : _props$size,
16
+ width = props.width,
17
+ height = props.height,
18
+ spin = props.spin,
19
+ rtl = props.rtl,
20
+ color = props.color,
21
+ fill = props.fill,
22
+ stroke = props.stroke,
23
+ className = props.className,
24
+ rest = _objectWithoutProperties(props, _excluded);
24
25
  var _width = width || size;
25
-
26
26
  var _height = height || size;
27
-
28
27
  var _stroke = stroke || color;
29
-
30
28
  var _fill = fill || color;
31
-
32
29
  useEffect(function () {
33
30
  if (!_fill) {
34
31
  var _root$current;
35
-
36
32
  (_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
37
33
  item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
38
34
  });
39
35
  }
40
-
41
36
  if (!_stroke) {
42
37
  var _root$current2;
43
-
44
38
  (_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
45
39
  item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
46
40
  });
47
41
  }
48
42
  }, [stroke, color, fill]);
49
- return /*#__PURE__*/React.createElement("svg", Object.assign({
43
+ return /*#__PURE__*/React.createElement("svg", _objectSpread({
50
44
  ref: root,
51
45
  width: _width,
52
46
  height: _height,