@vuetify/nightly 3.6.11-master.2024-07-08 → 3.6.12-master.2024-07-11

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 (108) hide show
  1. package/CHANGELOG.md +3 -4
  2. package/dist/json/attributes.json +57 -45
  3. package/dist/json/importMap.json +146 -146
  4. package/dist/json/tags.json +4 -1
  5. package/dist/json/web-types.json +97 -62
  6. package/dist/vuetify-labs.css +2977 -2955
  7. package/dist/vuetify-labs.d.ts +614 -688
  8. package/dist/vuetify-labs.esm.js +95 -74
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +95 -74
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +4804 -4782
  13. package/dist/vuetify.d.ts +579 -653
  14. package/dist/vuetify.esm.js +78 -58
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +78 -58
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +67 -65
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/blueprints/index.d.mts +3 -3
  22. package/lib/blueprints/md1.d.mts +3 -3
  23. package/lib/blueprints/md2.d.mts +3 -3
  24. package/lib/blueprints/md3.d.mts +3 -3
  25. package/lib/components/VAutocomplete/index.d.mts +25 -31
  26. package/lib/components/VBottomSheet/index.d.mts +10 -10
  27. package/lib/components/VCheckbox/index.d.mts +2 -8
  28. package/lib/components/VCombobox/index.d.mts +25 -31
  29. package/lib/components/VDataIterator/index.d.mts +1 -0
  30. package/lib/components/VDataTable/VDataTable.mjs +6 -2
  31. package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
  32. package/lib/components/VDataTable/VDataTableFooter.mjs +5 -4
  33. package/lib/components/VDataTable/VDataTableFooter.mjs.map +1 -1
  34. package/lib/components/VDataTable/VDataTableServer.mjs +6 -2
  35. package/lib/components/VDataTable/VDataTableServer.mjs.map +1 -1
  36. package/lib/components/VDataTable/VDataTableVirtual.mjs +6 -2
  37. package/lib/components/VDataTable/VDataTableVirtual.mjs.map +1 -1
  38. package/lib/components/VDataTable/composables/group.mjs +2 -1
  39. package/lib/components/VDataTable/composables/group.mjs.map +1 -1
  40. package/lib/components/VDataTable/composables/sort.mjs +1 -1
  41. package/lib/components/VDataTable/composables/sort.mjs.map +1 -1
  42. package/lib/components/VDataTable/index.d.mts +130 -129
  43. package/lib/components/VDatePicker/VDatePickerControls.mjs +5 -4
  44. package/lib/components/VDatePicker/VDatePickerControls.mjs.map +1 -1
  45. package/lib/components/VDatePicker/VDatePickerMonth.mjs +1 -1
  46. package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
  47. package/lib/components/VDatePicker/index.d.mts +70 -55
  48. package/lib/components/VDialog/index.d.mts +28 -28
  49. package/lib/components/VField/VField.css +11 -6
  50. package/lib/components/VField/VField.mjs +5 -7
  51. package/lib/components/VField/VField.mjs.map +1 -1
  52. package/lib/components/VField/VField.sass +6 -2
  53. package/lib/components/VField/index.d.mts +6 -12
  54. package/lib/components/VFileInput/index.d.mts +6 -12
  55. package/lib/components/VInput/VInput.css +5 -5
  56. package/lib/components/VInput/VInput.mjs +1 -4
  57. package/lib/components/VInput/VInput.mjs.map +1 -1
  58. package/lib/components/VInput/VInput.sass +1 -1
  59. package/lib/components/VInput/index.d.mts +2 -8
  60. package/lib/components/VMenu/index.d.mts +32 -32
  61. package/lib/components/VOverlay/index.d.mts +10 -10
  62. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  63. package/lib/components/VProgressLinear/VProgressLinear.css +17 -0
  64. package/lib/components/VProgressLinear/VProgressLinear.mjs +6 -5
  65. package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
  66. package/lib/components/VProgressLinear/VProgressLinear.sass +11 -0
  67. package/lib/components/VRadio/VRadio.mjs +8 -5
  68. package/lib/components/VRadio/VRadio.mjs.map +1 -1
  69. package/lib/components/VRadioGroup/index.d.mts +2 -8
  70. package/lib/components/VRangeSlider/index.d.mts +2 -8
  71. package/lib/components/VSelect/index.d.mts +25 -31
  72. package/lib/components/VSlider/index.d.mts +2 -8
  73. package/lib/components/VSnackbar/index.d.mts +28 -28
  74. package/lib/components/VSpeedDial/index.d.mts +14 -14
  75. package/lib/components/VSwitch/index.d.mts +2 -8
  76. package/lib/components/VTextField/VTextField.mjs +1 -1
  77. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  78. package/lib/components/VTextField/index.d.mts +18 -24
  79. package/lib/components/VTextarea/VTextarea.mjs +5 -5
  80. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  81. package/lib/components/VTextarea/index.d.mts +72 -87
  82. package/lib/components/VTooltip/index.d.mts +32 -32
  83. package/lib/components/index.d.mts +530 -604
  84. package/lib/composables/calendar.mjs +10 -4
  85. package/lib/composables/calendar.mjs.map +1 -1
  86. package/lib/composables/date/DateAdapter.mjs.map +1 -1
  87. package/lib/composables/date/adapters/vuetify.mjs +15 -13
  88. package/lib/composables/date/adapters/vuetify.mjs.map +1 -1
  89. package/lib/entry-bundler.mjs +1 -1
  90. package/lib/framework.mjs +1 -1
  91. package/lib/index.d.mts +49 -49
  92. package/lib/labs/VCalendar/VCalendar.mjs +7 -6
  93. package/lib/labs/VCalendar/VCalendar.mjs.map +1 -1
  94. package/lib/labs/VCalendar/index.d.mts +6 -0
  95. package/lib/labs/VDateInput/index.d.mts +39 -39
  96. package/lib/labs/VNumberInput/VNumberInput.mjs +1 -1
  97. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  98. package/lib/labs/VNumberInput/index.d.mts +6 -12
  99. package/lib/labs/VSnackbarQueue/index.d.mts +37 -37
  100. package/lib/labs/VTimePicker/VTimePicker.mjs +5 -5
  101. package/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
  102. package/lib/labs/VTimePicker/VTimePickerClock.mjs +2 -2
  103. package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
  104. package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -2
  105. package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
  106. package/lib/labs/VTimePicker/index.d.mts +18 -18
  107. package/lib/labs/components.d.mts +106 -106
  108. package/package.json +1 -1
