@vue/devtools-ui 7.0.0
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/LICENSE +21 -0
- package/README.md +3 -0
- package/dist/index.cjs +3 -0
- package/dist/index.js +1520 -0
- package/dist/style.css +1 -0
- package/dist/theme.cjs +17 -0
- package/dist/theme.js +278 -0
- package/dist/types/src/components/Badge.d.ts +9 -0
- package/dist/types/src/components/Button.d.ts +68 -0
- package/dist/types/src/components/Card.d.ts +9 -0
- package/dist/types/src/components/Checkbox.d.ts +35 -0
- package/dist/types/src/components/Confirm.d.ts +82 -0
- package/dist/types/src/components/DarkToggle.d.ts +55 -0
- package/dist/types/src/components/Dialog.d.ts +75 -0
- package/dist/types/src/components/Drawer.d.ts +74 -0
- package/dist/types/src/components/Dropdown.d.ts +101 -0
- package/dist/types/src/components/DropdownButton.d.ts +38 -0
- package/dist/types/src/components/FormField.d.ts +47 -0
- package/dist/types/src/components/Icon.d.ts +33 -0
- package/dist/types/src/components/Input.d.ts +79 -0
- package/dist/types/src/components/LoadingIndicator.d.ts +2 -0
- package/dist/types/src/components/Notification.d.ts +32 -0
- package/dist/types/src/components/Overlay.d.ts +22 -0
- package/dist/types/src/components/Select.d.ts +125 -0
- package/dist/types/src/components/Switch.d.ts +28 -0
- package/dist/types/src/components/Tooltip.d.ts +20 -0
- package/dist/types/src/components/index.d.ts +20 -0
- package/dist/types/src/composables/index.d.ts +2 -0
- package/dist/types/src/composables/notification.d.ts +10 -0
- package/dist/types/src/index.d.ts +5 -0
- package/dist/types/src/types/floating-vue.d.ts +9 -0
- package/dist/types/src/types/index.d.ts +1 -0
- package/dist/types/theme/index.d.ts +2 -0
- package/dist/types/theme/theme.d.ts +66 -0
- package/dist/types/theme/uno.config.d.ts +2 -0
- package/package.json +55 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Credit to [@hooray](https://github.com/hooray)
|
|
3
|
+
* @see https://github.com/vuejs/vitepress/pull/2347
|
|
4
|
+
*/
|
|
5
|
+
declare function toggle(event?: MouseEvent): void;
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
isDark?: boolean | undefined;
|
|
8
|
+
animation?: boolean | undefined;
|
|
9
|
+
animationDuration?: number | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
isDark: boolean;
|
|
12
|
+
animation: boolean;
|
|
13
|
+
animationDuration: number;
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
isDark?: boolean | undefined;
|
|
16
|
+
animation?: boolean | undefined;
|
|
17
|
+
animationDuration?: number | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
isDark: boolean;
|
|
20
|
+
animation: boolean;
|
|
21
|
+
animationDuration: number;
|
|
22
|
+
}>>>, {
|
|
23
|
+
isDark: boolean;
|
|
24
|
+
animation: boolean;
|
|
25
|
+
animationDuration: number;
|
|
26
|
+
}, {}>, {
|
|
27
|
+
default?(_: {
|
|
28
|
+
mode: import("@vueuse/core").UseColorModeReturn<"light" | "dark">;
|
|
29
|
+
isDark: import("vue").WritableComputedRef<boolean>;
|
|
30
|
+
toggle: typeof toggle;
|
|
31
|
+
}): any;
|
|
32
|
+
}>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
+
default: D[K];
|
|
46
|
+
}> : P[K];
|
|
47
|
+
};
|
|
48
|
+
type __VLS_Prettify<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { OverlayProps } from "./Overlay";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
modelValue?: boolean | undefined;
|
|
4
|
+
autoClose?: boolean | undefined;
|
|
5
|
+
title?: string | undefined;
|
|
6
|
+
width?: string | undefined;
|
|
7
|
+
height?: string | undefined;
|
|
8
|
+
closable?: boolean | undefined;
|
|
9
|
+
mountTo?: string | HTMLElement | undefined;
|
|
10
|
+
} & OverlayProps>, {
|
|
11
|
+
title: string;
|
|
12
|
+
modelValue: boolean;
|
|
13
|
+
autoClose: boolean;
|
|
14
|
+
width: string;
|
|
15
|
+
height: string;
|
|
16
|
+
closable: boolean;
|
|
17
|
+
mountTo: string;
|
|
18
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
close: () => void;
|
|
20
|
+
"update:modelValue": (value: boolean) => void;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
22
|
+
modelValue?: boolean | undefined;
|
|
23
|
+
autoClose?: boolean | undefined;
|
|
24
|
+
title?: string | undefined;
|
|
25
|
+
width?: string | undefined;
|
|
26
|
+
height?: string | undefined;
|
|
27
|
+
closable?: boolean | undefined;
|
|
28
|
+
mountTo?: string | HTMLElement | undefined;
|
|
29
|
+
} & OverlayProps>, {
|
|
30
|
+
title: string;
|
|
31
|
+
modelValue: boolean;
|
|
32
|
+
autoClose: boolean;
|
|
33
|
+
width: string;
|
|
34
|
+
height: string;
|
|
35
|
+
closable: boolean;
|
|
36
|
+
mountTo: string;
|
|
37
|
+
}>>> & {
|
|
38
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
39
|
+
onClose?: (() => any) | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
title: string;
|
|
42
|
+
modelValue: boolean;
|
|
43
|
+
autoClose: boolean;
|
|
44
|
+
width: string;
|
|
45
|
+
height: string;
|
|
46
|
+
closable: boolean;
|
|
47
|
+
mountTo: string | HTMLElement;
|
|
48
|
+
}, {}>, {
|
|
49
|
+
title?(_: {}): any;
|
|
50
|
+
default?(_: {}): any;
|
|
51
|
+
footer?(_: {}): any;
|
|
52
|
+
}>;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
55
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
56
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
57
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
58
|
+
} : {
|
|
59
|
+
type: import('vue').PropType<T[K]>;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
type __VLS_WithDefaults<P, D> = {
|
|
64
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
65
|
+
default: D[K];
|
|
66
|
+
}> : P[K];
|
|
67
|
+
};
|
|
68
|
+
type __VLS_Prettify<T> = {
|
|
69
|
+
[K in keyof T]: T[K];
|
|
70
|
+
} & {};
|
|
71
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
72
|
+
new (): {
|
|
73
|
+
$slots: S;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { OverlayProps } from "./Overlay";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
modelValue: boolean;
|
|
4
|
+
mountTo?: string | HTMLElement | undefined;
|
|
5
|
+
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
6
|
+
closeOutside?: boolean | undefined;
|
|
7
|
+
closable?: boolean | undefined;
|
|
8
|
+
contentClass?: string | undefined;
|
|
9
|
+
permanent?: boolean | undefined;
|
|
10
|
+
contentBlur?: boolean | undefined;
|
|
11
|
+
top?: string | HTMLElement | undefined;
|
|
12
|
+
} & OverlayProps>, {
|
|
13
|
+
mountTo: string;
|
|
14
|
+
placement: string;
|
|
15
|
+
closeOutside: boolean;
|
|
16
|
+
closable: boolean;
|
|
17
|
+
permanent: boolean;
|
|
18
|
+
contentBlur: boolean;
|
|
19
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (modelValue: boolean) => void;
|
|
21
|
+
close: () => void;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
modelValue: boolean;
|
|
24
|
+
mountTo?: string | HTMLElement | undefined;
|
|
25
|
+
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
26
|
+
closeOutside?: boolean | undefined;
|
|
27
|
+
closable?: boolean | undefined;
|
|
28
|
+
contentClass?: string | undefined;
|
|
29
|
+
permanent?: boolean | undefined;
|
|
30
|
+
contentBlur?: boolean | undefined;
|
|
31
|
+
top?: string | HTMLElement | undefined;
|
|
32
|
+
} & OverlayProps>, {
|
|
33
|
+
mountTo: string;
|
|
34
|
+
placement: string;
|
|
35
|
+
closeOutside: boolean;
|
|
36
|
+
closable: boolean;
|
|
37
|
+
permanent: boolean;
|
|
38
|
+
contentBlur: boolean;
|
|
39
|
+
}>>> & {
|
|
40
|
+
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
41
|
+
onClose?: (() => any) | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
closable: boolean;
|
|
44
|
+
mountTo: string | HTMLElement;
|
|
45
|
+
placement: "left" | "right" | "top" | "bottom";
|
|
46
|
+
closeOutside: boolean;
|
|
47
|
+
permanent: boolean;
|
|
48
|
+
contentBlur: boolean;
|
|
49
|
+
}, {}>, {
|
|
50
|
+
default?(_: {}): any;
|
|
51
|
+
}>;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
55
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
56
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
57
|
+
} : {
|
|
58
|
+
type: import('vue').PropType<T[K]>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
type __VLS_WithDefaults<P, D> = {
|
|
63
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
64
|
+
default: D[K];
|
|
65
|
+
}> : P[K];
|
|
66
|
+
};
|
|
67
|
+
type __VLS_Prettify<T> = {
|
|
68
|
+
[K in keyof T]: T[K];
|
|
69
|
+
} & {};
|
|
70
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
71
|
+
new (): {
|
|
72
|
+
$slots: S;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { ButtonProps } from "./Button";
|
|
2
|
+
declare const _default: <T>(__VLS_props: {
|
|
3
|
+
label?: string | undefined;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
|
+
placement?: import("floating-vue").Placement | undefined;
|
|
6
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
7
|
+
buttonProps?: ButtonProps | undefined;
|
|
8
|
+
buttonClass?: string | undefined;
|
|
9
|
+
trigger?: "click" | "hover" | undefined;
|
|
10
|
+
distance?: number | undefined;
|
|
11
|
+
skidding?: number | undefined;
|
|
12
|
+
shown?: boolean | undefined;
|
|
13
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
14
|
+
attrs: any;
|
|
15
|
+
slots: Readonly<{
|
|
16
|
+
default(): any;
|
|
17
|
+
popper(props: {
|
|
18
|
+
hide: () => void;
|
|
19
|
+
}): any;
|
|
20
|
+
'button-icon'(): any;
|
|
21
|
+
'button-icon-right'(): any;
|
|
22
|
+
}> & {
|
|
23
|
+
default(): any;
|
|
24
|
+
popper(props: {
|
|
25
|
+
hide: () => void;
|
|
26
|
+
}): any;
|
|
27
|
+
'button-icon'(): any;
|
|
28
|
+
'button-icon-right'(): any;
|
|
29
|
+
};
|
|
30
|
+
emit: (evt: "update:visible", value: boolean) => void;
|
|
31
|
+
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
32
|
+
props: {
|
|
33
|
+
label?: string | undefined;
|
|
34
|
+
disabled?: boolean | undefined;
|
|
35
|
+
placement?: import("floating-vue").Placement | undefined;
|
|
36
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
37
|
+
buttonProps?: ButtonProps | undefined;
|
|
38
|
+
buttonClass?: string | undefined;
|
|
39
|
+
trigger?: "click" | "hover" | undefined;
|
|
40
|
+
distance?: number | undefined;
|
|
41
|
+
skidding?: number | undefined;
|
|
42
|
+
shown?: boolean | undefined;
|
|
43
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
44
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
45
|
+
attrs: any;
|
|
46
|
+
slots: Readonly<{
|
|
47
|
+
default(): any;
|
|
48
|
+
popper(props: {
|
|
49
|
+
hide: () => void;
|
|
50
|
+
}): any;
|
|
51
|
+
'button-icon'(): any;
|
|
52
|
+
'button-icon-right'(): any;
|
|
53
|
+
}> & {
|
|
54
|
+
default(): any;
|
|
55
|
+
popper(props: {
|
|
56
|
+
hide: () => void;
|
|
57
|
+
}): any;
|
|
58
|
+
'button-icon'(): any;
|
|
59
|
+
'button-icon-right'(): any;
|
|
60
|
+
};
|
|
61
|
+
emit: (evt: "update:visible", value: boolean) => void;
|
|
62
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
}> & {
|
|
65
|
+
__ctx?: {
|
|
66
|
+
props: {
|
|
67
|
+
label?: string | undefined;
|
|
68
|
+
disabled?: boolean | undefined;
|
|
69
|
+
placement?: import("floating-vue").Placement | undefined;
|
|
70
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
71
|
+
buttonProps?: ButtonProps | undefined;
|
|
72
|
+
buttonClass?: string | undefined;
|
|
73
|
+
trigger?: "click" | "hover" | undefined;
|
|
74
|
+
distance?: number | undefined;
|
|
75
|
+
skidding?: number | undefined;
|
|
76
|
+
shown?: boolean | undefined;
|
|
77
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
78
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
79
|
+
attrs: any;
|
|
80
|
+
slots: Readonly<{
|
|
81
|
+
default(): any;
|
|
82
|
+
popper(props: {
|
|
83
|
+
hide: () => void;
|
|
84
|
+
}): any;
|
|
85
|
+
'button-icon'(): any;
|
|
86
|
+
'button-icon-right'(): any;
|
|
87
|
+
}> & {
|
|
88
|
+
default(): any;
|
|
89
|
+
popper(props: {
|
|
90
|
+
hide: () => void;
|
|
91
|
+
}): any;
|
|
92
|
+
'button-icon'(): any;
|
|
93
|
+
'button-icon-right'(): any;
|
|
94
|
+
};
|
|
95
|
+
emit: (evt: "update:visible", value: boolean) => void;
|
|
96
|
+
} | undefined;
|
|
97
|
+
};
|
|
98
|
+
export default _default;
|
|
99
|
+
type __VLS_Prettify<T> = {
|
|
100
|
+
[K in keyof T]: T[K];
|
|
101
|
+
} & {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ButtonProps } from "./Button";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps & {
|
|
3
|
+
keepOpen?: boolean | undefined;
|
|
4
|
+
}>, {
|
|
5
|
+
keepOpen: boolean;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps & {
|
|
7
|
+
keepOpen?: boolean | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
keepOpen: boolean;
|
|
10
|
+
}>>>, {
|
|
11
|
+
keepOpen: boolean;
|
|
12
|
+
}, {}>, {
|
|
13
|
+
icon?(_: {}): any;
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue: string;
|
|
3
|
+
status?: "danger" | "warning" | "success" | "normal" | undefined;
|
|
4
|
+
showMessage?: boolean | undefined;
|
|
5
|
+
message?: string | undefined;
|
|
6
|
+
placeholder?: string | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
message: string;
|
|
9
|
+
showMessage: boolean;
|
|
10
|
+
status: string;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: string) => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
+
modelValue: string;
|
|
15
|
+
status?: "danger" | "warning" | "success" | "normal" | undefined;
|
|
16
|
+
showMessage?: boolean | undefined;
|
|
17
|
+
message?: string | undefined;
|
|
18
|
+
placeholder?: string | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
message: string;
|
|
21
|
+
showMessage: boolean;
|
|
22
|
+
status: string;
|
|
23
|
+
}>>> & {
|
|
24
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
status: 'normal' | 'danger' | 'success' | 'warning';
|
|
27
|
+
showMessage: boolean;
|
|
28
|
+
message: string;
|
|
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
|
+
} & {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
icon?: string | undefined;
|
|
3
|
+
inline?: boolean | undefined;
|
|
4
|
+
action?: boolean | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
action: boolean;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
icon?: string | undefined;
|
|
9
|
+
inline?: boolean | undefined;
|
|
10
|
+
action?: boolean | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
action: boolean;
|
|
13
|
+
}>>>, {
|
|
14
|
+
action: boolean;
|
|
15
|
+
}, {}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue: string;
|
|
3
|
+
placeholder?: string | undefined;
|
|
4
|
+
variant?: "flat" | "accent" | "warning" | "normal" | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
password?: boolean | undefined;
|
|
7
|
+
leftIcon?: string | undefined;
|
|
8
|
+
rightIcon?: string | undefined;
|
|
9
|
+
loading?: boolean | undefined;
|
|
10
|
+
autoFocus?: boolean | undefined;
|
|
11
|
+
loadingDebounceTime?: number | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
placeholder: string;
|
|
14
|
+
variant: string;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
password: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* loading will auto enable disabled
|
|
19
|
+
*/
|
|
20
|
+
loading: boolean;
|
|
21
|
+
autoFocus: boolean;
|
|
22
|
+
loadingDebounceTime: number;
|
|
23
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (value: string) => void;
|
|
25
|
+
updateFocused: (value: boolean) => void;
|
|
26
|
+
keyTab: (e: KeyboardEvent) => void;
|
|
27
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
28
|
+
modelValue: string;
|
|
29
|
+
placeholder?: string | undefined;
|
|
30
|
+
variant?: "flat" | "accent" | "warning" | "normal" | undefined;
|
|
31
|
+
disabled?: boolean | undefined;
|
|
32
|
+
password?: boolean | undefined;
|
|
33
|
+
leftIcon?: string | undefined;
|
|
34
|
+
rightIcon?: string | undefined;
|
|
35
|
+
loading?: boolean | undefined;
|
|
36
|
+
autoFocus?: boolean | undefined;
|
|
37
|
+
loadingDebounceTime?: number | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
placeholder: string;
|
|
40
|
+
variant: string;
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
password: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* loading will auto enable disabled
|
|
45
|
+
*/
|
|
46
|
+
loading: boolean;
|
|
47
|
+
autoFocus: boolean;
|
|
48
|
+
loadingDebounceTime: number;
|
|
49
|
+
}>>> & {
|
|
50
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
51
|
+
onUpdateFocused?: ((value: boolean) => any) | undefined;
|
|
52
|
+
onKeyTab?: ((e: KeyboardEvent) => any) | undefined;
|
|
53
|
+
}, {
|
|
54
|
+
loading: boolean;
|
|
55
|
+
disabled: boolean;
|
|
56
|
+
variant: 'normal' | 'accent' | 'flat' | 'warning';
|
|
57
|
+
placeholder: string;
|
|
58
|
+
password: boolean;
|
|
59
|
+
autoFocus: boolean;
|
|
60
|
+
loadingDebounceTime: number;
|
|
61
|
+
}, {}>;
|
|
62
|
+
export default _default;
|
|
63
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
65
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
+
} : {
|
|
68
|
+
type: import('vue').PropType<T[K]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
type __VLS_WithDefaults<P, D> = {
|
|
73
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
74
|
+
default: D[K];
|
|
75
|
+
}> : P[K];
|
|
76
|
+
};
|
|
77
|
+
type __VLS_Prettify<T> = {
|
|
78
|
+
[K in keyof T]: T[K];
|
|
79
|
+
} & {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { VueNotificationOptions } from '../composables/notification';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VueNotificationOptions>, {
|
|
3
|
+
placement: string;
|
|
4
|
+
type: string;
|
|
5
|
+
duration: number;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VueNotificationOptions>, {
|
|
7
|
+
placement: string;
|
|
8
|
+
type: string;
|
|
9
|
+
duration: number;
|
|
10
|
+
}>>>, {
|
|
11
|
+
type: "warning" | "info" | "success" | "error";
|
|
12
|
+
duration: number;
|
|
13
|
+
placement: import("../composables/notification").VueNotificationPlacement;
|
|
14
|
+
}, {}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type __VLS_WithDefaults<P, D> = {
|
|
26
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
|
+
default: D[K];
|
|
28
|
+
}> : P[K];
|
|
29
|
+
};
|
|
30
|
+
type __VLS_Prettify<T> = {
|
|
31
|
+
[K in keyof T]: T[K];
|
|
32
|
+
} & {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface OverlayProps {
|
|
2
|
+
dim?: boolean;
|
|
3
|
+
blur?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<OverlayProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OverlayProps>>>, {}, {}>, {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|