@vunk/form 1.4.4 → 1.4.6
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/button/src/ctx.d.ts +7 -7
- package/components/button/src/index.vue.d.ts +167 -200
- package/components/button/src/types.d.ts +1 -1
- package/components/cascader/index.cjs +3 -3
- package/components/cascader/index.mjs +3 -3
- package/components/cascader/src/ctx.d.ts +17 -6
- package/components/cascader/src/index.vue.d.ts +41 -13662
- package/components/checkbox/index.cjs +4 -4
- package/components/checkbox/index.mjs +4 -4
- package/components/checkbox/src/ctx.d.ts +4 -4
- package/components/checkbox/src/index.vue.d.ts +496 -481
- package/components/color-picker/index.cjs +2 -2
- package/components/color-picker/index.mjs +2 -2
- package/components/color-picker/src/ctx.d.ts +6 -6
- package/components/color-picker/src/index.vue.d.ts +15 -10959
- package/components/date-picker/index.cjs +1 -2
- package/components/date-picker/index.mjs +1 -2
- package/components/date-picker/src/ctx.d.ts +18 -10
- package/components/date-picker/src/index.vue.d.ts +96 -60
- package/components/date-picker/src/types.d.ts +1 -1
- package/components/date-picker-range/src/ctx.d.ts +16 -8
- package/components/date-picker-range/src/index.vue.d.ts +38 -20
- package/components/date-picker-range/src/types.d.ts +2 -2
- package/components/download-plus/src/ctx.d.ts +2 -2
- package/components/download-plus/src/index.vue.d.ts +451 -516
- package/components/esri-input-geojson/src/append.vue.d.ts +370 -1801
- package/components/esri-input-geojson/src/ctx.d.ts +20 -14
- package/components/esri-input-geojson/src/index.vue.d.ts +53 -41
- package/components/esri-input-geojson/src/types.d.ts +1 -1
- package/components/form/index.cjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/ctx.d.ts +1 -1
- package/components/form/src/index.vue.d.ts +313 -376
- package/components/form-item/src/ctx.d.ts +3 -3
- package/components/form-item/src/index.vue.d.ts +109 -126
- package/components/form-item-renderer/index.cjs +1 -0
- package/components/form-item-renderer/index.mjs +1 -0
- package/components/form-item-renderer/src/types.d.ts +1 -0
- package/components/geoinput/src/ctx.d.ts +18 -12
- package/components/geoinput/src/index.vue.d.ts +43 -31
- package/components/geoinput/src/types.d.ts +1 -1
- package/components/geoinput-read/src/append.vue.d.ts +220 -262
- package/components/geoinput-read/src/core.vue.d.ts +86 -81
- package/components/geoinput-read/src/ctx.d.ts +20 -14
- package/components/geoinput-read/src/index.vue.d.ts +129 -112
- package/components/geoinput-update/src/append.vue.d.ts +370 -1801
- package/components/geoinput-update/src/ctx.d.ts +20 -14
- package/components/geoinput-update/src/index.vue.d.ts +211 -388
- package/components/input/index.cjs +3 -7
- package/components/input/index.mjs +3 -7
- package/components/input/src/ctx.d.ts +21 -15
- package/components/input/src/index.vue.d.ts +314 -331
- package/components/input/src/types.d.ts +1 -1
- package/components/input-collection/src/ctx.d.ts +2 -2
- package/components/input-collection/src/index.vue.d.ts +267 -334
- package/components/input-collection/src/types.d.ts +1 -1
- package/components/input-link/index.cjs +7 -7
- package/components/input-link/index.mjs +7 -7
- package/components/input-link/src/ctx.d.ts +18 -12
- package/components/input-link/src/index.vue.d.ts +43 -31
- package/components/input-number/index.cjs +4 -4
- package/components/input-number/index.mjs +4 -4
- package/components/input-number/src/ctx.d.ts +6 -6
- package/components/input-number/src/index.vue.d.ts +107 -1483
- package/components/monaco-editor/src/ctx.d.ts +2 -2
- package/components/monaco-editor/src/index.vue.d.ts +5 -5
- package/components/monaco-editor/src/types.d.ts +1 -1
- package/components/radio/index.cjs +4 -4
- package/components/radio/index.mjs +4 -4
- package/components/radio/src/ctx.d.ts +6 -6
- package/components/radio/src/index.vue.d.ts +317 -303
- package/components/select/src/ctx.d.ts +2 -2
- package/components/select/src/index.vue.d.ts +33 -12877
- package/components/slider/src/ctx.d.ts +12 -12
- package/components/slider/src/index.vue.d.ts +29 -31
- package/components/switch/index.cjs +6 -7
- package/components/switch/index.mjs +6 -7
- package/components/switch/src/ctx.d.ts +11 -11
- package/components/switch/src/index.vue.d.ts +157 -206
- package/components/templates-default/index.cjs +0 -2
- package/components/templates-default/index.mjs +0 -2
- package/components/templates-default/src/index.vue.d.ts +2 -22
- package/components/templates-element-plus/src/index.vue.d.ts +92 -144
- package/components/templates-layout/index.cjs +1 -1
- package/components/templates-layout/index.mjs +1 -1
- package/components/templates-layout/src/index.vue.d.ts +107 -95
- package/components/upload/src/ctx.d.ts +7 -7
- package/components/upload/src/file.vue.d.ts +136 -193
- package/components/upload/src/index.vue.d.ts +386 -1888
- package/components/upload/src/types.d.ts +5 -0
- package/components/upload-plus/src/ctx.d.ts +2 -2
- package/components/upload-plus/src/index.vue.d.ts +484 -556
- package/components/van-cascader/src/ctx.d.ts +15 -4
- package/components/van-cascader/src/index.vue.d.ts +960 -10948
- package/components/var-datetime-picker/src/const.d.ts +1 -1
- package/components/var-datetime-picker/src/ctx.d.ts +2 -2
- package/components/var-datetime-picker/src/index.vue.d.ts +157 -212
- package/components/var-datetime-picker/src/types.d.ts +1 -1
- package/components/vditor/src/ctx.d.ts +2 -2
- package/components/vditor/src/index.vue.d.ts +5 -5
- package/components/vditor/src/types.d.ts +1 -1
- package/package.json +1 -1
- package/shared/const/index.d.ts +0 -4
- package/shared/element-plus/ctx.d.ts +0 -26
- package/shared/element-plus/index.d.ts +0 -3
- package/shared/element-plus/instances.d.ts +0 -195
- package/shared/element-plus/version.d.ts +0 -1
- package/shared/form/index.d.ts +0 -18
- package/shared/helper/index.d.ts +0 -4
- package/shared/index.d.ts +0 -2
- package/shared/infer-prop/index.d.ts +0 -17
- package/shared/progress-it/index.d.ts +0 -16
- package/shared/rules/index.d.ts +0 -35
- package/shared/types/form/checkbox.d.ts +0 -13
- package/shared/types/form/index.d.ts +0 -2
- package/shared/types/form/radio.d.ts +0 -8
- package/shared/types/index.d.ts +0 -2
- package/shared/types/source/index.d.ts +0 -21
- package/shared/types/source-manager/index.d.ts +0 -6
- package/shared/upload/index.d.ts +0 -7
|
@@ -5,7 +5,7 @@ import { BasicSource } from '@vunk/form/shared';
|
|
|
5
5
|
import Core from './index.vue';
|
|
6
6
|
import { TableColumnCtx } from 'element-plus';
|
|
7
7
|
export interface Source<P extends string = string> extends VueComponentPropsType<typeof Core>, BasicSource {
|
|
8
|
-
prop?: P;
|
|
8
|
+
prop?: P | P[];
|
|
9
9
|
templateType: 'VkfInputCollection';
|
|
10
10
|
}
|
|
11
11
|
export type Column<R extends NormalObject = NormalObject> = Omit<__VkTableColumns.Source<R>, 'slots'> & {
|
|
@@ -74,8 +74,8 @@ var _sfc_main = vue.defineComponent({
|
|
|
74
74
|
components: {
|
|
75
75
|
VkfInput: input.VkfInput
|
|
76
76
|
},
|
|
77
|
-
emits,
|
|
78
77
|
props,
|
|
78
|
+
emits,
|
|
79
79
|
setup(props2, { emit }) {
|
|
80
80
|
const coreProps = input._VkfInputCtx.createBindProps(props2);
|
|
81
81
|
const coreEmits = input._VkfInputCtx.createOnEmits(emit);
|
|
@@ -127,19 +127,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
127
127
|
vue.createVNode(_component_VkfInput, {
|
|
128
128
|
label: _ctx.referenceLabel,
|
|
129
129
|
disabled: true,
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
"model-value": _ctx.referenceUrl ?? _ctx.uploadUrl,
|
|
131
|
+
"input-slots": {
|
|
132
132
|
append: _ctx.createAppendEl(_ctx.referenceUrl ?? _ctx.uploadUrl)
|
|
133
133
|
}
|
|
134
|
-
}, null, 8, ["label", "
|
|
135
|
-
!_ctx.referenceOnly ? (vue.openBlock(), vue.createBlock(_component_VkfInput, vue.mergeProps({ key: 0 }, _ctx.coreProps,
|
|
134
|
+
}, null, 8, ["label", "model-value", "input-slots"]),
|
|
135
|
+
!_ctx.referenceOnly ? (vue.openBlock(), vue.createBlock(_component_VkfInput, vue.mergeProps({ key: 0 }, _ctx.coreProps, {
|
|
136
136
|
rules: _ctx.rules,
|
|
137
137
|
readonly: _ctx.readonly,
|
|
138
138
|
type: _ctx.readonly ? "text" : _ctx.type,
|
|
139
|
-
|
|
139
|
+
"input-slots": {
|
|
140
140
|
append: _ctx.readonly ? _ctx.createAppendEl(_ctx.modelValue) : void 0
|
|
141
141
|
}
|
|
142
|
-
}), null, 16, ["rules", "readonly", "type", "
|
|
142
|
+
}, vue.toHandlers(_ctx.coreEmits)), null, 16, ["rules", "readonly", "type", "input-slots"])) : vue.createCommentVNode("v-if", true)
|
|
143
143
|
]);
|
|
144
144
|
}
|
|
145
145
|
var VkfInputLink = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/input-link/src/index.vue"]]);
|
|
@@ -70,8 +70,8 @@ var _sfc_main = defineComponent({
|
|
|
70
70
|
components: {
|
|
71
71
|
VkfInput
|
|
72
72
|
},
|
|
73
|
-
emits,
|
|
74
73
|
props,
|
|
74
|
+
emits,
|
|
75
75
|
setup(props2, { emit }) {
|
|
76
76
|
const coreProps = _VkfInputCtx.createBindProps(props2);
|
|
77
77
|
const coreEmits = _VkfInputCtx.createOnEmits(emit);
|
|
@@ -123,19 +123,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
123
123
|
createVNode(_component_VkfInput, {
|
|
124
124
|
label: _ctx.referenceLabel,
|
|
125
125
|
disabled: true,
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
"model-value": _ctx.referenceUrl ?? _ctx.uploadUrl,
|
|
127
|
+
"input-slots": {
|
|
128
128
|
append: _ctx.createAppendEl(_ctx.referenceUrl ?? _ctx.uploadUrl)
|
|
129
129
|
}
|
|
130
|
-
}, null, 8, ["label", "
|
|
131
|
-
!_ctx.referenceOnly ? (openBlock(), createBlock(_component_VkfInput, mergeProps({ key: 0 }, _ctx.coreProps,
|
|
130
|
+
}, null, 8, ["label", "model-value", "input-slots"]),
|
|
131
|
+
!_ctx.referenceOnly ? (openBlock(), createBlock(_component_VkfInput, mergeProps({ key: 0 }, _ctx.coreProps, {
|
|
132
132
|
rules: _ctx.rules,
|
|
133
133
|
readonly: _ctx.readonly,
|
|
134
134
|
type: _ctx.readonly ? "text" : _ctx.type,
|
|
135
|
-
|
|
135
|
+
"input-slots": {
|
|
136
136
|
append: _ctx.readonly ? _ctx.createAppendEl(_ctx.modelValue) : void 0
|
|
137
137
|
}
|
|
138
|
-
}), null, 16, ["rules", "readonly", "type", "
|
|
138
|
+
}, toHandlers(_ctx.coreEmits)), null, 16, ["rules", "readonly", "type", "input-slots"])) : createCommentVNode("v-if", true)
|
|
139
139
|
]);
|
|
140
140
|
}
|
|
141
141
|
var VkfInputLink = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/input-link/src/index.vue"]]);
|
|
@@ -86,7 +86,7 @@ export declare const props: {
|
|
|
86
86
|
};
|
|
87
87
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
88
88
|
prop: {
|
|
89
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
89
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
90
90
|
readonly required: false;
|
|
91
91
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
92
92
|
__epPropKey: true;
|
|
@@ -99,7 +99,7 @@ export declare const props: {
|
|
|
99
99
|
};
|
|
100
100
|
error: StringConstructor;
|
|
101
101
|
validateStatus: {
|
|
102
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
102
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
103
103
|
readonly required: false;
|
|
104
104
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
105
105
|
__epPropKey: true;
|
|
@@ -110,19 +110,25 @@ export declare const props: {
|
|
|
110
110
|
ariaLabel: StringConstructor;
|
|
111
111
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
112
112
|
size: {
|
|
113
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
113
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
114
114
|
readonly required: false;
|
|
115
115
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
116
116
|
__epPropKey: true;
|
|
117
117
|
};
|
|
118
118
|
disabled: BooleanConstructor;
|
|
119
119
|
resize: {
|
|
120
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "
|
|
120
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
121
121
|
readonly required: false;
|
|
122
122
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
123
123
|
__epPropKey: true;
|
|
124
124
|
};
|
|
125
|
-
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
125
|
+
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
126
|
+
minRows?: number;
|
|
127
|
+
maxRows?: number;
|
|
128
|
+
}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
129
|
+
minRows?: number;
|
|
130
|
+
maxRows?: number;
|
|
131
|
+
}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
126
132
|
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
127
133
|
formatter: {
|
|
128
134
|
readonly type: import("vue").PropType<Function>;
|
|
@@ -142,17 +148,17 @@ export declare const props: {
|
|
|
142
148
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
143
149
|
__epPropKey: true;
|
|
144
150
|
};
|
|
145
|
-
clearable:
|
|
146
|
-
showPassword:
|
|
147
|
-
showWordLimit:
|
|
151
|
+
clearable: BooleanConstructor;
|
|
152
|
+
showPassword: BooleanConstructor;
|
|
153
|
+
showWordLimit: BooleanConstructor;
|
|
148
154
|
suffixIcon: {
|
|
149
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component
|
|
155
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
150
156
|
readonly required: false;
|
|
151
157
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
152
158
|
__epPropKey: true;
|
|
153
159
|
};
|
|
154
160
|
prefixIcon: {
|
|
155
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component
|
|
161
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
156
162
|
readonly required: false;
|
|
157
163
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
158
164
|
__epPropKey: true;
|
|
@@ -160,8 +166,8 @@ export declare const props: {
|
|
|
160
166
|
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
161
167
|
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
162
168
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
163
|
-
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").
|
|
164
|
-
autofocus:
|
|
169
|
+
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
170
|
+
autofocus: BooleanConstructor;
|
|
165
171
|
};
|
|
166
172
|
export declare const emits: {
|
|
167
173
|
"update:modelValue": (value: string) => boolean;
|
|
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
75
75
|
};
|
|
76
76
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
77
77
|
prop: {
|
|
78
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
78
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
79
79
|
readonly required: false;
|
|
80
80
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
81
81
|
__epPropKey: true;
|
|
@@ -88,7 +88,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
88
88
|
};
|
|
89
89
|
error: StringConstructor;
|
|
90
90
|
validateStatus: {
|
|
91
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
91
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
92
92
|
readonly required: false;
|
|
93
93
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
94
|
__epPropKey: true;
|
|
@@ -99,19 +99,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
99
99
|
ariaLabel: StringConstructor;
|
|
100
100
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
101
101
|
size: {
|
|
102
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
102
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
103
103
|
readonly required: false;
|
|
104
104
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
105
105
|
__epPropKey: true;
|
|
106
106
|
};
|
|
107
107
|
disabled: BooleanConstructor;
|
|
108
108
|
resize: {
|
|
109
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "
|
|
109
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
110
110
|
readonly required: false;
|
|
111
111
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
112
|
__epPropKey: true;
|
|
113
113
|
};
|
|
114
|
-
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
114
|
+
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
115
|
+
minRows?: number;
|
|
116
|
+
maxRows?: number;
|
|
117
|
+
}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
118
|
+
minRows?: number;
|
|
119
|
+
maxRows?: number;
|
|
120
|
+
}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
115
121
|
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
116
122
|
formatter: {
|
|
117
123
|
readonly type: import("vue").PropType<Function>;
|
|
@@ -131,17 +137,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
131
137
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
132
138
|
__epPropKey: true;
|
|
133
139
|
};
|
|
134
|
-
clearable:
|
|
135
|
-
showPassword:
|
|
136
|
-
showWordLimit:
|
|
140
|
+
clearable: BooleanConstructor;
|
|
141
|
+
showPassword: BooleanConstructor;
|
|
142
|
+
showWordLimit: BooleanConstructor;
|
|
137
143
|
suffixIcon: {
|
|
138
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component
|
|
144
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
139
145
|
readonly required: false;
|
|
140
146
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
141
147
|
__epPropKey: true;
|
|
142
148
|
};
|
|
143
149
|
prefixIcon: {
|
|
144
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component
|
|
150
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
145
151
|
readonly required: false;
|
|
146
152
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
147
153
|
__epPropKey: true;
|
|
@@ -149,8 +155,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
149
155
|
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
150
156
|
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
151
157
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
152
|
-
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").
|
|
153
|
-
autofocus:
|
|
158
|
+
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
159
|
+
autofocus: BooleanConstructor;
|
|
154
160
|
}>, {
|
|
155
161
|
coreProps: import("vue").ComputedRef<{}>;
|
|
156
162
|
coreEmits: {};
|
|
@@ -248,7 +254,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
248
254
|
};
|
|
249
255
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
250
256
|
prop: {
|
|
251
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
257
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
252
258
|
readonly required: false;
|
|
253
259
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
254
260
|
__epPropKey: true;
|
|
@@ -261,7 +267,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
261
267
|
};
|
|
262
268
|
error: StringConstructor;
|
|
263
269
|
validateStatus: {
|
|
264
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
270
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
265
271
|
readonly required: false;
|
|
266
272
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
267
273
|
__epPropKey: true;
|
|
@@ -272,19 +278,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
272
278
|
ariaLabel: StringConstructor;
|
|
273
279
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
274
280
|
size: {
|
|
275
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
281
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
276
282
|
readonly required: false;
|
|
277
283
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
278
284
|
__epPropKey: true;
|
|
279
285
|
};
|
|
280
286
|
disabled: BooleanConstructor;
|
|
281
287
|
resize: {
|
|
282
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "
|
|
288
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
283
289
|
readonly required: false;
|
|
284
290
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
285
291
|
__epPropKey: true;
|
|
286
292
|
};
|
|
287
|
-
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
293
|
+
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
294
|
+
minRows?: number;
|
|
295
|
+
maxRows?: number;
|
|
296
|
+
}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
297
|
+
minRows?: number;
|
|
298
|
+
maxRows?: number;
|
|
299
|
+
}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
288
300
|
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
289
301
|
formatter: {
|
|
290
302
|
readonly type: import("vue").PropType<Function>;
|
|
@@ -304,17 +316,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
304
316
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
305
317
|
__epPropKey: true;
|
|
306
318
|
};
|
|
307
|
-
clearable:
|
|
308
|
-
showPassword:
|
|
309
|
-
showWordLimit:
|
|
319
|
+
clearable: BooleanConstructor;
|
|
320
|
+
showPassword: BooleanConstructor;
|
|
321
|
+
showWordLimit: BooleanConstructor;
|
|
310
322
|
suffixIcon: {
|
|
311
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component
|
|
323
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
312
324
|
readonly required: false;
|
|
313
325
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
314
326
|
__epPropKey: true;
|
|
315
327
|
};
|
|
316
328
|
prefixIcon: {
|
|
317
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component
|
|
329
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
318
330
|
readonly required: false;
|
|
319
331
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
320
332
|
__epPropKey: true;
|
|
@@ -322,16 +334,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
322
334
|
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
323
335
|
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
324
336
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
325
|
-
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").
|
|
326
|
-
autofocus:
|
|
337
|
+
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
338
|
+
autofocus: BooleanConstructor;
|
|
327
339
|
}>> & Readonly<{
|
|
328
340
|
onClear?: () => any;
|
|
329
341
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
330
|
-
onInput?: (value: string) => any;
|
|
331
342
|
onChange?: (value: string) => any;
|
|
332
343
|
onFocus?: (evt: FocusEvent) => any;
|
|
333
344
|
onBlur?: (evt: FocusEvent) => any;
|
|
334
345
|
onKeydown?: (evt: Event | KeyboardEvent) => any;
|
|
346
|
+
onInput?: (value: string) => any;
|
|
335
347
|
onCompositionend?: (evt: CompositionEvent) => any;
|
|
336
348
|
onCompositionstart?: (evt: CompositionEvent) => any;
|
|
337
349
|
onCompositionupdate?: (evt: CompositionEvent) => any;
|
|
@@ -340,9 +352,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
340
352
|
}>, {
|
|
341
353
|
disabled: boolean;
|
|
342
354
|
type: string;
|
|
343
|
-
autofocus:
|
|
355
|
+
autofocus: boolean;
|
|
344
356
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
345
|
-
formItemSize: "
|
|
357
|
+
formItemSize: "small" | "default" | "large";
|
|
346
358
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
347
359
|
inline: boolean;
|
|
348
360
|
readonly: boolean;
|
|
@@ -353,18 +365,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
353
365
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
354
366
|
id: string;
|
|
355
367
|
placeholder: string;
|
|
356
|
-
clearable:
|
|
368
|
+
clearable: boolean;
|
|
357
369
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
358
370
|
modelValue: string;
|
|
359
371
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
360
372
|
autosize: false;
|
|
361
373
|
autocomplete: string;
|
|
362
|
-
showPassword:
|
|
363
|
-
showWordLimit:
|
|
374
|
+
showPassword: boolean;
|
|
375
|
+
showWordLimit: boolean;
|
|
364
376
|
containerRole: string;
|
|
365
377
|
inputStyle: import("vue").StyleValue;
|
|
366
|
-
inputSlots: import("@vunk/form/components/input/src/types").InputSlots;
|
|
367
378
|
rows: number;
|
|
379
|
+
inputSlots: import("@vunk/form/components/input/src/types").InputSlots;
|
|
368
380
|
uploadUrl: string;
|
|
369
381
|
referenceUrl: string;
|
|
370
382
|
referenceOnly: boolean;
|
|
@@ -34,10 +34,10 @@ var _sfc_main = vue.defineComponent({
|
|
|
34
34
|
VkfFormItem: formItem.VkfFormItem,
|
|
35
35
|
ElInputNumber: elementPlus.ElInputNumber
|
|
36
36
|
},
|
|
37
|
-
emits,
|
|
38
37
|
props,
|
|
38
|
+
emits,
|
|
39
39
|
setup(props2, { emit }) {
|
|
40
|
-
const iBindProps = elementPlus$1.createInputNumberBindProps(props2, ["disabled", "readonly"
|
|
40
|
+
const iBindProps = elementPlus$1.createInputNumberBindProps(props2, ["disabled", "readonly"]);
|
|
41
41
|
const iOnEmits = elementPlus$1.createInputNumberOnEmits(emit);
|
|
42
42
|
const formItemBindProps = formItem._VkfFormItemCtx.createBindProps(props2);
|
|
43
43
|
const readonly = composables.useComputedReadonly(props2);
|
|
@@ -66,10 +66,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
66
66
|
class: {
|
|
67
67
|
"is-readonly": _ctx.readonly
|
|
68
68
|
}
|
|
69
|
-
}, _ctx.iBindProps,
|
|
69
|
+
}, _ctx.iBindProps, {
|
|
70
70
|
readonly: _ctx.readonly,
|
|
71
71
|
disabled: _ctx.readonly || _ctx.disabled
|
|
72
|
-
}), null, 16, ["class", "readonly", "disabled"]),
|
|
72
|
+
}, vue.toHandlers(_ctx.iOnEmits)), null, 16, ["class", "readonly", "disabled"]),
|
|
73
73
|
_ctx.unit ? (vue.openBlock(), vue.createElementBlock(
|
|
74
74
|
"span",
|
|
75
75
|
_hoisted_1,
|
|
@@ -30,10 +30,10 @@ var _sfc_main = defineComponent({
|
|
|
30
30
|
VkfFormItem,
|
|
31
31
|
ElInputNumber
|
|
32
32
|
},
|
|
33
|
-
emits,
|
|
34
33
|
props,
|
|
34
|
+
emits,
|
|
35
35
|
setup(props2, { emit }) {
|
|
36
|
-
const iBindProps = createInputNumberBindProps(props2, ["disabled", "readonly"
|
|
36
|
+
const iBindProps = createInputNumberBindProps(props2, ["disabled", "readonly"]);
|
|
37
37
|
const iOnEmits = createInputNumberOnEmits(emit);
|
|
38
38
|
const formItemBindProps = _VkfFormItemCtx.createBindProps(props2);
|
|
39
39
|
const readonly = useComputedReadonly(props2);
|
|
@@ -62,10 +62,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62
62
|
class: {
|
|
63
63
|
"is-readonly": _ctx.readonly
|
|
64
64
|
}
|
|
65
|
-
}, _ctx.iBindProps,
|
|
65
|
+
}, _ctx.iBindProps, {
|
|
66
66
|
readonly: _ctx.readonly,
|
|
67
67
|
disabled: _ctx.readonly || _ctx.disabled
|
|
68
|
-
}), null, 16, ["class", "readonly", "disabled"]),
|
|
68
|
+
}, toHandlers(_ctx.iOnEmits)), null, 16, ["class", "readonly", "disabled"]),
|
|
69
69
|
_ctx.unit ? (openBlock(), createElementBlock(
|
|
70
70
|
"span",
|
|
71
71
|
_hoisted_1,
|
|
@@ -16,7 +16,7 @@ export declare const props: {
|
|
|
16
16
|
modelValue: NumberConstructor;
|
|
17
17
|
disabled: BooleanConstructor;
|
|
18
18
|
size: {
|
|
19
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
19
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
20
20
|
readonly required: false;
|
|
21
21
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
22
|
__epPropKey: true;
|
|
@@ -25,7 +25,6 @@ export declare const props: {
|
|
|
25
25
|
controlsPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "right", unknown, "", boolean>;
|
|
26
26
|
valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, null], unknown, unknown, null, boolean>;
|
|
27
27
|
name: StringConstructor;
|
|
28
|
-
label: StringConstructor;
|
|
29
28
|
placeholder: StringConstructor;
|
|
30
29
|
precision: {
|
|
31
30
|
readonly type: import("vue").PropType<number>;
|
|
@@ -55,9 +54,10 @@ export declare const props: {
|
|
|
55
54
|
type: import("vue").PropType<"right">;
|
|
56
55
|
default: string;
|
|
57
56
|
};
|
|
57
|
+
label: StringConstructor;
|
|
58
58
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
59
59
|
prop: {
|
|
60
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
60
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
61
61
|
readonly required: false;
|
|
62
62
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
63
63
|
__epPropKey: true;
|
|
@@ -70,7 +70,7 @@ export declare const props: {
|
|
|
70
70
|
};
|
|
71
71
|
error: StringConstructor;
|
|
72
72
|
validateStatus: {
|
|
73
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
73
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
74
74
|
readonly required: false;
|
|
75
75
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
76
|
__epPropKey: true;
|
|
@@ -79,7 +79,7 @@ export declare const props: {
|
|
|
79
79
|
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
80
80
|
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
81
81
|
};
|
|
82
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"required", keyof T2> | Extract<"name", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"id", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"
|
|
82
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"required", keyof T2> | Extract<"name", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"id", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"step", keyof T2> | Extract<"controls", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"precision", keyof T2> | Extract<"unit", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "required" | "name" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "labelPosition" | "label" | "labelWidth" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "min" | "max" | "id" | "valueOnClear" | "placeholder" | "validateEvent" | "modelValue" | "ariaLabel" | "step" | "controls" | "stepStrictly" | "controlsPosition" | "precision" | "unit", keyof T2>, KE> : Extract<"size" | "disabled" | "required" | "name" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "labelPosition" | "label" | "labelWidth" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "min" | "max" | "id" | "valueOnClear" | "placeholder" | "validateEvent" | "modelValue" | "ariaLabel" | "step" | "controls" | "stepStrictly" | "controlsPosition" | "precision" | "unit", keyof T2>]: { [k in Extract<"size" | "disabled" | "required" | "name" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "labelPosition" | "label" | "labelWidth" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "min" | "max" | "id" | "valueOnClear" | "placeholder" | "validateEvent" | "modelValue" | "ariaLabel" | "step" | "controls" | "stepStrictly" | "controlsPosition" | "precision" | "unit", keyof T2>]: T2[k]; }[P]; }>;
|
|
83
83
|
export declare const emits: {
|
|
84
84
|
change: (cur: number | undefined, prev: number | undefined) => boolean;
|
|
85
85
|
blur: (e: FocusEvent) => boolean;
|
|
@@ -87,4 +87,4 @@ export declare const emits: {
|
|
|
87
87
|
input: (val: number | null | undefined) => boolean;
|
|
88
88
|
"update:modelValue": (val: number | undefined) => boolean;
|
|
89
89
|
};
|
|
90
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "
|
|
90
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "input")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "change" | "focus" | "blur" | "input", KE> : "update:modelValue" | "change" | "focus" | "blur" | "input"]: { [k in "update:modelValue" | "change" | "focus" | "blur" | "input"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|