@@ -102,6 +102,7 @@ declare const VFileInput: {
102
102
  direction: "horizontal" | "vertical";
103
103
  prependIcon: NonNullable<IconValue>;
104
104
  clearIcon: IconValue;
105
+ centerAffix: boolean;
105
106
  hideSpinButtons: boolean;
106
107
  persistentHint: boolean;
107
108
  clearable: boolean;
@@ -138,7 +139,6 @@ declare const VFileInput: {
138
139
  'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
139
140
  'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
140
141
  'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
141
- centerAffix?: boolean | undefined;
142
142
  hint?: string | undefined;
143
143
  hideDetails?: boolean | "auto" | undefined;
144
144
  } & {
@@ -487,6 +487,7 @@ declare const VFileInput: {
487
487
  direction: "horizontal" | "vertical";
488
488
  prependIcon: NonNullable<IconValue>;
489
489
  clearIcon: IconValue;
490
+ centerAffix: boolean;
490
491
  hideSpinButtons: boolean;
491
492
  persistentHint: boolean;
492
493
  clearable: boolean;
@@ -523,7 +524,6 @@ declare const VFileInput: {
523
524
  'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
524
525
  'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
525
526
  'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
526
- centerAffix?: boolean | undefined;
527
527
  hint?: string | undefined;
528
528
  hideDetails?: boolean | "auto" | undefined;
529
529
  } & {
@@ -710,6 +710,7 @@ declare const VFileInput: {
710
710
  direction: "horizontal" | "vertical";
711
711
  prependIcon: NonNullable<IconValue>;
712
712
  clearIcon: IconValue;
713
+ centerAffix: boolean;
713
714
  hideSpinButtons: boolean;
714
715
  persistentHint: boolean;
715
716
  clearable: boolean;
@@ -746,7 +747,6 @@ declare const VFileInput: {
746
747
  'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
747
748
  'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
748
749
  'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
749
- centerAffix?: boolean | undefined;
750
750
  hint?: string | undefined;
751
751
  hideDetails?: boolean | "auto" | undefined;
752
752
  } & {
@@ -1129,6 +1129,7 @@ declare const VFileInput: {
1129
1129
  direction: "horizontal" | "vertical";
1130
1130
  prependIcon: NonNullable<IconValue>;
1131
1131
  clearIcon: IconValue;
1132
+ centerAffix: boolean;
1132
1133
  hideSpinButtons: boolean;
1133
1134
  persistentHint: boolean;
1134
1135
  clearable: boolean;
@@ -1165,7 +1166,6 @@ declare const VFileInput: {
1165
1166
  'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
1166
1167
  'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
1167
1168
  'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
1168
- centerAffix?: boolean | undefined;
1169
1169
  hint?: string | undefined;
1170
1170
  hideDetails?: boolean | "auto" | undefined;
1171
1171
  } & {
@@ -1597,10 +1597,7 @@ declare const VFileInput: {
1597
1597
  default: string;
1598
1598
  };
1599
1599
  active: BooleanConstructor;
1600
- centerAffix: {
1601
- type: BooleanConstructor;
1602
- default: undefined;
1603
- };
1600
+ centerAffix: BooleanConstructor;
1604
1601
  color: StringConstructor;
1605
1602
  baseColor: StringConstructor;
1606
1603
  dirty: BooleanConstructor;
@@ -1719,10 +1716,7 @@ declare const VFileInput: {
1719
1716
  default: string;
1720
1717
  };
1721
1718
  active: BooleanConstructor;
1722
- centerAffix: {
1723
- type: BooleanConstructor;
1724
- default: undefined;
1725
- };
1719
+ centerAffix: BooleanConstructor;
1726
1720
  color: StringConstructor;
1727
1721
  baseColor: StringConstructor;
1728
1722
  dirty: BooleanConstructor;
@@ -126,18 +126,18 @@
126
126
  .v-input--hide-spin-buttons input[type=number] {
127
127
  -moz-appearance: textfield;
128
128
  }
129
- .v-input--plain-underlined .v-input__prepend,
130
- .v-input--plain-underlined .v-input__append {
129
+ .v-input--plain-underlined:not(.v-input--center-affix) .v-input__prepend,
130
+ .v-input--plain-underlined:not(.v-input--center-affix) .v-input__append {
131
131
  align-items: flex-start;
132
132
  }
133
- .v-input--density-default.v-input--plain-underlined .v-input__prepend, .v-input--density-default.v-input--plain-underlined .v-input__append {
133
+ .v-input--density-default.v-input--plain-underlined:not(.v-input--center-affix) .v-input__prepend, .v-input--density-default.v-input--plain-underlined:not(.v-input--center-affix) .v-input__append {
134
134
  padding-top: calc(var(--v-input-padding-top) + 4px);
135
135
  }
136
136
 
137
- .v-input--density-comfortable.v-input--plain-underlined .v-input__prepend, .v-input--density-comfortable.v-input--plain-underlined .v-input__append {
137
+ .v-input--density-comfortable.v-input--plain-underlined:not(.v-input--center-affix) .v-input__prepend, .v-input--density-comfortable.v-input--plain-underlined:not(.v-input--center-affix) .v-input__append {
138
138
  padding-top: calc(var(--v-input-padding-top) + 2px);
139
139
  }
140
140
 
141
- .v-input--density-compact.v-input--plain-underlined .v-input__prepend, .v-input--density-compact.v-input--plain-underlined .v-input__append {
141
+ .v-input--density-compact.v-input--plain-underlined:not(.v-input--center-affix) .v-input__prepend, .v-input--density-compact.v-input--plain-underlined:not(.v-input--center-affix) .v-input__append {
142
142
  padding-top: calc(var(--v-input-padding-top) + 0px);
143
143
  }
@@ -17,10 +17,7 @@ import { EventProp, genericComponent, getUid, only, propsFactory, useRender } fr
17
17
  export const makeVInputProps = propsFactory({
18
18
  id: String,
19
19
  appendIcon: IconValue,
20
- centerAffix: {
21
- type: Boolean,
22
- default: true
23
- },
20
+ centerAffix: Boolean,
24
21
  prependIcon: IconValue,
25
22
  hideDetails: [Boolean, String],
26
23
  hideSpinButtons: Boolean,
@@ -1 +1 @@
1
- {"version":3,"file":"VInput.mjs","names":["useInputIcon","VMessages","makeComponentProps","makeDensityProps","useDensity","makeDimensionProps","useDimension","IconValue","useRtl","makeThemeProps","provideTheme","makeValidationProps","useValidation","computed","EventProp","genericComponent","getUid","only","propsFactory","useRender","makeVInputProps","id","String","appendIcon","centerAffix","type","Boolean","default","prependIcon","hideDetails","hideSpinButtons","hint","persistentHint","messages","Array","direction","validator","v","includes","VInput","name","props","emits","value","setup","_ref","attrs","slots","emit","densityClasses","dimensionStyles","themeClasses","rtlClasses","InputIcon","uid","messagesId","errorMessages","isDirty","isDisabled","isReadonly","isPristine","isValid","isValidating","reset","resetValidation","validate","validationClasses","slotProps","length","focused","hasPrepend","prepend","hasAppend","append","hasMessages","hasDetails","details","_createVNode","class","style","message"],"sources":["../../../src/components/VInput/VInput.tsx"],"sourcesContent":["// Styles\nimport './VInput.sass'\n\n// Components\nimport { useInputIcon } from '@/components/VInput/InputIcon'\nimport { VMessages } from '@/components/VMessages/VMessages'\n\n// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeDimensionProps, useDimension } from '@/composables/dimensions'\nimport { IconValue } from '@/composables/icons'\nimport { useRtl } from '@/composables/locale'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { makeValidationProps, useValidation } from '@/composables/validation'\n\n// Utilities\nimport { computed } from 'vue'\nimport { EventProp, genericComponent, getUid, only, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { ComputedRef, PropType, Ref } from 'vue'\nimport type { VMessageSlot } from '@/components/VMessages/VMessages'\nimport type { GenericProps } from '@/util'\n\nexport interface VInputSlot {\n id: ComputedRef<string>\n messagesId: ComputedRef<string>\n isDirty: ComputedRef<boolean>\n isDisabled: ComputedRef<boolean>\n isReadonly: ComputedRef<boolean>\n isPristine: Ref<boolean>\n isValid: ComputedRef<boolean | null>\n isValidating: Ref<boolean>\n reset: () => void\n resetValidation: () => void\n validate: () => void\n}\n\nexport const makeVInputProps = propsFactory({\n id: String,\n appendIcon: IconValue,\n centerAffix: {\n type: Boolean,\n default: true,\n },\n prependIcon: IconValue,\n hideDetails: [Boolean, String] as PropType<boolean | 'auto'>,\n hideSpinButtons: Boolean,\n hint: String,\n persistentHint: Boolean,\n messages: {\n type: [Array, String] as PropType<string | readonly string[]>,\n default: () => ([]),\n },\n direction: {\n type: String as PropType<'horizontal' | 'vertical'>,\n default: 'horizontal',\n validator: (v: any) => ['horizontal', 'vertical'].includes(v),\n },\n\n 'onClick:prepend': EventProp<[MouseEvent]>(),\n 'onClick:append': EventProp<[MouseEvent]>(),\n\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...only(makeDimensionProps(), [\n 'maxWidth',\n 'minWidth',\n 'width',\n ]),\n ...makeThemeProps(),\n ...makeValidationProps(),\n}, 'VInput')\n\nexport type VInputSlots = {\n default: VInputSlot\n prepend: VInputSlot\n append: VInputSlot\n details: VInputSlot\n message: VMessageSlot\n}\n\nexport const VInput = genericComponent<new <T>(\n props: {\n modelValue?: T | null\n 'onUpdate:modelValue'?: (value: T | null) => void\n },\n slots: VInputSlots,\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VInput',\n\n props: {\n ...makeVInputProps(),\n },\n\n emits: {\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { attrs, slots, emit }) {\n const { densityClasses } = useDensity(props)\n const { dimensionStyles } = useDimension(props)\n const { themeClasses } = provideTheme(props)\n const { rtlClasses } = useRtl()\n const { InputIcon } = useInputIcon(props)\n\n const uid = getUid()\n const id = computed(() => props.id || `input-${uid}`)\n const messagesId = computed(() => `${id.value}-messages`)\n\n const {\n errorMessages,\n isDirty,\n isDisabled,\n isReadonly,\n isPristine,\n isValid,\n isValidating,\n reset,\n resetValidation,\n validate,\n validationClasses,\n } = useValidation(props, 'v-input', id)\n\n const slotProps = computed<VInputSlot>(() => ({\n id,\n messagesId,\n isDirty,\n isDisabled,\n isReadonly,\n isPristine,\n isValid,\n isValidating,\n reset,\n resetValidation,\n validate,\n }))\n\n const messages = computed(() => {\n if (props.errorMessages?.length || (!isPristine.value && errorMessages.value.length)) {\n return errorMessages.value\n } else if (props.hint && (props.persistentHint || props.focused)) {\n return props.hint\n } else {\n return props.messages\n }\n })\n\n useRender(() => {\n const hasPrepend = !!(slots.prepend || props.prependIcon)\n const hasAppend = !!(slots.append || props.appendIcon)\n const hasMessages = messages.value.length > 0\n const hasDetails = !props.hideDetails || (\n props.hideDetails === 'auto' &&\n (hasMessages || !!slots.details)\n )\n\n return (\n <div\n class={[\n 'v-input',\n `v-input--${props.direction}`,\n {\n 'v-input--center-affix': props.centerAffix,\n 'v-input--hide-spin-buttons': props.hideSpinButtons,\n },\n densityClasses.value,\n themeClasses.value,\n rtlClasses.value,\n validationClasses.value,\n props.class,\n ]}\n style={[\n dimensionStyles.value,\n props.style,\n ]}\n >\n { hasPrepend && (\n <div key=\"prepend\" class=\"v-input__prepend\">\n { slots.prepend?.(slotProps.value) }\n\n { props.prependIcon && (\n <InputIcon\n key=\"prepend-icon\"\n name=\"prepend\"\n />\n )}\n </div>\n )}\n\n { slots.default && (\n <div class=\"v-input__control\">\n { slots.default?.(slotProps.value) }\n </div>\n )}\n\n { hasAppend && (\n <div key=\"append\" class=\"v-input__append\">\n { props.appendIcon && (\n <InputIcon\n key=\"append-icon\"\n name=\"append\"\n />\n )}\n\n { slots.append?.(slotProps.value) }\n </div>\n )}\n\n { hasDetails && (\n <div class=\"v-input__details\">\n <VMessages\n id={ messagesId.value }\n active={ hasMessages }\n messages={ messages.value }\n v-slots={{ message: slots.message }}\n />\n\n { slots.details?.(slotProps.value) }\n </div>\n )}\n </div>\n )\n })\n\n return {\n reset,\n resetValidation,\n validate,\n isValid,\n errorMessages,\n }\n },\n})\n\nexport type VInput = InstanceType<typeof VInput>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,YAAY;AAAA,SACZC,SAAS,sCAElB;AAAA,SACSC,kBAAkB;AAAA,SAClBC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,SAAS;AAAA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rBF,KAAK,CAACsC,KAAK;MACZ,IAECT,UAAU,IAAAO,YAAA;QAAA;QAAA;MAAA,IAEN9B,KAAK,CAACwB,OAAO,GAAGJ,SAAS,CAACxB,KAAK,CAAC,EAEhCF,KAAK,CAACb,WAAW,IAAAiD,YAAA,CAAAxB,SAAA;QAAA;QAAA;MAAA,QAKlB,EAEJ,EAECN,KAAK,CAACpB,OAAO,IAAAkD,YAAA;QAAA;MAAA,IAET9B,KAAK,CAACpB,OAAO,GAAGwC,SAAS,CAACxB,KAAK,CAAC,EAErC,EAEC6B,SAAS,IAAAK,YAAA;QAAA;QAAA;MAAA,IAELpC,KAAK,CAAClB,UAAU,IAAAsD,YAAA,CAAAxB,SAAA;QAAA;QAAA;MAAA,QAKjB,EAECN,KAAK,CAAC0B,MAAM,GAAGN,SAAS,CAACxB,KAAK,CAAC,EAEpC,EAECgC,UAAU,IAAAE,YAAA;QAAA;MAAA,IAAAA,YAAA,CAAA5E,SAAA;QAAA,MAGDsD,UAAU,CAACZ,KAAK;QAAA,UACZ+B,WAAW;QAAA,YACTzC,QAAQ,CAACU;MAAK,GAChB;QAAEqC,OAAO,EAAEjC,KAAK,CAACiC;MAAQ,CAAC,GAGnCjC,KAAK,CAAC6B,OAAO,GAAGT,SAAS,CAACxB,KAAK,CAAC,EAErC;IAGP,CAAC,CAAC;IAEF,OAAO;MACLoB,KAAK;MACLC,eAAe;MACfC,QAAQ;MACRJ,OAAO;MACPL;IACF,CAAC;EACH;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"VInput.mjs","names":["useInputIcon","VMessages","makeComponentProps","makeDensityProps","useDensity","makeDimensionProps","useDimension","IconValue","useRtl","makeThemeProps","provideTheme","makeValidationProps","useValidation","computed","EventProp","genericComponent","getUid","only","propsFactory","useRender","makeVInputProps","id","String","appendIcon","centerAffix","Boolean","prependIcon","hideDetails","hideSpinButtons","hint","persistentHint","messages","type","Array","default","direction","validator","v","includes","VInput","name","props","emits","value","setup","_ref","attrs","slots","emit","densityClasses","dimensionStyles","themeClasses","rtlClasses","InputIcon","uid","messagesId","errorMessages","isDirty","isDisabled","isReadonly","isPristine","isValid","isValidating","reset","resetValidation","validate","validationClasses","slotProps","length","focused","hasPrepend","prepend","hasAppend","append","hasMessages","hasDetails","details","_createVNode","class","style","message"],"sources":["../../../src/components/VInput/VInput.tsx"],"sourcesContent":["// Styles\nimport './VInput.sass'\n\n// Components\nimport { useInputIcon } from '@/components/VInput/InputIcon'\nimport { VMessages } from '@/components/VMessages/VMessages'\n\n// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeDimensionProps, useDimension } from '@/composables/dimensions'\nimport { IconValue } from '@/composables/icons'\nimport { useRtl } from '@/composables/locale'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { makeValidationProps, useValidation } from '@/composables/validation'\n\n// Utilities\nimport { computed } from 'vue'\nimport { EventProp, genericComponent, getUid, only, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { ComputedRef, PropType, Ref } from 'vue'\nimport type { VMessageSlot } from '@/components/VMessages/VMessages'\nimport type { GenericProps } from '@/util'\n\nexport interface VInputSlot {\n id: ComputedRef<string>\n messagesId: ComputedRef<string>\n isDirty: ComputedRef<boolean>\n isDisabled: ComputedRef<boolean>\n isReadonly: ComputedRef<boolean>\n isPristine: Ref<boolean>\n isValid: ComputedRef<boolean | null>\n isValidating: Ref<boolean>\n reset: () => void\n resetValidation: () => void\n validate: () => void\n}\n\nexport const makeVInputProps = propsFactory({\n id: String,\n appendIcon: IconValue,\n centerAffix: Boolean,\n prependIcon: IconValue,\n hideDetails: [Boolean, String] as PropType<boolean | 'auto'>,\n hideSpinButtons: Boolean,\n hint: String,\n persistentHint: Boolean,\n messages: {\n type: [Array, String] as PropType<string | readonly string[]>,\n default: () => ([]),\n },\n direction: {\n type: String as PropType<'horizontal' | 'vertical'>,\n default: 'horizontal',\n validator: (v: any) => ['horizontal', 'vertical'].includes(v),\n },\n\n 'onClick:prepend': EventProp<[MouseEvent]>(),\n 'onClick:append': EventProp<[MouseEvent]>(),\n\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...only(makeDimensionProps(), [\n 'maxWidth',\n 'minWidth',\n 'width',\n ]),\n ...makeThemeProps(),\n ...makeValidationProps(),\n}, 'VInput')\n\nexport type VInputSlots = {\n default: VInputSlot\n prepend: VInputSlot\n append: VInputSlot\n details: VInputSlot\n message: VMessageSlot\n}\n\nexport const VInput = genericComponent<new <T>(\n props: {\n modelValue?: T | null\n 'onUpdate:modelValue'?: (value: T | null) => void\n },\n slots: VInputSlots,\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VInput',\n\n props: {\n ...makeVInputProps(),\n },\n\n emits: {\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { attrs, slots, emit }) {\n const { densityClasses } = useDensity(props)\n const { dimensionStyles } = useDimension(props)\n const { themeClasses } = provideTheme(props)\n const { rtlClasses } = useRtl()\n const { InputIcon } = useInputIcon(props)\n\n const uid = getUid()\n const id = computed(() => props.id || `input-${uid}`)\n const messagesId = computed(() => `${id.value}-messages`)\n\n const {\n errorMessages,\n isDirty,\n isDisabled,\n isReadonly,\n isPristine,\n isValid,\n isValidating,\n reset,\n resetValidation,\n validate,\n validationClasses,\n } = useValidation(props, 'v-input', id)\n\n const slotProps = computed<VInputSlot>(() => ({\n id,\n messagesId,\n isDirty,\n isDisabled,\n isReadonly,\n isPristine,\n isValid,\n isValidating,\n reset,\n resetValidation,\n validate,\n }))\n\n const messages = computed(() => {\n if (props.errorMessages?.length || (!isPristine.value && errorMessages.value.length)) {\n return errorMessages.value\n } else if (props.hint && (props.persistentHint || props.focused)) {\n return props.hint\n } else {\n return props.messages\n }\n })\n\n useRender(() => {\n const hasPrepend = !!(slots.prepend || props.prependIcon)\n const hasAppend = !!(slots.append || props.appendIcon)\n const hasMessages = messages.value.length > 0\n const hasDetails = !props.hideDetails || (\n props.hideDetails === 'auto' &&\n (hasMessages || !!slots.details)\n )\n\n return (\n <div\n class={[\n 'v-input',\n `v-input--${props.direction}`,\n {\n 'v-input--center-affix': props.centerAffix,\n 'v-input--hide-spin-buttons': props.hideSpinButtons,\n },\n densityClasses.value,\n themeClasses.value,\n rtlClasses.value,\n validationClasses.value,\n props.class,\n ]}\n style={[\n dimensionStyles.value,\n props.style,\n ]}\n >\n { hasPrepend && (\n <div key=\"prepend\" class=\"v-input__prepend\">\n { slots.prepend?.(slotProps.value) }\n\n { props.prependIcon && (\n <InputIcon\n key=\"prepend-icon\"\n name=\"prepend\"\n />\n )}\n </div>\n )}\n\n { slots.default && (\n <div class=\"v-input__control\">\n { slots.default?.(slotProps.value) }\n </div>\n )}\n\n { hasAppend && (\n <div key=\"append\" class=\"v-input__append\">\n { props.appendIcon && (\n <InputIcon\n key=\"append-icon\"\n name=\"append\"\n />\n )}\n\n { slots.append?.(slotProps.value) }\n </div>\n )}\n\n { hasDetails && (\n <div class=\"v-input__details\">\n <VMessages\n id={ messagesId.value }\n active={ hasMessages }\n messages={ messages.value }\n v-slots={{ message: slots.message }}\n />\n\n { slots.details?.(slotProps.value) }\n </div>\n )}\n </div>\n )\n })\n\n return {\n reset,\n resetValidation,\n validate,\n isValid,\n errorMessages,\n }\n },\n})\n\nexport type VInput = InstanceType<typeof VInput>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,YAAY;AAAA,SACZC,SAAS,sCAElB;AAAA,SACSC,kBAAkB;AAAA,SAClBC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,SAAS;AAAA,SACTC,MAAM;AAAA,SACNC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,mBAAmB,EAAEC,aAAa,4CAE3C;AACA,SAASC,QAAQ,QAAQ,KAAK;AAAA,SACrBC,SAAS,EAAEC,gBAAgB,EAAEC,MAAM,EAAEC,IAAI,EAAEC,YAAY,EAAEC,SAAS,gCAE3E;AAmBA,OAAO,MA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,KAAK,CAACb,OAAO,GAAGiC,SAAS,CAACxB,KAAK,CAAC,EAErC,EAEC6B,SAAS,IAAAK,YAAA;QAAA;QAAA;MAAA,IAELpC,KAAK,CAAClB,UAAU,IAAAsD,YAAA,CAAAxB,SAAA;QAAA;QAAA;MAAA,QAKjB,EAECN,KAAK,CAAC0B,MAAM,GAAGN,SAAS,CAACxB,KAAK,CAAC,EAEpC,EAECgC,UAAU,IAAAE,YAAA;QAAA;MAAA,IAAAA,YAAA,CAAA5E,SAAA;QAAA,MAGDsD,UAAU,CAACZ,KAAK;QAAA,UACZ+B,WAAW;QAAA,YACT3C,QAAQ,CAACY;MAAK,GAChB;QAAEqC,OAAO,EAAEjC,KAAK,CAACiC;MAAQ,CAAC,GAGnCjC,KAAK,CAAC6B,OAAO,GAAGT,SAAS,CAACxB,KAAK,CAAC,EAErC;IAGP,CAAC,CAAC;IAEF,OAAO;MACLoB,KAAK;MACLC,eAAe;MACfC,QAAQ;MACRJ,OAAO;MACPL;IACF,CAAC;EACH;AACF,CAAC,CAAC","ignoreList":[]}
@@ -103,7 +103,7 @@
103
103
  input[type=number]
104
104
  -moz-appearance: textfield
105
105
 
106
- &--plain-underlined
106
+ &--plain-underlined:not(&--center-affix)
107
107
 
108
108
  .v-input__prepend,
109
109
  .v-input__append
@@ -356,10 +356,7 @@ declare const VInput: {
356
356
  };
357
357
  id: StringConstructor;
358
358
  appendIcon: PropType<IconValue>;
359
- centerAffix: {
360
- type: BooleanConstructor;
361
- default: boolean;
362
- };
359
+ centerAffix: BooleanConstructor;
363
360
  prependIcon: PropType<IconValue>;
364
361
  hideDetails: PropType<boolean | "auto">;
365
362
  hideSpinButtons: BooleanConstructor;
@@ -421,10 +418,7 @@ declare const VInput: {
421
418
  };
422
419
  id: StringConstructor;
423
420
  appendIcon: PropType<IconValue>;
424
- centerAffix: {
425
- type: BooleanConstructor;
426
- default: boolean;
427
- };
421
+ centerAffix: BooleanConstructor;
428
422
  prependIcon: PropType<IconValue>;
429
423
  hideDetails: PropType<boolean | "auto">;
430
424
  hideSpinButtons: BooleanConstructor;
@@ -63,7 +63,7 @@ interface LocationStrategyData {
63
63
  isRtl: Ref<boolean>;
64
64
  }
65
65
  type LocationStrategyFn = (data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => undefined | {
66
- updateLocation: (e: Event) => void;
66
+ updateLocation: (e?: Event) => void;
67
67
  };
68
68
  declare const locationStrategies: {
69
69
  static: typeof staticLocationStrategy;
@@ -105,7 +105,7 @@ declare const VMenu: {
105
105
  eager: boolean;
106
106
  location: Anchor;
107
107
  locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
108
- updateLocation: (e: Event) => void;
108
+ updateLocation: (e?: Event | undefined) => void;
109
109
  } | undefined) | "connected">;
110
110
  scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
111
111
  closeDelay: NonNullable<string | number>;
@@ -190,7 +190,7 @@ declare const VMenu: {
190
190
  eager: boolean;
191
191
  location: Anchor;
192
192
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
193
- updateLocation: (e: Event) => void;
193
+ updateLocation: (e?: Event | undefined) => void;
194
194
  } | undefined) | "connected";
195
195
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
196
196
  activatorProps: Record<string, any>;
@@ -217,7 +217,7 @@ declare const VMenu: {
217
217
  eager: boolean;
218
218
  location: Anchor;
219
219
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
220
- updateLocation: (e: Event) => void;
220
+ updateLocation: (e?: Event | undefined) => void;
221
221
  } | undefined) | "connected";
222
222
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
223
223
  activatorProps: Record<string, any>;
@@ -295,7 +295,7 @@ declare const VMenu: {
295
295
  eager: boolean;
296
296
  location: Anchor;
297
297
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
298
- updateLocation: (e: Event) => void;
298
+ updateLocation: (e?: Event | undefined) => void;
299
299
  } | undefined) | "connected";
300
300
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
301
301
  activatorProps: Record<string, any>;
@@ -402,7 +402,7 @@ declare const VMenu: {
402
402
  eager: boolean;
403
403
  location: Anchor;
404
404
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
405
- updateLocation: (e: Event) => void;
405
+ updateLocation: (e?: Event | undefined) => void;
406
406
  } | undefined) | "connected";
407
407
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
408
408
  activatorProps: Record<string, any>;
@@ -498,7 +498,7 @@ declare const VMenu: {
498
498
  eager: boolean;
499
499
  location: Anchor;
500
500
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
501
- updateLocation: (e: Event) => void;
501
+ updateLocation: (e?: Event | undefined) => void;
502
502
  } | undefined) | "connected";
503
503
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
504
504
  activatorProps: Record<string, any>;
@@ -558,7 +558,7 @@ declare const VMenu: {
558
558
  eager: boolean;
559
559
  location: Anchor;
560
560
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
561
- updateLocation: (e: Event) => void;
561
+ updateLocation: (e?: Event | undefined) => void;
562
562
  } | undefined) | "connected";
563
563
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
564
564
  activatorProps: Record<string, any>;
@@ -652,7 +652,7 @@ declare const VMenu: {
652
652
  eager: boolean;
653
653
  location: Anchor;
654
654
  locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
655
- updateLocation: (e: Event) => void;
655
+ updateLocation: (e?: Event | undefined) => void;
656
656
  } | undefined) | "connected">;
657
657
  scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
658
658
  closeDelay: NonNullable<string | number>;
@@ -732,7 +732,7 @@ declare const VMenu: {
732
732
  eager: boolean;
733
733
  location: Anchor;
734
734
  locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
735
- updateLocation: (e: Event) => void;
735
+ updateLocation: (e?: Event | undefined) => void;
736
736
  } | undefined) | "connected">;
737
737
  scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
738
738
  closeDelay: NonNullable<string | number>;
@@ -781,7 +781,7 @@ declare const VMenu: {
781
781
  eager: boolean;
782
782
  location: Anchor;
783
783
  locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
784
- updateLocation: (e: Event) => void;
784
+ updateLocation: (e?: Event | undefined) => void;
785
785
  } | undefined) | "connected">;
786
786
  scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
787
787
  closeDelay: NonNullable<string | number>;
@@ -866,7 +866,7 @@ declare const VMenu: {
866
866
  eager: boolean;
867
867
  location: Anchor;
868
868
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
869
- updateLocation: (e: Event) => void;
869
+ updateLocation: (e?: Event | undefined) => void;
870
870
  } | undefined) | "connected";
871
871
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
872
872
  activatorProps: Record<string, any>;
@@ -893,7 +893,7 @@ declare const VMenu: {
893
893
  eager: boolean;
894
894
  location: Anchor;
895
895
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
896
- updateLocation: (e: Event) => void;
896
+ updateLocation: (e?: Event | undefined) => void;
897
897
  } | undefined) | "connected";
898
898
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
899
899
  activatorProps: Record<string, any>;
@@ -971,7 +971,7 @@ declare const VMenu: {
971
971
  eager: boolean;
972
972
  location: Anchor;
973
973
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
974
- updateLocation: (e: Event) => void;
974
+ updateLocation: (e?: Event | undefined) => void;
975
975
  } | undefined) | "connected";
976
976
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
977
977
  activatorProps: Record<string, any>;
@@ -1078,7 +1078,7 @@ declare const VMenu: {
1078
1078
  eager: boolean;
1079
1079
  location: Anchor;
1080
1080
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1081
- updateLocation: (e: Event) => void;
1081
+ updateLocation: (e?: Event | undefined) => void;
1082
1082
  } | undefined) | "connected";
1083
1083
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
1084
1084
  activatorProps: Record<string, any>;
@@ -1174,7 +1174,7 @@ declare const VMenu: {
1174
1174
  eager: boolean;
1175
1175
  location: Anchor;
1176
1176
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1177
- updateLocation: (e: Event) => void;
1177
+ updateLocation: (e?: Event | undefined) => void;
1178
1178
  } | undefined) | "connected";
1179
1179
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
1180
1180
  activatorProps: Record<string, any>;
@@ -1234,7 +1234,7 @@ declare const VMenu: {
1234
1234
  eager: boolean;
1235
1235
  location: Anchor;
1236
1236
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1237
- updateLocation: (e: Event) => void;
1237
+ updateLocation: (e?: Event | undefined) => void;
1238
1238
  } | undefined) | "connected";
1239
1239
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
1240
1240
  activatorProps: Record<string, any>;
@@ -1326,7 +1326,7 @@ declare const VMenu: {
1326
1326
  eager: boolean;
1327
1327
  location: Anchor;
1328
1328
  locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1329
- updateLocation: (e: Event) => void;
1329
+ updateLocation: (e?: Event | undefined) => void;
1330
1330
  } | undefined) | "connected">;
1331
1331
  scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
1332
1332
  closeDelay: NonNullable<string | number>;
@@ -1359,7 +1359,7 @@ declare const VMenu: {
1359
1359
  eager: boolean;
1360
1360
  location: Anchor;
1361
1361
  locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1362
- updateLocation: (e: Event) => void;
1362
+ updateLocation: (e?: Event | undefined) => void;
1363
1363
  } | undefined) | "connected">;
