@rotki/ui-library 1.3.0 → 1.5.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 (71) hide show
  1. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +17 -39
  2. package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +5 -28
  3. package/dist/components/alerts/RuiAlert.vue.d.ts +15 -44
  4. package/dist/components/buttons/button/RuiButton.vue.d.ts +8 -10
  5. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +7 -9
  6. package/dist/components/cards/RuiCard.vue.d.ts +15 -41
  7. package/dist/components/cards/RuiCardHeader.vue.d.ts +11 -27
  8. package/dist/components/chips/RuiChip.vue.d.ts +14 -48
  9. package/dist/components/color-picker/RuiColorBoard.vue.d.ts +6 -15
  10. package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +3 -12
  11. package/dist/components/color-picker/RuiColorHue.vue.d.ts +4 -13
  12. package/dist/components/color-picker/RuiColorInput.vue.d.ts +4 -13
  13. package/dist/components/color-picker/RuiColorPicker.vue.d.ts +5 -26
  14. package/dist/components/divider/RuiDivider.vue.d.ts +2 -23
  15. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +264 -20
  16. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +15 -47
  17. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +10 -10
  18. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +9 -9
  19. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +18 -58
  20. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +10 -10
  21. package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +5 -30
  22. package/dist/components/forms/slider/RuiSlider.vue.d.ts +5 -60
  23. package/dist/components/forms/switch/RuiSwitch.vue.d.ts +12 -44
  24. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +20 -68
  25. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +24 -64
  26. package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +4 -29
  27. package/dist/components/icons/RuiIcon.vue.d.ts +2 -25
  28. package/dist/components/index.es.js +5946 -42
  29. package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +2 -23
  30. package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +2 -25
  31. package/dist/components/logos/RuiLogo.vue.d.ts +2 -31
  32. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +12 -48
  33. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +9 -27
  34. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +24 -48
  35. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +32 -73
  36. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +26 -54
  37. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +12 -30
  38. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +17 -44
  39. package/dist/components/progress/RuiProgress.vue.d.ts +2 -37
  40. package/dist/components/steppers/RuiFooterStepper.vue.d.ts +5 -32
  41. package/dist/components/steppers/RuiStepper.vue.d.ts +14 -40
  42. package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +4 -25
  43. package/dist/components/steppers/RuiStepperIcon.vue.d.ts +4 -25
  44. package/dist/components/tables/RuiDataTable.vue.d.ts +15 -24
  45. package/dist/components/tables/RuiExpandButton.vue.d.ts +9 -25
  46. package/dist/components/tables/RuiTableHead.vue.d.ts +9 -15
  47. package/dist/components/tables/RuiTablePagination.vue.d.ts +5 -30
  48. package/dist/components/tabs/tab/RuiTab.vue.d.ts +21 -59
  49. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +10 -32
  50. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +9 -9
  51. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +7 -36
  52. package/dist/composables/dropdown-menu.d.ts +2 -2
  53. package/dist/composables/icons.d.ts +10 -4
  54. package/dist/composables/index--ZwAZVMb.js +482 -0
  55. package/dist/composables/index.es.js +4 -5
  56. package/dist/composables/popper.d.ts +6 -6
  57. package/dist/composables/sticky-header.d.ts +3 -3
  58. package/dist/index.d.ts +1 -0
  59. package/dist/index.es.js +2917 -2916
  60. package/dist/style.css +1 -1
  61. package/dist/theme/index.es.js +1 -1
  62. package/dist/types/index-DSBIGM2a.js +39 -0
  63. package/dist/utils/generate-id.d.ts +1 -1
  64. package/dist/utils/index-Cps3W0wA.js +108 -0
  65. package/dist/vendor-BRFX1hnB.js +1626 -0
  66. package/dist/web-types.json +584 -620
  67. package/package.json +33 -33
  68. package/dist/RuiNavigationDrawer-DGs1QHIz.js +0 -7951
  69. package/dist/breakpoint-sPlgsoXp.js +0 -37
  70. package/dist/index-DIN-6VhY.js +0 -154
  71. /package/dist/{colors-D563Ic3q.js → consts/colors-D563Ic3q.js} +0 -0
