@roku-ui/vue 0.9.1 → 0.11.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.
Files changed (53) hide show
  1. package/dist/components/AspectRatio.vue.d.ts +12 -11
  2. package/dist/components/Avatar.vue.d.ts +11 -12
  3. package/dist/components/Btn.vue.d.ts +12 -12
  4. package/dist/components/BtnGroup.vue.d.ts +39 -30
  5. package/dist/components/ChatMessage.vue.d.ts +18 -14
  6. package/dist/components/ChatSystem.vue.d.ts +11 -11
  7. package/dist/components/ColorInput.vue.d.ts +20 -11
  8. package/dist/components/ColorSwatch.vue.d.ts +11 -11
  9. package/dist/components/Drawer.vue.d.ts +38 -29
  10. package/dist/components/Dropzone.vue.d.ts +11 -11
  11. package/dist/components/FullscreenOverlay.vue.d.ts +36 -27
  12. package/dist/components/Image.vue.d.ts +11 -12
  13. package/dist/components/Indicator.vue.d.ts +12 -11
  14. package/dist/components/Modal.vue.d.ts +35 -21
  15. package/dist/components/Notification.vue.d.ts +21 -14
  16. package/dist/components/NotificationSystem.vue.d.ts +53 -1
  17. package/dist/components/Overlay.vue.d.ts +11 -11
  18. package/dist/components/Paper.vue.d.ts +22 -21
  19. package/dist/components/PinInput.vue.d.ts +11 -11
  20. package/dist/components/Popover.vue.d.ts +65 -0
  21. package/dist/components/Progress.vue.d.ts +11 -11
  22. package/dist/components/Rating.vue.d.ts +50 -0
  23. package/dist/components/RokuProvider.vue.d.ts +11 -12
  24. package/dist/components/ScrollArea.vue.d.ts +47 -0
  25. package/dist/components/Select.vue.d.ts +9 -7
  26. package/dist/components/SelectArea.vue.d.ts +69 -0
  27. package/dist/components/Slider.vue.d.ts +54 -80
  28. package/dist/components/Switch.vue.d.ts +48 -79
  29. package/dist/components/TabItem.vue.d.ts +11 -11
  30. package/dist/components/Tabs.vue.d.ts +33 -19
  31. package/dist/components/Tag.vue.d.ts +54 -0
  32. package/dist/components/TextField.vue.d.ts +45 -66
  33. package/dist/components/ThemeProvider.vue.d.ts +8 -9
  34. package/dist/components/Tooltip.vue.d.ts +11 -11
  35. package/dist/components/index.d.ts +5 -0
  36. package/dist/composables/index.d.ts +1 -1
  37. package/dist/index.d.ts +1 -1
  38. package/dist/index.js +3950 -2963
  39. package/dist/index.umd.cjs +1 -1
  40. package/dist/shared/index.d.ts +343 -0
  41. package/dist/style.css +1 -1
  42. package/dist/test/App.vue.d.ts +2 -0
  43. package/dist/test/demo/PopoverDemo.vue.d.ts +2 -0
  44. package/dist/test/demo/RatingDemo.vue.d.ts +2 -0
  45. package/dist/test/demo/SelectAreaDemo.vue.d.ts +2 -0
  46. package/dist/test/demo/TagsDemo.vue.d.ts +2 -0
  47. package/dist/test/demo/WaterfallDemo.vue.d.ts +2 -0
  48. package/dist/types/index.d.ts +4 -0
  49. package/dist/utils/index.d.ts +9 -5
  50. package/dist/utils/notifications.d.ts +15 -2
  51. package/dist/utils/theme.d.ts +5 -2
  52. package/package.json +20 -19
  53. package/dist/components/Chip.vue.d.ts +0 -63
@@ -1,8 +1,9 @@
1
1
  declare function __VLS_template(): {
2
+ label?(_: {}): any;
2
3
  label?(_: {}): any;
3
4
  default?(_: {}): any;
4
5
  };
5
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
6
7
  color?: "primary" | "secondary" | "tertiary" | "error";
7
8
  size?: "sm" | "md" | "lg" | string | number;
8
9
  position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top" | "bottom" | "left" | "right";
@@ -11,7 +12,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
11
12
  size: string;
12
13
  position: string;
13
14
  color: string;
14
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
15
16
  color?: "primary" | "secondary" | "tertiary" | "error";
16
17
  size?: "sm" | "md" | "lg" | string | number;
17
18
  position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top" | "bottom" | "left" | "right";
@@ -27,15 +28,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
27
28
  }, {}>;
28
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
29
30
  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
