@web-utils/form-ui 1.0.0-beta52 → 1.0.0-beta53

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 (76) hide show
  1. package/chunks/{Dt3lfDnL.mjs → 7GmKqdbC.mjs} +48 -33
  2. package/chunks/{DitpKWMd.mjs → 9MExJqL-.mjs} +2 -2
  3. package/chunks/{DZJ-ShZA2.mjs → B3yVc-P62.mjs} +4 -4
  4. package/chunks/{DkXlFWjs.mjs → B6yWUT6z.mjs} +2 -2
  5. package/chunks/{CkjtCuMs.mjs → BEvOkSfB.mjs} +119 -118
  6. package/chunks/{D3mFJzGr.mjs → BHbMJZPp.mjs} +63 -62
  7. package/chunks/{BSU2FqMP2.mjs → BJYlobMz2.mjs} +2 -2
  8. package/chunks/{KuAMIZnG.mjs → BNXbI4OG.mjs} +1 -1
  9. package/chunks/{CzHaJsnD.mjs → BV-XUugQ.mjs} +3 -3
  10. package/chunks/{DcFllKOf2.mjs → BgTCTXs72.mjs} +4 -3
  11. package/chunks/{BshE3RnA.mjs → BjGlxyi6.mjs} +2 -2
  12. package/chunks/{BAw6wxW1.mjs → BqC_VU52.mjs} +2 -2
  13. package/chunks/{B1k8ydde.mjs → BqzJ6vY6.mjs} +2 -2
  14. package/chunks/{DhVmHzB7.mjs → ByTyNsWf.mjs} +1 -1
  15. package/chunks/{DVbw6xIr.mjs → CB9QUXUX.mjs} +2 -2
  16. package/chunks/{GMFHxPJq.mjs → CGuDBVCB.mjs} +4 -3
  17. package/chunks/{C7G-cAoI.mjs → CPvdsnRN.mjs} +1 -1
  18. package/chunks/{D2MB3CnR.mjs → CgN7m-1v.mjs} +4 -3
  19. package/chunks/{CtHmTtVP.mjs → D5EQJdPL.mjs} +3 -3
  20. package/chunks/{CGHcOyNC2.mjs → D7R9Or2m2.mjs} +3 -3
  21. package/chunks/D9IFsT272.mjs +513 -0
  22. package/chunks/{C6hLXCPk.mjs → DFFNxlqD.mjs} +3 -3
  23. package/chunks/{BWh6u1O0.mjs → DWMePN6q.mjs} +1 -1
  24. package/chunks/{CBFbSsTJ.mjs → DawYTjoT.mjs} +2 -2
  25. package/chunks/{JKFepPeL.mjs → DjnHvHXo.mjs} +2 -2
  26. package/chunks/{v-O82KSn.mjs → DwkOWXIR.mjs} +4 -4
  27. package/chunks/{BQyL45PF2.mjs → DyCO22Ia2.mjs} +1 -1
  28. package/chunks/{B75qfA0z.mjs → Dytof5EW.mjs} +2 -2
  29. package/chunks/{eBESsR-G.mjs → H70Z56YY.mjs} +9 -3
  30. package/chunks/{CVKPpQdS.mjs → XwerN1TU.mjs} +2 -2
  31. package/chunks/{BXVB-H8_.mjs → c0Niqotr.mjs} +2 -2
  32. package/chunks/{C2zgFLYO.mjs → oVFbZ6yk.mjs} +30 -30
  33. package/chunks/{DLgFBI_X.mjs → z5FJgzdc.mjs} +4 -3
  34. package/constants/index.d.ts +1 -0
  35. package/editable-tree/index.mjs +1 -1
  36. package/form-cascader/index.mjs +1 -1
  37. package/form-checkbox/index.d.ts +2 -2
  38. package/form-checkbox/index.mjs +1 -1
  39. package/form-checkbox-group/index.mjs +1 -1
  40. package/form-date-picker/index.mjs +1 -1
  41. package/form-holder/index.mjs +1 -1
  42. package/form-image/index.mjs +1 -1
  43. package/form-input/index.mjs +1 -1
  44. package/form-input-cron-expression/index.mjs +1 -1
  45. package/form-input-email/index.mjs +1 -1
  46. package/form-input-id-card/index.mjs +1 -1
  47. package/form-input-number/index.mjs +1 -1
  48. package/form-input-phone-number/index.mjs +1 -1
  49. package/form-input-tag/index.mjs +1 -1
  50. package/form-input-time/index.mjs +1 -1
  51. package/form-item-x/index.mjs +1 -1
  52. package/form-item-x/style.css +1 -1
  53. package/form-radio-group/index.mjs +1 -1
  54. package/form-rate/index.mjs +1 -1
  55. package/form-select/index.mjs +1 -1
  56. package/form-slider/index.mjs +1 -1
  57. package/form-switch/index.mjs +1 -1
  58. package/form-table/index.mjs +1 -1
  59. package/form-table-plus/index.mjs +1 -1
  60. package/form-text/index.mjs +1 -1
  61. package/form-textarea/index.mjs +1 -1
  62. package/form-time-select/index.mjs +1 -1
  63. package/index.css +1 -1
  64. package/index.mjs +33 -33
  65. package/package.json +1 -1
  66. package/pageable-table/index.mjs +1 -1
  67. package/sub-table/index.mjs +1 -1
  68. package/sub-table-plus/index.mjs +1 -1
  69. package/table-view/index.mjs +5 -5
  70. package/toolbar/index.mjs +1 -1
  71. package/toolbar-button/index.mjs +1 -1
  72. package/toolbar-button/style.css +1 -0
  73. package/vue-cron/index.mjs +1 -1
  74. package/web-types.json +1 -1
  75. package/x-input-tag/index.mjs +1 -1
  76. package/chunks/CjRZ71IY2.mjs +0 -512