@@ -10,34 +10,24 @@ export interface Props {
10
10
  tooltipClass?: string;
11
11
  }
12
12
  declare function __VLS_template(): {
13
- activator?(_: {
14
- open: boolean;
15
- close: (immediate?: boolean) => void;
16
- }): any;
17
- default?(_: {}): any;
13
+ slots: {
14
+ activator?(_: {
15
+ open: boolean;
16
+ close: (immediate?: boolean) => void;
17
+ }): any;
18
+ default?(_: {}): any;
19
+ };
20
+ refs: {
21
+ activator: HTMLDivElement;
22
+ tooltip: HTMLDivElement;
23
+ };
24
+ attrs: Partial<{}>;
18
25
  };
19
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
20
- text: null;
21
- disabled: boolean;
22
- hideArrow: boolean;
23
- openDelay: number;
24
- closeDelay: number;
25
- persistOnTooltipHover: boolean;
26
- popper: () => {};
27
- tooltipClass: string;
28
- }>, {
26
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
+ declare const __VLS_component: import("vue").DefineComponent<Props, {
29
28
  onOpen: (immediate?: boolean) => void;
30
29
  onClose: (immediate?: boolean) => void;
31
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
32
- text: null;
33
- disabled: boolean;
34
- hideArrow: boolean;
35
- openDelay: number;
36
- closeDelay: number;
37
- persistOnTooltipHover: boolean;
38
- popper: () => {};
39
- tooltipClass: string;
40
- }>>>, {
30
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
41
31
  text: string | null;
42
32
  disabled: boolean;
43
33
  openDelay: number;
@@ -46,28 +36,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
46
36
  hideArrow: boolean;
47
37
  persistOnTooltipHover: boolean;
48
38
  tooltipClass: string;
49
- }, {}>;
50
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
51
41
  export default _default;
52
- type __VLS_WithDefaults<P, D> = {
53
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
- default: D[K];
55
- }> : P[K];
56
- };
57
- type __VLS_Prettify<T> = {
58
- [K in keyof T]: T[K];
59
- } & {};
60
42
  type __VLS_WithTemplateSlots<T, S> = T & {
61
43
  new (): {
62
44
  $slots: S;
63
45
  };
64
46
  };
65
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
66
- type __VLS_TypePropsToOption<T> = {
67
- [K in keyof T]-?: {} extends Pick<T, K> ? {
68
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
69
- } : {
70
- type: import('vue').PropType<T[K]>;
71
- required: true;
72
- };
73
- };
@@ -23,25 +23,7 @@ export interface Props {
23
23
  */
24
24
  size?: number | string;
25
25
  }
26
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
27
- value: number;
28
- bufferValue: number;
29
- variant: string;
30
- color: string;
31
- circular: boolean;
32
- showLabel: boolean;
33
- thickness: number;
34
- size: number;
35
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
36
- value: number;
37
- bufferValue: number;
38
- variant: string;
39
- color: string;
40
- circular: boolean;
41
- showLabel: boolean;
42
- thickness: number;
43
- size: number;
44
- }>>>, {
26
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
45
27
  size: number | string;
46
28
  value: number;
47
29
  color: ContextColorsType | "inherit";
@@ -50,22 +32,5 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
50
32
  circular: boolean;
51
33
  showLabel: boolean;
52
34
  thickness: number | string;
53
- }, {}>;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
54
36
  export default _default;
55
- type __VLS_WithDefaults<P, D> = {
56
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
57
- default: D[K];
58
- }> : P[K];
59
- };
60
- type __VLS_Prettify<T> = {
61
- [K in keyof T]: T[K];
62
- } & {};
63
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
64
- type __VLS_TypePropsToOption<T> = {
65
- [K in keyof T]-?: {} extends Pick<T, K> ? {
66
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
67
- } : {
68
- type: import('vue').PropType<T[K]>;
69
- required: true;
70
- };
71
- };
@@ -5,41 +5,14 @@ export interface Props {
5
5
  arrowButtons?: boolean;
6
6
  hideButtons?: boolean;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
- modelValue: number;
10
- variant: string;
11
- arrowButtons: boolean;
12
- hideButtons: boolean;
13
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- "update:modelValue": (modelValue: number) => void;
15
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
16
- modelValue: number;
17
- variant: string;
18
- arrowButtons: boolean;
19
- hideButtons: boolean;
20
- }>>> & {
8
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ "update:modelValue": (modelValue: number) => any;
10
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
21
11
  "onUpdate:modelValue"?: ((modelValue: number) => any) | undefined;
22
- }, {
12
+ }>, {
23
13
  variant: "numeric" | "bullet" | "progress" | "pill";
24
14
  modelValue: number;
25
15
  arrowButtons: boolean;
26
16
  hideButtons: boolean;
27
- }, {}>;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
18
  export default _default;
