@rotki/ui-library 1.2.8 → 1.4.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 (62) hide show
  1. package/dist/RuiNavigationDrawer-Boq-RcMw.js +7959 -0
  2. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +26 -19
  3. package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +9 -9
  4. package/dist/components/alerts/RuiAlert.vue.d.ts +23 -19
  5. package/dist/components/buttons/button/RuiButton.vue.d.ts +8 -10
  6. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +7 -9
  7. package/dist/components/cards/RuiCard.vue.d.ts +26 -21
  8. package/dist/components/cards/RuiCardHeader.vue.d.ts +22 -17
  9. package/dist/components/chips/RuiChip.vue.d.ts +22 -17
  10. package/dist/components/color-picker/RuiColorBoard.vue.d.ts +4 -4
  11. package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +3 -3
  12. package/dist/components/color-picker/RuiColorHue.vue.d.ts +3 -3
  13. package/dist/components/color-picker/RuiColorInput.vue.d.ts +3 -3
  14. package/dist/components/color-picker/RuiColorPicker.vue.d.ts +9 -9
  15. package/dist/components/divider/RuiDivider.vue.d.ts +8 -8
  16. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +260 -19
  17. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +23 -16
  18. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +7 -9
  19. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +6 -8
  20. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +29 -18
  21. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +7 -9
  22. package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +9 -9
  23. package/dist/components/forms/slider/RuiSlider.vue.d.ts +10 -10
  24. package/dist/components/forms/switch/RuiSwitch.vue.d.ts +21 -16
  25. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +28 -18
  26. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +29 -19
  27. package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +8 -8
  28. package/dist/components/icons/RuiIcon.vue.d.ts +8 -8
  29. package/dist/components/index.es.js +1 -1
  30. package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +8 -8
  31. package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +8 -8
  32. package/dist/components/logos/RuiLogo.vue.d.ts +8 -8
  33. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +23 -18
  34. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +20 -15
  35. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +32 -25
  36. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +41 -33
  37. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +34 -27
  38. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +21 -16
  39. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +28 -20
  40. package/dist/components/progress/RuiProgress.vue.d.ts +8 -8
  41. package/dist/components/steppers/RuiFooterStepper.vue.d.ts +9 -9
  42. package/dist/components/steppers/RuiStepper.vue.d.ts +25 -18
  43. package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +8 -8
  44. package/dist/components/steppers/RuiStepperIcon.vue.d.ts +8 -8
  45. package/dist/components/tables/RuiDataTable.vue.d.ts +20 -25
  46. package/dist/components/tables/RuiExpandButton.vue.d.ts +20 -15
  47. package/dist/components/tables/RuiTableHead.vue.d.ts +9 -15
  48. package/dist/components/tables/RuiTablePagination.vue.d.ts +9 -9
  49. package/dist/components/tabs/tab/RuiTab.vue.d.ts +28 -23
  50. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +21 -16
  51. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +6 -8
  52. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +9 -9
  53. package/dist/composables/dropdown-menu.d.ts +2 -2
  54. package/dist/composables/icons.d.ts +1 -1
  55. package/dist/composables/popper.d.ts +6 -6
  56. package/dist/composables/sticky-header.d.ts +3 -3
  57. package/dist/index.es.js +2 -2
  58. package/dist/style.css +1 -1
  59. package/dist/utils/generate-id.d.ts +1 -1
  60. package/dist/web-types.json +84 -51
  61. package/package.json +33 -33
  62. package/dist/RuiNavigationDrawer-BILenGNB.js +0 -7948
@@ -10,12 +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>, {
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
19
26
  step: undefined;
20
27
  iconTop: boolean;
21
28
  custom: boolean;
@@ -23,7 +30,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
23
30
  subtitleClass: string;
24
31
  orientation: "horizontal";
25
32
  keepActiveVisible: boolean;
26
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
33
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
27
34
  step: undefined;
28
35
  iconTop: boolean;
29
36
  custom: boolean;
@@ -31,7 +38,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
31
38
  subtitleClass: string;
32
39
  orientation: "horizontal";
33
40
  keepActiveVisible: boolean;
34
- }>>>, {
41
+ }>>> & Readonly<{}>, {
35
42
  step: number;
36
43
  iconTop: boolean;
37
44
  custom: boolean;
@@ -39,22 +46,14 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
39
46
  subtitleClass: string;
40
47
  orientation: StepperOrientation;
41
48
  keepActiveVisible: boolean;
42
- }, {}>;
43
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
49
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
50
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
44
51
  export default _default;
