vuiii 1.0.0-beta.6 → 1.0.0-beta.8
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/dist/components/Breadcrumbs.vue.d.ts +79 -15
- package/dist/components/Button.vue.d.ts +94 -69
- package/dist/components/Checkbox.vue.d.ts +91 -25
- package/dist/components/CheckboxGroup.vue.d.ts +92 -57
- package/dist/components/Form.vue.d.ts +184 -82
- package/dist/components/FormFields.vue.d.ts +99 -50
- package/dist/components/FormGroup.vue.d.ts +85 -45
- package/dist/components/Icon.vue.d.ts +59 -14
- package/dist/components/Input.vue.d.ts +109 -55
- package/dist/components/Radio.vue.d.ts +91 -61
- package/dist/components/Select.vue.d.ts +147 -82
- package/dist/components/Table.vue.d.ts +69 -48
- package/dist/components/Textarea.vue.d.ts +77 -18
- package/dist/components/modal/ModalLayout.vue.d.ts +1 -1
- package/dist/components/modal/ModalStack.vue.d.ts +2 -2
- package/dist/hooks/useOnClickOutside.d.ts +2 -0
- package/dist/hooks/useOnKeyPress.d.ts +1 -0
- package/dist/hooks/useRouteQuery.d.ts +17 -0
- package/dist/hooks/useSubmitAction.d.ts +1 -7
- package/dist/icons/mail.vue.d.ts +2 -0
- package/dist/index.d.ts +7 -6
- package/dist/stories/Button.stories.d.ts +449 -0
- package/dist/stories/Icon.stories.d.ts +128 -0
- package/dist/stories/Input.stories.d.ts +422 -0
- package/dist/stories/icons.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/types.d.ts +51 -4
- package/dist/utils/generateId.d.ts +1 -0
- package/dist/utils/iconsResolver.d.ts +5 -0
- package/dist/utils/normalizeOptions.d.ts +11 -8
- package/dist/validations/validator.d.ts +2 -0
- package/dist/vuiii.mjs +1488 -0
- package/dist/vuiii.umd.js +1 -1
- package/package.json +24 -9
- package/dist/vuiii.es.js +0 -1882
|
@@ -1,57 +1,111 @@
|
|
|
1
|
-
import '../
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { InputSize } from '../types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
modelValue?: string | number | Date | null | undefined;
|
|
8
|
+
prefixIcon?: string | undefined;
|
|
9
|
+
suffixIcon?: string | undefined;
|
|
10
|
+
size?: InputSize | undefined;
|
|
11
|
+
invalid?: boolean | undefined;
|
|
12
|
+
}>>> & {
|
|
13
|
+
"onUpdate:modelValue"?: ((value: string | number | Date | null) => any) | undefined;
|
|
14
|
+
"onPrefix-icon-click"?: (() => any) | undefined;
|
|
15
|
+
"onSuffix-icon-click"?: (() => any) | undefined;
|
|
16
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
17
|
+
$attrs: {
|
|
18
|
+
[x: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
$refs: {
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
};
|
|
23
|
+
$slots: Readonly<{
|
|
24
|
+
[name: string]: import("vue").Slot | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
27
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
28
|
+
$emit: ((event: "update:modelValue", value: string | number | Date | null) => void) & ((event: "prefix-icon-click") => void) & ((event: "suffix-icon-click") => void);
|
|
29
|
+
$el: any;
|
|
30
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
31
|
+
modelValue?: string | number | Date | null | undefined;
|
|
32
|
+
prefixIcon?: string | undefined;
|
|
33
|
+
suffixIcon?: string | undefined;
|
|
34
|
+
size?: InputSize | undefined;
|
|
35
|
+
invalid?: boolean | undefined;
|
|
36
|
+
}>>> & {
|
|
37
|
+
"onUpdate:modelValue"?: ((value: string | number | Date | null) => any) | undefined;
|
|
38
|
+
"onPrefix-icon-click"?: (() => any) | undefined;
|
|
39
|
+
"onSuffix-icon-click"?: (() => any) | undefined;
|
|
40
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
+
"update:modelValue": (value: string | number | Date | null) => void;
|
|
42
|
+
} & {
|
|
43
|
+
"prefix-icon-click": () => void;
|
|
44
|
+
} & {
|
|
45
|
+
"suffix-icon-click": () => void;
|
|
46
|
+
}, string, {}, {}, string> & {
|
|
47
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
57
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
58
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
60
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
61
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
62
|
+
};
|
|
63
|
+
$forceUpdate: () => void;
|
|
64
|
+
$nextTick: typeof import("vue").nextTick;
|
|
65
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
66
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
67
|
+
modelValue?: string | number | Date | null | undefined;
|
|
68
|
+
prefixIcon?: string | undefined;
|
|
69
|
+
suffixIcon?: string | undefined;
|
|
70
|
+
size?: InputSize | undefined;
|
|
71
|
+
invalid?: boolean | undefined;
|
|
72
|
+
}>>> & {
|
|
73
|
+
"onUpdate:modelValue"?: ((value: string | number | Date | null) => any) | undefined;
|
|
74
|
+
"onPrefix-icon-click"?: (() => any) | undefined;
|
|
75
|
+
"onSuffix-icon-click"?: (() => any) | undefined;
|
|
76
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
77
|
+
__isFragment?: undefined;
|
|
78
|
+
__isTeleport?: undefined;
|
|
79
|
+
__isSuspense?: undefined;
|
|
80
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
81
|
+
modelValue?: string | number | Date | null | undefined;
|
|
82
|
+
prefixIcon?: string | undefined;
|
|
83
|
+
suffixIcon?: string | undefined;
|
|
84
|
+
size?: InputSize | undefined;
|
|
85
|
+
invalid?: boolean | undefined;
|
|
86
|
+
}>>> & {
|
|
87
|
+
"onUpdate:modelValue"?: ((value: string | number | Date | null) => any) | undefined;
|
|
88
|
+
"onPrefix-icon-click"?: (() => any) | undefined;
|
|
89
|
+
"onSuffix-icon-click"?: (() => any) | undefined;
|
|
90
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
91
|
+
"update:modelValue": (value: string | number | Date | null) => void;
|
|
92
|
+
} & {
|
|
93
|
+
"prefix-icon-click": () => void;
|
|
94
|
+
} & {
|
|
95
|
+
"suffix-icon-click": () => void;
|
|
96
|
+
}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
97
|
+
$slots: {
|
|
98
|
+
prefix: (_: {}) => any;
|
|
99
|
+
suffix: (_: {}) => any;
|
|
9
100
|
};
|
|
10
|
-
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
suffixIcon: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
size: {
|
|
19
|
-
type: PropType<"small" | "normal">;
|
|
20
|
-
default: string;
|
|
21
|
-
validator: (value: Size) => boolean;
|
|
22
|
-
};
|
|
23
|
-
invalid: BooleanConstructor;
|
|
24
|
-
}, unknown, unknown, {
|
|
25
|
-
hasPrefix(): boolean;
|
|
26
|
-
hasSuffix(): boolean;
|
|
27
|
-
}, {}, import("vue").DefineComponent<{}, {}, {}, {
|
|
28
|
-
normalizedAttrs(): any;
|
|
29
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
30
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
}, {}>, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
-
modelValue: {
|
|
33
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
prefixIcon: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
suffixIcon: {
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
size: {
|
|
45
|
-
type: PropType<"small" | "normal">;
|
|
46
|
-
default: string;
|
|
47
|
-
validator: (value: Size) => boolean;
|
|
48
|
-
};
|
|
49
|
-
invalid: BooleanConstructor;
|
|
50
|
-
}>>, {
|
|
51
|
-
size: "small" | "normal";
|
|
52
|
-
prefixIcon: string;
|
|
53
|
-
suffixIcon: string;
|
|
54
|
-
modelValue: string | number;
|
|
55
|
-
invalid: boolean;
|
|
56
|
-
}>;
|
|
101
|
+
});
|
|
57
102
|
export default _default;
|
|
103
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
104
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
105
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
106
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
107
|
+
} : {
|
|
108
|
+
type: import('vue').PropType<T[K]>;
|
|
109
|
+
required: true;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
@@ -1,64 +1,94 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { Extractor } from '../types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
modelValue: string | number | undefined;
|
|
8
|
+
options: any[] | any;
|
|
9
|
+
optionLabel?: Extractor | undefined;
|
|
10
|
+
optionValue?: Extractor | undefined;
|
|
11
|
+
optionDisabled?: Extractor | undefined;
|
|
12
|
+
}>>> & {
|
|
13
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
14
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
15
|
+
$attrs: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
$refs: {
|
|
19
|
+
[x: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
$slots: Readonly<{
|
|
22
|
+
[name: string]: import("vue").Slot | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
25
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
26
|
+
$emit: (event: "update:modelValue", value: string | number) => void;
|
|
27
|
+
$el: any;
|
|
28
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
29
|
+
modelValue: string | number | undefined;
|
|
30
|
+
options: any[] | any;
|
|
31
|
+
optionLabel?: Extractor | undefined;
|
|
32
|
+
optionValue?: Extractor | undefined;
|
|
33
|
+
optionDisabled?: Extractor | undefined;
|
|
34
|
+
}>>> & {
|
|
35
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
36
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
+
"update:modelValue": (value: string | number) => void;
|
|
38
|
+
}, string, {}, {}, string> & {
|
|
39
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
52
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
53
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
54
|
+
};
|
|
55
|
+
$forceUpdate: () => void;
|
|
56
|
+
$nextTick: typeof import("vue").nextTick;
|
|
57
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
58
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
59
|
+
modelValue: string | number | undefined;
|
|
60
|
+
options: any[] | any;
|
|
61
|
+
optionLabel?: Extractor | undefined;
|
|
62
|
+
optionValue?: Extractor | undefined;
|
|
63
|
+
optionDisabled?: Extractor | undefined;
|
|
64
|
+
}>>> & {
|
|
65
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
66
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
67
|
+
__isFragment?: undefined;
|
|
68
|
+
__isTeleport?: undefined;
|
|
69
|
+
__isSuspense?: undefined;
|
|
70
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
71
|
+
modelValue: string | number | undefined;
|
|
72
|
+
options: any[] | any;
|
|
73
|
+
optionLabel?: Extractor | undefined;
|
|
74
|
+
optionValue?: Extractor | undefined;
|
|
75
|
+
optionDisabled?: Extractor | undefined;
|
|
76
|
+
}>>> & {
|
|
77
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
78
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
79
|
+
"update:modelValue": (value: string | number) => void;
|
|
80
|
+
}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
81
|
+
$slots: {
|
|
82
|
+
default: (_: {}) => any;
|
|
7
83
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
type: PropType<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
optionValueKey: {
|
|
17
|
-
type: PropType<Extractor>;
|
|
18
|
-
default: undefined;
|
|
19
|
-
};
|
|
20
|
-
optionDisabledKey: {
|
|
21
|
-
type: PropType<Extractor>;
|
|
22
|
-
default: undefined;
|
|
23
|
-
};
|
|
24
|
-
required: BooleanConstructor;
|
|
25
|
-
}, unknown, {
|
|
26
|
-
inputName: string;
|
|
27
|
-
}, {
|
|
28
|
-
normalizedOptions(): Option[];
|
|
29
|
-
}, {}, import("vue").DefineComponent<{}, {}, {}, {
|
|
30
|
-
normalizedAttrs(): any;
|
|
31
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
32
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
}, {}>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
-
modelValue: {
|
|
35
|
-
type: PropType<string | number>;
|
|
36
|
-
default: undefined;
|
|
37
|
-
};
|
|
38
|
-
options: {
|
|
39
|
-
type: (ObjectConstructor | ArrayConstructor)[];
|
|
84
|
+
});
|
|
85
|
+
export default _default;
|
|
86
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
87
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
88
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
89
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
90
|
+
} : {
|
|
91
|
+
type: import('vue').PropType<T[K]>;
|
|
40
92
|
required: true;
|
|
41
93
|
};
|
|
42
|
-
|
|
43
|
-
type: PropType<Extractor>;
|
|
44
|
-
default: undefined;
|
|
45
|
-
};
|
|
46
|
-
optionValueKey: {
|
|
47
|
-
type: PropType<Extractor>;
|
|
48
|
-
default: undefined;
|
|
49
|
-
};
|
|
50
|
-
optionDisabledKey: {
|
|
51
|
-
type: PropType<Extractor>;
|
|
52
|
-
default: undefined;
|
|
53
|
-
};
|
|
54
|
-
required: BooleanConstructor;
|
|
55
|
-
}>> & {
|
|
56
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
}, {
|
|
58
|
-
required: boolean;
|
|
59
|
-
modelValue: string | number;
|
|
60
|
-
optionLabelKey: Extractor;
|
|
61
|
-
optionValueKey: Extractor;
|
|
62
|
-
optionDisabledKey: Extractor;
|
|
63
|
-
}>;
|
|
64
|
-
export default _default;
|
|
94
|
+
};
|
|
@@ -1,84 +1,149 @@
|
|
|
1
|
-
import '../
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}, {}, import("vue").
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
1
|
+
import { Extractor, InputSize, Option } from '../types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{
|
|
7
|
+
size: InputSize;
|
|
8
|
+
optionLabel: Extractor;
|
|
9
|
+
optionValue: Extractor;
|
|
10
|
+
optionDisabled: Extractor;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
modelValue: Option['value'];
|
|
14
|
+
options: any[] | any;
|
|
15
|
+
optionLabel?: Extractor | undefined;
|
|
16
|
+
optionValue?: Extractor | undefined;
|
|
17
|
+
optionDisabled?: Extractor | undefined;
|
|
18
|
+
placeholder?: string | undefined;
|
|
19
|
+
size?: InputSize | undefined;
|
|
20
|
+
allowEmpty?: boolean | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
size: string;
|
|
23
|
+
optionLabel: undefined;
|
|
24
|
+
optionValue: undefined;
|
|
25
|
+
optionDisabled: undefined;
|
|
26
|
+
placeholder: undefined;
|
|
27
|
+
}>>> & {
|
|
28
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
29
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "optionLabel" | "optionValue" | "optionDisabled" | "placeholder">;
|
|
30
|
+
$attrs: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
};
|
|
33
|
+
$refs: {
|
|
34
|
+
[x: string]: unknown;
|
|
35
|
+
};
|
|
36
|
+
$slots: Readonly<{
|
|
37
|
+
[name: string]: import("vue").Slot | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
40
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
41
|
+
$emit: (event: "update:modelValue", value: string | number) => void;
|
|
42
|
+
$el: any;
|
|
43
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
44
|
+
modelValue: Option['value'];
|
|
45
|
+
options: any[] | any;
|
|
46
|
+
optionLabel?: Extractor | undefined;
|
|
47
|
+
optionValue?: Extractor | undefined;
|
|
48
|
+
optionDisabled?: Extractor | undefined;
|
|
49
|
+
placeholder?: string | undefined;
|
|
50
|
+
size?: InputSize | undefined;
|
|
51
|
+
allowEmpty?: boolean | undefined;
|
|
52
|
+
}>, {
|
|
53
|
+
size: string;
|
|
54
|
+
optionLabel: undefined;
|
|
55
|
+
optionValue: undefined;
|
|
56
|
+
optionDisabled: undefined;
|
|
57
|
+
placeholder: undefined;
|
|
58
|
+
}>>> & {
|
|
59
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
60
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
61
|
+
"update:modelValue": (value: string | number) => void;
|
|
62
|
+
}, string, {
|
|
63
|
+
size: InputSize;
|
|
64
|
+
optionLabel: Extractor;
|
|
65
|
+
optionValue: Extractor;
|
|
66
|
+
optionDisabled: Extractor;
|
|
67
|
+
placeholder: string;
|
|
68
|
+
}, {}, string> & {
|
|
69
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
79
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
80
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
81
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
82
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
83
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
84
|
+
};
|
|
85
|
+
$forceUpdate: () => void;
|
|
86
|
+
$nextTick: typeof import("vue").nextTick;
|
|
87
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
88
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
89
|
+
modelValue: Option['value'];
|
|
90
|
+
options: any[] | any;
|
|
91
|
+
optionLabel?: Extractor | undefined;
|
|
92
|
+
optionValue?: Extractor | undefined;
|
|
93
|
+
optionDisabled?: Extractor | undefined;
|
|
94
|
+
placeholder?: string | undefined;
|
|
95
|
+
size?: InputSize | undefined;
|
|
96
|
+
allowEmpty?: boolean | undefined;
|
|
97
|
+
}>, {
|
|
98
|
+
size: string;
|
|
99
|
+
optionLabel: undefined;
|
|
100
|
+
optionValue: undefined;
|
|
101
|
+
optionDisabled: undefined;
|
|
102
|
+
placeholder: undefined;
|
|
103
|
+
}>>> & {
|
|
104
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
105
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
106
|
+
__isFragment?: undefined;
|
|
107
|
+
__isTeleport?: undefined;
|
|
108
|
+
__isSuspense?: undefined;
|
|
109
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
110
|
+
modelValue: Option['value'];
|
|
111
|
+
options: any[] | any;
|
|
112
|
+
optionLabel?: Extractor | undefined;
|
|
113
|
+
optionValue?: Extractor | undefined;
|
|
114
|
+
optionDisabled?: Extractor | undefined;
|
|
115
|
+
placeholder?: string | undefined;
|
|
116
|
+
size?: InputSize | undefined;
|
|
117
|
+
allowEmpty?: boolean | undefined;
|
|
118
|
+
}>, {
|
|
119
|
+
size: string;
|
|
120
|
+
optionLabel: undefined;
|
|
121
|
+
optionValue: undefined;
|
|
122
|
+
optionDisabled: undefined;
|
|
123
|
+
placeholder: undefined;
|
|
124
|
+
}>>> & {
|
|
125
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
126
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
127
|
+
"update:modelValue": (value: string | number) => void;
|
|
128
|
+
}, string, {
|
|
129
|
+
size: InputSize;
|
|
130
|
+
optionLabel: Extractor;
|
|
131
|
+
optionValue: Extractor;
|
|
132
|
+
optionDisabled: Extractor;
|
|
81
133
|
placeholder: string;
|
|
82
|
-
|
|
83
|
-
}>;
|
|
134
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
84
135
|
export default _default;
|
|
136
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
137
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
138
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
139
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
140
|
+
} : {
|
|
141
|
+
type: import('vue').PropType<T[K]>;
|
|
142
|
+
required: true;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
146
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
147
|
+
default: D[K];
|
|
148
|
+
} : P[K];
|
|
149
|
+
};
|