@roku-ui/vue 0.25.0 → 0.26.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/Avatar.vue.d.ts +1 -1
- package/dist/components/Btn.vue.d.ts +1 -1
- package/dist/components/Calendar.vue.d.ts +1 -1
- package/dist/components/ChatMessage.vue.d.ts +1 -1
- package/dist/components/ChatSystem.vue.d.ts +1 -1
- package/dist/components/Checkbox.vue.d.ts +1 -1
- package/dist/components/Chip.vue.d.ts +1 -1
- package/dist/components/ColorInput.vue.d.ts +38 -3
- package/dist/components/ColorSwatch.vue.d.ts +1 -1
- package/dist/components/Image.vue.d.ts +1 -1
- package/dist/components/Notification.vue.d.ts +1 -1
- package/dist/components/Paper.vue.d.ts +2 -2
- package/dist/components/PinInput.vue.d.ts +21 -3
- package/dist/components/Progress.vue.d.ts +1 -1
- package/dist/components/RokuProvider.vue.d.ts +2 -0
- package/dist/components/Select.vue.d.ts +7 -9
- package/dist/components/SelectArea.vue.d.ts +1 -6
- package/dist/components/Switch.vue.d.ts +1 -1
- package/dist/components/Tag.vue.d.ts +1 -1
- package/dist/components/TextField.vue.d.ts +9 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +2432 -2256
- package/dist/index.umd.cjs +1 -1
- package/dist/shared/index.d.ts +8 -1
- package/dist/test/demo/TextFieldDemo.vue.d.ts +2 -0
- package/dist/types/index.d.ts +6 -0
- package/package.json +6 -6
- package/dist/components/{CalendarField.vue.d.ts → CalendarInput.vue.d.ts} +1 -1
- /package/dist/test/demo/{CalendarFieldDemo.vue.d.ts → CalendarInputDemo.vue.d.ts} +0 -0
|
@@ -23,10 +23,10 @@ declare function __VLS_template(): {
|
|
|
23
23
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
24
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
25
|
color: Color;
|
|
26
|
+
rounded: Rounded;
|
|
26
27
|
is: string | Component;
|
|
27
28
|
size: "sm" | "md" | "lg" | string | number;
|
|
28
29
|
variant: ContainerVariant;
|
|
29
|
-
rounded: Rounded;
|
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
31
|
img: unknown;
|
|
32
32
|
}, any>;
|
|
@@ -30,9 +30,9 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
30
30
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
31
31
|
type: "button" | "submit" | "reset";
|
|
32
32
|
icon: boolean;
|
|
33
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
33
34
|
is: string | Component;
|
|
34
35
|
size: "sm" | "md" | "lg";
|
|
35
|
-
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
36
36
|
pressEffect: "translate" | "scale";
|
|
37
37
|
disabled: boolean;
|
|
38
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -31,9 +31,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
31
31
|
animate: boolean;
|
|
32
32
|
mode: CalendarMode;
|
|
33
33
|
color: Color;
|
|
34
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
34
35
|
size: "sm" | "md" | "lg";
|
|
35
36
|
variant: "default" | "filled" | "light";
|
|
36
|
-
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
37
37
|
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
38
38
|
locale: string;
|
|
39
39
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -19,8 +19,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
19
19
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
20
|
color: string;
|
|
21
21
|
position: "left" | "right";
|
|
22
|
-
variant: ContainerVariant;
|
|
23
22
|
withBorder: boolean;
|
|
23
|
+
variant: ContainerVariant;
|
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
26
|
export default _default;
|
|
@@ -16,8 +16,8 @@ declare function __VLS_template(): {
|
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
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
|
color: Color;
|
|
19
|
-
variant: ContainerVariant;
|
|
20
19
|
withBorder: boolean;
|
|
20
|
+
variant: ContainerVariant;
|
|
21
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
@@ -24,8 +24,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
24
24
|
}>, {
|
|
25
25
|
animate: boolean;
|
|
26
26
|
color: Color;
|
|
27
|
-
size: "sm" | "md" | "lg";
|
|
28
27
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
28
|
+
size: "sm" | "md" | "lg";
|
|
29
29
|
indeterminate: boolean;
|
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
31
|
wrapperRef: HTMLDivElement;
|
|
@@ -20,10 +20,10 @@ declare function __VLS_template(): {
|
|
|
20
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
21
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
22
|
color: Color;
|
|
23
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
23
24
|
is: string | any;
|
|
24
25
|
size: "sm" | "md" | "lg" | string | number;
|
|
25
26
|
variant: ContainerVariant;
|
|
26
|
-
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
27
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
28
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
29
|
export default _default;
|
|
@@ -1,17 +1,52 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
onChange?: (value: string) => void;
|
|
3
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
4
|
+
error?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
7
|
+
size?: 'sm' | 'md' | 'lg';
|
|
8
|
+
placeholder?: string;
|
|
2
9
|
label?: string;
|
|
3
|
-
|
|
10
|
+
format?: 'hex' | 'rgb' | 'hsl';
|
|
11
|
+
showSwatch?: boolean;
|
|
4
12
|
};
|
|
5
13
|
type __VLS_PublicProps = {
|
|
6
14
|
modelValue?: string;
|
|
7
15
|
} & __VLS_Props;
|
|
8
|
-
declare
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: {
|
|
19
|
+
label?(_: {}): any;
|
|
20
|
+
leftSection?(_: {}): any;
|
|
21
|
+
rightSection?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
refs: {
|
|
24
|
+
colorPicker: HTMLInputElement;
|
|
25
|
+
input: HTMLInputElement;
|
|
26
|
+
};
|
|
27
|
+
rootEl: HTMLDivElement;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
31
|
+
el: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
32
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
33
|
"update:modelValue": (value: string) => any;
|
|
10
34
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
35
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
36
|
}>, {
|
|
13
|
-
|
|
37
|
+
color: "primary" | "secondary" | "tertiary" | "error";
|
|
38
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
39
|
+
size: "sm" | "md" | "lg";
|
|
40
|
+
format: "hex" | "rgb" | "hsl";
|
|
41
|
+
showSwatch: boolean;
|
|
14
42
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
43
|
+
colorPicker: HTMLInputElement;
|
|
15
44
|
input: HTMLInputElement;
|
|
16
45
|
}, HTMLDivElement>;
|
|
46
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
47
|
export default _default;
|
|
48
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -5,7 +5,7 @@ type __VLS_Props = {
|
|
|
5
5
|
withBorder?: boolean;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
-
is: string | Component;
|
|
9
8
|
withBorder: boolean;
|
|
9
|
+
is: string | Component;
|
|
10
10
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -11,8 +11,8 @@ type __VLS_Props = {
|
|
|
11
11
|
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
12
12
|
};
|
|
13
13
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
-
is: string | Component;
|
|
15
14
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
15
|
+
is: string | Component;
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
17
|
img: unknown;
|
|
18
18
|
}, HTMLDivElement>;
|
|
@@ -33,8 +33,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
33
33
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
35
|
color: string;
|
|
36
|
-
size: Size;
|
|
37
36
|
rounded: "sm" | "md" | "lg" | "none" | string | number;
|
|
37
|
+
size: Size;
|
|
38
38
|
block: boolean;
|
|
39
39
|
total: number;
|
|
40
40
|
showLeftIndicator: boolean;
|
|
@@ -22,9 +22,9 @@ declare function __VLS_template(): {
|
|
|
22
22
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
23
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
24
|
color: Color;
|
|
25
|
-
is: string | Component;
|
|
26
|
-
rounded: Rounded;
|
|
27
25
|
withBorder: boolean;
|
|
26
|
+
rounded: Rounded;
|
|
27
|
+
is: string | Component;
|
|
28
28
|
loading: boolean;
|
|
29
29
|
traceAnimate: boolean;
|
|
30
30
|
noPadding: boolean;
|
|
@@ -21,6 +21,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
21
21
|
readonly password?: boolean | undefined;
|
|
22
22
|
readonly placeholder?: string | undefined;
|
|
23
23
|
readonly label?: string | undefined;
|
|
24
|
+
readonly format?: ((value: string) => string) | undefined;
|
|
25
|
+
readonly partialVisible?: boolean | undefined;
|
|
26
|
+
readonly visibleStart?: number | undefined;
|
|
27
|
+
readonly visibleEnd?: number | undefined;
|
|
24
28
|
readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
25
29
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
26
30
|
$attrs: {
|
|
@@ -51,6 +55,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
51
55
|
password?: boolean;
|
|
52
56
|
placeholder?: string;
|
|
53
57
|
label?: string;
|
|
58
|
+
format?: (value: string) => string;
|
|
59
|
+
partialVisible?: boolean;
|
|
60
|
+
visibleStart?: number;
|
|
61
|
+
visibleEnd?: number;
|
|
54
62
|
}> & Readonly<{
|
|
55
63
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
56
64
|
}>, {
|
|
@@ -59,8 +67,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
59
67
|
"update:modelValue": (value: string | number) => any;
|
|
60
68
|
}, string, {
|
|
61
69
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
62
|
-
size: "sm" | "md" | "lg";
|
|
63
70
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
71
|
+
size: "sm" | "md" | "lg";
|
|
72
|
+
visibleStart: number;
|
|
73
|
+
visibleEnd: number;
|
|
64
74
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
65
75
|
beforeCreate?: (() => void) | (() => void)[];
|
|
66
76
|
created?: (() => void) | (() => void)[];
|
|
@@ -83,8 +93,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
83
93
|
$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
94
|
} & Readonly<{
|
|
85
95
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
86
|
-
size: "sm" | "md" | "lg";
|
|
87
96
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
97
|
+
size: "sm" | "md" | "lg";
|
|
98
|
+
visibleStart: number;
|
|
99
|
+
visibleEnd: number;
|
|
88
100
|
}> & Omit<Readonly<{
|
|
89
101
|
modelValue?: string | number;
|
|
90
102
|
} & {
|
|
@@ -97,13 +109,19 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
97
109
|
password?: boolean;
|
|
98
110
|
placeholder?: string;
|
|
99
111
|
label?: string;
|
|
112
|
+
format?: (value: string) => string;
|
|
113
|
+
partialVisible?: boolean;
|
|
114
|
+
visibleStart?: number;
|
|
115
|
+
visibleEnd?: number;
|
|
100
116
|
}> & Readonly<{
|
|
101
117
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
102
|
-
}>, "el" | ("color" | "size" | "
|
|
118
|
+
}>, "el" | ("color" | "rounded" | "size" | "visibleStart" | "visibleEnd")> & import('vue').ShallowUnwrapRef<{
|
|
103
119
|
el: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
104
120
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
105
121
|
$slots: {
|
|
106
122
|
label?(_: {}): any;
|
|
123
|
+
leftSection?(_: {}): any;
|
|
124
|
+
rightSection?(_: {}): any;
|
|
107
125
|
};
|
|
108
126
|
}) | null)[];
|
|
109
127
|
}, HTMLDivElement>;
|
|
@@ -11,8 +11,8 @@ type __VLS_Props = {
|
|
|
11
11
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
12
|
color: Color;
|
|
13
13
|
value: number | string;
|
|
14
|
-
size: "sm" | "md" | "lg";
|
|
15
14
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
15
|
+
size: "sm" | "md" | "lg";
|
|
16
16
|
loading: boolean;
|
|
17
17
|
max: number | string;
|
|
18
18
|
min: number | string;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
+
import { Theme } from '../shared';
|
|
2
3
|
import { ThemeData } from '../utils';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
is?: string | Component;
|
|
5
6
|
theme?: string;
|
|
6
7
|
themes?: Record<string, ThemeData>;
|
|
8
|
+
themeObj?: Partial<Theme>;
|
|
7
9
|
};
|
|
8
10
|
declare function __VLS_template(): {
|
|
9
11
|
attrs: Partial<{}>;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import { Reactive } from 'vue';
|
|
2
1
|
import { Color } from '../types';
|
|
3
|
-
declare const _default: <T
|
|
4
|
-
id: number | string | symbol;
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
} | string | symbol | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
8
4
|
readonly onInput?: ((searchWord: string) => any) | undefined;
|
|
9
|
-
readonly "onUpdate:modelValue"?: ((value: T |
|
|
10
|
-
readonly onChange?: ((option: T |
|
|
5
|
+
readonly "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
|
|
6
|
+
readonly onChange?: ((option: T | undefined) => any) | undefined;
|
|
11
7
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onInput" | "onUpdate:modelValue"> & ({
|
|
12
|
-
modelValue?: T |
|
|
8
|
+
modelValue?: T | undefined;
|
|
13
9
|
} & {
|
|
14
10
|
ariaLabel?: string;
|
|
15
11
|
options?: T[];
|
|
@@ -21,6 +17,8 @@ declare const _default: <T extends {
|
|
|
21
17
|
placeholder?: string;
|
|
22
18
|
searchable?: boolean;
|
|
23
19
|
filter?: (label: string, text: string) => boolean;
|
|
20
|
+
labelKey?: keyof T;
|
|
21
|
+
labelGetter?: (option: T) => string;
|
|
24
22
|
}) & Partial<{}>> & import('vue').PublicProps;
|
|
25
23
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
26
24
|
attrs: any;
|
|
@@ -32,7 +30,7 @@ declare const _default: <T extends {
|
|
|
32
30
|
}): any;
|
|
33
31
|
'not-found'?(_: {}): any;
|
|
34
32
|
};
|
|
35
|
-
emit: (((evt: "input", searchWord: string) => void) & ((evt: "change", option: T |
|
|
33
|
+
emit: (((evt: "input", searchWord: string) => void) & ((evt: "change", option: T | undefined) => void)) & ((evt: "update:modelValue", value: T | undefined) => void);
|
|
36
34
|
}>) => import('vue').VNode & {
|
|
37
35
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
38
36
|
};
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
+
import { Area } from '../types';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
target?: HTMLElement | null;
|
|
3
4
|
};
|
|
4
|
-
export interface Area {
|
|
5
|
-
left: number;
|
|
6
|
-
top: number;
|
|
7
|
-
right: number;
|
|
8
|
-
bottom: number;
|
|
9
|
-
}
|
|
10
5
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
6
|
selectStart: (args_0: {
|
|
12
7
|
target: EventTarget | null;
|
|
@@ -27,8 +27,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
27
27
|
}>, {
|
|
28
28
|
animate: boolean;
|
|
29
29
|
color: Color;
|
|
30
|
-
size: "sm" | "md" | "lg";
|
|
31
30
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
31
|
+
size: "sm" | "md" | "lg";
|
|
32
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
33
33
|
wrapperRef: HTMLDivElement;
|
|
34
34
|
wrapper: HTMLDivElement;
|
|
@@ -21,8 +21,8 @@ declare function __VLS_template(): {
|
|
|
21
21
|
};
|
|
22
22
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
23
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
|
-
variant: BtnVariant;
|
|
25
24
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
25
|
+
variant: BtnVariant;
|
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
27
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
28
|
export default _default;
|
|
@@ -8,6 +8,10 @@ type __VLS_Props = {
|
|
|
8
8
|
password?: boolean;
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
label?: string;
|
|
11
|
+
format?: (value: string) => string;
|
|
12
|
+
partialVisible?: boolean;
|
|
13
|
+
visibleStart?: number;
|
|
14
|
+
visibleEnd?: number;
|
|
11
15
|
};
|
|
12
16
|
type __VLS_PublicProps = {
|
|
13
17
|
modelValue?: string | number;
|
|
@@ -16,6 +20,8 @@ declare function __VLS_template(): {
|
|
|
16
20
|
attrs: Partial<{}>;
|
|
17
21
|
slots: {
|
|
18
22
|
label?(_: {}): any;
|
|
23
|
+
leftSection?(_: {}): any;
|
|
24
|
+
rightSection?(_: {}): any;
|
|
19
25
|
};
|
|
20
26
|
refs: {
|
|
21
27
|
input: HTMLInputElement;
|
|
@@ -31,8 +37,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
31
37
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
32
38
|
}>, {
|
|
33
39
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
34
|
-
size: "sm" | "md" | "lg";
|
|
35
40
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
41
|
+
size: "sm" | "md" | "lg";
|
|
42
|
+
visibleStart: number;
|
|
43
|
+
visibleEnd: number;
|
|
36
44
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
37
45
|
input: HTMLInputElement;
|
|
38
46
|
}, HTMLDivElement>;
|
|
@@ -5,7 +5,7 @@ export { default as Avatar } from './Avatar.vue';
|
|
|
5
5
|
export { default as Btn } from './Btn.vue';
|
|
6
6
|
export { default as BtnGroup } from './BtnGroup.vue';
|
|
7
7
|
export { default as Calendar } from './Calendar.vue';
|
|
8
|
-
export { default as
|
|
8
|
+
export { default as CalendarInput } from './CalendarInput.vue';
|
|
9
9
|
export { default as ChatContainer } from './ChatContainer.vue';
|
|
10
10
|
export { default as ChatMessage } from './ChatMessage.vue';
|
|
11
11
|
export { default as ChatSystem } from './ChatSystem.vue';
|