fast-element-plus 1.0.21 → 2.0.0

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 (1169) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/CONTRIBUTING.md +83 -0
  3. package/README.md +74 -115
  4. package/README.zh.md +74 -115
  5. package/SECURITY.md +34 -0
  6. package/dist/_virtual/_rolldown/runtime.mjs +13 -0
  7. package/dist/component.d.ts +4 -0
  8. package/dist/component.mjs +56 -0
  9. package/dist/component.mjs.map +1 -0
  10. package/dist/components/avatar/index.d.ts +15 -0
  11. package/dist/components/avatar/index.mjs +9 -0
  12. package/dist/components/avatar/index.mjs.map +1 -0
  13. package/dist/components/avatar/src/avatar.d.ts +128 -0
  14. package/dist/components/avatar/src/avatar.mjs +64 -0
  15. package/dist/components/avatar/src/avatar.mjs.map +1 -0
  16. package/dist/components/button/index.d.ts +14 -0
  17. package/dist/components/button/index.mjs +9 -0
  18. package/dist/components/button/index.mjs.map +1 -0
  19. package/dist/components/button/src/button.d.ts +180 -0
  20. package/dist/components/button/src/button.mjs +108 -0
  21. package/dist/components/button/src/button.mjs.map +1 -0
  22. package/dist/components/carNumber/index.d.ts +8 -0
  23. package/dist/components/carNumber/index.mjs +10 -0
  24. package/dist/components/carNumber/index.mjs.map +1 -0
  25. package/dist/components/carNumber/src/carNumber.d.ts +230 -0
  26. package/dist/components/carNumber/src/carNumber.mjs +149 -0
  27. package/dist/components/carNumber/src/carNumber.mjs.map +1 -0
  28. package/dist/components/carNumber/src/common.d.ts +15 -0
  29. package/dist/components/carNumber/src/common.mjs +97 -0
  30. package/dist/components/carNumber/src/common.mjs.map +1 -0
  31. package/dist/components/contextMenu/index.d.ts +8 -0
  32. package/dist/components/contextMenu/index.mjs +9 -0
  33. package/dist/components/contextMenu/index.mjs.map +1 -0
  34. package/dist/components/contextMenu/src/contextMenu.d.ts +32 -0
  35. package/dist/components/contextMenu/src/contextMenu.mjs +79 -0
  36. package/dist/components/contextMenu/src/contextMenu.mjs.map +1 -0
  37. package/dist/components/contextMenu/src/contextMenu.type.d.ts +31 -0
  38. package/dist/components/dialog/index.d.ts +14 -0
  39. package/dist/components/dialog/index.mjs +9 -0
  40. package/dist/components/dialog/index.mjs.map +1 -0
  41. package/dist/components/dialog/src/dialog.d.ts +472 -0
  42. package/dist/components/dialog/src/dialog.mjs +287 -0
  43. package/dist/components/dialog/src/dialog.mjs.map +1 -0
  44. package/dist/components/drawer/index.d.ts +15 -0
  45. package/dist/components/drawer/index.mjs +9 -0
  46. package/dist/components/drawer/index.mjs.map +1 -0
  47. package/dist/components/drawer/src/drawer.d.ts +470 -0
  48. package/dist/components/drawer/src/drawer.mjs +297 -0
  49. package/dist/components/drawer/src/drawer.mjs.map +1 -0
  50. package/dist/components/form/index.d.ts +23 -0
  51. package/dist/components/form/index.mjs +13 -0
  52. package/dist/components/form/index.mjs.map +1 -0
  53. package/dist/components/form/src/form.d.ts +208 -0
  54. package/dist/components/form/src/form.mjs +120 -0
  55. package/dist/components/form/src/form.mjs.map +1 -0
  56. package/dist/components/form/src/formItem.d.ts +208 -0
  57. package/dist/components/form/src/formItem.mjs +86 -0
  58. package/dist/components/form/src/formItem.mjs.map +1 -0
  59. package/dist/components/form/utils/form.d.ts +83 -0
  60. package/dist/components/form/utils/form.mjs +176 -0
  61. package/dist/components/form/utils/form.mjs.map +1 -0
  62. package/dist/components/formItemTip/index.d.ts +12 -0
  63. package/dist/components/formItemTip/index.mjs +9 -0
  64. package/dist/components/formItemTip/index.mjs.map +1 -0
  65. package/dist/components/formItemTip/src/formItemTip.d.ts +24 -0
  66. package/dist/components/formItemTip/src/formItemTip.mjs +30 -0
  67. package/dist/components/formItemTip/src/formItemTip.mjs.map +1 -0
  68. package/dist/components/icon/index.d.ts +12 -0
  69. package/dist/components/icon/index.mjs +9 -0
  70. package/dist/components/icon/index.mjs.map +1 -0
  71. package/dist/components/icon/src/icon.d.ts +40 -0
  72. package/dist/components/icon/src/icon.mjs +54 -0
  73. package/dist/components/icon/src/icon.mjs.map +1 -0
  74. package/dist/components/iconSelector/index.d.ts +7 -0
  75. package/dist/components/iconSelector/index.mjs +9 -0
  76. package/dist/components/iconSelector/index.mjs.map +1 -0
  77. package/dist/components/iconSelector/src/iconSelector.d.ts +35 -0
  78. package/dist/components/iconSelector/src/iconSelector.mjs +147 -0
  79. package/dist/components/iconSelector/src/iconSelector.mjs.map +1 -0
  80. package/dist/components/image/index.d.ts +12 -0
  81. package/dist/components/image/index.mjs +9 -0
  82. package/dist/components/image/index.mjs.map +1 -0
  83. package/dist/components/image/src/image.d.ts +277 -0
  84. package/dist/components/image/src/image.mjs +97 -0
  85. package/dist/components/image/src/image.mjs.map +1 -0
  86. package/dist/components/index.d.ts +22 -0
  87. package/dist/components/index.mjs +124 -0
  88. package/dist/components/index.mjs.map +1 -0
  89. package/dist/components/inputDialogPage/index.d.ts +14 -0
  90. package/dist/components/inputDialogPage/index.mjs +9 -0
  91. package/dist/components/inputDialogPage/index.mjs.map +1 -0
  92. package/dist/components/inputDialogPage/src/inputDialogPage.d.ts +134 -0
  93. package/dist/components/inputDialogPage/src/inputDialogPage.mjs +154 -0
  94. package/dist/components/inputDialogPage/src/inputDialogPage.mjs.map +1 -0
  95. package/dist/components/layoutGrid/index.d.ts +17 -0
  96. package/dist/components/layoutGrid/index.mjs +12 -0
  97. package/dist/components/layoutGrid/index.mjs.map +1 -0
  98. package/dist/components/layoutGrid/src/layoutGrid.d.ts +61 -0
  99. package/dist/components/layoutGrid/src/layoutGrid.mjs +163 -0
  100. package/dist/components/layoutGrid/src/layoutGrid.mjs.map +1 -0
  101. package/dist/components/layoutGrid/src/layoutGrid.type.d.ts +7 -0
  102. package/dist/components/layoutGrid/src/layoutGridItem.d.ts +101 -0
  103. package/dist/components/layoutGrid/src/layoutGridItem.mjs +85 -0
  104. package/dist/components/layoutGrid/src/layoutGridItem.mjs.map +1 -0
  105. package/dist/components/select/index.d.ts +23 -0
  106. package/dist/components/select/index.mjs +12 -0
  107. package/dist/components/select/index.mjs.map +1 -0
  108. package/dist/components/select/src/select.d.ts +618 -0
  109. package/dist/components/select/src/select.mjs +349 -0
  110. package/dist/components/select/src/select.mjs.map +1 -0
  111. package/dist/components/select/src/select.type.d.ts +32 -0
  112. package/dist/components/select/src/selectOption.d.ts +59 -0
  113. package/dist/components/select/src/selectOption.mjs +69 -0
  114. package/dist/components/select/src/selectOption.mjs.map +1 -0
  115. package/dist/components/selectPage/index.d.ts +14 -0
  116. package/dist/components/selectPage/index.mjs +9 -0
  117. package/dist/components/selectPage/index.mjs.map +1 -0
  118. package/dist/components/selectPage/src/selectPage.d.ts +583 -0
  119. package/dist/components/selectPage/src/selectPage.mjs +388 -0
  120. package/dist/components/selectPage/src/selectPage.mjs.map +1 -0
  121. package/dist/components/selectV2/index.d.ts +15 -0
  122. package/dist/components/selectV2/index.mjs +9 -0
  123. package/dist/components/selectV2/index.mjs.map +1 -0
  124. package/dist/components/selectV2/src/selectV2.d.ts +1477 -0
  125. package/dist/components/selectV2/src/selectV2.mjs +649 -0
  126. package/dist/components/selectV2/src/selectV2.mjs.map +1 -0
  127. package/dist/components/table/images/artwork.mjs +6 -0
  128. package/dist/components/table/images/artwork.mjs.map +1 -0
  129. package/dist/components/table/images/notImage.mjs +6 -0
  130. package/dist/components/table/images/notImage.mjs.map +1 -0
  131. package/dist/components/table/index.d.ts +34 -0
  132. package/dist/components/table/index.mjs +25 -0
  133. package/dist/components/table/index.mjs.map +1 -0
  134. package/dist/components/table/src/page.type.d.ts +145 -0
  135. package/dist/components/table/src/page.type.mjs +45 -0
  136. package/dist/components/table/src/page.type.mjs.map +1 -0
  137. package/dist/components/table/src/table.d.ts +1522 -0
  138. package/dist/components/table/src/table.mjs +1012 -0
  139. package/dist/components/table/src/table.mjs.map +1 -0
  140. package/dist/components/table/src/table.state.d.ts +113 -0
  141. package/dist/components/table/src/table.type.d.ts +266 -0
  142. package/dist/components/table/src/table.type.mjs +20 -0
  143. package/dist/components/table/src/table.type.mjs.map +1 -0
  144. package/dist/components/table/src/tableColumn.d.ts +666 -0
  145. package/dist/components/table/src/tableColumn.mjs +604 -0
  146. package/dist/components/table/src/tableColumn.mjs.map +1 -0
  147. package/dist/components/table/src/tableColumnSettingDialog.d.ts +18 -0
  148. package/dist/components/table/src/tableColumnSettingDialog.mjs +307 -0
  149. package/dist/components/table/src/tableColumnSettingDialog.mjs.map +1 -0
  150. package/dist/components/table/src/tablePagination.d.ts +24 -0
  151. package/dist/components/table/src/tablePagination.mjs +58 -0
  152. package/dist/components/table/src/tablePagination.mjs.map +1 -0
  153. package/dist/components/table/src/tableSearchForm.d.ts +86 -0
  154. package/dist/components/table/src/tableSearchForm.mjs +229 -0
  155. package/dist/components/table/src/tableSearchForm.mjs.map +1 -0
  156. package/dist/components/table/src/tableSearchFormItem.d.ts +35 -0
  157. package/dist/components/table/src/tableSearchFormItem.mjs +216 -0
  158. package/dist/components/table/src/tableSearchFormItem.mjs.map +1 -0
  159. package/dist/components/table/src/useTable.d.ts +44 -0
  160. package/dist/components/table/src/useTable.mjs +408 -0
  161. package/dist/components/table/src/useTable.mjs.map +1 -0
  162. package/dist/components/table/utils/table.d.ts +46 -0
  163. package/dist/components/table/utils/table.mjs +113 -0
  164. package/dist/components/table/utils/table.mjs.map +1 -0
  165. package/dist/components/tree/index.d.ts +15 -0
  166. package/dist/components/tree/index.mjs +9 -0
  167. package/dist/components/tree/index.mjs.map +1 -0
  168. package/dist/components/tree/src/tree.d.ts +579 -0
  169. package/dist/components/tree/src/tree.mjs +339 -0
  170. package/dist/components/tree/src/tree.mjs.map +1 -0
  171. package/dist/components/tree/src/tree.props.d.ts +33 -0
  172. package/dist/components/tree/src/tree.type.d.ts +38 -0
  173. package/dist/components/treeSelect/index.d.ts +14 -0
  174. package/dist/components/treeSelect/index.mjs +9 -0
  175. package/dist/components/treeSelect/index.mjs.map +1 -0
  176. package/dist/components/treeSelect/src/treeSelect.d.ts +1036 -0
  177. package/dist/components/treeSelect/src/treeSelect.mjs +463 -0
  178. package/dist/components/treeSelect/src/treeSelect.mjs.map +1 -0
  179. package/dist/components/upload/index.d.ts +14 -0
  180. package/dist/components/upload/index.mjs +9 -0
  181. package/dist/components/upload/index.mjs.map +1 -0
  182. package/dist/components/upload/src/upload.d.ts +488 -0
  183. package/dist/components/upload/src/upload.mjs +136 -0
  184. package/dist/components/upload/src/upload.mjs.map +1 -0
  185. package/dist/components/upload/src/useUpload.d.ts +35 -0
  186. package/dist/components/upload/src/useUpload.mjs +170 -0
  187. package/dist/components/upload/src/useUpload.mjs.map +1 -0
  188. package/dist/components/upload/utils/upload.d.ts +34 -0
  189. package/dist/components/upload/utils/upload.mjs +108 -0
  190. package/dist/components/upload/utils/upload.mjs.map +1 -0
  191. package/dist/components/uploadImage/index.d.ts +14 -0
  192. package/dist/components/uploadImage/index.mjs +9 -0
  193. package/dist/components/uploadImage/index.mjs.map +1 -0
  194. package/dist/components/uploadImage/src/uploadImage.d.ts +538 -0
  195. package/dist/components/uploadImage/src/uploadImage.mjs +203 -0
  196. package/dist/components/uploadImage/src/uploadImage.mjs.map +1 -0
  197. package/dist/components/uploadImages/index.d.ts +15 -0
  198. package/dist/components/uploadImages/index.mjs +9 -0
  199. package/dist/components/uploadImages/index.mjs.map +1 -0
  200. package/dist/components/uploadImages/src/uploadImages.d.ts +507 -0
  201. package/dist/components/uploadImages/src/uploadImages.mjs +186 -0
  202. package/dist/components/uploadImages/src/uploadImages.mjs.map +1 -0
  203. package/dist/constants/index.d.ts +2 -0
  204. package/dist/constants/mime.d.ts +59 -0
  205. package/dist/constants/mime.mjs +64 -0
  206. package/dist/constants/mime.mjs.map +1 -0
  207. package/dist/constants/regex.d.ts +76 -0
  208. package/dist/constants/regex.mjs +81 -0
  209. package/dist/constants/regex.mjs.map +1 -0
  210. package/dist/directive.d.ts +4 -0
  211. package/dist/directive.mjs +20 -0
  212. package/dist/directive.mjs.map +1 -0
  213. package/dist/directives/click-copy/index.d.ts +3 -0
  214. package/dist/directives/click-copy/index.mjs +39 -0
  215. package/dist/directives/click-copy/index.mjs.map +1 -0
  216. package/dist/directives/click-debounce/index.d.ts +7 -0
  217. package/dist/directives/click-debounce/index.mjs +17 -0
  218. package/dist/directives/click-debounce/index.mjs.map +1 -0
  219. package/dist/directives/click-draggable/index.d.ts +3 -0
  220. package/dist/directives/click-draggable/index.mjs +31 -0
  221. package/dist/directives/click-draggable/index.mjs.map +1 -0
  222. package/dist/directives/click-icon-copy/index.d.ts +3 -0
  223. package/dist/directives/click-icon-copy/index.mjs +47 -0
  224. package/dist/directives/click-icon-copy/index.mjs.map +1 -0
  225. package/dist/directives/click-longpress/index.d.ts +3 -0
  226. package/dist/directives/click-longpress/index.mjs +31 -0
  227. package/dist/directives/click-longpress/index.mjs.map +1 -0
  228. package/dist/directives/click-throttle/index.d.ts +7 -0
  229. package/dist/directives/click-throttle/index.mjs +26 -0
  230. package/dist/directives/click-throttle/index.mjs.map +1 -0
  231. package/dist/directives/index.d.ts +6 -0
  232. package/dist/element-plus.d.ts +8 -0
  233. package/dist/element-plus.mjs +172 -0
  234. package/dist/element-plus.mjs.map +1 -0
  235. package/dist/global.d.ts +58 -0
  236. package/dist/hooks/index.d.ts +3 -0
  237. package/dist/hooks/use-loading/index.d.ts +7 -0
  238. package/dist/hooks/use-loading/index.mjs +43 -0
  239. package/dist/hooks/use-loading/index.mjs.map +1 -0
  240. package/dist/hooks/use-overlay/index.d.ts +11 -0
  241. package/dist/hooks/use-overlay/index.mjs +33 -0
  242. package/dist/hooks/use-overlay/index.mjs.map +1 -0
  243. package/dist/hooks/use-screenFull/index.d.ts +15 -0
  244. package/dist/hooks/use-screenFull/index.mjs +56 -0
  245. package/dist/hooks/use-screenFull/index.mjs.map +1 -0
  246. package/dist/index.css +1 -0
  247. package/dist/index.css.map +1 -0
  248. package/dist/index.d.ts +20 -0
  249. package/dist/index.global.min.js +23 -0
  250. package/dist/index.global.min.js.map +1 -0
  251. package/dist/index.mjs +71 -0
  252. package/dist/index.mjs.map +1 -0
  253. package/dist/make-installer.d.ts +8 -0
  254. package/dist/make-installer.mjs +28 -0
  255. package/dist/make-installer.mjs.map +1 -0
  256. package/dist/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.41_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.mjs +100 -0
  257. package/dist/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.41_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.mjs.map +1 -0
  258. package/dist/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.41_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.mjs +25 -0
  259. package/dist/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.41_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.mjs.map +1 -0
  260. package/dist/node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.mjs +1997 -0
  261. package/dist/node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.mjs.map +1 -0
  262. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.mjs +8 -0
  263. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.mjs.map +1 -0
  264. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.mjs +30 -0
  265. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.mjs.map +1 -0
  266. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.mjs +30 -0
  267. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.mjs.map +1 -0
  268. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.mjs +8 -0
  269. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.mjs.map +1 -0
  270. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.mjs +30 -0
  271. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.mjs.map +1 -0
  272. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.mjs +8 -0
  273. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.mjs.map +1 -0
  274. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.mjs +8 -0
  275. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.mjs.map +1 -0
  276. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.mjs +23 -0
  277. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.mjs.map +1 -0
  278. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.mjs +27 -0
  279. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.mjs.map +1 -0
  280. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.mjs +8 -0
  281. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.mjs.map +1 -0
  282. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.mjs +8 -0
  283. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.mjs.map +1 -0
  284. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.mjs +8 -0
  285. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.mjs.map +1 -0
  286. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.mjs +24 -0
  287. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.mjs.map +1 -0
  288. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.mjs +19 -0
  289. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.mjs.map +1 -0
  290. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.mjs +22 -0
  291. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.mjs.map +1 -0
  292. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.mjs +26 -0
  293. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.mjs.map +1 -0
  294. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.mjs +19 -0
  295. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.mjs.map +1 -0
  296. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.mjs +18 -0
  297. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.mjs.map +1 -0
  298. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.mjs +20 -0
  299. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.mjs.map +1 -0
  300. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.mjs +23 -0
  301. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.mjs.map +1 -0
  302. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.mjs +19 -0
  303. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.mjs.map +1 -0
  304. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.mjs +19 -0
  305. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.mjs.map +1 -0
  306. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.mjs +19 -0
  307. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.mjs.map +1 -0
  308. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.mjs +24 -0
  309. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.mjs.map +1 -0
  310. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.mjs +118 -0
  311. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.mjs.map +1 -0
  312. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.mjs +27 -0
  313. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.mjs.map +1 -0
  314. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.mjs +31 -0
  315. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.mjs.map +1 -0
  316. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.mjs +21 -0
  317. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.mjs.map +1 -0
  318. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.mjs +22 -0
  319. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.mjs.map +1 -0
  320. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.mjs +24 -0
  321. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.mjs.map +1 -0
  322. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.mjs +19 -0
  323. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.mjs.map +1 -0
  324. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.mjs +26 -0
  325. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.mjs.map +1 -0
  326. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.mjs +61 -0
  327. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.mjs.map +1 -0
  328. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.mjs +19 -0
  329. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.mjs.map +1 -0
  330. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.mjs +37 -0
  331. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.mjs.map +1 -0
  332. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.mjs +19 -0
  333. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.mjs.map +1 -0
  334. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.mjs +47 -0
  335. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.mjs.map +1 -0
  336. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.mjs +22 -0
  337. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.mjs.map +1 -0
  338. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.mjs +23 -0
  339. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.mjs.map +1 -0
  340. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.mjs +24 -0
  341. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.mjs.map +1 -0
  342. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSlice.mjs +25 -0
  343. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSlice.mjs.map +1 -0
  344. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.mjs +19 -0
  345. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.mjs.map +1 -0
  346. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.mjs +29 -0
  347. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.mjs.map +1 -0
  348. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.mjs +17 -0
  349. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.mjs.map +1 -0
  350. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnset.mjs +31 -0
  351. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnset.mjs.map +1 -0
  352. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.mjs +16 -0
  353. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.mjs.map +1 -0
  354. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.mjs +21 -0
  355. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.mjs.map +1 -0
  356. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.mjs +18 -0
  357. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.mjs.map +1 -0
  358. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.mjs +27 -0
  359. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.mjs.map +1 -0
  360. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.mjs +18 -0
  361. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.mjs.map +1 -0
  362. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.mjs +19 -0
  363. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.mjs.map +1 -0
  364. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.mjs +19 -0
  365. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.mjs.map +1 -0
  366. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.mjs +18 -0
  367. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.mjs.map +1 -0
  368. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.mjs +19 -0
  369. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.mjs.map +1 -0
  370. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.mjs +30 -0
  371. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.mjs.map +1 -0
  372. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.mjs +18 -0
  373. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.mjs.map +1 -0
  374. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.mjs +18 -0
  375. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.mjs.map +1 -0
  376. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.mjs +8 -0
  377. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.mjs.map +1 -0
  378. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_customOmitClone.mjs +18 -0
  379. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_customOmitClone.mjs.map +1 -0
  380. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.mjs +13 -0
  381. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.mjs.map +1 -0
  382. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.mjs +57 -0
  383. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.mjs.map +1 -0
  384. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.mjs +77 -0
  385. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.mjs.map +1 -0
  386. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.mjs +56 -0
  387. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.mjs.map +1 -0
  388. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.mjs +18 -0
  389. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.mjs.map +1 -0
  390. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.mjs +7 -0
  391. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.mjs.map +1 -0
  392. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.mjs +18 -0
  393. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.mjs.map +1 -0
  394. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.mjs +19 -0
  395. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.mjs.map +1 -0
  396. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.mjs +18 -0
  397. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.mjs.map +1 -0
  398. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.mjs +19 -0
  399. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.mjs.map +1 -0
  400. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.mjs +8 -0
  401. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.mjs.map +1 -0
  402. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.mjs +38 -0
  403. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.mjs.map +1 -0
  404. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.mjs +24 -0
  405. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.mjs.map +1 -0
  406. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.mjs +24 -0
  407. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.mjs.map +1 -0
  408. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.mjs +45 -0
  409. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.mjs.map +1 -0
  410. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.mjs +16 -0
  411. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.mjs.map +1 -0
  412. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.mjs +17 -0
  413. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.mjs.map +1 -0
  414. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.mjs +20 -0
  415. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.mjs.map +1 -0
  416. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.mjs +27 -0
  417. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.mjs.map +1 -0
  418. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.mjs +21 -0
  419. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.mjs.map +1 -0
  420. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.mjs +24 -0
  421. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.mjs.map +1 -0
  422. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.mjs +22 -0
  423. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.mjs.map +1 -0
  424. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.mjs +66 -0
  425. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.mjs.map +1 -0
  426. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.mjs +18 -0
  427. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.mjs.map +1 -0
  428. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.mjs +20 -0
  429. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.mjs.map +1 -0
  430. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.mjs +22 -0
  431. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.mjs.map +1 -0
  432. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.mjs +24 -0
  433. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.mjs.map +1 -0
  434. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.mjs +16 -0
  435. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.mjs.map +1 -0
  436. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.mjs +21 -0
  437. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.mjs.map +1 -0
  438. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.mjs +18 -0
  439. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.mjs.map +1 -0
  440. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.mjs +16 -0
  441. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.mjs.map +1 -0
  442. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.mjs +25 -0
  443. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.mjs.map +1 -0
  444. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.mjs +19 -0
  445. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.mjs.map +1 -0
  446. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.mjs +18 -0
  447. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.mjs.map +1 -0
  448. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.mjs +24 -0
  449. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.mjs.map +1 -0
  450. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.mjs +23 -0
  451. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.mjs.map +1 -0
  452. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.mjs +20 -0
  453. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.mjs.map +1 -0
  454. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.mjs +18 -0
  455. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.mjs.map +1 -0
  456. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.mjs +18 -0
  457. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.mjs.map +1 -0
  458. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.mjs +22 -0
  459. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.mjs.map +1 -0
  460. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.mjs +19 -0
  461. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.mjs.map +1 -0
  462. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.mjs +24 -0
  463. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.mjs.map +1 -0
  464. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.mjs +7 -0
  465. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.mjs.map +1 -0
  466. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.mjs +7 -0
  467. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.mjs.map +1 -0
  468. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.mjs +19 -0
  469. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.mjs.map +1 -0
  470. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.mjs +20 -0
  471. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.mjs.map +1 -0
  472. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.mjs +21 -0
  473. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.mjs.map +1 -0
  474. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.mjs +18 -0
  475. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.mjs.map +1 -0
  476. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.mjs +28 -0
  477. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.mjs.map +1 -0
  478. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_parent.mjs +18 -0
  479. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_parent.mjs.map +1 -0
  480. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.mjs +10 -0
  481. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.mjs.map +1 -0
  482. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.mjs +21 -0
  483. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.mjs.map +1 -0
  484. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.mjs +17 -0
  485. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.mjs.map +1 -0
  486. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.mjs +19 -0
  487. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.mjs.map +1 -0
  488. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.mjs +16 -0
  489. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.mjs.map +1 -0
  490. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.mjs +29 -0
  491. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.mjs.map +1 -0
  492. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.mjs +17 -0
  493. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.mjs.map +1 -0
  494. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.mjs +19 -0
  495. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.mjs.map +1 -0
  496. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.mjs +17 -0
  497. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.mjs.map +1 -0
  498. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.mjs +17 -0
  499. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.mjs.map +1 -0
  500. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.mjs +35 -0
  501. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.mjs.map +1 -0
  502. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.mjs +25 -0
  503. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.mjs.map +1 -0
  504. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.mjs +20 -0
  505. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.mjs.map +1 -0
  506. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.mjs +25 -0
  507. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.mjs.map +1 -0
  508. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.mjs +29 -0
  509. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.mjs.map +1 -0
  510. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.mjs +40 -0
  511. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.mjs.map +1 -0
  512. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/flatten.mjs +23 -0
  513. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/flatten.mjs.map +1 -0
  514. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.mjs +24 -0
  515. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.mjs.map +1 -0
  516. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.mjs +36 -0
  517. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.mjs.map +1 -0
  518. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.mjs +29 -0
  519. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.mjs.map +1 -0
  520. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.mjs +35 -0
  521. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.mjs.map +1 -0
  522. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBoolean.mjs +29 -0
  523. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBoolean.mjs.map +1 -0
  524. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.mjs +31 -0
  525. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.mjs.map +1 -0
  526. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.mjs +37 -0
  527. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.mjs.map +1 -0
  528. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.mjs +34 -0
  529. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.mjs.map +1 -0
  530. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.mjs +36 -0
  531. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.mjs.map +1 -0
  532. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.mjs +27 -0
  533. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.mjs.map +1 -0
  534. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNil.mjs +28 -0
  535. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNil.mjs.map +1 -0
  536. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNull.mjs +25 -0
  537. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNull.mjs.map +1 -0
  538. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNumber.mjs +38 -0
  539. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNumber.mjs.map +1 -0
  540. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.mjs +34 -0
  541. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.mjs.map +1 -0
  542. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.mjs +32 -0
  543. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.mjs.map +1 -0
  544. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.mjs +54 -0
  545. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.mjs.map +1 -0
  546. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.mjs +27 -0
  547. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.mjs.map +1 -0
  548. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isString.mjs +30 -0
  549. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isString.mjs.map +1 -0
  550. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.mjs +29 -0
  551. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.mjs.map +1 -0
  552. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.mjs +27 -0
  553. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.mjs.map +1 -0
  554. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isUndefined.mjs +25 -0
  555. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isUndefined.mjs.map +1 -0
  556. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.mjs +39 -0
  557. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.mjs.map +1 -0
  558. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.mjs +34 -0
  559. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.mjs.map +1 -0
  560. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/last.mjs +23 -0
  561. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/last.mjs.map +1 -0
  562. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.mjs +65 -0
  563. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.mjs.map +1 -0
  564. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/omit.mjs +52 -0
  565. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/omit.mjs.map +1 -0
  566. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.mjs +26 -0
  567. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.mjs.map +1 -0
  568. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.mjs +21 -0
  569. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.mjs.map +1 -0
  570. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.mjs +30 -0
  571. package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.mjs.map +1 -0
  572. package/dist/node_modules/.pnpm/screenfull@6.0.2/node_modules/screenfull/index.mjs +120 -0
  573. package/dist/node_modules/.pnpm/screenfull@6.0.2/node_modules/screenfull/index.mjs.map +1 -0
  574. package/dist/node_modules/.pnpm/sortablejs@1.15.7/node_modules/sortablejs/modular/sortable.esm.mjs +1925 -0
  575. package/dist/node_modules/.pnpm/sortablejs@1.15.7/node_modules/sortablejs/modular/sortable.esm.mjs.map +1 -0
  576. package/dist/utils/async/index.d.ts +35 -0
  577. package/dist/utils/async/index.mjs +94 -0
  578. package/dist/utils/async/index.mjs.map +1 -0
  579. package/dist/utils/date/index.d.ts +74 -0
  580. package/dist/utils/date/index.mjs +190 -0
  581. package/dist/utils/date/index.mjs.map +1 -0
  582. package/dist/utils/dom/index.d.ts +9 -0
  583. package/dist/utils/dom/index.mjs +35 -0
  584. package/dist/utils/dom/index.mjs.map +1 -0
  585. package/dist/utils/index.d.ts +10 -0
  586. package/dist/utils/string/index.d.ts +20 -0
  587. package/dist/utils/string/index.mjs +101 -0
  588. package/dist/utils/string/index.mjs.map +1 -0
  589. package/dist/utils/vue/emits.d.ts +23 -0
  590. package/dist/utils/vue/emits.mjs +47 -0
  591. package/dist/utils/vue/emits.mjs.map +1 -0
  592. package/dist/utils/vue/expose.d.ts +8 -0
  593. package/dist/utils/vue/expose.mjs +16 -0
  594. package/dist/utils/vue/expose.mjs.map +1 -0
  595. package/dist/utils/vue/func.d.ts +10 -0
  596. package/dist/utils/vue/func.mjs +16 -0
  597. package/dist/utils/vue/func.mjs.map +1 -0
  598. package/dist/utils/vue/index.d.ts +13 -0
  599. package/dist/utils/vue/install.d.ts +47 -0
  600. package/dist/utils/vue/install.mjs +123 -0
  601. package/dist/utils/vue/install.mjs.map +1 -0
  602. package/dist/utils/vue/props.d.ts +19 -0
  603. package/dist/utils/vue/props.mjs +41 -0
  604. package/dist/utils/vue/props.mjs.map +1 -0
  605. package/dist/utils/vue/render.d.ts +8 -0
  606. package/dist/utils/vue/render.mjs +17 -0
  607. package/dist/utils/vue/render.mjs.map +1 -0
  608. package/dist/utils/vue/slots.d.ts +18 -0
  609. package/dist/utils/vue/slots.mjs +13 -0
  610. package/dist/utils/vue/slots.mjs.map +1 -0
  611. package/dist/utils/vue/with.d.ts +8 -0
  612. package/dist/utils/vue/with.mjs +15 -0
  613. package/dist/utils/vue/with.mjs.map +1 -0
  614. package/dist/version.d.ts +2 -0
  615. package/dist/version.mjs +7 -0
  616. package/dist/version.mjs.map +1 -0
  617. package/package.json +91 -101
  618. package/dist/index.full.js +0 -27745
  619. package/dist/index.full.js.map +0 -1
  620. package/dist/index.full.min.js +0 -11042
  621. package/dist/index.full.min.js.map +0 -1
  622. package/dist/index.full.min.mjs +0 -11033
  623. package/dist/index.full.min.mjs.map +0 -1
  624. package/dist/index.full.mjs +0 -27737
  625. package/dist/index.full.mjs.map +0 -1
  626. package/dist/styles/index.css +0 -1003
  627. package/dist/styles/index.css.map +0 -1
  628. package/es/_virtual/_rolldown/runtime.mjs +0 -1
  629. package/es/component.d.ts +0 -3
  630. package/es/component.mjs +0 -2
  631. package/es/component.mjs.map +0 -1
  632. package/es/components/avatar/index.d.ts +0 -14
  633. package/es/components/avatar/index.mjs +0 -2
  634. package/es/components/avatar/index.mjs.map +0 -1
  635. package/es/components/avatar/src/avatar.d.ts +0 -125
  636. package/es/components/avatar/src/avatar.mjs +0 -2
  637. package/es/components/avatar/src/avatar.mjs.map +0 -1
  638. package/es/components/button/index.d.ts +0 -15
  639. package/es/components/button/index.mjs +0 -2
  640. package/es/components/button/index.mjs.map +0 -1
  641. package/es/components/button/src/button.d.ts +0 -177
  642. package/es/components/button/src/button.mjs +0 -2
  643. package/es/components/button/src/button.mjs.map +0 -1
  644. package/es/components/carNumber/index.d.ts +0 -9
  645. package/es/components/carNumber/index.mjs +0 -2
  646. package/es/components/carNumber/index.mjs.map +0 -1
  647. package/es/components/carNumber/src/carNumber.d.ts +0 -228
  648. package/es/components/carNumber/src/carNumber.mjs +0 -2
  649. package/es/components/carNumber/src/carNumber.mjs.map +0 -1
  650. package/es/components/carNumber/src/common.d.ts +0 -15
  651. package/es/components/carNumber/src/common.mjs +0 -2
  652. package/es/components/carNumber/src/common.mjs.map +0 -1
  653. package/es/components/contextMenu/index.d.ts +0 -9
  654. package/es/components/contextMenu/index.mjs +0 -2
  655. package/es/components/contextMenu/index.mjs.map +0 -1
  656. package/es/components/contextMenu/src/contextMenu.d.ts +0 -32
  657. package/es/components/contextMenu/src/contextMenu.mjs +0 -2
  658. package/es/components/contextMenu/src/contextMenu.mjs.map +0 -1
  659. package/es/components/contextMenu/src/contextMenu.type.d.ts +0 -33
  660. package/es/components/dialog/index.d.ts +0 -14
  661. package/es/components/dialog/index.mjs +0 -2
  662. package/es/components/dialog/index.mjs.map +0 -1
  663. package/es/components/dialog/src/dialog.d.ts +0 -454
  664. package/es/components/dialog/src/dialog.mjs +0 -2
  665. package/es/components/dialog/src/dialog.mjs.map +0 -1
  666. package/es/components/drawer/index.d.ts +0 -14
  667. package/es/components/drawer/index.mjs +0 -2
  668. package/es/components/drawer/index.mjs.map +0 -1
  669. package/es/components/drawer/src/drawer.d.ts +0 -458
  670. package/es/components/drawer/src/drawer.mjs +0 -2
  671. package/es/components/drawer/src/drawer.mjs.map +0 -1
  672. package/es/components/form/index.d.ts +0 -23
  673. package/es/components/form/index.mjs +0 -2
  674. package/es/components/form/index.mjs.map +0 -1
  675. package/es/components/form/src/form.d.ts +0 -194
  676. package/es/components/form/src/form.mjs +0 -2
  677. package/es/components/form/src/form.mjs.map +0 -1
  678. package/es/components/form/src/formItem.d.ts +0 -204
  679. package/es/components/form/src/formItem.mjs +0 -2
  680. package/es/components/form/src/formItem.mjs.map +0 -1
  681. package/es/components/form/utils/form.d.ts +0 -81
  682. package/es/components/form/utils/form.mjs +0 -2
  683. package/es/components/form/utils/form.mjs.map +0 -1
  684. package/es/components/formItemTip/index.d.ts +0 -12
  685. package/es/components/formItemTip/index.mjs +0 -2
  686. package/es/components/formItemTip/index.mjs.map +0 -1
  687. package/es/components/formItemTip/src/formItemTip.d.ts +0 -22
  688. package/es/components/formItemTip/src/formItemTip.mjs +0 -2
  689. package/es/components/formItemTip/src/formItemTip.mjs.map +0 -1
  690. package/es/components/icon/index.d.ts +0 -12
  691. package/es/components/icon/index.mjs +0 -2
  692. package/es/components/icon/index.mjs.map +0 -1
  693. package/es/components/icon/src/icon.d.ts +0 -39
  694. package/es/components/icon/src/icon.mjs +0 -2
  695. package/es/components/icon/src/icon.mjs.map +0 -1
  696. package/es/components/iconSelector/index.d.ts +0 -7
  697. package/es/components/iconSelector/index.mjs +0 -2
  698. package/es/components/iconSelector/index.mjs.map +0 -1
  699. package/es/components/iconSelector/src/iconSelector.d.ts +0 -23
  700. package/es/components/iconSelector/src/iconSelector.mjs +0 -2
  701. package/es/components/iconSelector/src/iconSelector.mjs.map +0 -1
  702. package/es/components/image/index.d.ts +0 -12
  703. package/es/components/image/index.mjs +0 -2
  704. package/es/components/image/index.mjs.map +0 -1
  705. package/es/components/image/src/image.d.ts +0 -232
  706. package/es/components/image/src/image.mjs +0 -2
  707. package/es/components/image/src/image.mjs.map +0 -1
  708. package/es/components/index.d.ts +0 -22
  709. package/es/components/index.mjs +0 -2
  710. package/es/components/index.mjs.map +0 -1
  711. package/es/components/inputDialogPage/index.d.ts +0 -14
  712. package/es/components/inputDialogPage/index.mjs +0 -2
  713. package/es/components/inputDialogPage/index.mjs.map +0 -1
  714. package/es/components/inputDialogPage/src/inputDialogPage.d.ts +0 -132
  715. package/es/components/inputDialogPage/src/inputDialogPage.mjs +0 -2
  716. package/es/components/inputDialogPage/src/inputDialogPage.mjs.map +0 -1
  717. package/es/components/layoutGrid/index.d.ts +0 -16
  718. package/es/components/layoutGrid/index.mjs +0 -2
  719. package/es/components/layoutGrid/index.mjs.map +0 -1
  720. package/es/components/layoutGrid/src/layoutGrid.d.ts +0 -60
  721. package/es/components/layoutGrid/src/layoutGrid.mjs +0 -2
  722. package/es/components/layoutGrid/src/layoutGrid.mjs.map +0 -1
  723. package/es/components/layoutGrid/src/layoutGrid.type.d.ts +0 -12
  724. package/es/components/layoutGrid/src/layoutGrid.type.mjs +0 -0
  725. package/es/components/layoutGrid/src/layoutGridItem.d.ts +0 -100
  726. package/es/components/layoutGrid/src/layoutGridItem.mjs +0 -2
  727. package/es/components/layoutGrid/src/layoutGridItem.mjs.map +0 -1
  728. package/es/components/select/index.d.ts +0 -22
  729. package/es/components/select/index.mjs +0 -2
  730. package/es/components/select/index.mjs.map +0 -1
  731. package/es/components/select/src/select.d.ts +0 -1206
  732. package/es/components/select/src/select.mjs +0 -2
  733. package/es/components/select/src/select.mjs.map +0 -1
  734. package/es/components/select/src/select.type.d.ts +0 -28
  735. package/es/components/select/src/select.type.mjs +0 -0
  736. package/es/components/select/src/selectOption.d.ts +0 -99
  737. package/es/components/select/src/selectOption.mjs +0 -2
  738. package/es/components/select/src/selectOption.mjs.map +0 -1
  739. package/es/components/selectPage/index.d.ts +0 -14
  740. package/es/components/selectPage/index.mjs +0 -2
  741. package/es/components/selectPage/index.mjs.map +0 -1
  742. package/es/components/selectPage/src/selectPage.d.ts +0 -609
  743. package/es/components/selectPage/src/selectPage.mjs +0 -2
  744. package/es/components/selectPage/src/selectPage.mjs.map +0 -1
  745. package/es/components/selectV2/index.d.ts +0 -14
  746. package/es/components/selectV2/index.mjs +0 -2
  747. package/es/components/selectV2/index.mjs.map +0 -1
  748. package/es/components/selectV2/src/selectV2.d.ts +0 -1399
  749. package/es/components/selectV2/src/selectV2.mjs +0 -2
  750. package/es/components/selectV2/src/selectV2.mjs.map +0 -1
  751. package/es/components/table/images/artwork.mjs +0 -2
  752. package/es/components/table/images/artwork.mjs.map +0 -1
  753. package/es/components/table/images/index.d.ts +0 -4
  754. package/es/components/table/images/notImage.mjs +0 -2
  755. package/es/components/table/images/notImage.mjs.map +0 -1
  756. package/es/components/table/index.d.ts +0 -35
  757. package/es/components/table/index.mjs +0 -2
  758. package/es/components/table/index.mjs.map +0 -1
  759. package/es/components/table/src/page.type.d.ts +0 -145
  760. package/es/components/table/src/page.type.mjs +0 -2
  761. package/es/components/table/src/page.type.mjs.map +0 -1
  762. package/es/components/table/src/table.d.ts +0 -1439
  763. package/es/components/table/src/table.mjs +0 -2
  764. package/es/components/table/src/table.mjs.map +0 -1
  765. package/es/components/table/src/table.state.d.ts +0 -111
  766. package/es/components/table/src/table.state.mjs +0 -0
  767. package/es/components/table/src/table.type.d.ts +0 -261
  768. package/es/components/table/src/table.type.mjs +0 -2
  769. package/es/components/table/src/table.type.mjs.map +0 -1
  770. package/es/components/table/src/tableColumn.d.ts +0 -658
  771. package/es/components/table/src/tableColumn.mjs +0 -2
  772. package/es/components/table/src/tableColumn.mjs.map +0 -1
  773. package/es/components/table/src/tableColumnSettingDialog.d.ts +0 -18
  774. package/es/components/table/src/tableColumnSettingDialog.mjs +0 -2
  775. package/es/components/table/src/tableColumnSettingDialog.mjs.map +0 -1
  776. package/es/components/table/src/tablePagination.d.ts +0 -24
  777. package/es/components/table/src/tablePagination.mjs +0 -2
  778. package/es/components/table/src/tablePagination.mjs.map +0 -1
  779. package/es/components/table/src/tableSearchForm.d.ts +0 -88
  780. package/es/components/table/src/tableSearchForm.mjs +0 -2
  781. package/es/components/table/src/tableSearchForm.mjs.map +0 -1
  782. package/es/components/table/src/tableSearchFormItem.d.ts +0 -37
  783. package/es/components/table/src/tableSearchFormItem.mjs +0 -2
  784. package/es/components/table/src/tableSearchFormItem.mjs.map +0 -1
  785. package/es/components/table/src/useTable.d.ts +0 -32
  786. package/es/components/table/src/useTable.mjs +0 -2
  787. package/es/components/table/src/useTable.mjs.map +0 -1
  788. package/es/components/table/utils/table.d.ts +0 -45
  789. package/es/components/table/utils/table.mjs +0 -2
  790. package/es/components/table/utils/table.mjs.map +0 -1
  791. package/es/components/tree/index.d.ts +0 -15
  792. package/es/components/tree/index.mjs +0 -2
  793. package/es/components/tree/index.mjs.map +0 -1
  794. package/es/components/tree/src/tree.d.ts +0 -562
  795. package/es/components/tree/src/tree.mjs +0 -2
  796. package/es/components/tree/src/tree.mjs.map +0 -1
  797. package/es/components/tree/src/tree.props.d.ts +0 -81
  798. package/es/components/tree/src/tree.props.mjs +0 -2
  799. package/es/components/tree/src/tree.props.mjs.map +0 -1
  800. package/es/components/tree/src/tree.type.d.ts +0 -36
  801. package/es/components/tree/src/tree.type.mjs +0 -0
  802. package/es/components/treeSelect/index.d.ts +0 -14
  803. package/es/components/treeSelect/index.mjs +0 -2
  804. package/es/components/treeSelect/index.mjs.map +0 -1
  805. package/es/components/treeSelect/src/treeSelect.d.ts +0 -965
  806. package/es/components/treeSelect/src/treeSelect.mjs +0 -2
  807. package/es/components/treeSelect/src/treeSelect.mjs.map +0 -1
  808. package/es/components/upload/index.d.ts +0 -15
  809. package/es/components/upload/index.mjs +0 -2
  810. package/es/components/upload/index.mjs.map +0 -1
  811. package/es/components/upload/src/upload.d.ts +0 -529
  812. package/es/components/upload/src/upload.mjs +0 -2
  813. package/es/components/upload/src/upload.mjs.map +0 -1
  814. package/es/components/upload/src/useUpload.d.ts +0 -65
  815. package/es/components/upload/src/useUpload.mjs +0 -2
  816. package/es/components/upload/src/useUpload.mjs.map +0 -1
  817. package/es/components/upload/utils/upload.d.ts +0 -30
  818. package/es/components/upload/utils/upload.mjs +0 -2
  819. package/es/components/upload/utils/upload.mjs.map +0 -1
  820. package/es/components/uploadImage/index.d.ts +0 -14
  821. package/es/components/uploadImage/index.mjs +0 -2
  822. package/es/components/uploadImage/index.mjs.map +0 -1
  823. package/es/components/uploadImage/src/uploadImage.d.ts +0 -579
  824. package/es/components/uploadImage/src/uploadImage.mjs +0 -2
  825. package/es/components/uploadImage/src/uploadImage.mjs.map +0 -1
  826. package/es/components/uploadImages/index.d.ts +0 -14
  827. package/es/components/uploadImages/index.mjs +0 -2
  828. package/es/components/uploadImages/index.mjs.map +0 -1
  829. package/es/components/uploadImages/src/uploadImages.d.ts +0 -548
  830. package/es/components/uploadImages/src/uploadImages.mjs +0 -2
  831. package/es/components/uploadImages/src/uploadImages.mjs.map +0 -1
  832. package/es/constants/index.d.ts +0 -2
  833. package/es/constants/index.mjs +0 -1
  834. package/es/constants/mime.d.ts +0 -61
  835. package/es/constants/mime.mjs +0 -2
  836. package/es/constants/mime.mjs.map +0 -1
  837. package/es/constants/regex.d.ts +0 -78
  838. package/es/constants/regex.mjs +0 -2
  839. package/es/constants/regex.mjs.map +0 -1
  840. package/es/directive.d.ts +0 -2
  841. package/es/directive.mjs +0 -2
  842. package/es/directive.mjs.map +0 -1
  843. package/es/directives/click-copy/index.d.ts +0 -2
  844. package/es/directives/click-copy/index.mjs +0 -2
  845. package/es/directives/click-copy/index.mjs.map +0 -1
  846. package/es/directives/click-debounce/index.d.ts +0 -2
  847. package/es/directives/click-debounce/index.mjs +0 -2
  848. package/es/directives/click-debounce/index.mjs.map +0 -1
  849. package/es/directives/click-draggable/index.d.ts +0 -2
  850. package/es/directives/click-draggable/index.mjs +0 -2
  851. package/es/directives/click-draggable/index.mjs.map +0 -1
  852. package/es/directives/click-icon-copy/index.d.ts +0 -2
  853. package/es/directives/click-icon-copy/index.mjs +0 -2
  854. package/es/directives/click-icon-copy/index.mjs.map +0 -1
  855. package/es/directives/click-longpress/index.d.ts +0 -2
  856. package/es/directives/click-longpress/index.mjs +0 -2
  857. package/es/directives/click-longpress/index.mjs.map +0 -1
  858. package/es/directives/click-throttle/index.d.ts +0 -2
  859. package/es/directives/click-throttle/index.mjs +0 -2
  860. package/es/directives/click-throttle/index.mjs.map +0 -1
  861. package/es/directives/index.d.ts +0 -6
  862. package/es/directives/index.mjs +0 -1
  863. package/es/element-plus.d.ts +0 -2
  864. package/es/element-plus.mjs +0 -2
  865. package/es/element-plus.mjs.map +0 -1
  866. package/es/hooks/index.d.ts +0 -3
  867. package/es/hooks/index.mjs +0 -1
  868. package/es/hooks/use-loading/index.d.ts +0 -4
  869. package/es/hooks/use-loading/index.mjs +0 -2
  870. package/es/hooks/use-loading/index.mjs.map +0 -1
  871. package/es/hooks/use-overlay/index.d.ts +0 -4
  872. package/es/hooks/use-overlay/index.mjs +0 -2
  873. package/es/hooks/use-overlay/index.mjs.map +0 -1
  874. package/es/hooks/use-screenFull/index.d.ts +0 -7
  875. package/es/hooks/use-screenFull/index.mjs +0 -2
  876. package/es/hooks/use-screenFull/index.mjs.map +0 -1
  877. package/es/index.d.ts +0 -14
  878. package/es/index.es.d.ts +0 -6
  879. package/es/index.mjs +0 -2
  880. package/es/index.mjs.map +0 -1
  881. package/es/make-installer.d.ts +0 -6
  882. package/es/make-installer.mjs +0 -2
  883. package/es/make-installer.mjs.map +0 -1
  884. package/es/version.d.ts +0 -1
  885. package/es/version.mjs +0 -2
  886. package/es/version.mjs.map +0 -1
  887. package/global.d.ts +0 -2
  888. package/lib/_virtual/_rolldown/runtime.js +0 -1
  889. package/lib/component.d.ts +0 -3
  890. package/lib/component.js +0 -2
  891. package/lib/component.js.map +0 -1
  892. package/lib/components/avatar/index.d.ts +0 -14
  893. package/lib/components/avatar/index.js +0 -2
  894. package/lib/components/avatar/index.js.map +0 -1
  895. package/lib/components/avatar/src/avatar.d.ts +0 -125
  896. package/lib/components/avatar/src/avatar.js +0 -2
  897. package/lib/components/avatar/src/avatar.js.map +0 -1
  898. package/lib/components/button/index.d.ts +0 -15
  899. package/lib/components/button/index.js +0 -2
  900. package/lib/components/button/index.js.map +0 -1
  901. package/lib/components/button/src/button.d.ts +0 -177
  902. package/lib/components/button/src/button.js +0 -2
  903. package/lib/components/button/src/button.js.map +0 -1
  904. package/lib/components/carNumber/index.d.ts +0 -9
  905. package/lib/components/carNumber/index.js +0 -2
  906. package/lib/components/carNumber/index.js.map +0 -1
  907. package/lib/components/carNumber/src/carNumber.d.ts +0 -228
  908. package/lib/components/carNumber/src/carNumber.js +0 -2
  909. package/lib/components/carNumber/src/carNumber.js.map +0 -1
  910. package/lib/components/carNumber/src/common.d.ts +0 -15
  911. package/lib/components/carNumber/src/common.js +0 -2
  912. package/lib/components/carNumber/src/common.js.map +0 -1
  913. package/lib/components/contextMenu/index.d.ts +0 -9
  914. package/lib/components/contextMenu/index.js +0 -2
  915. package/lib/components/contextMenu/index.js.map +0 -1
  916. package/lib/components/contextMenu/src/contextMenu.d.ts +0 -32
  917. package/lib/components/contextMenu/src/contextMenu.js +0 -2
  918. package/lib/components/contextMenu/src/contextMenu.js.map +0 -1
  919. package/lib/components/contextMenu/src/contextMenu.type.d.ts +0 -33
  920. package/lib/components/contextMenu/src/contextMenu.type.js +0 -0
  921. package/lib/components/dialog/index.d.ts +0 -14
  922. package/lib/components/dialog/index.js +0 -2
  923. package/lib/components/dialog/index.js.map +0 -1
  924. package/lib/components/dialog/src/dialog.d.ts +0 -454
  925. package/lib/components/dialog/src/dialog.js +0 -2
  926. package/lib/components/dialog/src/dialog.js.map +0 -1
  927. package/lib/components/drawer/index.d.ts +0 -14
  928. package/lib/components/drawer/index.js +0 -2
  929. package/lib/components/drawer/index.js.map +0 -1
  930. package/lib/components/drawer/src/drawer.d.ts +0 -458
  931. package/lib/components/drawer/src/drawer.js +0 -2
  932. package/lib/components/drawer/src/drawer.js.map +0 -1
  933. package/lib/components/form/index.d.ts +0 -23
  934. package/lib/components/form/index.js +0 -2
  935. package/lib/components/form/index.js.map +0 -1
  936. package/lib/components/form/src/form.d.ts +0 -194
  937. package/lib/components/form/src/form.js +0 -2
  938. package/lib/components/form/src/form.js.map +0 -1
  939. package/lib/components/form/src/formItem.d.ts +0 -204
  940. package/lib/components/form/src/formItem.js +0 -2
  941. package/lib/components/form/src/formItem.js.map +0 -1
  942. package/lib/components/form/utils/form.d.ts +0 -81
  943. package/lib/components/form/utils/form.js +0 -2
  944. package/lib/components/form/utils/form.js.map +0 -1
  945. package/lib/components/formItemTip/index.d.ts +0 -12
  946. package/lib/components/formItemTip/index.js +0 -2
  947. package/lib/components/formItemTip/index.js.map +0 -1
  948. package/lib/components/formItemTip/src/formItemTip.d.ts +0 -22
  949. package/lib/components/formItemTip/src/formItemTip.js +0 -2
  950. package/lib/components/formItemTip/src/formItemTip.js.map +0 -1
  951. package/lib/components/icon/index.d.ts +0 -12
  952. package/lib/components/icon/index.js +0 -2
  953. package/lib/components/icon/index.js.map +0 -1
  954. package/lib/components/icon/src/icon.d.ts +0 -39
  955. package/lib/components/icon/src/icon.js +0 -2
  956. package/lib/components/icon/src/icon.js.map +0 -1
  957. package/lib/components/iconSelector/index.d.ts +0 -7
  958. package/lib/components/iconSelector/index.js +0 -2
  959. package/lib/components/iconSelector/index.js.map +0 -1
  960. package/lib/components/iconSelector/src/iconSelector.d.ts +0 -23
  961. package/lib/components/iconSelector/src/iconSelector.js +0 -2
  962. package/lib/components/iconSelector/src/iconSelector.js.map +0 -1
  963. package/lib/components/image/index.d.ts +0 -12
  964. package/lib/components/image/index.js +0 -2
  965. package/lib/components/image/index.js.map +0 -1
  966. package/lib/components/image/src/image.d.ts +0 -232
  967. package/lib/components/image/src/image.js +0 -2
  968. package/lib/components/image/src/image.js.map +0 -1
  969. package/lib/components/index.d.ts +0 -22
  970. package/lib/components/index.js +0 -2
  971. package/lib/components/index.js.map +0 -1
  972. package/lib/components/inputDialogPage/index.d.ts +0 -14
  973. package/lib/components/inputDialogPage/index.js +0 -2
  974. package/lib/components/inputDialogPage/index.js.map +0 -1
  975. package/lib/components/inputDialogPage/src/inputDialogPage.d.ts +0 -132
  976. package/lib/components/inputDialogPage/src/inputDialogPage.js +0 -2
  977. package/lib/components/inputDialogPage/src/inputDialogPage.js.map +0 -1
  978. package/lib/components/layoutGrid/index.d.ts +0 -16
  979. package/lib/components/layoutGrid/index.js +0 -2
  980. package/lib/components/layoutGrid/index.js.map +0 -1
  981. package/lib/components/layoutGrid/src/layoutGrid.d.ts +0 -60
  982. package/lib/components/layoutGrid/src/layoutGrid.js +0 -2
  983. package/lib/components/layoutGrid/src/layoutGrid.js.map +0 -1
  984. package/lib/components/layoutGrid/src/layoutGrid.type.d.ts +0 -12
  985. package/lib/components/layoutGrid/src/layoutGrid.type.js +0 -0
  986. package/lib/components/layoutGrid/src/layoutGridItem.d.ts +0 -100
  987. package/lib/components/layoutGrid/src/layoutGridItem.js +0 -2
  988. package/lib/components/layoutGrid/src/layoutGridItem.js.map +0 -1
  989. package/lib/components/select/index.d.ts +0 -22
  990. package/lib/components/select/index.js +0 -2
  991. package/lib/components/select/index.js.map +0 -1
  992. package/lib/components/select/src/select.d.ts +0 -1206
  993. package/lib/components/select/src/select.js +0 -2
  994. package/lib/components/select/src/select.js.map +0 -1
  995. package/lib/components/select/src/select.type.d.ts +0 -28
  996. package/lib/components/select/src/select.type.js +0 -0
  997. package/lib/components/select/src/selectOption.d.ts +0 -99
  998. package/lib/components/select/src/selectOption.js +0 -2
  999. package/lib/components/select/src/selectOption.js.map +0 -1
  1000. package/lib/components/selectPage/index.d.ts +0 -14
  1001. package/lib/components/selectPage/index.js +0 -2
  1002. package/lib/components/selectPage/index.js.map +0 -1
  1003. package/lib/components/selectPage/src/selectPage.d.ts +0 -609
  1004. package/lib/components/selectPage/src/selectPage.js +0 -2
  1005. package/lib/components/selectPage/src/selectPage.js.map +0 -1
  1006. package/lib/components/selectV2/index.d.ts +0 -14
  1007. package/lib/components/selectV2/index.js +0 -2
  1008. package/lib/components/selectV2/index.js.map +0 -1
  1009. package/lib/components/selectV2/src/selectV2.d.ts +0 -1399
  1010. package/lib/components/selectV2/src/selectV2.js +0 -2
  1011. package/lib/components/selectV2/src/selectV2.js.map +0 -1
  1012. package/lib/components/table/images/artwork.js +0 -2
  1013. package/lib/components/table/images/artwork.js.map +0 -1
  1014. package/lib/components/table/images/index.d.ts +0 -4
  1015. package/lib/components/table/images/notImage.js +0 -2
  1016. package/lib/components/table/images/notImage.js.map +0 -1
  1017. package/lib/components/table/index.d.ts +0 -35
  1018. package/lib/components/table/index.js +0 -2
  1019. package/lib/components/table/index.js.map +0 -1
  1020. package/lib/components/table/src/page.type.d.ts +0 -145
  1021. package/lib/components/table/src/page.type.js +0 -2
  1022. package/lib/components/table/src/page.type.js.map +0 -1
  1023. package/lib/components/table/src/table.d.ts +0 -1439
  1024. package/lib/components/table/src/table.js +0 -2
  1025. package/lib/components/table/src/table.js.map +0 -1
  1026. package/lib/components/table/src/table.state.d.ts +0 -111
  1027. package/lib/components/table/src/table.state.js +0 -0
  1028. package/lib/components/table/src/table.type.d.ts +0 -261
  1029. package/lib/components/table/src/table.type.js +0 -2
  1030. package/lib/components/table/src/table.type.js.map +0 -1
  1031. package/lib/components/table/src/tableColumn.d.ts +0 -658
  1032. package/lib/components/table/src/tableColumn.js +0 -2
  1033. package/lib/components/table/src/tableColumn.js.map +0 -1
  1034. package/lib/components/table/src/tableColumnSettingDialog.d.ts +0 -18
  1035. package/lib/components/table/src/tableColumnSettingDialog.js +0 -2
  1036. package/lib/components/table/src/tableColumnSettingDialog.js.map +0 -1
  1037. package/lib/components/table/src/tablePagination.d.ts +0 -24
  1038. package/lib/components/table/src/tablePagination.js +0 -2
  1039. package/lib/components/table/src/tablePagination.js.map +0 -1
  1040. package/lib/components/table/src/tableSearchForm.d.ts +0 -88
  1041. package/lib/components/table/src/tableSearchForm.js +0 -2
  1042. package/lib/components/table/src/tableSearchForm.js.map +0 -1
  1043. package/lib/components/table/src/tableSearchFormItem.d.ts +0 -37
  1044. package/lib/components/table/src/tableSearchFormItem.js +0 -2
  1045. package/lib/components/table/src/tableSearchFormItem.js.map +0 -1
  1046. package/lib/components/table/src/useTable.d.ts +0 -32
  1047. package/lib/components/table/src/useTable.js +0 -2
  1048. package/lib/components/table/src/useTable.js.map +0 -1
  1049. package/lib/components/table/utils/table.d.ts +0 -45
  1050. package/lib/components/table/utils/table.js +0 -2
  1051. package/lib/components/table/utils/table.js.map +0 -1
  1052. package/lib/components/tree/index.d.ts +0 -15
  1053. package/lib/components/tree/index.js +0 -2
  1054. package/lib/components/tree/index.js.map +0 -1
  1055. package/lib/components/tree/src/tree.d.ts +0 -562
  1056. package/lib/components/tree/src/tree.js +0 -2
  1057. package/lib/components/tree/src/tree.js.map +0 -1
  1058. package/lib/components/tree/src/tree.props.d.ts +0 -81
  1059. package/lib/components/tree/src/tree.props.js +0 -2
  1060. package/lib/components/tree/src/tree.props.js.map +0 -1
  1061. package/lib/components/tree/src/tree.type.d.ts +0 -36
  1062. package/lib/components/tree/src/tree.type.js +0 -0
  1063. package/lib/components/treeSelect/index.d.ts +0 -14
  1064. package/lib/components/treeSelect/index.js +0 -2
  1065. package/lib/components/treeSelect/index.js.map +0 -1
  1066. package/lib/components/treeSelect/src/treeSelect.d.ts +0 -965
  1067. package/lib/components/treeSelect/src/treeSelect.js +0 -2
  1068. package/lib/components/treeSelect/src/treeSelect.js.map +0 -1
  1069. package/lib/components/upload/index.d.ts +0 -15
  1070. package/lib/components/upload/index.js +0 -2
  1071. package/lib/components/upload/index.js.map +0 -1
  1072. package/lib/components/upload/src/upload.d.ts +0 -529
  1073. package/lib/components/upload/src/upload.js +0 -2
  1074. package/lib/components/upload/src/upload.js.map +0 -1
  1075. package/lib/components/upload/src/useUpload.d.ts +0 -65
  1076. package/lib/components/upload/src/useUpload.js +0 -2
  1077. package/lib/components/upload/src/useUpload.js.map +0 -1
  1078. package/lib/components/upload/utils/upload.d.ts +0 -30
  1079. package/lib/components/upload/utils/upload.js +0 -2
  1080. package/lib/components/upload/utils/upload.js.map +0 -1
  1081. package/lib/components/uploadImage/index.d.ts +0 -14
  1082. package/lib/components/uploadImage/index.js +0 -2
  1083. package/lib/components/uploadImage/index.js.map +0 -1
  1084. package/lib/components/uploadImage/src/uploadImage.d.ts +0 -579
  1085. package/lib/components/uploadImage/src/uploadImage.js +0 -2
  1086. package/lib/components/uploadImage/src/uploadImage.js.map +0 -1
  1087. package/lib/components/uploadImages/index.d.ts +0 -14
  1088. package/lib/components/uploadImages/index.js +0 -2
  1089. package/lib/components/uploadImages/index.js.map +0 -1
  1090. package/lib/components/uploadImages/src/uploadImages.d.ts +0 -548
  1091. package/lib/components/uploadImages/src/uploadImages.js +0 -2
  1092. package/lib/components/uploadImages/src/uploadImages.js.map +0 -1
  1093. package/lib/constants/index.d.ts +0 -2
  1094. package/lib/constants/index.js +0 -1
  1095. package/lib/constants/mime.d.ts +0 -61
  1096. package/lib/constants/mime.js +0 -2
  1097. package/lib/constants/mime.js.map +0 -1
  1098. package/lib/constants/regex.d.ts +0 -78
  1099. package/lib/constants/regex.js +0 -2
  1100. package/lib/constants/regex.js.map +0 -1
  1101. package/lib/directive.d.ts +0 -2
  1102. package/lib/directive.js +0 -2
  1103. package/lib/directive.js.map +0 -1
  1104. package/lib/directives/click-copy/index.d.ts +0 -2
  1105. package/lib/directives/click-copy/index.js +0 -2
  1106. package/lib/directives/click-copy/index.js.map +0 -1
  1107. package/lib/directives/click-debounce/index.d.ts +0 -2
  1108. package/lib/directives/click-debounce/index.js +0 -2
  1109. package/lib/directives/click-debounce/index.js.map +0 -1
  1110. package/lib/directives/click-draggable/index.d.ts +0 -2
  1111. package/lib/directives/click-draggable/index.js +0 -2
  1112. package/lib/directives/click-draggable/index.js.map +0 -1
  1113. package/lib/directives/click-icon-copy/index.d.ts +0 -2
  1114. package/lib/directives/click-icon-copy/index.js +0 -2
  1115. package/lib/directives/click-icon-copy/index.js.map +0 -1
  1116. package/lib/directives/click-longpress/index.d.ts +0 -2
  1117. package/lib/directives/click-longpress/index.js +0 -2
  1118. package/lib/directives/click-longpress/index.js.map +0 -1
  1119. package/lib/directives/click-throttle/index.d.ts +0 -2
  1120. package/lib/directives/click-throttle/index.js +0 -2
  1121. package/lib/directives/click-throttle/index.js.map +0 -1
  1122. package/lib/directives/index.d.ts +0 -6
  1123. package/lib/directives/index.js +0 -1
  1124. package/lib/element-plus.d.ts +0 -2
  1125. package/lib/element-plus.js +0 -2
  1126. package/lib/element-plus.js.map +0 -1
  1127. package/lib/hooks/index.d.ts +0 -3
  1128. package/lib/hooks/index.js +0 -1
  1129. package/lib/hooks/use-loading/index.d.ts +0 -4
  1130. package/lib/hooks/use-loading/index.js +0 -2
  1131. package/lib/hooks/use-loading/index.js.map +0 -1
  1132. package/lib/hooks/use-overlay/index.d.ts +0 -4
  1133. package/lib/hooks/use-overlay/index.js +0 -2
  1134. package/lib/hooks/use-overlay/index.js.map +0 -1
  1135. package/lib/hooks/use-screenFull/index.d.ts +0 -7
  1136. package/lib/hooks/use-screenFull/index.js +0 -2
  1137. package/lib/hooks/use-screenFull/index.js.map +0 -1
  1138. package/lib/index.d.ts +0 -14
  1139. package/lib/index.es.d.ts +0 -6
  1140. package/lib/index.js +0 -2
  1141. package/lib/index.js.map +0 -1
  1142. package/lib/make-installer.d.ts +0 -6
  1143. package/lib/make-installer.js +0 -2
  1144. package/lib/make-installer.js.map +0 -1
  1145. package/lib/version.d.ts +0 -1
  1146. package/lib/version.js +0 -2
  1147. package/lib/version.js.map +0 -1
  1148. package/styles/common/animation.scss +0 -46
  1149. package/styles/common/common.scss +0 -44
  1150. package/styles/common/loading.scss +0 -29
  1151. package/styles/common/overlay.scss +0 -12
  1152. package/styles/components/carNumber.scss +0 -44
  1153. package/styles/components/contextMenu.scss +0 -34
  1154. package/styles/components/dialog.scss +0 -88
  1155. package/styles/components/drawer.scss +0 -87
  1156. package/styles/components/form.scss +0 -44
  1157. package/styles/components/formItemTip.scss +0 -7
  1158. package/styles/components/image.scss +0 -19
  1159. package/styles/components/select.scss +0 -35
  1160. package/styles/components/selectPage.scss +0 -44
  1161. package/styles/components/selectV2.scss +0 -22
  1162. package/styles/components/table.scss +0 -440
  1163. package/styles/components/tree.scss +0 -115
  1164. package/styles/components/uploadImage.scss +0 -61
  1165. package/styles/components/uploadImages.scss +0 -9
  1166. package/styles/index.scss +0 -19
  1167. package/types/components.d.ts +0 -145
  1168. package/types/env.d.ts +0 -17
  1169. /package/{es/components/contextMenu/src/contextMenu.type.mjs → dist/global.mjs} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tableColumn.mjs","names":[],"sources":["../../../../src/components/table/src/tableColumn.tsx"],"sourcesContent":["import { Fragment, computed, defineComponent, h, inject, resolveComponent, watch } from \"vue\";\nimport { CopyDocument } from \"@element-plus/icons-vue\";\nimport { ElIcon, ElImage, ElMessage, ElTableColumn, ElTag, ElText, dayjs, useGlobalSize } from \"element-plus\";\nimport { isArray, isFunction, isNil, isNumber, isObject, isString } from \"lodash-unified\";\nimport { copy as copyToClipboard, definePropType, formatChineseRelativeTime, makeSlots, useProps, useRender } from \"../../../utils\";\nimport FaImage from \"../../image\";\nimport artwork from \"../images/artwork.png\";\nimport notImage from \"../images/notImage.png\";\nimport { tableUtil } from \"../utils/table\";\nimport { getTableDefaultSlots } from \"./table.type\";\nimport { enumMapKey, tableStateKey } from \"./useTable\";\nimport type { FaTableRow } from \"./table.state\";\nimport type {\n\tFaTableColumnCtx,\n\tFaTableColumnDateFormat,\n\tFaTableColumnType,\n\tFaTableDefaultSlotsResult,\n\tFaTableEnumColumnCtx,\n\tFaTableEnumColumnType,\n} from \"./table.type\";\nimport type { TableColumnCtx } from \"element-plus\";\nimport type { ComputedRef, PropType, VNode } from \"vue\";\n\ntype DefaultRow = FaTableRow;\n\n/** FaTableColumn 的运行时 Props 定义。 */\nexport const tableColumnProps = {\n\t/**\n\t * @description type of the column. If set to `selection`, the column will display checkbox. If set to `index`, the column will display index of the row (staring from 1). If set to `expand`, the column will display expand icon\n\t */\n\ttype: {\n\t\ttype: String,\n\t\tdefault: \"default\",\n\t},\n\t/**\n\t * @description column label\n\t */\n\tlabel: String,\n\t/**\n\t * @description class name of cells in the column\n\t */\n\tclassName: String,\n\t/**\n\t * @description class name of the label of this column\n\t */\n\tlabelClassName: String,\n\t/**\n\t * @description\n\t */\n\tproperty: String,\n\t/**\n\t * @description field name. You can also use its alias: `property`\n\t */\n\tprop: String,\n\t/**\n\t * @description column width\n\t */\n\twidth: {\n\t\ttype: [String, Number],\n\t\tdefault: \"\",\n\t},\n\t/**\n\t * @description column minimum width. Columns with `width` has a fixed width, while columns with `min-width` has a width that is distributed in proportion\n\t */\n\tminWidth: {\n\t\ttype: [String, Number],\n\t\tdefault: \"\",\n\t},\n\t/**\n\t * @description render function for table header of this column\n\t */\n\trenderHeader: Function as PropType<TableColumnCtx<DefaultRow>[\"renderHeader\"]>,\n\t/**\n\t * @description whether column can be sorted. Remote sorting can be done by setting this attribute to 'custom' and listening to the `sort-change` event of Table\n\t */\n\tsortable: {\n\t\ttype: [Boolean, String],\n\t\tdefault: false,\n\t},\n\t/**\n\t * @description sorting method, works when `sortable` is `true`. Should return a number, just like Array.sort\n\t */\n\tsortMethod: Function as PropType<TableColumnCtx<DefaultRow>[\"sortMethod\"]>,\n\t/**\n\t * @description specify which property to sort by, works when `sortable` is `true` and `sort-method` is `undefined`. If set to an Array, the column will sequentially sort by the next property if the previous one is equal\n\t */\n\tsortBy: [String, Function, Array] as PropType<TableColumnCtx<DefaultRow>[\"sortBy\"]>,\n\t/**\n\t * @description whether column width can be resized, works when `border` of `el-table` is `true`\n\t */\n\tresizable: {\n\t\ttype: Boolean,\n\t\tdefault: true,\n\t},\n\t/**\n\t * @description column's key. If you need to use the filter-change event, you need this attribute to identify which column is being filtered\n\t */\n\tcolumnKey: String,\n\t/**\n\t * @description alignment, the value should be 'left' \\/ 'center' \\/ 'right'\n\t */\n\talign: String,\n\t/**\n\t * @description alignment of the table header. If omitted, the value of the above `align` attribute will be applied, the value should be 'left' \\/ 'center' \\/ 'right'\n\t */\n\theaderAlign: String,\n\t/**\n\t * @description whether to hide extra content and show them in a tooltip when hovering on the cell\n\t */\n\tshowOverflowTooltip: {\n\t\ttype: [Boolean, Object] as PropType<TableColumnCtx<DefaultRow>[\"showOverflowTooltip\"]>,\n\t\tdefault: undefined,\n\t},\n\t/** @description function that formats cell tooltip content, works when show-overflow-tooltip is enabled */\n\ttooltipFormatter: Function as PropType<TableColumnCtx<DefaultRow>[\"tooltipFormatter\"]>,\n\t/**\n\t * @description whether column is fixed at left / right. Will be fixed at left if `true`\n\t */\n\tfixed: [Boolean, String],\n\t/**\n\t * @description function that formats cell content\n\t */\n\tformatter: Function as PropType<TableColumnCtx<DefaultRow>[\"formatter\"]>,\n\t/**\n\t * @description function that determines if a certain row can be selected, works when `type` is 'selection'\n\t */\n\tselectable: Function as PropType<TableColumnCtx<DefaultRow>[\"selectable\"]>,\n\t/**\n\t * @description whether to reserve selection after data refreshing, works when `type` is 'selection'. Note that `row-key` is required for this to work\n\t */\n\treserveSelection: Boolean,\n\t/**\n\t * @description data filtering method. If `filter-multiple` is on, this method will be called multiple times for each row, and a row will display if one of the calls returns `true`\n\t */\n\tfilterMethod: Function as PropType<TableColumnCtx<DefaultRow>[\"filterMethod\"]>,\n\t/**\n\t * @description filter value for selected data, might be useful when table header is rendered with `render-header`\n\t */\n\tfilteredValue: Array as PropType<TableColumnCtx<DefaultRow>[\"filteredValue\"]>,\n\t/**\n\t * @description an array of data filtering options. For each element in this array, `text` and `value` are required\n\t */\n\tfilters: Array as PropType<TableColumnCtx<DefaultRow>[\"filters\"]>,\n\t/**\n\t * @description placement for the filter dropdown\n\t */\n\tfilterPlacement: String,\n\t/**\n\t * @description whether data filtering supports multiple options\n\t */\n\tfilterMultiple: {\n\t\ttype: Boolean,\n\t\tdefault: true,\n\t},\n\t/**\n\t * @description className for the filter dropdown\n\t */\n\tfilterClassName: String,\n\t/**\n\t * @description customize indices for each row, works on columns with `type=index`\n\t */\n\tindex: [Number, Function] as PropType<TableColumnCtx<DefaultRow>[\"index\"]>,\n\t/**\n\t * @description the order of the sorting strategies used when sorting the data, works when `sortable` is `true`. Accepts an array, as the user clicks on the header, the column is sorted in order of the elements in the array\n\t */\n\tsortOrders: {\n\t\ttype: Array as PropType<TableColumnCtx<DefaultRow>[\"sortOrders\"]>,\n\t\tdefault: (): TableColumnCtx<DefaultRow>[\"sortOrders\"] => {\n\t\t\treturn [\"ascending\", \"descending\", null];\n\t\t},\n\t\tvalidator: (val: TableColumnCtx<DefaultRow>[\"sortOrders\"]): boolean => {\n\t\t\treturn (val ?? []).every((order) => order === \"ascending\" || order === \"descending\" || order === null);\n\t\t},\n\t},\n};\n\n/** FaTableColumn 插槽返回的行列上下文。 */\nexport interface FaTableColumnSlotsResult {\n\t/** @description slots为表格内容的时候才会返回 */\n\trow?: DefaultRow;\n\t/** @description slot为表头内容的时候返回 'TableColumnCtx<any>' 否则返回 'FaTableColumnCtx' */\n\tcolumn?: TableColumnCtx<DefaultRow> | FaTableColumnCtx;\n\t$index?: number;\n}\n\ntype FaTableColumnDefaultSlots = Record<string, FaTableDefaultSlotsResult & FaTableColumnSlotsResult>;\n\n/** FaTableColumn 的固定插槽和动态命名插槽。 */\nexport type FaTableColumnSlots = Record<string, unknown> & {\n\t/** @description 默认内容插槽 */\n\tdefault: FaTableDefaultSlotsResult & { row: DefaultRow; column: FaTableColumnCtx; $index: number };\n\t/** @description 自定义表头的内容 */\n\theader: FaTableDefaultSlotsResult & { column: FaTableColumnCtx; $index: number };\n\t/** @description 自定义 filter 图标 */\n\tfilterIcon: FaTableDefaultSlotsResult & { filterOpened: boolean };\n\t/** @description 展开列的自定义内容 */\n\texpand: FaTableDefaultSlotsResult & { expanded: boolean };\n} & FaTableColumnDefaultSlots;\n\nexport default defineComponent({\n\tname: \"FaTableColumn\",\n\tprops: {\n\t\t...tableColumnProps,\n\t\t/**\n\t\t * @description type of the column. If set to `selection`, the column will display checkbox. If set to `index`, the column will display index of the row (staring from 1). If set to `expand`, the column will display expand icon\n\t\t */\n\t\ttype: {\n\t\t\ttype: definePropType<FaTableColumnType>(String),\n\t\t\tdefault: \"default\",\n\t\t},\n\t\t/**\n\t\t * @description column width\n\t\t */\n\t\twidth: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: \"auto\",\n\t\t},\n\t\t/** @description alignment, the value should be 'left' \\/ 'center' \\/ 'right' */\n\t\talign: {\n\t\t\ttype: String,\n\t\t\tdefault: \"left\",\n\t\t},\n\t\t/** @description alignment of the table header. If omitted, the value of the above `align` attribute will be applied, the value should be 'left' \\/ 'center' \\/ 'right' */\n\t\theaderAlign: {\n\t\t\ttype: String,\n\t\t\tdefault: \"left\",\n\t\t},\n\t\t/** @description 是否显示在表格当中 */\n\t\tshow: Boolean,\n\t\t/** @description 小页面的宽度,如果为空,则继承默认宽度 */\n\t\tsmallWidth: {\n\t\t\ttype: [String, Number],\n\t\t},\n\t\t/** @description 自适应宽度 */\n\t\tautoWidth: Boolean,\n\t\t/** @description 插槽名称 */\n\t\tslot: String,\n\t\t/** @description 表格头部插槽名称 */\n\t\theaderSlot: String,\n\t\t/** @description 自定义表头内容渲染(tsx语法) */\n\t\theaderRender: {\n\t\t\ttype: definePropType<({ column, $index }: { column: TableColumnCtx<DefaultRow>; $index: number } & FaTableDefaultSlotsResult) => VNode[]>(\n\t\t\t\tFunction\n\t\t\t),\n\t\t},\n\t\t/** @description 自定义单元格内容渲染(tsx语法) */\n\t\trender: {\n\t\t\ttype: definePropType<\n\t\t\t\t({ row, column, $index }: { row: DefaultRow; column: FaTableColumnCtx; $index: number } & FaTableDefaultSlotsResult) => VNode[]\n\t\t\t>(Function),\n\t\t},\n\t\t/** @description 多级表头 */\n\t\t_children: {\n\t\t\ttype: definePropType<FaTableColumnCtx[]>(Array),\n\t\t},\n\t\t/** @description 隐藏图片 */\n\t\thideImage: Boolean,\n\t\t/** @description 复制 */\n\t\tcopy: Boolean,\n\t\t/** @description 是否为 Link Button */\n\t\tlink: Boolean,\n\t\t/** @description 合并行字段 */\n\t\tspanProp: String,\n\t\t/** @description Link 按钮的点击事件,优先级最高 */\n\t\tclick: {\n\t\t\ttype: definePropType<({ row, $index }: { row: DefaultRow; $index?: number } & FaTableDefaultSlotsResult) => void>(Function),\n\t\t},\n\t\t/** @description 点击Emits事件回调 */\n\t\tclickEmit: String,\n\t\t/** @description 图片列是否显示为原图,默认 false 显示缩略图 */\n\t\toriginalImage: Boolean,\n\t\t/** @description 显示时间格式化字符串 */\n\t\tdateFix: Boolean,\n\t\t/** @description 显示在页面中的日期格式 */\n\t\tdateFormat: {\n\t\t\ttype: definePropType<FaTableColumnDateFormat>(String),\n\t\t},\n\t\t/** @description 是否是标签展示 */\n\t\ttag: Boolean,\n\t\t/** @description 枚举类型(渲染值的字典) */\n\t\tenum: {\n\t\t\ttype: definePropType<FaTableEnumColumnType>([String, Array, Function]),\n\t\t},\n\t\t/** @description 数据删除字段,如果为 true 会显示遮罩层 */\n\t\tdataDeleteField: String,\n\t\t/** @description 时间信息字段 */\n\t\ttimeInfoField: {\n\t\t\ttype: definePropType<{ userName?: string; time?: string }>(Object),\n\t\t\tdefault: () => ({\n\t\t\t\tuserName: \"createdUserName\",\n\t\t\t\ttime: \"createdTime\",\n\t\t\t}),\n\t\t},\n\t},\n\temits: {\n\t\t/** @description 图片预览 */\n\t\timagePreview: (url: string): boolean => isString(url),\n\t\t/** @description 自定义单元格点击事件 */\n\t\tcustomCellClick: (emitName: string, { row, column, $index }: { row: DefaultRow; column: FaTableColumnCtx; $index: number }): boolean =>\n\t\t\t(isNil(emitName) || isString(emitName)) && isObject(row) && isObject(column) && isNumber($index),\n\t},\n\tslots: makeSlots<FaTableColumnSlots>(),\n\tsetup(props, { slots, emit }) {\n\t\tconst _globalSize = useGlobalSize();\n\t\tconst tableState = inject(tableStateKey);\n\t\tconst enumMap = inject(enumMapKey);\n\t\tif (tableState === undefined || enumMap === undefined) {\n\t\t\tthrow new Error(\"FaTableColumn 必须在 FaTable 内部渲染。\");\n\t\t}\n\n\t\tconst columnCtx = computed(() => props as unknown as FaTableColumnCtx);\n\n\t\t/** 获取ClassName */\n\t\tconst getClassName = (): string => {\n\t\t\tlet className = \"\";\n\t\t\tif (props.type === \"timeInfo\") {\n\t\t\t\tclassName += \"fa-table__line-height-normal-column\";\n\t\t\t}\n\t\t\tif (props.type === \"date\" || props.type === \"time\" || props.type === \"dateTime\") {\n\t\t\t\tif (props.dateFix) {\n\t\t\t\t\tclassName += \"fa-table__line-height-normal-column\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (props.className) {\n\t\t\t\treturn `${className} ${props.className}`;\n\t\t\t}\n\t\t\treturn className;\n\t\t};\n\n\t\t/** 获取宽度 */\n\t\tconst getWidth = (defAttr: string): string | number => {\n\t\t\tif (props.autoWidth) {\n\t\t\t\treturn computed(() => {\n\t\t\t\t\tconst findInfo = tableState.autoColumnWidth.find((f) => f.prop === props.prop);\n\t\t\t\t\tif (findInfo) {\n\t\t\t\t\t\treturn `${findInfo.width}px`;\n\t\t\t\t\t}\n\t\t\t\t\treturn \"auto\";\n\t\t\t\t}).value;\n\t\t\t}\n\t\t\tif (_globalSize.value === \"small\") {\n\t\t\t\treturn props.smallWidth ?? props.width ?? props.minWidth ?? defAttr ?? \"auto\";\n\t\t\t}\n\t\t\treturn props.width ?? props.minWidth ?? defAttr ?? \"auto\";\n\t\t};\n\n\t\t/** 表头自动宽度渲染 */\n\t\tconst autoWidthHeaderRender = (el: VNode[]): VNode[] => {\n\t\t\tif (props.autoWidth) {\n\t\t\t\treturn [\n\t\t\t\t\t<div class={[\"fa-table__auto-width-column__cell-header\", `__fa-table__auto-width-column__cell-header__${props.prop}`]}>{el}</div>,\n\t\t\t\t];\n\t\t\t} else {\n\t\t\t\treturn el;\n\t\t\t}\n\t\t};\n\n\t\t/** 自动宽度渲染 */\n\t\tconst autoWidthRender = (el: VNode[]): VNode[] => {\n\t\t\tif (props.autoWidth) {\n\t\t\t\treturn [<div class={[\"fa-table__auto-width-column__cell\", `__fa-table__auto-width-column__cell__${props.prop}`]}>{el}</div>];\n\t\t\t} else {\n\t\t\t\treturn el;\n\t\t\t}\n\t\t};\n\n\t\t/** 表头渲染 */\n\t\tconst headerRender = ({ column, $index }: { column: TableColumnCtx<DefaultRow>; $index: number }): VNode[] => {\n\t\t\tif (props.headerRender) {\n\t\t\t\treturn autoWidthHeaderRender(props.headerRender({ column, $index, ...getTableDefaultSlots(tableState) }));\n\t\t\t} else if (props.headerSlot) {\n\t\t\t\treturn autoWidthHeaderRender(slots[props.headerSlot]?.({ column, $index, ...getTableDefaultSlots(tableState) }) ?? []);\n\t\t\t} else {\n\t\t\t\treturn autoWidthHeaderRender([<span>{props.label}</span>]);\n\t\t\t}\n\t\t};\n\n\t\t/** 复制渲染 */\n\t\tconst displayText = (value: unknown): string => {\n\t\t\tif (typeof value === \"string\") return value;\n\t\t\tif (typeof value === \"number\" || typeof value === \"bigint\" || typeof value === \"boolean\") return String(value);\n\t\t\treturn \"\";\n\t\t};\n\n\t\tconst copyRender = (value: unknown, copy?: boolean): VNode[] => {\n\t\t\tif (!(props.copy || copy) || !value) return [];\n\n\t\t\treturn [\n\t\t\t\t<ElIcon\n\t\t\t\t\tclass=\"fa__copy-icon\"\n\t\t\t\t\ttitle=\"复制\"\n\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\tvoid copyToClipboard(displayText(value)).then(\n\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\tElMessage({\n\t\t\t\t\t\t\t\t\ttype: \"success\",\n\t\t\t\t\t\t\t\t\tmessage: \"复制成功\",\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\tElMessage({\n\t\t\t\t\t\t\t\t\ttype: \"error\",\n\t\t\t\t\t\t\t\t\tmessage: \"复制失败\",\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<CopyDocument />\n\t\t\t\t</ElIcon>,\n\t\t\t];\n\t\t};\n\n\t\t/** 渲染单元格数据 */\n\t\tconst renderCellData = ({ row }: { row: DefaultRow }): unknown => {\n\t\t\tconst cellValue = tableUtil.handleRowAccordingToProp(row, props.prop ?? \"\");\n\n\t\t\tlet enumData: FaTableEnumColumnCtx[] | undefined;\n\n\t\t\tif (isString(props.enum)) {\n\t\t\t\tenumData = enumMap.get(props.enum);\n\t\t\t} else if (isArray(props.enum)) {\n\t\t\t\tenumData = props.enum;\n\t\t\t} else if (isFunction(props.enum)) {\n\t\t\t\tenumData = props.enum({ row });\n\t\t\t}\n\n\t\t\tif (enumData) {\n\t\t\t\treturn tableUtil.filterEnum(cellValue, enumData);\n\t\t\t} else {\n\t\t\t\treturn tableUtil.formatValue(cellValue);\n\t\t\t}\n\t\t};\n\n\t\t/** 格式化渲染 */\n\t\tconst formatterRender = (row: DefaultRow, column: TableColumnCtx<DefaultRow>, cellValue: unknown, index: number): VNode | string => {\n\t\t\tif (column.formatter) {\n\t\t\t\treturn column.formatter(row, column, cellValue, index);\n\t\t\t} else {\n\t\t\t\treturn displayText(cellValue);\n\t\t\t}\n\t\t};\n\n\t\t/** 时间信息列渲染 */\n\t\tconst timeInfoRender = (row: DefaultRow, _column: TableColumnCtx<DefaultRow>, _$index: number): VNode[] => {\n\t\t\tconst userName = displayText(row[props.timeInfoField?.userName ?? \"createdUserName\"]);\n\t\t\tconst time = displayText(row[props.timeInfoField?.time ?? \"createdTime\"]);\n\t\t\treturn [\n\t\t\t\t<Fragment>\n\t\t\t\t\t<div style=\"white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\" title={time}>\n\t\t\t\t\t\t{userName && <span style=\"margin-right: 5px;\">{userName}</span>}\n\t\t\t\t\t\t<span>{time}</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t{time && (\n\t\t\t\t\t\t<ElTag type=\"info\" round effect=\"light\" size=\"small\">\n\t\t\t\t\t\t\t{formatChineseRelativeTime(time)}\n\t\t\t\t\t\t</ElTag>\n\t\t\t\t\t)}\n\t\t\t\t</Fragment>,\n\t\t\t];\n\t\t};\n\n\t\t/** 标签列渲染 */\n\t\tconst tagRender = (row: DefaultRow, column: TableColumnCtx<DefaultRow>, $index: number): VNode[] => {\n\t\t\tconst renderValue = formatterRender(row, column, renderCellData({ row }), $index);\n\n\t\t\tlet enumData: FaTableEnumColumnCtx[] | undefined;\n\n\t\t\tif (isString(props.enum)) {\n\t\t\t\tenumData = enumMap.get(props.enum);\n\t\t\t} else if (isArray(props.enum)) {\n\t\t\t\tenumData = props.enum;\n\t\t\t} else if (isFunction(props.enum)) {\n\t\t\t\tenumData = props.enum({ row });\n\t\t\t}\n\n\t\t\tconst enumValue = tableUtil.handleRowAccordingToProp(row, props.prop ?? \"\");\n\t\t\tconst type = enumData?.find((item) => item.value === enumValue)?.type ?? \"info\";\n\t\t\treturn [\n\t\t\t\t<Fragment>\n\t\t\t\t\t{copyRender(renderValue)}\n\t\t\t\t\t{renderValue ? <ElTag type={type}>{renderValue}</ElTag> : null}\n\t\t\t\t</Fragment>,\n\t\t\t];\n\t\t};\n\n\t\t/** 时间列渲染 */\n\t\tconst dateRender = (row: DefaultRow, column: TableColumnCtx<DefaultRow>, $index: number): VNode[] => {\n\t\t\tlet dateFormat;\n\t\t\tswitch (props.type) {\n\t\t\t\tcase \"date\":\n\t\t\t\t\tdateFormat = \"YYYY-MM-DD\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"time\":\n\t\t\t\t\tdateFormat = \"HH:mm:ss\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"dateTime\":\n\t\t\t\t\tdateFormat = \"YYYY-MM-DD HH:mm:ss\";\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tconst rawValue = row[props.prop ?? \"\"];\n\t\t\tconst renderValue = rawValue\n\t\t\t\t? formatterRender(row, column, dayjs(displayText(rawValue)).format(props.dateFormat ?? dateFormat), $index)\n\t\t\t\t: null;\n\t\t\treturn [\n\t\t\t\t<Fragment>\n\t\t\t\t\t{copyRender(renderValue)}\n\t\t\t\t\t{renderValue}\n\t\t\t\t\t{props.dateFix && renderValue && (\n\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t<br />\n\t\t\t\t\t\t\t<ElTag type=\"info\" round effect=\"light\" size=\"small\">\n\t\t\t\t\t\t\t\t{formatChineseRelativeTime(displayText(renderValue))}\n\t\t\t\t\t\t\t</ElTag>\n\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t)}\n\t\t\t\t</Fragment>,\n\t\t\t];\n\t\t};\n\n\t\t/** 数值列渲染 */\n\t\tconst numberRender = (row: DefaultRow, column: TableColumnCtx<DefaultRow>, $index: number): VNode[] => {\n\t\t\tconst renderValue = row[props.prop ?? \"\"];\n\t\t\tif (!renderValue || !isNumber(renderValue)) {\n\t\t\t\treturn [<Fragment>{formatterRender(row, column, renderValue, $index)}</Fragment>];\n\t\t\t}\n\t\t\tlet useGrouping = false;\n\t\t\tlet maximumFractionDigits = 2;\n\t\t\tswitch (props.type) {\n\t\t\t\tcase \"d2\":\n\t\t\t\t\tmaximumFractionDigits = 2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"d4\":\n\t\t\t\t\tmaximumFractionDigits = 4;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"d6\":\n\t\t\t\t\tmaximumFractionDigits = 6;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"gd2\":\n\t\t\t\t\tmaximumFractionDigits = 2;\n\t\t\t\t\tuseGrouping = true;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"gd4\":\n\t\t\t\t\tmaximumFractionDigits = 4;\n\t\t\t\t\tuseGrouping = true;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"gd6\":\n\t\t\t\t\tmaximumFractionDigits = 6;\n\t\t\t\t\tuseGrouping = true;\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\treturn [\n\t\t\t\t<Fragment>\n\t\t\t\t\t{formatterRender(\n\t\t\t\t\t\trow,\n\t\t\t\t\t\tcolumn,\n\t\t\t\t\t\trenderValue.toLocaleString(\"zh-CN\", {\n\t\t\t\t\t\t\tminimumFractionDigits: 2,\n\t\t\t\t\t\t\tmaximumFractionDigits,\n\t\t\t\t\t\t\tuseGrouping,\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t$index\n\t\t\t\t\t)}\n\t\t\t\t</Fragment>,\n\t\t\t];\n\t\t};\n\n\t\t/** 链接列渲染 */\n\t\tconst linkRender = (row: DefaultRow, column: TableColumnCtx<DefaultRow>, $index: number): VNode[] => {\n\t\t\tconst renderValue = formatterRender(row, column, row[props.prop ?? \"\"], $index);\n\t\t\treturn autoWidthRender([\n\t\t\t\t<Fragment>\n\t\t\t\t\t{copyRender(renderValue)}\n\t\t\t\t\t{renderValue && (\n\t\t\t\t\t\t<ElText\n\t\t\t\t\t\t\tclass={\"el-link is-hover-underline fa-table__link-column__text\"}\n\t\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\t\t// 数据删除拦截点击\n\t\t\t\t\t\t\t\tif (props.dataDeleteField && row[props.dataDeleteField] === true) return;\n\t\t\t\t\t\t\t\tif (props.click) {\n\t\t\t\t\t\t\t\t\tprops.click({ row, $index, ...getTableDefaultSlots(tableState) });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\temit(\"customCellClick\", props.clickEmit ?? \"\", {\n\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\tcolumn: columnCtx.value,\n\t\t\t\t\t\t\t\t\t\t$index,\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{renderValue}\n\t\t\t\t\t\t</ElText>\n\t\t\t\t\t)}\n\t\t\t\t</Fragment>,\n\t\t\t]);\n\t\t};\n\n\t\tconst defaultRender = ({ row, column, $index }: { row: DefaultRow; column: TableColumnCtx<DefaultRow>; $index: number }): VNode[] => {\n\t\t\tif (props.type === \"timeInfo\") {\n\t\t\t\treturn timeInfoRender(row, column, $index);\n\t\t\t}\n\t\t\tif (props.tag) {\n\t\t\t\treturn tagRender(row, column, $index);\n\t\t\t}\n\t\t\tif (props.type === \"date\" || props.type === \"time\" || props.type === \"dateTime\") {\n\t\t\t\treturn dateRender(row, column, $index);\n\t\t\t}\n\t\t\tif (\n\t\t\t\tprops.type === \"d2\" ||\n\t\t\t\tprops.type === \"d4\" ||\n\t\t\t\tprops.type === \"d6\" ||\n\t\t\t\tprops.type === \"gd2\" ||\n\t\t\t\tprops.type === \"gd4\" ||\n\t\t\t\tprops.type === \"gd6\"\n\t\t\t) {\n\t\t\t\treturn numberRender(row, column, $index);\n\t\t\t}\n\t\t\tif (props.link) {\n\t\t\t\treturn linkRender(row, column, $index);\n\t\t\t}\n\t\t\tif (props.render) {\n\t\t\t\treturn autoWidthRender(props.render({ row, column: columnCtx.value, $index, ...getTableDefaultSlots(tableState) }));\n\t\t\t}\n\t\t\tif (props.slot) {\n\t\t\t\treturn autoWidthRender(slots[props.slot]?.({ row, column: columnCtx.value, $index, ...getTableDefaultSlots(tableState) }) ?? []);\n\t\t\t}\n\t\t\tconst renderValue = formatterRender(row, column, row[props.prop ?? \"\"], $index);\n\t\t\treturn autoWidthRender([\n\t\t\t\t<Fragment>\n\t\t\t\t\t{copyRender(renderValue)}\n\t\t\t\t\t{renderValue}\n\t\t\t\t</Fragment>,\n\t\t\t]);\n\t\t};\n\n\t\tlet elTableColumnProps: ComputedRef<TableColumnCtx<DefaultRow>> = useProps(props, tableColumnProps, [\n\t\t\t\"type\",\n\t\t\t\"width\",\n\t\t\t\"minWidth\",\n\t\t\t\"sortable\",\n\t\t\t\"sortOrders\",\n\t\t\t\"resizable\",\n\t\t\t\"showOverflowTooltip\",\n\t\t]) as unknown as ComputedRef<TableColumnCtx<DefaultRow>>;\n\n\t\twatch(\n\t\t\t() => props,\n\t\t\t() => {\n\t\t\t\telTableColumnProps = useProps(props, tableColumnProps, [\n\t\t\t\t\t\"type\",\n\t\t\t\t\t\"className\",\n\t\t\t\t\t\"minWidth\",\n\t\t\t\t\t\"sortable\",\n\t\t\t\t\t\"sortOrders\",\n\t\t\t\t\t\"resizable\",\n\t\t\t\t\t\"showOverflowTooltip\",\n\t\t\t\t]) as unknown as ComputedRef<TableColumnCtx<DefaultRow>>;\n\t\t\t}\n\t\t);\n\n\t\tuseRender(() => (\n\t\t\t<Fragment>\n\t\t\t\t{\n\t\t\t\t\t// 如果有配置多级表头的数据,则递归该组件\n\t\t\t\t\tprops._children?.length ? (\n\t\t\t\t\t\t<ElTableColumn\n\t\t\t\t\t\t\t{...elTableColumnProps.value}\n\t\t\t\t\t\t\tclassName={getClassName()}\n\t\t\t\t\t\t\tminWidth={getWidth(\"auto\")}\n\t\t\t\t\t\t\tsortable={props.sortable ? \"custom\" : false}\n\t\t\t\t\t\t\tsortOrders={props.sortOrders ?? [\"descending\", \"ascending\", null]}\n\t\t\t\t\t\t\tresizable={props.resizable && !props.autoWidth}\n\t\t\t\t\t\t\tshowOverflowTooltip={(props.showOverflowTooltip ?? true) && !props.autoWidth && props.type === \"default\"}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\theader: ({ column, $index }: { column: TableColumnCtx<DefaultRow>; $index: number }) =>\n\t\t\t\t\t\t\t\t\theaderRender({ column, $index }),\n\t\t\t\t\t\t\t\tdefault: () =>\n\t\t\t\t\t\t\t\t\t(props._children ?? []).map((col: FaTableColumnCtx) =>\n\t\t\t\t\t\t\t\t\t\th(\n\t\t\t\t\t\t\t\t\t\t\tresolveComponent(\"FaTableColumn\"),\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t...col,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\tslots\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t) : props.type === \"image\" ? (\n\t\t\t\t\t\t<ElTableColumn\n\t\t\t\t\t\t\t{...elTableColumnProps.value}\n\t\t\t\t\t\t\talign=\"center\"\n\t\t\t\t\t\t\tclassName=\"fa-table__image-column\"\n\t\t\t\t\t\t\tminWidth=\"50px\"\n\t\t\t\t\t\t\tsortable={false}\n\t\t\t\t\t\t\tresizable={false}\n\t\t\t\t\t\t\tshowOverflowTooltip={false}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\theader: ({ column, $index }: { column: TableColumnCtx<DefaultRow>; $index: number }) =>\n\t\t\t\t\t\t\t\t\theaderRender({ column, $index }),\n\t\t\t\t\t\t\t\tdefault: ({ row }: { row: DefaultRow; column: TableColumnCtx<DefaultRow>; $index: number }) =>\n\t\t\t\t\t\t\t\t\trow[props.prop ?? \"\"] ? (\n\t\t\t\t\t\t\t\t\t\tprops.hideImage ? (\n\t\t\t\t\t\t\t\t\t\t\t<ElImage\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"fa-image\"\n\t\t\t\t\t\t\t\t\t\t\t\tlazy\n\t\t\t\t\t\t\t\t\t\t\t\tsrc={artwork}\n\t\t\t\t\t\t\t\t\t\t\t\tfit=\"cover\"\n\t\t\t\t\t\t\t\t\t\t\t\tpreviewSrcList={[displayText(row[props.prop ?? \"\"])]}\n\t\t\t\t\t\t\t\t\t\t\t\tcloseOnPressEscape\n\t\t\t\t\t\t\t\t\t\t\t\thideOnClickModal\n\t\t\t\t\t\t\t\t\t\t\t\tpreviewTeleported\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<FaImage lazy src={displayText(row[props.prop ?? \"\"])} fit=\"cover\" original={props.originalImage} thumb />\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t<ElImage class=\"fa-image\" lazy src={notImage} fit=\"cover\" />\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t// 其他正常的列\n\t\t\t\t\t\t<ElTableColumn\n\t\t\t\t\t\t\t{...elTableColumnProps.value}\n\t\t\t\t\t\t\ttype={props.type === \"selection\" || props.type === \"index\" || props.type === \"expand\" ? props.type : \"default\"}\n\t\t\t\t\t\t\tclassName={getClassName()}\n\t\t\t\t\t\t\tminWidth={getWidth(\"auto\")}\n\t\t\t\t\t\t\tsortable={props.sortable ? \"custom\" : false}\n\t\t\t\t\t\t\tsortOrders={props.sortOrders ?? [\"descending\", \"ascending\", null]}\n\t\t\t\t\t\t\tresizable={props.resizable && !props.autoWidth}\n\t\t\t\t\t\t\tshowOverflowTooltip={(props.showOverflowTooltip ?? true) && !props.autoWidth && props.type === \"default\"}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\theader: ({ column, $index }: { column: TableColumnCtx<DefaultRow>; $index: number }) =>\n\t\t\t\t\t\t\t\t\tslots.header\n\t\t\t\t\t\t\t\t\t\t? slots.header({ column: columnCtx.value, $index, ...getTableDefaultSlots(tableState) })\n\t\t\t\t\t\t\t\t\t\t: headerRender({ column, $index }),\n\t\t\t\t\t\t\t\tdefault: ({ row, column, $index }: { row: DefaultRow; column: TableColumnCtx<DefaultRow>; $index: number }) =>\n\t\t\t\t\t\t\t\t\tslots.default\n\t\t\t\t\t\t\t\t\t\t? slots.default({ row, column: columnCtx.value, $index, ...getTableDefaultSlots(tableState) })\n\t\t\t\t\t\t\t\t\t\t: defaultRender({ row, column, $index }),\n\t\t\t\t\t\t\t\tfilterIcon: ({ filterOpened }: { filterOpened: boolean }) =>\n\t\t\t\t\t\t\t\t\tslots.filterIcon?.({ filterOpened, ...getTableDefaultSlots(tableState) }),\n\t\t\t\t\t\t\t\texpand: ({ expanded }: { expanded: boolean }) => slots.expand?.({ expanded, ...getTableDefaultSlots(tableState) }),\n\t\t\t\t\t\t\t}}\n\t\t\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AQ;GAAO,CAAC;GACzC,aAAa,EAAE,mBACd,MAAM,aAAa;IAAE;IAAc,GAAG,qBAAqB,UAAU;GAAE,CAAC;GACzE,SAAS,EAAE,eAAsC,MAAM,SAAS;IAAE;IAAU,GAAG,qBAAqB,UAAU;GAAE,CAAC;EAAC,CAAA,CAGpH,CAAA,CAGH;CACF;AACD,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { FaTableColumnCtx } from "./table.type";
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ /** @description 改变 */
4
+ change: {
5
+ type: import("vue").PropType<(columns: FaTableColumnCtx[]) => Promise<void>>;
6
+ };
7
+ }>, {
8
+ /** @description 打开 */
9
+ open: () => void;
10
+ /** @description 列改变 */
11
+ change: () => Promise<void>;
12
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
+ /** @description 改变 */
14
+ change: {
15
+ type: import("vue").PropType<(columns: FaTableColumnCtx[]) => Promise<void>>;
16
+ };
17
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ export default _default;
@@ -0,0 +1,307 @@
1
+ import { randomString } from "../../../utils/string/index.mjs";
2
+ import { useExpose } from "../../../utils/vue/expose.mjs";
3
+ import { definePropType } from "../../../utils/vue/props.mjs";
4
+ import { useRender } from "../../../utils/vue/render.mjs";
5
+ import { withDefineType } from "../../../utils/vue/with.mjs";
6
+ import { FaDialog } from "../../dialog/index.mjs";
7
+ import { tableStateKey } from "./useTable.mjs";
8
+ import { Sortable } from "../../../node_modules/.pnpm/sortablejs@1.15.7/node_modules/sortablejs/modular/sortable.esm.mjs";
9
+ import { Fragment, createTextVNode, createVNode, defineComponent, inject, mergeProps, onBeforeUnmount, reactive, ref } from "vue";
10
+ import { ElInput, ElInputNumber, ElMessage, ElNotification, ElRadio, ElRadioGroup, ElSwitch, ElTable, ElTableColumn, ElText } from "element-plus";
11
+ //#region src/components/table/src/tableColumnSettingDialog.tsx
12
+ var tableColumnSettingDialog_default = defineComponent({
13
+ name: "FaTableColumnsSettingDialog",
14
+ props: {
15
+ /** @description 改变 */
16
+ change: { type: definePropType(Function) } },
17
+ setup(props, { expose }) {
18
+ const tableState = inject(tableStateKey);
19
+ if (tableState === void 0) throw new Error("FaTableColumnsSettingDialog 必须在 FaTable 内部渲染。");
20
+ const state = reactive({
21
+ tableKey: randomString(8),
22
+ sortableInstance: withDefineType(),
23
+ change: false
24
+ });
25
+ const faDialogRef = ref();
26
+ const indexMethod = (index) => {
27
+ return index + 1;
28
+ };
29
+ const tableRowDrop = () => {
30
+ const tBody = document.querySelector(`.fa-table__column-setting-${state.tableKey} .el-table__body-wrapper tbody`);
31
+ if (!tBody) return;
32
+ if (state.sortableInstance) state.sortableInstance.destroy();
33
+ state.sortableInstance = new Sortable(tBody, {
34
+ animation: 150,
35
+ delay: 0,
36
+ onEnd(evt) {
37
+ const { newIndex, oldIndex } = evt;
38
+ if (newIndex !== void 0 && oldIndex !== void 0 && newIndex !== oldIndex) {
39
+ state.change = true;
40
+ const curRow = tableState.orgColumns.splice(oldIndex, 1)[0];
41
+ if (curRow) tableState.orgColumns.splice(newIndex, 0, curRow);
42
+ tableState.orgColumns = tableState.orgColumns.map((item, index) => {
43
+ return {
44
+ ...item,
45
+ order: index + 1
46
+ };
47
+ });
48
+ }
49
+ }
50
+ });
51
+ };
52
+ const open = () => {
53
+ state.change = false;
54
+ faDialogRef.value?.open(() => {
55
+ tableRowDrop();
56
+ ElNotification({
57
+ message: "点击保存才会进行数据缓存,点击取消为本此生效",
58
+ type: "info"
59
+ });
60
+ });
61
+ };
62
+ const destroySortable = () => {
63
+ state.sortableInstance?.destroy();
64
+ state.sortableInstance = void 0;
65
+ };
66
+ onBeforeUnmount(destroySortable);
67
+ const handleChange = async () => {
68
+ if (state.change) await props.change?.(tableState.orgColumns);
69
+ else ElMessage.info("列配置未发生变化");
70
+ };
71
+ const handleConfirmClick = () => {
72
+ faDialogRef.value?.close(handleChange);
73
+ };
74
+ const handleOrderChange = () => {
75
+ state.change = true;
76
+ let orderColumns = tableState.orgColumns.filter((f) => !f?.pureSearch);
77
+ orderColumns = orderColumns.sort((a, b) => {
78
+ if (a.order !== b.order) return (a.order ?? 0) - (b.order ?? 0);
79
+ else return orderColumns.indexOf(b) - orderColumns.indexOf(a);
80
+ });
81
+ tableState.orgColumns = [...orderColumns, ...tableState.orgColumns.filter((f) => f?.pureSearch)];
82
+ tableState.orgColumns.forEach((item, index) => {
83
+ item.order = index + 1;
84
+ });
85
+ };
86
+ const handleColumnChange = () => {
87
+ state.change = true;
88
+ };
89
+ const autoWidthDisabled = (row, switchEl = false) => {
90
+ const result = {};
91
+ if (row?.type) switch (row?.type) {
92
+ case "expand":
93
+ result.disabled = true;
94
+ result.placeholder = "暂不支持宽度配置";
95
+ break;
96
+ case "image":
97
+ result.disabled = true;
98
+ result.placeholder = "图片列无需配置";
99
+ break;
100
+ case "date":
101
+ case "time":
102
+ case "dateTime":
103
+ result.disabled = true;
104
+ result.placeholder = "时间/日期列无需配置";
105
+ break;
106
+ case "timeInfo":
107
+ result.disabled = true;
108
+ result.placeholder = "当前列无需配置";
109
+ }
110
+ else if (row?.tag) {
111
+ result.disabled = true;
112
+ result.placeholder = "标签列无需配置";
113
+ } else if (row?.autoWidth) {
114
+ result.disabled = true;
115
+ result.placeholder = "自动列宽无需配置";
116
+ }
117
+ if (!result.disabled) return {};
118
+ if (switchEl) delete result.placeholder;
119
+ return result;
120
+ };
121
+ const pureSearchDisabled = (row, switchEl = false, orderEl = false, _radioEl = false) => {
122
+ const result = {};
123
+ if (row?.pureSearch) {
124
+ result.disabled = true;
125
+ result.placeholder = "搜索列无需配置";
126
+ }
127
+ if (!result.disabled) return {};
128
+ if (switchEl) delete result.placeholder;
129
+ if (orderEl) result.placeholder = "999";
130
+ return result;
131
+ };
132
+ useRender(() => createVNode(FaDialog, {
133
+ "ref": faDialogRef,
134
+ "class": "fa-table__column-setting-dialog",
135
+ "onConfirmClick": handleConfirmClick,
136
+ "showFullscreen": false,
137
+ "confirmButtonText": state.change ? "保存更改" : "确认",
138
+ "fullHeight": true,
139
+ "onClosed": destroySortable
140
+ }, {
141
+ header: () => createVNode(Fragment, null, [createTextVNode("列表配置(留空则恢复默认配置)"), createVNode(ElText, { "type": "info" }, { default: () => [createTextVNode("点击保存才会进行数据缓存,点击取消为本次生效")] })]),
142
+ default: () => createVNode(ElTable, {
143
+ "class": ["fa-table__column-setting", `fa-table__column-setting-${state.tableKey}`],
144
+ "data": tableState.orgColumns,
145
+ "rowKey": "prop",
146
+ "border": true
147
+ }, { default: () => createVNode(Fragment, null, [
148
+ createVNode(ElTableColumn, {
149
+ "type": "index",
150
+ "fixed": "left",
151
+ "align": "center",
152
+ "width": 45,
153
+ "index": indexMethod
154
+ }, null),
155
+ createVNode(ElTableColumn, {
156
+ "label": "列显示名称",
157
+ "minWidth": 200
158
+ }, { default: ({ row }) => row.type === "image" ? createVNode(ElInput, {
159
+ "disabled": true,
160
+ "readonly": true,
161
+ "modelValue": row.label,
162
+ "onUpdate:modelValue": ($event) => row.label = $event,
163
+ "placeholder": "请输入列显示名称",
164
+ "onChange": handleColumnChange
165
+ }, null) : createVNode(ElInput, mergeProps({
166
+ "modelValue": row.label,
167
+ "onUpdate:modelValue": ($event) => row.label = $event,
168
+ "placeholder": "请输入列显示名称"
169
+ }, pureSearchDisabled(row), { "onChange": handleColumnChange }), null) }),
170
+ createVNode(ElTableColumn, {
171
+ "label": "固定",
172
+ "width": 230
173
+ }, { default: ({ row }) => createVNode(ElRadioGroup, mergeProps({
174
+ "modelValue": row.fixed,
175
+ "onUpdate:modelValue": ($event) => row.fixed = $event
176
+ }, pureSearchDisabled(row, false, false, true), { "onChange": handleColumnChange }), { default: () => [
177
+ createVNode(ElRadio, { "value": false }, { default: () => [createTextVNode("无")] }),
178
+ createVNode(ElRadio, { "value": "left" }, { default: () => [createTextVNode("左侧")] }),
179
+ createVNode(ElRadio, { "value": "right" }, { default: () => [createTextVNode("右侧")] })
180
+ ] }) }),
181
+ createVNode(ElTableColumn, {
182
+ "label": "宽度",
183
+ "width": 200
184
+ }, { default: ({ row }) => createVNode(ElInputNumber, mergeProps({
185
+ "modelValue": row.width,
186
+ "onUpdate:modelValue": ($event) => row.width = $event,
187
+ "min": 1,
188
+ "max": 999,
189
+ "stepStrictly": true,
190
+ "controls": false,
191
+ "placeholder": "请输入宽度"
192
+ }, autoWidthDisabled(row), pureSearchDisabled(row), { "onChange": handleColumnChange }), { suffix: () => createVNode("span", null, [createTextVNode("px")]) }) }),
193
+ createVNode(ElTableColumn, {
194
+ "label": "小的宽度",
195
+ "width": 200
196
+ }, { default: ({ row }) => createVNode(ElInputNumber, mergeProps({
197
+ "modelValue": row.smallWidth,
198
+ "onUpdate:modelValue": ($event) => row.smallWidth = $event,
199
+ "min": 1,
200
+ "max": 999,
201
+ "stepStrictly": true,
202
+ "controls": false,
203
+ "placeholder": "请输入小的宽度"
204
+ }, autoWidthDisabled(row), pureSearchDisabled(row), { "onChange": handleColumnChange }), { suffix: () => createVNode("span", null, [createTextVNode("px")]) }) }),
205
+ createVNode(ElTableColumn, {
206
+ "label": "顺序",
207
+ "width": 100
208
+ }, { default: ({ row }) => createVNode(ElInputNumber, mergeProps({
209
+ "style": "width: auto;",
210
+ "modelValue": row.order,
211
+ "onUpdate:modelValue": ($event) => row.order = $event,
212
+ "min": 1,
213
+ "max": 999,
214
+ "stepStrictly": true,
215
+ "controls": false,
216
+ "placeholder": "请输入顺序"
217
+ }, pureSearchDisabled(row, false, true), { "onChange": handleOrderChange }), null) }),
218
+ createVNode(ElTableColumn, {
219
+ "label": "排序",
220
+ "width": 65
221
+ }, { default: ({ row }) => createVNode(ElSwitch, mergeProps({
222
+ "modelValue": row.sortable,
223
+ "onUpdate:modelValue": ($event) => row.sortable = $event,
224
+ "inlinePrompt": true,
225
+ "activeText": "是",
226
+ "inactiveText": "否",
227
+ "disabled": (row.disabledSortable ?? false) || row.type === "image"
228
+ }, pureSearchDisabled(row, true), { "onChange": handleColumnChange }), null) }),
229
+ createVNode(ElTableColumn, {
230
+ "label": "复制",
231
+ "width": 65
232
+ }, { default: ({ row }) => createVNode(ElSwitch, mergeProps({
233
+ "modelValue": row.copy,
234
+ "onUpdate:modelValue": ($event) => row.copy = $event,
235
+ "inlinePrompt": true,
236
+ "activeText": "是",
237
+ "inactiveText": "否",
238
+ "disabled": !!row?.type || !!row?.slot
239
+ }, pureSearchDisabled(row, true), { "onChange": handleColumnChange }), null) }),
240
+ createVNode(ElTableColumn, {
241
+ "label": "自动宽度",
242
+ "width": 85
243
+ }, { default: ({ row }) => createVNode(ElSwitch, mergeProps({
244
+ "modelValue": row.autoWidth,
245
+ "onUpdate:modelValue": ($event) => row.autoWidth = $event,
246
+ "inlinePrompt": true,
247
+ "activeText": "是",
248
+ "inactiveText": "否",
249
+ "disabled": !!row?.type
250
+ }, pureSearchDisabled(row, true), { "onChange": handleColumnChange }), null) }),
251
+ createVNode(ElTableColumn, {
252
+ "label": "显示",
253
+ "width": 75
254
+ }, { default: ({ row }) => createVNode(ElSwitch, {
255
+ "modelValue": row.show,
256
+ "onUpdate:modelValue": ($event) => row.show = $event,
257
+ "inlinePrompt": true,
258
+ "activeText": "显示",
259
+ "inactiveText": "隐藏",
260
+ "onChange": handleColumnChange
261
+ }, null) }),
262
+ createVNode(ElTableColumn, {
263
+ "label": "搜索框名称",
264
+ "minWidth": 200
265
+ }, { default: ({ row }) => row.search ? createVNode(ElInput, {
266
+ "modelValue": row.search.label,
267
+ "onUpdate:modelValue": ($event) => row.search.label = $event,
268
+ "placeholder": "请输入搜索框名称",
269
+ "onChange": handleColumnChange
270
+ }, null) : createVNode(ElInput, {
271
+ "disabled": true,
272
+ "placeholder": "当前列暂无搜索项配置"
273
+ }, null) }),
274
+ createVNode(ElTableColumn, {
275
+ "label": "搜索框顺序",
276
+ "width": 200
277
+ }, { default: ({ row }) => row.search ? createVNode(ElInputNumber, {
278
+ "modelValue": row.search.order,
279
+ "onUpdate:modelValue": ($event) => row.search.order = $event,
280
+ "min": 1,
281
+ "max": 999,
282
+ "stepStrictly": true,
283
+ "controls": false,
284
+ "placeholder": "请输入搜索框顺序",
285
+ "onChange": handleColumnChange
286
+ }, null) : createVNode(ElInputNumber, {
287
+ "disabled": true,
288
+ "min": 1,
289
+ "max": 999,
290
+ "stepStrictly": true,
291
+ "controls": false,
292
+ "placeholder": "当前列暂无搜索项配置"
293
+ }, null) })
294
+ ]) })
295
+ }));
296
+ return useExpose(expose, {
297
+ /** @description 打开 */
298
+ open,
299
+ /** @description 列改变 */
300
+ change: handleChange
301
+ });
302
+ }
303
+ });
304
+ //#endregion
305
+ export { tableColumnSettingDialog_default as default };
306
+
307
+ //# sourceMappingURL=tableColumnSettingDialog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tableColumnSettingDialog.mjs","names":[],"sources":["../../../../src/components/table/src/tableColumnSettingDialog.tsx"],"sourcesContent":["import { Fragment, defineComponent, inject, onBeforeUnmount, reactive, ref } from \"vue\";\nimport { ElInput, ElInputNumber, ElMessage, ElNotification, ElRadio, ElRadioGroup, ElSwitch, ElTable, ElTableColumn, ElText } from \"element-plus\";\nimport Sortable from \"sortablejs\";\nimport { definePropType, randomString, useExpose, useRender, withDefineType } from \"../../../utils\";\nimport { FaDialog } from \"../../dialog\";\nimport { tableStateKey } from \"./useTable\";\nimport type { FaTableColumnCtx } from \"./table.type\";\nimport type { FaDialogInstance } from \"../../dialog\";\nimport type { TableColumnCtx } from \"element-plus\";\nimport type { SortableEvent } from \"sortablejs\";\n\nexport default defineComponent({\n\tname: \"FaTableColumnsSettingDialog\",\n\tprops: {\n\t\t/** @description 改变 */\n\t\tchange: {\n\t\t\ttype: definePropType<(columns: FaTableColumnCtx[]) => Promise<void>>(Function),\n\t\t},\n\t},\n\tsetup(props, { expose }) {\n\t\tconst tableState = inject(tableStateKey);\n\t\tif (tableState === undefined) throw new Error(\"FaTableColumnsSettingDialog 必须在 FaTable 内部渲染。\");\n\n\t\tconst state = reactive({\n\t\t\ttableKey: randomString(8),\n\t\t\tsortableInstance: withDefineType<Sortable | undefined>(),\n\t\t\tchange: false,\n\t\t});\n\n\t\tconst faDialogRef = ref<FaDialogInstance>();\n\n\t\tconst indexMethod = (index: number): number => {\n\t\t\treturn index + 1;\n\t\t};\n\n\t\t// /**\n\t\t// * 处理固定行ClassName\n\t\t// */\n\t\t// const handleFixedRowClassName = (row: FaTableColumnCtx) => {\n\t\t// \tif (row.fixed) {\n\t\t// \t\treturn \"fa-table__setting-fixed-column\";\n\t\t// \t}\n\t\t// };\n\n\t\tconst tableRowDrop = (): void => {\n\t\t\tconst tBody = document.querySelector<HTMLElement>(`.fa-table__column-setting-${state.tableKey} .el-table__body-wrapper tbody`);\n\t\t\tif (!tBody) return;\n\n\t\t\t// 销毁现有Sortable实例(如果存在)\n\t\t\tif (state.sortableInstance) {\n\t\t\t\tstate.sortableInstance.destroy();\n\t\t\t}\n\n\t\t\tstate.sortableInstance = new Sortable(tBody, {\n\t\t\t\t// ms, number 单位:ms,定义排序动画的时间\n\t\t\t\tanimation: 150,\n\t\t\t\tdelay: 0,\n\t\t\t\t// filter: \".fa-table__setting-fixed-column\",\n\t\t\t\t// onMove(evt: any) {\n\t\t\t\t// \tconst { related } = evt;\n\t\t\t\t// \treturn !related.classList.contains(\"fa-table__setting-fixed-column\");\n\t\t\t\t// },\n\t\t\t\tonEnd(evt: SortableEvent): void {\n\t\t\t\t\tconst { newIndex, oldIndex } = evt;\n\t\t\t\t\tif (newIndex !== undefined && oldIndex !== undefined && newIndex !== oldIndex) {\n\t\t\t\t\t\tstate.change = true;\n\t\t\t\t\t\tconst curRow = tableState.orgColumns.splice(oldIndex, 1)[0];\n\t\t\t\t\t\tif (curRow) tableState.orgColumns.splice(newIndex, 0, curRow);\n\t\t\t\t\t\ttableState.orgColumns = tableState.orgColumns.map((item, index) => {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t...item,\n\t\t\t\t\t\t\t\torder: index + 1,\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t});\n\t\t};\n\n\t\tconst open = (): void => {\n\t\t\tstate.change = false;\n\t\t\tfaDialogRef.value?.open(() => {\n\t\t\t\ttableRowDrop();\n\t\t\t\tElNotification({\n\t\t\t\t\tmessage: \"点击保存才会进行数据缓存,点击取消为本此生效\",\n\t\t\t\t\ttype: \"info\",\n\t\t\t\t});\n\t\t\t});\n\t\t};\n\n\t\tconst destroySortable = (): void => {\n\t\t\tstate.sortableInstance?.destroy();\n\t\t\tstate.sortableInstance = undefined;\n\t\t};\n\n\t\tonBeforeUnmount(destroySortable);\n\n\t\tconst handleChange = async (): Promise<void> => {\n\t\t\tif (state.change) {\n\t\t\t\tawait props.change?.(tableState.orgColumns);\n\t\t\t} else {\n\t\t\t\tElMessage.info(\"列配置未发生变化\");\n\t\t\t}\n\t\t};\n\n\t\tconst handleConfirmClick = (): void => {\n\t\t\tfaDialogRef.value?.close(handleChange);\n\t\t};\n\n\t\tconst handleOrderChange = (): void => {\n\t\t\tstate.change = true;\n\t\t\tlet orderColumns = tableState.orgColumns.filter((f) => !f?.pureSearch);\n\t\t\torderColumns = orderColumns.sort((a, b) => {\n\t\t\t\tif (a.order !== b.order) {\n\t\t\t\t\treturn (a.order ?? 0) - (b.order ?? 0);\n\t\t\t\t} else {\n\t\t\t\t\treturn orderColumns.indexOf(b) - orderColumns.indexOf(a);\n\t\t\t\t}\n\t\t\t});\n\t\t\ttableState.orgColumns = [...orderColumns, ...tableState.orgColumns.filter((f) => f?.pureSearch)];\n\t\t\ttableState.orgColumns.forEach((item, index) => {\n\t\t\t\titem.order = index + 1;\n\t\t\t});\n\t\t};\n\n\t\tconst handleColumnChange = (): void => {\n\t\t\tstate.change = true;\n\t\t};\n\n\t\tconst autoWidthDisabled = (row: FaTableColumnCtx, switchEl = false): { disabled?: boolean; placeholder?: string } => {\n\t\t\tconst result: { disabled?: boolean; placeholder?: string } = {};\n\t\t\tif (row?.type) {\n\t\t\t\tswitch (row?.type) {\n\t\t\t\t\tcase \"expand\":\n\t\t\t\t\t\tresult.disabled = true;\n\t\t\t\t\t\tresult.placeholder = \"暂不支持宽度配置\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"image\":\n\t\t\t\t\t\tresult.disabled = true;\n\t\t\t\t\t\tresult.placeholder = \"图片列无需配置\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"date\":\n\t\t\t\t\tcase \"time\":\n\t\t\t\t\tcase \"dateTime\":\n\t\t\t\t\t\tresult.disabled = true;\n\t\t\t\t\t\tresult.placeholder = \"时间/日期列无需配置\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"timeInfo\":\n\t\t\t\t\t\tresult.disabled = true;\n\t\t\t\t\t\tresult.placeholder = \"当前列无需配置\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t} else if (row?.tag) {\n\t\t\t\tresult.disabled = true;\n\t\t\t\tresult.placeholder = \"标签列无需配置\";\n\t\t\t} else if (row?.autoWidth) {\n\t\t\t\tresult.disabled = true;\n\t\t\t\tresult.placeholder = \"自动列宽无需配置\";\n\t\t\t}\n\t\t\tif (!result.disabled) return {};\n\t\t\tif (switchEl) {\n\t\t\t\tdelete result.placeholder;\n\t\t\t}\n\t\t\treturn result;\n\t\t};\n\n\t\tconst pureSearchDisabled = (\n\t\t\trow: FaTableColumnCtx,\n\t\t\tswitchEl = false,\n\t\t\torderEl = false,\n\t\t\t_radioEl = false\n\t\t): { disabled?: boolean; placeholder?: string } => {\n\t\t\tconst result: { disabled?: boolean; placeholder?: string } = {};\n\t\t\tif (row?.pureSearch) {\n\t\t\t\tresult.disabled = true;\n\t\t\t\tresult.placeholder = \"搜索列无需配置\";\n\t\t\t}\n\t\t\tif (!result.disabled) return {};\n\t\t\tif (switchEl) {\n\t\t\t\tdelete result.placeholder;\n\t\t\t}\n\t\t\tif (orderEl) {\n\t\t\t\tresult.placeholder = \"999\";\n\t\t\t}\n\t\t\treturn result;\n\t\t};\n\n\t\tuseRender(() => (\n\t\t\t<FaDialog\n\t\t\t\tref={faDialogRef}\n\t\t\t\tclass=\"fa-table__column-setting-dialog\"\n\t\t\t\tonConfirmClick={handleConfirmClick}\n\t\t\t\tshowFullscreen={false}\n\t\t\t\tconfirmButtonText={state.change ? \"保存更改\" : \"确认\"}\n\t\t\t\tfullHeight\n\t\t\t\tonClosed={destroySortable}\n\t\t\t>\n\t\t\t\t{{\n\t\t\t\t\theader: () => (\n\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t列表配置(留空则恢复默认配置)\n\t\t\t\t\t\t\t<ElText type=\"info\">点击保存才会进行数据缓存,点击取消为本次生效</ElText>\n\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t),\n\t\t\t\t\tdefault: () => (\n\t\t\t\t\t\t<ElTable\n\t\t\t\t\t\t\tclass={[\"fa-table__column-setting\", `fa-table__column-setting-${state.tableKey}`]}\n\t\t\t\t\t\t\tdata={tableState.orgColumns}\n\t\t\t\t\t\t\trowKey=\"prop\"\n\t\t\t\t\t\t\tborder\n\t\t\t\t\t\t\t// rowClassName={handleFixedRowClassName}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\tdefault: () => (\n\t\t\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn type=\"index\" fixed=\"left\" align=\"center\" width={45} index={indexMethod} />\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"列显示名称\" minWidth={200}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) =>\n\t\t\t\t\t\t\t\t\t\t\t\t\trow.type === \"image\" ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInput\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treadonly\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.label}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入列显示名称\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInput\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.label}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入列显示名称\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"固定\" width={230}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElRadioGroup\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.fixed}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row, false, false, true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElRadio value={false}>无</ElRadio>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElRadio value=\"left\">左侧</ElRadio>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElRadio value=\"right\">右侧</ElRadio>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</ElRadioGroup>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"宽度\" width={200}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInputNumber\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.width}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmin={1}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmax={999}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstepStrictly\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrols={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入宽度\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...autoWidthDisabled(row)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsuffix: () => <span>px</span>,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t</ElInputNumber>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"小的宽度\" width={200}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInputNumber\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.smallWidth}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmin={1}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmax={999}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstepStrictly\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrols={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入小的宽度\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...autoWidthDisabled(row)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsuffix: () => <span>px</span>,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t</ElInputNumber>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"顺序\" width={100}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInputNumber\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"width: auto;\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.order}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmin={1}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmax={999}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstepStrictly\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrols={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入顺序\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row, false, true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleOrderChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"排序\" width={65}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElSwitch\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.sortable}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinlinePrompt\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tactiveText=\"是\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinactiveText=\"否\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled={(row.disabledSortable ?? false) || row.type === \"image\"}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row, true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"复制\" width={65}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElSwitch\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.copy}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinlinePrompt\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tactiveText=\"是\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinactiveText=\"否\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled={!!row?.type || !!row?.slot}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row, true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"自动宽度\" width={85}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElSwitch\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.autoWidth}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinlinePrompt\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tactiveText=\"是\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinactiveText=\"否\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled={!!row?.type}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row, true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"显示\" width={75}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElSwitch\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.show}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinlinePrompt\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tactiveText=\"显示\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinactiveText=\"隐藏\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"搜索框名称\" minWidth={200}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) =>\n\t\t\t\t\t\t\t\t\t\t\t\t\trow.search ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInput\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.search.label}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入搜索框名称\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInput disabled placeholder=\"当前列暂无搜索项配置\" />\n\t\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"搜索框顺序\" width={200}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) =>\n\t\t\t\t\t\t\t\t\t\t\t\t\trow.search ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInputNumber\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.search.order}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmin={1}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmax={999}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstepStrictly\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrols={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入搜索框顺序\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInputNumber\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmin={1}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmax={999}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstepStrictly\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrols={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"当前列暂无搜索项配置\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t</ElTable>\n\t\t\t\t\t),\n\t\t\t\t}}\n\t\t\t</FaDialog>\n\t\t));\n\n\t\treturn useExpose(expose, {\n\t\t\t/** @description 打开 */\n\t\t\topen,\n\t\t\t/** @description 列改变 */\n\t\t\tchange: handleChange,\n\t\t});\n\t},\n});\n"],"mappings":";;;;;;;;;;;AAWA,IAAA,mCAAe,gBAAgB;CAC9B,MAAM;CACN,OAAO;;AAEN,QAAQ,EACP,MAAM,eAA+D,QAAQ,EAC9E,EACD;CACA,MAAM,OAAO,EAAE,UAAU;EACxB,MAAM,aAAa,OAAO,aAAa;EACvC,IAAI,eAAe,KAAA,GAAW,MAAM,IAAI,MAAM,+CAA+C;EAE7F,MAAM,QAAQ,SAAS;GACtB,UAAU,aAAa,CAAC;GACxB,kBAAkB,eAAqC;GACvD,QAAQ;EACT,CAAC;EAED,MAAM,cAAc,IAAsB;EAE1C,MAAM,eAAe,UAA0B;GAC9C,OAAO,QAAQ;EAChB;EAWA,MAAM,qBAA2B;GAChC,MAAM,QAAQ,SAAS,cAA2B,6BAA6B,MAAM,SAAQ,+BAAgC;GAC7H,IAAI,CAAC,OAAO;GAGZ,IAAI,MAAM,kBACT,MAAM,iBAAiB,QAAQ;GAGhC,MAAM,mBAAmB,IAAI,SAAS,OAAO;IAE5C,WAAW;IACX,OAAO;IAMP,MAAM,KAA0B;KAC/B,MAAM,EAAE,UAAU,aAAa;KAC/B,IAAI,aAAa,KAAA,KAAa,aAAa,KAAA,KAAa,aAAa,UAAU;MAC9E,MAAM,SAAS;MACf,MAAM,SAAS,WAAW,WAAW,OAAO,UAAU,CAAC,CAAC,CAAC;MACzD,IAAI,QAAQ,WAAW,WAAW,OAAO,UAAU,GAAG,MAAM;MAC5D,WAAW,aAAa,WAAW,WAAW,KAAK,MAAM,UAAU;OAClE,OAAO;QACN,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E;KAAK,eAAA;IAAA,GAAA,IAAA,EAGhB,CAAA;GAAA,CAAA,EAIL,CAAA;EAGH,CAAA,CAGH;EAED,OAAO,UAAU,QAAQ;;GAExB;;GAEA,QAAQ;EACT,CAAC;CACF;AACD,CAAC"}
@@ -0,0 +1,24 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ /** @description 页码 */
3
+ pageSizes: {
4
+ type: import("vue").PropType<number[]>;
5
+ default: number[];
6
+ };
7
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ /** @description 页码改变 */
9
+ sizeChange: (pageSize: number) => boolean;
10
+ /** @description 当前页数改变 */
11
+ currentChange: (currentPage: number) => boolean;
12
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
+ /** @description 页码 */
14
+ pageSizes: {
15
+ type: import("vue").PropType<number[]>;
16
+ default: number[];
17
+ };
18
+ }>> & Readonly<{
19
+ onCurrentChange?: ((currentPage: number) => any) | undefined;
20
+ onSizeChange?: ((pageSize: number) => any) | undefined;
21
+ }>, {
22
+ pageSizes: number[];
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
+ export default _default;
@@ -0,0 +1,58 @@
1
+ import { definePropType } from "../../../utils/vue/props.mjs";
2
+ import { useRender } from "../../../utils/vue/render.mjs";
3
+ import isNumber from "../../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNumber.mjs";
4
+ import isNull from "../../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNull.mjs";
5
+ import { tableStateKey } from "./useTable.mjs";
6
+ import { createVNode, defineComponent, inject, mergeProps } from "vue";
7
+ import { ElNotification, ElPagination } from "element-plus";
8
+ //#region src/components/table/src/tablePagination.tsx
9
+ var tablePagination_default = defineComponent({
10
+ name: "FaTablePagination",
11
+ props: {
12
+ /** @description 页码 */
13
+ pageSizes: {
14
+ type: definePropType(Array),
15
+ default: [
16
+ 20,
17
+ 30,
18
+ 50,
19
+ 100
20
+ ]
21
+ } },
22
+ emits: {
23
+ /** @description 页码改变 */
24
+ sizeChange: (pageSize) => isNumber(pageSize) || isNull(pageSize),
25
+ /** @description 当前页数改变 */
26
+ currentChange: (currentPage) => isNumber(currentPage) || isNull(currentPage)
27
+ },
28
+ setup(props, { emit }) {
29
+ const tableState = inject(tableStateKey);
30
+ if (tableState === void 0) throw new Error("FaTablePagination 必须在 FaTable 内部渲染。");
31
+ const handleSizeChange = (pageSize) => {
32
+ if (pageSize > 100) ElNotification({
33
+ title: "欢迎",
34
+ message: "当前页码已经超过100条/页,可能会造成页面卡顿。",
35
+ type: "warning",
36
+ duration: 2e3
37
+ });
38
+ emit("sizeChange", pageSize);
39
+ };
40
+ useRender(() => createVNode(ElPagination, mergeProps({
41
+ "onUpdate:currentPage": (currentPage) => emit("currentChange", currentPage),
42
+ "onUpdate:pageSize": handleSizeChange
43
+ }, {
44
+ "class": "fa-table-pagination",
45
+ "size": "small",
46
+ "currentPage": tableState.tablePagination.pageIndex,
47
+ "pageSize": tableState.tablePagination.pageSize,
48
+ "pageSizes": props.pageSizes,
49
+ "background": true,
50
+ "layout": "jumper, prev, pager, next, sizes, total",
51
+ "total": tableState.tablePagination.totalRows
52
+ }), null));
53
+ }
54
+ });
55
+ //#endregion
56
+ export { tablePagination_default as default };
57
+
58
+ //# sourceMappingURL=tablePagination.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tablePagination.mjs","names":["onUpdate:currentPage"],"sources":["../../../../src/components/table/src/tablePagination.tsx"],"sourcesContent":["import { defineComponent, inject } from \"vue\";\nimport { ElNotification, ElPagination } from \"element-plus\";\nimport { isNull, isNumber } from \"lodash-unified\";\nimport { definePropType, useRender } from \"../../../utils\";\nimport { tableStateKey } from \"./useTable\";\n\nexport default defineComponent({\n\tname: \"FaTablePagination\",\n\tprops: {\n\t\t/** @description 页码 */\n\t\tpageSizes: {\n\t\t\ttype: definePropType<number[]>(Array),\n\t\t\tdefault: [20, 30, 50, 100],\n\t\t},\n\t},\n\temits: {\n\t\t/** @description 页码改变 */\n\t\tsizeChange: (pageSize: number) => isNumber(pageSize) || isNull(pageSize),\n\t\t/** @description 当前页数改变 */\n\t\tcurrentChange: (currentPage: number) => isNumber(currentPage) || isNull(currentPage),\n\t},\n\tsetup(props, { emit }) {\n\t\tconst tableState = inject(tableStateKey);\n\t\tif (tableState === undefined) {\n\t\t\tthrow new Error(\"FaTablePagination 必须在 FaTable 内部渲染。\");\n\t\t}\n\n\t\tconst handleSizeChange = (pageSize: number): void => {\n\t\t\tif (pageSize > 100) {\n\t\t\t\tElNotification({\n\t\t\t\t\ttitle: \"欢迎\",\n\t\t\t\t\tmessage: \"当前页码已经超过100条/页,可能会造成页面卡顿。\",\n\t\t\t\t\ttype: \"warning\",\n\t\t\t\t\tduration: 2000,\n\t\t\t\t});\n\t\t\t}\n\t\t\temit(\"sizeChange\", pageSize);\n\t\t};\n\n\t\tuseRender(() => (\n\t\t\t<ElPagination\n\t\t\t\t{...{\n\t\t\t\t\t\"onUpdate:currentPage\": (currentPage: number) => emit(\"currentChange\", currentPage),\n\t\t\t\t\t\"onUpdate:pageSize\": handleSizeChange,\n\t\t\t\t}}\n\t\t\t\tclass=\"fa-table-pagination\"\n\t\t\t\tsize=\"small\"\n\t\t\t\tcurrentPage={tableState.tablePagination.pageIndex}\n\t\t\t\tpageSize={tableState.tablePagination.pageSize}\n\t\t\t\tpageSizes={props.pageSizes}\n\t\t\t\tbackground\n\t\t\t\tlayout=\"jumper, prev, pager, next, sizes, total\"\n\t\t\t\ttotal={tableState.tablePagination.totalRows}\n\t\t\t/>\n\t\t));\n\t},\n});\n"],"mappings":";;;;;;;;AAMA,IAAA,0BAAe,gBAAgB;CAC9B,MAAM;CACN,OAAO;;AAEN,WAAW;EACV,MAAM,eAAyB,KAAK;EACpC,SAAS;GAAC;GAAI;GAAI;GAAI;EAAG;CAC1B,EACD;CACA,OAAO;;EAEN,aAAa,aAAqB,SAAS,QAAQ,KAAK,OAAO,QAAQ;;EAEvE,gBAAgB,gBAAwB,SAAS,WAAW,KAAK,OAAO,WAAW;CACpF;CACA,MAAM,OAAO,EAAE,QAAQ;EACtB,MAAM,aAAa,OAAO,aAAa;EACvC,IAAI,eAAe,KAAA,GAClB,MAAM,IAAI,MAAM,qCAAqC;EAGtD,MAAM,oBAAoB,aAA2B;GACpD,IAAI,WAAW,KACd,eAAe;IACd,OAAO;IACP,SAAS;IACT,MAAM;IACN,UAAU;GACX,CAAC;GAEF,KAAK,cAAc,QAAQ;EAC5B;EAEA,gBAAU,YAAA,cAAA,WAAA;GAGP,yBAAyB,gBAAwB,KAAK,iBAAiB,WAAW;GAClF,qBAAqB;EAAgB,GAAA;GAAA,SAAA;GAAA,QAAA;GAAA,eAIzB,WAAW,gBAAgB;GAAS,YACvC,WAAW,gBAAgB;GAAQ,aAClC,MAAM;GAAS,cAAA;GAAA,UAAA;GAAA,SAGnB,WAAW,gBAAgB;EAAS,CAAA,GAAA,IAAA,CAE5C;CACF;AACD,CAAC"}