@vuetify/nightly 3.4.11-dev.2024-01-19 → 3.5.0-dev.2024-01-20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/CHANGELOG.md +2 -29
  2. package/dist/json/attributes.json +6 -6
  3. package/dist/json/importMap.json +116 -116
  4. package/dist/json/web-types.json +42 -7
  5. package/dist/vuetify-labs.css +2802 -2782
  6. package/dist/vuetify-labs.d.ts +61 -8
  7. package/dist/vuetify-labs.esm.js +153 -22
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +153 -21
  10. package/dist/vuetify-labs.min.css +2 -2
  11. package/dist/vuetify.css +757 -737
  12. package/dist/vuetify.d.ts +97 -44
  13. package/dist/vuetify.esm.js +153 -22
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +153 -21
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +2 -2
  18. package/dist/vuetify.min.js +359 -337
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/blueprints/index.d.mts +11 -1
  21. package/lib/blueprints/md1.d.mts +11 -1
  22. package/lib/blueprints/md2.d.mts +11 -1
  23. package/lib/blueprints/md3.d.mts +11 -1
  24. package/lib/components/VSwitch/VSwitch.css +22 -2
  25. package/lib/components/VSwitch/VSwitch.mjs +26 -3
  26. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  27. package/lib/components/VSwitch/VSwitch.sass +20 -2
  28. package/lib/components/VSwitch/index.d.mts +37 -6
  29. package/lib/components/index.d.mts +37 -6
  30. package/lib/composables/goto.mjs +105 -0
  31. package/lib/composables/goto.mjs.map +1 -0
  32. package/lib/composables/index.mjs +1 -0
  33. package/lib/composables/index.mjs.map +1 -1
  34. package/lib/entry-bundler.mjs +1 -1
  35. package/lib/entry-bundler.mjs.map +1 -1
  36. package/lib/framework.mjs +6 -2
  37. package/lib/framework.mjs.map +1 -1
  38. package/lib/index.d.mts +60 -38
  39. package/package.json +1 -1
package/dist/vuetify.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as vue from 'vue';
2
- import { Ref, DeepReadonly, ComponentPropsOptions, ExtractPropTypes, VNodeChild, VNode, PropType, JSXComponent, CSSProperties, ComponentInternalInstance, ComputedRef, Component, EffectScope, DirectiveBinding, WritableComputedRef, UnwrapRef, nextTick, Prop, InjectionKey } from 'vue';
2
+ import { Ref, DeepReadonly, ComponentPropsOptions, ExtractPropTypes, VNodeChild, VNode, PropType, ComponentPublicInstance, JSXComponent, CSSProperties, ComponentInternalInstance, ComputedRef, Component, EffectScope, DirectiveBinding, WritableComputedRef, UnwrapRef, nextTick, Prop, InjectionKey } from 'vue';
3
3
  // @ts-ignore
4
4
  import * as vue_router from 'vue-router';
5
5
  // @ts-ignore
@@ -351,6 +351,23 @@ type DefaultsOptions = Partial<DefaultsInstance>;
351
351
  declare function useDefaults<T extends Record<string, any>>(props: T, name?: string): T;
352
352
  declare function useDefaults(props?: undefined, name?: string): Record<string, any>;
353
353
 
354
+ interface GoToInstance {
355
+ rtl: Ref<boolean>;
356
+ options: GoToOptions;
357
+ }
358
+ interface GoToOptions {
359
+ container: ComponentPublicInstance | HTMLElement | string;
360
+ duration: number;
361
+ layout: boolean;
362
+ offset: number;
363
+ easing: string | ((t: number) => number);
364
+ patterns: Record<string, (t: number) => number>;
365
+ }
366
+ declare function useGoTo(_options?: Partial<GoToOptions>): {
367
+ (target: ComponentPublicInstance | HTMLElement | string | number, options?: Partial<GoToOptions>): Promise<unknown>;
368
+ horizontal(target: ComponentPublicInstance | HTMLElement | string | number, options?: Partial<GoToOptions>): Promise<unknown>;
369
+ };
370
+
354
371
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
355
372
  declare const IconValue: PropType<IconValue>;
