vuetify 3.3.12 → 3.4.0-alpha.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.
- package/dist/json/attributes.json +152 -16
- package/dist/json/importMap.json +4 -4
- package/dist/json/tags.json +34 -0
- package/dist/json/web-types.json +462 -48
- package/dist/vuetify-labs.css +1718 -606
- package/dist/vuetify-labs.d.ts +880 -276
- package/dist/vuetify-labs.esm.js +373 -189
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +372 -188
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1591 -479
- package/dist/vuetify.d.ts +865 -267
- package/dist/vuetify.esm.js +373 -189
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +372 -188
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +920 -905
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.mts +6 -6
- package/lib/components/VAutocomplete/VAutocomplete.mjs +6 -2
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +62 -14
- package/lib/components/VAvatar/VAvatar.mjs +2 -1
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/index.d.mts +6 -0
- package/lib/components/VBanner/VBanner.mjs +5 -3
- package/lib/components/VBanner/VBanner.mjs.map +1 -1
- package/lib/components/VBanner/index.d.mts +10 -0
- package/lib/components/VBottomNavigation/VBottomNavigation.css +1 -0
- package/lib/components/VBottomNavigation/VBottomNavigation.sass +1 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +9 -4
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.mts +28 -2
- package/lib/components/VBtn/VBtn.css +3 -0
- package/lib/components/VBtn/VBtn.sass +3 -0
- package/lib/components/VCarousel/index.d.mts +26 -0
- package/lib/components/VCheckbox/VCheckbox.mjs +2 -2
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +14 -11
- package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.mts +15 -1
- package/lib/components/VColorPicker/VColorPickerEdit.css +4 -2
- package/lib/components/VColorPicker/VColorPickerPreview.css +16 -6
- package/lib/components/VColorPicker/VColorPickerPreview.mjs +28 -2
- package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.sass +4 -0
- package/lib/components/VColorPicker/_variables.scss +1 -0
- package/lib/components/VCombobox/VCombobox.mjs +6 -2
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +62 -14
- package/lib/components/VDialog/index.d.mts +41 -20
- package/lib/components/VField/VField.css +11 -6
- package/lib/components/VField/VField.mjs +5 -3
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +1 -0
- package/lib/components/VField/index.d.mts +4 -4
- package/lib/components/VFileInput/VFileInput.css +4 -0
- package/lib/components/VFileInput/VFileInput.sass +5 -1
- package/lib/components/VFileInput/_variables.scss +2 -1
- package/lib/components/VFileInput/index.d.mts +4 -4
- package/lib/components/VGrid/VGrid.css +153 -142
- package/lib/components/VImg/VImg.mjs +13 -1
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/index.d.mts +26 -0
- package/lib/components/VList/VList.css +1 -1
- package/lib/components/VList/VList.sass +1 -1
- package/lib/components/VList/VListItem.css +15 -10
- package/lib/components/VList/VListItem.mjs +6 -3
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItem.sass +17 -10
- package/lib/components/VList/index.d.mts +12 -12
- package/lib/components/VMenu/VMenu.mjs +4 -3
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +46 -25
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +0 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +5 -3
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +0 -1
- package/lib/components/VNavigationDrawer/_variables.scss +0 -1
- package/lib/components/VNavigationDrawer/index.d.mts +10 -0
- package/lib/components/VOverlay/VOverlay.mjs +9 -4
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.mts +17 -8
- package/lib/components/VOverlay/locationStrategies.mjs +9 -9
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VOverlay/scrollStrategies.mjs +3 -3
- package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -1
- package/lib/components/VOverlay/useActivator.mjs +50 -21
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.css +3 -2
- package/lib/components/VRadio/index.d.mts +9 -1
- package/lib/components/VRadioGroup/VRadioGroup.css +6 -1
- package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -2
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.sass +5 -0
- package/lib/components/VRadioGroup/_variables.scss +3 -1
- package/lib/components/VRadioGroup/index.d.mts +3 -1
- package/lib/components/VRangeSlider/VRangeSlider.mjs +4 -2
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.d.mts +128 -33
- package/lib/components/VSelect/VSelect.mjs +14 -2
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +62 -14
- package/lib/components/VSelectionControl/VSelectionControl.mjs +27 -21
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.mts +33 -25
- package/lib/components/VSlideGroup/VSlideGroup.mjs +5 -3
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.mts +10 -0
- package/lib/components/VSlider/VSlider.mjs +2 -1
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/VSliderThumb.css +8 -4
- package/lib/components/VSlider/VSliderTrack.css +22 -12
- package/lib/components/VSlider/index.d.mts +128 -33
- package/lib/components/VSlider/slider.mjs +5 -1
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +41 -20
- package/lib/components/VSwitch/VSwitch.css +24 -17
- package/lib/components/VSwitch/VSwitch.mjs +37 -28
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.sass +20 -11
- package/lib/components/VSwitch/_variables.scss +18 -6
- package/lib/components/VSwitch/index.d.mts +9 -1
- package/lib/components/VTabs/index.d.mts +10 -0
- package/lib/components/VTextField/VTextField.css +9 -2
- package/lib/components/VTextField/VTextField.mjs +6 -3
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/VTextField.sass +10 -3
- package/lib/components/VTextField/index.d.mts +22 -16
- package/lib/components/VTextarea/VTextarea.mjs +1 -2
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.mts +4 -4
- package/lib/components/VTimeline/VTimeline.css +21 -11
- package/lib/components/VTimeline/VTimeline.sass +6 -1
- package/lib/components/VToolbar/VToolbar.css +4 -2
- package/lib/components/VTooltip/index.d.mts +41 -20
- package/lib/components/index.d.mts +836 -265
- package/lib/components/transitions/dialog-transition.mjs +4 -3
- package/lib/components/transitions/dialog-transition.mjs.map +1 -1
- package/lib/components/transitions/index.d.mts +6 -6
- package/lib/composables/defaults.mjs +9 -9
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/directiveComponent.mjs +69 -0
- package/lib/composables/directiveComponent.mjs.map +1 -0
- package/lib/composables/display.mjs +23 -3
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/theme.mjs +7 -7
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/iconsets/fa.mjs +2 -1
- package/lib/iconsets/fa.mjs.map +1 -1
- package/lib/iconsets/fa4.mjs +2 -1
- package/lib/iconsets/fa4.mjs.map +1 -1
- package/lib/iconsets/md.mjs +2 -1
- package/lib/iconsets/md.mjs.map +1 -1
- package/lib/iconsets/mdi-svg.mjs +2 -1
- package/lib/iconsets/mdi-svg.mjs.map +1 -1
- package/lib/iconsets/mdi.mjs +2 -1
- package/lib/iconsets/mdi.mjs.map +1 -1
- package/lib/index.d.mts +33 -2
- package/lib/labs/VBottomSheet/index.d.mts +14 -8
- package/lib/labs/VDateInput/index.d.mts +10 -4
- package/lib/labs/VDatePicker/VDatePickerControls.css +1 -1
- package/lib/labs/VOtpInput/index.d.mts +4 -4
- package/lib/labs/components.d.mts +18 -12
- package/lib/locale/af.mjs +1 -0
- package/lib/locale/af.mjs.map +1 -1
- package/lib/locale/ar.mjs +1 -0
- package/lib/locale/ar.mjs.map +1 -1
- package/lib/locale/az.mjs +1 -0
- package/lib/locale/az.mjs.map +1 -1
- package/lib/locale/bg.mjs +1 -0
- package/lib/locale/bg.mjs.map +1 -1
- package/lib/locale/ca.mjs +1 -0
- package/lib/locale/ca.mjs.map +1 -1
- package/lib/locale/ckb.mjs +1 -0
- package/lib/locale/ckb.mjs.map +1 -1
- package/lib/locale/cs.mjs +1 -0
- package/lib/locale/cs.mjs.map +1 -1
- package/lib/locale/da.mjs +1 -0
- package/lib/locale/da.mjs.map +1 -1
- package/lib/locale/de.mjs +1 -0
- package/lib/locale/de.mjs.map +1 -1
- package/lib/locale/el.mjs +1 -0
- package/lib/locale/el.mjs.map +1 -1
- package/lib/locale/en.mjs +1 -0
- package/lib/locale/en.mjs.map +1 -1
- package/lib/locale/es.mjs +1 -0
- package/lib/locale/es.mjs.map +1 -1
- package/lib/locale/et.mjs +1 -0
- package/lib/locale/et.mjs.map +1 -1
- package/lib/locale/fa.mjs +1 -0
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/locale/fi.mjs +1 -0
- package/lib/locale/fi.mjs.map +1 -1
- package/lib/locale/fr.mjs +1 -0
- package/lib/locale/fr.mjs.map +1 -1
- package/lib/locale/he.mjs +1 -0
- package/lib/locale/he.mjs.map +1 -1
- package/lib/locale/hr.mjs +1 -0
- package/lib/locale/hr.mjs.map +1 -1
- package/lib/locale/hu.mjs +1 -0
- package/lib/locale/hu.mjs.map +1 -1
- package/lib/locale/id.mjs +1 -0
- package/lib/locale/id.mjs.map +1 -1
- package/lib/locale/index.d.mts +42 -0
- package/lib/locale/it.mjs +1 -0
- package/lib/locale/it.mjs.map +1 -1
- package/lib/locale/ja.mjs +1 -0
- package/lib/locale/ja.mjs.map +1 -1
- package/lib/locale/ko.mjs +1 -0
- package/lib/locale/ko.mjs.map +1 -1
- package/lib/locale/lt.mjs +1 -0
- package/lib/locale/lt.mjs.map +1 -1
- package/lib/locale/lv.mjs +1 -0
- package/lib/locale/lv.mjs.map +1 -1
- package/lib/locale/nl.mjs +1 -0
- package/lib/locale/nl.mjs.map +1 -1
- package/lib/locale/no.mjs +1 -0
- package/lib/locale/no.mjs.map +1 -1
- package/lib/locale/pl.mjs +1 -0
- package/lib/locale/pl.mjs.map +1 -1
- package/lib/locale/pt.mjs +1 -0
- package/lib/locale/pt.mjs.map +1 -1
- package/lib/locale/ro.mjs +1 -0
- package/lib/locale/ro.mjs.map +1 -1
- package/lib/locale/ru.mjs +1 -0
- package/lib/locale/ru.mjs.map +1 -1
- package/lib/locale/sk.mjs +1 -0
- package/lib/locale/sk.mjs.map +1 -1
- package/lib/locale/sl.mjs +1 -0
- package/lib/locale/sl.mjs.map +1 -1
- package/lib/locale/sr-Cyrl.mjs +1 -0
- package/lib/locale/sr-Cyrl.mjs.map +1 -1
- package/lib/locale/sr-Latn.mjs +1 -0
- package/lib/locale/sr-Latn.mjs.map +1 -1
- package/lib/locale/sv.mjs +1 -0
- package/lib/locale/sv.mjs.map +1 -1
- package/lib/locale/th.mjs +1 -0
- package/lib/locale/th.mjs.map +1 -1
- package/lib/locale/tr.mjs +1 -0
- package/lib/locale/tr.mjs.map +1 -1
- package/lib/locale/uk.mjs +1 -0
- package/lib/locale/uk.mjs.map +1 -1
- package/lib/locale/vi.mjs +1 -0
- package/lib/locale/vi.mjs.map +1 -1
- package/lib/locale/zh-Hans.mjs +1 -0
- package/lib/locale/zh-Hans.mjs.map +1 -1
- package/lib/locale/zh-Hant.mjs +1 -0
- package/lib/locale/zh-Hant.mjs.map +1 -1
- package/lib/styles/main.css +1026 -0
- package/lib/styles/settings/_utilities.scss +20 -0
- package/lib/styles/tools/_rtl.sass +4 -2
- package/lib/util/box.mjs +12 -0
- package/lib/util/box.mjs.map +1 -1
- package/lib/util/globals.mjs +1 -0
- package/lib/util/globals.mjs.map +1 -1
- package/lib/util/helpers.mjs +19 -5
- package/lib/util/helpers.mjs.map +1 -1
- package/lib/util/injectSelf.mjs +2 -1
- package/lib/util/injectSelf.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VTextarea.mjs","names":["VCounter","VField","filterFieldProps","makeVFieldProps","makeVInputProps","VInput","useFocus","forwardRefs","useProxiedModel","Intersect","computed","nextTick","onBeforeUnmount","onMounted","ref","shallowRef","watch","watchEffect","callEvent","clamp","convertToUnit","filterInputAttrs","genericComponent","propsFactory","useRender","makeVTextareaProps","autoGrow","Boolean","autofocus","counter","Number","String","counterValue","Function","prefix","placeholder","persistentPlaceholder","persistentCounter","noResize","rows","type","default","validator","v","isNaN","parseFloat","maxRows","suffix","modelModifiers","Object","VTextarea","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","controlHeight","textareaRef","isActive","active","onFocus","document","activeElement","onControlClick","onControlMousedown","onClear","stopPropagation","onInput","el","trim","caretPosition","selectionStart","selectionEnd","sizerRef","isPlainOrUnderlined","includes","variant","calculateInputHeight","style","getComputedStyle","fieldStyle","$el","padding","getPropertyValue","height","scrollHeight","lineHeight","minHeight","Math","maxHeight","Infinity","newHeight","floor","density","observer","ResizeObserver","observe","disconnect","hasCounter","hasDetails","details","rootAttrs","inputAttrs","modelValue","_","inputProps","filterProps","fieldProps","_createVNode","_mergeProps","$event","class","_ref2","isDisabled","isDirty","isReadonly","isValid","dirty","_ref3","fieldClass","slotProps","_Fragment","_withDirectives","_resolveDirective","handler","once","_vModelText"],"sources":["../../../src/components/VTextarea/VTextarea.tsx"],"sourcesContent":["// Styles\nimport './VTextarea.sass'\nimport '../VTextField/VTextField.sass'\n\n// Components\nimport { VCounter } from '@/components/VCounter/VCounter'\nimport { VField } from '@/components/VField'\nimport { filterFieldProps, makeVFieldProps } from '@/components/VField/VField'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\n\n// Composables\nimport { useFocus } from '@/composables/focus'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Directives\nimport Intersect from '@/directives/intersect'\n\n// Utilities\nimport { computed, nextTick, onBeforeUnmount, onMounted, ref, shallowRef, watch, watchEffect } from 'vue'\nimport { callEvent, clamp, convertToUnit, filterInputAttrs, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { VCounterSlot } from '@/components/VCounter/VCounter'\nimport type { VFieldSlots } from '@/components/VField/VField'\nimport type { VInputSlots } from '@/components/VInput/VInput'\n\nexport const makeVTextareaProps = propsFactory({\n autoGrow: Boolean,\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 noResize: Boolean,\n rows: {\n type: [Number, String],\n default: 5,\n validator: (v: any) => !isNaN(parseFloat(v)),\n },\n maxRows: {\n type: [Number, String],\n validator: (v: any) => !isNaN(parseFloat(v)),\n },\n suffix: String,\n modelModifiers: Object as PropType<Record<string, boolean>>,\n\n ...makeVInputProps(),\n ...makeVFieldProps(),\n}, 'VTextarea')\n\ntype VTextareaSlots = Omit<VInputSlots & VFieldSlots, 'default'> & {\n counter: VCounterSlot\n}\n\nexport const VTextarea = genericComponent<VTextareaSlots>()({\n name: 'VTextarea',\n\n directives: { Intersect },\n\n inheritAttrs: false,\n\n props: makeVTextareaProps(),\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 string | number\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<VInput>()\n const controlHeight = shallowRef('')\n const textareaRef = ref<HTMLInputElement>()\n const isActive = computed(() => (\n props.persistentPlaceholder ||\n isFocused.value ||\n props.active\n ))\n\n function onFocus () {\n if (textareaRef.value !== document.activeElement) {\n textareaRef.value?.focus()\n }\n\n if (!isFocused.value) focus()\n }\n function onControlClick (e: MouseEvent) {\n onFocus()\n\n emit('click:control', e)\n }\n function onControlMousedown (e: MouseEvent) {\n emit('mousedown:control', e)\n }\n function onClear (e: MouseEvent) {\n e.stopPropagation()\n\n onFocus()\n\n nextTick(() => {\n model.value = ''\n\n callEvent(props['onClick:clear'], e)\n })\n }\n function onInput (e: Event) {\n const el = e.target as HTMLTextAreaElement\n model.value = el.value\n if (props.modelModifiers?.trim) {\n const caretPosition = [el.selectionStart, el.selectionEnd]\n nextTick(() => {\n el.selectionStart = caretPosition[0]\n el.selectionEnd = caretPosition[1]\n })\n }\n }\n\n const sizerRef = ref<HTMLTextAreaElement>()\n const rows = ref(+props.rows)\n const isPlainOrUnderlined = computed(() => ['plain', 'underlined'].includes(props.variant))\n watchEffect(() => {\n if (!props.autoGrow) rows.value = +props.rows\n })\n function calculateInputHeight () {\n if (!props.autoGrow) return\n\n nextTick(() => {\n if (!sizerRef.value || !vFieldRef.value) return\n\n const style = getComputedStyle(sizerRef.value)\n const fieldStyle = getComputedStyle(vFieldRef.value.$el)\n\n const padding = parseFloat(style.getPropertyValue('--v-field-padding-top')) +\n parseFloat(style.getPropertyValue('--v-input-padding-top')) +\n parseFloat(style.getPropertyValue('--v-field-padding-bottom'))\n\n const height = sizerRef.value.scrollHeight\n const lineHeight = parseFloat(style.lineHeight)\n const minHeight = Math.max(\n parseFloat(props.rows) * lineHeight + padding,\n parseFloat(fieldStyle.getPropertyValue('--v-input-control-height'))\n )\n const maxHeight = parseFloat(props.maxRows!) * lineHeight + padding || Infinity\n const newHeight = clamp(height ?? 0, minHeight, maxHeight)\n rows.value = Math.floor((newHeight - padding) / lineHeight)\n\n controlHeight.value = convertToUnit(newHeight)\n })\n }\n\n onMounted(calculateInputHeight)\n watch(model, calculateInputHeight)\n watch(() => props.rows, calculateInputHeight)\n watch(() => props.maxRows, calculateInputHeight)\n watch(() => props.density, calculateInputHeight)\n\n let observer: ResizeObserver | undefined\n watch(sizerRef, val => {\n if (val) {\n observer = new ResizeObserver(calculateInputHeight)\n observer.observe(sizerRef.value!)\n } else {\n observer?.disconnect()\n }\n })\n onBeforeUnmount(() => {\n observer?.disconnect()\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-textarea v-text-field',\n {\n 'v-textarea--prefixed': props.prefix,\n 'v-textarea--suffixed': props.suffix,\n 'v-text-field--prefixed': props.prefix,\n 'v-text-field--suffixed': props.suffix,\n 'v-textarea--auto-grow': props.autoGrow,\n 'v-textarea--no-resize': props.noResize || props.autoGrow,\n 'v-text-field--plain-underlined': isPlainOrUnderlined.value,\n },\n props.class,\n ]}\n style={ props.style }\n { ...rootAttrs }\n { ...inputProps }\n centerAffix={ rows.value === 1 && !isPlainOrUnderlined.value }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n default: ({\n isDisabled,\n isDirty,\n isReadonly,\n isValid,\n }) => (\n <VField\n ref={ vFieldRef }\n style={{\n '--v-textarea-control-height': controlHeight.value,\n }}\n onClick={ onControlClick }\n onMousedown={ onControlMousedown }\n onClick:clear={ onClear }\n onClick:prependInner={ props['onClick:prependInner'] }\n onClick:appendInner={ props['onClick:appendInner'] }\n role=\"textbox\"\n { ...fieldProps }\n active={ isActive.value || isDirty.value }\n centerAffix={ rows.value === 1 && !isPlainOrUnderlined.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 <>\n { props.prefix && (\n <span class=\"v-text-field__prefix\">\n { props.prefix }\n </span>\n )}\n\n <textarea\n ref={ textareaRef }\n class={ fieldClass }\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 placeholder={ props.placeholder }\n rows={ props.rows }\n name={ props.name }\n onFocus={ onFocus }\n onBlur={ blur }\n { ...slotProps }\n { ...inputAttrs }\n />\n\n { props.autoGrow && (\n <textarea\n class={[\n fieldClass,\n 'v-textarea__sizer',\n ]}\n v-model={ model.value }\n ref={ sizerRef }\n readonly\n aria-hidden=\"true\"\n />\n )}\n\n { props.suffix && (\n <span class=\"v-text-field__suffix\">\n { props.suffix }\n </span>\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, textareaRef)\n },\n})\n\nexport type VTextarea = InstanceType<typeof VTextarea>\n"],"mappings":";AAAA;AACA;AACA;;AAEA;AAAA,SACSA,QAAQ;AAAA,SACRC,MAAM;AAAA,SACNC,gBAAgB,EAAEC,eAAe;AAAA,SACjCC,eAAe,EAAEC,MAAM,gCAEhC;AAAA,SACSC,QAAQ;AAAA,SACRC,WAAW;AAAA,SACXC,eAAe,8CAExB;AAAA,OACOC,SAAS,8CAEhB;AACA,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,eAAe,EAAEC,SAAS,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,EAAEC,WAAW,QAAQ,KAAK;AAAA,SAChGC,SAAS,EAAEC,KAAK,EAAEC,aAAa,EAAEC,gBAAgB,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAErG;AAMA,OAAO,MAAMC,kBAAkB,GAAGF,YAAY,CAAC;EAC7CG,QAAQ,EAA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ACZC,OAAO,EAAE1E;cACX,CAAC,EAAE,IAAI;gBAAA2E,IAAA;cAAA,MAaP/F,KAAK,CAAC5B,QAAQ,IAAAwH,eAAA,CAAAd,YAAA;gBAAA,SAEL,CACLW,UAAU,EACV,mBAAmB,CACpB;gBAAA,uBAAAT,MAAA,IACStE,KAAK,CAACI,KAAK,GAAAkE,MAAA;gBAAA,OACfrC,QAAQ;gBAAA;gBAAA,eAEF;cAAM,YAAAqD,WAAA,EAHRtF,KAAK,CAACI,KAAK,GAKxB,EAECd,KAAK,CAACP,MAAM,IAAAqF,YAAA;gBAAA,SACA;cAAsB,IAC9B9E,KAAK,CAACP,MAAM,EAEjB;YAAA;UAEJ;QAAA,CAGN;QACD6E,OAAO,EAAED,UAAU,GAAGqB,SAAS,IAAAZ,YAAA,CAAAa,SAAA,SAEzBlF,KAAK,CAAC6D,OAAO,GAAGoB,SAAS,CAAC,EAE1BtB,UAAU,IAAAU,YAAA,CAAAa,SAAA,SAAAb,YAAA,sBAAAA,YAAA,CAAApI,QAAA;UAAA,UAKGsD,KAAK,CAACjB,iBAAiB,IAAI4B,SAAS,CAACG,KAAK;UAAA,SAC3CpC,YAAY,CAACoC,KAAK;UAAA,OACpBG,GAAG,CAACH;QAAK,GACGL,KAAK,CAAClC,OAAO,GAGpC,EAEJ,GAAG4C;MAAS;IAIrB,CAAC,CAAC;IAEF,OAAOlE,WAAW,CAAC,CAAC,CAAC,EAAEuE,SAAS,EAAEC,SAAS,EAAEE,WAAW,CAAC;EAC3D;AACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"VTextarea.mjs","names":["VCounter","VField","filterFieldProps","makeVFieldProps","makeVInputProps","VInput","useFocus","forwardRefs","useProxiedModel","Intersect","computed","nextTick","onBeforeUnmount","onMounted","ref","shallowRef","watch","watchEffect","callEvent","clamp","convertToUnit","filterInputAttrs","genericComponent","propsFactory","useRender","makeVTextareaProps","autoGrow","Boolean","autofocus","counter","Number","String","counterValue","Function","prefix","placeholder","persistentPlaceholder","persistentCounter","noResize","rows","type","default","validator","v","isNaN","parseFloat","maxRows","suffix","modelModifiers","Object","VTextarea","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","controlHeight","textareaRef","isActive","active","onFocus","document","activeElement","onControlClick","onControlMousedown","onClear","stopPropagation","onInput","el","trim","caretPosition","selectionStart","selectionEnd","sizerRef","isPlainOrUnderlined","includes","variant","calculateInputHeight","style","getComputedStyle","fieldStyle","$el","padding","getPropertyValue","height","scrollHeight","lineHeight","minHeight","Math","maxHeight","Infinity","newHeight","floor","density","observer","ResizeObserver","observe","disconnect","hasCounter","hasDetails","details","rootAttrs","inputAttrs","modelValue","_","inputProps","filterProps","fieldProps","_createVNode","_mergeProps","$event","class","_ref2","isDisabled","isDirty","isReadonly","isValid","dirty","_ref3","fieldClass","slotProps","_Fragment","_withDirectives","_resolveDirective","handler","once","_vModelText"],"sources":["../../../src/components/VTextarea/VTextarea.tsx"],"sourcesContent":["// Styles\nimport './VTextarea.sass'\nimport '../VTextField/VTextField.sass'\n\n// Components\nimport { VCounter } from '@/components/VCounter/VCounter'\nimport { VField } from '@/components/VField'\nimport { filterFieldProps, makeVFieldProps } from '@/components/VField/VField'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\n\n// Composables\nimport { useFocus } from '@/composables/focus'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Directives\nimport Intersect from '@/directives/intersect'\n\n// Utilities\nimport { computed, nextTick, onBeforeUnmount, onMounted, ref, shallowRef, watch, watchEffect } from 'vue'\nimport { callEvent, clamp, convertToUnit, filterInputAttrs, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { VCounterSlot } from '@/components/VCounter/VCounter'\nimport type { VFieldSlots } from '@/components/VField/VField'\nimport type { VInputSlots } from '@/components/VInput/VInput'\n\nexport const makeVTextareaProps = propsFactory({\n autoGrow: Boolean,\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 noResize: Boolean,\n rows: {\n type: [Number, String],\n default: 5,\n validator: (v: any) => !isNaN(parseFloat(v)),\n },\n maxRows: {\n type: [Number, String],\n validator: (v: any) => !isNaN(parseFloat(v)),\n },\n suffix: String,\n modelModifiers: Object as PropType<Record<string, boolean>>,\n\n ...makeVInputProps(),\n ...makeVFieldProps(),\n}, 'VTextarea')\n\ntype VTextareaSlots = Omit<VInputSlots & VFieldSlots, 'default'> & {\n counter: VCounterSlot\n}\n\nexport const VTextarea = genericComponent<VTextareaSlots>()({\n name: 'VTextarea',\n\n directives: { Intersect },\n\n inheritAttrs: false,\n\n props: makeVTextareaProps(),\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 string | number\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<VInput>()\n const controlHeight = shallowRef('')\n const textareaRef = ref<HTMLInputElement>()\n const isActive = computed(() => (\n props.persistentPlaceholder ||\n isFocused.value ||\n props.active\n ))\n\n function onFocus () {\n if (textareaRef.value !== document.activeElement) {\n textareaRef.value?.focus()\n }\n\n if (!isFocused.value) focus()\n }\n function onControlClick (e: MouseEvent) {\n onFocus()\n\n emit('click:control', e)\n }\n function onControlMousedown (e: MouseEvent) {\n emit('mousedown:control', e)\n }\n function onClear (e: MouseEvent) {\n e.stopPropagation()\n\n onFocus()\n\n nextTick(() => {\n model.value = ''\n\n callEvent(props['onClick:clear'], e)\n })\n }\n function onInput (e: Event) {\n const el = e.target as HTMLTextAreaElement\n model.value = el.value\n if (props.modelModifiers?.trim) {\n const caretPosition = [el.selectionStart, el.selectionEnd]\n nextTick(() => {\n el.selectionStart = caretPosition[0]\n el.selectionEnd = caretPosition[1]\n })\n }\n }\n\n const sizerRef = ref<HTMLTextAreaElement>()\n const rows = ref(+props.rows)\n const isPlainOrUnderlined = computed(() => ['plain', 'underlined'].includes(props.variant))\n watchEffect(() => {\n if (!props.autoGrow) rows.value = +props.rows\n })\n function calculateInputHeight () {\n if (!props.autoGrow) return\n\n nextTick(() => {\n if (!sizerRef.value || !vFieldRef.value) return\n\n const style = getComputedStyle(sizerRef.value)\n const fieldStyle = getComputedStyle(vFieldRef.value.$el)\n\n const padding = parseFloat(style.getPropertyValue('--v-field-padding-top')) +\n parseFloat(style.getPropertyValue('--v-input-padding-top')) +\n parseFloat(style.getPropertyValue('--v-field-padding-bottom'))\n\n const height = sizerRef.value.scrollHeight\n const lineHeight = parseFloat(style.lineHeight)\n const minHeight = Math.max(\n parseFloat(props.rows) * lineHeight + padding,\n parseFloat(fieldStyle.getPropertyValue('--v-input-control-height'))\n )\n const maxHeight = parseFloat(props.maxRows!) * lineHeight + padding || Infinity\n const newHeight = clamp(height ?? 0, minHeight, maxHeight)\n rows.value = Math.floor((newHeight - padding) / lineHeight)\n\n controlHeight.value = convertToUnit(newHeight)\n })\n }\n\n onMounted(calculateInputHeight)\n watch(model, calculateInputHeight)\n watch(() => props.rows, calculateInputHeight)\n watch(() => props.maxRows, calculateInputHeight)\n watch(() => props.density, calculateInputHeight)\n\n let observer: ResizeObserver | undefined\n watch(sizerRef, val => {\n if (val) {\n observer = new ResizeObserver(calculateInputHeight)\n observer.observe(sizerRef.value!)\n } else {\n observer?.disconnect()\n }\n })\n onBeforeUnmount(() => {\n observer?.disconnect()\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-textarea v-text-field',\n {\n 'v-textarea--prefixed': props.prefix,\n 'v-textarea--suffixed': props.suffix,\n 'v-text-field--prefixed': props.prefix,\n 'v-text-field--suffixed': props.suffix,\n 'v-textarea--auto-grow': props.autoGrow,\n 'v-textarea--no-resize': props.noResize || props.autoGrow,\n 'v-text-field--plain-underlined': isPlainOrUnderlined.value,\n },\n props.class,\n ]}\n style={ props.style }\n { ...rootAttrs }\n { ...inputProps }\n centerAffix={ rows.value === 1 && !isPlainOrUnderlined.value }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n default: ({\n isDisabled,\n isDirty,\n isReadonly,\n isValid,\n }) => (\n <VField\n ref={ vFieldRef }\n style={{\n '--v-textarea-control-height': controlHeight.value,\n }}\n onClick={ onControlClick }\n onMousedown={ onControlMousedown }\n onClick:clear={ onClear }\n onClick:prependInner={ props['onClick:prependInner'] }\n onClick:appendInner={ props['onClick:appendInner'] }\n { ...fieldProps }\n active={ isActive.value || isDirty.value }\n centerAffix={ rows.value === 1 && !isPlainOrUnderlined.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 <>\n { props.prefix && (\n <span class=\"v-text-field__prefix\">\n { props.prefix }\n </span>\n )}\n\n <textarea\n ref={ textareaRef }\n class={ fieldClass }\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 placeholder={ props.placeholder }\n rows={ props.rows }\n name={ props.name }\n onFocus={ onFocus }\n onBlur={ blur }\n { ...slotProps }\n { ...inputAttrs }\n />\n\n { props.autoGrow && (\n <textarea\n class={[\n fieldClass,\n 'v-textarea__sizer',\n ]}\n v-model={ model.value }\n ref={ sizerRef }\n readonly\n aria-hidden=\"true\"\n />\n )}\n\n { props.suffix && (\n <span class=\"v-text-field__suffix\">\n { props.suffix }\n </span>\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, textareaRef)\n },\n})\n\nexport type VTextarea = InstanceType<typeof VTextarea>\n"],"mappings":";AAAA;AACA;AACA;;AAEA;AAAA,SACSA,QAAQ;AAAA,SACRC,MAAM;AAAA,SACNC,gBAAgB,EAAEC,eAAe;AAAA,SACjCC,eAAe,EAAEC,MAAM,gCAEhC;AAAA,SACSC,QAAQ;AAAA,SACRC,WAAW;AAAA,SACXC,eAAe,8CAExB;AAAA,OACOC,SAAS,8CAEhB;AACA,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,eAAe,EAAEC,SAAS,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,EAAEC,WAAW,QAAQ,KAAK;AAAA,SAChGC,SAAS,EAAEC,KAAK,EAAEC,aAAa,EAAEC,gBAAgB,EAAEC,gBAAgB,EAA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C,OAAO;gBAAA,UACRjB;cAAI,GACR6E,SAAS,EACTlB,UAAU,YAAAqB,iBAAA,eAZD;gBACZC,OAAO,EAAE1E;cACX,CAAC,EAAE,IAAI;gBAAA2E,IAAA;cAAA,MAaP/F,KAAK,CAAC5B,QAAQ,IAAAwH,eAAA,CAAAd,YAAA;gBAAA,SAEL,CACLW,UAAU,EACV,mBAAmB,CACpB;gBAAA,uBAAAT,MAAA,IACStE,KAAK,CAACI,KAAK,GAAAkE,MAAA;gBAAA,OACfrC,QAAQ;gBAAA;gBAAA,eAEF;cAAM,YAAAqD,WAAA,EAHRtF,KAAK,CAACI,KAAK,GAKxB,EAECd,KAAK,CAACP,MAAM,IAAAqF,YAAA;gBAAA,SACA;cAAsB,IAC9B9E,KAAK,CAACP,MAAM,EAEjB;YAAA;UAEJ;QAAA,CAGN;QACD6E,OAAO,EAAED,UAAU,GAAGqB,SAAS,IAAAZ,YAAA,CAAAa,SAAA,SAEzBlF,KAAK,CAAC6D,OAAO,GAAGoB,SAAS,CAAC,EAE1BtB,UAAU,IAAAU,YAAA,CAAAa,SAAA,SAAAb,YAAA,sBAAAA,YAAA,CAAApI,QAAA;UAAA,UAKGsD,KAAK,CAACjB,iBAAiB,IAAI4B,SAAS,CAACG,KAAK;UAAA,SAC3CpC,YAAY,CAACoC,KAAK;UAAA,OACpBG,GAAG,CAACH;QAAK,GACGL,KAAK,CAAClC,OAAO,GAGpC,EAEJ,GAAG4C;MAAS;IAIrB,CAAC,CAAC;IAEF,OAAOlE,WAAW,CAAC,CAAC,CAAC,EAAEuE,SAAS,EAAEC,SAAS,EAAEE,WAAW,CAAC;EAC3D;AACF,CAAC,CAAC"}
|
|
@@ -177,6 +177,7 @@ declare const VTextarea: {
|
|
|
177
177
|
prependIcon?: IconValue | undefined;
|
|
178
178
|
appendIcon?: IconValue | undefined;
|
|
179
179
|
"v-slot:loader"?: false | ((arg: LoaderSlotProps) => vue.VNodeChild) | undefined;
|
|
180
|
+
baseColor?: string | undefined;
|
|
180
181
|
"v-slot:label"?: false | ((arg: DefaultInputSlot & {
|
|
181
182
|
label: string | undefined;
|
|
182
183
|
props: Record<string, any>;
|
|
@@ -195,7 +196,6 @@ declare const VTextarea: {
|
|
|
195
196
|
hint?: string | undefined;
|
|
196
197
|
hideDetails?: boolean | "auto" | undefined;
|
|
197
198
|
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
198
|
-
baseColor?: string | undefined;
|
|
199
199
|
"v-slot:clear"?: false | (() => vue.VNodeChild) | undefined;
|
|
200
200
|
"v-slot:prepend-inner"?: false | ((arg: DefaultInputSlot) => vue.VNodeChild) | undefined;
|
|
201
201
|
"v-slot:append-inner"?: false | ((arg: DefaultInputSlot) => vue.VNodeChild) | undefined;
|
|
@@ -296,6 +296,7 @@ declare const VTextarea: {
|
|
|
296
296
|
bgColor?: string | undefined;
|
|
297
297
|
prependIcon?: IconValue | undefined;
|
|
298
298
|
appendIcon?: IconValue | undefined;
|
|
299
|
+
baseColor?: string | undefined;
|
|
299
300
|
appendInnerIcon?: IconValue | undefined;
|
|
300
301
|
prependInnerIcon?: IconValue | undefined;
|
|
301
302
|
'onClick:clear'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
@@ -309,7 +310,6 @@ declare const VTextarea: {
|
|
|
309
310
|
centerAffix?: boolean | undefined;
|
|
310
311
|
hint?: string | undefined;
|
|
311
312
|
hideDetails?: boolean | "auto" | undefined;
|
|
312
|
-
baseColor?: string | undefined;
|
|
313
313
|
suffix?: string | undefined;
|
|
314
314
|
counterValue?: ((value: any) => number) | undefined;
|
|
315
315
|
modelModifiers?: Record<string, boolean> | undefined;
|
|
@@ -782,6 +782,7 @@ declare const VTextarea: {
|
|
|
782
782
|
bgColor?: string | undefined;
|
|
783
783
|
prependIcon?: IconValue | undefined;
|
|
784
784
|
appendIcon?: IconValue | undefined;
|
|
785
|
+
baseColor?: string | undefined;
|
|
785
786
|
appendInnerIcon?: IconValue | undefined;
|
|
786
787
|
prependInnerIcon?: IconValue | undefined;
|
|
787
788
|
'onClick:clear'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
@@ -795,7 +796,6 @@ declare const VTextarea: {
|
|
|
795
796
|
centerAffix?: boolean | undefined;
|
|
796
797
|
hint?: string | undefined;
|
|
797
798
|
hideDetails?: boolean | "auto" | undefined;
|
|
798
|
-
baseColor?: string | undefined;
|
|
799
799
|
suffix?: string | undefined;
|
|
800
800
|
counterValue?: ((value: any) => number) | undefined;
|
|
801
801
|
modelModifiers?: Record<string, boolean> | undefined;
|
|
@@ -1183,6 +1183,7 @@ declare const VTextarea: {
|
|
|
1183
1183
|
bgColor?: string | undefined;
|
|
1184
1184
|
prependIcon?: IconValue | undefined;
|
|
1185
1185
|
appendIcon?: IconValue | undefined;
|
|
1186
|
+
baseColor?: string | undefined;
|
|
1186
1187
|
appendInnerIcon?: IconValue | undefined;
|
|
1187
1188
|
prependInnerIcon?: IconValue | undefined;
|
|
1188
1189
|
'onClick:clear'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
|
|
@@ -1196,7 +1197,6 @@ declare const VTextarea: {
|
|
|
1196
1197
|
centerAffix?: boolean | undefined;
|
|
1197
1198
|
hint?: string | undefined;
|
|
1198
1199
|
hideDetails?: boolean | "auto" | undefined;
|
|
1199
|
-
baseColor?: string | undefined;
|
|
1200
1200
|
suffix?: string | undefined;
|
|
1201
1201
|
counterValue?: ((value: any) => number) | undefined;
|
|
1202
1202
|
modelModifiers?: Record<string, boolean> | undefined;
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
position: relative;
|
|
12
12
|
}
|
|
13
13
|
.v-timeline--horizontal.v-timeline {
|
|
14
|
-
grid-column-gap: 24px;
|
|
15
14
|
width: 100%;
|
|
16
15
|
}
|
|
17
16
|
.v-timeline--horizontal.v-timeline .v-timeline-item:first-child .v-timeline-divider, .v-timeline--horizontal.v-timeline .v-timeline-item:first-child .v-timeline-item__body, .v-timeline--horizontal.v-timeline .v-timeline-item:first-child .v-timeline-item__opposite {
|
|
@@ -20,6 +19,12 @@
|
|
|
20
19
|
.v-timeline--horizontal.v-timeline .v-timeline-item:last-child .v-timeline-divider, .v-timeline--horizontal.v-timeline .v-timeline-item:last-child .v-timeline-item__body, .v-timeline--horizontal.v-timeline .v-timeline-item:last-child .v-timeline-item__opposite {
|
|
21
20
|
padding-inline-end: 24px;
|
|
22
21
|
}
|
|
22
|
+
.v-timeline--horizontal.v-timeline .v-timeline-item__body {
|
|
23
|
+
padding-inline-end: 24px;
|
|
24
|
+
}
|
|
25
|
+
.v-timeline--horizontal.v-timeline .v-timeline-item__opposite {
|
|
26
|
+
padding-inline-end: 24px;
|
|
27
|
+
}
|
|
23
28
|
.v-timeline--horizontal.v-timeline .v-timeline-item:nth-child(2n) .v-timeline-item__body {
|
|
24
29
|
grid-row: 3;
|
|
25
30
|
padding-block-start: 24px;
|
|
@@ -96,11 +101,12 @@
|
|
|
96
101
|
height: var(--v-timeline-line-thickness);
|
|
97
102
|
width: calc(var(--v-timeline-line-size-base) + 12px - var(--v-timeline-line-inset));
|
|
98
103
|
}
|
|
99
|
-
.v-timeline--horizontal .v-timeline-divider__before
|
|
104
|
+
.v-locale--is-ltr.v-timeline--horizontal .v-timeline-divider__before, .v-locale--is-ltr .v-timeline--horizontal .v-timeline-divider__before {
|
|
100
105
|
left: -12px;
|
|
101
106
|
right: initial;
|
|
102
107
|
}
|
|
103
|
-
|
|
108
|
+
|
|
109
|
+
.v-locale--is-rtl.v-timeline--horizontal .v-timeline-divider__before, .v-locale--is-rtl .v-timeline--horizontal .v-timeline-divider__before {
|
|
104
110
|
right: -12px;
|
|
105
111
|
left: initial;
|
|
106
112
|
}
|
|
@@ -119,11 +125,12 @@
|
|
|
119
125
|
height: var(--v-timeline-line-thickness);
|
|
120
126
|
width: calc(var(--v-timeline-line-size-base) + 12px - var(--v-timeline-line-inset));
|
|
121
127
|
}
|
|
122
|
-
.v-timeline--horizontal .v-timeline-divider__after
|
|
128
|
+
.v-locale--is-ltr.v-timeline--horizontal .v-timeline-divider__after, .v-locale--is-ltr .v-timeline--horizontal .v-timeline-divider__after {
|
|
123
129
|
right: -12px;
|
|
124
130
|
left: initial;
|
|
125
131
|
}
|
|
126
|
-
|
|
132
|
+
|
|
133
|
+
.v-locale--is-rtl.v-timeline--horizontal .v-timeline-divider__after, .v-locale--is-rtl .v-timeline--horizontal .v-timeline-divider__after {
|
|
127
134
|
left: -12px;
|
|
128
135
|
right: initial;
|
|
129
136
|
}
|
|
@@ -143,11 +150,12 @@
|
|
|
143
150
|
.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__before {
|
|
144
151
|
width: calc(var(--v-timeline-line-size-base) + 12px - var(--v-timeline-line-inset));
|
|
145
152
|
}
|
|
146
|
-
.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__before
|
|
153
|
+
.v-locale--is-ltr.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__before, .v-locale--is-ltr .v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__before {
|
|
147
154
|
left: 0;
|
|
148
155
|
right: initial;
|
|
149
156
|
}
|
|
150
|
-
|
|
157
|
+
|
|
158
|
+
.v-locale--is-rtl.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__before, .v-locale--is-rtl .v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__before {
|
|
151
159
|
right: 0;
|
|
152
160
|
left: initial;
|
|
153
161
|
}
|
|
@@ -159,11 +167,12 @@
|
|
|
159
167
|
.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__after {
|
|
160
168
|
width: calc(var(--v-timeline-line-size-base) - var(--v-timeline-line-inset) + var(--v-timeline-line-size-offset));
|
|
161
169
|
}
|
|
162
|
-
.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__after
|
|
170
|
+
.v-locale--is-ltr.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__after, .v-locale--is-ltr .v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__after {
|
|
163
171
|
right: -12px;
|
|
164
172
|
left: initial;
|
|
165
173
|
}
|
|
166
|
-
|
|
174
|
+
|
|
175
|
+
.v-locale--is-rtl.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__after, .v-locale--is-rtl .v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__after {
|
|
167
176
|
left: -12px;
|
|
168
177
|
right: initial;
|
|
169
178
|
}
|
|
@@ -184,11 +193,12 @@
|
|
|
184
193
|
.v-timeline--horizontal .v-timeline-item:last-child .v-timeline-divider__after {
|
|
185
194
|
width: calc(var(--v-timeline-line-size-base) + 12px - var(--v-timeline-line-inset));
|
|
186
195
|
}
|
|
187
|
-
.v-timeline--horizontal .v-timeline-item:last-child .v-timeline-divider__after
|
|
196
|
+
.v-locale--is-ltr.v-timeline--horizontal .v-timeline-item:last-child .v-timeline-divider__after, .v-locale--is-ltr .v-timeline--horizontal .v-timeline-item:last-child .v-timeline-divider__after {
|
|
188
197
|
right: 0;
|
|
189
198
|
left: initial;
|
|
190
199
|
}
|
|
191
|
-
|
|
200
|
+
|
|
201
|
+
.v-locale--is-rtl.v-timeline--horizontal .v-timeline-item:last-child .v-timeline-divider__after, .v-locale--is-rtl .v-timeline--horizontal .v-timeline-item:last-child .v-timeline-divider__after {
|
|
192
202
|
left: 0;
|
|
193
203
|
right: initial;
|
|
194
204
|
}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
position: relative
|
|
20
20
|
|
|
21
21
|
@include horizontal(true)
|
|
22
|
-
grid-column-gap: $timeline-item-padding
|
|
23
22
|
width: 100%
|
|
24
23
|
|
|
25
24
|
@include timeline-first-item()
|
|
@@ -28,6 +27,12 @@
|
|
|
28
27
|
@include timeline-last-item()
|
|
29
28
|
padding-inline-end: $timeline-item-padding
|
|
30
29
|
|
|
30
|
+
.v-timeline-item__body
|
|
31
|
+
padding-inline-end: $timeline-item-padding
|
|
32
|
+
|
|
33
|
+
.v-timeline-item__opposite
|
|
34
|
+
padding-inline-end: $timeline-item-padding
|
|
35
|
+
|
|
31
36
|
.v-timeline-item:nth-child(2n)
|
|
32
37
|
.v-timeline-item__body
|
|
33
38
|
grid-row: 3
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
.v-toolbar--collapse .v-toolbar-title {
|
|
33
33
|
display: none;
|
|
34
34
|
}
|
|
35
|
-
.v-
|
|
35
|
+
.v-locale--is-ltr.v-toolbar--collapse, .v-locale--is-ltr .v-toolbar--collapse {
|
|
36
36
|
border-bottom-right-radius: 24px;
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
|
|
39
|
+
.v-locale--is-rtl.v-toolbar--collapse, .v-locale--is-rtl .v-toolbar--collapse {
|
|
39
40
|
border-bottom-left-radius: 24px;
|
|
40
41
|
}
|
|
42
|
+
|
|
41
43
|
.v-toolbar--flat {
|
|
42
44
|
box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
|
|
43
45
|
}
|
|
@@ -4,7 +4,7 @@ import { Ref, EffectScope, ComponentPropsOptions, ExtractPropTypes } from 'vue';
|
|
|
4
4
|
interface ScrollStrategyData {
|
|
5
5
|
root: Ref<HTMLElement | undefined>;
|
|
6
6
|
contentEl: Ref<HTMLElement | undefined>;
|
|
7
|
-
|
|
7
|
+
targetEl: Ref<HTMLElement | undefined>;
|
|
8
8
|
isActive: Ref<boolean>;
|
|
9
9
|
updateLocation: Ref<((e: Event) => void) | undefined>;
|
|
10
10
|
}
|
|
@@ -52,7 +52,7 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
|
|
|
52
52
|
|
|
53
53
|
interface LocationStrategyData {
|
|
54
54
|
contentEl: Ref<HTMLElement | undefined>;
|
|
55
|
-
|
|
55
|
+
target: Ref<HTMLElement | [x: number, y: number] | undefined>;
|
|
56
56
|
isActive: Ref<boolean>;
|
|
57
57
|
isRtl: Ref<boolean>;
|
|
58
58
|
}
|
|
@@ -122,6 +122,7 @@ declare const VTooltip: {
|
|
|
122
122
|
maxWidth?: string | number | undefined;
|
|
123
123
|
minHeight?: string | number | undefined;
|
|
124
124
|
text?: string | undefined;
|
|
125
|
+
target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
125
126
|
class?: any;
|
|
126
127
|
$children?: vue.VNodeChild | {
|
|
127
128
|
default?: ((arg: {
|
|
@@ -190,7 +191,7 @@ declare const VTooltip: {
|
|
|
190
191
|
[key: string]: any;
|
|
191
192
|
}>) => void)[] | undefined;
|
|
192
193
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
193
|
-
activator?:
|
|
194
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
194
195
|
"v-slot:activator"?: false | ((arg: {
|
|
195
196
|
isActive: boolean;
|
|
196
197
|
props: Record<string, any>;
|
|
@@ -256,10 +257,11 @@ declare const VTooltip: {
|
|
|
256
257
|
maxWidth?: string | number | undefined;
|
|
257
258
|
minHeight?: string | number | undefined;
|
|
258
259
|
text?: string | undefined;
|
|
260
|
+
target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
259
261
|
class?: any;
|
|
260
262
|
theme?: string | undefined;
|
|
261
263
|
contentClass?: any;
|
|
262
|
-
activator?:
|
|
264
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
263
265
|
closeDelay?: string | number | undefined;
|
|
264
266
|
openDelay?: string | number | undefined;
|
|
265
267
|
openOnFocus?: boolean | undefined;
|
|
@@ -334,6 +336,7 @@ declare const VTooltip: {
|
|
|
334
336
|
maxWidth?: string | number | undefined;
|
|
335
337
|
minHeight?: string | number | undefined;
|
|
336
338
|
minWidth?: string | number | undefined;
|
|
339
|
+
target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
337
340
|
class?: any;
|
|
338
341
|
onAfterLeave?: (() => any) | undefined;
|
|
339
342
|
$children?: vue.VNodeChild | {
|
|
@@ -403,7 +406,7 @@ declare const VTooltip: {
|
|
|
403
406
|
[key: string]: any;
|
|
404
407
|
}>) => void)[] | undefined;
|
|
405
408
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
406
|
-
activator?:
|
|
409
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
407
410
|
"v-slot:activator"?: false | ((arg: {
|
|
408
411
|
isActive: boolean;
|
|
409
412
|
props: Record<string, any>;
|
|
@@ -470,10 +473,11 @@ declare const VTooltip: {
|
|
|
470
473
|
maxWidth?: string | number | undefined;
|
|
471
474
|
minHeight?: string | number | undefined;
|
|
472
475
|
minWidth?: string | number | undefined;
|
|
476
|
+
target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
473
477
|
class?: any;
|
|
474
478
|
theme?: string | undefined;
|
|
475
479
|
contentClass?: any;
|
|
476
|
-
activator?:
|
|
480
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
477
481
|
closeDelay?: string | number | undefined;
|
|
478
482
|
openDelay?: string | number | undefined;
|
|
479
483
|
openOnClick?: boolean | undefined;
|
|
@@ -515,6 +519,7 @@ declare const VTooltip: {
|
|
|
515
519
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
516
520
|
}, {
|
|
517
521
|
activatorEl: vue.Ref<HTMLElement | undefined>;
|
|
522
|
+
target: vue.ComputedRef<HTMLElement | [x: number, y: number] | undefined>;
|
|
518
523
|
animateClick: () => void;
|
|
519
524
|
contentEl: vue.Ref<HTMLElement | undefined>;
|
|
520
525
|
globalTop: Readonly<vue.Ref<boolean>>;
|
|
@@ -616,10 +621,11 @@ declare const VTooltip: {
|
|
|
616
621
|
maxWidth?: string | number | undefined;
|
|
617
622
|
minHeight?: string | number | undefined;
|
|
618
623
|
minWidth?: string | number | undefined;
|
|
624
|
+
target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
619
625
|
class?: any;
|
|
620
626
|
theme?: string | undefined;
|
|
621
627
|
contentClass?: any;
|
|
622
|
-
activator?:
|
|
628
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
623
629
|
closeDelay?: string | number | undefined;
|
|
624
630
|
openDelay?: string | number | undefined;
|
|
625
631
|
openOnClick?: boolean | undefined;
|
|
@@ -661,12 +667,13 @@ declare const VTooltip: {
|
|
|
661
667
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
662
668
|
} & vue.ShallowUnwrapRef<{
|
|
663
669
|
activatorEl: vue.Ref<HTMLElement | undefined>;
|
|
670
|
+
target: vue.ComputedRef<HTMLElement | [x: number, y: number] | undefined>;
|
|
664
671
|
animateClick: () => void;
|
|
665
672
|
contentEl: vue.Ref<HTMLElement | undefined>;
|
|
666
673
|
globalTop: Readonly<vue.Ref<boolean>>;
|
|
667
674
|
localTop: vue.ComputedRef<boolean>;
|
|
668
675
|
updateLocation: vue.Ref<((e: Event) => void) | undefined>;
|
|
669
|
-
}> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "class" | "onAfterLeave" | "$children" | "ref" | "ref_for" | "ref_key" | "theme" | "v-slot:default" | "v-slots" | "contentClass" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim" | "_disableGlobalStack")>, `$${any}`>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
676
|
+
}> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "target" | "class" | "onAfterLeave" | "$children" | "ref" | "ref_for" | "ref_key" | "theme" | "v-slot:default" | "v-slots" | "contentClass" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim" | "_disableGlobalStack")>, `$${any}`>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
670
677
|
'update:modelValue': (value: boolean) => boolean;
|
|
671
678
|
}, string, {
|
|
672
679
|
offset: NonNullable<string | number | number[] | undefined>;
|
|
@@ -759,10 +766,11 @@ declare const VTooltip: {
|
|
|
759
766
|
maxWidth?: string | number | undefined;
|
|
760
767
|
minHeight?: string | number | undefined;
|
|
761
768
|
text?: string | undefined;
|
|
769
|
+
target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
762
770
|
class?: any;
|
|
763
771
|
theme?: string | undefined;
|
|
764
772
|
contentClass?: any;
|
|
765
|
-
activator?:
|
|
773
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
766
774
|
closeDelay?: string | number | undefined;
|
|
767
775
|
openDelay?: string | number | undefined;
|
|
768
776
|
openOnFocus?: boolean | undefined;
|
|
@@ -837,6 +845,7 @@ declare const VTooltip: {
|
|
|
837
845
|
maxWidth?: string | number | undefined;
|
|
838
846
|
minHeight?: string | number | undefined;
|
|
839
847
|
minWidth?: string | number | undefined;
|
|
848
|
+
target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
840
849
|
class?: any;
|
|
841
850
|
onAfterLeave?: (() => any) | undefined;
|
|
842
851
|
$children?: vue.VNodeChild | {
|
|
@@ -906,7 +915,7 @@ declare const VTooltip: {
|
|
|
906
915
|
[key: string]: any;
|
|
907
916
|
}>) => void)[] | undefined;
|
|
908
917
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
909
|
-
activator?:
|
|
918
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
910
919
|
"v-slot:activator"?: false | ((arg: {
|
|
911
920
|
isActive: boolean;
|
|
912
921
|
props: Record<string, any>;
|
|
@@ -973,10 +982,11 @@ declare const VTooltip: {
|
|
|
973
982
|
maxWidth?: string | number | undefined;
|
|
974
983
|
minHeight?: string | number | undefined;
|
|
975
984
|
minWidth?: string | number | undefined;
|
|
985
|
+
target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
976
986
|
class?: any;
|
|
977
987
|
theme?: string | undefined;
|
|
978
988
|
contentClass?: any;
|
|
979
|
-
activator?:
|
|
989
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
980
990
|
closeDelay?: string | number | undefined;
|
|
981
991
|
openDelay?: string | number | undefined;
|
|
982
992
|
openOnClick?: boolean | undefined;
|
|
@@ -1018,6 +1028,7 @@ declare const VTooltip: {
|
|
|
1018
1028
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
1019
1029
|
}, {
|
|
1020
1030
|
activatorEl: vue.Ref<HTMLElement | undefined>;
|
|
1031
|
+
target: vue.ComputedRef<HTMLElement | [x: number, y: number] | undefined>;
|
|
1021
1032
|
animateClick: () => void;
|
|
1022
1033
|
contentEl: vue.Ref<HTMLElement | undefined>;
|
|
1023
1034
|
globalTop: Readonly<vue.Ref<boolean>>;
|
|
@@ -1119,10 +1130,11 @@ declare const VTooltip: {
|
|
|
1119
1130
|
maxWidth?: string | number | undefined;
|
|
1120
1131
|
minHeight?: string | number | undefined;
|
|
1121
1132
|
minWidth?: string | number | undefined;
|
|
1133
|
+
target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
1122
1134
|
class?: any;
|
|
1123
1135
|
theme?: string | undefined;
|
|
1124
1136
|
contentClass?: any;
|
|
1125
|
-
activator?:
|
|
1137
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
1126
1138
|
closeDelay?: string | number | undefined;
|
|
1127
1139
|
openDelay?: string | number | undefined;
|
|
1128
1140
|
openOnClick?: boolean | undefined;
|
|
@@ -1164,12 +1176,13 @@ declare const VTooltip: {
|
|
|
1164
1176
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
1165
1177
|
} & vue.ShallowUnwrapRef<{
|
|
1166
1178
|
activatorEl: vue.Ref<HTMLElement | undefined>;
|
|
1179
|
+
target: vue.ComputedRef<HTMLElement | [x: number, y: number] | undefined>;
|
|
1167
1180
|
animateClick: () => void;
|
|
1168
1181
|
contentEl: vue.Ref<HTMLElement | undefined>;
|
|
1169
1182
|
globalTop: Readonly<vue.Ref<boolean>>;
|
|
1170
1183
|
localTop: vue.ComputedRef<boolean>;
|
|
1171
1184
|
updateLocation: vue.Ref<((e: Event) => void) | undefined>;
|
|
1172
|
-
}> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "class" | "onAfterLeave" | "$children" | "ref" | "ref_for" | "ref_key" | "theme" | "v-slot:default" | "v-slots" | "contentClass" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim" | "_disableGlobalStack")>, `$${any}`>> & {} & vue.ComponentCustomProperties & {};
|
|
1185
|
+
}> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "target" | "class" | "onAfterLeave" | "$children" | "ref" | "ref_for" | "ref_key" | "theme" | "v-slot:default" | "v-slots" | "contentClass" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim" | "_disableGlobalStack")>, `$${any}`>> & {} & vue.ComponentCustomProperties & {};
|
|
1173
1186
|
__isFragment?: undefined;
|
|
1174
1187
|
__isTeleport?: undefined;
|
|
1175
1188
|
__isSuspense?: undefined;
|
|
@@ -1206,10 +1219,11 @@ declare const VTooltip: {
|
|
|
1206
1219
|
maxWidth?: string | number | undefined;
|
|
1207
1220
|
minHeight?: string | number | undefined;
|
|
1208
1221
|
text?: string | undefined;
|
|
1222
|
+
target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
1209
1223
|
class?: any;
|
|
1210
1224
|
theme?: string | undefined;
|
|
1211
1225
|
contentClass?: any;
|
|
1212
|
-
activator?:
|
|
1226
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
1213
1227
|
closeDelay?: string | number | undefined;
|
|
1214
1228
|
openDelay?: string | number | undefined;
|
|
1215
1229
|
openOnFocus?: boolean | undefined;
|
|
@@ -1284,6 +1298,7 @@ declare const VTooltip: {
|
|
|
1284
1298
|
maxWidth?: string | number | undefined;
|
|
1285
1299
|
minHeight?: string | number | undefined;
|
|
1286
1300
|
minWidth?: string | number | undefined;
|
|
1301
|
+
target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
1287
1302
|
class?: any;
|
|
1288
1303
|
onAfterLeave?: (() => any) | undefined;
|
|
1289
1304
|
$children?: vue.VNodeChild | {
|
|
@@ -1353,7 +1368,7 @@ declare const VTooltip: {
|
|
|
1353
1368
|
[key: string]: any;
|
|
1354
1369
|
}>) => void)[] | undefined;
|
|
1355
1370
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1356
|
-
activator?:
|
|
1371
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
1357
1372
|
"v-slot:activator"?: false | ((arg: {
|
|
1358
1373
|
isActive: boolean;
|
|
1359
1374
|
props: Record<string, any>;
|
|
@@ -1420,10 +1435,11 @@ declare const VTooltip: {
|
|
|
1420
1435
|
maxWidth?: string | number | undefined;
|
|
1421
1436
|
minHeight?: string | number | undefined;
|
|
1422
1437
|
minWidth?: string | number | undefined;
|
|
1438
|
+
target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
1423
1439
|
class?: any;
|
|
1424
1440
|
theme?: string | undefined;
|
|
1425
1441
|
contentClass?: any;
|
|
1426
|
-
activator?:
|
|
1442
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
1427
1443
|
closeDelay?: string | number | undefined;
|
|
1428
1444
|
openDelay?: string | number | undefined;
|
|
1429
1445
|
openOnClick?: boolean | undefined;
|
|
@@ -1465,6 +1481,7 @@ declare const VTooltip: {
|
|
|
1465
1481
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
1466
1482
|
}, {
|
|
1467
1483
|
activatorEl: vue.Ref<HTMLElement | undefined>;
|
|
1484
|
+
target: vue.ComputedRef<HTMLElement | [x: number, y: number] | undefined>;
|
|
1468
1485
|
animateClick: () => void;
|
|
1469
1486
|
contentEl: vue.Ref<HTMLElement | undefined>;
|
|
1470
1487
|
globalTop: Readonly<vue.Ref<boolean>>;
|
|
@@ -1566,10 +1583,11 @@ declare const VTooltip: {
|
|
|
1566
1583
|
maxWidth?: string | number | undefined;
|
|
1567
1584
|
minHeight?: string | number | undefined;
|
|
1568
1585
|
minWidth?: string | number | undefined;
|
|
1586
|
+
target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
1569
1587
|
class?: any;
|
|
1570
1588
|
theme?: string | undefined;
|
|
1571
1589
|
contentClass?: any;
|
|
1572
|
-
activator?:
|
|
1590
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
1573
1591
|
closeDelay?: string | number | undefined;
|
|
1574
1592
|
openDelay?: string | number | undefined;
|
|
1575
1593
|
openOnClick?: boolean | undefined;
|
|
@@ -1611,12 +1629,13 @@ declare const VTooltip: {
|
|
|
1611
1629
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
1612
1630
|
} & vue.ShallowUnwrapRef<{
|
|
1613
1631
|
activatorEl: vue.Ref<HTMLElement | undefined>;
|
|
1632
|
+
target: vue.ComputedRef<HTMLElement | [x: number, y: number] | undefined>;
|
|
1614
1633
|
animateClick: () => void;
|
|
1615
1634
|
contentEl: vue.Ref<HTMLElement | undefined>;
|
|
1616
1635
|
globalTop: Readonly<vue.Ref<boolean>>;
|
|
1617
1636
|
localTop: vue.ComputedRef<boolean>;
|
|
1618
1637
|
updateLocation: vue.Ref<((e: Event) => void) | undefined>;
|
|
1619
|
-
}> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "class" | "onAfterLeave" | "$children" | "ref" | "ref_for" | "ref_key" | "theme" | "v-slot:default" | "v-slots" | "contentClass" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim" | "_disableGlobalStack")>, `$${any}`>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1638
|
+
}> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "target" | "class" | "onAfterLeave" | "$children" | "ref" | "ref_for" | "ref_key" | "theme" | "v-slot:default" | "v-slots" | "contentClass" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "persistent" | "scrim" | "_disableGlobalStack")>, `$${any}`>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1620
1639
|
'update:modelValue': (value: boolean) => boolean;
|
|
1621
1640
|
}, string, {
|
|
1622
1641
|
offset: NonNullable<string | number | number[] | undefined>;
|
|
@@ -1706,6 +1725,7 @@ declare const VTooltip: {
|
|
|
1706
1725
|
type: vue.PropType<vue.StyleValue>;
|
|
1707
1726
|
default: null;
|
|
1708
1727
|
};
|
|
1728
|
+
target: vue.PropType<Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined>;
|
|
1709
1729
|
eager: {
|
|
1710
1730
|
type: vue.PropType<boolean>;
|
|
1711
1731
|
default: boolean;
|
|
@@ -1715,7 +1735,7 @@ declare const VTooltip: {
|
|
|
1715
1735
|
theme: StringConstructor;
|
|
1716
1736
|
contentClass: null;
|
|
1717
1737
|
modelValue: BooleanConstructor;
|
|
1718
|
-
activator: vue.PropType<
|
|
1738
|
+
activator: vue.PropType<Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined>;
|
|
1719
1739
|
locationStrategy: Omit<{
|
|
1720
1740
|
type: vue.PropType<"connected" | "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1721
1741
|
updateLocation: (e: Event) => void;
|
|
@@ -1830,6 +1850,7 @@ declare const VTooltip: {
|
|
|
1830
1850
|
type: vue.PropType<vue.StyleValue>;
|
|
1831
1851
|
default: null;
|
|
1832
1852
|
};
|
|
1853
|
+
target: vue.PropType<Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined>;
|
|
1833
1854
|
eager: {
|
|
1834
1855
|
type: vue.PropType<boolean>;
|
|
1835
1856
|
default: boolean;
|
|
@@ -1839,7 +1860,7 @@ declare const VTooltip: {
|
|
|
1839
1860
|
theme: StringConstructor;
|
|
1840
1861
|
contentClass: null;
|
|
1841
1862
|
modelValue: BooleanConstructor;
|
|
1842
|
-
activator: vue.PropType<
|
|
1863
|
+
activator: vue.PropType<Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined>;
|
|
1843
1864
|
locationStrategy: Omit<{
|
|
1844
1865
|
type: vue.PropType<"connected" | "static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
|
1845
1866
|
updateLocation: (e: Event) => void;
|