@roku-ui/vue 0.1.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 ADDED
@@ -0,0 +1,33 @@
1
+ # Max Min Vue
2
+
3
+ ## Usage
4
+
5
+ ### Install
6
+
7
+ ```bash
8
+ pnpm install
9
+ ```
10
+
11
+ ### Development
12
+
13
+ ```bash
14
+ pnpm dev
15
+ ```
16
+
17
+ ### Build
18
+
19
+ ```bash
20
+ pnpm build
21
+ ```
22
+
23
+ ### Lint
24
+
25
+ ```bash
26
+ pnpm lint
27
+ ```
28
+
29
+ ### Test
30
+
31
+ ```bash
32
+ pnpm test
33
+ ```
@@ -0,0 +1,40 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ is?: string | undefined;
3
+ src?: string | undefined;
4
+ size?: string | number | undefined;
5
+ style?: any;
6
+ class?: any;
7
+ }>, {
8
+ size: string;
9
+ is: string;
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ is?: string | undefined;
12
+ src?: string | undefined;
13
+ size?: string | number | undefined;
14
+ style?: any;
15
+ class?: any;
16
+ }>, {
17
+ size: string;
18
+ is: string;
19
+ }>>>, {
20
+ is: string;
21
+ size: 'sm' | 'md' | 'lg' | string | number;
22
+ }, {}>;
23
+ export default _default;
24
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
+ type __VLS_TypePropsToRuntimeProps<T> = {
26
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
27
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
+ } : {
29
+ type: import('vue').PropType<T[K]>;
30
+ required: true;
31
+ };
32
+ };
33
+ type __VLS_WithDefaults<P, D> = {
34
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
35
+ default: D[K];
36
+ }> : P[K];
37
+ };
38
+ type __VLS_Prettify<T> = {
39
+ [K in keyof T]: T[K];
40
+ } & {};
@@ -0,0 +1,71 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ type?: "button" | "submit" | "reset" | undefined;
3
+ size?: "sm" | "md" | "lg" | undefined;
4
+ is?: string | undefined;
5
+ icon?: boolean | undefined;
6
+ pressEffect?: "translate" | "scale" | undefined;
7
+ variant?: "default" | "filled" | "light" | "outline" | "subtle" | "transparent" | "ghost" | "constrast" | undefined;
8
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
9
+ disabled?: boolean | undefined;
10
+ animate?: boolean | undefined;
11
+ rounded?: "sm" | "md" | "lg" | "none" | "full" | undefined;
12
+ }>, {
13
+ rounded: string;
14
+ type: string;
15
+ size: string;
16
+ is: string;
17
+ icon: boolean;
18
+ pressEffect: string;
19
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
20
+ type?: "button" | "submit" | "reset" | undefined;
21
+ size?: "sm" | "md" | "lg" | undefined;
22
+ is?: string | undefined;
23
+ icon?: boolean | undefined;
24
+ pressEffect?: "translate" | "scale" | undefined;
25
+ variant?: "default" | "filled" | "light" | "outline" | "subtle" | "transparent" | "ghost" | "constrast" | undefined;
26
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
27
+ disabled?: boolean | undefined;
28
+ animate?: boolean | undefined;
29
+ rounded?: "sm" | "md" | "lg" | "none" | "full" | undefined;
30
+ }>, {
31
+ rounded: string;
32
+ type: string;
33
+ size: string;
34
+ is: string;
35
+ icon: boolean;
36
+ pressEffect: string;
37
+ }>>>, {
38
+ is: string;
39
+ size: "sm" | "md" | "lg";
40
+ type: "button" | "submit" | "reset";
41
+ icon: boolean;
42
+ pressEffect: "translate" | "scale";
43
+ rounded: "sm" | "md" | "lg" | "none" | "full";
44
+ }, {}>, {
45
+ leftSection?(_: {}): any;
46
+ default?(_: {}): any;
47
+ rightSection?(_: {}): any;
48
+ }>;
49
+ export default _default;
50
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
51
+ type __VLS_TypePropsToRuntimeProps<T> = {
52
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
53
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
54
+ } : {
55
+ type: import('vue').PropType<T[K]>;
56
+ required: true;
57
+ };
58
+ };
59
+ type __VLS_WithDefaults<P, D> = {
60
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
61
+ default: D[K];
62
+ }> : P[K];
63
+ };
64
+ type __VLS_Prettify<T> = {
65
+ [K in keyof T]: T[K];
66
+ } & {};
67
+ type __VLS_WithTemplateSlots<T, S> = T & {
68
+ new (): {
69
+ $slots: S;
70
+ };
71
+ };
@@ -0,0 +1,60 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ is?: string | undefined;
3
+ src?: string | undefined;
4
+ size?: string | number | undefined;
5
+ style?: any;
6
+ class?: any;
7
+ modelValue?: boolean | undefined;
8
+ rounded?: string | number | undefined;
9
+ }>, {
10
+ size: string;
11
+ is: string;
12
+ rounded: string;
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (...args: any[]) => void;
15
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
+ is?: string | undefined;
17
+ src?: string | undefined;
18
+ size?: string | number | undefined;
19
+ style?: any;
20
+ class?: any;
21
+ modelValue?: boolean | undefined;
22
+ rounded?: string | number | undefined;
23
+ }>, {
24
+ size: string;
25
+ is: string;
26
+ rounded: string;
27
+ }>>> & {
28
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
+ }, {
30
+ is: string;
31
+ size: string | number;
32
+ rounded: string | number;
33
+ }, {}>, {
34
+ leftSection?(_: {}): any;
35
+ default?(_: {}): any;
36
+ rightSection?(_: {}): any;
37
+ }>;
38
+ export default _default;
39
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
+ type __VLS_TypePropsToRuntimeProps<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
+ };
48
+ type __VLS_WithDefaults<P, D> = {
49
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
+ default: D[K];
51
+ }> : P[K];
52
+ };
53
+ type __VLS_Prettify<T> = {
54
+ [K in keyof T]: T[K];
55
+ } & {};
56
+ type __VLS_WithTemplateSlots<T, S> = T & {
57
+ new (): {
58
+ $slots: S;
59
+ };
60
+ };
@@ -0,0 +1,49 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
3
+ size?: string | number | undefined;
4
+ position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top" | "bottom" | "left" | "right" | undefined;
5
+ ping?: boolean | undefined;
6
+ }>, {
7
+ size: string;
8
+ position: string;
9
+ color: string;
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
12
+ size?: string | number | undefined;
13
+ position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top" | "bottom" | "left" | "right" | undefined;
14
+ ping?: boolean | undefined;
15
+ }>, {
16
+ size: string;
17
+ position: string;
18
+ color: string;
19
+ }>>>, {
20
+ size: string | number;
21
+ color: "primary" | "secondary" | "tertiary" | "error";
22
+ position: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top" | "bottom" | "left" | "right";
23
+ }, {}>, {
24
+ label?(_: {}): any;
25
+ default?(_: {}): any;
26
+ }>;
27
+ export default _default;
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToRuntimeProps<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
37
+ type __VLS_WithDefaults<P, D> = {
38
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
39
+ default: D[K];
40
+ }> : P[K];
41
+ };
42
+ type __VLS_Prettify<T> = {
43
+ [K in keyof T]: T[K];
44
+ } & {};
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
@@ -0,0 +1,47 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ modelValue: boolean;
3
+ persistent?: boolean | undefined;
4
+ blur?: boolean | "sm" | "md" | "lg" | undefined;
5
+ }>, {
6
+ modelValue: boolean;
7
+ persistent: boolean;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (...args: any[]) => void;
10
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ modelValue: boolean;
12
+ persistent?: boolean | undefined;
13
+ blur?: boolean | "sm" | "md" | "lg" | undefined;
14
+ }>, {
15
+ modelValue: boolean;
16
+ persistent: boolean;
17
+ }>>> & {
18
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
19
+ }, {
20
+ modelValue: boolean;
21
+ persistent: boolean;
22
+ }, {}>, {
23
+ default?(_: {}): any;
24
+ }>;
25
+ export default _default;
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ type __VLS_TypePropsToRuntimeProps<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
35
+ type __VLS_WithDefaults<P, D> = {
36
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
+ default: D[K];
38
+ }> : P[K];
39
+ };
40
+ type __VLS_Prettify<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
43
+ type __VLS_WithTemplateSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
@@ -0,0 +1,49 @@
1
+ declare const _default: 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
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
9
+ }>, {
10
+ type: string;
11
+ border: boolean;
12
+ color: string;
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ close: (...args: any[]) => void;
15
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
+ title?: string | undefined;
17
+ message?: string | undefined;
18
+ icon?: string | undefined;
19
+ loading?: boolean | undefined;
20
+ withBorder?: boolean | undefined;
21
+ closeable?: boolean | undefined;
22
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
23
+ }>, {
24
+ type: string;
25
+ border: boolean;
26
+ color: string;
27
+ }>>> & {
28
+ onClose?: ((...args: any[]) => any) | undefined;
29
+ }, {
30
+ color: 'primary' | 'secondary' | 'tertiary' | 'error';
31
+ }, {}>;
32
+ export default _default;
33
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
+ type __VLS_TypePropsToRuntimeProps<T> = {
35
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
36
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
+ } : {
38
+ type: import('vue').PropType<T[K]>;
39
+ required: true;
40
+ };
41
+ };
42
+ type __VLS_WithDefaults<P, D> = {
43
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
+ default: D[K];
45
+ }> : P[K];
46
+ };
47
+ type __VLS_Prettify<T> = {
48
+ [K in keyof T]: T[K];
49
+ } & {};
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, 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?: number | undefined;
3
+ max?: number | undefined;
4
+ min?: 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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
18
+ value?: number | undefined;
19
+ max?: number | undefined;
20
+ min?: 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
+ value: number;
38
+ loading: boolean;
39
+ max: number;
40
+ min: number;
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 | undefined;
4
+ theme?: ThemeData | undefined;
5
+ }>, {
6
+ is: string;
7
+ theme(): ThemeData;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ is?: string | undefined;
10
+ theme?: ThemeData | undefined;
11
+ }>, {
12
+ is: string;
13
+ theme(): ThemeData;
14
+ }>>>, {
15
+ is: string;
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,54 @@
1
+ type Option = {
2
+ id: number | string | symbol;
3
+ label: string;
4
+ } | string | symbol | number;
5
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
+ options?: Option[] | undefined;
7
+ modelValue?: string | number | symbol | undefined;
8
+ size?: "sm" | "md" | "lg" | undefined;
9
+ noneText?: string | undefined;
10
+ }>, {
11
+ modelValue: undefined;
12
+ options(): never[];
13
+ size: string;
14
+ noneText: string;
15
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ "update:modelValue": (...args: any[]) => void;
17
+ change: (...args: any[]) => void;
18
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
+ options?: Option[] | undefined;
20
+ modelValue?: string | number | symbol | undefined;
21
+ size?: "sm" | "md" | "lg" | undefined;
22
+ noneText?: string | undefined;
23
+ }>, {
24
+ modelValue: undefined;
25
+ options(): never[];
26
+ size: string;
27
+ noneText: string;
28
+ }>>> & {
29
+ onChange?: ((...args: any[]) => any) | undefined;
30
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
31
+ }, {
32
+ size: 'sm' | 'md' | 'lg';
33
+ modelValue: string | symbol | number;
34
+ options: Option[];
35
+ noneText: string;
36
+ }, {}>;
37
+ export default _default;
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
+ type __VLS_TypePropsToRuntimeProps<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
41
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
+ } : {
43
+ type: import('vue').PropType<T[K]>;
44
+ required: true;
45
+ };
46
+ };
47
+ type __VLS_WithDefaults<P, D> = {
48
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
49
+ default: D[K];
50
+ }> : P[K];
51
+ };
52
+ type __VLS_Prettify<T> = {
53
+ [K in keyof T]: T[K];
54
+ } & {};
@@ -0,0 +1,47 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ modelValue?: any;
3
+ size?: "sm" | "md" | "lg" | undefined;
4
+ animate?: boolean | undefined;
5
+ options: any[];
6
+ width?: number | undefined;
7
+ }>, {
8
+ size: string;
9
+ animate: boolean;
10
+ width: number;
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:modelValue": (...args: any[]) => void;
13
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ modelValue?: any;
15
+ size?: "sm" | "md" | "lg" | undefined;
16
+ animate?: boolean | undefined;
17
+ options: any[];
18
+ width?: number | undefined;
19
+ }>, {
20
+ size: string;
21
+ animate: boolean;
22
+ width: number;
23
+ }>>> & {
24
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
25
+ }, {
26
+ size: 'sm' | 'md' | 'lg';
27
+ animate: boolean;
28
+ width: number;
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
+ } & {};
@@ -0,0 +1,58 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ modelValue?: any;
3
+ size?: "sm" | "md" | "lg" | undefined;
4
+ animate?: boolean | undefined;
5
+ options?: string[] | undefined;
6
+ label?: string | undefined;
7
+ id?: string | undefined;
8
+ rounded?: string | number | undefined;
9
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
10
+ disabled?: boolean | undefined;
11
+ }>, {
12
+ size: string;
13
+ rounded: string;
14
+ animate: boolean;
15
+ color: string;
16
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ "update:modelValue": (...args: any[]) => void;
18
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
+ modelValue?: any;
20
+ size?: "sm" | "md" | "lg" | undefined;
21
+ animate?: boolean | undefined;
22
+ options?: string[] | undefined;
23
+ label?: string | undefined;
24
+ id?: string | undefined;
25
+ rounded?: string | number | undefined;
26
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
27
+ disabled?: boolean | undefined;
28
+ }>, {
29
+ size: string;
30
+ rounded: string;
31
+ animate: boolean;
32
+ color: string;
33
+ }>>> & {
34
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
35
+ }, {
36
+ size: 'sm' | 'md' | 'lg';
37
+ animate: boolean;
38
+ color: 'primary' | 'secondary' | 'tertiary' | 'error';
39
+ rounded: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
40
+ }, {}>;
41
+ export default _default;
42
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
+ type __VLS_TypePropsToRuntimeProps<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
+ };
51
+ type __VLS_WithDefaults<P, D> = {
52
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
53
+ default: D[K];
54
+ }> : P[K];
55
+ };
56
+ type __VLS_Prettify<T> = {
57
+ [K in keyof T]: T[K];
58
+ } & {};