@roku-ui/vue 0.10.0 → 0.11.1
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 +1 -125
- package/dist/components/Avatar.vue.d.ts +0 -1
- package/dist/components/Btn.vue.d.ts +1 -1
- package/dist/components/ChatMessage.vue.d.ts +7 -3
- package/dist/components/Image.vue.d.ts +0 -1
- package/dist/components/Notification.vue.d.ts +10 -3
- package/dist/components/NotificationSystem.vue.d.ts +53 -1
- package/dist/components/Paper.vue.d.ts +11 -10
- package/dist/components/Popover.vue.d.ts +65 -0
- package/dist/components/Rating.vue.d.ts +50 -0
- package/dist/components/RokuProvider.vue.d.ts +0 -1
- package/dist/components/ScrollArea.vue.d.ts +1 -1
- package/dist/components/SelectArea.vue.d.ts +69 -0
- package/dist/components/Slider.vue.d.ts +2 -2
- package/dist/components/Tag.vue.d.ts +54 -0
- package/dist/components/TextField.vue.d.ts +1 -1
- package/dist/components/ThemeProvider.vue.d.ts +0 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/composables/index.d.ts +6 -6
- package/dist/index.d.ts +0 -1
- package/dist/index.js +3463 -3387
- package/dist/index.umd.cjs +1 -1
- package/dist/shared/index.d.ts +343 -0
- package/dist/style.css +1 -1
- package/dist/test/demo/PopoverDemo.vue.d.ts +2 -0
- package/dist/test/demo/RatingDemo.vue.d.ts +2 -0
- package/dist/test/demo/SelectAreaDemo.vue.d.ts +2 -0
- package/dist/test/demo/TagsDemo.vue.d.ts +2 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/utils/index.d.ts +9 -5
- package/dist/utils/notifications.d.ts +15 -2
- package/dist/utils/theme.d.ts +5 -2
- package/package.json +8 -8
|
@@ -22,131 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
22
22
|
}, {}>;
|
|
23
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
24
24
|
export default _default;
|
|
25
|
-
|
|
26
|
-
declare module 'vue' {
|
|
27
|
-
interface GlobalComponents {
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
declare global {
|
|
31
|
-
type __VLS_IntrinsicElements = import('vue/jsx-runtime').JSX.IntrinsicElements;
|
|
32
|
-
type __VLS_Element = import('vue/jsx-runtime').JSX.Element;
|
|
33
|
-
type __VLS_GlobalComponents = import('vue').GlobalComponents & Pick<typeof import('vue'), 'Transition' | 'TransitionGroup' | 'KeepAlive' | 'Suspense' | 'Teleport'>;
|
|
34
|
-
type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
|
|
35
|
-
type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A;
|
|
36
|
-
const __VLS_intrinsicElements: __VLS_IntrinsicElements;
|
|
37
|
-
function __VLS_getVForSourceType(source: number): [number, number, number][];
|
|
38
|
-
function __VLS_getVForSourceType(source: string): [string, number, number][];
|
|
39
|
-
function __VLS_getVForSourceType<T extends any[]>(source: T): [
|
|
40
|
-
item: T[number],
|
|
41
|
-
key: number,
|
|
42
|
-
index: number
|
|
43
|
-
][];
|
|
44
|
-
function __VLS_getVForSourceType<T extends {
|
|
45
|
-
[Symbol.iterator](): Iterator<any>;
|
|
46
|
-
}>(source: T): [
|
|
47
|
-
item: T extends {
|
|
48
|
-
[Symbol.iterator](): Iterator<infer T1>;
|
|
49
|
-
} ? T1 : never,
|
|
50
|
-
key: number,
|
|
51
|
-
index: undefined
|
|
52
|
-
][];
|
|
53
|
-
function __VLS_getVForSourceType<T extends number | {
|
|
54
|
-
[Symbol.iterator](): Iterator<any>;
|
|
55
|
-
}>(source: T): [
|
|
56
|
-
item: number | (Exclude<T, number> extends {
|
|
57
|
-
[Symbol.iterator](): Iterator<infer T1>;
|
|
58
|
-
} ? T1 : never),
|
|
59
|
-
key: number,
|
|
60
|
-
index: undefined
|
|
61
|
-
][];
|
|
62
|
-
function __VLS_getVForSourceType<T>(source: T): [
|
|
63
|
-
item: T[keyof T],
|
|
64
|
-
key: keyof T,
|
|
65
|
-
index: number
|
|
66
|
-
][];
|
|
67
|
-
function __VLS_getSlotParams<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>;
|
|
68
|
-
function __VLS_getSlotParam<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>[0];
|
|
69
|
-
function __VLS_directiveFunction<T>(dir: T): T extends import('vue').ObjectDirective<infer E, infer V> | import('vue').FunctionDirective<infer E, infer V> ? (value: V) => void : T;
|
|
70
|
-
function __VLS_withScope<T, K>(ctx: T, scope: K): ctx is T & K;
|
|
71
|
-
function __VLS_makeOptional<T>(t: T): {
|
|
72
|
-
[K in keyof T]?: T[K];
|
|
73
|
-
};
|
|
74
|
-
function __VLS_nonNullable<T>(t: T): T extends null | undefined ? never : T;
|
|
75
|
-
type __VLS_SelfComponent<N, C> = string extends N ? {} : N extends string ? {
|
|
76
|
-
[P in N]: C;
|
|
77
|
-
} : {};
|
|
78
|
-
type __VLS_WithComponent<N0 extends string, LocalComponents, N1 extends string, N2 extends string, N3 extends string> = N1 extends keyof LocalComponents ? N1 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
79
|
-
[K in N0]: LocalComponents[N1];
|
|
80
|
-
} : N2 extends keyof LocalComponents ? N2 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
81
|
-
[K in N0]: LocalComponents[N2];
|
|
82
|
-
} : N3 extends keyof LocalComponents ? N3 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
83
|
-
[K in N0]: LocalComponents[N3];
|
|
84
|
-
} : N1 extends keyof __VLS_GlobalComponents ? N1 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
85
|
-
[K in N0]: __VLS_GlobalComponents[N1];
|
|
86
|
-
} : N2 extends keyof __VLS_GlobalComponents ? N2 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
87
|
-
[K in N0]: __VLS_GlobalComponents[N2];
|
|
88
|
-
} : N3 extends keyof __VLS_GlobalComponents ? N3 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
89
|
-
[K in N0]: __VLS_GlobalComponents[N3];
|
|
90
|
-
} : {
|
|
91
|
-
[K in N0]: unknown;
|
|
92
|
-
};
|
|
93
|
-
function __VLS_asFunctionalComponent<T, K = T extends new (...args: any) => any ? InstanceType<T> : unknown>(t: T, instance?: K): T extends new (...args: any) => any ? (props: (K extends {
|
|
94
|
-
$props: infer Props;
|
|
95
|
-
} ? Props : any) & Record<string, unknown>, ctx?: any) => __VLS_Element & {
|
|
96
|
-
__ctx?: {
|
|
97
|
-
attrs?: any;
|
|
98
|
-
slots?: K extends {
|
|
99
|
-
$slots: infer Slots;
|
|
100
|
-
} ? Slots : any;
|
|
101
|
-
emit?: K extends {
|
|
102
|
-
$emit: infer Emit;
|
|
103
|
-
} ? Emit : any;
|
|
104
|
-
} & {
|
|
105
|
-
props?: (K extends {
|
|
106
|
-
$props: infer Props;
|
|
107
|
-
} ? Props : any) & Record<string, unknown>;
|
|
108
|
-
expose?(exposed: K): void;
|
|
109
|
-
};
|
|
110
|
-
} : T extends () => any ? (props: {}, ctx?: any) => ReturnType<T> : T extends (...args: any) => any ? T : (_: {} & Record<string, unknown>, ctx?: any) => {
|
|
111
|
-
__ctx?: {
|
|
112
|
-
attrs?: any;
|
|
113
|
-
expose?: any;
|
|
114
|
-
slots?: any;
|
|
115
|
-
emit?: any;
|
|
116
|
-
props?: {} & Record<string, unknown>;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
function __VLS_elementAsFunction<T>(tag: T, endTag?: T): (_: T & Record<string, unknown>) => void;
|
|
120
|
-
function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): Parameters<T>['length'] extends 2 ? [any] : [];
|
|
121
|
-
function __VLS_pickFunctionalComponentCtx<T, K>(comp: T, compInstance: K): __VLS_PickNotAny<'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
|
|
122
|
-
__ctx?: infer Ctx;
|
|
123
|
-
} ? Ctx : never : any, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any>;
|
|
124
|
-
type __VLS_FunctionalComponentProps<T, K> = '__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
|
|
125
|
-
__ctx?: {
|
|
126
|
-
props?: infer P;
|
|
127
|
-
};
|
|
128
|
-
} ? NonNullable<P> : never : T extends (props: infer P, ...args: any) => any ? P : {};
|
|
129
|
-
type __VLS_IsFunction<T, K> = K extends keyof T ? __VLS_IsAny<T[K]> extends false ? unknown extends T[K] ? false : true : false : false;
|
|
130
|
-
function __VLS_normalizeSlot<S>(s: S): S extends () => infer R ? (props: {}) => R : S;
|
|
131
|
-
/**
|
|
132
|
-
* emit
|
|
133
|
-
*/
|
|
134
|
-
type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never;
|
|
135
|
-
type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R ? U extends T ? never : __VLS_OverloadUnionInner<T, Pick<T, keyof T> & U & ((...args: A) => R)> | ((...args: A) => R) : never;
|
|
136
|
-
type __VLS_OverloadUnion<T> = Exclude<__VLS_OverloadUnionInner<(() => never) & T>, T extends () => never ? never : () => never>;
|
|
137
|
-
type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F ? F extends (event: infer E, ...args: infer A) => any ? {
|
|
138
|
-
[K in E & string]: (...args: A) => void;
|
|
139
|
-
} : never : never;
|
|
140
|
-
type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal<__VLS_UnionToIntersection<__VLS_ConstructorOverloads<T> & {
|
|
141
|
-
[K in keyof T]: T[K] extends any[] ? {
|
|
142
|
-
(...args: T[K]): void;
|
|
143
|
-
} : never;
|
|
144
|
-
}>>;
|
|
145
|
-
type __VLS_PrettifyGlobal<T> = {
|
|
146
|
-
[K in keyof T]: T[K];
|
|
147
|
-
} & {};
|
|
148
|
-
}
|
|
149
|
-
export declare const __VLS_globalTypesEnd: {};
|
|
25
|
+
|
|
150
26
|
type __VLS_WithDefaults<P, D> = {
|
|
151
27
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
152
28
|
default: D[K];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Variant } from '../types';
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
avatar?(_: {}): any;
|
|
3
4
|
default?(_: {}): any;
|
|
@@ -6,25 +7,28 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
6
7
|
avatar?: string;
|
|
7
8
|
position?: "left" | "right";
|
|
8
9
|
color?: string;
|
|
9
|
-
variant?:
|
|
10
|
+
variant?: Variant;
|
|
10
11
|
withBorder?: boolean;
|
|
11
12
|
}>, {
|
|
12
13
|
position: string;
|
|
13
14
|
variant: string;
|
|
14
15
|
withBorder: boolean;
|
|
16
|
+
color: string;
|
|
15
17
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
18
|
avatar?: string;
|
|
17
19
|
position?: "left" | "right";
|
|
18
20
|
color?: string;
|
|
19
|
-
variant?:
|
|
21
|
+
variant?: Variant;
|
|
20
22
|
withBorder?: boolean;
|
|
21
23
|
}>, {
|
|
22
24
|
position: string;
|
|
23
25
|
variant: string;
|
|
24
26
|
withBorder: boolean;
|
|
27
|
+
color: string;
|
|
25
28
|
}>>>, {
|
|
26
|
-
|
|
29
|
+
color: string;
|
|
27
30
|
position: "left" | "right";
|
|
31
|
+
variant: Variant;
|
|
28
32
|
withBorder: boolean;
|
|
29
33
|
}, {}>;
|
|
30
34
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { Size } from '../types';
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
message?(_: {}): any;
|
|
4
|
+
"close-icon"?(_: {}): any;
|
|
3
5
|
};
|
|
4
6
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
7
|
title?: string;
|
|
@@ -10,13 +12,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
10
12
|
closeable?: boolean;
|
|
11
13
|
rounded?: "sm" | "md" | "lg" | "none" | string | number;
|
|
12
14
|
block?: boolean;
|
|
13
|
-
color?:
|
|
15
|
+
color?: string;
|
|
16
|
+
size?: Size;
|
|
14
17
|
}>, {
|
|
15
18
|
type: string;
|
|
16
19
|
border: boolean;
|
|
17
20
|
color: string;
|
|
18
21
|
rounded: string;
|
|
19
22
|
block: boolean;
|
|
23
|
+
size: string;
|
|
20
24
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
25
|
close: (...args: any[]) => void;
|
|
22
26
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
@@ -28,17 +32,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
28
32
|
closeable?: boolean;
|
|
29
33
|
rounded?: "sm" | "md" | "lg" | "none" | string | number;
|
|
30
34
|
block?: boolean;
|
|
31
|
-
color?:
|
|
35
|
+
color?: string;
|
|
36
|
+
size?: Size;
|
|
32
37
|
}>, {
|
|
33
38
|
type: string;
|
|
34
39
|
border: boolean;
|
|
35
40
|
color: string;
|
|
36
41
|
rounded: string;
|
|
37
42
|
block: boolean;
|
|
43
|
+
size: string;
|
|
38
44
|
}>>> & {
|
|
39
45
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
40
46
|
}, {
|
|
41
|
-
|
|
47
|
+
size: Size;
|
|
48
|
+
color: string;
|
|
42
49
|
rounded: "sm" | "md" | "lg" | "none" | string | number;
|
|
43
50
|
block: boolean;
|
|
44
51
|
}, {}>;
|
|
@@ -1,2 +1,54 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
position?: "top-left" | "top-right" | "top" | "bottom-left" | "bottom-right" | "bottom";
|
|
3
|
+
gap?: number;
|
|
4
|
+
pt?: number;
|
|
5
|
+
pl?: number;
|
|
6
|
+
pr?: number;
|
|
7
|
+
pb?: number;
|
|
8
|
+
}>, {
|
|
9
|
+
position: string;
|
|
10
|
+
gap: number;
|
|
11
|
+
pt: number;
|
|
12
|
+
pl: number;
|
|
13
|
+
pr: number;
|
|
14
|
+
pb: number;
|
|
15
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
|
+
position?: "top-left" | "top-right" | "top" | "bottom-left" | "bottom-right" | "bottom";
|
|
17
|
+
gap?: number;
|
|
18
|
+
pt?: number;
|
|
19
|
+
pl?: number;
|
|
20
|
+
pr?: number;
|
|
21
|
+
pb?: number;
|
|
22
|
+
}>, {
|
|
23
|
+
position: string;
|
|
24
|
+
gap: number;
|
|
25
|
+
pt: number;
|
|
26
|
+
pl: number;
|
|
27
|
+
pr: number;
|
|
28
|
+
pb: number;
|
|
29
|
+
}>>>, {
|
|
30
|
+
position: "top-left" | "top-right" | "top" | "bottom-left" | "bottom-right" | "bottom";
|
|
31
|
+
gap: number;
|
|
32
|
+
pt: number;
|
|
33
|
+
pl: number;
|
|
34
|
+
pr: number;
|
|
35
|
+
pb: number;
|
|
36
|
+
}, {}>;
|
|
2
37
|
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,46 +1,47 @@
|
|
|
1
|
+
import { Rounded } from '../types';
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
default?(_: {}): any;
|
|
3
4
|
};
|
|
4
5
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
|
-
|
|
6
|
-
rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
7
|
-
withBorder?: boolean;
|
|
6
|
+
rounded?: Rounded;
|
|
8
7
|
loading?: boolean;
|
|
9
8
|
is?: string | Component;
|
|
10
9
|
color?: string;
|
|
11
10
|
traceAnimate?: boolean;
|
|
11
|
+
withBorder?: boolean;
|
|
12
|
+
noPadding?: boolean;
|
|
12
13
|
}>, {
|
|
13
|
-
size: string;
|
|
14
14
|
rounded: string;
|
|
15
15
|
withBorder: boolean;
|
|
16
16
|
is: string;
|
|
17
17
|
loading: boolean;
|
|
18
18
|
color: string;
|
|
19
19
|
traceAnimate: boolean;
|
|
20
|
+
noPadding: boolean;
|
|
20
21
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
21
|
-
|
|
22
|
-
rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
23
|
-
withBorder?: boolean;
|
|
22
|
+
rounded?: Rounded;
|
|
24
23
|
loading?: boolean;
|
|
25
24
|
is?: string | Component;
|
|
26
25
|
color?: string;
|
|
27
26
|
traceAnimate?: boolean;
|
|
27
|
+
withBorder?: boolean;
|
|
28
|
+
noPadding?: boolean;
|
|
28
29
|
}>, {
|
|
29
|
-
size: string;
|
|
30
30
|
rounded: string;
|
|
31
31
|
withBorder: boolean;
|
|
32
32
|
is: string;
|
|
33
33
|
loading: boolean;
|
|
34
34
|
color: string;
|
|
35
35
|
traceAnimate: boolean;
|
|
36
|
+
noPadding: boolean;
|
|
36
37
|
}>>>, {
|
|
37
38
|
is: string | Component;
|
|
38
|
-
size: "sm" | "md" | "lg" | string | number;
|
|
39
39
|
color: string;
|
|
40
|
-
rounded:
|
|
40
|
+
rounded: Rounded;
|
|
41
41
|
withBorder: boolean;
|
|
42
42
|
loading: boolean;
|
|
43
43
|
traceAnimate: boolean;
|
|
44
|
+
noPadding: boolean;
|
|
44
45
|
}, {}>;
|
|
45
46
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
46
47
|
export default _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
type Position = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end' | 'top' | 'bottom' | 'left' | 'right';
|
|
2
|
+
declare let __VLS_typeProps: {
|
|
3
|
+
trigger?: 'hover' | 'click';
|
|
4
|
+
position?: Position;
|
|
5
|
+
zIndex?: number;
|
|
6
|
+
offset?: number;
|
|
7
|
+
overlay?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = {
|
|
10
|
+
modelValue?: any;
|
|
11
|
+
} & typeof __VLS_typeProps;
|
|
12
|
+
declare function __VLS_template(): Readonly<{
|
|
13
|
+
default: (props: any) => any;
|
|
14
|
+
content: (props: any) => any;
|
|
15
|
+
}> & {
|
|
16
|
+
default: (props: any) => any;
|
|
17
|
+
content: (props: any) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
20
|
+
trigger: string;
|
|
21
|
+
position: string;
|
|
22
|
+
zIndex: number;
|
|
23
|
+
offset: number;
|
|
24
|
+
overlay: boolean;
|
|
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
|
+
}, {
|
|
36
|
+
position: Position;
|
|
37
|
+
offset: number;
|
|
38
|
+
trigger: "hover" | "click";
|
|
39
|
+
zIndex: number;
|
|
40
|
+
overlay: boolean;
|
|
41
|
+
}, {}>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
43
|
+
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
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
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
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Size } from '../types';
|
|
2
|
+
declare let __VLS_typeProps: {
|
|
3
|
+
count?: number;
|
|
4
|
+
icons?: IconType;
|
|
5
|
+
color?: string[] | string;
|
|
6
|
+
highlightSelectedOnly?: boolean;
|
|
7
|
+
unselectable?: boolean;
|
|
8
|
+
size?: Size;
|
|
9
|
+
};
|
|
10
|
+
type IconType = string | {
|
|
11
|
+
active: string;
|
|
12
|
+
normal: string;
|
|
13
|
+
} | (string | {
|
|
14
|
+
active: string;
|
|
15
|
+
normal: string;
|
|
16
|
+
})[] | undefined;
|
|
17
|
+
type __VLS_PublicProps = {
|
|
18
|
+
modelValue?: any;
|
|
19
|
+
} & typeof __VLS_typeProps;
|
|
20
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
21
|
+
color: string;
|
|
22
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (modelValue: any) => void;
|
|
24
|
+
select: (args_0: number) => void;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
26
|
+
color: string;
|
|
27
|
+
}>>> & {
|
|
28
|
+
onSelect?: ((args_0: number) => any) | undefined;
|
|
29
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
color: string[] | string;
|
|
32
|
+
}, {}>;
|
|
33
|
+
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
|
+
};
|
|
@@ -9,7 +9,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
9
9
|
barWidth: number;
|
|
10
10
|
threshold: number;
|
|
11
11
|
}>, {
|
|
12
|
-
$el: globalThis.Ref<HTMLElement | null | undefined
|
|
12
|
+
$el: globalThis.Ref<HTMLElement | null | undefined>;
|
|
13
13
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
14
14
|
height?: number;
|
|
15
15
|
barWidth?: number;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export interface Area {
|
|
2
|
+
left: number;
|
|
3
|
+
top: number;
|
|
4
|
+
right: number;
|
|
5
|
+
bottom: number;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
8
|
+
target?: HTMLElement;
|
|
9
|
+
color?: string;
|
|
10
|
+
}>, {
|
|
11
|
+
color: string;
|
|
12
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
selectStart: (args_0: {
|
|
14
|
+
target: EventTarget | null;
|
|
15
|
+
shift: boolean;
|
|
16
|
+
ctrl: boolean;
|
|
17
|
+
}) => void;
|
|
18
|
+
selectChange: (args_0: Area, args_1: {
|
|
19
|
+
target: EventTarget | null;
|
|
20
|
+
shift: boolean;
|
|
21
|
+
ctrl: boolean;
|
|
22
|
+
}) => void;
|
|
23
|
+
selectEnd: (args_0: Area, args_1: {
|
|
24
|
+
target: EventTarget | null;
|
|
25
|
+
shift: boolean;
|
|
26
|
+
ctrl: boolean;
|
|
27
|
+
}) => void;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
29
|
+
target?: HTMLElement;
|
|
30
|
+
color?: string;
|
|
31
|
+
}>, {
|
|
32
|
+
color: string;
|
|
33
|
+
}>>> & {
|
|
34
|
+
onSelectStart?: ((args_0: {
|
|
35
|
+
target: EventTarget | null;
|
|
36
|
+
shift: boolean;
|
|
37
|
+
ctrl: boolean;
|
|
38
|
+
}) => any) | undefined;
|
|
39
|
+
onSelectChange?: ((args_0: Area, args_1: {
|
|
40
|
+
target: EventTarget | null;
|
|
41
|
+
shift: boolean;
|
|
42
|
+
ctrl: boolean;
|
|
43
|
+
}) => any) | undefined;
|
|
44
|
+
onSelectEnd?: ((args_0: Area, args_1: {
|
|
45
|
+
target: EventTarget | null;
|
|
46
|
+
shift: boolean;
|
|
47
|
+
ctrl: boolean;
|
|
48
|
+
}) => any) | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
color: string;
|
|
51
|
+
}, {}>;
|
|
52
|
+
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
|
+
};
|
|
@@ -7,7 +7,7 @@ declare let __VLS_typeProps: {
|
|
|
7
7
|
max?: number;
|
|
8
8
|
step?: number;
|
|
9
9
|
tickNum?: number;
|
|
10
|
-
color?:
|
|
10
|
+
color?: string;
|
|
11
11
|
minWidth?: number;
|
|
12
12
|
};
|
|
13
13
|
type __VLS_PublicProps = {
|
|
@@ -36,7 +36,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
36
36
|
}, {
|
|
37
37
|
animate: boolean;
|
|
38
38
|
size: "sm" | "md" | "lg";
|
|
39
|
-
color:
|
|
39
|
+
color: string;
|
|
40
40
|
max: number;
|
|
41
41
|
min: number;
|
|
42
42
|
step: number;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Variant } from '../types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
"left-icon"?(_: {}): any;
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
"right-icon"?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
8
|
+
color?: string;
|
|
9
|
+
variant?: Variant;
|
|
10
|
+
rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
11
|
+
size?: "sm" | "md" | "lg";
|
|
12
|
+
leftIcon?: string;
|
|
13
|
+
rightIcon?: string;
|
|
14
|
+
}>, {
|
|
15
|
+
variant: string;
|
|
16
|
+
rounded: string;
|
|
17
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
18
|
+
color?: string;
|
|
19
|
+
variant?: Variant;
|
|
20
|
+
rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
21
|
+
size?: "sm" | "md" | "lg";
|
|
22
|
+
leftIcon?: string;
|
|
23
|
+
rightIcon?: string;
|
|
24
|
+
}>, {
|
|
25
|
+
variant: string;
|
|
26
|
+
rounded: string;
|
|
27
|
+
}>>>, {
|
|
28
|
+
variant: Variant;
|
|
29
|
+
rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
|
|
30
|
+
}, {}>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
32
|
+
export default _default;
|
|
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
|
+
} & {};
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
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
|
+
};
|
|
@@ -20,7 +20,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
20
20
|
rounded: string;
|
|
21
21
|
size: string;
|
|
22
22
|
}>, {
|
|
23
|
-
el: globalThis.Ref<HTMLInputElement | null
|
|
23
|
+
el: globalThis.Ref<HTMLInputElement | null>;
|
|
24
24
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
25
|
"update:modelValue": (modelValue: string | number) => void;
|
|
26
26
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
@@ -19,15 +19,19 @@ export { default as NotificationSystem } from './NotificationSystem.vue';
|
|
|
19
19
|
export { default as Overlay } from './Overlay.vue';
|
|
20
20
|
export { default as Paper } from './Paper.vue';
|
|
21
21
|
export { default as PinInput } from './PinInput.vue';
|
|
22
|
+
export { default as Popover } from './Popover.vue';
|
|
22
23
|
export { default as Progress } from './Progress.vue';
|
|
24
|
+
export { default as Rating } from './Rating.vue';
|
|
23
25
|
export { default as RokuProvider } from './RokuProvider.vue';
|
|
24
26
|
export { default as SchemeSwitch } from './SchemeSwitch.vue';
|
|
25
27
|
export { default as ScrollArea } from './ScrollArea.vue';
|
|
26
28
|
export { default as Select } from './Select.vue';
|
|
29
|
+
export { default as SelectArea } from './SelectArea.vue';
|
|
27
30
|
export { default as Slider } from './Slider.vue';
|
|
28
31
|
export { default as Switch } from './Switch.vue';
|
|
29
32
|
export { default as TabItem } from './TabItem.vue';
|
|
30
33
|
export { default as Tabs } from './Tabs.vue';
|
|
34
|
+
export { default as Tag } from './Tag.vue';
|
|
31
35
|
export { default as TextField } from './TextField.vue';
|
|
32
36
|
export { default as ThemeProvider } from './ThemeProvider.vue';
|
|
33
37
|
export { default as Tooltip } from './Tooltip.vue';
|