45
52
  type __VLS_WithDefaults<P, D> = {
46
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
53
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
47
54
  default: D[K];
48
55
  }> : P[K];
49
56
  };
50
- type __VLS_Prettify<T> = {
51
- [K in keyof T]: T[K];
52
- } & {};
53
- type __VLS_WithTemplateSlots<T, S> = T & {
54
- new (): {
55
- $slots: S;
56
- };
57
- };
58
57
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
59
58
  type __VLS_TypePropsToOption<T> = {
60
59
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -64,3 +63,11 @@ type __VLS_TypePropsToOption<T> = {
64
63
  required: true;
65
64
  };
66
65
  };
66
+ type __VLS_WithTemplateSlots<T, S> = T & {
67
+ new (): {
68
+ $slots: S;
69
+ };
70
+ };
71
+ type __VLS_PrettifyLocal<T> = {
72
+ [K in keyof T]: T[K];
73
+ } & {};
@@ -1,26 +1,23 @@
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<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
3
  state?: StepperState;
4
4
  index: number;
5
5
  }>, {
6
6
  state: "inactive";
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
7
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
8
8
  state?: StepperState;
9
9
  index: number;
10
10
  }>, {
11
11
  state: "inactive";
12
- }>>>, {
12
+ }>>> & Readonly<{}>, {
13
13
  state: StepperState;
14
- }, {}>;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
15
  export default _default;
16
16
  type __VLS_WithDefaults<P, D> = {
17
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
17
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
18
18
  default: D[K];
19
19
  }> : P[K];
20
20
  };
21
- type __VLS_Prettify<T> = {
22
- [K in keyof T]: T[K];
23
- } & {};
24
21
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
22
  type __VLS_TypePropsToOption<T> = {
26
23
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -30,3 +27,6 @@ type __VLS_TypePropsToOption<T> = {
30
27
  required: true;
31
28
  };
32
29
  };
30
+ type __VLS_PrettifyLocal<T> = {
31
+ [K in keyof T]: T[K];
32
+ } & {};
@@ -1,26 +1,23 @@
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<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
3
  state?: StepperState;
4
4
  index: number;
5
5
  }>, {
6
6
  state: "inactive";
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
7
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
8
8
  state?: StepperState;
9
9
  index: number;
10
10
  }>, {
11
11
  state: "inactive";
12
- }>>>, {
12
+ }>>> & Readonly<{}>, {
13
13
  state: StepperState;
14
- }, {}>;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
15
  export default _default;
16
16
  type __VLS_WithDefaults<P, D> = {
17
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
17
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
18
18
  default: D[K];
19
19
  }> : P[K];
20
20
  };
21
- type __VLS_Prettify<T> = {
22
- [K in keyof T]: T[K];
23
- } & {};
24
21
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
22
  type __VLS_TypePropsToOption<T> = {
26
23
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -30,3 +27,6 @@ type __VLS_TypePropsToOption<T> = {
30
27
  required: true;
31
28
  };
32
29
  };
30
+ type __VLS_PrettifyLocal<T> = {
31
+ [K in keyof T]: T[K];
32
+ } & {};
@@ -100,7 +100,11 @@ export interface Props<T, K extends keyof T> {
100
100
  description?: string;
101
101
  };
102
102
  /**
103
- * should hide the footer
103
+ * should hide the header navigation
104
+ */
105
+ hideDefaultHeader?: boolean;
106
+ /**
107
+ * should hide the footer navigation
104
108
  */
105
109
  hideDefaultFooter?: boolean;
106
110
  rounded?: 'sm' | 'md' | 'lg';
@@ -137,29 +141,20 @@ export interface Props<T, K extends keyof T> {
137
141
  scroller?: HTMLElement | null;
138
142
  itemClass?: ((item: T) => string) | string;
139
143
  }
