vuetify 3.6.7 → 3.6.9

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 (122) hide show
  1. package/dist/json/attributes.json +48 -16
  2. package/dist/json/importMap-labs.json +24 -24
  3. package/dist/json/importMap.json +132 -132
  4. package/dist/json/tags.json +8 -0
  5. package/dist/json/web-types.json +130 -59
  6. package/dist/vuetify-labs.css +2341 -2261
  7. package/dist/vuetify-labs.d.ts +715 -1581
  8. package/dist/vuetify-labs.esm.js +266 -141
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +265 -140
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +1610 -1530
  13. package/dist/vuetify.d.ts +605 -1317
  14. package/dist/vuetify.esm.js +144 -103
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +143 -102
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +335 -330
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/blueprints/index.d.mts +58 -56
  22. package/lib/blueprints/md1.d.mts +58 -56
  23. package/lib/blueprints/md2.d.mts +58 -56
  24. package/lib/blueprints/md3.d.mts +58 -56
  25. package/lib/components/VAutocomplete/VAutocomplete.mjs +17 -14
  26. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  27. package/lib/components/VAutocomplete/index.d.mts +102 -336
  28. package/lib/components/VBanner/VBanner.css +1 -0
  29. package/lib/components/VBanner/VBanner.sass +1 -0
  30. package/lib/components/VBanner/_variables.scss +1 -0
  31. package/lib/components/VCombobox/VCombobox.mjs +7 -11
  32. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  33. package/lib/components/VCombobox/index.d.mts +102 -336
  34. package/lib/components/VDatePicker/VDatePickerMonth.mjs +3 -0
  35. package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
  36. package/lib/components/VDivider/VDivider.mjs +1 -1
  37. package/lib/components/VDivider/VDivider.mjs.map +1 -1
  38. package/lib/components/VEmptyState/VEmptyState.css +2 -2
  39. package/lib/components/VEmptyState/VEmptyState.mjs +1 -1
  40. package/lib/components/VEmptyState/VEmptyState.mjs.map +1 -1
  41. package/lib/components/VEmptyState/_variables.scss +2 -2
  42. package/lib/components/VExpansionPanel/VExpansionPanel.mjs +1 -1
  43. package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
  44. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +1 -1
  45. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
  46. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +1 -1
  47. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
  48. package/lib/components/VExpansionPanel/VExpansionPanels.mjs +1 -1
  49. package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
  50. package/lib/components/VExpansionPanel/index.d.mts +36 -36
  51. package/lib/components/VExpansionPanel/shared.mjs +4 -0
  52. package/lib/components/VExpansionPanel/shared.mjs.map +1 -0
  53. package/lib/components/VFab/VFab.mjs +4 -7
  54. package/lib/components/VFab/VFab.mjs.map +1 -1
  55. package/lib/components/VFab/index.d.mts +46 -49
  56. package/lib/components/VList/VList.mjs +4 -1
  57. package/lib/components/VList/VList.mjs.map +1 -1
  58. package/lib/components/VList/VListGroup.mjs +1 -0
  59. package/lib/components/VList/VListGroup.mjs.map +1 -1
  60. package/lib/components/VList/VListItem.css +2 -2
  61. package/lib/components/VList/VListItem.mjs +2 -0
  62. package/lib/components/VList/VListItem.mjs.map +1 -1
  63. package/lib/components/VList/VListItem.sass +1 -1
  64. package/lib/components/VList/index.d.mts +54 -66
  65. package/lib/components/VMenu/VMenu.mjs +1 -1
  66. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  67. package/lib/components/VOverlay/VOverlay.mjs +4 -3
  68. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  69. package/lib/components/VSelect/index.d.mts +102 -336
  70. package/lib/components/VSelectionControl/VSelectionControl.mjs +9 -1
  71. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
  72. package/lib/components/VSlider/VSlider.mjs +2 -1
  73. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  74. package/lib/components/VSlider/VSliderThumb.mjs +2 -0
  75. package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
  76. package/lib/components/VSnackbar/VSnackbar.css +1 -1
  77. package/lib/components/VSnackbar/VSnackbar.sass +1 -1
  78. package/lib/components/VStepper/VStepper.mjs +19 -5
  79. package/lib/components/VStepper/VStepper.mjs.map +1 -1
  80. package/lib/components/VStepper/VStepperItem.css +3 -0
  81. package/lib/components/VStepper/VStepperItem.mjs +1 -1
  82. package/lib/components/VStepper/VStepperItem.mjs.map +1 -1
  83. package/lib/components/VStepper/VStepperItem.sass +3 -0
  84. package/lib/components/VStepper/VStepperWindow.mjs +2 -2
  85. package/lib/components/VStepper/VStepperWindow.mjs.map +1 -1
  86. package/lib/components/VStepper/index.d.mts +43 -9
  87. package/lib/components/VStepper/shared.mjs +4 -0
  88. package/lib/components/VStepper/shared.mjs.map +1 -0
  89. package/lib/components/VTabs/VTabs.mjs +2 -2
  90. package/lib/components/VTabs/VTabs.mjs.map +1 -1
  91. package/lib/components/index.d.mts +417 -1128
  92. package/lib/composables/defaults.mjs +3 -1
  93. package/lib/composables/defaults.mjs.map +1 -1
  94. package/lib/composables/filter.mjs +1 -1
  95. package/lib/composables/filter.mjs.map +1 -1
  96. package/lib/composables/goto.mjs.map +1 -1
  97. package/lib/composables/icons.mjs.map +1 -1
  98. package/lib/composables/scroll.mjs +6 -0
  99. package/lib/composables/scroll.mjs.map +1 -1
  100. package/lib/entry-bundler.mjs +1 -1
  101. package/lib/framework.mjs +1 -1
  102. package/lib/index.d.mts +154 -155
  103. package/lib/labs/VNumberInput/VNumberInput.mjs +7 -1
  104. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  105. package/lib/labs/VStepperVertical/VStepperVerticalItem.mjs +1 -2
  106. package/lib/labs/VStepperVertical/VStepperVerticalItem.mjs.map +1 -1
  107. package/lib/labs/VStepperVertical/index.d.mts +43 -9
  108. package/lib/labs/VTimePicker/VTimePickerClock.mjs +3 -1
  109. package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
  110. package/lib/labs/VTimePicker/VTimePickerControls.mjs +7 -2
  111. package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
  112. package/lib/labs/VTreeview/VTreeview.mjs +4 -5
  113. package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
  114. package/lib/labs/VTreeview/VTreeviewChildren.mjs +30 -25
  115. package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
  116. package/lib/labs/VTreeview/VTreeviewItem.mjs +83 -12
  117. package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
  118. package/lib/labs/VTreeview/index.d.mts +116 -300
  119. package/lib/labs/components.d.mts +3408 -3558
  120. package/lib/styles/main.css +76 -0
  121. package/lib/styles/settings/_utilities.scss +5 -1
  122. package/package.json +2 -2
