@roku-ui/vue 0.13.0 → 0.14.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 -28
- package/dist/components/Avatar.vue.d.ts +4 -27
- package/dist/components/Btn.vue.d.ts +21 -46
- package/dist/components/BtnGroup.vue.d.ts +5 -28
- package/dist/components/ChatContainer.vue.d.ts +8 -3
- package/dist/components/ChatMessage.vue.d.ts +16 -38
- package/dist/components/ChatSystem.vue.d.ts +18 -34
- package/dist/components/Chip.vue.d.ts +28 -46
- package/dist/components/ColorInput.vue.d.ts +7 -13
- package/dist/components/ColorSwatch.vue.d.ts +5 -27
- package/dist/components/Drawer.vue.d.ts +12 -32
- package/dist/components/Dropzone.vue.d.ts +16 -32
- package/dist/components/FullscreenOverlay.vue.d.ts +14 -30
- package/dist/components/Image.vue.d.ts +4 -27
- package/dist/components/Indicator.vue.d.ts +13 -33
- package/dist/components/Modal.vue.d.ts +12 -30
- package/dist/components/Notification.vue.d.ts +14 -40
- package/dist/components/NotificationSystem.vue.d.ts +4 -35
- package/dist/components/Overlay.vue.d.ts +14 -34
- package/dist/components/Paper.vue.d.ts +18 -43
- package/dist/components/PinInput.vue.d.ts +4 -25
- package/dist/components/Popover.vue.d.ts +25 -43
- package/dist/components/Progress.vue.d.ts +9 -41
- package/dist/components/Rating.vue.d.ts +11 -29
- package/dist/components/RokuProvider.vue.d.ts +12 -53
- package/dist/components/SchemeSwitch.vue.d.ts +1 -1
- package/dist/components/ScrollArea.vue.d.ts +16 -31
- package/dist/components/Select.vue.d.ts +13 -15
- package/dist/components/SelectArea.vue.d.ts +9 -30
- package/dist/components/Slider.vue.d.ts +5 -38
- package/dist/components/Switch.vue.d.ts +11 -34
- package/dist/components/TabItem.vue.d.ts +13 -27
- package/dist/components/Tabs.vue.d.ts +14 -28
- package/dist/components/Tag.vue.d.ts +17 -35
- package/dist/components/TextField.vue.d.ts +16 -34
- package/dist/components/ThemeProvider.vue.d.ts +10 -14
- package/dist/components/Tooltip.vue.d.ts +15 -28
- package/dist/composables/dom.d.ts +2 -2
- package/dist/composables/index.d.ts +11 -9
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3033 -2720
- package/dist/index.umd.cjs +1 -1
- package/dist/shared/index.d.ts +88 -495
- package/dist/style.css +1 -1
- package/dist/test/App.vue.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 +1 -1
- package/dist/test/demo/TagsDemo.vue.d.ts +1 -1
- package/dist/test/demo/WaterfallDemo.vue.d.ts +1 -1
- package/dist/types/index.d.ts +4 -2
- package/dist/utils/classGenerator.d.ts +1 -1
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/notifications.d.ts +10 -1
- package/dist/utils/theme.d.ts +5 -5
- package/package.json +19 -21
|
@@ -6,60 +6,42 @@ declare let __VLS_typeProps: {
|
|
|
6
6
|
offset?: number;
|
|
7
7
|
overlay?: boolean;
|
|
8
8
|
};
|
|
9
|
+
declare const __VLS_defaults: {
|
|
10
|
+
modelValue: boolean;
|
|
11
|
+
};
|
|
9
12
|
type __VLS_PublicProps = {
|
|
10
|
-
modelValue?:
|
|
13
|
+
modelValue?: typeof __VLS_defaults['modelValue'];
|
|
11
14
|
} & typeof __VLS_typeProps;
|
|
12
|
-
declare function __VLS_template():
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
declare function __VLS_template(): {
|
|
16
|
+
slots: Readonly<{
|
|
17
|
+
default: (props: any) => any;
|
|
18
|
+
content: (props: any) => any;
|
|
19
|
+
}> & {
|
|
20
|
+
default: (props: any) => any;
|
|
21
|
+
content: (props: any) => any;
|
|
22
|
+
};
|
|
23
|
+
refs: {
|
|
24
|
+
wrapperRef: HTMLDivElement;
|
|
25
|
+
contentRef: HTMLDivElement;
|
|
26
|
+
};
|
|
27
|
+
attrs: Partial<{}>;
|
|
18
28
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
-
"update:modelValue": (modelValue: any) => void;
|
|
27
|
-
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
28
|
-
trigger: string;
|
|
29
|
-
position: string;
|
|
30
|
-
zIndex: number;
|
|
31
|
-
offset: number;
|
|
32
|
-
overlay: boolean;
|
|
33
|
-
}>>> & {
|
|
34
|
-
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
35
|
-
}, {
|
|
29
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
+
"update:modelValue": (modelValue: boolean) => any;
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
33
|
+
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
34
|
+
}>, {
|
|
36
35
|
position: Position;
|
|
37
36
|
offset: number;
|
|
38
37
|
trigger: "hover" | "click";
|
|
39
38
|
zIndex: number;
|
|
40
39
|
overlay: boolean;
|
|
41
|
-
}, {}>;
|
|
42
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
43
42
|
export default _default;
|
|
44
|
-
type __VLS_WithDefaults<P, D> = {
|
|
45
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
-
default: D[K];
|
|
47
|
-
}> : P[K];
|
|
48
|
-
};
|
|
49
|
-
type __VLS_Prettify<T> = {
|
|
50
|
-
[K in keyof T]: T[K];
|
|
51
|
-
} & {};
|
|
52
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
44
|
new (): {
|
|
54
45
|
$slots: S;
|
|
55
46
|
};
|
|
56
47
|
};
|
|
57
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
58
|
-
type __VLS_TypePropsToOption<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
|
-
};
|
|
@@ -1,59 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
import { Color } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
3
|
value?: number | string;
|
|
3
4
|
max?: number | string;
|
|
4
5
|
min?: number | string;
|
|
5
6
|
size?: "sm" | "md" | "lg";
|
|
6
|
-
color?:
|
|
7
|
+
color?: Color;
|
|
7
8
|
rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
8
9
|
loading?: boolean;
|
|
9
|
-
}
|
|
10
|
-
value: number;
|
|
11
|
-
max: number;
|
|
12
|
-
min: number;
|
|
13
|
-
size: string;
|
|
14
|
-
color: string;
|
|
15
|
-
rounded: string;
|
|
16
|
-
loading: boolean;
|
|
17
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
10
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
18
11
|
value?: number | string;
|
|
19
12
|
max?: number | string;
|
|
20
13
|
min?: number | string;
|
|
21
14
|
size?: "sm" | "md" | "lg";
|
|
22
|
-
color?:
|
|
15
|
+
color?: Color;
|
|
23
16
|
rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
24
17
|
loading?: boolean;
|
|
25
|
-
}>, {
|
|
26
|
-
value: number;
|
|
27
|
-
max: number;
|
|
28
|
-
min: number;
|
|
29
|
-
size: string;
|
|
30
|
-
color: string;
|
|
31
|
-
rounded: string;
|
|
32
|
-
loading: boolean;
|
|
33
|
-
}>>>, {
|
|
18
|
+
}> & Readonly<{}>, {
|
|
34
19
|
size: "sm" | "md" | "lg";
|
|
35
|
-
color:
|
|
20
|
+
color: Color;
|
|
21
|
+
value: number | string;
|
|
36
22
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
37
23
|
loading: boolean;
|
|
38
|
-
value: number | string;
|
|
39
24
|
max: number | string;
|
|
40
25
|
min: number | string;
|
|
41
|
-
}, {}>;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
42
27
|
export default _default;
|
|
43
|
-
type __VLS_WithDefaults<P, D> = {
|
|
44
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
-
default: D[K];
|
|
46
|
-
}> : P[K];
|
|
47
|
-
};
|
|
48
|
-
type __VLS_Prettify<T> = {
|
|
49
|
-
[K in keyof T]: T[K];
|
|
50
|
-
} & {};
|
|
51
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
-
type __VLS_TypePropsToOption<T> = {
|
|
53
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
-
} : {
|
|
56
|
-
type: import('vue').PropType<T[K]>;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
@@ -14,37 +14,19 @@ type IconType = string | {
|
|
|
14
14
|
active: string;
|
|
15
15
|
normal: string;
|
|
16
16
|
})[] | undefined;
|
|
17
|
+
declare const __VLS_defaults: {
|
|
18
|
+
modelValue: number;
|
|
19
|
+
};
|
|
17
20
|
type __VLS_PublicProps = {
|
|
18
|
-
modelValue?:
|
|
21
|
+
modelValue?: typeof __VLS_defaults['modelValue'];
|
|
19
22
|
} & typeof __VLS_typeProps;
|
|
20
|
-
declare const _default: import('vue').DefineComponent<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
select: (args_0: number) => void;
|
|
25
|
-
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
26
|
-
color: string;
|
|
27
|
-
}>>> & {
|
|
23
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
select: (args_0: number) => any;
|
|
25
|
+
"update:modelValue": (modelValue: number) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
27
|
onSelect?: ((args_0: number) => any) | undefined;
|
|
29
|
-
"onUpdate:modelValue"?: ((modelValue:
|
|
30
|
-
}
|
|
28
|
+
"onUpdate:modelValue"?: ((modelValue: number) => any) | undefined;
|
|
29
|
+
}>, {
|
|
31
30
|
color: string[] | string;
|
|
32
|
-
}, {}>;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
32
|
export default _default;
|
|
34
|
-
type __VLS_WithDefaults<P, D> = {
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
-
default: D[K];
|
|
37
|
-
}> : P[K];
|
|
38
|
-
};
|
|
39
|
-
type __VLS_Prettify<T> = {
|
|
40
|
-
[K in keyof T]: T[K];
|
|
41
|
-
} & {};
|
|
42
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
|
-
type __VLS_TypePropsToOption<T> = {
|
|
44
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
45
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
46
|
-
} : {
|
|
47
|
-
type: import('vue').PropType<T[K]>;
|
|
48
|
-
required: true;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
@@ -1,71 +1,30 @@
|
|
|
1
1
|
import { ThemeData } from '../utils';
|
|
2
|
+
import { Component } from 'vue';
|
|
2
3
|
declare function __VLS_template(): {
|
|
3
|
-
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
attrs: Partial<{}>;
|
|
4
9
|
};
|
|
5
|
-
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
6
12
|
is?: string | Component;
|
|
7
13
|
theme?: string;
|
|
8
14
|
themes?: Record<string, ThemeData>;
|
|
9
|
-
}
|
|
10
|
-
is: string;
|
|
11
|
-
theme: string;
|
|
12
|
-
themes: () => {
|
|
13
|
-
default: {
|
|
14
|
-
name: string;
|
|
15
|
-
colors: {
|
|
16
|
-
primary: import('../utils').ColorsTuple;
|
|
17
|
-
secondary: import('../utils').ColorsTuple;
|
|
18
|
-
tertiary: import('../utils').ColorsTuple;
|
|
19
|
-
error: import('../utils').ColorsTuple;
|
|
20
|
-
surface: import('../utils').ColorsTuple;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
15
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
25
16
|
is?: string | Component;
|
|
26
17
|
theme?: string;
|
|
27
18
|
themes?: Record<string, ThemeData>;
|
|
28
|
-
}>, {
|
|
29
|
-
is: string;
|
|
30
|
-
theme: string;
|
|
31
|
-
themes: () => {
|
|
32
|
-
default: {
|
|
33
|
-
name: string;
|
|
34
|
-
colors: {
|
|
35
|
-
primary: import('../utils').ColorsTuple;
|
|
36
|
-
secondary: import('../utils').ColorsTuple;
|
|
37
|
-
tertiary: import('../utils').ColorsTuple;
|
|
38
|
-
error: import('../utils').ColorsTuple;
|
|
39
|
-
surface: import('../utils').ColorsTuple;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
}>>>, {
|
|
19
|
+
}> & Readonly<{}>, {
|
|
44
20
|
is: string | Component;
|
|
45
21
|
theme: string;
|
|
46
22
|
themes: Record<string, ThemeData>;
|
|
47
|
-
}, {}>;
|
|
48
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
49
25
|
export default _default;
|
|
50
|
-
type __VLS_WithDefaults<P, D> = {
|
|
51
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
52
|
-
default: D[K];
|
|
53
|
-
}> : P[K];
|
|
54
|
-
};
|
|
55
|
-
type __VLS_Prettify<T> = {
|
|
56
|
-
[K in keyof T]: T[K];
|
|
57
|
-
} & {};
|
|
58
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
27
|
new (): {
|
|
60
28
|
$slots: S;
|
|
61
29
|
};
|
|
62
30
|
};
|
|
63
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
-
type __VLS_TypePropsToOption<T> = {
|
|
65
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
-
} : {
|
|
68
|
-
type: import('vue').PropType<T[K]>;
|
|
69
|
-
required: true;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,47 +1,32 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
2
|
+
slots: {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
refs: {
|
|
6
|
+
scrollBarIndicatorRef: HTMLDivElement;
|
|
7
|
+
scrollDomRef: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
attrs: Partial<{}>;
|
|
3
10
|
};
|
|
4
|
-
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
5
13
|
height?: number;
|
|
6
14
|
barWidth?: number;
|
|
7
15
|
threshold?: number;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}>, {
|
|
12
|
-
$el: globalThis.Ref<HTMLElement | null | undefined>;
|
|
13
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
|
+
}, {
|
|
17
|
+
$el: import('vue').Ref<HTMLElement | null | undefined, HTMLElement | null | undefined>;
|
|
18
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
14
19
|
height?: number;
|
|
15
20
|
barWidth?: number;
|
|
16
21
|
threshold?: number;
|
|
17
|
-
}>, {
|
|
22
|
+
}> & Readonly<{}>, {
|
|
18
23
|
barWidth: number;
|
|
19
24
|
threshold: number;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
threshold: number;
|
|
23
|
-
}, {}>;
|
|
24
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
27
|
export default _default;
|
|
26
|
-
type __VLS_WithDefaults<P, D> = {
|
|
27
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
-
default: D[K];
|
|
29
|
-
}> : P[K];
|
|
30
|
-
};
|
|
31
|
-
type __VLS_Prettify<T> = {
|
|
32
|
-
[K in keyof T]: T[K];
|
|
33
|
-
} & {};
|
|
34
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
29
|
new (): {
|
|
36
30
|
$slots: S;
|
|
37
31
|
};
|
|
38
32
|
};
|
|
39
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
-
type __VLS_TypePropsToOption<T> = {
|
|
41
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
-
} : {
|
|
44
|
-
type: import('vue').PropType<T[K]>;
|
|
45
|
-
required: true;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
@@ -2,16 +2,12 @@ import { Color } from '../types';
|
|
|
2
2
|
declare const _default: <T extends {
|
|
3
3
|
id: number | string | symbol;
|
|
4
4
|
[key: string]: any;
|
|
5
|
-
} | string | symbol | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
6
|
-
props:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps
|
|
11
|
-
onChange?: ((option: T | undefined) => any) | undefined;
|
|
12
|
-
onInput?: ((searchWord: string) => any) | undefined;
|
|
13
|
-
"onUpdate:modelValue"?: ((modelValue: T | undefined) => any) | undefined;
|
|
14
|
-
}, never>, "onChange" | "onInput" | "onUpdate:modelValue"> & ({
|
|
5
|
+
} | 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<{
|
|
6
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
7
|
+
readonly onInput?: ((searchWord: string) => any) | undefined;
|
|
8
|
+
readonly "onUpdate:modelValue"?: ((modelValue: T | undefined) => any) | undefined;
|
|
9
|
+
readonly onChange?: ((option: T | undefined) => any) | undefined;
|
|
10
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onInput" | "onUpdate:modelValue"> & ({
|
|
15
11
|
modelValue?: T | undefined;
|
|
16
12
|
} & {
|
|
17
13
|
ariaLabel?: string;
|
|
@@ -27,21 +23,23 @@ declare const _default: <T extends {
|
|
|
27
23
|
})> & import('vue').PublicProps;
|
|
28
24
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
29
25
|
attrs: any;
|
|
30
|
-
slots:
|
|
26
|
+
slots: {
|
|
31
27
|
none?(_: {}): any;
|
|
32
28
|
item?(_: {
|
|
33
29
|
data: T;
|
|
34
30
|
selected: boolean;
|
|
35
31
|
}): any;
|
|
36
32
|
"not-found"?(_: {}): any;
|
|
37
|
-
}
|
|
38
|
-
emit: (((evt: "input", searchWord: string) => void) & ((evt: "change", option: T | undefined) => void)) &
|
|
39
|
-
|
|
33
|
+
};
|
|
34
|
+
emit: (((evt: "input", searchWord: string) => void) & ((evt: "change", option: T | undefined) => void)) & {
|
|
35
|
+
'update:modelValue': [modelValue: T | undefined];
|
|
36
|
+
};
|
|
37
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
40
38
|
[key: string]: any;
|
|
41
39
|
}> & {
|
|
42
40
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
43
41
|
};
|
|
44
42
|
export default _default;
|
|
45
|
-
type
|
|
43
|
+
type __VLS_PrettifyLocal<T> = {
|
|
46
44
|
[K in keyof T]: T[K];
|
|
47
45
|
} & {};
|
|
@@ -4,33 +4,29 @@ export interface Area {
|
|
|
4
4
|
right: number;
|
|
5
5
|
bottom: number;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: import('vue').DefineComponent<
|
|
7
|
+
declare const _default: import('vue').DefineComponent<{
|
|
8
8
|
target?: HTMLElement;
|
|
9
9
|
color?: string;
|
|
10
|
-
}
|
|
11
|
-
color: string;
|
|
12
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
11
|
selectStart: (args_0: {
|
|
14
12
|
target: EventTarget | null;
|
|
15
13
|
shift: boolean;
|
|
16
14
|
ctrl: boolean;
|
|
17
|
-
}) =>
|
|
15
|
+
}) => any;
|
|
18
16
|
selectChange: (args_0: Area, args_1: {
|
|
19
17
|
target: EventTarget | null;
|
|
20
18
|
shift: boolean;
|
|
21
19
|
ctrl: boolean;
|
|
22
|
-
}) =>
|
|
20
|
+
}) => any;
|
|
23
21
|
selectEnd: (args_0: Area, args_1: {
|
|
24
22
|
target: EventTarget | null;
|
|
25
23
|
shift: boolean;
|
|
26
24
|
ctrl: boolean;
|
|
27
|
-
}) =>
|
|
28
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
25
|
+
}) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
29
27
|
target?: HTMLElement;
|
|
30
28
|
color?: string;
|
|
31
|
-
}
|
|
32
|
-
color: string;
|
|
33
|
-
}>>> & {
|
|
29
|
+
}> & Readonly<{
|
|
34
30
|
onSelectStart?: ((args_0: {
|
|
35
31
|
target: EventTarget | null;
|
|
36
32
|
shift: boolean;
|
|
@@ -46,24 +42,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
46
42
|
shift: boolean;
|
|
47
43
|
ctrl: boolean;
|
|
48
44
|
}) => any) | undefined;
|
|
49
|
-
}
|
|
45
|
+
}>, {
|
|
50
46
|
color: string;
|
|
51
|
-
}, {}>;
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
52
48
|
export default _default;
|
|
53
|
-
type __VLS_WithDefaults<P, D> = {
|
|
54
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
55
|
-
default: D[K];
|
|
56
|
-
}> : P[K];
|
|
57
|
-
};
|
|
58
|
-
type __VLS_Prettify<T> = {
|
|
59
|
-
[K in keyof T]: T[K];
|
|
60
|
-
} & {};
|
|
61
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
62
|
-
type __VLS_TypePropsToOption<T> = {
|
|
63
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
64
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
65
|
-
} : {
|
|
66
|
-
type: import('vue').PropType<T[K]>;
|
|
67
|
-
required: true;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
@@ -13,27 +13,11 @@ declare let __VLS_typeProps: {
|
|
|
13
13
|
type __VLS_PublicProps = {
|
|
14
14
|
modelValue?: any;
|
|
15
15
|
} & typeof __VLS_typeProps;
|
|
16
|
-
declare const _default: import('vue').DefineComponent<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
min: number;
|
|
20
|
-
max: number;
|
|
21
|
-
step: number;
|
|
22
|
-
color: string;
|
|
23
|
-
minWidth: number;
|
|
24
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
-
"update:modelValue": (modelValue: any) => void;
|
|
26
|
-
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
27
|
-
size: string;
|
|
28
|
-
animate: boolean;
|
|
29
|
-
min: number;
|
|
30
|
-
max: number;
|
|
31
|
-
step: number;
|
|
32
|
-
color: string;
|
|
33
|
-
minWidth: number;
|
|
34
|
-
}>>> & {
|
|
16
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (modelValue: any) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
35
19
|
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
36
|
-
}
|
|
20
|
+
}>, {
|
|
37
21
|
animate: boolean;
|
|
38
22
|
size: "sm" | "md" | "lg";
|
|
39
23
|
color: string;
|
|
@@ -41,22 +25,5 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
41
25
|
min: number;
|
|
42
26
|
step: number;
|
|
43
27
|
minWidth: number;
|
|
44
|
-
}, {}>;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
45
29
|
export default _default;
|
|
46
|
-
type __VLS_WithDefaults<P, D> = {
|
|
47
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
48
|
-
default: D[K];
|
|
49
|
-
}> : P[K];
|
|
50
|
-
};
|
|
51
|
-
type __VLS_Prettify<T> = {
|
|
52
|
-
[K in keyof T]: T[K];
|
|
53
|
-
} & {};
|
|
54
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
55
|
-
type __VLS_TypePropsToOption<T> = {
|
|
56
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
57
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
58
|
-
} : {
|
|
59
|
-
type: import('vue').PropType<T[K]>;
|
|
60
|
-
required: true;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Color } from '../types';
|
|
1
2
|
declare let __VLS_typeProps: {
|
|
2
3
|
size?: 'sm' | 'md' | 'lg';
|
|
3
4
|
animate?: boolean;
|
|
@@ -5,50 +6,26 @@ declare let __VLS_typeProps: {
|
|
|
5
6
|
label?: string;
|
|
6
7
|
id?: string;
|
|
7
8
|
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
8
|
-
color?:
|
|
9
|
+
color?: Color;
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
offIcon?: string;
|
|
11
12
|
onIcon?: string;
|
|
12
13
|
value?: boolean;
|
|
14
|
+
indicatorIcon?: string;
|
|
15
|
+
onIndicatorIcon?: string;
|
|
16
|
+
offIndicatorIcon?: string;
|
|
13
17
|
};
|
|
14
18
|
type __VLS_PublicProps = {
|
|
15
19
|
modelValue?: boolean;
|
|
16
20
|
} & typeof __VLS_typeProps;
|
|
17
|
-
declare const _default: import('vue').DefineComponent<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
animate: boolean;
|
|
21
|
-
color: string;
|
|
22
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
-
"update:modelValue": (modelValue: boolean) => void;
|
|
24
|
-
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
25
|
-
size: string;
|
|
26
|
-
rounded: string;
|
|
27
|
-
animate: boolean;
|
|
28
|
-
color: string;
|
|
29
|
-
}>>> & {
|
|
21
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
"update:modelValue": (modelValue: boolean) => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
30
24
|
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
31
|
-
}
|
|
25
|
+
}>, {
|
|
32
26
|
animate: boolean;
|
|
33
27
|
size: "sm" | "md" | "lg";
|
|
34
|
-
color:
|
|
28
|
+
color: Color;
|
|
35
29
|
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
36
|
-
}, {}>;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
37
31
|
export default _default;
|
|
38
|
-
type __VLS_WithDefaults<P, D> = {
|
|
39
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
-
default: D[K];
|
|
41
|
-
}> : P[K];
|
|
42
|
-
};
|
|
43
|
-
type __VLS_Prettify<T> = {
|
|
44
|
-
[K in keyof T]: T[K];
|
|
45
|
-
} & {};
|
|
46
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
-
type __VLS_TypePropsToOption<T> = {
|
|
48
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
-
} : {
|
|
51
|
-
type: import('vue').PropType<T[K]>;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
@@ -1,40 +1,26 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
2
|
+
slots: {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
refs: {
|
|
6
|
+
tabRef: HTMLButtonElement;
|
|
7
|
+
};
|
|
8
|
+
attrs: Partial<{}>;
|
|
3
9
|
};
|
|
4
|
-
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
5
12
|
value: string | number | symbol;
|
|
6
13
|
color?: string;
|
|
7
|
-
}
|
|
8
|
-
color: string;
|
|
9
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
14
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
10
15
|
value: string | number | symbol;
|
|
11
16
|
color?: string;
|
|
12
|
-
}>, {
|
|
13
|
-
color: string;
|
|
14
|
-
}>>>, {
|
|
17
|
+
}> & Readonly<{}>, {
|
|
15
18
|
color: string;
|
|
16
|
-
}, {}>;
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
21
|
export default _default;
|
|
19
|
-
type __VLS_WithDefaults<P, D> = {
|
|
20
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
-
default: D[K];
|
|
22
|
-
}> : P[K];
|
|
23
|
-
};
|
|
24
|
-
type __VLS_Prettify<T> = {
|
|
25
|
-
[K in keyof T]: T[K];
|
|
26
|
-
} & {};
|
|
27
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
23
|
new (): {
|
|
29
24
|
$slots: S;
|
|
30
25
|
};
|
|
31
26
|
};
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToOption<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|