29
- type __VLS_WithDefaults<P, D> = {
30
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
- default: D[K];
32
- }> : P[K];
33
- };
34
- type __VLS_Prettify<T> = {
35
- [K in keyof T]: T[K];
36
- } & {};
37
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
- type __VLS_TypePropsToOption<T> = {
39
- [K in keyof T]-?: {} extends Pick<T, K> ? {
40
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
41
- } : {
42
- type: import('vue').PropType<T[K]>;
43
- required: true;
44
- };
45
- };
@@ -10,28 +10,19 @@ export interface Props {
10
10
  keepActiveVisible?: boolean;
11
11
  }
12
12
  declare function __VLS_template(): {
13
- icon?(_: {
14
- state: StepperState | undefined;
15
- index: number;
16
- }): any;
13
+ slots: {
14
+ icon?(_: {
15
+ state: StepperState | undefined;
16
+ index: number;
17
+ }): any;
18
+ };
19
+ refs: {
20
+ wrapperRef: HTMLDivElement;
21
+ };
22
+ attrs: Partial<{}>;
17
23
  };
18
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
19
- step: undefined;
20
- iconTop: boolean;
21
- custom: boolean;
22
- titleClass: string;
23
- subtitleClass: string;
24
- orientation: "horizontal";
25
- keepActiveVisible: boolean;
26
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
27
- step: undefined;
28
- iconTop: boolean;
29
- custom: boolean;
30
- titleClass: string;
31
- subtitleClass: string;
32
- orientation: "horizontal";
33
- keepActiveVisible: boolean;
34
- }>>>, {
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
35
26
  step: number;
36
27
  iconTop: boolean;
37
28
  custom: boolean;
@@ -39,28 +30,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
39
30
  subtitleClass: string;
40
31
  orientation: StepperOrientation;
41
32
  keepActiveVisible: boolean;
42
- }, {}>;
43
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
44
35
  export default _default;
45
- type __VLS_WithDefaults<P, D> = {
46
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
47
- default: D[K];
48
- }> : P[K];
49
- };
50
- type __VLS_Prettify<T> = {
51
- [K in keyof T]: T[K];
52
- } & {};
53
36
  type __VLS_WithTemplateSlots<T, S> = T & {
54
37
  new (): {
55
38
  $slots: S;
56
39
  };
57
40
  };
58
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
59
- type __VLS_TypePropsToOption<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
- };
@@ -1,32 +1,11 @@
1
1
  import { StepperState } from '../../types/stepper';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ declare const _default: import("vue").DefineComponent<{
3
3
  state?: StepperState;
4
4
  index: number;
5
- }>, {
6
- state: "inactive";
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
8
6
  state?: StepperState;
9
7
  index: number;
10
- }>, {
11
- state: "inactive";
12
- }>>>, {
8
+ }> & Readonly<{}>, {
13
9
  state: StepperState;
14
- }, {}>;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
11
  export default _default;
16
- type __VLS_WithDefaults<P, D> = {
17
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
18
- default: D[K];
19
- }> : P[K];
20
- };
21
- type __VLS_Prettify<T> = {
22
- [K in keyof T]: T[K];
23
- } & {};
24
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
- type __VLS_TypePropsToOption<T> = {
26
- [K in keyof T]-?: {} extends Pick<T, K> ? {
27
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
- } : {
29
- type: import('vue').PropType<T[K]>;
30
- required: true;
31
- };
32
- };
@@ -1,32 +1,11 @@
1
1
  import { StepperState } from '../../types/stepper';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ declare const _default: import("vue").DefineComponent<{
3
3
  state?: StepperState;
4
4
  index: number;
5
- }>, {
6
- state: "inactive";
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
8
6
  state?: StepperState;
9
7
  index: number;
10
- }>, {
11
- state: "inactive";
12
- }>>>, {
8
+ }> & Readonly<{}>, {
13
9
  state: StepperState;
14
- }, {}>;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
11
  export default _default;