1364
1364
  scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
1365
1365
  closeDelay: NonNullable<string | number>;
@@ -1444,7 +1444,7 @@ declare const VMenu: {
1444
1444
  eager: boolean;
1445
1445
  location: Anchor;
1446
1446
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1447
- updateLocation: (e: Event) => void;
1447
+ updateLocation: (e?: Event | undefined) => void;
1448
1448
  } | undefined) | "connected";
1449
1449
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
1450
1450
  activatorProps: Record<string, any>;
@@ -1471,7 +1471,7 @@ declare const VMenu: {
1471
1471
  eager: boolean;
1472
1472
  location: Anchor;
1473
1473
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1474
- updateLocation: (e: Event) => void;
1474
+ updateLocation: (e?: Event | undefined) => void;
1475
1475
  } | undefined) | "connected";
1476
1476
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
1477
1477
  activatorProps: Record<string, any>;
@@ -1549,7 +1549,7 @@ declare const VMenu: {
1549
1549
  eager: boolean;
1550
1550
  location: Anchor;
1551
1551
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1552
- updateLocation: (e: Event) => void;
1552
+ updateLocation: (e?: Event | undefined) => void;
1553
1553
  } | undefined) | "connected";
1554
1554
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
1555
1555
  activatorProps: Record<string, any>;
