@web-utils/form-ui 1.0.0-beta86 → 1.0.0-beta87

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 (445) hide show
  1. package/address-input/index.mjs +1 -1
  2. package/affix/index.mjs +2 -2
  3. package/base2.css +1 -0
  4. package/capsule-tab/index.mjs +1 -1
  5. package/card/index.mjs +15 -15
  6. package/chunks/{C-zPVdz-.mjs → 1EH2Ca7m2.mjs} +31 -29
  7. package/chunks/{mnqSaATq.mjs → 2Bhi7uIl.mjs} +18 -19
  8. package/chunks/2Hag_Aho.mjs +4 -0
  9. package/chunks/6Lm-ZabT2.mjs +439 -0
  10. package/chunks/7OAy-mrx.mjs +642 -0
  11. package/chunks/7cy48wUQ.mjs +25 -0
  12. package/chunks/8ldF4QwW.mjs +209 -0
  13. package/chunks/{BhHMGhJ8.mjs → B0rLJ6br2.mjs} +27 -26
  14. package/chunks/{DCqyZyF6.mjs → B14qtsOg2.mjs} +8 -7
  15. package/chunks/B2vpUK0j.mjs +13 -0
  16. package/chunks/B7fnIBG_2.mjs +346 -0
  17. package/chunks/B9BRO_ca2.mjs +2 -0
  18. package/chunks/B9rfY77Q.mjs +107 -0
  19. package/chunks/BBYzYVET.mjs +173 -0
  20. package/chunks/BBbwcaCo.mjs +196 -0
  21. package/chunks/{DSTNXl142.mjs → BBlZh4pj.mjs} +2 -2
  22. package/chunks/{6dNVtIN32.mjs → BCqOe0lx.mjs} +1 -1
  23. package/chunks/BEOl740t2.mjs +56 -0
  24. package/chunks/{B1luuf_A2.mjs → BF0OBs7P.mjs} +15 -14
  25. package/chunks/BFY-akW92.mjs +1 -0
  26. package/chunks/BGjN3ifV.mjs +34 -0
  27. package/chunks/BMouE3MT.mjs +48 -0
  28. package/chunks/{BYu4QaK72.mjs → BPQMbzNr.mjs} +2 -2
  29. package/chunks/BVD_ePZC.mjs +37 -0
  30. package/chunks/{HFLY8Wla.mjs → BVSJF8GY.mjs} +215 -221
  31. package/chunks/{vHsAJZRT.mjs → BXdCyPVV.mjs} +2 -2
  32. package/chunks/{DbcxJ45j.mjs → BZb0RMw12.mjs} +15 -13
  33. package/chunks/BZuJ9dKq2.mjs +69 -0
  34. package/chunks/BaM7vJ3h.mjs +1920 -0
  35. package/chunks/BbJd8Pij.mjs +734 -0
  36. package/chunks/{tVHVSu5h.mjs → BgQktI__2.mjs} +384 -385
  37. package/chunks/BhIjXcRj2.mjs +617 -0
  38. package/chunks/{SInS7QSL.mjs → Bi03Pb_j2.mjs} +1 -1
  39. package/chunks/Bi2y9LWO2.mjs +338 -0
  40. package/chunks/{DrvwVjzq2.mjs → BjZf7WL6.mjs} +2 -2
  41. package/chunks/{BxcsELcB2.mjs → BkEjtrWy.mjs} +2 -2
  42. package/chunks/BnNJk0GR2.mjs +4 -0
  43. package/chunks/Bpp7HhpF.mjs +446 -0
  44. package/chunks/Bs0Qas8r.mjs +14 -0
  45. package/chunks/Bs8cIxmy.mjs +384 -0
  46. package/chunks/BsBVCVnp2.mjs +378 -0
  47. package/chunks/BtGJbKCB.mjs +4 -0
  48. package/chunks/{Bs926z902.mjs → BuwISkjU.mjs} +12 -11
  49. package/chunks/{DWN5uzm02.mjs → BvdCIFp_.mjs} +32 -31
  50. package/chunks/BwVhaeaN2.mjs +8 -0
  51. package/chunks/BxfDXlNF.mjs +5 -0
  52. package/chunks/C1rRv4L7.mjs +1094 -0
  53. package/chunks/C2ILQE4o.mjs +15 -0
  54. package/chunks/{CCpKg0cM.mjs → C5SO6LJW.mjs} +2 -2
  55. package/chunks/C6wieT3K2.mjs +4 -0
  56. package/chunks/C7L-0D2c.mjs +18 -0
  57. package/chunks/CAXQZ1D92.mjs +158 -0
  58. package/chunks/CAmsy3d12.mjs +1 -0
  59. package/chunks/CBrMFZX-.mjs +39 -0
  60. package/chunks/CDhbz_dU.mjs +5 -0
  61. package/chunks/CEAep1cG2.mjs +88 -0
  62. package/chunks/CEDUulAx.mjs +245 -0
  63. package/chunks/CEaiqlCR.mjs +678 -0
  64. package/chunks/{CpsHWpwH2.mjs → CFfhckpA.mjs} +26 -27
  65. package/chunks/CG-vyVAP2.mjs +2 -0
  66. package/chunks/CHqbeWkw.mjs +99 -0
  67. package/chunks/CI6Nw27a2.mjs +299 -0
  68. package/chunks/CNcSX5f1.mjs +1 -0
  69. package/chunks/CPAK-Btp2.mjs +58 -0
  70. package/chunks/CRScbQff2.mjs +1 -0
  71. package/chunks/CShykH0i.mjs +1 -0
  72. package/chunks/CTAUFbNL.mjs +222 -0
  73. package/chunks/{D_q3C3v4.mjs → CTCW5Zu02.mjs} +135 -134
  74. package/chunks/CZbhVowA2.mjs +105 -0
  75. package/chunks/{DVF9q3oX.mjs → C_mXAGw2.mjs} +2 -2
  76. package/chunks/C_rLHaAm.mjs +41 -0
  77. package/chunks/C_ykwQIT.mjs +25 -0
  78. package/chunks/Cm5l5wtF.mjs +21 -0
  79. package/chunks/CogUVyM32.mjs +161 -0
  80. package/chunks/{C-iN5MJZ.mjs → Cqn3fqrC.mjs} +6 -6
  81. package/chunks/{BsqIRxSS.mjs → CsckXzQC.mjs} +7 -6
  82. package/chunks/CtqI9iHR.mjs +108 -0
  83. package/chunks/{Dodxnwze.mjs → CuU6RbNj2.mjs} +6 -6
  84. package/chunks/Cu_oMKPd.mjs +250 -0
  85. package/chunks/Cum802WQ.mjs +13 -0
  86. package/chunks/{4kjeIiag2.mjs → Cwgd7PoY.mjs} +4 -4
  87. package/chunks/Cx2xXO7o.mjs +52 -0
  88. package/chunks/{8h-xBLL82.mjs → Cxhpz5pM.mjs} +112 -112
  89. package/chunks/CyF0QYX72.mjs +1098 -0
  90. package/chunks/D0SsqlhV2.mjs +2381 -0
  91. package/chunks/D5OVW2kN.mjs +34 -0
  92. package/chunks/D6WqEUFG2.mjs +98 -0
  93. package/chunks/D8iXlrtZ2.mjs +1038 -0
  94. package/chunks/D98jjbwV2.mjs +61 -0
  95. package/chunks/D9Pg_OCD2.mjs +6 -0
  96. package/chunks/DA1LVvTS.mjs +577 -0
  97. package/chunks/DHUKKHoT.mjs +1 -0
  98. package/chunks/DJQH0NMv.mjs +276 -0
  99. package/chunks/DK7E0MrC2.mjs +990 -0
  100. package/chunks/{BM5LdxU72.mjs → DNicIC4X.mjs} +32 -31
  101. package/chunks/{CLn5E7NV.mjs → DOPqetRk2.mjs} +1 -1
  102. package/chunks/DTS-uhBE.mjs +25 -0
  103. package/chunks/DUQs5bPg.mjs +188 -0
  104. package/chunks/{B5c0s3IR.mjs → DUzoabyA2.mjs} +69 -68
  105. package/chunks/DV-c1hfn2.mjs +6 -0
  106. package/chunks/DVvu0kbn2.mjs +69 -0
  107. package/chunks/{tqW2DSco.mjs → DZ1RiRcl2.mjs} +31 -29
  108. package/chunks/DZZdwRGN.mjs +479 -0
  109. package/chunks/{Ctx93AFS.mjs → DcIBy4G3.mjs} +6 -6
  110. package/chunks/Dd5QuF1x.mjs +26 -0
  111. package/chunks/DdkcOQQ02.mjs +204 -0
  112. package/chunks/DeXyq_xW2.mjs +936 -0
  113. package/chunks/DgXDFUzM2.mjs +60 -0
  114. package/chunks/DhA6VYyn.mjs +588 -0
  115. package/chunks/DiQUqii-.mjs +486 -0
  116. package/chunks/{KOJEsarR2.mjs → Dk_ATXDY.mjs} +1 -1
  117. package/chunks/DlhCJLng.mjs +211 -0
  118. package/chunks/Dq9YiS-H.mjs +26 -0
  119. package/chunks/{mqi8hesW2.mjs → DrrpjVlS.mjs} +19 -18
  120. package/chunks/DsSXjU752.mjs +4811 -0
  121. package/chunks/DuIXSS2d.mjs +454 -0
  122. package/chunks/DvCdN2bU.mjs +1 -0
  123. package/chunks/DvG4VjQh.mjs +216 -0
  124. package/chunks/DvenxcV4.mjs +186 -0
  125. package/chunks/DxG4FcLQ2.mjs +58 -0
  126. package/chunks/E-zZdDOp.mjs +48 -0
  127. package/chunks/HQd8AhfS.mjs +225 -0
  128. package/chunks/HsqImdEj.mjs +69 -0
  129. package/chunks/IAX-2m4F.mjs +31 -0
  130. package/chunks/JvWWISEH2.mjs +243 -0
  131. package/chunks/K7NMn1cU.mjs +12 -0
  132. package/chunks/{BrSqLOi5.mjs → LnWJAAlm2.mjs} +178 -178
  133. package/chunks/NiAjkTEH2.mjs +32 -0
  134. package/chunks/OWDOBaZL.mjs +467 -0
  135. package/chunks/R_GWm9EB.mjs +41 -0
  136. package/chunks/Rn-X08l92.mjs +273 -0
  137. package/chunks/STHbzblo.mjs +55 -0
  138. package/chunks/TWAjK03p.mjs +3092 -0
  139. package/chunks/{tfaGdZX2.mjs → XGboXSyJ2.mjs} +139 -138
  140. package/chunks/ZIHPaVeg.mjs +105 -0
  141. package/chunks/ZxxDJBOG2.mjs +180 -0
  142. package/chunks/_NG8ze6x.mjs +42 -0
  143. package/chunks/_wUx1zSH2.mjs +30 -0
  144. package/chunks/aeYRYRdi.mjs +29 -0
  145. package/chunks/b58kljs82.mjs +525 -0
  146. package/chunks/cGGsl8YM2.mjs +2 -0
  147. package/chunks/cvUTkWmm.mjs +98 -0
  148. package/chunks/el7WAt3q.mjs +4 -0
  149. package/chunks/f-0LSLCC.mjs +17 -0
  150. package/chunks/g1H2yYXi.mjs +35 -0
  151. package/chunks/gQwOnofw.mjs +302 -0
  152. package/chunks/hczonP-N2.mjs +206 -0
  153. package/chunks/jkTWyLZa.mjs +17 -0
  154. package/chunks/kN7dSjtl.mjs +1278 -0
  155. package/chunks/kWflpyKd.mjs +221 -0
  156. package/chunks/lJ7uxiQe2.mjs +46 -0
  157. package/chunks/lKeVGJZg.mjs +62 -0
  158. package/chunks/{ofu8wJKp.mjs → losZHy0P.mjs} +1 -1
  159. package/chunks/qNngJ9B9.mjs +29 -0
  160. package/chunks/r6tERHEL.mjs +438 -0
  161. package/chunks/tSJE9_uL.mjs +1 -0
  162. package/chunks/vRQzbLgj.mjs +2 -0
  163. package/chunks/wfxM1ecI.mjs +17 -0
  164. package/chunks/{Dkw6LNCq2.mjs → wkrB-kab.mjs} +1 -1
  165. package/chunks/{C8h_P_kl2.mjs → y9rz_ZSp.mjs} +37 -36
  166. package/chunks/zG9cElaH.mjs +1209 -0
  167. package/code-mirror-editor/index.mjs +1 -1
  168. package/confirm-button/index.mjs +1 -1
  169. package/confirmable/index.mjs +1 -1
  170. package/constants/index.d.ts +2 -0
  171. package/constants/index.mjs +2 -2
  172. package/context-menu/index.mjs +1 -1
  173. package/count-up/index.mjs +1 -1
  174. package/css/style.css +1 -0
  175. package/css/style10.css +1 -0
  176. package/css/style11.css +1 -0
  177. package/css/style12.css +1 -0
  178. package/css/style13.css +1 -0
  179. package/css/style14.css +1 -0
  180. package/css/style15.css +1 -0
  181. package/css/style16.css +1 -0
  182. package/css/style17.css +1 -0
  183. package/css/style18.css +1 -0
  184. package/css/style19.css +1 -0
  185. package/css/style2.css +1 -0
  186. package/css/style20.css +1 -0
  187. package/css/style21.css +1 -0
  188. package/css/style22.css +1 -0
  189. package/css/style23.css +1 -0
  190. package/css/style24.css +1 -0
  191. package/css/style25.css +1 -0
  192. package/css/style26.css +1 -0
  193. package/css/style27.css +1 -0
  194. package/css/style28.css +1 -0
  195. package/css/style29.css +1 -0
  196. package/css/style3.css +1 -0
  197. package/css/style30.css +1 -0
  198. package/css/style31.css +1 -0
  199. package/css/style32.css +1 -0
  200. package/css/style33.css +1 -0
  201. package/css/style34.css +1 -0
  202. package/css/style35.css +1 -0
  203. package/css/style36.css +1 -0
  204. package/css/style37.css +1 -0
  205. package/css/style38.css +1 -0
  206. package/css/style39.css +1 -0
  207. package/css/style4.css +1 -0
  208. package/css/style5.css +1 -0
  209. package/css/style6.css +1 -0
  210. package/css/style7.css +1 -0
  211. package/css/style8.css +1 -0
  212. package/css/style9.css +1 -0
  213. package/custom-scrollbar/index.mjs +1 -1
  214. package/data-box/index.mjs +1 -1
  215. package/data-card/index.mjs +8 -8
  216. package/data-card-text/index.mjs +8 -8
  217. package/data-display/index.mjs +9 -9
  218. package/data-icons/index.mjs +9 -9
  219. package/data-imgtext/index.mjs +10 -9
  220. package/data-operatext/index.mjs +8 -8
  221. package/data-panel/index.mjs +9 -9
  222. package/data-pay/index.mjs +11 -10
  223. package/data-price/index.mjs +8 -8
  224. package/data-progress/index.mjs +10 -10
  225. package/data-rotate/index.mjs +1 -1
  226. package/data-table-picker/index.mjs +15 -15
  227. package/data-tabs/index.mjs +1 -1
  228. package/dialog-form/index.d.ts +4 -0
  229. package/dialog-form/index.mjs +154 -0
  230. package/dialog-form/style.css +1 -0
  231. package/dict-render/index.mjs +1 -1
  232. package/e-charts/index.mjs +2 -2
  233. package/easy-popup/index.mjs +1 -1
  234. package/editable-progress/index.mjs +8 -8
  235. package/editable-tree/index.mjs +2 -596
  236. package/editable-tree/style.css +1 -1
  237. package/element-dialog/index.mjs +1 -1
  238. package/element-dialog/style.css +1 -1
  239. package/element-resize-observer/index.mjs +1 -1
  240. package/empty-view/index.d.ts +2 -2
  241. package/flex-box/index.mjs +1 -1
  242. package/flex-column/index.mjs +1 -1
  243. package/flex-item/index.mjs +1 -1
  244. package/flex-row/index.mjs +1 -1
  245. package/flex-scroller/index.mjs +1 -1
  246. package/flow-designer/index.mjs +1 -1
  247. package/flow-viewer/index.mjs +1 -1
  248. package/form-cascader/index.mjs +1 -1
  249. package/form-checkbox/index.mjs +1 -1
  250. package/form-checkbox-group/index.mjs +1 -1
  251. package/form-checkbox-group/style.css +1 -1
  252. package/form-date-picker/index.d.ts +4 -4
  253. package/form-date-picker/index.mjs +1 -1
  254. package/form-holder/index.mjs +1 -1
  255. package/form-image/index.mjs +1 -1
  256. package/form-image/style.css +1 -0
  257. package/form-input/index.mjs +1 -1
  258. package/form-input-cron-expression/index.mjs +1 -1
  259. package/form-input-email/index.mjs +1 -1
  260. package/form-input-id-card/index.mjs +1 -1
  261. package/form-input-number/index.mjs +1 -1
  262. package/form-input-phone-number/index.mjs +1 -1
  263. package/form-input-tag/index.mjs +1 -1
  264. package/form-input-time/index.mjs +1 -1
  265. package/form-item/index.mjs +1 -1
  266. package/form-item-group/index.mjs +1 -1
  267. package/form-radio-group/index.mjs +1 -1
  268. package/form-radio-group/style.css +1 -0
  269. package/form-rate/index.mjs +1 -1
  270. package/form-row/index.mjs +1 -1
  271. package/form-select/index.mjs +1 -1
  272. package/form-slider/index.mjs +1 -1
  273. package/form-switch/index.mjs +1 -1
  274. package/form-table/index.mjs +1 -1
  275. package/form-table-plus/index.mjs +1 -1
  276. package/form-text/index.mjs +1 -1
  277. package/form-textarea/index.mjs +1 -1
  278. package/form-time-select/index.mjs +1 -1
  279. package/form-tree-select/index.mjs +1 -1
  280. package/form-tree-select-multiple/index.mjs +1 -1
  281. package/form-view/index.mjs +3 -3
  282. package/fy-array/index.d.ts +234 -0
  283. package/fy-array/index.mjs +2 -0
  284. package/fy-array/style.css +1 -0
  285. package/fy-button/index.d.ts +18 -0
  286. package/fy-button/index.mjs +2 -0
  287. package/fy-button/style.css +1 -0
  288. package/fy-cascader/index.d.ts +298 -0
  289. package/fy-cascader/index.mjs +116 -0
  290. package/fy-checkbox/index.d.ts +231 -0
  291. package/fy-checkbox/index.mjs +100 -0
  292. package/fy-checkbox/style.css +1 -0
  293. package/fy-curd/index.d.ts +908 -0
  294. package/fy-curd/index.mjs +2 -0
  295. package/fy-date/index.d.ts +246 -0
  296. package/fy-date/index.mjs +79 -0
  297. package/fy-date/style.css +1 -0
  298. package/fy-dynamic/index.d.ts +268 -0
  299. package/fy-dynamic/index.mjs +2 -0
  300. package/fy-empty/index.d.ts +31 -0
  301. package/fy-empty/index.mjs +35 -0
  302. package/fy-empty/style.css +1 -0
  303. package/fy-form/index.d.ts +522 -0
  304. package/fy-form/index.mjs +2 -0
  305. package/fy-form/style.css +1 -0
  306. package/fy-input/index.d.ts +316 -0
  307. package/fy-input/index.mjs +123 -0
  308. package/fy-input-color/index.d.ts +235 -0
  309. package/fy-input-color/index.mjs +2 -0
  310. package/fy-input-color/style.css +1 -0
  311. package/fy-input-icon/index.d.ts +244 -0
  312. package/fy-input-icon/index.mjs +134 -0
  313. package/fy-input-icon/style.css +1 -0
  314. package/fy-input-map/index.d.ts +266 -0
  315. package/fy-input-map/index.mjs +249 -0
  316. package/fy-input-map/style.css +1 -0
  317. package/fy-input-number/index.d.ts +266 -0
  318. package/fy-input-number/index.mjs +78 -0
  319. package/fy-input-table/index.d.ts +248 -0
  320. package/fy-input-table/index.mjs +167 -0
  321. package/fy-input-table/style.css +1 -0
  322. package/fy-input-tree/index.d.ts +351 -0
  323. package/fy-input-tree/index.mjs +266 -0
  324. package/fy-input-tree/style.css +1 -0
  325. package/fy-radio/index.d.ts +218 -0
  326. package/fy-radio/index.mjs +57 -0
  327. package/fy-radio/style.css +1 -0
  328. package/fy-rate/index.d.ts +288 -0
  329. package/fy-rate/index.mjs +90 -0
  330. package/fy-rate/style.css +1 -0
  331. package/fy-select/index.d.ts +324 -0
  332. package/fy-select/index.mjs +2 -0
  333. package/fy-select/style.css +1 -0
  334. package/fy-slider/index.d.ts +249 -0
  335. package/fy-slider/index.mjs +72 -0
  336. package/fy-switch/index.d.ts +229 -0
  337. package/fy-switch/index.mjs +71 -0
  338. package/fy-tabs/index.d.ts +20 -0
  339. package/fy-tabs/index.mjs +50 -0
  340. package/fy-time/index.d.ts +704 -0
  341. package/fy-time/index.mjs +85 -0
  342. package/fy-title/index.d.ts +224 -0
  343. package/fy-title/index.mjs +18 -0
  344. package/fy-title/style.css +1 -0
  345. package/fy-tree/index.d.ts +141 -0
  346. package/fy-tree/index.mjs +392 -0
  347. package/fy-tree/style.css +1 -0
  348. package/fy-u-editor/index.d.ts +116 -0
  349. package/fy-u-editor/index.mjs +2 -0
  350. package/fy-u-editor/style.css +1 -0
  351. package/fy-upload/index.d.ts +379 -0
  352. package/fy-upload/index.mjs +2 -0
  353. package/fy-upload/style.css +1 -0
  354. package/guide-steps/index.mjs +2 -77
  355. package/guide-steps/style.css +1 -1
  356. package/helper/avue.d.ts +36 -0
  357. package/helper/avue.mjs +35 -0
  358. package/helper/dictionary.mjs +1 -1
  359. package/helper/input.mjs +1 -1
  360. package/highlight-j-s/index.mjs +1 -1
  361. package/icon-temp/index.d.ts +19 -0
  362. package/icon-temp/index.mjs +27 -0
  363. package/icon-temp/style.css +1 -0
  364. package/iframe-window/index.mjs +1 -1
  365. package/image-cropper/index.mjs +5 -5
  366. package/image-preview/index.mjs +2 -201
  367. package/image-preview/style.css +1 -1
  368. package/image-viewer/index.d.ts +1 -1
  369. package/image-viewer/index.mjs +1 -1
  370. package/index.css +1 -1
  371. package/index.d.ts +31 -1
  372. package/index.mjs +149 -121
  373. package/input-number-range/index.mjs +7 -7
  374. package/keyboard/index.mjs +1 -1
  375. package/loading-view/index.mjs +1 -1
  376. package/monaco-editor/index.d.ts +126 -0
  377. package/monaco-editor/index.mjs +2 -0
  378. package/monaco-editor/style.css +1 -0
  379. package/name-avatar/index.mjs +1 -1
  380. package/nav-bar/index.mjs +3 -3
  381. package/package.json +3 -1
  382. package/page-index/index.mjs +14 -14
  383. package/page-index-top/index.mjs +12 -12
  384. package/pageable-table/index.d.ts +1 -1
  385. package/pageable-table/index.mjs +1 -1
  386. package/photo-swipe/index.mjs +1 -1
  387. package/props/col.mjs +1 -1
  388. package/props/form-item.mjs +1 -1
  389. package/resolver/components.mjs +1 -1
  390. package/sign-panel/index.mjs +1 -1
  391. package/skeleton-panel/index.mjs +3 -3
  392. package/split-pane/index.mjs +1 -1
  393. package/sub-table/index.mjs +1 -1
  394. package/sub-table-plus/index.mjs +1 -1
  395. package/swiper/index.mjs +2 -2
  396. package/table-column/index.mjs +1 -1
  397. package/table-column-def/index.d.ts +6 -6
  398. package/table-column-def/index.mjs +1 -1
  399. package/table-view/index.mjs +104 -103
  400. package/tag-render/index.d.ts +1 -1
  401. package/tag-render/index.mjs +9 -7
  402. package/text-ellipsis/index.mjs +1 -1
  403. package/toolbar/index.mjs +1 -1
  404. package/toolbar-button/index.mjs +1 -1
  405. package/vue-cron/index.mjs +1 -1
  406. package/vue-tags-input/index.d.ts +1 -1
  407. package/vue-tags-input/index.mjs +1 -1
  408. package/vue-tree-select/index.mjs +1 -1
  409. package/vue-video-player/index.mjs +1 -1
  410. package/watermark/index.mjs +1 -1
  411. package/web-types.json +1 -1
  412. package/x-input-tag/index.mjs +24 -20
  413. package/year-calendar/index.mjs +1 -1
  414. package/chunks/3nLaRSbR2.mjs +0 -108
  415. package/chunks/6eDDQWcr.mjs +0 -69
  416. package/chunks/BIy6bO4j.mjs +0 -50
  417. package/chunks/BQytQPLa.mjs +0 -780
  418. package/chunks/BxuM-fgJ.mjs +0 -61
  419. package/chunks/By-W0XXn2.mjs +0 -63
  420. package/chunks/C28bnMcw.mjs +0 -68
  421. package/chunks/CET31mBi.mjs +0 -39
  422. package/chunks/CjCNtCWd.mjs +0 -58
  423. package/chunks/CkHQY4ME2.mjs +0 -29
  424. package/chunks/ClVh1Lek.mjs +0 -130
  425. package/chunks/DJlgX5ty.mjs +0 -30
  426. package/chunks/DdACGFy3.mjs +0 -90
  427. package/chunks/Dst9_BmZ.mjs +0 -99
  428. package/chunks/SWO35fS42.mjs +0 -31
  429. package/chunks/Tq3_dajC2.mjs +0 -25
  430. package/chunks/V-Js6hNd.mjs +0 -179
  431. package/chunks/XQwnPkab2.mjs +0 -34
  432. package/chunks/b0ve2YgF.mjs +0 -155
  433. package/chunks/saZ_qJOT.mjs +0 -32
  434. package/chunks/vebd58-O.mjs +0 -37
  435. package/chunks/y1Q66LEa2.mjs +0 -29
  436. /package/chunks/{CHmZyvFr.mjs → BMdSzPpD2.mjs} +0 -0
  437. /package/chunks/{X-ckP2Hj.mjs → CISLTyi_2.mjs} +0 -0
  438. /package/chunks/{PEU1JRcN2.mjs → CVDxIjGg.mjs} +0 -0
  439. /package/chunks/{DokYQ49m.mjs → CeLNtZZw.mjs} +0 -0
  440. /package/chunks/{BwL9Xz1F.mjs → CyNGeUTh.mjs} +0 -0
  441. /package/chunks/{BAG_R87k2.mjs → DX29uO-O.mjs} +0 -0
  442. /package/chunks/{tzjUpVIj.mjs → Xe_0bP0H.mjs} +0 -0
  443. /package/chunks/{B1MSrc6f.mjs → hFCEXdXW.mjs} +0 -0
  444. /package/chunks/{C_QfuxeQ.mjs → nvUgyH-A.mjs} +0 -0
  445. /package/chunks/{BTGrh7dw2.mjs → wm9pxXuv.mjs} +0 -0
