vft 0.0.328 → 0.0.331

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 (44) hide show
  1. package/dist/index.css +1 -1
  2. package/es/components/button/index.d.ts +9 -9
  3. package/es/components/form/form-item.vue.d.ts +1 -1
  4. package/es/components/form/index.d.ts +30 -30
  5. package/es/components/popconfirm/index.d.ts +15 -15
  6. package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
  7. package/es/components/steps/index.d.ts +27 -8
  8. package/es/components/steps/item.vue.d.ts +8 -14
  9. package/es/components/steps/item.vue2.js +122 -86
  10. package/es/components/steps/steps.vue.d.ts +3 -0
  11. package/es/components/steps/steps.vue2.js +24 -19
  12. package/es/components/steps/style/css.d.ts +1 -0
  13. package/es/components/steps/style/css.js +1 -0
  14. package/es/components/steps/style/index.d.ts +1 -0
  15. package/es/components/steps/style/index.js +1 -0
  16. package/es/components/steps/tokens.d.ts +1 -0
  17. package/es/components/steps/tokens.js +4 -0
  18. package/es/components/steps/types.d.ts +3 -1
  19. package/es/package.json.d.ts +1 -1
  20. package/es/package.json.js +1 -1
  21. package/lib/components/button/index.d.ts +9 -9
  22. package/lib/components/form/form-item.vue.d.ts +1 -1
  23. package/lib/components/form/index.d.ts +30 -30
  24. package/lib/components/popconfirm/index.d.ts +15 -15
  25. package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
  26. package/lib/components/steps/index.d.ts +27 -8
  27. package/lib/components/steps/item.vue.d.ts +8 -14
  28. package/lib/components/steps/item.vue2.cjs +1 -1
  29. package/lib/components/steps/steps.vue.d.ts +3 -0
  30. package/lib/components/steps/steps.vue2.cjs +1 -1
  31. package/lib/components/steps/style/css.cjs +1 -1
  32. package/lib/components/steps/style/css.d.ts +1 -0
  33. package/lib/components/steps/style/index.cjs +1 -1
  34. package/lib/components/steps/style/index.d.ts +1 -0
  35. package/lib/components/steps/tokens.cjs +1 -0
  36. package/lib/components/steps/tokens.d.ts +1 -0
  37. package/lib/components/steps/types.d.ts +3 -1
  38. package/lib/package.json.cjs +1 -1
  39. package/lib/package.json.d.ts +1 -1
  40. package/package.json +3 -3
  41. package/theme-style/index.css +1 -1
  42. package/theme-style/src/step.scss +61 -9
  43. package/theme-style/vft-step.css +1 -1
  44. package/web-types.json +1 -1
@@ -1,136 +1,172 @@
1
- import { defineComponent as z, ref as k, inject as q, getCurrentInstance as A, onMounted as F, watch as G, onBeforeUnmount as H, reactive as J, computed as r, createElementBlock as d, openBlock as i, normalizeClass as a, normalizeStyle as D, createElementVNode as m, unref as s, createCommentVNode as W, renderSlot as C, createBlock as f, withCtx as O, resolveDynamicComponent as Q, toDisplayString as $, createTextVNode as x } from "vue";
1
+ import { defineComponent as D, ref as w, inject as Y, getCurrentInstance as q, onMounted as F, watch as G, computed as n, reactive as H, onBeforeUnmount as Q, createElementBlock as a, openBlock as i, normalizeClass as l, normalizeStyle as z, createCommentVNode as S, createElementVNode as d, unref as t, renderSlot as p, createTextVNode as k, toDisplayString as y, createBlock as N, mergeProps as R } from "vue";
2
+ import { VftIcon as V } from "../icon/index.js";
2
3
  import "@vueuse/core";
3
- import { isNumber as R } from "@vft/utils";
4
+ import { singleAttrToObj as X, isNumber as Z } from "@vft/utils";
4
5
  import "../config-provider/hooks/use-global-config.js";
5
6
  import "lodash-es";