@@ -1656,7 +1656,7 @@ declare const VMenu: {
1656
1656
  eager: boolean;
1657
1657
  location: Anchor;
1658
1658
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1659
- updateLocation: (e: Event) => void;
1659
+ updateLocation: (e?: Event | undefined) => void;
1660
1660
  } | undefined) | "connected";
1661
1661
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
1662
1662
  activatorProps: Record<string, any>;
@@ -1752,7 +1752,7 @@ declare const VMenu: {
1752
1752
  eager: boolean;
1753
1753
  location: Anchor;
1754
1754
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1755
- updateLocation: (e: Event) => void;
1755
+ updateLocation: (e?: Event | undefined) => void;
1756
1756
  } | undefined) | "connected";
1757
1757
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
1758
1758
  activatorProps: Record<string, any>;
@@ -1812,7 +1812,7 @@ declare const VMenu: {
1812
1812
  eager: boolean;
1813
1813
  location: Anchor;
1814
1814
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1815
- updateLocation: (e: Event) => void;
1815
+ updateLocation: (e?: Event | undefined) => void;
1816
1816
  } | undefined) | "connected";
1817
1817
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition";
1818
1818
  activatorProps: Record<string, any>;
@@ -1906,7 +1906,7 @@ declare const VMenu: {
1906
1906
  eager: boolean;
1907
1907
  location: Anchor;
1908
1908
  locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1909
- updateLocation: (e: Event) => void;
1909
+ updateLocation: (e?: Event | undefined) => void;
1910
1910
  } | undefined) | "connected">;
