@roku-ui/vue 0.19.0 → 0.21.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 (56) hide show
  1. package/dist/components/AspectRatio.vue.d.ts +11 -15
  2. package/dist/components/AutoHeightTransition.vue.d.ts +17 -0
  3. package/dist/components/Avatar.vue.d.ts +17 -22
  4. package/dist/components/Btn.vue.d.ts +21 -30
  5. package/dist/components/BtnGroup.vue.d.ts +5 -5
  6. package/dist/components/ChatContainer.vue.d.ts +3 -2
  7. package/dist/components/ChatMessage.vue.d.ts +11 -15
  8. package/dist/components/ChatSystem.vue.d.ts +10 -13
  9. package/dist/components/Chip.vue.d.ts +12 -17
  10. package/dist/components/ColorInput.vue.d.ts +7 -5
  11. package/dist/components/ColorSwatch.vue.d.ts +3 -6
  12. package/dist/components/Drawer.vue.d.ts +6 -5
  13. package/dist/components/Dropzone.vue.d.ts +11 -10
  14. package/dist/components/FullscreenOverlay.vue.d.ts +9 -6
  15. package/dist/components/Image.vue.d.ts +7 -14
  16. package/dist/components/Indicator.vue.d.ts +10 -13
  17. package/dist/components/Menu.vue.d.ts +14 -9
  18. package/dist/components/MenuItem.vue.d.ts +8 -8
  19. package/dist/components/Modal.vue.d.ts +6 -5
  20. package/dist/components/Notification.vue.d.ts +19 -27
  21. package/dist/components/NotificationSystem.vue.d.ts +6 -12
  22. package/dist/components/Overlay.vue.d.ts +12 -13
  23. package/dist/components/Paper.vue.d.ts +16 -20
  24. package/dist/components/PinInput.vue.d.ts +105 -9
  25. package/dist/components/Popover.vue.d.ts +10 -6
  26. package/dist/components/Progress.vue.d.ts +6 -13
  27. package/dist/components/Rating.vue.d.ts +5 -5
  28. package/dist/components/RokuProvider.vue.d.ts +12 -12
  29. package/dist/components/SchemeSwitch.vue.d.ts +4 -6
  30. package/dist/components/ScrollArea.vue.d.ts +16 -16
  31. package/dist/components/Select.vue.d.ts +6 -10
  32. package/dist/components/SelectArea.vue.d.ts +6 -8
  33. package/dist/components/Slider.vue.d.ts +10 -5
  34. package/dist/components/Switch.vue.d.ts +10 -6
  35. package/dist/components/TabItem.vue.d.ts +10 -9
  36. package/dist/components/Tabs.vue.d.ts +9 -6
  37. package/dist/components/Tag.vue.d.ts +20 -21
  38. package/dist/components/TextField.vue.d.ts +9 -6
  39. package/dist/components/ThemeProvider.vue.d.ts +7 -8
  40. package/dist/components/Tooltip.vue.d.ts +10 -7
  41. package/dist/components/TreeList.vue.d.ts +59 -12
  42. package/dist/components/index.d.ts +1 -0
  43. package/dist/index.css +1 -1
  44. package/dist/index.d.ts +1 -0
  45. package/dist/index.js +4049 -2773
  46. package/dist/index.umd.cjs +1 -1
  47. package/dist/shared/index.d.ts +1 -1
  48. package/dist/test/demo/PopoverDemo.vue.d.ts +1 -1
  49. package/dist/test/demo/RatingDemo.vue.d.ts +1 -1
  50. package/dist/test/demo/SelectAreaDemo.vue.d.ts +3 -1
  51. package/dist/test/demo/SelectDemo.vue.d.ts +1 -1
  52. package/dist/test/demo/TagsDemo.vue.d.ts +1 -1
  53. package/dist/test/demo/WaterfallDemo.vue.d.ts +1 -1
  54. package/dist/utils/modals.d.ts +3 -3
  55. package/dist/utils/notifications.d.ts +3 -3
  56. package/package.json +24 -24
@@ -1,14 +1,14 @@
1
1
  import { MenuData, MenuProps } from './Menu.vue';
