@vuetify/nightly 4.0.0-dev-20230419.0 → 4.0.0-dev-20230422.0

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 (121) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/dist/json/attributes.json +172 -108
  3. package/dist/json/importMap.json +58 -58
  4. package/dist/json/tags.json +16 -0
  5. package/dist/json/web-types.json +522 -220
  6. package/dist/vuetify-labs.css +335 -172
  7. package/dist/vuetify-labs.d.ts +620 -171
  8. package/dist/vuetify-labs.esm.js +864 -182
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +864 -181
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +166 -3
  13. package/dist/vuetify.d.ts +584 -167
  14. package/dist/vuetify.esm.js +806 -134
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +806 -133
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +748 -682
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/adapters/date-adapter.mjs +2 -0
  22. package/lib/adapters/date-adapter.mjs.map +1 -0
  23. package/lib/adapters/vuetify.mjs +399 -0
  24. package/lib/adapters/vuetify.mjs.map +1 -0
  25. package/lib/blueprints/index.d.ts +34 -0
  26. package/lib/blueprints/md1.d.ts +34 -0
  27. package/lib/blueprints/md2.d.ts +34 -0
  28. package/lib/blueprints/md3.d.ts +34 -0
  29. package/lib/components/VAppBar/VAppBar.mjs +62 -10
  30. package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
  31. package/lib/components/VAppBar/index.d.ts +26 -0
  32. package/lib/components/VAutocomplete/VAutocomplete.css +9 -0
  33. package/lib/components/VAutocomplete/VAutocomplete.mjs +50 -6
  34. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  35. package/lib/components/VAutocomplete/VAutocomplete.sass +10 -0
  36. package/lib/components/VAutocomplete/index.d.ts +29 -17
  37. package/lib/components/VBtn/_mixins.scss +1 -1
  38. package/lib/components/VCard/VCard.mjs.map +1 -1
  39. package/lib/components/VCard/index.d.ts +21 -16
  40. package/lib/components/VCheckbox/VCheckbox.mjs +2 -2
  41. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  42. package/lib/components/VCheckbox/index.d.ts +22 -1
  43. package/lib/components/VCombobox/VCombobox.css +1 -1
  44. package/lib/components/VCombobox/VCombobox.mjs +6 -4
  45. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  46. package/lib/components/VCombobox/VCombobox.sass +1 -1
  47. package/lib/components/VCombobox/index.d.ts +29 -17
  48. package/lib/components/VField/index.d.ts +6 -0
  49. package/lib/components/VFileInput/VFileInput.mjs +13 -17
  50. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  51. package/lib/components/VFileInput/index.d.ts +68 -23
  52. package/lib/components/VInput/VInput.mjs +14 -7
  53. package/lib/components/VInput/VInput.mjs.map +1 -1
  54. package/lib/components/VInput/index.d.ts +22 -1
  55. package/lib/components/VOverlay/locationStrategies.mjs +9 -4
  56. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  57. package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -2
  58. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  59. package/lib/components/VRadioGroup/index.d.ts +22 -1
  60. package/lib/components/VRangeSlider/VRangeSlider.mjs +33 -22
  61. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  62. package/lib/components/VRangeSlider/index.d.ts +39 -6
  63. package/lib/components/VSelect/VSelect.mjs +6 -0
  64. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  65. package/lib/components/VSelect/index.d.ts +32 -17
  66. package/lib/components/VSlider/VSlider.mjs +33 -15
  67. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  68. package/lib/components/VSlider/index.d.ts +39 -6
  69. package/lib/components/VSlider/slider.mjs +43 -23
  70. package/lib/components/VSlider/slider.mjs.map +1 -1
  71. package/lib/components/VSwitch/VSwitch.mjs +5 -3
  72. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  73. package/lib/components/VSwitch/index.d.ts +43 -1
  74. package/lib/components/VTextField/VTextField.mjs +4 -12
  75. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  76. package/lib/components/VTextField/index.d.ts +70 -22
  77. package/lib/components/VTextarea/VTextarea.mjs +4 -12
  78. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  79. package/lib/components/VTextarea/index.d.ts +61 -22
  80. package/lib/components/VToolbar/VToolbar.css +3 -1
  81. package/lib/components/VToolbar/VToolbar.sass +3 -1
  82. package/lib/components/VValidation/index.d.ts +10 -1
  83. package/lib/components/index.d.ts +525 -150
  84. package/lib/composables/date.mjs +39 -0
  85. package/lib/composables/date.mjs.map +1 -0
  86. package/lib/composables/focus.mjs +3 -2
  87. package/lib/composables/focus.mjs.map +1 -1
  88. package/lib/composables/index.mjs +1 -0
  89. package/lib/composables/index.mjs.map +1 -1
  90. package/lib/composables/items.mjs +7 -2
  91. package/lib/composables/items.mjs.map +1 -1
  92. package/lib/composables/scroll.mjs +3 -0
  93. package/lib/composables/scroll.mjs.map +1 -1
  94. package/lib/entry-bundler.mjs +1 -1
  95. package/lib/framework.mjs +8 -3
  96. package/lib/framework.mjs.map +1 -1
  97. package/lib/iconsets/mdi-svg.mjs +2 -2
  98. package/lib/iconsets/mdi-svg.mjs.map +1 -1
  99. package/lib/index.d.ts +59 -17
  100. package/lib/labs/VDataTable/VDataTable.mjs +2 -2
  101. package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
  102. package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
  103. package/lib/labs/VDataTable/VDataTableHeaders.mjs.map +1 -1
  104. package/lib/labs/VDataTable/VDataTableRows.mjs +52 -44
  105. package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
  106. package/lib/labs/VDataTable/VDataTableServer.mjs +2 -1
  107. package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
  108. package/lib/labs/VDataTable/VDataTableVirtual.mjs +0 -1
  109. package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
  110. package/lib/labs/VDataTable/composables/options.mjs +2 -1
  111. package/lib/labs/VDataTable/composables/options.mjs.map +1 -1
  112. package/lib/labs/VDataTable/index.d.ts +44 -11
  113. package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs +1 -0
  114. package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
  115. package/lib/labs/VSkeletonLoader/index.d.ts +9 -9
  116. package/lib/labs/components.d.ts +53 -20
  117. package/lib/styles/main.css +152 -0
  118. package/lib/styles/settings/_utilities.scss +11 -1
  119. package/lib/util/helpers.mjs +4 -0
  120. package/lib/util/helpers.mjs.map +1 -1
  121. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"VTextField.mjs","names":["filterFieldProps","makeVFieldProps","VField","filterInputProps","makeVInputProps","VInput","VCounter","Intersect","forwardRefs","useFocus","useProxiedModel","cloneVNode","computed","nextTick","ref","callEvent","filterInputAttrs","genericComponent","propsFactory","useRender","activeTypes","makeVTextFieldProps","autofocus","Boolean","counter","Number","String","counterValue","Function","hint","persistentHint","prefix","placeholder","persistentPlaceholder","persistentCounter","suffix","type","default","modelModifiers","Object","VTextField","name","directives","inheritAttrs","props","emits","e","focused","val","setup","_ref","attrs","emit","slots","model","isFocused","focus","blur","value","toString","length","max","maxlength","undefined","onIntersect","isIntersecting","entries","target","vInputRef","vFieldRef","inputRef","isActive","includes","messages","onFocus","document","activeElement","onControlMousedown","preventDefault","onControlClick","onClear","stopPropagation","onInput","el","trim","caretPosition","selectionStart","selectionEnd","hasCounter","hasDetails","details","rootAttrs","inputAttrs","modelValue","_","inputProps","fieldProps","_createVNode","_mergeProps","$event","variant","_ref2","id","isDisabled","isDirty","isReadonly","isValid","dirty","_ref3","class","fieldClass","slotProps","inputNode","_withDirectives","_resolveDirective","handler","once","_Fragment"],"sources":["../../../src/components/VTextField/VTextField.tsx"],"sourcesContent":["// Styles\nimport './VTextField.sass'\n\n// Components\nimport { filterFieldProps, makeVFieldProps, VField } from '@/components/VField/VField'\nimport { filterInputProps, makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { VCounter } from '@/components/VCounter'\n\n// Directives\nimport Intersect from '@/directives/intersect'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useFocus } from '@/composables/focus'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { cloneVNode, computed, nextTick, ref } from 'vue'\nimport { callEvent, filterInputAttrs, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { MakeSlots } from '@/util'\nimport type { VFieldSlots } from '@/components/VField/VField'\nimport type { VInputSlots } from '@/components/VInput/VInput'\n\nconst activeTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'month']\n\nexport const makeVTextFieldProps = propsFactory({\n autofocus: Boolean,\n counter: [Boolean, Number, String] as PropType<true | number | string>,\n counterValue: Function as PropType<(value: any) => number>,\n hint: String,\n persistentHint: Boolean,\n prefix: String,\n placeholder: String,\n persistentPlaceholder: Boolean,\n persistentCounter: Boolean,\n suffix: String,\n type: {\n type: String,\n default: 'text',\n },\n modelModifiers: Object as PropType<Record<string, boolean>>,\n\n ...makeVInputProps(),\n ...makeVFieldProps(),\n}, 'v-text-field')\n\nexport const VTextField = genericComponent<Omit<VInputSlots & VFieldSlots, 'default'> & MakeSlots<{\n default: []\n}>>()({\n name: 'VTextField',\n\n directives: { Intersect },\n\n inheritAttrs: false,\n\n props: makeVTextFieldProps(),\n\n emits: {\n 'click:control': (e: MouseEvent) => true,\n 'mousedown:control': (e: MouseEvent) => true,\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (val: string) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const { isFocused, focus, blur } = useFocus(props)\n const counterValue = computed(() => {\n return typeof props.counterValue === 'function'\n ? props.counterValue(model.value)\n : (model.value ?? '').toString().length\n })\n const max = computed(() => {\n if (attrs.maxlength) return attrs.maxlength as unknown as undefined\n\n if (\n !props.counter ||\n (typeof props.counter !== 'number' &&\n typeof props.counter !== 'string')\n ) return undefined\n\n return props.counter\n })\n\n function onIntersect (\n isIntersecting: boolean,\n entries: IntersectionObserverEntry[]\n ) {\n if (!props.autofocus || !isIntersecting) return\n\n (entries[0].target as HTMLInputElement)?.focus?.()\n }\n\n const vInputRef = ref<VInput>()\n const vFieldRef = ref<VField>()\n const inputRef = ref<HTMLInputElement>()\n const isActive = computed(() => (\n activeTypes.includes(props.type) ||\n props.persistentPlaceholder ||\n isFocused.value\n ))\n const messages = computed(() => {\n return props.messages.length\n ? props.messages\n : (isFocused.value || props.persistentHint) ? props.hint : ''\n })\n function onFocus () {\n if (inputRef.value !== document.activeElement) {\n inputRef.value?.focus()\n }\n\n if (!isFocused.value) focus()\n }\n function onControlMousedown (e: MouseEvent) {\n emit('mousedown:control', e)\n\n if (e.target === inputRef.value) return\n\n onFocus()\n e.preventDefault()\n }\n function onControlClick (e: MouseEvent) {\n onFocus()\n\n emit('click:control', e)\n }\n function onClear (e: MouseEvent) {\n e.stopPropagation()\n\n onFocus()\n\n nextTick(() => {\n model.value = null\n\n callEvent(props['onClick:clear'], e)\n })\n }\n function onInput (e: Event) {\n const el = e.target as HTMLInputElement\n model.value = el.value\n if (\n props.modelModifiers?.trim &&\n ['text', 'search', 'password', 'tel', 'url'].includes(props.type)\n ) {\n const caretPosition = [el.selectionStart, el.selectionEnd]\n nextTick(() => {\n el.selectionStart = caretPosition[0]\n el.selectionEnd = caretPosition[1]\n })\n }\n }\n\n useRender(() => {\n const hasCounter = !!(slots.counter || props.counter || props.counterValue)\n const hasDetails = !!(hasCounter || slots.details)\n const [rootAttrs, inputAttrs] = filterInputAttrs(attrs)\n const [{ modelValue: _, ...inputProps }] = filterInputProps(props)\n const [fieldProps] = filterFieldProps(props)\n\n return (\n <VInput\n ref={ vInputRef }\n v-model={ model.value }\n class={[\n 'v-text-field',\n {\n 'v-text-field--prefixed': props.prefix,\n 'v-text-field--suffixed': props.suffix,\n 'v-text-field--flush-details': ['plain', 'underlined'].includes(props.variant),\n },\n ]}\n onClick:prepend={ props['onClick:prepend'] }\n onClick:append={ props['onClick:append'] }\n { ...rootAttrs }\n { ...inputProps }\n focused={ isFocused.value }\n messages={ messages.value }\n >\n {{\n ...slots,\n default: ({\n id,\n isDisabled,\n isDirty,\n isReadonly,\n isValid,\n }) => (\n <VField\n ref={ vFieldRef }\n onMousedown={ onControlMousedown }\n onClick={ onControlClick }\n onClick:clear={ onClear }\n onClick:prependInner={ props['onClick:prependInner'] }\n onClick:appendInner={ props['onClick:appendInner'] }\n role=\"textbox\"\n { ...fieldProps }\n id={ id.value }\n active={ isActive.value || isDirty.value }\n dirty={ isDirty.value || props.dirty }\n disabled={ isDisabled.value }\n focused={ isFocused.value }\n error={ isValid.value === false }\n >\n {{\n ...slots,\n default: ({\n props: { class: fieldClass, ...slotProps },\n }) => {\n const inputNode = (\n <input\n ref={ inputRef }\n value={ model.value }\n onInput={ onInput }\n v-intersect={[{\n handler: onIntersect,\n }, null, ['once']]}\n autofocus={ props.autofocus }\n readonly={ isReadonly.value }\n disabled={ isDisabled.value }\n name={ props.name }\n placeholder={ props.placeholder }\n size={ 1 }\n type={ props.type }\n onFocus={ onFocus }\n onBlur={ blur }\n { ...slotProps }\n { ...inputAttrs }\n />\n )\n\n return (\n <>\n { props.prefix && (\n <span class=\"v-text-field__prefix\">\n { props.prefix }\n </span>\n )}\n\n { slots.default ? (\n <div\n class={ fieldClass }\n data-no-activator=\"\"\n >\n { slots.default() }\n { inputNode }\n </div>\n ) : cloneVNode(inputNode, { class: fieldClass })}\n\n { props.suffix && (\n <span class=\"v-text-field__suffix\">\n { props.suffix }\n </span>\n )}\n </>\n )\n },\n }}\n </VField>\n ),\n details: hasDetails ? slotProps => (\n <>\n { slots.details?.(slotProps) }\n\n { hasCounter && (\n <>\n <span />\n\n <VCounter\n active={ props.persistentCounter || isFocused.value }\n value={ counterValue.value }\n max={ max.value }\n v-slots:default={ slots.counter }\n />\n </>\n )}\n </>\n ) : undefined,\n }}\n </VInput>\n )\n })\n\n return forwardRefs({}, vInputRef, vFieldRef, inputRef)\n },\n})\n\nexport type VTextField = InstanceType<typeof VTextField>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,gBAAgB,EAAEC,eAAe,EAAEC,MAAM;AAAA,SACzCC,gBAAgB,EAAEC,eAAe,EAAEC,MAAM;AAAA,SACzCC,QAAQ,iCAEjB;AAAA,OACOC,SAAS,8CAEhB;AAAA,SACSC,WAAW;AAAA,SACXC,QAAQ;AAAA,SACRC,eAAe,8CAExB;AACA,SAASC,UAAU,EAAEC,QAAQ,EAAEC,QAAQ,EAAEC,GAAG,QAAQ,KAAK;AAAA,SAChDC,SAAS,EAAEC,gBAAgB,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAE/E;AAMA,MAAMC,WAAW,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC;AAExF,OAAO,MAAMC,mBAAmB,GAAGH,YAAY,CAAC;EAC9CI,SAAS,EAAEC,OAAO;EAClBC,OAAO,EAAE,CAACD,OAAO,EAAEE,MAAM,EAAEC,MAAM,CAAqC;EACtEC,YAAY,EAAEC,QAA4C;EAC1DC,IAAI,EAAEH,MAAM;EACZI,cAAc,EAAEP,OAAO;EACvBQ,MAAM,EAAEL,MAAM;EACdM,WAAW,EAAEN,MAAM;EACnBO,qBAAqB,EAAEV,OAAO;EAC9BW,iBAAiB,EAAEX,OAAO;EAC1BY,MAAM,EAAET,MAAM;EACdU,IAAI,EAAE;IACJA,IAAI,EAAEV,MAAM;IACZW,OAAO,EAAE;EACX,CAAC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KAAK,CAACT,MAAM,EAEjB;YAGP;UAAC;QAAA,CAGN;QACDuD,OAAO,EAAED,UAAU,GAAGsB,SAAS,IAAAd,YAAA,CAAAoB,SAAA,SAEzBhE,KAAK,CAACqC,OAAO,GAAGqB,SAAS,CAAC,EAE1BvB,UAAU,IAAAS,YAAA,CAAAoB,SAAA,SAAApB,YAAA,sBAAAA,YAAA,CAAA3F,QAAA;UAAA,UAKGsC,KAAK,CAACV,iBAAiB,IAAIqB,SAAS,CAACG,KAAK;UAAA,SAC3C/B,YAAY,CAAC+B,KAAK;UAAA,OACpBG,GAAG,CAACH;QAAK,GACGL,KAAK,CAAC7B,OAAO,GAGpC,EAEJ,GAAGuC;MAAS;IAIrB,CAAC,CAAC;IAEF,OAAOvD,WAAW,CAAC,CAAC,CAAC,EAAE4D,SAAS,EAAEC,SAAS,EAAEC,QAAQ,CAAC;EACxD;AACF,CAAC,CAAC"}
