@rotki/ui-library 0.13.0 → 0.15.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 (54) hide show
  1. package/dist/Accordion-BFcz_iFc.js +8386 -0
  2. package/dist/breakpoint-CRvqq4aP.js +37 -0
  3. package/dist/components/accordions/accordion/Accordion.vue.d.ts +71 -0
  4. package/dist/components/accordions/accordions/Accordions.vue.d.ts +31 -0
  5. package/dist/components/alerts/Alert.vue.d.ts +10 -10
  6. package/dist/components/buttons/button/Button.vue.d.ts +4 -4
  7. package/dist/components/buttons/button-group/ButtonGroup.vue.d.ts +3 -3
  8. package/dist/components/cards/Card.vue.d.ts +3 -3
  9. package/dist/components/chips/Chip.vue.d.ts +18 -18
  10. package/dist/components/forms/auto-complete/AutoComplete.vue.d.ts +58 -172
  11. package/dist/components/forms/auto-complete/AutoCompleteSelection.vue.d.ts +26 -77
  12. package/dist/components/forms/checkbox/Checkbox.vue.d.ts +18 -18
  13. package/dist/components/forms/radio-button/radio/Radio.vue.d.ts +18 -18
  14. package/dist/components/forms/radio-button/radio-group/RadioGroup.vue.d.ts +18 -18
  15. package/dist/components/forms/revealable-text-field/RevealableTextField.vue.d.ts +9 -9
  16. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +155 -0
  17. package/dist/components/forms/slider/Slider.vue.d.ts +192 -0
  18. package/dist/components/forms/switch/Switch.vue.d.ts +18 -18
  19. package/dist/components/forms/text-area/TextArea.vue.d.ts +9 -9
  20. package/dist/components/forms/text-field/TextField.vue.d.ts +9 -9
  21. package/dist/components/icons/Icon.vue.d.ts +6 -6
  22. package/dist/components/index.d.ts +6 -1
  23. package/dist/components/index.es.js +38 -42
  24. package/dist/components/loaders/Skeleton.vue.d.ts +6 -6
  25. package/dist/components/loaders/SkeletonBase.vue.d.ts +3 -3
  26. package/dist/components/logos/Logo.vue.d.ts +42 -4
  27. package/dist/components/overlays/badge/Badge.vue.d.ts +15 -15
  28. package/dist/components/overlays/dialog/Dialog.vue.d.ts +8 -8
  29. package/dist/components/overlays/menu/Menu.vue.d.ts +191 -0
  30. package/dist/components/progress/Progress.vue.d.ts +6 -6
  31. package/dist/components/tables/DataTable.vue.d.ts +13 -8
  32. package/dist/components/tables/TableHead.vue.d.ts +15 -3
  33. package/dist/components/tables/TablePagination.vue.d.ts +10 -0
  34. package/dist/components/tabs/tab/Tab.vue.d.ts +28 -28
  35. package/dist/components/tabs/tabs/Tabs.vue.d.ts +9 -9
  36. package/dist/composables/defaults/table.d.ts +1 -0
  37. package/dist/composables/dropdown-menu.d.ts +40 -0
  38. package/dist/composables/forms/auto-complete/index.d.ts +9 -0
  39. package/dist/composables/index.es.js +5 -85
  40. package/dist/composables/popper.d.ts +2 -2
  41. package/dist/composables/sticky-header.d.ts +5 -5
  42. package/dist/consts/forms/auto-complete/index.d.ts +4 -0
  43. package/dist/index-x2urm9HD.js +176 -0
  44. package/dist/index.d.ts +1 -1
  45. package/dist/index.es.js +2787 -2786
  46. package/dist/style.css +1 -1
  47. package/dist/theme/index.es.js +1 -1
  48. package/dist/utils/assert.d.ts +1 -0
  49. package/dist/utils/forms/auto-complete/index.d.ts +2 -0
  50. package/dist/utils/helpers.d.ts +7 -0
  51. package/package.json +46 -48
  52. package/dist/index-Ph4f0pga.js +0 -7435
  53. package/dist/theme-DT8UjYf9.js +0 -124
  54. /package/dist/{colors-ikihApJv.js → colors-D563Ic3q.js} +0 -0
