@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
|
@@ -16,7 +16,7 @@ export interface ElDatePickerTypeMedia {
|
|
|
16
16
|
hasTime?: boolean;
|
|
17
17
|
}
|
|
18
18
|
export interface Source<P extends string = string> extends VueComponentPropsType<typeof CoreVue>, BasicSource {
|
|
19
|
-
prop?: P;
|
|
19
|
+
prop?: P | P[];
|
|
20
20
|
templateType: 'VkfVarDatetimePicker';
|
|
21
21
|
}
|
|
22
22
|
export {};
|
|
@@ -47,7 +47,7 @@ export declare const props: {
|
|
|
47
47
|
label: StringConstructor;
|
|
48
48
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
49
49
|
prop: {
|
|
50
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
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
51
|
readonly required: false;
|
|
52
52
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
53
|
__epPropKey: true;
|
|
@@ -60,7 +60,7 @@ export declare const props: {
|
|
|
60
60
|
};
|
|
61
61
|
error: StringConstructor;
|
|
62
62
|
validateStatus: {
|
|
63
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
63
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
64
64
|
readonly required: false;
|
|
65
65
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
66
|
__epPropKey: true;
|
|
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
47
47
|
label: StringConstructor;
|
|
48
48
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
49
49
|
prop: {
|
|
50
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
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
51
|
readonly required: false;
|
|
52
52
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
53
|
__epPropKey: true;
|
|
@@ -60,7 +60,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
60
60
|
};
|
|
61
61
|
error: StringConstructor;
|
|
62
62
|
validateStatus: {
|
|
63
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
63
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
64
64
|
readonly required: false;
|
|
65
65
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
66
|
__epPropKey: true;
|
|
@@ -127,7 +127,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
127
127
|
label: StringConstructor;
|
|
128
128
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
129
129
|
prop: {
|
|
130
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
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
131
|
readonly required: false;
|
|
132
132
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
133
133
|
__epPropKey: true;
|
|
@@ -140,7 +140,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
140
140
|
};
|
|
141
141
|
error: StringConstructor;
|
|
142
142
|
validateStatus: {
|
|
143
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
143
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
144
144
|
readonly required: false;
|
|
145
145
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
146
146
|
__epPropKey: true;
|
|
@@ -155,7 +155,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
155
155
|
"onUpdate:fullscreen"?: (e: boolean) => any;
|
|
156
156
|
}>, {
|
|
157
157
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
158
|
-
formItemSize: "
|
|
158
|
+
formItemSize: "small" | "default" | "large";
|
|
159
159
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
160
160
|
inline: boolean;
|
|
161
161
|
readonly: boolean;
|
|
@@ -2,6 +2,6 @@ import { VueComponentPropsType } from '@vunk/shared';
|
|
|
2
2
|
import Core from './index.vue';
|
|
3
3
|
import { BasicSource } from '@vunk/form/shared';
|
|
4
4
|
export interface Source<P extends string = string> extends VueComponentPropsType<typeof Core>, BasicSource {
|
|
5
|
-
prop?: P;
|
|
5
|
+
prop?: P | P[];
|
|
6
6
|
templateType: 'VkfVditor';
|
|
7
7
|
}
|
package/package.json
CHANGED
package/shared/const/index.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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">>;
|
|
@@ -1,26 +0,0 @@
|
|
|
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<"label", keyof T2> | Extract<"id", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", 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" | "label" | "id" | "maxlength" | "minlength" | "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" | "label" | "id" | "maxlength" | "minlength" | "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" | "label" | "id" | "maxlength" | "minlength" | "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<"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" | "labelWidth" | "inlineMessage" | "showMessage" | "size" | "prop" | "label" | "error" | "validateStatus" | "for", keyof T2>, KE> : Extract<"required" | "rules" | "labelWidth" | "inlineMessage" | "showMessage" | "size" | "prop" | "label" | "error" | "validateStatus" | "for", keyof T2>]: { [k in Extract<"required" | "rules" | "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<"label", 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" | "label" | "name" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "loading" | "width" | "inlinePrompt" | "inactiveActionIcon" | "activeActionIcon" | "activeIcon" | "inactiveIcon" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue" | "beforeChange", keyof T2>, KE> : Extract<"size" | "disabled" | "label" | "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" | "label" | "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<"label", keyof T2> | Extract<"name", 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<"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<"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" | "label" | "name" | "id" | "ariaLabel" | "modelValue" | "placeholder" | "clearable" | "prefixIcon" | "tabindex" | "validateEvent" | "popperClass" | "clearIcon" | "emptyValues" | "valueOnClear" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "editable" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange", keyof T2>, KE> : Extract<"type" | "size" | "disabled" | "readonly" | "label" | "name" | "id" | "ariaLabel" | "modelValue" | "placeholder" | "clearable" | "prefixIcon" | "tabindex" | "validateEvent" | "popperClass" | "clearIcon" | "emptyValues" | "valueOnClear" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "editable" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange", keyof T2>]: { [k in Extract<"type" | "size" | "disabled" | "readonly" | "label" | "name" | "id" | "ariaLabel" | "modelValue" | "placeholder" | "clearable" | "prefixIcon" | "tabindex" | "validateEvent" | "popperClass" | "clearIcon" | "emptyValues" | "valueOnClear" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "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<"label", 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" | "label" | "name" | "id" | "precision" | "ariaLabel" | "modelValue" | "placeholder" | "validateEvent" | "min" | "max" | "valueOnClear" | "step" | "stepStrictly" | "controls" | "controlsPosition", keyof T2>, KE> : Extract<"size" | "disabled" | "readonly" | "label" | "name" | "id" | "precision" | "ariaLabel" | "modelValue" | "placeholder" | "validateEvent" | "min" | "max" | "valueOnClear" | "step" | "stepStrictly" | "controls" | "controlsPosition", keyof T2>]: { [k in Extract<"size" | "disabled" | "readonly" | "label" | "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<"label", 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" | "label" | "name" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "textColor", keyof T2>, KE> : Extract<"fill" | "size" | "disabled" | "label" | "name" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "textColor", keyof T2>]: { [k in Extract<"fill" | "size" | "disabled" | "label" | "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<"label", 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" | "label" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "textColor", keyof T2>, KE> : Extract<"fill" | "size" | "disabled" | "tag" | "label" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "textColor", keyof T2>]: { [k in Extract<"fill" | "size" | "disabled" | "tag" | "label" | "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<"label", 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" | "label" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "popperClass" | "teleported" | "showAlpha" | "colorFormat" | "predefine", keyof T2>, KE> : Extract<"size" | "disabled" | "label" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "popperClass" | "teleported" | "showAlpha" | "colorFormat" | "predefine", keyof T2>]: { [k in Extract<"size" | "disabled" | "label" | "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<"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<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "props" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "options" | "filterable" | "popperClass" | "filterMethod" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "tagType" | "emptyValues" | "valueOnClear" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter", keyof T2>, KE> : Extract<"size" | "disabled" | "props" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "options" | "filterable" | "popperClass" | "filterMethod" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "tagType" | "emptyValues" | "valueOnClear" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter", keyof T2>]: { [k in Extract<"size" | "disabled" | "props" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "options" | "filterable" | "popperClass" | "filterMethod" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "tagType" | "emptyValues" | "valueOnClear" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter", keyof T2>]: T2[k]; }[P]; }>;
|
|
24
|
-
export declare const createCascaderOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag", KE> : "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag"]: { [k in "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<"label", 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" | "label" | "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" | "label" | "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" | "label" | "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]; };
|
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
import { ComponentSize, DatePickType } from 'element-plus';
|
|
2
|
-
import { PropType, Component } from 'vue';
|
|
3
|
-
export declare const datePickerProps: {
|
|
4
|
-
type: {
|
|
5
|
-
type: PropType<DatePickType>;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
ariaLabel: StringConstructor;
|
|
9
|
-
emptyValues: ArrayConstructor;
|
|
10
|
-
valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
11
|
-
disabledDate: {
|
|
12
|
-
readonly type: import("vue").PropType<Function>;
|
|
13
|
-
readonly required: false;
|
|
14
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15
|
-
__epPropKey: true;
|
|
16
|
-
};
|
|
17
|
-
cellClassName: {
|
|
18
|
-
readonly type: import("vue").PropType<Function>;
|
|
19
|
-
readonly required: false;
|
|
20
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
|
-
__epPropKey: true;
|
|
22
|
-
};
|
|
23
|
-
shortcuts: import("element-plus/es/utils").EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
|
|
24
|
-
arrowControl: BooleanConstructor;
|
|
25
|
-
label: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
26
|
-
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
27
|
-
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
28
|
-
unlinkPanels: BooleanConstructor;
|
|
29
|
-
disabledHours: {
|
|
30
|
-
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledHours>;
|
|
31
|
-
readonly required: false;
|
|
32
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
33
|
-
__epPropKey: true;
|
|
34
|
-
};
|
|
35
|
-
disabledMinutes: {
|
|
36
|
-
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledMinutes>;
|
|
37
|
-
readonly required: false;
|
|
38
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
39
|
-
__epPropKey: true;
|
|
40
|
-
};
|
|
41
|
-
disabledSeconds: {
|
|
42
|
-
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledSeconds>;
|
|
43
|
-
readonly required: false;
|
|
44
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
|
-
__epPropKey: true;
|
|
46
|
-
};
|
|
47
|
-
id: {
|
|
48
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown>>;
|
|
49
|
-
readonly required: false;
|
|
50
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
|
-
__epPropKey: true;
|
|
52
|
-
};
|
|
53
|
-
name: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown, "", boolean>;
|
|
54
|
-
popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
55
|
-
format: StringConstructor;
|
|
56
|
-
valueFormat: StringConstructor;
|
|
57
|
-
dateFormat: StringConstructor;
|
|
58
|
-
timeFormat: StringConstructor;
|
|
59
|
-
clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
60
|
-
clearIcon: {
|
|
61
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
62
|
-
readonly required: false;
|
|
63
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
|
-
__epPropKey: true;
|
|
65
|
-
};
|
|
66
|
-
editable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
67
|
-
prefixIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, "", boolean>;
|
|
68
|
-
size: {
|
|
69
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
70
|
-
readonly required: false;
|
|
71
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
|
-
__epPropKey: true;
|
|
73
|
-
};
|
|
74
|
-
readonly: BooleanConstructor;
|
|
75
|
-
disabled: BooleanConstructor;
|
|
76
|
-
placeholder: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
77
|
-
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
78
|
-
modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ModelValueType & {}) | (() => import("element-plus").ModelValueType) | ((new (...args: any[]) => import("element-plus").ModelValueType & {}) | (() => import("element-plus").ModelValueType))[], unknown, unknown, "", boolean>;
|
|
79
|
-
rangeSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
80
|
-
startPlaceholder: StringConstructor;
|
|
81
|
-
endPlaceholder: StringConstructor;
|
|
82
|
-
defaultValue: {
|
|
83
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
|
|
84
|
-
readonly required: false;
|
|
85
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
|
-
__epPropKey: true;
|
|
87
|
-
};
|
|
88
|
-
defaultTime: {
|
|
89
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
|
|
90
|
-
readonly required: false;
|
|
91
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
92
|
-
__epPropKey: true;
|
|
93
|
-
};
|
|
94
|
-
isRange: BooleanConstructor;
|
|
95
|
-
};
|
|
96
|
-
export declare const datePickerEmits: {
|
|
97
|
-
'update:modelValue': any;
|
|
98
|
-
change: any;
|
|
99
|
-
focus: any;
|
|
100
|
-
blur: any;
|
|
101
|
-
'calendar-change': any;
|
|
102
|
-
'panel-change': any;
|
|
103
|
-
'visible-change': any;
|
|
104
|
-
keydown: any;
|
|
105
|
-
};
|
|
106
|
-
export declare const selectProps: {
|
|
107
|
-
name: StringConstructor;
|
|
108
|
-
id: StringConstructor;
|
|
109
|
-
modelValue: {
|
|
110
|
-
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
111
|
-
default: any;
|
|
112
|
-
};
|
|
113
|
-
autocomplete: {
|
|
114
|
-
type: StringConstructor;
|
|
115
|
-
default: string;
|
|
116
|
-
};
|
|
117
|
-
automaticDropdown: BooleanConstructor;
|
|
118
|
-
size: {
|
|
119
|
-
type: PropType<ComponentSize>;
|
|
120
|
-
};
|
|
121
|
-
effect: {
|
|
122
|
-
type: PropType<"light" | "dark" | string>;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
disabled: BooleanConstructor;
|
|
126
|
-
clearable: BooleanConstructor;
|
|
127
|
-
filterable: BooleanConstructor;
|
|
128
|
-
allowCreate: BooleanConstructor;
|
|
129
|
-
loading: BooleanConstructor;
|
|
130
|
-
popperClass: {
|
|
131
|
-
type: StringConstructor;
|
|
132
|
-
default: string;
|
|
133
|
-
};
|
|
134
|
-
remote: BooleanConstructor;
|
|
135
|
-
loadingText: StringConstructor;
|
|
136
|
-
noMatchText: StringConstructor;
|
|
137
|
-
noDataText: StringConstructor;
|
|
138
|
-
remoteMethod: FunctionConstructor;
|
|
139
|
-
filterMethod: FunctionConstructor;
|
|
140
|
-
multiple: BooleanConstructor;
|
|
141
|
-
multipleLimit: {
|
|
142
|
-
type: NumberConstructor;
|
|
143
|
-
default: number;
|
|
144
|
-
};
|
|
145
|
-
placeholder: {
|
|
146
|
-
type: StringConstructor;
|
|
147
|
-
};
|
|
148
|
-
defaultFirstOption: BooleanConstructor;
|
|
149
|
-
reserveKeyword: {
|
|
150
|
-
type: BooleanConstructor;
|
|
151
|
-
default: boolean;
|
|
152
|
-
};
|
|
153
|
-
valueKey: {
|
|
154
|
-
type: StringConstructor;
|
|
155
|
-
default: string;
|
|
156
|
-
};
|
|
157
|
-
collapseTags: BooleanConstructor;
|
|
158
|
-
collapseTagsTooltip: {
|
|
159
|
-
type: BooleanConstructor;
|
|
160
|
-
default: boolean;
|
|
161
|
-
};
|
|
162
|
-
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
163
|
-
persistent: {
|
|
164
|
-
type: BooleanConstructor;
|
|
165
|
-
default: boolean;
|
|
166
|
-
};
|
|
167
|
-
clearIcon: {
|
|
168
|
-
type: PropType<string | Component>;
|
|
169
|
-
default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
170
|
-
};
|
|
171
|
-
fitInputWidth: {
|
|
172
|
-
type: BooleanConstructor;
|
|
173
|
-
default: boolean;
|
|
174
|
-
};
|
|
175
|
-
suffixIcon: {
|
|
176
|
-
type: PropType<string | Component>;
|
|
177
|
-
default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
178
|
-
};
|
|
179
|
-
tagType: {
|
|
180
|
-
default: string;
|
|
181
|
-
type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
182
|
-
required: false;
|
|
183
|
-
validator: ((val: unknown) => boolean) | undefined;
|
|
184
|
-
__epPropKey: true;
|
|
185
|
-
};
|
|
186
|
-
};
|
|
187
|
-
export declare const selectEmits: {
|
|
188
|
-
'update:modelValue': any;
|
|
189
|
-
change: any;
|
|
190
|
-
'remove-tag': any;
|
|
191
|
-
clear: any;
|
|
192
|
-
'visible-change': any;
|
|
193
|
-
focus: any;
|
|
194
|
-
blur: any;
|
|
195
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const isGte2_6_0: boolean;
|
package/shared/form/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Func, NormalObject } from '@vunk/core';
|
|
2
|
-
/**
|
|
3
|
-
* 表单验证失败, 处理方式
|
|
4
|
-
* 消息提示
|
|
5
|
-
* @param err Record<string, {message: string}[]>
|
|
6
|
-
*/
|
|
7
|
-
export declare const validateCatch: (err: any, init?: {
|
|
8
|
-
prefix?: string;
|
|
9
|
-
suffix?: string;
|
|
10
|
-
}) => void;
|
|
11
|
-
/**
|
|
12
|
-
* 根据 templateIf 生成 显隐函数
|
|
13
|
-
* @param templateIfRaw
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare const genTemplateIfFunc: Func<[
|
|
17
|
-
any
|
|
18
|
-
], (e?: NormalObject) => boolean>;
|
package/shared/helper/index.d.ts
DELETED
package/shared/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { __VkfTemplatesDefault } from '@vunk/form/components/templates-default';
|
|
2
|
-
export interface PropInfo {
|
|
3
|
-
prop: string;
|
|
4
|
-
type: string;
|
|
5
|
-
precision?: number;
|
|
6
|
-
}
|
|
7
|
-
export type InferPropInfo = (item: __VkfTemplatesDefault.CoreSource) => Partial<PropInfo>;
|
|
8
|
-
export declare const propInfoAction: {
|
|
9
|
-
VkfSelect: InferPropInfo;
|
|
10
|
-
VkfRadio: InferPropInfo;
|
|
11
|
-
VkfCheckbox: InferPropInfo;
|
|
12
|
-
VkfColorPicker: InferPropInfo;
|
|
13
|
-
VkfInputNumber: InferPropInfo;
|
|
14
|
-
VkfSwitch: InferPropInfo;
|
|
15
|
-
VkfUpload: InferPropInfo;
|
|
16
|
-
VkfDatePicker: InferPropInfo;
|
|
17
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ref: https://github1s.com/Envov/progress-it/blob/master/src/index.ts#L1-L61
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export type Effect = (percent: number, state: boolean | 'fail') => void;
|
|
6
|
-
export type Setter = (newState: boolean | 'fail') => Setter;
|
|
7
|
-
type progress = (effect: Effect, option?: Partial<IProgressPotions>) => (initState: boolean) => (newState: boolean | 'fail') => Setter;
|
|
8
|
-
type IProgressPotions = {
|
|
9
|
-
percent: number;
|
|
10
|
-
interval: number;
|
|
11
|
-
speed: number;
|
|
12
|
-
timeLine: number;
|
|
13
|
-
timer: number | undefined;
|
|
14
|
-
};
|
|
15
|
-
declare const progress: progress;
|
|
16
|
-
export default progress;
|
package/shared/rules/index.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export declare const PATTERN: {
|
|
2
|
-
/**
|
|
3
|
-
* 由数字、26个英文字母或者下划线以及中文组成的字符串
|
|
4
|
-
*/
|
|
5
|
-
normal: RegExp;
|
|
6
|
-
/**
|
|
7
|
-
* 只能由 中文 和 英文 组成
|
|
8
|
-
*/
|
|
9
|
-
normalName: RegExp;
|
|
10
|
-
/**
|
|
11
|
-
* 只能由数字、字母、下划线组成, 且不能以下划线和数字开头
|
|
12
|
-
*/
|
|
13
|
-
code: RegExp;
|
|
14
|
-
/**
|
|
15
|
-
* 只能由数字或字母组成, 且不能以数字开头
|
|
16
|
-
*/
|
|
17
|
-
strictCode: RegExp;
|
|
18
|
-
/**
|
|
19
|
-
* 只能由字母、数字或特殊字符组成,且长度在8到16之间
|
|
20
|
-
*/
|
|
21
|
-
password: RegExp;
|
|
22
|
-
/**
|
|
23
|
-
* 要求密码必须同时包含至少一个小写字母、大写字母和数字,且长度在8到16之间。
|
|
24
|
-
*/
|
|
25
|
-
strictPassword: RegExp;
|
|
26
|
-
/**
|
|
27
|
-
* 正确的手机号码
|
|
28
|
-
*/
|
|
29
|
-
phone: RegExp;
|
|
30
|
-
};
|
|
31
|
-
export declare const PATTERN_OPTIONS: {
|
|
32
|
-
label: string;
|
|
33
|
-
value: RegExp;
|
|
34
|
-
title: string;
|
|
35
|
-
}[];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface CheckboxProps {
|
|
2
|
-
value?: string | number | boolean;
|
|
3
|
-
label?: string;
|
|
4
|
-
'trueLabel'?: string | number;
|
|
5
|
-
'falseLabel'?: string | number;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
border?: boolean;
|
|
8
|
-
size?: '' | 'default' | 'small' | 'large';
|
|
9
|
-
name?: string;
|
|
10
|
-
checked?: boolean;
|
|
11
|
-
indeterminate?: boolean;
|
|
12
|
-
validateEvent?: boolean;
|
|
13
|
-
}
|
package/shared/types/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __VkfTemplatesDefault } from '@vunk/form/components/templates-default';
|
|
2
|
-
import { __VkfTemplatesLayout } from '@vunk/form/components/templates-layout';
|
|
3
|
-
import { __VkfTemplatesElementPlus } from '@vunk/form/components/templates-element-plus';
|
|
4
|
-
import { __VkfTemplatesMapbox } from '@vunk/form/components/templates-mapbox';
|
|
5
|
-
import { __VkfTemplatesEsri } from '@vunk/form/components/templates-esri';
|
|
6
|
-
import { NormalObject } from '@vunk/core';
|
|
7
|
-
import { __VkfTemplatesVariant } from '@vunk/form/components/templates-variant';
|
|
8
|
-
export interface BasicSource {
|
|
9
|
-
templateIf?: ((data?: NormalObject) => boolean) | string | boolean;
|
|
10
|
-
templateType?: string;
|
|
11
|
-
class?: any;
|
|
12
|
-
prop?: any;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated use __VkfTemplatesDefault.Source<P>
|
|
16
|
-
* ```ts
|
|
17
|
-
* import { __VkfTemplatesDefault } from '@vunk/form/components/templates-default'
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export type FormItemRendererSource<P extends string = string> = __VkfTemplatesDefault.Source<P>;
|
|
21
|
-
export type AllTemplatesSource<P extends string = string> = __VkfTemplatesDefault.Source<P> | __VkfTemplatesMapbox.Source<P> | __VkfTemplatesEsri.Source<P> | __VkfTemplatesLayout.ElRowSource<AllTemplatesSource<P>> | __VkfTemplatesLayout.ElColSource<AllTemplatesSource<P>> | __VkfTemplatesLayout.VkfFlexSource<AllTemplatesSource<P>> | __VkfTemplatesElementPlus.Source | __VkfTemplatesVariant.Source<P>;
|