@@ -1,11 +1,11 @@
1
1
  import { f as e, o as t, p as n } from "./DcTVYqeJ.mjs";
2
- import { formHolderContextKey as r, formItemConfigProviderContextKey as i, formItemGroupContextKey as a } from "../constants/index.mjs";
3
- import { isArray as o, isPlainObject as s, isString as c } from "@web-utils/core";
4
- import { computed as l, createVNode as u, h as d, inject as f, mergeProps as p, nextTick as m, unref as h, useTemplateRef as g } from "vue";
5
- import { ElCol as _, rowContextKey as v } from "element-plus";
6
- import { ElCol as y, ElFormItem as b, ElTooltip as x } from "element-plus/es";
2
+ import { formHolderContextKey as r, formItemConfigProviderContextKey as i, formItemGroupContextKey as a, formViewContextKey as o } from "../constants/index.mjs";
3
+ import { isArray as s, isPlainObject as c, isString as l } from "@web-utils/core";
4
+ import { computed as u, createVNode as d, h as f, inject as p, mergeProps as m, nextTick as h, unref as g, useTemplateRef as _ } from "vue";
5
+ import { ElCol as v, rowContextKey as y } from "element-plus";
6
+ import { ElCol as b, ElFormItem as x, ElTooltip as S } from "element-plus/es";
7
7
  //#region src/components/form/props/form-item.ts
