@roku-ui/vue 0.19.0 → 0.21.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/dist/components/AspectRatio.vue.d.ts +11 -15
- package/dist/components/AutoHeightTransition.vue.d.ts +17 -0
- package/dist/components/Avatar.vue.d.ts +17 -22
- package/dist/components/Btn.vue.d.ts +21 -30
- package/dist/components/BtnGroup.vue.d.ts +5 -5
- package/dist/components/ChatContainer.vue.d.ts +3 -2
- package/dist/components/ChatMessage.vue.d.ts +11 -15
- package/dist/components/ChatSystem.vue.d.ts +10 -13
- package/dist/components/Chip.vue.d.ts +12 -17
- package/dist/components/ColorInput.vue.d.ts +7 -5
- package/dist/components/ColorSwatch.vue.d.ts +3 -6
- package/dist/components/Drawer.vue.d.ts +6 -5
- package/dist/components/Dropzone.vue.d.ts +11 -10
- package/dist/components/FullscreenOverlay.vue.d.ts +9 -6
- package/dist/components/Image.vue.d.ts +7 -14
- package/dist/components/Indicator.vue.d.ts +10 -13
- package/dist/components/Menu.vue.d.ts +14 -9
- package/dist/components/MenuItem.vue.d.ts +8 -8
- package/dist/components/Modal.vue.d.ts +6 -5
- package/dist/components/Notification.vue.d.ts +19 -27
- package/dist/components/NotificationSystem.vue.d.ts +6 -12
- package/dist/components/Overlay.vue.d.ts +12 -13
- package/dist/components/Paper.vue.d.ts +16 -20
- package/dist/components/PinInput.vue.d.ts +105 -9
- package/dist/components/Popover.vue.d.ts +10 -6
- package/dist/components/Progress.vue.d.ts +6 -13
- package/dist/components/Rating.vue.d.ts +5 -5
- package/dist/components/RokuProvider.vue.d.ts +12 -12
- package/dist/components/SchemeSwitch.vue.d.ts +4 -6
- package/dist/components/ScrollArea.vue.d.ts +16 -16
- package/dist/components/Select.vue.d.ts +6 -10
- package/dist/components/SelectArea.vue.d.ts +6 -8
- package/dist/components/Slider.vue.d.ts +10 -5
- package/dist/components/Switch.vue.d.ts +10 -6
- package/dist/components/TabItem.vue.d.ts +10 -9
- package/dist/components/Tabs.vue.d.ts +9 -6
- package/dist/components/Tag.vue.d.ts +20 -21
- package/dist/components/TextField.vue.d.ts +9 -6
- package/dist/components/ThemeProvider.vue.d.ts +7 -8
- package/dist/components/Tooltip.vue.d.ts +10 -7
- package/dist/components/TreeList.vue.d.ts +59 -12
- package/dist/components/index.d.ts +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4049 -2773
- package/dist/index.umd.cjs +1 -1
- package/dist/shared/index.d.ts +1 -1
- package/dist/test/demo/PopoverDemo.vue.d.ts +1 -1
- package/dist/test/demo/RatingDemo.vue.d.ts +1 -1
- package/dist/test/demo/SelectAreaDemo.vue.d.ts +3 -1
- package/dist/test/demo/SelectDemo.vue.d.ts +1 -1
- package/dist/test/demo/TagsDemo.vue.d.ts +1 -1
- package/dist/test/demo/WaterfallDemo.vue.d.ts +1 -1
- package/dist/utils/modals.d.ts +3 -3
- package/dist/utils/notifications.d.ts +3 -3
- package/package.json +24 -24
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
target?: HTMLElement;
|
|
3
|
+
color?: string;
|
|
4
|
+
};
|
|
1
5
|
export interface Area {
|
|
2
6
|
left: number;
|
|
3
7
|
top: number;
|
|
4
8
|
right: number;
|
|
5
9
|
bottom: number;
|
|
6
10
|
}
|
|
7
|
-
declare const _default: import('vue').DefineComponent<{
|
|
8
|
-
target?: HTMLElement;
|
|
9
|
-
color?: string;
|
|
10
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
12
|
selectStart: (args_0: {
|
|
12
13
|
target: EventTarget | null;
|
|
13
14
|
shift: boolean;
|
|
@@ -23,10 +24,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
23
24
|
shift: boolean;
|
|
24
25
|
ctrl: boolean;
|
|
25
26
|
}) => any;
|
|
26
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
27
|
-
target?: HTMLElement;
|
|
28
|
-
color?: string;
|
|
29
|
-
}> & Readonly<{
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
28
|
onSelectStart?: ((args_0: {
|
|
31
29
|
target: EventTarget | null;
|
|
32
30
|
shift: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
size?: 'sm' | 'md' | 'lg';
|
|
3
3
|
animate?: boolean;
|
|
4
4
|
width?: number;
|
|
@@ -9,15 +9,17 @@ declare let __VLS_typeProps: {
|
|
|
9
9
|
tickNum?: number;
|
|
10
10
|
color?: string;
|
|
11
11
|
minWidth?: number;
|
|
12
|
+
reverse?: boolean;
|
|
12
13
|
};
|
|
13
14
|
type __VLS_PublicProps = {
|
|
14
15
|
modelValue?: any;
|
|
15
|
-
} &
|
|
16
|
+
} & __VLS_Props;
|
|
16
17
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
-
"update:modelValue": (
|
|
18
|
+
"update:modelValue": (value: any) => any;
|
|
18
19
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
-
"onUpdate:modelValue"?: ((
|
|
20
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
20
21
|
}>, {
|
|
22
|
+
reverse: boolean;
|
|
21
23
|
animate: boolean;
|
|
22
24
|
color: string;
|
|
23
25
|
size: "sm" | "md" | "lg";
|
|
@@ -25,5 +27,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
25
27
|
min: number;
|
|
26
28
|
step: number;
|
|
27
29
|
minWidth: number;
|
|
28
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
|
+
wrapper: HTMLDivElement;
|
|
32
|
+
indicator: HTMLDivElement;
|
|
33
|
+
}, HTMLDivElement>;
|
|
29
34
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Color } from '../types';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
size?: 'sm' | 'md' | 'lg';
|
|
4
4
|
animate?: boolean;
|
|
5
5
|
options?: string[];
|
|
@@ -10,22 +10,26 @@ declare let __VLS_typeProps: {
|
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
offIcon?: string;
|
|
12
12
|
onIcon?: string;
|
|
13
|
-
value?: boolean;
|
|
14
13
|
indicatorIcon?: string;
|
|
15
14
|
onIndicatorIcon?: string;
|
|
16
15
|
offIndicatorIcon?: string;
|
|
17
16
|
};
|
|
18
17
|
type __VLS_PublicProps = {
|
|
19
18
|
modelValue?: boolean;
|
|
20
|
-
} &
|
|
19
|
+
} & __VLS_Props;
|
|
21
20
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (
|
|
21
|
+
"update:modelValue": (value: boolean) => any;
|
|
22
|
+
change: (args_0: boolean) => any;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
-
"onUpdate:modelValue"?: ((
|
|
24
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
25
|
+
onChange?: ((args_0: boolean) => any) | undefined;
|
|
25
26
|
}>, {
|
|
26
27
|
animate: boolean;
|
|
27
28
|
color: Color;
|
|
28
29
|
size: "sm" | "md" | "lg";
|
|
29
30
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
30
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
32
|
+
wrapperRef: HTMLDivElement;
|
|
33
|
+
wrapper: HTMLDivElement;
|
|
34
|
+
}, any>;
|
|
31
35
|
export default _default;
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: string | number | symbol;
|
|
3
|
+
color?: string;
|
|
4
|
+
};
|
|
1
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
2
7
|
slots: {
|
|
3
8
|
default?(_: {}): any;
|
|
4
9
|
};
|
|
5
10
|
refs: {
|
|
6
11
|
tabRef: HTMLButtonElement;
|
|
7
12
|
};
|
|
8
|
-
|
|
13
|
+
rootEl: HTMLButtonElement;
|
|
9
14
|
};
|
|
10
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
12
|
-
value: string | number | symbol;
|
|
13
|
-
color?: string;
|
|
14
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
15
|
-
value: string | number | symbol;
|
|
16
|
-
color?: string;
|
|
17
|
-
}> & Readonly<{}>, {
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
17
|
color: string;
|
|
19
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
tabRef: HTMLButtonElement;
|
|
20
|
+
}, HTMLButtonElement>;
|
|
20
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
22
|
export default _default;
|
|
22
23
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,27 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
defaultValue?: string | number | symbol;
|
|
3
3
|
direction?: 'horizontal' | 'vertical';
|
|
4
4
|
};
|
|
5
5
|
type __VLS_PublicProps = {
|
|
6
6
|
modelValue?: string | number | symbol;
|
|
7
|
-
} &
|
|
7
|
+
} & __VLS_Props;
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: {
|
|
10
11
|
default?(_: {}): any;
|
|
11
12
|
};
|
|
12
13
|
refs: {
|
|
13
14
|
tabRef: HTMLDivElement;
|
|
14
15
|
};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
-
"update:modelValue": (
|
|
20
|
+
"update:modelValue": (value: string | number | symbol) => any;
|
|
20
21
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
|
-
"onUpdate:modelValue"?: ((
|
|
22
|
+
"onUpdate:modelValue"?: ((value: string | number | symbol) => any) | undefined;
|
|
22
23
|
}>, {
|
|
23
24
|
direction: "horizontal" | "vertical";
|
|
24
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
|
+
tabRef: HTMLDivElement;
|
|
27
|
+
}, HTMLDivElement>;
|
|
25
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
29
|
export default _default;
|
|
27
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
import { BtnVariant } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
color?: string;
|
|
4
|
+
variant?: BtnVariant;
|
|
5
|
+
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
6
|
+
size?: 'sm' | 'md' | 'lg';
|
|
7
|
+
leftIcon?: string;
|
|
8
|
+
rightIcon?: string;
|
|
9
|
+
};
|
|
2
10
|
declare function __VLS_template(): {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default
|
|
6
|
-
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: Readonly<{
|
|
13
|
+
default?: (props: any) => any;
|
|
14
|
+
rightIcon?: (props: any) => any;
|
|
15
|
+
leftIcon?: (props: any) => any;
|
|
16
|
+
}> & {
|
|
17
|
+
default?: (props: any) => any;
|
|
18
|
+
rightIcon?: (props: any) => any;
|
|
19
|
+
leftIcon?: (props: any) => any;
|
|
7
20
|
};
|
|
8
21
|
refs: {};
|
|
9
|
-
|
|
22
|
+
rootEl: HTMLSpanElement;
|
|
10
23
|
};
|
|
11
24
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
13
|
-
color?: string;
|
|
14
|
-
variant?: BtnVariant;
|
|
15
|
-
rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
16
|
-
size?: "sm" | "md" | "lg";
|
|
17
|
-
leftIcon?: string;
|
|
18
|
-
rightIcon?: string;
|
|
19
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
20
|
-
color?: string;
|
|
21
|
-
variant?: BtnVariant;
|
|
22
|
-
rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
23
|
-
size?: "sm" | "md" | "lg";
|
|
24
|
-
leftIcon?: string;
|
|
25
|
-
rightIcon?: string;
|
|
26
|
-
}> & Readonly<{}>, {
|
|
25
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
27
26
|
variant: BtnVariant;
|
|
28
27
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
29
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
30
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
30
|
export default _default;
|
|
32
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
onChange?: (value: string) => void;
|
|
3
3
|
color?: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
4
4
|
error?: boolean;
|
|
@@ -11,28 +11,31 @@ declare let __VLS_typeProps: {
|
|
|
11
11
|
};
|
|
12
12
|
type __VLS_PublicProps = {
|
|
13
13
|
modelValue?: string | number;
|
|
14
|
-
} &
|
|
14
|
+
} & __VLS_Props;
|
|
15
15
|
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
16
17
|
slots: {
|
|
17
18
|
label?(_: {}): any;
|
|
18
19
|
};
|
|
19
20
|
refs: {
|
|
20
21
|
input: HTMLInputElement;
|
|
21
22
|
};
|
|
22
|
-
|
|
23
|
+
rootEl: HTMLDivElement;
|
|
23
24
|
};
|
|
24
25
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
26
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
26
27
|
el: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
27
28
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
-
"update:modelValue": (
|
|
29
|
+
"update:modelValue": (value: string | number) => any;
|
|
29
30
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
30
|
-
"onUpdate:modelValue"?: ((
|
|
31
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
31
32
|
}>, {
|
|
32
33
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
33
34
|
size: "sm" | "md" | "lg";
|
|
34
35
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
35
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
37
|
+
input: HTMLInputElement;
|
|
38
|
+
}, HTMLDivElement>;
|
|
36
39
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
40
|
export default _default;
|
|
38
41
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { ThemeData } from '..';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
theme?: ThemeData;
|
|
4
|
+
scheme?: string;
|
|
5
|
+
};
|
|
2
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
3
8
|
slots: {
|
|
4
9
|
default?(_: {}): any;
|
|
5
10
|
};
|
|
6
11
|
refs: {};
|
|
7
|
-
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
8
13
|
};
|
|
9
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
|
-
theme?: ThemeData;
|
|
12
|
-
scheme?: string;
|
|
13
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
14
|
-
theme?: ThemeData;
|
|
15
|
-
scheme?: string;
|
|
16
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
17
|
export default _default;
|
|
19
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
timeout?: number;
|
|
3
|
+
};
|
|
1
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
2
6
|
slots: {
|
|
3
7
|
default?(_: {}): any;
|
|
4
8
|
content?(_: {}): any;
|
|
@@ -7,16 +11,15 @@ declare function __VLS_template(): {
|
|
|
7
11
|
hoverableRef: HTMLDivElement;
|
|
8
12
|
tooltipRef: HTMLDivElement;
|
|
9
13
|
};
|
|
10
|
-
|
|
14
|
+
rootEl: HTMLDivElement;
|
|
11
15
|
};
|
|
12
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
14
|
-
timeout?: number;
|
|
15
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
16
|
-
timeout?: number;
|
|
17
|
-
}> & Readonly<{}>, {
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
18
|
timeout: number;
|
|
19
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
|
+
hoverableRef: HTMLDivElement;
|
|
21
|
+
tooltipRef: HTMLDivElement;
|
|
22
|
+
}, HTMLDivElement>;
|
|
20
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
24
|
export default _default;
|
|
22
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,32 +1,79 @@
|
|
|
1
|
-
import { Rounded } from '../types';
|
|
2
1
|
import { VNode } from 'vue';
|
|
3
|
-
|
|
2
|
+
import { Rounded } from '../types';
|
|
3
|
+
export interface TreeListLeafData {
|
|
4
|
+
icon?: string | VNode;
|
|
4
5
|
title: string;
|
|
5
6
|
value: string;
|
|
6
7
|
attrs?: Record<string, any>;
|
|
7
8
|
is?: string | VNode;
|
|
8
9
|
}
|
|
9
|
-
interface TreeListHeaderData {
|
|
10
|
+
export interface TreeListHeaderData {
|
|
11
|
+
icon?: string | VNode;
|
|
10
12
|
title: string;
|
|
11
13
|
}
|
|
12
|
-
interface
|
|
14
|
+
export interface TreeListCollapseData {
|
|
13
15
|
title: string;
|
|
14
|
-
|
|
16
|
+
icon?: string | VNode;
|
|
17
|
+
value?: string;
|
|
18
|
+
children?: TreeListItemData[];
|
|
15
19
|
open?: boolean;
|
|
16
20
|
}
|
|
17
|
-
type TreeListItemData =
|
|
18
|
-
|
|
21
|
+
export type TreeListItemData = TreeListLeafData | TreeListHeaderData | TreeListCollapseData;
|
|
22
|
+
type __VLS_Props = {
|
|
19
23
|
items: TreeListItemData[];
|
|
20
24
|
rounded?: Rounded;
|
|
21
25
|
};
|
|
22
26
|
type __VLS_PublicProps = {
|
|
23
27
|
modelValue?: string;
|
|
24
|
-
} &
|
|
25
|
-
declare
|
|
26
|
-
|
|
28
|
+
} & __VLS_Props;
|
|
29
|
+
declare function __VLS_template(): {
|
|
30
|
+
attrs: Partial<{}>;
|
|
31
|
+
slots: Readonly<{
|
|
32
|
+
link?: (props: {
|
|
33
|
+
data: TreeListLeafData;
|
|
34
|
+
level: number;
|
|
35
|
+
}) => any;
|
|
36
|
+
title?: (props: {
|
|
37
|
+
data: TreeListCollapseData;
|
|
38
|
+
level: number;
|
|
39
|
+
}) => any;
|
|
40
|
+
header?: (props: {
|
|
41
|
+
data: TreeListHeaderData;
|
|
42
|
+
level: number;
|
|
43
|
+
}) => any;
|
|
44
|
+
}> & {
|
|
45
|
+
link?: (props: {
|
|
46
|
+
data: TreeListLeafData;
|
|
47
|
+
level: number;
|
|
48
|
+
}) => any;
|
|
49
|
+
title?: (props: {
|
|
50
|
+
data: TreeListCollapseData;
|
|
51
|
+
level: number;
|
|
52
|
+
}) => any;
|
|
53
|
+
header?: (props: {
|
|
54
|
+
data: TreeListHeaderData;
|
|
55
|
+
level: number;
|
|
56
|
+
}) => any;
|
|
57
|
+
};
|
|
58
|
+
refs: {
|
|
59
|
+
treeListRef: HTMLUListElement;
|
|
60
|
+
};
|
|
61
|
+
rootEl: HTMLUListElement;
|
|
62
|
+
};
|
|
63
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
64
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
65
|
+
"update:modelValue": (value: string) => any;
|
|
27
66
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
|
-
"onUpdate:modelValue"?: ((
|
|
67
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
29
68
|
}>, {
|
|
30
69
|
rounded: Rounded;
|
|
31
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
70
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
71
|
+
treeListRef: HTMLUListElement;
|
|
72
|
+
}, HTMLUListElement>;
|
|
73
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
74
|
export default _default;
|
|
75
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
76
|
+
new (): {
|
|
77
|
+
$slots: S;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as AspectRatio } from './AspectRatio.vue';
|
|
2
|
+
export { default as AutoHeightTransition } from './AutoHeightTransition.vue';
|
|
2
3
|
export { default as Avatar } from './Avatar.vue';
|
|
3
4
|
export { default as Btn } from './Btn.vue';
|
|
4
5
|
export { default as BtnGroup } from './BtnGroup.vue';
|