@roku-ui/vue 0.9.1 → 0.10.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 (39) hide show
  1. package/dist/components/AspectRatio.vue.d.ts +134 -9
  2. package/dist/components/Avatar.vue.d.ts +11 -11
  3. package/dist/components/Btn.vue.d.ts +11 -11
  4. package/dist/components/BtnGroup.vue.d.ts +39 -30
  5. package/dist/components/ChatMessage.vue.d.ts +11 -11
  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 -11
  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 +11 -11
  16. package/dist/components/Overlay.vue.d.ts +11 -11
  17. package/dist/components/Paper.vue.d.ts +11 -11
  18. package/dist/components/PinInput.vue.d.ts +11 -11
  19. package/dist/components/Progress.vue.d.ts +11 -11
  20. package/dist/components/RokuProvider.vue.d.ts +11 -11
  21. package/dist/components/ScrollArea.vue.d.ts +47 -0
  22. package/dist/components/Select.vue.d.ts +9 -7
  23. package/dist/components/Slider.vue.d.ts +53 -79
  24. package/dist/components/Switch.vue.d.ts +48 -79
  25. package/dist/components/TabItem.vue.d.ts +11 -11
  26. package/dist/components/Tabs.vue.d.ts +33 -19
  27. package/dist/components/TextField.vue.d.ts +45 -66
  28. package/dist/components/ThemeProvider.vue.d.ts +8 -8
  29. package/dist/components/Tooltip.vue.d.ts +11 -11
  30. package/dist/components/index.d.ts +1 -0
  31. package/dist/composables/index.d.ts +5 -5
  32. package/dist/index.d.ts +1 -0
  33. package/dist/index.js +2271 -1523
  34. package/dist/index.umd.cjs +1 -1
  35. package/dist/style.css +1 -1
  36. package/dist/test/App.vue.d.ts +2 -0
  37. package/dist/test/demo/WaterfallDemo.vue.d.ts +2 -0
  38. package/package.json +20 -19
  39. package/dist/components/Chip.vue.d.ts +0 -63
@@ -1,40 +1,49 @@
1
+ declare let __VLS_typeProps: {
2
+ persistent?: boolean;
3
+ blur?: 'sm' | 'md' | 'lg' | boolean;
4
+ wrapperClass?: string;
5
+ };
6
+ type __VLS_PublicProps = {
7
+ modelValue?: boolean;
8
+ } & typeof __VLS_typeProps;
1
9
  declare function __VLS_template(): {
2
10
  default?(_: {}): any;
3
11
  };
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
- wrapperClass: {
15
- type: globalThis.PropType<string>;
16
- };
17
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
18
- modelValue: import('vue').PropType<boolean>;
19
- persistent: {
20
- type: globalThis.PropType<boolean>;
21
- default: boolean;
22
- };
23
- blur: {
24
- type: globalThis.PropType<boolean | "sm" | "md" | "lg">;
25
- default: boolean;
26
- };
27
- wrapperClass: {
28
- type: globalThis.PropType<string>;
29
- };
30
- }>>, {
12
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
13
+ persistent: boolean;
14
+ blur: boolean;
15
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ "update:modelValue": (modelValue: boolean) => void;
17
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
18
+ persistent: boolean;
19
+ blur: boolean;
20
+ }>>> & {
21
+ "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
22
+ }, {
31
23
  persistent: boolean;
32
24
  blur: "sm" | "md" | "lg" | boolean;
33
25
  }, {}>;
34
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
35
27
  export default _default;
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
+ } & {};
36
36
  type __VLS_WithTemplateSlots<T, S> = T & {
37
37
  new (): {
38
38
  $slots: S;
39
39
  };
40
40
  };
41
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
42
+ type __VLS_TypePropsToOption<T> = {
43
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
44
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
45
+ } : {
46
+ type: import('vue').PropType<T[K]>;
47
+ required: true;
48
+ };
49
+ };
@@ -1,6 +1,6 @@
1
1
  import { Component } from 'vue';
2
2
 
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
4
  is?: string | Component;
5
5
  src?: string;
6
6
  style?: any;
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
13
13
  }>, {
14
14
  is: string;
15
15
  rounded: string;
16
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
17
17
  is?: string | Component;
18
18
  src?: string;
19
19
  style?: any;
@@ -31,15 +31,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
31
31
  rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
32
32
  }, {}>;
33
33
  export default _default;
34
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
- type __VLS_TypePropsToRuntimeProps<T> = {
36
- [K in keyof T]-?: {} extends Pick<T, K> ? {
37
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
38
- } : {
39
- type: import('vue').PropType<T[K]>;
40
- required: true;
41
- };
42
- };
43
34
  type __VLS_WithDefaults<P, D> = {
44
35
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
45
36
  default: D[K];
@@ -48,3 +39,12 @@ type __VLS_WithDefaults<P, D> = {
48
39
  type __VLS_Prettify<T> = {
49
40
  [K in keyof T]: T[K];
50
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,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,7 @@
1
1
  declare function __VLS_template(): {
2
2
  message?(_: {}): any;
3
3
  };
4
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
5
  title?: string;
6
6
  message?: string;
7
7
  icon?: string;
@@ -19,7 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
19
19
  block: boolean;
20
20
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
21
  close: (...args: any[]) => void;
22
- }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
22
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
23
23
  title?: string;
24
24
  message?: string;
25
25
  icon?: string;
@@ -44,15 +44,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
44
44
  }, {}>;
45
45
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
46
46
  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
47
  type __VLS_WithDefaults<P, D> = {
57
48
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
58
49
  default: D[K];
@@ -66,3 +57,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
66
57
  $slots: S;
67
58
  };
68
59
  };