@@ -1,5 +1,37 @@
1
1
  import { Ref, ComponentPublicInstance, JSXComponent, PropType } from 'vue';
2
2
 
3
+ interface LocaleMessages {
4
+ [key: string]: LocaleMessages | string;
5
+ }
6
+ interface LocaleOptions {
7
+ messages?: LocaleMessages;
8
+ locale?: string;
9
+ fallback?: string;
10
+ adapter?: LocaleInstance;
11
+ }
12
+ interface LocaleInstance {
13
+ name: string;
14
+ messages: Ref<LocaleMessages>;
15
+ current: Ref<string>;
16
+ fallback: Ref<string>;
17
+ t: (key: string, ...params: unknown[]) => string;
18
+ n: (value: number) => string;
19
+ provide: (props: LocaleOptions) => LocaleInstance;
20
+ }
21
+ interface RtlOptions {
22
+ rtl?: Record<string, boolean>;
23
+ }
24
+
25
+ interface InternalGoToOptions {
26
+ container: ComponentPublicInstance | HTMLElement | string;
27
+ duration: number;
28
+ layout: boolean;
29
+ offset: number;
30
+ easing: string | ((t: number) => number);
31
+ patterns: Record<string, (t: number) => number>;
32
+ }
33
+ type GoToOptions = Partial<InternalGoToOptions>;
34
+
3
35
  interface DateAdapter<T = unknown> {
4
36
  date(value?: any): T | null;
5
37
  format(date: T, formatString: string): string;
@@ -45,28 +77,6 @@ interface DateAdapter<T = unknown> {
45
77
  setMinutes(date: T, minutes: number): T;
46
78
  }
47
79
 
48
- interface LocaleMessages {
49
- [key: string]: LocaleMessages | string;
50
- }
51
- interface LocaleOptions {
52
- messages?: LocaleMessages;
53
- locale?: string;
54
- fallback?: string;
55
- adapter?: LocaleInstance;
56
- }
57
- interface LocaleInstance {
58
- name: string;
59
- messages: Ref<LocaleMessages>;
60
- current: Ref<string>;
61
- fallback: Ref<string>;
62
- t: (key: string, ...params: unknown[]) => string;
63
- n: (value: number) => string;
64
- provide: (props: LocaleOptions) => LocaleInstance;
65
- }
66
- interface RtlOptions {
67
- rtl?: Record<string, boolean>;
68
- }
69
-
70
80
  interface DateInstance extends DateModule.InternalAdapter {
71
81
  locale?: any;
72
82
  }
@@ -131,36 +141,6 @@ interface OnColors {
131
141
  'on-info': string;
132
142
  }
133
143
 
134
- declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
135
- type Breakpoint = typeof breakpoints[number];
136
- type DisplayBreakpoint = 'xs' | Breakpoint;
137
- type DisplayThresholds = {
138
- [key in DisplayBreakpoint]: number;
139
- };
140
- interface DisplayOptions {
141
- mobileBreakpoint?: number | DisplayBreakpoint;
142
- thresholds?: Partial<DisplayThresholds>;
143
- }
144
- type SSROptions = boolean | {
145
- clientWidth: number;
146
- clientHeight?: number;
147
- };
148
-
149
- type DefaultsInstance = undefined | {
150
- [key: string]: undefined | Record<string, unknown>;
151
- global?: Record<string, unknown>;
152
- };
153
- type DefaultsOptions = Partial<DefaultsInstance>;
154
-
155
- interface GoToOptions {
156
- container: ComponentPublicInstance | HTMLElement | string;
157
- duration: number;
158
- layout: boolean;
159
- offset: number;
160
- easing: string | ((t: number) => number);
161
- patterns: Record<string, (t: number) => number>;
162
- }
163
-
164
144
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
165
145
  declare const IconValue: PropType<IconValue>;
166
146
  interface IconAliases {
@@ -210,11 +190,33 @@ type IconComponent = JSXComponent<IconProps>;
210
190
  interface IconSet {
211
191
  component: IconComponent;
212
192
  }
213
- type IconOptions = {
214
- defaultSet?: string;
215
- aliases?: Partial<IconAliases>;
216
- sets?: Record<string, IconSet>;
193
+ type InternalIconOptions = {
194
+ defaultSet: string;
195
+ aliases: Partial<IconAliases>;
196
+ sets: Record<string, IconSet>;
217
197
  };
198
+ type IconOptions = Partial<InternalIconOptions>;
199
+
200
+ declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
201
+ type Breakpoint = typeof breakpoints[number];
202
+ type DisplayBreakpoint = 'xs' | Breakpoint;
203
+ type DisplayThresholds = {
204
+ [key in DisplayBreakpoint]: number;
205
+ };
206
+ interface DisplayOptions {
207
+ mobileBreakpoint?: number | DisplayBreakpoint;
208
+ thresholds?: Partial<DisplayThresholds>;
209
+ }
210
+ type SSROptions = boolean | {
211
+ clientWidth: number;
212
+ clientHeight?: number;
213
+ };
214
+
215
+ type DefaultsInstance = undefined | {
216
+ [key: string]: undefined | Record<string, unknown>;
217
+ global?: Record<string, unknown>;
218
+ };
219
+ type DefaultsOptions = Partial<DefaultsInstance>;
218
220
 
219
221
  interface VuetifyOptions {
220
222
  aliases?: Record<string, any>;
@@ -1,5 +1,37 @@
1
1
  import { Ref, ComponentPublicInstance, JSXComponent, PropType } from 'vue';
2
2
 
3
+ interface LocaleMessages {
4
+ [key: string]: LocaleMessages | string;
5
+ }
6
+ interface LocaleOptions {
7
+ messages?: LocaleMessages;
8
+ locale?: string;
9
+ fallback?: string;
10
+ adapter?: LocaleInstance;
11
+ }
12
+ interface LocaleInstance {
13
+ name: string;
14
+ messages: Ref<LocaleMessages>;
15
+ current: Ref<string>;
16
+ fallback: Ref<string>;
17
+ t: (key: string, ...params: unknown[]) => string;
18
+ n: (value: number) => string;
19
+ provide: (props: LocaleOptions) => LocaleInstance;
20
+ }
21
+ interface RtlOptions {
22
+ rtl?: Record<string, boolean>;
23
+ }
24
+
25
+ interface InternalGoToOptions {
26
+ container: ComponentPublicInstance | HTMLElement | string;
27
+ duration: number;
28
+ layout: boolean;
29
+ offset: number;
30
+ easing: string | ((t: number) => number);
31
+ patterns: Record<string, (t: number) => number>;
32
+ }
33
+ type GoToOptions = Partial<InternalGoToOptions>;
34
+
3
35
  interface DateAdapter<T = unknown> {
4
36
  date(value?: any): T | null;
5
37
  format(date: T, formatString: string): string;
@@ -45,28 +77,6 @@ interface DateAdapter<T = unknown> {
45
77
  setMinutes(date: T, minutes: number): T;
46
78
  }
47
79
 
48
- interface LocaleMessages {
49
- [key: string]: LocaleMessages | string;
50
- }
51
- interface LocaleOptions {
52
- messages?: LocaleMessages;
53
- locale?: string;
54
- fallback?: string;
55
- adapter?: LocaleInstance;
56
- }
57
- interface LocaleInstance {
58
- name: string;
59
- messages: Ref<LocaleMessages>;
60
- current: Ref<string>;
61
- fallback: Ref<string>;
62
- t: (key: string, ...params: unknown[]) => string;
63
- n: (value: number) => string;
64
- provide: (props: LocaleOptions) => LocaleInstance;
65
- }
66
- interface RtlOptions {
67
- rtl?: Record<string, boolean>;
68
- }
69
-
70
80
  interface DateInstance extends DateModule.InternalAdapter {
71
81
  locale?: any;
72
82
  }
@@ -131,36 +141,6 @@ interface OnColors {
131
141
  'on-info': string;
132
142
  }
133
143
 
134
- declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
135
- type Breakpoint = typeof breakpoints[number];
136
- type DisplayBreakpoint = 'xs' | Breakpoint;
137
- type DisplayThresholds = {
138
- [key in DisplayBreakpoint]: number;
139
- };
140
- interface DisplayOptions {
141
- mobileBreakpoint?: number | DisplayBreakpoint;
142
- thresholds?: Partial<DisplayThresholds>;
143
- }
144
- type SSROptions = boolean | {
145
- clientWidth: number;
146
- clientHeight?: number;
147
- };
148
-
149
- type DefaultsInstance = undefined | {
150
- [key: string]: undefined | Record<string, unknown>;
151
- global?: Record<string, unknown>;
152
- };
153
- type DefaultsOptions = Partial<DefaultsInstance>;
154
-
155
- interface GoToOptions {
156
- container: ComponentPublicInstance | HTMLElement | string;
157
- duration: number;
158
- layout: boolean;
159
- offset: number;
160
- easing: string | ((t: number) => number);
161
- patterns: Record<string, (t: number) => number>;
162
- }
163
-
164
144
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
165
145
  declare const IconValue: PropType<IconValue>;
166
146
  interface IconAliases {
@@ -210,11 +190,33 @@ type IconComponent = JSXComponent<IconProps>;
210
190
  interface IconSet {
211
191
  component: IconComponent;
212
192
  }
213
- type IconOptions = {
214
- defaultSet?: string;
215
- aliases?: Partial<IconAliases>;
216
- sets?: Record<string, IconSet>;
193
+ type InternalIconOptions = {
194
+ defaultSet: string;
195
+ aliases: Partial<IconAliases>;
196
+ sets: Record<string, IconSet>;
217
197
  };
198
+ type IconOptions = Partial<InternalIconOptions>;
199
+
200
+ declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
201
+ type Breakpoint = typeof breakpoints[number];
202
+ type DisplayBreakpoint = 'xs' | Breakpoint;
203
+ type DisplayThresholds = {
204
+ [key in DisplayBreakpoint]: number;
205
+ };
206
+ interface DisplayOptions {
207
+ mobileBreakpoint?: number | DisplayBreakpoint;
208
+ thresholds?: Partial<DisplayThresholds>;
209
+ }
210
+ type SSROptions = boolean | {
211
+ clientWidth: number;
212
+ clientHeight?: number;
213
+ };
214
+
215
+ type DefaultsInstance = undefined | {
216
+ [key: string]: undefined | Record<string, unknown>;
217
+ global?: Record<string, unknown>;
218
+ };
219
+ type DefaultsOptions = Partial<DefaultsInstance>;
218
220
 
219
221
  interface VuetifyOptions {
220
222
  aliases?: Record<string, any>;
@@ -1,5 +1,37 @@
1
1
  import { Ref, ComponentPublicInstance, JSXComponent, PropType } from 'vue';
2
2
 
3
+ interface LocaleMessages {
4
+ [key: string]: LocaleMessages | string;
5
+ }
6
+ interface LocaleOptions {
7
+ messages?: LocaleMessages;
8
+ locale?: string;
9
+ fallback?: string;
10
+ adapter?: LocaleInstance;
11
+ }
12
+ interface LocaleInstance {
13
+ name: string;
14
+ messages: Ref<LocaleMessages>;
15
+ current: Ref<string>;
16
+ fallback: Ref<string>;
17
+ t: (key: string, ...params: unknown[]) => string;
18
+ n: (value: number) => string;
19
+ provide: (props: LocaleOptions) => LocaleInstance;
20
+ }
21
+ interface RtlOptions {
22
+ rtl?: Record<string, boolean>;
23
+ }
24
+
25
+ interface InternalGoToOptions {
26
+ container: ComponentPublicInstance | HTMLElement | string;
27
+ duration: number;
28
+ layout: boolean;
29
+ offset: number;
30
+ easing: string | ((t: number) => number);
31
+ patterns: Record<string, (t: number) => number>;
32
+ }
33
+ type GoToOptions = Partial<InternalGoToOptions>;
34
+
3
35
  interface DateAdapter<T = unknown> {
4
36
  date(value?: any): T | null;
5
37
  format(date: T, formatString: string): string;
@@ -45,28 +77,6 @@ interface DateAdapter<T = unknown> {
45
77
  setMinutes(date: T, minutes: number): T;
46
78
  }
47
79
 
48
- interface LocaleMessages {
49
- [key: string]: LocaleMessages | string;
50
- }
51
- interface LocaleOptions {
52
- messages?: LocaleMessages;
53
- locale?: string;
54
- fallback?: string;
55
- adapter?: LocaleInstance;
56
- }
57
- interface LocaleInstance {
58
- name: string;
59
- messages: Ref<LocaleMessages>;
60
- current: Ref<string>;
61
- fallback: Ref<string>;
62
- t: (key: string, ...params: unknown[]) => string;
63
- n: (value: number) => string;
64
- provide: (props: LocaleOptions) => LocaleInstance;
65
- }
66
- interface RtlOptions {
67
- rtl?: Record<string, boolean>;
68
- }
69
-
70
80
  interface DateInstance extends DateModule.InternalAdapter {
71
81
  locale?: any;
72
82
  }
@@ -131,36 +141,6 @@ interface OnColors {
131
141
  'on-info': string;
132
142
  }
133
143
 
134
- declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
135
- type Breakpoint = typeof breakpoints[number];
136
- type DisplayBreakpoint = 'xs' | Breakpoint;
137
- type DisplayThresholds = {
138
- [key in DisplayBreakpoint]: number;
139
- };
140
- interface DisplayOptions {
141
- mobileBreakpoint?: number | DisplayBreakpoint;
142
- thresholds?: Partial<DisplayThresholds>;
143
- }
144
- type SSROptions = boolean | {
145
- clientWidth: number;
146
- clientHeight?: number;
147
- };
148
-
149
- type DefaultsInstance = undefined | {
150
- [key: string]: undefined | Record<string, unknown>;
151
- global?: Record<string, unknown>;
152
- };
153
- type DefaultsOptions = Partial<DefaultsInstance>;
154
-
155
- interface GoToOptions {
156
- container: ComponentPublicInstance | HTMLElement | string;
157
- duration: number;
158
- layout: boolean;
159
- offset: number;
160
- easing: string | ((t: number) => number);
161
- patterns: Record<string, (t: number) => number>;
162
- }
163
-
164
144
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
165
145
  declare const IconValue: PropType<IconValue>;
166
146
  interface IconAliases {
@@ -210,11 +190,33 @@ type IconComponent = JSXComponent<IconProps>;
210
190
  interface IconSet {
211
191
  component: IconComponent;
212
192
  }
213
- type IconOptions = {
214
- defaultSet?: string;
215
- aliases?: Partial<IconAliases>;
216
- sets?: Record<string, IconSet>;
193
+ type InternalIconOptions = {
194
+ defaultSet: string;
195
+ aliases: Partial<IconAliases>;
196
+ sets: Record<string, IconSet>;
217
197
  };
198
+ type IconOptions = Partial<InternalIconOptions>;
199
+
200
+ declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
201
+ type Breakpoint = typeof breakpoints[number];
202
+ type DisplayBreakpoint = 'xs' | Breakpoint;
203
+ type DisplayThresholds = {
204
+ [key in DisplayBreakpoint]: number;
205
+ };
206
+ interface DisplayOptions {
207
+ mobileBreakpoint?: number | DisplayBreakpoint;
208
+ thresholds?: Partial<DisplayThresholds>;
209
+ }
210
+ type SSROptions = boolean | {
211
+ clientWidth: number;
212
+ clientHeight?: number;
213
+ };
214
+
215
+ type DefaultsInstance = undefined | {
216
+ [key: string]: undefined | Record<string, unknown>;
217
+ global?: Record<string, unknown>;
218
+ };
219
+ type DefaultsOptions = Partial<DefaultsInstance>;
218
220
 
219
221
  interface VuetifyOptions {
220
222
  aliases?: Record<string, any>;
@@ -1,5 +1,37 @@
1
1
  import { Ref, ComponentPublicInstance, JSXComponent, PropType } from 'vue';
2
2
 
3
+ interface LocaleMessages {
4
+ [key: string]: LocaleMessages | string;
5
+ }
6
+ interface LocaleOptions {
7
+ messages?: LocaleMessages;
8
+ locale?: string;
9
+ fallback?: string;
10
+ adapter?: LocaleInstance;
11
+ }
12
+ interface LocaleInstance {
13
+ name: string;
14
+ messages: Ref<LocaleMessages>;
15
+ current: Ref<string>;
16
+ fallback: Ref<string>;
17
+ t: (key: string, ...params: unknown[]) => string;
18
+ n: (value: number) => string;
19
+ provide: (props: LocaleOptions) => LocaleInstance;
20
+ }
21
+ interface RtlOptions {
22
+ rtl?: Record<string, boolean>;
23
+ }
24
+
25
+ interface InternalGoToOptions {
26
+ container: ComponentPublicInstance | HTMLElement | string;
27
+ duration: number;
28
+ layout: boolean;
29
+ offset: number;
30
+ easing: string | ((t: number) => number);
31
+ patterns: Record<string, (t: number) => number>;
32
+ }
33
+ type GoToOptions = Partial<InternalGoToOptions>;
34
+
3
35
  interface DateAdapter<T = unknown> {
4
36
  date(value?: any): T | null;
5
37
  format(date: T, formatString: string): string;
@@ -45,28 +77,6 @@ interface DateAdapter<T = unknown> {
45
77
  setMinutes(date: T, minutes: number): T;
46
78
  }
47
79
 
48
- interface LocaleMessages {
49
- [key: string]: LocaleMessages | string;
50
- }
51
- interface LocaleOptions {
52
- messages?: LocaleMessages;
53
- locale?: string;
54
- fallback?: string;
55
- adapter?: LocaleInstance;
56
- }
57
- interface LocaleInstance {
58
- name: string;
59
- messages: Ref<LocaleMessages>;
60
- current: Ref<string>;
61
- fallback: Ref<string>;
62
- t: (key: string, ...params: unknown[]) => string;
63
- n: (value: number) => string;
64
- provide: (props: LocaleOptions) => LocaleInstance;
65
- }
66
- interface RtlOptions {
67
- rtl?: Record<string, boolean>;
68
- }
69
-
70
80
  interface DateInstance extends DateModule.InternalAdapter {
71
81
  locale?: any;
72
82
  }
@@ -131,36 +141,6 @@ interface OnColors {
131
141
  'on-info': string;
132
142
  }
133
143
 
134
- declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
135
- type Breakpoint = typeof breakpoints[number];
136
- type DisplayBreakpoint = 'xs' | Breakpoint;
137
- type DisplayThresholds = {
138
- [key in DisplayBreakpoint]: number;
139
- };
140
- interface DisplayOptions {
141
- mobileBreakpoint?: number | DisplayBreakpoint;
142
- thresholds?: Partial<DisplayThresholds>;
143
- }
144
- type SSROptions = boolean | {
145
- clientWidth: number;
146
- clientHeight?: number;
147
- };
148
-
149
- type DefaultsInstance = undefined | {
150
- [key: string]: undefined | Record<string, unknown>;
151
- global?: Record<string, unknown>;
152
- };
153
- type DefaultsOptions = Partial<DefaultsInstance>;
154
-
155
- interface GoToOptions {
156
- container: ComponentPublicInstance | HTMLElement | string;
157
- duration: number;
158
- layout: boolean;
159
- offset: number;
160
- easing: string | ((t: number) => number);
161
- patterns: Record<string, (t: number) => number>;
162
- }
163
-
164
144
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
165
145
  declare const IconValue: PropType<IconValue>;
166
146
  interface IconAliases {
@@ -210,11 +190,33 @@ type IconComponent = JSXComponent<IconProps>;
210
190
  interface IconSet {
211
191
  component: IconComponent;
212
192
  }
213
- type IconOptions = {
214
- defaultSet?: string;
215
- aliases?: Partial<IconAliases>;
216
- sets?: Record<string, IconSet>;
193
+ type InternalIconOptions = {
194
+ defaultSet: string;
195
+ aliases: Partial<IconAliases>;
196
+ sets: Record<string, IconSet>;
217
197
  };
198
+ type IconOptions = Partial<InternalIconOptions>;
199
+
200
+ declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
201
+ type Breakpoint = typeof breakpoints[number];
202
+ type DisplayBreakpoint = 'xs' | Breakpoint;
203
+ type DisplayThresholds = {
204
+ [key in DisplayBreakpoint]: number;
205
+ };
206
+ interface DisplayOptions {
207
+ mobileBreakpoint?: number | DisplayBreakpoint;
208
+ thresholds?: Partial<DisplayThresholds>;
209
+ }
210
+ type SSROptions = boolean | {
211
+ clientWidth: number;
212
+ clientHeight?: number;
213
+ };
214
+
215
+ type DefaultsInstance = undefined | {
216
+ [key: string]: undefined | Record<string, unknown>;
217
+ global?: Record<string, unknown>;
218
+ };
219
+ type DefaultsOptions = Partial<DefaultsInstance>;
218
220
 
219
221
  interface VuetifyOptions {
220
222
  aliases?: Record<string, any>;
@@ -158,7 +158,12 @@ export const VAutocomplete = genericComponent()({
158
158
  if (['Escape'].includes(e.key)) {
159
159
  menu.value = false;
160
160
  }
161
- if (highlightFirst.value && e.key === 'Enter') {
161
+ if (highlightFirst.value && ['Enter', 'Tab'].includes(e.key) && !model.value.some(_ref2 => {
162
+ let {
163
+ value
164
+ } = _ref2;
165
+ return value === displayItems.value[0].value;
166
+ })) {
162
167
  select(displayItems.value[0]);
163
168
  }
164
169
  if (e.key === 'ArrowDown' && highlightFirst.value) {
@@ -261,16 +266,14 @@ export const VAutocomplete = genericComponent()({
261
266
  isPristine.value = true;
262
267
  nextTick(() => isSelecting.value = false);
263
268
  } else {
264
- if (!props.multiple && search.value == null) model.value = [];else if (highlightFirst.value && !listHasFocus.value && !model.value.some(_ref2 => {
265
- let {
266
- value
267
- } = _ref2;
268
- return value === displayItems.value[0].value;
269
- })) {
270
- select(displayItems.value[0]);
271
- }
269
+ if (!props.multiple && search.value == null) model.value = [];
272
270
  menu.value = false;
273
- if (props.multiple || hasSelectionSlot.value) search.value = '';
271
+ if (!model.value.some(_ref3 => {
272
+ let {
273
+ title
274
+ } = _ref3;
275
+ return title === search.value;
276
+ })) search.value = '';
274
277
  selectionIndex.value = -1;
275
278
  }
276
279
  });
@@ -356,12 +359,12 @@ export const VAutocomplete = genericComponent()({
356
359
  "renderless": true,
357
360
  "items": displayItems.value
358
361
  }, {
359
- default: _ref3 => {
362
+ default: _ref4 => {
360
363
  let {
361
364
  item,
362
365
  index,
363
366
  itemRef
364
- } = _ref3;
367
+ } = _ref4;
365
368
  const itemProps = mergeProps(item.props, {
366
369
  ref: itemRef,
367
370
  key: index,
@@ -375,10 +378,10 @@ export const VAutocomplete = genericComponent()({
375
378
  }) ?? _createVNode(VListItem, _mergeProps(itemProps, {
376
379
  "role": "option"
377
380
  }), {
378
- prepend: _ref4 => {
381
+ prepend: _ref5 => {
379
382
  let {
380
383
  isSelected
381
- } = _ref4;
384
+ } = _ref5;
382
385
  return _createVNode(_Fragment, null, [props.multiple && !props.hideSelected ? _createVNode(VCheckboxBtn, {
383
386
  "key": item.value,
384
387
  "modelValue": isSelected,