140
- 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<{
141
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
142
- "onUpdate:model-value"?: ((value?: T[IdType][] | undefined) => any) | undefined;
143
- "onUpdate:expanded"?: ((value: T[]) => any) | undefined;
144
- "onUpdate:pagination"?: ((value: TablePaginationData) => any) | undefined;
145
- "onUpdate:sort"?: ((value?: TableSortData<T>) => any) | undefined;
146
- "onUpdate:options"?: ((value: TableOptions<T>) => any) | undefined;
147
- "onUpdate:group"?: ((value?: GroupKeys<T>) => any) | undefined;
148
- "onUpdate:collapsed"?: ((value?: T[] | undefined) => any) | undefined;
149
- "onCopy:group"?: ((value: GroupData<T>) => any) | undefined;
150
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{}>> & {
151
- "onUpdate:model-value"?: ((value?: T[IdType][] | undefined) => any) | undefined;
152
- "onUpdate:expanded"?: ((value: T[]) => any) | undefined;
153
- "onUpdate:pagination"?: ((value: TablePaginationData) => any) | undefined;
154
- "onUpdate:sort"?: ((value?: TableSortData<T>) => any) | undefined;
155
- "onUpdate:options"?: ((value: TableOptions<T>) => any) | undefined;
156
- "onUpdate:group"?: ((value?: GroupKeys<T>) => any) | undefined;
157
- "onUpdate:collapsed"?: ((value?: T[] | undefined) => any) | undefined;
158
- "onCopy:group"?: ((value: GroupData<T>) => any) | undefined;
159
- }, 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;
160
155
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
161
156
  attrs: any;
162
- slots: ReturnType<() => Readonly<Partial<Record<`header.${string}`, (props: {
157
+ slots: Readonly<Partial<Record<`header.${string}`, (props: {
163
158
  column: TableColumn<T>;
164
159
  }) => any> & Record<`item.${string}`, (props: {
165
160
  column: TableColumn<T>;
@@ -219,7 +214,7 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
219
214
  'no-data': () => any;
220
215
  'empty-description': () => any;
221
216
  tfoot: () => any;
222
- }>>;
217
+ }>;
223
218
  emit: {
224
219
  (e: "update:model-value", value?: T[IdType][]): void;
225
220
  (e: "update:expanded", value: T[]): void;
@@ -229,13 +224,13 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
229
224
  (e: "update:group", value?: GroupKeys<T>): void;
230
225
  (e: "update:collapsed", value?: T[]): void;
231
226
  (e: "copy:group", value: GroupData<T>): void;
232
- } & {};
227
+ };
233
228
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
234
229
  [key: string]: any;
235
230
  }> & {
236
231
  __ctx?: Awaited<typeof __VLS_setup>;
237
232
  };
238
233
  export default _default;
239
- type __VLS_Prettify<T> = {
234
+ type __VLS_PrettifyLocal<T> = {
240
235
  [K in keyof T]: T[K];
241
236
  } & {};
@@ -4,30 +4,27 @@ 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>, {
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
10
15
  icon: string;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
16
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
12
17
  icon: string;
13
- }>>>, {
18
+ }>>> & Readonly<{}>, {
14
19
  icon: RuiIcons;
15
- }, {}>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
22
  export default _default;
18
23
  type __VLS_WithDefaults<P, D> = {
19
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
20
25
  default: D[K];
21
26
  }> : P[K];
22
27
  };
23
- type __VLS_Prettify<T> = {
24
- [K in keyof T]: T[K];
25
- } & {};
26
- type __VLS_WithTemplateSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
31
28
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
29
  type __VLS_TypePropsToOption<T> = {
33
30
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -37,3 +34,11 @@ type __VLS_TypePropsToOption<T> = {
37
34
  required: true;
38
35
  };
39
36
  };
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
42
+ type __VLS_PrettifyLocal<T> = {
43
+ [K in keyof T]: T[K];
44
+ } & {};
@@ -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,32 +10,29 @@ 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>, {
13
+ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
14
14
  dense: boolean;
15
15
  loading: boolean;
16
16
  disablePerPage: boolean;
17
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
18
  "update:model-value": (value: TablePaginationData) => void;
19
19
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
20
20
  dense: boolean;
21
21
  loading: boolean;
22
22
  disablePerPage: boolean;
23
- }>>> & {
23
+ }>>> & Readonly<{
24
24
  "onUpdate:model-value"?: ((value: TablePaginationData) => any) | undefined;
25
- }, {
25
+ }>, {
26
26
  loading: boolean;
27
27
  dense: boolean;
28
28
  disablePerPage: boolean;
29
- }, {}>;
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
30
30
  export default _default;
31
31
  type __VLS_WithDefaults<P, D> = {
32
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
33
33
  default: D[K];
34
34
  }> : P[K];
35
35
  };
