@roku-ui/vue 0.20.0 → 0.22.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/README.md +33 -33
- package/dist/components/AppShell.vue.d.ts +55 -0
- 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/Calendar.vue.d.ts +40 -0
- 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/Checkbox.vue.d.ts +33 -0
- 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 +7 -6
- package/dist/components/Dropzone.vue.d.ts +11 -10
- package/dist/components/FullscreenOverlay.vue.d.ts +10 -7
- 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 +7 -6
- package/dist/components/Notification.vue.d.ts +21 -27
- package/dist/components/NotificationSystem.vue.d.ts +7 -13
- package/dist/components/Overlay.vue.d.ts +14 -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 +11 -6
- package/dist/components/ScrollArea.vue.d.ts +20 -18
- package/dist/components/Select.vue.d.ts +6 -10
- package/dist/components/SelectArea.vue.d.ts +6 -11
- package/dist/components/Slider.vue.d.ts +13 -5
- package/dist/components/Switch.vue.d.ts +14 -10
- 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 +58 -11
- package/dist/components/index.d.ts +4 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4277 -3248
- package/dist/index.umd.cjs +1 -1
- package/dist/shared/index.d.ts +8 -8
- package/dist/test/demo/AppShellDemo.vue.d.ts +2 -0
- package/dist/test/demo/AvatarDemo.vue.d.ts +2 -0
- package/dist/test/demo/ButtonDemo.vue.d.ts +2 -0
- package/dist/test/demo/CalendarDemo.vue.d.ts +2 -0
- package/dist/test/demo/ChatDemo.vue.d.ts +2 -0
- package/dist/test/demo/FormDemo.vue.d.ts +2 -0
- package/dist/test/demo/LayoutDemo.vue.d.ts +2 -0
- package/dist/test/demo/MediaDemo.vue.d.ts +2 -0
- package/dist/test/demo/ModalDemo.vue.d.ts +2 -0
- package/dist/test/demo/NavigationDemo.vue.d.ts +2 -0
- package/dist/test/demo/NotificationDemo.vue.d.ts +2 -0
- 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/SliderDemo.vue.d.ts +2 -0
- package/dist/test/demo/SwitchDemo.vue.d.ts +2 -0
- package/dist/test/demo/TagsDemo.vue.d.ts +1 -1
- package/dist/test/demo/TooltipDemo.vue.d.ts +2 -0
- package/dist/test/demo/WaterfallDemo.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/utils/modals.d.ts +5 -3
- package/dist/utils/notifications.d.ts +3 -3
- package/package.json +24 -24
|
@@ -1,27 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
dashed?: boolean;
|
|
3
|
+
accept?: 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
|
dropZoneRef: HTMLDivElement;
|
|
7
12
|
};
|
|
8
|
-
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
9
14
|
};
|
|
10
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
12
|
-
dashed?: boolean;
|
|
13
|
-
accept?: string;
|
|
14
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
17
|
drop: (files: File[] | null) => any;
|
|
16
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
17
|
-
dashed?: boolean;
|
|
18
|
-
accept?: string;
|
|
19
|
-
}> & Readonly<{
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
19
|
onDrop?: ((files: File[] | null) => any) | undefined;
|
|
21
20
|
}>, {
|
|
22
21
|
dashed: boolean;
|
|
23
22
|
accept: string;
|
|
24
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
|
+
dropZoneRef: HTMLDivElement;
|
|
25
|
+
}, HTMLDivElement>;
|
|
25
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
27
|
export default _default;
|
|
27
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,29 +1,32 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
persistent?: boolean;
|
|
3
3
|
blur?: 'sm' | 'md' | 'lg' | boolean;
|
|
4
4
|
wrapperClass?: string;
|
|
5
5
|
};
|
|
6
6
|
type __VLS_PublicProps = {
|
|
7
7
|
modelValue?: boolean;
|
|
8
|
-
} &
|
|
8
|
+
} & __VLS_Props;
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
10
11
|
slots: {
|
|
11
12
|
default?(_: {}): any;
|
|
12
13
|
};
|
|
13
14
|
refs: {
|
|
14
15
|
wrapperRef: HTMLDivElement;
|
|
15
16
|
};
|
|
16
|
-
|
|
17
|
+
rootEl: any;
|
|
17
18
|
};
|
|
18
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
20
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
-
"update:modelValue": (
|
|
21
|
+
"update:modelValue": (value: boolean) => any;
|
|
21
22
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
-
"onUpdate:modelValue"?: ((
|
|
23
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
23
24
|
}>, {
|
|
24
|
-
persistent: boolean;
|
|
25
25
|
blur: "sm" | "md" | "lg" | boolean;
|
|
26
|
-
|
|
26
|
+
persistent: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
28
|
+
wrapperRef: HTMLDivElement;
|
|
29
|
+
}, any>;
|
|
27
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
31
|
export default _default;
|
|
29
32
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
is?: string | Component;
|
|
4
4
|
src?: string;
|
|
5
5
|
style?: any;
|
|
@@ -8,19 +8,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
8
8
|
maxWidth?: string | number;
|
|
9
9
|
height?: string | number;
|
|
10
10
|
maxHeight?: string | number;
|
|
11
|
-
rounded?:
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
src?: string;
|
|
15
|
-
style?: any;
|
|
16
|
-
class?: any;
|
|
17
|
-
width?: string | number;
|
|
18
|
-
maxWidth?: string | number;
|
|
19
|
-
height?: string | number;
|
|
20
|
-
maxHeight?: string | number;
|
|
21
|
-
rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
22
|
-
}> & Readonly<{}>, {
|
|
11
|
+
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
23
14
|
is: string | Component;
|
|
24
15
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
|
+
img: unknown;
|
|
18
|
+
}, HTMLDivElement>;
|
|
26
19
|
export default _default;
|
|
@@ -1,29 +1,26 @@
|
|
|
1
1
|
import { Color } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
color?: Color;
|
|
4
|
+
size?: 'sm' | 'md' | 'lg' | string | number;
|
|
5
|
+
position?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top' | 'bottom' | 'left' | 'right';
|
|
6
|
+
ping?: boolean;
|
|
7
|
+
};
|
|
2
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
3
10
|
slots: {
|
|
4
11
|
label?(_: {}): any;
|
|
5
12
|
label?(_: {}): any;
|
|
6
13
|
default?(_: {}): any;
|
|
7
14
|
};
|
|
8
15
|
refs: {};
|
|
9
|
-
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
10
17
|
};
|
|
11
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
13
|
-
color?: Color;
|
|
14
|
-
size?: "sm" | "md" | "lg" | string | number;
|
|
15
|
-
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top" | "bottom" | "left" | "right";
|
|
16
|
-
ping?: boolean;
|
|
17
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
18
|
-
color?: Color;
|
|
19
|
-
size?: "sm" | "md" | "lg" | string | number;
|
|
20
|
-
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top" | "bottom" | "left" | "right";
|
|
21
|
-
ping?: boolean;
|
|
22
|
-
}> & Readonly<{}>, {
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
23
20
|
color: Color;
|
|
24
21
|
position: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top" | "bottom" | "left" | "right";
|
|
25
22
|
size: "sm" | "md" | "lg" | string | number;
|
|
26
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
25
|
export default _default;
|
|
29
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Rounded, Size } from '../types';
|
|
2
1
|
import { VNodeChild } from 'vue';
|
|
2
|
+
import { Rounded, Size } from '../types';
|
|
3
3
|
export type MenuData = MenuItemData | MenuDividerData | MenuLabelData;
|
|
4
4
|
export interface MenuItemData {
|
|
5
5
|
title?: string;
|
|
@@ -20,7 +20,7 @@ export interface MenuProps {
|
|
|
20
20
|
rounded?: Rounded;
|
|
21
21
|
color?: string;
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
type __VLS_Props = {
|
|
24
24
|
rounded?: Rounded;
|
|
25
25
|
enterActiveClass?: string;
|
|
26
26
|
leaveActiveClass?: string;
|
|
@@ -34,8 +34,9 @@ declare let __VLS_typeProps: {
|
|
|
34
34
|
} & MenuProps;
|
|
35
35
|
type __VLS_PublicProps = {
|
|
36
36
|
modelValue?: boolean;
|
|
37
|
-
} &
|
|
37
|
+
} & __VLS_Props;
|
|
38
38
|
declare function __VLS_template(): {
|
|
39
|
+
attrs: Partial<{}>;
|
|
39
40
|
slots: {
|
|
40
41
|
default?(_: {}): any;
|
|
41
42
|
};
|
|
@@ -44,22 +45,26 @@ declare function __VLS_template(): {
|
|
|
44
45
|
menuTriggerRef: HTMLDivElement;
|
|
45
46
|
menuDropdownRef: HTMLDivElement;
|
|
46
47
|
};
|
|
47
|
-
|
|
48
|
+
rootEl: HTMLDivElement;
|
|
48
49
|
};
|
|
49
50
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
50
51
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
52
|
select: (value: string | number | symbol) => any;
|
|
52
|
-
"update:modelValue": (
|
|
53
|
+
"update:modelValue": (value: boolean) => any;
|
|
53
54
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
54
55
|
onSelect?: ((value: string | number | symbol) => any) | undefined;
|
|
55
|
-
"onUpdate:modelValue"?: ((
|
|
56
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
56
57
|
}>, {
|
|
57
|
-
color: string;
|
|
58
|
-
rounded: Rounded;
|
|
59
58
|
enterActiveClass: string;
|
|
60
59
|
leaveActiveClass: string;
|
|
60
|
+
color: string;
|
|
61
|
+
rounded: Rounded;
|
|
61
62
|
trigger: "click" | "hover" | "contextmenu";
|
|
62
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
63
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
64
|
+
menuWrapperRef: HTMLDivElement;
|
|
65
|
+
menuTriggerRef: HTMLDivElement;
|
|
66
|
+
menuDropdownRef: HTMLDivElement;
|
|
67
|
+
}, HTMLDivElement>;
|
|
63
68
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
64
69
|
export default _default;
|
|
65
70
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { MenuData, MenuProps } from './Menu.vue';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
data: MenuData;
|
|
4
4
|
idx: number[];
|
|
5
5
|
hasIcon: boolean;
|
|
6
|
-
} & MenuProps
|
|
7
|
-
|
|
8
|
-
idx: number[];
|
|
9
|
-
hasIcon: boolean;
|
|
10
|
-
} & MenuProps> & Readonly<{}>, {
|
|
6
|
+
} & MenuProps;
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
8
|
color: string;
|
|
12
|
-
rounded: import('
|
|
13
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
+
rounded: import('..').Rounded;
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
11
|
+
menuItemRef: HTMLButtonElement;
|
|
12
|
+
menuDropdownRef: HTMLMenuElement;
|
|
13
|
+
}, any>;
|
|
14
14
|
export default _default;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
persistent?: boolean;
|
|
3
3
|
blur?: 'sm' | 'md' | 'lg' | boolean;
|
|
4
4
|
title?: string;
|
|
5
5
|
};
|
|
6
6
|
type __VLS_PublicProps = {
|
|
7
7
|
modelValue?: boolean;
|
|
8
|
-
} &
|
|
8
|
+
} & __VLS_Props;
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
10
11
|
slots: {
|
|
11
12
|
default?(_: {}): any;
|
|
12
13
|
title?(_: {}): any;
|
|
@@ -14,16 +15,16 @@ declare function __VLS_template(): {
|
|
|
14
15
|
footer?(_: {}): any;
|
|
15
16
|
};
|
|
16
17
|
refs: {};
|
|
17
|
-
|
|
18
|
+
rootEl: any;
|
|
18
19
|
};
|
|
19
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
21
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (
|
|
22
|
+
"update:modelValue": (value: boolean) => any;
|
|
22
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
|
-
"onUpdate:modelValue"?: ((
|
|
24
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
24
25
|
}>, {
|
|
25
|
-
persistent: boolean;
|
|
26
26
|
blur: "sm" | "md" | "lg" | boolean;
|
|
27
|
+
persistent: boolean;
|
|
27
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
30
|
export default _default;
|
|
@@ -1,42 +1,35 @@
|
|
|
1
1
|
import { Size } from '../types';
|
|
2
|
-
|
|
3
|
-
slots: {
|
|
4
|
-
message?(_: {}): any;
|
|
5
|
-
"close-icon"?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
attrs: Partial<{}>;
|
|
9
|
-
};
|
|
10
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
2
|
+
type __VLS_Props = {
|
|
12
3
|
title?: string;
|
|
13
4
|
message?: string;
|
|
14
5
|
icon?: string;
|
|
15
6
|
loading?: boolean;
|
|
16
7
|
withBorder?: boolean;
|
|
17
8
|
closeable?: boolean;
|
|
18
|
-
rounded?:
|
|
9
|
+
rounded?: 'sm' | 'md' | 'lg' | 'none' | string | number;
|
|
19
10
|
block?: boolean;
|
|
20
11
|
color?: string;
|
|
21
12
|
size?: Size;
|
|
22
13
|
complete?: number;
|
|
23
14
|
total?: number;
|
|
24
|
-
|
|
15
|
+
showLeftIndicator?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
attrs: Partial<{}>;
|
|
19
|
+
slots: Readonly<{
|
|
20
|
+
closeIcon?: (props: any) => any;
|
|
21
|
+
message?: (props: any) => any;
|
|
22
|
+
}> & {
|
|
23
|
+
closeIcon?: (props: any) => any;
|
|
24
|
+
message?: (props: any) => any;
|
|
25
|
+
};
|
|
26
|
+
refs: {};
|
|
27
|
+
rootEl: HTMLDivElement;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
31
|
close: (...args: any[]) => void;
|
|
26
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
27
|
-
title?: string;
|
|
28
|
-
message?: string;
|
|
29
|
-
icon?: string;
|
|
30
|
-
loading?: boolean;
|
|
31
|
-
withBorder?: boolean;
|
|
32
|
-
closeable?: boolean;
|
|
33
|
-
rounded?: "sm" | "md" | "lg" | "none" | string | number;
|
|
34
|
-
block?: boolean;
|
|
35
|
-
color?: string;
|
|
36
|
-
size?: Size;
|
|
37
|
-
complete?: number;
|
|
38
|
-
total?: number;
|
|
39
|
-
}> & Readonly<{
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
33
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
41
34
|
}>, {
|
|
42
35
|
color: string;
|
|
@@ -44,7 +37,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
44
37
|
rounded: "sm" | "md" | "lg" | "none" | string | number;
|
|
45
38
|
block: boolean;
|
|
46
39
|
total: number;
|
|
47
|
-
|
|
40
|
+
showLeftIndicator: boolean;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
48
42
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
49
43
|
export default _default;
|
|
50
44
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type NotificationPosition = 'top-left' | 'top-right' | 'top' | 'bottom-left' | 'bottom-right' | 'bottom';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
position?: NotificationPosition;
|
|
4
4
|
progress?: boolean;
|
|
5
5
|
topN?: number;
|
|
@@ -8,23 +8,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
8
8
|
pl?: number;
|
|
9
9
|
pr?: number;
|
|
10
10
|
pb?: number;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
topN?: number;
|
|
15
|
-
gap?: number;
|
|
16
|
-
pt?: number;
|
|
17
|
-
pl?: number;
|
|
18
|
-
pr?: number;
|
|
19
|
-
pb?: number;
|
|
20
|
-
}> & Readonly<{}>, {
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
gap: number;
|
|
21
14
|
progress: boolean;
|
|
22
15
|
position: NotificationPosition;
|
|
23
16
|
topN: number;
|
|
24
|
-
gap: number;
|
|
25
17
|
pt: number;
|
|
26
18
|
pl: number;
|
|
27
19
|
pr: number;
|
|
28
20
|
pb: number;
|
|
29
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
22
|
+
notificationRefs: HTMLDivElement;
|
|
23
|
+
}, HTMLDivElement>;
|
|
30
24
|
export default _default;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
blur?: boolean | 'sm' | 'md' | 'lg';
|
|
3
|
+
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
4
|
+
opacity?: number;
|
|
5
|
+
color?: string;
|
|
6
|
+
animation?: boolean;
|
|
7
|
+
};
|
|
1
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
2
10
|
slots: {
|
|
3
11
|
default?(_: {}): any;
|
|
4
12
|
content?(_: {}): any;
|
|
@@ -6,25 +14,18 @@ declare function __VLS_template(): {
|
|
|
6
14
|
refs: {
|
|
7
15
|
wrapperRef: HTMLDivElement;
|
|
8
16
|
};
|
|
9
|
-
|
|
17
|
+
rootEl: HTMLDivElement;
|
|
10
18
|
};
|
|
11
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
13
|
-
|
|
14
|
-
rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
15
|
-
opacity?: number;
|
|
16
|
-
color?: string;
|
|
17
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
18
|
-
blur?: boolean | "sm" | "md" | "lg";
|
|
19
|
-
rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
20
|
-
opacity?: number;
|
|
21
|
-
color?: string;
|
|
22
|
-
}> & Readonly<{}>, {
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
+
animation: boolean;
|
|
23
22
|
color: string;
|
|
24
23
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
25
24
|
blur: boolean | "sm" | "md" | "lg";
|
|
26
25
|
opacity: number;
|
|
27
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
|
+
wrapperRef: HTMLDivElement;
|
|
28
|
+
}, HTMLDivElement>;
|
|
28
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
30
|
export default _default;
|
|
30
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,32 +1,26 @@
|
|
|
1
|
-
import { Color, Rounded } from '../types';
|
|
2
1
|
import { Component } from 'vue';
|
|
2
|
+
import { Color, Rounded } from '../types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
rounded?: Rounded;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
is?: string | Component;
|
|
7
|
+
color?: Color;
|
|
8
|
+
traceAnimate?: boolean;
|
|
9
|
+
withBorder?: boolean;
|
|
10
|
+
noPadding?: boolean;
|
|
11
|
+
};
|
|
3
12
|
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
4
14
|
slots: {
|
|
5
15
|
default?(_: {}): any;
|
|
6
16
|
};
|
|
7
17
|
refs: {
|
|
8
18
|
paperRef: unknown;
|
|
9
19
|
};
|
|
10
|
-
|
|
20
|
+
rootEl: any;
|
|
11
21
|
};
|
|
12
22
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
14
|
-
rounded?: Rounded;
|
|
15
|
-
loading?: boolean;
|
|
16
|
-
is?: string | Component;
|
|
17
|
-
color?: Color;
|
|
18
|
-
traceAnimate?: boolean;
|
|
19
|
-
withBorder?: boolean;
|
|
20
|
-
noPadding?: boolean;
|
|
21
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
22
|
-
rounded?: Rounded;
|
|
23
|
-
loading?: boolean;
|
|
24
|
-
is?: string | Component;
|
|
25
|
-
color?: Color;
|
|
26
|
-
traceAnimate?: boolean;
|
|
27
|
-
withBorder?: boolean;
|
|
28
|
-
noPadding?: boolean;
|
|
29
|
-
}> & Readonly<{}>, {
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
30
24
|
color: Color;
|
|
31
25
|
is: string | Component;
|
|
32
26
|
rounded: Rounded;
|
|
@@ -34,7 +28,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
34
28
|
loading: boolean;
|
|
35
29
|
traceAnimate: boolean;
|
|
36
30
|
noPadding: boolean;
|
|
37
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
32
|
+
paperRef: unknown;
|
|
33
|
+
}, any>;
|
|
38
34
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
39
35
|
export default _default;
|
|
40
36
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,14 +1,110 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
length?: number;
|
|
4
|
-
size?:
|
|
4
|
+
size?: 'sm' | 'md' | 'lg';
|
|
5
5
|
password?: boolean;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
length?: number;
|
|
9
|
-
size?: "sm" | "md" | "lg";
|
|
10
|
-
password?: boolean;
|
|
11
|
-
}> & Readonly<{}>, {
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
8
|
length: number;
|
|
13
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
10
|
+
inputs: (({
|
|
11
|
+
$: import('vue').ComponentInternalInstance;
|
|
12
|
+
$data: {};
|
|
13
|
+
$props: {
|
|
14
|
+
readonly modelValue?: string | number | undefined;
|
|
15
|
+
readonly onChange?: ((value: string) => void) | undefined;
|
|
16
|
+
readonly color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
|
|
17
|
+
readonly error?: boolean | undefined;
|
|
18
|
+
readonly disabled?: boolean | undefined;
|
|
19
|
+
readonly rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number | undefined;
|
|
20
|
+
readonly size?: "sm" | "md" | "lg" | undefined;
|
|
21
|
+
readonly password?: boolean | undefined;
|
|
22
|
+
readonly placeholder?: string | undefined;
|
|
23
|
+
readonly label?: string | undefined;
|
|
24
|
+
readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
25
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
26
|
+
$attrs: {
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
$refs: {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
} & {
|
|
32
|
+
input: HTMLInputElement;
|
|
33
|
+
};
|
|
34
|
+
$slots: Readonly<{
|
|
35
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
38
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
39
|
+
$host: Element | null;
|
|
40
|
+
$emit: (event: "update:modelValue", value: string | number) => void;
|
|
41
|
+
$el: HTMLDivElement;
|
|
42
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
43
|
+
modelValue?: string | number;
|
|
44
|
+
} & {
|
|
45
|
+
onChange?: (value: string) => void;
|
|
46
|
+
color?: "primary" | "secondary" | "tertiary" | "error";
|
|
47
|
+
error?: boolean;
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
50
|
+
size?: "sm" | "md" | "lg";
|
|
51
|
+
password?: boolean;
|
|
52
|
+
placeholder?: string;
|
|
53
|
+
label?: string;
|
|
54
|
+
}> & Readonly<{
|
|
55
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
56
|
+
}>, {
|
|
57
|
+
el: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
58
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
59
|
+
"update:modelValue": (value: string | number) => any;
|
|
60
|
+
}, string, {
|
|
61
|
+
color: "primary" | "secondary" | "tertiary" | "error";
|
|
62
|
+
size: "sm" | "md" | "lg";
|
|
63
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
64
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
65
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
66
|
+
created?: (() => void) | (() => void)[];
|
|
67
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
68
|
+
mounted?: (() => void) | (() => void)[];
|
|
69
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
70
|
+
updated?: (() => void) | (() => void)[];
|
|
71
|
+
activated?: (() => void) | (() => void)[];
|
|
72
|
+
deactivated?: (() => void) | (() => void)[];
|
|
73
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
74
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
75
|
+
destroyed?: (() => void) | (() => void)[];
|
|
76
|
+
unmounted?: (() => void) | (() => void)[];
|
|
77
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
78
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
79
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
80
|
+
};
|
|
81
|
+
$forceUpdate: () => void;
|
|
82
|
+
$nextTick: typeof import('vue').nextTick;
|
|
83
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
84
|
+
} & Readonly<{
|
|
85
|
+
color: "primary" | "secondary" | "tertiary" | "error";
|
|
86
|
+
size: "sm" | "md" | "lg";
|
|
87
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
88
|
+
}> & Omit<Readonly<{
|
|
89
|
+
modelValue?: string | number;
|
|
90
|
+
} & {
|
|
91
|
+
onChange?: (value: string) => void;
|
|
92
|
+
color?: "primary" | "secondary" | "tertiary" | "error";
|
|
93
|
+
error?: boolean;
|
|
94
|
+
disabled?: boolean;
|
|
95
|
+
rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
96
|
+
size?: "sm" | "md" | "lg";
|
|
97
|
+
password?: boolean;
|
|
98
|
+
placeholder?: string;
|
|
99
|
+
label?: string;
|
|
100
|
+
}> & Readonly<{
|
|
101
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
102
|
+
}>, "el" | ("color" | "size" | "rounded")> & import('vue').ShallowUnwrapRef<{
|
|
103
|
+
el: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
104
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
105
|
+
$slots: {
|
|
106
|
+
label?(_: {}): any;
|
|
107
|
+
};
|
|
108
|
+
}) | null)[];
|
|
109
|
+
}, HTMLDivElement>;
|
|
14
110
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type Position = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end' | 'top' | 'bottom' | 'left' | 'right';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
trigger?: 'hover' | 'click';
|
|
4
4
|
position?: Position;
|
|
5
5
|
zIndex?: number;
|
|
@@ -11,8 +11,9 @@ declare const __VLS_defaults: {
|
|
|
11
11
|
};
|
|
12
12
|
type __VLS_PublicProps = {
|
|
13
13
|
modelValue?: typeof __VLS_defaults['modelValue'];
|
|
14
|
-
} &
|
|
14
|
+
} & __VLS_Props;
|
|
15
15
|
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
16
17
|
slots: Readonly<{
|
|
17
18
|
default: (props: any) => any;
|
|
18
19
|
content: (props: any) => any;
|
|
@@ -24,20 +25,23 @@ declare function __VLS_template(): {
|
|
|
24
25
|
wrapperRef: HTMLDivElement;
|
|
25
26
|
contentRef: HTMLDivElement;
|
|
26
27
|
};
|
|
27
|
-
|
|
28
|
+
rootEl: HTMLDivElement;
|
|
28
29
|
};
|
|
29
30
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
31
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
-
"update:modelValue": (
|
|
32
|
+
"update:modelValue": (value: boolean) => any;
|
|
32
33
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
33
|
-
"onUpdate:modelValue"?: ((
|
|
34
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
34
35
|
}>, {
|
|
35
36
|
position: Position;
|
|
36
37
|
trigger: "hover" | "click";
|
|
37
38
|
offset: number;
|
|
38
39
|
zIndex: number;
|
|
39
40
|
overlay: boolean;
|
|
40
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
42
|
+
wrapperRef: HTMLDivElement;
|
|
43
|
+
contentRef: HTMLDivElement;
|
|
44
|
+
}, HTMLDivElement>;
|
|
41
45
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
46
|
export default _default;
|
|
43
47
|
type __VLS_WithTemplateSlots<T, S> = T & {
|