@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,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
  ratio?: number;
6
6
  width?: number | string;
7
7
  maxWidth?: number | string;
@@ -9,7 +9,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
9
9
  maxHeight?: number | string;
10
10
  }>, {
11
11
  ratio: number;
12
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
13
13
  ratio?: number;
14
14
  width?: number | string;
15
15
  maxWidth?: number | string;
@@ -22,15 +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
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };
25
+
34
26
  type __VLS_WithDefaults<P, D> = {
35
27
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
28
  default: D[K];
@@ -44,3 +36,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
44
36
  $slots: S;
45
37
  };
46
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,6 +1,5 @@
1
1
  import { Component } from 'vue';
2
-
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
3
  is?: string | Component;
5
4
  src?: string;
6
5
  size?: "sm" | "md" | "lg" | string | number;
@@ -9,7 +8,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
9
8
  }>, {
10
9
  size: string;
11
10
  is: string;
12
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
13
12
  is?: string | Component;
14
13
  src?: string;
15
14
  size?: "sm" | "md" | "lg" | string | number;
@@ -23,15 +22,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
23
22
  size: "sm" | "md" | "lg" | string | number;
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
25
  type __VLS_WithDefaults<P, D> = {
36
26
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
27
  default: D[K];
@@ -40,3 +30,12 @@ type __VLS_WithDefaults<P, D> = {
40
30
  type __VLS_Prettify<T> = {
41
31
  [K in keyof T]: T[K];
42
32
  } & {};
33
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
+ type __VLS_TypePropsToOption<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
+ };
@@ -1,10 +1,10 @@
1
- type Variant = 'filled' | 'default' | 'light' | 'outline' | 'subtle' | 'transparent' | 'ghost' | 'constrast';
1
+ import { Variant } from '../types';
2
2
  declare function __VLS_template(): {
3
3
  leftSection?(_: {}): any;
4
4
  default?(_: {}): any;
5
5
  rightSection?(_: {}): any;
6
6
  };
7
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
8
8
  type?: "button" | "submit" | "reset";
9
9
  size?: "sm" | "md" | "lg";
10
10
  is?: string | Component;
@@ -24,7 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
24
24
  icon: boolean;
25
25
  pressEffect: string;
26
26
  disabled: boolean;
27
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
27
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
28
28
  type?: "button" | "submit" | "reset";
29
29
  size?: "sm" | "md" | "lg";
30
30
  is?: string | Component;
@@ -55,15 +55,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
55
55
  }, {}>;
56
56
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
57
57
  export default _default;
58
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
59
- type __VLS_TypePropsToRuntimeProps<T> = {
60
- [K in keyof T]-?: {} extends Pick<T, K> ? {
61
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
62
- } : {
63
- type: import('vue').PropType<T[K]>;
64
- required: true;
65
- };
66
- };
67
58
  type __VLS_WithDefaults<P, D> = {
68
59
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
69
60
  default: D[K];
@@ -77,3 +68,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
77
68
  $slots: S;
78
69
  };
79
70
  };
71
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
72
+ type __VLS_TypePropsToOption<T> = {
73
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
74
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
75
+ } : {
76
+ type: import('vue').PropType<T[K]>;
77
+ required: true;
78
+ };
79
+ };
@@ -3,35 +3,44 @@ type T = string | {
3
3
  label?: string;
4
4
  icon?: string;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<{
7
- modelValue: import('vue').PropType<string | undefined>;
8
- selections: {
9
- type: globalThis.PropType<T[]>;
10
- required: true;
11
- };
12
- default: {
13
- type: globalThis.PropType<T>;
14
- };
15
- color: {
16
- type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
17
- };
18
- unselectable: {
19
- type: globalThis.PropType<boolean>;
20
- };
21
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
22
- modelValue: import('vue').PropType<string | undefined>;
23
- selections: {
24
- type: globalThis.PropType<T[]>;
6
+ declare let __VLS_typeProps: {
7
+ selections: T[];
8
+ default?: T;
9
+ color?: 'primary' | 'secondary' | 'tertiary' | 'error';
10
+ unselectable?: boolean;
11
+ };
12
+ type __VLS_PublicProps = {
13
+ modelValue?: string | undefined;
14
+ } & typeof __VLS_typeProps;
15
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
16
+ color: string;
17
+ unselectable: undefined;
18
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ "update:modelValue": (modelValue: string | undefined) => void;
20
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
21
+ color: string;
22
+ unselectable: undefined;
23
+ }>>> & {
24
+ "onUpdate:modelValue"?: ((modelValue: string | undefined) => any) | undefined;
25
+ }, {
26
+ color: "primary" | "secondary" | "tertiary" | "error";
27
+ unselectable: boolean;
28
+ }, {}>;
29
+ export default _default;
30
+ type __VLS_WithDefaults<P, D> = {
31
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
+ default: D[K];
33
+ }> : P[K];
34
+ };
35
+ type __VLS_Prettify<T> = {
36
+ [K in keyof T]: T[K];
37
+ } & {};
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
+ type __VLS_TypePropsToOption<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]>;
25
44
  required: true;
