@web-utils/form-ui 1.0.0-beta74 → 1.0.0-beta76

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 (297) hide show
  1. package/affix/index.mjs +1 -1
  2. package/capsule-tab/index.mjs +2 -27
  3. package/card/index.mjs +1 -1
  4. package/chunks/{DqWJCka8.mjs → 285I1DfO.mjs} +1 -1
  5. package/chunks/{DizOY5i8.mjs → 6eDDQWcr.mjs} +2 -2
  6. package/chunks/{D6YM84Pf2.mjs → B-WTB0ce2.mjs} +1 -1
  7. package/chunks/{Opn85Hlx2.mjs → B2Y1LWJ3.mjs} +1 -1
  8. package/chunks/{Ce4tNNzg2.mjs → BLBHnUme2.mjs} +1 -1
  9. package/chunks/{BI6kCG2j2.mjs → BM8snKHN2.mjs} +2 -2
  10. package/chunks/{Lkg7bYLD2.mjs → BP_0cJ172.mjs} +70 -70
  11. package/chunks/{-fXBgN9b2.mjs → BTNnujZA2.mjs} +1 -1
  12. package/chunks/{DTq5QLoT.mjs → BZRmdKBG.mjs} +2 -2
  13. package/chunks/{B0BOjeph2.mjs → BaB0bq4I2.mjs} +1 -1
  14. package/chunks/{jsgk7Yse2.mjs → Bh2SlzOo.mjs} +1 -1
  15. package/chunks/{7_9hAeqb.mjs → BkoWiWEW.mjs} +2 -2
  16. package/chunks/{CWBRpkHy.mjs → Bq9KMIsC.mjs} +4 -4
  17. package/chunks/{Dv7YRB2U2.mjs → BvlU_Z6D2.mjs} +1 -1
  18. package/chunks/C-iN5MJZ.mjs +57 -0
  19. package/chunks/{Byy1rvPO.mjs → C0gLPKS8.mjs} +2 -2
  20. package/chunks/{DVMfVn-M.mjs → C3pzNRoU2.mjs} +2 -2
  21. package/chunks/C7rEqtOR.mjs +70 -0
  22. package/chunks/{sWVkgzQt2.mjs → CF23xugU2.mjs} +2 -2
  23. package/chunks/{Dh_BQpvC2.mjs → CFKKwzh72.mjs} +2 -2
  24. package/chunks/{_q6JzJYp.mjs → CGVBF4Ml.mjs} +1 -1
  25. package/chunks/{CFoSvMJ-2.mjs → CI-pH-gR2.mjs} +1 -1
  26. package/chunks/{-yfgKY3g.mjs → CLn5E7NV.mjs} +1 -1
  27. package/chunks/{DVdQHb_v.mjs → CVM0lwn22.mjs} +2 -2
  28. package/chunks/{CjYOitzM2.mjs → CWaId08S2.mjs} +1 -1
  29. package/chunks/{BhIWiH5R.mjs → Cb7kjZa-.mjs} +3 -3
  30. package/chunks/{DucSg7Mt.mjs → CeI6Qrij.mjs} +2 -2
  31. package/chunks/{CelJ2L8A2.mjs → Cg6ahpHk.mjs} +2 -2
  32. package/chunks/{DrWUdRj32.mjs → CpIXTVFU2.mjs} +2 -2
  33. package/chunks/Ctx93AFS.mjs +54 -0
  34. package/chunks/{D4Pd8rZi.mjs → CyQmVphZ.mjs} +2 -2
  35. package/chunks/{Daa7nl7U.mjs → D6qJXu04.mjs} +1 -1
  36. package/chunks/{Bj0kgDOA.mjs → DFa2J7ul.mjs} +4 -4
  37. package/chunks/{HsHwYW1a.mjs → DLdsvozr.mjs} +2 -2
  38. package/chunks/{DyLQsqWJ.mjs → DMDsZeqv.mjs} +1 -1
  39. package/chunks/{C6mb7Nru2.mjs → DNiq6hHj2.mjs} +3 -3
  40. package/chunks/{KDVLIvaS.mjs → DP7eF99m2.mjs} +1 -1
  41. package/chunks/{CwyebsNL2.mjs → DRXM1Mt22.mjs} +1 -1
  42. package/chunks/{DjaV6_cg2.mjs → D_gR5ibl2.mjs} +2 -2
  43. package/chunks/{BE4V5Vf5.mjs → Dgwcljur.mjs} +63 -41
  44. package/chunks/{Cknuquqx.mjs → Dhdoa4M6.mjs} +1 -1
  45. package/chunks/{Dm3gQGoV2.mjs → Dje2xUVd2.mjs} +2 -2
  46. package/chunks/Dodxnwze.mjs +60 -0
  47. package/chunks/DokYQ49m.mjs +29 -0
  48. package/chunks/{gTgPZrgY2.mjs → DvkUImww2.mjs} +113 -113
  49. package/chunks/{-zgWD713.mjs → DyGddGTO.mjs} +1 -1
  50. package/chunks/{YdNYH25C.mjs → SInS7QSL.mjs} +1 -1
  51. package/chunks/{BGJjAw5E.mjs → hPAfGilD.mjs} +1 -1
  52. package/chunks/{Ccxbv7uz2.mjs → kAaQhLJs2.mjs} +1 -1
  53. package/chunks/{QTy8g5MS.mjs → l5bfIjYm.mjs} +21 -26
  54. package/chunks/{nL59ZuIk.mjs → ohCkWdwS.mjs} +1 -1
  55. package/chunks/{CO3taG7t2.mjs → tJ_t87kJ.mjs} +1 -1
  56. package/chunks/{BctSGDgW2.mjs → x2jJ6cfy2.mjs} +1 -1
  57. package/code-mirror-editor/index.mjs +1 -1
  58. package/confirm-button/index.mjs +1 -1
  59. package/confirmable/index.mjs +1 -1
  60. package/context-menu/index.mjs +1 -1
  61. package/count-up/index.mjs +1 -1
  62. package/custom-scrollbar/index.mjs +1 -1
  63. package/data-box/index.mjs +2 -69
  64. package/data-card/index.mjs +1 -1
  65. package/data-card-text/index.mjs +1 -1
  66. package/data-display/index.mjs +1 -1
  67. package/data-icons/index.mjs +1 -1
  68. package/data-imgtext/index.mjs +1 -1
  69. package/data-operatext/index.mjs +1 -1
  70. package/data-panel/index.mjs +1 -1
  71. package/data-pay/index.mjs +1 -1
  72. package/data-price/index.mjs +1 -1
  73. package/data-progress/index.mjs +1 -1
  74. package/data-rotate/index.mjs +2 -66
  75. package/data-table-picker/index.mjs +3 -3
  76. package/data-tabs/index.mjs +2 -72
  77. package/dict-render/index.mjs +1 -1
  78. package/e-charts/index.mjs +1 -1
  79. package/easy-popup/index.mjs +1 -1
  80. package/editable-progress/index.mjs +1 -1
  81. package/editable-tree/index.mjs +2 -2
  82. package/element-dialog/index.mjs +1 -1
  83. package/element-resize-observer/index.mjs +1 -1
  84. package/flex-box/index.mjs +1 -1
  85. package/flex-column/index.mjs +1 -1
  86. package/flex-item/index.mjs +1 -1
  87. package/flex-row/index.mjs +1 -1
  88. package/flex-scroller/index.mjs +1 -1
  89. package/flow-designer/index.mjs +1 -1
  90. package/flow-viewer/index.mjs +1 -1
  91. package/form-advice/index.mjs +2 -2
  92. package/form-cascader/index.mjs +1 -1
  93. package/form-checkbox/index.mjs +1 -1
  94. package/form-checkbox-group/index.mjs +1 -1
  95. package/form-date-picker/index.mjs +1 -1
  96. package/form-holder/index.mjs +1 -1
  97. package/form-image/index.mjs +1 -1
  98. package/form-input/index.mjs +1 -1
  99. package/form-input-cron-expression/index.mjs +1 -1
  100. package/form-input-email/index.mjs +1 -1
  101. package/form-input-id-card/index.mjs +1 -1
  102. package/form-input-number/index.mjs +1 -1
  103. package/form-input-phone-number/index.mjs +1 -1
  104. package/form-input-tag/index.mjs +1 -1
  105. package/form-input-time/index.mjs +1 -1
  106. package/form-item-group/index.mjs +1 -1
  107. package/form-item-x/index.mjs +1 -1
  108. package/form-radio-group/index.mjs +1 -1
  109. package/form-rate/index.mjs +1 -1
  110. package/form-red-table/index.mjs +22 -22
  111. package/form-row/index.mjs +1 -1
  112. package/form-select/index.mjs +1 -1
  113. package/form-slider/index.mjs +1 -1
  114. package/form-switch/index.mjs +1 -1
  115. package/form-table/index.mjs +1 -1
  116. package/form-table-plus/index.mjs +1 -1
  117. package/form-text/index.mjs +1 -1
  118. package/form-textarea/index.mjs +1 -1
  119. package/form-time-select/index.mjs +1 -1
  120. package/form-tree-select/index.mjs +1 -1
  121. package/form-tree-select-multiple/index.mjs +1 -1
  122. package/form-view/index.mjs +3 -3
  123. package/guide-steps/index.mjs +1 -1
  124. package/helper/input.d.ts +3 -1
  125. package/helper/input.mjs +1 -1
  126. package/helper/sub-table-plus.d.ts +1 -1
  127. package/highlight-j-s/index.mjs +1 -1
  128. package/iframe-window/index.mjs +1 -1
  129. package/image-cropper/index.mjs +4 -4
  130. package/image-preview/index.mjs +1 -1
  131. package/image-viewer/index.mjs +1 -1
  132. package/index.mjs +54 -54
  133. package/input-number-range/index.mjs +1 -1
  134. package/keyboard/index.mjs +1 -1
  135. package/loading-view/index.mjs +1 -1
  136. package/name-avatar/index.mjs +1 -1
  137. package/package.json +3 -3
  138. package/page-index/index.mjs +1 -1
  139. package/page-index-top/index.mjs +1 -1
  140. package/pageable-table/index.mjs +1 -1
  141. package/photo-swipe/index.mjs +1 -1
  142. package/resolver/index.mjs +1 -1
  143. package/sign-panel/index.mjs +1 -1
  144. package/split-pane/index.mjs +1 -1
  145. package/sub-table/index.mjs +1 -1
  146. package/sub-table-plus/index.mjs +1 -1
  147. package/swiper/index.mjs +2 -2
  148. package/table-column/index.mjs +1 -1
  149. package/table-column-def/index.mjs +1 -1
  150. package/table-view/index.mjs +5 -5
  151. package/tag-render/index.mjs +16 -17
  152. package/text-ellipsis/index.mjs +1 -1
  153. package/toolbar/index.mjs +1 -1
  154. package/toolbar-button/index.mjs +1 -1
  155. package/vue-cron/index.mjs +1 -1
  156. package/vue-tags-input/index.mjs +1 -1
  157. package/vue-tree-select/index.mjs +1 -1
  158. package/vue-video-player/index.mjs +1 -1
  159. package/watermark/index.mjs +1 -1
  160. package/web-types.json +1 -1
  161. package/x-input-tag/index.mjs +38 -39
  162. package/year-calendar/index.mjs +1 -1
  163. package/address-input/index.d.ts +0 -52
  164. package/affix/index.d.ts +0 -30
  165. package/awesome-button/index.d.ts +0 -60
  166. package/capsule-tab/index.d.ts +0 -22
  167. package/card/index.d.ts +0 -41
  168. package/chunks/DqW9QtF3.mjs +0 -68
  169. package/code-mirror-editor/index.d.ts +0 -50
  170. package/confirm-button/index.d.ts +0 -122
  171. package/confirmable/index.d.ts +0 -93
  172. package/context-menu/index.d.ts +0 -183
  173. package/count-up/index.d.ts +0 -70
  174. package/custom-scrollbar/index.d.ts +0 -49
  175. package/data-box/index.d.ts +0 -19
  176. package/data-card/index.d.ts +0 -20
  177. package/data-card-text/index.d.ts +0 -21
  178. package/data-display/index.d.ts +0 -20
  179. package/data-icons/index.d.ts +0 -21
  180. package/data-imgtext/index.d.ts +0 -18
  181. package/data-operatext/index.d.ts +0 -17
  182. package/data-panel/index.d.ts +0 -19
  183. package/data-pay/index.d.ts +0 -19
  184. package/data-price/index.d.ts +0 -17
  185. package/data-progress/index.d.ts +0 -19
  186. package/data-rotate/index.d.ts +0 -19
  187. package/data-table-picker/index.d.ts +0 -61
  188. package/data-tabs/index.d.ts +0 -19
  189. package/dict-render/index.d.ts +0 -28
  190. package/e-charts/index.d.ts +0 -79
  191. package/easy-popup/index.d.ts +0 -114
  192. package/editable-progress/index.d.ts +0 -68
  193. package/editable-tree/index.d.ts +0 -281
  194. package/element-dialog/index.d.ts +0 -376
  195. package/element-resize-observer/index.d.ts +0 -8
  196. package/empty-view/index.d.ts +0 -29
  197. package/error-view/index.d.ts +0 -25
  198. package/flex-box/index.d.ts +0 -44
  199. package/flex-column/index.d.ts +0 -41
  200. package/flex-item/index.d.ts +0 -77
  201. package/flex-row/index.d.ts +0 -41
  202. package/flex-scroll-area/index.d.ts +0 -22
  203. package/flex-scroller/index.d.ts +0 -26
  204. package/flow-designer/index.d.ts +0 -353
  205. package/flow-viewer/index.d.ts +0 -62
  206. package/form-advice/index.d.ts +0 -9
  207. package/form-button/index.d.ts +0 -123
  208. package/form-card/index.d.ts +0 -14
  209. package/form-cascader/index.d.ts +0 -478
  210. package/form-cell/index.d.ts +0 -25
  211. package/form-checkbox/index.d.ts +0 -314
  212. package/form-checkbox-group/index.d.ts +0 -373
  213. package/form-date-picker/index.d.ts +0 -487
  214. package/form-holder/index.d.ts +0 -162
  215. package/form-image/index.d.ts +0 -220
  216. package/form-input/index.d.ts +0 -378
  217. package/form-input-cron-expression/index.d.ts +0 -223
  218. package/form-input-email/index.d.ts +0 -376
  219. package/form-input-id-card/index.d.ts +0 -376
  220. package/form-input-number/index.d.ts +0 -329
  221. package/form-input-phone-number/index.d.ts +0 -376
  222. package/form-input-tag/index.d.ts +0 -270
  223. package/form-input-time/index.d.ts +0 -441
  224. package/form-item-config-provider/index.d.ts +0 -40
  225. package/form-item-group/index.d.ts +0 -92
  226. package/form-item-x/index.d.ts +0 -190
  227. package/form-radio-group/index.d.ts +0 -374
  228. package/form-rate/index.d.ts +0 -325
  229. package/form-red-table/index.d.ts +0 -21
  230. package/form-row/index.d.ts +0 -11
  231. package/form-select/index.d.ts +0 -606
  232. package/form-slider/index.d.ts +0 -352
  233. package/form-switch/index.d.ts +0 -343
  234. package/form-table/index.d.ts +0 -287
  235. package/form-table-plus/index.d.ts +0 -266
  236. package/form-text/index.d.ts +0 -235
  237. package/form-textarea/index.d.ts +0 -351
  238. package/form-time-select/index.d.ts +0 -325
  239. package/form-tree-select/index.d.ts +0 -715
  240. package/form-tree-select-multiple/index.d.ts +0 -717
  241. package/form-view/index.d.ts +0 -226
  242. package/guide-steps/index.d.ts +0 -31
  243. package/highlight-j-s/index.d.ts +0 -18
  244. package/iframe-window/index.d.ts +0 -9
  245. package/image-cropper/index.d.ts +0 -365
  246. package/image-preview/index.d.ts +0 -61
  247. package/image-viewer/index.d.ts +0 -25
  248. package/input-number-range/index.d.ts +0 -41
  249. package/keyboard/index.d.ts +0 -64
  250. package/loading-view/index.d.ts +0 -65
  251. package/name-avatar/index.d.ts +0 -62
  252. package/nav-bar/index.d.ts +0 -21
  253. package/page/index.d.ts +0 -21
  254. package/page-header/index.d.ts +0 -27
  255. package/page-index/index.d.ts +0 -82
  256. package/page-index-top/index.d.ts +0 -38
  257. package/page-skeleton/index.d.ts +0 -30
  258. package/page-skeleton-new/index.d.ts +0 -34
  259. package/pageable-table/index.d.ts +0 -400
  260. package/photo-swipe/index.d.ts +0 -18
  261. package/sign-panel/index.d.ts +0 -85
  262. package/skeleton-panel/index.d.ts +0 -27
  263. package/split-pane/index.d.ts +0 -106
  264. package/stateful/index.d.ts +0 -92
  265. package/sub-table/index.d.ts +0 -109
  266. package/sub-table-plus/index.d.ts +0 -109
  267. package/swiper/index.d.ts +0 -27
  268. package/table-column/index.d.ts +0 -163
  269. package/table-column-def/index.d.ts +0 -97
  270. package/table-view/index.d.ts +0 -346
  271. package/tag-render/index.d.ts +0 -48
  272. package/text-ellipsis/index.d.ts +0 -111
  273. package/toolbar/index.d.ts +0 -129
  274. package/toolbar-button/index.d.ts +0 -189
  275. package/vue-cron/index.d.ts +0 -191
  276. package/vue-qr-code/index.d.ts +0 -47
  277. package/vue-tags-input/index.d.ts +0 -373
  278. package/vue-tree-select/index.d.ts +0 -1489
  279. package/vue-video-player/index.d.ts +0 -117
  280. package/watermark/index.d.ts +0 -97
  281. package/x-input-tag/index.d.ts +0 -2
  282. package/year-calendar/index.d.ts +0 -99
  283. /package/chunks/{BoCxKwBf.mjs → 3UWcbJcG.mjs} +0 -0
  284. /package/chunks/{CaczibeD.mjs → B1MSrc6f.mjs} +0 -0
  285. /package/chunks/{CQeEP_Tl.mjs → B1jgu0ci.mjs} +0 -0
  286. /package/chunks/{DZCryyFG.mjs → CHmZyvFr.mjs} +0 -0
  287. /package/chunks/{BrelfRGo2.mjs → CJ7Ai-mH2.mjs} +0 -0
  288. /package/chunks/{8A7LSgb4.mjs → CZeL7oiY2.mjs} +0 -0
  289. /package/chunks/{CE67pCwD.mjs → C_QfuxeQ.mjs} +0 -0
  290. /package/chunks/{BhzlH7Az.mjs → DdACGFy3.mjs} +0 -0
  291. /package/chunks/{OBTStTaa.mjs → V-Js6hNd.mjs} +0 -0
  292. /package/chunks/{OEBJ-trG.mjs → X-ckP2Hj.mjs} +0 -0
  293. /package/chunks/{fjtZc9Rq2.mjs → b_78-Wov2.mjs} +0 -0
  294. /package/chunks/{tjwOOiNr2.mjs → gNfZhMJk2.mjs} +0 -0
  295. /package/chunks/{BH7VEktl.mjs → mnqSaATq.mjs} +0 -0
  296. /package/chunks/{Dq63V0CC.mjs → tzjUpVIj.mjs} +0 -0
  297. /package/chunks/{BBvIPqcc.mjs → z6tpYT0z.mjs} +0 -0