16
- type __VLS_WithDefaults<P, D> = {
17
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
18
- default: D[K];
19
- }> : P[K];
20
- };
21
- type __VLS_Prettify<T> = {
22
- [K in keyof T]: T[K];
23
- } & {};
24
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
- type __VLS_TypePropsToOption<T> = {
26
- [K in keyof T]-?: {} extends Pick<T, K> ? {
27
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
- } : {
29
- type: import('vue').PropType<T[K]>;
30
- required: true;
31
- };
32
- };
@@ -141,29 +141,20 @@ export interface Props<T, K extends keyof T> {
141
141
  scroller?: HTMLElement | null;
142
142
  itemClass?: ((item: T) => string) | string;
143
143
  }
144
- declare const _default: <T extends object, IdType extends keyof T = keyof T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
145
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
146
- "onUpdate:model-value"?: ((value?: T[IdType][] | undefined) => any) | undefined;
147
- "onUpdate:expanded"?: ((value: T[]) => any) | undefined;
148
- "onUpdate:pagination"?: ((value: TablePaginationData) => any) | undefined;
149
- "onUpdate:sort"?: ((value?: TableSortData<T>) => any) | undefined;
150
- "onUpdate:options"?: ((value: TableOptions<T>) => any) | undefined;
151
- "onUpdate:group"?: ((value?: GroupKeys<T>) => any) | undefined;
152
- "onUpdate:collapsed"?: ((value?: T[] | undefined) => any) | undefined;
153
- "onCopy:group"?: ((value: GroupData<T>) => any) | undefined;
154
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{}>> & {
155
- "onUpdate:model-value"?: ((value?: T[IdType][] | undefined) => any) | undefined;
156
- "onUpdate:expanded"?: ((value: T[]) => any) | undefined;
157
- "onUpdate:pagination"?: ((value: TablePaginationData) => any) | undefined;
158
- "onUpdate:sort"?: ((value?: TableSortData<T>) => any) | undefined;
159
- "onUpdate:options"?: ((value: TableOptions<T>) => any) | undefined;
160
- "onUpdate:group"?: ((value?: GroupKeys<T>) => any) | undefined;
161
- "onUpdate:collapsed"?: ((value?: T[] | undefined) => any) | undefined;
162
- "onCopy:group"?: ((value: GroupData<T>) => any) | undefined;
163
- }, never>, "onUpdate:model-value" | "onUpdate:expanded" | "onUpdate:pagination" | "onUpdate:sort" | "onUpdate:options" | "onUpdate:group" | "onUpdate:collapsed" | "onCopy:group"> & Props<T, IdType>> & import("vue").PublicProps;
144
+ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__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<{
145
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
146
+ readonly "onUpdate:model-value"?: ((value?: T[IdType][] | undefined) => any) | undefined;
147
+ readonly "onUpdate:expanded"?: ((value: T[]) => any) | undefined;
148
+ readonly "onUpdate:pagination"?: ((value: TablePaginationData) => any) | undefined;
149
+ readonly "onUpdate:sort"?: ((value?: TableSortData<T>) => any) | undefined;
150
+ readonly "onUpdate:options"?: ((value: TableOptions<T>) => any) | undefined;
151
+ readonly "onUpdate:group"?: ((value?: GroupKeys<T>) => any) | undefined;
152
+ readonly "onUpdate:collapsed"?: ((value?: T[] | undefined) => any) | undefined;
153
+ readonly "onCopy:group"?: ((value: GroupData<T>) => any) | undefined;
154
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:model-value" | "onUpdate:expanded" | "onUpdate:pagination" | "onUpdate:sort" | "onUpdate:options" | "onUpdate:group" | "onUpdate:collapsed" | "onCopy:group"> & Props<T, IdType>> & import("vue").PublicProps;
164
155
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
165
156
  attrs: any;
166
- slots: ReturnType<() => Readonly<Partial<Record<`header.${string}`, (props: {
157
+ slots: Readonly<Partial<Record<`header.${string}`, (props: {
167
158
  column: TableColumn<T>;
168
159
  }) => any> & Record<`item.${string}`, (props: {
169
160
  column: TableColumn<T>;
@@ -223,7 +214,7 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
223
214
  'no-data': () => any;
224
215
  'empty-description': () => any;
225
216
  tfoot: () => any;
226
- }>>;
217
+ }>;
227
218
  emit: {
228
219
  (e: "update:model-value", value?: T[IdType][]): void;
229
220
  (e: "update:expanded", value: T[]): void;
@@ -233,13 +224,13 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
233
224
  (e: "update:group", value?: GroupKeys<T>): void;
234
225
  (e: "update:collapsed", value?: T[]): void;
235
226
  (e: "copy:group", value: GroupData<T>): void;
236
- } & {};
227
+ };
237
228
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
238
229
  [key: string]: any;
239
230
  }> & {
240
231
  __ctx?: Awaited<typeof __VLS_setup>;
241
232
  };
242
233
  export default _default;
243
- type __VLS_Prettify<T> = {
234
+ type __VLS_PrettifyLocal<T> = {
244
235
  [K in keyof T]: T[K];
245
236
  } & {};
@@ -4,36 +4,20 @@ export interface Props {
4
4
  icon?: RuiIcons;
5
5
  }
6
6
  declare function __VLS_template(): {
7
- default?(_: {}): any;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ attrs: Partial<{}>;
8
12
  };
9
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
10
- icon: string;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
12
- icon: string;
13
- }>>>, {
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
14
15
  icon: RuiIcons;
15
- }, {}>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
18
  export default _default;
18
- type __VLS_WithDefaults<P, D> = {
19
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
20
- default: D[K];
21
- }> : P[K];
22
- };
23
- type __VLS_Prettify<T> = {
24
- [K in keyof T]: T[K];
25
- } & {};
26
19
  type __VLS_WithTemplateSlots<T, S> = T & {
27
20
  new (): {
28
21
  $slots: S;
29
22
  };
30
23
  };
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
@@ -65,42 +65,36 @@ export interface Props<T> {
65
65
  columnAttr: keyof TableColumn<T>;
66
66
  dataId?: string;
67
67
  }