6
- import { useNamespace as X } from "../../hooks/use-namespace/index.js";
7
+ import { useNamespace as _ } from "../../hooks/use-namespace/index.js";
7
8
  import "../../hooks/use-model-toggle/index.js";
8
9
  import "@popperjs/core";
9
10
  import "../../hooks/use-z-index/index.js";
10
- import { VftIcon as g } from "../icon/index.js";
11
- const Y = z({
11
+ import { STEPS_INJECTION_KEY as x } from "./tokens.js";
12
+ const ee = D({
12
13
  name: "VftStep"
13
- }), oe = /* @__PURE__ */ z({
14
- ...Y,
14
+ }), ve = /* @__PURE__ */ D({
15
+ ...ee,
15
16
  props: {
16
17
  title: {},
17
18
  icon: {},
18
19
  description: {},
19
20
  status: {}
20
21
  },
21
- setup(E) {
22
- const P = E, t = X("step"), l = k(-1), w = k({}), p = k(""), n = q("VftSteps"), V = A();
22
+ setup(K) {
23
+ const I = K, e = _("step"), c = w(-1), B = w({}), m = w(""), o = Y(x), $ = q();
23
24
  F(() => {
24
25
  G(
25
26
  [
26
- () => n.props.active,
27
- () => n.props.processStatus,
28
- () => n.props.finishStatus
27
+ () => o.props.active,
28
+ () => o.props.processStatus,
29
+ () => o.props.finishStatus
29
30
  ],
30
- ([e]) => {
31
- U(e);
31
+ ([s]) => {
32
+ U(s);
32
33
  },
33
34
  { immediate: !0 }
34
35
  );
35
- }), H(() => {
36
- n.removeStep(I.uid);
37
36
  });
38
- const u = r(() => P.status || p.value), j = r(() => {
39
- const e = n.steps.value[l.value - 1];
40
- return e ? e.currentStatus : "wait";
41
- }), S = r(() => n.props.alignCenter), B = r(() => n.props.direction === "vertical"), o = r(() => n.props.simple), y = r(() => n.steps.value.length), N = r(() => n.steps.value[y.value - 1]?.uid === V?.uid), v = r(() => o.value ? "" : n.props.space), K = r(() => [
42
- t.b(),
43
- t.is(o.value ? "simple" : n.props.direction),
44
- t.is("flex", N.value && !v.value && !S.value),
45
- t.is("center", S.value && !B.value && !o.value)
46
- ]), L = r(() => {
47
- const e = {
48
- flexBasis: R(v.value) ? `${v.value}px` : v.value ? v.value : `${100 / (y.value - (S.value ? 0 : 1))}%`
37
+ const E = n(
38
+ () => X(I.icon, "icon")
39
+ ), r = n(() => I.status || m.value), O = n(() => {
40
+ const s = o.steps.value[c.value - 1];
41
+ return s ? s.currentStatus : "wait";
42
+ }), h = n(() => o.props.alignCenter), P = n(() => o.props.direction === "vertical"), u = n(() => o.props.simple), g = n(() => o.props.contentPosition === "top"), C = n(() => o.steps.value.length), T = n(() => o.steps.value[C.value - 1]?.uid === $.uid), f = n(() => u.value ? "" : o.props.space), A = n(() => [
43
+ e.b(),
44
+ e.is(u.value ? "simple" : o.props.direction),
45
+ e.is("flex", T.value && !f.value && !h.value),
46
+ e.is("center", h.value && !P.value && !u.value),
47
+ e.is("content-top", g.value),
48
+ e.is(r.value)
49
+ ]), J = n(() => {
50
+ const s = {
51
+ flexBasis: Z(f.value) ? `${f.value}px` : f.value ? f.value : `${100 / (C.value - (h.value ? 0 : 1))}%`
49
52
  };
50
- return B.value || N.value && (e.maxWidth = `${100 / y.value}%`), e;
51
- }), M = (e) => {
52
- l.value = e;
53
- }, T = (e) => {
54
- const c = e === "wait", h = {
55
- transitionDelay: `${c ? "-" : ""}${150 * l.value}ms`
56
- }, b = e === n.props.processStatus || c ? 0 : 100;
57
- h.borderWidth = b && !o.value ? "1px" : 0, h[n.props.direction === "vertical" ? "height" : "width"] = `${b}%`, w.value = h;
58
- }, U = (e) => {
59
- e > l.value ? p.value = n.props.finishStatus : e === l.value && j.value !== "error" ? p.value = n.props.processStatus : p.value = "wait";
60
- const c = n.steps.value[l.value - 1];
61
- c && c.calcProgress(p.value);
62
- }, I = J({
63
- uid: V.uid,
64
- currentStatus: u,
65
- setIndex: M,
66
- calcProgress: T
53
+ return P.value || T.value && (s.maxWidth = `${100 / C.value}%`), s;
54
+ }), L = (s) => {
55
+ c.value = s;
56
+ }, M = (s) => {
57
+ const v = s === "wait", b = {
58
+ transitionDelay: `${v ? "-" : ""}${150 * c.value}ms`
59
+ }, j = s === o.props.processStatus || v ? 0 : 100;
60
+ b.borderWidth = j && !u.value ? "1px" : 0, b[o.props.direction === "vertical" ? "height" : "width"] = `${j}%`, B.value = b;
61
+ }, U = (s) => {
62
+ s > c.value ? m.value = o.props.finishStatus : s === c.value && O.value !== "error" ? m.value = o.props.processStatus : m.value = "wait";
63
+ const v = o.steps.value[c.value - 1];
64
+ v && v.calcProgress(m.value);
65
+ }, W = H({
66
+ uid: $.uid,
67
+ getVnode: () => $.vnode,
68
+ currentStatus: r,
69
+ setIndex: L,
70
+ calcProgress: M
67
71
  });
68
- return n.addStep(I), (e, c) => (i(), d("div", {
69
- style: D(L.value),
70
- class: a(K.value)
72
+ return o.addStep(W), Q(() => {
73
+ o.removeStep(W);
74
+ }), (s, v) => (i(), a("div", {
75
+ style: z(J.value),
76
+ class: l(A.value)
71
77
  }, [
72
- m("div", {
73
- class: a([s(t).e("head"), s(t).is(u.value)])
78
+ s.$slots.top ? (i(), a("div", {
79
+ key: 0,
80
+ class: l(t(e).e("top-slot"))
74
81
  }, [
75
- o.value ? W("", !0) : (i(), d("div", {
82
+ p(s.$slots, "top")
83
+ ], 2)) : g.value ? (i(), a("div", {
84
+ key: 1,
85
+ class: l(t(e).e("main"))
86
+ }, [
87
+ d("div", {
88
+ class: l([t(e).e("title"), t(e).is(r.value)])
89
+ }, [
90
+ p(s.$slots, "title", {}, () => [
91
+ k(y(s.title), 1)
92
+ ])
93
+ ], 2),
94
+ u.value ? (i(), a("div", {
95
+ key: 0,
96
+ class: l(t(e).e("arrow"))
97
+ }, null, 2)) : S("", !0),
98
+ d("div", {
99
+ class: l([t(e).e("description"), t(e).is(r.value)])
100
+ }, [
101
+ p(s.$slots, "description", {}, () => [
102
+ k(y(s.description), 1)
103
+ ])
104
+ ], 2)
105
+ ], 2)) : S("", !0),
106
+ d("div", {
107
+ class: l([t(e).e("head"), t(e).is(r.value)])
108
+ }, [
109
+ u.value ? S("", !0) : (i(), a("div", {
76
110
  key: 0,
77
- class: a(s(t).e("line"))
111
+ class: l(t(e).e("line"))
78
112
  }, [
79
- m("i", {
80
- class: a(s(t).e("line-inner")),
81
- style: D(w.value)
113
+ d("i", {
114
+ class: l(t(e).e("line-inner")),
115
+ style: z(B.value)
82
116
  }, null, 6)
83
117
  ], 2)),
84
- m("div", {
85
- class: a([s(t).e("icon"), s(t).is(e.icon || e.$slots.icon ? "icon" : "text")])
118
+ d("div", {
119
+ class: l([t(e).e("icon"), t(e).is(s.icon || s.$slots.icon ? "icon" : "text")])
86
120
  }, [
87
- C(e.$slots, "icon", {}, () => [
88
- e.icon ? (i(), f(s(g), {
89
- key: 0,
90
- class: a(s(t).e("icon-inner"))
91
- }, {
92
- default: O(() => [
93
- (i(), f(Q(e.icon)))
94
- ]),
95
- _: 1
96
- }, 8, ["class"])) : u.value === "success" ? (i(), f(s(g), {
121
+ p(s.$slots, "icon", {}, () => [
122
+ E.value?.icon ? (i(), N(t(V), R({ key: 0 }, E.value, {
123
+ class: t(e).e("icon-inner")
124
+ }), null, 16, ["class"])) : r.value === "success" ? (i(), N(t(V), {
97
125
  key: 1,
98
- class: a([s(t).e("icon-inner"), s(t).is("status")])
99
- }, null, 8, ["class"])) : u.value === "error" ? (i(), f(s(g), {
126
+ class: l([t(e).e("icon-inner"), t(e).is("status")]),
127
+ icon: "icon-check"
128
+ }, null, 8, ["class"])) : r.value === "error" ? (i(), N(t(V), {
100
129
  key: 2,
101
- class: a([s(t).e("icon-inner"), s(t).is("status")])
102
- }, null, 8, ["class"])) : o.value ? W("", !0) : (i(), d("div", {
130
+ class: l([t(e).e("icon-inner"), t(e).is("status")]),
131
+ icon: "icon-close"
132
+ }, null, 8, ["class"])) : u.value ? S("", !0) : (i(), a("div", {
103
133
  key: 3,
104
- class: a(s(t).e("icon-inner"))
105
- }, $(l.value + 1), 3))
134
+ class: l(t(e).e("icon-inner"))
135
+ }, y(c.value + 1), 3))
106
136
  ])
107
137
  ], 2)
108
138
  ], 2),
109
- m("div", {
110
- class: a(s(t).e("main"))
139
+ s.$slots.bottom ? (i(), a("div", {
140
+ key: 2,
141
+ class: l(t(e).e("bottom-slot"))
142
+ }, [
143
+ p(s.$slots, "bottom")
144
+ ], 2)) : g.value ? S("", !0) : (i(), a("div", {
145
+ key: 3,
146
+ class: l(t(e).e("main"))
111
147
  }, [
112
- m("div", {
113
- class: a([s(t).e("title"), s(t).is(u.value)])
148
+ d("div", {
149
+ class: l([t(e).e("title"), t(e).is(r.value)])
114
150
  }, [
115
- C(e.$slots, "title", {}, () => [
116
- x($(e.title), 1)
151
+ p(s.$slots, "title", {}, () => [
152
+ k(y(s.title), 1)
117
153
  ])
118
154
  ], 2),
119
- o.value ? (i(), d("div", {
155
+ u.value ? (i(), a("div", {
120
156
  key: 0,
121
- class: a(s(t).e("arrow"))
122
- }, null, 2)) : (i(), d("div", {
157
+ class: l(t(e).e("arrow"))
158
+ }, null, 2)) : (i(), a("div", {
123
159
  key: 1,
124
- class: a([s(t).e("description"), s(t).is(u.value)])
160
+ class: l([t(e).e("description"), t(e).is(r.value)])
125
161
  }, [
126
- C(e.$slots, "description", {}, () => [
127
- x($(e.description), 1)
162
+ p(s.$slots, "description", {}, () => [
163
+ k(y(s.description), 1)
128
164
  ])
129
165
  ], 2))
130
- ], 2)
166
+ ], 2))
131
167
  ], 6));
132
168
  }
133
169
  });
134
170
  export {
135
- oe as default
171
+ ve as default
136
172
  };
@@ -7,6 +7,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
7
7
  direction: string;
8
8
  finishStatus: string;
9
9
  processStatus: string;
10
+ contentPosition: string;
10
11
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
12
  change: (newVal?: number | undefined, oldVal?: number | undefined) => void;
12
13
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<StepsProps>, {
@@ -14,11 +15,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
14
15
  direction: string;
15
16
  finishStatus: string;
16
17
  processStatus: string;
18
+ contentPosition: string;
17
19
  }>>> & Readonly<{
18
20
  onChange?: ((newVal?: number | undefined, oldVal?: number | undefined) => any) | undefined;
19
21
  }>, {
20
22
  direction: "horizontal" | "vertical";
21
23
  active: number;
24
+ contentPosition: "top" | "bottom";
22
25
  finishStatus: "wait" | "process" | "finish" | "error" | "success";
23
26
  processStatus: "wait" | "process" | "finish" | "error" | "success";
24
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,17 +1,19 @@
1
- import { defineComponent as p, getCurrentInstance as f, watch as i, provide as u, createElementBlock as h, openBlock as v, normalizeClass as C, unref as n, renderSlot as S } from "vue";
1
+ import { defineComponent as p, getCurrentInstance as u, watch as n, provide as h, createElementBlock as S, openBlock as C, normalizeClass as v, unref as r, renderSlot as E, createVNode as _ } from "vue";
2
+ import { CHANGE_EVENT as N } from "../../constants/event.js";
2
3
  import "@vueuse/core";
3
4
  import "@vft/utils";
4
5
  import "../config-provider/hooks/use-global-config.js";
5
6
  import "lodash-es";
6
- import { useNamespace as _ } from "../../hooks/use-namespace/index.js";
7
+ import { useNamespace as B } from "../../hooks/use-namespace/index.js";
7
8
  import "../../hooks/use-model-toggle/index.js";
8
- import { useOrderedChildren as g } from "../../hooks/use-ordered-children/index.js";
9
+ import { useOrderedChildren as I } from "../../hooks/use-ordered-children/index.js";
9
10
  import "@popperjs/core";
10
11
  import "../../hooks/use-z-index/index.js";
11
- const B = p({
12
+ import { STEPS_INJECTION_KEY as g } from "./tokens.js";
13
+ const T = p({
12
14
  name: "vft-steps"
13
- }), $ = /* @__PURE__ */ p({
14
- ...B,
15
+ }), K = /* @__PURE__ */ p({
16
+ ...T,
15
17
  props: {
16
18
  space: {},
17
19
  active: { default: 0 },
@@ -19,31 +21,34 @@ const B = p({
19
21
  alignCenter: { type: Boolean },
20
22
  simple: { type: Boolean },
21
23
  finishStatus: { default: "finish" },
22
- processStatus: { default: "process" }
24
+ processStatus: { default: "process" },
25
+ contentPosition: { default: "bottom" }
23
26
  },
24
27
  emits: ["change"],
25
- setup(a, { emit: l }) {
26
- const s = a, m = l, r = _("steps"), {
28
+ setup(a, { emit: m }) {
29
+ const s = a, l = m, i = B("steps"), {
27
30
  children: o,
28
- addChild: c,
29
- removeChild: d
30
- } = g(f(), "ElStep");
31
- return i(o, () => {
31
+ addChild: d,
32
+ removeChild: c,
33
+ ChildrenSorter: f
34
+ } = I(u(), "VftStep");
35
+ return n(o, () => {
32
36
  o.value.forEach((e, t) => {
33
37
  e.setIndex(t);
34
38
  });
35
- }), u("VftSteps", { props: s, steps: o, addStep: c, removeStep: d }), i(
39
+ }), h(g, { props: s, steps: o, addStep: d, removeStep: c }), n(
36
40
  () => s.active,
37
41
  (e, t) => {
38
- m("change", e, t);
42
+ l(N, e, t);
39
43
  }
40
- ), (e, t) => (v(), h("div", {
41
- class: C([n(r).b(), n(r).m(e.simple ? "simple" : e.direction)])
44
+ ), (e, t) => (C(), S("div", {
45
+ class: v([r(i).b(), r(i).m(e.simple ? "simple" : e.direction)])
42
46
  }, [
43
- S(e.$slots, "default")
47
+ E(e.$slots, "default"),
48
+ _(r(f))
44
49
  ], 2));
45
50
  }
46
51
  });
47
52
  export {
48
- $ as default
53
+ K as default
49
54
  };
@@ -1 +1,2 @@
1
+ import 'vft/es/components/step/style/css';
1
2
  import 'vft/theme-style/vft-steps.css';
@@ -1,2 +1,3 @@
1
1
  import "vft/theme-style/base.css";
2
+ import "vft/theme-style/vft-step.css";
2
3
  import "vft/theme-style/vft-steps.css";
@@ -1 +1,2 @@
1
+ import 'vft/es/components/step/style';
1
2
  import 'vft/theme-style/src/steps.scss';
@@ -1,2 +1,3 @@
1
1
  import "vft/theme-style/src/base.scss";
2
+ import "vft/theme-style/src/step.scss";
2
3
  import "vft/theme-style/src/steps.scss";
@@ -0,0 +1 @@
1
+ export declare const STEPS_INJECTION_KEY = "VftSteps";
@@ -0,0 +1,4 @@
1
+ const t = "VftSteps";
2
+ export {
3
+ t as STEPS_INJECTION_KEY
4
+ };
@@ -7,10 +7,12 @@ export interface StepsProps {
7
7
  simple?: boolean;
8
8
  finishStatus?: 'wait' | 'process' | 'finish' | 'error' | 'success';
9
9
  processStatus?: 'wait' | 'process' | 'finish' | 'error' | 'success';
10
+ /** 内容区域位置:'top' | 'bottom',默认为 'bottom' */
11
+ contentPosition?: 'top' | 'bottom';
10
12
  }
11
13
  export interface StepItemProps {
12
14
  title?: string;
13
- icon?: IconProps;
15
+ icon?: IconProps | string;
14
16
  description?: string;
15
17
  status?: '' | 'wait' | 'process' | 'finish' | 'error' | 'success';
16
18
  }
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "vft",
3
- "version": "0.0.328",
3
+ "version": "0.0.331",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.js",
@@ -1,4 +1,4 @@
1
- const o = "0.0.328";
1
+ const o = "0.0.331";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -24,12 +24,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
24
24
  size: {
25
25
  type: import("vue").PropType<import("../types").ComponentSize>;
26
26
  };
27
- icon: {
28
- type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
29
- };
30
27
  dark: {
31
28
  type: import("vue").PropType<boolean>;
32
29
  };
30
+ icon: {
31
+ type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
32
+ };
33
33
  loading: {
34
34
  type: import("vue").PropType<boolean>;
35
35
  };
@@ -114,12 +114,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
114
114
  size: {
115
115
  type: import("vue").PropType<import("../types").ComponentSize>;
116
116
  };
117
- icon: {
118
- type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
119
- };
120
117
  dark: {
121
118
  type: import("vue").PropType<boolean>;
122
119
  };
120
+ icon: {
121
+ type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
122
+ };
123
123
  loading: {
124
124
  type: import("vue").PropType<boolean>;
125
125
  };
@@ -199,12 +199,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
199
199
  size: {
200
200
  type: import("vue").PropType<import("../types").ComponentSize>;
201
201
  };
202
- icon: {
203
- type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
204
- };
205
202
  dark: {
206
203
  type: import("vue").PropType<boolean>;
207
204
  };
205
+ icon: {
206
+ type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
207
+ };
208
208
  loading: {
209
209
  type: import("vue").PropType<boolean>;
210
210
  };
@@ -30,10 +30,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
30
30
  }>>> & Readonly<{
31
31
  "onUpdate:error"?: ((val: string) => any) | undefined;
32
32
  }>, {
33
- required: boolean;
34
33
  labelWidth: string | number;
35
34
  inlineMessage: string | boolean;
36
35
  showMessage: boolean;
36
+ required: boolean;
37
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
38
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
39
39
  export default _default;