@web-utils/form-ui 1.0.0-beta25 → 1.0.0-beta26

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 (69) hide show
  1. package/awesome-button/index.mjs +49 -2
  2. package/chunks/{BYNkR7-j.mjs → 3QpBKdDM.mjs} +2 -2
  3. package/chunks/{Uhf6MK26.mjs → ADvOhGAW.mjs} +1 -1
  4. package/chunks/{0nMB8MZ0.mjs → BAE_vglg.mjs} +2 -2
  5. package/chunks/{1UkAGJ03.mjs → BJP-5-0v.mjs} +2 -2
  6. package/chunks/{Ckur6g6N.mjs → BPbmq_Fz.mjs} +2 -2
  7. package/chunks/{CjeZ3uKX.mjs → BhmGnR4F.mjs} +6 -6
  8. package/chunks/{DDc6e1uO.mjs → CCc9Zjms.mjs} +3 -3
  9. package/chunks/{DJjmr9R3.mjs → Cme51jl3.mjs} +2 -2
  10. package/chunks/{B2PYq5pM.mjs → CnP5qx9A.mjs} +2 -2
  11. package/chunks/{BM8sdTDJ.mjs → CotIhBXj.mjs} +2 -2
  12. package/chunks/{o7O5_GIP.mjs → D-ffcm89.mjs} +2 -2
  13. package/chunks/{U08ZaDiY.mjs → D1G2MMMx.mjs} +206 -199
  14. package/chunks/{4G13cKOo.mjs → DGYsSu6t.mjs} +2 -2
  15. package/chunks/{CAQ6-w1f.mjs → DJTwM7o_.mjs} +3 -3
  16. package/chunks/{CnVy7Ngb.mjs → DS8NSFKr.mjs} +10 -6
  17. package/chunks/{B8rugxZ0.mjs → DlFC9IZx.mjs} +2 -2
  18. package/chunks/{XKBWlv3M.mjs → Dn79Y_Rb.mjs} +2 -2
  19. package/chunks/{MVhpewST.mjs → DzMQIy5h.mjs} +1 -1
  20. package/chunks/{CtK74qPE.mjs → lVzx0-GH.mjs} +2 -2
  21. package/chunks/{BowPVbJ7.mjs → ltggbLWM.mjs} +2 -2
  22. package/chunks/{DnWeeCd1.mjs → mjEH6tHn.mjs} +1 -1
  23. package/chunks/{DdZcziWU.mjs → o5196FMX.mjs} +3 -3
  24. package/chunks/{Dl5QgkX_.mjs → qRpPD8iK.mjs} +2 -2
  25. package/chunks/{BdD1Rt-7.mjs → tRXOz6_G.mjs} +2 -2
  26. package/confirm-button/index.mjs +1 -1
  27. package/confirmable/index.mjs +1 -1
  28. package/element-dialog/index.mjs +1 -1
  29. package/empty-view/index.mjs +1 -1
  30. package/form-advice/index.mjs +1 -1
  31. package/form-cascader/index.mjs +1 -1
  32. package/form-check-box-group/index.mjs +1 -1
  33. package/form-checkbox/index.mjs +1 -1
  34. package/form-date-picker/index.mjs +1 -1
  35. package/form-holder/index.mjs +1 -1
  36. package/form-image/index.mjs +1 -1
  37. package/form-input/index.mjs +1 -1
  38. package/form-input-cron-expression/index.mjs +1 -1
  39. package/form-input-email/index.mjs +1 -1
  40. package/form-input-id-card/index.mjs +1 -1
  41. package/form-input-number/index.mjs +1 -1
  42. package/form-input-phone-number/index.mjs +1 -1
  43. package/form-item-group/index.mjs +1 -1
  44. package/form-item-x/index.mjs +1 -1
  45. package/form-radio-group/index.mjs +1 -1
  46. package/form-rate/index.mjs +1 -1
  47. package/form-red-table/index.mjs +1 -1
  48. package/form-row/index.mjs +1 -1
  49. package/form-select/index.mjs +1 -1
  50. package/form-slider/index.mjs +1 -1
  51. package/form-switch/index.mjs +1 -1
  52. package/form-text/index.mjs +1 -1
  53. package/helper/dictionary.mjs +1 -1
  54. package/iframe-window/index.mjs +1 -1
  55. package/index.mjs +27 -27
  56. package/package.json +1 -1
  57. package/toolbar/index.mjs +1 -1
  58. package/toolbar-button/index.mjs +1 -1
  59. package/vue-cron/index.mjs +1 -1
  60. package/web-types.json +1 -13047
  61. package/x-input-tag/index.mjs +6 -6
  62. package/year-calendar/index.mjs +1 -1
  63. package/chunks/iIcGTQmB.mjs +0 -50
  64. /package/chunks/{BdHFJ9cK.mjs → BVLgLg_s.mjs} +0 -0
  65. /package/chunks/{DOl--Hf9.mjs → Bgny2wyC.mjs} +0 -0
  66. /package/chunks/{DgL5zblr.mjs → Bm5eiSmT.mjs} +0 -0
  67. /package/chunks/{DETsVUo_.mjs → C9J3j0PX.mjs} +0 -0
  68. /package/chunks/{DJNXk_Cv.mjs → CkFapoKt.mjs} +0 -0
  69. /package/chunks/{eR-FlUht.mjs → pxFLMMUm.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import { t as e } from "../chunks/DJNXk_Cv.mjs";
1
+ import { t as e } from "../chunks/CkFapoKt.mjs";
2
2
  import { isArray as t, isDef as n, isPlainObject as r, scrollIntoView as i } from "@web-utils/core";
3
3
  import { Fragment as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, nextTick as d, normalizeClass as f, openBlock as p, renderList as m, toDisplayString as h, vShow as g, withCtx as _, withDirectives as v, withKeys as y } from "vue";
4
4
  import { ElMessage as b, formContextKey as x, formItemContextKey as S } from "element-plus";
@@ -169,8 +169,8 @@ function P(e, t, n, r, i, d) {
169
169
  }, {
170
170
  default: _(() => [u(h(e.name || e), 1)]),
171
171
  _: 2
172
- }, 1032, ["closable", "onClose"]))), 128)) : d.inputDisabled ? (p(), c("span", A, "无")) : s("", !0),
173
- d.inputDisabled ? s("", !0) : v((p(), o(x, {
172
+ }, 1032, ["closable", "onClose"]))), 128)) : d.inputDisabled ? (p(), c("span", A, "无")) : s("v-if", !0),
173
+ d.inputDisabled ? s("v-if", !0) : v((p(), o(x, {
174
174
  key: 2,
175
175
  ref: "saveTagInput",
176
176
  modelValue: i.inputValue,
@@ -198,8 +198,8 @@ function P(e, t, n, r, i, d) {
198
198
  }, {
199
199
  default: _(() => [...t[3] || (t[3] = [u(" + 添加 ", -1)])]),
200
200
  _: 1
201
- }, 8, ["onClick"])), [[g, d.tags.length < i.maxTag]]) : s("", !0),
202
- n.count ? (p(), c("span", j, h(d.tags.length && d.tags[0] ? d.tags.length : ""), 1)) : s("", !0),
201
+ }, 8, ["onClick"])), [[g, d.tags.length < i.maxTag]]) : s("v-if", !0),
202
+ n.count ? (p(), c("span", j, h(d.tags.length && d.tags[0] ? d.tags.length : ""), 1)) : s("v-if", !0),
203
203
  n.query ? (p(), o(D, {
204
204
  key: 5,
205
205
  ref: "popover",
@@ -218,7 +218,7 @@ function P(e, t, n, r, i, d) {
218
218
  onClick: (t) => d.onDropdownItemClick(e)
219
219
  }, h(e.name || e), 43, N))), 128))], 512)]),