26
45
  };
27
- default: {
28
- type: globalThis.PropType<T>;
29
- };
30
- color: {
31
- type: globalThis.PropType<"primary" | "secondary" | "tertiary" | "error">;
32
- };
33
- unselectable: {
34
- type: globalThis.PropType<boolean>;
35
- };
36
- }>>, {}, {}>;
37
- export default _default;
46
+ };
@@ -1,43 +1,38 @@
1
+ import { Variant } from '../types';
1
2
  declare function __VLS_template(): {
2
3
  avatar?(_: {}): 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
  avatar?: string;
7
8
  position?: "left" | "right";
8
9
  color?: string;
9
- variant?: "default" | "transparent" | "filled";
10
+ variant?: Variant;
10
11
  withBorder?: boolean;
11
12
  }>, {
12
13
  position: string;
13
14
  variant: string;
14
15
  withBorder: boolean;
15
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
+ color: string;
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?: "default" | "transparent" | "filled";
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
- variant: "default" | "transparent" | "filled";
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>>;
31
35
  export default _default;
32
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
- type __VLS_TypePropsToRuntimeProps<T> = {
34
- [K in keyof T]-?: {} extends Pick<T, K> ? {
35
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
- } : {
37
- type: import('vue').PropType<T[K]>;
38
- required: true;
39
- };
40
- };
41
36
  type __VLS_WithDefaults<P, D> = {
42
37
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
38
  default: D[K];
@@ -51,3 +46,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
51
46
  $slots: S;
52
47
  };
53
48
  };
49
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
50
+ type __VLS_TypePropsToOption<T> = {
51
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
52
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
53
+ } : {
54
+ type: import('vue').PropType<T[K]>;
55
+ required: true;
56
+ };
57
+ };
@@ -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
  position?: "left" | "right";
6
6
  color?: string;
7
7
  variant?: "default" | "transparent" | "fill";
@@ -9,7 +9,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
9
9
  }>, {
10
10
  variant: string;
11
11
  withBorder: boolean;
12
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
13
13
  position?: "left" | "right";
14
14
  color?: string;
15
15
  variant?: "default" | "transparent" | "fill";
@@ -23,15 +23,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
23
23
  }, {}>;
24
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
25
25
  export default _default;
26
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToRuntimeProps<T> = {
28
- [K in keyof T]-?: {} extends Pick<T, K> ? {
29
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
- } : {
31
- type: import('vue').PropType<T[K]>;
32
- required: true;
33
- };
34
- };
35
26
  type __VLS_WithDefaults<P, D> = {
36
27
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
28
  default: D[K];
@@ -45,3 +36,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
45
36
  $slots: S;
46
37
  };
47
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,12 +1,21 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- modelValue: import('vue').PropType<string>;
3
- label: {
4
- type: globalThis.PropType<string>;
5
- };
6
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
7
- modelValue: import('vue').PropType<string>;
8
- label: {
9
- type: globalThis.PropType<string>;
10
- };
11
- }>>, {}, {}>;
1
+ declare let __VLS_typeProps: {
2
+ label?: string;
3
+ };
4
+ type __VLS_PublicProps = {
5
+ modelValue?: string;
6
+ } & typeof __VLS_typeProps;
7
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:modelValue": (modelValue: string) => void;
9
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
10
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
11
+ }, {}, {}>;
12
12
  export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToOption<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
@@ -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
  color: string;
3
3
  is?: string | Component;
4
4
  withBorder?: boolean;
