@vuetify/nightly 3.7.7-master.2025-01-23 → 3.7.7-master.2025-01-25
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 +25 -8
- package/dist/json/attributes.json +3992 -3992
- package/dist/json/importMap-labs.json +14 -14
- package/dist/json/importMap.json +150 -150
- package/dist/json/web-types.json +6640 -6749
- package/dist/vuetify-labs.css +3224 -3224
- package/dist/vuetify-labs.d.ts +625 -839
- package/dist/vuetify-labs.esm.js +29 -23
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +29 -23
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +6079 -6079
- package/dist/vuetify.d.ts +122 -122
- package/dist/vuetify.esm.js +28 -21
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +28 -21
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +31 -31
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs +1 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTable.css +2 -2
- package/lib/components/VDataTable/VDataTable.sass +2 -2
- package/lib/components/VDataTable/composables/group.mjs +1 -1
- package/lib/components/VDataTable/composables/group.mjs.map +1 -1
- package/lib/components/VDataTable/composables/paginate.mjs +2 -0
- package/lib/components/VDataTable/composables/paginate.mjs.map +1 -1
- package/lib/components/VField/VField.css +1 -1
- package/lib/components/VField/VField.mjs +6 -5
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +1 -1
- package/lib/components/VImg/VImg.mjs +2 -2
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VInput/VInput.mjs +4 -2
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.mjs +1 -1
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMessages/VMessages.mjs +1 -3
- package/lib/components/VMessages/VMessages.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.mjs +1 -1
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VStepper/VStepperItem.mjs.map +1 -1
- package/lib/components/VStepper/index.d.mts +66 -66
- package/lib/components/index.d.mts +66 -66
- package/lib/composables/calendar.mjs +4 -1
- package/lib/composables/calendar.mjs.map +1 -1
- package/lib/composables/router.mjs +2 -2
- package/lib/composables/router.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +56 -56
- package/lib/labs/VStepperVertical/VStepperVertical.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 +585 -774
- package/lib/labs/components.d.mts +567 -781
- package/package.json +1 -1
@@ -51976,13 +51976,13 @@ declare const VSpeedDial: {
|
|
51976
51976
|
type VSpeedDial = InstanceType<typeof VSpeedDial>;
|
51977
51977
|
|
51978
51978
|
type StepperItem = string | Record<string, any>;
|
51979
|
-
type StepperItemSlot = {
|
51979
|
+
type StepperItemSlot<T = any> = {
|
51980
51980
|
canEdit: boolean;
|
51981
51981
|
hasError: boolean;
|
51982
51982
|
hasCompleted: boolean;
|
51983
51983
|
title?: string | number;
|
51984
51984
|
subtitle?: string | number;
|
51985
|
-
step:
|
51985
|
+
step: T;
|
51986
51986
|
};
|
51987
51987
|
type ValidationRule = () => string | boolean;
|
51988
51988
|
declare const VStepperItem: {
|
@@ -52006,23 +52006,23 @@ declare const VStepperItem: {
|
|
52006
52006
|
selectedClass?: string | undefined;
|
52007
52007
|
subtitle?: string | undefined;
|
52008
52008
|
} & {
|
52009
|
-
$children?: vue.VNodeChild |
|
52010
|
-
default?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52011
|
-
icon?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52012
|
-
title?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52013
|
-
subtitle?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52014
|
-
};
|
52009
|
+
$children?: vue.VNodeChild | {
|
52010
|
+
default?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52011
|
+
icon?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52012
|
+
title?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52013
|
+
subtitle?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52014
|
+
} | ((arg: StepperItemSlot<any>) => vue.VNodeChild);
|
52015
52015
|
'v-slots'?: {
|
52016
|
-
default?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52017
|
-
icon?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52018
|
-
title?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52019
|
-
subtitle?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52016
|
+
default?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52017
|
+
icon?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52018
|
+
title?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52019
|
+
subtitle?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52020
52020
|
} | undefined;
|
52021
52021
|
} & {
|
52022
|
-
"v-slot:default"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52023
|
-
"v-slot:icon"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52024
|
-
"v-slot:title"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52025
|
-
"v-slot:subtitle"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52022
|
+
"v-slot:default"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52023
|
+
"v-slot:icon"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52024
|
+
"v-slot:title"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52025
|
+
"v-slot:subtitle"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52026
52026
|
} & {
|
52027
52027
|
"onGroup:selected"?: ((val: {
|
52028
52028
|
value: boolean;
|
@@ -52051,23 +52051,23 @@ declare const VStepperItem: {
|
|
52051
52051
|
selectedClass?: string | undefined;
|
52052
52052
|
subtitle?: string | undefined;
|
52053
52053
|
} & {
|
52054
|
-
$children?: vue.VNodeChild |
|
52055
|
-
default?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52056
|
-
icon?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52057
|
-
title?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52058
|
-
subtitle?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52059
|
-
};
|
52054
|
+
$children?: vue.VNodeChild | {
|
52055
|
+
default?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52056
|
+
icon?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52057
|
+
title?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52058
|
+
subtitle?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52059
|
+
} | ((arg: StepperItemSlot<any>) => vue.VNodeChild);
|
52060
52060
|
'v-slots'?: {
|
52061
|
-
default?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52062
|
-
icon?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52063
|
-
title?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52064
|
-
subtitle?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52061
|
+
default?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52062
|
+
icon?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52063
|
+
title?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52064
|
+
subtitle?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52065
52065
|
} | undefined;
|
52066
52066
|
} & {
|
52067
|
-
"v-slot:default"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52068
|
-
"v-slot:icon"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52069
|
-
"v-slot:title"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52070
|
-
"v-slot:subtitle"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52067
|
+
"v-slot:default"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52068
|
+
"v-slot:icon"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52069
|
+
"v-slot:title"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52070
|
+
"v-slot:subtitle"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52071
52071
|
} & {
|
52072
52072
|
"onGroup:selected"?: ((val: {
|
52073
52073
|
value: boolean;
|
@@ -52085,10 +52085,10 @@ declare const VStepperItem: {
|
|
52085
52085
|
editIcon: IconValue;
|
52086
52086
|
errorIcon: IconValue;
|
52087
52087
|
}, true, {}, vue.SlotsType<Partial<{
|
52088
|
-
default: (arg: StepperItemSlot) => vue.VNode[];
|
52089
|
-
icon: (arg: StepperItemSlot) => vue.VNode[];
|
52090
|
-
title: (arg: StepperItemSlot) => vue.VNode[];
|
52091
|
-
subtitle: (arg: StepperItemSlot) => vue.VNode[];
|
52088
|
+
default: (arg: StepperItemSlot<any>) => vue.VNode[];
|
52089
|
+
icon: (arg: StepperItemSlot<any>) => vue.VNode[];
|
52090
|
+
title: (arg: StepperItemSlot<any>) => vue.VNode[];
|
52091
|
+
subtitle: (arg: StepperItemSlot<any>) => vue.VNode[];
|
52092
52092
|
}>>, {
|
52093
52093
|
P: {};
|
52094
52094
|
B: {};
|
@@ -52116,23 +52116,23 @@ declare const VStepperItem: {
|
|
52116
52116
|
selectedClass?: string | undefined;
|
52117
52117
|
subtitle?: string | undefined;
|
52118
52118
|
} & {
|
52119
|
-
$children?: vue.VNodeChild |
|
52120
|
-
default?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52121
|
-
icon?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52122
|
-
title?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52123
|
-
subtitle?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52124
|
-
};
|
52119
|
+
$children?: vue.VNodeChild | {
|
52120
|
+
default?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52121
|
+
icon?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52122
|
+
title?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52123
|
+
subtitle?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52124
|
+
} | ((arg: StepperItemSlot<any>) => vue.VNodeChild);
|
52125
52125
|
'v-slots'?: {
|
52126
|
-
default?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52127
|
-
icon?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52128
|
-
title?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52129
|
-
subtitle?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52126
|
+
default?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52127
|
+
icon?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52128
|
+
title?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52129
|
+
subtitle?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52130
52130
|
} | undefined;
|
52131
52131
|
} & {
|
52132
|
-
"v-slot:default"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52133
|
-
"v-slot:icon"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52134
|
-
"v-slot:title"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52135
|
-
"v-slot:subtitle"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52132
|
+
"v-slot:default"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52133
|
+
"v-slot:icon"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52134
|
+
"v-slot:title"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52135
|
+
"v-slot:subtitle"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52136
52136
|
} & {
|
52137
52137
|
"onGroup:selected"?: ((val: {
|
52138
52138
|
value: boolean;
|
@@ -52173,23 +52173,23 @@ declare const VStepperItem: {
|
|
52173
52173
|
selectedClass?: string | undefined;
|
52174
52174
|
subtitle?: string | undefined;
|
52175
52175
|
} & {
|
52176
|
-
$children?: vue.VNodeChild |
|
52177
|
-
default?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52178
|
-
icon?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52179
|
-
title?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52180
|
-
subtitle?: ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52181
|
-
};
|
52176
|
+
$children?: vue.VNodeChild | {
|
52177
|
+
default?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52178
|
+
icon?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52179
|
+
title?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52180
|
+
subtitle?: ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52181
|
+
} | ((arg: StepperItemSlot<any>) => vue.VNodeChild);
|
52182
52182
|
'v-slots'?: {
|
52183
|
-
default?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52184
|
-
icon?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52185
|
-
title?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52186
|
-
subtitle?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52183
|
+
default?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52184
|
+
icon?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52185
|
+
title?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52186
|
+
subtitle?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52187
52187
|
} | undefined;
|
52188
52188
|
} & {
|
52189
|
-
"v-slot:default"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52190
|
-
"v-slot:icon"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52191
|
-
"v-slot:title"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52192
|
-
"v-slot:subtitle"?: false | ((arg: StepperItemSlot) => vue.VNodeChild) | undefined;
|
52189
|
+
"v-slot:default"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52190
|
+
"v-slot:icon"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52191
|
+
"v-slot:title"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52192
|
+
"v-slot:subtitle"?: false | ((arg: StepperItemSlot<any>) => vue.VNodeChild) | undefined;
|
52193
52193
|
} & {
|
52194
52194
|
"onGroup:selected"?: ((val: {
|
52195
52195
|
value: boolean;
|
@@ -52211,10 +52211,10 @@ declare const VStepperItem: {
|
|
52211
52211
|
editIcon: IconValue;
|
52212
52212
|
errorIcon: IconValue;
|
52213
52213
|
}, {}, string, vue.SlotsType<Partial<{
|
52214
|
-
default: (arg: StepperItemSlot) => vue.VNode[];
|
52215
|
-
icon: (arg: StepperItemSlot) => vue.VNode[];
|
52216
|
-
title: (arg: StepperItemSlot) => vue.VNode[];
|
52217
|
-
subtitle: (arg: StepperItemSlot) => vue.VNode[];
|
52214
|
+
default: (arg: StepperItemSlot<any>) => vue.VNode[];
|
52215
|
+
icon: (arg: StepperItemSlot<any>) => vue.VNode[];
|
52216
|
+
title: (arg: StepperItemSlot<any>) => vue.VNode[];
|
52217
|
+
subtitle: (arg: StepperItemSlot<any>) => vue.VNode[];
|
52218
52218
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
52219
52219
|
value: null;
|
52220
52220
|
disabled: BooleanConstructor;
|
@@ -44,12 +44,15 @@ export function useCalendar(props) {
|
|
44
44
|
const date = adapter.setYear(adapter.startOfMonth(adapter.date()), adapter.getYear(year.value));
|
45
45
|
return adapter.setMonth(date, value);
|
46
46
|
}, v => adapter.getMonth(v));
|
47
|
+
const defaultFirstDayOfWeek = computed(() => {
|
48
|
+
return props.firstDayOfWeek ?? props.weekdays[0];
|
49
|
+
});
|
47
50
|
const weekDays = computed(() => {
|
48
51
|
const firstDayOfWeek = Number(props.firstDayOfWeek ?? 0);
|
49
52
|
return props.weekdays.map(day => (day + firstDayOfWeek) % 7);
|
50
53
|
});
|
51
54
|
const weeksInMonth = computed(() => {
|
52
|
-
const weeks = adapter.getWeekArray(month.value,
|
55
|
+
const weeks = adapter.getWeekArray(month.value, defaultFirstDayOfWeek.value);
|
53
56
|
const days = weeks.flat();
|
54
57
|
|
55
58
|
// Make sure there's always 6 weeks in month (6 * 7 days)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"calendar.mjs","names":["getWeek","useDate","useProxiedModel","computed","propsFactory","wrapInArray","makeCalendarProps","allowedDates","Array","Function","disabled","Boolean","displayValue","modelValue","month","Number","String","max","min","showAdjacentMonths","year","weekdays","type","default","weeksInMonth","firstDayOfWeek","useCalendar","props","adapter","model","v","date","value","length","isArray","undefined","getYear","startOfYear","setYear","getMonth","startOfMonth","setMonth","weekDays","map","day","weeks","getWeekArray","days","flat","daysInMonth","lastDay","week","push","addDays","genDays","today","filter","includes","toJsDate","getDay","index","isoDate","toISO","isAdjacent","isSameMonth","isStart","isSameDay","isEnd","endOfMonth","isSame","formatted","format","isDisabled","isWeekStart","isWeekEnd","isToday","isHidden","isSelected","some","localized","daysInWeek","startOfWeek","weekNumbers","isAfter","d"],"sources":["../../src/composables/calendar.ts"],"sourcesContent":["// Composables\nimport { getWeek, useDate } from '@/composables/date/date'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed } from 'vue'\nimport { propsFactory, wrapInArray } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\n// Types\nexport interface CalendarProps {\n allowedDates: unknown[] | ((date: unknown) => boolean) | undefined\n disabled: boolean\n displayValue: unknown\n modelValue: unknown[] | undefined\n max: unknown\n min: unknown\n showAdjacentMonths: boolean\n month: number | string | undefined\n weekdays: number[]\n year: number | string | undefined\n weeksInMonth: 'dynamic' | 'static'\n firstDayOfWeek: number | string | undefined\n\n 'onUpdate:modelValue': ((value: unknown[]) => void) | undefined\n 'onUpdate:month': ((value: number) => void) | undefined\n 'onUpdate:year': ((value: number) => void) | undefined\n}\n\n// Composables\nexport const makeCalendarProps = propsFactory({\n allowedDates: [Array, Function] as PropType<unknown[] | ((date: unknown) => boolean)>,\n disabled: Boolean,\n displayValue: null as any as PropType<unknown>,\n modelValue: Array as PropType<unknown[]>,\n month: [Number, String],\n max: null as any as PropType<unknown>,\n min: null as any as PropType<unknown>,\n showAdjacentMonths: Boolean,\n year: [Number, String],\n weekdays: {\n type: Array<number>,\n default: () => [0, 1, 2, 3, 4, 5, 6],\n },\n weeksInMonth: {\n type: String as PropType<'dynamic' | 'static'>,\n default: 'dynamic',\n },\n firstDayOfWeek: [Number, String],\n}, 'calendar')\n\nexport function useCalendar (props: CalendarProps) {\n const adapter = useDate()\n const model = useProxiedModel(\n props,\n 'modelValue',\n [],\n v => wrapInArray(v),\n )\n const displayValue = computed(() => {\n if (props.displayValue) return adapter.date(props.displayValue)\n if (model.value.length > 0) return adapter.date(model.value[0])\n if (props.min) return adapter.date(props.min)\n if (Array.isArray(props.allowedDates)) return adapter.date(props.allowedDates[0])\n\n return adapter.date()\n })\n\n const year = useProxiedModel(\n props,\n 'year',\n undefined,\n v => {\n const value = v != null ? Number(v) : adapter.getYear(displayValue.value)\n\n return adapter.startOfYear(adapter.setYear(adapter.date(), value))\n },\n v => adapter.getYear(v)\n )\n\n const month = useProxiedModel(\n props,\n 'month',\n undefined,\n v => {\n const value = v != null ? Number(v) : adapter.getMonth(displayValue.value)\n const date = adapter.setYear(adapter.startOfMonth(adapter.date()), adapter.getYear(year.value))\n\n return adapter.setMonth(date, value)\n },\n v => adapter.getMonth(v)\n )\n\n const weekDays = computed(() => {\n const firstDayOfWeek = Number(props.firstDayOfWeek ?? 0)\n\n return props.weekdays.map(day => (day + firstDayOfWeek) % 7)\n })\n\n const weeksInMonth = computed(() => {\n const weeks = adapter.getWeekArray(month.value, props.firstDayOfWeek)\n\n const days = weeks.flat()\n\n // Make sure there's always 6 weeks in month (6 * 7 days)\n // if weeksInMonth is 'static'\n const daysInMonth = 6 * 7\n if (props.weeksInMonth === 'static' && days.length < daysInMonth) {\n const lastDay = days[days.length - 1]\n\n let week = []\n for (let day = 1; day <= daysInMonth - days.length; day++) {\n week.push(adapter.addDays(lastDay, day))\n\n if (day % 7 === 0) {\n weeks.push(week)\n week = []\n }\n }\n }\n\n return weeks\n })\n\n function genDays (days: unknown[], today: unknown) {\n return days.filter(date => {\n return weekDays.value.includes(adapter.toJsDate(date).getDay())\n }).map((date, index) => {\n const isoDate = adapter.toISO(date)\n const isAdjacent = !adapter.isSameMonth(date, month.value)\n const isStart = adapter.isSameDay(date, adapter.startOfMonth(month.value))\n const isEnd = adapter.isSameDay(date, adapter.endOfMonth(month.value))\n const isSame = adapter.isSameDay(date, month.value)\n\n return {\n date,\n isoDate,\n formatted: adapter.format(date, 'keyboardDate'),\n year: adapter.getYear(date),\n month: adapter.getMonth(date),\n isDisabled: isDisabled(date),\n isWeekStart: index % 7 === 0,\n isWeekEnd: index % 7 === 6,\n isToday: adapter.isSameDay(date, today),\n isAdjacent,\n isHidden: isAdjacent && !props.showAdjacentMonths,\n isStart,\n isSelected: model.value.some(value => adapter.isSameDay(date, value)),\n isEnd,\n isSame,\n localized: adapter.format(date, 'dayOfMonth'),\n }\n })\n }\n\n const daysInWeek = computed(() => {\n const lastDay = adapter.startOfWeek(displayValue.value, props.firstDayOfWeek)\n const week = []\n for (let day = 0; day <= 6; day++) {\n week.push(adapter.addDays(lastDay, day))\n }\n\n const today = adapter.date()\n\n return genDays(week, today)\n })\n\n const daysInMonth = computed(() => {\n const days = weeksInMonth.value.flat()\n const today = adapter.date() as Date\n\n return genDays(days, today)\n })\n\n const weekNumbers = computed(() => {\n return weeksInMonth.value.map(week => {\n return week.length ? getWeek(adapter, week[0]) : null\n })\n })\n\n function isDisabled (value: unknown) {\n if (props.disabled) return true\n\n const date = adapter.date(value)\n\n if (props.min && adapter.isAfter(adapter.date(props.min), date)) return true\n if (props.max && adapter.isAfter(date, adapter.date(props.max))) return true\n\n if (Array.isArray(props.allowedDates) && props.allowedDates.length > 0) {\n return !props.allowedDates.some(d => adapter.isSameDay(adapter.date(d), date))\n }\n\n if (typeof props.allowedDates === 'function') {\n return !props.allowedDates(date)\n }\n\n return false\n }\n\n return {\n displayValue,\n daysInMonth,\n daysInWeek,\n genDays,\n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;IACRwC;EACF,CAAC;AACH","ignoreList":[]}
|
1
|
+
{"version":3,"file":"calendar.mjs","names":["getWeek","useDate","useProxiedModel","computed","propsFactory","wrapInArray","makeCalendarProps","allowedDates","Array","Function","disabled","Boolean","displayValue","modelValue","month","Number","String","max","min","showAdjacentMonths","year","weekdays","type","default","weeksInMonth","firstDayOfWeek","useCalendar","props","adapter","model","v","date","value","length","isArray","undefined","getYear","startOfYear","setYear","getMonth","startOfMonth","setMonth","defaultFirstDayOfWeek","weekDays","map","day","weeks","getWeekArray","days","flat","daysInMonth","lastDay","week","push","addDays","genDays","today","filter","includes","toJsDate","getDay","index","isoDate","toISO","isAdjacent","isSameMonth","isStart","isSameDay","isEnd","endOfMonth","isSame","formatted","format","isDisabled","isWeekStart","isWeekEnd","isToday","isHidden","isSelected","some","localized","daysInWeek","startOfWeek","weekNumbers","isAfter","d"],"sources":["../../src/composables/calendar.ts"],"sourcesContent":["// Composables\nimport { getWeek, useDate } from '@/composables/date/date'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed } from 'vue'\nimport { propsFactory, wrapInArray } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\n// Types\nexport interface CalendarProps {\n allowedDates: unknown[] | ((date: unknown) => boolean) | undefined\n disabled: boolean\n displayValue: unknown\n modelValue: unknown[] | undefined\n max: unknown\n min: unknown\n showAdjacentMonths: boolean\n month: number | string | undefined\n weekdays: number[]\n year: number | string | undefined\n weeksInMonth: 'dynamic' | 'static'\n firstDayOfWeek: number | string | undefined\n\n 'onUpdate:modelValue': ((value: unknown[]) => void) | undefined\n 'onUpdate:month': ((value: number) => void) | undefined\n 'onUpdate:year': ((value: number) => void) | undefined\n}\n\n// Composables\nexport const makeCalendarProps = propsFactory({\n allowedDates: [Array, Function] as PropType<unknown[] | ((date: unknown) => boolean)>,\n disabled: Boolean,\n displayValue: null as any as PropType<unknown>,\n modelValue: Array as PropType<unknown[]>,\n month: [Number, String],\n max: null as any as PropType<unknown>,\n min: null as any as PropType<unknown>,\n showAdjacentMonths: Boolean,\n year: [Number, String],\n weekdays: {\n type: Array<number>,\n default: () => [0, 1, 2, 3, 4, 5, 6],\n },\n weeksInMonth: {\n type: String as PropType<'dynamic' | 'static'>,\n default: 'dynamic',\n },\n firstDayOfWeek: [Number, String],\n}, 'calendar')\n\nexport function useCalendar (props: CalendarProps) {\n const adapter = useDate()\n const model = useProxiedModel(\n props,\n 'modelValue',\n [],\n v => wrapInArray(v),\n )\n const displayValue = computed(() => {\n if (props.displayValue) return adapter.date(props.displayValue)\n if (model.value.length > 0) return adapter.date(model.value[0])\n if (props.min) return adapter.date(props.min)\n if (Array.isArray(props.allowedDates)) return adapter.date(props.allowedDates[0])\n\n return adapter.date()\n })\n\n const year = useProxiedModel(\n props,\n 'year',\n undefined,\n v => {\n const value = v != null ? Number(v) : adapter.getYear(displayValue.value)\n\n return adapter.startOfYear(adapter.setYear(adapter.date(), value))\n },\n v => adapter.getYear(v)\n )\n\n const month = useProxiedModel(\n props,\n 'month',\n undefined,\n v => {\n const value = v != null ? Number(v) : adapter.getMonth(displayValue.value)\n const date = adapter.setYear(adapter.startOfMonth(adapter.date()), adapter.getYear(year.value))\n\n return adapter.setMonth(date, value)\n },\n v => adapter.getMonth(v)\n )\n\n const defaultFirstDayOfWeek = computed(() => {\n return props.firstDayOfWeek ?? props.weekdays[0]\n })\n\n const weekDays = computed(() => {\n const firstDayOfWeek = Number(props.firstDayOfWeek ?? 0)\n return props.weekdays.map(day => (day + firstDayOfWeek) % 7)\n })\n\n const weeksInMonth = computed(() => {\n const weeks = adapter.getWeekArray(month.value, defaultFirstDayOfWeek.value)\n\n const days = weeks.flat()\n\n // Make sure there's always 6 weeks in month (6 * 7 days)\n // if weeksInMonth is 'static'\n const daysInMonth = 6 * 7\n if (props.weeksInMonth === 'static' && days.length < daysInMonth) {\n const lastDay = days[days.length - 1]\n\n let week = []\n for (let day = 1; day <= daysInMonth - days.length; day++) {\n week.push(adapter.addDays(lastDay, day))\n\n if (day % 7 === 0) {\n weeks.push(week)\n week = []\n }\n }\n }\n\n return weeks\n })\n\n function genDays (days: unknown[], today: unknown) {\n return days.filter(date => {\n return weekDays.value.includes(adapter.toJsDate(date).getDay())\n }).map((date, index) => {\n const isoDate = adapter.toISO(date)\n const isAdjacent = !adapter.isSameMonth(date, month.value)\n const isStart = adapter.isSameDay(date, adapter.startOfMonth(month.value))\n const isEnd = adapter.isSameDay(date, adapter.endOfMonth(month.value))\n const isSame = adapter.isSameDay(date, month.value)\n\n return {\n date,\n isoDate,\n formatted: adapter.format(date, 'keyboardDate'),\n year: adapter.getYear(date),\n month: adapter.getMonth(date),\n isDisabled: isDisabled(date),\n isWeekStart: index % 7 === 0,\n isWeekEnd: index % 7 === 6,\n isToday: adapter.isSameDay(date, today),\n isAdjacent,\n isHidden: isAdjacent && !props.showAdjacentMonths,\n isStart,\n isSelected: model.value.some(value => adapter.isSameDay(date, value)),\n isEnd,\n isSame,\n localized: adapter.format(date, 'dayOfMonth'),\n }\n })\n }\n\n const daysInWeek = computed(() => {\n const lastDay = adapter.startOfWeek(displayValue.value, props.firstDayOfWeek)\n const week = []\n for (let day = 0; day <= 6; day++) {\n week.push(adapter.addDays(lastDay, day))\n }\n\n const today = adapter.date()\n\n return genDays(week, today)\n })\n\n const daysInMonth = computed(() => {\n const days = weeksInMonth.value.flat()\n const today = adapter.date() as Date\n\n return genDays(days, today)\n })\n\n const weekNumbers = computed(() => {\n return weeksInMonth.value.map(week => {\n return week.length ? getWeek(adapter, week[0]) : null\n })\n })\n\n function isDisabled (value: unknown) {\n if (props.disabled) return true\n\n const date = adapter.date(value)\n\n if (props.min && adapter.isAfter(adapter.date(props.min), date)) return true\n if (props.max && adapter.isAfter(date, adapter.date(props.max))) return true\n\n if (Array.isArray(props.allowedDates) && props.allowedDates.length > 0) {\n return !props.allowedDates.some(d => adapter.isSameDay(adapter.date(d), date))\n }\n\n if (typeof props.allowedDates === 'function') {\n return !props.allowedDates(date)\n }\n\n return false\n }\n\n return {\n displayValue,\n daysInMonth,\n daysInWeek,\n genDays,\n model,\n weeksInMonth,\n weekDays,\n weekNumbers,\n }\n}\n"],"mappings":"AAAA;AAAA,SACSA,OAAO,EAAEC,OAAO;AAAA,SAChBC,eAAe,8BAExB;AACA,SAASC,QAAQ,QAAQ,KAAK;AAAA,SACrBC,YAAY,EAAEC,WAAW,6BAElC;AAGA;AAoBA;AACA,OAAO,MAAMC,iBAAiB,GAAGF,YAAY,CAAC;EAC5CG,YAAY,EAAE,CAACC,KAAK,EAAEC,QAAQ,CAAuD;EACrFC,QAAQ,EAAEC,OAAO;EACjBC,YAAY,EAAE,IAAgC;EAC9CC,UAAU,EAAEL,KAA4B;EACxCM,KAAK,EAAE,CAACC,MAAM,EAAEC,MAAM,CAAC;EACvBC,GAAG,EAAE,IAAgC;EACrCC,GAAG,EAAE,IAAgC;EACrCC,kBAAkB,EAAER,OAAO;EAC3BS,IAAI,EAAE,CAACL,MAAM,EAAEC,MAAM,CAAC;EACtBK,QAAQ,EAAE;IACRC,IAAI,EAAEd,KAAa;IACnBe,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;EACrC,CAAC;EACDC,YAAY,EAAE;IACZF,IAAI,EAAEN,MAAwC;IAC9CO,OAAO,EAAE;EACX,CAAC;EACDE,cAAc,EAAE,CAACV,MAAM,EAAEC,MAAM;AACjC,CAAC,EAAE,UAAU,CAAC;AAEd,OAAO,SAASU,WAAWA,CAAEC,KAAoB,EAAE;EACjD,MAAMC,OAAO,GAAG3B,OAAO,CAAC,CAAC;EACzB,MAAM4B,KAAK,GAAG3B,eAAe,CAC3ByB,KAAK,EACL,YAAY,EACZ,EAAE,EACFG,CAAC,IAAIzB,WAAW,CAACyB,CAAC,CACpB,CAAC;EACD,MAAMlB,YAAY,GAAGT,QAAQ,CAAC,MAAM;IAClC,IAAIwB,KAAK,CA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AY,KAAK,UAAU,EAAE;MAC5C,OAAO,CAACoB,KAAK,CAACpB,YAAY,CAACwB,IAAI,CAAC;IAClC;IAEA,OAAO,KAAK;EACd;EAEA,OAAO;IACLnB,YAAY;IACZsC,WAAW;IACX+B,UAAU;IACV1B,OAAO;IACP1B,KAAK;IACLL,YAAY;IACZmB,QAAQ;IACRwC;EACF,CAAC;AACH","ignoreList":[]}
|
@@ -65,10 +65,10 @@ export function useBackButton(router, cb) {
|
|
65
65
|
let popped = false;
|
66
66
|
let removeBefore;
|
67
67
|
let removeAfter;
|
68
|
-
if (IN_BROWSER) {
|
68
|
+
if (IN_BROWSER && router?.beforeEach) {
|
69
69
|
nextTick(() => {
|
70
70
|
window.addEventListener('popstate', onPopstate);
|
71
|
-
removeBefore = router
|
71
|
+
removeBefore = router.beforeEach((to, from, next) => {
|
72
72
|
if (!inTransition) {
|
73
73
|
setTimeout(() => popped ? cb(next) : next());
|
74
74
|
} else {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"router.mjs","names":["computed","nextTick","onScopeDispose","reactive","resolveDynamicComponent","toRef","deepEqual","getCurrentInstance","hasEvent","IN_BROWSER","propsFactory","useRoute","vm","proxy","$route","useRouter","$router","useLink","props","attrs","RouterLink","isLink","href","to","isClickable","value","linkProps","routerLink","link","undefined","route","isActive","exact","isExactActive","query","navigate","makeRouterProps","String","replace","Boolean","Object","inTransition","useBackButton","router","cb","popped","removeBefore","removeAfter","window","addEventListener","onPopstate","
|
1
|
+
{"version":3,"file":"router.mjs","names":["computed","nextTick","onScopeDispose","reactive","resolveDynamicComponent","toRef","deepEqual","getCurrentInstance","hasEvent","IN_BROWSER","propsFactory","useRoute","vm","proxy","$route","useRouter","$router","useLink","props","attrs","RouterLink","isLink","href","to","isClickable","value","linkProps","routerLink","link","undefined","route","isActive","exact","isExactActive","query","navigate","makeRouterProps","String","replace","Boolean","Object","inTransition","useBackButton","router","cb","popped","removeBefore","removeAfter","beforeEach","window","addEventListener","onPopstate","from","next","setTimeout","afterEach","removeEventListener","e","state","replaced"],"sources":["../../src/composables/router.tsx"],"sourcesContent":["// Utilities\nimport {\n computed,\n nextTick,\n onScopeDispose, reactive,\n resolveDynamicComponent,\n toRef,\n} from 'vue'\nimport { deepEqual, getCurrentInstance, hasEvent, IN_BROWSER, propsFactory } from '@/util'\n\n// Types\nimport type { ComputedRef, PropType, Ref, SetupContext } from 'vue'\nimport type {\n RouterLink as _RouterLink,\n useLink as _useLink,\n NavigationGuardNext,\n RouteLocationNormalizedLoaded,\n RouteLocationRaw,\n Router,\n UseLinkOptions,\n} from 'vue-router'\nimport type { EventProp } from '@/util'\n\nexport function useRoute (): Ref<RouteLocationNormalizedLoaded | undefined> {\n const vm = getCurrentInstance('useRoute')\n\n return computed(() => vm?.proxy?.$route)\n}\n\nexport function useRouter (): Router | undefined {\n return getCurrentInstance('useRouter')?.proxy?.$router\n}\n\nexport interface LinkProps {\n href: string | undefined\n replace: boolean | undefined\n to: RouteLocationRaw | undefined\n exact: boolean | undefined\n}\n\nexport interface LinkListeners {\n onClick?: EventProp | undefined\n onClickOnce?: EventProp | undefined\n}\n\nexport interface UseLink extends Omit<Partial<ReturnType<typeof _useLink>>, 'href'> {\n isLink: ComputedRef<boolean>\n isClickable: ComputedRef<boolean>\n href: Ref<string | undefined>\n linkProps: Record<string, string | undefined>\n}\n\nexport function useLink (props: LinkProps & LinkListeners, attrs: SetupContext['attrs']): UseLink {\n const RouterLink = resolveDynamicComponent('RouterLink') as typeof _RouterLink | string\n\n const isLink = computed(() => !!(props.href || props.to))\n const isClickable = computed(() => {\n return isLink?.value || hasEvent(attrs, 'click') || hasEvent(props, 'click')\n })\n\n if (typeof RouterLink === 'string' || !('useLink' in RouterLink)) {\n const href = toRef(props, 'href')\n return {\n isLink,\n isClickable,\n href,\n linkProps: reactive({ href }),\n }\n }\n // vue-router useLink `to` prop needs to be reactive and useLink will crash if undefined\n const linkProps = computed(() => ({\n ...props,\n to: toRef(() => props.to || ''),\n }))\n\n const routerLink = RouterLink.useLink(linkProps.value as UseLinkOptions)\n // Actual link needs to be undefined when to prop is not used\n const link = computed(() => props.to ? routerLink : undefined)\n const route = useRoute()\n const isActive = computed(() => {\n if (!link.value) return false\n if (!props.exact) return link.value.isActive?.value ?? false\n if (!route.value) return link.value.isExactActive?.value ?? false\n\n return link.value.isExactActive?.value && deepEqual(link.value.route.value.query, route.value.query)\n })\n const href = computed(() => props.to ? link.value?.route.value.href : props.href)\n\n return {\n isLink,\n isClickable,\n isActive,\n route: link.value?.route,\n navigate: link.value?.navigate,\n href,\n linkProps: reactive({\n href,\n 'aria-current': computed(() => isActive.value ? 'page' : undefined),\n }),\n }\n}\n\nexport const makeRouterProps = propsFactory({\n href: String,\n replace: Boolean,\n to: [String, Object] as PropType<RouteLocationRaw>,\n exact: Boolean,\n}, 'router')\n\nlet inTransition = false\nexport function useBackButton (router: Router | undefined, cb: (next: NavigationGuardNext) => void) {\n let popped = false\n let removeBefore: (() => void) | undefined\n let removeAfter: (() => void) | undefined\n\n if (IN_BROWSER && router?.beforeEach) {\n nextTick(() => {\n window.addEventListener('popstate', onPopstate)\n removeBefore = router.beforeEach((to, from, next) => {\n if (!inTransition) {\n setTimeout(() => popped ? cb(next) : next())\n } else {\n popped ? cb(next) : next()\n }\n inTransition = true\n })\n removeAfter = router?.afterEach(() => {\n inTransition = false\n })\n })\n onScopeDispose(() => {\n window.removeEventListener('popstate', onPopstate)\n removeBefore?.()\n removeAfter?.()\n })\n }\n\n function onPopstate (e: PopStateEvent) {\n if (e.state?.replaced) return\n\n popped = true\n setTimeout(() => (popped = false))\n }\n}\n"],"mappings":"AAAA;AACA,SACEA,QAAQ,EACRC,QAAQ,EACRC,cAAc,EAAEC,QAAQ,EACxBC,uBAAuB,EACvBC,KAAK,QACA,KAAK;AAAA,SACHC,SAAS,EAAEC,kBAAkB,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,YAAY,6BAE1E;AAaA,OAAO,SAASC,QAAQA,CAAA,EAAoD;E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ED
@@ -16,7 +16,7 @@ export const createVuetify = function () {
|
|
16
16
|
...options
|
17
17
|
});
|
18
18
|
};
|
19
|
-
export const version = "3.7.7-master.2025-01-
|
19
|
+
export const version = "3.7.7-master.2025-01-25";
|
20
20
|
createVuetify.version = version;
|
21
21
|
export { blueprints, components, directives };
|
22
22
|
export * from "./composables/index.mjs";
|
package/lib/framework.mjs
CHANGED
package/lib/index.d.mts
CHANGED
@@ -486,39 +486,33 @@ declare module 'vue' {
|
|
486
486
|
$children?: VNodeChild
|
487
487
|
}
|
488
488
|
export interface GlobalComponents {
|
489
|
-
VAlert: typeof import('vuetify/components')['VAlert']
|
490
|
-
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
491
489
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
492
490
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
493
491
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
494
|
-
|
492
|
+
VAlert: typeof import('vuetify/components')['VAlert']
|
493
|
+
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
495
494
|
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
496
|
-
|
497
|
-
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
498
|
-
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
495
|
+
VApp: typeof import('vuetify/components')['VApp']
|
499
496
|
VAvatar: typeof import('vuetify/components')['VAvatar']
|
500
|
-
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
501
|
-
VBtn: typeof import('vuetify/components')['VBtn']
|
502
|
-
VCarousel: typeof import('vuetify/components')['VCarousel']
|
503
|
-
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
504
497
|
VBanner: typeof import('vuetify/components')['VBanner']
|
505
498
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
506
499
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
507
|
-
|
500
|
+
VBadge: typeof import('vuetify/components')['VBadge']
|
508
501
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
509
502
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
510
503
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
504
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
505
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
506
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
507
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
508
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
509
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
510
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
511
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
519
512
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
520
513
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
521
514
|
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
515
|
+
VChip: typeof import('vuetify/components')['VChip']
|
522
516
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
523
517
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
524
518
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
@@ -526,7 +520,13 @@ declare module 'vue' {
|
|
526
520
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
527
521
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
528
522
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
529
|
-
|
523
|
+
VCard: typeof import('vuetify/components')['VCard']
|
524
|
+
VCardActions: typeof import('vuetify/components')['VCardActions']
|
525
|
+
VCardItem: typeof import('vuetify/components')['VCardItem']
|
526
|
+
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
527
|
+
VCardText: typeof import('vuetify/components')['VCardText']
|
528
|
+
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
529
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
530
530
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
531
531
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
532
532
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -534,15 +534,14 @@ declare module 'vue' {
|
|
534
534
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
535
535
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
536
536
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
537
|
+
VCode: typeof import('vuetify/components')['VCode']
|
537
538
|
VDialog: typeof import('vuetify/components')['VDialog']
|
538
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
539
539
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
540
540
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
541
541
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
542
542
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
543
543
|
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
544
|
-
|
545
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
544
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
546
545
|
VField: typeof import('vuetify/components')['VField']
|
547
546
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
548
547
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
@@ -551,11 +550,11 @@ declare module 'vue' {
|
|
551
550
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
552
551
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
553
552
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
554
|
-
|
555
|
-
|
556
|
-
VInput: typeof import('vuetify/components')['VInput']
|
557
|
-
VMain: typeof import('vuetify/components')['VMain']
|
553
|
+
VFab: typeof import('vuetify/components')['VFab']
|
554
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
558
555
|
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
556
|
+
VKbd: typeof import('vuetify/components')['VKbd']
|
557
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
559
558
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
560
559
|
VItem: typeof import('vuetify/components')['VItem']
|
561
560
|
VList: typeof import('vuetify/components')['VList']
|
@@ -567,72 +566,73 @@ declare module 'vue' {
|
|
567
566
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
568
567
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
569
568
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
570
|
-
|
571
|
-
VMenu: typeof import('vuetify/components')['VMenu']
|
569
|
+
VImg: typeof import('vuetify/components')['VImg']
|
572
570
|
VMessages: typeof import('vuetify/components')['VMessages']
|
573
|
-
|
571
|
+
VInput: typeof import('vuetify/components')['VInput']
|
574
572
|
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
575
|
-
|
576
|
-
|
573
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
574
|
+
VMenu: typeof import('vuetify/components')['VMenu']
|
577
575
|
VPagination: typeof import('vuetify/components')['VPagination']
|
578
576
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
577
|
+
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
578
|
+
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
579
579
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
580
|
-
VOverlay: typeof import('vuetify/components')['VOverlay']
|
581
580
|
VRating: typeof import('vuetify/components')['VRating']
|
582
|
-
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
583
581
|
VSelect: typeof import('vuetify/components')['VSelect']
|
584
|
-
|
582
|
+
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
583
|
+
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
584
|
+
VMain: typeof import('vuetify/components')['VMain']
|
585
585
|
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
586
|
-
|
586
|
+
VSheet: typeof import('vuetify/components')['VSheet']
|
587
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
587
588
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
588
589
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
589
|
-
|
590
|
+
VSwitch: typeof import('vuetify/components')['VSwitch']
|
591
|
+
VSlider: typeof import('vuetify/components')['VSlider']
|
592
|
+
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
590
593
|
VStepper: typeof import('vuetify/components')['VStepper']
|
591
594
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
592
595
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
593
596
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
594
597
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
595
598
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
596
|
-
VSwitch: typeof import('vuetify/components')['VSwitch']
|
597
|
-
VSheet: typeof import('vuetify/components')['VSheet']
|
598
599
|
VTab: typeof import('vuetify/components')['VTab']
|
599
600
|
VTabs: typeof import('vuetify/components')['VTabs']
|
600
601
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
601
602
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
603
|
+
VTextField: typeof import('vuetify/components')['VTextField']
|
602
604
|
VTable: typeof import('vuetify/components')['VTable']
|
603
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
604
605
|
VTimeline: typeof import('vuetify/components')['VTimeline']
|
605
606
|
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
606
|
-
|
607
|
-
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
608
|
-
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
609
|
-
VTextField: typeof import('vuetify/components')['VTextField']
|
610
|
-
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
607
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
611
608
|
VTooltip: typeof import('vuetify/components')['VTooltip']
|
612
609
|
VWindow: typeof import('vuetify/components')['VWindow']
|
613
610
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
614
|
-
|
611
|
+
VToolbar: typeof import('vuetify/components')['VToolbar']
|
612
|
+
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
613
|
+
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
615
614
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
615
|
+
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
616
616
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
617
617
|
VForm: typeof import('vuetify/components')['VForm']
|
618
|
+
VHover: typeof import('vuetify/components')['VHover']
|
618
619
|
VContainer: typeof import('vuetify/components')['VContainer']
|
619
620
|
VCol: typeof import('vuetify/components')['VCol']
|
620
621
|
VRow: typeof import('vuetify/components')['VRow']
|
621
622
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
622
|
-
VHover: typeof import('vuetify/components')['VHover']
|
623
623
|
VLazy: typeof import('vuetify/components')['VLazy']
|
624
624
|
VLayout: typeof import('vuetify/components')['VLayout']
|
625
625
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
626
|
-
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
627
626
|
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
628
|
-
|
627
|
+
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
629
628
|
VParallax: typeof import('vuetify/components')['VParallax']
|
630
629
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
630
|
+
VRadio: typeof import('vuetify/components')['VRadio']
|
631
631
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
632
|
-
VSparkline: typeof import('vuetify/components')['VSparkline']
|
633
632
|
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
634
|
-
|
633
|
+
VSparkline: typeof import('vuetify/components')['VSparkline']
|
635
634
|
VValidation: typeof import('vuetify/components')['VValidation']
|
635
|
+
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
636
636
|
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
637
637
|
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
638
638
|
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
@@ -656,22 +656,22 @@ declare module 'vue' {
|
|
656
656
|
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
657
657
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
658
658
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
659
|
-
|
660
|
-
|
659
|
+
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
660
|
+
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
661
661
|
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
662
662
|
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
663
663
|
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
664
664
|
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
665
|
+
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
666
|
+
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
665
667
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
666
668
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
667
669
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
668
670
|
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
669
671
|
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
670
672
|
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
671
|
-
|
672
|
-
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
673
|
+
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
673
674
|
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|
674
675
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
675
|
-
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
676
676
|
}
|
677
677
|
}
|