2
- declare const _default: import('vue').DefineComponent<{
2
+ type __VLS_Props = {
3
3
  data: MenuData;
4
4
  idx: number[];
5
5
  hasIcon: boolean;
6
- } & MenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
7
- data: MenuData;
8
- idx: number[];
9
- hasIcon: boolean;
10
- } & MenuProps> & Readonly<{}>, {
6
+ } & MenuProps;
7
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
8
  color: string;
12
- rounded: import('../types').Rounded;
13
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ rounded: import('..').Rounded;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
11
+ menuItemRef: HTMLButtonElement;
12
+ menuDropdownRef: HTMLMenuElement;
13
+ }, any>;
14
14
  export default _default;
@@ -1,12 +1,13 @@
1
- declare let __VLS_typeProps: {
1
+ type __VLS_Props = {
2
2
  persistent?: boolean;
3
3
  blur?: 'sm' | 'md' | 'lg' | boolean;
4
4
  title?: string;
5
5
  };
6
6
  type __VLS_PublicProps = {
7
7
  modelValue?: boolean;
8
- } & typeof __VLS_typeProps;
8
+ } & __VLS_Props;
9
9
  declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
10
11
  slots: {
11
12
  default?(_: {}): any;
12
13
  title?(_: {}): any;
@@ -14,13 +15,13 @@ declare function __VLS_template(): {
14
15
  footer?(_: {}): any;
15
16
  };
16
17
  refs: {};
17
- attrs: Partial<{}>;
18
+ rootEl: any;
18
19
  };