1911
1911
  scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
1912
1912
  closeDelay: NonNullable<string | number>;
@@ -1987,16 +1987,16 @@ declare const VMenu: {
1987
1987
  activator: vue.PropType<Element | vue.ComponentPublicInstance | (string & {}) | "parent" | undefined>;
1988
1988
  locationStrategy: Omit<{
1989
1989
  type: vue.PropType<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1990
- updateLocation: (e: Event) => void;
1990
+ updateLocation: (e?: Event | undefined) => void;
1991
1991
  } | undefined) | "connected">;
1992
1992
  default: string;
1993
1993
  validator: (val: any) => boolean;
1994
1994
  }, "default" | "type"> & {
1995
1995
  type: vue.PropType<NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1996
- updateLocation: (e: Event) => void;
1996
+ updateLocation: (e?: Event | undefined) => void;
1997
1997
  } | undefined) | "connected">>;
1998
1998
  default: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
1999
- updateLocation: (e: Event) => void;
1999
+ updateLocation: (e?: Event | undefined) => void;
2000
2000
  } | undefined) | "connected">;
2001
2001
  };
2002
2002
  scrollStrategy: Omit<{
@@ -2102,16 +2102,16 @@ declare const VMenu: {
2102
2102
  activator: vue.PropType<Element | vue.ComponentPublicInstance | (string & {}) | "parent" | undefined>;
2103
2103
  locationStrategy: Omit<{
2104
2104
  type: vue.PropType<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
2105
- updateLocation: (e: Event) => void;
2105
+ updateLocation: (e?: Event | undefined) => void;
2106
2106
  } | undefined) | "connected">;
2107
2107
  default: string;
2108
2108
  validator: (val: any) => boolean;
2109
2109
  }, "default" | "type"> & {
2110
2110
  type: vue.PropType<NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
2111
- updateLocation: (e: Event) => void;
2111
+ updateLocation: (e?: Event | undefined) => void;
2112
2112
  } | undefined) | "connected">>;
