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.
- package/dist/json/attributes.json +48 -16
- package/dist/json/importMap-labs.json +24 -24
- package/dist/json/importMap.json +132 -132
- package/dist/json/tags.json +8 -0
- package/dist/json/web-types.json +130 -59
- package/dist/vuetify-labs.css +2341 -2261
- package/dist/vuetify-labs.d.ts +715 -1581
- package/dist/vuetify-labs.esm.js +266 -141
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +265 -140
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1610 -1530
- package/dist/vuetify.d.ts +605 -1317
- package/dist/vuetify.esm.js +144 -103
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +143 -102
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +335 -330
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +58 -56
- package/lib/blueprints/md1.d.mts +58 -56
- package/lib/blueprints/md2.d.mts +58 -56
- package/lib/blueprints/md3.d.mts +58 -56
- package/lib/components/VAutocomplete/VAutocomplete.mjs +17 -14
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +102 -336
- package/lib/components/VBanner/VBanner.css +1 -0
- package/lib/components/VBanner/VBanner.sass +1 -0
- package/lib/components/VBanner/_variables.scss +1 -0
- package/lib/components/VCombobox/VCombobox.mjs +7 -11
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +102 -336
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +3 -0
- package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/components/VDivider/VDivider.mjs +1 -1
- package/lib/components/VDivider/VDivider.mjs.map +1 -1
- package/lib/components/VEmptyState/VEmptyState.css +2 -2
- package/lib/components/VEmptyState/VEmptyState.mjs +1 -1
- package/lib/components/VEmptyState/VEmptyState.mjs.map +1 -1
- package/lib/components/VEmptyState/_variables.scss +2 -2
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +36 -36
- package/lib/components/VExpansionPanel/shared.mjs +4 -0
- package/lib/components/VExpansionPanel/shared.mjs.map +1 -0
- package/lib/components/VFab/VFab.mjs +4 -7
- package/lib/components/VFab/VFab.mjs.map +1 -1
- package/lib/components/VFab/index.d.mts +46 -49
- package/lib/components/VList/VList.mjs +4 -1
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VListGroup.mjs +1 -0
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/VListItem.css +2 -2
- package/lib/components/VList/VListItem.mjs +2 -0
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItem.sass +1 -1
- package/lib/components/VList/index.d.mts +54 -66
- package/lib/components/VMenu/VMenu.mjs +1 -1
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.mjs +4 -3
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +102 -336
- package/lib/components/VSelectionControl/VSelectionControl.mjs +9 -1
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSlider/VSlider.mjs +2 -1
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/VSliderThumb.mjs +2 -0
- package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.css +1 -1
- package/lib/components/VSnackbar/VSnackbar.sass +1 -1
- package/lib/components/VStepper/VStepper.mjs +19 -5
- package/lib/components/VStepper/VStepper.mjs.map +1 -1
- package/lib/components/VStepper/VStepperItem.css +3 -0
- package/lib/components/VStepper/VStepperItem.mjs +1 -1
- package/lib/components/VStepper/VStepperItem.mjs.map +1 -1
- package/lib/components/VStepper/VStepperItem.sass +3 -0
- package/lib/components/VStepper/VStepperWindow.mjs +2 -2
- package/lib/components/VStepper/VStepperWindow.mjs.map +1 -1
- package/lib/components/VStepper/index.d.mts +43 -9
- package/lib/components/VStepper/shared.mjs +4 -0
- package/lib/components/VStepper/shared.mjs.map +1 -0
- package/lib/components/VTabs/VTabs.mjs +2 -2
- package/lib/components/VTabs/VTabs.mjs.map +1 -1
- package/lib/components/index.d.mts +417 -1128
- package/lib/composables/defaults.mjs +3 -1
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/filter.mjs +1 -1
- package/lib/composables/filter.mjs.map +1 -1
- package/lib/composables/goto.mjs.map +1 -1
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/scroll.mjs +6 -0
- package/lib/composables/scroll.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +154 -155
- package/lib/labs/VNumberInput/VNumberInput.mjs +7 -1
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VStepperVertical/VStepperVerticalItem.mjs +1 -2
- package/lib/labs/VStepperVertical/VStepperVerticalItem.mjs.map +1 -1
- package/lib/labs/VStepperVertical/index.d.mts +43 -9
- package/lib/labs/VTimePicker/VTimePickerClock.mjs +3 -1
- package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +7 -2
- package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeview.mjs +4 -5
- package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewChildren.mjs +30 -25
- package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.mjs +83 -12
- package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
- package/lib/labs/VTreeview/index.d.mts +116 -300
- package/lib/labs/components.d.mts +3408 -3558
- package/lib/styles/main.css +76 -0
- package/lib/styles/settings/_utilities.scss +5 -1
- 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
|
|
214
|
-
defaultSet
|
|
215
|
-
aliases
|
|
216
|
-
sets
|
|
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>;
|
package/lib/blueprints/md1.d.mts
CHANGED
|
@@ -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
|
|
214
|
-
defaultSet
|
|
215
|
-
aliases
|
|
216
|
-
sets
|
|
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>;
|
package/lib/blueprints/md2.d.mts
CHANGED
|
@@ -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
|
|
214
|
-
defaultSet
|
|
215
|
-
aliases
|
|
216
|
-
sets
|
|
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>;
|
package/lib/blueprints/md3.d.mts
CHANGED
|
@@ -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
|
|
214
|
-
defaultSet
|
|
215
|
-
aliases
|
|
216
|
-
sets
|
|
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
|
|
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 = [];
|
|
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 (
|
|
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:
|
|
362
|
+
default: _ref4 => {
|
|
360
363
|
let {
|
|
361
364
|
item,
|
|
362
365
|
index,
|
|
363
366
|
itemRef
|
|
364
|
-
} =
|
|
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:
|
|
381
|
+
prepend: _ref5 => {
|
|
379
382
|
let {
|
|
380
383
|
isSelected
|
|
381
|
-
} =
|
|
384
|
+
} = _ref5;
|
|
382
385
|
return _createVNode(_Fragment, null, [props.multiple && !props.hideSelected ? _createVNode(VCheckboxBtn, {
|
|
383
386
|
"key": item.value,
|
|
384
387
|
"modelValue": isSelected,
|