36
- type __VLS_Prettify<T> = {
37
- [K in keyof T]: T[K];
38
- } & {};
39
36
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
37
  type __VLS_TypePropsToOption<T> = {
41
38
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -45,3 +42,6 @@ type __VLS_TypePropsToOption<T> = {
45
42
  required: true;
46
43
  };
47
44
  };
45
+ type __VLS_PrettifyLocal<T> = {
46
+ [K in keyof T]: T[K];
47
+ } & {};
@@ -15,16 +15,21 @@ export interface Props {
15
15
  vertical?: boolean;
16
16
  align?: 'start' | 'center' | 'end';
17
17
  }
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;
18
+ declare function __VLS_template(): {
19
+ slots: Readonly<{
20
+ default?: (props?: object) => any;
21
+ prepend?: (props?: object) => any;
22
+ append?: (props?: object) => any;
23
+ }> & {
24
+ default?: (props?: object) => any;
25
+ prepend?: (props?: object) => any;
26
+ append?: (props?: object) => any;
27
+ };
28
+ refs: {};
29
+ attrs: Partial<{}>;
26
30
  };
27
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
31
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
32
+ declare const __VLS_component: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
28
33
  color: undefined;
29
34
  disabled: boolean;
30
35
  grow: boolean;
@@ -38,7 +43,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
38
43
  exactPath: boolean;
39
44
  vertical: boolean;
40
45
  align: string;
41
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
46
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
42
47
  click: (value: string | number) => void;
43
48
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
44
49
  color: undefined;
@@ -54,9 +59,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
54
59
  exactPath: boolean;
55
60
  vertical: boolean;
56
61
  align: string;
57
- }>>> & {
62
+ }>>> & Readonly<{
58
63
  onClick?: ((value: string | number) => any) | undefined;
59
- }, {
64
+ }>, {
60
65
  active: boolean;
61
66
  vertical: boolean;
62
67
  link: boolean;
@@ -70,22 +75,14 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
70
75
  grow: boolean;
71
76
  activeClass: string;
72
77
  exactPath: boolean;
73
- }, {}>;
74
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
78
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
79
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
75
80
  export default _default;
76
81
  type __VLS_WithDefaults<P, D> = {
77
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
82
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
78
83
  default: D[K];
79
84
  }> : P[K];
80
85
  };
81
- type __VLS_Prettify<T> = {
82
- [K in keyof T]: T[K];
83
- } & {};
84
- type __VLS_WithTemplateSlots<T, S> = T & {
85
- new (): {
86
- $slots: S;
87
- };
88
- };
89
86
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
90
87
  type __VLS_TypePropsToOption<T> = {
91
88
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -95,3 +92,11 @@ type __VLS_TypePropsToOption<T> = {
95
92
  required: true;
96
93
  };
97
94
  };
95
+ type __VLS_WithTemplateSlots<T, S> = T & {
96
+ new (): {
97
+ $slots: S;
98
+ };
99
+ };
100
+ type __VLS_PrettifyLocal<T> = {
101
+ [K in keyof T]: T[K];
102
+ } & {};
@@ -5,40 +5,37 @@ export interface Props {
5
5
  reverse?: boolean;
6
6
  }
7
7
  declare function __VLS_template(): {
8
- default?(_: {}): any;
9
- default?(_: {}): any;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ default?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ attrs: Partial<{}>;
10
14
  };
11
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
12
17
  value: undefined;
13
18
  eager: boolean;
14
19
  active: boolean;
15
20
  reverse: boolean;
16
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
21
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
17
22
  value: undefined;
18
23
  eager: boolean;
19
24
  active: boolean;
20
25
  reverse: boolean;
21
- }>>>, {
26
+ }>>> & Readonly<{}>, {
22
27
  reverse: boolean;
23
28
  active: boolean;
24
29
  value: number | string;
25
30
  eager: boolean;
26
- }, {}>;
27
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
31
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
33
  export default _default;
29
34
  type __VLS_WithDefaults<P, D> = {
30
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
35
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
31
36
  default: D[K];
32
37
  }> : P[K];
33
38
  };