68
- declare const _default: <T extends object, K extends keyof T = keyof T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
69
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
70
- onSort?: ((value: {
68
+ declare const _default: <T extends object, K extends keyof T = keyof T>(__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<{
69
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
70
+ readonly onSort?: ((value: {
71
71
  key: TableRowKey<T>;
72
72
  direction?: "asc" | "desc";
73
73
  }) => any) | undefined;
74
- "onSelect:all"?: ((value: boolean) => any) | undefined;
75
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{}>> & {
76
- onSort?: ((value: {
77
- key: TableRowKey<T>;
78
- direction?: "asc" | "desc";
79
- }) => any) | undefined;
80
- "onSelect:all"?: ((value: boolean) => any) | undefined;
81
- }, never>, "onSort" | "onSelect:all"> & Props<T>> & import("vue").PublicProps;
74
+ readonly "onSelect:all"?: ((value: boolean) => any) | undefined;
75
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onSort" | "onSelect:all"> & Props<T>> & import("vue").PublicProps;
82
76
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
83
77
  attrs: any;
84
- slots: ReturnType<() => Partial<Record<`header.${string}`, (_: {
78
+ slots: Partial<Record<`header.${string}`, (_: {
85
79
  column: TableColumn<T>;
86
80
  }) => any>> & Partial<Record<`header.text.${string}`, (_: {
87
81
  column: SortableTableColumn<T>;
88
82
  }) => any>> & Partial<Record<`header.text.${string}`, (_: {
89
83
  column: NoneSortableTableColumn<T>;
90
- }) => any>>>;
84
+ }) => any>>;
91
85
  emit: {
92
86
  (e: "select:all", value: boolean): void;
93
87
  (e: "sort", value: {
94
88
  key: TableRowKey<T>;
95
89
  direction?: "asc" | "desc";
96
90
  }): void;
97
- } & {};
91
+ };
98
92
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
99
93
  [key: string]: any;
100
94
  }> & {
101
95
  __ctx?: Awaited<typeof __VLS_setup>;
102
96
  };
103
97
  export default _default;
104
- type __VLS_Prettify<T> = {
98
+ type __VLS_PrettifyLocal<T> = {
105
99
  [K in keyof T]: T[K];
106
100
  } & {};
@@ -10,38 +10,13 @@ export interface Props {
10
10
  disablePerPage?: boolean;
11
11
  loading?: boolean;
12
12
  }
13
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
14
- dense: boolean;
15
- loading: boolean;
16
- disablePerPage: boolean;
17
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
- "update:model-value": (value: TablePaginationData) => void;
19
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
20
- dense: boolean;
21
- loading: boolean;
22
- disablePerPage: boolean;
23
- }>>> & {
13
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
+ "update:model-value": (value: TablePaginationData) => any;
15
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
24
16
  "onUpdate:model-value"?: ((value: TablePaginationData) => any) | undefined;
25
- }, {
17
+ }>, {
26
18
  loading: boolean;
27
19
  dense: boolean;
28
20
  disablePerPage: boolean;
29
- }, {}>;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
22
  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
- 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
- };
@@ -14,49 +14,27 @@ export interface Props {
14
14
  exactPath?: boolean;
15
15
  vertical?: boolean;
16
16
  align?: 'start' | 'center' | 'end';
17
+ indicatorPosition?: 'start' | 'end';
17
18
  }
18
- declare function __VLS_template(): Readonly<{
19
- default?: (props?: object) => any;
20
- prepend?: (props?: object) => any;
21
- append?: (props?: object) => any;
22
- }> & {
23
- default?: (props?: object) => any;
24
- prepend?: (props?: object) => any;
25
- append?: (props?: object) => any;
19
+ declare function __VLS_template(): {
20
+ slots: Readonly<{
21
+ default?: (props?: object) => any;
22
+ prepend?: (props?: object) => any;
23
+ append?: (props?: object) => any;
24
+ }> & {
25
+ default?: (props?: object) => any;
26
+ prepend?: (props?: object) => any;
27
+ append?: (props?: object) => any;
28
+ };
29
+ refs: {};
30
+ attrs: Partial<{}>;
26
31
  };
27
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
28
- color: undefined;
29
- disabled: boolean;
30
- grow: boolean;
31
- value: string;
32
- active: boolean;
33
- activeClass: string;
34
- link: boolean;
35
- to: string;
36
- target: string;
37
- exact: boolean;
38
- exactPath: boolean;
39
- vertical: boolean;
40
- align: string;
41
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
42
- click: (value: string | number) => void;
43
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
44
- color: undefined;
45
- disabled: boolean;
46
- grow: boolean;
47
- value: string;
48
- active: boolean;
49
- activeClass: string;
50
- link: boolean;
51
- to: string;
52
- target: string;
53
- exact: boolean;
54
- exactPath: boolean;
55
- vertical: boolean;
56
- align: string;
57
- }>>> & {
32
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
34
+ click: (value: string | number) => any;
35
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
58
36
  onClick?: ((value: string | number) => any) | undefined;
59
- }, {
37
+ }>, {
60
38
  active: boolean;
61
39
  vertical: boolean;
62
40
  link: boolean;
@@ -70,28 +48,12 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
70
48
  grow: boolean;
71
49
  activeClass: string;
72
50
  exactPath: boolean;
73
- }, {}>;
74
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
51
+ indicatorPosition: "start" | "end";
52
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
53
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
75
54
  export default _default;
76
- type __VLS_WithDefaults<P, D> = {
77
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
78
- default: D[K];
79
- }> : P[K];
80
- };
81
- type __VLS_Prettify<T> = {
82
- [K in keyof T]: T[K];
83
- } & {};
84
55
  type __VLS_WithTemplateSlots<T, S> = T & {
85
56
  new (): {
86
57
  $slots: S;
87
58
  };
88
59
  };
89
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
90
- type __VLS_TypePropsToOption<T> = {
91
- [K in keyof T]-?: {} extends Pick<T, K> ? {
92
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
93
- } : {
94
- type: import('vue').PropType<T[K]>;
95
- required: true;
96
- };
97
- };