@@ -1,5 +1,5 @@
1
- import { n as e } from "./BE4V5Vf5.mjs";
2
- import { t } from "./DqW9QtF3.mjs";
1
+ import { n as e } from "./Dgwcljur.mjs";
2
+ import { t } from "./C7rEqtOR.mjs";
3
3
  import { allProps as n } from "../props/input.mjs";
4
4
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
5
5
  //#region src/components/form/FormInputEmail.vue?vue&type=script&lang.jsx
@@ -1,6 +1,6 @@
1
1
  import { commonAutoBindProps as e, commonManualBindProps as t } from "../props/common.mjs";
2
- import { n, o as r } from "./BE4V5Vf5.mjs";
3
- import { n as i, t as a } from "./Lkg7bYLD2.mjs";
2
+ import { n, o as r } from "./Dgwcljur.mjs";
3
+ import { n as i, t as a } from "./BP_0cJ172.mjs";
4
4
  import { createVNode as o, mergeProps as s, ref as c, useModel as l } from "vue";
5
5
  //#region src/components/table/form-table.ts
6
6
  var u = {
@@ -1,5 +1,5 @@
1
1
  import { r as e, t } from "./CjjJimnU.mjs";
2
- import { t as n } from "./CaczibeD.mjs";
2
+ import { t as n } from "./B1MSrc6f.mjs";
3
3
  import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createStaticVNode as s, createVNode as c, normalizeClass as l, normalizeStyle as u, openBlock as d, renderList as f, toDisplayString as p, withModifiers as m } from "vue";
