linkmore-design 1.0.89 → 1.0.91

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 (842) hide show
  1. package/dist/Affix/style/variables.d.ts +1 -0
  2. package/dist/Alert/style/variables.d.ts +1 -0
  3. package/dist/Approval/style/variables.d.ts +1 -0
  4. package/dist/AutoComplete/style/variables.d.ts +1 -0
  5. package/dist/Avatar/style/variables.d.ts +1 -0
  6. package/dist/Badge/style/variables.d.ts +1 -0
  7. package/dist/Box/style/variables.d.ts +1 -0
  8. package/dist/Breadcrumb/style/variables.d.ts +1 -0
  9. package/dist/ButtonTags/style/variables.d.ts +1 -0
  10. package/dist/Calendar/style/variables.d.ts +1 -0
  11. package/dist/Card/style/variables.d.ts +1 -0
  12. package/dist/CardTable/style/variables.d.ts +1 -0
  13. package/dist/Carousel/style/variables.d.ts +1 -0
  14. package/dist/Cascader/style/variables.d.ts +1 -0
  15. package/dist/Checkbox/style/variables.d.ts +1 -0
  16. package/dist/Col/style/variables.d.ts +1 -0
  17. package/dist/Collapse/style/variables.d.ts +1 -0
  18. package/dist/Comment/style/variables.d.ts +1 -0
  19. package/dist/ConfigProvider/style/variables.d.ts +1 -0
  20. package/dist/CustomTableOption/style/variables.d.ts +1 -0
  21. package/dist/CustomerService/style/variables.d.ts +1 -0
  22. package/dist/DatePicker/style/variables.d.ts +1 -0
  23. package/dist/Descriptions/style/variables.d.ts +1 -0
  24. package/dist/Divider/style/variables.d.ts +1 -0
  25. package/dist/Drawer/style/variables.d.ts +1 -0
  26. package/dist/Dropdown/style/variables.d.ts +1 -0
  27. package/dist/EditTable/style/variables.d.ts +1 -0
  28. package/dist/Empty/style/variables.d.ts +1 -0
  29. package/dist/EnlargeImg/style/variables.d.ts +1 -0
  30. package/dist/Filter/style/variables.d.ts +1 -0
  31. package/dist/Form/style/variables.d.ts +1 -0
  32. package/dist/FullScreen/style/variables.d.ts +1 -0
  33. package/dist/Grid/style/variables.d.ts +1 -0
  34. package/dist/Icon/style/variables.d.ts +1 -0
  35. package/dist/IconFont/style/variables.d.ts +1 -0
  36. package/dist/IconSelect/style/variables.d.ts +1 -0
  37. package/dist/Image/style/variables.d.ts +1 -0
  38. package/dist/ImageViewer/style/variables.d.ts +1 -0
  39. package/dist/Input/style/variables.d.ts +1 -0
  40. package/dist/InputNumber/style/variables.d.ts +1 -0
  41. package/dist/Layout/style/variables.d.ts +1 -0
  42. package/dist/LeftTable/style/variables.d.ts +1 -0
  43. package/dist/List/style/variables.d.ts +1 -0
  44. package/dist/LmEditTable/style/variables.d.ts +1 -0
  45. package/dist/LmFilter/style/variables.d.ts +1 -0
  46. package/dist/LmSelect/style/variables.d.ts +1 -0
  47. package/dist/LmTable/style/variables.d.ts +1 -0
  48. package/dist/LmUpload/style/variables.d.ts +1 -0
  49. package/dist/LoadingPage/style/variables.d.ts +1 -0
  50. package/dist/Mentions/style/variables.d.ts +1 -0
  51. package/dist/Menu/style/variables.d.ts +1 -0
  52. package/dist/Modal/index.d.ts +1 -0
  53. package/dist/Modal/style/variables.d.ts +1 -0
  54. package/dist/PageHeader/style/variables.d.ts +1 -0
  55. package/dist/Pagination/style/variables.d.ts +1 -0
  56. package/dist/Popconfirm/style/variables.d.ts +1 -0
  57. package/dist/Popover/style/variables.d.ts +1 -0
  58. package/dist/Progress/style/variables.d.ts +1 -0
  59. package/dist/QuickMenu/style/variables.d.ts +1 -0
  60. package/dist/Radio/style/variables.d.ts +1 -0
  61. package/dist/Rate/style/variables.d.ts +1 -0
  62. package/dist/Result/style/variables.d.ts +1 -0
  63. package/dist/Row/style/variables.d.ts +1 -0
  64. package/dist/Segmented/style/variables.d.ts +1 -0
  65. package/dist/Select/index.d.ts +2 -9
  66. package/dist/Select/style/variables.d.ts +1 -0
  67. package/dist/Skeleton/style/variables.d.ts +1 -0
  68. package/dist/Slider/style/variables.d.ts +1 -0
  69. package/dist/Space/style/variables.d.ts +1 -0
  70. package/dist/Spin/style/variables.d.ts +1 -0
  71. package/dist/Statistic/style/variables.d.ts +1 -0
  72. package/dist/Steps/style/variables.d.ts +1 -0
  73. package/dist/Switch/style/variables.d.ts +1 -0
  74. package/dist/Table/style/variables.d.ts +1 -0
  75. package/dist/Tabs/TabPane.d.ts +5 -0
  76. package/dist/Tabs/hooks/useAnimateConfig.d.ts +3 -0
  77. package/dist/Tabs/hooks/useLegacyItems.d.ts +4 -0
  78. package/dist/Tabs/index.d.ts +21 -10
  79. package/dist/Tabs/index.old.d.ts +12 -0
  80. package/dist/Tabs/style/variables.d.ts +1 -0
  81. package/dist/Tag/style/variables.d.ts +1 -0
  82. package/dist/TestTable/style/variables.d.ts +1 -0
  83. package/dist/TimePicker/style/variables.d.ts +1 -0
  84. package/dist/Timeline/style/variables.d.ts +1 -0
  85. package/dist/Tooltip/style/variables.d.ts +1 -0
  86. package/dist/Transfer/style/variables.d.ts +1 -0
  87. package/dist/Tree/style/variables.d.ts +1 -0
  88. package/dist/TreeSelect/style/variables.d.ts +1 -0
  89. package/dist/Typography/style/variables.d.ts +1 -0
  90. package/dist/Upload/style/variables.d.ts +1 -0
  91. package/dist/UploadOss/style/variables.d.ts +1 -0
  92. package/dist/VirtualList/style/variables.d.ts +1 -0
  93. package/{es/InputRange/style/index.css → dist/base.css} +0 -0
  94. package/dist/index.d.ts +0 -2
  95. package/dist/index.umd.js +32852 -30078
  96. package/dist/index.umd.min.js +21 -21
  97. package/dist/locale-provider/style/variables.d.ts +1 -0
  98. package/dist/message/style/variables.d.ts +1 -0
  99. package/dist/notification/style/variables.d.ts +1 -0
  100. package/dist/styles/index.d.ts +1 -0
  101. package/es/Affix/style/variables.css +0 -0
  102. package/es/Affix/style/variables.d.ts +1 -0
  103. package/es/Affix/style/variables.js +1 -0
  104. package/es/Alert/style/variables.css +26 -0
  105. package/es/Alert/style/variables.d.ts +1 -0
  106. package/es/Alert/style/variables.js +1 -0
  107. package/es/Approval/style/variables.css +199 -0
  108. package/es/Approval/style/variables.d.ts +1 -0
  109. package/es/Approval/style/variables.js +1 -0
  110. package/es/AutoComplete/style/variables.css +0 -0
  111. package/es/AutoComplete/style/variables.d.ts +1 -0
  112. package/es/AutoComplete/style/variables.js +1 -0
  113. package/es/Avatar/style/variables.css +0 -0
  114. package/es/Avatar/style/variables.d.ts +1 -0
  115. package/es/Avatar/style/variables.js +1 -0
  116. package/es/Badge/style/variables.css +0 -0
  117. package/es/Badge/style/variables.d.ts +1 -0
  118. package/es/Badge/style/variables.js +1 -0
  119. package/es/Box/style/variables.css +10 -0
  120. package/es/Breadcrumb/style/variables.css +0 -0
  121. package/es/Breadcrumb/style/variables.d.ts +1 -0
  122. package/es/Breadcrumb/style/variables.js +1 -0
  123. package/es/Button/style/variables.css +118 -0
  124. package/es/ButtonTags/style/variables.css +72 -0
  125. package/es/Calendar/style/variables.css +0 -0
  126. package/es/Calendar/style/variables.d.ts +1 -0
  127. package/es/Calendar/style/variables.js +1 -0
  128. package/es/Card/style/variables.css +0 -0
  129. package/es/Card/style/variables.d.ts +1 -0
  130. package/es/Card/style/variables.js +1 -0
  131. package/es/CardTable/style/variables.css +453 -0
  132. package/es/Carousel/style/variables.css +0 -0
  133. package/es/Carousel/style/variables.d.ts +1 -0
  134. package/es/Carousel/style/variables.js +1 -0
  135. package/es/Cascader/style/variables.css +15 -0
  136. package/es/Cascader/style/variables.d.ts +1 -0
  137. package/es/Cascader/style/variables.js +1 -0
  138. package/es/Checkbox/style/variables.css +128 -0
  139. package/es/Col/style/variables.css +0 -0
  140. package/es/Col/style/variables.d.ts +1 -0
  141. package/es/Col/style/variables.js +1 -0
  142. package/es/Collapse/style/variables.css +0 -0
  143. package/es/Collapse/style/variables.d.ts +1 -0
  144. package/es/Collapse/style/variables.js +1 -0
  145. package/es/Comment/style/variables.css +0 -0
  146. package/es/Comment/style/variables.d.ts +1 -0
  147. package/es/Comment/style/variables.js +1 -0
  148. package/es/ConfigProvider/style/variables.css +141 -0
  149. package/es/CustomTableOption/style/variables.css +99 -0
  150. package/es/CustomTableOption/style/variables.d.ts +1 -0
  151. package/es/CustomTableOption/style/variables.js +1 -0
  152. package/es/CustomerService/style/variables.css +253 -0
  153. package/es/DatePicker/style/variables.css +0 -0
  154. package/es/DatePicker/style/variables.d.ts +1 -0
  155. package/es/DatePicker/style/variables.js +1 -0
  156. package/es/Descriptions/style/index.css +139 -139
  157. package/es/Descriptions/style/variables.css +172 -0
  158. package/es/Descriptions/style/variables.d.ts +1 -0
  159. package/es/Descriptions/style/variables.js +1 -0
  160. package/es/Divider/style/variables.css +0 -0
  161. package/es/Divider/style/variables.d.ts +1 -0
  162. package/es/Divider/style/variables.js +1 -0
  163. package/es/Drawer/style/variables.css +8 -0
  164. package/es/Drawer/style/variables.d.ts +1 -0
  165. package/es/Drawer/style/variables.js +1 -0
  166. package/es/Dropdown/style/variables.css +86 -0
  167. package/es/Dropdown/style/variables.d.ts +1 -0
  168. package/es/Dropdown/style/variables.js +1 -0
  169. package/es/EditTable/style/variables.css +178 -0
  170. package/es/Empty/style/variables.css +44 -0
  171. package/es/Empty/style/variables.d.ts +1 -0
  172. package/es/Empty/style/variables.js +1 -0
  173. package/es/EnlargeImg/style/variables.css +4 -0
  174. package/es/Filter/style/variables.css +271 -0
  175. package/es/Form/style/variables.css +181 -0
  176. package/es/Form/style/variables.d.ts +1 -0
  177. package/es/Form/style/variables.js +1 -0
  178. package/es/FullScreen/style/variables.css +10 -0
  179. package/es/FullScreen/style/variables.d.ts +1 -0
  180. package/es/FullScreen/style/variables.js +1 -0
  181. package/es/Grid/style/variables.css +0 -0
  182. package/es/Grid/style/variables.d.ts +1 -0
  183. package/es/Grid/style/variables.js +1 -0
  184. package/es/Icon/style/variables.css +0 -0
  185. package/es/IconFont/style/variables.css +0 -0
  186. package/es/IconSelect/style/variables.css +25 -0
  187. package/es/Image/style/variables.css +0 -0
  188. package/es/Image/style/variables.d.ts +1 -0
  189. package/es/Image/style/variables.js +1 -0
  190. package/es/ImageViewer/style/variables.css +118 -0
  191. package/{lib/InputRange/style/index.css → es/Input/style/variables.css} +262 -0
  192. package/es/Input/style/variables.d.ts +1 -0
  193. package/es/Input/style/variables.js +1 -0
  194. package/es/InputNumber/style/variables.css +35 -0
  195. package/es/InputNumber/style/variables.d.ts +1 -0
  196. package/es/InputNumber/style/variables.js +1 -0
  197. package/es/Layout/style/variables.css +0 -0
  198. package/es/Layout/style/variables.d.ts +1 -0
  199. package/es/Layout/style/variables.js +1 -0
  200. package/es/LeftTable/style/variables.css +161 -0
  201. package/es/List/style/variables.css +0 -0
  202. package/es/List/style/variables.d.ts +1 -0
  203. package/es/List/style/variables.js +1 -0
  204. package/es/LmEditTable/EditTable.js +10 -3
  205. package/es/LmEditTable/style/variables.css +89 -0
  206. package/es/LmEditTable/style/variables.d.ts +1 -0
  207. package/es/LmEditTable/style/variables.js +1 -0
  208. package/es/LmFilter/style/variables.css +425 -0
  209. package/es/LmSelect/style/variables.css +247 -0
  210. package/es/LmSelect/style/variables.d.ts +1 -0
  211. package/es/LmSelect/style/variables.js +1 -0
  212. package/es/LmTable/style/variables.css +1046 -0
  213. package/es/LmUpload/style/variables.css +218 -0
  214. package/es/LoadingPage/style/variables.css +0 -0
  215. package/es/Mentions/style/variables.css +0 -0
  216. package/es/Mentions/style/variables.d.ts +1 -0
  217. package/es/Mentions/style/variables.js +1 -0
  218. package/es/Menu/style/variables.css +0 -0
  219. package/es/Menu/style/variables.d.ts +1 -0
  220. package/es/Menu/style/variables.js +1 -0
  221. package/es/Modal/index.d.ts +1 -0
  222. package/es/Modal/index.js +8 -3
  223. package/es/Modal/style/variables.css +35 -0
  224. package/es/Modal/style/variables.d.ts +1 -0
  225. package/es/Modal/style/variables.js +1 -0
  226. package/es/PageHeader/style/variables.css +0 -0
  227. package/es/PageHeader/style/variables.d.ts +1 -0
  228. package/es/PageHeader/style/variables.js +1 -0
  229. package/es/Pagination/style/variables.css +49 -0
  230. package/es/Pagination/style/variables.d.ts +1 -0
  231. package/es/Pagination/style/variables.js +1 -0
  232. package/es/Popconfirm/style/variables.css +0 -0
  233. package/es/Popconfirm/style/variables.d.ts +1 -0
  234. package/es/Popconfirm/style/variables.js +1 -0
  235. package/es/Popover/style/variables.css +0 -0
  236. package/es/Popover/style/variables.d.ts +1 -0
  237. package/es/Popover/style/variables.js +1 -0
  238. package/es/Progress/style/variables.css +0 -0
  239. package/es/Progress/style/variables.d.ts +1 -0
  240. package/es/Progress/style/variables.js +1 -0
  241. package/es/QuickMenu/style/variables.css +56 -0
  242. package/es/QuickMenu/style/variables.d.ts +1 -0
  243. package/es/QuickMenu/style/variables.js +1 -0
  244. package/es/Radio/style/variables.css +141 -0
  245. package/es/Rate/style/variables.css +0 -0
  246. package/es/Rate/style/variables.d.ts +1 -0
  247. package/es/Rate/style/variables.js +1 -0
  248. package/es/Result/style/variables.css +0 -0
  249. package/es/Result/style/variables.d.ts +1 -0
  250. package/es/Result/style/variables.js +1 -0
  251. package/es/Row/style/variables.css +0 -0
  252. package/es/Row/style/variables.d.ts +1 -0
  253. package/es/Row/style/variables.js +1 -0
  254. package/es/Segmented/style/variables.css +0 -0
  255. package/es/Segmented/style/variables.d.ts +1 -0
  256. package/es/Segmented/style/variables.js +1 -0
  257. package/es/Select/index.d.ts +2 -9
  258. package/es/Select/style/variables.css +15 -0
  259. package/es/Select/style/variables.d.ts +1 -0
  260. package/es/Select/style/variables.js +1 -0
  261. package/es/Skeleton/style/variables.css +0 -0
  262. package/es/Skeleton/style/variables.d.ts +1 -0
  263. package/es/Skeleton/style/variables.js +1 -0
  264. package/es/Slider/style/variables.css +0 -0
  265. package/es/Slider/style/variables.d.ts +1 -0
  266. package/es/Slider/style/variables.js +1 -0
  267. package/es/Space/style/variables.css +0 -0
  268. package/es/Space/style/variables.d.ts +1 -0
  269. package/es/Space/style/variables.js +1 -0
  270. package/es/Spin/style/variables.css +0 -0
  271. package/es/Spin/style/variables.d.ts +1 -0
  272. package/es/Spin/style/variables.js +1 -0
  273. package/es/Statistic/style/variables.css +0 -0
  274. package/es/Statistic/style/variables.d.ts +1 -0
  275. package/es/Statistic/style/variables.js +1 -0
  276. package/es/Steps/style/variables.css +0 -0
  277. package/es/Steps/style/variables.d.ts +1 -0
  278. package/es/Steps/style/variables.js +1 -0
  279. package/es/Switch/style/variables.css +41 -0
  280. package/es/Switch/style/variables.d.ts +1 -0
  281. package/es/Switch/style/variables.js +1 -0
  282. package/es/Table/style/variables.css +0 -0
  283. package/es/Table/style/variables.d.ts +1 -0
  284. package/es/Table/style/variables.js +1 -0
  285. package/es/Tabs/TabPane.d.ts +5 -0
  286. package/es/Tabs/TabPane.js +9 -0
  287. package/es/Tabs/hooks/useAnimateConfig.d.ts +3 -0
  288. package/es/Tabs/hooks/useAnimateConfig.js +38 -0
  289. package/es/Tabs/hooks/useLegacyItems.d.ts +4 -0
  290. package/es/Tabs/hooks/useLegacyItems.js +50 -0
  291. package/es/Tabs/index.d.ts +21 -10
  292. package/es/Tabs/index.js +73 -19
  293. package/es/Tabs/index.old.d.ts +12 -0
  294. package/es/Tabs/index.old.js +38 -0
  295. package/es/Tabs/style/index.css +40 -0
  296. package/es/Tabs/style/variables.css +46 -0
  297. package/es/Tabs/style/variables.d.ts +1 -0
  298. package/es/Tabs/style/variables.js +1 -0
  299. package/es/Tag/style/variables.css +64 -0
  300. package/es/Tag/style/variables.d.ts +1 -0
  301. package/es/Tag/style/variables.js +1 -0
  302. package/es/TestTable/style/variables.css +10 -0
  303. package/es/TimePicker/style/variables.css +0 -0
  304. package/es/TimePicker/style/variables.d.ts +1 -0
  305. package/es/TimePicker/style/variables.js +1 -0
  306. package/es/Timeline/style/variables.css +3 -0
  307. package/es/Timeline/style/variables.d.ts +1 -0
  308. package/es/Timeline/style/variables.js +1 -0
  309. package/es/Tooltip/style/variables.css +0 -0
  310. package/es/Tooltip/style/variables.d.ts +1 -0
  311. package/es/Tooltip/style/variables.js +1 -0
  312. package/es/Transfer/style/variables.css +0 -0
  313. package/es/Transfer/style/variables.d.ts +1 -0
  314. package/es/Transfer/style/variables.js +1 -0
  315. package/es/Tree/style/variables.css +12 -0
  316. package/es/Tree/style/variables.d.ts +1 -0
  317. package/es/Tree/style/variables.js +1 -0
  318. package/es/TreeSelect/style/variables.css +0 -0
  319. package/es/TreeSelect/style/variables.d.ts +1 -0
  320. package/es/TreeSelect/style/variables.js +1 -0
  321. package/es/Typography/style/variables.css +0 -0
  322. package/es/Typography/style/variables.d.ts +1 -0
  323. package/es/Typography/style/variables.js +1 -0
  324. package/es/Upload/style/variables.css +35 -0
  325. package/es/Upload/style/variables.d.ts +1 -0
  326. package/es/Upload/style/variables.js +1 -0
  327. package/es/UploadOss/style/variables.css +121 -0
  328. package/es/VirtualList/style/variables.css +0 -0
  329. package/es/index.d.ts +0 -2
  330. package/es/index.js +0 -1
  331. package/es/locale-provider/style/variables.css +0 -0
  332. package/es/locale-provider/style/variables.d.ts +1 -0
  333. package/es/locale-provider/style/variables.js +1 -0
  334. package/es/message/style/variables.css +31 -0
  335. package/es/message/style/variables.d.ts +1 -0
  336. package/es/message/style/variables.js +1 -0
  337. package/es/notification/style/variables.css +41 -0
  338. package/es/notification/style/variables.d.ts +1 -0
  339. package/es/notification/style/variables.js +1 -0
  340. package/es/styles/index.d.ts +1 -0
  341. package/es/styles/index.js +1 -0
  342. package/es/styles/variables.css +6698 -0
  343. package/lib/Affix/style/variables.css +0 -0
  344. package/lib/Affix/style/variables.d.ts +1 -0
  345. package/lib/Affix/style/variables.js +3 -0
  346. package/lib/Alert/style/variables.css +26 -0
  347. package/lib/Alert/style/variables.d.ts +1 -0
  348. package/lib/Alert/style/variables.js +3 -0
  349. package/lib/Approval/style/variables.css +199 -0
  350. package/lib/Approval/style/variables.d.ts +1 -0
  351. package/lib/Approval/style/variables.js +3 -0
  352. package/lib/AutoComplete/style/variables.css +0 -0
  353. package/lib/AutoComplete/style/variables.d.ts +1 -0
  354. package/lib/AutoComplete/style/variables.js +3 -0
  355. package/lib/Avatar/style/variables.css +0 -0
  356. package/lib/Avatar/style/variables.d.ts +1 -0
  357. package/lib/Avatar/style/variables.js +3 -0
  358. package/lib/Badge/style/variables.css +0 -0
  359. package/lib/Badge/style/variables.d.ts +1 -0
  360. package/lib/Badge/style/variables.js +3 -0
  361. package/lib/Box/style/variables.css +10 -0
  362. package/lib/Breadcrumb/style/variables.css +0 -0
  363. package/lib/Breadcrumb/style/variables.d.ts +1 -0
  364. package/lib/Breadcrumb/style/variables.js +3 -0
  365. package/lib/Button/style/variables.css +118 -0
  366. package/lib/ButtonTags/style/variables.css +72 -0
  367. package/lib/Calendar/style/variables.css +0 -0
  368. package/lib/Calendar/style/variables.d.ts +1 -0
  369. package/lib/Calendar/style/variables.js +3 -0
  370. package/lib/Card/style/variables.css +0 -0
  371. package/lib/Card/style/variables.d.ts +1 -0
  372. package/lib/Card/style/variables.js +3 -0
  373. package/lib/CardTable/style/variables.css +453 -0
  374. package/lib/Carousel/style/variables.css +0 -0
  375. package/lib/Carousel/style/variables.d.ts +1 -0
  376. package/lib/Carousel/style/variables.js +3 -0
  377. package/lib/Cascader/style/variables.css +15 -0
  378. package/lib/Cascader/style/variables.d.ts +1 -0
  379. package/lib/Cascader/style/variables.js +3 -0
  380. package/lib/Checkbox/style/variables.css +128 -0
  381. package/lib/Col/style/variables.css +0 -0
  382. package/lib/Col/style/variables.d.ts +1 -0
  383. package/lib/Col/style/variables.js +3 -0
  384. package/lib/Collapse/style/variables.css +0 -0
  385. package/lib/Collapse/style/variables.d.ts +1 -0
  386. package/lib/Collapse/style/variables.js +3 -0
  387. package/lib/Comment/style/variables.css +0 -0
  388. package/lib/Comment/style/variables.d.ts +1 -0
  389. package/lib/Comment/style/variables.js +3 -0
  390. package/lib/ConfigProvider/style/variables.css +141 -0
  391. package/lib/CustomTableOption/style/variables.css +99 -0
  392. package/lib/CustomTableOption/style/variables.d.ts +1 -0
  393. package/lib/CustomTableOption/style/variables.js +3 -0
  394. package/lib/CustomerService/style/variables.css +253 -0
  395. package/lib/DatePicker/style/variables.css +0 -0
  396. package/lib/DatePicker/style/variables.d.ts +1 -0
  397. package/lib/DatePicker/style/variables.js +3 -0
  398. package/lib/Descriptions/style/index.css +139 -139
  399. package/lib/Descriptions/style/variables.css +172 -0
  400. package/lib/Descriptions/style/variables.d.ts +1 -0
  401. package/lib/Descriptions/style/variables.js +3 -0
  402. package/lib/Divider/style/variables.css +0 -0
  403. package/lib/Divider/style/variables.d.ts +1 -0
  404. package/lib/Divider/style/variables.js +3 -0
  405. package/lib/Drawer/style/variables.css +8 -0
  406. package/lib/Drawer/style/variables.d.ts +1 -0
  407. package/lib/Drawer/style/variables.js +3 -0
  408. package/lib/Dropdown/style/variables.css +86 -0
  409. package/lib/Dropdown/style/variables.d.ts +1 -0
  410. package/lib/Dropdown/style/variables.js +3 -0
  411. package/lib/EditTable/style/variables.css +178 -0
  412. package/lib/Empty/style/variables.css +44 -0
  413. package/lib/Empty/style/variables.d.ts +1 -0
  414. package/lib/Empty/style/variables.js +3 -0
  415. package/lib/EnlargeImg/style/variables.css +4 -0
  416. package/lib/Filter/style/variables.css +271 -0
  417. package/lib/Form/style/variables.css +181 -0
  418. package/lib/Form/style/variables.d.ts +1 -0
  419. package/lib/Form/style/variables.js +3 -0
  420. package/lib/FullScreen/style/variables.css +10 -0
  421. package/lib/FullScreen/style/variables.d.ts +1 -0
  422. package/lib/FullScreen/style/variables.js +3 -0
  423. package/lib/Grid/style/variables.css +0 -0
  424. package/lib/Grid/style/variables.d.ts +1 -0
  425. package/lib/Grid/style/variables.js +3 -0
  426. package/lib/Icon/style/variables.css +0 -0
  427. package/lib/IconFont/style/variables.css +0 -0
  428. package/lib/IconSelect/style/variables.css +25 -0
  429. package/lib/Image/style/variables.css +0 -0
  430. package/lib/Image/style/variables.d.ts +1 -0
  431. package/lib/Image/style/variables.js +3 -0
  432. package/lib/ImageViewer/style/variables.css +118 -0
  433. package/lib/Input/style/variables.css +773 -0
  434. package/lib/Input/style/variables.d.ts +1 -0
  435. package/lib/Input/style/variables.js +3 -0
  436. package/lib/InputNumber/style/variables.css +35 -0
  437. package/lib/InputNumber/style/variables.d.ts +1 -0
  438. package/lib/InputNumber/style/variables.js +3 -0
  439. package/lib/Layout/style/variables.css +0 -0
  440. package/lib/Layout/style/variables.d.ts +1 -0
  441. package/lib/Layout/style/variables.js +3 -0
  442. package/lib/LeftTable/style/variables.css +161 -0
  443. package/lib/List/style/variables.css +0 -0
  444. package/lib/List/style/variables.d.ts +1 -0
  445. package/lib/List/style/variables.js +3 -0
  446. package/lib/LmEditTable/EditTable.js +10 -3
  447. package/lib/LmEditTable/style/variables.css +89 -0
  448. package/lib/LmEditTable/style/variables.d.ts +1 -0
  449. package/lib/LmEditTable/style/variables.js +3 -0
  450. package/lib/LmFilter/style/variables.css +425 -0
  451. package/lib/LmSelect/style/variables.css +247 -0
  452. package/lib/LmSelect/style/variables.d.ts +1 -0
  453. package/lib/LmSelect/style/variables.js +3 -0
  454. package/lib/LmTable/style/variables.css +1046 -0
  455. package/lib/LmUpload/style/variables.css +218 -0
  456. package/lib/LoadingPage/style/variables.css +0 -0
  457. package/lib/Mentions/style/variables.css +0 -0
  458. package/lib/Mentions/style/variables.d.ts +1 -0
  459. package/lib/Mentions/style/variables.js +3 -0
  460. package/lib/Menu/style/variables.css +0 -0
  461. package/lib/Menu/style/variables.d.ts +1 -0
  462. package/lib/Menu/style/variables.js +3 -0
  463. package/lib/Modal/index.d.ts +1 -0
  464. package/lib/Modal/index.js +9 -3
  465. package/lib/Modal/style/variables.css +35 -0
  466. package/lib/Modal/style/variables.d.ts +1 -0
  467. package/lib/Modal/style/variables.js +3 -0
  468. package/lib/PageHeader/style/variables.css +0 -0
  469. package/lib/PageHeader/style/variables.d.ts +1 -0
  470. package/lib/PageHeader/style/variables.js +3 -0
  471. package/lib/Pagination/style/variables.css +49 -0
  472. package/lib/Pagination/style/variables.d.ts +1 -0
  473. package/lib/Pagination/style/variables.js +3 -0
  474. package/lib/Popconfirm/style/variables.css +0 -0
  475. package/lib/Popconfirm/style/variables.d.ts +1 -0
  476. package/lib/Popconfirm/style/variables.js +3 -0
  477. package/lib/Popover/style/variables.css +0 -0
  478. package/lib/Popover/style/variables.d.ts +1 -0
  479. package/lib/Popover/style/variables.js +3 -0
  480. package/lib/Progress/style/variables.css +0 -0
  481. package/lib/Progress/style/variables.d.ts +1 -0
  482. package/lib/Progress/style/variables.js +3 -0
  483. package/lib/QuickMenu/style/variables.css +56 -0
  484. package/lib/QuickMenu/style/variables.d.ts +1 -0
  485. package/lib/QuickMenu/style/variables.js +3 -0
  486. package/lib/Radio/style/variables.css +141 -0
  487. package/lib/Rate/style/variables.css +0 -0
  488. package/lib/Rate/style/variables.d.ts +1 -0
  489. package/lib/Rate/style/variables.js +3 -0
  490. package/lib/Result/style/variables.css +0 -0
  491. package/lib/Result/style/variables.d.ts +1 -0
  492. package/lib/Result/style/variables.js +3 -0
  493. package/lib/Row/style/variables.css +0 -0
  494. package/lib/Row/style/variables.d.ts +1 -0
  495. package/lib/Row/style/variables.js +3 -0
  496. package/lib/Segmented/style/variables.css +0 -0
  497. package/lib/Segmented/style/variables.d.ts +1 -0
  498. package/lib/Segmented/style/variables.js +3 -0
  499. package/lib/Select/index.d.ts +2 -9
  500. package/lib/Select/style/variables.css +15 -0
  501. package/lib/Select/style/variables.d.ts +1 -0
  502. package/lib/Select/style/variables.js +3 -0
  503. package/lib/Skeleton/style/variables.css +0 -0
  504. package/lib/Skeleton/style/variables.d.ts +1 -0
  505. package/lib/Skeleton/style/variables.js +3 -0
  506. package/lib/Slider/style/variables.css +0 -0
  507. package/lib/Slider/style/variables.d.ts +1 -0
  508. package/lib/Slider/style/variables.js +3 -0
  509. package/lib/Space/style/variables.css +0 -0
  510. package/lib/Space/style/variables.d.ts +1 -0
  511. package/lib/Space/style/variables.js +3 -0
  512. package/lib/Spin/style/variables.css +0 -0
  513. package/lib/Spin/style/variables.d.ts +1 -0
  514. package/lib/Spin/style/variables.js +3 -0
  515. package/lib/Statistic/style/variables.css +0 -0
  516. package/lib/Statistic/style/variables.d.ts +1 -0
  517. package/lib/Statistic/style/variables.js +3 -0
  518. package/lib/Steps/style/variables.css +0 -0
  519. package/lib/Steps/style/variables.d.ts +1 -0
  520. package/lib/Steps/style/variables.js +3 -0
  521. package/lib/Switch/style/variables.css +41 -0
  522. package/lib/Switch/style/variables.d.ts +1 -0
  523. package/lib/Switch/style/variables.js +3 -0
  524. package/lib/Table/style/variables.css +0 -0
  525. package/lib/Table/style/variables.d.ts +1 -0
  526. package/lib/Table/style/variables.js +3 -0
  527. package/lib/Tabs/TabPane.d.ts +5 -0
  528. package/lib/Tabs/TabPane.js +17 -0
  529. package/lib/Tabs/hooks/useAnimateConfig.d.ts +3 -0
  530. package/lib/Tabs/hooks/useAnimateConfig.js +50 -0
  531. package/lib/Tabs/hooks/useLegacyItems.d.ts +4 -0
  532. package/lib/Tabs/hooks/useLegacyItems.js +63 -0
  533. package/lib/Tabs/index.d.ts +21 -10
  534. package/lib/Tabs/index.js +84 -19
  535. package/lib/Tabs/index.old.d.ts +12 -0
  536. package/lib/Tabs/index.old.js +52 -0
  537. package/lib/Tabs/style/index.css +40 -0
  538. package/lib/Tabs/style/variables.css +46 -0
  539. package/lib/Tabs/style/variables.d.ts +1 -0
  540. package/lib/Tabs/style/variables.js +3 -0
  541. package/lib/Tag/style/variables.css +64 -0
  542. package/lib/Tag/style/variables.d.ts +1 -0
  543. package/lib/Tag/style/variables.js +3 -0
  544. package/lib/TestTable/style/variables.css +10 -0
  545. package/lib/TimePicker/style/variables.css +0 -0
  546. package/lib/TimePicker/style/variables.d.ts +1 -0
  547. package/lib/TimePicker/style/variables.js +3 -0
  548. package/lib/Timeline/style/variables.css +3 -0
  549. package/lib/Timeline/style/variables.d.ts +1 -0
  550. package/lib/Timeline/style/variables.js +3 -0
  551. package/lib/Tooltip/style/variables.css +0 -0
  552. package/lib/Tooltip/style/variables.d.ts +1 -0
  553. package/lib/Tooltip/style/variables.js +3 -0
  554. package/lib/Transfer/style/variables.css +0 -0
  555. package/lib/Transfer/style/variables.d.ts +1 -0
  556. package/lib/Transfer/style/variables.js +3 -0
  557. package/lib/Tree/style/variables.css +12 -0
  558. package/lib/Tree/style/variables.d.ts +1 -0
  559. package/lib/Tree/style/variables.js +3 -0
  560. package/lib/TreeSelect/style/variables.css +0 -0
  561. package/lib/TreeSelect/style/variables.d.ts +1 -0
  562. package/lib/TreeSelect/style/variables.js +3 -0
  563. package/lib/Typography/style/variables.css +0 -0
  564. package/lib/Typography/style/variables.d.ts +1 -0
  565. package/lib/Typography/style/variables.js +3 -0
  566. package/lib/Upload/style/variables.css +35 -0
  567. package/lib/Upload/style/variables.d.ts +1 -0
  568. package/lib/Upload/style/variables.js +3 -0
  569. package/lib/UploadOss/style/variables.css +121 -0
  570. package/lib/VirtualList/style/variables.css +0 -0
  571. package/lib/index.d.ts +0 -2
  572. package/lib/index.js +0 -8
  573. package/lib/locale-provider/style/variables.css +0 -0
  574. package/lib/locale-provider/style/variables.d.ts +1 -0
  575. package/lib/locale-provider/style/variables.js +3 -0
  576. package/lib/message/style/variables.css +31 -0
  577. package/lib/message/style/variables.d.ts +1 -0
  578. package/lib/message/style/variables.js +3 -0
  579. package/lib/notification/style/variables.css +41 -0
  580. package/lib/notification/style/variables.d.ts +1 -0
  581. package/lib/notification/style/variables.js +3 -0
  582. package/lib/styles/index.d.ts +1 -0
  583. package/lib/styles/index.js +3 -0
  584. package/lib/styles/variables.css +6698 -0
  585. package/package.json +7 -3
  586. package/dist/InputRange/demos/basic.d.ts +0 -2
  587. package/dist/InputRange/index.d.ts +0 -8
  588. package/dist/InputRange/style/index.d.ts +0 -1
  589. package/es/Box/style/index.js +0 -3
  590. package/es/ButtonTags/ButtonTags.js +0 -59
  591. package/es/ButtonTags/index.js +0 -13
  592. package/es/ButtonTags/style/index.js +0 -3
  593. package/es/CardTable/LmCardTable.js +0 -63
  594. package/es/CardTable/body/TableBody.js +0 -78
  595. package/es/CardTable/body/TableBodyCell.js +0 -67
  596. package/es/CardTable/body/TableBodyRow.js +0 -91
  597. package/es/CardTable/card/PictureTextColumn.js +0 -132
  598. package/es/CardTable/card/PictureTextRow.js +0 -153
  599. package/es/CardTable/card/PictureTextRowOperate.js +0 -146
  600. package/es/CardTable/context.js +0 -20
  601. package/es/CardTable/empty.js +0 -24
  602. package/es/CardTable/fns/index.js +0 -160
  603. package/es/CardTable/footer.js +0 -59
  604. package/es/CardTable/hooks/usePagination.js +0 -128
  605. package/es/CardTable/index.js +0 -17
  606. package/es/CardTable/pager/TablePagination.js +0 -62
  607. package/es/CardTable/pager/index.js +0 -48
  608. package/es/CardTable/style/index.js +0 -3
  609. package/es/CardTable/table/Table.js +0 -27
  610. package/es/CardTable/table/TableContainer.js +0 -97
  611. package/es/CardTable/table/TableRoot.js +0 -210
  612. package/es/CardTable/table/TableWrapper.js +0 -40
  613. package/es/CardTable/toolbar/ToolBarBottom.js +0 -28
  614. package/es/CardTable/utils.js +0 -31
  615. package/es/Checkbox/index.js +0 -47
  616. package/es/Checkbox/style/index.js +0 -3
  617. package/es/ConfigProvider/style/index.js +0 -3
  618. package/es/CustomerService/components/question.js +0 -120
  619. package/es/CustomerService/index.js +0 -291
  620. package/es/CustomerService/style/index.js +0 -3
  621. package/es/EditTable/EditTable.js +0 -704
  622. package/es/EditTable/index.js +0 -13
  623. package/es/EditTable/style/index.js +0 -3
  624. package/es/EnlargeImg/index.js +0 -109
  625. package/es/EnlargeImg/style/index.js +0 -3
  626. package/es/Filter/Popover.js +0 -199
  627. package/es/Filter/baseFilter/Popover.js +0 -213
  628. package/es/Filter/baseFilter/ToggleFilter.js +0 -111
  629. package/es/Filter/baseFilter/index.js +0 -100
  630. package/es/Filter/complex/ComplexFilter.js +0 -149
  631. package/es/Filter/complex/ComplexItem.js +0 -157
  632. package/es/Filter/components/Checkbox.js +0 -94
  633. package/es/Filter/components/Date.js +0 -87
  634. package/es/Filter/components/Input.js +0 -63
  635. package/es/Filter/components/Select.js +0 -89
  636. package/es/Filter/components/Tree.js +0 -64
  637. package/es/Filter/components/header.js +0 -60
  638. package/es/Filter/components/index.js +0 -47
  639. package/es/Filter/context.js +0 -15
  640. package/es/Filter/edit/editFilter.js +0 -273
  641. package/es/Filter/index.js +0 -174
  642. package/es/Filter/popContext.js +0 -15
  643. package/es/Filter/remember.js +0 -136
  644. package/es/Filter/style/index.js +0 -3
  645. package/es/Icon/index.js +0 -20
  646. package/es/Icon/style/index.js +0 -3
  647. package/es/IconFont/font/iconfont.js +0 -48
  648. package/es/IconFont/style/index.js +0 -3
  649. package/es/IconSelect/index.js +0 -115
  650. package/es/IconSelect/style/index.js +0 -3
  651. package/es/ImageViewer/style/index.js +0 -3
  652. package/es/InputRange/index.d.ts +0 -8
  653. package/es/InputRange/index.js +0 -67
  654. package/es/InputRange/style/index.d.ts +0 -1
  655. package/es/InputRange/style/index.js +0 -1
  656. package/es/LeftTable/index.js +0 -184
  657. package/es/LeftTable/style/index.js +0 -3
  658. package/es/LmFilter/Controls/CheckboxTags.js +0 -53
  659. package/es/LmFilter/Controls/index.js +0 -78
  660. package/es/LmFilter/LmFilter.js +0 -69
  661. package/es/LmFilter/baseFilter/fuzzySearch.js +0 -69
  662. package/es/LmFilter/baseFilter/index.js +0 -33
  663. package/es/LmFilter/clearFilter/index.js +0 -31
  664. package/es/LmFilter/complexFilter/drawer.js +0 -381
  665. package/es/LmFilter/complexFilter/index.js +0 -64
  666. package/es/LmFilter/complexFilter/valueDrawer.js +0 -235
  667. package/es/LmFilter/components/CascaderFilter.js +0 -160
  668. package/es/LmFilter/components/CheckboxFilter.js +0 -189
  669. package/es/LmFilter/components/CustomSelectFilter.js +0 -139
  670. package/es/LmFilter/components/DateFilter.js +0 -163
  671. package/es/LmFilter/components/DropdownFIlter.js +0 -264
  672. package/es/LmFilter/components/EmptyFilter.js +0 -27
  673. package/es/LmFilter/components/InputFilter.js +0 -51
  674. package/es/LmFilter/components/InputSearchClose.js +0 -74
  675. package/es/LmFilter/components/SelectFilter.js +0 -121
  676. package/es/LmFilter/components/index.js +0 -93
  677. package/es/LmFilter/customFilter/drawer.js +0 -409
  678. package/es/LmFilter/customFilter/index.js +0 -136
  679. package/es/LmFilter/customFilter/saveModal.js +0 -185
  680. package/es/LmFilter/customFilter/valueDrawer.js +0 -232
  681. package/es/LmFilter/filterFns/index.js +0 -644
  682. package/es/LmFilter/hooks/index.js +0 -18
  683. package/es/LmFilter/hooks/useDelayedFn.js +0 -29
  684. package/es/LmFilter/index.js +0 -16
  685. package/es/LmFilter/style/index.js +0 -3
  686. package/es/LmFilter/utils.js +0 -173
  687. package/es/LmFilter/wrapper/Filter.js +0 -41
  688. package/es/LmFilter/wrapper/FilterContainer.js +0 -25
  689. package/es/LmFilter/wrapper/FilterRoot.js +0 -208
  690. package/es/LmFilter/wrapper/FilterWrapper.js +0 -25
  691. package/es/LmTable/Table.js +0 -1385
  692. package/es/LmTable/VList.js +0 -594
  693. package/es/LmTable/autosize.js +0 -167
  694. package/es/LmTable/components/sortableBoxCol.js +0 -24
  695. package/es/LmTable/components/sortableItemCol.js +0 -54
  696. package/es/LmTable/context.js +0 -12
  697. package/es/LmTable/detectElementResize.js +0 -225
  698. package/es/LmTable/index.js +0 -14
  699. package/es/LmTable/resetConfig.js +0 -39
  700. package/es/LmTable/style/index.js +0 -3
  701. package/es/LmTable/util.js +0 -162
  702. package/es/LmUpload/style/index.js +0 -3
  703. package/es/LoadingPage/index.js +0 -33
  704. package/es/LoadingPage/style/index.js +0 -3
  705. package/es/Radio/index.js +0 -50
  706. package/es/Radio/style/index.js +0 -3
  707. package/es/TestTable/style/index.js +0 -3
  708. package/es/UploadOss/index.js +0 -18
  709. package/es/UploadOss/style/index.js +0 -3
  710. package/es/UploadOss/uploadBtn.js +0 -141
  711. package/es/UploadOss/uploadImg.js +0 -282
  712. package/es/VirtualList/index.js +0 -85
  713. package/es/VirtualList/style/index.js +0 -3
  714. package/es/services/newRequest.js +0 -201
  715. package/es/services/utils.js +0 -72
  716. package/lib/Box/style/index.js +0 -3
  717. package/lib/ButtonTags/ButtonTags.js +0 -59
  718. package/lib/ButtonTags/index.js +0 -13
  719. package/lib/ButtonTags/style/index.js +0 -3
  720. package/lib/CardTable/LmCardTable.js +0 -63
  721. package/lib/CardTable/body/TableBody.js +0 -78
  722. package/lib/CardTable/body/TableBodyCell.js +0 -67
  723. package/lib/CardTable/body/TableBodyRow.js +0 -91
  724. package/lib/CardTable/card/PictureTextColumn.js +0 -132
  725. package/lib/CardTable/card/PictureTextRow.js +0 -153
  726. package/lib/CardTable/card/PictureTextRowOperate.js +0 -146
  727. package/lib/CardTable/context.js +0 -20
  728. package/lib/CardTable/empty.js +0 -24
  729. package/lib/CardTable/fns/index.js +0 -160
  730. package/lib/CardTable/footer.js +0 -59
  731. package/lib/CardTable/hooks/usePagination.js +0 -128
  732. package/lib/CardTable/index.js +0 -17
  733. package/lib/CardTable/pager/TablePagination.js +0 -62
  734. package/lib/CardTable/pager/index.js +0 -48
  735. package/lib/CardTable/style/index.js +0 -3
  736. package/lib/CardTable/table/Table.js +0 -27
  737. package/lib/CardTable/table/TableContainer.js +0 -97
  738. package/lib/CardTable/table/TableRoot.js +0 -210
  739. package/lib/CardTable/table/TableWrapper.js +0 -40
  740. package/lib/CardTable/toolbar/ToolBarBottom.js +0 -28
  741. package/lib/CardTable/utils.js +0 -31
  742. package/lib/Checkbox/index.js +0 -47
  743. package/lib/Checkbox/style/index.js +0 -3
  744. package/lib/ConfigProvider/style/index.js +0 -3
  745. package/lib/CustomerService/components/question.js +0 -120
  746. package/lib/CustomerService/index.js +0 -291
  747. package/lib/CustomerService/style/index.js +0 -3
  748. package/lib/EditTable/EditTable.js +0 -704
  749. package/lib/EditTable/index.js +0 -13
  750. package/lib/EditTable/style/index.js +0 -3
  751. package/lib/EnlargeImg/index.js +0 -109
  752. package/lib/EnlargeImg/style/index.js +0 -3
  753. package/lib/Filter/Popover.js +0 -199
  754. package/lib/Filter/baseFilter/Popover.js +0 -213
  755. package/lib/Filter/baseFilter/ToggleFilter.js +0 -111
  756. package/lib/Filter/baseFilter/index.js +0 -100
  757. package/lib/Filter/complex/ComplexFilter.js +0 -149
  758. package/lib/Filter/complex/ComplexItem.js +0 -157
  759. package/lib/Filter/components/Checkbox.js +0 -94
  760. package/lib/Filter/components/Date.js +0 -87
  761. package/lib/Filter/components/Input.js +0 -63
  762. package/lib/Filter/components/Select.js +0 -89
  763. package/lib/Filter/components/Tree.js +0 -64
  764. package/lib/Filter/components/header.js +0 -60
  765. package/lib/Filter/components/index.js +0 -47
  766. package/lib/Filter/context.js +0 -15
  767. package/lib/Filter/edit/editFilter.js +0 -273
  768. package/lib/Filter/index.js +0 -174
  769. package/lib/Filter/popContext.js +0 -15
  770. package/lib/Filter/remember.js +0 -136
  771. package/lib/Filter/style/index.js +0 -3
  772. package/lib/Icon/index.js +0 -20
  773. package/lib/Icon/style/index.js +0 -3
  774. package/lib/IconFont/font/iconfont.js +0 -48
  775. package/lib/IconFont/style/index.js +0 -3
  776. package/lib/IconSelect/index.js +0 -115
  777. package/lib/IconSelect/style/index.js +0 -3
  778. package/lib/ImageViewer/style/index.js +0 -3
  779. package/lib/InputRange/index.d.ts +0 -8
  780. package/lib/InputRange/index.js +0 -79
  781. package/lib/InputRange/style/index.d.ts +0 -1
  782. package/lib/InputRange/style/index.js +0 -3
  783. package/lib/LeftTable/index.js +0 -184
  784. package/lib/LeftTable/style/index.js +0 -3
  785. package/lib/LmFilter/Controls/CheckboxTags.js +0 -53
  786. package/lib/LmFilter/Controls/index.js +0 -78
  787. package/lib/LmFilter/LmFilter.js +0 -69
  788. package/lib/LmFilter/baseFilter/fuzzySearch.js +0 -69
  789. package/lib/LmFilter/baseFilter/index.js +0 -33
  790. package/lib/LmFilter/clearFilter/index.js +0 -31
  791. package/lib/LmFilter/complexFilter/drawer.js +0 -381
  792. package/lib/LmFilter/complexFilter/index.js +0 -64
  793. package/lib/LmFilter/complexFilter/valueDrawer.js +0 -235
  794. package/lib/LmFilter/components/CascaderFilter.js +0 -160
  795. package/lib/LmFilter/components/CheckboxFilter.js +0 -189
  796. package/lib/LmFilter/components/CustomSelectFilter.js +0 -139
  797. package/lib/LmFilter/components/DateFilter.js +0 -163
  798. package/lib/LmFilter/components/DropdownFIlter.js +0 -264
  799. package/lib/LmFilter/components/EmptyFilter.js +0 -27
  800. package/lib/LmFilter/components/InputFilter.js +0 -51
  801. package/lib/LmFilter/components/InputSearchClose.js +0 -74
  802. package/lib/LmFilter/components/SelectFilter.js +0 -121
  803. package/lib/LmFilter/components/index.js +0 -93
  804. package/lib/LmFilter/customFilter/drawer.js +0 -409
  805. package/lib/LmFilter/customFilter/index.js +0 -136
  806. package/lib/LmFilter/customFilter/saveModal.js +0 -185
  807. package/lib/LmFilter/customFilter/valueDrawer.js +0 -232
  808. package/lib/LmFilter/filterFns/index.js +0 -644
  809. package/lib/LmFilter/hooks/index.js +0 -18
  810. package/lib/LmFilter/hooks/useDelayedFn.js +0 -29
  811. package/lib/LmFilter/index.js +0 -16
  812. package/lib/LmFilter/style/index.js +0 -3
  813. package/lib/LmFilter/utils.js +0 -173
  814. package/lib/LmFilter/wrapper/Filter.js +0 -41
  815. package/lib/LmFilter/wrapper/FilterContainer.js +0 -25
  816. package/lib/LmFilter/wrapper/FilterRoot.js +0 -208
  817. package/lib/LmFilter/wrapper/FilterWrapper.js +0 -25
  818. package/lib/LmTable/Table.js +0 -1385
  819. package/lib/LmTable/VList.js +0 -594
  820. package/lib/LmTable/autosize.js +0 -167
  821. package/lib/LmTable/components/sortableBoxCol.js +0 -24
  822. package/lib/LmTable/components/sortableItemCol.js +0 -54
  823. package/lib/LmTable/context.js +0 -12
  824. package/lib/LmTable/detectElementResize.js +0 -225
  825. package/lib/LmTable/index.js +0 -14
  826. package/lib/LmTable/resetConfig.js +0 -39
  827. package/lib/LmTable/style/index.js +0 -3
  828. package/lib/LmTable/util.js +0 -162
  829. package/lib/LmUpload/style/index.js +0 -3
  830. package/lib/LoadingPage/index.js +0 -33
  831. package/lib/LoadingPage/style/index.js +0 -3
  832. package/lib/Radio/index.js +0 -50
  833. package/lib/Radio/style/index.js +0 -3
  834. package/lib/TestTable/style/index.js +0 -3
  835. package/lib/UploadOss/index.js +0 -18
  836. package/lib/UploadOss/style/index.js +0 -3
  837. package/lib/UploadOss/uploadBtn.js +0 -141
  838. package/lib/UploadOss/uploadImg.js +0 -282
  839. package/lib/VirtualList/index.js +0 -85
  840. package/lib/VirtualList/style/index.js +0 -3
  841. package/lib/services/newRequest.js +0 -201
  842. package/lib/services/utils.js +0 -72
