@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
package/affix/index.mjs CHANGED
@@ -41,7 +41,7 @@ var y = /* @__PURE__ */ Object.assign({ name: "Affix" }, {
41
41
  ref: O,
42
42
  class: o([{ affix: p(w) }]),
43
43
  style: s(p(E))
44
- }, [r(" @slot 内容插槽\n @param affix {boolean} 是否固定\n @param affix1 {boolean|string} 是否固定"), f(e.$slots, "default")], 6), g(a("div", { style: s(p(D)) }, null, 4), [[h, p(T)]])], 512));
44
+ }, [r(" @slot 内容插槽\r\n @param affix {boolean} 是否固定\r\n @param affix1 {boolean|string} 是否固定"), f(e.$slots, "default")], 6), g(a("div", { style: s(p(D)) }, null, 4), [[h, p(T)]])], 512));
45
45
  }
46
46
  });
47
47
  //#endregion
@@ -1,27 +1,2 @@
1
- import { t as e } from "../chunks/CaczibeD.mjs";
2
- import { Fragment as t, createElementBlock as n, normalizeClass as r, openBlock as i, renderList as a, toDisplayString as o } from "vue";
3
- //#region src/components/CapsuleTab.vue
4
- var s = {
5
- name: "CapsuleTab",
6
- props: {
7
- tabs: {
8
- type: Array,
9
- default: () => []
10
- },
11
- modelValue: { type: String }
12
- },
13
- emits: ["update:modelValue"]
14
- }, c = { class: "capsule-tab" }, l = ["onClick"];
15
- function u(e, s, u, d, f, p) {
16
- return i(), n("ul", c, [(i(!0), n(t, null, a(u.tabs, (t) => (i(), n("li", {
17
- key: t.value,
18
- class: r(["tab-item", {
19
- active: u.modelValue === t.value,
20
- single: u.tabs.length === 1
21
- }]),
22
- onClick: (n) => e.$emit("update:modelValue", t.value)
23
- }, o(t.label), 11, l))), 128))]);
24
- }
25
- var d = /* @__PURE__ */ e(s, [["render", u]]);
26
- //#endregion
27
- export { d as default };
1
+ import { t as e } from "../chunks/DokYQ49m.mjs";
2
+ export { e as default };
package/card/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "../chunks/CaczibeD.mjs";
1
+ import { t as e } from "../chunks/B1MSrc6f.mjs";
2
2
  import { ElCol as t, ElRow as n } from "element-plus/es";
3
3
  import "element-plus/es/components/base/style/css";
4
4
  import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, openBlock as l, renderList as u, renderSlot as d, toDisplayString as f, withCtx as p } from "vue";
@@ -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 { ElInput as n } 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,7 +1,7 @@
1
1
  import { a as e, h as t } from "./ClVh1Lek.mjs";
2
2
  import { cellClickHandlerContextKey as n } from "../constants/index.mjs";
3
- import { t as r } from "./Dq63V0CC.mjs";
4
- import { n as i, t as a } from "./CE67pCwD.mjs";
3
+ import { t as r } from "./tzjUpVIj.mjs";
4
+ import { n as i, t as a } from "./C_QfuxeQ.mjs";
5
5
  import { ElTableColumn as o } from "element-plus/es";
6
6
  import "element-plus/es/components/base/style/css";
7
7
  import { createVNode as s, inject as c, mergeProps as l } from "vue";
@@ -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/slide.mjs";
3
3
  import { ElSlider as i } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./CaczibeD.mjs";
1
+ import { t as e } from "./B1MSrc6f.mjs";
2
2
  import { createElementBlock as t, createElementVNode as n, normalizeClass as r, openBlock as i } from "vue";
3
3
  //#region src/components/keyboard/index.js