@@ -14,20 +14,20 @@ export interface Props {
14
14
  color?: 'default' | ContextColorsType;
15
15
  }
16
16
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
17
- color: {
18
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success" | "default">;
19
- default: string;
20
- };
21
17
  size: {
22
- type: globalThis.PropType<"sm" | "lg" | "md">;
18
+ type: globalThis.PropType<"sm" | "md" | "lg">;
23
19
  default: string;
24
20
  };
25
21
  text: {
26
22
  type: globalThis.PropType<string | null>;
27
23
  default: null;
28
24
  };
25
+ color: {
26
+ type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success" | "default">;
27
+ default: string;
28
+ };
29
29
  rounded: {
30
- type: globalThis.PropType<"sm" | "lg" | "md" | "full">;
30
+ type: globalThis.PropType<"sm" | "md" | "lg" | "full">;
31
31
  default: string;
32
32
  };
33
33
  icon: {
@@ -59,20 +59,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
59
59
  default: number;
60
60
  };
61
61
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
62
- color: {
63
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success" | "default">;
64
- default: string;
65
- };
66
62
  size: {
67
- type: globalThis.PropType<"sm" | "lg" | "md">;
63
+ type: globalThis.PropType<"sm" | "md" | "lg">;
68
64
  default: string;
69
65
  };
70
66
  text: {
71
67
  type: globalThis.PropType<string | null>;
72
68
  default: null;
73
69
  };
70
+ color: {
71
+ type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success" | "default">;
72
+ default: string;
73
+ };
74
74
  rounded: {
75
- type: globalThis.PropType<"sm" | "lg" | "md" | "full">;
75
+ type: globalThis.PropType<"sm" | "md" | "lg" | "full">;
76
76
  default: string;
77
77
  };
78
78
  icon: {
@@ -104,10 +104,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
104
104
  default: number;
105
105
  };
