@vuetify/nightly 3.11.3-dev.2025-12-10 → 3.11.3-dev.2025-12-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 +9 -3
- package/dist/json/attributes.json +3462 -3454
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +140 -140
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +6585 -6565
- package/dist/vuetify-labs.cjs +9 -6
- package/dist/vuetify-labs.css +5178 -5178
- package/dist/vuetify-labs.d.ts +77 -67
- package/dist/vuetify-labs.esm.js +9 -6
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +9 -6
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +5 -3
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +4307 -4307
- package/dist/vuetify.d.ts +69 -53
- package/dist/vuetify.esm.js +5 -3
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +5 -3
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +5 -5
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.d.ts +13 -0
- package/lib/components/VDatePicker/VDatePickerMonth.d.ts +13 -0
- package/lib/components/VDatePicker/VDatePickerMonth.js +2 -0
- package/lib/components/VDatePicker/VDatePickerMonth.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +53 -53
- package/lib/framework.js +1 -1
- package/lib/labs/VDateInput/VDateInput.d.ts +13 -25
- package/lib/labs/VDateInput/VDateInput.js +4 -3
- package/lib/labs/VDateInput/VDateInput.js.map +1 -1
- package/package.json +1 -1
|
@@ -60,6 +60,7 @@ export declare const makeVDatePickerProps: <Defaults extends {
|
|
|
60
60
|
hideWeekdays?: unknown;
|
|
61
61
|
multiple?: unknown;
|
|
62
62
|
showWeek?: unknown;
|
|
63
|
+
readonly?: unknown;
|
|
63
64
|
transition?: unknown;
|
|
64
65
|
reverseTransition?: unknown;
|
|
65
66
|
events?: unknown;
|
|
@@ -349,6 +350,10 @@ export declare const makeVDatePickerProps: <Defaults extends {
|
|
|
349
350
|
type: import("vue").PropType<unknown extends Defaults["showWeek"] ? boolean : boolean | Defaults["showWeek"]>;
|
|
350
351
|
default: unknown extends Defaults["showWeek"] ? boolean : boolean | Defaults["showWeek"];
|
|
351
352
|
};
|
|
353
|
+
readonly: unknown extends Defaults["readonly"] ? BooleanConstructor : {
|
|
354
|
+
type: import("vue").PropType<unknown extends Defaults["readonly"] ? boolean : boolean | Defaults["readonly"]>;
|
|
355
|
+
default: unknown extends Defaults["readonly"] ? boolean : boolean | Defaults["readonly"];
|
|
356
|
+
};
|
|
352
357
|
transition: unknown extends Defaults["transition"] ? {
|
|
353
358
|
type: StringConstructor;
|
|
354
359
|
default: string;
|
|
@@ -464,6 +469,7 @@ export declare const VDatePicker: {
|
|
|
464
469
|
weeksInMonth: "dynamic" | "static";
|
|
465
470
|
hideWeekdays: boolean;
|
|
466
471
|
showWeek: boolean;
|
|
472
|
+
readonly: boolean;
|
|
467
473
|
transition: string;
|
|
468
474
|
reverseTransition: string;
|
|
469
475
|
events: import("./VDatePickerMonth.js").DatePickerEvents | null;
|
|
@@ -534,6 +540,7 @@ export declare const VDatePicker: {
|
|
|
534
540
|
firstDayOfYear: string | number;
|
|
535
541
|
hideWeekdays: boolean;
|
|
536
542
|
showWeek: boolean;
|
|
543
|
+
readonly: boolean;
|
|
537
544
|
transition: string;
|
|
538
545
|
reverseTransition: string;
|
|
539
546
|
events: import("./VDatePickerMonth.js").DatePickerEvents | null;
|
|
@@ -628,6 +635,7 @@ export declare const VDatePicker: {
|
|
|
628
635
|
weeksInMonth: "dynamic" | "static";
|
|
629
636
|
hideWeekdays: boolean;
|
|
630
637
|
showWeek: boolean;
|
|
638
|
+
readonly: boolean;
|
|
631
639
|
transition: string;
|
|
632
640
|
reverseTransition: string;
|
|
633
641
|
events: import("./VDatePickerMonth.js").DatePickerEvents | null;
|
|
@@ -692,6 +700,7 @@ export declare const VDatePicker: {
|
|
|
692
700
|
firstDayOfYear: string | number;
|
|
693
701
|
hideWeekdays: boolean;
|
|
694
702
|
showWeek: boolean;
|
|
703
|
+
readonly: boolean;
|
|
695
704
|
transition: string;
|
|
696
705
|
reverseTransition: string;
|
|
697
706
|
events: import("./VDatePickerMonth.js").DatePickerEvents | null;
|
|
@@ -723,6 +732,7 @@ export declare const VDatePicker: {
|
|
|
723
732
|
weeksInMonth: "dynamic" | "static";
|
|
724
733
|
hideWeekdays: boolean;
|
|
725
734
|
showWeek: boolean;
|
|
735
|
+
readonly: boolean;
|
|
726
736
|
transition: string;
|
|
727
737
|
reverseTransition: string;
|
|
728
738
|
events: import("./VDatePickerMonth.js").DatePickerEvents | null;
|
|
@@ -793,6 +803,7 @@ export declare const VDatePicker: {
|
|
|
793
803
|
firstDayOfYear: string | number;
|
|
794
804
|
hideWeekdays: boolean;
|
|
795
805
|
showWeek: boolean;
|
|
806
|
+
readonly: boolean;
|
|
796
807
|
transition: string;
|
|
797
808
|
reverseTransition: string;
|
|
798
809
|
events: import("./VDatePickerMonth.js").DatePickerEvents | null;
|
|
@@ -962,6 +973,7 @@ export declare const VDatePicker: {
|
|
|
962
973
|
hideWeekdays: BooleanConstructor;
|
|
963
974
|
multiple: import("vue").PropType<number | "range" | boolean | (string & {})>;
|
|
964
975
|
showWeek: BooleanConstructor;
|
|
976
|
+
readonly: BooleanConstructor;
|
|
965
977
|
transition: {
|
|
966
978
|
type: StringConstructor;
|
|
967
979
|
default: string;
|
|
@@ -1089,6 +1101,7 @@ export declare const VDatePicker: {
|
|
|
1089
1101
|
hideWeekdays: BooleanConstructor;
|
|
1090
1102
|
multiple: import("vue").PropType<number | "range" | boolean | (string & {})>;
|
|
1091
1103
|
showWeek: BooleanConstructor;
|
|
1104
|
+
readonly: BooleanConstructor;
|
|
1092
1105
|
transition: {
|
|
1093
1106
|
type: StringConstructor;
|
|
1094
1107
|
default: string;
|
|
@@ -33,6 +33,7 @@ export declare const makeVDatePickerMonthProps: <Defaults extends {
|
|
|
33
33
|
hideWeekdays?: unknown;
|
|
34
34
|
multiple?: unknown;
|
|
35
35
|
showWeek?: unknown;
|
|
36
|
+
readonly?: unknown;
|
|
36
37
|
transition?: unknown;
|
|
37
38
|
reverseTransition?: unknown;
|
|
38
39
|
events?: unknown;
|
|
@@ -136,6 +137,10 @@ export declare const makeVDatePickerMonthProps: <Defaults extends {
|
|
|
136
137
|
type: PropType<unknown extends Defaults["showWeek"] ? boolean : boolean | Defaults["showWeek"]>;
|
|
137
138
|
default: unknown extends Defaults["showWeek"] ? boolean : boolean | Defaults["showWeek"];
|
|
138
139
|
};
|
|
140
|
+
readonly: unknown extends Defaults["readonly"] ? BooleanConstructor : {
|
|
141
|
+
type: PropType<unknown extends Defaults["readonly"] ? boolean : boolean | Defaults["readonly"]>;
|
|
142
|
+
default: unknown extends Defaults["readonly"] ? boolean : boolean | Defaults["readonly"];
|
|
143
|
+
};
|
|
139
144
|
transition: unknown extends Defaults["transition"] ? {
|
|
140
145
|
type: StringConstructor;
|
|
141
146
|
default: string;
|
|
@@ -185,6 +190,7 @@ export declare const VDatePickerMonth: {
|
|
|
185
190
|
weeksInMonth: "dynamic" | "static";
|
|
186
191
|
hideWeekdays: boolean;
|
|
187
192
|
showWeek: boolean;
|
|
193
|
+
readonly: boolean;
|
|
188
194
|
transition: string;
|
|
189
195
|
reverseTransition: string;
|
|
190
196
|
events: DatePickerEvents | null;
|
|
@@ -216,6 +222,7 @@ export declare const VDatePickerMonth: {
|
|
|
216
222
|
firstDayOfYear: string | number;
|
|
217
223
|
hideWeekdays: boolean;
|
|
218
224
|
showWeek: boolean;
|
|
225
|
+
readonly: boolean;
|
|
219
226
|
transition: string;
|
|
220
227
|
reverseTransition: string;
|
|
221
228
|
events: DatePickerEvents | null;
|
|
@@ -244,6 +251,7 @@ export declare const VDatePickerMonth: {
|
|
|
244
251
|
weeksInMonth: "dynamic" | "static";
|
|
245
252
|
hideWeekdays: boolean;
|
|
246
253
|
showWeek: boolean;
|
|
254
|
+
readonly: boolean;
|
|
247
255
|
transition: string;
|
|
248
256
|
reverseTransition: string;
|
|
249
257
|
events: DatePickerEvents | null;
|
|
@@ -271,6 +279,7 @@ export declare const VDatePickerMonth: {
|
|
|
271
279
|
firstDayOfYear: string | number;
|
|
272
280
|
hideWeekdays: boolean;
|
|
273
281
|
showWeek: boolean;
|
|
282
|
+
readonly: boolean;
|
|
274
283
|
transition: string;
|
|
275
284
|
reverseTransition: string;
|
|
276
285
|
events: DatePickerEvents | null;
|
|
@@ -286,6 +295,7 @@ export declare const VDatePickerMonth: {
|
|
|
286
295
|
weeksInMonth: "dynamic" | "static";
|
|
287
296
|
hideWeekdays: boolean;
|
|
288
297
|
showWeek: boolean;
|
|
298
|
+
readonly: boolean;
|
|
289
299
|
transition: string;
|
|
290
300
|
reverseTransition: string;
|
|
291
301
|
events: DatePickerEvents | null;
|
|
@@ -317,6 +327,7 @@ export declare const VDatePickerMonth: {
|
|
|
317
327
|
firstDayOfYear: string | number;
|
|
318
328
|
hideWeekdays: boolean;
|
|
319
329
|
showWeek: boolean;
|
|
330
|
+
readonly: boolean;
|
|
320
331
|
transition: string;
|
|
321
332
|
reverseTransition: string;
|
|
322
333
|
events: DatePickerEvents | null;
|
|
@@ -370,6 +381,7 @@ export declare const VDatePickerMonth: {
|
|
|
370
381
|
hideWeekdays: BooleanConstructor;
|
|
371
382
|
multiple: PropType<number | "range" | boolean | (string & {})>;
|
|
372
383
|
showWeek: BooleanConstructor;
|
|
384
|
+
readonly: BooleanConstructor;
|
|
373
385
|
transition: {
|
|
374
386
|
type: StringConstructor;
|
|
375
387
|
default: string;
|
|
@@ -419,6 +431,7 @@ export declare const VDatePickerMonth: {
|
|
|
419
431
|
hideWeekdays: BooleanConstructor;
|
|
420
432
|
multiple: PropType<number | "range" | boolean | (string & {})>;
|
|
421
433
|
showWeek: BooleanConstructor;
|
|
434
|
+
readonly: BooleanConstructor;
|
|
422
435
|
transition: {
|
|
423
436
|
type: StringConstructor;
|
|
424
437
|
default: string;
|
|
@@ -16,6 +16,7 @@ export const makeVDatePickerMonthProps = propsFactory({
|
|
|
16
16
|
hideWeekdays: Boolean,
|
|
17
17
|
multiple: [Boolean, Number, String],
|
|
18
18
|
showWeek: Boolean,
|
|
19
|
+
readonly: Boolean,
|
|
19
20
|
transition: {
|
|
20
21
|
type: String,
|
|
21
22
|
default: 'picker-transition'
|
|
@@ -202,6 +203,7 @@ export const VDatePickerMonth = genericComponent()({
|
|
|
202
203
|
class: 'v-date-picker-month__day-btn',
|
|
203
204
|
color: item.isSelected || item.isToday ? props.color : undefined,
|
|
204
205
|
disabled: item.isDisabled,
|
|
206
|
+
readonly: props.readonly,
|
|
205
207
|
icon: true,
|
|
206
208
|
ripple: false,
|
|
207
209
|
variant: item.isSelected ? 'flat' : item.isToday ? 'outlined' : 'text',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VDatePickerMonth.js","names":["VBadge","VBtn","makeCalendarProps","useCalendar","createDateRange","useDate","useLocale","MaybeTransition","computed","ref","shallowRef","toRef","watch","genericComponent","omit","propsFactory","useRender","wrapInArray","makeVDatePickerMonthProps","color","String","hideWeekdays","Boolean","multiple","Number","showWeek","transition","type","default","reverseTransition","events","Array","Function","Object","eventColor","VDatePickerMonth","name","props","emits","date","setup","_ref","emit","slots","daysRef","t","daysInMonth","model","weekNumbers","weekdayLabels","adapter","rangeStart","rangeStop","isReverse","value","length","atMax","max","includes","Infinity","val","oldVal","isBefore","onRangeClick","_value","startOfDay","undefined","isSameDay","endOfDay","getDateAriaLabel","item","fullDate","format","localeKey","isToday","onMultipleClick","index","findIndex","selection","splice","onClick","getEventColors","eventData","eventColors","isArray","filter","map","genEvents","_createElementVNode","_createVNode","weekdays","_createTextVNode","week","_normalizeClass","toString","weekDay","i","slotProps","class","isSelected","disabled","isDisabled","icon","ripple","variant","isAdjacent","isHidden","isWeekEnd","isWeekStart","isoDate","showAdjacentMonths","day","localized"],"sources":["../../../src/components/VDatePicker/VDatePickerMonth.tsx"],"sourcesContent":["// Styles\nimport './VDatePickerMonth.sass'\n\n// Components\nimport { VBadge } from '@/components/VBadge'\nimport { VBtn } from '@/components/VBtn'\n\n// Composables\nimport { makeCalendarProps, useCalendar } from '@/composables/calendar'\nimport { createDateRange, useDate } from '@/composables/date/date'\nimport { useLocale } from '@/composables/locale'\nimport { MaybeTransition } from '@/composables/transition'\n\n// Utilities\nimport { computed, ref, shallowRef, toRef, watch } from 'vue'\nimport { genericComponent, omit, propsFactory, useRender, wrapInArray } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { GenericProps } from '@/util'\n\nexport type DatePickerEventColorValue = boolean | string | string[]\n\nexport type DatePickerEventColors = DatePickerEventColorValue |\nRecord<string, DatePickerEventColorValue> | ((date: string) => DatePickerEventColorValue)\n\nexport type DatePickerEvents = string[] |\n((date: string) => DatePickerEventColorValue) | Record<string, DatePickerEventColorValue>\n\nexport type VDatePickerMonthSlots = {\n day: {\n props: {\n onClick: () => void\n }\n item: any\n i: number\n }\n}\n\nexport const makeVDatePickerMonthProps = propsFactory({\n color: String,\n hideWeekdays: Boolean,\n multiple: [Boolean, Number, String] as PropType<boolean | 'range' | number | (string & {})>,\n showWeek: Boolean,\n transition: {\n type: String,\n default: 'picker-transition',\n },\n reverseTransition: {\n type: String,\n default: 'picker-reverse-transition',\n },\n events: {\n type: [Array, Function, Object] as PropType<DatePickerEvents | null>,\n default: () => null,\n },\n eventColor: {\n type: [Array, Function, Object, String] as PropType<DatePickerEventColors>,\n default: () => null,\n },\n ...omit(makeCalendarProps(), ['displayValue']),\n}, 'VDatePickerMonth')\n\nexport const VDatePickerMonth = genericComponent<new <TModel>(\n props: {\n modelValue?: TModel\n 'onUpdate:modelValue'?: (value: TModel) => void\n },\n slots: VDatePickerMonthSlots\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VDatePickerMonth',\n\n props: makeVDatePickerMonthProps(),\n\n emits: {\n 'update:modelValue': (date: unknown) => true,\n 'update:month': (date: number) => true,\n 'update:year': (date: number) => true,\n },\n\n setup (props, { emit, slots }) {\n const daysRef = ref()\n const { t } = useLocale()\n\n const { daysInMonth, model, weekNumbers, weekdayLabels } = useCalendar(props)\n const adapter = useDate()\n\n const rangeStart = shallowRef()\n const rangeStop = shallowRef()\n const isReverse = shallowRef(false)\n\n const transition = toRef(() => {\n return !isReverse.value ? props.transition : props.reverseTransition\n })\n\n if (props.multiple === 'range' && model.value.length > 0) {\n rangeStart.value = model.value[0]\n if (model.value.length > 1) {\n rangeStop.value = model.value[model.value.length - 1]\n }\n }\n\n const atMax = computed(() => {\n const max = ['number', 'string'].includes(typeof props.multiple) ? Number(props.multiple) : Infinity\n\n return model.value.length >= max\n })\n\n watch(daysInMonth, (val, oldVal) => {\n if (!oldVal) return\n\n isReverse.value = adapter.isBefore(val[0].date, oldVal[0].date)\n })\n\n function onRangeClick (value: unknown) {\n const _value = adapter.startOfDay(value)\n\n if (model.value.length === 0) {\n rangeStart.value = undefined\n } else if (model.value.length === 1) {\n rangeStart.value = model.value[0]\n rangeStop.value = undefined\n }\n if (!rangeStart.value) {\n rangeStart.value = _value\n model.value = [rangeStart.value]\n } else if (!rangeStop.value) {\n if (adapter.isSameDay(_value, rangeStart.value)) {\n rangeStart.value = undefined\n model.value = []\n return\n } else if (adapter.isBefore(_value, rangeStart.value)) {\n rangeStop.value = adapter.endOfDay(rangeStart.value)\n rangeStart.value = _value\n } else {\n rangeStop.value = adapter.endOfDay(_value)\n }\n\n model.value = createDateRange(adapter, rangeStart.value, rangeStop.value)\n } else {\n rangeStart.value = value\n rangeStop.value = undefined\n model.value = [rangeStart.value]\n }\n }\n\n function getDateAriaLabel (item: any) {\n const fullDate = adapter.format(item.date, 'fullDateWithWeekday')\n const localeKey = item.isToday ? 'currentDate' : 'selectDate'\n return t(`$vuetify.datePicker.ariaLabel.${localeKey}`, fullDate)\n }\n\n function onMultipleClick (value: unknown) {\n const index = model.value.findIndex(selection => adapter.isSameDay(selection, value))\n\n if (index === -1) {\n model.value = [...model.value, value]\n } else {\n const value = [...model.value]\n value.splice(index, 1)\n model.value = value\n }\n }\n\n function onClick (value: unknown) {\n if (props.multiple === 'range') {\n onRangeClick(value)\n } else if (props.multiple) {\n onMultipleClick(value)\n } else {\n model.value = [value]\n }\n }\n function getEventColors (date: string): string[] {\n const { events, eventColor } = props\n let eventData: boolean | DatePickerEventColorValue\n let eventColors: (boolean | string)[] = []\n\n if (Array.isArray(events)) {\n eventData = events.includes(date)\n } else if (events instanceof Function) {\n eventData = events(date) || false\n } else if (events) {\n eventData = events[date] || false\n } else {\n eventData = false\n }\n\n if (!eventData) {\n return []\n } else if (eventData !== true) {\n eventColors = wrapInArray(eventData)\n } else if (typeof eventColor === 'string') {\n eventColors = [eventColor]\n } else if (typeof eventColor === 'function') {\n eventColors = wrapInArray(eventColor(date))\n } else if (Array.isArray(eventColor)) {\n eventColors = eventColor\n } else if (typeof eventColor === 'object' && eventColor !== null) {\n eventColors = wrapInArray(eventColor[date])\n }\n\n // Fallback to default color if no color is found\n return !eventColors.length\n ? ['surface-variant']\n : eventColors\n .filter(Boolean)\n .map((color: string | boolean) => typeof color === 'string' ? color : 'surface-variant')\n }\n\n function genEvents (date: string): JSX.Element | null {\n const eventColors = getEventColors(date)\n\n if (!eventColors.length) return null\n\n return (\n <div class=\"v-date-picker-month__events\">\n { eventColors.map((color: string) => <VBadge dot color={ color } />) }\n </div>\n )\n }\n useRender(() => (\n <div\n class=\"v-date-picker-month\"\n style={{ '--v-date-picker-days-in-week': props.weekdays.length }}\n >\n { props.showWeek && (\n <div key=\"weeks\" class=\"v-date-picker-month__weeks\">\n { !props.hideWeekdays && (\n <div key=\"hide-week-days\" class=\"v-date-picker-month__day\"> </div>\n )}\n { weekNumbers.value.map(week => (\n <div\n class={[\n 'v-date-picker-month__day',\n 'v-date-picker-month__day--adjacent',\n ]}\n >{ week }</div>\n ))}\n </div>\n )}\n\n <MaybeTransition name={ transition.value }>\n <div\n ref={ daysRef }\n key={ daysInMonth.value[0].date?.toString() }\n class=\"v-date-picker-month__days\"\n >\n { !props.hideWeekdays && weekdayLabels.value.map(weekDay => (\n <div\n class={[\n 'v-date-picker-month__day',\n 'v-date-picker-month__weekday',\n ]}\n >{ weekDay }</div>\n ))}\n\n { daysInMonth.value.map((item, i) => {\n const slotProps = {\n props: {\n class: 'v-date-picker-month__day-btn',\n color: item.isSelected || item.isToday ? props.color : undefined,\n disabled: item.isDisabled,\n icon: true,\n ripple: false,\n variant: item.isSelected ? 'flat' : item.isToday ? 'outlined' : 'text',\n 'aria-label': getDateAriaLabel(item),\n 'aria-current': item.isToday ? 'date' : undefined,\n onClick: () => onClick(item.date),\n },\n item,\n i,\n } as const\n\n if (atMax.value && !item.isSelected) {\n item.isDisabled = true\n }\n\n return (\n <div\n class={[\n 'v-date-picker-month__day',\n {\n 'v-date-picker-month__day--adjacent': item.isAdjacent,\n 'v-date-picker-month__day--hide-adjacent': item.isHidden,\n 'v-date-picker-month__day--selected': item.isSelected,\n 'v-date-picker-month__day--week-end': item.isWeekEnd,\n 'v-date-picker-month__day--week-start': item.isWeekStart,\n },\n ]}\n data-v-date={ !item.isDisabled ? item.isoDate : undefined }\n >\n { (props.showAdjacentMonths || !item.isAdjacent) && (\n slots.day?.(slotProps) ?? (\n <VBtn { ...slotProps.props }>\n { item.localized }\n { genEvents(item.isoDate) }\n </VBtn>\n )\n )}\n </div>\n )\n })}\n </div>\n </MaybeTransition>\n </div>\n ))\n },\n})\n\nexport type VDatePickerMonth = InstanceType<typeof VDatePickerMonth>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,MAAM;AAAA,SACNC,IAAI,4BAEb;AAAA,SACSC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,eAAe,EAAEC,OAAO;AAAA,SACxBC,SAAS;AAAA,SACTC,eAAe,2CAExB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EAAEnC,IAAI,CAACoC,QAAQ;YACxD,oCAAoC,EAAEpC,IAAI,CAAC6B,UAAU;YACrD,oCAAoC,EAAE7B,IAAI,CAACqC,SAAS;YACpD,sCAAsC,EAAErC,IAAI,CAACsC;UAC/C,CAAC,CACF;UAAA,eACa,CAACtC,IAAI,CAAC+B,UAAU,GAAG/B,IAAI,CAACuC,OAAO,GAAG3C;QAAS,IAEvD,CAAC7B,KAAK,CAACyE,kBAAkB,IAAI,CAACxC,IAAI,CAACmC,UAAU,MAC7C9D,KAAK,CAACoE,GAAG,GAAGd,SAAS,CAAC,IAAAR,YAAA,CAAAxF,IAAA,EACTgG,SAAS,CAAC5D,KAAK;UAAAT,OAAA,EAAAA,CAAA,MACtB0C,IAAI,CAAC0C,SAAS,EACdzB,SAAS,CAACjB,IAAI,CAACuC,OAAO,CAAC;QAAA,EAE5B,CACF;MAGP,CAAC,CAAC;IAAA,IAIT,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"VDatePickerMonth.js","names":["VBadge","VBtn","makeCalendarProps","useCalendar","createDateRange","useDate","useLocale","MaybeTransition","computed","ref","shallowRef","toRef","watch","genericComponent","omit","propsFactory","useRender","wrapInArray","makeVDatePickerMonthProps","color","String","hideWeekdays","Boolean","multiple","Number","showWeek","readonly","transition","type","default","reverseTransition","events","Array","Function","Object","eventColor","VDatePickerMonth","name","props","emits","date","setup","_ref","emit","slots","daysRef","t","daysInMonth","model","weekNumbers","weekdayLabels","adapter","rangeStart","rangeStop","isReverse","value","length","atMax","max","includes","Infinity","val","oldVal","isBefore","onRangeClick","_value","startOfDay","undefined","isSameDay","endOfDay","getDateAriaLabel","item","fullDate","format","localeKey","isToday","onMultipleClick","index","findIndex","selection","splice","onClick","getEventColors","eventData","eventColors","isArray","filter","map","genEvents","_createElementVNode","_createVNode","weekdays","_createTextVNode","week","_normalizeClass","toString","weekDay","i","slotProps","class","isSelected","disabled","isDisabled","icon","ripple","variant","isAdjacent","isHidden","isWeekEnd","isWeekStart","isoDate","showAdjacentMonths","day","localized"],"sources":["../../../src/components/VDatePicker/VDatePickerMonth.tsx"],"sourcesContent":["// Styles\nimport './VDatePickerMonth.sass'\n\n// Components\nimport { VBadge } from '@/components/VBadge'\nimport { VBtn } from '@/components/VBtn'\n\n// Composables\nimport { makeCalendarProps, useCalendar } from '@/composables/calendar'\nimport { createDateRange, useDate } from '@/composables/date/date'\nimport { useLocale } from '@/composables/locale'\nimport { MaybeTransition } from '@/composables/transition'\n\n// Utilities\nimport { computed, ref, shallowRef, toRef, watch } from 'vue'\nimport { genericComponent, omit, propsFactory, useRender, wrapInArray } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { GenericProps } from '@/util'\n\nexport type DatePickerEventColorValue = boolean | string | string[]\n\nexport type DatePickerEventColors = DatePickerEventColorValue |\nRecord<string, DatePickerEventColorValue> | ((date: string) => DatePickerEventColorValue)\n\nexport type DatePickerEvents = string[] |\n((date: string) => DatePickerEventColorValue) | Record<string, DatePickerEventColorValue>\n\nexport type VDatePickerMonthSlots = {\n day: {\n props: {\n onClick: () => void\n }\n item: any\n i: number\n }\n}\n\nexport const makeVDatePickerMonthProps = propsFactory({\n color: String,\n hideWeekdays: Boolean,\n multiple: [Boolean, Number, String] as PropType<boolean | 'range' | number | (string & {})>,\n showWeek: Boolean,\n readonly: Boolean,\n transition: {\n type: String,\n default: 'picker-transition',\n },\n reverseTransition: {\n type: String,\n default: 'picker-reverse-transition',\n },\n events: {\n type: [Array, Function, Object] as PropType<DatePickerEvents | null>,\n default: () => null,\n },\n eventColor: {\n type: [Array, Function, Object, String] as PropType<DatePickerEventColors>,\n default: () => null,\n },\n ...omit(makeCalendarProps(), ['displayValue']),\n}, 'VDatePickerMonth')\n\nexport const VDatePickerMonth = genericComponent<new <TModel>(\n props: {\n modelValue?: TModel\n 'onUpdate:modelValue'?: (value: TModel) => void\n },\n slots: VDatePickerMonthSlots\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VDatePickerMonth',\n\n props: makeVDatePickerMonthProps(),\n\n emits: {\n 'update:modelValue': (date: unknown) => true,\n 'update:month': (date: number) => true,\n 'update:year': (date: number) => true,\n },\n\n setup (props, { emit, slots }) {\n const daysRef = ref()\n const { t } = useLocale()\n\n const { daysInMonth, model, weekNumbers, weekdayLabels } = useCalendar(props)\n const adapter = useDate()\n\n const rangeStart = shallowRef()\n const rangeStop = shallowRef()\n const isReverse = shallowRef(false)\n\n const transition = toRef(() => {\n return !isReverse.value ? props.transition : props.reverseTransition\n })\n\n if (props.multiple === 'range' && model.value.length > 0) {\n rangeStart.value = model.value[0]\n if (model.value.length > 1) {\n rangeStop.value = model.value[model.value.length - 1]\n }\n }\n\n const atMax = computed(() => {\n const max = ['number', 'string'].includes(typeof props.multiple) ? Number(props.multiple) : Infinity\n\n return model.value.length >= max\n })\n\n watch(daysInMonth, (val, oldVal) => {\n if (!oldVal) return\n\n isReverse.value = adapter.isBefore(val[0].date, oldVal[0].date)\n })\n\n function onRangeClick (value: unknown) {\n const _value = adapter.startOfDay(value)\n\n if (model.value.length === 0) {\n rangeStart.value = undefined\n } else if (model.value.length === 1) {\n rangeStart.value = model.value[0]\n rangeStop.value = undefined\n }\n if (!rangeStart.value) {\n rangeStart.value = _value\n model.value = [rangeStart.value]\n } else if (!rangeStop.value) {\n if (adapter.isSameDay(_value, rangeStart.value)) {\n rangeStart.value = undefined\n model.value = []\n return\n } else if (adapter.isBefore(_value, rangeStart.value)) {\n rangeStop.value = adapter.endOfDay(rangeStart.value)\n rangeStart.value = _value\n } else {\n rangeStop.value = adapter.endOfDay(_value)\n }\n\n model.value = createDateRange(adapter, rangeStart.value, rangeStop.value)\n } else {\n rangeStart.value = value\n rangeStop.value = undefined\n model.value = [rangeStart.value]\n }\n }\n\n function getDateAriaLabel (item: any) {\n const fullDate = adapter.format(item.date, 'fullDateWithWeekday')\n const localeKey = item.isToday ? 'currentDate' : 'selectDate'\n return t(`$vuetify.datePicker.ariaLabel.${localeKey}`, fullDate)\n }\n\n function onMultipleClick (value: unknown) {\n const index = model.value.findIndex(selection => adapter.isSameDay(selection, value))\n\n if (index === -1) {\n model.value = [...model.value, value]\n } else {\n const value = [...model.value]\n value.splice(index, 1)\n model.value = value\n }\n }\n\n function onClick (value: unknown) {\n if (props.multiple === 'range') {\n onRangeClick(value)\n } else if (props.multiple) {\n onMultipleClick(value)\n } else {\n model.value = [value]\n }\n }\n function getEventColors (date: string): string[] {\n const { events, eventColor } = props\n let eventData: boolean | DatePickerEventColorValue\n let eventColors: (boolean | string)[] = []\n\n if (Array.isArray(events)) {\n eventData = events.includes(date)\n } else if (events instanceof Function) {\n eventData = events(date) || false\n } else if (events) {\n eventData = events[date] || false\n } else {\n eventData = false\n }\n\n if (!eventData) {\n return []\n } else if (eventData !== true) {\n eventColors = wrapInArray(eventData)\n } else if (typeof eventColor === 'string') {\n eventColors = [eventColor]\n } else if (typeof eventColor === 'function') {\n eventColors = wrapInArray(eventColor(date))\n } else if (Array.isArray(eventColor)) {\n eventColors = eventColor\n } else if (typeof eventColor === 'object' && eventColor !== null) {\n eventColors = wrapInArray(eventColor[date])\n }\n\n // Fallback to default color if no color is found\n return !eventColors.length\n ? ['surface-variant']\n : eventColors\n .filter(Boolean)\n .map((color: string | boolean) => typeof color === 'string' ? color : 'surface-variant')\n }\n\n function genEvents (date: string): JSX.Element | null {\n const eventColors = getEventColors(date)\n\n if (!eventColors.length) return null\n\n return (\n <div class=\"v-date-picker-month__events\">\n { eventColors.map((color: string) => <VBadge dot color={ color } />) }\n </div>\n )\n }\n useRender(() => (\n <div\n class=\"v-date-picker-month\"\n style={{ '--v-date-picker-days-in-week': props.weekdays.length }}\n >\n { props.showWeek && (\n <div key=\"weeks\" class=\"v-date-picker-month__weeks\">\n { !props.hideWeekdays && (\n <div key=\"hide-week-days\" class=\"v-date-picker-month__day\"> </div>\n )}\n { weekNumbers.value.map(week => (\n <div\n class={[\n 'v-date-picker-month__day',\n 'v-date-picker-month__day--adjacent',\n ]}\n >{ week }</div>\n ))}\n </div>\n )}\n\n <MaybeTransition name={ transition.value }>\n <div\n ref={ daysRef }\n key={ daysInMonth.value[0].date?.toString() }\n class=\"v-date-picker-month__days\"\n >\n { !props.hideWeekdays && weekdayLabels.value.map(weekDay => (\n <div\n class={[\n 'v-date-picker-month__day',\n 'v-date-picker-month__weekday',\n ]}\n >{ weekDay }</div>\n ))}\n\n { daysInMonth.value.map((item, i) => {\n const slotProps = {\n props: {\n class: 'v-date-picker-month__day-btn',\n color: item.isSelected || item.isToday ? props.color : undefined,\n disabled: item.isDisabled,\n readonly: props.readonly,\n icon: true,\n ripple: false,\n variant: item.isSelected ? 'flat' : item.isToday ? 'outlined' : 'text',\n 'aria-label': getDateAriaLabel(item),\n 'aria-current': item.isToday ? 'date' : undefined,\n onClick: () => onClick(item.date),\n },\n item,\n i,\n } as const\n\n if (atMax.value && !item.isSelected) {\n item.isDisabled = true\n }\n\n return (\n <div\n class={[\n 'v-date-picker-month__day',\n {\n 'v-date-picker-month__day--adjacent': item.isAdjacent,\n 'v-date-picker-month__day--hide-adjacent': item.isHidden,\n 'v-date-picker-month__day--selected': item.isSelected,\n 'v-date-picker-month__day--week-end': item.isWeekEnd,\n 'v-date-picker-month__day--week-start': item.isWeekStart,\n },\n ]}\n data-v-date={ !item.isDisabled ? item.isoDate : undefined }\n >\n { (props.showAdjacentMonths || !item.isAdjacent) && (\n slots.day?.(slotProps) ?? (\n <VBtn { ...slotProps.props }>\n { item.localized }\n { genEvents(item.isoDate) }\n </VBtn>\n )\n )}\n </div>\n )\n })}\n </div>\n </MaybeTransition>\n </div>\n ))\n },\n})\n\nexport type VDatePickerMonth = InstanceType<typeof VDatePickerMonth>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,MAAM;AAAA,SACNC,IAAI,4BAEb;AAAA,SACSC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,eAAe,EAAEC,OAAO;AAAA,SACxBC,SAAS;AAAA,SACTC,eA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ACL,0BAA0B,EAC1B;YACE,oCAAoC,EAAEvB,IAAI,CAACmC,UAAU;YACrD,yCAAyC,EAAEnC,IAAI,CAACoC,QAAQ;YACxD,oCAAoC,EAAEpC,IAAI,CAAC6B,UAAU;YACrD,oCAAoC,EAAE7B,IAAI,CAACqC,SAAS;YACpD,sCAAsC,EAAErC,IAAI,CAACsC;UAC/C,CAAC,CACF;UAAA,eACa,CAACtC,IAAI,CAAC+B,UAAU,GAAG/B,IAAI,CAACuC,OAAO,GAAG3C;QAAS,IAEvD,CAAC7B,KAAK,CAACyE,kBAAkB,IAAI,CAACxC,IAAI,CAACmC,UAAU,MAC7C9D,KAAK,CAACoE,GAAG,GAAGd,SAAS,CAAC,IAAAR,YAAA,CAAAzF,IAAA,EACTiG,SAAS,CAAC5D,KAAK;UAAAT,OAAA,EAAAA,CAAA,MACtB0C,IAAI,CAAC0C,SAAS,EACdzB,SAAS,CAACjB,IAAI,CAACuC,OAAO,CAAC;QAAA,EAE5B,CACF;MAGP,CAAC,CAAC;IAAA,IAIT,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
|
package/lib/entry-bundler.js
CHANGED
|
@@ -16,7 +16,7 @@ export const createVuetify = function () {
|
|
|
16
16
|
...options
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
|
-
export const version = "3.11.3-dev.2025-12-
|
|
19
|
+
export const version = "3.11.3-dev.2025-12-13";
|
|
20
20
|
createVuetify.version = version;
|
|
21
21
|
export { blueprints, components, directives };
|
|
22
22
|
export * from "./composables/index.js";
|
package/lib/framework.d.ts
CHANGED
|
@@ -2778,27 +2778,28 @@ declare module 'vue' {
|
|
|
2778
2778
|
$children?: VNodeChild
|
|
2779
2779
|
}
|
|
2780
2780
|
export interface GlobalComponents {
|
|
2781
|
+
VApp: typeof import('vuetify/components')['VApp']
|
|
2781
2782
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
|
2782
2783
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
|
2783
2784
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
|
2784
|
-
VApp: typeof import('vuetify/components')['VApp']
|
|
2785
|
-
VAvatar: typeof import('vuetify/components')['VAvatar']
|
|
2786
2785
|
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
|
2786
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
|
2787
|
+
VBadge: typeof import('vuetify/components')['VBadge']
|
|
2787
2788
|
VBanner: typeof import('vuetify/components')['VBanner']
|
|
2788
2789
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
|
2789
2790
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
|
2790
|
-
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
|
2791
2791
|
VAlert: typeof import('vuetify/components')['VAlert']
|
|
2792
2792
|
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
|
2793
|
-
VBadge: typeof import('vuetify/components')['VBadge']
|
|
2794
|
-
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
|
2795
2793
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
|
2796
2794
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
|
2797
2795
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
|
2798
|
-
|
|
2796
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
|
2797
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
|
2799
2798
|
VBtn: typeof import('vuetify/components')['VBtn']
|
|
2800
|
-
|
|
2801
|
-
|
|
2799
|
+
VCalendar: typeof import('vuetify/components')['VCalendar']
|
|
2800
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
|
2801
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
2802
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
|
2802
2803
|
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
|
2803
2804
|
VCard: typeof import('vuetify/components')['VCard']
|
|
2804
2805
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
|
@@ -2806,14 +2807,13 @@ declare module 'vue' {
|
|
|
2806
2807
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
|
2807
2808
|
VCardText: typeof import('vuetify/components')['VCardText']
|
|
2808
2809
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
|
2809
|
-
VCalendar: typeof import('vuetify/components')['VCalendar']
|
|
2810
|
-
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
|
2811
2810
|
VChip: typeof import('vuetify/components')['VChip']
|
|
2812
|
-
|
|
2813
|
-
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
2811
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
|
2814
2812
|
VCode: typeof import('vuetify/components')['VCode']
|
|
2813
|
+
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
|
2814
|
+
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
|
2815
2815
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
|
2816
|
-
|
|
2816
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
|
2817
2817
|
VCounter: typeof import('vuetify/components')['VCounter']
|
|
2818
2818
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
|
2819
2819
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
|
@@ -2822,35 +2822,38 @@ declare module 'vue' {
|
|
|
2822
2822
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
|
2823
2823
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
|
2824
2824
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
|
2825
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
|
2826
|
-
VDialog: typeof import('vuetify/components')['VDialog']
|
|
2827
2825
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
|
2828
2826
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
|
2829
2827
|
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
|
2830
2828
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
|
2831
2829
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
|
2832
2830
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
|
2833
|
-
|
|
2834
|
-
|
|
2831
|
+
VDialog: typeof import('vuetify/components')['VDialog']
|
|
2832
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
|
2835
2833
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
|
2836
2834
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
|
2837
2835
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
|
2838
2836
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
|
2837
|
+
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
|
2838
|
+
VFab: typeof import('vuetify/components')['VFab']
|
|
2839
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
|
2839
2840
|
VField: typeof import('vuetify/components')['VField']
|
|
2840
2841
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
|
2841
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
|
2842
|
-
VFileInput: typeof import('vuetify/components')['VFileInput']
|
|
2843
2842
|
VHotkey: typeof import('vuetify/components')['VHotkey']
|
|
2843
|
+
VFileInput: typeof import('vuetify/components')['VFileInput']
|
|
2844
2844
|
VIcon: typeof import('vuetify/components')['VIcon']
|
|
2845
2845
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
|
2846
2846
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
|
2847
2847
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
|
2848
2848
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
|
2849
2849
|
VImg: typeof import('vuetify/components')['VImg']
|
|
2850
|
+
VInput: typeof import('vuetify/components')['VInput']
|
|
2850
2851
|
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
|
2851
|
-
VLabel: typeof import('vuetify/components')['VLabel']
|
|
2852
2852
|
VKbd: typeof import('vuetify/components')['VKbd']
|
|
2853
|
-
|
|
2853
|
+
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
|
2854
|
+
VItem: typeof import('vuetify/components')['VItem']
|
|
2855
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
|
2856
|
+
VMain: typeof import('vuetify/components')['VMain']
|
|
2854
2857
|
VList: typeof import('vuetify/components')['VList']
|
|
2855
2858
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
|
2856
2859
|
VListImg: typeof import('vuetify/components')['VListImg']
|
|
@@ -2860,28 +2863,24 @@ declare module 'vue' {
|
|
|
2860
2863
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
|
2861
2864
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
|
2862
2865
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
|
2863
|
-
|
|
2864
|
-
VItem: typeof import('vuetify/components')['VItem']
|
|
2865
|
-
VMenu: typeof import('vuetify/components')['VMenu']
|
|
2866
|
-
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
|
2867
|
-
VOverlay: typeof import('vuetify/components')['VOverlay']
|
|
2868
|
-
VMain: typeof import('vuetify/components')['VMain']
|
|
2866
|
+
VNumberInput: typeof import('vuetify/components')['VNumberInput']
|
|
2869
2867
|
VMessages: typeof import('vuetify/components')['VMessages']
|
|
2870
2868
|
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
|
2869
|
+
VPagination: typeof import('vuetify/components')['VPagination']
|
|
2870
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
|
2871
2871
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
|
2872
2872
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
|
2873
|
-
|
|
2873
|
+
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
|
2874
|
+
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
|
2874
2875
|
VRating: typeof import('vuetify/components')['VRating']
|
|
2875
2876
|
VSelect: typeof import('vuetify/components')['VSelect']
|
|
2876
|
-
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
|
2877
2877
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
|
2878
|
-
|
|
2878
|
+
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
|
2879
2879
|
VSheet: typeof import('vuetify/components')['VSheet']
|
|
2880
|
+
VSlider: typeof import('vuetify/components')['VSlider']
|
|
2880
2881
|
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
|
2881
2882
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
|
2882
2883
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
|
2883
|
-
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
|
2884
|
-
VSwitch: typeof import('vuetify/components')['VSwitch']
|
|
2885
2884
|
VStepper: typeof import('vuetify/components')['VStepper']
|
|
2886
2885
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
|
2887
2886
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
|
@@ -2889,32 +2888,32 @@ declare module 'vue' {
|
|
|
2889
2888
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
|
2890
2889
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
|
2891
2890
|
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
|
2891
|
+
VSwitch: typeof import('vuetify/components')['VSwitch']
|
|
2892
|
+
VTable: typeof import('vuetify/components')['VTable']
|
|
2895
2893
|
VTab: typeof import('vuetify/components')['VTab']
|
|
2896
2894
|
VTabs: typeof import('vuetify/components')['VTabs']
|
|
2897
2895
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
|
2898
2896
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
|
2899
2897
|
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
|
2900
|
-
VTable: typeof import('vuetify/components')['VTable']
|
|
2901
2898
|
VTextarea: typeof import('vuetify/components')['VTextarea']
|
|
2902
2899
|
VTextField: typeof import('vuetify/components')['VTextField']
|
|
2903
2900
|
VTimeline: typeof import('vuetify/components')['VTimeline']
|
|
2904
2901
|
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
VNumberInput: typeof import('vuetify/components')['VNumberInput']
|
|
2902
|
+
VMenu: typeof import('vuetify/components')['VMenu']
|
|
2903
|
+
VToolbar: typeof import('vuetify/components')['VToolbar']
|
|
2904
|
+
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
|
2905
|
+
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
|
2910
2906
|
VTimePicker: typeof import('vuetify/components')['VTimePicker']
|
|
2911
2907
|
VTimePickerClock: typeof import('vuetify/components')['VTimePickerClock']
|
|
2912
2908
|
VTimePickerControls: typeof import('vuetify/components')['VTimePickerControls']
|
|
2913
2909
|
VWindow: typeof import('vuetify/components')['VWindow']
|
|
2914
2910
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
|
2911
|
+
VTreeview: typeof import('vuetify/components')['VTreeview']
|
|
2912
|
+
VTreeviewItem: typeof import('vuetify/components')['VTreeviewItem']
|
|
2913
|
+
VTreeviewGroup: typeof import('vuetify/components')['VTreeviewGroup']
|
|
2914
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
|
2915
2915
|
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
|
2916
2916
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
|
2917
|
-
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
|
2918
2917
|
VForm: typeof import('vuetify/components')['VForm']
|
|
2919
2918
|
VContainer: typeof import('vuetify/components')['VContainer']
|
|
2920
2919
|
VCol: typeof import('vuetify/components')['VCol']
|
|
@@ -2923,19 +2922,20 @@ declare module 'vue' {
|
|
|
2923
2922
|
VHover: typeof import('vuetify/components')['VHover']
|
|
2924
2923
|
VLayout: typeof import('vuetify/components')['VLayout']
|
|
2925
2924
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
|
2926
|
-
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
|
2927
2925
|
VLazy: typeof import('vuetify/components')['VLazy']
|
|
2926
|
+
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
|
2928
2927
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
|
2929
|
-
VParallax: typeof import('vuetify/components')['VParallax']
|
|
2930
2928
|
VRadio: typeof import('vuetify/components')['VRadio']
|
|
2931
2929
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
|
2932
2930
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
|
2931
|
+
VParallax: typeof import('vuetify/components')['VParallax']
|
|
2933
2932
|
VSnackbarQueue: typeof import('vuetify/components')['VSnackbarQueue']
|
|
2934
|
-
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
|
2935
2933
|
VSparkline: typeof import('vuetify/components')['VSparkline']
|
|
2934
|
+
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
|
2936
2935
|
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
|
2937
|
-
VValidation: typeof import('vuetify/components')['VValidation']
|
|
2938
2936
|
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
|
2937
|
+
VValidation: typeof import('vuetify/components')['VValidation']
|
|
2938
|
+
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
|
2939
2939
|
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
|
2940
2940
|
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
|
2941
2941
|
VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
|
|
@@ -2953,22 +2953,22 @@ declare module 'vue' {
|
|
|
2953
2953
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
|
2954
2954
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
|
2955
2955
|
VColorInput: typeof import('vuetify/labs/components')['VColorInput']
|
|
2956
|
-
|
|
2957
|
-
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
|
2956
|
+
VIconBtn: typeof import('vuetify/labs/components')['VIconBtn']
|
|
2958
2957
|
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
|
2959
2958
|
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
|
2960
|
-
VIconBtn: typeof import('vuetify/labs/components')['VIconBtn']
|
|
2961
2959
|
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
|
2962
2960
|
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
|
2963
2961
|
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
VPieTooltip: typeof import('vuetify/labs/components')['VPieTooltip']
|
|
2962
|
+
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
|
2963
|
+
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
|
2967
2964
|
VVideo: typeof import('vuetify/labs/components')['VVideo']
|
|
2968
2965
|
VVideoControls: typeof import('vuetify/labs/components')['VVideoControls']
|
|
2969
2966
|
VVideoVolume: typeof import('vuetify/labs/components')['VVideoVolume']
|
|
2970
|
-
|
|
2967
|
+
VPie: typeof import('vuetify/labs/components')['VPie']
|
|
2968
|
+
VPieSegment: typeof import('vuetify/labs/components')['VPieSegment']
|
|
2969
|
+
VPieTooltip: typeof import('vuetify/labs/components')['VPieTooltip']
|
|
2971
2970
|
VMaskInput: typeof import('vuetify/labs/components')['VMaskInput']
|
|
2971
|
+
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
|
2972
2972
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
|
2973
2973
|
}
|
|
2974
2974
|
export interface GlobalDirectives {
|
package/lib/framework.js
CHANGED