2113
2113
  default: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
2114
- updateLocation: (e: Event) => void;
2114
+ updateLocation: (e?: Event | undefined) => void;
2115
2115
  } | undefined) | "connected">;
2116
2116
  };
2117
2117
  scrollStrategy: Omit<{
@@ -41,7 +41,7 @@ interface LocationStrategyData {
41
41
  isRtl: Ref<boolean>;
42
42
  }
43
43
  type LocationStrategyFn = (data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => undefined | {
44
- updateLocation: (e: Event) => void;
44
+ updateLocation: (e?: Event) => void;
45
45
  };
46
46
  declare const locationStrategies: {
47
47
  static: typeof staticLocationStrategy;
@@ -104,7 +104,7 @@ declare const VOverlay: {
104
104
  eager: boolean;
105
105
  location: Anchor;
106
106
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
107
- updateLocation: (e: Event) => void;
107
+ updateLocation: (e?: Event | undefined) => void;
108
108
  } | undefined) | "connected";
109
109
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
110
110
  activatorProps: Record<string, any>;
@@ -200,7 +200,7 @@ declare const VOverlay: {
200
200
  eager: boolean;
201
201
  location: Anchor;
202
202
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
203
- updateLocation: (e: Event) => void;
203
+ updateLocation: (e?: Event | undefined) => void;
204
204
  } | undefined) | "connected";
205
205
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
206
206
  activatorProps: Record<string, any>;
@@ -282,7 +282,7 @@ declare const VOverlay: {
282
282
  eager: boolean;
283
283
  location: Anchor;
284
284
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
285
- updateLocation: (e: Event) => void;
285
+ updateLocation: (e?: Event | undefined) => void;
286
286
  } | undefined) | "connected";