34
- type __VLS_Prettify<T> = {
35
- [K in keyof T]: T[K];
36
- } & {};
37
- type __VLS_WithTemplateSlots<T, S> = T & {
38
- new (): {
39
- $slots: S;
40
- };
41
- };
42
39
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
40
  type __VLS_TypePropsToOption<T> = {
44
41
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -48,3 +45,11 @@ type __VLS_TypePropsToOption<T> = {
48
45
  required: true;
49
46
  };
50
47
  };
48
+ type __VLS_WithTemplateSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
53
+ type __VLS_PrettifyLocal<T> = {
54
+ [K in keyof T]: T[K];
55
+ } & {};
@@ -1,17 +1,15 @@
1
1
  export interface Props<T> {
2
2
  modelValue?: T;
3
3
  }
4
- declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
6
- "onUpdate:modelValue"?: ((modelValue: T | undefined) => any) | undefined;
7
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{}>> & {
8
- "onUpdate:modelValue"?: ((modelValue: T | undefined) => any) | undefined;
9
- }, never>, "onUpdate:modelValue"> & {
4
+ declare const _default: <T extends string | 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<{
5
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
+ readonly "onUpdate:modelValue"?: ((modelValue: T | undefined) => any) | undefined;
7
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & {
10
8
  modelValue?: Props<T>["modelValue"];
11
9
  }> & import("vue").PublicProps;
12
10
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
13
11
  attrs: any;
14
- slots: ReturnType<() => {}>;
12
+ slots: {};
15
13
  emit: (evt: "update:modelValue", modelValue: T | undefined) => void;
16
14
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
15
  [key: string]: any;
@@ -19,6 +17,6 @@ declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awa
19
17
  __ctx?: Awaited<typeof __VLS_setup>;
20
18
  };
21
19
  export default _default;
22
- type __VLS_Prettify<T> = {
20
+ type __VLS_PrettifyLocal<T> = {
23
21
  [K in keyof T]: T[K];
24
22
  } & {};
@@ -7,14 +7,14 @@ export interface Props {
7
7
  modelValue?: number | string;
8
8
  align?: 'start' | 'center' | 'end';
9
9
  }
10
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
10
+ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
11
11
  color: undefined;
12
12
  vertical: boolean;
13
13
  disabled: boolean;
14
14
  grow: boolean;
15
15
  modelValue: undefined;
16
16
  align: string;
17
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
18
  "update:modelValue": (modelValue: string | number) => void;
19
19
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
20
20
  color: undefined;
@@ -23,25 +23,22 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
23
23
  grow: boolean;
24
24
  modelValue: undefined;
25
25
  align: string;
26
- }>>> & {
26
+ }>>> & Readonly<{
27
27
  "onUpdate:modelValue"?: ((modelValue: string | number) => any) | undefined;
28
- }, {
28
+ }>, {
29
29
  vertical: boolean;
30
30
  color: ContextColorsType;
31
31
  disabled: boolean;
32
32
  modelValue: number | string;
33
33
  align: "start" | "center" | "end";
34
34
  grow: boolean;
35
- }, {}>;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
36
36
  export default _default;
37
37
  type __VLS_WithDefaults<P, D> = {
38
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
39
39
  default: D[K];
40
40
  }> : P[K];
41
41
  };
42
- type __VLS_Prettify<T> = {
43
- [K in keyof T]: T[K];
44
- } & {};
45
42
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
46
43
  type __VLS_TypePropsToOption<T> = {
47
44
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -51,3 +48,6 @@ type __VLS_TypePropsToOption<T> = {
51
48
  required: true;
52
49
  };
53
50
  };
51
+ type __VLS_PrettifyLocal<T> = {
52
+ [K in keyof T]: T[K];
53
+ } & {};
@@ -35,9 +35,9 @@ export declare function useDropdownMenu<TValue, TItem>({ appendWidth, autoFocus,
35
35
  };
36
36
  getIdentifier: (item: TItem) => TItem | TItem[KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>];
37
37
  getText: (item: TItem) => string | undefined;
38
- highlightedIndex: Ref<number>;
38
+ highlightedIndex: Ref<number, number>;
39
39
  isActiveItem: (item: TItem) => boolean;
40
- isOpen: Ref<boolean>;
40
+ isOpen: Ref<boolean, boolean>;
41
41
  itemIndexInValue: (item: TItem) => number;
42
42
  menuWidth: globalThis.ComputedRef<string>;
43
43
  moveHighlight: (up: boolean) => void;