4
4
  //#endregion
5
5
  //#region src/components/material-year-calendar/MonthCalendar.vue?vue&type=style&index=0&scoped=c5d49ea6&lang.scss
@@ -1,4 +1,4 @@
1
- import { n as e, o as t } from "./BE4V5Vf5.mjs";
1
+ import { n as e, o as t } from "./Dgwcljur.mjs";
2
2
  import n from "../x-input-tag/index.mjs";
3
3
  import { allProps as r, predicate as i } from "../props/input-tag.mjs";
4
4
  import { createVNode as a, mergeProps as o } from "vue";
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./OEBJ-trG.mjs";
1
+ import { n as e, t } from "./X-ckP2Hj.mjs";
2
2
  import { createVNode as n, isVNode as r, mergeProps as i } from "vue";
3
3
  //#region src/components/flex/FlexColumn.vue?vue&type=script&lang.jsx
4
4
  function a(e) {
@@ -1,5 +1,5 @@
1
- import { n as e, o as t } from "./BE4V5Vf5.mjs";
2
- import { t as n } from "./DVMfVn-M.mjs";
1
+ import { n as e, o as t } from "./Dgwcljur.mjs";
2
+ import { t as n } from "./C3pzNRoU2.mjs";
3
3
  import { allProps as r, predicate as i } from "../props/input-cron.mjs";
4
4
  import { ElInput as a, ElPopover as o } from "element-plus/es";
5
5
  import "element-plus/es/components/base/style/css";
@@ -1,4 +1,4 @@
1
- import { n as e, o as t } from "./BE4V5Vf5.mjs";
1
+ import { n as e, o as t } from "./Dgwcljur.mjs";
2
2
  import { allProps as n, predicate as r } from "../props/time-select.mjs";
3
3
  import { ElTimeSelect as i } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
@@ -1,10 +1,10 @@
1
1
  import { h as e, m as t, n, r } from "./ClVh1Lek.mjs";
2
2
  import i from "../element-resize-observer/index.mjs";
3
3
  import { cellClickHandlerContextKey as a, pageableTableContextKey as o } from "../constants/index.mjs";
4
- import { t as s } from "./BH7VEktl.mjs";
4
+ import { t as s } from "./mnqSaATq.mjs";
5
5
  import { getDictLabel as c } from "../helper/dictionary.mjs";
6
- import { t as l } from "./CE67pCwD.mjs";
7
- import { t as u } from "./DizOY5i8.mjs";
6
+ import { t as l } from "./C_QfuxeQ.mjs";
7
+ import { t as u } from "./6eDDQWcr.mjs";
8
8
  import { useVisibilityChange as ee } from "../hook/useVisibilityChange.mjs";
9
9
  import { ElCheckbox as d, ElDrawer as f, ElEmpty as te, ElMessage as ne, ElPagination as re, ElRadio as p, ElTable as m, ElTableColumn as h } from "element-plus/es";
10
10
  import "element-plus/es/components/base/style/css";
@@ -1,5 +1,5 @@
1
- import { t as e } from "./CaczibeD.mjs";
2
- import { t } from "./OBTStTaa.mjs";
1
+ import { t as e } from "./B1MSrc6f.mjs";
2
+ import { t } from "./V-Js6hNd.mjs";
3
3
  import { ElButton as n, ElCheckbox as r, ElForm as i, ElFormItem as a, ElInput as o, ElOption as s, ElSelect as c } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
5
5
  import "element-plus/es/components/input/style/css";
@@ -1,5 +1,5 @@
1
- import { n as e, o as t } from "./BE4V5Vf5.mjs";
2
- import { t as n } from "./fjtZc9Rq2.mjs";
1
+ import { n as e, o as t } from "./Dgwcljur.mjs";
2
+ import { t as n } from "./b_78-Wov2.mjs";
3
3
  import { allProps as r, predicate as i } from "../props/tree-select-multiple.mjs";
4
4
  import { createVNode as a, mergeProps as o } from "vue";
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
- import { n as e } from "./BE4V5Vf5.mjs";
2
- import { t } from "./DqW9QtF3.mjs";
1
+ import { n as e } from "./Dgwcljur.mjs";
2
+ import { t } from "./C7rEqtOR.mjs";
3
3
  import { allProps as n } from "../props/input.mjs";
4
4
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
5
5
  //#region src/components/form/FormInputIdCard.vue?vue&type=script&lang.jsx
@@ -0,0 +1,54 @@
1
+ import e from "../count-up/index.mjs";
2
+ import { ElCol as t, ElRow as n } from "element-plus/es";
3
+ import "element-plus/es/components/base/style/css";
4
+ import { Fragment as r, computed as i, createBlock as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, openBlock as p, renderList as m, toDisplayString as h, unref as g, withCtx as _ } from "vue";
5
+ import "element-plus/es/components/row/style/css";
6
+ import "element-plus/es/components/col/style/css";
7
+ //#region src/components/data/rotate/DataRotate.vue?vue&type=script&setup=true&lang.ts
8
+ var v = { class: "avue-data-rotate" }, y = { class: "item-box" }, b = { class: "item-title" }, x = ["href", "onClick"], S = /* @__PURE__ */ u({
9
+ name: "DataRotate",
10
+ __name: "DataRotate",
11
+ props: { option: {
12
+ type: Object,
13
+ default: () => ({})
14
+ } },
15
+ setup(u) {
16
+ let S = u, C = i(() => S.option.animation), w = i(() => S.option.decimals || 0), T = i(() => S.option.span || 8), E = i(() => S.option.data || []);
17
+ return (i, u) => {
18
+ let S = e, D = t, O = n;
19
+ return p(), o("div", v, [l(O, { span: 24 }, {
20
+ default: _(() => [(p(!0), o(r, null, m(g(E), (e, t) => (p(), a(D, {
21
+ key: t,
22
+ md: g(T),
23
+ xs: 24,
24
+ sm: 12
25
+ }, {
26
+ default: _(() => [s("div", {
27
+ class: "item",
28
+ style: f({ backgroundColor: e.color })
29
+ }, [s("div", y, [
30
+ l(S, {
31
+ class: "item-count",
32
+ decimals: e.decimals || g(w),
33
+ animation: e.animation || g(C),
34
+ end: e.count
35
+ }, null, 8, [
36
+ "decimals",
37
+ "animation",
38
+ "end"
39
+ ]),
40
+ s("span", b, h(e.title), 1),
41
+ s("i", { class: d(["item-icon", e.icon]) }, null, 2)
42
+ ]), s("a", {
43
+ href: e.href,
44
+ onClick: (t) => e.click && e.click(e)
45
+ }, [...u[0] || (u[0] = [s("p", { class: "item-more" }, [c(" 更多 "), s("i", { class: "el-icon-arrow-right" })], -1)])], 8, x)], 4)]),
46
+ _: 2
47
+ }, 1032, ["md"]))), 128))]),
48
+ _: 1
49
+ })]);
50
+ };
51
+ }
52
+ });
53
+ //#endregion
54
+ export { S as t };
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./CjjJimnU.mjs";
2
- import { t } from "./CaczibeD.mjs";
3
- import { t as n } from "./OBTStTaa.mjs";
2
+ import { t } from "./B1MSrc6f.mjs";
3
+ import { t as n } from "./V-Js6hNd.mjs";
4
4
  import { ElButton as r, ElDivider as i, ElForm as a, ElFormItem as o, ElInput as s, ElTable as c, ElTableColumn as l } from "element-plus/es";
5
5
  import "element-plus/es/components/base/style/css";
6
6
  import "element-plus/es/components/input/style/css";
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "./CjjJimnU.mjs";
2
- import { t } from "./CaczibeD.mjs";
2
+ import { t } from "./B1MSrc6f.mjs";
3
3
  import { ElForm as n, ElFormItem as r, ElInput as i, ElOption as a, ElSelect as o } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
5
5
  import "element-plus/es/components/input/style/css";
@@ -1,8 +1,8 @@
1
1
  import { n as e } from "./CjjJimnU.mjs";
2
- import { t } from "./CaczibeD.mjs";
3
- import { t as n } from "./OBTStTaa.mjs";
4
- import { r, t as i } from "./CQeEP_Tl.mjs";
5
- import { a, i as o, n as s, r as c, t as l } from "./BBvIPqcc.mjs";
2
+ import { t } from "./B1MSrc6f.mjs";
3
+ import { t as n } from "./V-Js6hNd.mjs";
4
+ import { r, t as i } from "./B1jgu0ci.mjs";
5
+ import { a, i as o, n as s, r as c, t as l } from "./z6tpYT0z.mjs";
6
6
  import { ElButton as u, ElDivider as d, ElDrawer as f, ElForm as p, ElFormItem as m, ElInput as h, ElOption as g, ElSelect as _, ElTable as v, ElTableColumn as y } from "element-plus/es";
7
7
  import "element-plus/es/components/base/style/css";
8
8
  import "element-plus/es/components/input/style/css";
@@ -1,7 +1,7 @@
1
1
  import { allProps as e, predicate as t } from "../props/checkbox-group.mjs";
2
- import { n, o as r } from "./BE4V5Vf5.mjs";
2
+ import { n, o as r } from "./Dgwcljur.mjs";
3
3
  import { useDictionary as i } from "../hook/useDictionary.mjs";
4
- import { t as a } from "./DqW9QtF3.mjs";
4
+ import { t as a } from "./C7rEqtOR.mjs";
5
5
  import { ElCheckbox as o, ElCheckboxButton as s, ElCheckboxGroup as c } from "element-plus/es";
6
6
  import "element-plus/es/components/base/style/css";
7
7
  import { computed as l, createVNode as u, defineComponent as d, isVNode as f, mergeProps as p, useModel as m } from "vue";
@@ -1,5 +1,5 @@
1
1
  import { allProps as e, predicate as t } from "../props/date.mjs";
2
- import { n, o as r } from "./BE4V5Vf5.mjs";
2
+ import { n, o as r } from "./Dgwcljur.mjs";
3
3
  import { ElDatePicker as i } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
5
5
  import { computed as a, createVNode as o, mergeProps as s } from "vue";
@@ -1,8 +1,8 @@
1
1
  import { i as e } from "./ClVh1Lek.mjs";
2
2
  import { commonAutoBindProps as t, commonManualBindProps as n } from "../props/common.mjs";
3
- import { n as r, o as i } from "./BE4V5Vf5.mjs";
4
- import { n as a } from "./DqW9QtF3.mjs";
5
- import { n as o, t as s } from "./gTgPZrgY2.mjs";
3
+ import { n as r, o as i } from "./Dgwcljur.mjs";
4
+ import { n as a } from "./C7rEqtOR.mjs";
5
+ import { n as o, t as s } from "./DvkUImww2.mjs";
6
6
  import { computed as c, createVNode as l, getCurrentInstance as u, mergeProps as d, useModel as f, useTemplateRef as p } from "vue";
7
7
  import { isArray as m, isString as h, trace as g, warning as _ } from "@web-utils/core";
8
8
  import { useEventBus as v } from "@web-utils/vue/hooks/useEventBus";
@@ -1,6 +1,6 @@
1
1
  import { h as e } from "./ClVh1Lek.mjs";
2
2
  import { useFormItemProps as t } from "../helper/form-item.mjs";
3
- import { r as n } from "./BE4V5Vf5.mjs";
3
+ import { r as n } from "./Dgwcljur.mjs";
4
4
  import { allProps as r, predicate as i } from "../props/image.mjs";
5
5
  import { ElImage as a } from "element-plus/es";
6
6
  import "element-plus/es/components/base/style/css";
@@ -1,4 +1,4 @@
1
- import { n as e, o as t } from "./BE4V5Vf5.mjs";
1
+ import { n as e, o as t } from "./Dgwcljur.mjs";
2
2
  import { allProps as n, predicate as r } from "../props/time.mjs";
3
3
  import { ElTimePicker as i } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
@@ -1,5 +1,5 @@
1
- import { n as e } from "./BE4V5Vf5.mjs";
2
- import { t } from "./DqW9QtF3.mjs";
1
+ import { n as e } from "./Dgwcljur.mjs";
2
+ import { t } from "./C7rEqtOR.mjs";
3
3
  import { allProps as n } from "../props/textarea.mjs";
4
4
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
5
5
  //#region src/components/form/FormTextarea.vue?vue&type=script&lang.jsx
@@ -3,16 +3,15 @@ import { formItemProps as r, predicate as i, useFormItemAutoBind as a } from "..
3
3
  import { colProps as o, predicate as s, useColAutoBind as c } from "../props/col.mjs";
4
4
  import { formHolderContextKey as l, formItemConfigProviderContextKey as u, formItemGroupContextKey as d, formViewContextKey as f } from "../constants/index.mjs";
5
5
  import { useFormItemProps as p, useRequired as m } from "../helper/form-item.mjs";
6
- import { ElCol as h, ElFormItem as g, ElTooltip as _ } from "element-plus/es";
6
+ import { ElCol as h, ElFormItem as g, ElTooltip as _, rowContextKey as v } from "element-plus/es";
7
7
  import "element-plus/es/components/base/style/css";
8
- import { computed as v, createVNode as y, h as b, inject as x, mergeProps as S, nextTick as C, toRef as w, useTemplateRef as T } from "vue";
8
+ import { computed as y, createVNode as b, h as x, inject as S, mergeProps as C, toRef as w, useTemplateRef as T } from "vue";
9
9
  import "element-plus/es/components/col/style/css";
10
10
  import "element-plus/es/components/tooltip/style/css";
11
11
  import "element-plus/es/components/form-item/style/css";
12
- import { rowContextKey as E } from "element-plus";
13
12
  //#endregion
14
13
  //#region src/components/form/FormItemX.vue
15
- var D = {
14
+ var E = {
16
15
  name: "FormItemX",
17
16
  inheritAttrs: !1,
18
17
  props: {
@@ -20,9 +19,9 @@ var D = {
20
19
  ...o
21
20
  },
22
21
  setup(e, { attrs: t, slots: n, expose: r }) {
23
- let o = x(E, null), d = x(u, null), f = x(l, null), p = t.embed ? v(() => t.disabled) : k(e), b = a(e, { predicate: i }), w = c(e, { predicate: s }), D = v(() => (d == null ? void 0 : d.reactive) === !0 && d.block === !1 && e.fixedSpan === void 0 && !e.half), O = m(e), A = T("formItem"), j = v(() => (d == null ? void 0 : d.wrapCol) === !1 ? !1 : !!o && e.wrapCol), M = v(() => f != null && f.tableForm ? "" : d != null && d.block ? "100%" : e.half && j.value ? `calc(50% - ${o.gutter.value / 2}px)` : ""), N = v(() => (d == null ? void 0 : d.block) === !0 || e.block || e.half ? 24 : e.span), P = v(() => {
22
+ let o = S(v, null), d = S(u, null), f = S(l, null), p = t.embed ? y(() => t.disabled) : O(e), x = a(e, { predicate: i }), w = c(e, { predicate: s }), E = y(() => (d == null ? void 0 : d.reactive) === !0 && d.block === !1 && e.fixedSpan === void 0 && !e.half), D = m(e), k = T("formItem"), A = y(() => (d == null ? void 0 : d.wrapCol) === !1 ? !1 : !!o && e.wrapCol), j = y(() => f != null && f.tableForm ? "" : d != null && d.block ? "100%" : e.half && A.value ? `calc(50% - ${o.gutter.value / 2}px)` : ""), M = y(() => (d == null ? void 0 : d.block) === !0 || e.block || e.half ? 24 : e.span), N = y(() => {
24
23
  if (p.value) return [];
25
- if (O.value) {
24
+ if (D.value) {
26
25
  let t = {
27
26
  required: !0,
28
27
  message: e.message || `${e.messagePrefix || "请输入"}${e.label}`
@@ -32,59 +31,79 @@ var D = {
32
31
  return e.rules;
33
32
  });
34
33
  return r({
35
- clearValidate: async () => {
34
+ clearValidate: () => {
36
35
  var e;
37
- await C(), (e = A.value) == null || e.clearValidate();
36
+ return (e = k.value) == null ? void 0 : e.clearValidate();
38
37
  },
39
- validate: async () => {
38
+ validate: () => {
40
39
  var e;
41
- await C(), (e = A.value) == null || e.validate();
42
- }
40
+ return (e = k.value) == null ? void 0 : e.validate();
41
+ },
42
+ resetField: () => {
43
+ var e;
44
+ return (e = k.value) == null ? void 0 : e.resetField();
45
+ },
46
+ setInitialValue: () => {
47
+ var e;
48
+ return (e = k.value) == null ? void 0 : e.setInitialValue();
49
+ },
50
+ size: y(() => {
51
+ var e;
52
+ return (e = k.value) == null ? void 0 : e.size;
53
+ }),
54
+ validateMessage: y(() => {
55
+ var e;
56
+ return (e = k.value) == null ? void 0 : e.validateMessage;
57
+ }),
58
+ validateState: y(() => {
59
+ var e;
60
+ return (e = k.value) == null ? void 0 : e.validateState;
61
+ })
43
62
  }), () => {
44
63
  var r;
45
- let i = n.tips || e.tips, a = i ? y(_, {
64
+ let i = n.tips || e.tips, a = i ? b(_, {
46
65
  effect: "light",
47
66
  content: e.tips,
48
67
  offset: 4
49
68
  }, {
50
- default: () => y("i", { class: "el-icon-info form-item-input-info" }, null),
69
+ default: () => b("i", { class: "el-icon-info form-item-input-info" }, null),
51
70
  content: n.tips ? n.tips : null
52
- }) : null, o = y(g, S(b.value, t, {
71
+ }) : null, o = b(g, C(x.value, t, {
53
72
  ref: "formItem",
54
- style: { width: M.value },
73
+ style: { width: j.value },
55
74
  class: [
56
75
  "form-item",
57
76
  e.formItemClass,
58
77
  {
59
78
  "form-item-hide-label": e.hideLabel,
60
79
  "with-tips": !e.tipsAfterLabel && i,
61
- required: p.value === !1 && O.value
80
+ required: p.value === !1 && D.value
62
81
  }
63
82
  ],
64
- rules: P.value
83
+ rules: N.value
65
84
  }), {
66
85
  ...n,
67
86
  default: () => {
68
87
  var t;
69
88
  return [(t = n.default) == null ? void 0 : t.call(n, {
70
89
  disabled: p.value,
71
- required: O.value
90
+ required: D.value
72
91
  }), i && !e.tipsAfterLabel ? a : null];
73
92
  },
74
93
  label: () => [n.label ? n.label() : e.label, e.tipsAfterLabel ? a : null]
75
94
  }), s = [o, (r = n.below) == null ? void 0 : r.call(n)];
76
- return e.unwrap ? s : j.value ? y(h, S(w.value, D.value ? {
95
+ return e.unwrap ? s : A.value ? b(h, C(w.value, E.value ? {
77
96
  xs: 24,
78
97
  sm: 12,
79
98
  md: 12,
80
99
  lg: 8,
81
100
  xl: 6
82
- } : {}, { span: N.value }), { default: () => s }) : o;
101
+ } : {}, { span: M.value }), { default: () => s }) : o;
83
102
  };
84
103
  }
85
- }, O = "update:modelValue", k = (e) => {
86
- let t = x(l, null), n = x(d, null);
87
- return v(() => {
104
+ }, D = "update:modelValue", O = (e) => {
105
+ let t = S(l, null), n = S(d, null);
106
+ return y(() => {
88
107
  if (e.disabled !== void 0) return e.disabled;
89
108
  if (t) {
90
109
  if (t.requiredFieldsMap[e.prop] === !0 || t.enabledFieldsMap[e.prop] === !0) return !1;
@@ -92,18 +111,19 @@ var D = {
92
111
  }
93
112
  return (n == null ? void 0 : n.enabled) === !0 ? !1 : (n == null ? void 0 : n.disabled) === !0 ? !0 : (t == null ? void 0 : t.disabled) === !0;
94
113
  });
95
- }, A = { [O]: null }, j = (e, t) => e(O, t), M = (e, { vNodes: t, formItemProps: n, slots: r, disabled: i }) => e.wrapFormItem ? b(D, {
114
+ }, k = { [D]: null }, A = (e, t) => e(D, t), j = (e, { vNodes: t, formItemProps: n, slots: r, disabled: i, ref: a }) => e.wrapFormItem ? x(E, {
96
115
  ...n.value,
97
116
  embed: !0,
98
- disabled: i == null ? void 0 : i.value
117
+ disabled: i == null ? void 0 : i.value,
118
+ ref: a
99
119
  }, {
100
120
  default: () => t,
101
121
  label: r.label,
102
122
  error: r.error,
103
123
  tips: r.tips,
104
124
  below: r.below
105
- }) : t, N = (r, { emit: i, slots: a, events: o, predicate: s, removeOn: c = !1, attrs: l, block: u, class: d, rules: m, messagePrefix: g = "请输入", extraFormItemProps: _ }) => {
106
- let y = k(r), S = x(f, null), C = v(() => y.value || r.placeholder === !1 ? "" : r.placeholder === !0 ? `${g}${r.label}` : r.placeholder ?? `${g}${r.label}`), T = p(r, {
125
+ }) : t, M = (r, { emit: i, slots: a, events: o, predicate: s, removeOn: c = !1, attrs: l, block: u, class: d, rules: m, messagePrefix: g = "请输入", extraFormItemProps: _ }) => {
126
+ let v = O(r), b = S(f, null), C = y(() => v.value || r.placeholder === !1 ? "" : r.placeholder === !0 ? `${g}${r.label}` : r.placeholder ?? `${g}${r.label}`), E = p(r, {
107
127
  rules: m,
108
128
  block: w(() => u === void 0 ? r.type === "textarea" && r.block === void 0 ? !0 : r.block : u),
109
129
  attrs: l,
@@ -111,23 +131,25 @@ var D = {
111
131
  message: C.value,
112
132
  messagePrefix: g,
113
133
  ..._
114
- }), E = (e) => j(i, e), D = (e) => r.col ? b(h, { span: r.block ? 24 : r.span }, { default: () => e }) : e, O = ({ vNodes: e }) => M(r, {
115
- vNodes: D(e),
116
- formItemProps: T,
134
+ }), D = (e) => A(i, e), k = (e) => r.col ? x(h, { span: r.block ? 24 : r.span }, { default: () => e }) : e, M = T("formItem"), N = ({ vNodes: e }) => j(r, {
135
+ vNodes: k(e),
136
+ formItemProps: E,
117
137
  slots: a,
118
- disabled: y
119
- }), A = v(() => n(r, s, o, i)), N = e({ removeOn: c });
138
+ disabled: v,
139
+ ref: "formItem"
140
+ }), P = y(() => n(r, s, o, i)), F = e({ removeOn: c });
120
141
  return {
121
- emitInput: E,
122
- render: O,
142
+ emitInput: D,
143
+ render: N,
123
144
  placeholder: C,
124
- disabled: y,
125
- formItemProps: T,
126
- autoBind: A,
145
+ disabled: v,
146
+ formItemProps: E,
147
+ autoBind: P,
127
148
  inputProps: t(r, s),
128
- listeners: N,
129
- printing: v(() => (S == null ? void 0 : S.printing) === !0)
149
+ listeners: F,
150
+ formItem: M,
151
+ printing: y(() => (b == null ? void 0 : b.printing) === !0)
130
152
  };
131
- }, P = (e) => e.icon ? b("i", { class: e.icon }) : null;
153
+ }, N = (e) => e.icon ? x("i", { class: e.icon }) : null;
132
154
  //#endregion
133
- export { k as a, j as i, A as n, N as o, M as r, D as s, P as t };
155
+ export { O as a, A as i, k as n, M as o, j as r, E as s, N as t };
@@ -1,5 +1,5 @@
1
1
  import { allProps as e, predicate as t } from "../props/checkbox.mjs";
2
- import { n, o as r } from "./BE4V5Vf5.mjs";
2
+ import { n, o as r } from "./Dgwcljur.mjs";
3
3
  import { ElCheckbox as i } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
5
5
  import { createVNode as a, mergeProps as o, useModel as s } from "vue";
@@ -1,5 +1,5 @@
1
- import { n as e } from "./BE4V5Vf5.mjs";
2
- import { t } from "./DqW9QtF3.mjs";
1
+ import { n as e } from "./Dgwcljur.mjs";
2
+ import { t } from "./C7rEqtOR.mjs";
3
3
  import { allProps as n } from "../props/input.mjs";
4
4
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
5
5
  //#region src/components/form/FormInputPhoneNumber.vue?vue&type=script&lang.jsx
@@ -0,0 +1,60 @@
1
+ import e from "../count-up/index.mjs";
2
+ import { ElCol as t, ElRow as n } from "element-plus/es";
3
+ import "element-plus/es/components/base/style/css";
4
+ import { Fragment as r, computed as i, createBlock as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, normalizeStyle as u, openBlock as d, renderList as f, toDisplayString as p, unref as m, withCtx as h } from "vue";
5
+ import "element-plus/es/components/row/style/css";
6
+ import "element-plus/es/components/col/style/css";
7
+ //#region src/components/data/tabs/DataTabs.vue?vue&type=script&setup=true&lang.ts
8
+ var g = { class: "avue-data-tabs" }, _ = [
9
+ "href",
10
+ "target",
11
+ "onClick"
12
+ ], v = { class: "item-header" }, y = { class: "item-body" }, b = { class: "item-footer" }, x = { class: "item-tip" }, S = /* @__PURE__ */ l({
13
+ name: "DataTabs",
14
+ __name: "DataTabs",
15
+ props: { option: {
16
+ type: Object,
17
+ default: () => ({})
18
+ } },
19
+ setup(l) {
20
+ let S = l, C = i(() => S.option.animation), w = i(() => S.option.decimals || 0), T = i(() => S.option.span || 8), E = i(() => S.option.data || []);
21
+ return (i, l) => {
22
+ let S = e, D = t, O = n;
23
+ return d(), o("div", g, [c(O, { span: 24 }, {
24
+ default: h(() => [(d(!0), o(r, null, f(m(E), (e, t) => (d(), a(D, {
25
+ key: t,
26
+ md: m(T),
27
+ xs: 24,
28
+ sm: 12
29
+ }, {
30
+ default: h(() => [s("div", {
31
+ class: "item",
32
+ style: u({ background: e.color })
33
+ }, [s("a", {
34
+ href: e.href,
35
+ target: e.target,
36
+ onClick: (t) => e.click && e.click(e)
37
+ }, [
38
+ s("div", v, [s("p", null, p(e.title), 1), s("span", null, p(e.subtitle), 1)]),
39
+ s("div", y, [c(S, {
40
+ class: "h2",
41
+ decimals: e.decimals || m(w),
42
+ animation: e.animation || m(C),
43
+ end: e.count
44
+ }, null, 8, [
45
+ "decimals",
46
+ "animation",
47
+ "end"
48
+ ])]),
49
+ s("div", b, [s("span", null, p(e.allcount), 1), s("p", null, p(e.text), 1)]),
50
+ s("p", x, p(e.key), 1)
51
+ ], 8, _)], 4)]),
52
+ _: 2
53
+ }, 1032, ["md"]))), 128))]),
54
+ _: 1
55
+ })]);
56
+ };
57
+ }
58
+ });
59
+ //#endregion
60
+ export { S as t };
@@ -0,0 +1,29 @@
1
+ import { Fragment as e, createElementBlock as t, defineComponent as n, mergeModels as r, normalizeClass as i, openBlock as a, renderList as o, toDisplayString as s, useModel as c } from "vue";
2
+ //#region src/components/CapsuleTab.vue?vue&type=script&setup=true&lang.ts
3
+ var l = { class: "capsule-tab" }, u = ["onClick"], d = /* @__PURE__ */ n({
4
+ name: "CapsuleTab",
5
+ __name: "CapsuleTab",
6
+ props: /* @__PURE__ */ r({ tabs: {
7
+ type: Array,
8
+ default: () => []
9
+ } }, {
10
+ modelValue: { type: String },
11
+ modelModifiers: {}
12
+ }),
13
+ emits: ["update:modelValue"],
14
+ setup(n) {
15
+ let r = c(n, "modelValue"), d = (e) => {
16
+ r.value = e.value;
17
+ };
18
+ return (c, f) => (a(), t("ul", l, [(a(!0), t(e, null, o(n.tabs, (e) => (a(), t("li", {
19
+ key: e.value,
20
+ class: i(["tab-item", {
21
+ active: r.value === e.value,
22
+ single: n.tabs.length === 1
23
+ }]),
24
+ onClick: (t) => d(e)
25
+ }, s(e.label), 11, u))), 128))]));
26
+ }
27
+ });
28
+ //#endregion
29
+ export { d as t };