@@ -1,27 +1,25 @@
1
- import { h as e, m as t, n, r } from "./ClVh1Lek.mjs";
2
- import i from "../element-resize-observer/index.mjs";
3
- import { cellClickHandlerContextKey as a, pageableTableContextKey as o } from "../constants/index.mjs";
4
- import { t as s } from "./mnqSaATq.mjs";
5
- import { getDictLabel as c } from "../helper/dictionary.mjs";
6
- import { t as l } from "./C_QfuxeQ.mjs";
7
- import { t as u } from "./6eDDQWcr.mjs";
8
- import { useVisibilityChange as ee } from "../hook/useVisibilityChange.mjs";
9
- import { ElCheckbox as d, ElDrawer as f, ElEmpty as te, ElMessage as ne, ElPagination as p, ElRadio as m, ElTable as h, ElTableColumn as g } from "element-plus/es";
10
- import "element-plus/es/components/base/style/css";
11
- import { Fragment as _, computed as v, createBlock as y, createTextVNode as b, createVNode as x, inject as S, isVNode as C, mergeModels as w, mergeProps as T, nextTick as re, onUpdated as E, openBlock as D, provide as O, reactive as k, ref as A, toDisplayString as j, useModel as M, useTemplateRef as ie, watch as N, withCtx as P } from "vue";
1
+ import "./B2vpUK0j.mjs";
2
+ import "./cvUTkWmm.mjs";
3
+ import { n as e, t } from "./TWAjK03p.mjs";
4
+ import { _ as n, h as r, m as i, n as a, r as o } from "./b58kljs82.mjs";
5
+ import { t as s } from "./6Lm-ZabT2.mjs";
6
+ import { t as c } from "./Rn-X08l92.mjs";
7
+ import { t as l } from "./HQd8AhfS.mjs";
8
+ import { n as u, t as d } from "./CEaiqlCR.mjs";
9
+ import f from "../element-resize-observer/index.mjs";
10
+ import "./2Hag_Aho.mjs";
11
+ import { cellClickHandlerContextKey as ee, pageableTableContextKey as p } from "../constants/index.mjs";
12
+ import { t as te } from "./2Bhi7uIl.mjs";
13
+ import { getDictLabel as m } from "../helper/dictionary.mjs";
14
+ import { t as h } from "./nvUgyH-A.mjs";
15
+ import { t as g } from "./BZuJ9dKq2.mjs";
16
+ import { useVisibilityChange as ne } from "../hook/useVisibilityChange.mjs";
17
+ import { Fragment as _, computed as v, createBlock as y, createTextVNode as b, createVNode as x, inject as S, isVNode as C, mergeModels as w, mergeProps as T, nextTick as E, onUpdated as re, openBlock as D, provide as O, reactive as k, ref as A, toDisplayString as j, useModel as M, useTemplateRef as ie, watch as N, withCtx as P } from "vue";
12
18
  import { isFunction as F } from "@web-utils/core";