31
  type __VLS_WithDefaults<P, D> = {
40
32
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
41
33
  default: D[K];
@@ -49,3 +41,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
49
41
  $slots: S;
50
42
  };
51
43
  };
44
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
+ type __VLS_TypePropsToOption<T> = {
46
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
47
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
+ } : {
49
+ type: import('vue').PropType<T[K]>;
50
+ required: true;
51
+ };
52
+ };
@@ -1,34 +1,48 @@
1
+ declare let __VLS_typeProps: {
2
+ persistent?: boolean;
3
+ blur?: 'sm' | 'md' | 'lg' | boolean;
4
+ };
5
+ type __VLS_PublicProps = {
6
+ modelValue?: boolean;
7
+ } & typeof __VLS_typeProps;
1
8
  declare function __VLS_template(): {
2
9
  default?(_: {}): any;
3
10
  };
4
- declare const __VLS_component: import('vue').DefineComponent<{
5
- modelValue: import('vue').PropType<boolean>;
6
- persistent: {
7
- type: globalThis.PropType<boolean>;
8
- default: boolean;
9
- };
10
- blur: {
11
- type: globalThis.PropType<boolean | "sm" | "md" | "lg">;
12
- default: boolean;
13
- };
14
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
15
- modelValue: import('vue').PropType<boolean>;
16
- persistent: {
17
- type: globalThis.PropType<boolean>;
18
- default: boolean;
19
- };
20
- blur: {
21
- type: globalThis.PropType<boolean | "sm" | "md" | "lg">;
22
- default: boolean;
23
- };
24
- }>>, {
11
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
12
+ persistent: boolean;
13
+ blur: boolean;
14
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ "update:modelValue": (modelValue: boolean) => void;
16
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
17
+ persistent: boolean;
18
+ blur: boolean;
19
+ }>>> & {
20
+ "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
21
+ }, {
25
22
  persistent: boolean;
26
23
  blur: "sm" | "md" | "lg" | boolean;
27
24
  }, {}>;
28
25
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
29
26
  export default _default;
27
+ type __VLS_WithDefaults<P, D> = {
28
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
+ default: D[K];
30
+ }> : P[K];
31
+ };
32
+ type __VLS_Prettify<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
30
35
  type __VLS_WithTemplateSlots<T, S> = T & {
31
36
  new (): {
32
37
  $slots: S;
33
38
  };
34
39
  };
40
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
+ type __VLS_TypePropsToOption<T> = {
42
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
43
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
+ } : {
45
+ type: import('vue').PropType<T[K]>;
46
+ required: true;
47
+ };
48
+ };
@@ -1,7 +1,9 @@
1
+ import { Size } from '../types';
1
2
  declare function __VLS_template(): {
2
3
  message?(_: {}): any;
4
+ "close-icon"?(_: {}): any;
3
5
  };
4
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
7
  title?: string;
6
8
  message?: string;
7
9
  icon?: string;
@@ -10,16 +12,18 @@ 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?: "primary" | "secondary" | "tertiary" | "error";
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
- }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
26
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
23
27
  title?: string;
24
28
  message?: string;
25
29
  icon?: string;
@@ -28,31 +32,25 @@ 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?: "primary" | "secondary" | "tertiary" | "error";
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
- color: "primary" | "secondary" | "tertiary" | "error";
47
+ size: Size;
48
+ color: string;
42
49
  rounded: "sm" | "md" | "lg" | "none" | string | number;
43
50
  block: boolean;
44
51
  }, {}>;
45
52
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
46
53
  export default _default;
47
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
- type __VLS_TypePropsToRuntimeProps<T> = {
49
- [K in keyof T]-?: {} extends Pick<T, K> ? {
50
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
- } : {
52
- type: import('vue').PropType<T[K]>;
53
- required: true;
54
- };
55
- };
56
54
  type __VLS_WithDefaults<P, D> = {
57
55
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
58
56
  default: D[K];
@@ -66,3 +64,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
66
64
  $slots: S;
67
65
  };
68
66
  };
67
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
68
+ type __VLS_TypePropsToOption<T> = {
69
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
70
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
71
+ } : {
72
+ type: import('vue').PropType<T[K]>;
73
+ required: true;
74
+ };
75
+ };
@@ -1,2 +1,54 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
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
+ };
@@ -2,7 +2,7 @@ declare function __VLS_template(): {
2
2
  default?(_: {}): any;
3
3
  content?(_: {}): any;
4
4
  };
5
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
6
6
  blur?: boolean | "sm" | "md" | "lg";
7
7
  rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
