@roku-ui/vue 0.7.0 → 0.7.2
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 +44 -0
- package/dist/components/Avatar.vue.d.ts +41 -0
- package/dist/components/Btn.vue.d.ts +77 -0
- package/dist/components/ChatContainer.vue.d.ts +9 -0
- package/dist/components/ChatMessage.vue.d.ts +51 -0
- package/dist/components/ChatSystem.vue.d.ts +45 -0
- package/dist/components/Chip.vue.d.ts +61 -0
- package/dist/components/ColorInput.vue.d.ts +6 -0
- package/dist/components/ColorSwatch.vue.d.ts +36 -0
- package/dist/components/Drawer.vue.d.ts +41 -0
- package/dist/components/Dropzone.vue.d.ts +45 -0
- package/dist/components/FullscreenOverlay.vue.d.ts +38 -0
- package/dist/components/Image.vue.d.ts +49 -0
- package/dist/components/Indicator.vue.d.ts +49 -0
- package/dist/components/Modal.vue.d.ts +32 -0
- package/dist/components/Notification.vue.d.ts +66 -0
- package/dist/components/NotificationSystem.vue.d.ts +2 -0
- package/dist/components/Overlay.vue.d.ts +52 -0
- package/dist/components/Paper.vue.d.ts +51 -0
- package/dist/components/PinInput.vue.d.ts +35 -0
- package/dist/components/Progress.vue.d.ts +59 -0
- package/dist/components/RokuProvider.vue.d.ts +42 -0
- package/dist/components/SchemeSwitch.vue.d.ts +2 -0
- package/dist/components/Select.vue.d.ts +60 -0
- package/dist/components/Slider.vue.d.ts +88 -0
- package/dist/components/Switch.vue.d.ts +85 -0
- package/dist/components/TabItem.vue.d.ts +38 -0
- package/dist/components/Tabs.vue.d.ts +29 -0
- package/dist/components/TextField.vue.d.ts +66 -0
- package/dist/components/ThemeProvider.vue.d.ts +23 -0
- package/dist/components/index.d.ts +30 -0
- package/dist/composables/index.d.ts +64 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3217 -0
- package/dist/index.umd.cjs +1 -0
- package/dist/style.css +1 -0
- package/dist/test/index.test.d.ts +1 -0
- package/dist/test.d.ts +1 -0
- package/dist/utils/classGenerator.d.ts +6 -0
- package/dist/utils/index.d.ts +23 -0
- package/dist/utils/notifications.d.ts +12 -0
- package/dist/utils/symbols.d.ts +2 -0
- package/dist/utils/theme.d.ts +35 -0
- package/package.json +13 -12
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
title?: string | undefined;
|
|
3
|
+
message?: string | undefined;
|
|
4
|
+
icon?: string | undefined;
|
|
5
|
+
loading?: boolean | undefined;
|
|
6
|
+
withBorder?: boolean | undefined;
|
|
7
|
+
closeable?: boolean | undefined;
|
|
8
|
+
rounded?: string | number | undefined;
|
|
9
|
+
block?: boolean | undefined;
|
|
10
|
+
color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
type: string;
|
|
13
|
+
border: boolean;
|
|
14
|
+
color: string;
|
|
15
|
+
rounded: string;
|
|
16
|
+
block: boolean;
|
|
17
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
close: (...args: any[]) => void;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
message?: string | undefined;
|
|
22
|
+
icon?: string | undefined;
|
|
23
|
+
loading?: boolean | undefined;
|
|
24
|
+
withBorder?: boolean | undefined;
|
|
25
|
+
closeable?: boolean | undefined;
|
|
26
|
+
rounded?: string | number | undefined;
|
|
27
|
+
block?: boolean | undefined;
|
|
28
|
+
color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
type: string;
|
|
31
|
+
border: boolean;
|
|
32
|
+
color: string;
|
|
33
|
+
rounded: string;
|
|
34
|
+
block: boolean;
|
|
35
|
+
}>>> & {
|
|
36
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
color: "primary" | "secondary" | "tertiary" | "error";
|
|
39
|
+
rounded: string | number;
|
|
40
|
+
block: boolean;
|
|
41
|
+
}, {}>, {
|
|
42
|
+
message?(_: {}): any;
|
|
43
|
+
}>;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
46
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
47
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
48
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
49
|
+
} : {
|
|
50
|
+
type: import('vue').PropType<T[K]>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
type __VLS_WithDefaults<P, D> = {
|
|
55
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
56
|
+
default: D[K];
|
|
57
|
+
}> : P[K];
|
|
58
|
+
};
|
|
59
|
+
type __VLS_Prettify<T> = {
|
|
60
|
+
[K in keyof T]: T[K];
|
|
61
|
+
} & {};
|
|
62
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
63
|
+
new (): {
|
|
64
|
+
$slots: S;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
blur?: boolean | "sm" | "md" | "lg" | undefined;
|
|
3
|
+
rounded?: string | number | undefined;
|
|
4
|
+
opacity?: number | undefined;
|
|
5
|
+
color?: string | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
blur: boolean;
|
|
8
|
+
rounded: string;
|
|
9
|
+
opacity: number;
|
|
10
|
+
color: string;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
blur?: boolean | "sm" | "md" | "lg" | undefined;
|
|
13
|
+
rounded?: string | number | undefined;
|
|
14
|
+
opacity?: number | undefined;
|
|
15
|
+
color?: string | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
blur: boolean;
|
|
18
|
+
rounded: string;
|
|
19
|
+
opacity: number;
|
|
20
|
+
color: string;
|
|
21
|
+
}>>>, {
|
|
22
|
+
color: string;
|
|
23
|
+
rounded: string | number;
|
|
24
|
+
blur: boolean | "sm" | "md" | "lg";
|
|
25
|
+
opacity: number;
|
|
26
|
+
}, {}>, {
|
|
27
|
+
default?(_: {}): any;
|
|
28
|
+
content?(_: {}): any;
|
|
29
|
+
}>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
type __VLS_WithDefaults<P, D> = {
|
|
41
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
42
|
+
default: D[K];
|
|
43
|
+
}> : P[K];
|
|
44
|
+
};
|
|
45
|
+
type __VLS_Prettify<T> = {
|
|
46
|
+
[K in keyof T]: T[K];
|
|
47
|
+
} & {};
|
|
48
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
size?: string | number | undefined;
|
|
3
|
+
rounded?: string | number | undefined;
|
|
4
|
+
withBorder?: boolean | undefined;
|
|
5
|
+
is?: string | globalThis.Component | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
size: string;
|
|
8
|
+
rounded: string;
|
|
9
|
+
withBorder: boolean;
|
|
10
|
+
is: string;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
size?: string | number | undefined;
|
|
13
|
+
rounded?: string | number | undefined;
|
|
14
|
+
withBorder?: boolean | undefined;
|
|
15
|
+
is?: string | globalThis.Component | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
size: string;
|
|
18
|
+
rounded: string;
|
|
19
|
+
withBorder: boolean;
|
|
20
|
+
is: string;
|
|
21
|
+
}>>>, {
|
|
22
|
+
is: string | globalThis.Component;
|
|
23
|
+
size: string | number;
|
|
24
|
+
rounded: string | number;
|
|
25
|
+
withBorder: boolean;
|
|
26
|
+
}, {}>, {
|
|
27
|
+
default?(_: {}): any;
|
|
28
|
+
}>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: import('vue').PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_Prettify<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue?: string | undefined;
|
|
3
|
+
length?: number | undefined;
|
|
4
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
5
|
+
password?: boolean | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
length: number;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
modelValue?: string | undefined;
|
|
10
|
+
length?: number | undefined;
|
|
11
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
12
|
+
password?: boolean | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
length: number;
|
|
15
|
+
}>>>, {
|
|
16
|
+
length: number;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Prettify<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
value?: string | number | undefined;
|
|
3
|
+
max?: string | number | undefined;
|
|
4
|
+
min?: string | number | undefined;
|
|
5
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
6
|
+
color?: string | undefined;
|
|
7
|
+
rounded?: string | number | undefined;
|
|
8
|
+
loading?: boolean | undefined;
|
|
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_TypePropsToRuntimeProps<{
|
|
18
|
+
value?: string | number | undefined;
|
|
19
|
+
max?: string | number | undefined;
|
|
20
|
+
min?: string | number | undefined;
|
|
21
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
22
|
+
color?: string | undefined;
|
|
23
|
+
rounded?: string | number | undefined;
|
|
24
|
+
loading?: boolean | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
value: number;
|
|
27
|
+
max: number;
|
|
28
|
+
min: number;
|
|
29
|
+
size: string;
|
|
30
|
+
color: string;
|
|
31
|
+
rounded: string;
|
|
32
|
+
loading: boolean;
|
|
33
|
+
}>>>, {
|
|
34
|
+
size: 'sm' | 'md' | 'lg';
|
|
35
|
+
color: string;
|
|
36
|
+
rounded: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
37
|
+
loading: boolean;
|
|
38
|
+
value: number | string;
|
|
39
|
+
max: number | string;
|
|
40
|
+
min: number | string;
|
|
41
|
+
}, {}>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
+
} : {
|
|
48
|
+
type: import('vue').PropType<T[K]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type __VLS_WithDefaults<P, D> = {
|
|
53
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
54
|
+
default: D[K];
|
|
55
|
+
}> : P[K];
|
|
56
|
+
};
|
|
57
|
+
type __VLS_Prettify<T> = {
|
|
58
|
+
[K in keyof T]: T[K];
|
|
59
|
+
} & {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { ThemeData } from '../utils';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
is?: string | globalThis.Component | undefined;
|
|
4
|
+
theme?: ThemeData | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
is: string;
|
|
7
|
+
theme(): ThemeData;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
is?: string | globalThis.Component | undefined;
|
|
10
|
+
theme?: ThemeData | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
is: string;
|
|
13
|
+
theme(): ThemeData;
|
|
14
|
+
}>>>, {
|
|
15
|
+
is: string | globalThis.Component;
|
|
16
|
+
theme: ThemeData;
|
|
17
|
+
}, {}>, {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
type Option = {
|
|
2
|
+
id: number | string | symbol;
|
|
3
|
+
label: string;
|
|
4
|
+
} | string | symbol | number;
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
modelValue: globalThis.PropType<string | number | symbol | undefined>;
|
|
7
|
+
size: {
|
|
8
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
rounded: {
|
|
12
|
+
type: globalThis.PropType<string | number>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
placeholder: {
|
|
16
|
+
type: globalThis.PropType<string>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
options: {
|
|
20
|
+
type: globalThis.PropType<Option[]>;
|
|
21
|
+
default: () => never[];
|
|
22
|
+
};
|
|
23
|
+
noneText: {
|
|
24
|
+
type: globalThis.PropType<string>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
+
change: (...args: any[]) => void;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
30
|
+
modelValue: globalThis.PropType<string | number | symbol | undefined>;
|
|
31
|
+
size: {
|
|
32
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
rounded: {
|
|
36
|
+
type: globalThis.PropType<string | number>;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
placeholder: {
|
|
40
|
+
type: globalThis.PropType<string>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
options: {
|
|
44
|
+
type: globalThis.PropType<Option[]>;
|
|
45
|
+
default: () => never[];
|
|
46
|
+
};
|
|
47
|
+
noneText: {
|
|
48
|
+
type: globalThis.PropType<string>;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
}>> & {
|
|
52
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
}, {
|
|
54
|
+
size: 'sm' | 'md' | 'lg';
|
|
55
|
+
rounded: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
56
|
+
placeholder: string;
|
|
57
|
+
options: Option[];
|
|
58
|
+
noneText: string;
|
|
59
|
+
}, {}>;
|
|
60
|
+
export default _default;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: globalThis.PropType<any>;
|
|
3
|
+
width: {
|
|
4
|
+
type: globalThis.PropType<number>;
|
|
5
|
+
};
|
|
6
|
+
animate: {
|
|
7
|
+
type: globalThis.PropType<boolean>;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
color: {
|
|
15
|
+
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
max: {
|
|
19
|
+
type: globalThis.PropType<number>;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
min: {
|
|
23
|
+
type: globalThis.PropType<number>;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
options: {
|
|
27
|
+
type: globalThis.PropType<any[]>;
|
|
28
|
+
};
|
|
29
|
+
step: {
|
|
30
|
+
type: globalThis.PropType<number>;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
tickNum: {
|
|
34
|
+
type: globalThis.PropType<number>;
|
|
35
|
+
};
|
|
36
|
+
minWidth: {
|
|
37
|
+
type: globalThis.PropType<number>;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
41
|
+
modelValue: globalThis.PropType<any>;
|
|
42
|
+
width: {
|
|
43
|
+
type: globalThis.PropType<number>;
|
|
44
|
+
};
|
|
45
|
+
animate: {
|
|
46
|
+
type: globalThis.PropType<boolean>;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
size: {
|
|
50
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
color: {
|
|
54
|
+
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
max: {
|
|
58
|
+
type: globalThis.PropType<number>;
|
|
59
|
+
default: number;
|
|
60
|
+
};
|
|
61
|
+
min: {
|
|
62
|
+
type: globalThis.PropType<number>;
|
|
63
|
+
default: number;
|
|
64
|
+
};
|
|
65
|
+
options: {
|
|
66
|
+
type: globalThis.PropType<any[]>;
|
|
67
|
+
};
|
|
68
|
+
step: {
|
|
69
|
+
type: globalThis.PropType<number>;
|
|
70
|
+
default: number;
|
|
71
|
+
};
|
|
72
|
+
tickNum: {
|
|
73
|
+
type: globalThis.PropType<number>;
|
|
74
|
+
};
|
|
75
|
+
minWidth: {
|
|
76
|
+
type: globalThis.PropType<number>;
|
|
77
|
+
default: number;
|
|
78
|
+
};
|
|
79
|
+
}>>, {
|
|
80
|
+
animate: boolean;
|
|
81
|
+
size: 'sm' | 'md' | 'lg';
|
|
82
|
+
color: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
83
|
+
max: number;
|
|
84
|
+
min: number;
|
|
85
|
+
step: number;
|
|
86
|
+
minWidth: number;
|
|
87
|
+
}, {}>;
|
|
88
|
+
export default _default;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: globalThis.PropType<boolean>;
|
|
3
|
+
label: {
|
|
4
|
+
type: globalThis.PropType<string>;
|
|
5
|
+
};
|
|
6
|
+
animate: {
|
|
7
|
+
type: globalThis.PropType<boolean>;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
color: {
|
|
15
|
+
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
rounded: {
|
|
19
|
+
type: globalThis.PropType<string | number>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
disabled: {
|
|
23
|
+
type: globalThis.PropType<boolean>;
|
|
24
|
+
};
|
|
25
|
+
id: {
|
|
26
|
+
type: globalThis.PropType<string>;
|
|
27
|
+
};
|
|
28
|
+
value: {
|
|
29
|
+
type: globalThis.PropType<boolean>;
|
|
30
|
+
};
|
|
31
|
+
options: {
|
|
32
|
+
type: globalThis.PropType<string[]>;
|
|
33
|
+
};
|
|
34
|
+
offIcon: {
|
|
35
|
+
type: globalThis.PropType<string>;
|
|
36
|
+
};
|
|
37
|
+
onIcon: {
|
|
38
|
+
type: globalThis.PropType<string>;
|
|
39
|
+
};
|
|
40
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
41
|
+
modelValue: globalThis.PropType<boolean>;
|
|
42
|
+
label: {
|
|
43
|
+
type: globalThis.PropType<string>;
|
|
44
|
+
};
|
|
45
|
+
animate: {
|
|
46
|
+
type: globalThis.PropType<boolean>;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
size: {
|
|
50
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
color: {
|
|
54
|
+
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
rounded: {
|
|
58
|
+
type: globalThis.PropType<string | number>;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
disabled: {
|
|
62
|
+
type: globalThis.PropType<boolean>;
|
|
63
|
+
};
|
|
64
|
+
id: {
|
|
65
|
+
type: globalThis.PropType<string>;
|
|
66
|
+
};
|
|
67
|
+
value: {
|
|
68
|
+
type: globalThis.PropType<boolean>;
|
|
69
|
+
};
|
|
70
|
+
options: {
|
|
71
|
+
type: globalThis.PropType<string[]>;
|
|
72
|
+
};
|
|
73
|
+
offIcon: {
|
|
74
|
+
type: globalThis.PropType<string>;
|
|
75
|
+
};
|
|
76
|
+
onIcon: {
|
|
77
|
+
type: globalThis.PropType<string>;
|
|
78
|
+
};
|
|
79
|
+
}>>, {
|
|
80
|
+
animate: boolean;
|
|
81
|
+
size: 'sm' | 'md' | 'lg';
|
|
82
|
+
color: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
83
|
+
rounded: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
84
|
+
}, {}>;
|
|
85
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
value: string | number | symbol;
|
|
3
|
+
color?: string | undefined;
|
|
4
|
+
}>, {
|
|
5
|
+
color: string;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
value: string | number | symbol;
|
|
8
|
+
color?: string | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
color: string;
|
|
11
|
+
}>>>, {
|
|
12
|
+
color: string;
|
|
13
|
+
}, {}>, {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
modelValue: globalThis.PropType<string | number | symbol>;
|
|
3
|
+
direction: {
|
|
4
|
+
type: globalThis.PropType<"horizontal" | "vertical">;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
defaultValue: {
|
|
8
|
+
type: globalThis.PropType<string | number | symbol>;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
11
|
+
modelValue: globalThis.PropType<string | number | symbol>;
|
|
12
|
+
direction: {
|
|
13
|
+
type: globalThis.PropType<"horizontal" | "vertical">;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
defaultValue: {
|
|
17
|
+
type: globalThis.PropType<string | number | symbol>;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
direction: "horizontal" | "vertical";
|
|
21
|
+
}, {}>, {
|
|
22
|
+
default?(_: {}): any;
|
|
23
|
+
}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: globalThis.PropType<string | number>;
|
|
3
|
+
onChange: {
|
|
4
|
+
type: globalThis.PropType<(value: string) => void>;
|
|
5
|
+
};
|
|
6
|
+
size: {
|
|
7
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
error: {
|
|
11
|
+
type: globalThis.PropType<boolean>;
|
|
12
|
+
};
|
|
13
|
+
color: {
|
|
14
|
+
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
rounded: {
|
|
18
|
+
type: globalThis.PropType<string | number>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
disabled: {
|
|
22
|
+
type: globalThis.PropType<boolean>;
|
|
23
|
+
};
|
|
24
|
+
password: {
|
|
25
|
+
type: globalThis.PropType<boolean>;
|
|
26
|
+
};
|
|
27
|
+
placeholder: {
|
|
28
|
+
type: globalThis.PropType<string>;
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
el: globalThis.Ref<HTMLInputElement | null>;
|
|
32
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
33
|
+
modelValue: globalThis.PropType<string | number>;
|
|
34
|
+
onChange: {
|
|
35
|
+
type: globalThis.PropType<(value: string) => void>;
|
|
36
|
+
};
|
|
37
|
+
size: {
|
|
38
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
error: {
|
|
42
|
+
type: globalThis.PropType<boolean>;
|
|
43
|
+
};
|
|
44
|
+
color: {
|
|
45
|
+
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
rounded: {
|
|
49
|
+
type: globalThis.PropType<string | number>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
disabled: {
|
|
53
|
+
type: globalThis.PropType<boolean>;
|
|
54
|
+
};
|
|
55
|
+
password: {
|
|
56
|
+
type: globalThis.PropType<boolean>;
|
|
57
|
+
};
|
|
58
|
+
placeholder: {
|
|
59
|
+
type: globalThis.PropType<string>;
|
|
60
|
+
};
|
|
61
|
+
}>>, {
|
|
62
|
+
size: 'sm' | 'md' | 'lg';
|
|
63
|
+
color: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
64
|
+
rounded: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
65
|
+
}, {}>;
|
|
66
|
+
export default _default;
|