@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,61 +0,0 @@
1
- import { allProps as e, predicate as t } from "../props/date.mjs";
2
- import { n, o as r } from "./b0ve2YgF.mjs";
3
- import { ElDatePicker as i } from "element-plus/es";
4
- import "element-plus/es/components/base/style/css";
5
- import { computed as a, createVNode as o, mergeProps as s } from "vue";
6
- import "element-plus/es/components/date-picker/style/css";
7
- import { toDate as c } from "@web-utils/integrations/dayjs";
8
- //#endregion
9
- //#region src/components/form/FormDatePicker.vue
10
- var l = {
11
- name: "FormDatePicker",
12
- inheritAttrs: !1,
13
- props: { ...e },
14
- emits: {
15
- ...n,
16
- "update:startDate": null,
17
- "update:endDate": null
18
- },
19
- setup(e, { emit: n, slots: l, attrs: u }) {
20
- let { emitInput: d, render: f, placeholder: p, disabled: m, listeners: h, inputProps: g } = r(e, {
21
- emit: n,
22
- slots: l,
23
- attrs: u,
24
- predicate: t,
25
- messagePrefix: "请选择"
26
- }), _ = a(() => e.dateTimeRange || e.dateRange || e.monthRange), v = a(() => e.year ? "YYYY" : e.month || e.monthRange ? "YYYY-MM" : e.week ? "YYYY 第 WW 周" : e.dateTime || e.dateTimeRange ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD"), y = a(() => e.year ? "year" : e.month ? "month" : e.dates ? "dates" : e.week ? "week" : e.dateTime ? "datetime" : e.dateTimeRange ? "datetimerange" : e.dateRange ? "daterange" : e.monthRange ? "monthrange" : "date"), b = a(() => {
27
- if (e.miniDate) {
28
- let t = c(e.miniDate);
29
- return t.setDate(t.getDate() - 1), t;
30
- } else return null;
31
- }), x = a(() => e.maxDate ? c(e.maxDate) : null), S = (e) => {
32
- if (!b.value && !x.value) return !1;
33
- let t = e.getTime();
34
- return b.value && !x.value ? t <= b.value.getTime() : !b.value && x.value ? t >= x.value.getTime() : b.value && x.value ? !(t > b.value.getTime() && t <= x.value.getTime()) : !1;
35
- }, C = (e, t) => {
36
- n("update:startDate", e), n("update:endDate", t);
37
- }, w = (t) => {
38
- _.value && e.split ? t ? C(t[0], t[1]) : C(null, null) : d(t);
39
- }, T = a(() => _.value && e.split ? [e.startDate, e.endDate] : e.modelValue), E = a(() => e.week ? "YYYY-MM-DD" : e.valueFormat || v.value), D = a(() => e.format || v.value);
40
- return () => f({ vNodes: o(i, s(h.value, g.value, {
41
- style: "width: 100%",
42
- type: y.value,
43
- modelValue: T.value,
44
- disabled: m.value,
45
- placeholder: p.value,
46
- format: D.value,
47
- disabledDate: S,
48
- "value-format": E.value,
49
- "onUpdate:modelValue": w
50
- }), {
51
- default: l.default,
52
- "range-separator": l["range-separator"],
53
- "pre-month": l["pre-month"],
54
- "next-month": l["next-month"],
55
- "pre-year": l["pre-year"],
56
- "next-year": l["next-year"]
57
- }) });
58
- }
59
- };
60
- //#endregion
61
- export { l as t };
@@ -1,63 +0,0 @@
1
- import { n as e, o as t } from "./b0ve2YgF.mjs";
2
- import { useDictionary as n } from "../hook/useDictionary.mjs";
3
- import { allProps as r, predicate as i } from "../props/radio-group.mjs";
4
- import { ElRadio as a, ElRadioButton as o, ElRadioGroup as s } from "element-plus/es";
5
- import "element-plus/es/components/base/style/css";
6
- import { computed as c, createVNode as l, isVNode as u, mergeProps as d, useModel as f } from "vue";
7
- import "element-plus/es/components/radio/style/css";
8
- import "element-plus/es/components/radio-group/style/css";
9
- import "element-plus/es/components/radio-button/style/css";
10
- //#region src/components/form/FormRadioGroup.vue?vue&type=script&lang.jsx
11
- function p(e) {
12
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !u(e);
13
- }
14
- //#endregion
15
- //#region src/components/form/FormRadioGroup.vue
16
- var m = {
17
- name: "FormRadioGroup",
18
- inheritAttrs: !1,
19
- props: { ...r },
20
- emits: { ...e },
21
- setup(e, { slots: r, attrs: u, emit: m }) {
22
- let h = f(e, "modelValue"), { render: g, disabled: _, listeners: v, inputProps: y } = t(e, {
23
- emit: m,
24
- slots: r,
25
- attrs: u,
26
- predicate: i,
27
- messagePrefix: "请选择"
28
- }), b = c(() => e.classic ? "label" : e.labelProp), x = c(() => e.classic ? "value" : e.valueProp), { dictItems: S } = n(e), C = c(() => e.dictType ? S.value : e.gender ? [{
29
- [b.value]: "男",
30
- [x.value]: e.chinese ? "男" : e.typing ? 1 : "1"
31
- }, {
32
- [b.value]: "女",
33
- [x.value]: e.chinese ? "女" : e.typing ? 2 : "2"
34
- }] : e.confirm ? [{
35
- [b.value]: "是",
36
- [x.value]: e.chinese ? "是" : e.english ? "Y" : e.typing ? 1 : "1"
37
- }, {
38
- [b.value]: "否",
39
- [x.value]: e.chinese ? "否" : e.english ? "N" : e.typing ? 0 : "0"
40
- }] : e.options);
41
- return () => g({ vNodes: l(s, d(v.value, y.value, {
42
- modelValue: h.value,
43
- "onUpdate:modelValue": (e) => h.value = e,
44
- disabled: _.value
45
- }), {
46
- ...r,
47
- default: r.default || (() => {
48
- var t;
49
- return (t = C.value) == null ? void 0 : t.map(({ value: t, label: n, disabled: r }) => e.type === "button" || e.radioType === "button" ? l(o, {
50
- key: t,
51
- value: t,
52
- disabled: r
53
- }, p(n) ? n : { default: () => [n] }) : l(a, {
54
- key: t,
55
- value: t,
56
- disabled: r
57
- }, p(n) ? n : { default: () => [n] }));
58
- })
59
- }) });
60
- }
61
- };
62
- //#endregion
63
- export { m as t };
@@ -1,68 +0,0 @@
1
- import { n as e, o as t, t as n } from "./b0ve2YgF.mjs";
2
- import { allProps as r, predicate as i } from "../props/input.mjs";
3
- import { ElInput as a } from "element-plus/es";
4
- import "element-plus/es/components/base/style/css";
5
- import "element-plus/es/components/input/style/css";
6
- import { computed as o, createVNode as s, mergeProps as c, useModel as l } from "vue";
7
- import { validatePhoneNum as u } from "@web-utils/core";
8
- //#region src/utils/form-validate.ts
9
- var d = (e, t, n) => t && !/^[A-Za-z0-9\u4e00-\u9fa5_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(t) ? n(/* @__PURE__ */ Error("invalid")) : n();
10
- function f(e, t, n) {
11
- t && !/^[1-9][0-9]{5}(18|19|(2[0-9]))[0-9]{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)[0-9]{3}[0-9Xx]$/.test(t) ? n(/* @__PURE__ */ Error("invalid")) : n();
12
- }
13
- function p(e, t, n) {
14
- if (this.$refs.table.$refs.table.records.length === 0) {
15
- n(Error(e.message || `请添加${e.label}`));
16
- return;
17
- }
18
- n();
19
- }
20
- //#endregion
21
- //#region src/components/form/FormInput.vue
22
- var m = {
23
- name: "FormInput",
24
- inheritAttrs: !1,
25
- props: { ...r },
26
- emits: { ...e },
27
- setup(e, { emit: r, slots: p, attrs: m }) {
28
- let h = l(e, "modelValue"), g = `请输入正确的${e.label}!`, { render: _, placeholder: v, disabled: y, listeners: b, inputProps: x, printing: S } = t(e, {
29
- emit: r,
30
- slots: p,
31
- attrs: m,
32
- rules: o(() => {
33
- if (!e.type || e.type === "textarea") return null;
34
- let t = {
35
- message: g,
36
- trigger: "blur"
37
- };
38
- if (e.type === "email") t.validator = d;
39
- else if (e.type === "idcard") t.validator = f;
40
- else if (e.type === "phone") t.validator = u;
41
- else return null;
42
- return [t];
43
- }),
44
- predicate: i
45
- });
46
- return () => _({ vNodes: S.value ? e.modelValue : s(a, c(b.value, x.value, {
47
- class: ["form-input", {
48
- "is-readonly": e.readonlyGrey && e.readonly && !e.picker,
49
- "el-input-cursor-pointer": e.picker && !y.value
50
- }],
51
- modelValue: h.value,
52
- "onUpdate:modelValue": (e) => h.value = e,
53
- disabled: y.value,
54
- placeholder: v.value,
55
- readonly: e.readonly || e.picker,
56
- "prefix-icon": n({ icon: e.picker ? "el-icon-search" : e.prefixIcon }),
57
- "suffix-icon": n({ icon: e.suffixIcon })
58
- }), {
59
- prefix: p.prefix || e.prefix ? () => e.prefix : null,
60
- suffix: p.suffix || e.suffix ? () => e.suffix : null,
61
- "password-icon": p["password-icon"],
62
- prepend: p.prepend || e.prepend ? () => e.prepend : null,
63
- append: p.append || e.append ? () => e.append : null
64
- }) });
65
- }
66
- };
67
- //#endregion
68
- export { p as n, m as t };
@@ -1,39 +0,0 @@
1
- import { n as e, o as t } from "./b0ve2YgF.mjs";
2
- import { allProps as n, predicate as r } from "../props/time.mjs";
3
- import { ElTimePicker as i } from "element-plus/es";
4
- import "element-plus/es/components/base/style/css";
5
- import { createVNode as a, mergeProps as o } from "vue";
6
- import "element-plus/es/components/time-picker/style/css";
7
- //#endregion
8
- //#region src/components/form/FormInputTime.vue
9
- var s = {
10
- name: "FormInputTime",
11
- inheritAttrs: !1,
12
- props: { ...n },
13
- emits: { ...e },
14
- setup(e, { emit: n, slots: s, attrs: c }) {
15
- let { emitInput: l, render: u, placeholder: d, disabled: f, listeners: p, inputProps: m } = t(e, {
16
- emit: n,
17
- slots: s,
18
- attrs: c,
19
- predicate: r
20
- }), h = { modifiers: [{
21
- name: "arrow",
22
- options: { padding: ({ popper: e, reference: t, placement: n }) => e.width / 2 }
23
- }] };
24
- return () => u({ vNodes: a(i, o(p.value, m.value, {
25
- "popper-options": e.popperOptions || h,
26
- style: "width: 100%",
27
- placement: e.placement || "left",
28
- "is-range": e.isRange || e.range,
29
- format: e.format,
30
- "value-format": e.valueFormat || e.format,
31
- modelValue: e.modelValue,
32
- disabled: f.value,
33
- "onUpdate:modelValue": l,
34
- placeholder: d.value
35
- }), null) });
36
- }
37
- };
38
- //#endregion
39
- export { s as t };
@@ -1,58 +0,0 @@
1
- import { allProps as e, predicate as t } from "../props/cascader.mjs";
2
- import { n, o as r } from "./b0ve2YgF.mjs";
3
- import { useDictionary as i } from "../hook/useDictionary.mjs";
4
- import { ElCascader as a } from "element-plus/es";
5
- import "element-plus/es/components/base/style/css";
6
- import "element-plus/es/components/cascader/style/css";
7
- import { computed as o, createVNode as s, mergeProps as c } from "vue";
8
- import { findTreeChildren as l, isArray as u, isString as d, setParent as f } from "@web-utils/core";
9
- import { cloneDeep as p } from "@web-utils/integrations/lodash";
10
- //#endregion
11
- //#region src/components/form/FormCascader.vue
12
- var m = {
13
- name: "FormCascader",
14
- props: { ...e },
15
- emits: { ...n },
16
- setup(e, { emit: n, slots: m, attrs: h }) {
17
- let { emitInput: g, render: _, placeholder: v, disabled: y, listeners: b, inputProps: x } = r(e, {
18
- emit: n,
19
- slots: m,
20
- attrs: h,
21
- predicate: t
22
- }), { dictItems: S } = i(e), C = o(() => {
23
- if (e.dictType) return S.value;
24
- if (e.options) {
25
- let t = p(e.options);
26
- return e.last && f(t), t;
27
- } else return [];
28
- }), w = o(() => {
29
- if (e.join) return u(e.modelValue) ? e.modelValue : d(e.modelValue) ? e.modelValue.split(e.separator) : [];
30
- if (e.last) {
31
- let [t] = l(C.value, (t) => t[e.valueKey] === e.modelValue), n = [];
32
- for (; t;) n.push(t[e.valueKey]), t = t.parent;
33
- return n.reverse();
34
- }
35
- return e.modelValue;
36
- }), T = (t) => {
37
- e.join && u(t) ? g(t.join(e.separator)) : g(e.last ? t[t.length - 1] : t);
38
- };
39
- return () => _({ vNodes: s(a, c(b.value, x.value, {
40
- style: "width: 100%",
41
- class: { "is-readonly": e.readonly },
42
- "model-value": w.value,
43
- options: C.value,
44
- props: {
45
- checkStrictly: e.checkStrictly,
46
- label: e.labelKey,
47
- value: e.valueKey,
48
- emitPath: e.emitPath,
49
- expandTrigger: "hover"
50
- },
51
- disabled: y.value,
52
- placeholder: v.value,
53
- "onUpdate:modelValue": T
54
- }), null) });
55
- }
56
- };
57
- //#endregion
58
- export { m as t };
@@ -1,29 +0,0 @@
1
- import { n as e, o as t } from "./b0ve2YgF.mjs";
2
- import { allProps as n, predicate as r } from "../props/rate.mjs";
3
- import { ElRate as i } from "element-plus/es";
4
- import "element-plus/es/components/base/style/css";
5
- import { createVNode as a, mergeProps as o, useModel as s } from "vue";
6
- import "element-plus/es/components/rate/style/css";
7
- //#endregion
8
- //#region src/components/form/FormRate.vue
9
- var c = {
10
- name: "FormRate",
11
- inheritAttrs: !1,
12
- props: { ...n },
13
- emits: { ...e },
14
- setup(e, { emit: n, slots: c, attrs: l }) {
15
- let u = s(e, "modelValue"), { render: d, disabled: f, listeners: p, inputProps: m } = t(e, {
16
- emit: n,
17
- slots: c,
18
- attrs: l,
19
- predicate: r
20
- });
21
- return () => d({ vNodes: a(i, o(p.value, m.value, {
22
- modelValue: u.value,
23
- "onUpdate:modelValue": (e) => u.value = e,
24
- disabled: f.value
25
- }), null) });
26
- }
27
- };
28
- //#endregion
29
- export { c as t };
@@ -1,130 +0,0 @@
1
- import { ElMessage as e } from "element-plus/es";
2
- import "element-plus/es/components/base/style/css";
3
- import { Comment as t, Fragment as n, computed as r, useAttrs as i } from "vue";
4
- import { camelize as a, capitalize as o, copy as s, hyphenate as c, isArray as l, isBlank as u, isFunction as d, isString as f, uncapitalize as p } from "@web-utils/core";
5
- import "element-plus/es/components/message/style/css";
6
- //#region src/utils/index.ts
7
- var m = (e, t, n, r, i = !0) => {
8
- let a = {};
9
- if (t) for (let n in e) t(n) && (a[n] = e[n]);
10
- return i && n && n.forEach((e) => {
11
- a[`on${o(e)}`] = (...t) => r(e, ...t);
12
- }), a;
13
- }, h = (e, t) => r(() => {
14
- let n = {};
15
- if (t) for (let r in e) t(r) && (n[r] = e[r]);
16
- return n;
17
- }), g = ({ removeOn: e = !1, include: t, exclude: n } = {}) => {
18
- let o = i();
19
- return r(() => {
20
- let r = {}, i = {}, s = {}, c = !1;
21
- (t || n) && (c = !0), t == null || t.forEach((e) => {
22
- i[a(e)] = !0;
23
- }), n == null || n.forEach((e) => {
24
- s[a(e)] = !0;
25
- });
26
- for (let a in o) if (a.startsWith("on")) {
27
- let l = p(a.replace(/^on/, ""));
28
- if (c && (t && i[l] !== !0 || n && s[l] === !0)) continue;
29
- e ? r[l] = o[a] : r[a] = o[a];
30
- }
31
- return r;
32
- });
33
- }, _ = (e, { predicate: t, removeOn: n }) => ({
34
- listeners: g({ removeOn: n }),
35
- autoBindProps: h(e, t)
36
- }), v = (e, { withOn: t = !1 } = {}) => {
37
- let n = {};
38
- for (let r in e) r.startsWith("on") && (t ? n[r] = e[r] : n[p(r.replace(/^on/, ""))] = e[r]);
39
- return n;
40
- }, y = (e, t = "id", n = "label") => {
41
- let r = [];
42
- function i(e, a) {
43
- if (!e) return;
44
- let o = [...a, {
45
- [t]: e[t],
46
- [n]: e[n]
47
- }];
48
- if (!e.children || e.children.length === 0) {
49
- r.push(o);
50
- return;
51
- }
52
- e.children.forEach((e) => {
53
- i(e, o);
54
- });
55
- }
56
- return e.forEach((e) => i(e, [])), r;
57
- }, b = (e, t = "id", n = "label") => {
58
- let r = [];
59
- return y(e).forEach((e) => {
60
- let i = [], a = [];
61
- for (let r = 0; r < e.length; r++) i.push(e[r][t]), a.push(e[r][n]);
62
- r.push({
63
- value: i.join("/"),
64
- label: a.join("/")
65
- });
66
- }), r;
67
- }, x = (e, t = "id", n = "label") => {
68
- let r = {};
69
- return y(e).forEach((e) => {
70
- let i = [], a = [];
71
- for (let r = 0; r < e.length; r++) i.push(e[r][t]), a.push(e[r][n]);
72
- r[i.join("/")] = {
73
- value: i.join("/"),
74
- label: a.join("/")
75
- };
76
- }), r;
77
- };
78
- function S(t) {
79
- s(t, () => e.success({
80
- duration: 1e3,
81
- message: "复制成功!",
82
- type: "success"
83
- }), () => e.error({
84
- duration: 1e3,
85
- message: "复制失败!",
86
- type: "error"
87
- }));
88
- }
89
- var C = (e) => {
90
- let t = [];
91
- return e && (l(e) ? e.forEach((e) => {
92
- l(e) ? t.push(...C(e)) : e && t.push(e);
93
- }) : e && t.push(e)), t;
94
- }, w = (e = "", t = {}) => {
95
- let n = t || {};
96
- return (e || "").replace(/{(.*?)}/g, (e, t) => {
97
- if (t.indexOf(":")) {
98
- let [e, r] = t.split(":");
99
- return n[e] ? n[e] : r;
100
- } else return n[t] || "";
101
- });
102
- }, T = (e, t) => d(e) ? w(e(t), t) : f(e) ? w(e, t) : null, E = (e) => {
103
- let t = {};
104
- for (let n in e) t[c(n)] = e[n];
105
- return t;
106
- }, D = (e, t) => {
107
- for (let n in t) e[n] = t[n];
108
- return e;
109
- }, O = (e) => {
110
- let r = [];
111
- for (let i of e) i.type === t || (i.type === n ? i.children && r.push(...O(i.children)) : r.push(i));
112
- return r;
113
- }, k = {
114
- img: /\.(gif|jpg|jpeg|png|webp|svg|GIF|JPG|JPEG|PNG|WEBP|SVG)/,
115
- video: /\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|ogg|mp4)/,
116
- audio: /\.(mp3|wav|MP3|WAV)/
117
- }, A = (e, t) => {
118
- if (!u(e)) return k.audio.test(e) || t === "audio" ? "audio" : k.video.test(e) || t === "video" ? "video" : k.img.test(e) || t === "img" ? "img" : !1;
119
- }, j = (e, t = !1) => {
120
- let n = t ? "pageYOffset" : "pageXOffset", r = t ? "scrollTop" : "scrollLeft", i = e[n];
121
- return typeof i != "number" && (i = document.documentElement[r]), i;
122
- }, M = (e, t) => {
123
- let n = t.getBoundingClientRect(), r = j(e, !0), i = j(e), a = document.body, o = a.clientTop || 0, s = a.clientLeft || 0;
124
- return {
125
- top: n.top + r - o,
126
- left: n.left + i - s
127
- };
128
- };
129
- //#endregion
130
- export { C as a, M as c, x as d, E as f, g, h, T as i, j as l, _ as m, S as n, m as o, b as p, O as r, v as s, D as t, A as u };
@@ -1,30 +0,0 @@
1
- import { h as e } from "./ClVh1Lek.mjs";
2
- import { useFormItemProps as t } from "../helper/form-item.mjs";
3
- import { r as n } from "./b0ve2YgF.mjs";
4
- import { allProps as r, predicate as i } from "../props/image.mjs";
5
- import { ElImage as a } from "element-plus/es";
6
- import "element-plus/es/components/base/style/css";
7
- import { createVNode as o, isVNode as s, mergeProps as c } from "vue";
8
- import "element-plus/es/components/image/style/css";
9
- //#region src/components/form/FormImage.vue?vue&type=script&lang.jsx
10
- function l(e) {
11
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !s(e);
12
- }
13
- //#endregion
14
- //#region src/components/form/FormImage.vue
15
- var u = {
16
- name: "FormImage",
17
- inheritAttrs: !1,
18
- props: { ...r },
19
- emits: {},
20
- setup(r, { slots: s, attrs: u }) {
21
- let d = t(r, { attrs: u }), f = e(r, i);
22
- return () => n(r, {
23
- vNodes: o(a, c(f.value, u, { "preview-src-list": [r.src] }), l(s) ? s : { default: () => [s] }),
24
- formItemProps: d,
25
- slots: s
26
- });
27
- }
28
- };
29
- //#endregion
30
- export { u as t };
@@ -1,90 +0,0 @@
1
- import { ElButton as e, ElLoading as t, ElMessageBox as n } from "element-plus/es";
2
- import "element-plus/es/components/base/style/css";
3
- import { defineComponent as r, h as i } from "vue";
4
- import { isFunction as a } from "@web-utils/core";
5
- import "element-plus/es/components/message-box/style/css";
6
- import "element-plus/es/components/loading/style/css";
7
- import "element-plus/es/components/button/style/css";
8
- //#region src/components/button/confirmable-mixin.ts
9
- async function o(e, r, i) {
10
- let { stop: o, prevent: s, message: c, loadable: l, loadingText: u, confirmable: d, confirmType: f, confirmText: p, confirmTitle: m } = r;
11
- o && e.stopPropagation(), s && e.preventDefault();
12
- let { onBefore: h, onClick: g, onCancel: _, onAfter: v } = i;
13
- if (a(g)) try {
14
- let r = !0;
15
- if (a(h) && (r = await h(e)), !r) return;
16
- d && await n.confirm(c || p, {
17
- type: f,
18
- title: m
19
- });
20
- let i;
21
- l && (i = t.service({
22
- background: "rgba(0,0,0,0.3)",
23
- text: u
24
- }));
25
- let o;
26
- try {
27
- o = await g(e);
28
- } catch {}
29
- l && (i == null || i.close()), a(v) && await v(e, o);
30
- } catch (e) {
31
- a(_) && await _(e);
32
- }
33
- }
34
- var s = r({
35
- inheritAttrs: !1,
36
- props: {
37
- stop: {
38
- type: Boolean,
39
- default: !0
40
- },
41
- prevent: {
42
- type: Boolean,
43
- default: !0
44
- },
45
- text: {
46
- type: String,
47
- default: ""
48
- },
49
- message: String,
50
- confirmable: {
51
- type: Boolean,
52
- default: !0
53
- },
54
- confirmText: {
55
- type: String,
56
- default: "你确定要删除该记录吗?"
57
- },
58
- confirmType: {
59
- type: String,
60
- default: "warning"
61
- },
62
- confirmTitle: {
63
- type: String,
64
- default: "系统提示"
65
- },
66
- loadable: Boolean,
67
- loadingText: {
68
- type: String,
69
- default: "正在处理中请稍候..."
70
- },
71
- tag: {
72
- type: String,
73
- default: "i"
74
- },
75
- icon: String
76
- },
77
- render() {
78
- let t = this.tag === "ElButton" ? e : this.tag, { text: n, icon: r, ...a } = this.$props, { onClick: s, ...c } = this.$attrs;
79
- return i(t, {
80
- ...c,
81
- ...a,
82
- onClick: (e) => o(e, this.$props, this.$attrs)
83
- }, {
84
- default: this.$slots.default || (() => n),
85
- icon: this.icon ? () => i("i", { class: this.icon }) : null
86
- });
87
- }
88
- });
89
- //#endregion
90
- export { s as t };
@@ -1,99 +0,0 @@
1
- import { allProps as e, predicate as t } from "../props/checkbox-group.mjs";
2
- import { n, o as r } from "./b0ve2YgF.mjs";
3
- import { useDictionary as i } from "../hook/useDictionary.mjs";
4
- import { t as a } from "./C28bnMcw.mjs";
5
- import { ElCheckbox as o, ElCheckboxButton as s, ElCheckboxGroup as c } from "element-plus/es";
6
- import "element-plus/es/components/base/style/css";
7
- import { computed as l, createVNode as u, defineComponent as d, isVNode as f, mergeProps as p, useModel as m } from "vue";
8
- import "element-plus/es/components/checkbox/style/css";
9
- import "element-plus/es/components/checkbox-button/style/css";
10
- import "element-plus/es/components/checkbox-group/style/css";
11
- //#region src/components/form/FormCheckboxGroup.vue?vue&type=script&lang.jsx
12
- function h(e) {
13
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !f(e);
14
- }
15
- //#endregion
16
- //#region src/components/form/FormCheckboxGroup.vue
17
- var g = /* @__PURE__ */ d({
18
- name: "FormCheckboxGroup",
19
- inheritAttrs: !1,
20
- props: { ...e },
21
- emits: {
22
- ...n,
23
- "update:other": null
24
- },
25
- setup(e, { emit: n, slots: d, attrs: f }) {
26
- let g = m(e, "other"), { emitInput: _, render: v, disabled: y, listeners: b, inputProps: x } = r(e, {
27
- emit: n,
28
- slots: d,
29
- attrs: f,
30
- predicate: t,
31
- messagePrefix: "请选择",
32
- class: l(() => ["form-checkbox-group", {
33
- "form-checkbox-group-row": e.fillRow,
34
- "form-checkbox-group-row-break-word": e.fillRow,
35
- "form-checkbox-group-row-ellipsis": e.ellipsis
36
- }])
37
- }), S = (t) => {
38
- let n = t;
39
- e.sort && (n = t.sort()), e.stringMode || e.split ? _(n.join(",")) : _(n);
40
- }, C = l(() => {
41
- if (e.stringMode || e.split) {
42
- var t;
43
- return Array.isArray(e.modelValue) ? e.modelValue.filter((e) => e) : ((t = e.modelValue) == null ? void 0 : t.split(e.delimiter).filter((e) => e)) ?? [];
44
- }
45
- return e.modelValue || [];
46
- }), w = l(() => e.classic ? "label" : e.labelProp), T = l(() => e.classic ? "value" : e.valueProp), { dictItems: E } = i(e), D = l(() => e.dictType ? E.value : e.gender ? [{
47
- [w.value]: "男",
48
- [T.value]: "男"
49
- }, {
50
- [w.value]: "女",
51
- [T.value]: "女"
52
- }] : e.confirm ? [{
53
- [w.value]: "是",
54
- [T.value]: "是"
55
- }, {
56
- [w.value]: "否",
57
- [T.value]: "否"
58
- }] : e.options);
59
- return () => v({ vNodes: [u(c, p(b.value, x.value, {
60
- modelValue: C.value,
61
- disabled: y.value,
62
- "onUpdate:modelValue": S
63
- }), {
64
- ...d,
65
- default: d.default || (() => {
66
- var t;
67
- return (t = D.value) == null ? void 0 : t.map(({ value: t, label: n, disabled: r }) => e.type === "button" ? u(s, {
68
- key: t,
69
- value: t,
70
- disabled: r
71
- }, h(n) ? n : { default: () => [n] }) : u(o, {
72
- key: t,
73
- value: t,
74
- disabled: r
75
- }, h(n) ? n : { default: () => [n] }));
76
- })
77
- }), C.value.includes(e.otherVal) ? u(a, {
78
- "wrap-col": !1,
79
- class: "form-checkbox-group-other",
80
- "hide-label": !0,
81
- "label-width": "0",
82
- prop: e.otherProp,
83
- disabled: y.value,
84
- required: !!e.otherProp,
85
- placeholder: e.otherPlaceholder,
86
- label: e.otherLabel,
87
- "show-message": !!e.otherLabel,
88
- style: e.otherLabel ? { width: e.otherWidth } : {
89
- marginBottom: 0,
90
- width: e.otherWidth
91
- },
92
- modelValue: g.value,
93
- "onUpdate:modelValue": (e) => g.value = e,
94
- "max-length": e.otherMaxLength
95
- }, null) : null] });
96
- }
97
- });
98
- //#endregion
99
- export { g as t };