@vunk/form 2.19.2 → 2.19.4
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.
- package/components/api-tables-select/src/ctx.d.ts +5 -2
- package/components/api-tables-select/src/index.vue.d.ts +11 -5
- package/components/button/src/ctx.d.ts +5 -2
- package/components/button/src/index.vue.d.ts +22 -10
- package/components/card-input-collection/src/core.vue.d.ts +11 -5
- package/components/card-input-collection/src/ctx.d.ts +5 -2
- package/components/card-input-collection/src/index.vue.d.ts +11 -5
- package/components/cascader/src/ctx.d.ts +6 -3
- package/components/cascader/src/index.vue.d.ts +11 -5
- package/components/checkbox/src/ctx.d.ts +6 -3
- package/components/checkbox/src/index.vue.d.ts +22 -10
- package/components/color-picker/src/ctx.d.ts +5 -2
- package/components/color-picker/src/index.vue.d.ts +11 -5
- package/components/date-picker/src/ctx.d.ts +6 -3
- package/components/date-picker/src/index.vue.d.ts +11 -5
- package/components/date-picker-range/src/ctx.d.ts +5 -2
- package/components/date-picker-range/src/index.vue.d.ts +22 -10
- package/components/dialog-input-collection/src/ctx.d.ts +5 -2
- package/components/dialog-input-collection/src/index.vue.d.ts +11 -5
- package/components/download-plus/src/ctx.d.ts +5 -2
- package/components/download-plus/src/index.vue.d.ts +22 -10
- package/components/editable-text/src/ctx.d.ts +5 -2
- package/components/editable-text/src/index.vue.d.ts +11 -5
- package/components/esri-input-geojson/src/ctx.d.ts +6 -3
- package/components/esri-input-geojson/src/index.vue.d.ts +35 -17
- package/components/fieldset/index.cjs +1 -1
- package/components/fieldset/index.mjs +9 -8
- package/components/fieldset/src/ctx.d.ts +1 -1
- package/components/fieldset/src/index.vue.d.ts +3 -3
- package/components/form/index.cjs +1 -1
- package/components/form/index.mjs +73 -67
- package/components/form/src/ctx.d.ts +5 -2
- package/components/form/src/index.vue.d.ts +13 -7
- package/components/form-item/index.cjs +1 -1
- package/components/form-item/index.mjs +70 -61
- package/components/form-item/src/ctx.d.ts +6 -3
- package/components/form-item/src/index.vue.d.ts +11 -5
- package/components/information-collection/src/ctx.d.ts +5 -2
- package/components/information-collection/src/index.vue.d.ts +11 -5
- package/components/input/src/ctx.d.ts +6 -3
- package/components/input/src/index.vue.d.ts +22 -10
- package/components/input-array/src/ctx.d.ts +5 -2
- package/components/input-array/src/index.vue.d.ts +11 -5
- package/components/input-collection/src/core.vue.d.ts +11 -5
- package/components/input-collection/src/ctx.d.ts +5 -2
- package/components/input-collection/src/index.vue.d.ts +11 -5
- package/components/input-file/src/index.vue.d.ts +11 -5
- package/components/input-link/src/ctx.d.ts +5 -2
- package/components/input-link/src/index.vue.d.ts +33 -15
- package/components/input-number/src/ctx.d.ts +6 -3
- package/components/input-number/src/index.vue.d.ts +22 -10
- package/components/input-tag/src/ctx.d.ts +6 -3
- package/components/input-tag/src/index.vue.d.ts +22 -10
- package/components/monaco-editor/src/ctx.d.ts +5 -2
- package/components/monaco-editor/src/index.vue.d.ts +22 -10
- package/components/radio/src/ctx.d.ts +5 -2
- package/components/radio/src/index.vue.d.ts +22 -10
- package/components/radio/src/wraper.vue.d.ts +11 -5
- package/components/select/src/core.vue.d.ts +22 -10
- package/components/select/src/ctx.d.ts +6 -3
- package/components/select/src/index.vue.d.ts +11 -5
- package/components/slider/src/ctx.d.ts +5 -2
- package/components/slider/src/index.vue.d.ts +11 -5
- package/components/style.css +1 -1
- package/components/switch/src/ctx.d.ts +5 -2
- package/components/switch/src/index.vue.d.ts +11 -5
- package/components/tables-select/src/ctx.d.ts +6 -3
- package/components/tables-select/src/index.vue.d.ts +12 -6
- package/components/templates-default/src/index.vue.d.ts +219 -102
- package/components/templates-esri/src/index.vue.d.ts +35 -17
- package/components/templates-layout/src/index.vue.d.ts +3 -3
- package/components/templates-variant/src/index.vue.d.ts +22 -10
- package/components/time-picker/src/ctx.d.ts +6 -3
- package/components/time-picker/src/index.vue.d.ts +11 -5
- package/components/upload/src/ctx.d.ts +6 -3
- package/components/upload/src/index.vue.d.ts +22 -10
- package/components/upload/src/wraper.vue.d.ts +11 -5
- package/components/upload-plus/src/ctx.d.ts +5 -2
- package/components/upload-plus/src/index.vue.d.ts +11 -5
- package/components/van-cascader/src/ctx.d.ts +5 -2
- package/components/van-cascader/src/index.vue.d.ts +11 -5
- package/components/var-datetime-picker/src/ctx.d.ts +5 -2
- package/components/var-datetime-picker/src/index.vue.d.ts +22 -10
- package/components/vditor/src/ctx.d.ts +5 -2
- package/components/vditor/src/index.vue.d.ts +22 -10
- package/composables/index.cjs +1 -1
- package/composables/index.d.ts +1 -0
- package/composables/index.mjs +72 -60
- package/composables/useComputedLabelPosition.d.ts +15 -0
- package/index.css +1 -1
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +2 -2
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { formItemProps as
|
|
2
|
-
import { bindPropsFactory as
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { createFormItemBindProps as
|
|
5
|
-
import { useComputedReadonly as
|
|
6
|
-
import { useLocale as
|
|
7
|
-
import { isPlainObject as
|
|
8
|
-
import { PATTERN_OPTIONS as
|
|
9
|
-
import { w as
|
|
10
|
-
const
|
|
11
|
-
|
|
1
|
+
import { formItemProps as q, ElFormItem as z, ElTooltip as j, ElButton as A, ElIcon as M } from "element-plus";
|
|
2
|
+
import { bindPropsFactory as L } from "@vunk/core/shared/utils-vue";
|
|
3
|
+
import { defineComponent as C, openBlock as n, createBlock as p, unref as f, mergeProps as N, withCtx as r, renderSlot as i, normalizeProps as g, guardReactiveProps as P, createElementBlock as c, toDisplayString as S, createCommentVNode as s, createVNode as b, normalizeClass as w, createElementVNode as D, ref as K, computed as _, h as W } from "vue";
|
|
4
|
+
import { createFormItemBindProps as G } from "@vunk/form/shared/element-plus";
|
|
5
|
+
import { useComputedReadonly as H, useComputedLabelPosition as J, useRendererData as Q } from "@vunk/form/composables";
|
|
6
|
+
import { useLocale as U } from "@vunk/form/composables/element-plus";
|
|
7
|
+
import { isPlainObject as h } from "@vunk/core/shared/utils-object";
|
|
8
|
+
import { PATTERN_OPTIONS as X } from "@vunk/form/shared/rules";
|
|
9
|
+
import { w as Y } from "../index-BCZuzyeO.mjs";
|
|
10
|
+
const R = {
|
|
11
|
+
...q,
|
|
12
|
+
labelPosition: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: void 0
|
|
15
|
+
},
|
|
12
16
|
formItemSize: {
|
|
13
17
|
type: String,
|
|
14
18
|
default: void 0
|
|
@@ -45,18 +49,18 @@ const h = {
|
|
|
45
49
|
prop: null,
|
|
46
50
|
defaultModelValue: null
|
|
47
51
|
};
|
|
48
|
-
Reflect.deleteProperty(
|
|
49
|
-
const y =
|
|
52
|
+
Reflect.deleteProperty(R, "size");
|
|
53
|
+
const y = R, Z = L(y), ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
50
54
|
__proto__: null,
|
|
51
|
-
createBindProps:
|
|
55
|
+
createBindProps: Z,
|
|
52
56
|
props: y
|
|
53
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
57
|
+
}, Symbol.toStringTag, { value: "Module" })), x = {
|
|
54
58
|
key: 0,
|
|
55
59
|
class: "vkf-form-item-label__span"
|
|
56
|
-
},
|
|
60
|
+
}, ee = {
|
|
57
61
|
key: 2,
|
|
58
62
|
class: "vkf-form-item-label__actions"
|
|
59
|
-
},
|
|
63
|
+
}, te = /* @__PURE__ */ C({
|
|
60
64
|
inheritAttrs: !1,
|
|
61
65
|
__name: "core",
|
|
62
66
|
props: {
|
|
@@ -73,40 +77,40 @@ const y = h, H = z(y), oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object
|
|
|
73
77
|
label: null
|
|
74
78
|
},
|
|
75
79
|
setup(e) {
|
|
76
|
-
return (l,
|
|
80
|
+
return (l, v) => (n(), p(f(z), N(l.$attrs, {
|
|
77
81
|
ref: e.elRef,
|
|
78
82
|
class: ["vkf-form-item", {
|
|
79
83
|
"has-label-actions": l.$slots.labelActions
|
|
80
84
|
}],
|
|
81
85
|
label: e.label
|
|
82
86
|
}), {
|
|
83
|
-
default:
|
|
87
|
+
default: r(() => [
|
|
84
88
|
i(l.$slots, "before"),
|
|
85
89
|
i(l.$slots, "default"),
|
|
86
90
|
i(l.$slots, "after"),
|
|
87
91
|
e.formItemTip ? (n(), c("div", {
|
|
88
92
|
key: 0,
|
|
89
|
-
class:
|
|
93
|
+
class: w(["vkf-form-item__tip", e.formItemTipClass])
|
|
90
94
|
}, [
|
|
91
|
-
|
|
95
|
+
D("span", null, S(e.formItemTip), 1)
|
|
92
96
|
], 2)) : s("", !0)
|
|
93
97
|
]),
|
|
94
|
-
label:
|
|
95
|
-
i(l.$slots, "label",
|
|
96
|
-
e.label ? (n(), c("span",
|
|
97
|
-
e.labelTip ? (n(),
|
|
98
|
+
label: r((a) => [
|
|
99
|
+
i(l.$slots, "label", g(P(a)), () => [
|
|
100
|
+
e.label ? (n(), c("span", x, S(a.label), 1)) : s("", !0),
|
|
101
|
+
e.labelTip ? (n(), p(f(j), {
|
|
98
102
|
key: 1,
|
|
99
103
|
content: e.labelTip
|
|
100
104
|
}, {
|
|
101
|
-
default:
|
|
102
|
-
b(f(
|
|
105
|
+
default: r(() => [
|
|
106
|
+
b(f(A), {
|
|
103
107
|
text: "",
|
|
104
108
|
class: "vkf-form-item-label-tip-button"
|
|
105
109
|
}, {
|
|
106
|
-
default:
|
|
107
|
-
b(f(
|
|
108
|
-
default:
|
|
109
|
-
b(f(
|
|
110
|
+
default: r(() => [
|
|
111
|
+
b(f(M), null, {
|
|
112
|
+
default: r(() => [
|
|
113
|
+
b(f(Y))
|
|
110
114
|
]),
|
|
111
115
|
_: 1
|
|
112
116
|
})
|
|
@@ -116,67 +120,72 @@ const y = h, H = z(y), oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object
|
|
|
116
120
|
]),
|
|
117
121
|
_: 1
|
|
118
122
|
}, 8, ["content"])) : s("", !0),
|
|
119
|
-
l.$slots.labelActions ? (n(), c("div",
|
|
123
|
+
l.$slots.labelActions ? (n(), c("div", ee, [
|
|
120
124
|
i(l.$slots, "labelActions")
|
|
121
125
|
])) : s("", !0)
|
|
122
126
|
])
|
|
123
127
|
]),
|
|
124
|
-
error:
|
|
125
|
-
i(l.$slots, "error",
|
|
128
|
+
error: r((a) => [
|
|
129
|
+
i(l.$slots, "error", g(P(a)))
|
|
126
130
|
]),
|
|
127
131
|
_: 3
|
|
128
132
|
}, 16, ["class", "label"]));
|
|
129
133
|
}
|
|
130
|
-
}),
|
|
134
|
+
}), de = /* @__PURE__ */ C({
|
|
131
135
|
name: "VkfFormItem",
|
|
132
136
|
props: y,
|
|
133
137
|
setup(e, {
|
|
134
138
|
slots: l
|
|
135
139
|
}) {
|
|
136
|
-
const
|
|
140
|
+
const v = G(e, ["rules"]), a = H(e), {
|
|
137
141
|
tr: m
|
|
138
|
-
} =
|
|
142
|
+
} = U(), I = K(), $ = _(() => e.labelPosition), B = J(I, $), T = () => e.label || m("vkf.formItem.defaultField", "该字段"), E = (t) => {
|
|
139
143
|
if (t.message) return;
|
|
140
144
|
t.required && (t.message = m("vkf.formItem.required", "{label}不能为空", {
|
|
141
|
-
label:
|
|
145
|
+
label: T()
|
|
142
146
|
}));
|
|
143
|
-
const
|
|
144
|
-
|
|
145
|
-
label:
|
|
146
|
-
pattern:
|
|
147
|
+
const o = X.find((k) => k.value === t.pattern);
|
|
148
|
+
o && (t.message = m("vkf.formItem.pattern", "输入 {label} {pattern}", {
|
|
149
|
+
label: T(),
|
|
150
|
+
pattern: o.title
|
|
147
151
|
}));
|
|
148
|
-
},
|
|
152
|
+
}, F = _(() => {
|
|
149
153
|
let t = [];
|
|
150
154
|
return !e.rules && e.required && t.push({
|
|
151
155
|
required: !0
|
|
152
|
-
}),
|
|
156
|
+
}), h(e.rules) && (t = [e.rules]), Array.isArray(e.rules) && (t = e.rules, e.required && !e.rules.find((o) => o.required) && t.push({
|
|
153
157
|
required: !0
|
|
154
|
-
})), t = t.filter((
|
|
155
|
-
if (
|
|
156
|
-
return Object.keys(
|
|
157
|
-
}), t.forEach((
|
|
158
|
-
|
|
158
|
+
})), t = t.filter((o) => {
|
|
159
|
+
if (o && h(o))
|
|
160
|
+
return Object.keys(o).filter((V) => !V.startsWith("data-")).length > 0;
|
|
161
|
+
}), t.forEach((o) => {
|
|
162
|
+
E(o);
|
|
159
163
|
}), t;
|
|
160
164
|
}), {
|
|
161
165
|
getDataValue: u,
|
|
162
166
|
emitSetData: d
|
|
163
|
-
} =
|
|
164
|
-
|
|
167
|
+
} = Q();
|
|
168
|
+
setTimeout(() => {
|
|
165
169
|
e.defaultModelValue !== void 0 && e.prop && (u == null ? void 0 : u(e.prop)) === void 0 && (d == null || d({
|
|
166
170
|
k: e.prop,
|
|
167
171
|
v: e.defaultModelValue
|
|
168
172
|
}));
|
|
169
|
-
})
|
|
170
|
-
|
|
171
|
-
|
|
173
|
+
});
|
|
174
|
+
const O = (t) => {
|
|
175
|
+
I.value = (t == null ? void 0 : t.$el) ?? t, typeof e.elRef == "function" && e.elRef(t);
|
|
176
|
+
};
|
|
177
|
+
return () => W(te, {
|
|
178
|
+
...v.value,
|
|
179
|
+
"label-position": B.value,
|
|
180
|
+
elRef: O,
|
|
172
181
|
class: {
|
|
173
|
-
"is-readonly":
|
|
182
|
+
"is-readonly": a.value,
|
|
174
183
|
"vkf-form-item--inline": e.inline,
|
|
175
184
|
"is-empty-label": !e.label,
|
|
176
185
|
"is-information": e.information
|
|
177
186
|
},
|
|
178
187
|
size: e.formItemSize,
|
|
179
|
-
rules:
|
|
188
|
+
rules: F.value,
|
|
180
189
|
formItemTip: e.formItemTip,
|
|
181
190
|
formItemTipClass: e.formItemTipClass,
|
|
182
191
|
labelTip: e.labelTip,
|
|
@@ -186,12 +195,12 @@ const y = h, H = z(y), oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object
|
|
|
186
195
|
...e.formItemSlots
|
|
187
196
|
});
|
|
188
197
|
}
|
|
189
|
-
}),
|
|
198
|
+
}), ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
190
199
|
__proto__: null
|
|
191
200
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
192
201
|
export {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
202
|
+
de as VkfFormItem,
|
|
203
|
+
ue as _VkfFormItemCtx,
|
|
204
|
+
ce as __VkfFormItem,
|
|
205
|
+
de as default
|
|
197
206
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { FormItemSlots } from './types';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
declare const _props: {
|
|
4
|
+
labelPosition: {
|
|
5
|
+
type: PropType<"left" | "right" | "top" | "start" | "end">;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
4
8
|
formItemSize: {
|
|
5
9
|
type: PropType<"default" | "small" | "large">;
|
|
6
|
-
default:
|
|
10
|
+
default: undefined;
|
|
7
11
|
};
|
|
8
12
|
formItemSlots: {
|
|
9
13
|
type: PropType<FormItemSlots>;
|
|
@@ -43,7 +47,6 @@ declare const _props: {
|
|
|
43
47
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
48
|
__epPropKey: true;
|
|
45
49
|
};
|
|
46
|
-
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
47
50
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
48
51
|
rules: {
|
|
49
52
|
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
@@ -69,5 +72,5 @@ declare const _props: {
|
|
|
69
72
|
};
|
|
70
73
|
};
|
|
71
74
|
export declare const props: Omit<typeof _props, "size">;
|
|
72
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"
|
|
75
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2>]: T2[k]; }[P]; }>;
|
|
73
76
|
export {};
|
|
@@ -2,9 +2,13 @@ import { FormItemRule } from 'element-plus';
|
|
|
2
2
|
declare const _default: typeof __VLS_export;
|
|
3
3
|
export default _default;
|
|
4
4
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<Omit<{
|
|
5
|
+
labelPosition: {
|
|
6
|
+
type: import("vue").PropType<"left" | "right" | "top" | "start" | "end">;
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
5
9
|
formItemSize: {
|
|
6
10
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
7
|
-
default:
|
|
11
|
+
default: undefined;
|
|
8
12
|
};
|
|
9
13
|
formItemSlots: {
|
|
10
14
|
type: import("vue").PropType<import("./types.ts").FormItemSlots>;
|
|
@@ -44,7 +48,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
44
48
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
49
|
__epPropKey: true;
|
|
46
50
|
};
|
|
47
|
-
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
48
51
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
49
52
|
rules: {
|
|
50
53
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<FormItemRule>) | (((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<FormItemRule>)) | null)[], unknown, unknown>>;
|
|
@@ -71,9 +74,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
71
74
|
}, "size">>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
72
75
|
[key: string]: any;
|
|
73
76
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Omit<{
|
|
77
|
+
labelPosition: {
|
|
78
|
+
type: import("vue").PropType<"left" | "right" | "top" | "start" | "end">;
|
|
79
|
+
default: undefined;
|
|
80
|
+
};
|
|
74
81
|
formItemSize: {
|
|
75
82
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
76
|
-
default:
|
|
83
|
+
default: undefined;
|
|
77
84
|
};
|
|
78
85
|
formItemSlots: {
|
|
79
86
|
type: import("vue").PropType<import("./types.ts").FormItemSlots>;
|
|
@@ -113,7 +120,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
113
120
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
114
121
|
__epPropKey: true;
|
|
115
122
|
};
|
|
116
|
-
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
117
123
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
118
124
|
rules: {
|
|
119
125
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<FormItemRule>) | (((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<FormItemRule>)) | null)[], unknown, unknown>>;
|
|
@@ -139,6 +145,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
139
145
|
};
|
|
140
146
|
}, "size">>> & Readonly<{}>, {
|
|
141
147
|
required: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
148
|
+
labelPosition: "left" | "right" | "top" | "start" | "end";
|
|
142
149
|
formItemSize: "default" | "small" | "large";
|
|
143
150
|
formItemSlots: import("./types.ts").FormItemSlots;
|
|
144
151
|
inline: boolean;
|
|
@@ -146,7 +153,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
146
153
|
formItemTip: string;
|
|
147
154
|
labelTip: string;
|
|
148
155
|
information: boolean;
|
|
149
|
-
labelPosition: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
150
156
|
inlineMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
151
157
|
showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
152
158
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -54,9 +54,13 @@ export declare const props: {
|
|
|
54
54
|
default: undefined;
|
|
55
55
|
};
|
|
56
56
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
57
|
+
labelPosition: {
|
|
58
|
+
type: PropType<"left" | "right" | "top" | "start" | "end">;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
57
61
|
formItemSize: {
|
|
58
62
|
type: PropType<"default" | "small" | "large">;
|
|
59
|
-
default:
|
|
63
|
+
default: undefined;
|
|
60
64
|
};
|
|
61
65
|
formItemSlots: {
|
|
62
66
|
type: PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
@@ -92,7 +96,6 @@ export declare const props: {
|
|
|
92
96
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
97
|
__epPropKey: true;
|
|
94
98
|
};
|
|
95
|
-
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
96
99
|
rules: {
|
|
97
100
|
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
98
101
|
readonly required: false;
|
|
@@ -52,9 +52,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
52
52
|
default: undefined;
|
|
53
53
|
};
|
|
54
54
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
55
|
+
labelPosition: {
|
|
56
|
+
type: import("vue").PropType<"left" | "right" | "top" | "start" | "end">;
|
|
57
|
+
default: undefined;
|
|
58
|
+
};
|
|
55
59
|
formItemSize: {
|
|
56
60
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
57
|
-
default:
|
|
61
|
+
default: undefined;
|
|
58
62
|
};
|
|
59
63
|
formItemSlots: {
|
|
60
64
|
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
@@ -90,7 +94,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
90
94
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
91
95
|
__epPropKey: true;
|
|
92
96
|
};
|
|
93
|
-
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
94
97
|
rules: {
|
|
95
98
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
96
99
|
readonly required: false;
|
|
@@ -159,9 +162,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
159
162
|
default: undefined;
|
|
160
163
|
};
|
|
161
164
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
165
|
+
labelPosition: {
|
|
166
|
+
type: import("vue").PropType<"left" | "right" | "top" | "start" | "end">;
|
|
167
|
+
default: undefined;
|
|
168
|
+
};
|
|
162
169
|
formItemSize: {
|
|
163
170
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
164
|
-
default:
|
|
171
|
+
default: undefined;
|
|
165
172
|
};
|
|
166
173
|
formItemSlots: {
|
|
167
174
|
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
@@ -197,7 +204,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
197
204
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
198
205
|
__epPropKey: true;
|
|
199
206
|
};
|
|
200
|
-
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
201
207
|
rules: {
|
|
202
208
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
203
209
|
readonly required: false;
|
|
@@ -216,6 +222,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
216
222
|
showMessage: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
217
223
|
}>> & Readonly<{}>, {
|
|
218
224
|
required: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
225
|
+
labelPosition: "left" | "right" | "top" | "start" | "end";
|
|
219
226
|
formItemSize: "default" | "small" | "large";
|
|
220
227
|
formItemSlots: import("../../form-item/src/types").FormItemSlots;
|
|
221
228
|
inline: boolean;
|
|
@@ -223,7 +230,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
223
230
|
formItemTip: string;
|
|
224
231
|
labelTip: string;
|
|
225
232
|
information: boolean;
|
|
226
|
-
labelPosition: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
227
233
|
inlineMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
228
234
|
showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
229
235
|
modelValue: import("@vunk/shared").NormalObject[];
|
|
@@ -18,9 +18,13 @@ export declare const props: {
|
|
|
18
18
|
default: undefined;
|
|
19
19
|
};
|
|
20
20
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
21
|
+
labelPosition: {
|
|
22
|
+
type: PropType<"left" | "right" | "top" | "start" | "end">;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
21
25
|
formItemSize: {
|
|
22
26
|
type: PropType<"default" | "small" | "large">;
|
|
23
|
-
default:
|
|
27
|
+
default: undefined;
|
|
24
28
|
};
|
|
25
29
|
formItemSlots: {
|
|
26
30
|
type: PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
@@ -60,7 +64,6 @@ export declare const props: {
|
|
|
60
64
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
61
65
|
__epPropKey: true;
|
|
62
66
|
};
|
|
63
|
-
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
64
67
|
rules: {
|
|
65
68
|
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
66
69
|
readonly required: false;
|
|
@@ -148,7 +151,7 @@ export declare const props: {
|
|
|
148
151
|
};
|
|
149
152
|
autofocus: BooleanConstructor;
|
|
150
153
|
};
|
|
151
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"
|
|
154
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"modelModifiers", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"wordLimitPosition", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"rows", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"name", keyof T2> | Extract<"countGraphemes", keyof T2> | Extract<"inputSlots", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"modelModifiers", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"wordLimitPosition", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"inputmode", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"countGraphemes", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"modelModifiers", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"wordLimitPosition", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"rows", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"name", keyof T2> | Extract<"countGraphemes", keyof T2> | Extract<"inputSlots", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"modelModifiers", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"wordLimitPosition", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"rows", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"name", keyof T2> | Extract<"countGraphemes", keyof T2> | Extract<"inputSlots", keyof T2>]: T2[k]; }[P]; }>;
|
|
152
155
|
export declare const emits: {
|
|
153
156
|
"update:modelValue": (value: string) => boolean;
|
|
154
157
|
input: (value: string) => boolean;
|