106
106
  }>>, {
107
- color: "primary" | "secondary" | "error" | "warning" | "info" | "success" | "default";
108
- size: "sm" | "lg" | "md";
107
+ size: "sm" | "md" | "lg";
109
108
  text: string | null;
110
- rounded: "sm" | "lg" | "md" | "full";
109
+ color: "primary" | "secondary" | "error" | "warning" | "info" | "success" | "default";
110
+ rounded: "sm" | "md" | "lg" | "full";
111
111
  icon: RuiIcons | null;
112
112
  modelValue: boolean;
113
113
  left: boolean;
@@ -6,18 +6,18 @@ export interface Props {
6
6
  }
7
7
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
8
8
  size: {
9
- type: globalThis.PropType<"sm" | "lg" | "md">;
9
+ type: globalThis.PropType<"sm" | "md" | "lg">;
10
10
  default: string;
11
11
  };
12
12
  modelValue: {
13
13
  type: globalThis.PropType<boolean>;
14
14
  required: true;
15
15
  };
16
- dismissible: {
16
+ persistent: {
17
17
  type: globalThis.PropType<boolean>;
18
18
  default: boolean;
19
19
  };
20
- persistent: {
20
+ dismissible: {
21
21
  type: globalThis.PropType<boolean>;
22
22
  default: boolean;
23
23
  };
@@ -25,27 +25,27 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
25
25
  "update:model-value": (modelValue: boolean) => void;
26
26
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
27
27
  size: {
28
- type: globalThis.PropType<"sm" | "lg" | "md">;
28
+ type: globalThis.PropType<"sm" | "md" | "lg">;
29
29
  default: string;
30
30
  };
31
31
  modelValue: {
32
32
  type: globalThis.PropType<boolean>;
33
33
  required: true;
34
34
  };
35
- dismissible: {
35
+ persistent: {
36
36
  type: globalThis.PropType<boolean>;
37
37
  default: boolean;
38
38
  };
39
- persistent: {
39
+ dismissible: {
40
40
  type: globalThis.PropType<boolean>;
41
41
  default: boolean;
42
42
  };
43
43
  }>> & {
44
44
  "onUpdate:model-value"?: ((modelValue: boolean) => any) | undefined;
45
45
  }, {
46
- size: "sm" | "lg" | "md";
47
- dismissible: boolean;
46
+ size: "sm" | "md" | "lg";
48
47
  persistent: boolean;
48
+ dismissible: boolean;
49
49
  }, {}>, {
50
50
  description?(_: {}): any;
51
51
  title?(_: {}): any;
@@ -0,0 +1,191 @@
1
+ import { type PopperOptions } from '../../../composables/popper';
2
+ export interface MenuProps {
3
+ modelValue?: boolean;
4
+ openOnHover?: boolean;
5
+ fullWidth?: boolean;
6
+ disabled?: boolean;
7
+ openDelay?: number;
8
+ closeDelay?: number;
9
+ popper?: PopperOptions;
10
+ wrapperClass?: string;
11
+ menuClass?: string;
12
+ closeOnContentClick?: boolean;
13
+ hint?: string;
14
+ errorMessages?: string | string[];
15
+ successMessages?: string | string[];
16
+ showDetails?: boolean;
17
+ dense?: boolean;
18
+ persistent?: boolean;
19
+ }
20
+ declare function checkClick(): void;
21
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
22
+ disabled: {
23
+ type: globalThis.PropType<boolean>;
24
+ default: boolean;
25
+ };
26
+ modelValue: {
27
+ type: globalThis.PropType<boolean>;
28
+ default: boolean;
29
+ };
30
+ errorMessages: {
31
+ type: globalThis.PropType<string | string[]>;
32
+ default: () => never[];
33
+ };
34
+ successMessages: {
35
+ type: globalThis.PropType<string | string[]>;
36
+ default: () => never[];
37
+ };
38
+ hint: {
39
+ type: globalThis.PropType<string>;
40
+ default: undefined;
41
+ };
42
+ dense: {
43
+ type: globalThis.PropType<boolean>;
44
+ };
45
+ openDelay: {
46
+ type: globalThis.PropType<number>;
47
+ default: number;
48
+ };
49
+ closeDelay: {
50
+ type: globalThis.PropType<number>;
51
+ default: number;
52
+ };
53
+ popper: {
54
+ type: globalThis.PropType<PopperOptions>;
55
+ default: () => {};
56
+ };
57
+ openOnHover: {
58
+ type: globalThis.PropType<boolean>;
59
+ default: boolean;
60
+ };
61
+ fullWidth: {
62
+ type: globalThis.PropType<boolean>;
63
+ default: boolean;
64
+ };
65
+ wrapperClass: {
66
+ type: globalThis.PropType<string>;
67
+ default: string;
68
+ };
69
+ menuClass: {
70
+ type: globalThis.PropType<string>;
71
+ default: string;
72
+ };
73
+ closeOnContentClick: {
74
+ type: globalThis.PropType<boolean>;
75
+ default: boolean;
76
+ };
77
+ showDetails: {
78
+ type: globalThis.PropType<boolean>;
79
+ };
80
+ persistent: {
81
+ type: globalThis.PropType<boolean>;
82
+ default: boolean;
83
+ };
84
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
85
+ "update:model-value": (value: boolean) => void;
86
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
87
+ disabled: {
88
+ type: globalThis.PropType<boolean>;
89
+ default: boolean;
90
+ };
91
+ modelValue: {
92
+ type: globalThis.PropType<boolean>;
93
+ default: boolean;
94
+ };
95
+ errorMessages: {
96
+ type: globalThis.PropType<string | string[]>;
97
+ default: () => never[];
98
+ };
99
+ successMessages: {
100
+ type: globalThis.PropType<string | string[]>;
101
+ default: () => never[];
102
+ };
103
+ hint: {
104
+ type: globalThis.PropType<string>;
105
+ default: undefined;
106
+ };
107
+ dense: {
108
+ type: globalThis.PropType<boolean>;
109
+ };
110
+ openDelay: {
111
+ type: globalThis.PropType<number>;
112
+ default: number;
113
+ };
114
+ closeDelay: {
115
+ type: globalThis.PropType<number>;
116
+ default: number;
117
+ };
118
+ popper: {
119
+ type: globalThis.PropType<PopperOptions>;
120
+ default: () => {};
121
+ };
122
+ openOnHover: {
123
+ type: globalThis.PropType<boolean>;
124
+ default: boolean;
125
+ };
126
+ fullWidth: {
127
+ type: globalThis.PropType<boolean>;
128
+ default: boolean;
129
+ };
130
+ wrapperClass: {
131
+ type: globalThis.PropType<string>;
132
+ default: string;
133
+ };
134
+ menuClass: {
135
+ type: globalThis.PropType<string>;
136
+ default: string;
137
+ };
138
+ closeOnContentClick: {
139
+ type: globalThis.PropType<boolean>;
140
+ default: boolean;
141
+ };
142
+ showDetails: {
143
+ type: globalThis.PropType<boolean>;
144
+ };
145
+ persistent: {
146
+ type: globalThis.PropType<boolean>;
147
+ default: boolean;
148
+ };
149
+ }>> & {
150
+ "onUpdate:model-value"?: ((value: boolean) => any) | undefined;
151
+ }, {
152
+ disabled: boolean;
153
+ modelValue: boolean;
154
+ errorMessages: string | string[];
155
+ successMessages: string | string[];
156
+ hint: string;
157
+ openDelay: number;
158
+ closeDelay: number;
159
+ popper: PopperOptions;
160
+ openOnHover: boolean;
161
+ fullWidth: boolean;
162
+ wrapperClass: string;
163
+ menuClass: string;
164
+ closeOnContentClick: boolean;
165
+ persistent: boolean;
166
+ }, {}>, {
167
+ activator?(_: {
168
+ on: {
169
+ mouseover?: undefined;
170
+ mouseleave?: undefined;
171
+ click?: undefined;
172
+ } | {
173
+ mouseover: () => void;
174
+ mouseleave: () => void;
175
+ click: typeof checkClick;
176
+ };
177
+ open: boolean;
178
+ disabled: boolean;
179
+ hasError: boolean;
180
+ hasSuccess: boolean;
181
+ }): any;
182
+ default?(_: {
183
+ width: number;
184
+ }): any;
185
+ }>;
186
+ export default _default;
187
+ type __VLS_WithTemplateSlots<T, S> = T & {
188
+ new (): {
189
+ $slots: S;
190
+ };
191
+ };
@@ -24,6 +24,10 @@ export interface Props {
24
24
  size?: number | string;
25
25
  }
26
26
  declare const _default: import("vue").DefineComponent<{
27
+ size: {
28
+ type: globalThis.PropType<string | number>;
29
+ default: number;
30
+ };
27
31
  value: {
28
32
  type: globalThis.PropType<number>;
29
33
  default: number;
@@ -52,11 +56,11 @@ declare const _default: import("vue").DefineComponent<{
52
56
  type: globalThis.PropType<string | number>;
53
57
  default: number;
54
58
  };
59
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
55
60
  size: {
56
61
  type: globalThis.PropType<string | number>;
57
62
  default: number;
58
63
  };
59
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
60
64
  value: {
61
65
  type: globalThis.PropType<number>;
62
66
  default: number;
@@ -85,11 +89,8 @@ declare const _default: import("vue").DefineComponent<{
85
89
  type: globalThis.PropType<string | number>;
86
90
  default: number;
87
91
  };
88
- size: {
89
- type: globalThis.PropType<string | number>;
90
- default: number;
91
- };
92
92
  }>>, {
93
+ size: string | number;
93
94
  value: number;
94
95
  bufferValue: number;
95
96
  variant: "determinate" | "indeterminate" | "buffer";
@@ -97,6 +98,5 @@ declare const _default: import("vue").DefineComponent<{
97
98
  circular: boolean;
98
99
  showLabel: boolean;
99
100
  thickness: string | number;
100
- size: string | number;
101
101
  }, {}>;
102
102
  export default _default;
@@ -1,8 +1,8 @@
1
1
  import { type TablePaginationData } from './TablePagination.vue';
2
- import { type GroupData, type GroupKeys, type SortColumn, type TableColumn, type TableRowKeyData, type TableSortData } from './TableHead.vue';
2
+ import { type GroupData, type GroupKeys, type TableColumn, type TableRowKeyData, type TableSortData } from './TableHead.vue';
3
3
  export interface TableOptions<T> {
4
4
  pagination?: TablePaginationData;
5
- sort?: SortColumn<T> | SortColumn<T>[];
5
+ sort?: TableSortData<T>;
6
6
  }
7
7
  export interface GroupHeader<T> {
8
8
  __header__: true;
@@ -89,6 +89,7 @@ export interface Props<T, K extends keyof T> {
89
89
  * triggers indefinite progress at the bottom of the table header
90
90
  */
91
91
  loading?: boolean;
92
+ disablePerPage?: boolean;
92
93
  /**
93
94
  * data to display for empty state
94
95
  * text and icon
@@ -129,7 +130,11 @@ export interface Props<T, K extends keyof T> {
129
130
  * @example v-model:group="['name', 'country']"
130
131
  */
131
132
  group?: TableRowKeyData<T>;
133
+ groupExpandButtonPosition?: 'start' | 'end';
132
134
  collapsed?: T[];
135
+ disabledRows?: T[];
136
+ multiPageSelect?: boolean;
137
+ scroller?: HTMLElement | null;
133
138
  }
134
139
  declare const _default: <T extends object, IdType extends keyof T = keyof T>(__VLS_props: Props<T, IdType> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
135
140
  props: Props<T, IdType>;
@@ -167,13 +172,13 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
167
172
  tfoot: () => any;
168
173
  }>;
169
174
  emit: {
170
- (e: 'update:model-value', value?: T[IdType][] | undefined): void;
175
+ (e: 'update:model-value', value?: T[IdType][]): void;
171
176
  (e: 'update:expanded', value: T[]): void;
172
177
  (e: 'update:pagination', value: TablePaginationData): void;
173
178
  (e: 'update:sort', value?: TableSortData<T>): void;
174
179
  (e: 'update:options', value: TableOptions<T>): void;
175
180
  (e: 'update:group', value?: GroupKeys<T>): void;
176
- (e: 'update:collapsed', value?: T[] | undefined): void;
181
+ (e: 'update:collapsed', value?: T[]): void;
177
182
  (e: 'copy:group', value: GroupData<T>): void;
178
183
  };
179
184
  }, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
@@ -212,13 +217,13 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
212
217
  tfoot: () => any;
213
218
  }>;
214
219
  emit: {
215
- (e: 'update:model-value', value?: T[IdType][] | undefined): void;
220
+ (e: 'update:model-value', value?: T[IdType][]): void;
216
221
  (e: 'update:expanded', value: T[]): void;
217
222
  (e: 'update:pagination', value: TablePaginationData): void;
218
223
  (e: 'update:sort', value?: TableSortData<T>): void;
219
224
  (e: 'update:options', value: TableOptions<T>): void;
220
225
  (e: 'update:group', value?: GroupKeys<T>): void;
221
- (e: 'update:collapsed', value?: T[] | undefined): void;
226
+ (e: 'update:collapsed', value?: T[]): void;
222
227
  (e: 'copy:group', value: GroupData<T>): void;
223
228
  };
224
229
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -260,13 +265,13 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
260
265
  tfoot: () => any;
261
266
  }>;
262
267
  emit: {
263
- (e: 'update:model-value', value?: T[IdType][] | undefined): void;
268
+ (e: 'update:model-value', value?: T[IdType][]): void;
264
269
  (e: 'update:expanded', value: T[]): void;
265
270
  (e: 'update:pagination', value: TablePaginationData): void;
266
271
  (e: 'update:sort', value?: TableSortData<T>): void;
267
272
  (e: 'update:options', value: TableOptions<T>): void;
268
273
  (e: 'update:group', value?: GroupKeys<T>): void;
269
- (e: 'update:collapsed', value?: T[] | undefined): void;
274
+ (e: 'update:collapsed', value?: T[]): void;
270
275
  (e: 'copy:group', value: GroupData<T>): void;
271
276
  };
272
277
  } | undefined;
@@ -71,12 +71,16 @@ declare const _default: <T extends object, K extends keyof T = keyof T>(__VLS_pr
71
71
  attrs: any;
72
72
  slots: Partial<Record<string, (_: {
73
73
  column: TableColumn<T>;
74
+ }) => any>> & Partial<Record<string, (_: {
75
+ column: SortableTableColumn<T>;
76
+ }) => any>> & Partial<Record<string, (_: {
77
+ column: NoneSortableTableColumn<T>;
74
78
  }) => any>>;
75
79
  emit: {
76
80
  (e: 'select:all', value: boolean): void;
77
81
  (e: 'sort', value: {
78
82
  key: TableRowKey<T>;
79
- direction?: "desc" | "asc" | undefined;
83
+ direction?: 'asc' | 'desc';
80
84
  }): void;
81
85
  };
82
86
  }, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
@@ -85,12 +89,16 @@ declare const _default: <T extends object, K extends keyof T = keyof T>(__VLS_pr
85
89
  attrs: any;
86
90
  slots: Partial<Record<string, (_: {
87
91
  column: TableColumn<T>;
92
+ }) => any>> & Partial<Record<string, (_: {
93
+ column: SortableTableColumn<T>;
94
+ }) => any>> & Partial<Record<string, (_: {
95
+ column: NoneSortableTableColumn<T>;
88
96
  }) => any>>;
89
97
  emit: {
90
98
  (e: 'select:all', value: boolean): void;
91
99
  (e: 'sort', value: {
92
100
  key: TableRowKey<T>;
93
- direction?: "desc" | "asc" | undefined;
101
+ direction?: 'asc' | 'desc';
94
102
  }): void;
95
103
  };
96
104
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -102,12 +110,16 @@ declare const _default: <T extends object, K extends keyof T = keyof T>(__VLS_pr
102
110
  attrs: any;
103
111
  slots: Partial<Record<string, (_: {
104
112
  column: TableColumn<T>;
113
+ }) => any>> & Partial<Record<string, (_: {
114
+ column: SortableTableColumn<T>;
115
+ }) => any>> & Partial<Record<string, (_: {
116
+ column: NoneSortableTableColumn<T>;
105
117
  }) => any>>;
106
118
  emit: {
107
119
  (e: 'select:all', value: boolean): void;
108
120
  (e: 'sort', value: {
109
121
  key: TableRowKey<T>;
110
- direction?: "desc" | "asc" | undefined;
122
+ direction?: 'asc' | 'desc';
111
123
  }): void;
112
124
  };
113
125
  } | undefined;
@@ -7,6 +7,7 @@ export interface TablePaginationData {
7
7
  export interface Props {
8
8
  modelValue: TablePaginationData;
9
9
  dense?: boolean;
10
+ disablePerPage?: boolean;
10
11
  loading?: boolean;
11
12
  }
12
13
  declare const _default: import("vue").DefineComponent<{
@@ -22,6 +23,10 @@ declare const _default: import("vue").DefineComponent<{
22
23
  type: globalThis.PropType<boolean>;
23
24
  default: boolean;
24
25
  };
26
+ disablePerPage: {
27
+ type: globalThis.PropType<boolean>;
28
+ default: boolean;
29
+ };
25
30
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
31
  "update:model-value": (value: TablePaginationData) => void;
27
32
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
@@ -37,10 +42,15 @@ declare const _default: import("vue").DefineComponent<{
37
42
  type: globalThis.PropType<boolean>;
38
43
  default: boolean;
39
44
  };
45
+ disablePerPage: {
46
+ type: globalThis.PropType<boolean>;
47
+ default: boolean;
48
+ };
40
49
  }>> & {
41
50
  "onUpdate:model-value"?: ((value: TablePaginationData) => any) | undefined;
42
51
  }, {
43
52
  loading: boolean;
44
53
  dense: boolean;
54
+ disablePerPage: boolean;
45
55
  }, {}>;
46
56
  export default _default;
@@ -14,14 +14,22 @@ export interface Props {
14
14
  align?: 'start' | 'center' | 'end';
15
15
  }
16
16
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
17
- color: {
18
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
19
- default: undefined;
17
+ active: {
18
+ type: globalThis.PropType<boolean>;
19
+ default: boolean;
20
+ };
21
+ vertical: {
22
+ type: globalThis.PropType<boolean>;
23
+ default: boolean;
20
24
  };
21
25
  link: {
22
26
  type: globalThis.PropType<boolean>;
23
27
  default: boolean;
24
28
  };
29
+ color: {
30
+ type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
31
+ default: undefined;
32
+ };
25
33
  target: {
26
34
  type: globalThis.PropType<string>;
27
35
  default: string;
@@ -34,14 +42,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
34
42
  type: globalThis.PropType<boolean>;
35
43
  default: boolean;
36
44
  };
37
- active: {
38
- type: globalThis.PropType<boolean>;
39
- default: boolean;
40
- };
41
- vertical: {
42
- type: globalThis.PropType<boolean>;
43
- default: boolean;
44
- };
45
45
  align: {
46
46
  type: globalThis.PropType<"end" | "center" | "start">;
47
47
  default: string;
@@ -65,14 +65,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
65
65
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
66
66
  click: (tabValue: string | number) => void;
67
67
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
68
- color: {
69
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
70
- default: undefined;
68
+ active: {
69
+ type: globalThis.PropType<boolean>;
70
+ default: boolean;
71
+ };
72
+ vertical: {
73
+ type: globalThis.PropType<boolean>;
74
+ default: boolean;
71
75
  };
72
76
  link: {
73
77
  type: globalThis.PropType<boolean>;
74
78
  default: boolean;
75
79
  };
80
+ color: {
81
+ type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
82
+ default: undefined;
83
+ };
76
84
  target: {
77
85
  type: globalThis.PropType<string>;
78
86
  default: string;
@@ -85,14 +93,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
85
93
  type: globalThis.PropType<boolean>;
86
94
  default: boolean;
87
95
  };
88
- active: {
89
- type: globalThis.PropType<boolean>;
90
- default: boolean;
91
- };
92
- vertical: {
93
- type: globalThis.PropType<boolean>;
94
- default: boolean;
95
- };
96
96
  align: {
97
97
  type: globalThis.PropType<"end" | "center" | "start">;
98
98
  default: string;
@@ -116,22 +116,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
116
116
  }>> & {
117
117
  onClick?: ((tabValue: string | number) => any) | undefined;
118
118
  }, {
119
- color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
119
+ active: boolean;
120
+ vertical: boolean;
120
121
  link: boolean;
122
+ color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
121
123
  target: string;
122
124
  to: string;
123
125
  disabled: boolean;
124
- active: boolean;
125
- vertical: boolean;
126
126
  align: "end" | "center" | "start";
127
127
  grow: boolean;
128
128
  tabValue: string | number;
129
129
  exact: boolean;
130
130
  exactPath: boolean;
131
131
  }, {}>, {
132
- default?(props?: object | undefined): any;
133
- prepend?(props?: object | undefined): any;
134
- append?(props?: object | undefined): any;
132
+ default?: ((props?: object | undefined) => any) | undefined;
133
+ prepend?: ((props?: object | undefined) => any) | undefined;
134
+ append?: ((props?: object | undefined) => any) | undefined;
135
135
  }>;
136
136
  export default _default;
137
137
  type __VLS_WithTemplateSlots<T, S> = T & {