8
8
  opacity?: number;
@@ -12,7 +12,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
12
12
  rounded: string;
13
13
  opacity: number;
14
14
  color: string;
15
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
16
16
  blur?: boolean | "sm" | "md" | "lg";
17
17
  rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
18
18
  opacity?: number;
@@ -30,15 +30,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
30
30
  }, {}>;
31
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
32
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
33
  type __VLS_WithDefaults<P, D> = {
43
34
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
35
  default: D[K];
@@ -52,3 +43,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
52
43
  $slots: S;
53
44
  };
54
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,58 +1,50 @@
1
+ import { Rounded } from '../types';
1
2
  declare function __VLS_template(): {
2
3
  default?(_: {}): any;
3
4
  };
4
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
- size?: "sm" | "md" | "lg" | string | number;
6
- rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
7
- withBorder?: boolean;
5
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
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
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
21
- size?: "sm" | "md" | "lg" | string | number;
22
- rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
23
- withBorder?: boolean;
20
+ noPadding: boolean;
21
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
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: "none" | "sm" | "md" | "lg" | "full" | string | number;
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;
47
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
- type __VLS_TypePropsToRuntimeProps<T> = {
49
- [K in keyof T]-?: {} extends Pick<T, K> ? {
50
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
- } : {
52
- type: import('vue').PropType<T[K]>;
53
- required: true;
54
- };
55
- };
56
48
  type __VLS_WithDefaults<P, D> = {
57
49
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
58
50
  default: D[K];
@@ -66,3 +58,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
66
58
  $slots: S;
67
59
  };
68
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
+ };
@@ -1,11 +1,11 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
2
  modelValue?: string;
3
3
  length?: number;
4
4
  size?: "sm" | "md" | "lg";
5
5
  password?: boolean;
6
6
  }>, {
7
7
  length: number;
8
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
9
9
  modelValue?: string;
10
10
  length?: number;
11
11
  size?: "sm" | "md" | "lg";
@@ -16,15 +16,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
16
16
  length: number;
17
17
  }, {}>;
18
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
19
  type __VLS_WithDefaults<P, D> = {
29
20
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
21
  default: D[K];
@@ -33,3 +24,12 @@ type __VLS_WithDefaults<P, D> = {
33
24
  type __VLS_Prettify<T> = {
34
25
  [K in keyof T]: T[K];
35
26
  } & {};
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToOption<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
@@ -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
+ };
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
2
  value?: number | string;
3
3
  max?: number | string;
4
4
  min?: number | string;
@@ -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').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
18
18
  value?: number | string;
19
19
  max?: number | string;
20
20
  min?: number | string;
@@ -40,15 +40,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
40
40
  min: number | string;
41
41
  }, {}>;
42
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
43
  type __VLS_WithDefaults<P, D> = {
53
44
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
45
  default: D[K];
@@ -57,3 +48,12 @@ type __VLS_WithDefaults<P, D> = {
57
48
  type __VLS_Prettify<T> = {
58
49
  [K in keyof T]: T[K];
59
50
  } & {};
51
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
+ type __VLS_TypePropsToOption<T> = {
53
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
54
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
+ } : {
56
+ type: import('vue').PropType<T[K]>;
57
+ required: true;
58
+ };
59
+ };
@@ -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
+ };
@@ -1,9 +1,8 @@
1
1
  import { ThemeData } from '../utils';
2
-
3
2
  declare function __VLS_template(): {
4
3
  default?(_: {}): any;
5
4
  };
6
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
7
6
  is?: string | Component;
8
7
  theme?: string;
9
8
  themes?: Record<string, ThemeData>;
@@ -22,7 +21,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
22
21
  };
23
22
  };
24
23
  };
25
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
24
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
26
25
  is?: string | Component;
27
26
  theme?: string;
28
27
  themes?: Record<string, ThemeData>;
@@ -48,15 +47,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
48
47
  }, {}>;
49
48
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
50
49
  export default _default;
51
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
- type __VLS_TypePropsToRuntimeProps<T> = {
53
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
- } : {
56
- type: import('vue').PropType<T[K]>;
57
- required: true;
58
- };
59
- };
60
50
  type __VLS_WithDefaults<P, D> = {
61
51
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
62
52
  default: D[K];
@@ -70,3 +60,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
70
60
  $slots: S;
71
61
  };
72
62
  };
63
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
64
+ type __VLS_TypePropsToOption<T> = {
65
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
66
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
67
+ } : {
68
+ type: import('vue').PropType<T[K]>;
69
+ required: true;
70
+ };
71
+ };