@roku-ui/vue 0.1.0 → 0.1.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/Avatar.vue.d.ts +5 -4
- package/dist/components/Btn.vue.d.ts +5 -7
- package/dist/components/Chip.vue.d.ts +48 -47
- package/dist/components/Indicator.vue.d.ts +1 -1
- package/dist/components/Modal.vue.d.ts +19 -37
- package/dist/components/Notification.vue.d.ts +1 -1
- package/dist/components/NotificationSystem.vue.d.ts +1 -1
- package/dist/components/Paper.vue.d.ts +51 -0
- package/dist/components/PinInput.vue.d.ts +1 -1
- package/dist/components/Progress.vue.d.ts +3 -3
- package/dist/components/RokuProvider.vue.d.ts +4 -4
- package/dist/components/Select.vue.d.ts +39 -42
- package/dist/components/Slider.vue.d.ts +77 -42
- package/dist/components/Switch.vue.d.ts +73 -52
- package/dist/components/TextField.vue.d.ts +7 -2
- package/dist/components/ThemeProvider.vue.d.ts +23 -0
- package/dist/components/ThemeSwitch.vue.d.ts +2 -0
- package/dist/components/index.d.ts +4 -1
- package/dist/composables/index.d.ts +61 -2
- package/dist/index.js +1178 -887
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/dist/test.d.ts +1 -0
- package/dist/utils/index.d.ts +20 -0
- package/dist/utils/theme.d.ts +3 -1
- package/package.json +23 -17
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
is?: string | undefined;
|
|
3
|
+
is?: string | Component | undefined;
|
|
3
4
|
src?: string | undefined;
|
|
4
5
|
size?: string | number | undefined;
|
|
5
6
|
style?: any;
|
|
@@ -7,8 +8,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
7
8
|
}>, {
|
|
8
9
|
size: string;
|
|
9
10
|
is: string;
|
|
10
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
11
|
-
is?: string | undefined;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
is?: string | Component | undefined;
|
|
12
13
|
src?: string | undefined;
|
|
13
14
|
size?: string | number | undefined;
|
|
14
15
|
style?: any;
|
|
@@ -17,7 +18,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
17
18
|
size: string;
|
|
18
19
|
is: string;
|
|
19
20
|
}>>>, {
|
|
20
|
-
is: string;
|
|
21
|
+
is: string | Component;
|
|
21
22
|
size: 'sm' | 'md' | 'lg' | string | number;
|
|
22
23
|
}, {}>;
|
|
23
24
|
export default _default;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
type?: "button" | "submit" | "reset" | undefined;
|
|
3
3
|
size?: "sm" | "md" | "lg" | undefined;
|
|
4
|
-
is?: string | undefined;
|
|
4
|
+
is?: string | globalThis.Component | undefined;
|
|
5
5
|
icon?: boolean | undefined;
|
|
6
6
|
pressEffect?: "translate" | "scale" | undefined;
|
|
7
7
|
variant?: "default" | "filled" | "light" | "outline" | "subtle" | "transparent" | "ghost" | "constrast" | undefined;
|
|
8
8
|
color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
|
|
9
|
-
disabled?: boolean | undefined;
|
|
10
9
|
animate?: boolean | undefined;
|
|
11
10
|
rounded?: "sm" | "md" | "lg" | "none" | "full" | undefined;
|
|
12
11
|
}>, {
|
|
@@ -16,15 +15,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
16
15
|
is: string;
|
|
17
16
|
icon: boolean;
|
|
18
17
|
pressEffect: string;
|
|
19
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
18
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
19
|
type?: "button" | "submit" | "reset" | undefined;
|
|
21
20
|
size?: "sm" | "md" | "lg" | undefined;
|
|
22
|
-
is?: string | undefined;
|
|
21
|
+
is?: string | globalThis.Component | undefined;
|
|
23
22
|
icon?: boolean | undefined;
|
|
24
23
|
pressEffect?: "translate" | "scale" | undefined;
|
|
25
24
|
variant?: "default" | "filled" | "light" | "outline" | "subtle" | "transparent" | "ghost" | "constrast" | undefined;
|
|
26
25
|
color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
|
|
27
|
-
disabled?: boolean | undefined;
|
|
28
26
|
animate?: boolean | undefined;
|
|
29
27
|
rounded?: "sm" | "md" | "lg" | "none" | "full" | undefined;
|
|
30
28
|
}>, {
|
|
@@ -35,9 +33,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
35
33
|
icon: boolean;
|
|
36
34
|
pressEffect: string;
|
|
37
35
|
}>>>, {
|
|
38
|
-
is: string;
|
|
39
|
-
size: "sm" | "md" | "lg";
|
|
40
36
|
type: "button" | "submit" | "reset";
|
|
37
|
+
size: "sm" | "md" | "lg";
|
|
38
|
+
is: string | globalThis.Component;
|
|
41
39
|
icon: boolean;
|
|
42
40
|
pressEffect: "translate" | "scale";
|
|
43
41
|
rounded: "sm" | "md" | "lg" | "none" | "full";
|
|
@@ -1,33 +1,51 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
size:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
modelValue: globalThis.PropType<boolean>;
|
|
3
|
+
is: {
|
|
4
|
+
type: globalThis.PropType<string | globalThis.Component>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
src: {
|
|
8
|
+
type: globalThis.PropType<string>;
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
type: globalThis.PropType<string | number>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
style: {
|
|
15
|
+
type: globalThis.PropType<any>;
|
|
16
|
+
};
|
|
17
|
+
class: {
|
|
18
|
+
type: globalThis.PropType<any>;
|
|
19
|
+
};
|
|
20
|
+
rounded: {
|
|
21
|
+
type: globalThis.PropType<string | number>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
25
|
+
modelValue: globalThis.PropType<boolean>;
|
|
26
|
+
is: {
|
|
27
|
+
type: globalThis.PropType<string | globalThis.Component>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
src: {
|
|
31
|
+
type: globalThis.PropType<string>;
|
|
32
|
+
};
|
|
33
|
+
size: {
|
|
34
|
+
type: globalThis.PropType<string | number>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
style: {
|
|
38
|
+
type: globalThis.PropType<any>;
|
|
39
|
+
};
|
|
40
|
+
class: {
|
|
41
|
+
type: globalThis.PropType<any>;
|
|
42
|
+
};
|
|
43
|
+
rounded: {
|
|
44
|
+
type: globalThis.PropType<string | number>;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
}>>, {
|
|
48
|
+
is: string | globalThis.Component;
|
|
31
49
|
size: string | number;
|
|
32
50
|
rounded: string | number;
|
|
33
51
|
}, {}>, {
|
|
@@ -36,23 +54,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
54
|
rightSection?(_: {}): any;
|
|
37
55
|
}>;
|
|
38
56
|
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
57
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
58
|
new (): {
|
|
58
59
|
$slots: S;
|
|
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
7
|
size: string;
|
|
8
8
|
position: string;
|
|
9
9
|
color: string;
|
|
10
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
10
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
11
|
color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
|
|
12
12
|
size?: string | number | undefined;
|
|
13
13
|
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top" | "bottom" | "left" | "right" | undefined;
|
|
@@ -1,45 +1,27 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
2
|
-
modelValue: boolean
|
|
3
|
-
persistent
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
modelValue: boolean
|
|
12
|
-
persistent
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
modelValue: boolean;
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
modelValue: globalThis.PropType<boolean>;
|
|
3
|
+
persistent: {
|
|
4
|
+
type: globalThis.PropType<boolean>;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
blur: {
|
|
8
|
+
type: globalThis.PropType<boolean | "sm" | "md" | "lg">;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
11
|
+
modelValue: globalThis.PropType<boolean>;
|
|
12
|
+
persistent: {
|
|
13
|
+
type: globalThis.PropType<boolean>;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
blur: {
|
|
17
|
+
type: globalThis.PropType<boolean | "sm" | "md" | "lg">;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
21
20
|
persistent: boolean;
|
|
22
21
|
}, {}>, {
|
|
23
22
|
default?(_: {}): any;
|
|
24
23
|
}>;
|
|
25
24
|
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
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
26
|
new (): {
|
|
45
27
|
$slots: S;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
12
12
|
color: string;
|
|
13
13
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
14
|
close: (...args: any[]) => void;
|
|
15
|
-
}, string, import("vue").
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
16
|
title?: string | undefined;
|
|
17
17
|
message?: string | undefined;
|
|
18
18
|
icon?: string | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -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
|
+
size: string | number;
|
|
23
|
+
rounded: string | number;
|
|
24
|
+
withBorder: boolean;
|
|
25
|
+
is: string | globalThis.Component;
|
|
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
|
+
};
|
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
5
5
|
password?: boolean | undefined;
|
|
6
6
|
}>, {
|
|
7
7
|
length: number;
|
|
8
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
9
|
modelValue?: string | undefined;
|
|
10
10
|
length?: number | undefined;
|
|
11
11
|
size?: "sm" | "md" | "lg" | undefined;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
14
14
|
color: string;
|
|
15
15
|
rounded: string;
|
|
16
16
|
loading: boolean;
|
|
17
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
17
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
18
|
value?: number | undefined;
|
|
19
19
|
max?: number | undefined;
|
|
20
20
|
min?: number | undefined;
|
|
@@ -34,10 +34,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
34
34
|
size: 'sm' | 'md' | 'lg';
|
|
35
35
|
color: string;
|
|
36
36
|
rounded: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
|
|
37
|
-
value: number;
|
|
38
37
|
loading: boolean;
|
|
39
|
-
max: number;
|
|
40
38
|
min: number;
|
|
39
|
+
max: number;
|
|
40
|
+
value: number;
|
|
41
41
|
}, {}>;
|
|
42
42
|
export default _default;
|
|
43
43
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { ThemeData } from '../utils';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
is?: string | undefined;
|
|
3
|
+
is?: string | globalThis.Component | undefined;
|
|
4
4
|
theme?: ThemeData | undefined;
|
|
5
5
|
}>, {
|
|
6
6
|
is: string;
|
|
7
7
|
theme(): ThemeData;
|
|
8
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
9
|
-
is?: string | undefined;
|
|
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
10
|
theme?: ThemeData | undefined;
|
|
11
11
|
}>, {
|
|
12
12
|
is: string;
|
|
13
13
|
theme(): ThemeData;
|
|
14
14
|
}>>>, {
|
|
15
|
-
is: string;
|
|
15
|
+
is: string | globalThis.Component;
|
|
16
16
|
theme: ThemeData;
|
|
17
17
|
}, {}>, {
|
|
18
18
|
default?(_: {}): any;
|
|
@@ -2,53 +2,50 @@ type Option = {
|
|
|
2
2
|
id: number | string | symbol;
|
|
3
3
|
label: string;
|
|
4
4
|
} | string | symbol | number;
|
|
5
|
-
declare const _default: import("vue").DefineComponent<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
+
placeholder: {
|
|
12
|
+
type: globalThis.PropType<string>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
options: {
|
|
16
|
+
type: globalThis.PropType<Option[]>;
|
|
17
|
+
default: () => never[];
|
|
18
|
+
};
|
|
19
|
+
noneText: {
|
|
20
|
+
type: globalThis.PropType<string>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
24
|
change: (...args: any[]) => void;
|
|
18
|
-
}, string, import("vue").
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
26
|
+
modelValue: globalThis.PropType<string | number | symbol | undefined>;
|
|
27
|
+
size: {
|
|
28
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
placeholder: {
|
|
32
|
+
type: globalThis.PropType<string>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
options: {
|
|
36
|
+
type: globalThis.PropType<Option[]>;
|
|
37
|
+
default: () => never[];
|
|
38
|
+
};
|
|
39
|
+
noneText: {
|
|
40
|
+
type: globalThis.PropType<string>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
}>> & {
|
|
29
44
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
31
45
|
}, {
|
|
32
46
|
size: 'sm' | 'md' | 'lg';
|
|
33
|
-
|
|
47
|
+
placeholder: string;
|
|
34
48
|
options: Option[];
|
|
35
49
|
noneText: string;
|
|
36
50
|
}, {}>;
|
|
37
51
|
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
|
-
} & {};
|
|
@@ -1,47 +1,82 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
-
modelValue
|
|
3
|
-
size
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: globalThis.PropType<any>;
|
|
3
|
+
size: {
|
|
4
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
animate: {
|
|
8
|
+
type: globalThis.PropType<boolean>;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
color: {
|
|
12
|
+
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
width: {
|
|
16
|
+
type: globalThis.PropType<number>;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
options: {
|
|
20
|
+
type: globalThis.PropType<any[]>;
|
|
21
|
+
};
|
|
22
|
+
min: {
|
|
23
|
+
type: globalThis.PropType<number>;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
max: {
|
|
27
|
+
type: globalThis.PropType<number>;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
step: {
|
|
31
|
+
type: globalThis.PropType<number>;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
tickNum: {
|
|
35
|
+
type: globalThis.PropType<number>;
|
|
36
|
+
};
|
|
37
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
38
|
+
modelValue: globalThis.PropType<any>;
|
|
39
|
+
size: {
|
|
40
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
animate: {
|
|
44
|
+
type: globalThis.PropType<boolean>;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
color: {
|
|
48
|
+
type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
width: {
|
|
52
|
+
type: globalThis.PropType<number>;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
options: {
|
|
56
|
+
type: globalThis.PropType<any[]>;
|
|
57
|
+
};
|
|
58
|
+
min: {
|
|
59
|
+
type: globalThis.PropType<number>;
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
max: {
|
|
63
|
+
type: globalThis.PropType<number>;
|
|
64
|
+
default: number;
|
|
65
|
+
};
|
|
66
|
+
step: {
|
|
67
|
+
type: globalThis.PropType<number>;
|
|
68
|
+
default: number;
|
|
69
|
+
};
|
|
70
|
+
tickNum: {
|
|
71
|
+
type: globalThis.PropType<number>;
|
|
72
|
+
};
|
|
73
|
+
}>>, {
|
|
26
74
|
size: 'sm' | 'md' | 'lg';
|
|
27
75
|
animate: boolean;
|
|
76
|
+
color: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
28
77
|
width: number;
|
|
78
|
+
min: number;
|
|
79
|
+
max: number;
|
|
80
|
+
step: number;
|
|
29
81
|
}, {}>;
|
|
30
82
|
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
|
-
} & {};
|