8
- var S = {
8
+ var C = {
9
9
  prop: [String, Array],
10
10
  label: String,
11
11
  labelPosition: {
@@ -54,7 +54,7 @@ var S = {
54
54
  inputColspan: [Number, String],
55
55
  labelRowspan: [Number, String],
56
56
  inputRowspan: [Number, String]
57
- }, C = {
57
+ }, w = {
58
58
  required: !0,
59
59
  rules: !0,
60
60
  messagePrefix: !0,
@@ -72,7 +72,7 @@ var S = {
72
72
  inputColspan: !0,
73
73
  labelRowspan: !0,
74
74
  inputRowspan: !0
75
- }, w = (e) => S[e] !== void 0 && C[e] !== !0, T = (e, { emit: n, events: r, predicate: i }) => l(() => t(e, i, r, n)), E = {
75
+ }, T = (e) => C[e] !== void 0 && w[e] !== !0, E = (e, { emit: n, events: r, predicate: i }) => u(() => t(e, i, r, n)), D = {
76
76
  span: {
77
77
  type: Number,
78
78
  default: 12
@@ -98,34 +98,34 @@ var S = {
98
98
  type: String,
99
99
  default: "div"
100
100
  }
101
- }, D = { span: !0 }, O = (e) => E[e] !== void 0 && D[e] !== !0, k = (e, { emit: n, events: r, predicate: i }) => l(() => t(e, i, r, n)), A = (e) => {
102
- let t = f(r, null);
103
- return l(() => e.required === !0 ? !0 : (t == null ? void 0 : t.requiredFieldsMap[e.prop]) === !0);
104
- }, j = (e, t) => {
105
- c(t) ? e.push(t) : o(t) ? e.push(...t) : s(t) && e.push(t);
106
- }, M = (e, { rules: t, attrs: n, block: r, class: i, messagePrefix: a, message: o } = {}) => {
107
- let s = A(e);
108
- return l(() => {
109
- let c = { message: o }, l = h(t);
101
+ }, O = { span: !0 }, k = (e) => D[e] !== void 0 && O[e] !== !0, A = (e, { emit: n, events: r, predicate: i }) => u(() => t(e, i, r, n)), j = (e) => {
102
+ let t = p(r, null);
103
+ return u(() => e.required === !0 ? !0 : (t == null ? void 0 : t.requiredFieldsMap[e.prop]) === !0);
104
+ }, M = (e, t) => {
105
+ l(t) ? e.push(t) : s(t) ? e.push(...t) : c(t) && e.push(t);
106
+ }, N = (e, { rules: t, attrs: n, block: r, class: i, messagePrefix: a, message: o } = {}) => {
107
+ let s = j(e);
108
+ return u(() => {
109
+ let c = { message: o }, l = g(t);
110
110
  Object.keys({
111
- ...S,
112
- ...E
111
+ ...C,
112
+ ...D
113
113
  }).forEach((t) => {
114
114
  t === "rules" ? e[t] && l ? c[t] = [...e[t], ...l] : e[t] ? c[t] = e[t] : l && (c[t] = l) : t === "messagePrefix" ? c[t] = e.messagePrefix || a : t === "block" ? c[t] = r ?? e.block : c[t] = e[t];
115
115
  });
116
116
  let u = [];
117
- return j(u, h(n == null ? void 0 : n.class)), j(u, h(i)), c.required = s.value, c.class = u, c.style = n == null ? void 0 : n.style, c;
117
+ return M(u, g(n == null ? void 0 : n.class)), M(u, g(i)), c.required = s.value, c.class = u, c.style = n == null ? void 0 : n.style, c;
118
118
  });
119
- }, N = {
119
+ }, P = {
120
120
  name: "FormItemX",
121
121
  inheritAttrs: !1,
122
122
  props: {
123
- ...S,
124
- ...E
123
+ ...C,
124
+ ...D
125
125
  },
126
126
  setup(e, { attrs: t, slots: n, expose: a }) {
127
- let o = f(v, null), s = f(i, null), c = f(r, null), d = t.embed ? l(() => t.disabled) : F(e), h = T(e, { predicate: w }), _ = k(e, { predicate: O }), S = l(() => (s == null ? void 0 : s.reactive) === !0 && s.block === !1 && e.fixedSpan === void 0 && !e.half), C = A(e), E = g("formItem"), D = l(() => (s == null ? void 0 : s.wrapCol) === !1 ? !1 : !!o && e.wrapCol), j = l(() => c != null && c.tableForm ? "" : s != null && s.block ? "100%" : e.half && D.value ? `calc(50% - ${o.gutter.value / 2}px)` : ""), M = l(() => (s == null ? void 0 : s.block) === !0 || e.block || e.half ? 24 : e.span), N = l(() => {
128
- if (d.value) return [];
127
+ let o = p(y, null), s = p(i, null), c = p(r, null), l = t.embed ? u(() => t.disabled) : I(e), f = E(e, { predicate: T }), g = A(e, { predicate: k }), v = u(() => (s == null ? void 0 : s.reactive) === !0 && s.block === !1 && e.fixedSpan === void 0 && !e.half), C = j(e), w = _("formItem"), D = u(() => (s == null ? void 0 : s.wrapCol) === !1 ? !1 : !!o && e.wrapCol), O = u(() => c != null && c.tableForm ? "" : s != null && s.block ? "100%" : e.half && D.value ? `calc(50% - ${o.gutter.value / 2}px)` : ""), M = u(() => (s == null ? void 0 : s.block) === !0 || e.block || e.half ? 24 : e.span), N = u(() => {
128
+ if (l.value) return [];
129
129
  if (C.value) {
130
130
  let t = {
131
131
  required: !0,
@@ -138,31 +138,31 @@ var S = {
138
138
  return a({
139
139
  clearValidate: async () => {
140
140
  var e;
141
- await m(), (e = E.value) == null || e.clearValidate();
141
+ await h(), (e = w.value) == null || e.clearValidate();
142
142
  },
143
143
  validate: async () => {
144
144
  var e;
145
- await m(), (e = E.value) == null || e.validate();
145
+ await h(), (e = w.value) == null || e.validate();
146
146
  }
147
147
  }), () => {
148
148
  var r;
149
- let i = n.tips || e.tips, a = i ? u(x, {
149
+ let i = n.tips || e.tips, a = i ? d(S, {
150
150
  effect: "light",
151
151
  content: e.tips,
152
152
  offset: 4
153
153
  }, {
154
- default: () => u("i", { class: "el-icon-info form-item-input-info" }, null),
154
+ default: () => d("i", { class: "el-icon-info form-item-input-info" }, null),
155
155
  content: n.tips ? n.tips : null
156
- }) : null, o = u(b, p(h.value, t, {
156
+ }) : null, o = d(x, m(f.value, t, {
157
157
  ref: "formItem",
158
- style: { width: j.value },
158
+ style: { width: O.value },
159
159
  class: [
160
160
  "form-item",
161
161
  e.formItemClass,
162
162
  {
163
163
  "form-item-hide-label": e.hideLabel,
164
164
  "with-tips": !e.tipsAfterLabel && i,
165
- required: d.value === !1 && C.value
165
+ required: l.value === !1 && C.value
166
166
  }
167
167
  ],
168
168
  rules: N.value
@@ -171,13 +171,13 @@ var S = {
171
171
  default: () => {
172
172
  var t;
173
173
  return [(t = n.default) == null ? void 0 : t.call(n, {
174
- disabled: d.value,
174
+ disabled: l.value,
175
175
  required: C.value
176
176
  }), i && !e.tipsAfterLabel ? a : null];
177
177
  },
178
178
  label: () => [n.label ? n.label() : e.label, e.tipsAfterLabel ? a : null]
179
179
  }), s = [o, (r = n.below) == null ? void 0 : r.call(n)];
180
- return e.unwrap ? s : D.value ? u(y, p(_.value, S.value ? {
180
+ return e.unwrap ? s : D.value ? d(b, m(g.value, v.value ? {
181
181
  xs: 24,
182
182
  sm: 12,
183
183
  md: 12,
@@ -186,9 +186,9 @@ var S = {
186
186
  } : {}, { span: M.value }), { default: () => s }) : o;
187
187
  };
188
188
  }
189
- }, P = "update:modelValue", F = (e) => {
190
- let t = f(r, null), n = f(a, null);
191
- return l(() => {
189
+ }, F = "update:modelValue", I = (e) => {
190
+ let t = p(r, null), n = p(a, null);
191
+ return u(() => {
192
192
  if (e.disabled !== void 0) return e.disabled;
193
193
  if (t) {
194
194
  if (t.requiredFieldsMap[e.prop] === !0 || t.enabledFieldsMap[e.prop] === !0) return !1;
@@ -196,7 +196,7 @@ var S = {
196
196
  }
197
197
  return (n == null ? void 0 : n.enabled) === !0 ? !1 : (n == null ? void 0 : n.disabled) === !0 ? !0 : (t == null ? void 0 : t.disabled) === !0;
198
198
  });
199
- }, I = { [P]: null }, L = (e, t) => e(P, t), R = (e, { vNodes: t, formItemProps: n, slots: r, disabled: i }) => e.wrapFormItem ? d(N, {
199
+ }, L = { [F]: null }, R = (e, t) => e(F, t), z = (e, { vNodes: t, formItemProps: n, slots: r, disabled: i }) => e.wrapFormItem ? f(P, {
200
200
  ...n.value,
201
201
  embed: !0,
202
202
  disabled: i == null ? void 0 : i.value
@@ -206,31 +206,32 @@ var S = {
206
206
  error: r.error,
207
207
  tips: r.tips,
208
208
  below: r.below
209
- }) : t, z = (r, { emit: i, slots: a, events: o, predicate: s, removeOn: c = !1, attrs: u, block: f, class: p, rules: m, messagePrefix: h = "请输入", extraFormItemProps: g }) => {
210
- let v = F(r), y = l(() => v.value ? "" : `${h}${r.label}`), b = M(r, {
211
- rules: m,
212
- block: f === void 0 ? r.type === "textarea" && r.block === void 0 ? !0 : r.block : f,
213
- attrs: u,
214
- class: p,
215
- message: y.value,
216
- messagePrefix: h,
217
- ...g
218
- }), x = (e) => L(i, e), S = (e) => r.col ? d(_, { span: r.block ? 24 : r.span }, { default: () => e }) : e, C = ({ vNodes: e }) => R(r, {
219
- vNodes: S(e),
220
- formItemProps: b,
209
+ }) : t, B = (r, { emit: i, slots: a, events: s, predicate: c, removeOn: l = !1, attrs: d, block: m, class: h, rules: g, messagePrefix: _ = "请输入", extraFormItemProps: y }) => {
210
+ let b = I(r), x = p(o, null), S = u(() => b.value ? "" : `${_}${r.label}`), C = N(r, {
211
+ rules: g,
212
+ block: m === void 0 ? r.type === "textarea" && r.block === void 0 ? !0 : r.block : m,
213
+ attrs: d,
214
+ class: h,
215
+ message: S.value,
216
+ messagePrefix: _,
217
+ ...y
218
+ }), w = (e) => R(i, e), T = (e) => r.col ? f(v, { span: r.block ? 24 : r.span }, { default: () => e }) : e, E = ({ vNodes: e }) => z(r, {
219
+ vNodes: T(e),
220
+ formItemProps: C,
221
221
  slots: a,
222
- disabled: v
223
- }), w = l(() => t(r, s, o, i)), T = n({ removeOn: c });
222
+ disabled: b
223
+ }), D = u(() => t(r, c, s, i)), O = n({ removeOn: l });
224
224
  return {
225
- emitInput: x,
226
- render: C,
227
- placeholder: y,
228
- disabled: v,
229
- formItemProps: b,
230
- autoBind: w,
231
- inputProps: e(r, s),
232
- listeners: T
225
+ emitInput: w,
226
+ render: E,
227
+ placeholder: S,
228
+ disabled: b,
229
+ formItemProps: C,
230
+ autoBind: D,
231
+ inputProps: e(r, c),
232
+ listeners: O,
233
+ printing: u(() => (x == null ? void 0 : x.printing) === !0)
233
234
  };
234
- }, B = (e) => e.icon ? d("i", { class: e.icon }) : null;
235
+ }, V = (e) => e.icon ? f("i", { class: e.icon }) : null;
235
236
  //#endregion
236
- export { N as a, S as c, z as i, I as n, M as o, R as r, E as s, B as t };
237
+ export { P as a, C as c, B as i, L as n, N as o, z as r, D as s, V as t };
@@ -1,6 +1,6 @@
1
1
  import { f as e } from "./DcTVYqeJ.mjs";
2
- import { o as t, r as n } from "./D3mFJzGr.mjs";
3
- import { n as r } from "./KuAMIZnG.mjs";
2
+ import { o as t, r as n } from "./BHbMJZPp.mjs";
3
+ import { n as r } from "./BNXbI4OG.mjs";
4
4
  import { createVNode as i, mergeProps as a } from "vue";
5
5
  import { ElText as o } from "element-plus/es";
6
6
  //#region src/components/form/props/text.ts
@@ -1,4 +1,4 @@
1
- import { c as e, s as t } from "./D3mFJzGr.mjs";
1
+ import { c as e, s as t } from "./BHbMJZPp.mjs";
2
2
  //#region src/components/form/props/common.ts
3
3
  var n = {
4
4
  ...e,
@@ -1,7 +1,7 @@
1
- import { i as e, n as t } from "./D3mFJzGr.mjs";
2
- import { n } from "./KuAMIZnG.mjs";
1
+ import { i as e, n as t } from "./BHbMJZPp.mjs";
2
+ import { n } from "./BNXbI4OG.mjs";
3
3
  import { useDictionary as r } from "../hook/useDictionary.mjs";
4
- import { t as i } from "./v-O82KSn.mjs";
4
+ import { t as i } from "./DwkOWXIR.mjs";
5
5
  import { computed as a, createVNode as o, defineComponent as s, isVNode as c, mergeProps as l, useModel as u } from "vue";
6
6
  import { ElCheckbox as d, ElCheckboxButton as f, ElCheckboxGroup as p } from "element-plus/es";
7
7
  //#region src/components/form/props/checkbox-group.ts
@@ -1,5 +1,5 @@
1
- import { i as e, n as t } from "./D3mFJzGr.mjs";
2
- import { n, t as r } from "./KuAMIZnG.mjs";
1
+ import { i as e, n as t } from "./BHbMJZPp.mjs";
2
+ import { n, t as r } from "./BNXbI4OG.mjs";
3
3
  import { createVNode as i, mergeProps as a } from "vue";
4
4
  import { ElTimeSelect as o } from "element-plus/es";
5
5
  //#region src/components/form/props/time-select.ts
@@ -63,7 +63,8 @@ var s = {
63
63
  popperStyle: [String, Object]
64
64
  }, c = {
65
65
  disabled: !0,
66
- modelValue: !0
66
+ modelValue: !0,
67
+ valueOnClear: !0
67
68
  }, l = (e) => n[e] === void 0 && c[e] !== !0, u = {
68
69
  name: "FormTimeSelect",
69
70
  inheritAttrs: !1,
@@ -1,5 +1,5 @@
1
- import { i as e, n as t } from "./D3mFJzGr.mjs";
2
- import { n } from "./KuAMIZnG.mjs";
1
+ import { i as e, n as t } from "./BHbMJZPp.mjs";
2
+ import { n } from "./BNXbI4OG.mjs";
3
3
  import { useDictionary as r } from "../hook/useDictionary.mjs";
4
4
  import { isNumber as i, isPlainObject as a, isString as o } from "@web-utils/core";
5
5
  import { computed as s, createVNode as c, mergeProps as l, ref as u, watchEffect as d } from "vue";
@@ -1,5 +1,5 @@
1
- import { i as e, n as t } from "./D3mFJzGr.mjs";
2
- import { n } from "./KuAMIZnG.mjs";
1
+ import { i as e, n as t } from "./BHbMJZPp.mjs";
2
+ import { n } from "./BNXbI4OG.mjs";
3
3
  import { createVNode as r, mergeProps as i, useModel as a } from "vue";
4
4
  import { ElSlider as o } from "element-plus/es";
5
5
  //#region src/components/form/props/slide.ts
@@ -1,5 +1,5 @@
1
- import { n as e } from "./D3mFJzGr.mjs";
2
- import { n as t, t as n } from "./v-O82KSn.mjs";
1
+ import { n as e } from "./BHbMJZPp.mjs";
2
+ import { n as t, t as n } from "./DwkOWXIR.mjs";
3
3
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
4
4
  //#region src/components/form/FormInputEmail.vue?vue&type=script&lang.jsx
5
5
  function s(e) {
@@ -1,7 +1,7 @@
1
1
  import { d as e, f as t, n, r } from "./DcTVYqeJ.mjs";
2
2
  import { getDictLabel as i } from "../helper/dictionary.mjs";
3
3
  import { cellClickHandlerContextKey as a, pageableTableContextKey as o } from "../constants/index.mjs";
4
- import { t as s } from "./Dt3lfDnL.mjs";
4
+ import { t as s } from "./7GmKqdbC.mjs";
5
5
  import c from "../element-resize-observer/index.mjs";
6
6
  import { t as l } from "./XoImEoke.mjs";
7
7
  import { t as u } from "./CGDnQr1c.mjs";
@@ -1,5 +1,5 @@
1
- import { i as e, n as t } from "./D3mFJzGr.mjs";
2
- import { n } from "./KuAMIZnG.mjs";
1
+ import { i as e, n as t } from "./BHbMJZPp.mjs";
2
+ import { n } from "./BNXbI4OG.mjs";
3
3
  import { createVNode as r, mergeProps as i, useModel as a } from "vue";
4
4
  import { ElSwitch as o } from "element-plus/es";
5
5
  //#region src/components/form/props/switch.ts
@@ -1,5 +1,5 @@
1
- import { i as e, n as t } from "./D3mFJzGr.mjs";
2
- import { n, t as r } from "./KuAMIZnG.mjs";
1
+ import { i as e, n as t } from "./BHbMJZPp.mjs";
2
+ import { n, t as r } from "./BNXbI4OG.mjs";
3
3
  import { createVNode as i, mergeProps as a } from "vue";
4
4
  import { ElTimePicker as o } from "element-plus/es";
5
5
  //#region src/components/form/props/time.ts
@@ -134,7 +134,8 @@ var s = {
134
134
  step: !0,
135
135
  minTime: !0,
136
136
  maxTime: !0,
137
- selectableRange: !0
137
+ selectableRange: !0,
138
+ valueOnClear: !0
138
139
  }, l = (e) => n[e] === void 0 && c[e] !== !0, u = {
139
140
  name: "FormInputTime",
140
141
  inheritAttrs: !1,
@@ -1,4 +1,4 @@
1
- import { t as e } from "./Dt3lfDnL.mjs";
1
+ import { t as e } from "./7GmKqdbC.mjs";
2
2
  import { t } from "./CkOD-_VV.mjs";
3
3
  import { copy as n } from "@web-utils/core";
4
4
  import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, openBlock as u, renderList as d, toDisplayString as f, withCtx as p } from "vue";
@@ -1,5 +1,5 @@
1
- import { i as e, n as t } from "./D3mFJzGr.mjs";
2
- import { n, t as r } from "./KuAMIZnG.mjs";
1
+ import { i as e, n as t } from "./BHbMJZPp.mjs";
2
+ import { n, t as r } from "./BNXbI4OG.mjs";
3
3
  import { useDictionary as i } from "../hook/useDictionary.mjs";
4
4
  import { findTreeChildren as a, isArray as o, isString as s, setParent as c } from "@web-utils/core";
5
5
  import { computed as l, createVNode as u, mergeProps as d } from "vue";
@@ -144,7 +144,8 @@ var m = {
144
144
  modelValue: !0,
145
145
  readonly: !0,
146
146
  disabled: !0,
147
- props: !0
147
+ props: !0,
148
+ valueOnClear: !0
148
149
  }, g = (e) => n[e] === void 0 && h[e] !== !0, _ = {
149
150
  name: "FormCascader",
150
151
  props: { ...m },
@@ -1,6 +1,6 @@
1
- import { i as e, n as t } from "./D3mFJzGr.mjs";
2
- import { n, t as r } from "./KuAMIZnG.mjs";
3
- import { t as i } from "./C7G-cAoI.mjs";
1
+ import { i as e, n as t } from "./BHbMJZPp.mjs";
2
+ import { n, t as r } from "./BNXbI4OG.mjs";
3
+ import { t as i } from "./CPvdsnRN.mjs";
4
4
  import { createVNode as a, mergeProps as o, ref as s } from "vue";
5
5
  import { ElInput as c, ElPopover as l } from "element-plus/es";
6
6
  //#region src/components/form/props/input-cron.ts
@@ -1,6 +1,6 @@
1
- import { i as e, n as t } from "./D3mFJzGr.mjs";
2
- import { n, t as r } from "./KuAMIZnG.mjs";
3
- import { n as i, t as a } from "./CkjtCuMs.mjs";
1
+ import { i as e, n as t } from "./BHbMJZPp.mjs";
2
+ import { n, t as r } from "./BNXbI4OG.mjs";
3
+ import { n as i, t as a } from "./BEvOkSfB.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 = {