@@ -1,235 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
-
5
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
6
-
7
- Object.defineProperty(exports, "__esModule", {
8
- value: true
9
- });
10
- exports.default = void 0;
11
-
12
- var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
13
-
14
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
15
-
16
- var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
17
-
18
- var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
19
-
20
- require("antd/es/form/style");
21
-
22
- var _form = _interopRequireDefault(require("antd/es/form"));
23
-
24
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
25
-
26
- var _react = _interopRequireWildcard(require("react"));
27
-
28
- var _linkmoreDesign = require("linkmore-design");
29
-
30
- var _utils = require("../utils");
31
-
32
- var _Controls = _interopRequireDefault(require("../Controls"));
33
-
34
- // 第二层抽屉,弹出数据选择
35
- var ValueDrawer = function ValueDrawer(_ref) {
36
- var instance = _ref.instance;
37
- var state = instance.state,
38
- dispatch = instance.dispatch,
39
- dataSource = instance.dataSource;
40
- var valueDrawer = state.valueDrawer,
41
- complexDrawer = state.complexDrawer;
42
-
43
- var _Form$useForm = _form.default.useForm(),
44
- _Form$useForm2 = (0, _slicedToArray2.default)(_Form$useForm, 1),
45
- form = _Form$useForm2[0];
46
-
47
- var onClose = function onClose() {
48
- dispatch({
49
- type: 'changeValueDrawer',
50
- valueDrawer: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, valueDrawer), {}, {
51
- visible: false
52
- })
53
- });
54
- form.resetFields();
55
- };
56
- /*
57
- * customModal.data.type === 'nested' 时,处理不同(未增加)
58
- *
59
- */
60
-
61
-
62
- var onSave = /*#__PURE__*/function () {
63
- var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
64
- var _yield$form$validateF, field, mode, value, filterValues, currentItem, isNested, nField, nValue, _value$subValue;
65
-
66
- return _regenerator.default.wrap(function _callee$(_context) {
67
- while (1) {
68
- switch (_context.prev = _context.next) {
69
- case 0:
70
- _context.prev = 0;
71
- _context.next = 3;
72
- return form.validateFields();
73
-
74
- case 3:
75
- _yield$form$validateF = _context.sent;
76
- field = _yield$form$validateF.field;
77
- mode = _yield$form$validateF.mode;
78
- value = _yield$form$validateF.value;
79
- // 选中的筛选数据
80
- filterValues = (0, _objectSpread2.default)({}, complexDrawer.data); // 查找当前筛选的值
81
-
82
- currentItem = valueDrawer.data; // 是否嵌套筛选
83
-
84
- isNested = currentItem.type === 'nested'; // 嵌套筛选的键值不同
85
-
86
- nField = valueDrawer.data.field;
87
- nValue = value;
88
-
89
- if (isNested) {
90
- // 删除原有筛选
91
- delete filterValues[currentItem.field];
92
- currentItem.data.forEach(function (element) {
93
- delete filterValues[element.value];
94
- }); // 存在子级嵌套时,改变键值
95
-
96
- if (value === null || value === void 0 ? void 0 : (_value$subValue = value.subValue) === null || _value$subValue === void 0 ? void 0 : _value$subValue.children) {
97
- nField = value.subValue.value;
98
- }
99
-
100
- nValue = (value === null || value === void 0 ? void 0 : value.value) || [];
101
- } // 判断是新增还是编辑
102
-
103
-
104
- Object.assign(filterValues, (0, _defineProperty2.default)({}, nField, {
105
- mode: mode,
106
- value: nValue,
107
- originField: currentItem.field
108
- }));
109
- dispatch({
110
- type: 'changeComplexDrawer',
111
- complexDrawer: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, complexDrawer), {}, {
112
- data: filterValues
113
- })
114
- });
115
- onClose();
116
- _context.next = 20;
117
- break;
118
-
119
- case 18:
120
- _context.prev = 18;
121
- _context.t0 = _context["catch"](0);
122
-
123
- case 20:
124
- case "end":
125
- return _context.stop();
126
- }
127
- }
128
- }, _callee, null, [[0, 18]]);
129
- }));
130
-
131
- return function onSave() {
132
- return _ref2.apply(this, arguments);
133
- };
134
- }();
135
-
136
- var onValuesChange = function onValuesChange(values) {
137
- if (values.field) {
138
- form.setFieldsValue({
139
- value: []
140
- });
141
- }
142
-
143
- if (values.value) {
144
- var _values$value;
145
-
146
- // 嵌套筛选双击触发
147
- if ((values === null || values === void 0 ? void 0 : (_values$value = values.value) === null || _values$value === void 0 ? void 0 : _values$value.type) === 'dbclick') {
148
- onSave();
149
- }
150
- }
151
- }; // 动态展示选择框
152
-
153
-
154
- var DynamicSelect = (0, _react.useCallback)(function (_ref3) {
155
- var getFieldValue = _ref3.getFieldValue;
156
- var field = getFieldValue('field');
157
- var findItem = (dataSource === null || dataSource === void 0 ? void 0 : dataSource.find(function (v) {
158
- return v.field === field;
159
- })) || {};
160
- var options = (findItem === null || findItem === void 0 ? void 0 : findItem.data) || [];
161
-
162
- if (field) {
163
- return /*#__PURE__*/_react.default.createElement(_form.default.Item, {
164
- name: "value",
165
- label: "\u9009\u62E9\u5B57\u6BB5\u503C",
166
- noStyle: true
167
- }, /*#__PURE__*/_react.default.createElement(_Controls.default, {
168
- item: findItem,
169
- options: options
170
- }));
171
- }
172
-
173
- return false;
174
- }, [dataSource]);
175
- var config = {
176
- title: valueDrawer.data.title,
177
- visible: valueDrawer.visible,
178
- onClose: onClose,
179
- className: 'lm_det_drawer',
180
- extra: /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Space, {
181
- size: 8
182
- }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Button, {
183
- key: "cancel",
184
- onClick: onClose,
185
- size: "small"
186
- }, "\u53D6\u6D88"), /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Button, {
187
- type: "primary",
188
- key: "back",
189
- onClick: onSave,
190
- size: "small"
191
- }, "\u786E\u5B9A"))
192
- }; // 初始化重置数据
193
-
194
- (0, _react.useEffect)(function () {
195
- if (valueDrawer.visible) {
196
- form.setFieldsValue(valueDrawer.data);
197
- }
198
- }, [form, valueDrawer]);
199
- return /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Drawer, config, /*#__PURE__*/_react.default.createElement(_form.default, {
200
- form: form,
201
- initialValues: {
202
- mode: 'or'
203
- },
204
- onValuesChange: onValuesChange,
205
- layout: "vertical",
206
- size: "default",
207
- className: "custom_form"
208
- }, /*#__PURE__*/_react.default.createElement("div", {
209
- className: "custom_group"
210
- }, /*#__PURE__*/_react.default.createElement("div", {
211
- className: "custom_label"
212
- }, "\u67E5\u8BE2\u65B9\u5F0F"), /*#__PURE__*/_react.default.createElement(_form.default.Item, {
213
- name: "mode",
214
- label: "\u67E5\u8BE2\u65B9\u5F0F",
215
- noStyle: true
216
- }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Radio.Group, {
217
- direction: "column"
218
- }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Radio, {
219
- value: "and"
220
- }, "\u4E14,\u67E5\u8BE2\u540C\u65F6\u6EE1\u8DB3\u6B64\u9009\u9879\u6761\u4EF6"), /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Radio, {
221
- value: "or"
222
- }, "\u6216,\u67E5\u8BE2\u5305\u542B\u6B64\u9009\u9879\u6761\u4EF6")))), /*#__PURE__*/_react.default.createElement("div", {
223
- className: "custom_group custom_full"
224
- }, /*#__PURE__*/_react.default.createElement("div", {
225
- className: "custom_label"
226
- }, "\u9009\u62E9\u5B57\u6BB5\u503C"), /*#__PURE__*/_react.default.createElement(_form.default.Item, {
227
- noStyle: true,
228
- shouldUpdate: function shouldUpdate(prevValues, currentValues) {
229
- return prevValues.field !== currentValues.field;
230
- }
231
- }, DynamicSelect))));
232
- };
233
-
234
- var _default = ValueDrawer;
235
- exports.default = _default;
@@ -1,160 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
-
5
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
6
-
7
- Object.defineProperty(exports, "__esModule", {
8
- value: true
9
- });
10
- exports.default = void 0;
11
-
12
- require("antd/es/cascader/style");
13
-
14
- var _cascader = _interopRequireDefault(require("antd/es/cascader"));
15
-
16
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
17
-
18
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
19
-
20
- var _react = _interopRequireWildcard(require("react"));
21
-
22
- var _linkmoreDesign = require("linkmore-design");
23
-
24
- var _InputSearchClose = _interopRequireDefault(require("./InputSearchClose"));
25
-
26
- var _hooks = require("../hooks");
27
-
28
- // 重置级联弹框
29
- var DropdownRender = function DropdownRender(_ref) {
30
- var dom = _ref.dom,
31
- instance = _ref.instance,
32
- item = _ref.item,
33
- setOptions = _ref.setOptions,
34
- checkedValues = _ref.checkedValues;
35
- var _instance$filterValue = instance.filterValue,
36
- filterValue = _instance$filterValue === void 0 ? [] : _instance$filterValue,
37
- setFilterValue = instance.setFilterValue,
38
- visible = instance.visible,
39
- setVisible = instance.setVisible;
40
- var _item$data = item.data,
41
- filters = _item$data === void 0 ? [] : _item$data;
42
- var inputRef = (0, _react.useRef)(null);
43
- var delayedFn = (0, _hooks.useDelayedFn)();
44
- var isShowFoot = (0, _react.useMemo)(function () {
45
- var _item$props;
46
-
47
- return item === null || item === void 0 ? void 0 : (_item$props = item.props) === null || _item$props === void 0 ? void 0 : _item$props.multiple;
48
- }, [item]);
49
-
50
- var handleFilter = function handleFilter(val) {
51
- var serachValues = filters.filter(function (v) {
52
- var _v, _item$props2, _item$props2$fieldNam;
53
-
54
- return ((_v = v[(item === null || item === void 0 ? void 0 : (_item$props2 = item.props) === null || _item$props2 === void 0 ? void 0 : (_item$props2$fieldNam = _item$props2.fieldNames) === null || _item$props2$fieldNam === void 0 ? void 0 : _item$props2$fieldNam.label) || 'label']) === null || _v === void 0 ? void 0 : _v.indexOf(val)) > -1;
55
- });
56
- setOptions(serachValues);
57
- }; // 确定
58
-
59
-
60
- var handleSure = function handleSure() {
61
- setFilterValue(checkedValues);
62
- setVisible === null || setVisible === void 0 ? void 0 : setVisible(false);
63
- }; // 取消
64
-
65
-
66
- var handleReset = function handleReset() {
67
- return setVisible === null || setVisible === void 0 ? void 0 : setVisible(false);
68
- };
69
-
70
- (0, _react.useEffect)(function () {
71
- if (visible) {
72
- delayedFn(function () {
73
- var _inputRef$current, _inputRef$current$foc;
74
-
75
- return (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : (_inputRef$current$foc = _inputRef$current.focus) === null || _inputRef$current$foc === void 0 ? void 0 : _inputRef$current$foc.call(_inputRef$current, {
76
- cursor: 'all'
77
- });
78
- });
79
- }
80
- }, [visible]);
81
- return /*#__PURE__*/_react.default.createElement("div", {
82
- className: "filter_dropdown"
83
- }, /*#__PURE__*/_react.default.createElement("div", {
84
- className: "filter_header"
85
- }, /*#__PURE__*/_react.default.createElement(_InputSearchClose.default, {
86
- ref: inputRef,
87
- onSearch: handleFilter,
88
- onChange: handleFilter
89
- })), dom, isShowFoot && /*#__PURE__*/_react.default.createElement("div", {
90
- className: "filter_footer"
91
- }, /*#__PURE__*/_react.default.createElement("div", {
92
- className: "footer_clear",
93
- onClick: handleReset
94
- }, "\u53D6\u6D88"), /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Button, {
95
- type: "primary",
96
- size: "small",
97
- onClick: handleSure
98
- }, "\u786E\u5B9A")));
99
- };
100
-
101
- var CascaderFilter = function CascaderFilter(_ref2) {
102
- var instance = _ref2.instance,
103
- itemProps = _ref2.item;
104
- var _instance$filterValue2 = instance.filterValue,
105
- filterValue = _instance$filterValue2 === void 0 ? [] : _instance$filterValue2,
106
- setFilterValue = instance.setFilterValue,
107
- visible = instance.visible,
108
- setVisible = instance.setVisible,
109
- _instance$children = instance.children,
110
- children = _instance$children === void 0 ? /*#__PURE__*/_react.default.createElement("div", null) : _instance$children;
111
- var _itemProps$data = itemProps.data,
112
- filters = _itemProps$data === void 0 ? [] : _itemProps$data;
113
-
114
- var _useState = (0, _react.useState)(filters),
115
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
116
- options = _useState2[0],
117
- setOptions = _useState2[1];
118
-
119
- var _useState3 = (0, _react.useState)([]),
120
- _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
121
- checkedValues = _useState4[0],
122
- setCheckedValues = _useState4[1];
123
-
124
- var defaultValue = (0, _react.useMemo)(function () {
125
- return filterValue;
126
- }, [filterValue]);
127
-
128
- var onChange = function onChange(item, selectedOptions) {
129
- var _itemProps$props;
130
-
131
- setCheckedValues(item);
132
-
133
- if (!(itemProps === null || itemProps === void 0 ? void 0 : (_itemProps$props = itemProps.props) === null || _itemProps$props === void 0 ? void 0 : _itemProps$props.multiple)) {
134
- setFilterValue(item);
135
- }
136
- };
137
-
138
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_cascader.default, (0, _extends2.default)({}, itemProps.props, {
139
- options: options,
140
- onChange: onChange,
141
- defaultValue: defaultValue,
142
- open: visible,
143
- onDropdownVisibleChange: function onDropdownVisibleChange(vis) {
144
- return setVisible(vis);
145
- },
146
- dropdownRender: function dropdownRender(dom) {
147
- return /*#__PURE__*/_react.default.createElement(DropdownRender, {
148
- dom: dom,
149
- instance: instance,
150
- item: itemProps,
151
- checkedValues: checkedValues,
152
- setCheckedValues: setCheckedValues,
153
- setOptions: setOptions
154
- });
155
- }
156
- }), children));
157
- };
158
-
159
- var _default = CascaderFilter;
160
- exports.default = _default;
@@ -1,189 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
-
5
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
6
-
7
- Object.defineProperty(exports, "__esModule", {
8
- value: true
9
- });
10
- exports.default = void 0;
11
-
12
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
13
-
14
- var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
15
-
16
- var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
17
-
18
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
19
-
20
- var _react = _interopRequireWildcard(require("react"));
21
-
22
- var _linkmoreDesign = require("linkmore-design");
23
-
24
- var _classnames = _interopRequireDefault(require("classnames"));
25
-
26
- var _InputSearchClose = _interopRequireDefault(require("./InputSearchClose"));
27
-
28
- var _EmptyFilter = _interopRequireDefault(require("./EmptyFilter"));
29
-
30
- var _utils = require("../utils");
31
-
32
- var _hooks = require("../hooks");
33
-
34
- var _excluded = ["item"];
35
- var useIsomorphicLayoutEffect = typeof window !== 'undefined' ? _react.useLayoutEffect : _react.useEffect;
36
-
37
- var CheckboxFilter = function CheckboxFilter(_ref) {
38
- var instance = _ref.instance,
39
- itemProps = _ref.item;
40
- var _instance$filterValue = instance.filterValue,
41
- filterValue = _instance$filterValue === void 0 ? [] : _instance$filterValue,
42
- setFilterValue = instance.setFilterValue,
43
- visible = instance.visible,
44
- setVisible = instance.setVisible;
45
- var _itemProps$data = itemProps.data,
46
- filters = _itemProps$data === void 0 ? [] : _itemProps$data;
47
- var inputRef = (0, _react.useRef)(); // 选中的数据项: [key, key, ...];
48
-
49
- var _useState = (0, _react.useState)(filterValue),
50
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
51
- checkedValues = _useState2[0],
52
- setCheckedValues = _useState2[1]; // 选中的数据的键
53
- // const checkedKeys = useMemo(() => checkedValues.map(v => v), [checkedValues]);
54
- // 搜索后的筛选项
55
-
56
-
57
- var _useState3 = (0, _react.useState)(filters),
58
- _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
59
- options = _useState4[0],
60
- setOptions = _useState4[1];
61
-
62
- var delayedFn = (0, _hooks.useDelayedFn)(); // 是否存在搜索, 当数据大于8时存在搜索
63
-
64
- var isSearch = (0, _react.useMemo)(function () {
65
- return filters.length > 8;
66
- }, [filters.length]); // 是否全选: 选中的数据大于等于筛选后的数据 && 筛选后的数据全部存在于选中的数据中
67
-
68
- var checkAll = (0, _react.useMemo)(function () {
69
- var isAll = checkedValues.length >= options.length;
70
- return isAll && options.every(function (_ref2) {
71
- var value = _ref2.value;
72
- return checkedValues.some(function (v) {
73
- return v === value;
74
- });
75
- });
76
- }, [checkedValues, options]); // 是否半选: 存在选中的数据 && 未全选
77
-
78
- var indeterminate = (0, _react.useMemo)(function () {
79
- return checkedValues.length && !checkAll;
80
- }, [checkedValues.length, checkAll]); // 搜索
81
-
82
- var handleFilter = function handleFilter() {
83
- var val = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
84
- var serachValues = filters.filter(function (v) {
85
- return v.label.indexOf(val) > -1;
86
- });
87
- setOptions(serachValues);
88
- }; // 单选事件
89
-
90
-
91
- var onChange = function onChange(e, item) {
92
- e.preventDefault();
93
- var nValue = checkedValues.some(function (value) {
94
- return value === item.value;
95
- }) ? checkedValues.filter(function (value) {
96
- return value !== item.value;
97
- }) : (0, _utils.uniqueFunc)([].concat((0, _toConsumableArray2.default)(checkedValues), [item.value]), 'value');
98
- setCheckedValues(nValue);
99
- }; // 全选事件
100
-
101
-
102
- var onCheckAllChange = function onCheckAllChange() {
103
- var nValue = checkAll ? checkedValues.filter(function (value) {
104
- return !options.some(function (v) {
105
- return v.value === value;
106
- });
107
- }) : (0, _utils.uniqueFunc)([].concat((0, _toConsumableArray2.default)(checkedValues), (0, _toConsumableArray2.default)(options)), 'value');
108
- setCheckedValues(nValue);
109
- }; // 取消 不执行查询操作 关闭下拉框
110
-
111
-
112
- var handleCancel = function handleCancel() {
113
- // 手动触发内容改变(不会触发onChange事件)
114
- setVisible === null || setVisible === void 0 ? void 0 : setVisible(false);
115
- }; // 确定 执行查询操作
116
-
117
-
118
- var handleSure = function handleSure() {
119
- setFilterValue(checkedValues);
120
- }; // 展开下拉时触发: 赋值 && 聚焦 && 重置显示内容
121
-
122
-
123
- useIsomorphicLayoutEffect(function () {
124
- if (visible) {
125
- delayedFn(function () {
126
- var _inputRef$current;
127
-
128
- return (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus({
129
- cursor: 'all'
130
- });
131
- }); // 若开启了 Dropdown => destroyPopupOnHide=true 无需重置操作 反之需开启
132
- // setCheckedValues(filterValue);
133
- // inputRef.current?.setValue?.('');
134
- // handleFilter('');
135
- }
136
- }, [visible]);
137
- return /*#__PURE__*/_react.default.createElement("div", {
138
- className: "filter_dropdown"
139
- }, isSearch && /*#__PURE__*/_react.default.createElement("div", {
140
- className: "filter_header"
141
- }, /*#__PURE__*/_react.default.createElement(_InputSearchClose.default, {
142
- ref: inputRef,
143
- onSearch: handleFilter,
144
- onChange: handleFilter
145
- }), /*#__PURE__*/_react.default.createElement("div", {
146
- className: "filter_header_operate"
147
- }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Checkbox, {
148
- indeterminate: indeterminate,
149
- onChange: onCheckAllChange,
150
- checked: checkAll,
151
- className: "filter_tip"
152
- }, "\u5168\u90E8"), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("span", {
153
- className: "filter_tip"
154
- }, "\u5DF2\u9009: ", checkedValues.length)))), /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Checkbox.Group, {
155
- value: checkedValues,
156
- className: "filter_body"
157
- }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.VirtualList, {
158
- options: options,
159
- className: "filter_list"
160
- }, function (_ref3) {
161
- var item = _ref3.item,
162
- resetProps = (0, _objectWithoutProperties2.default)(_ref3, _excluded);
163
- return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, resetProps, {
164
- className: (0, _classnames.default)('filter_item', {
165
- checked: checkedValues.some(function (value) {
166
- return value === item.value;
167
- })
168
- }),
169
- onClick: function onClick(e) {
170
- return onChange(e, item);
171
- }
172
- }), /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Checkbox, {
173
- value: item.value,
174
- className: "filter_item_content"
175
- }, item.label));
176
- }), !options.length && /*#__PURE__*/_react.default.createElement(_EmptyFilter.default, null)), /*#__PURE__*/_react.default.createElement("div", {
177
- className: "filter_footer"
178
- }, /*#__PURE__*/_react.default.createElement("div", {
179
- className: "footer_clear",
180
- onClick: handleCancel
181
- }, "\u53D6\u6D88"), /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Button, {
182
- type: "primary",
183
- size: "small",
184
- onClick: handleSure
185
- }, "\u786E\u5B9A")));
186
- };
187
-
188
- var _default = CheckboxFilter;
189
- exports.default = _default;