@vunk/form 1.4.5 → 1.4.7
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/index.d.ts +4 -0
- package/components/button/src/ctx.d.ts +96 -0
- package/components/button/src/index.vue.d.ts +462 -0
- package/components/button/src/types.d.ts +13 -0
- package/components/cascader/index.d.ts +6 -0
- package/components/cascader/src/ctx.d.ts +131 -0
- package/components/cascader/src/index.vue.d.ts +334 -0
- package/components/cascader/src/types.d.ts +7 -0
- package/components/cascader/src/use.d.ts +5 -0
- package/components/checkbox/index.cjs +4 -4
- package/components/checkbox/index.d.ts +5 -0
- package/components/checkbox/index.mjs +4 -4
- package/components/checkbox/src/ctx.d.ts +89 -0
- package/components/checkbox/src/index.vue.d.ts +1114 -0
- package/components/checkbox/src/types.d.ts +8 -0
- package/components/color-picker/index.cjs +1 -1
- package/components/color-picker/index.d.ts +4 -0
- package/components/color-picker/index.mjs +1 -1
- package/components/color-picker/src/ctx.d.ts +80 -0
- package/components/color-picker/src/index.vue.d.ts +191 -0
- package/components/color-picker/src/types.d.ts +7 -0
- package/components/date-picker/index.cjs +1 -2
- package/components/date-picker/index.d.ts +5 -0
- package/components/date-picker/index.mjs +1 -2
- package/components/date-picker/src/ctx.d.ts +166 -0
- package/components/date-picker/src/index.vue.d.ts +626 -0
- package/components/date-picker/src/types.d.ts +20 -0
- package/components/date-picker-range/index.d.ts +4 -0
- package/components/date-picker-range/src/ctx.d.ts +185 -0
- package/components/date-picker-range/src/index.vue.d.ts +428 -0
- package/components/date-picker-range/src/types.d.ts +12 -0
- package/components/download-plus/index.d.ts +4 -0
- package/components/download-plus/src/api.d.ts +13 -0
- package/components/download-plus/src/const.d.ts +9 -0
- package/components/download-plus/src/ctx.d.ts +84 -0
- package/components/download-plus/src/index.vue.d.ts +955 -0
- package/components/download-plus/src/types.d.ts +17 -0
- package/components/esri-input-geojson/index.d.ts +6 -0
- package/components/esri-input-geojson/src/append.vue.d.ts +828 -0
- package/components/esri-input-geojson/src/const.d.ts +12 -0
- package/components/esri-input-geojson/src/ctx.d.ts +229 -0
- package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +1261 -0
- package/components/esri-input-geojson/src/types.d.ts +22 -0
- package/components/esri-input-geojson/src/viewer.vue.d.ts +427 -0
- package/components/form/index.d.ts +5 -0
- package/components/form/src/ctx.d.ts +84 -0
- package/components/form/src/index.vue.d.ts +726 -0
- package/components/form/src/types.d.ts +12 -0
- package/components/form/src/utils.d.ts +15 -0
- package/components/form-item/index.d.ts +5 -0
- package/components/form-item/src/ctx.d.ts +62 -0
- package/components/form-item/src/index.vue.d.ts +303 -0
- package/components/form-item/src/types.d.ts +6 -0
- package/components/form-item-renderer/index.d.ts +5 -0
- package/components/form-item-renderer/src/ctx.d.ts +16 -0
- package/components/form-item-renderer/src/index.vue.d.ts +38 -0
- package/components/form-item-renderer/src/symbols.d.ts +3 -0
- package/components/form-item-renderer/src/types.d.ts +8 -0
- package/components/form-item-renderer-template/index.d.ts +4 -0
- package/components/form-item-renderer-template/src/ctx.d.ts +7 -0
- package/components/form-item-renderer-template/src/index.vue.d.ts +16 -0
- package/components/form-item-renderer-template/src/types.d.ts +1 -0
- package/components/geoinput/index.d.ts +4 -0
- package/components/geoinput/src/ctx.d.ts +234 -0
- package/components/geoinput/src/index.vue.d.ts +531 -0
- package/components/geoinput/src/types.d.ts +12 -0
- package/components/geoinput-read/index.d.ts +5 -0
- package/components/geoinput-read/src/append.vue.d.ts +341 -0
- package/components/geoinput-read/src/core.vue.d.ts +649 -0
- package/components/geoinput-read/src/ctx.d.ts +205 -0
- package/components/geoinput-read/src/index.vue.d.ts +1186 -0
- package/components/geoinput-read/src/types.d.ts +3 -0
- package/components/geoinput-update/index.d.ts +5 -0
- package/components/geoinput-update/src/append.vue.d.ts +815 -0
- package/components/geoinput-update/src/ctx.d.ts +213 -0
- package/components/geoinput-update/src/index.vue.d.ts +1125 -0
- package/components/geoinput-update/src/types.d.ts +6 -0
- package/components/input/index.cjs +3 -3
- package/components/input/index.d.ts +5 -0
- package/components/input/index.mjs +3 -3
- package/components/input/src/ctx.d.ts +154 -0
- package/components/input/src/index.vue.d.ts +792 -0
- package/components/input/src/types.d.ts +13 -0
- package/components/input-collection/index.d.ts +4 -0
- package/components/input-collection/src/ctx.d.ts +72 -0
- package/components/input-collection/src/index.vue.d.ts +1093 -0
- package/components/input-collection/src/types.d.ts +19 -0
- package/components/input-link/index.d.ts +4 -0
- package/components/input-link/src/ctx.d.ts +185 -0
- package/components/input-link/src/index.vue.d.ts +397 -0
- package/components/input-link/src/types.d.ts +7 -0
- package/components/input-number/index.cjs +4 -4
- package/components/input-number/index.d.ts +4 -0
- package/components/input-number/index.mjs +4 -4
- package/components/input-number/src/ctx.d.ts +90 -0
- package/components/input-number/src/index.vue.d.ts +407 -0
- package/components/input-number/src/types.d.ts +8 -0
- package/components/monaco-editor/index.d.ts +4 -0
- package/components/monaco-editor/src/ctx.d.ts +70 -0
- package/components/monaco-editor/src/index.vue.d.ts +209 -0
- package/components/monaco-editor/src/types.d.ts +7 -0
- package/components/radio/index.cjs +1 -1
- package/components/radio/index.d.ts +4 -0
- package/components/radio/index.mjs +1 -1
- package/components/radio/src/ctx.d.ts +82 -0
- package/components/radio/src/index.vue.d.ts +643 -0
- package/components/radio/src/types.d.ts +8 -0
- package/components/select/index.d.ts +4 -0
- package/components/select/src/ctx.d.ts +156 -0
- package/components/select/src/index.vue.d.ts +561 -0
- package/components/select/src/types.d.ts +11 -0
- package/components/slider/index.d.ts +4 -0
- package/components/slider/src/ctx.d.ts +127 -0
- package/components/slider/src/index.vue.d.ts +339 -0
- package/components/slider/src/types.d.ts +7 -0
- package/components/switch/index.cjs +6 -7
- package/components/switch/index.d.ts +4 -0
- package/components/switch/index.mjs +6 -7
- package/components/switch/src/ctx.d.ts +114 -0
- package/components/switch/src/index.vue.d.ts +535 -0
- package/components/switch/src/types.d.ts +8 -0
- package/components/template-instances-provider/index.d.ts +3 -0
- package/components/template-instances-provider/src/index.vue.d.ts +4 -0
- package/components/templates-default/index.d.ts +4 -0
- package/components/templates-default/src/ctx.d.ts +19 -0
- package/components/templates-default/src/index.vue.d.ts +178 -0
- package/components/templates-default/src/types.d.ts +53 -0
- package/components/templates-element-plus/index.d.ts +4 -0
- package/components/templates-element-plus/src/ctx.d.ts +9 -0
- package/components/templates-element-plus/src/index.vue.d.ts +154 -0
- package/components/templates-element-plus/src/types.d.ts +13 -0
- package/components/templates-esri/index.d.ts +4 -0
- package/components/templates-esri/src/ctx.d.ts +11 -0
- package/components/templates-esri/src/index.vue.d.ts +43 -0
- package/components/templates-esri/src/types.d.ts +2 -0
- package/components/templates-layout/index.d.ts +4 -0
- package/components/templates-layout/src/ctx.d.ts +9 -0
- package/components/templates-layout/src/index.vue.d.ts +173 -0
- package/components/templates-layout/src/types.d.ts +32 -0
- package/components/templates-mapbox/index.d.ts +4 -0
- package/components/templates-mapbox/src/ctx.d.ts +11 -0
- package/components/templates-mapbox/src/index.vue.d.ts +43 -0
- package/components/templates-mapbox/src/types.d.ts +3 -0
- package/components/templates-variant/index.d.ts +4 -0
- package/components/templates-variant/src/ctx.d.ts +11 -0
- package/components/templates-variant/src/index.vue.d.ts +43 -0
- package/components/templates-variant/src/types.d.ts +2 -0
- package/components/upload/index.d.ts +5 -0
- package/components/upload/src/ctx.d.ts +180 -0
- package/components/upload/src/file.vue.d.ts +306 -0
- package/components/upload/src/index.vue.d.ts +1282 -0
- package/components/upload/src/types.d.ts +12 -0
- package/components/upload-plus/index.d.ts +6 -0
- package/components/upload-plus/src/api.d.ts +38 -0
- package/components/upload-plus/src/const.d.ts +9 -0
- package/components/upload-plus/src/ctx.d.ts +103 -0
- package/components/upload-plus/src/index.vue.d.ts +1005 -0
- package/components/upload-plus/src/types.d.ts +32 -0
- package/components/van-cascader/index.d.ts +4 -0
- package/components/van-cascader/src/ctx.d.ts +129 -0
- package/components/van-cascader/src/index.vue.d.ts +3324 -0
- package/components/van-cascader/src/types.d.ts +1 -0
- package/components/var-datetime-picker/index.d.ts +4 -0
- package/components/var-datetime-picker/src/const.d.ts +10 -0
- package/components/var-datetime-picker/src/ctx.d.ts +67 -0
- package/components/var-datetime-picker/src/index.vue.d.ts +716 -0
- package/components/var-datetime-picker/src/types.d.ts +22 -0
- package/components/vditor/index.d.ts +4 -0
- package/components/vditor/src/ctx.d.ts +77 -0
- package/components/vditor/src/index.vue.d.ts +324 -0
- package/components/vditor/src/types.d.ts +7 -0
- package/package.json +1 -1
- package/shared/const/index.d.ts +4 -0
- package/shared/element-plus/ctx.d.ts +26 -0
- package/shared/element-plus/index.d.ts +3 -0
- package/shared/element-plus/instances.d.ts +202 -0
- package/shared/element-plus/version.d.ts +1 -0
- package/shared/form/index.d.ts +18 -0
- package/shared/helper/index.d.ts +4 -0
- package/shared/index.d.ts +2 -0
- package/shared/infer-prop/index.d.ts +17 -0
- package/shared/progress-it/index.d.ts +16 -0
- package/shared/rules/index.d.ts +35 -0
- package/shared/types/form/checkbox.d.ts +13 -0
- package/shared/types/form/index.d.ts +2 -0
- package/shared/types/form/radio.d.ts +8 -0
- package/shared/types/index.d.ts +2 -0
- package/shared/types/source/index.d.ts +21 -0
- package/shared/types/source-manager/index.d.ts +6 -0
- package/shared/upload/index.d.ts +7 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DatePickType } from 'element-plus';
|
|
2
|
+
import { VarDatePickerType } from './const';
|
|
3
|
+
import { VueComponentPropsType } from '@vunk/core';
|
|
4
|
+
import { BasicSource } from '@vunk/form';
|
|
5
|
+
import type CoreVue from './index.vue';
|
|
6
|
+
export interface VarDatePickerTypeMedia {
|
|
7
|
+
label: string;
|
|
8
|
+
value: VarDatePickerType;
|
|
9
|
+
format: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ElDatePickerTypeMedia {
|
|
12
|
+
label: string;
|
|
13
|
+
value: DatePickType;
|
|
14
|
+
varDatePickerType: VarDatePickerType;
|
|
15
|
+
isRange?: boolean;
|
|
16
|
+
hasTime?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface Source<P extends string = string> extends VueComponentPropsType<typeof CoreVue>, BasicSource {
|
|
19
|
+
prop?: P | P[];
|
|
20
|
+
templateType: 'VkfVarDatetimePicker';
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export declare const props: {
|
|
2
|
+
readonly: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: any;
|
|
5
|
+
};
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
defaultOptions: {
|
|
11
|
+
type: import("vue").PropType<IOptions>;
|
|
12
|
+
default: () => IOptions;
|
|
13
|
+
};
|
|
14
|
+
placeholder: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
toolbar: {
|
|
19
|
+
type: import("vue").PropType<string[]>;
|
|
20
|
+
default: () => string[];
|
|
21
|
+
};
|
|
22
|
+
fullscreen: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
27
|
+
formItemSize: {
|
|
28
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
29
|
+
default: "default" | "small" | "large";
|
|
30
|
+
};
|
|
31
|
+
formItemSlots: {
|
|
32
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
33
|
+
default: any;
|
|
34
|
+
};
|
|
35
|
+
elRef: {
|
|
36
|
+
type: import("vue").PropType<any>;
|
|
37
|
+
required: boolean;
|
|
38
|
+
};
|
|
39
|
+
inline: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
labelPosition: {
|
|
44
|
+
type: import("vue").PropType<"right">;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
label: StringConstructor;
|
|
48
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
49
|
+
prop: {
|
|
50
|
+
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>>;
|
|
51
|
+
readonly required: false;
|
|
52
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
|
+
__epPropKey: true;
|
|
54
|
+
};
|
|
55
|
+
rules: {
|
|
56
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
57
|
+
readonly required: false;
|
|
58
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
|
+
__epPropKey: true;
|
|
60
|
+
};
|
|
61
|
+
error: StringConstructor;
|
|
62
|
+
validateStatus: {
|
|
63
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
64
|
+
readonly required: false;
|
|
65
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
|
+
__epPropKey: true;
|
|
67
|
+
};
|
|
68
|
+
for: StringConstructor;
|
|
69
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
70
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
71
|
+
};
|
|
72
|
+
export declare const emits: {
|
|
73
|
+
load: (e: import("vditor").default) => import("vditor").default;
|
|
74
|
+
'update:modelValue': (e: string) => string;
|
|
75
|
+
ctrlEnter: (e: string) => string;
|
|
76
|
+
'update:fullscreen': (e: boolean) => boolean;
|
|
77
|
+
};
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
readonly: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: any;
|
|
5
|
+
};
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
defaultOptions: {
|
|
11
|
+
type: import("vue").PropType<IOptions>;
|
|
12
|
+
default: () => IOptions;
|
|
13
|
+
};
|
|
14
|
+
placeholder: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
toolbar: {
|
|
19
|
+
type: import("vue").PropType<string[]>;
|
|
20
|
+
default: () => string[];
|
|
21
|
+
};
|
|
22
|
+
fullscreen: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
27
|
+
formItemSize: {
|
|
28
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
29
|
+
default: "default" | "small" | "large";
|
|
30
|
+
};
|
|
31
|
+
formItemSlots: {
|
|
32
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
33
|
+
default: any;
|
|
34
|
+
};
|
|
35
|
+
elRef: {
|
|
36
|
+
type: import("vue").PropType<any>;
|
|
37
|
+
required: boolean;
|
|
38
|
+
};
|
|
39
|
+
inline: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
labelPosition: {
|
|
44
|
+
type: import("vue").PropType<"right">;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
label: StringConstructor;
|
|
48
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
49
|
+
prop: {
|
|
50
|
+
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>>;
|
|
51
|
+
readonly required: false;
|
|
52
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
|
+
__epPropKey: true;
|
|
54
|
+
};
|
|
55
|
+
rules: {
|
|
56
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
57
|
+
readonly required: false;
|
|
58
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
|
+
__epPropKey: true;
|
|
60
|
+
};
|
|
61
|
+
error: StringConstructor;
|
|
62
|
+
validateStatus: {
|
|
63
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
64
|
+
readonly required: false;
|
|
65
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
|
+
__epPropKey: true;
|
|
67
|
+
};
|
|
68
|
+
for: StringConstructor;
|
|
69
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
70
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
71
|
+
}>, {
|
|
72
|
+
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
73
|
+
coreProps: import("vue").ComputedRef<{}>;
|
|
74
|
+
coreEmits: {};
|
|
75
|
+
readonly: import("vue").ComputedRef<boolean>;
|
|
76
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
77
|
+
load: (e: import("vditor").default) => import("vditor").default;
|
|
78
|
+
'update:modelValue': (e: string) => string;
|
|
79
|
+
ctrlEnter: (e: string) => string;
|
|
80
|
+
'update:fullscreen': (e: boolean) => boolean;
|
|
81
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
82
|
+
readonly: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: any;
|
|
85
|
+
};
|
|
86
|
+
modelValue: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
defaultOptions: {
|
|
91
|
+
type: import("vue").PropType<IOptions>;
|
|
92
|
+
default: () => IOptions;
|
|
93
|
+
};
|
|
94
|
+
placeholder: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
toolbar: {
|
|
99
|
+
type: import("vue").PropType<string[]>;
|
|
100
|
+
default: () => string[];
|
|
101
|
+
};
|
|
102
|
+
fullscreen: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
107
|
+
formItemSize: {
|
|
108
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
109
|
+
default: "default" | "small" | "large";
|
|
110
|
+
};
|
|
111
|
+
formItemSlots: {
|
|
112
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
113
|
+
default: any;
|
|
114
|
+
};
|
|
115
|
+
elRef: {
|
|
116
|
+
type: import("vue").PropType<any>;
|
|
117
|
+
required: boolean;
|
|
118
|
+
};
|
|
119
|
+
inline: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
labelPosition: {
|
|
124
|
+
type: import("vue").PropType<"right">;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
label: StringConstructor;
|
|
128
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
129
|
+
prop: {
|
|
130
|
+
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>>;
|
|
131
|
+
readonly required: false;
|
|
132
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
133
|
+
__epPropKey: true;
|
|
134
|
+
};
|
|
135
|
+
rules: {
|
|
136
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
137
|
+
readonly required: false;
|
|
138
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
139
|
+
__epPropKey: true;
|
|
140
|
+
};
|
|
141
|
+
error: StringConstructor;
|
|
142
|
+
validateStatus: {
|
|
143
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
144
|
+
readonly required: false;
|
|
145
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
146
|
+
__epPropKey: true;
|
|
147
|
+
};
|
|
148
|
+
for: StringConstructor;
|
|
149
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
150
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
151
|
+
}>> & Readonly<{
|
|
152
|
+
"onUpdate:modelValue"?: (e: string) => any;
|
|
153
|
+
onLoad?: (e: import("vditor").default) => any;
|
|
154
|
+
onCtrlEnter?: (e: string) => any;
|
|
155
|
+
"onUpdate:fullscreen"?: (e: boolean) => any;
|
|
156
|
+
}>, {
|
|
157
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
158
|
+
formItemSize: "small" | "default" | "large";
|
|
159
|
+
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
160
|
+
inline: boolean;
|
|
161
|
+
readonly: boolean;
|
|
162
|
+
labelPosition: "right";
|
|
163
|
+
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
164
|
+
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
165
|
+
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
166
|
+
placeholder: string;
|
|
167
|
+
modelValue: string;
|
|
168
|
+
defaultOptions: IOptions;
|
|
169
|
+
fullscreen: boolean;
|
|
170
|
+
toolbar: string[];
|
|
171
|
+
}, {}, {
|
|
172
|
+
VkfFormItem: {
|
|
173
|
+
new (...args: any[]): any;
|
|
174
|
+
__isFragment?: never;
|
|
175
|
+
__isTeleport?: never;
|
|
176
|
+
__isSuspense?: never;
|
|
177
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
178
|
+
[x: string]: any;
|
|
179
|
+
[x: symbol]: any;
|
|
180
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
181
|
+
install(app: import("vue").App): void;
|
|
182
|
+
};
|
|
183
|
+
VkVditor: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
184
|
+
modelValue: {
|
|
185
|
+
type: StringConstructor;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
188
|
+
defaultOptions: {
|
|
189
|
+
type: import("vue").PropType<IOptions>;
|
|
190
|
+
default: () => IOptions;
|
|
191
|
+
};
|
|
192
|
+
placeholder: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
default: string;
|
|
195
|
+
};
|
|
196
|
+
toolbar: {
|
|
197
|
+
type: import("vue").PropType<string[]>;
|
|
198
|
+
default: () => string[];
|
|
199
|
+
};
|
|
200
|
+
fullscreen: {
|
|
201
|
+
type: BooleanConstructor;
|
|
202
|
+
default: boolean;
|
|
203
|
+
};
|
|
204
|
+
}>, {
|
|
205
|
+
vditorNode: import("vue").Ref<HTMLDivElement, HTMLDivElement>;
|
|
206
|
+
isTextareaFocus: import("vue").Ref<boolean, boolean>;
|
|
207
|
+
ready: import("vue").Ref<boolean, boolean>;
|
|
208
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
209
|
+
load: (e: import("vditor").default) => import("vditor").default;
|
|
210
|
+
'update:modelValue': (e: string) => string;
|
|
211
|
+
ctrlEnter: (e: string) => string;
|
|
212
|
+
'update:fullscreen': (e: boolean) => boolean;
|
|
213
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
214
|
+
modelValue: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
default: string;
|
|
217
|
+
};
|
|
218
|
+
defaultOptions: {
|
|
219
|
+
type: import("vue").PropType<IOptions>;
|
|
220
|
+
default: () => IOptions;
|
|
221
|
+
};
|
|
222
|
+
placeholder: {
|
|
223
|
+
type: StringConstructor;
|
|
224
|
+
default: string;
|
|
225
|
+
};
|
|
226
|
+
toolbar: {
|
|
227
|
+
type: import("vue").PropType<string[]>;
|
|
228
|
+
default: () => string[];
|
|
229
|
+
};
|
|
230
|
+
fullscreen: {
|
|
231
|
+
type: BooleanConstructor;
|
|
232
|
+
default: boolean;
|
|
233
|
+
};
|
|
234
|
+
}>> & Readonly<{
|
|
235
|
+
onLoad?: (e: import("vditor").default) => any;
|
|
236
|
+
"onUpdate:modelValue"?: (e: string) => any;
|
|
237
|
+
"onUpdate:fullscreen"?: (e: boolean) => any;
|
|
238
|
+
onCtrlEnter?: (e: string) => any;
|
|
239
|
+
}>, {
|
|
240
|
+
modelValue: string;
|
|
241
|
+
defaultOptions: IOptions;
|
|
242
|
+
placeholder: string;
|
|
243
|
+
toolbar: string[];
|
|
244
|
+
fullscreen: boolean;
|
|
245
|
+
}, {}, {
|
|
246
|
+
HandleValue: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
247
|
+
modelValue: {
|
|
248
|
+
type: StringConstructor;
|
|
249
|
+
default: string;
|
|
250
|
+
};
|
|
251
|
+
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
252
|
+
"update:modelValue": any;
|
|
253
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
254
|
+
modelValue: {
|
|
255
|
+
type: StringConstructor;
|
|
256
|
+
default: string;
|
|
257
|
+
};
|
|
258
|
+
}>> & Readonly<{
|
|
259
|
+
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
260
|
+
}>, {
|
|
261
|
+
modelValue: string;
|
|
262
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
263
|
+
HandleFullscreen: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
264
|
+
fullscreen: {
|
|
265
|
+
type: BooleanConstructor;
|
|
266
|
+
default: boolean;
|
|
267
|
+
};
|
|
268
|
+
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
269
|
+
"update:fullscreen": any;
|
|
270
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
271
|
+
fullscreen: {
|
|
272
|
+
type: BooleanConstructor;
|
|
273
|
+
default: boolean;
|
|
274
|
+
};
|
|
275
|
+
}>> & Readonly<{
|
|
276
|
+
"onUpdate:fullscreen"?: (...args: any[] | unknown[]) => any;
|
|
277
|
+
}>, {
|
|
278
|
+
fullscreen: boolean;
|
|
279
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
280
|
+
VkAsyncTeleport: import("vue").DefineComponent<{
|
|
281
|
+
to: {
|
|
282
|
+
type: import("vue").PropType<string | import("vue").RendererElement>;
|
|
283
|
+
default: any;
|
|
284
|
+
};
|
|
285
|
+
sleep: {
|
|
286
|
+
type: NumberConstructor;
|
|
287
|
+
default: number;
|
|
288
|
+
};
|
|
289
|
+
await: {
|
|
290
|
+
type: PromiseConstructor;
|
|
291
|
+
default: any;
|
|
292
|
+
};
|
|
293
|
+
teleport: {
|
|
294
|
+
type: BooleanConstructor;
|
|
295
|
+
default: boolean;
|
|
296
|
+
};
|
|
297
|
+
}, {
|
|
298
|
+
ready: import("vue").Ref<boolean, boolean>;
|
|
299
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
300
|
+
to: {
|
|
301
|
+
type: import("vue").PropType<string | import("vue").RendererElement>;
|
|
302
|
+
default: any;
|
|
303
|
+
};
|
|
304
|
+
sleep: {
|
|
305
|
+
type: NumberConstructor;
|
|
306
|
+
default: number;
|
|
307
|
+
};
|
|
308
|
+
await: {
|
|
309
|
+
type: PromiseConstructor;
|
|
310
|
+
default: any;
|
|
311
|
+
};
|
|
312
|
+
teleport: {
|
|
313
|
+
type: BooleanConstructor;
|
|
314
|
+
default: boolean;
|
|
315
|
+
};
|
|
316
|
+
}>>, {
|
|
317
|
+
to: any;
|
|
318
|
+
sleep: number;
|
|
319
|
+
await: Promise<unknown>;
|
|
320
|
+
teleport: boolean;
|
|
321
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
322
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
323
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
324
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VueComponentPropsType } from '@vunk/shared';
|
|
2
|
+
import Core from './index.vue';
|
|
3
|
+
import { BasicSource } from '@vunk/form/shared';
|
|
4
|
+
export interface Source<P extends string = string> extends VueComponentPropsType<typeof Core>, BasicSource {
|
|
5
|
+
prop?: P | P[];
|
|
6
|
+
templateType: 'VkfVditor';
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Media } from '@vunk/core';
|
|
2
|
+
import { AllTemplatesSource } from '@vunk/form/shared';
|
|
3
|
+
export declare const CORE_FORM_TEMPLATE_OPTIONS: Media<AllTemplatesSource['templateType']>[];
|
|
4
|
+
export declare const CORE_FORM_TEMPLATE_REFLECT: Record<string, Media<"VkfInput" | "VkfInputNumber" | "VkfSelect" | "VkfRadio" | "VkfCheckbox" | "VkfSwitch" | "VkfColorPicker" | "VkfUpload" | "VkfDatePicker" | "VkfButton" | "VkfCascader" | "VkfInputLink" | "ElRow" | "ElCol" | "VkfFlex" | "ElDivider" | "ElLink" | "VkfGeoinput" | "VkfEsriInputGeojson" | "VkfDatePickerRange" | "Component" | "VkfSlider">>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const createInputBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"readonly", keyof T2> | Extract<"id", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"rows", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", 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<"showPassword", keyof T2> | Extract<"showWordLimit", 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>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type" | "size" | "disabled" | "readonly" | "id" | "maxlength" | "minlength" | "rows" | "ariaLabel" | "modelValue" | "resize" | "autosize" | "autocomplete" | "formatter" | "parser" | "placeholder" | "form" | "clearable" | "showPassword" | "showWordLimit" | "suffixIcon" | "prefixIcon" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus", keyof T2>, KE> : Extract<"type" | "size" | "disabled" | "readonly" | "id" | "maxlength" | "minlength" | "rows" | "ariaLabel" | "modelValue" | "resize" | "autosize" | "autocomplete" | "formatter" | "parser" | "placeholder" | "form" | "clearable" | "showPassword" | "showWordLimit" | "suffixIcon" | "prefixIcon" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus", keyof T2>]: { [k in Extract<"type" | "size" | "disabled" | "readonly" | "id" | "maxlength" | "minlength" | "rows" | "ariaLabel" | "modelValue" | "resize" | "autosize" | "autocomplete" | "formatter" | "parser" | "placeholder" | "form" | "clearable" | "showPassword" | "showWordLimit" | "suffixIcon" | "prefixIcon" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus", keyof T2>]: T2[k]; }[P]; }>;
|
|
2
|
+
export declare const createInputOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend", KE> : "clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend"]: { [k in "clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|
|
3
|
+
export declare const createFormBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"model", keyof T2> | Extract<"rules", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"requireAsteriskPosition", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelSuffix", keyof T2> | Extract<"inline", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"statusIcon", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"validateOnRuleChange", keyof T2> | Extract<"hideRequiredAsterisk", keyof T2> | Extract<"scrollToError", keyof T2> | Extract<"scrollIntoViewOptions", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"model" | "rules" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "size" | "disabled", keyof T2>, KE> : Extract<"model" | "rules" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "size" | "disabled", keyof T2>]: { [k in Extract<"model" | "rules" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "size" | "disabled", keyof T2>]: T2[k]; }[P]; }>;
|
|
4
|
+
export declare const createFormOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends "validate"[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"validate", KE> : "validate"]: { [k in "validate"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|
|
5
|
+
export declare const createFormItemBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"prop", keyof T2> | Extract<"label", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required" | "rules" | "labelPosition" | "labelWidth" | "inlineMessage" | "showMessage" | "size" | "prop" | "label" | "error" | "validateStatus" | "for", keyof T2>, KE> : Extract<"required" | "rules" | "labelPosition" | "labelWidth" | "inlineMessage" | "showMessage" | "size" | "prop" | "label" | "error" | "validateStatus" | "for", keyof T2>]: { [k in Extract<"required" | "rules" | "labelPosition" | "labelWidth" | "inlineMessage" | "showMessage" | "size" | "prop" | "label" | "error" | "validateStatus" | "for", keyof T2>]: T2[k]; }[P]; }>;
|
|
6
|
+
export declare const createSwitchBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"loading", keyof T2> | Extract<"width", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"inactiveActionIcon", keyof T2> | Extract<"activeActionIcon", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"beforeChange", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "loading" | "width" | "inlinePrompt" | "inactiveActionIcon" | "activeActionIcon" | "activeIcon" | "inactiveIcon" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue" | "beforeChange", keyof T2>, KE> : Extract<"size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "loading" | "width" | "inlinePrompt" | "inactiveActionIcon" | "activeActionIcon" | "activeIcon" | "inactiveIcon" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue" | "beforeChange", keyof T2>]: { [k in Extract<"size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "loading" | "width" | "inlinePrompt" | "inactiveActionIcon" | "activeActionIcon" | "activeIcon" | "inactiveIcon" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue" | "beforeChange", keyof T2>]: T2[k]; }[P]; }>;
|
|
7
|
+
export declare const createSwitchOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "input" | "change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "input" | "change", KE> : "update:modelValue" | "input" | "change"]: { [k in "update:modelValue" | "input" | "change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|
|
8
|
+
export declare const createSelectBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"multiple", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"loading", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "name" | "multiple" | "id" | "modelValue" | "autocomplete" | "placeholder" | "clearable" | "suffixIcon" | "loading" | "automaticDropdown" | "effect" | "filterable" | "allowCreate" | "popperClass" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "filterMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "clearIcon" | "fitInputWidth" | "tagType", keyof T2>, KE> : Extract<"size" | "disabled" | "name" | "multiple" | "id" | "modelValue" | "autocomplete" | "placeholder" | "clearable" | "suffixIcon" | "loading" | "automaticDropdown" | "effect" | "filterable" | "allowCreate" | "popperClass" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "filterMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "clearIcon" | "fitInputWidth" | "tagType", keyof T2>]: { [k in Extract<"size" | "disabled" | "name" | "multiple" | "id" | "modelValue" | "autocomplete" | "placeholder" | "clearable" | "suffixIcon" | "loading" | "automaticDropdown" | "effect" | "filterable" | "allowCreate" | "popperClass" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "filterMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "clearIcon" | "fitInputWidth" | "tagType", keyof T2>]: T2[k]; }[P]; }>;
|
|
9
|
+
export declare const createSelectOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "update:modelValue" | "change" | "focus" | "blur" | "remove-tag" | "visible-change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear" | "update:modelValue" | "change" | "focus" | "blur" | "remove-tag" | "visible-change", KE> : "clear" | "update:modelValue" | "change" | "focus" | "blur" | "remove-tag" | "visible-change"]: { [k in "clear" | "update:modelValue" | "change" | "focus" | "blur" | "remove-tag" | "visible-change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|
|
10
|
+
export declare const createDatePickerBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"readonly", keyof T2> | Extract<"name", keyof T2> | Extract<"placement", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"showNow", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"dateFormat", keyof T2> | Extract<"timeFormat", keyof T2> | Extract<"editable", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type" | "size" | "disabled" | "readonly" | "name" | "placement" | "id" | "ariaLabel" | "modelValue" | "placeholder" | "clearable" | "prefixIcon" | "tabindex" | "validateEvent" | "popperClass" | "clearIcon" | "showNow" | "emptyValues" | "valueOnClear" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "fallbackPlacements" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "editable" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange", keyof T2>, KE> : Extract<"type" | "size" | "disabled" | "readonly" | "name" | "placement" | "id" | "ariaLabel" | "modelValue" | "placeholder" | "clearable" | "prefixIcon" | "tabindex" | "validateEvent" | "popperClass" | "clearIcon" | "showNow" | "emptyValues" | "valueOnClear" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "fallbackPlacements" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "editable" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange", keyof T2>]: { [k in Extract<"type" | "size" | "disabled" | "readonly" | "name" | "placement" | "id" | "ariaLabel" | "modelValue" | "placeholder" | "clearable" | "prefixIcon" | "tabindex" | "validateEvent" | "popperClass" | "clearIcon" | "showNow" | "emptyValues" | "valueOnClear" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "fallbackPlacements" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "editable" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange", keyof T2>]: T2[k]; }[P]; }>;
|
|
11
|
+
export declare const createDatePickerOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change", KE> : "update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change"]: { [k in "update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|
|
12
|
+
export declare const createInputNumberBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"readonly", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"precision", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"controls", keyof T2> | Extract<"controlsPosition", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "readonly" | "name" | "id" | "precision" | "ariaLabel" | "modelValue" | "placeholder" | "validateEvent" | "min" | "max" | "valueOnClear" | "step" | "stepStrictly" | "controls" | "controlsPosition", keyof T2>, KE> : Extract<"size" | "disabled" | "readonly" | "name" | "id" | "precision" | "ariaLabel" | "modelValue" | "placeholder" | "validateEvent" | "min" | "max" | "valueOnClear" | "step" | "stepStrictly" | "controls" | "controlsPosition", keyof T2>]: { [k in Extract<"size" | "disabled" | "readonly" | "name" | "id" | "precision" | "ariaLabel" | "modelValue" | "placeholder" | "validateEvent" | "min" | "max" | "valueOnClear" | "step" | "stepStrictly" | "controls" | "controlsPosition", keyof T2>]: T2[k]; }[P]; }>;
|
|
13
|
+
export declare const createInputNumberOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "input" | "change" | "focus" | "blur")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "input" | "change" | "focus" | "blur", KE> : "update:modelValue" | "input" | "change" | "focus" | "blur"]: { [k in "update:modelValue" | "input" | "change" | "focus" | "blur"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|
|
14
|
+
export declare const createRadioGroupBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"fill", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"fill" | "size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "textColor", keyof T2>, KE> : Extract<"fill" | "size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "textColor", keyof T2>]: { [k in Extract<"fill" | "size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "textColor", keyof T2>]: T2[k]; }[P]; }>;
|
|
15
|
+
export declare const createRadioGroupOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "change", KE> : "update:modelValue" | "change"]: { [k in "update:modelValue" | "change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|
|
16
|
+
export declare const createCheckboxGroupBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"fill", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"tag", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"textColor", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"fill" | "size" | "disabled" | "tag" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "textColor", keyof T2>, KE> : Extract<"fill" | "size" | "disabled" | "tag" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "textColor", keyof T2>]: { [k in Extract<"fill" | "size" | "disabled" | "tag" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "textColor", keyof T2>]: T2[k]; }[P]; }>;
|
|
17
|
+
export declare const createCheckboxGroupOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "change", KE> : "update:modelValue" | "change"]: { [k in "update:modelValue" | "change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|
|
18
|
+
export declare const createUploadBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"data", keyof T2> | Extract<"multiple", keyof T2> | Extract<"beforeUpload", keyof T2> | Extract<"beforeRemove", keyof T2> | Extract<"onRemove", keyof T2> | Extract<"onChange", keyof T2> | Extract<"onPreview", keyof T2> | Extract<"onSuccess", keyof T2> | Extract<"onProgress", keyof T2> | Extract<"onError", keyof T2> | Extract<"onExceed", keyof T2> | Extract<"crossorigin", keyof T2> | Extract<"action", keyof T2> | Extract<"headers", keyof T2> | Extract<"method", keyof T2> | Extract<"drag", keyof T2> | Extract<"withCredentials", keyof T2> | Extract<"showFileList", keyof T2> | Extract<"accept", keyof T2> | Extract<"fileList", keyof T2> | Extract<"autoUpload", keyof T2> | Extract<"listType", keyof T2> | Extract<"httpRequest", keyof T2> | Extract<"limit", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"disabled" | "name" | "data" | "multiple" | "beforeUpload" | "beforeRemove" | "onRemove" | "onChange" | "onPreview" | "onSuccess" | "onProgress" | "onError" | "onExceed" | "crossorigin" | "action" | "headers" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "limit", keyof T2>, KE> : Extract<"disabled" | "name" | "data" | "multiple" | "beforeUpload" | "beforeRemove" | "onRemove" | "onChange" | "onPreview" | "onSuccess" | "onProgress" | "onError" | "onExceed" | "crossorigin" | "action" | "headers" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "limit", keyof T2>]: { [k in Extract<"disabled" | "name" | "data" | "multiple" | "beforeUpload" | "beforeRemove" | "onRemove" | "onChange" | "onPreview" | "onSuccess" | "onProgress" | "onError" | "onExceed" | "crossorigin" | "action" | "headers" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "limit", keyof T2>]: T2[k]; }[P]; }>;
|
|
19
|
+
export declare const createColorPickerBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"showAlpha", keyof T2> | Extract<"colorFormat", keyof T2> | Extract<"predefine", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "popperClass" | "teleported" | "showAlpha" | "colorFormat" | "predefine", keyof T2>, KE> : Extract<"size" | "disabled" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "popperClass" | "teleported" | "showAlpha" | "colorFormat" | "predefine", keyof T2>]: { [k in Extract<"size" | "disabled" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "popperClass" | "teleported" | "showAlpha" | "colorFormat" | "predefine", keyof T2>]: T2[k]; }[P]; }>;
|
|
20
|
+
export declare const createColorPickerOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "activeChange")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "change" | "focus" | "blur" | "activeChange", KE> : "update:modelValue" | "change" | "focus" | "blur" | "activeChange"]: { [k in "update:modelValue" | "change" | "focus" | "blur" | "activeChange"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|
|
21
|
+
export declare const createButtonBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"tag", keyof T2> | Extract<"text", keyof T2> | Extract<"link", keyof T2> | Extract<"dark", keyof T2> | Extract<"icon", keyof T2> | Extract<"circle", keyof T2> | Extract<"plain", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"loading", keyof T2> | Extract<"nativeType", keyof T2> | Extract<"loadingIcon", keyof T2> | Extract<"bg", keyof T2> | Extract<"round", keyof T2> | Extract<"color", keyof T2> | Extract<"autoInsertSpace", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type" | "size" | "disabled" | "tag" | "text" | "link" | "dark" | "icon" | "circle" | "plain" | "autofocus" | "loading" | "nativeType" | "loadingIcon" | "bg" | "round" | "color" | "autoInsertSpace", keyof T2>, KE> : Extract<"type" | "size" | "disabled" | "tag" | "text" | "link" | "dark" | "icon" | "circle" | "plain" | "autofocus" | "loading" | "nativeType" | "loadingIcon" | "bg" | "round" | "color" | "autoInsertSpace", keyof T2>]: { [k in Extract<"type" | "size" | "disabled" | "tag" | "text" | "link" | "dark" | "icon" | "circle" | "plain" | "autofocus" | "loading" | "nativeType" | "loadingIcon" | "bg" | "round" | "color" | "autoInsertSpace", keyof T2>]: T2[k]; }[P]; }>;
|
|
22
|
+
export declare const createButtonOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends "click"[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"click", KE> : "click"]: { [k in "click"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|
|
23
|
+
export declare const createCascaderBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"props", keyof T2> | Extract<"placement", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"options", keyof T2> | Extract<"filterable", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "props" | "placement" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "options" | "filterable" | "popperClass" | "filterMethod" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "tagType" | "emptyValues" | "valueOnClear" | "fallbackPlacements" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter" | "tagEffect", keyof T2>, KE> : Extract<"size" | "disabled" | "props" | "placement" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "options" | "filterable" | "popperClass" | "filterMethod" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "tagType" | "emptyValues" | "valueOnClear" | "fallbackPlacements" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter" | "tagEffect", keyof T2>]: { [k in Extract<"size" | "disabled" | "props" | "placement" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "options" | "filterable" | "popperClass" | "filterMethod" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "tagType" | "emptyValues" | "valueOnClear" | "fallbackPlacements" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter" | "tagEffect", keyof T2>]: T2[k]; }[P]; }>;
|
|
24
|
+
export declare const createCascaderOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear" | "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag", KE> : "clear" | "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag"]: { [k in "clear" | "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|
|
25
|
+
export declare const createSliderBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placement", keyof T2> | Extract<"vertical", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"step", keyof T2> | Extract<"debounce", keyof T2> | Extract<"showInput", keyof T2> | Extract<"showInputControls", keyof T2> | Extract<"inputSize", keyof T2> | Extract<"showStops", keyof T2> | Extract<"showTooltip", keyof T2> | Extract<"formatTooltip", keyof T2> | Extract<"range", keyof T2> | Extract<"height", keyof T2> | Extract<"rangeStartLabel", keyof T2> | Extract<"rangeEndLabel", keyof T2> | Extract<"formatValueText", keyof T2> | Extract<"tooltipClass", keyof T2> | Extract<"marks", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "placement" | "vertical" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "step" | "debounce" | "showInput" | "showInputControls" | "inputSize" | "showStops" | "showTooltip" | "formatTooltip" | "range" | "height" | "rangeStartLabel" | "rangeEndLabel" | "formatValueText" | "tooltipClass" | "marks", keyof T2>, KE> : Extract<"size" | "disabled" | "placement" | "vertical" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "step" | "debounce" | "showInput" | "showInputControls" | "inputSize" | "showStops" | "showTooltip" | "formatTooltip" | "range" | "height" | "rangeStartLabel" | "rangeEndLabel" | "formatValueText" | "tooltipClass" | "marks", keyof T2>]: { [k in Extract<"size" | "disabled" | "placement" | "vertical" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "step" | "debounce" | "showInput" | "showInputControls" | "inputSize" | "showStops" | "showTooltip" | "formatTooltip" | "range" | "height" | "rangeStartLabel" | "rangeEndLabel" | "formatValueText" | "tooltipClass" | "marks", keyof T2>]: T2[k]; }[P]; }>;
|
|
26
|
+
export declare const createSliderOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "input" | "change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "input" | "change", KE> : "update:modelValue" | "input" | "change"]: { [k in "update:modelValue" | "input" | "change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|