@deck9/ui 0.12.13 → 0.13.1
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/Button/Button.vue.d.ts +47 -128
- package/dist/Checkbox/Checkbox.vue.d.ts +32 -42
- package/dist/Icon/Icon.vue.d.ts +26 -21
- package/dist/Input/Input.vue.d.ts +56 -2
- package/dist/Label/Label.vue.d.ts +14 -26
- package/dist/Menu/MenuContainer.vue.d.ts +39 -154
- package/dist/Menu/MenuLink.vue.d.ts +21 -74
- package/dist/Select/Select.vue.d.ts +56 -2
- package/dist/Skeleton/Skeleton.vue.d.ts +36 -55
- package/dist/Spinner/Spinner.vue.d.ts +2 -25
- package/dist/SplitButton/SplitButton.vue.d.ts +52 -0
- package/dist/SplitButton/index.d.ts +1 -0
- package/dist/Switch/Switch.vue.d.ts +47 -129
- package/dist/Textarea/Textarea.vue.d.ts +47 -2
- package/dist/index.d.ts +1 -0
- package/dist/src/index.es.js +3347 -2317
- package/dist/src/index.umd.js +8 -4
- package/dist/utils/useFormClasses.d.ts +1 -1
- package/package.json +31 -25
- package/tailwind.config.js +0 -5
- package/dist/Icon/custom/numeric-input.d.ts +0 -15
- package/dist/env.d.ts +0 -8
- package/dist/types.d.ts +0 -7
|
@@ -1,74 +1,21 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
label
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
disabled: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
id: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: () => string;
|
|
31
|
-
};
|
|
32
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
35
|
-
[key: string]: any;
|
|
36
|
-
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
-
as: {
|
|
38
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
disabled: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
id: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: () => string;
|
|
48
|
-
};
|
|
49
|
-
}>>, {
|
|
50
|
-
as: string | Record<string, any>;
|
|
51
|
-
disabled: boolean;
|
|
52
|
-
id: string;
|
|
53
|
-
}>;
|
|
54
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
-
label: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
required: false;
|
|
58
|
-
};
|
|
59
|
-
meta: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
required: false;
|
|
62
|
-
};
|
|
63
|
-
disabled: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
required: false;
|
|
66
|
-
};
|
|
67
|
-
as: {
|
|
68
|
-
type: StringConstructor;
|
|
69
|
-
required: false;
|
|
70
|
-
};
|
|
71
|
-
}>>, {
|
|
72
|
-
disabled: boolean;
|
|
73
|
-
}>;
|
|
74
|
-
export default _sfc_main;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
label?: string | undefined;
|
|
3
|
+
meta?: string | undefined;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
|
+
as?: string | undefined;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
label?: string | undefined;
|
|
8
|
+
meta?: string | undefined;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
|
+
as?: string | undefined;
|
|
11
|
+
}>>>, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -1,2 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { Size } from "../types/types";
|
|
2
|
+
interface SelectOption {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
id: string | number;
|
|
5
|
+
label: string | number;
|
|
6
|
+
icon?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
modelValue?: SelectOption | null | undefined;
|
|
11
|
+
size?: Size | undefined;
|
|
12
|
+
icon?: string | undefined;
|
|
13
|
+
placeholder?: string | undefined;
|
|
14
|
+
isDisabled?: boolean | undefined;
|
|
15
|
+
options: Array<SelectOption>;
|
|
16
|
+
disabledBadge?: string | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
size: string;
|
|
19
|
+
isDisabled: boolean;
|
|
20
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: SelectOption) => void;
|
|
22
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
modelValue?: SelectOption | null | undefined;
|
|
24
|
+
size?: Size | undefined;
|
|
25
|
+
icon?: string | undefined;
|
|
26
|
+
placeholder?: string | undefined;
|
|
27
|
+
isDisabled?: boolean | undefined;
|
|
28
|
+
options: Array<SelectOption>;
|
|
29
|
+
disabledBadge?: string | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
size: string;
|
|
32
|
+
isDisabled: boolean;
|
|
33
|
+
}>>> & {
|
|
34
|
+
"onUpdate:modelValue"?: ((value: SelectOption) => any) | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
size: Size;
|
|
37
|
+
isDisabled: boolean;
|
|
38
|
+
}, {}>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
type __VLS_WithDefaults<P, D> = {
|
|
50
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
+
default: D[K];
|
|
52
|
+
}> : P[K];
|
|
53
|
+
};
|
|
54
|
+
type __VLS_Prettify<T> = {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} & {};
|
|
@@ -1,59 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
avatar
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
required: false;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
lines: {
|
|
13
|
-
type: NumberConstructor;
|
|
14
|
-
required: false;
|
|
15
|
-
default: number;
|
|
16
|
-
};
|
|
17
|
-
footer: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
required: false;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
}, {
|
|
23
|
-
props: {
|
|
24
|
-
avatar: boolean;
|
|
25
|
-
title: boolean;
|
|
26
|
-
lines: number;
|
|
27
|
-
footer: boolean;
|
|
28
|
-
};
|
|
29
|
-
lineSettings: {
|
|
30
|
-
margin: string;
|
|
31
|
-
}[];
|
|
32
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
-
avatar: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
required: false;
|
|
36
|
-
default: boolean;
|
|
37
|
-
};
|
|
38
|
-
title: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
required: false;
|
|
41
|
-
default: boolean;
|
|
42
|
-
};
|
|
43
|
-
lines: {
|
|
44
|
-
type: NumberConstructor;
|
|
45
|
-
required: false;
|
|
46
|
-
default: number;
|
|
47
|
-
};
|
|
48
|
-
footer: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
required: false;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
}>>, {
|
|
1
|
+
interface SkeletonProps {
|
|
2
|
+
avatar?: boolean;
|
|
3
|
+
title?: boolean;
|
|
4
|
+
lines?: number;
|
|
5
|
+
footer?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SkeletonProps>, {
|
|
8
|
+
avatar: boolean;
|
|
54
9
|
title: boolean;
|
|
10
|
+
lines: number;
|
|
11
|
+
footer: boolean;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SkeletonProps>, {
|
|
55
13
|
avatar: boolean;
|
|
14
|
+
title: boolean;
|
|
56
15
|
lines: number;
|
|
57
16
|
footer: boolean;
|
|
58
|
-
}
|
|
59
|
-
|
|
17
|
+
}>>>, {
|
|
18
|
+
title: boolean;
|
|
19
|
+
footer: boolean;
|
|
20
|
+
avatar: boolean;
|
|
21
|
+
lines: number;
|
|
22
|
+
}, {}>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithDefaults<P, D> = {
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
+
default: D[K];
|
|
36
|
+
}> : P[K];
|
|
37
|
+
};
|
|
38
|
+
type __VLS_Prettify<T> = {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} & {};
|
|
@@ -1,25 +1,2 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
3
|
-
name: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
required: true;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
}, {
|
|
9
|
-
props: {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
iconBag: import("vue").ComputedRef<"fab" | "fas">;
|
|
13
|
-
isIconAvailable: import("vue").ComputedRef<boolean>;
|
|
14
|
-
readonly FontAwesomeIcon: import("vue").DefineComponent<import("@fortawesome/vue-fontawesome").FontAwesomeIconProps, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@fortawesome/vue-fontawesome").FontAwesomeIconProps>, {}>;
|
|
15
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
-
name: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
required: true;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
}>>, {
|
|
22
|
-
name: string;
|
|
23
|
-
}>;
|
|
24
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
25
|
-
export default _sfc_main;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ColorScheme, Size } from "../types/types";
|
|
2
|
+
interface ButtonProps {
|
|
3
|
+
label: string;
|
|
4
|
+
size?: Size;
|
|
5
|
+
color?: ColorScheme;
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
isDisabled?: boolean;
|
|
8
|
+
icon?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
|
|
11
|
+
size: string;
|
|
12
|
+
color: string;
|
|
13
|
+
isLoading: boolean;
|
|
14
|
+
isDisabled: boolean;
|
|
15
|
+
icon: string;
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
onClick: () => void;
|
|
18
|
+
onClickSplit: () => void;
|
|
19
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
|
|
20
|
+
size: string;
|
|
21
|
+
color: string;
|
|
22
|
+
isLoading: boolean;
|
|
23
|
+
isDisabled: boolean;
|
|
24
|
+
icon: string;
|
|
25
|
+
}>>> & {
|
|
26
|
+
onOnClick?: (() => any) | undefined;
|
|
27
|
+
onOnClickSplit?: (() => any) | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
icon: string;
|
|
30
|
+
size: Size;
|
|
31
|
+
color: ColorScheme;
|
|
32
|
+
isLoading: boolean;
|
|
33
|
+
isDisabled: boolean;
|
|
34
|
+
}, {}>;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
+
} : {
|
|
41
|
+
type: import('vue').PropType<T[K]>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
type __VLS_WithDefaults<P, D> = {
|
|
46
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
|
+
default: D[K];
|
|
48
|
+
}> : P[K];
|
|
49
|
+
};
|
|
50
|
+
type __VLS_Prettify<T> = {
|
|
51
|
+
[K in keyof T]: T[K];
|
|
52
|
+
} & {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as D9SplitButton } from "./SplitButton.vue";
|
|
@@ -1,133 +1,51 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
id
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
offLabel:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}, {
|
|
30
|
-
emits: {
|
|
31
|
-
(e: "update:modelValue", value: boolean): void;
|
|
32
|
-
(e: "change", value: boolean): void;
|
|
33
|
-
};
|
|
34
|
-
update: (newValue: boolean) => void;
|
|
35
|
-
readonly Switch: import("vue").DefineComponent<{
|
|
36
|
-
as: {
|
|
37
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
modelValue: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: undefined;
|
|
43
|
-
};
|
|
44
|
-
defaultChecked: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
optional: boolean;
|
|
47
|
-
};
|
|
48
|
-
name: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
optional: boolean;
|
|
51
|
-
};
|
|
52
|
-
value: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
optional: boolean;
|
|
55
|
-
};
|
|
56
|
-
id: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
default: () => string;
|
|
59
|
-
};
|
|
60
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
61
|
-
[key: string]: any;
|
|
62
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
63
|
-
'update:modelValue': (_value: boolean) => true;
|
|
64
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
|
-
as: {
|
|
66
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
67
|
-
default: string;
|
|
68
|
-
};
|
|
69
|
-
modelValue: {
|
|
70
|
-
type: BooleanConstructor;
|
|
71
|
-
default: undefined;
|
|
72
|
-
};
|
|
73
|
-
defaultChecked: {
|
|
74
|
-
type: BooleanConstructor;
|
|
75
|
-
optional: boolean;
|
|
76
|
-
};
|
|
77
|
-
name: {
|
|
78
|
-
type: StringConstructor;
|
|
79
|
-
optional: boolean;
|
|
80
|
-
};
|
|
81
|
-
value: {
|
|
82
|
-
type: StringConstructor;
|
|
83
|
-
optional: boolean;
|
|
84
|
-
};
|
|
85
|
-
id: {
|
|
86
|
-
type: StringConstructor;
|
|
87
|
-
default: () => string;
|
|
88
|
-
};
|
|
89
|
-
}>> & {
|
|
90
|
-
"onUpdate:modelValue"?: ((_value: boolean) => any) | undefined;
|
|
91
|
-
}, {
|
|
92
|
-
as: string | Record<string, any>;
|
|
93
|
-
id: string;
|
|
94
|
-
modelValue: boolean;
|
|
95
|
-
defaultChecked: boolean;
|
|
96
|
-
}>;
|
|
97
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
-
id: {
|
|
99
|
-
type: StringConstructor;
|
|
100
|
-
required: false;
|
|
101
|
-
default: string;
|
|
102
|
-
};
|
|
103
|
-
label: {
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
required: true;
|
|
106
|
-
};
|
|
107
|
-
modelValue: {
|
|
108
|
-
type: BooleanConstructor;
|
|
109
|
-
required: true;
|
|
110
|
-
};
|
|
111
|
-
description: {
|
|
112
|
-
type: StringConstructor;
|
|
113
|
-
required: false;
|
|
114
|
-
};
|
|
115
|
-
onLabel: {
|
|
116
|
-
type: StringConstructor;
|
|
117
|
-
required: false;
|
|
118
|
-
default: string;
|
|
119
|
-
};
|
|
120
|
-
offLabel: {
|
|
121
|
-
type: StringConstructor;
|
|
122
|
-
required: false;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
}>> & {
|
|
126
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
127
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
id?: string | undefined;
|
|
3
|
+
label: string;
|
|
4
|
+
modelValue: boolean;
|
|
5
|
+
description?: string | undefined;
|
|
6
|
+
onLabel?: string | undefined;
|
|
7
|
+
offLabel?: string | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
id: string;
|
|
10
|
+
offLabel: string;
|
|
11
|
+
onLabel: string;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: boolean) => void;
|
|
14
|
+
change: (value: boolean) => void;
|
|
15
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
id?: string | undefined;
|
|
17
|
+
label: string;
|
|
18
|
+
modelValue: boolean;
|
|
19
|
+
description?: string | undefined;
|
|
20
|
+
onLabel?: string | undefined;
|
|
21
|
+
offLabel?: string | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
id: string;
|
|
24
|
+
offLabel: string;
|
|
25
|
+
onLabel: string;
|
|
26
|
+
}>>> & {
|
|
27
|
+
onChange?: ((value: boolean) => any) | undefined;
|
|
28
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
128
29
|
}, {
|
|
129
30
|
id: string;
|
|
130
31
|
onLabel: string;
|
|
131
32
|
offLabel: string;
|
|
132
|
-
}>;
|
|
133
|
-
export default
|
|
33
|
+
}, {}>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
+
} : {
|
|
40
|
+
type: import('vue').PropType<T[K]>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
type __VLS_WithDefaults<P, D> = {
|
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
+
default: D[K];
|
|
47
|
+
}> : P[K];
|
|
48
|
+
};
|
|
49
|
+
type __VLS_Prettify<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
|
@@ -1,2 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { Size } from "../types/types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
modelValue?: string | null | undefined;
|
|
4
|
+
size?: Size | undefined;
|
|
5
|
+
isDisabled?: boolean | undefined;
|
|
6
|
+
block?: boolean | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
type: string;
|
|
9
|
+
size: string;
|
|
10
|
+
isDisabled: boolean;
|
|
11
|
+
}>, {
|
|
12
|
+
focus: () => void;
|
|
13
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: string) => void;
|
|
15
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
modelValue?: string | null | undefined;
|
|
17
|
+
size?: Size | undefined;
|
|
18
|
+
isDisabled?: boolean | undefined;
|
|
19
|
+
block?: boolean | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
type: string;
|
|
22
|
+
size: string;
|
|
23
|
+
isDisabled: boolean;
|
|
24
|
+
}>>> & {
|
|
25
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
size: Size;
|
|
28
|
+
isDisabled: boolean;
|
|
29
|
+
}, {}>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
type __VLS_WithDefaults<P, D> = {
|
|
41
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
42
|
+
default: D[K];
|
|
43
|
+
}> : P[K];
|
|
44
|
+
};
|
|
45
|
+
type __VLS_Prettify<T> = {
|
|
46
|
+
[K in keyof T]: T[K];
|
|
47
|
+
} & {};
|
package/dist/index.d.ts
CHANGED