13
- import "element-plus/es/components/message/style/css";
14
- import "element-plus/es/components/drawer/style/css";
15
- import "element-plus/es/components/table/style/css";
16
- import "element-plus/es/components/checkbox/style/css";
17
- import "element-plus/es/components/table-column/style/css";
18
- import "element-plus/es/components/pagination/style/css";
19
- import "element-plus/es/components/empty/style/css";
20
- import "element-plus/es/components/radio/style/css";
21
19
  import { useEventBus as ae } from "@web-utils/vue/hooks/useEventBus";
22
20
  import { uuid as oe } from "@web-utils/integrations/uuid";
23
21
  //#region src/components/table/components/TableColumnSettingPanel.vue
24
- var I = /* @__PURE__ */ Object.assign({ name: "TableColumnSettingPanel" }, {
22
+ var se = /* @__PURE__ */ Object.assign({ name: "TableColumnSettingPanel" }, {
25
23
  __name: "TableColumnSettingPanel",
26
24
  props: /* @__PURE__ */ w({ columns: {
27
25
  type: Array,
@@ -34,62 +32,62 @@ var I = /* @__PURE__ */ Object.assign({ name: "TableColumnSettingPanel" }, {
34
32
  modelModifiers: {}
35
33
  }),
36
34
  emits: /* @__PURE__ */ w(["update:settings"], ["update:modelValue"]),
37
- setup(e, { expose: t, emit: n }) {
38
- let r = M(e, "modelValue"), i = n, a = k({
35
+ setup(n, { expose: r, emit: i }) {
36
+ let a = M(n, "modelValue"), o = i, c = k({
39
37
  hideProps: {},
40
38
  fixedProps: {},
41
39
  filterableProps: {},
42
40
  sortableProps: {}
43
- }), o = (e, t, n) => {
44
- n === "hide" ? a.hideProps[t.prop] = e : n === "fixed" ? a.fixedProps[t.prop] = e : n === "filterable" ? a.filterableProps[t.prop] = e : n === "sortable" && (a.sortableProps[t.prop] = e), i("update:settings", a);
41
+ }), u = (e, t, n) => {
42
+ n === "hide" ? c.hideProps[t.prop] = e : n === "fixed" ? c.fixedProps[t.prop] = e : n === "filterable" ? c.filterableProps[t.prop] = e : n === "sortable" && (c.sortableProps[t.prop] = e), o("update:settings", c);
45
43
  };
46
- return t({ settings: a }), (t, n) => {
47
- let i = g, a = d, s = h, c = f;
48
- return D(), y(c, {
49
- modelValue: r.value,
50
- "onUpdate:modelValue": n[0] || (n[0] = (e) => r.value = e),
44
+ return r({ settings: c }), (r, i) => {
45
+ let o = e, c = s, d = t, f = l;
46
+ return D(), y(f, {
47
+ modelValue: a.value,
48
+ "onUpdate:modelValue": i[0] || (i[0] = (e) => a.value = e),
51
49
  class: "table-column-filter",
52
50
  title: "表格设置",
53
51
  "append-to-body": ""
54
52
  }, {
55
- default: P(() => [x(s, {
56
- data: e.columns,
53
+ default: P(() => [x(d, {
54
+ data: n.columns,
57
55
  border: ""
58
56
  }, {
59
57
  default: P(() => [
60
- x(i, { label: "列名" }, {
58
+ x(o, { label: "列名" }, {
61
59
  default: P(({ row: e }) => [b(j(e.label), 1)]),
62
60
  _: 1
63
61
  }),
64
- x(i, {
62
+ x(o, {
65
63
  label: "隐藏",
66
64
  align: "center"
67
65
  }, {
68
- default: P(({ row: e }) => [x(a, { onChange: (t) => o(t, e, "hide") }, null, 8, ["onChange"])]),
66
+ default: P(({ row: e }) => [x(c, { onChange: (t) => u(t, e, "hide") }, null, 8, ["onChange"])]),
69
67
  _: 1
70
68
  }),
71
- x(i, {
69
+ x(o, {
72
70
  label: "冻结",
73
71
  align: "center"
74
72
  }, {
75
- default: P(({ row: e }) => [x(a, { onChange: (t) => o(t, e, "fixed") }, null, 8, ["onChange"])]),
73
+ default: P(({ row: e }) => [x(c, { onChange: (t) => u(t, e, "fixed") }, null, 8, ["onChange"])]),
76
74
  _: 1
77
75
  }),
78
- x(i, {
76
+ x(o, {
79
77
  label: "过滤",
80
78
  align: "center"
81
79
  }, {
82
- default: P(({ row: e }) => [x(a, { onChange: (t) => o(t, e, "filterable") }, null, 8, ["onChange"])]),
80
+ default: P(({ row: e }) => [x(c, { onChange: (t) => u(t, e, "filterable") }, null, 8, ["onChange"])]),
83
81
  _: 1
84
82
  }),
85
- x(i, {
83
+ x(o, {
86
84
  label: "排序",
87
85
  align: "center"
88
86
  }, {
89
- default: P(({ row: e }) => [x(a, {
87
+ default: P(({ row: e }) => [x(c, {
90
88
  title: e.allowSort ? null : "该列不支持排序!",
91
89
  disabled: !e.allowSort,
92
- onChange: (t) => o(t, e, "sortable")
90
+ onChange: (t) => u(t, e, "sortable")
93
91
  }, null, 8, [
94
92
  "title",
95
93
  "disabled",
@@ -107,29 +105,29 @@ var I = /* @__PURE__ */ Object.assign({ name: "TableColumnSettingPanel" }, {
107
105
  });
108
106
  //#endregion
109
107
  //#region src/components/table/components/TableColumnFilterable.vue?vue&type=script&lang.jsx
110
- function L(e) {
108
+ function I(e) {
111
109
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !C(e);
112
110
  }
113
111
  //#endregion
114
112
  //#region src/components/table/components/TableColumnFilterable.vue
115
- var se = {
113
+ var ce = {
116
114
  name: "TableColumnFilterable",
117
- props: { ...l },
118
- setup(t, { slots: n }) {
119
- let r = S(o, null), i = e(t, (e) => e !== "filterMethod" && e !== "filters"), a = v(() => {
120
- if (t.filterable && r) return (e, t, n) => t[n.property] === e;
121
- }), s = v(() => {
122
- if (t.filterable && r) return [...new Set(r.records.value.map((e) => e[t.prop]).filter((e) => e))].map((e) => ({
115
+ props: { ...h },
116
+ setup(e, { slots: t }) {
117
+ let n = S(p, null), i = r(e, (e) => e !== "filterMethod" && e !== "filters"), a = v(() => {
118
+ if (e.filterable && n) return (e, t, n) => t[n.property] === e;
119
+ }), o = v(() => {
120
+ if (e.filterable && n) return [...new Set(n.records.value.map((t) => t[e.prop]).filter((e) => e))].map((e) => ({
123
121
  text: e,
124
122
  value: e
125
123
  }));
126
124
  });
127
- return () => x(u, T(i.value, {
125
+ return () => x(g, T(i.value, {
128
126
  filterMethod: a.value,
129
- filters: s.value
130
- }), L(n) ? n : { default: () => [n] });
127
+ filters: o.value
128
+ }), I(t) ? t : { default: () => [t] });
131
129
  }
132
- }, R = {
130
+ }, L = {
133
131
  data: {
134
132
  type: Array,
135
133
  default: () => []
@@ -305,7 +303,7 @@ var se = {
305
303
  selectExport: Boolean,
306
304
  useVisibilityChange: Boolean,
307
305
  rowDbClick: Function
308
- }, z = {
306
+ }, R = {
309
307
  data: !0,
310
308
  rowDbClick: !0,
311
309
  selectionWidth: !0,
@@ -332,320 +330,316 @@ var se = {
332
330
  columns: !0,
333
331
  payloadStyle: !0,
334
332
  disabledRowKeys: !0
335
- }, ce = (e) => z[e] !== !0;
333
+ }, le = (e) => R[e] !== !0;
336
334
  //#endregion
337
335
  //#region src/components/table/PageableTable.vue?vue&type=script&lang.jsx
338
- function le(e) {
336
+ function ue(e) {
339
337
  let t = "";
340
338
  for (let n in e) t += `<TableColumnDef prop="${n}" label="${n}"/>\n`;
341
339
  return t;
342
340
  }
343
- var B = {
341
+ var z = {
344
342
  loading: 1,
345
343
  error: -1,
346
344
  empty: 2,
347
345
  success: 0
348
- }, V = {
346
+ }, B = {
349
347
  name: "PageableTable",
350
348
  emits: { "page-loaded": null },
351
349
  inheritAttrs: !1,
352
- props: { ...R },
353
- setup(e, { emit: l, attrs: u, slots: d, expose: f }) {
354
- O(a, e.rowDbClick);
350
+ props: { ...L },
351
+ setup(r, { emit: s, attrs: l, slots: h, expose: g }) {
352
+ O(ee, r.rowDbClick);
355
353
  let y = ie("table"), S = A({
356
354
  hideProps: {},
357
355
  fixedProps: {},
358
356
  filterableProps: {},
359
357
  sortableProps: {}
360
- }), C = A(B.empty), w = A([]), D = A(null), k = A(!1), j = A([]), M = A({
358
+ }), C = A(z.empty), w = A([]), D = A(null), k = A(!1), j = A([]), M = A({
361
359
  total: 0,
362
360
  page: 1,
363
- limit: e.pageSize,
364
- ascs: e.ascs,
365
- descs: e.descs
366
- }), P = A(0), L = A(0), R = v(() => e.reloadOnModelChange ? {
361
+ limit: r.pageSize,
362
+ ascs: r.ascs,
363
+ descs: r.descs
364
+ }), P = A(0), I = A(0), L = v(() => r.reloadOnModelChange ? {
367
365
  asc: M.value.ascs,
368
366
  desc: M.value.descs,
369
367
  page: M.value.page,
370
368
  limit: M.value.limit,
371
- model: e.model
369
+ model: r.model
372
370
  } : {
373
371
  asc: M.value.ascs,
374
372
  desc: M.value.descs,
375
373
  page: M.value.page,
376
374
  limit: M.value.limit
377
- }), z = v(() => {
375
+ }), R = v(() => {
378
376
  var e;
379
377
  let t = `${(M.value.page - 1) * M.value.limit + (((e = w.value) == null ? void 0 : e.length) ?? 0)}`;
380
378
  return t.length > 3 ? 60 + (t.length - 3) * 10 : 60;
381
- }), V = () => {
382
- U();
383
- }, H = (t, n, r) => {
384
- if (e.clickRowSelect && Q(t)) {
379
+ }), B = () => {
380
+ H();
381
+ }, V = (e, t, n) => {
382
+ if (r.clickRowSelect && Z(e)) {
385
383
  var i;
386
- if (j.value.find((n) => n[e.rowKey] === t[e.rowKey])) {
384
+ if (j.value.find((t) => t[r.rowKey] === e[r.rowKey])) {
387
385
  var a;
388
- (a = y.value) == null || a.toggleRowSelection(t, !1);
386
+ (a = y.value) == null || a.toggleRowSelection(e, !1);
389
387
  return;
390
388
  }
391
- (i = y.value) == null || i.toggleRowSelection(t);
389
+ (i = y.value) == null || i.toggleRowSelection(e);
392
390
  }
393
- }, U = () => {
391
+ }, H = () => {
394
392
  var e, t;
395
393
  let n = (e = y.value) == null || (e = e.$children) == null ? void 0 : e.find((e) => {
396
394
  var t;
397
395
  return ((t = e.$options) == null ? void 0 : t.name) === "ElTableBody";
398
396
  });
399
397
  n == null || (t = n.$refs) == null || (t = t.tooltip) == null || t.hide();
400
- }, ue = ({ scrollLeft: e, scrollTop: t }) => {
401
- P.value = t, L.value = e;
402
- }, de = () => {
403
- ge(P.value, L.value);
404
- }, fe = (e) => n(le(e)), pe = ({ prop: t, order: n }) => {
405
- e.payloadStyle === "body" ? (M.value.ascs = n === "ascending" ? [t] : e.ascs, M.value.descs = n === "descending" ? [t] : e.descs) : (M.value.ascs = n === "ascending" ? t : "", M.value.descs = n === "descending" ? t : "");
406
- }, me = (e) => {
407
- Q(e) && (D.value = e);
398
+ }, de = ({ scrollLeft: e, scrollTop: t }) => {
399
+ P.value = t, I.value = e;
400
+ }, fe = () => {
401
+ _e(P.value, I.value);
402
+ }, pe = (e) => a(ue(e)), me = ({ prop: e, order: t }) => {
403
+ r.payloadStyle === "body" ? (M.value.ascs = t === "ascending" ? [e] : r.ascs, M.value.descs = t === "descending" ? [e] : r.descs) : (M.value.ascs = t === "ascending" ? e : "", M.value.descs = t === "descending" ? e : "");
408
404
  }, he = (e) => {
405
+ Z(e) && (D.value = e);
406
+ }, ge = (e) => {
409
407
  j.value = e;
410
- }, W = () => {
408
+ }, U = () => {
411
409
  var e;
412
410
  (e = y.value) == null || e.clearSelection();
413
- }, G = () => {
414
- let t;
415
- return t = e.payloadStyle === "body" ? {
411
+ }, W = () => {
412
+ let e;
413
+ return e = r.payloadStyle === "body" ? {
416
414
  page: {
417
415
  ...M.value,
418
416
  current: M.value.page,
419
417
  size: M.value.limit
420
418
  },
421
- example: e.model || {}
419
+ example: r.model || {}
422
420
  } : {
423
421
  ...M.value,
424
422
  current: M.value.page,
425
423
  size: M.value.limit,
426
- ...e.model || {}
427
- }, e.selectExport && (e.rowKey ? t.exportKeys = j.value.map((t) => t[e.rowKey]) : t.exportKeys = j.value.map((e) => w.value.indexOf(e))), t;
428
- }, K = async (t = !0) => {
429
- if (!e.api && e.data !== !1) {
430
- var n;
431
- w.value = e.data, M.value.page = 1, M.value.total = (n = w.value) == null ? void 0 : n.length, M.value.limit = M.value.total < 1 ? e.pageSize : M.value.total;
424
+ ...r.model || {}
425
+ }, r.selectExport && (r.rowKey ? e.exportKeys = j.value.map((e) => e[r.rowKey]) : e.exportKeys = j.value.map((e) => w.value.indexOf(e))), e;
426
+ }, G = async (e = !0) => {
427
+ if (!r.api && r.data !== !1) {
428
+ var t;
429
+ w.value = r.data, M.value.page = 1, M.value.total = (t = w.value) == null ? void 0 : t.length, M.value.limit = M.value.total < 1 ? r.pageSize : M.value.total;
432
430
  return;
433
431
  }
434
- t !== !1 && (w.value = []);
435
- let r, i = G();
436
- if (e.api) {
437
- t !== !1 && (C.value = B.loading);
432
+ e !== !1 && (w.value = []);
433
+ let i, a = W();
434
+ if (r.api) {
435
+ e !== !1 && (C.value = z.loading);
438
436
  try {
439
- e.api && (r = await e.api(i));
437
+ r.api && (i = await r.api(a));
440
438
  } catch {
441
- C.value = B.error;
439
+ C.value = z.error;
442
440
  return;
443
441
  }
444
- } else if (e.data) r = { data: { data: {
445
- total: e.data.length,
446
- records: e.data
442
+ } else if (r.data) i = { data: { data: {
443
+ total: r.data.length,
444
+ records: r.data
447
445
  } } };
448
446
  else {
449
- ne.warning({
447
+ n.warning({
450
448
  title: "开发提示!",
451
449
  message: "PageableTable api(Function) 属性"
452
450
  });
453
451
  return;
454
452
  }
455
- let { data: { data: a } = {} } = r || {}, { total: o, records: s } = a || {};
456
- M.value.total = Number(o), w.value = await _e(s), !s || !s.length ? C.value = B.empty : C.value = B.success, q(), l("page-loaded", a);
457
- }, q = () => {
458
- re(() => {
453
+ let { data: { data: o } = {} } = i || {}, { total: c, records: l } = o || {};
454
+ M.value.total = Number(c), w.value = await ve(l), !l || !l.length ? C.value = z.empty : C.value = z.success, K(), s("page-loaded", o);
455
+ }, K = () => {
456
+ E(() => {
459
457
  var e;
460
458
  (e = y.value) == null || e.doLayout();
461
459
  });
462
- }, J = async (e) => {
463
- await K(e);
464
- }, Y = () => {
460
+ }, q = async (e) => {
461
+ await G(e);
462
+ }, J = () => {
465
463
  M.value = {
466
464
  total: 0,
467
465
  page: 1,
468
- limit: e.pageSize,
469
- ascs: e.ascs,
470
- descs: e.descs
466
+ limit: r.pageSize,
467
+ ascs: r.ascs,
468
+ descs: r.descs
471
469
  };
472
- }, ge = (e, t) => {
470
+ }, _e = (e, t) => {
473
471
  y.value.setScrollTop(e), y.value.setScrollLeft(t);
474
- }, X = (e, t) => {
472
+ }, Y = (e, t) => {
475
473
  var n;
476
474
  (n = y.value) == null || n.toggleRowSelection(e, t);
477
- }, _e = async (t) => {
478
- if (!t) return [];
479
- let n = [...t];
480
- for (let t of n) for (let n of e.dicOptions) if (t[`$${n.prop}`] = t[n.prop], n.dicData) {
481
- var r;
482
- t[n.prop] = ((r = n.dicData.find((e) => e.modelValue === t[n.prop])) == null ? void 0 : r.label) || t[n.prop];
483
- } else t[n.prop] = await c(n.dicType, t[n.prop]);
484
- return n;
485
- }, Z = () => {
475
+ }, ve = async (e) => {
476
+ if (!e) return [];
477
+ let t = [...e];
478
+ for (let e of t) for (let t of r.dicOptions) if (e[`$${t.prop}`] = e[t.prop], t.dicData) {
479
+ var n;
480
+ e[t.prop] = ((n = t.dicData.find((n) => n.modelValue === e[t.prop])) == null ? void 0 : n.label) || e[t.prop];
481
+ } else e[t.prop] = await m(t.dicType, e[t.prop]);
482
+ return t;
483
+ }, X = () => {
486
484
  k.value = !k.value;
487
- }, Q = (t) => {
488
- var n;
489
- return !(t != null && t.disabled) && !((n = e.disabledRowKeys) != null && n.includes(t == null ? void 0 : t[e.rowKey]));
485
+ }, Z = (e) => {
486
+ var t;
487
+ return !(e != null && e.disabled) && !((t = r.disabledRowKeys) != null && t.includes(e == null ? void 0 : e[r.rowKey]));
490
488
  };
491
- e.useVisibilityChange && ee({ onPageVisible: () => {
492
- J(!1);
493
- } }), ae("reloadTableView", (t) => {
494
- t === e.viewId && K();
495
- }), N(() => e.url, Y), N(() => e.api, Y), N(() => e.data, K), N(() => R.value, K, {
489
+ r.useVisibilityChange && ne({ onPageVisible: () => {
490
+ q(!1);
491
+ } }), ae("reloadTableView", (e) => {
492
+ e === r.viewId && G();
493
+ }), N(() => r.url, J), N(() => r.api, J), N(() => r.data, G), N(() => L.value, G, {
496
494
  deep: !0,
497
- immediate: e.immediate
495
+ immediate: r.immediate
498
496
  });
499
- let ve = (t) => {
500
- let n;
501
- if (F(e.rowKey)) {
502
- if (n = e.rowKey(t), n) return n;
503
- } else if (e.rowKey && (n = t[e.rowKey], n)) return n;
504
- return n = "__rowKey", t[n] || (t[n] = oe(!1)), t[n];
497
+ let Q = (e) => {
498
+ let t;
499
+ if (F(r.rowKey)) {
500
+ if (t = r.rowKey(e), t) return t;
501
+ } else if (r.rowKey && (t = e[r.rowKey], t)) return t;
502
+ return t = "__rowKey", e[t] || (e[t] = oe(!1)), e[t];
505
503
  }, $ = v(() => {
506
- let t = [];
507
- if (d.default) {
508
- var n;
509
- let e = r((n = d.default) == null ? void 0 : n.call(d));
510
- for (let n = 0; n < e.length; n++) {
511
- let { props: r, children: i } = e[n];
504
+ let e = [];
505
+ if (h.default) {
506
+ var t;
507
+ let n = o((t = h.default) == null ? void 0 : t.call(h));
508
+ for (let t = 0; t < n.length; t++) {
509
+ let { props: r, children: i } = n[t];
512
510
  if (!r) continue;
513
511
  let { sortable: a, prop: o, fixed: s, ...c } = r, l = {
514
512
  ...c,
515
513
  prop: o,
516
514
  allowSort: a !== !1
517
515
  };
518
- i && (l.headerSlot = i.header, l.defaultSlot = i.default, l.expandSlot = i.expand, l.iconSlot = i["filter-icon"]), l.hide = S.value.hideProps[o], l.filterable = S.value.filterableProps[o], l.sortable = S.value.sortableProps[o] === !0, l.fixed = s || S.value.fixedProps[o], t.push(l);
516
+ i && (l.headerSlot = i.header, l.defaultSlot = i.default, l.expandSlot = i.expand, l.iconSlot = i["filter-icon"]), l.hide = S.value.hideProps[o], l.filterable = S.value.filterableProps[o], l.sortable = S.value.sortableProps[o] === !0, l.fixed = s || S.value.fixedProps[o], e.push(l);
519
517
  }
520
- } else if (e.columns) for (let n = 0; n < e.columns.length; n++) {
521
- let { prop: r, sortable: i, fixed: a, ...o } = e.columns[n], s = {
518
+ } else if (r.columns) for (let t = 0; t < r.columns.length; t++) {
519
+ let { prop: n, sortable: i, fixed: a, ...o } = r.columns[t], s = {
522
520
  ...o,
523
- prop: r,
521
+ prop: n,
524
522
  allowSort: i !== !1
525
523
  };
526
- s.hide = S.value.hideProps[r], s.filterable = S.value.filterableProps[r], s.sortable = S.value.sortableProps[r] === !0, s.fixed = a || S.value.fixedProps[r], t.push(s);
524
+ s.hide = S.value.hideProps[n], s.filterable = S.value.filterableProps[n], s.sortable = S.value.sortableProps[n] === !0, s.fixed = a || S.value.fixedProps[n], e.push(s);
527
525
  }
528
- return t;
526
+ return e;
529
527
  });
530
- E(() => {
531
- de();
532
- }), f({
528
+ re(() => {
529
+ fe();
530
+ }), g({
533
531
  records: w,
534
- getPage: K,
535
- refresh: J,
536
- reload: Y,
537
- doLayout: q,
538
- clearSelection: W,
539
- toggleRowSelection: X,
540
- toggleSettings: Z,
532
+ getPage: G,
533
+ refresh: q,
534
+ reload: J,
535
+ doLayout: K,
536
+ clearSelection: U,
537
+ toggleRowSelection: Y,
538
+ toggleSettings: X,
541
539
  currentRow: D,
542
- getPageQuery: G,
540
+ getPageQuery: W,
543
541
  tableColumns: $
544
- }), O(o, {
542
+ }), O(p, {
545
543
  records: w,
546
- getPage: K,
547
- refresh: J,
548
- reload: Y,
549
- doLayout: q,
550
- clearSelection: W,
551
- toggleRowSelection: X,
552
- toggleSettings: Z
544
+ getPage: G,
545
+ refresh: q,
546
+ reload: J,
547
+ doLayout: K,
548
+ clearSelection: U,
549
+ toggleRowSelection: Y,
550
+ toggleSettings: X
553
551
  });
554
- let { autoBindProps: ye, listeners: be } = t(e, { predicate: ce });
552
+ let { autoBindProps: ye, listeners: be } = i(r, { predicate: le });
555
553
  return () => x("div", {
556
554
  class: [
557
555
  "pageable-table",
558
- { "auto-height": e.autoHeight },
559
- u.class
556
+ { "auto-height": r.autoHeight },
557
+ l.class
560
558
  ],
561
- style: u.style
559
+ style: l.style
562
560
  }, [x("div", { class: "pageable-table-wrapper" }, [
563
- d.toolbar && d.toolbar({ selectedRows: j.value }),
564
- x(h, T(be.value, ye.value, {
561
+ h.toolbar && h.toolbar({ selectedRows: j.value }),
562
+ x(t, T(be.value, ye.value, {
565
563
  ref: "table",
566
564
  data: w.value,
567
- class: ["flex-item", { "header-bold": e.headerBold }],
568
- border: e.border,
565
+ class: ["flex-item", { "header-bold": r.headerBold }],
566
+ border: r.border,
569
567
  stripe: !0,
570
- rowKey: ve,
568
+ rowKey: Q,
571
569
  size: "default",
572
- height: e.autoHeight ? null : "auto",
573
- onScroll: ue,
574
- onSortChange: pe,
575
- onRowDblclick: V,
576
- onRowClick: H,
577
- onCellClick: U,
578
- onCurrentChange: me,
579
- onSelectionChange: he
570
+ height: r.autoHeight ? null : "auto",
571
+ onScroll: de,
572
+ onSortChange: me,
573
+ onRowDblclick: B,
574
+ onRowClick: V,
575
+ onCellClick: H,
576
+ onCurrentChange: he,
577
+ onSelectionChange: ge
580
578
  }), {
581
579
  default: () => {
582
580
  let t = [];
583
- if (e.multiple && e.selection && t.push(x(g, {
581
+ if (r.multiple && r.selection && t.push(x(e, {
584
582
  key: "selection",
585
583
  type: "selection",
586
- selectable: Q,
587
- width: e.selectionWidth,
584
+ selectable: Z,
585
+ width: r.selectionWidth,
588
586
  align: "center"
589
- }, null)), !e.multiple && e.selection && t.push(x(g, {
587
+ }, null)), !r.multiple && r.selection && t.push(x(e, {
590
588
  key: "single-selection",
591
589
  type: "single-selection",
592
590
  "class-name": "single-select-column",
593
- width: e.selectionWidth,
591
+ width: r.selectionWidth,
594
592
  align: "center"
595
593
  }, {
596
- header: () => x(m, {
594
+ header: () => x(c, {
597
595
  modelValue: !!D.value,
598
596
  label: !0
599
597
  }, { default: () => [x("span", null, null)] }),
600
- default: ({ row: t }) => {
601
- var n;
602
- let r = e.rowKey || "id";
603
- return x(m, {
604
- label: !0,
605
- disabled: !Q(t),
606
- modelValue: ((n = D.value) == null ? void 0 : n[r]) === t[r]
607
- }, { default: () => [x("span", null, null)] });
608
- }
609
- })), e.index && t.push(x(g, {
598
+ default: ({ row: e }) => x(c, {
599
+ label: !0,
600
+ disabled: !Z(e),
601
+ modelValue: D.value && Q(D.value) === Q(e)
602
+ }, { default: () => [x("span", null, null)] })
603
+ })), r.index && t.push(x(e, {
610
604
  key: "index",
611
605
  type: "index",
612
606
  label: "序号",
613
- width: z.value,
607
+ width: R.value,
614
608
  align: "center"
615
609
  }, { default: ({ $index: e }) => (M.value.page - 1) * M.value.limit + e + 1 || e + 1 })), $.value.length > 0) for (let e = 0; e < $.value.length; e++) {
616
610
  let n = $.value[e];
617
611
  if (n.hide) continue;
618
612
  let { prop: r, headerSlot: i, defaultSlot: a, expandSlot: o, iconSlot: s, ...c } = n;
619
- t.push(x(se, T(c, { prop: r }), {
620
- default: d[r] ? ({ row: e }) => d[r]({ row: e }) : a,
613
+ t.push(x(ce, T(c, { prop: r }), {
614
+ default: h[r] ? ({ row: e }) => h[r]({ row: e }) : a,
621
615
  header: i,
622
616
  expand: o,
623
617
  "filter-icon": s
624
618
  }));
625
619
  }
626
- else t.push(x(g, {
620
+ else t.push(x(e, {
627
621
  key: "default",
628
622
  label: "点击表格行复制模板"
629
623
  }, { default: ({ row: e }) => x("pre", {
630
624
  class: "pointer",
631
- onClick: () => fe(e)
625
+ onClick: () => pe(e)
632
626
  }, [JSON.stringify(e, null, " ")]) }));
633
627
  return t;
634
628
  },
635
- empty: () => d.empty ? d.empty() : x(_, null, [
636
- C.value === B.loading && x("span", { class: "pageable-table-loading" }, [x("i", { class: "table-status-icon el-icon-loading" }, null), b("加载中...")]),
637
- C.value === B.error && x(s, {
629
+ empty: () => h.empty ? h.empty() : x(_, null, [
630
+ C.value === z.loading && x("span", { class: "pageable-table-loading" }, [x("i", { class: "table-status-icon el-icon-loading" }, null), b("加载中...")]),
631
+ C.value === z.error && x(te, {
638
632
  class: "pageable-table-error",
639
- onClick: J
633
+ onClick: q
640
634
  }, { default: () => [x("i", { class: "table-status-icon el-icon-error" }, null), b("加载失败,点击重试!")] }),
641
- C.value !== B.loading && C.value !== B.error && x(te, null, null)
635
+ C.value !== z.loading && C.value !== z.error && x(u, null, null)
642
636
  ]),
643
- append: d.append
637
+ append: h.append
644
638
  }),
645
- e.paging && x(p, {
639
+ r.paging && x(d, {
646
640
  "current-page": M.value.page,
647
641
  "onUpdate:current-page": (e) => M.value.page = e,
648
- "hide-on-single-page": e.hideOnSinglePage,
642
+ "hide-on-single-page": r.hideOnSinglePage,
649
643
  "page-size": M.value.limit,
650
644
  "onUpdate:page-size": (e) => M.value.limit = e,
651
645
  total: M.value.total,
@@ -662,15 +656,15 @@ var B = {
662
656
  background: !0,
663
657
  layout: "total, sizes, prev, pager, next, jumper"
664
658
  }, null),
665
- x(I, {
659
+ x(se, {
666
660
  settings: S.value,
667
661
  "onUpdate:settings": (e) => S.value = e,
668
662
  modelValue: k.value,
669
663
  "onUpdate:modelValue": (e) => k.value = e,
670
664
  columns: $.value
671
665
  }, null)
672
- ]), x(i, { onNotify: q }, null)]);
666
+ ]), x(f, { onNotify: K }, null)]);
673
667
  }
674
668
  };
675
669
  //#endregion
676
- export { V as t };
670
+ export { B as t };