220
220
  _: 1
221
- }, 8, ["virtual-ref"])) : s("", !0)
221
+ }, 8, ["virtual-ref"])) : s("v-if", !0)
222
222
  ]);
223
223
  }
224
224
  var F = /* @__PURE__ */ e(O, [["render", P]]);
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/CnVy7Ngb.mjs";
1
+ import { t as e } from "../chunks/DS8NSFKr.mjs";
2
2
  export { e as default };
@@ -1,50 +0,0 @@
1
- import { isFunction as e } from "@web-utils/core";
2
- import { h as t, ref as n, resolveComponent as r } from "vue";
3
- //#endregion
4
- //#region src/components/button/AwesomeButton.vue
5
- var i = {
6
- name: "AwesomeButton",
7
- inheritAttrs: !1,
8
- props: {
9
- type: {
10
- type: String,
11
- default: "primary"
12
- },
13
- size: String,
14
- icon: {
15
- type: String,
16
- default: ""
17
- },
18
- nativeType: {
19
- type: String,
20
- default: "button"
21
- },
22
- loading: Boolean,
23
- disabled: Boolean,
24
- plain: Boolean,
25
- autofocus: Boolean,
26
- round: Boolean,
27
- text: {
28
- type: String,
29
- default: ""
30
- }
31
- },
32
- setup(i, { attrs: a, slots: o }) {
33
- let s = r("ElButton"), { text: c, ...l } = i, { onClick: u, ...d } = a, f = n(!1), p = async (t) => {
34
- if (f.value = !0, e(u)) try {
35
- await u(t);
36
- } catch (e) {
37
- console.error(e);
38
- }
39
- f.value = !1;
40
- };
41
- return () => t(s, {
42
- ...d,
43
- ...l,
44
- disabled: f.value,
45
- onClick: p
46
- }, { default: o.default || (() => c) });
47
- }
48
- };
49
- //#endregion
50
- export { i as t };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes