@rotki/ui-library 1.12.2 → 2.0.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 (80) hide show
  1. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +9 -15
  2. package/dist/components/alerts/RuiAlert.vue.d.ts +7 -11
  3. package/dist/components/buttons/button/RuiButton.vue.d.ts +6 -4
  4. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +1 -1
  5. package/dist/components/calendar/RuiCalendar.vue.d.ts +30 -0
  6. package/dist/components/calendar/RuiCalendarGrid.vue.d.ts +13 -0
  7. package/dist/components/calendar/RuiCalendarHeader.vue.d.ts +16 -0
  8. package/dist/components/calendar/RuiCalendarMenu.vue.d.ts +17 -0
  9. package/dist/components/calendar/state.d.ts +17 -0
  10. package/dist/components/cards/RuiCard.vue.d.ts +17 -16
  11. package/dist/components/cards/RuiCardHeader.vue.d.ts +9 -12
  12. package/dist/components/chips/RuiChip.vue.d.ts +7 -11
  13. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +32 -23
  14. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +5 -12
  15. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +5 -5
  16. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +4 -4
  17. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +9 -14
  18. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +24 -17
  19. package/dist/components/forms/switch/RuiSwitch.vue.d.ts +5 -10
  20. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +9 -18
  21. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +14 -21
  22. package/dist/components/icons/RuiIcon.vue.d.ts +1 -1
  23. package/dist/components/index.d.ts +3 -1
  24. package/dist/components/index.es.js +4214 -3527
  25. package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +1 -1
  26. package/dist/components/logos/RuiLogo.vue.d.ts +1 -1
  27. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +11 -14
  28. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +5 -8
  29. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +15 -21
  30. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +25 -32
  31. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +15 -21
  32. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +5 -10
  33. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +13 -20
  34. package/dist/components/progress/RuiProgress.vue.d.ts +1 -1
  35. package/dist/components/steppers/RuiFooterStepper.vue.d.ts +1 -1
  36. package/dist/components/steppers/RuiStepper.vue.d.ts +9 -16
  37. package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +1 -1
  38. package/dist/components/steppers/RuiStepperIcon.vue.d.ts +1 -1
  39. package/dist/components/tables/RuiDataTable.vue.d.ts +2 -32
  40. package/dist/components/tables/RuiExpandButton.vue.d.ts +5 -10
  41. package/dist/components/tables/RuiTableHead.vue.d.ts +14 -8
  42. package/dist/components/tables/RuiTablePagination.vue.d.ts +1 -1
  43. package/dist/components/tabs/tab/RuiTab.vue.d.ts +9 -19
  44. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +8 -12
  45. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +2 -2
  46. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +1 -1
  47. package/dist/components/time-picker/RuiTimePicker.vue.d.ts +18 -0
  48. package/dist/composables/dropdown-menu.d.ts +2 -2
  49. package/dist/composables/{index-DKotjeCA.js → index-DOuH9rdn.js} +12 -12
  50. package/dist/composables/index.es.js +1 -1
  51. package/dist/consts/time-accuracy-BnKA5GyT.js +8 -0
  52. package/dist/consts/time-accuracy.d.ts +6 -0
  53. package/dist/icons/icons_1.d.ts +500 -500
  54. package/dist/icons/icons_1.es.js +1884 -1884
  55. package/dist/icons/icons_2.d.ts +500 -500
  56. package/dist/icons/icons_2.es.js +1868 -1868
  57. package/dist/icons/icons_3.d.ts +500 -500
  58. package/dist/icons/icons_3.es.js +1862 -1862
  59. package/dist/icons/icons_4.d.ts +137 -500
  60. package/dist/icons/icons_4.es.js +497 -1949
  61. package/dist/icons/index.d.ts +1 -7
  62. package/dist/icons/index.es.js +1644 -4665
  63. package/dist/index.es.js +1703 -4722
  64. package/dist/style.css +1 -1
  65. package/dist/utils/{index-Bi6PqW7j.js → index-CxHG7aHQ.js} +1 -1
  66. package/dist/{vendor-ClNuDbHx.js → vendor-BeEprDAU.js} +1288 -1288
  67. package/dist/web-types.json +416 -101
  68. package/package.json +48 -47
  69. package/dist/icons/icons_10.d.ts +0 -153
  70. package/dist/icons/icons_10.es.js +0 -611
  71. package/dist/icons/icons_5.d.ts +0 -501
  72. package/dist/icons/icons_5.es.js +0 -2003
  73. package/dist/icons/icons_6.d.ts +0 -501
  74. package/dist/icons/icons_6.es.js +0 -2003
  75. package/dist/icons/icons_7.d.ts +0 -501
  76. package/dist/icons/icons_7.es.js +0 -2003
  77. package/dist/icons/icons_8.d.ts +0 -501
  78. package/dist/icons/icons_8.es.js +0 -2003
  79. package/dist/icons/icons_9.d.ts +0 -501
  80. package/dist/icons/icons_9.es.js +0 -2003
@@ -5,20 +5,14 @@ export interface AccordionProps {
5
5
  headerClass?: string;
6
6
  contentClass?: string;
7
7
  }
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- header?(_: {
12
- open: boolean;
13
- }): any;
14
- default?(_: {}): any;
15
- };
16
- refs: {
17
- inner: HTMLDivElement;
18
- };
19
- rootEl: any;
8
+ declare var __VLS_1: {
9
+ open: boolean;
10
+ }, __VLS_6: {};
11
+ type __VLS_Slots = {} & {
12
+ header?: (props: typeof __VLS_1) => any;
13
+ } & {
14
+ default?: (props: typeof __VLS_6) => any;
20
15
  };
21
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
16
  declare const __VLS_component: import("vue").DefineComponent<AccordionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
23
17
  click: () => any;
24
18
  }, string, import("vue").PublicProps, Readonly<AccordionProps> & Readonly<{
@@ -30,9 +24,9 @@ declare const __VLS_component: import("vue").DefineComponent<AccordionProps, {},
30
24
  headerClass: string;
31
25
  contentClass: string;
32
26
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
34
28
  export default _default;
35
- type __VLS_WithTemplateSlots<T, S> = T & {
29
+ type __VLS_WithSlots<T, S> = T & {
36
30
  new (): {
37
31
  $slots: S;
38
32
  };
@@ -9,16 +9,12 @@ export interface Props {
9
9
  actionText?: string;
10
10
  closeable?: boolean;
11
11
  }
12
- declare function __VLS_template(): {
13
- attrs: Partial<{}>;
14
- slots: {
15
- title?(_: {}): any;
16
- default?(_: {}): any;
17
- };
18
- refs: {};
19
- rootEl: any;
12
+ declare var __VLS_4: {}, __VLS_6: {};
13
+ type __VLS_Slots = {} & {
14
+ title?: (props: typeof __VLS_4) => any;
15
+ } & {
16
+ default?: (props: typeof __VLS_6) => any;
20
17
  };
21
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
18
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
23
19
  close: () => any;
24
20
  action: () => any;
@@ -34,9 +30,9 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
34
30
  actionText: string;
35
31
  closeable: boolean;
36
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
38
34
  export default _default;
39
- type __VLS_WithTemplateSlots<T, S> = T & {
35
+ type __VLS_WithSlots<T, S> = T & {
40
36
  new (): {
41
37
  $slots: S;
42
38
  };
@@ -16,13 +16,15 @@ export interface Props<T = undefined> {
16
16
  declare const _default: <T = undefined>(__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<{
17
17
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
18
18
  readonly "onUpdate:model-value"?: ((value?: T | undefined) => any) | undefined;
19
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:model-value"> & Partial<{}> & Props<T>> & import("vue").PublicProps;
19
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:model-value"> & Props<T> & Partial<{}>> & import("vue").PublicProps;
20
20
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
21
21
  attrs: any;
22
22
  slots: {
23
- prepend?(_: {}): any;
24
- default?(_: {}): any;
25
- append?(_: {}): any;
23
+ prepend?: (props: {}) => any;
24
+ } & {
25
+ default?: (props: {}) => any;
26
+ } & {
27
+ append?: (props: {}) => any;
26
28
  };
27
29
  emit: (e: "update:model-value", value?: T) => void;
28
30
  }>) => import("vue").VNode & {
@@ -13,7 +13,7 @@ export interface Props<T = undefined> {
13
13
  declare const _default: <T = undefined>(__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<{
14
14
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
15
15
  readonly "onUpdate:modelValue"?: ((modelValue?: T | T[] | undefined) => any) | undefined;
16
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & Partial<{}> & Props<T>> & import("vue").PublicProps;
16
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & Props<T> & Partial<{}>> & import("vue").PublicProps;
17
17
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
18
18
  attrs: any;
19
19
  slots: {};
@@ -0,0 +1,30 @@
1
+ export interface CalendarProps {
2
+ maxDate?: Date | number;
3
+ minDate?: Date | number;
4
+ allowEmpty?: boolean;
5
+ borderless?: boolean;
6
+ }
7
+ type __VLS_Props = CalendarProps;
8
+ declare function move(date: Date | number): void;
9
+ type __VLS_PublicProps = __VLS_Props & {
10
+ modelValue?: Date | undefined;
11
+ };
12
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
13
+ move: typeof move;
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "update:modelValue": (value: Date | undefined) => any;
16
+ "update:pages": (args_0: {
17
+ title: string;
18
+ }[]) => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: Date | undefined) => any) | undefined;
21
+ "onUpdate:pages"?: ((args_0: {
22
+ title: string;
23
+ }[]) => any) | undefined;
24
+ }>, {
25
+ maxDate: Date | number;
26
+ minDate: Date | number;
27
+ allowEmpty: boolean;
28
+ borderless: boolean;
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ export default _default;
@@ -0,0 +1,13 @@
1
+ type __VLS_Props = {
2
+ viewMonth: number;
3
+ viewYear: number;
4
+ };
5
+ type __VLS_PublicProps = __VLS_Props & {
6
+ modelValue?: Date | undefined;
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (value: Date | undefined) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: Date | undefined) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { type MonthYearSelection } from '../../components/calendar/state';
2
+ type __VLS_Props = {
3
+ title: string;
4
+ viewMonth: number;
5
+ viewYear: number;
6
+ };
7
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "prev-month": () => any;
9
+ "next-month": () => any;
10
+ "select-month": (args_0: MonthYearSelection) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onPrev-month"?: (() => any) | undefined;
13
+ "onNext-month"?: (() => any) | undefined;
14
+ "onSelect-month"?: ((args_0: MonthYearSelection) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { type MonthYearSelection } from '../../components/calendar/state';
2
+ type __VLS_Props = {
3
+ anchorEl: HTMLElement | undefined;
4
+ viewMonth: number;
5
+ viewYear: number;
6
+ };
7
+ type __VLS_PublicProps = __VLS_Props & {
8
+ modelValue?: boolean;
9
+ };
10
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ select: (args_0: MonthYearSelection) => any;
12
+ "update:modelValue": (value: boolean | undefined) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ onSelect?: ((args_0: MonthYearSelection) => any) | undefined;
15
+ "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import type { ComputedRef, InjectionKey, Ref } from 'vue';
2
+ export declare const CalendarStateSymbol: InjectionKey<RuiCalendarState>;
3
+ export interface RuiCalendarState {
4
+ viewMonth: Ref<number>;
5
+ viewYear: Ref<number>;
6
+ selectedDate: Ref<Date | undefined>;
7
+ maxDate: ComputedRef<Date | undefined>;
8
+ minDate: ComputedRef<Date | undefined>;
9
+ isDark: ComputedRef<boolean>;
10
+ allowEmpty: boolean;
11
+ }
12
+ export interface MonthYearSelection {
13
+ month: number;
14
+ year: number;
15
+ }
16
+ export declare function getDaysOfWeek(locale?: Intl.LocalesArgument, format?: 'narrow' | 'short'): string[];
17
+ export declare function getShortMonthNames(locale?: Intl.LocalesArgument): string[];
@@ -7,21 +7,22 @@ export interface Props {
7
7
  noPadding?: boolean;
8
8
  contentClass?: string;
9
9
  }
10
- declare function __VLS_template(): {
11
- attrs: Partial<{}>;
12
- slots: {
13
- image?(_: {}): any;
14
- "custom-header"?(_: {}): any;
15
- prepend?(_: {}): any;
16
- header?(_: {}): any;
17
- subheader?(_: {}): any;
18
- default?(_: {}): any;
19
- footer?(_: {}): any;
20
- };
21
- refs: {};
22
- rootEl: any;
10
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_8: {}, __VLS_10: {}, __VLS_12: {}, __VLS_14: {}, __VLS_16: {};
11
+ type __VLS_Slots = {} & {
12
+ image?: (props: typeof __VLS_1) => any;
13
+ } & {
14
+ 'custom-header'?: (props: typeof __VLS_3) => any;
15
+ } & {
16
+ prepend?: (props: typeof __VLS_8) => any;
17
+ } & {
18
+ header?: (props: typeof __VLS_10) => any;
19
+ } & {
20
+ subheader?: (props: typeof __VLS_12) => any;
21
+ } & {
22
+ default?: (props: typeof __VLS_14) => any;
23
+ } & {
24
+ footer?: (props: typeof __VLS_16) => any;
23
25
  };
24
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
26
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
26
27
  variant: "flat" | "outlined";
27
28
  rounded: "sm" | "md" | "lg";
@@ -31,9 +32,9 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
31
32
  divide: boolean;
32
33
  noPadding: boolean;
33
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
35
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
35
36
  export default _default;
36
- type __VLS_WithTemplateSlots<T, S> = T & {
37
+ type __VLS_WithSlots<T, S> = T & {
37
38
  new (): {
38
39
  $slots: S;
39
40
  };
@@ -1,23 +1,20 @@
1
1
  export interface Props {
2
2
  dense?: boolean;
3
3
  }
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- prepend?(_: {}): any;
8
- header?(_: {}): any;
9
- subheader?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: any;
4
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
5
+ type __VLS_Slots = {} & {
6
+ prepend?: (props: typeof __VLS_1) => any;
7
+ } & {
8
+ header?: (props: typeof __VLS_3) => any;
9
+ } & {
10
+ subheader?: (props: typeof __VLS_5) => any;
13
11
  };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
12
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
16
13
  dense: boolean;
17
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
16
  export default _default;
20
- type __VLS_WithTemplateSlots<T, S> = T & {
17
+ type __VLS_WithSlots<T, S> = T & {
21
18
  new (): {
22
19
  $slots: S;
23
20
  };
@@ -12,16 +12,12 @@ export interface Props {
12
12
  bgColor?: string;
13
13
  textColor?: string;
14
14
  }
15
- declare function __VLS_template(): {
16
- attrs: Partial<{}>;
17
- slots: {
18
- prepend?(_: {}): any;
19
- default?(_: {}): any;
20
- };
21
- refs: {};
22
- rootEl: any;
15
+ declare var __VLS_1: {}, __VLS_3: {};
16
+ type __VLS_Slots = {} & {
17
+ prepend?: (props: typeof __VLS_1) => any;
18
+ } & {
19
+ default?: (props: typeof __VLS_3) => any;
23
20
  };
24
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
21
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
26
22
  click: (e: any) => any;
27
23
  "click:close": () => any;
@@ -40,9 +36,9 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
40
36
  bgColor: string;
41
37
  textColor: string;
42
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
43
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
44
40
  export default _default;
45
- type __VLS_WithTemplateSlots<T, S> = T & {
41
+ type __VLS_WithSlots<T, S> = T & {
46
42
  new (): {
47
43
  $slots: S;
48
44
  };
@@ -37,18 +37,18 @@ export interface AutoCompleteProps<TValue, TItem> {
37
37
  declare const _default: <TValue, TItem>(__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<{
38
38
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
39
39
  readonly "onUpdate:modelValue"?: ((value: AutoCompleteModelValue<TValue>) => any) | undefined;
40
- readonly "onUpdate:searchInput"?: ((value: string) => any) | undefined;
41
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:searchInput"> & Partial<{}> & ({
40
+ readonly "onUpdate:searchInput"?: ((value: string | undefined) => any) | undefined;
41
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:searchInput"> & (AutoCompleteProps<TValue, TItem> & {
42
42
  modelValue: AutoCompleteModelValue<TValue>;
43
43
  searchInput?: string;
44
- } & AutoCompleteProps<TValue, TItem>)> & import("vue").PublicProps;
44
+ }) & Partial<{}>> & import("vue").PublicProps;
45
45
  expose(exposed: import("vue").ShallowUnwrapRef<{
46
46
  focus: () => Promise<void>;
47
47
  setSelectionRange: (start: number, end: number) => void;
48
48
  }>): void;
49
49
  attrs: any;
50
50
  slots: {
51
- activator?(_: {
51
+ activator?: (props: {
52
52
  disabled: boolean & import("@vue/reactivity").DistributeRef<[(Readonly<{
53
53
  labelClass: string;
54
54
  menuClass: string;
@@ -309,23 +309,28 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
309
309
  open: boolean;
310
310
  hasError: boolean;
311
311
  hasSuccess: boolean;
312
- }): any;
313
- "activator.label"?(_: {
312
+ }) => any;
313
+ } & {
314
+ 'activator.label'?: (props: {
314
315
  value: TItem[];
315
- }): any;
316
- "selection.prepend"?(_: {
316
+ }) => any;
317
+ } & {
318
+ 'selection.prepend'?: (props: {
317
319
  item: TItem;
318
320
  index: number;
319
- }): any;
320
- "selection.prepend"?(_: {
321
+ }) => any;
322
+ } & {
323
+ selection?: (props: {
321
324
  item: TItem;
322
325
  index: number;
323
- }): any;
324
- selection?(_: {
326
+ }) => any;
327
+ } & {
328
+ 'selection.prepend'?: (props: {
325
329
  item: TItem;
326
330
  index: number;
327
- }): any;
328
- selection?(_: {
331
+ }) => any;
332
+ } & {
333
+ selection?: (props: {
329
334
  item: TItem;
330
335
  chipAttrs: {
331
336
  'data-index': number;
@@ -335,8 +340,9 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
335
340
  'onClick:close': () => void;
336
341
  };
337
342
  index: number;
338
- }): any;
339
- "item.prepend"?(_: {
343
+ }) => any;
344
+ } & {
345
+ 'item.prepend'?: (props: {
340
346
  disabled: boolean & import("@vue/reactivity").DistributeRef<[(Readonly<{
341
347
  labelClass: string;
342
348
  menuClass: string;
@@ -584,8 +590,9 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
584
590
  }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]>>;
585
591
  item: TItem;
586
592
  active: boolean;
587
- }): any;
588
- item?(_: {
593
+ }) => any;
594
+ } & {
595
+ item?: (props: {
589
596
  disabled: boolean & import("@vue/reactivity").DistributeRef<[(Readonly<{
590
597
  labelClass: string;
591
598
  menuClass: string;
@@ -833,8 +840,9 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
833
840
  }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]>>;
834
841
  item: TItem;
835
842
  active: boolean;
836
- }): any;
837
- "item.append"?(_: {
843
+ }) => any;
844
+ } & {
845
+ 'item.append'?: (props: {
838
846
  disabled: boolean & import("@vue/reactivity").DistributeRef<[(Readonly<{
839
847
  labelClass: string;
840
848
  menuClass: string;
@@ -1082,10 +1090,11 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
1082
1090
  }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]>>;
1083
1091
  item: TItem;
1084
1092
  active: boolean;
1085
- }): any;
1086
- "no-data"?(_: {}): any;
1093
+ }) => any;
1094
+ } & {
1095
+ 'no-data'?: (props: {}) => any;
1087
1096
  };
1088
- emit: ((evt: "update:modelValue", value: AutoCompleteModelValue<TValue>) => void) & ((evt: "update:searchInput", value: string) => void);
1097
+ emit: ((evt: "update:modelValue", value: AutoCompleteModelValue<TValue>) => void) & ((evt: "update:searchInput", value: string | undefined) => void);
1089
1098
  }>) => import("vue").VNode & {
1090
1099
  __ctx?: Awaited<typeof __VLS_setup>;
1091
1100
  };
@@ -11,17 +11,10 @@ export interface Props {
11
11
  successMessages?: string | string[];
12
12
  hideDetails?: boolean;
13
13
  }
14
- declare function __VLS_template(): {
15
- attrs: Partial<{}>;
16
- slots: {
17
- default?(_: {}): any;
18
- };
19
- refs: {
20
- el: HTMLInputElement;
21
- };
22
- rootEl: any;
14
+ declare var __VLS_10: {};
15
+ type __VLS_Slots = {} & {
16
+ default?: (props: typeof __VLS_10) => any;
23
17
  };
24
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
18
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
26
19
  "update:modelValue": (modelValue: boolean) => any;
27
20
  "update:indeterminate": (indeterminate: boolean) => any;
@@ -40,9 +33,9 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
40
33
  hint: string;
41
34
  hideDetails: boolean;
42
35
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
43
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
44
37
  export default _default;
45
- type __VLS_WithTemplateSlots<T, S> = T & {
38
+ type __VLS_WithSlots<T, S> = T & {
46
39
  new (): {
47
40
  $slots: S;
48
41
  };
@@ -12,16 +12,16 @@ export interface RadioProps<TValue> {
12
12
  }
13
13
  declare const _default: <TValue>(__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<{
14
14
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
15
- readonly "onUpdate:modelValue"?: ((value: TValue) => any) | undefined;
16
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & Partial<{}> & ({
15
+ readonly "onUpdate:modelValue"?: ((value: TValue | undefined) => any) | undefined;
16
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & (RadioProps<TValue> & {
17
17
  modelValue?: TValue;
18
- } & RadioProps<TValue>)> & import("vue").PublicProps;
18
+ }) & Partial<{}>> & import("vue").PublicProps;
19
19
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
20
20
  attrs: any;
21
21
  slots: {
22
- default?(_: {}): any;
22
+ default?: (props: {}) => any;
23
23
  };
24
- emit: (evt: "update:modelValue", value: TValue) => void;
24
+ emit: (evt: "update:modelValue", value: TValue | undefined) => void;
25
25
  }>) => import("vue").VNode & {
26
26
  __ctx?: Awaited<typeof __VLS_setup>;
27
27
  };
@@ -12,14 +12,14 @@ export interface Props {
12
12
  }
13
13
  declare const _default: <TValue>(__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<{
14
14
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
15
- readonly "onUpdate:modelValue"?: ((value: TValue) => any) | undefined;
16
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & Partial<{}> & ({
15
+ readonly "onUpdate:modelValue"?: ((value: TValue | undefined) => any) | undefined;
16
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & (Props & {
17
17
  modelValue?: TValue;
18
- } & Props)> & import("vue").PublicProps;
18
+ }) & Partial<{}>> & import("vue").PublicProps;
19
19
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
20
20
  attrs: any;
21
21
  slots: {};
22
- emit: (evt: "update:modelValue", value: TValue) => void;
22
+ emit: (evt: "update:modelValue", value: TValue | undefined) => void;
23
23
  }>) => import("vue").VNode & {
24
24
  __ctx?: Awaited<typeof __VLS_setup>;
25
25
  };
@@ -2,19 +2,15 @@ import { type TextFieldProps } from '../../../components/forms/text-field/RuiTex
2
2
  export interface Props extends TextFieldProps {
3
3
  }
4
4
  type __VLS_Props = Props;
5
- type __VLS_PublicProps = {
5
+ type __VLS_PublicProps = __VLS_Props & {
6
6
  modelValue: string;
7
- } & __VLS_Props;
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- prepend?(_: {}): any;
12
- append?(_: {}): any;
13
- };
14
- refs: {};
15
- rootEl: any;
16
7
  };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
8
+ declare var __VLS_5: {}, __VLS_17: {};
9
+ type __VLS_Slots = {} & {
10
+ prepend?: (props: typeof __VLS_5) => any;
11
+ } & {
12
+ append?: (props: typeof __VLS_17) => any;
13
+ };
18
14
  declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
15
  "update:modelValue": (value: string) => any;
20
16
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -32,14 +28,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
32
28
  placeholder: string;
33
29
  dense: boolean;
34
30
  textColor: import("../../..").ContextColorsType;
35
- as: string | object;
36
31
  prependIcon: import("../../..").RuiIcons;
37
32
  appendIcon: import("../../..").RuiIcons;
38
33
  clearable: boolean;
39
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
35
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
41
36
  export default _default;
42
- type __VLS_WithTemplateSlots<T, S> = T & {
37
+ type __VLS_WithSlots<T, S> = T & {
43
38
  new (): {
44
39
  $slots: S;
45
40
  };
@@ -29,13 +29,13 @@ export interface Props<TValue, TItem> {
29
29
  declare const _default: <TValue, TItem>(__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<{
30
30
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
31
31
  readonly "onUpdate:modelValue"?: ((value: TValue | undefined) => any) | undefined;
32
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & Partial<{}> & ({
32
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & (Props<TValue, TItem> & {
33
33
  modelValue: TValue | undefined;
34
- } & Props<TValue, TItem>)> & import("vue").PublicProps;
34
+ }) & Partial<{}>> & import("vue").PublicProps;
35
35
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
36
36
  attrs: any;
37
37
  slots: {
38
- activator?(_: {
38
+ activator?: (props: {
39
39
  disabled: boolean;
40
40
  value: TItem | undefined;
41
41
  variant: "default" | "outlined" | "filled";
@@ -52,32 +52,39 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
52
52
  open: boolean;
53
53
  hasError: boolean;
54
54
  hasSuccess: boolean;
55
- }): any;
56
- "activator.label"?(_: {
55
+ }) => any;
56
+ } & {
57
+ 'activator.label'?: (props: {
57
58
  value: TItem | undefined;
58
- }): any;
59
- "selection.prepend"?(_: {
59
+ }) => any;
60
+ } & {
61
+ 'selection.prepend'?: (props: {
60
62
  item: NonNullable<TItem>;
61
- }): any;
62
- selection?(_: {
63
+ }) => any;
64
+ } & {
65
+ selection?: (props: {
63
66
  item: NonNullable<TItem>;
64
- }): any;
65
- "item.prepend"?(_: {
67
+ }) => any;
68
+ } & {
69
+ 'item.prepend'?: (props: {
66
70
  disabled: boolean;
67
71
  item: TItem;
68
72
  active: boolean;
69
- }): any;
70
- item?(_: {
73
+ }) => any;
74
+ } & {
75
+ item?: (props: {
71
76
  disabled: boolean;
72
77
  item: TItem;
73
78
  active: boolean;
74
- }): any;
75
- "item.append"?(_: {
79
+ }) => any;
80
+ } & {
81
+ 'item.append'?: (props: {
76
82
  disabled: boolean;
77
83
  item: TItem;
78
84
  active: boolean;
79
- }): any;
80
- "no-data"?(_: {}): any;
85
+ }) => any;
86
+ } & {
87
+ 'no-data'?: (props: {}) => any;
81
88
  };
82
89
  emit: (evt: "update:modelValue", value: TValue | undefined) => void;
83
90
  }>) => import("vue").VNode & {