287
287
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
288
288
  activatorProps: Record<string, any>;
@@ -329,7 +329,7 @@ declare const VOverlay: {
329
329
  eager: boolean;
330
330
  location: Anchor;
331
331
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
332
- updateLocation: (e: Event) => void;
332
+ updateLocation: (e?: Event | undefined) => void;
333
333
  } | undefined) | "connected";
334
334
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
335
335
  activatorProps: Record<string, any>;
@@ -420,7 +420,7 @@ declare const VOverlay: {
420
420
  eager: boolean;
421
421
  location: Anchor;
422
422
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
423
- updateLocation: (e: Event) => void;
423
+ updateLocation: (e?: Event | undefined) => void;
424
424
  } | undefined) | "connected";
425
425
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
426
426
  activatorProps: Record<string, any>;
@@ -451,7 +451,7 @@ declare const VOverlay: {
451
451
  eager: boolean;
452
452
  location: Anchor;
453
453
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
454
- updateLocation: (e: Event) => void;
454
+ updateLocation: (e?: Event | undefined) => void;
455
455
  } | undefined) | "connected";
456
456
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
457
457
  activatorProps: Record<string, any>;
@@ -547,7 +547,7 @@ declare const VOverlay: {
547
547
  eager: boolean;
548
548
  location: Anchor;
549
549
  locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
550
- updateLocation: (e: Event) => void;
550
+ updateLocation: (e?: Event | undefined) => void;
551
551
  } | undefined) | "connected";
552
552
  scrollStrategy: "close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
553
553
  activatorProps: Record<string, any>;
@@ -590,7 +590,7 @@ declare const VOverlay: {
590
590
  };
591
591
  locationStrategy: {
592
592
  type: PropType<"static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
593
- updateLocation: (e: Event) => void;
593
+ updateLocation: (e?: Event | undefined) => void;
594
594
  } | undefined) | "connected">;
595
595
  default: string;
596
596
  validator: (val: any) => boolean;
@@ -673,7 +673,7 @@ declare const VOverlay: {
673
673
  };
674
674
  locationStrategy: {
675
675
  type: PropType<"static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
676
- updateLocation: (e: Event) => void;
676
+ updateLocation: (e?: Event | undefined) => void;
677
677
  } | undefined) | "connected">;
678
678
  default: string;
679
679
  validator: (val: any) => boolean;