5
5
  }>, {
6
6
  is: string;
7
7
  withBorder: boolean;
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
  color: string;
10
10
  is?: string | Component;
11
11
  withBorder?: boolean;
@@ -17,15 +17,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
17
17
  withBorder: boolean;
18
18
  }, {}>;
19
19
  export default _default;
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToRuntimeProps<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: import('vue').PropType<T[K]>;
26
- required: true;
27
- };
28
- };
29
20
  type __VLS_WithDefaults<P, D> = {
30
21
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
22
  default: D[K];
@@ -34,3 +25,12 @@ type __VLS_WithDefaults<P, D> = {
34
25
  type __VLS_Prettify<T> = {
35
26
  [K in keyof T]: T[K];
36
27
  } & {};
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToOption<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
@@ -1,43 +1,52 @@
1
+ declare let __VLS_typeProps: {
2
+ persistent?: boolean;
3
+ blur?: 'sm' | 'md' | 'lg' | boolean;
4
+ position?: 'left' | 'right';
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
- position: {
7
- type: globalThis.PropType<"left" | "right">;
8
- default: string;
9
- };
10
- persistent: {
11
- type: globalThis.PropType<boolean>;
12
- default: boolean;
13
- };
14
- blur: {
15
- type: globalThis.PropType<boolean | "sm" | "md" | "lg">;
16
- default: boolean;
17
- };
18
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
19
- modelValue: import('vue').PropType<boolean>;
20
- position: {
21
- type: globalThis.PropType<"left" | "right">;
22
- default: string;
23
- };
24
- persistent: {
25
- type: globalThis.PropType<boolean>;
26
- default: boolean;
27
- };
28
- blur: {
29
- type: globalThis.PropType<boolean | "sm" | "md" | "lg">;
30
- default: boolean;
31
- };
32
- }>>, {
12
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
13
+ persistent: boolean;
14
+ blur: boolean;
15
+ position: string;
16
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ "update:modelValue": (modelValue: boolean) => void;
18
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
19
+ persistent: boolean;
20
+ blur: boolean;
21
+ position: string;
22
+ }>>> & {
23
+ "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
24
+ }, {
33
25
  position: "left" | "right";
34
26
  persistent: boolean;
35
27
  blur: "sm" | "md" | "lg" | boolean;
36
28
  }, {}>;
37
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
30
  export default _default;
31
+ type __VLS_WithDefaults<P, D> = {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
+ default: D[K];
34
+ }> : P[K];
35
+ };
36
+ type __VLS_Prettify<T> = {
37
+ [K in keyof T]: T[K];
38
+ } & {};
39
39
  type __VLS_WithTemplateSlots<T, S> = T & {
40
40
  new (): {
41
41
  $slots: S;
42
42
  };
43
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,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
  dashed?: boolean;
6
6
  accept?: string;
7
7
  }>, {
@@ -9,7 +9,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
9
9
  accept: string;
10
10
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
11
  drop: (files: File[] | null) => void;
12
- }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
13
13
  dashed?: boolean;
14
14
  accept?: string;
15
15
  }>, {
@@ -23,15 +23,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
23
23
  }, {}>;
24
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
25
25
  export default _default;
26
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToRuntimeProps<T> = {
28
- [K in keyof T]-?: {} extends Pick<T, K> ? {
29
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
- } : {
31
- type: import('vue').PropType<T[K]>;
32
- required: true;
33
- };
34
- };
35
26
  type __VLS_WithDefaults<P, D> = {
36
27
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
28
  default: D[K];
@@ -45,3 +36,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
45
36
  $slots: S;
46
37
  };
47
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,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,5 @@
1
1
  import { Component } from 'vue';
2
-
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
3
  is?: string | Component;
5
4
  src?: string;
6
5
  style?: any;
@@ -13,7 +12,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
13
12
  }>, {
14
13
  is: string;
15
14
  rounded: string;
16
- }>, {}, 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<{
17
16
  is?: string | Component;
18
17
  src?: string;
19
18
  style?: any;
@@ -31,15 +30,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
31
30
  rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
32
31
  }, {}>;
33
32
  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
33
  type __VLS_WithDefaults<P, D> = {
44
34
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
45
35
  default: D[K];
@@ -48,3 +38,12 @@ type __VLS_WithDefaults<P, D> = {
48
38
  type __VLS_Prettify<T> = {
49
39
  [K in keyof T]: T[K];
50
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
+ };