@vuetify/nightly 3.0.0-beta.10 → 3.0.0-beta.13
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/CHANGELOG.md +13 -2
- package/dist/json/attributes.json +37 -29
- package/dist/json/importMap.json +46 -46
- package/dist/json/tags.json +10 -8
- package/dist/json/web-types.json +101 -87
- package/dist/vuetify.css +545 -441
- package/dist/vuetify.d.ts +12095 -10059
- package/dist/vuetify.esm.js +401 -266
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +371 -236
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +3 -3
- package/dist/vuetify.min.js +496 -490
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.ts +171 -0
- package/lib/blueprints/md1.d.ts +167 -0
- package/lib/blueprints/md2.d.ts +167 -0
- package/lib/blueprints/md3.d.ts +167 -0
- package/lib/components/VAlert/index.d.ts +185 -0
- package/lib/components/VApp/index.d.ts +83 -0
- package/lib/components/VAppBar/VAppBar.css +3 -0
- package/lib/components/VAppBar/VAppBar.sass +3 -0
- package/lib/components/VAppBar/index.d.ts +156 -0
- package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.ts +1569 -0
- package/lib/components/VAvatar/VAvatar.css +44 -2
- package/lib/components/VAvatar/VAvatar.mjs +16 -12
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.sass +5 -1
- package/lib/components/VAvatar/_variables.scss +9 -4
- package/lib/components/VAvatar/index.d.ts +80 -0
- package/lib/components/VBadge/index.d.ts +123 -0
- package/lib/components/VBanner/index.d.ts +122 -0
- package/lib/components/VBottomNavigation/index.d.ts +143 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +2 -2
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.ts +301 -0
- package/lib/components/VBtn/VBtn.css +8 -3
- package/lib/components/VBtn/VBtn.mjs +16 -6
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/index.d.ts +210 -0
- package/lib/components/VBtnGroup/index.d.ts +65 -0
- package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -3
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/index.d.ts +175 -0
- package/lib/components/VCard/VCard.css +8 -3
- package/lib/components/VCard/index.d.ts +230 -0
- package/lib/components/VCarousel/VCarousel.mjs +3 -3
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/index.d.ts +80 -0
- package/lib/components/VCheckbox/index.d.ts +291 -0
- package/lib/components/VChip/index.d.ts +195 -0
- package/lib/components/VChipGroup/index.d.ts +89 -0
- package/lib/components/VCode/index.d.ts +19 -0
- package/lib/components/VColorPicker/index.d.ts +116 -0
- package/lib/components/VCombobox/VCombobox.mjs +1 -1
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.ts +1590 -0
- package/lib/components/VCounter/index.d.ts +223 -0
- package/lib/components/VDefaultsProvider/index.d.ts +26 -0
- package/lib/components/VDialog/VDialog.css +2 -0
- package/lib/components/VDialog/VDialog.mjs +17 -12
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +2 -0
- package/lib/components/VDialog/index.d.ts +859 -0
- package/lib/components/VDivider/index.d.ts +22 -0
- package/lib/components/VExpansionPanel/VExpansionPanel.css +8 -3
- package/lib/components/VExpansionPanel/index.d.ts +206 -0
- package/lib/components/VField/VField.css +27 -24
- package/lib/components/VField/VField.mjs +1 -1
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +23 -21
- package/lib/components/VField/index.d.ts +332 -0
- package/lib/components/VFileInput/VFileInput.mjs +3 -3
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.ts +236 -0
- package/lib/components/VFooter/VFooter.css +7 -0
- package/lib/components/VFooter/VFooter.sass +1 -1
- package/lib/components/VFooter/_variables.scss +11 -0
- package/lib/components/VFooter/index.d.ts +76 -0
- package/lib/components/VForm/index.d.ts +72 -0
- package/lib/components/VGrid/index.d.ts +154 -0
- package/lib/components/VHover/index.d.ts +30 -0
- package/lib/components/VIcon/index.d.ts +124 -0
- package/lib/components/VImg/VImg.mjs +29 -27
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/index.d.ts +89 -0
- package/lib/components/VInput/VInput.mjs +4 -4
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.d.ts +325 -0
- package/lib/components/VItemGroup/index.d.ts +210 -0
- package/lib/components/VKbd/index.d.ts +19 -0
- package/lib/components/VLabel/VLabel.css +4 -1
- package/lib/components/VLabel/VLabel.mjs +4 -1
- package/lib/components/VLabel/VLabel.mjs.map +1 -1
- package/lib/components/VLabel/VLabel.sass +3 -1
- package/lib/components/VLabel/index.d.ts +16 -0
- package/lib/components/VLayout/index.d.ts +75 -0
- package/lib/components/VLazy/index.d.ts +85 -0
- package/lib/components/VList/VListItem.css +8 -3
- package/lib/components/VList/VListItem.mjs +4 -4
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/index.d.ts +1250 -0
- package/lib/components/VLocaleProvider/index.d.ts +23 -0
- package/lib/components/VMain/index.d.ts +26 -0
- package/lib/components/VMenu/VMenu.mjs +16 -3
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.ts +817 -0
- package/lib/components/VMessages/index.d.ts +234 -0
- package/lib/components/VNavigationDrawer/index.d.ts +148 -0
- package/lib/components/VNoSsr/index.d.ts +7 -0
- package/lib/components/VOverlay/VOverlay.mjs +4 -3
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.ts +579 -0
- package/lib/components/VOverlay/useActivator.mjs +27 -1
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.mjs +6 -3
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VPagination/index.d.ts +247 -0
- package/lib/components/VParallax/VParallax.mjs +24 -10
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VParallax/index.d.ts +18 -0
- package/lib/components/VProgressCircular/index.d.ts +68 -0
- package/lib/components/VProgressLinear/index.d.ts +101 -0
- package/lib/components/VRadio/index.d.ts +103 -0
- package/lib/components/VRadioGroup/VRadioGroup.css +2 -3
- package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -1
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.sass +2 -2
- package/lib/components/VRadioGroup/_variables.scss +0 -1
- package/lib/components/VRadioGroup/index.d.ts +186 -0
- package/lib/components/VRangeSlider/VRangeSlider.mjs +12 -2
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.d.ts +242 -0
- package/lib/components/VRating/index.d.ts +356 -0
- package/lib/components/VResponsive/index.d.ts +23 -0
- package/lib/components/VSelect/VSelect.mjs +1 -1
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.ts +1521 -0
- package/lib/components/VSelectionControl/VSelectionControl.mjs +2 -1
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.ts +275 -0
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +5 -0
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +3 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +5 -0
- package/lib/components/VSelectionControlGroup/index.d.ts +47 -0
- package/lib/components/VSheet/index.d.ts +68 -0
- package/lib/components/VSlideGroup/index.d.ts +151 -0
- package/lib/components/VSlider/VSlider.css +7 -2
- package/lib/components/VSlider/VSlider.mjs +14 -4
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/VSlider.sass +6 -2
- package/lib/components/VSlider/VSliderTrack.css +20 -20
- package/lib/components/VSlider/VSliderTrack.mjs +7 -3
- package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
- package/lib/components/VSlider/VSliderTrack.sass +14 -14
- package/lib/components/VSlider/_variables.scss +2 -2
- package/lib/components/VSlider/index.d.ts +239 -0
- package/lib/components/VSlider/slider.mjs +2 -2
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.mjs +3 -2
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.ts +892 -0
- package/lib/components/VSwitch/index.d.ts +175 -0
- package/lib/components/VSystemBar/index.d.ts +61 -0
- package/lib/components/VTable/index.d.ts +39 -0
- package/lib/components/VTabs/VTab.mjs +1 -0
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/index.d.ts +178 -0
- package/lib/components/VTextField/VTextField.css +2 -3
- package/lib/components/VTextField/VTextField.sass +2 -4
- package/lib/components/VTextField/index.d.ts +582 -0
- package/lib/components/VTextarea/VTextarea.css +5 -3
- package/lib/components/VTextarea/VTextarea.mjs +2 -1
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.sass +5 -4
- package/lib/components/VTextarea/index.d.ts +218 -0
- package/lib/components/VThemeProvider/index.d.ts +24 -0
- package/lib/components/VTimeline/VTimeline.css +21 -6
- package/lib/components/VTimeline/VTimeline.mjs +6 -1
- package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
- package/lib/components/VTimeline/VTimeline.sass +16 -2
- package/lib/components/VTimeline/_variables.scss +4 -3
- package/lib/components/VTimeline/index.d.ts +154 -0
- package/lib/components/VToolbar/VToolbar.css +0 -1
- package/lib/components/VToolbar/VToolbar.sass +0 -1
- package/lib/components/VToolbar/index.d.ts +414 -0
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/index.d.ts +799 -0
- package/lib/components/VValidation/index.d.ts +61 -0
- package/lib/components/VWindow/index.d.ts +428 -0
- package/lib/components/index.d.ts +12037 -10009
- package/lib/components/transitions/index.d.ts +454 -0
- package/lib/composables/display.mjs +3 -3
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/items.mjs.map +1 -1
- package/lib/composables/locale.mjs +10 -3
- package/lib/composables/locale.mjs.map +1 -1
- package/lib/composables/proxiedModel.mjs +28 -10
- package/lib/composables/proxiedModel.mjs.map +1 -1
- package/lib/composables/router.mjs +10 -2
- package/lib/composables/router.mjs.map +1 -1
- package/lib/composables/selectLink.mjs +4 -4
- package/lib/composables/selectLink.mjs.map +1 -1
- package/lib/composables/theme.mjs +37 -33
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/validation.mjs +1 -1
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +46 -51
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.ts +31 -22
- package/lib/locale/adapters/vue-i18n.d.ts +35 -0
- package/lib/locale/adapters/vue-intl.d.ts +42 -0
- package/lib/styles/main.css +73 -73
- package/lib/styles/settings/_colors.scss +84 -84
- package/lib/styles/tools/_states.sass +8 -3
- package/lib/util/getCurrentInstance.mjs +2 -3
- package/lib/util/getCurrentInstance.mjs.map +1 -1
- package/lib/util/helpers.mjs +6 -11
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { JSXComponent, PropType, App, Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare type DeepPartial<T> = T extends object ? {
|
|
4
|
+
[P in keyof T]?: DeepPartial<T[P]>;
|
|
5
|
+
} : T;
|
|
6
|
+
declare type ThemeOptions = false | {
|
|
7
|
+
cspNonce?: string;
|
|
8
|
+
defaultTheme?: string;
|
|
9
|
+
variations?: false | VariationsOptions;
|
|
10
|
+
themes?: Record<string, ThemeDefinition>;
|
|
11
|
+
};
|
|
12
|
+
declare type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
|
|
13
|
+
interface VariationsOptions {
|
|
14
|
+
colors: string[];
|
|
15
|
+
lighten: number;
|
|
16
|
+
darken: number;
|
|
17
|
+
}
|
|
18
|
+
interface InternalThemeDefinition {
|
|
19
|
+
dark: boolean;
|
|
20
|
+
colors: Colors;
|
|
21
|
+
variables: Record<string, string | number>;
|
|
22
|
+
}
|
|
23
|
+
interface Colors extends BaseColors, OnColors {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
}
|
|
26
|
+
interface BaseColors {
|
|
27
|
+
background: string;
|
|
28
|
+
surface: string;
|
|
29
|
+
primary: string;
|
|
30
|
+
secondary: string;
|
|
31
|
+
success: string;
|
|
32
|
+
warning: string;
|
|
33
|
+
error: string;
|
|
34
|
+
info: string;
|
|
35
|
+
}
|
|
36
|
+
interface OnColors {
|
|
37
|
+
'on-background': string;
|
|
38
|
+
'on-surface': string;
|
|
39
|
+
'on-primary': string;
|
|
40
|
+
'on-secondary': string;
|
|
41
|
+
'on-success': string;
|
|
42
|
+
'on-warning': string;
|
|
43
|
+
'on-error': string;
|
|
44
|
+
'on-info': string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare type DisplayBreakpoint = keyof DisplayThresholds;
|
|
48
|
+
interface DisplayThresholds {
|
|
49
|
+
xs: number;
|
|
50
|
+
sm: number;
|
|
51
|
+
md: number;
|
|
52
|
+
lg: number;
|
|
53
|
+
xl: number;
|
|
54
|
+
xxl: number;
|
|
55
|
+
}
|
|
56
|
+
interface DisplayOptions {
|
|
57
|
+
mobileBreakpoint?: number | DisplayBreakpoint;
|
|
58
|
+
thresholds?: Partial<DisplayThresholds>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
interface DefaultsInstance {
|
|
62
|
+
[key: string]: undefined | Record<string, unknown>;
|
|
63
|
+
global?: Record<string, unknown>;
|
|
64
|
+
}
|
|
65
|
+
declare type DefaultsOptions = Partial<DefaultsInstance>;
|
|
66
|
+
|
|
67
|
+
declare type IconValue = string | JSXComponent;
|
|
68
|
+
declare const IconValue: PropType<IconValue>;
|
|
69
|
+
interface IconAliases {
|
|
70
|
+
[name: string]: IconValue;
|
|
71
|
+
complete: IconValue;
|
|
72
|
+
cancel: IconValue;
|
|
73
|
+
close: IconValue;
|
|
74
|
+
delete: IconValue;
|
|
75
|
+
clear: IconValue;
|
|
76
|
+
success: IconValue;
|
|
77
|
+
info: IconValue;
|
|
78
|
+
warning: IconValue;
|
|
79
|
+
error: IconValue;
|
|
80
|
+
prev: IconValue;
|
|
81
|
+
next: IconValue;
|
|
82
|
+
checkboxOn: IconValue;
|
|
83
|
+
checkboxOff: IconValue;
|
|
84
|
+
checkboxIndeterminate: IconValue;
|
|
85
|
+
delimiter: IconValue;
|
|
86
|
+
sort: IconValue;
|
|
87
|
+
expand: IconValue;
|
|
88
|
+
menu: IconValue;
|
|
89
|
+
subgroup: IconValue;
|
|
90
|
+
dropdown: IconValue;
|
|
91
|
+
radioOn: IconValue;
|
|
92
|
+
radioOff: IconValue;
|
|
93
|
+
edit: IconValue;
|
|
94
|
+
ratingEmpty: IconValue;
|
|
95
|
+
ratingFull: IconValue;
|
|
96
|
+
ratingHalf: IconValue;
|
|
97
|
+
loading: IconValue;
|
|
98
|
+
first: IconValue;
|
|
99
|
+
last: IconValue;
|
|
100
|
+
unfold: IconValue;
|
|
101
|
+
file: IconValue;
|
|
102
|
+
plus: IconValue;
|
|
103
|
+
minus: IconValue;
|
|
104
|
+
}
|
|
105
|
+
interface IconProps {
|
|
106
|
+
tag: string;
|
|
107
|
+
icon: IconValue;
|
|
108
|
+
disabled?: Boolean;
|
|
109
|
+
}
|
|
110
|
+
declare type IconComponent = JSXComponent<IconProps>;
|
|
111
|
+
interface IconSet {
|
|
112
|
+
component: IconComponent;
|
|
113
|
+
}
|
|
114
|
+
declare type IconOptions = {
|
|
115
|
+
defaultSet: string;
|
|
116
|
+
aliases?: Partial<IconAliases>;
|
|
117
|
+
sets: Record<string, IconSet>;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
interface RtlOptions {
|
|
121
|
+
rtl?: Record<string, boolean>;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
interface LocaleMessages {
|
|
125
|
+
[key: string]: LocaleMessages | string;
|
|
126
|
+
}
|
|
127
|
+
interface LocaleOptions {
|
|
128
|
+
defaultLocale?: string;
|
|
129
|
+
fallbackLocale?: string;
|
|
130
|
+
messages?: LocaleMessages;
|
|
131
|
+
}
|
|
132
|
+
interface LocaleProps {
|
|
133
|
+
locale?: string;
|
|
134
|
+
fallbackLocale?: string;
|
|
135
|
+
messages?: LocaleMessages;
|
|
136
|
+
}
|
|
137
|
+
interface LocaleInstance {
|
|
138
|
+
current: Ref<string>;
|
|
139
|
+
fallback: Ref<string>;
|
|
140
|
+
messages: Ref<LocaleMessages>;
|
|
141
|
+
t: (key: string, ...params: unknown[]) => string;
|
|
142
|
+
n: (value: number) => string;
|
|
143
|
+
}
|
|
144
|
+
interface LocaleAdapter {
|
|
145
|
+
createRoot: (app?: App) => LocaleInstance;
|
|
146
|
+
getScope: () => LocaleInstance;
|
|
147
|
+
createScope: (options?: LocaleProps) => LocaleInstance;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
interface VuetifyOptions {
|
|
151
|
+
aliases?: Record<string, any>;
|
|
152
|
+
blueprint?: Blueprint;
|
|
153
|
+
components?: Record<string, any>;
|
|
154
|
+
directives?: Record<string, any>;
|
|
155
|
+
defaults?: DefaultsOptions;
|
|
156
|
+
display?: DisplayOptions;
|
|
157
|
+
theme?: ThemeOptions;
|
|
158
|
+
icons?: IconOptions;
|
|
159
|
+
locale?: (LocaleOptions & RtlOptions) | (LocaleAdapter & RtlOptions);
|
|
160
|
+
ssr?: boolean;
|
|
161
|
+
}
|
|
162
|
+
interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
declare const md1: Blueprint;
|
|
166
|
+
|
|
167
|
+
declare const md2: Blueprint;
|
|
168
|
+
|
|
169
|
+
declare const md3: Blueprint;
|
|
170
|
+
|
|
171
|
+
export { md1, md2, md3 };
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { JSXComponent, PropType, App, Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare type DeepPartial<T> = T extends object ? {
|
|
4
|
+
[P in keyof T]?: DeepPartial<T[P]>;
|
|
5
|
+
} : T;
|
|
6
|
+
declare type ThemeOptions = false | {
|
|
7
|
+
cspNonce?: string;
|
|
8
|
+
defaultTheme?: string;
|
|
9
|
+
variations?: false | VariationsOptions;
|
|
10
|
+
themes?: Record<string, ThemeDefinition>;
|
|
11
|
+
};
|
|
12
|
+
declare type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
|
|
13
|
+
interface VariationsOptions {
|
|
14
|
+
colors: string[];
|
|
15
|
+
lighten: number;
|
|
16
|
+
darken: number;
|
|
17
|
+
}
|
|
18
|
+
interface InternalThemeDefinition {
|
|
19
|
+
dark: boolean;
|
|
20
|
+
colors: Colors;
|
|
21
|
+
variables: Record<string, string | number>;
|
|
22
|
+
}
|
|
23
|
+
interface Colors extends BaseColors, OnColors {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
}
|
|
26
|
+
interface BaseColors {
|
|
27
|
+
background: string;
|
|
28
|
+
surface: string;
|
|
29
|
+
primary: string;
|
|
30
|
+
secondary: string;
|
|
31
|
+
success: string;
|
|
32
|
+
warning: string;
|
|
33
|
+
error: string;
|
|
34
|
+
info: string;
|
|
35
|
+
}
|
|
36
|
+
interface OnColors {
|
|
37
|
+
'on-background': string;
|
|
38
|
+
'on-surface': string;
|
|
39
|
+
'on-primary': string;
|
|
40
|
+
'on-secondary': string;
|
|
41
|
+
'on-success': string;
|
|
42
|
+
'on-warning': string;
|
|
43
|
+
'on-error': string;
|
|
44
|
+
'on-info': string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare type DisplayBreakpoint = keyof DisplayThresholds;
|
|
48
|
+
interface DisplayThresholds {
|
|
49
|
+
xs: number;
|
|
50
|
+
sm: number;
|
|
51
|
+
md: number;
|
|
52
|
+
lg: number;
|
|
53
|
+
xl: number;
|
|
54
|
+
xxl: number;
|
|
55
|
+
}
|
|
56
|
+
interface DisplayOptions {
|
|
57
|
+
mobileBreakpoint?: number | DisplayBreakpoint;
|
|
58
|
+
thresholds?: Partial<DisplayThresholds>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
interface DefaultsInstance {
|
|
62
|
+
[key: string]: undefined | Record<string, unknown>;
|
|
63
|
+
global?: Record<string, unknown>;
|
|
64
|
+
}
|
|
65
|
+
declare type DefaultsOptions = Partial<DefaultsInstance>;
|
|
66
|
+
|
|
67
|
+
declare type IconValue = string | JSXComponent;
|
|
68
|
+
declare const IconValue: PropType<IconValue>;
|
|
69
|
+
interface IconAliases {
|
|
70
|
+
[name: string]: IconValue;
|
|
71
|
+
complete: IconValue;
|
|
72
|
+
cancel: IconValue;
|
|
73
|
+
close: IconValue;
|
|
74
|
+
delete: IconValue;
|
|
75
|
+
clear: IconValue;
|
|
76
|
+
success: IconValue;
|
|
77
|
+
info: IconValue;
|
|
78
|
+
warning: IconValue;
|
|
79
|
+
error: IconValue;
|
|
80
|
+
prev: IconValue;
|
|
81
|
+
next: IconValue;
|
|
82
|
+
checkboxOn: IconValue;
|
|
83
|
+
checkboxOff: IconValue;
|
|
84
|
+
checkboxIndeterminate: IconValue;
|
|
85
|
+
delimiter: IconValue;
|
|
86
|
+
sort: IconValue;
|
|
87
|
+
expand: IconValue;
|
|
88
|
+
menu: IconValue;
|
|
89
|
+
subgroup: IconValue;
|
|
90
|
+
dropdown: IconValue;
|
|
91
|
+
radioOn: IconValue;
|
|
92
|
+
radioOff: IconValue;
|
|
93
|
+
edit: IconValue;
|
|
94
|
+
ratingEmpty: IconValue;
|
|
95
|
+
ratingFull: IconValue;
|
|
96
|
+
ratingHalf: IconValue;
|
|
97
|
+
loading: IconValue;
|
|
98
|
+
first: IconValue;
|
|
99
|
+
last: IconValue;
|
|
100
|
+
unfold: IconValue;
|
|
101
|
+
file: IconValue;
|
|
102
|
+
plus: IconValue;
|
|
103
|
+
minus: IconValue;
|
|
104
|
+
}
|
|
105
|
+
interface IconProps {
|
|
106
|
+
tag: string;
|
|
107
|
+
icon: IconValue;
|
|
108
|
+
disabled?: Boolean;
|
|
109
|
+
}
|
|
110
|
+
declare type IconComponent = JSXComponent<IconProps>;
|
|
111
|
+
interface IconSet {
|
|
112
|
+
component: IconComponent;
|
|
113
|
+
}
|
|
114
|
+
declare type IconOptions = {
|
|
115
|
+
defaultSet: string;
|
|
116
|
+
aliases?: Partial<IconAliases>;
|
|
117
|
+
sets: Record<string, IconSet>;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
interface RtlOptions {
|
|
121
|
+
rtl?: Record<string, boolean>;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
interface LocaleMessages {
|
|
125
|
+
[key: string]: LocaleMessages | string;
|
|
126
|
+
}
|
|
127
|
+
interface LocaleOptions {
|
|
128
|
+
defaultLocale?: string;
|
|
129
|
+
fallbackLocale?: string;
|
|
130
|
+
messages?: LocaleMessages;
|
|
131
|
+
}
|
|
132
|
+
interface LocaleProps {
|
|
133
|
+
locale?: string;
|
|
134
|
+
fallbackLocale?: string;
|
|
135
|
+
messages?: LocaleMessages;
|
|
136
|
+
}
|
|
137
|
+
interface LocaleInstance {
|
|
138
|
+
current: Ref<string>;
|
|
139
|
+
fallback: Ref<string>;
|
|
140
|
+
messages: Ref<LocaleMessages>;
|
|
141
|
+
t: (key: string, ...params: unknown[]) => string;
|
|
142
|
+
n: (value: number) => string;
|
|
143
|
+
}
|
|
144
|
+
interface LocaleAdapter {
|
|
145
|
+
createRoot: (app?: App) => LocaleInstance;
|
|
146
|
+
getScope: () => LocaleInstance;
|
|
147
|
+
createScope: (options?: LocaleProps) => LocaleInstance;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
interface VuetifyOptions {
|
|
151
|
+
aliases?: Record<string, any>;
|
|
152
|
+
blueprint?: Blueprint;
|
|
153
|
+
components?: Record<string, any>;
|
|
154
|
+
directives?: Record<string, any>;
|
|
155
|
+
defaults?: DefaultsOptions;
|
|
156
|
+
display?: DisplayOptions;
|
|
157
|
+
theme?: ThemeOptions;
|
|
158
|
+
icons?: IconOptions;
|
|
159
|
+
locale?: (LocaleOptions & RtlOptions) | (LocaleAdapter & RtlOptions);
|
|
160
|
+
ssr?: boolean;
|
|
161
|
+
}
|
|
162
|
+
interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
declare const md1: Blueprint;
|
|
166
|
+
|
|
167
|
+
export { md1 };
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { JSXComponent, PropType, App, Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare type DeepPartial<T> = T extends object ? {
|
|
4
|
+
[P in keyof T]?: DeepPartial<T[P]>;
|
|
5
|
+
} : T;
|
|
6
|
+
declare type ThemeOptions = false | {
|
|
7
|
+
cspNonce?: string;
|
|
8
|
+
defaultTheme?: string;
|
|
9
|
+
variations?: false | VariationsOptions;
|
|
10
|
+
themes?: Record<string, ThemeDefinition>;
|
|
11
|
+
};
|
|
12
|
+
declare type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
|
|
13
|
+
interface VariationsOptions {
|
|
14
|
+
colors: string[];
|
|
15
|
+
lighten: number;
|
|
16
|
+
darken: number;
|
|
17
|
+
}
|
|
18
|
+
interface InternalThemeDefinition {
|
|
19
|
+
dark: boolean;
|
|
20
|
+
colors: Colors;
|
|
21
|
+
variables: Record<string, string | number>;
|
|
22
|
+
}
|
|
23
|
+
interface Colors extends BaseColors, OnColors {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
}
|
|
26
|
+
interface BaseColors {
|
|
27
|
+
background: string;
|
|
28
|
+
surface: string;
|
|
29
|
+
primary: string;
|
|
30
|
+
secondary: string;
|
|
31
|
+
success: string;
|
|
32
|
+
warning: string;
|
|
33
|
+
error: string;
|
|
34
|
+
info: string;
|
|
35
|
+
}
|
|
36
|
+
interface OnColors {
|
|
37
|
+
'on-background': string;
|
|
38
|
+
'on-surface': string;
|
|
39
|
+
'on-primary': string;
|
|
40
|
+
'on-secondary': string;
|
|
41
|
+
'on-success': string;
|
|
42
|
+
'on-warning': string;
|
|
43
|
+
'on-error': string;
|
|
44
|
+
'on-info': string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare type DisplayBreakpoint = keyof DisplayThresholds;
|
|
48
|
+
interface DisplayThresholds {
|
|
49
|
+
xs: number;
|
|
50
|
+
sm: number;
|
|
51
|
+
md: number;
|
|
52
|
+
lg: number;
|
|
53
|
+
xl: number;
|
|
54
|
+
xxl: number;
|
|
55
|
+
}
|
|
56
|
+
interface DisplayOptions {
|
|
57
|
+
mobileBreakpoint?: number | DisplayBreakpoint;
|
|
58
|
+
thresholds?: Partial<DisplayThresholds>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
interface DefaultsInstance {
|
|
62
|
+
[key: string]: undefined | Record<string, unknown>;
|
|
63
|
+
global?: Record<string, unknown>;
|
|
64
|
+
}
|
|
65
|
+
declare type DefaultsOptions = Partial<DefaultsInstance>;
|
|
66
|
+
|
|
67
|
+
declare type IconValue = string | JSXComponent;
|
|
68
|
+
declare const IconValue: PropType<IconValue>;
|
|
69
|
+
interface IconAliases {
|
|
70
|
+
[name: string]: IconValue;
|
|
71
|
+
complete: IconValue;
|
|
72
|
+
cancel: IconValue;
|
|
73
|
+
close: IconValue;
|
|
74
|
+
delete: IconValue;
|
|
75
|
+
clear: IconValue;
|
|
76
|
+
success: IconValue;
|
|
77
|
+
info: IconValue;
|
|
78
|
+
warning: IconValue;
|
|
79
|
+
error: IconValue;
|
|
80
|
+
prev: IconValue;
|
|
81
|
+
next: IconValue;
|
|
82
|
+
checkboxOn: IconValue;
|
|
83
|
+
checkboxOff: IconValue;
|
|
84
|
+
checkboxIndeterminate: IconValue;
|
|
85
|
+
delimiter: IconValue;
|
|
86
|
+
sort: IconValue;
|
|
87
|
+
expand: IconValue;
|
|
88
|
+
menu: IconValue;
|
|
89
|
+
subgroup: IconValue;
|
|
90
|
+
dropdown: IconValue;
|
|
91
|
+
radioOn: IconValue;
|
|
92
|
+
radioOff: IconValue;
|
|
93
|
+
edit: IconValue;
|
|
94
|
+
ratingEmpty: IconValue;
|
|
95
|
+
ratingFull: IconValue;
|
|
96
|
+
ratingHalf: IconValue;
|
|
97
|
+
loading: IconValue;
|
|
98
|
+
first: IconValue;
|
|
99
|
+
last: IconValue;
|
|
100
|
+
unfold: IconValue;
|
|
101
|
+
file: IconValue;
|
|
102
|
+
plus: IconValue;
|
|
103
|
+
minus: IconValue;
|
|
104
|
+
}
|
|
105
|
+
interface IconProps {
|
|
106
|
+
tag: string;
|
|
107
|
+
icon: IconValue;
|
|
108
|
+
disabled?: Boolean;
|
|
109
|
+
}
|
|
110
|
+
declare type IconComponent = JSXComponent<IconProps>;
|
|
111
|
+
interface IconSet {
|
|
112
|
+
component: IconComponent;
|
|
113
|
+
}
|
|
114
|
+
declare type IconOptions = {
|
|
115
|
+
defaultSet: string;
|
|
116
|
+
aliases?: Partial<IconAliases>;
|
|
117
|
+
sets: Record<string, IconSet>;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
interface RtlOptions {
|
|
121
|
+
rtl?: Record<string, boolean>;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
interface LocaleMessages {
|
|
125
|
+
[key: string]: LocaleMessages | string;
|
|
126
|
+
}
|
|
127
|
+
interface LocaleOptions {
|
|
128
|
+
defaultLocale?: string;
|
|
129
|
+
fallbackLocale?: string;
|
|
130
|
+
messages?: LocaleMessages;
|
|
131
|
+
}
|
|
132
|
+
interface LocaleProps {
|
|
133
|
+
locale?: string;
|
|
134
|
+
fallbackLocale?: string;
|
|
135
|
+
messages?: LocaleMessages;
|
|
136
|
+
}
|
|
137
|
+
interface LocaleInstance {
|
|
138
|
+
current: Ref<string>;
|
|
139
|
+
fallback: Ref<string>;
|
|
140
|
+
messages: Ref<LocaleMessages>;
|
|
141
|
+
t: (key: string, ...params: unknown[]) => string;
|
|
142
|
+
n: (value: number) => string;
|
|
143
|
+
}
|
|
144
|
+
interface LocaleAdapter {
|
|
145
|
+
createRoot: (app?: App) => LocaleInstance;
|
|
146
|
+
getScope: () => LocaleInstance;
|
|
147
|
+
createScope: (options?: LocaleProps) => LocaleInstance;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
interface VuetifyOptions {
|
|
151
|
+
aliases?: Record<string, any>;
|
|
152
|
+
blueprint?: Blueprint;
|
|
153
|
+
components?: Record<string, any>;
|
|
154
|
+
directives?: Record<string, any>;
|
|
155
|
+
defaults?: DefaultsOptions;
|
|
156
|
+
display?: DisplayOptions;
|
|
157
|
+
theme?: ThemeOptions;
|
|
158
|
+
icons?: IconOptions;
|
|
159
|
+
locale?: (LocaleOptions & RtlOptions) | (LocaleAdapter & RtlOptions);
|
|
160
|
+
ssr?: boolean;
|
|
161
|
+
}
|
|
162
|
+
interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
declare const md2: Blueprint;
|
|
166
|
+
|
|
167
|
+
export { md2 };
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { JSXComponent, PropType, App, Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare type DeepPartial<T> = T extends object ? {
|
|
4
|
+
[P in keyof T]?: DeepPartial<T[P]>;
|
|
5
|
+
} : T;
|
|
6
|
+
declare type ThemeOptions = false | {
|
|
7
|
+
cspNonce?: string;
|
|
8
|
+
defaultTheme?: string;
|
|
9
|
+
variations?: false | VariationsOptions;
|
|
10
|
+
themes?: Record<string, ThemeDefinition>;
|
|
11
|
+
};
|
|
12
|
+
declare type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
|
|
13
|
+
interface VariationsOptions {
|
|
14
|
+
colors: string[];
|
|
15
|
+
lighten: number;
|
|
16
|
+
darken: number;
|
|
17
|
+
}
|
|
18
|
+
interface InternalThemeDefinition {
|
|
19
|
+
dark: boolean;
|
|
20
|
+
colors: Colors;
|
|
21
|
+
variables: Record<string, string | number>;
|
|
22
|
+
}
|
|
23
|
+
interface Colors extends BaseColors, OnColors {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
}
|
|
26
|
+
interface BaseColors {
|
|
27
|
+
background: string;
|
|
28
|
+
surface: string;
|
|
29
|
+
primary: string;
|
|
30
|
+
secondary: string;
|
|
31
|
+
success: string;
|
|
32
|
+
warning: string;
|
|
33
|
+
error: string;
|
|
34
|
+
info: string;
|
|
35
|
+
}
|
|
36
|
+
interface OnColors {
|
|
37
|
+
'on-background': string;
|
|
38
|
+
'on-surface': string;
|
|
39
|
+
'on-primary': string;
|
|
40
|
+
'on-secondary': string;
|
|
41
|
+
'on-success': string;
|
|
42
|
+
'on-warning': string;
|
|
43
|
+
'on-error': string;
|
|
44
|
+
'on-info': string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare type DisplayBreakpoint = keyof DisplayThresholds;
|
|
48
|
+
interface DisplayThresholds {
|
|
49
|
+
xs: number;
|
|
50
|
+
sm: number;
|
|
51
|
+
md: number;
|
|
52
|
+
lg: number;
|
|
53
|
+
xl: number;
|
|
54
|
+
xxl: number;
|
|
55
|
+
}
|
|
56
|
+
interface DisplayOptions {
|
|
57
|
+
mobileBreakpoint?: number | DisplayBreakpoint;
|
|
58
|
+
thresholds?: Partial<DisplayThresholds>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
interface DefaultsInstance {
|
|
62
|
+
[key: string]: undefined | Record<string, unknown>;
|
|
63
|
+
global?: Record<string, unknown>;
|
|
64
|
+
}
|
|
65
|
+
declare type DefaultsOptions = Partial<DefaultsInstance>;
|
|
66
|
+
|
|
67
|
+
declare type IconValue = string | JSXComponent;
|
|
68
|
+
declare const IconValue: PropType<IconValue>;
|
|
69
|
+
interface IconAliases {
|
|
70
|
+
[name: string]: IconValue;
|
|
71
|
+
complete: IconValue;
|
|
72
|
+
cancel: IconValue;
|
|
73
|
+
close: IconValue;
|
|
74
|
+
delete: IconValue;
|
|
75
|
+
clear: IconValue;
|
|
76
|
+
success: IconValue;
|
|
77
|
+
info: IconValue;
|
|
78
|
+
warning: IconValue;
|
|
79
|
+
error: IconValue;
|
|
80
|
+
prev: IconValue;
|
|
81
|
+
next: IconValue;
|
|
82
|
+
checkboxOn: IconValue;
|
|
83
|
+
checkboxOff: IconValue;
|
|
84
|
+
checkboxIndeterminate: IconValue;
|
|
85
|
+
delimiter: IconValue;
|
|
86
|
+
sort: IconValue;
|
|
87
|
+
expand: IconValue;
|
|
88
|
+
menu: IconValue;
|
|
89
|
+
subgroup: IconValue;
|
|
90
|
+
dropdown: IconValue;
|
|
91
|
+
radioOn: IconValue;
|
|
92
|
+
radioOff: IconValue;
|
|
93
|
+
edit: IconValue;
|
|
94
|
+
ratingEmpty: IconValue;
|
|
95
|
+
ratingFull: IconValue;
|
|
96
|
+
ratingHalf: IconValue;
|
|
97
|
+
loading: IconValue;
|
|
98
|
+
first: IconValue;
|
|
99
|
+
last: IconValue;
|
|
100
|
+
unfold: IconValue;
|
|
101
|
+
file: IconValue;
|
|
102
|
+
plus: IconValue;
|
|
103
|
+
minus: IconValue;
|
|
104
|
+
}
|
|
105
|
+
interface IconProps {
|
|
106
|
+
tag: string;
|
|
107
|
+
icon: IconValue;
|
|
108
|
+
disabled?: Boolean;
|
|
109
|
+
}
|
|
110
|
+
declare type IconComponent = JSXComponent<IconProps>;
|
|
111
|
+
interface IconSet {
|
|
112
|
+
component: IconComponent;
|
|
113
|
+
}
|
|
114
|
+
declare type IconOptions = {
|
|
115
|
+
defaultSet: string;
|
|
116
|
+
aliases?: Partial<IconAliases>;
|
|
117
|
+
sets: Record<string, IconSet>;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
interface RtlOptions {
|
|
121
|
+
rtl?: Record<string, boolean>;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
interface LocaleMessages {
|
|
125
|
+
[key: string]: LocaleMessages | string;
|
|
126
|
+
}
|
|
127
|
+
interface LocaleOptions {
|
|
128
|
+
defaultLocale?: string;
|
|
129
|
+
fallbackLocale?: string;
|
|
130
|
+
messages?: LocaleMessages;
|
|
131
|
+
}
|
|
132
|
+
interface LocaleProps {
|
|
133
|
+
locale?: string;
|
|
134
|
+
fallbackLocale?: string;
|
|
135
|
+
messages?: LocaleMessages;
|
|
136
|
+
}
|
|
137
|
+
interface LocaleInstance {
|
|
138
|
+
current: Ref<string>;
|
|
139
|
+
fallback: Ref<string>;
|
|
140
|
+
messages: Ref<LocaleMessages>;
|
|
141
|
+
t: (key: string, ...params: unknown[]) => string;
|
|
142
|
+
n: (value: number) => string;
|
|
143
|
+
}
|
|
144
|
+
interface LocaleAdapter {
|
|
145
|
+
createRoot: (app?: App) => LocaleInstance;
|
|
146
|
+
getScope: () => LocaleInstance;
|
|
147
|
+
createScope: (options?: LocaleProps) => LocaleInstance;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
interface VuetifyOptions {
|
|
151
|
+
aliases?: Record<string, any>;
|
|
152
|
+
blueprint?: Blueprint;
|
|
153
|
+
components?: Record<string, any>;
|
|
154
|
+
directives?: Record<string, any>;
|
|
155
|
+
defaults?: DefaultsOptions;
|
|
156
|
+
display?: DisplayOptions;
|
|
157
|
+
theme?: ThemeOptions;
|
|
158
|
+
icons?: IconOptions;
|
|
159
|
+
locale?: (LocaleOptions & RtlOptions) | (LocaleAdapter & RtlOptions);
|
|
160
|
+
ssr?: boolean;
|
|
161
|
+
}
|
|
162
|
+
interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
declare const md3: Blueprint;
|
|
166
|
+
|
|
167
|
+
export { md3 };
|