1
+ {"version":3,"file":"VTextField.mjs","names":["filterFieldProps","makeVFieldProps","VField","makeVInputProps","VInput","VCounter","Intersect","forwardRefs","useFocus","useProxiedModel","cloneVNode","computed","nextTick","ref","callEvent","filterInputAttrs","genericComponent","propsFactory","useRender","activeTypes","makeVTextFieldProps","autofocus","Boolean","counter","Number","String","counterValue","Function","prefix","placeholder","persistentPlaceholder","persistentCounter","suffix","type","default","modelModifiers","Object","VTextField","name","directives","inheritAttrs","props","emits","e","focused","val","setup","_ref","attrs","emit","slots","model","isFocused","focus","blur","value","toString","length","max","maxlength","undefined","onIntersect","isIntersecting","entries","target","vInputRef","vFieldRef","inputRef","isActive","includes","onFocus","document","activeElement","onControlMousedown","preventDefault","onControlClick","onClear","stopPropagation","onInput","el","trim","caretPosition","selectionStart","selectionEnd","hasCounter","hasDetails","details","rootAttrs","inputAttrs","modelValue","_","inputProps","filterProps","fieldProps","_createVNode","_mergeProps","$event","variant","_ref2","id","isDisabled","isDirty","isReadonly","isValid","dirty","_ref3","class","fieldClass","slotProps","inputNode","_withDirectives","_resolveDirective","handler","once","_Fragment"],"sources":["../../../src/components/VTextField/VTextField.tsx"],"sourcesContent":["// Styles\nimport './VTextField.sass'\n\n// Components\nimport { filterFieldProps, makeVFieldProps, VField } from '@/components/VField/VField'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { VCounter } from '@/components/VCounter'\n\n// Directives\nimport Intersect from '@/directives/intersect'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useFocus } from '@/composables/focus'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { cloneVNode, computed, nextTick, ref } from 'vue'\nimport { callEvent, filterInputAttrs, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { MakeSlots } from '@/util'\nimport type { VFieldSlots } from '@/components/VField/VField'\nimport type { VInputSlots } from '@/components/VInput/VInput'\n\nconst activeTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'month']\n\nexport const makeVTextFieldProps = propsFactory({\n autofocus: Boolean,\n counter: [Boolean, Number, String] as PropType<true | number | string>,\n counterValue: Function as PropType<(value: any) => number>,\n prefix: String,\n placeholder: String,\n persistentPlaceholder: Boolean,\n persistentCounter: Boolean,\n suffix: String,\n type: {\n type: String,\n default: 'text',\n },\n modelModifiers: Object as PropType<Record<string, boolean>>,\n\n ...makeVInputProps(),\n ...makeVFieldProps(),\n}, 'v-text-field')\n\nexport const VTextField = genericComponent<Omit<VInputSlots & VFieldSlots, 'default'> & MakeSlots<{\n default: []\n}>>()({\n name: 'VTextField',\n\n directives: { Intersect },\n\n inheritAttrs: false,\n\n props: makeVTextFieldProps(),\n\n emits: {\n 'click:control': (e: MouseEvent) => true,\n 'mousedown:control': (e: MouseEvent) => true,\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (val: string) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const { isFocused, focus, blur } = useFocus(props)\n const counterValue = computed(() => {\n return typeof props.counterValue === 'function'\n ? props.counterValue(model.value)\n : (model.value ?? '').toString().length\n })\n const max = computed(() => {\n if (attrs.maxlength) return attrs.maxlength as unknown as undefined\n\n if (\n !props.counter ||\n (typeof props.counter !== 'number' &&\n typeof props.counter !== 'string')\n ) return undefined\n\n return props.counter\n })\n\n function onIntersect (\n isIntersecting: boolean,\n entries: IntersectionObserverEntry[]\n ) {\n if (!props.autofocus || !isIntersecting) return\n\n (entries[0].target as HTMLInputElement)?.focus?.()\n }\n\n const vInputRef = ref<VInput>()\n const vFieldRef = ref<VField>()\n const inputRef = ref<HTMLInputElement>()\n const isActive = computed(() => (\n activeTypes.includes(props.type) ||\n props.persistentPlaceholder ||\n isFocused.value\n ))\n function onFocus () {\n if (inputRef.value !== document.activeElement) {\n inputRef.value?.focus()\n }\n\n if (!isFocused.value) focus()\n }\n function onControlMousedown (e: MouseEvent) {\n emit('mousedown:control', e)\n\n if (e.target === inputRef.value) return\n\n onFocus()\n e.preventDefault()\n }\n function onControlClick (e: MouseEvent) {\n onFocus()\n\n emit('click:control', e)\n }\n function onClear (e: MouseEvent) {\n e.stopPropagation()\n\n onFocus()\n\n nextTick(() => {\n model.value = null\n\n callEvent(props['onClick:clear'], e)\n })\n }\n function onInput (e: Event) {\n const el = e.target as HTMLInputElement\n model.value = el.value\n if (\n props.modelModifiers?.trim &&\n ['text', 'search', 'password', 'tel', 'url'].includes(props.type)\n ) {\n const caretPosition = [el.selectionStart, el.selectionEnd]\n nextTick(() => {\n el.selectionStart = caretPosition[0]\n el.selectionEnd = caretPosition[1]\n })\n }\n }\n\n useRender(() => {\n const hasCounter = !!(slots.counter || props.counter || props.counterValue)\n const hasDetails = !!(hasCounter || slots.details)\n const [rootAttrs, inputAttrs] = filterInputAttrs(attrs)\n const [{ modelValue: _, ...inputProps }] = VInput.filterProps(props)\n const [fieldProps] = filterFieldProps(props)\n\n return (\n <VInput\n ref={ vInputRef }\n v-model={ model.value }\n class={[\n 'v-text-field',\n {\n 'v-text-field--prefixed': props.prefix,\n 'v-text-field--suffixed': props.suffix,\n 'v-text-field--flush-details': ['plain', 'underlined'].includes(props.variant),\n },\n ]}\n { ...rootAttrs }\n { ...inputProps }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n default: ({\n id,\n isDisabled,\n isDirty,\n isReadonly,\n isValid,\n }) => (\n <VField\n ref={ vFieldRef }\n onMousedown={ onControlMousedown }\n onClick={ onControlClick }\n onClick:clear={ onClear }\n onClick:prependInner={ props['onClick:prependInner'] }\n onClick:appendInner={ props['onClick:appendInner'] }\n role=\"textbox\"\n { ...fieldProps }\n id={ id.value }\n active={ isActive.value || isDirty.value }\n dirty={ isDirty.value || props.dirty }\n disabled={ isDisabled.value }\n focused={ isFocused.value }\n error={ isValid.value === false }\n >\n {{\n ...slots,\n default: ({\n props: { class: fieldClass, ...slotProps },\n }) => {\n const inputNode = (\n <input\n ref={ inputRef }\n value={ model.value }\n onInput={ onInput }\n v-intersect={[{\n handler: onIntersect,\n }, null, ['once']]}\n autofocus={ props.autofocus }\n readonly={ isReadonly.value }\n disabled={ isDisabled.value }\n name={ props.name }\n placeholder={ props.placeholder }\n size={ 1 }\n type={ props.type }\n onFocus={ onFocus }\n onBlur={ blur }\n { ...slotProps }\n { ...inputAttrs }\n />\n )\n\n return (\n <>\n { props.prefix && (\n <span class=\"v-text-field__prefix\">\n { props.prefix }\n </span>\n )}\n\n { slots.default ? (\n <div\n class={ fieldClass }\n data-no-activator=\"\"\n >\n { slots.default() }\n { inputNode }\n </div>\n ) : cloneVNode(inputNode, { class: fieldClass })}\n\n { props.suffix && (\n <span class=\"v-text-field__suffix\">\n { props.suffix }\n </span>\n )}\n </>\n )\n },\n }}\n </VField>\n ),\n details: hasDetails ? slotProps => (\n <>\n { slots.details?.(slotProps) }\n\n { hasCounter && (\n <>\n <span />\n\n <VCounter\n active={ props.persistentCounter || isFocused.value }\n value={ counterValue.value }\n max={ max.value }\n v-slots:default={ slots.counter }\n />\n </>\n )}\n </>\n ) : undefined,\n }}\n </VInput>\n )\n })\n\n return forwardRefs({}, vInputRef, vFieldRef, inputRef)\n },\n})\n\nexport type VTextField = InstanceType<typeof VTextField>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,gBAAgB,EAAEC,eAAe,EAAEC,MAAM;AAAA,SACzCC,eAAe,EAAEC,MAAM;AAAA,SACvBC,QAAQ,iCAEjB;AAAA,OACOC,SAAS,8CAEhB;AAAA,SACSC,WAAW;AAAA,SACXC,QAAQ;AAAA,SACRC,eAAe,8CAExB;AACA,SAASC,UAAU,EAAEC,QAAQ,EAAEC,QAAQ,EAAEC,GAAG,QAAQ,KAAK;AAAA,SAChDC,SAAS,EAAEC,gBAAgB,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAE/E;AAMA,MAAMC,WAAW,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC;AAExF,OAAO,MAAMC,mBAAmB,GAAGH,YAAY,CAAC;EAC9CI,SAAS,EAAEC,OAAO;EAClBC,OAAO,EAAE,CAACD,OAAO,EAAEE,MAAM,EAAEC,MAAM,CAAqC;EACtEC,YAAY,EAAEC,QAA4C;EAC1DC,MAAM,EAAEH,MAAM;EACdI,WAAW,EAAEJ,MAAM;EACnBK,qBAAqB,EAAER,OAAO;EAC9BS,iBAAiB,EAAET,OAAO;EAC1BU,MAAM,EAAEP,MAAM;EACdQ,IAAI,EAAE;IACJA,IAAI,EAAER,MAAM;IACZS,OAAO,EAAE;EACX,CAAC;EACDC,cAAc,EAAEC,MAA2C;EAE3D,GAAGjC,eAAe,EAAE;EACpB,GAAGF,eAAe;AACpB,CAAC,EAAE,cAAc,CAAC;AAElB,OAAO,MAAMoC,UAAU,GAAGrB,gBAAgB,EAErC,CAAC;EACJsB,IAAI,EAAE,YAAY;EAElBC,UAAU,EAAE;IAAEjC;EAAU,CAAC;EAEzBkC,YAAY,EAAE,KAAK;EAEn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orMessages: string | string[];
70
70
  maxErrors: string | number;
71
71
  rules: ValidationRule[];
72
+ persistentHint: boolean;
72
73
  clearable: boolean;
73
74
  dirty: boolean;
74
75
  persistentClear: boolean;
75
76
  singleLine: boolean;
76
- persistentHint: boolean;
77
77
  persistentPlaceholder: boolean;
78
78
  persistentCounter: boolean;
79
79
  }> & Omit<{
@@ -94,11 +94,11 @@ declare const VTextField: {
94
94
  errorMessages: string | string[];
95
95
  maxErrors: string | number;
96
96
  rules: ValidationRule[];
97
+ persistentHint: boolean;
97
98
  clearable: boolean;
98
99
  dirty: boolean;
99
100
  persistentClear: boolean;
100
101
  singleLine: boolean;
101
- persistentHint: boolean;
102
102
  persistentPlaceholder: boolean;
103
103
  persistentCounter: boolean;
104
104
  } & {
@@ -123,10 +123,11 @@ declare const VTextField: {
123
123
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
124
124
  'onClick:appendInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
125
125
  'onClick:prependInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
126
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
126
127
  validateOn?: "input" | "blur" | "submit" | undefined;
127
128
  validationValue?: any;
128
- hideDetails?: boolean | "auto" | undefined;
129
129
  hint?: string | undefined;
130
+ hideDetails?: boolean | "auto" | undefined;
130
131
  suffix?: string | undefined;
131
132
  counterValue?: ((value: any) => number) | undefined;
132
133
  modelModifiers?: Record<string, boolean> | undefined;
@@ -179,7 +180,7 @@ declare const VTextField: {
179
180
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
180
181
  "onClick:control"?: ((e: MouseEvent) => any) | undefined;
181
182
  "onMousedown:control"?: ((e: MouseEvent) => any) | undefined;
182
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "flat" | "reverse" | "type" | "error" | "active" | "direction" | "autofocus" | "disabled" | "readonly" | "messages" | "rounded" | "density" | "variant" | "clearIcon" | "focused" | "errorMessages" | "maxErrors" | "rules" | "clearable" | "dirty" | "persistentClear" | "singleLine" | "persistentHint" | "persistentPlaceholder" | "persistentCounter">;
183
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "flat" | "reverse" | "type" | "error" | "active" | "direction" | "autofocus" | "disabled" | "readonly" | "messages" | "rounded" | "density" | "variant" | "clearIcon" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint" | "clearable" | "dirty" | "persistentClear" | "singleLine" | "persistentPlaceholder" | "persistentCounter">;
183
184
  $attrs: {
184
185
  [x: string]: unknown;
185
186
  };
@@ -211,11 +212,11 @@ declare const VTextField: {
211
212
  errorMessages: string | string[];
212
213
  maxErrors: string | number;
213
214
  rules: ValidationRule[];
215
+ persistentHint: boolean;
214
216
  clearable: boolean;
215
217
  dirty: boolean;
216
218
  persistentClear: boolean;
217
219
  singleLine: boolean;
218
- persistentHint: boolean;
219
220
  persistentPlaceholder: boolean;
220
221
  persistentCounter: boolean;
221
222
  } & {
@@ -240,10 +241,11 @@ declare const VTextField: {
240
241
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
241
242
  'onClick:appendInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
242
243
  'onClick:prependInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
244
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
243
245
  validateOn?: "input" | "blur" | "submit" | undefined;
244
246
  validationValue?: any;
245
- hideDetails?: boolean | "auto" | undefined;
246
247
  hint?: string | undefined;
248
+ hideDetails?: boolean | "auto" | undefined;
247
249
  suffix?: string | undefined;
248
250
  counterValue?: ((value: any) => number) | undefined;
249
251
  modelModifiers?: Record<string, boolean> | undefined;
@@ -310,6 +312,7 @@ declare const VTextField: {
310
312
  errorMessages: string | string[];
311
313
  maxErrors: string | number;
312
314
  rules: ValidationRule[];
315
+ persistentHint: boolean;
313
316
  }> & Omit<{
314
317
  error: boolean;
315
318
  direction: "horizontal" | "vertical";
@@ -321,6 +324,7 @@ declare const VTextField: {
321
324
  errorMessages: string | string[];
322
325
  maxErrors: string | number;
323
326
  rules: ValidationRule[];
327
+ persistentHint: boolean;
324
328
  } & {
325
329
  id?: string | undefined;
326
330
  name?: string | undefined;
@@ -330,8 +334,10 @@ declare const VTextField: {
330
334
  appendIcon?: IconValue | undefined;
331
335
  'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
332
336
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
337
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
333
338
  validateOn?: "input" | "blur" | "submit" | undefined;
334
339
  validationValue?: any;
340
+ hint?: string | undefined;
335
341
  hideDetails?: boolean | "auto" | undefined;
336
342
  } & {
337
343
  $children?: {} | vue.VNodeChild | {
@@ -359,7 +365,7 @@ declare const VTextField: {
359
365
  "v-slot:details"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
360
366
  } & {
361
367
  "onUpdate:modelValue"?: ((val: any) => any) | undefined;
362
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules">;
368
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint">;
363
369
  $attrs: {
364
370
  [x: string]: unknown;
365
371
  };
@@ -384,6 +390,7 @@ declare const VTextField: {
384
390
  errorMessages: string | string[];
385
391
  maxErrors: string | number;
386
392
  rules: ValidationRule[];
393
+ persistentHint: boolean;
387
394
  } & {
388
395
  id?: string | undefined;
389
396
  name?: string | undefined;
@@ -393,8 +400,10 @@ declare const VTextField: {
393
400
  appendIcon?: IconValue | undefined;
394
401
  'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
395
402
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
403
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
396
404
  validateOn?: "input" | "blur" | "submit" | undefined;
397
405
  validationValue?: any;
406
+ hint?: string | undefined;
398
407
  hideDetails?: boolean | "auto" | undefined;
399
408
  } & {
400
409
  $children?: {} | vue.VNodeChild | {
@@ -439,6 +448,7 @@ declare const VTextField: {
439
448
  errorMessages: string | string[];
440
449
  maxErrors: string | number;
441
450
  rules: ValidationRule[];
451
+ persistentHint: boolean;
442
452
  }, {}, string> & {
443
453
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
444
454
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -470,6 +480,7 @@ declare const VTextField: {
470
480
  errorMessages: string | string[];
471
481
  maxErrors: string | number;
472
482
  rules: ValidationRule[];
483
+ persistentHint: boolean;
473
484
  } & {
474
485
  id?: string | undefined;
475
486
  name?: string | undefined;
@@ -479,8 +490,10 @@ declare const VTextField: {
479
490
  appendIcon?: IconValue | undefined;
480
491
  'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
481
492
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
493
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
482
494
  validateOn?: "input" | "blur" | "submit" | undefined;
483
495
  validationValue?: any;
496
+ hint?: string | undefined;
484
497
  hideDetails?: boolean | "auto" | undefined;
485
498
  } & {
486
499
  $children?: {} | vue.VNodeChild | {
@@ -512,7 +525,7 @@ declare const VTextField: {
512
525
  reset: () => void;
513
526
  resetValidation: () => void;
514
527
  validate: () => Promise<string[]>;
515
- }> & {} & vue.ComponentCustomProperties & {}, "id" | "name" | "label" | "$children" | "v-slot:default" | "$slots" | "v-slots" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "prependIcon" | "appendIcon" | "onClick:append" | "onClick:prepend" | "validateOn" | "validationValue" | "hideDetails" | ("error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules") | "v-slot:details">, `$${any}`> & Omit<Omit<{
528
+ }> & {} & vue.ComponentCustomProperties & {}, "id" | "name" | "label" | "$children" | "v-slot:default" | "$slots" | "v-slots" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "prependIcon" | "appendIcon" | "onClick:append" | "onClick:prepend" | "onUpdate:focused" | "validateOn" | "validationValue" | "hint" | "hideDetails" | ("error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint") | "v-slot:details">, `$${any}`> & Omit<Omit<{
516
529
  $: vue.ComponentInternalInstance;
517
530
  $data: {};
518
531
  $props: Partial<{
@@ -563,6 +576,7 @@ declare const VTextField: {
563
576
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
564
577
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
565
578
  focused: BooleanConstructor;
579
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
566
580
  id: StringConstructor;
567
581
  }, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
568
582
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
@@ -614,6 +628,7 @@ declare const VTextField: {
614
628
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
615
629
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
616
630
  focused: BooleanConstructor;
631
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
617
632
  id: StringConstructor;
618
633
  }, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
619
634
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
@@ -690,6 +705,7 @@ declare const VTextField: {
690
705
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
691
706
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
692
707
  focused: BooleanConstructor;
708
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
693
709
  id: StringConstructor;
694
710
  }, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
695
711
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
@@ -756,11 +772,11 @@ declare const VTextField: {
756
772
  errorMessages: string | string[];
757
773
  maxErrors: string | number;
758
774
  rules: ValidationRule[];
775
+ persistentHint: boolean;
759
776
  clearable: boolean;
760
777
  dirty: boolean;
761
778
  persistentClear: boolean;
762
779
  singleLine: boolean;
763
- persistentHint: boolean;
764
780
  persistentPlaceholder: boolean;
765
781
  persistentCounter: boolean;
766
782
  }, {}, string> & {
@@ -801,11 +817,11 @@ declare const VTextField: {
801
817
  errorMessages: string | string[];
802
818
  maxErrors: string | number;
803
819
  rules: ValidationRule[];
820
+ persistentHint: boolean;
804
821
  clearable: boolean;
805
822
  dirty: boolean;
806
823
  persistentClear: boolean;
807
824
  singleLine: boolean;
808
- persistentHint: boolean;
809
825
  persistentPlaceholder: boolean;
810
826
  persistentCounter: boolean;
811
827
  } & {
@@ -830,10 +846,11 @@ declare const VTextField: {
830
846
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
831
847
  'onClick:appendInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
832
848
  'onClick:prependInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
849
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
833
850
  validateOn?: "input" | "blur" | "submit" | undefined;
834
851
  validationValue?: any;
835
- hideDetails?: boolean | "auto" | undefined;
836
852
  hint?: string | undefined;
853
+ hideDetails?: boolean | "auto" | undefined;
837
854
  suffix?: string | undefined;
838
855
  counterValue?: ((value: any) => number) | undefined;
839
856
  modelModifiers?: Record<string, boolean> | undefined;
@@ -900,6 +917,7 @@ declare const VTextField: {
900
917
  errorMessages: string | string[];
901
918
  maxErrors: string | number;
902
919
  rules: ValidationRule[];
920
+ persistentHint: boolean;
903
921
  }> & Omit<{
904
922
  error: boolean;
905
923
  direction: "horizontal" | "vertical";
@@ -911,6 +929,7 @@ declare const VTextField: {
911
929
  errorMessages: string | string[];
912
930
  maxErrors: string | number;
913
931
  rules: ValidationRule[];
932
+ persistentHint: boolean;
914
933
  } & {
915
934
  id?: string | undefined;
916
935
  name?: string | undefined;
@@ -920,8 +939,10 @@ declare const VTextField: {
920
939
  appendIcon?: IconValue | undefined;
921
940
  'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
922
941
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
942
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
923
943
  validateOn?: "input" | "blur" | "submit" | undefined;
924
944
  validationValue?: any;
945
+ hint?: string | undefined;
925
946
  hideDetails?: boolean | "auto" | undefined;
926
947
  } & {
927
948
  $children?: {} | vue.VNodeChild | {
@@ -949,7 +970,7 @@ declare const VTextField: {
949
970
  "v-slot:details"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
950
971
  } & {
951
972
  "onUpdate:modelValue"?: ((val: any) => any) | undefined;
952
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules">;
973
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint">;
953
974
  $attrs: {
954
975
  [x: string]: unknown;
955
976
  };
@@ -974,6 +995,7 @@ declare const VTextField: {
974
995
  errorMessages: string | string[];
975
996
  maxErrors: string | number;
976
997
  rules: ValidationRule[];
998
+ persistentHint: boolean;
977
999
  } & {
978
1000
  id?: string | undefined;
979
1001
  name?: string | undefined;
@@ -983,8 +1005,10 @@ declare const VTextField: {
983
1005
  appendIcon?: IconValue | undefined;
984
1006
  'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
985
1007
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
1008
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
986
1009
  validateOn?: "input" | "blur" | "submit" | undefined;
987
1010
  validationValue?: any;
1011
+ hint?: string | undefined;
988
1012
  hideDetails?: boolean | "auto" | undefined;
989
1013
  } & {
990
1014
  $children?: {} | vue.VNodeChild | {
@@ -1029,6 +1053,7 @@ declare const VTextField: {
1029
1053
  errorMessages: string | string[];
1030
1054
  maxErrors: string | number;
1031
1055
  rules: ValidationRule[];
1056
+ persistentHint: boolean;
1032
1057
  }, {}, string> & {
1033
1058
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
1034
1059
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -1060,6 +1085,7 @@ declare const VTextField: {
1060
1085
  errorMessages: string | string[];
1061
1086
  maxErrors: string | number;
1062
1087
  rules: ValidationRule[];
1088
+ persistentHint: boolean;
1063
1089
  } & {
1064
1090
  id?: string | undefined;
1065
1091
  name?: string | undefined;
@@ -1069,8 +1095,10 @@ declare const VTextField: {
1069
1095
  appendIcon?: IconValue | undefined;
1070
1096
  'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
1071
1097
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
1098
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
1072
1099
  validateOn?: "input" | "blur" | "submit" | undefined;
1073
1100
  validationValue?: any;
1101
+ hint?: string | undefined;
1074
1102
  hideDetails?: boolean | "auto" | undefined;
1075
1103
  } & {
1076
1104
  $children?: {} | vue.VNodeChild | {
@@ -1102,7 +1130,7 @@ declare const VTextField: {
1102
1130
  reset: () => void;
1103
1131
  resetValidation: () => void;
1104
1132
  validate: () => Promise<string[]>;
1105
- }> & {} & vue.ComponentCustomProperties & {}, "id" | "name" | "label" | "$children" | "v-slot:default" | "$slots" | "v-slots" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "prependIcon" | "appendIcon" | "onClick:append" | "onClick:prepend" | "validateOn" | "validationValue" | "hideDetails" | ("error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules") | "v-slot:details">, `$${any}`> & Omit<Omit<{
1133
+ }> & {} & vue.ComponentCustomProperties & {}, "id" | "name" | "label" | "$children" | "v-slot:default" | "$slots" | "v-slots" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "prependIcon" | "appendIcon" | "onClick:append" | "onClick:prepend" | "onUpdate:focused" | "validateOn" | "validationValue" | "hint" | "hideDetails" | ("error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint") | "v-slot:details">, `$${any}`> & Omit<Omit<{
1106
1134
  $: vue.ComponentInternalInstance;
1107
1135
  $data: {};
1108
1136
  $props: Partial<{
@@ -1153,6 +1181,7 @@ declare const VTextField: {
1153
1181
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1154
1182
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1155
1183
  focused: BooleanConstructor;
1184
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
1156
1185
  id: StringConstructor;
1157
1186
  }, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
1158
1187
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
@@ -1204,6 +1233,7 @@ declare const VTextField: {
1204
1233
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1205
1234
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1206
1235
  focused: BooleanConstructor;
1236
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
1207
1237
  id: StringConstructor;
1208
1238
  }, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
1209
1239
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
@@ -1280,6 +1310,7 @@ declare const VTextField: {
1280
1310
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1281
1311
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1282
1312
  focused: BooleanConstructor;
1313
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
1283
1314
  id: StringConstructor;
1284
1315
  }, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
1285
1316
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
@@ -1344,11 +1375,11 @@ declare const VTextField: {
1344
1375
  errorMessages: string | string[];
1345
1376
  maxErrors: string | number;
1346
1377
  rules: ValidationRule[];
1378
+ persistentHint: boolean;
1347
1379
  clearable: boolean;
1348
1380
  dirty: boolean;
1349
1381
  persistentClear: boolean;
1350
1382
  singleLine: boolean;
1351
- persistentHint: boolean;
1352
1383
  persistentPlaceholder: boolean;
1353
1384
  persistentCounter: boolean;
1354
1385
  } & {
@@ -1373,10 +1404,11 @@ declare const VTextField: {
1373
1404
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
1374
1405
  'onClick:appendInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
1375
1406
  'onClick:prependInner'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
1407
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
1376
1408
  validateOn?: "input" | "blur" | "submit" | undefined;
1377
1409
  validationValue?: any;
1378
- hideDetails?: boolean | "auto" | undefined;
1379
1410
  hint?: string | undefined;
1411
+ hideDetails?: boolean | "auto" | undefined;
1380
1412
  suffix?: string | undefined;
1381
1413
  counterValue?: ((value: any) => number) | undefined;
1382
1414
  modelModifiers?: Record<string, boolean> | undefined;
@@ -1443,6 +1475,7 @@ declare const VTextField: {
1443
1475
  errorMessages: string | string[];
1444
1476
  maxErrors: string | number;
1445
1477
  rules: ValidationRule[];
1478
+ persistentHint: boolean;
1446
1479
  }> & Omit<{
1447
1480
  error: boolean;
1448
1481
  direction: "horizontal" | "vertical";
@@ -1454,6 +1487,7 @@ declare const VTextField: {
1454
1487
  errorMessages: string | string[];
1455
1488
  maxErrors: string | number;
1456
1489
  rules: ValidationRule[];
1490
+ persistentHint: boolean;
1457
1491
  } & {
1458
1492
  id?: string | undefined;
1459
1493
  name?: string | undefined;
@@ -1463,8 +1497,10 @@ declare const VTextField: {
1463
1497
  appendIcon?: IconValue | undefined;
1464
1498
  'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
1465
1499
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
1500
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
1466
1501
  validateOn?: "input" | "blur" | "submit" | undefined;
1467
1502
  validationValue?: any;
1503
+ hint?: string | undefined;
1468
1504
  hideDetails?: boolean | "auto" | undefined;
1469
1505
  } & {
1470
1506
  $children?: {} | vue.VNodeChild | {
@@ -1492,7 +1528,7 @@ declare const VTextField: {
1492
1528
  "v-slot:details"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
1493
1529
  } & {
1494
1530
  "onUpdate:modelValue"?: ((val: any) => any) | undefined;
1495
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules">;
1531
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint">;
1496
1532
  $attrs: {
1497
1533
  [x: string]: unknown;
1498
1534
  };
@@ -1517,6 +1553,7 @@ declare const VTextField: {
1517
1553
  errorMessages: string | string[];
1518
1554
  maxErrors: string | number;
1519
1555
  rules: ValidationRule[];
1556
+ persistentHint: boolean;
1520
1557
  } & {
1521
1558
  id?: string | undefined;
1522
1559
  name?: string | undefined;
@@ -1526,8 +1563,10 @@ declare const VTextField: {
1526
1563
  appendIcon?: IconValue | undefined;
1527
1564
  'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
1528
1565
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
1566
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
1529
1567
  validateOn?: "input" | "blur" | "submit" | undefined;
1530
1568
  validationValue?: any;
1569
+ hint?: string | undefined;
1531
1570
  hideDetails?: boolean | "auto" | undefined;
1532
1571
  } & {
1533
1572
  $children?: {} | vue.VNodeChild | {
@@ -1572,6 +1611,7 @@ declare const VTextField: {
1572
1611
  errorMessages: string | string[];
1573
1612
  maxErrors: string | number;
1574
1613
  rules: ValidationRule[];
1614
+ persistentHint: boolean;
1575
1615
  }, {}, string> & {
1576
1616
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
1577
1617
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -1603,6 +1643,7 @@ declare const VTextField: {
1603
1643
  errorMessages: string | string[];
1604
1644
  maxErrors: string | number;
1605
1645
  rules: ValidationRule[];
1646
+ persistentHint: boolean;
1606
1647
  } & {
1607
1648
  id?: string | undefined;
1608
1649
  name?: string | undefined;
@@ -1612,8 +1653,10 @@ declare const VTextField: {
1612
1653
  appendIcon?: IconValue | undefined;
1613
1654
  'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
1614
1655
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
1656
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
1615
1657
  validateOn?: "input" | "blur" | "submit" | undefined;
1616
1658
  validationValue?: any;
1659
+ hint?: string | undefined;
1617
1660
  hideDetails?: boolean | "auto" | undefined;
1618
1661
  } & {
1619
1662
  $children?: {} | vue.VNodeChild | {
@@ -1645,7 +1688,7 @@ declare const VTextField: {
1645
1688
  reset: () => void;
1646
1689
  resetValidation: () => void;
1647
1690
  validate: () => Promise<string[]>;
1648
- }> & {} & vue.ComponentCustomProperties & {}, "id" | "name" | "label" | "$children" | "v-slot:default" | "$slots" | "v-slots" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "prependIcon" | "appendIcon" | "onClick:append" | "onClick:prepend" | "validateOn" | "validationValue" | "hideDetails" | ("error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules") | "v-slot:details">, `$${any}`> & Omit<Omit<{
1691
+ }> & {} & vue.ComponentCustomProperties & {}, "id" | "name" | "label" | "$children" | "v-slot:default" | "$slots" | "v-slots" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "prependIcon" | "appendIcon" | "onClick:append" | "onClick:prepend" | "onUpdate:focused" | "validateOn" | "validationValue" | "hint" | "hideDetails" | ("error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint") | "v-slot:details">, `$${any}`> & Omit<Omit<{
1649
1692
  $: vue.ComponentInternalInstance;
1650
1693
  $data: {};
1651
1694
  $props: Partial<{
@@ -1696,6 +1739,7 @@ declare const VTextField: {
1696
1739
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1697
1740
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1698
1741
  focused: BooleanConstructor;
1742
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
1699
1743
  id: StringConstructor;
1700
1744
  }, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
1701
1745
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
@@ -1747,6 +1791,7 @@ declare const VTextField: {
1747
1791
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1748
1792
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1749
1793
  focused: BooleanConstructor;
1794
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
1750
1795
  id: StringConstructor;
1751
1796
  }, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
1752
1797
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
@@ -1823,6 +1868,7 @@ declare const VTextField: {
1823
1868
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1824
1869
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1825
1870
  focused: BooleanConstructor;
1871
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
1826
1872
  id: StringConstructor;
1827
1873
  }, "$children" | "v-slot:default" | "$slots" | "v-slots" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner">>> & {
1828
1874
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
@@ -1889,11 +1935,11 @@ declare const VTextField: {
1889
1935
  errorMessages: string | string[];
1890
1936
  maxErrors: string | number;
1891
1937
  rules: ValidationRule[];
1938
+ persistentHint: boolean;
1892
1939
  clearable: boolean;
1893
1940
  dirty: boolean;
1894
1941
  persistentClear: boolean;
1895
1942
  singleLine: boolean;
1896
- persistentHint: boolean;
1897
1943
  persistentPlaceholder: boolean;
1898
1944
  persistentCounter: boolean;
1899
1945
  }, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
@@ -1930,6 +1976,7 @@ declare const VTextField: {
1930
1976
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1931
1977
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1932
1978
  focused: BooleanConstructor;
1979
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
1933
1980
  errorMessages: {
1934
1981
  type: PropType<string | string[]>;
1935
1982
  default: () => never[];
@@ -1956,6 +2003,8 @@ declare const VTextField: {
1956
2003
  appendIcon: PropType<IconValue>;
1957
2004
  prependIcon: PropType<IconValue>;
1958
2005
  hideDetails: PropType<boolean | "auto">;
2006
+ hint: StringConstructor;
2007
+ persistentHint: BooleanConstructor;
1959
2008
  messages: {
1960
2009
  type: PropType<string | string[]>;
1961
2010
  default: () => never[];
@@ -1970,8 +2019,6 @@ declare const VTextField: {
1970
2019
  autofocus: BooleanConstructor;
1971
2020
  counter: PropType<string | number | true>;
1972
2021
  counterValue: PropType<(value: any) => number>;
1973
- hint: StringConstructor;
1974
- persistentHint: BooleanConstructor;
1975
2022
  prefix: StringConstructor;
1976
2023
  placeholder: StringConstructor;
1977
2024
  persistentPlaceholder: BooleanConstructor;
@@ -2016,6 +2063,7 @@ declare const VTextField: {
2016
2063
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
2017
2064
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
2018
2065
  focused: BooleanConstructor;
2066
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
2019
2067
  errorMessages: {
2020
2068
  type: PropType<string | string[]>;
2021
2069
  default: () => never[];
@@ -2042,6 +2090,8 @@ declare const VTextField: {
2042
2090
  appendIcon: PropType<IconValue>;
2043
2091
  prependIcon: PropType<IconValue>;
2044
2092
  hideDetails: PropType<boolean | "auto">;
2093
+ hint: StringConstructor;
2094
+ persistentHint: BooleanConstructor;
2045
2095
  messages: {
2046
2096
  type: PropType<string | string[]>;
2047
2097
  default: () => never[];
@@ -2056,8 +2106,6 @@ declare const VTextField: {
2056
2106
  autofocus: BooleanConstructor;
2057
2107
  counter: PropType<string | number | true>;
2058
2108
  counterValue: PropType<(value: any) => number>;
2059
- hint: StringConstructor;
2060
- persistentHint: BooleanConstructor;
2061
2109
  prefix: StringConstructor;
2062
2110
  placeholder: StringConstructor;
2063
2111
  persistentPlaceholder: BooleanConstructor;