4
4
  var a = class {
@@ -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 { useDictionary as n } from "../hook/useDictionary.mjs";
3
3
  import { allProps as r, predicate as i } from "../props/radio-group.mjs";
4
4
  import { ElRadio as a, ElRadioButton as o, ElRadioGroup as s } from "element-plus/es";
@@ -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.mjs";
4
4
  import { createVNode as a, mergeProps as o } from "vue";
5
5
  //#endregion
@@ -1,21 +1,21 @@
1
- import { t as e } from "./CaczibeD.mjs";
2
- import { t } from "./BhIWiH5R.mjs";
3
- import { t as n } from "./BH7VEktl.mjs";
4
- import { t as r } from "./Dq63V0CC.mjs";
5
- import { n as i } from "./BE4V5Vf5.mjs";
6
- import { t as a } from "./nL59ZuIk.mjs";
7
- import { t as o } from "./DqW9QtF3.mjs";
8
- import { t as s } from "./HsHwYW1a.mjs";
9
- import { t as c } from "./DyLQsqWJ.mjs";
10
- import { t as l } from "./-fXBgN9b2.mjs";
11
- import { t as u } from "./Dm3gQGoV2.mjs";
12
- import { t as d } from "./B0BOjeph2.mjs";
1
+ import { t as e } from "./B1MSrc6f.mjs";
2
+ import { t } from "./Cb7kjZa-.mjs";
3
+ import { t as n } from "./mnqSaATq.mjs";
4
+ import { t as r } from "./tzjUpVIj.mjs";
5
+ import { n as i } from "./Dgwcljur.mjs";
6
+ import { t as a } from "./ohCkWdwS.mjs";
7
+ import { t as o } from "./C7rEqtOR.mjs";
8
+ import { t as s } from "./DLdsvozr.mjs";
9
+ import { t as c } from "./DMDsZeqv.mjs";
10
+ import { t as l } from "./BTNnujZA2.mjs";
11
+ import { t as u } from "./Dje2xUVd2.mjs";
12
+ import { t as d } from "./BaB0bq4I2.mjs";
13
13
  import f from "../table-column-def/index.mjs";
14
- import { t as p } from "./DjaV6_cg2.mjs";
15
- import { Fragment as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as y, createTextVNode as b, createVNode as x, mergeProps as S, openBlock as C, renderList as w, renderSlot as T, resolveComponent as E, toDisplayString as D, withCtx as O, withModifiers as k } from "vue";
16
- import { findTreeChildren as A, isFunction as j } from "@web-utils/core";
17
- import { cloneDeep as M } from "@web-utils/integrations/lodash";
18
- import { formContextKey as N, formItemContextKey as P } from "element-plus";
14
+ import { t as p } from "./D_gR5ibl2.mjs";
15
+ import { formContextKey as m, formItemContextKey as h } from "element-plus/es";
16
+ import { Fragment as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as x, createTextVNode as S, createVNode as C, mergeProps as w, openBlock as T, renderList as E, renderSlot as D, resolveComponent as O, toDisplayString as k, withCtx as A, withModifiers as j } from "vue";
17
+ import { findTreeChildren as M, isFunction as N } from "@web-utils/core";
18
+ import { cloneDeep as P } from "@web-utils/integrations/lodash";
19
19
  //#region src/components/table/sub-table.ts
20
20
  var F = {
21
21
  modelValue: Array,
@@ -59,11 +59,11 @@ var F = {
59
59
  },
60
60
  inject: {
61
61
  elForm: {
62
- from: N,
62
+ from: m,
63
63
  default: ""
64
64
  },
65
65
  elFormItem: {
66
- from: P,
66
+ from: h,
67
67
  default: ""
68
68
  }
69
69
  },
@@ -109,7 +109,7 @@ var F = {
109
109
  },
110
110
  methods: {
111
111
  getCellType(e, t) {
112
- return j(t.getType) ? t.getType(e, t) : t.type;
112
+ return N(t.getType) ? t.getType(e, t) : t.type;
113
113
  },
114
114
  getInputAttr(e, t, n) {
115
115
  var r;
@@ -134,7 +134,7 @@ var F = {
134
134
  } catch {}
135
135
  },
136
136
  add(e, t) {
137
- let n = M(this.rowProps);
137
+ let n = P(this.rowProps);
138
138
  this.rows.splice(t + 1, 0, n);
139
139
  },
140
140
  addRow() {
@@ -165,7 +165,7 @@ var F = {
165
165
  if (r) return r.name;
166
166
  }
167
167
  if (n.type === "cascader" && (i = n.attrs) != null && i.options) {
168
- let [r] = A(n.attrs.options, (r) => r[n.attrs.valueKey || "value"] === e[t.property]);
168
+ let [r] = M(n.attrs.options, (r) => r[n.attrs.valueKey || "value"] === e[t.property]);
169
169
  if (r) return r[n.attrs.valueKey || "label"];
170
170
  }
171
171
  return e[t.property];
@@ -178,9 +178,9 @@ var F = {
178
178
  key: 0,
179
179
  style: { color: "#f56c6c" }
180
180
  }, z = ["onClick"];
181
- function B(e, i, A, j, M, N) {
182
- let P = n, F = o, I = u, B = E("FormInputUser"), V = E("FormInputDepartment"), H = d, U = c, W = a, G = s, K = l, q = p, J = r, Y = f, X = t;
183
- return C(), h(X, S({
181
+ function B(e, i, m, h, M, N) {
182
+ let P = n, F = o, I = u, B = O("FormInputUser"), V = O("FormInputDepartment"), H = d, U = c, W = a, G = s, K = l, q = p, J = r, Y = f, X = t;
183
+ return T(), _(X, w({
184
184
  ref: "table",
185
185
  class: "sub-table",
186
186
  "auto-height": "",
@@ -193,9 +193,9 @@ function B(e, i, A, j, M, N) {
193
193
  selection: N.enabled,
194
194
  "row-db-click": e.rowDbClick,
195
195
  onSelectionChange: N.onSelectionChange
196
- }), y({
197
- default: O(() => [
198
- T(e.$slots, "columns", { columns: e.columns }, () => [(C(!0), _(m, null, w(N.filteredColumns, (t) => (C(), h(Y, {
196
+ }), x({
197
+ default: A(() => [
198
+ D(e.$slots, "columns", { columns: e.columns }, () => [(T(!0), y(g, null, E(N.filteredColumns, (t) => (T(), _(Y, {
199
199
  key: t.prop,
200
200
  label: t.label,
201
201
  width: t.width,
@@ -206,34 +206,34 @@ function B(e, i, A, j, M, N) {
206
206
  options: t.options,
207
207
  "show-overflow-tooltip": !N.available && t.showOverflowTooltip
208
208
  }, {
209
- header: O(() => [!e.disabled && t.required ? (C(), _("span", R, "*")) : g("v-if", !0), b(" " + D(t.label), 1)]),
210
- default: O(({ row: n, column: r, $index: i }) => [
211
- g("tag 插槽"),
212
- T(e.$slots, "tag", {
209
+ header: A(() => [!e.disabled && t.required ? (T(), y("span", R, "*")) : v("v-if", !0), S(" " + k(t.label), 1)]),
210
+ default: A(({ row: n, column: r, $index: i }) => [
211
+ v("tag 插槽"),
212
+ D(e.$slots, "tag", {
213
213
  row: n,
214
214
  column: r,
215
215
  index: i
216
216
  }),
217
- g("列默认插槽,名字和 prop 保持一致"),
218
- T(e.$slots, t.prop, {
217
+ v("列默认插槽,名字和 prop 保持一致"),
218
+ D(e.$slots, t.prop, {
219
219
  row: n,
220
220
  column: r,
221
221
  index: i
222
222
  }, () => {
223
223
  var e;
224
- return [N.available ? (C(), _(m, { key: 0 }, [N.getCellType(n, t) === "input" ? (C(), h(F, S({
224
+ return [N.available ? (T(), y(g, { key: 0 }, [N.getCellType(n, t) === "input" ? (T(), _(F, w({
225
225
  key: 0,
226
226
  ref_for: !0
227
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "inputPhoneNumber" ? (C(), h(I, S({
227
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "inputPhoneNumber" ? (T(), _(I, w({
228
228
  key: 1,
229
229
  ref_for: !0
230
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "user" ? (C(), _(m, { key: 2 }, [t.single ? (C(), h(B, S({
230
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "user" ? (T(), y(g, { key: 2 }, [t.single ? (T(), _(B, w({
231
231
  key: 0,
232
232
  ref_for: !0
233
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : (C(), h(B, S({
233
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : (T(), _(B, w({
234
234
  key: 1,
235
235
  ref_for: !0
236
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"]))], 64)) : N.getCellType(n, t) === "department" ? (C(), _(m, { key: 3 }, [t.single ? (C(), h(V, S({
236
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"]))], 64)) : N.getCellType(n, t) === "department" ? (T(), y(g, { key: 3 }, [t.single ? (T(), _(V, w({
237
237
  key: 0,
238
238
  ref_for: !0
239
239
  }, N.getInputAttr(n, t, i), {
@@ -244,16 +244,16 @@ function B(e, i, A, j, M, N) {
244
244
  "name",
245
245
  "onUpdate:name",
246
246
  "onUpdate:modelValue"
247
- ])) : (C(), h(V, S({
247
+ ])) : (T(), _(V, w({
248
248
  key: 1,
249
249
  ref_for: !0
250
250
  }, N.getInputAttr(n, t, i), {
251
251
  disabled: N.isInputDisabled(n, t),
252
252
  "onUpdate:modelValue": (e) => N.onInput(n, e, t)
253
- }), null, 16, ["disabled", "onUpdate:modelValue"]))], 64)) : N.getCellType(n, t) === "select" ? (C(), h(H, S({
253
+ }), null, 16, ["disabled", "onUpdate:modelValue"]))], 64)) : N.getCellType(n, t) === "select" ? (T(), _(H, w({
254
254
  key: 4,
255
255
  ref_for: !0
256
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "datePicker" ? (C(), h(U, S({
256
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "datePicker" ? (T(), _(U, w({
257
257
  key: 5,
258
258
  ref_for: !0
259
259
  }, N.getInputAttr(n, t, i), {
@@ -268,19 +268,19 @@ function B(e, i, A, j, M, N) {
268
268
  "end",
269
269
  "onUpdate:end",
270
270
  "onUpdate:modelValue"
271
- ])) : N.getCellType(n, t) === "cascader" ? (C(), h(W, S({
271
+ ])) : N.getCellType(n, t) === "cascader" ? (T(), _(W, w({
272
272
  key: 6,
273
273
  ref_for: !0
274
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "checkbox" ? (C(), h(G, S({
274
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "checkbox" ? (T(), _(G, w({
275
275
  key: 7,
276
276
  ref_for: !0
277
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "number" ? (C(), h(K, S({
277
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "number" ? (T(), _(K, w({
278
278
  key: 8,
279
279
  ref_for: !0
280
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "textarea" ? (C(), h(q, S({
280
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "textarea" ? (T(), _(q, w({
281
281
  key: 9,
282
282
  ref_for: !0
283
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : (C(), _(m, { key: 10 }, [b(D(N.getVal(n, r, t)), 1)], 64))], 64)) : t.dicType || (e = t.options) != null && e.length ? (C(), h(J, {
283
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : (T(), y(g, { key: 10 }, [S(k(N.getVal(n, r, t)), 1)], 64))], 64)) : t.dicType || (e = t.options) != null && e.length ? (T(), _(J, {
284
284
  key: 1,
285
285
  "dict-type": t.dicType,
286
286
  "id-as-value": t.idAsValue,
@@ -295,7 +295,7 @@ function B(e, i, A, j, M, N) {
295
295
  "column",
296
296
  "row",
297
297
  "options"
298
- ])) : (C(), _(m, { key: 2 }, [b(D(N.getVal(n, r, t)), 1)], 64))];
298
+ ])) : (T(), y(g, { key: 2 }, [S(k(N.getVal(n, r, t)), 1)], 64))];
299
299
  })
300
300
  ]),
301
301
  _: 2
@@ -309,13 +309,13 @@ function B(e, i, A, j, M, N) {
309
309
  "options",
310
310
  "show-overflow-tooltip"
311
311
  ]))), 128))]),
312
- g(" 自定义操作列 "),
313
- T(e.$slots, "handle", {
312
+ v(" 自定义操作列 "),
313
+ D(e.$slots, "handle", {
314
314
  add: N.add,
315
315
  remove: N.remove
316
316
  }),
317
- g(" 操作列 "),
318
- (!e.modelValue || e.modelValue.length < e.limit) && !e.disabled && N.enabled && e.editable && e.handleColumn ? (C(), h(Y, {
317
+ v(" 操作列 "),
318
+ (!e.modelValue || e.modelValue.length < e.limit) && !e.disabled && N.enabled && e.editable && e.handleColumn ? (T(), _(Y, {
319
319
  key: 0,
320
320
  label: "操作",
321
321
  fixed: "right",
@@ -323,11 +323,11 @@ function B(e, i, A, j, M, N) {
323
323
  align: "center",
324
324
  prop: "menu"
325
325
  }, {
326
- header: O(({ column: t, $index: n }) => [T(e.$slots, "handle-column-header", {
326
+ header: A(({ column: t, $index: n }) => [D(e.$slots, "handle-column-header", {
327
327
  column: t,
328
328
  index: n
329
- }, () => [b(D(t.label), 1)])]),
330
- default: O(({ row: t, $index: n }) => [e.showHandleColumnAddButton && e.modelValue.length < e.maxLimit ? (C(), _("i", {
329
+ }, () => [S(k(t.label), 1)])]),
330
+ default: A(({ row: t, $index: n }) => [e.showHandleColumnAddButton && e.modelValue.length < e.maxLimit ? (T(), y("i", {
331
331
  key: 0,
332
332
  class: "el-icon-circle-plus sub-table-handle-button table-button-add",
333
333
  style: {
@@ -336,8 +336,8 @@ function B(e, i, A, j, M, N) {
336
336
  cursor: "pointer"
337
337
  },
338
338
  title: "添加",
339
- onClick: k((e) => N.add(t, n), ["stop"])
340
- }, null, 8, z)) : g("v-if", !0), e.modelValue && e.modelValue.length > 1 || e.allowEmpty ? (C(), h(P, {
339
+ onClick: j((e) => N.add(t, n), ["stop"])
340
+ }, null, 8, z)) : v("v-if", !0), e.modelValue && e.modelValue.length > 1 || e.allowEmpty ? (T(), _(P, {
341
341
  key: 1,
342
342
  class: "el-icon-error sub-table-handle-button table-button-remove",
343
343
  style: {
@@ -348,27 +348,27 @@ function B(e, i, A, j, M, N) {
348
348
  confirm: "",
349
349
  text: "",
350
350
  message: "您确定要删除该行吗?",
351
- onClick: k((e) => N.remove(t, n), ["stop"])
352
- }, null, 8, ["onClick"])) : g("v-if", !0)]),
351
+ onClick: j((e) => N.remove(t, n), ["stop"])
352
+ }, null, 8, ["onClick"])) : v("v-if", !0)]),
353
353
  _: 3
354
- })) : g("v-if", !0)
354
+ })) : v("v-if", !0)
355
355
  ]),
356
356
  _: 2
357
357
  }, [e.editable ? void 0 : {
358
358
  name: "toolbar",
359
- fn: O(() => [N.enabled || e.fetchApi ? (C(), _("div", L, [T(e.$slots, "toolbar", {
359
+ fn: A(() => [N.enabled || e.fetchApi ? (T(), y("div", L, [D(e.$slots, "toolbar", {
360
360
  addRow: N.addRow,
361
361
  delRow: N.delRow,
362
362
  refresh: N.refresh
363
- }, () => [N.enabled ? (C(), _(m, { key: 0 }, [x(P, {
363
+ }, () => [N.enabled ? (T(), y(g, { key: 0 }, [C(P, {
364
364
  class: "table-header-button add",
365
365
  icon: "el-icon-circle-plus",
366
366
  type: "text",
367
367
  onClick: N.addRow
368
368
  }, {
369
- default: O(() => [...i[1] || (i[1] = [b(" 添加 ", -1)])]),
369
+ default: A(() => [...i[1] || (i[1] = [S(" 添加 ", -1)])]),
370
370
  _: 1
371
- }, 8, ["onClick"]), x(P, {
371
+ }, 8, ["onClick"]), C(P, {
372
372
  class: "table-header-button remove",
373
373
  confirm: "",
374
374
  message: "您确定要删除选中的记录吗?",
@@ -376,9 +376,9 @@ function B(e, i, A, j, M, N) {
376
376
  text: "",
377
377
  onClick: N.delRow
378
378
  }, {
379
- default: O(() => [...i[2] || (i[2] = [b(" 删除 ", -1)])]),
379
+ default: A(() => [...i[2] || (i[2] = [S(" 删除 ", -1)])]),
380
380
  _: 1
381
- }, 8, ["onClick"])], 64)) : g("v-if", !0), e.fetchApi ? (C(), h(P, {
381
+ }, 8, ["onClick"])], 64)) : v("v-if", !0), e.fetchApi ? (T(), _(P, {
382
382
  key: 1,
383
383
  class: "table-header-button refresh",
384
384
  icon: "el-icon-refresh-left",
@@ -386,20 +386,20 @@ function B(e, i, A, j, M, N) {
386
386
  disabled: !1,
387
387
  onClick: N.refresh
388
388
  }, {
389
- default: O(() => [...i[3] || (i[3] = [b(" 刷新 ", -1)])]),
389
+ default: A(() => [...i[3] || (i[3] = [S(" 刷新 ", -1)])]),
390
390
  _: 1
391
- }, 8, ["onClick"])) : g("v-if", !0)])])) : g("v-if", !0)]),
391
+ }, 8, ["onClick"])) : v("v-if", !0)])])) : v("v-if", !0)]),
392
392
  key: "0"
393
393
  }, e.allowEmpty && !e.disabled && e.showEmptyAddButton ? {
394
394
  name: "empty",
395
- fn: O(() => [v("i", {
395
+ fn: A(() => [b("i", {
396
396
  class: "el-icon-circle-plus sub-table-handle-button table-button-add",
397
397
  style: {
398
398
  "font-size": "20px",
399
399
  cursor: "pointer"
400
400
  },
401
401
  title: "添加",
402
- onClick: i[0] || (i[0] = k((e) => N.add(null, 0), ["stop"]))
402
+ onClick: i[0] || (i[0] = j((e) => N.add(null, 0), ["stop"]))
403
403
  })]),
404
404
  key: "1"
405
405
  } : void 0]), 1040, [
@@ -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/input-number.mjs";
3
3
  import { ElInputNumber as i } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./CjjJimnU.mjs";
2
- import { t } from "./CaczibeD.mjs";
3
- import { i as n, n as r } from "./CQeEP_Tl.mjs";
2
+ import { t } from "./B1MSrc6f.mjs";
3
+ import { i as n, n as r } from "./B1jgu0ci.mjs";
4
4
  import { ElForm as i, ElFormItem as a, ElInput as o, ElOption as s, ElSelect as c, ElSwitch 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,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 { useDictionary as n } from "../hook/useDictionary.mjs";
3
3
  import { allProps as r, predicate as i } from "../props/select.mjs";
4
4
  import { ElOption as a, ElSelect as o } from "element-plus/es";
@@ -1,7 +1,7 @@
1
1
  import { s as e } from "./ClVh1Lek.mjs";
2
2
  import { goBack as t, hasAuthority as n } from "../api/index.mjs";
3
3
  import { toolbarContextKey as r } from "../constants/index.mjs";
4
- import { t as i } from "./BH7VEktl.mjs";
4
+ import { t as i } from "./mnqSaATq.mjs";
5
5
  import { Comment as a, createVNode as o } from "vue";
6
6
  import { NOOP as s, capitalize as c } from "@web-utils/core";
7
7
  //#region src/components/toolbar/Toolbar.vue?vue&type=script&lang.jsx
@@ -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, ElDrawer as a, ElForm as o, ElFormItem as s, ElInput as c, ElOption as l, ElSelect as u, ElTable as d, ElTableColumn as f } 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,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 } 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 } from "./z6tpYT0z.mjs";
6
6
  import { ElButton as l, ElDivider as u, ElDrawer as d, ElForm as f, ElFormItem as p, ElInput as m, ElOption as h, ElSelect as g, ElTable as _, ElTableColumn as v } 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,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/text.mjs";
5
5
  import { ElText as a } from "element-plus/es";
6
6
  import "element-plus/es/components/base/style/css";
@@ -0,0 +1,57 @@
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, normalizeClass as u, normalizeStyle as d, openBlock as f, renderList as p, toDisplayString as m, unref as h, withCtx as g } 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/box/DataBox.vue?vue&type=script&setup=true&lang.ts
8
+ var _ = { class: "data-box" }, v = { class: "item" }, y = [
9
+ "href",
10
+ "target",
11
+ "onClick"
12
+ ], b = { class: "item-info" }, x = { class: "info" }, S = /* @__PURE__ */ l({
13
+ name: "DataBox",
14
+ __name: "DataBox",
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 f(), o("div", _, [c(O, { span: 24 }, {
24
+ default: g(() => [(f(!0), o(r, null, p(h(E), (e, t) => (f(), a(D, {
25
+ key: t,
26
+ md: h(T),
27
+ xs: 24,
28
+ sm: 12
29
+ }, {
30
+ default: g(() => [s("div", v, [s("a", {
31
+ href: e.href,
32
+ target: e.target,
33
+ onClick: (t) => e.click && e.click(e)
34
+ }, [s("div", {
35
+ class: "item-icon",
36
+ style: d({ backgroundColor: e.color })
37
+ }, [s("i", { class: u(e.icon) }, null, 2)], 4), s("div", b, [c(S, {
38
+ animation: e.animation || h(C),
39
+ decimals: e.decimals || h(w),
40
+ style: d({ color: e.color }),
41
+ class: "title",
42
+ end: e.count
43
+ }, null, 8, [
44
+ "animation",
45
+ "decimals",
46
+ "style",
47
+ "end"
48
+ ]), s("div", x, m(e.title), 1)])], 8, y)])]),
49
+ _: 2
50
+ }, 1032, ["md"]))), 128))]),
51
+ _: 1
52
+ })]);
53
+ };
54
+ }
55
+ });
56
+ //#endregion
57
+ export { S as t };
@@ -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, ElForm as r, ElFormItem as i, ElInput as a, ElTable as o, ElTableColumn as s } 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 { t as e } from "./CaczibeD.mjs";
2
- import { t } from "./BH7VEktl.mjs";
1
+ import { t as e } from "./B1MSrc6f.mjs";
2
+ import { t } from "./mnqSaATq.mjs";
3
3
  import { ElInputNumber as n, ElOption as r, ElRadio as i, ElRadioGroup as a, ElSelect as o, ElTabPane as s, ElTabs as c } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
5
5
  import { Fragment as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, openBlock as g, renderList as _, toDisplayString as v, withCtx as y } from "vue";
@@ -0,0 +1,70 @@
1
+ import { n as e, o as t, t as n } from "./Dgwcljur.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, onMounted as l, useModel as u } from "vue";
7
+ import { validatePhoneNum as d } from "@web-utils/core";
8
+ //#region src/utils/form-validate.ts
9
+ var f = (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 p(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 m(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 h = {
23
+ name: "FormInput",
24
+ inheritAttrs: !1,
25
+ props: { ...r },
26
+ emits: { ...e },
27
+ setup(e, { emit: r, slots: m, attrs: h }) {
28
+ let g = u(e, "modelValue"), _ = `请输入正确的${e.label}!`, { render: v, placeholder: y, disabled: b, listeners: x, inputProps: S, printing: C, formItem: w } = t(e, {
29
+ emit: r,
30
+ slots: m,
31
+ attrs: h,
32
+ rules: o(() => {
33
+ if (!e.type || e.type === "textarea") return null;
34
+ let t = {
35
+ message: _,
36
+ trigger: "blur"
37
+ };
38
+ if (e.type === "email") t.validator = f;
39
+ else if (e.type === "idcard") t.validator = p;
40
+ else if (e.type === "phone") t.validator = d;
41
+ else return null;
42
+ return [t];
43
+ }),
44
+ predicate: i
45
+ });
46
+ return l(() => {
47
+ console.log(w.value);
48
+ }), () => v({ vNodes: C.value ? e.modelValue : s(a, c(x.value, S.value, {
49
+ class: ["form-input", {
50
+ "is-readonly": e.readonlyGrey && e.readonly && !e.picker,
51
+ "el-input-cursor-pointer": e.picker && !b.value
52
+ }],
53
+ modelValue: g.value,
54
+ "onUpdate:modelValue": (e) => g.value = e,
55
+ disabled: b.value,
56
+ placeholder: y.value,
57
+ readonly: e.readonly || e.picker,
58
+ "prefix-icon": n({ icon: e.picker ? "el-icon-search" : e.prefixIcon }),
59
+ "suffix-icon": n({ icon: e.suffixIcon })
60
+ }), {
61
+ prefix: m.prefix || e.prefix ? () => e.prefix : null,
62
+ suffix: m.suffix || e.suffix ? () => e.suffix : null,
63
+ "password-icon": m["password-icon"],
64
+ prepend: m.prepend || e.prepend ? () => e.prepend : null,
65
+ append: m.append || e.append ? () => e.append : null
66
+ }) });
67
+ }
68
+ };
69
+ //#endregion
70
+ export { m as n, h as t };