356
373
  interface IconAliases {
@@ -753,6 +770,7 @@ interface VuetifyOptions {
753
770
  directives?: Record<string, any>;
754
771
  defaults?: DefaultsOptions;
755
772
  display?: DisplayOptions;
773
+ goTo?: GoToOptions;
756
774
  theme?: ThemeOptions;
757
775
  icons?: IconOptions;
758
776
  locale?: LocaleOptions & RtlOptions;
@@ -54536,8 +54554,17 @@ declare const VStepperWindowItem: {
54536
54554
  }>>;
54537
54555
  type VStepperWindowItem = InstanceType<typeof VStepperWindowItem>;
54538
54556
 
54557
+ type VSwitchSlot = {
54558
+ model: Ref<boolean>;
54559
+ isValid: ComputedRef<boolean | null>;
54560
+ };
54539
54561
  type VSwitchSlots = VInputSlots & VSelectionControlSlots & {
54540
54562
  loader: LoaderSlotProps;
54563
+ thumb: {
54564
+ icon: IconValue | undefined;
54565
+ } & VSwitchSlot;
54566
+ 'track-false': VSwitchSlot;
54567
+ 'track-true': VSwitchSlot;
54541
54568
  };
54542
54569
  declare const VSwitch: {
54543
54570
  new (...args: any[]): vue.CreateComponentPublicInstance<{
@@ -54594,7 +54621,7 @@ declare const VSwitch: {
54594
54621
  'update:focused': (focused: boolean) => boolean;
54595
54622
  'update:modelValue': (value: any) => boolean;
54596
54623
  'update:indeterminate': (value: boolean) => boolean;
54597
- }, "$children" | "v-slot:default" | "v-slots" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:input" | "v-slot:label" | "v-slot:message" | "v-slot:details">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
54624
+ }, "$children" | "v-slot:default" | "v-slots" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:input" | "v-slot:label" | "v-slot:message" | "v-slot:details" | "v-slot:thumb" | "v-slot:track-false" | "v-slot:track-true">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
54598
54625
  flat: boolean;
54599
54626
  inline: boolean;
54600
54627
  error: boolean;
@@ -54669,8 +54696,8 @@ declare const VSwitch: {
54669
54696
  persistentHint: boolean;
54670
54697
  }, true, {}, vue.SlotsType<Partial<{
54671
54698
  default: (arg: VInputSlot & {
54672
- backgroundColorClasses: vue.Ref<string[]>;
54673
- backgroundColorStyles: vue.Ref<vue.CSSProperties>;
54699
+ backgroundColorClasses: Ref<string[]>;
54700
+ backgroundColorStyles: Ref<vue.CSSProperties>;
54674
54701
  }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
54675
54702
  [key: string]: any;
54676
54703
  }>[];
@@ -54698,6 +54725,17 @@ declare const VSwitch: {
54698
54725
  loader: (arg: LoaderSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
54699
54726
  [key: string]: any;
54700
54727
  }>[];
54728
+ thumb: (arg: {
54729
+ icon: IconValue | undefined;
54730
+ } & VSwitchSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
54731
+ [key: string]: any;
54732
+ }>[];
54733
+ 'track-false': (arg: VSwitchSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
54734
+ [key: string]: any;
54735
+ }>[];
54736
+ 'track-true': (arg: VSwitchSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
54737
+ [key: string]: any;
54738
+ }>[];
54701
54739
  }>>, {
54702
54740
  P: {};
54703
54741
  B: {};
@@ -54836,7 +54874,7 @@ declare const VSwitch: {
54836
54874
  'update:focused': (focused: boolean) => boolean;
54837
54875
  'update:modelValue': (value: any) => boolean;
54838
54876
  'update:indeterminate': (value: boolean) => boolean;
54839
- }, "$children" | "v-slot:default" | "v-slots" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:input" | "v-slot:label" | "v-slot:message" | "v-slot:details">, string, {
54877
+ }, "$children" | "v-slot:default" | "v-slots" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:input" | "v-slot:label" | "v-slot:message" | "v-slot:details" | "v-slot:thumb" | "v-slot:track-false" | "v-slot:track-true">, string, {
54840
54878
  flat: boolean;
54841
54879
  inline: boolean;
54842
54880
  error: boolean;
@@ -54861,8 +54899,8 @@ declare const VSwitch: {
54861
54899
  persistentHint: boolean;
54862
54900
  }, {}, string, vue.SlotsType<Partial<{
54863
54901
  default: (arg: VInputSlot & {
54864
- backgroundColorClasses: vue.Ref<string[]>;
54865
- backgroundColorStyles: vue.Ref<vue.CSSProperties>;
54902
+ backgroundColorClasses: Ref<string[]>;
54903
+ backgroundColorStyles: Ref<vue.CSSProperties>;
54866
54904
  }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
54867
54905
  [key: string]: any;
54868
54906
  }>[];
@@ -54890,6 +54928,17 @@ declare const VSwitch: {
54890
54928
  loader: (arg: LoaderSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
54891
54929
  [key: string]: any;
54892
54930
  }>[];
54931
+ thumb: (arg: {
54932
+ icon: IconValue | undefined;
54933
+ } & VSwitchSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
54934
+ [key: string]: any;
54935
+ }>[];
54936
+ 'track-false': (arg: VSwitchSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
54937
+ [key: string]: any;
54938
+ }>[];
54939
+ 'track-true': (arg: VSwitchSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
54940
+ [key: string]: any;
54941
+ }>[];
54893
54942
  }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>(props: {
54894
54943
  modelValue?: T | null | undefined;
54895
54944
  'onUpdate:modelValue'?: ((value: T | null) => void) | undefined;
@@ -67111,12 +67160,16 @@ declare const createVuetify: {
67111
67160
  setMinutes: (date: unknown, minutes: number) => unknown;
67112
67161
  };
67113
67162
  };
67163
+ goTo: {
67164
+ rtl: vue.Ref<boolean>;
67165
+ options: Record<string, any>;
67166
+ };
67114
67167
  };
67115
67168
  version: string;
67116
67169
  };
67117
67170
  declare const version: string;
67118
67171
 
67119
- export { type DateInstance, type DefaultsInstance, type DisplayBreakpoint, type DisplayInstance, type DisplayThresholds, type IconAliases, type IconOptions, type IconProps, type IconSet, type LocaleInstance, type LocaleMessages, type LocaleOptions, type RtlInstance, type RtlOptions, type SubmitEventPromise, type ThemeDefinition, type ThemeInstance, index_d$1 as components, createVuetify, index_d as directives, useDate, useDefaults, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
67172
+ export { type DateInstance, type DefaultsInstance, type DisplayBreakpoint, type DisplayInstance, type DisplayThresholds, type GoToInstance, type IconAliases, type IconOptions, type IconProps, type IconSet, type LocaleInstance, type LocaleMessages, type LocaleOptions, type RtlInstance, type RtlOptions, type SubmitEventPromise, type ThemeDefinition, type ThemeInstance, index_d$1 as components, createVuetify, index_d as directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
67120
67173
 
67121
67174
  /* eslint-disable local-rules/sort-imports */
67122
67175
 
@@ -67160,73 +67213,75 @@ declare module '@vue/runtime-core' {
67160
67213
 
67161
67214
  export interface GlobalComponents {
67162
67215
  VApp: typeof import('vuetify/components')['VApp']
67163
- VAlert: typeof import('vuetify/components')['VAlert']
67164
- VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
67216
+ VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
67165
67217
  VAppBar: typeof import('vuetify/components')['VAppBar']
67166
67218
  VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
67167
67219
  VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
67168
- VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
67169
- VBadge: typeof import('vuetify/components')['VBadge']
67170
67220
  VAvatar: typeof import('vuetify/components')['VAvatar']
67221
+ VAlert: typeof import('vuetify/components')['VAlert']
67222
+ VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
67223
+ VBadge: typeof import('vuetify/components')['VBadge']
67171
67224
  VBanner: typeof import('vuetify/components')['VBanner']
67172
67225
  VBannerActions: typeof import('vuetify/components')['VBannerActions']
67173
67226
  VBannerText: typeof import('vuetify/components')['VBannerText']
67174
- VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
67175
67227
  VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
67228
+ VBtn: typeof import('vuetify/components')['VBtn']
67229
+ VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
67176
67230
  VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
67231
+ VCarousel: typeof import('vuetify/components')['VCarousel']
67232
+ VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
67177
67233
  VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
67178
67234
  VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
67179
67235
  VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
67180
- VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
67181
- VBtn: typeof import('vuetify/components')['VBtn']
67236
+ VCheckbox: typeof import('vuetify/components')['VCheckbox']
67237
+ VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
67182
67238
  VCard: typeof import('vuetify/components')['VCard']
67183
67239
  VCardActions: typeof import('vuetify/components')['VCardActions']
67184
67240
  VCardItem: typeof import('vuetify/components')['VCardItem']
67185
67241
  VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
67186
67242
  VCardText: typeof import('vuetify/components')['VCardText']
67187
67243
  VCardTitle: typeof import('vuetify/components')['VCardTitle']
67188
- VChip: typeof import('vuetify/components')['VChip']
67189
- VCode: typeof import('vuetify/components')['VCode']
67190
- VCarousel: typeof import('vuetify/components')['VCarousel']
67191
- VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
67244
+ VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
67192
67245
  VChipGroup: typeof import('vuetify/components')['VChipGroup']
67193
- VCheckbox: typeof import('vuetify/components')['VCheckbox']
67194
- VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
67246
+ VCode: typeof import('vuetify/components')['VCode']
67247
+ VChip: typeof import('vuetify/components')['VChip']
67195
67248
  VColorPicker: typeof import('vuetify/components')['VColorPicker']
67196
- VCombobox: typeof import('vuetify/components')['VCombobox']
67197
- VCounter: typeof import('vuetify/components')['VCounter']
67198
67249
  VDataTable: typeof import('vuetify/components')['VDataTable']
67199
67250
  VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
67200
67251
  VDataTableRows: typeof import('vuetify/components')['VDataTableRows']
67201
67252
  VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
67202
67253
  VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
67203
67254
  VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
67255
+ VCounter: typeof import('vuetify/components')['VCounter']
67204
67256
  VDatePicker: typeof import('vuetify/components')['VDatePicker']
67205
67257
  VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
67206
67258
  VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
67207
67259
  VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
67208
67260
  VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
67209
67261
  VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
67262
+ VCombobox: typeof import('vuetify/components')['VCombobox']
67210
67263
  VDialog: typeof import('vuetify/components')['VDialog']
67211
- VField: typeof import('vuetify/components')['VField']
67212
- VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
67213
67264
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
67214
67265
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
67215
67266
  VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
67216
67267
  VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
67217
67268
  VDivider: typeof import('vuetify/components')['VDivider']
67269
+ VField: typeof import('vuetify/components')['VField']
67270
+ VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
67218
67271
  VFooter: typeof import('vuetify/components')['VFooter']
67219
- VFileInput: typeof import('vuetify/components')['VFileInput']
67220
67272
  VIcon: typeof import('vuetify/components')['VIcon']
67221
67273
  VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
67222
67274
  VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
67223
67275
  VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
67224
67276
  VClassIcon: typeof import('vuetify/components')['VClassIcon']
67277
+ VFileInput: typeof import('vuetify/components')['VFileInput']
67225
67278
  VImg: typeof import('vuetify/components')['VImg']
67279
+ VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
67226
67280
  VInput: typeof import('vuetify/components')['VInput']
67281
+ VKbd: typeof import('vuetify/components')['VKbd']
67227
67282
  VItemGroup: typeof import('vuetify/components')['VItemGroup']
67228
67283
  VItem: typeof import('vuetify/components')['VItem']
67229
- VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
67284
+ VLabel: typeof import('vuetify/components')['VLabel']
67230
67285
  VList: typeof import('vuetify/components')['VList']
67231
67286
  VListGroup: typeof import('vuetify/components')['VListGroup']
67232
67287
  VListImg: typeof import('vuetify/components')['VListImg']
@@ -67236,27 +67291,26 @@ declare module '@vue/runtime-core' {
67236
67291
  VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
67237
67292
  VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
67238
67293
  VListSubheader: typeof import('vuetify/components')['VListSubheader']
67239
- VKbd: typeof import('vuetify/components')['VKbd']
67240
- VLabel: typeof import('vuetify/components')['VLabel']
67294
+ VMessages: typeof import('vuetify/components')['VMessages']
67241
67295
  VMenu: typeof import('vuetify/components')['VMenu']
67296
+ VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
67242
67297
  VMain: typeof import('vuetify/components')['VMain']
67243
- VMessages: typeof import('vuetify/components')['VMessages']
67244
67298
  VOtpInput: typeof import('vuetify/components')['VOtpInput']
67245
- VOverlay: typeof import('vuetify/components')['VOverlay']
67246
- VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
67247
67299
  VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
67300
+ VOverlay: typeof import('vuetify/components')['VOverlay']
67248
67301
  VPagination: typeof import('vuetify/components')['VPagination']
67249
- VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
67250
67302
  VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
67251
- VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
67303
+ VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
67252
67304
  VRating: typeof import('vuetify/components')['VRating']
67253
67305
  VSelect: typeof import('vuetify/components')['VSelect']
67254
- VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
67306
+ VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
67255
67307
  VSheet: typeof import('vuetify/components')['VSheet']
67256
- VSnackbar: typeof import('vuetify/components')['VSnackbar']
67308
+ VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
67257
67309
  VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
67258
67310
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
67259
67311
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
67312
+ VSlider: typeof import('vuetify/components')['VSlider']
67313
+ VSnackbar: typeof import('vuetify/components')['VSnackbar']
67260
67314
  VStepper: typeof import('vuetify/components')['VStepper']
67261
67315
  VStepperActions: typeof import('vuetify/components')['VStepperActions']
67262
67316
  VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
@@ -67264,19 +67318,18 @@ declare module '@vue/runtime-core' {
67264
67318
  VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
67265
67319
  VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
67266
67320
  VSwitch: typeof import('vuetify/components')['VSwitch']
67267
- VSlider: typeof import('vuetify/components')['VSlider']
67268
67321
  VSystemBar: typeof import('vuetify/components')['VSystemBar']
67269
67322
  VTabs: typeof import('vuetify/components')['VTabs']
67270
67323
  VTab: typeof import('vuetify/components')['VTab']
67271
- VTextField: typeof import('vuetify/components')['VTextField']
67272
- VTextarea: typeof import('vuetify/components')['VTextarea']
67273
67324
  VTable: typeof import('vuetify/components')['VTable']
67274
- VTooltip: typeof import('vuetify/components')['VTooltip']
67275
- VTimeline: typeof import('vuetify/components')['VTimeline']
67276
- VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
67325
+ VTextarea: typeof import('vuetify/components')['VTextarea']
67277
67326
  VToolbar: typeof import('vuetify/components')['VToolbar']
67278
67327
  VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
67279
67328
  VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
67329
+ VTextField: typeof import('vuetify/components')['VTextField']
67330
+ VTooltip: typeof import('vuetify/components')['VTooltip']
67331
+ VTimeline: typeof import('vuetify/components')['VTimeline']
67332
+ VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
67280
67333
  VWindow: typeof import('vuetify/components')['VWindow']
67281
67334
  VWindowItem: typeof import('vuetify/components')['VWindowItem']
67282
67335
  VDataIterator: typeof import('vuetify/components')['VDataIterator']
@@ -67289,8 +67342,8 @@ declare module '@vue/runtime-core' {
67289
67342
  VHover: typeof import('vuetify/components')['VHover']
67290
67343
  VLayout: typeof import('vuetify/components')['VLayout']
67291
67344
  VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
67292
- VLazy: typeof import('vuetify/components')['VLazy']
67293
67345
  VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
67346
+ VLazy: typeof import('vuetify/components')['VLazy']
67294
67347
  VNoSsr: typeof import('vuetify/components')['VNoSsr']
67295
67348
  VParallax: typeof import('vuetify/components')['VParallax']
67296
67349
  VRadio: typeof import('vuetify/components')['VRadio']
@@ -67298,6 +67351,7 @@ declare module '@vue/runtime-core' {
67298
67351
  VResponsive: typeof import('vuetify/components')['VResponsive']
67299
67352
  VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
67300
67353
  VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
67354
+ VValidation: typeof import('vuetify/components')['VValidation']
67301
67355
  VFabTransition: typeof import('vuetify/components')['VFabTransition']
67302
67356
  VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
67303
67357
  VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
@@ -67314,7 +67368,6 @@ declare module '@vue/runtime-core' {
67314
67368
  VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
67315
67369
  VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
67316
67370
  VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
67317
- VValidation: typeof import('vuetify/components')['VValidation']
67318
67371
  VCalendar: typeof import('vuetify/labs/components')['VCalendar']
67319
67372
  VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
67320
67373
  VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.4.11-dev.2024-01-19
2
+ * Vuetify v3.5.0-dev.2024-01-20
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -2150,7 +2150,7 @@ function provideLocale(props) {
2150
2150
  provide(LocaleSymbol, data);
2151
2151
  return data;
2152
2152
  }
2153
- function genDefaults$1() {
2153
+ function genDefaults$2() {
2154
2154
  return {
2155
2155
  af: false,
2156
2156
  ar: true,
@@ -2197,7 +2197,7 @@ function genDefaults$1() {
2197
2197
  };
2198
2198
  }
2199
2199
  function createRtl(i18n, options) {
2200
- const rtl = ref(options?.rtl ?? genDefaults$1());
2200
+ const rtl = ref(options?.rtl ?? genDefaults$2());
2201
2201
  const isRtl = computed(() => rtl.value[i18n.current.value] ?? false);
2202
2202
  return {
2203
2203
  isRtl,
@@ -2230,7 +2230,7 @@ const ThemeSymbol = Symbol.for('vuetify:theme');
2230
2230
  const makeThemeProps = propsFactory({
2231
2231
  theme: String
2232
2232
  }, 'theme');
2233
- function genDefaults() {
2233
+ function genDefaults$1() {
2234
2234
  return {
2235
2235
  defaultTheme: 'light',
2236
2236
  variations: {
@@ -2317,8 +2317,8 @@ function genDefaults() {
2317
2317
  };
2318
2318
  }
2319
2319
  function parseThemeOptions() {
2320
- let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : genDefaults();
2321
- const defaults = genDefaults();
2320
+ let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : genDefaults$1();
2321
+ const defaults = genDefaults$1();
2322
2322
  if (!options) return {
2323
2323
  ...defaults,
2324
2324
  isDisabled: true
@@ -9041,7 +9041,7 @@ function elementToViewport(point, offset) {
9041
9041
  }
9042
9042
 
9043
9043
  /** Get the difference between two points */
9044
- function getOffset$1(a, b) {
9044
+ function getOffset$2(a, b) {
9045
9045
  return {
9046
9046
  x: a.x - b.x,
9047
9047
  y: a.y - b.y
@@ -9288,7 +9288,7 @@ function connectedLocationStrategy(data, props, contentStyles) {
9288
9288
  let {
9289
9289
  x,
9290
9290
  y
9291
- } = getOffset$1(targetPoint, contentPoint);
9291
+ } = getOffset$2(targetPoint, contentPoint);
9292
9292
  switch (_placement.anchor.side) {
9293
9293
  case 'top':
9294
9294
  y -= offset.value[0];
@@ -9823,7 +9823,7 @@ function useActivator(props, _ref) {
9823
9823
  const target = computed(() => {
9824
9824
  if (props.target === 'cursor' && cursorTarget.value) return cursorTarget.value;
9825
9825
  if (targetRef.value) return refElement(targetRef.value);
9826
- return getTarget(props.target, vm) || activatorEl.value;
9826
+ return getTarget$1(props.target, vm) || activatorEl.value;
9827
9827
  });
9828
9828
  const targetEl = computed(() => {
9829
9829
  return Array.isArray(target.value) ? undefined : target.value;
@@ -9895,14 +9895,14 @@ function _useActivator(props, vm, _ref2) {
9895
9895
  }
9896
9896
  function getActivator() {
9897
9897
  let selector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : props.activator;
9898
- const activator = getTarget(selector, vm);
9898
+ const activator = getTarget$1(selector, vm);
9899
9899
 
9900
9900
  // The activator should only be a valid element (Ignore comments and text nodes)
9901
9901
  activatorEl.value = activator?.nodeType === Node.ELEMENT_NODE ? activator : undefined;
9902
9902
  return activatorEl.value;
9903
9903
  }
9904
9904
  }
9905
- function getTarget(selector, vm) {
9905
+ function getTarget$1(selector, vm) {
9906
9906
  if (!selector) return;
9907
9907
  let target;
9908
9908
  if (selector === 'parent') {
@@ -14524,7 +14524,7 @@ const VColorPickerEdit = defineComponent({
14524
14524
  // Types
14525
14525
 
14526
14526
  const VSliderSymbol = Symbol.for('vuetify:v-slider');
14527
- function getOffset(e, el, direction) {
14527
+ function getOffset$1(e, el, direction) {
14528
14528
  const vertical = direction === 'vertical';
14529
14529
  const rect = el.getBoundingClientRect();
14530
14530
  const touch = 'touches' in e ? e.touches[0] : e;
@@ -14683,7 +14683,7 @@ const useSlider = _ref => {
14683
14683
  activeThumbRef.value.focus();
14684
14684
  mousePressed.value = true;
14685
14685
  if (activeThumbRef.value.contains(e.target)) {
14686
- startOffset.value = getOffset(e, activeThumbRef.value, props.direction);
14686
+ startOffset.value = getOffset$1(e, activeThumbRef.value, props.direction);
14687
14687
  } else {
14688
14688
  startOffset.value = 0;
14689
14689
  onSliderMove({
@@ -17528,6 +17528,112 @@ function getWeek(adapter, value) {
17528
17528
  return Math.floor(diffDays / 7) + 1;
17529
17529
  }
17530
17530
 
17531
+ // Utilities
17532
+
17533
+ // Types
17534
+
17535
+ const GoToSymbol = Symbol.for('vuetify:goto');
17536
+ function genDefaults() {
17537
+ return {
17538
+ container: undefined,
17539
+ duration: 300,
17540
+ layout: false,
17541
+ offset: 0,
17542
+ easing: 'easeInOutCubic',
17543
+ patterns: {
17544
+ linear: t => t,
17545
+ easeInQuad: t => t ** 2,
17546
+ easeOutQuad: t => t * (2 - t),
17547
+ easeInOutQuad: t => t < 0.5 ? 2 * t ** 2 : -1 + (4 - 2 * t) * t,
17548
+ easeInCubic: t => t ** 3,
17549
+ easeOutCubic: t => --t ** 3 + 1,
17550
+ easeInOutCubic: t => t < 0.5 ? 4 * t ** 3 : (t - 1) * (2 * t - 2) * (2 * t - 2) + 1,
17551
+ easeInQuart: t => t ** 4,
17552
+ easeOutQuart: t => 1 - --t ** 4,
17553
+ easeInOutQuart: t => t < 0.5 ? 8 * t ** 4 : 1 - 8 * --t ** 4,
17554
+ easeInQuint: t => t ** 5,
17555
+ easeOutQuint: t => 1 + --t ** 5,
17556
+ easeInOutQuint: t => t < 0.5 ? 16 * t ** 5 : 1 + 16 * --t ** 5
17557
+ }
17558
+ };
17559
+ }
17560
+ function getContainer(el) {
17561
+ return getTarget(el) ?? (document.scrollingElement || document.body);
17562
+ }
17563
+ function getTarget(el) {
17564
+ return typeof el === 'string' ? document.querySelector(el) : refElement(el);
17565
+ }
17566
+ function getOffset(target, horizontal, rtl) {
17567
+ if (typeof target === 'number') return horizontal && rtl ? -target : target;
17568
+ let el = getTarget(target);
17569
+ let totalOffset = 0;
17570
+ while (el) {
17571
+ totalOffset += horizontal ? el.offsetLeft : el.offsetTop;
17572
+ el = el.offsetParent;
17573
+ }
17574
+ return totalOffset;
17575
+ }
17576
+ function createGoTo(options, locale) {
17577
+ return {
17578
+ rtl: locale.isRtl,
17579
+ options: mergeDeep(genDefaults(), options)
17580
+ };
17581
+ }
17582
+ async function scrollTo(_target, _options, horizontal, goTo) {
17583
+ const options = mergeDeep(goTo?.options, _options);
17584
+ const rtl = goTo?.rtl.value;
17585
+ const target = (typeof _target === 'number' ? _target : getTarget(_target)) ?? 0;
17586
+ const container = options.container === 'parent' && target instanceof HTMLElement ? target.parentElement : getContainer(options.container);
17587
+ const ease = typeof options.easing === 'function' ? options.easing : options.patterns[options.easing];
17588
+ if (!ease) throw new TypeError(`Easing function "${options.easing}" not found.`);
17589
+ let targetLocation;
17590
+ if (typeof target === 'number') {
17591
+ targetLocation = getOffset(target, horizontal, rtl);
17592
+ } else {
17593
+ targetLocation = getOffset(target, horizontal, rtl) - getOffset(container, horizontal, rtl);
17594
+ if (options.layout) {
17595
+ const styles = window.getComputedStyle(target);
17596
+ const layoutOffset = styles.getPropertyValue('--v-layout-top');
17597
+ if (layoutOffset) targetLocation -= parseInt(layoutOffset, 10);
17598
+ }
17599
+ }
17600
+ targetLocation += options.offset;
17601
+ const startLocation = (horizontal ? container.scrollLeft : container.scrollTop) ?? 0;
17602
+ if (targetLocation === startLocation) return Promise.resolve(targetLocation);
17603
+ const startTime = performance.now();
17604
+ return new Promise(resolve => requestAnimationFrame(function step(currentTime) {
17605
+ const timeElapsed = currentTime - startTime;
17606
+ const progress = Math.abs(options.duration ? Math.min(timeElapsed / options.duration, 1) : 1);
17607
+ const location = Math.floor(startLocation + (targetLocation - startLocation) * ease(progress));
17608
+ container[horizontal ? 'scrollLeft' : 'scrollTop'] = location;
17609
+ if (progress === 1) return resolve(targetLocation);
17610
+ let clientSize;
17611
+ let reachEnd;
17612
+ if (!horizontal) {
17613
+ clientSize = container === document.body ? document.documentElement.clientHeight : container.clientHeight;
17614
+ reachEnd = clientSize + container.scrollTop >= container.scrollHeight;
17615
+ if (targetLocation > container.scrollTop && reachEnd) return resolve(targetLocation);
17616
+ } else {
17617
+ clientSize = container === document.body ? document.documentElement.clientWidth : container.clientWidth;
17618
+ reachEnd = clientSize + container.scrollLeft >= container.scrollWidth;
17619
+ if (targetLocation > container.scrollLeft && reachEnd) return resolve(targetLocation);
17620
+ }
17621
+ requestAnimationFrame(step);
17622
+ }));
17623
+ }
17624
+ function useGoTo() {
17625
+ let _options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
17626
+ const goTo = inject$1(GoToSymbol);
17627
+ if (!goTo) throw new Error('[Vuetify] Could not find injected goto instance');
17628
+ async function go(target, options) {
17629
+ return scrollTo(target, mergeDeep(_options, options), false, goTo);
17630
+ }
17631
+ go.horizontal = async (target, options) => {
17632
+ return scrollTo(target, mergeDeep(_options, options), true, goTo);
17633
+ };
17634
+ return go;
17635
+ }
17636
+
17531
17637
  // Composables
17532
17638
 
17533
17639
  // Types
@@ -23010,8 +23116,8 @@ const VRangeSlider = genericComponent()({
23010
23116
  } = useRtl();
23011
23117
  function getActiveThumb(e) {
23012
23118
  if (!startThumbRef.value || !stopThumbRef.value) return;
23013
- const startOffset = getOffset(e, startThumbRef.value.$el, props.direction);
23014
- const stopOffset = getOffset(e, stopThumbRef.value.$el, props.direction);
23119
+ const startOffset = getOffset$1(e, startThumbRef.value.$el, props.direction);
23120
+ const stopOffset = getOffset$1(e, stopThumbRef.value.$el, props.direction);
23015
23121
  const a = Math.abs(startOffset);
23016
23122
  const b = Math.abs(stopOffset);
23017
23123
  return a < b || a === b && startOffset < 0 ? startThumbRef.value.$el : stopThumbRef.value.$el;
@@ -24186,6 +24292,10 @@ const VSwitch = genericComponent()({
24186
24292
  isReadonly,
24187
24293
  isValid
24188
24294
  } = _ref2;
24295
+ const slotProps = {
24296
+ model,
24297
+ isValid
24298
+ };
24189
24299
  return createVNode(VSelectionControl, mergeProps({
24190
24300
  "ref": control
24191
24301
  }, controlProps, {
@@ -24210,7 +24320,13 @@ const VSwitch = genericComponent()({
24210
24320
  "class": ['v-switch__track', ...backgroundColorClasses.value],
24211
24321
  "style": backgroundColorStyles.value,
24212
24322
  "onClick": onTrackClick
24213
- }, null);
24323
+ }, [slots['track-true'] && createVNode("div", {
24324
+ "key": "prepend",
24325
+ "class": "v-switch__track-true"
24326
+ }, [slots['track-true'](slotProps)]), slots['track-false'] && createVNode("div", {
24327
+ "key": "append",
24328
+ "class": "v-switch__track-false"
24329
+ }, [slots['track-false'](slotProps)])]);
24214
24330
  },
24215
24331
  input: _ref4 => {
24216
24332
  let {
@@ -24224,9 +24340,21 @@ const VSwitch = genericComponent()({
24224
24340
  'v-switch__thumb--filled': icon || props.loading
24225
24341
  }, props.inset ? undefined : backgroundColorClasses.value],
24226
24342
  "style": props.inset ? undefined : backgroundColorStyles.value
24227
- }, [createVNode(VScaleTransition, null, {
24343
+ }, [slots.thumb ? createVNode(VDefaultsProvider, {
24344
+ "defaults": {
24345
+ VIcon: {
24346
+ icon,
24347
+ size: 'x-small'
24348
+ }
24349
+ }
24350
+ }, {
24351
+ default: () => [slots.thumb({
24352
+ ...slotProps,
24353
+ icon
24354
+ })]
24355
+ }) : createVNode(VScaleTransition, null, {
24228
24356
  default: () => [!props.loading ? icon && createVNode(VIcon, {
24229
- "key": icon,
24357
+ "key": String(icon),
24230
24358
  "icon": icon,
24231
24359
  "size": "x-small"
24232
24360
  }, null) : createVNode(LoaderSlot, {
@@ -25446,6 +25574,7 @@ function createVuetify$1() {
25446
25574
  const icons = createIcons(options.icons);
25447
25575
  const locale = createLocale(options.locale);
25448
25576
  const date = createDate(options.date, locale);
25577
+ const goTo = createGoTo(options.goTo, locale);
25449
25578
  const install = app => {
25450
25579
  for (const key in directives) {
25451
25580
  app.directive(key, directives[key]);
@@ -25468,6 +25597,7 @@ function createVuetify$1() {
25468
25597
  app.provide(LocaleSymbol, locale);
25469
25598
  app.provide(DateOptionsSymbol, date.options);
25470
25599
  app.provide(DateAdapterSymbol, date.instance);
25600
+ app.provide(GoToSymbol, goTo);
25471
25601
  if (IN_BROWSER && options.ssr) {
25472
25602
  if (app.$nuxt) {
25473
25603
  app.$nuxt.hook('app:suspense:resolve', () => {
@@ -25510,10 +25640,11 @@ function createVuetify$1() {
25510
25640
  theme,
25511
25641
  icons,
25512
25642
  locale,
25513
- date
25643
+ date,
25644
+ goTo
25514
25645
  };
25515
25646
  }
25516
- const version$1 = "3.4.11-dev.2024-01-19";
25647
+ const version$1 = "3.5.0-dev.2024-01-20";
25517
25648
  createVuetify$1.version = version$1;
25518
25649
 
25519
25650
  // Vue's inject() can only be used in setup
@@ -25538,8 +25669,8 @@ const createVuetify = function () {
25538
25669
  ...options
25539
25670
  });
25540
25671
  };
25541
- const version = "3.4.11-dev.2024-01-19";
25672
+ const version = "3.5.0-dev.2024-01-20";
25542
25673
  createVuetify.version = version;
25543
25674
 
25544
- export { components, createVuetify, directives, useDate, useDefaults, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
25675
+ export { components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
25545
25676
  //# sourceMappingURL=vuetify.esm.js.map