60
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
61
+ type __VLS_TypePropsToOption<T> = {
62
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
63
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
64
+ } : {
65
+ type: import('vue').PropType<T[K]>;
66
+ required: true;
67
+ };
68
+ };
@@ -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,7 +1,7 @@
1
1
  declare function __VLS_template(): {
2
2
  default?(_: {}): any;
3
3
  };
4
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
5
  size?: "sm" | "md" | "lg" | string | number;
6
6
  rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
7
7
  withBorder?: boolean;
@@ -17,7 +17,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
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<{
20
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
21
21
  size?: "sm" | "md" | "lg" | string | number;
22
22
  rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
23
23
  withBorder?: boolean;
@@ -44,15 +44,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
44
44
  }, {}>;
45
45
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
46
46
  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
47
  type __VLS_WithDefaults<P, D> = {
57
48
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
58
49
  default: D[K];
@@ -66,3 +57,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
66
57
  $slots: S;
67
58
  };
68
59
  };
60
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
61
+ type __VLS_TypePropsToOption<T> = {
62
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
63
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
64
+ } : {
65
+ type: import('vue').PropType<T[K]>;
66
+ required: true;
67
+ };
68
+ };
@@ -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
+ };
@@ -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
+ };
@@ -3,7 +3,7 @@ import { ThemeData } from '../utils';
3
3
  declare function __VLS_template(): {
4
4
  default?(_: {}): any;
5
5
  };
6
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
7
7
  is?: string | Component;
8
8
  theme?: string;
9
9
  themes?: Record<string, ThemeData>;
@@ -22,7 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
22
22
  };
23
23
  };
24
24
  };
25
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
25
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
26
26
  is?: string | Component;
27
27
  theme?: string;
28
28
  themes?: Record<string, ThemeData>;
@@ -48,15 +48,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
48
48
  }, {}>;
49
49
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
50
50
  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
51
  type __VLS_WithDefaults<P, D> = {
61
52
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
62
53
  default: D[K];
@@ -70,3 +61,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
70
61
  $slots: S;
71
62
  };
72
63
  };
64
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
65
+ type __VLS_TypePropsToOption<T> = {
66
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
67
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
68
+ } : {
69
+ type: import('vue').PropType<T[K]>;
70
+ required: true;
71
+ };
72
+ };
@@ -0,0 +1,47 @@
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
+ height?: number;
6
+ barWidth?: number;
7
+ threshold?: number;
8
+ }>, {
9
+ barWidth: number;
10
+ threshold: number;
11
+ }>, {
12
+ $el: globalThis.Ref<HTMLElement | null | undefined, HTMLElement | null | undefined>;
13
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
14
+ height?: number;
15
+ barWidth?: number;
16
+ threshold?: number;
17
+ }>, {
18
+ barWidth: number;
19
+ threshold: number;
20
+ }>>>, {
21
+ barWidth: number;
22
+ threshold: number;
23
+ }, {}>;
24
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
25
+ export default _default;
26
+ type __VLS_WithDefaults<P, D> = {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
+ default: D[K];
29
+ }> : P[K];
30
+ };
31
+ type __VLS_Prettify<T> = {
32
+ [K in keyof T]: T[K];
33
+ } & {};
34
+ type __VLS_WithTemplateSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
39
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
+ type __VLS_TypePropsToOption<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
+ };
@@ -1,14 +1,18 @@
1
1
  declare const _default: <T extends {
2
2
  id: number | string | symbol;
3
3
  [key: string]: any;
4
- } | string | symbol | number>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
- props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{
4
+ } | string | symbol | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
6
6
  onChange?: ((option: T | undefined) => any) | undefined;
7
7
  onInput?: ((searchWord: string) => any) | undefined;
8
+ "onUpdate:modelValue"?: ((modelValue: T | undefined) => any) | undefined;
8
9
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{}>> & {
9
10
  onChange?: ((option: T | undefined) => any) | undefined;
10
11
  onInput?: ((searchWord: string) => any) | undefined;
11
- }, never>) & ({
12
+ "onUpdate:modelValue"?: ((modelValue: T | undefined) => any) | undefined;
13
+ }, never>, "onChange" | "onInput" | "onUpdate:modelValue"> & ({
14
+ modelValue?: T | undefined;
15
+ } & {
12
16
  ariaLabel?: string;
13
17
  options?: T[];
14
18
  size?: "sm" | "md" | "lg";
@@ -18,9 +22,7 @@ declare const _default: <T extends {
18
22
  placeholder?: string;
19
23
  searchable?: boolean;
20
24
  filter?: (label: string, text: string) => boolean;
21
- } & {
22
- modelValue?: T | undefined;
23
- }), keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
25
+ })> & import('vue').PublicProps;
24
26
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
25
27
  attrs: any;
26
28
  slots: ReturnType<() => {
@@ -31,7 +33,7 @@ declare const _default: <T extends {
31
33
  }): any;
32
34
  "not-found"?(_: {}): any;
33
35
  }>;
34
- emit: ((evt: "input", searchWord: string) => void) & ((evt: "change", option: T | undefined) => void);
36
+ emit: (((evt: "input", searchWord: string) => void) & ((evt: "change", option: T | undefined) => void)) & ((evt: "update:modelValue", modelValue: T | undefined) => void);
35
37
  }>) => globalThis.VNode<import('vue').RendererNode, import('vue').RendererElement, {
36
38
  [key: string]: any;
37
39
  }> & {