19
20
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
21
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
- "update:modelValue": (modelValue: boolean) => any;
22
+ "update:modelValue": (value: boolean) => any;
22
23
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
- "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
24
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
24
25
  }>, {
25
26
  persistent: boolean;
26
27
  blur: "sm" | "md" | "lg" | boolean;
@@ -1,42 +1,34 @@
1
1
  import { Size } from '../types';
2
- declare function __VLS_template(): {
3
- slots: {
4
- message?(_: {}): any;
5
- "close-icon"?(_: {}): any;
6
- };
7
- refs: {};
8
- attrs: Partial<{}>;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<{
2
+ type __VLS_Props = {
12
3
  title?: string;
13
4
  message?: string;
14
5
  icon?: string;
15
6
  loading?: boolean;
16
7
  withBorder?: boolean;
17
8
  closeable?: boolean;
18
- rounded?: "sm" | "md" | "lg" | "none" | string | number;
9
+ rounded?: 'sm' | 'md' | 'lg' | 'none' | string | number;
19
10
  block?: boolean;
20
11
  color?: string;
21
12
  size?: Size;
22
13
  complete?: number;
23
14
  total?: number;
24
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ };
16
+ declare function __VLS_template(): {
17
+ attrs: Partial<{}>;
18
+ slots: Readonly<{
19
+ closeIcon?: (props: any) => any;
20
+ message?: (props: any) => any;
21
+ }> & {
22
+ closeIcon?: (props: any) => any;
23
+ message?: (props: any) => any;
24
+ };
25
+ refs: {};
26
+ rootEl: HTMLDivElement;
27
+ };
28
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
30
  close: (...args: any[]) => void;
26
- }, string, import('vue').PublicProps, Readonly<{
27
- title?: string;
28
- message?: string;
29
- icon?: string;
30
- loading?: boolean;
31
- withBorder?: boolean;
32
- closeable?: boolean;
33
- rounded?: "sm" | "md" | "lg" | "none" | string | number;
34
- block?: boolean;
35
- color?: string;
36
- size?: Size;
37
- complete?: number;
38
- total?: number;
39
- }> & Readonly<{
31
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
40
32
  onClose?: ((...args: any[]) => any) | undefined;
41
33
  }>, {
42
34
  color: string;
@@ -44,7 +36,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
44
36
  rounded: "sm" | "md" | "lg" | "none" | string | number;
45
37
  block: boolean;
46
38
  total: number;
47
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
39
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
48
40
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
49
41
  export default _default;
50
42
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  type NotificationPosition = 'top-left' | 'top-right' | 'top' | 'bottom-left' | 'bottom-right' | 'bottom';
2
- declare const _default: import('vue').DefineComponent<{
2
+ type __VLS_Props = {
3
3
  position?: NotificationPosition;
4
4
  progress?: boolean;
5
5
  topN?: number;
@@ -8,16 +8,8 @@ declare const _default: import('vue').DefineComponent<{
8
8
  pl?: number;
9
9
  pr?: number;
10
10
  pb?: number;
11
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
12
- position?: NotificationPosition;
13
- progress?: boolean;
14
- topN?: number;
15
- gap?: number;
16
- pt?: number;
17
- pl?: number;
18
- pr?: number;
19
- pb?: number;
20
- }> & Readonly<{}>, {
11
+ };
12
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
13
  progress: boolean;
22
14
  position: NotificationPosition;
23
15
  topN: number;
@@ -26,5 +18,7 @@ declare const _default: import('vue').DefineComponent<{
26
18
  pl: number;
27
19
  pr: number;
28
20
  pb: number;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
22
+ notificationRefs: HTMLDivElement;
23
+ }, HTMLDivElement>;
30
24
  export default _default;
@@ -1,4 +1,11 @@
1
+ type __VLS_Props = {
2
+ blur?: boolean | 'sm' | 'md' | 'lg';
3
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
4
+ opacity?: number;
5
+ color?: string;
6
+ };
1
7
  declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
2
9
  slots: {
3
10
  default?(_: {}): any;
4
11
  content?(_: {}): any;
@@ -6,25 +13,17 @@ declare function __VLS_template(): {
6
13
  refs: {
7
14
  wrapperRef: HTMLDivElement;
8
15
  };
9
- attrs: Partial<{}>;
16
+ rootEl: HTMLDivElement;
10
17
  };
11
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<{
13
- blur?: boolean | "sm" | "md" | "lg";
14
- rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
15
- opacity?: number;
16
- color?: string;
17
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
18
- blur?: boolean | "sm" | "md" | "lg";
19
- rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
20
- opacity?: number;
21
- color?: string;
22
- }> & Readonly<{}>, {
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
23
20
  color: string;
24
21
  rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
25
22
  blur: boolean | "sm" | "md" | "lg";
26
23
  opacity: number;
27
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
25
+ wrapperRef: HTMLDivElement;
26
+ }, HTMLDivElement>;
28
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
28
  export default _default;
30
29
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,32 +1,26 @@
1
- import { Color, Rounded } from '../types';
2
1
  import { Component } from 'vue';
2
+ import { Color, Rounded } from '../types';
3
+ type __VLS_Props = {
4
+ rounded?: Rounded;
5
+ loading?: boolean;
6
+ is?: string | Component;
7
+ color?: Color;
8
+ traceAnimate?: boolean;
9
+ withBorder?: boolean;
10
+ noPadding?: boolean;
11
+ };
3
12
  declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
4
14
  slots: {
5
15
  default?(_: {}): any;
6
16
  };
7
17
  refs: {
8
18
  paperRef: unknown;
9
19
  };
10
- attrs: Partial<{}>;
20
+ rootEl: any;
11
21
  };
12
22
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<{
14
- rounded?: Rounded;
15
- loading?: boolean;
16
- is?: string | Component;
17
- color?: Color;
18
- traceAnimate?: boolean;
19
- withBorder?: boolean;
20
- noPadding?: boolean;
21
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
22
- rounded?: Rounded;
23
- loading?: boolean;
24
- is?: string | Component;
25
- color?: Color;
26
- traceAnimate?: boolean;
27
- withBorder?: boolean;
28
- noPadding?: boolean;
29
- }> & Readonly<{}>, {
23
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
30
24
  color: Color;
31
25
  is: string | Component;
32
26
  rounded: Rounded;
@@ -34,7 +28,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
34
28
  loading: boolean;
35
29
  traceAnimate: boolean;
36
30
  noPadding: boolean;
37
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
32
+ paperRef: unknown;
33
+ }, any>;
38
34
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
35
  export default _default;
40
36
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,14 +1,110 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ type __VLS_Props = {
2
2
  modelValue?: string;
3
3
  length?: number;
4
- size?: "sm" | "md" | "lg";
4
+ size?: 'sm' | 'md' | 'lg';
5
5
  password?: boolean;
6
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
7
- modelValue?: string;
8
- length?: number;
9
- size?: "sm" | "md" | "lg";
10
- password?: boolean;
11
- }> & Readonly<{}>, {
6
+ };
7
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
8
  length: number;
13
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
10
+ inputs: (({
11
+ $: import('vue').ComponentInternalInstance;
12
+ $data: {};
13
+ $props: {
14
+ readonly modelValue?: string | number | undefined;
15
+ readonly onChange?: ((value: string) => void) | undefined;
16
+ readonly color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
17
+ readonly error?: boolean | undefined;
18
+ readonly disabled?: boolean | undefined;
19
+ readonly rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number | undefined;
20
+ readonly size?: "sm" | "md" | "lg" | undefined;
21
+ readonly password?: boolean | undefined;
22
+ readonly placeholder?: string | undefined;
23
+ readonly label?: string | undefined;
24
+ readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
25
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
26
+ $attrs: {
27
+ [x: string]: unknown;
28
+ };
29
+ $refs: {
30
+ [x: string]: unknown;
31
+ } & {
32
+ input: HTMLInputElement;
33
+ };
34
+ $slots: Readonly<{
35
+ [name: string]: import('vue').Slot<any> | undefined;
36
+ }>;
37
+ $root: import('vue').ComponentPublicInstance | null;
38
+ $parent: import('vue').ComponentPublicInstance | null;
39
+ $host: Element | null;
40
+ $emit: (event: "update:modelValue", value: string | number) => void;
41
+ $el: HTMLDivElement;
42
+ $options: import('vue').ComponentOptionsBase<Readonly<{
43
+ modelValue?: string | number;
44
+ } & {
45
+ onChange?: (value: string) => void;
46
+ color?: "primary" | "secondary" | "tertiary" | "error";
47
+ error?: boolean;
48
+ disabled?: boolean;
49
+ rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
50
+ size?: "sm" | "md" | "lg";
51
+ password?: boolean;
52
+ placeholder?: string;
53
+ label?: string;
54
+ }> & Readonly<{
55
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
56
+ }>, {
57
+ el: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
58
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
59
+ "update:modelValue": (value: string | number) => any;
60
+ }, string, {
61
+ color: "primary" | "secondary" | "tertiary" | "error";
62
+ size: "sm" | "md" | "lg";
63
+ rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
64
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
65
+ beforeCreate?: (() => void) | (() => void)[];
66
+ created?: (() => void) | (() => void)[];
67
+ beforeMount?: (() => void) | (() => void)[];
68
+ mounted?: (() => void) | (() => void)[];
69
+ beforeUpdate?: (() => void) | (() => void)[];
70
+ updated?: (() => void) | (() => void)[];
71
+ activated?: (() => void) | (() => void)[];
72
+ deactivated?: (() => void) | (() => void)[];
73
+ beforeDestroy?: (() => void) | (() => void)[];
74
+ beforeUnmount?: (() => void) | (() => void)[];
75
+ destroyed?: (() => void) | (() => void)[];
76
+ unmounted?: (() => void) | (() => void)[];
77
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
78
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
79
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
80
+ };
81
+ $forceUpdate: () => void;
82
+ $nextTick: typeof import('vue').nextTick;
83
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
84
+ } & Readonly<{
85
+ color: "primary" | "secondary" | "tertiary" | "error";
86
+ size: "sm" | "md" | "lg";
87
+ rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
88
+ }> & Omit<Readonly<{
89
+ modelValue?: string | number;
90
+ } & {
91
+ onChange?: (value: string) => void;
92
+ color?: "primary" | "secondary" | "tertiary" | "error";
93
+ error?: boolean;
94
+ disabled?: boolean;
95
+ rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
96
+ size?: "sm" | "md" | "lg";
97
+ password?: boolean;
98
+ placeholder?: string;
99
+ label?: string;
100
+ }> & Readonly<{
101
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
102
+ }>, "el" | ("color" | "size" | "rounded")> & import('vue').ShallowUnwrapRef<{
103
+ el: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
104
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
105
+ $slots: {
106
+ label?(_: {}): any;
107
+ };
108
+ }) | null)[];
109
+ }, HTMLDivElement>;
14
110
  export default _default;
@@ -1,5 +1,5 @@
1
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: {
2
+ type __VLS_Props = {
3
3
  trigger?: 'hover' | 'click';
4
4
  position?: Position;
5
5
  zIndex?: number;
@@ -11,8 +11,9 @@ declare const __VLS_defaults: {
11
11
  };
12
12
  type __VLS_PublicProps = {
13
13
  modelValue?: typeof __VLS_defaults['modelValue'];
14
- } & typeof __VLS_typeProps;
14
+ } & __VLS_Props;
15
15
  declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
16
17
  slots: Readonly<{
17
18
  default: (props: any) => any;
18
19
  content: (props: any) => any;
@@ -24,20 +25,23 @@ declare function __VLS_template(): {
24
25
  wrapperRef: HTMLDivElement;
25
26
  contentRef: HTMLDivElement;
26
27
  };
27
- attrs: Partial<{}>;
28
+ rootEl: HTMLDivElement;
28
29
  };
29
30
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
31
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
- "update:modelValue": (modelValue: boolean) => any;
32
+ "update:modelValue": (value: boolean) => any;
32
33
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
33
- "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
34
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
34
35
  }>, {
35
36
  position: Position;
36
37
  trigger: "hover" | "click";
37
38
  offset: number;
38
39
  zIndex: number;
39
40
  overlay: boolean;
40
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
42
+ wrapperRef: HTMLDivElement;
43
+ contentRef: HTMLDivElement;
44
+ }, HTMLDivElement>;
41
45
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
46
  export default _default;
43
47
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,21 +1,14 @@
1
1
  import { Color } from '../types';
2
- declare const _default: import('vue').DefineComponent<{
2
+ type __VLS_Props = {
3
3
  value?: number | string;
4
4
  max?: number | string;
5
5
  min?: number | string;
6
- size?: "sm" | "md" | "lg";
6
+ size?: 'sm' | 'md' | 'lg';
7
7
  color?: Color;
8
- rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
8
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
9
9
  loading?: boolean;
10
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
11
- value?: number | string;
12
- max?: number | string;
13
- min?: number | string;
14
- size?: "sm" | "md" | "lg";
15
- color?: Color;
16
- rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
17
- loading?: boolean;
18
- }> & Readonly<{}>, {
10
+ };
11
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
12
  color: Color;
20
13
  value: number | string;
21
14
  size: "sm" | "md" | "lg";
@@ -23,5 +16,5 @@ declare const _default: import('vue').DefineComponent<{
23
16
  loading: boolean;
24
17
  max: number | string;
25
18
  min: number | string;
26
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
27
20
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { Size } from '../types';
2
- declare let __VLS_typeProps: {
2
+ type __VLS_Props = {
3
3
  count?: number;
4
4
  icons?: IconType;
5
5
  color?: string[] | string;
@@ -19,14 +19,14 @@ declare const __VLS_defaults: {
19
19
  };
20
20
  type __VLS_PublicProps = {
21
21
  modelValue?: typeof __VLS_defaults['modelValue'];
22
- } & typeof __VLS_typeProps;
22
+ } & __VLS_Props;
23
23
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
24
  select: (args_0: number) => any;
25
- "update:modelValue": (modelValue: number) => any;
25
+ "update:modelValue": (value: number) => any;
26
26
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
27
27
  onSelect?: ((args_0: number) => any) | undefined;
28
- "onUpdate:modelValue"?: ((modelValue: number) => any) | undefined;
28
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
29
29
  }>, {
30
30
  color: string[] | string;
31
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
32
32
  export default _default;
@@ -1,28 +1,28 @@
1
- import { ThemeData } from '../utils';
2
1
  import { Component } from 'vue';
2
+ import { ThemeData } from '../utils';
3
+ type __VLS_Props = {
4
+ is?: string | Component;
5
+ theme?: string;
6
+ themes?: Record<string, ThemeData>;
7
+ };
3
8
  declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
4
10
  slots: {
5
11
  default?(_: {}): any;
6
12
  };
7
13
  refs: {
8
14
  wrapperRef: unknown;
9
15
  };
10
- attrs: Partial<{}>;
16
+ rootEl: any;
11
17
  };
12
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<{
14
- is?: string | Component;
15
- theme?: string;
16
- themes?: Record<string, ThemeData>;
17
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
18
- is?: string | Component;
19
- theme?: string;
20
- themes?: Record<string, ThemeData>;
21
- }> & Readonly<{}>, {
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
22
20
  is: string | Component;
23
21
  theme: string;
24
22
  themes: Record<string, ThemeData>;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
24
+ wrapperRef: unknown;
25
+ }, any>;
26
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
27
  export default _default;
28
28
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,11 +1,9 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ type __VLS_Props = {
2
2
  disableViewTranslation?: boolean;
3
3
  circleTranslation?: boolean;
4
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
5
- disableViewTranslation?: boolean;
6
- circleTranslation?: boolean;
7
- }> & Readonly<{}>, {
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
6
  disableViewTranslation: boolean;
9
7
  circleTranslation: boolean;
10
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
11
9
  export default _default;
@@ -1,4 +1,12 @@
1
+ type __VLS_Props = {
2
+ height?: number | string;
3
+ barWidth?: number;
4
+ threshold?: number;
5
+ floating?: boolean;
6
+ autoHide?: boolean;
7
+ };
1
8
  declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
2
10
  slots: {
3
11
  default?(_: {}): any;
4
12
  };
@@ -7,27 +15,19 @@ declare function __VLS_template(): {
7
15
  scrollBarIndicatorRef: HTMLDivElement;
8
16
  scrollDomRef: HTMLDivElement;
9
17
  };
10
- attrs: Partial<{}>;
18
+ rootEl: HTMLDivElement;
11
19
  };
12
20
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<{
14
- height?: number | string;
15
- barWidth?: number;
16
- threshold?: number;
17
- floating?: boolean;
18
- autoHide?: boolean;
19
- }, {
21
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
20
22
  $el: import('vue').Ref<HTMLElement | null | undefined, HTMLElement | null | undefined>;
21
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
22
- height?: number | string;
23
- barWidth?: number;
24
- threshold?: number;
25
- floating?: boolean;
26
- autoHide?: boolean;
27
- }> & Readonly<{}>, {
23
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
28
24
  barWidth: number;
29
25
  threshold: number;
30
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
27
+ wrapperRef: HTMLDivElement;
28
+ scrollBarIndicatorRef: HTMLDivElement;
29
+ scrollDomRef: HTMLDivElement;
30
+ }, HTMLDivElement>;
31
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
32
  export default _default;
33
33
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
- import { Color } from '../types';
2
1
  import { Reactive } from 'vue';
2
+ import { Color } from '../types';
3
3
  declare const _default: <T extends {
4
4
  id: number | string | symbol;
5
5
  [key: string]: any;
6
6
  } | string | symbol | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
7
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
8
8
  readonly onInput?: ((searchWord: string) => any) | undefined;
9
- readonly "onUpdate:modelValue"?: ((modelValue: T | Reactive<T> | undefined) => any) | undefined;
9
+ readonly "onUpdate:modelValue"?: ((value: T | Reactive<T> | undefined) => any) | undefined;
10
10
  readonly onChange?: ((option: T | Reactive<T> | undefined) => any) | undefined;
11
11
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onInput" | "onUpdate:modelValue"> & ({
12
12
  modelValue?: T | Reactive<T> | undefined;
@@ -21,7 +21,7 @@ declare const _default: <T extends {
21
21
  placeholder?: string;
22
22
  searchable?: boolean;
23
23
  filter?: (label: string, text: string) => boolean;
24
- })> & import('vue').PublicProps;
24
+ }) & Partial<{}>> & import('vue').PublicProps;
25
25
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
26
26
  attrs: any;
27
27
  slots: {
@@ -30,14 +30,10 @@ declare const _default: <T extends {
30
30
  data: T;
31
31
  selected: boolean;
32
32
  }): any;
33
- "not-found"?(_: {}): any;
33
+ 'not-found'?(_: {}): any;
34
34
  };
35
- emit: (((evt: "input", searchWord: string) => void) & ((evt: "change", option: T | Reactive<T> | undefined) => void)) & {
36
- 'update:modelValue': [modelValue: T | Reactive<T> | undefined];
37
- };
38
- }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
39
- [key: string]: any;
40
- }> & {
35
+ emit: (((evt: "input", searchWord: string) => void) & ((evt: "change", option: T | Reactive<T> | undefined) => void)) & ((evt: "update:modelValue", value: T | Reactive<T> | undefined) => void);
36
+ }>) => import('vue').VNode & {
41
37
  __ctx?: Awaited<typeof __VLS_setup>;
42
38
  };
43
39
  export default _default;