@vue/devtools-ui 7.3.4 → 7.3.5
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/ic-icons-data-DOuTCdZE.cjs +1 -0
- package/dist/ic-icons-data-stfsGcEC.js +2196 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +429 -1000
- package/dist/style.css +1 -1
- package/dist/theme.cjs +2 -2
- package/dist/theme.js +17 -146
- package/dist/types/src/components/Badge.d.ts +11 -0
- package/dist/types/src/components/Button.d.ts +70 -0
- package/dist/types/src/components/Card.d.ts +11 -0
- package/dist/types/src/components/Checkbox.d.ts +35 -0
- package/dist/types/src/components/Confirm.d.ts +84 -0
- package/dist/types/src/components/DarkToggle.d.ts +57 -0
- package/dist/types/src/components/Dialog.d.ts +78 -0
- package/dist/types/src/components/Drawer.d.ts +77 -0
- package/dist/types/src/components/Dropdown.d.ts +40 -0
- package/dist/types/src/components/DropdownButton.d.ts +41 -0
- package/dist/types/src/components/FormField.d.ts +47 -0
- package/dist/types/src/components/IcIcon.d.ts +15 -0
- package/dist/types/src/components/Icon.d.ts +33 -0
- package/dist/types/src/components/Input.d.ts +84 -0
- package/dist/types/src/components/LoadingIndicator.d.ts +2 -0
- package/dist/types/src/components/Notification.d.ts +33 -0
- package/dist/types/src/components/Overlay.d.ts +42 -0
- package/dist/types/src/components/Select.d.ts +53 -0
- package/dist/types/src/components/Switch.d.ts +30 -0
- package/dist/types/src/components/Tooltip.d.ts +23 -0
- package/dist/types/src/components/index.d.ts +41 -0
- package/dist/types/src/composables/index.d.ts +3 -0
- package/dist/types/src/composables/notification.d.ts +10 -0
- package/dist/types/src/composables/theme.d.ts +7 -0
- package/dist/types/src/constants/ic-icons.d.ts +1 -0
- package/dist/types/src/index.d.ts +6 -0
- package/dist/types/src/types/floating-vue.d.ts +10 -0
- package/dist/types/src/types/index.d.ts +1 -0
- package/dist/types/theme/index.d.ts +2 -0
- package/dist/types/{theme.d.ts → theme/theme.d.ts} +66 -73
- package/dist/types/theme/uno.config.d.ts +3 -0
- package/dist/vendor-BtJ-3rRj.cjs +1 -0
- package/dist/vendor-XKDuzWDy.js +731 -0
- package/package.json +8 -7
- package/dist/types/index.d.ts +0 -1062
|
@@ -0,0 +1,57 @@
|
|
|
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 function __VLS_template(): {
|
|
7
|
+
default?(_: {
|
|
8
|
+
mode: "auto" | "light" | "dark";
|
|
9
|
+
isDark: boolean;
|
|
10
|
+
toggle: typeof toggle;
|
|
11
|
+
}): any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
+
isDark?: boolean;
|
|
15
|
+
animation?: boolean;
|
|
16
|
+
animationDuration?: number;
|
|
17
|
+
}>, {
|
|
18
|
+
isDark: boolean;
|
|
19
|
+
animation: boolean;
|
|
20
|
+
animationDuration: number;
|
|
21
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
22
|
+
isDark?: boolean;
|
|
23
|
+
animation?: boolean;
|
|
24
|
+
animationDuration?: number;
|
|
25
|
+
}>, {
|
|
26
|
+
isDark: boolean;
|
|
27
|
+
animation: boolean;
|
|
28
|
+
animationDuration: number;
|
|
29
|
+
}>>>, {
|
|
30
|
+
isDark: boolean;
|
|
31
|
+
animation: boolean;
|
|
32
|
+
animationDuration: number;
|
|
33
|
+
}, {}>;
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
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
|
+
} & {};
|
|
53
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { OverlayProps } from './Overlay';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
title?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
footer?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
modelValue?: boolean;
|
|
10
|
+
autoClose?: boolean;
|
|
11
|
+
title?: string;
|
|
12
|
+
width?: string;
|
|
13
|
+
height?: string;
|
|
14
|
+
closable?: boolean;
|
|
15
|
+
mountTo?: string | HTMLElement;
|
|
16
|
+
} & OverlayProps>, {
|
|
17
|
+
title: string;
|
|
18
|
+
modelValue: boolean;
|
|
19
|
+
autoClose: boolean;
|
|
20
|
+
width: string;
|
|
21
|
+
height: string;
|
|
22
|
+
closable: boolean;
|
|
23
|
+
mountTo: string;
|
|
24
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
close: () => void;
|
|
26
|
+
"update:modelValue": (value: boolean) => void;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
28
|
+
modelValue?: boolean;
|
|
29
|
+
autoClose?: boolean;
|
|
30
|
+
title?: string;
|
|
31
|
+
width?: string;
|
|
32
|
+
height?: string;
|
|
33
|
+
closable?: boolean;
|
|
34
|
+
mountTo?: string | HTMLElement;
|
|
35
|
+
} & OverlayProps>, {
|
|
36
|
+
title: string;
|
|
37
|
+
modelValue: boolean;
|
|
38
|
+
autoClose: boolean;
|
|
39
|
+
width: string;
|
|
40
|
+
height: string;
|
|
41
|
+
closable: boolean;
|
|
42
|
+
mountTo: string;
|
|
43
|
+
}>>> & {
|
|
44
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
45
|
+
onClose?: (() => any) | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
title: string;
|
|
48
|
+
modelValue: boolean;
|
|
49
|
+
autoClose: boolean;
|
|
50
|
+
width: string;
|
|
51
|
+
height: string;
|
|
52
|
+
closable: boolean;
|
|
53
|
+
mountTo: string | HTMLElement;
|
|
54
|
+
}, {}>;
|
|
55
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
56
|
+
export default _default;
|
|
57
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
58
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
59
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
60
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
61
|
+
} : {
|
|
62
|
+
type: import('vue').PropType<T[K]>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
type __VLS_WithDefaults<P, D> = {
|
|
67
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
68
|
+
default: D[K];
|
|
69
|
+
}> : P[K];
|
|
70
|
+
};
|
|
71
|
+
type __VLS_Prettify<T> = {
|
|
72
|
+
[K in keyof T]: T[K];
|
|
73
|
+
} & {};
|
|
74
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
75
|
+
new (): {
|
|
76
|
+
$slots: S;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { OverlayProps } from './Overlay';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
modelValue: boolean;
|
|
8
|
+
mountTo?: string | HTMLElement;
|
|
9
|
+
placement?: "left" | "right" | "top" | "bottom";
|
|
10
|
+
closeOutside?: boolean;
|
|
11
|
+
closable?: boolean;
|
|
12
|
+
contentClass?: string;
|
|
13
|
+
permanent?: boolean;
|
|
14
|
+
contentBlur?: boolean;
|
|
15
|
+
top?: string | HTMLElement;
|
|
16
|
+
} & OverlayProps>, {
|
|
17
|
+
mountTo: string;
|
|
18
|
+
placement: string;
|
|
19
|
+
closeOutside: boolean;
|
|
20
|
+
closable: boolean;
|
|
21
|
+
permanent: boolean;
|
|
22
|
+
contentBlur: boolean;
|
|
23
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (modelValue: boolean) => void;
|
|
25
|
+
close: () => void;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
27
|
+
modelValue: boolean;
|
|
28
|
+
mountTo?: string | HTMLElement;
|
|
29
|
+
placement?: "left" | "right" | "top" | "bottom";
|
|
30
|
+
closeOutside?: boolean;
|
|
31
|
+
closable?: boolean;
|
|
32
|
+
contentClass?: string;
|
|
33
|
+
permanent?: boolean;
|
|
34
|
+
contentBlur?: boolean;
|
|
35
|
+
top?: string | HTMLElement;
|
|
36
|
+
} & OverlayProps>, {
|
|
37
|
+
mountTo: string;
|
|
38
|
+
placement: string;
|
|
39
|
+
closeOutside: boolean;
|
|
40
|
+
closable: boolean;
|
|
41
|
+
permanent: boolean;
|
|
42
|
+
contentBlur: boolean;
|
|
43
|
+
}>>> & {
|
|
44
|
+
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
45
|
+
onClose?: (() => any) | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
closable: boolean;
|
|
48
|
+
mountTo: string | HTMLElement;
|
|
49
|
+
placement: "left" | "right" | "top" | "bottom";
|
|
50
|
+
closeOutside: boolean;
|
|
51
|
+
permanent: boolean;
|
|
52
|
+
contentBlur: boolean;
|
|
53
|
+
}, {}>;
|
|
54
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
55
|
+
export default _default;
|
|
56
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
58
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
+
} : {
|
|
61
|
+
type: import('vue').PropType<T[K]>;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
type __VLS_WithDefaults<P, D> = {
|
|
66
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
67
|
+
default: D[K];
|
|
68
|
+
}> : P[K];
|
|
69
|
+
};
|
|
70
|
+
type __VLS_Prettify<T> = {
|
|
71
|
+
[K in keyof T]: T[K];
|
|
72
|
+
} & {};
|
|
73
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
74
|
+
new (): {
|
|
75
|
+
$slots: S;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { FloatingVueCommonProps } from '../types';
|
|
2
|
+
import { ButtonProps } from './Button';
|
|
3
|
+
|
|
4
|
+
declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{
|
|
6
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
7
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
8
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
9
|
+
}, never>) & ({
|
|
10
|
+
label?: string;
|
|
11
|
+
buttonProps?: ButtonProps;
|
|
12
|
+
buttonClass?: string;
|
|
13
|
+
} & FloatingVueCommonProps), keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
|
|
14
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
15
|
+
attrs: any;
|
|
16
|
+
slots: ReturnType<() => Readonly<{
|
|
17
|
+
default: () => any;
|
|
18
|
+
popper: (props: {
|
|
19
|
+
hide: () => void;
|
|
20
|
+
}) => any;
|
|
21
|
+
'button-icon': () => any;
|
|
22
|
+
'button-icon-right': () => any;
|
|
23
|
+
}> & {
|
|
24
|
+
default: () => any;
|
|
25
|
+
popper: (props: {
|
|
26
|
+
hide: () => void;
|
|
27
|
+
}) => any;
|
|
28
|
+
'button-icon': () => any;
|
|
29
|
+
'button-icon-right': () => any;
|
|
30
|
+
}>;
|
|
31
|
+
emit: (evt: "update:visible", value: boolean) => void;
|
|
32
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}> & {
|
|
35
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
36
|
+
};
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_Prettify<T> = {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} & {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ButtonProps } from './Button';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
icon?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps & {
|
|
8
|
+
keepOpen?: boolean;
|
|
9
|
+
}>, {
|
|
10
|
+
keepOpen: boolean;
|
|
11
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps & {
|
|
12
|
+
keepOpen?: boolean;
|
|
13
|
+
}>, {
|
|
14
|
+
keepOpen: boolean;
|
|
15
|
+
}>>>, {
|
|
16
|
+
keepOpen: boolean;
|
|
17
|
+
}, {}>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
}> : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue: string;
|
|
3
|
+
status?: "normal" | "danger" | "success" | "warning";
|
|
4
|
+
showMessage?: boolean;
|
|
5
|
+
message?: string;
|
|
6
|
+
placeholder?: string;
|
|
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?: "normal" | "danger" | "success" | "warning";
|
|
16
|
+
showMessage?: boolean;
|
|
17
|
+
message?: string;
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
}>, {
|
|
20
|
+
message: string;
|
|
21
|
+
showMessage: boolean;
|
|
22
|
+
status: string;
|
|
23
|
+
}>>> & {
|
|
24
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
message: string;
|
|
27
|
+
status: "normal" | "danger" | "success" | "warning";
|
|
28
|
+
showMessage: 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
|
+
} & {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
name: string;
|
|
3
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
name: string;
|
|
5
|
+
}>>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
icon?: string;
|
|
3
|
+
inline?: boolean;
|
|
4
|
+
action?: boolean;
|
|
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;
|
|
9
|
+
inline?: boolean;
|
|
10
|
+
action?: boolean;
|
|
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,84 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue: string;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
variant?: "normal" | "accent" | "flat" | "warning";
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
leftIcon?: string;
|
|
7
|
+
rightIcon?: string;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
autoFocus?: boolean;
|
|
10
|
+
loadingDebounceTime?: number;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
type?: string;
|
|
13
|
+
}>, {
|
|
14
|
+
placeholder: string;
|
|
15
|
+
variant: string;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
type: string;
|
|
18
|
+
/**
|
|
19
|
+
* loading will auto enable disabled
|
|
20
|
+
*/
|
|
21
|
+
loading: boolean;
|
|
22
|
+
autoFocus: boolean;
|
|
23
|
+
loadingDebounceTime: number;
|
|
24
|
+
readonly: boolean;
|
|
25
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
"update:modelValue": (value: string) => void;
|
|
27
|
+
updateFocused: (value: boolean) => void;
|
|
28
|
+
keyTab: (e: KeyboardEvent) => void;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
30
|
+
modelValue: string;
|
|
31
|
+
placeholder?: string;
|
|
32
|
+
variant?: "normal" | "accent" | "flat" | "warning";
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
leftIcon?: string;
|
|
35
|
+
rightIcon?: string;
|
|
36
|
+
loading?: boolean;
|
|
37
|
+
autoFocus?: boolean;
|
|
38
|
+
loadingDebounceTime?: number;
|
|
39
|
+
readonly?: boolean;
|
|
40
|
+
type?: string;
|
|
41
|
+
}>, {
|
|
42
|
+
placeholder: string;
|
|
43
|
+
variant: string;
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
type: string;
|
|
46
|
+
/**
|
|
47
|
+
* loading will auto enable disabled
|
|
48
|
+
*/
|
|
49
|
+
loading: boolean;
|
|
50
|
+
autoFocus: boolean;
|
|
51
|
+
loadingDebounceTime: number;
|
|
52
|
+
readonly: boolean;
|
|
53
|
+
}>>> & {
|
|
54
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
55
|
+
onUpdateFocused?: ((value: boolean) => any) | undefined;
|
|
56
|
+
onKeyTab?: ((e: KeyboardEvent) => any) | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
type: string;
|
|
59
|
+
loading: boolean;
|
|
60
|
+
disabled: boolean;
|
|
61
|
+
variant: "normal" | "accent" | "flat" | "warning";
|
|
62
|
+
placeholder: string;
|
|
63
|
+
autoFocus: boolean;
|
|
64
|
+
loadingDebounceTime: number;
|
|
65
|
+
readonly: boolean;
|
|
66
|
+
}, {}>;
|
|
67
|
+
export default _default;
|
|
68
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
69
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
70
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
71
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
72
|
+
} : {
|
|
73
|
+
type: import('vue').PropType<T[K]>;
|
|
74
|
+
required: true;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
type __VLS_WithDefaults<P, D> = {
|
|
78
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
79
|
+
default: D[K];
|
|
80
|
+
}> : P[K];
|
|
81
|
+
};
|
|
82
|
+
type __VLS_Prettify<T> = {
|
|
83
|
+
[K in keyof T]: T[K];
|
|
84
|
+
} & {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { VueNotificationOptions } from '../composables/notification';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VueNotificationOptions>, {
|
|
4
|
+
placement: string;
|
|
5
|
+
type: string;
|
|
6
|
+
duration: number;
|
|
7
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VueNotificationOptions>, {
|
|
8
|
+
placement: string;
|
|
9
|
+
type: string;
|
|
10
|
+
duration: number;
|
|
11
|
+
}>>>, {
|
|
12
|
+
type: "success" | "error" | "info" | "warning";
|
|
13
|
+
duration: number;
|
|
14
|
+
placement: import('../composables/notification').VueNotificationPlacement;
|
|
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,42 @@
|
|
|
1
|
+
export interface OverlayProps {
|
|
2
|
+
dim?: boolean;
|
|
3
|
+
blur?: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* Position of the overlay, default is `fixed`
|
|
6
|
+
*/
|
|
7
|
+
position?: 'fixed' | 'absolute';
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OverlayProps>, {
|
|
13
|
+
position: string;
|
|
14
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OverlayProps>, {
|
|
15
|
+
position: string;
|
|
16
|
+
}>>>, {
|
|
17
|
+
position: "fixed" | "absolute";
|
|
18
|
+
}, {}>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ButtonProps } from './Button';
|
|
2
|
+
|
|
3
|
+
declare const _default: <Value extends number | string, Label, M extends boolean>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{
|
|
5
|
+
"onUpdate:modelValue"?: ((value: M extends true ? Value[] : Value) => any) | undefined;
|
|
6
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
7
|
+
"onUpdate:modelValue"?: ((value: M extends true ? Value[] : Value) => any) | undefined;
|
|
8
|
+
}, never>) & {
|
|
9
|
+
modelValue: M extends true ? Value[] : Value;
|
|
10
|
+
multiple?: M;
|
|
11
|
+
options: {
|
|
12
|
+
label: Label;
|
|
13
|
+
value: Value;
|
|
14
|
+
}[];
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
autoClose?: boolean;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
labelRenderer?: (label: Label) => string;
|
|
19
|
+
buttonProps?: ButtonProps;
|
|
20
|
+
}, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
|
|
21
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
22
|
+
attrs: any;
|
|
23
|
+
slots: ReturnType<() => Readonly<{
|
|
24
|
+
item: (props: {
|
|
25
|
+
item: {
|
|
26
|
+
label: Label;
|
|
27
|
+
value: Value;
|
|
28
|
+
};
|
|
29
|
+
active: boolean;
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
}) => any;
|
|
32
|
+
button: () => any;
|
|
33
|
+
}> & {
|
|
34
|
+
item: (props: {
|
|
35
|
+
item: {
|
|
36
|
+
label: Label;
|
|
37
|
+
value: Value;
|
|
38
|
+
};
|
|
39
|
+
active: boolean;
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
}) => any;
|
|
42
|
+
button: () => any;
|
|
43
|
+
}>;
|
|
44
|
+
emit: (evt: "update:modelValue", value: M extends true ? Value[] : Value) => void;
|
|
45
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
}> & {
|
|
48
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
49
|
+
};
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_Prettify<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
modelValue: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (value: boolean) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
modelValue: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}>>> & {
|
|
13
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
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_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FloatingVueCommonProps } from '../types';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
popper?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<FloatingVueCommonProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FloatingVueCommonProps>>>, {}, {}>;
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|