@vuetify/nightly 3.6.13-3.7.0-beta.0.0-dev.2024-07-10 → 3.6.13-3.7.0-beta.0.0-dev.2024-07-24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -8
- package/dist/json/attributes.json +30 -22
- package/dist/json/importMap-labs.json +12 -12
- package/dist/json/importMap.json +120 -120
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +53 -42
- package/dist/vuetify-labs.css +2160 -2162
- package/dist/vuetify-labs.d.ts +12298 -12189
- package/dist/vuetify-labs.esm.js +59 -29
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +59 -29
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +871 -873
- package/dist/vuetify.d.ts +10357 -10268
- package/dist/vuetify.esm.js +51 -25
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +51 -25
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1043 -1044
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.mts +55 -55
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.mts +169 -169
- package/lib/components/VAutocomplete/index.d.mts +615 -609
- package/lib/components/VAvatar/index.d.mts +36 -36
- package/lib/components/VBadge/index.d.mts +58 -58
- package/lib/components/VBanner/index.d.mts +59 -59
- package/lib/components/VBottomNavigation/index.d.mts +58 -58
- package/lib/components/VBottomSheet/index.d.mts +118 -118
- package/lib/components/VBreadcrumbs/index.d.mts +34 -34
- package/lib/components/VBtn/VBtn.css +3 -0
- package/lib/components/VBtn/VBtn.sass +3 -0
- package/lib/components/VBtn/index.d.mts +107 -107
- package/lib/components/VBtnGroup/index.d.mts +23 -23
- package/lib/components/VBtnToggle/index.d.mts +40 -40
- package/lib/components/VCard/index.d.mts +93 -93
- package/lib/components/VCarousel/index.d.mts +128 -128
- package/lib/components/VCheckbox/index.d.mts +174 -168
- package/lib/components/VChip/index.d.mts +86 -86
- package/lib/components/VChipGroup/index.d.mts +46 -46
- package/lib/components/VColorPicker/index.d.mts +96 -96
- package/lib/components/VCombobox/index.d.mts +615 -609
- package/lib/components/VConfirmEdit/index.d.mts +2 -2
- package/lib/components/VCounter/index.d.mts +27 -27
- package/lib/components/VDataIterator/index.d.mts +51 -50
- package/lib/components/VDataTable/VDataTable.mjs +10 -3
- package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableServer.mjs +6 -2
- package/lib/components/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.mjs +10 -3
- package/lib/components/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/components/VDataTable/composables/group.mjs +2 -1
- package/lib/components/VDataTable/composables/group.mjs.map +1 -1
- package/lib/components/VDataTable/composables/sort.mjs +4 -4
- package/lib/components/VDataTable/composables/sort.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +275 -274
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +3 -0
- package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/components/VDatePicker/index.d.mts +134 -134
- package/lib/components/VDialog/index.d.mts +353 -353
- package/lib/components/VDivider/index.d.mts +15 -15
- package/lib/components/VEmptyState/index.d.mts +47 -47
- package/lib/components/VExpansionPanel/index.d.mts +134 -134
- package/lib/components/VFab/index.d.mts +227 -227
- package/lib/components/VField/VField.css +6 -11
- package/lib/components/VField/VField.mjs +7 -5
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +2 -6
- package/lib/components/VField/index.d.mts +58 -52
- package/lib/components/VFileInput/index.d.mts +255 -249
- package/lib/components/VFooter/index.d.mts +50 -50
- package/lib/components/VForm/index.d.mts +9 -9
- package/lib/components/VGrid/index.d.mts +150 -150
- package/lib/components/VIcon/index.d.mts +24 -24
- package/lib/components/VImg/index.d.mts +85 -85
- package/lib/components/VInfiniteScroll/index.d.mts +22 -22
- package/lib/components/VInput/VInput.css +5 -5
- package/lib/components/VInput/VInput.mjs +4 -1
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/VInput.sass +1 -1
- package/lib/components/VInput/index.d.mts +61 -55
- package/lib/components/VItemGroup/index.d.mts +17 -17
- package/lib/components/VLabel/index.d.mts +8 -8
- package/lib/components/VLayout/index.d.mts +36 -36
- package/lib/components/VLazy/index.d.mts +31 -31
- package/lib/components/VList/index.d.mts +178 -178
- package/lib/components/VLocaleProvider/index.d.mts +7 -7
- package/lib/components/VMain/index.d.mts +10 -10
- package/lib/components/VMenu/index.d.mts +393 -393
- package/lib/components/VMessages/index.d.mts +20 -20
- package/lib/components/VNavigationDrawer/index.d.mts +72 -72
- package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.mjs +1 -1
- package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/components/VOtpInput/index.d.mts +88 -88
- package/lib/components/VOverlay/index.d.mts +97 -97
- package/lib/components/VPagination/index.d.mts +55 -55
- package/lib/components/VParallax/index.d.mts +7 -7
- package/lib/components/VProgressCircular/index.d.mts +24 -24
- package/lib/components/VProgressLinear/index.d.mts +52 -52
- package/lib/components/VRadio/index.d.mts +41 -41
- package/lib/components/VRadioGroup/index.d.mts +105 -99
- package/lib/components/VRangeSlider/index.d.mts +102 -96
- package/lib/components/VRating/index.d.mts +22 -22
- package/lib/components/VResponsive/index.d.mts +23 -23
- package/lib/components/VSelect/index.d.mts +615 -609
- package/lib/components/VSelectionControl/index.d.mts +43 -43
- package/lib/components/VSelectionControlGroup/index.d.mts +39 -39
- package/lib/components/VSheet/index.d.mts +34 -34
- package/lib/components/VSkeletonLoader/index.d.mts +17 -17
- package/lib/components/VSlideGroup/index.d.mts +33 -33
- package/lib/components/VSlider/index.d.mts +95 -89
- package/lib/components/VSnackbar/index.d.mts +411 -411
- package/lib/components/VSparkline/index.d.mts +38 -38
- package/lib/components/VSpeedDial/index.d.mts +176 -176
- package/lib/components/VStepper/index.d.mts +119 -119
- package/lib/components/VSwitch/index.d.mts +108 -102
- package/lib/components/VSystemBar/index.d.mts +39 -39
- package/lib/components/VTable/index.d.mts +4 -4
- package/lib/components/VTabs/index.d.mts +512 -512
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.mts +421 -415
- package/lib/components/VTextarea/VTextarea.mjs +5 -5
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.mts +359 -344
- package/lib/components/VTimeline/index.d.mts +26 -26
- package/lib/components/VToolbar/index.d.mts +53 -53
- package/lib/components/VTooltip/index.d.mts +424 -424
- package/lib/components/VValidation/index.d.mts +19 -19
- package/lib/components/VVirtualScroll/index.d.mts +10 -10
- package/lib/components/VWindow/index.d.mts +31 -31
- package/lib/components/index.d.mts +10651 -10563
- package/lib/components/transitions/index.d.mts +200 -200
- package/lib/composables/nested/nested.mjs +0 -1
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +69 -68
- package/lib/labs/VCalendar/index.d.mts +52 -52
- package/lib/labs/VDateInput/VDateInput.mjs +6 -3
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +256 -250
- package/lib/labs/VNumberInput/index.d.mts +247 -241
- package/lib/labs/VPicker/index.d.mts +45 -45
- package/lib/labs/VSnackbarQueue/index.d.mts +611 -611
- package/lib/labs/VStepperVertical/index.d.mts +212 -212
- package/lib/labs/VTimePicker/VTimePickerClock.mjs +0 -1
- package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
- package/lib/labs/VTimePicker/index.d.mts +131 -122
- package/lib/labs/VTreeview/VTreeviewItem.css +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.sass +2 -5
- package/lib/labs/VTreeview/index.d.mts +199 -199
- package/lib/labs/components.d.mts +1754 -1733
- package/package.json +9 -4
@@ -141,11 +141,6 @@
|
|
141
141
|
position: relative;
|
142
142
|
width: 100%;
|
143
143
|
}
|
144
|
-
.v-field.v-field--center-affix.v-field--variant-underlined .v-field__input, .v-field.v-field--center-affix.v-field--variant-plain .v-field__input {
|
145
|
-
padding-top: unset;
|
146
|
-
padding-bottom: unset;
|
147
|
-
}
|
148
|
-
|
149
144
|
.v-input--density-default .v-field__input {
|
150
145
|
row-gap: 8px;
|
151
146
|
}
|
@@ -213,12 +208,12 @@ textarea.v-field__input::placeholder {
|
|
213
208
|
padding-top: 0;
|
214
209
|
}
|
215
210
|
|
216
|
-
.v-field
|
217
|
-
.v-field
|
218
|
-
.v-field
|
219
|
-
.v-field
|
220
|
-
.v-field
|
221
|
-
.v-field
|
211
|
+
.v-field.v-field--variant-underlined .v-field__append-inner,
|
212
|
+
.v-field.v-field--variant-underlined .v-field__clearable,
|
213
|
+
.v-field.v-field--variant-underlined .v-field__prepend-inner,
|
214
|
+
.v-field.v-field--variant-plain .v-field__append-inner,
|
215
|
+
.v-field.v-field--variant-plain .v-field__clearable,
|
216
|
+
.v-field.v-field--variant-plain .v-field__prepend-inner {
|
222
217
|
align-items: flex-start;
|
223
218
|
padding-top: calc(var(--v-field-padding-top, 8px) + var(--v-input-padding-top, 0));
|
224
219
|
padding-bottom: var(--v-field-padding-bottom, 4px);
|
@@ -27,7 +27,10 @@ export const makeVFieldProps = propsFactory({
|
|
27
27
|
default: '$clear'
|
28
28
|
},
|
29
29
|
active: Boolean,
|
30
|
-
centerAffix:
|
30
|
+
centerAffix: {
|
31
|
+
type: Boolean,
|
32
|
+
default: undefined
|
33
|
+
},
|
31
34
|
color: String,
|
32
35
|
baseColor: String,
|
33
36
|
dirty: Boolean,
|
@@ -94,9 +97,8 @@ export const VField = genericComponent()({
|
|
94
97
|
const {
|
95
98
|
rtlClasses
|
96
99
|
} = useRtl();
|
97
|
-
const isSingleLine = computed(() => props.singleLine || props.centerAffix);
|
98
100
|
const isActive = computed(() => props.dirty || props.active);
|
99
|
-
const hasLabel = computed(() => !
|
101
|
+
const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label));
|
100
102
|
const uid = getUid();
|
101
103
|
const id = computed(() => props.id || `input-${uid}`);
|
102
104
|
const messagesId = computed(() => `${id.value}-messages`);
|
@@ -185,7 +187,7 @@ export const VField = genericComponent()({
|
|
185
187
|
"class": ['v-field', {
|
186
188
|
'v-field--active': isActive.value,
|
187
189
|
'v-field--appended': hasAppend,
|
188
|
-
'v-field--center-affix': props.centerAffix,
|
190
|
+
'v-field--center-affix': props.centerAffix ?? !isPlainOrUnderlined.value,
|
189
191
|
'v-field--disabled': props.disabled,
|
190
192
|
'v-field--dirty': props.dirty,
|
191
193
|
'v-field--error': props.error,
|
@@ -194,7 +196,7 @@ export const VField = genericComponent()({
|
|
194
196
|
'v-field--persistent-clear': props.persistentClear,
|
195
197
|
'v-field--prepended': hasPrepend,
|
196
198
|
'v-field--reverse': props.reverse,
|
197
|
-
'v-field--single-line':
|
199
|
+
'v-field--single-line': props.singleLine,
|
198
200
|
'v-field--no-label': !label(),
|
199
201
|
[`v-field--variant-${props.variant}`]: true
|
200
202
|
}, themeClasses.value, backgroundColorClasses.value, focusClasses.value, loaderClasses.value, roundedClasses.value, rtlClasses.value, props.class],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VField.mjs","names":["VFieldLabel","VExpandXTransition","VDefaultsProvider","useInputIcon","useBackgroundColor","useTextColor","makeComponentProps","makeFocusProps","useFocus","IconValue","LoaderSlot","makeLoaderProps","useLoader","useRtl","makeRoundedProps","useRounded","makeThemeProps","provideTheme","computed","ref","toRef","watch","animate","convertToUnit","EventProp","genericComponent","getUid","isOn","nullifyTransforms","pick","propsFactory","standardEasing","useRender","allowedVariants","makeVFieldProps","appendInnerIcon","bgColor","String","clearable","Boolean","clearIcon","type","default","active","centerAffix","color","baseColor","dirty","disabled","error","flat","label","persistentClear","prependInnerIcon","reverse","singleLine","variant","validator","v","includes","VField","name","inheritAttrs","props","id","emits","focused","value","setup","_ref","attrs","emit","slots","themeClasses","loaderClasses","focusClasses","isFocused","focus","blur","InputIcon","roundedClasses","rtlClasses","isSingleLine","isActive","hasLabel","uid","messagesId","labelRef","floatingLabelRef","controlRef","isPlainOrUnderlined","backgroundColorClasses","backgroundColorStyles","textColorClasses","textColorStyles","undefined","val","el","$el","targetEl","requestAnimationFrame","rect","targetRect","getBoundingClientRect","x","y","height","targetWidth","width","Math","abs","maxWidth","style","getComputedStyle","targetStyle","duration","parseFloat","transitionDuration","scale","getPropertyValue","visibility","transform","easing","direction","finished","then","removeProperty","flush","slotProps","onClick","e","target","document","activeElement","preventDefault","onKeydownClear","key","stopPropagation","MouseEvent","isOutlined","hasPrepend","hasClear","clear","hasAppend","for","_createVNode","_mergeProps","class","loading","loader","_withDirectives","VIcon","icon","onKeydown","onFocus","onBlur","_vShow","_Fragment","filterFieldProps","keys","Object","filter","k"],"sources":["../../../src/components/VField/VField.tsx"],"sourcesContent":["// Styles\nimport './VField.sass'\n\n// Components\nimport { VFieldLabel } from './VFieldLabel'\nimport { VExpandXTransition } from '@/components/transitions'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { useInputIcon } from '@/components/VInput/InputIcon'\n\n// Composables\nimport { useBackgroundColor, useTextColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { IconValue } from '@/composables/icons'\nimport { LoaderSlot, makeLoaderProps, useLoader } from '@/composables/loader'\nimport { useRtl } from '@/composables/locale'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\n\n// Utilities\nimport { computed, ref, toRef, watch } from 'vue'\nimport {\n animate,\n convertToUnit,\n EventProp,\n genericComponent,\n getUid,\n isOn,\n nullifyTransforms,\n pick,\n propsFactory,\n standardEasing,\n useRender,\n} from '@/util'\n\n// Types\nimport type { PropType, Ref } from 'vue'\nimport type { LoaderSlotProps } from '@/composables/loader'\nimport type { GenericProps } from '@/util'\n\nconst allowedVariants = ['underlined', 'outlined', 'filled', 'solo', 'solo-inverted', 'solo-filled', 'plain'] as const\ntype Variant = typeof allowedVariants[number]\n\nexport interface DefaultInputSlot {\n isActive: Ref<boolean>\n isFocused: Ref<boolean>\n controlRef: Ref<HTMLElement | undefined>\n focus: () => void\n blur: () => void\n}\n\nexport interface VFieldSlot extends DefaultInputSlot {\n props: Record<string, unknown>\n}\n\nexport const makeVFieldProps = propsFactory({\n appendInnerIcon: IconValue,\n bgColor: String,\n clearable: Boolean,\n clearIcon: {\n type: IconValue,\n default: '$clear',\n },\n active: Boolean,\n centerAffix: Boolean,\n color: String,\n baseColor: String,\n dirty: Boolean,\n disabled: {\n type: Boolean,\n default: null,\n },\n error: Boolean,\n flat: Boolean,\n label: String,\n persistentClear: Boolean,\n prependInnerIcon: IconValue,\n reverse: Boolean,\n singleLine: Boolean,\n variant: {\n type: String as PropType<Variant>,\n default: 'filled',\n validator: (v: any) => allowedVariants.includes(v),\n },\n\n 'onClick:clear': EventProp<[MouseEvent]>(),\n 'onClick:appendInner': EventProp<[MouseEvent]>(),\n 'onClick:prependInner': EventProp<[MouseEvent]>(),\n\n ...makeComponentProps(),\n ...makeLoaderProps(),\n ...makeRoundedProps(),\n ...makeThemeProps(),\n}, 'VField')\n\nexport type VFieldSlots = {\n clear: DefaultInputSlot & { props: Record<string, any> }\n 'prepend-inner': DefaultInputSlot\n 'append-inner': DefaultInputSlot\n label: DefaultInputSlot & { label: string | undefined, props: Record<string, any> }\n loader: LoaderSlotProps\n default: VFieldSlot\n}\n\nexport const VField = genericComponent<new <T>(\n props: {\n modelValue?: T\n 'onUpdate:modelValue'?: (value: T) => void\n },\n slots: VFieldSlots\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VField',\n\n inheritAttrs: false,\n\n props: {\n id: String,\n\n ...makeFocusProps(),\n ...makeVFieldProps(),\n },\n\n emits: {\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const { themeClasses } = provideTheme(props)\n const { loaderClasses } = useLoader(props)\n const { focusClasses, isFocused, focus, blur } = useFocus(props)\n const { InputIcon } = useInputIcon(props)\n const { roundedClasses } = useRounded(props)\n const { rtlClasses } = useRtl()\n\n const isSingleLine = computed(() => props.singleLine || props.centerAffix)\n const isActive = computed(() => props.dirty || props.active)\n const hasLabel = computed(() => !isSingleLine.value && !!(props.label || slots.label))\n\n const uid = getUid()\n const id = computed(() => props.id || `input-${uid}`)\n const messagesId = computed(() => `${id.value}-messages`)\n\n const labelRef = ref<VFieldLabel>()\n const floatingLabelRef = ref<VFieldLabel>()\n const controlRef = ref<HTMLElement>()\n const isPlainOrUnderlined = computed(() => ['plain', 'underlined'].includes(props.variant))\n\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, 'bgColor'))\n const { textColorClasses, textColorStyles } = useTextColor(computed(() => {\n return props.error || props.disabled ? undefined\n : isActive.value && isFocused.value ? props.color\n : props.baseColor\n }))\n\n watch(isActive, val => {\n if (hasLabel.value) {\n const el: HTMLElement = labelRef.value!.$el\n const targetEl: HTMLElement = floatingLabelRef.value!.$el\n\n requestAnimationFrame(() => {\n const rect = nullifyTransforms(el)\n const targetRect = targetEl.getBoundingClientRect()\n\n const x = targetRect.x - rect.x\n const y = targetRect.y - rect.y - (rect.height / 2 - targetRect.height / 2)\n\n const targetWidth = targetRect.width / 0.75\n const width = Math.abs(targetWidth - rect.width) > 1\n ? { maxWidth: convertToUnit(targetWidth) }\n : undefined\n\n const style = getComputedStyle(el)\n const targetStyle = getComputedStyle(targetEl)\n const duration = parseFloat(style.transitionDuration) * 1000 || 150\n const scale = parseFloat(targetStyle.getPropertyValue('--v-field-label-scale'))\n const color = targetStyle.getPropertyValue('color')\n\n el.style.visibility = 'visible'\n targetEl.style.visibility = 'hidden'\n\n animate(el, {\n transform: `translate(${x}px, ${y}px) scale(${scale})`,\n color,\n ...width,\n }, {\n duration,\n easing: standardEasing,\n direction: val ? 'normal' : 'reverse',\n }).finished.then(() => {\n el.style.removeProperty('visibility')\n targetEl.style.removeProperty('visibility')\n })\n })\n }\n }, { flush: 'post' })\n\n const slotProps = computed<DefaultInputSlot>(() => ({\n isActive,\n isFocused,\n controlRef,\n blur,\n focus,\n }))\n\n function onClick (e: MouseEvent) {\n if (e.target !== document.activeElement) {\n e.preventDefault()\n }\n }\n\n function onKeydownClear (e: KeyboardEvent) {\n if (e.key !== 'Enter' && e.key !== ' ') return\n\n e.preventDefault()\n e.stopPropagation()\n\n props['onClick:clear']?.(new MouseEvent('click'))\n }\n\n useRender(() => {\n const isOutlined = props.variant === 'outlined'\n const hasPrepend = !!(slots['prepend-inner'] || props.prependInnerIcon)\n const hasClear = !!(props.clearable || slots.clear)\n const hasAppend = !!(slots['append-inner'] || props.appendInnerIcon || hasClear)\n const label = () => (\n slots.label\n ? slots.label({\n ...slotProps.value,\n label: props.label,\n props: { for: id.value },\n })\n : props.label\n )\n\n return (\n <div\n class={[\n 'v-field',\n {\n 'v-field--active': isActive.value,\n 'v-field--appended': hasAppend,\n 'v-field--center-affix': props.centerAffix,\n 'v-field--disabled': props.disabled,\n 'v-field--dirty': props.dirty,\n 'v-field--error': props.error,\n 'v-field--flat': props.flat,\n 'v-field--has-background': !!props.bgColor,\n 'v-field--persistent-clear': props.persistentClear,\n 'v-field--prepended': hasPrepend,\n 'v-field--reverse': props.reverse,\n 'v-field--single-line': isSingleLine.value,\n 'v-field--no-label': !label(),\n [`v-field--variant-${props.variant}`]: true,\n },\n themeClasses.value,\n backgroundColorClasses.value,\n focusClasses.value,\n loaderClasses.value,\n roundedClasses.value,\n rtlClasses.value,\n props.class,\n ]}\n style={[\n backgroundColorStyles.value,\n props.style,\n ]}\n onClick={ onClick }\n { ...attrs }\n >\n <div class=\"v-field__overlay\" />\n\n <LoaderSlot\n name=\"v-field\"\n active={ !!props.loading }\n color={ props.error ? 'error' : (typeof props.loading === 'string' ? props.loading : props.color) }\n v-slots={{ default: slots.loader }}\n />\n\n { hasPrepend && (\n <div key=\"prepend\" class=\"v-field__prepend-inner\">\n { props.prependInnerIcon && (\n <InputIcon key=\"prepend-icon\" name=\"prependInner\" />\n )}\n\n { slots['prepend-inner']?.(slotProps.value) }\n </div>\n )}\n\n <div class=\"v-field__field\" data-no-activator=\"\">\n {['filled', 'solo', 'solo-inverted', 'solo-filled'].includes(props.variant) && hasLabel.value && (\n <VFieldLabel\n key=\"floating-label\"\n ref={ floatingLabelRef }\n class={[textColorClasses.value]}\n floating\n for={ id.value }\n style={ textColorStyles.value }\n >\n { label() }\n </VFieldLabel>\n )}\n\n <VFieldLabel ref={ labelRef } for={ id.value }>\n { label() }\n </VFieldLabel>\n\n { slots.default?.({\n ...slotProps.value,\n props: {\n id: id.value,\n class: 'v-field__input',\n 'aria-describedby': messagesId.value,\n },\n focus,\n blur,\n } as VFieldSlot)}\n </div>\n\n { hasClear && (\n <VExpandXTransition key=\"clear\">\n <div\n class=\"v-field__clearable\"\n v-show={ props.dirty }\n onMousedown={ (e: MouseEvent) => {\n e.preventDefault()\n e.stopPropagation()\n }}\n >\n <VDefaultsProvider\n defaults={{\n VIcon: {\n icon: props.clearIcon,\n },\n }}\n >\n { slots.clear\n ? slots.clear({\n ...slotProps.value,\n props: {\n onKeydown: onKeydownClear,\n onFocus: focus,\n onBlur: blur,\n onClick: props['onClick:clear'],\n },\n })\n : (\n <InputIcon\n name=\"clear\"\n onKeydown={ onKeydownClear }\n onFocus={ focus }\n onBlur={ blur }\n />\n )}\n </VDefaultsProvider>\n </div>\n </VExpandXTransition>\n )}\n\n { hasAppend && (\n <div key=\"append\" class=\"v-field__append-inner\">\n { slots['append-inner']?.(slotProps.value) }\n\n { props.appendInnerIcon && (\n <InputIcon key=\"append-icon\" name=\"appendInner\" />\n )}\n </div>\n )}\n\n <div\n class={[\n 'v-field__outline',\n textColorClasses.value,\n ]}\n style={ textColorStyles.value }\n >\n { isOutlined && (\n <>\n <div class=\"v-field__outline__start\" />\n\n { hasLabel.value && (\n <div class=\"v-field__outline__notch\">\n <VFieldLabel ref={ floatingLabelRef } floating for={ id.value }>\n { label() }\n </VFieldLabel>\n </div>\n )}\n\n <div class=\"v-field__outline__end\" />\n </>\n )}\n\n { isPlainOrUnderlined.value && hasLabel.value && (\n <VFieldLabel ref={ floatingLabelRef } floating for={ id.value }>\n { label() }\n </VFieldLabel>\n )}\n </div>\n </div>\n )\n })\n\n return {\n controlRef,\n }\n },\n})\n\nexport type VField = InstanceType<typeof VField>\n\n// TODO: this is kinda slow, might be better to implicitly inherit props instead\nexport function filterFieldProps (attrs: Record<string, unknown>) {\n const keys = Object.keys(VField.props).filter(k => !isOn(k) && k !== 'class' && k !== 'style')\n return pick(attrs, keys)\n}\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,WAAW;AAAA,SACXC,kBAAkB;AAAA,SAClBC,iBAAiB;AAAA,SACjBC,YAAY,mCAErB;AAAA,SACSC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,kBAAkB;AAAA,SAClBC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,SAAS;AAAA,SACTC,UAAU,EAAEC,eAAe,EAAEC,SAAS;AAAA,SACtCC,MAAM;AAAA,SACNC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,cAAc,EAAEC,YAAY,uCAErC;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAE/CC,OAAO,EACPC,aAAa,EACbC,SAAS,EACTC,gBAAgB,EAChBC,MAAM,EACNC,IAAI,EACJC,iBAAi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QAAQ,CAACjB,KAAK,IAAA8E,YAAA;QAAA;MAAA,IAAAA,YAAA,CAAAjJ,WAAA;QAAA,OAEOwF,gBAAgB;QAAA;QAAA,OAAkBxB,EAAE,CAACG;MAAK;QAAAzB,OAAA,EAAAA,CAAA,MACzDS,KAAK,CAAC,CAAC;MAAA,IAGd,EAAA8F,YAAA;QAAA;MAAA,UAIJ,EAECvD,mBAAmB,CAACvB,KAAK,IAAIiB,QAAQ,CAACjB,KAAK,IAAA8E,YAAA,CAAAjJ,WAAA;QAAA,OACxBwF,gBAAgB;QAAA;QAAA,OAAkBxB,EAAE,CAACG;MAAK;QAAAzB,OAAA,EAAAA,CAAA,MACzDS,KAAK,CAAC,CAAC;MAAA,EAEZ;IAIT,CAAC,CAAC;IAEF,OAAO;MACLsC;IACF,CAAC;EACH;AACF,CAAC,CAAC;AAIF;AACA,OAAO,SAASqE,gBAAgBA,CAAExF,KAA8B,EAAE;EAChE,MAAMyF,IAAI,GAAGC,MAAM,CAACD,IAAI,CAACnG,MAAM,CAACG,KAAK,CAAC,CAACkG,MAAM,CAACC,CAAC,IAAI,CAACvI,IAAI,CAACuI,CAAC,CAAC,IAAIA,CAAC,KAAK,OAAO,IAAIA,CAAC,KAAK,OAAO,CAAC;EAC9F,OAAOrI,IAAI,CAACyC,KAAK,EAAEyF,IAAI,CAAC;AAC1B","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VField.mjs","names":["VFieldLabel","VExpandXTransition","VDefaultsProvider","useInputIcon","useBackgroundColor","useTextColor","makeComponentProps","makeFocusProps","useFocus","IconValue","LoaderSlot","makeLoaderProps","useLoader","useRtl","makeRoundedProps","useRounded","makeThemeProps","provideTheme","computed","ref","toRef","watch","animate","convertToUnit","EventProp","genericComponent","getUid","isOn","nullifyTransforms","pick","propsFactory","standardEasing","useRender","allowedVariants","makeVFieldProps","appendInnerIcon","bgColor","String","clearable","Boolean","clearIcon","type","default","active","centerAffix","undefined","color","baseColor","dirty","disabled","error","flat","label","persistentClear","prependInnerIcon","reverse","singleLine","variant","validator","v","includes","VField","name","inheritAttrs","props","id","emits","focused","value","setup","_ref","attrs","emit","slots","themeClasses","loaderClasses","focusClasses","isFocused","focus","blur","InputIcon","roundedClasses","rtlClasses","isActive","hasLabel","uid","messagesId","labelRef","floatingLabelRef","controlRef","isPlainOrUnderlined","backgroundColorClasses","backgroundColorStyles","textColorClasses","textColorStyles","val","el","$el","targetEl","requestAnimationFrame","rect","targetRect","getBoundingClientRect","x","y","height","targetWidth","width","Math","abs","maxWidth","style","getComputedStyle","targetStyle","duration","parseFloat","transitionDuration","scale","getPropertyValue","visibility","transform","easing","direction","finished","then","removeProperty","flush","slotProps","onClick","e","target","document","activeElement","preventDefault","onKeydownClear","key","stopPropagation","MouseEvent","isOutlined","hasPrepend","hasClear","clear","hasAppend","for","_createVNode","_mergeProps","class","loading","loader","_withDirectives","VIcon","icon","onKeydown","onFocus","onBlur","_vShow","_Fragment","filterFieldProps","keys","Object","filter","k"],"sources":["../../../src/components/VField/VField.tsx"],"sourcesContent":["// Styles\nimport './VField.sass'\n\n// Components\nimport { VFieldLabel } from './VFieldLabel'\nimport { VExpandXTransition } from '@/components/transitions'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { useInputIcon } from '@/components/VInput/InputIcon'\n\n// Composables\nimport { useBackgroundColor, useTextColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { IconValue } from '@/composables/icons'\nimport { LoaderSlot, makeLoaderProps, useLoader } from '@/composables/loader'\nimport { useRtl } from '@/composables/locale'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\n\n// Utilities\nimport { computed, ref, toRef, watch } from 'vue'\nimport {\n animate,\n convertToUnit,\n EventProp,\n genericComponent,\n getUid,\n isOn,\n nullifyTransforms,\n pick,\n propsFactory,\n standardEasing,\n useRender,\n} from '@/util'\n\n// Types\nimport type { PropType, Ref } from 'vue'\nimport type { LoaderSlotProps } from '@/composables/loader'\nimport type { GenericProps } from '@/util'\n\nconst allowedVariants = ['underlined', 'outlined', 'filled', 'solo', 'solo-inverted', 'solo-filled', 'plain'] as const\ntype Variant = typeof allowedVariants[number]\n\nexport interface DefaultInputSlot {\n isActive: Ref<boolean>\n isFocused: Ref<boolean>\n controlRef: Ref<HTMLElement | undefined>\n focus: () => void\n blur: () => void\n}\n\nexport interface VFieldSlot extends DefaultInputSlot {\n props: Record<string, unknown>\n}\n\nexport const makeVFieldProps = propsFactory({\n appendInnerIcon: IconValue,\n bgColor: String,\n clearable: Boolean,\n clearIcon: {\n type: IconValue,\n default: '$clear',\n },\n active: Boolean,\n centerAffix: {\n type: Boolean,\n default: undefined,\n },\n color: String,\n baseColor: String,\n dirty: Boolean,\n disabled: {\n type: Boolean,\n default: null,\n },\n error: Boolean,\n flat: Boolean,\n label: String,\n persistentClear: Boolean,\n prependInnerIcon: IconValue,\n reverse: Boolean,\n singleLine: Boolean,\n variant: {\n type: String as PropType<Variant>,\n default: 'filled',\n validator: (v: any) => allowedVariants.includes(v),\n },\n\n 'onClick:clear': EventProp<[MouseEvent]>(),\n 'onClick:appendInner': EventProp<[MouseEvent]>(),\n 'onClick:prependInner': EventProp<[MouseEvent]>(),\n\n ...makeComponentProps(),\n ...makeLoaderProps(),\n ...makeRoundedProps(),\n ...makeThemeProps(),\n}, 'VField')\n\nexport type VFieldSlots = {\n clear: DefaultInputSlot & { props: Record<string, any> }\n 'prepend-inner': DefaultInputSlot\n 'append-inner': DefaultInputSlot\n label: DefaultInputSlot & { label: string | undefined, props: Record<string, any> }\n loader: LoaderSlotProps\n default: VFieldSlot\n}\n\nexport const VField = genericComponent<new <T>(\n props: {\n modelValue?: T\n 'onUpdate:modelValue'?: (value: T) => void\n },\n slots: VFieldSlots\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VField',\n\n inheritAttrs: false,\n\n props: {\n id: String,\n\n ...makeFocusProps(),\n ...makeVFieldProps(),\n },\n\n emits: {\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const { themeClasses } = provideTheme(props)\n const { loaderClasses } = useLoader(props)\n const { focusClasses, isFocused, focus, blur } = useFocus(props)\n const { InputIcon } = useInputIcon(props)\n const { roundedClasses } = useRounded(props)\n const { rtlClasses } = useRtl()\n\n const isActive = computed(() => props.dirty || props.active)\n const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label))\n\n const uid = getUid()\n const id = computed(() => props.id || `input-${uid}`)\n const messagesId = computed(() => `${id.value}-messages`)\n\n const labelRef = ref<VFieldLabel>()\n const floatingLabelRef = ref<VFieldLabel>()\n const controlRef = ref<HTMLElement>()\n const isPlainOrUnderlined = computed(() => ['plain', 'underlined'].includes(props.variant))\n\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, 'bgColor'))\n const { textColorClasses, textColorStyles } = useTextColor(computed(() => {\n return props.error || props.disabled ? undefined\n : isActive.value && isFocused.value ? props.color\n : props.baseColor\n }))\n\n watch(isActive, val => {\n if (hasLabel.value) {\n const el: HTMLElement = labelRef.value!.$el\n const targetEl: HTMLElement = floatingLabelRef.value!.$el\n\n requestAnimationFrame(() => {\n const rect = nullifyTransforms(el)\n const targetRect = targetEl.getBoundingClientRect()\n\n const x = targetRect.x - rect.x\n const y = targetRect.y - rect.y - (rect.height / 2 - targetRect.height / 2)\n\n const targetWidth = targetRect.width / 0.75\n const width = Math.abs(targetWidth - rect.width) > 1\n ? { maxWidth: convertToUnit(targetWidth) }\n : undefined\n\n const style = getComputedStyle(el)\n const targetStyle = getComputedStyle(targetEl)\n const duration = parseFloat(style.transitionDuration) * 1000 || 150\n const scale = parseFloat(targetStyle.getPropertyValue('--v-field-label-scale'))\n const color = targetStyle.getPropertyValue('color')\n\n el.style.visibility = 'visible'\n targetEl.style.visibility = 'hidden'\n\n animate(el, {\n transform: `translate(${x}px, ${y}px) scale(${scale})`,\n color,\n ...width,\n }, {\n duration,\n easing: standardEasing,\n direction: val ? 'normal' : 'reverse',\n }).finished.then(() => {\n el.style.removeProperty('visibility')\n targetEl.style.removeProperty('visibility')\n })\n })\n }\n }, { flush: 'post' })\n\n const slotProps = computed<DefaultInputSlot>(() => ({\n isActive,\n isFocused,\n controlRef,\n blur,\n focus,\n }))\n\n function onClick (e: MouseEvent) {\n if (e.target !== document.activeElement) {\n e.preventDefault()\n }\n }\n\n function onKeydownClear (e: KeyboardEvent) {\n if (e.key !== 'Enter' && e.key !== ' ') return\n\n e.preventDefault()\n e.stopPropagation()\n\n props['onClick:clear']?.(new MouseEvent('click'))\n }\n\n useRender(() => {\n const isOutlined = props.variant === 'outlined'\n const hasPrepend = !!(slots['prepend-inner'] || props.prependInnerIcon)\n const hasClear = !!(props.clearable || slots.clear)\n const hasAppend = !!(slots['append-inner'] || props.appendInnerIcon || hasClear)\n const label = () => (\n slots.label\n ? slots.label({\n ...slotProps.value,\n label: props.label,\n props: { for: id.value },\n })\n : props.label\n )\n\n return (\n <div\n class={[\n 'v-field',\n {\n 'v-field--active': isActive.value,\n 'v-field--appended': hasAppend,\n 'v-field--center-affix': props.centerAffix ?? !isPlainOrUnderlined.value,\n 'v-field--disabled': props.disabled,\n 'v-field--dirty': props.dirty,\n 'v-field--error': props.error,\n 'v-field--flat': props.flat,\n 'v-field--has-background': !!props.bgColor,\n 'v-field--persistent-clear': props.persistentClear,\n 'v-field--prepended': hasPrepend,\n 'v-field--reverse': props.reverse,\n 'v-field--single-line': props.singleLine,\n 'v-field--no-label': !label(),\n [`v-field--variant-${props.variant}`]: true,\n },\n themeClasses.value,\n backgroundColorClasses.value,\n focusClasses.value,\n loaderClasses.value,\n roundedClasses.value,\n rtlClasses.value,\n props.class,\n ]}\n style={[\n backgroundColorStyles.value,\n props.style,\n ]}\n onClick={ onClick }\n { ...attrs }\n >\n <div class=\"v-field__overlay\" />\n\n <LoaderSlot\n name=\"v-field\"\n active={ !!props.loading }\n color={ props.error ? 'error' : (typeof props.loading === 'string' ? props.loading : props.color) }\n v-slots={{ default: slots.loader }}\n />\n\n { hasPrepend && (\n <div key=\"prepend\" class=\"v-field__prepend-inner\">\n { props.prependInnerIcon && (\n <InputIcon key=\"prepend-icon\" name=\"prependInner\" />\n )}\n\n { slots['prepend-inner']?.(slotProps.value) }\n </div>\n )}\n\n <div class=\"v-field__field\" data-no-activator=\"\">\n {['filled', 'solo', 'solo-inverted', 'solo-filled'].includes(props.variant) && hasLabel.value && (\n <VFieldLabel\n key=\"floating-label\"\n ref={ floatingLabelRef }\n class={[textColorClasses.value]}\n floating\n for={ id.value }\n style={ textColorStyles.value }\n >\n { label() }\n </VFieldLabel>\n )}\n\n <VFieldLabel ref={ labelRef } for={ id.value }>\n { label() }\n </VFieldLabel>\n\n { slots.default?.({\n ...slotProps.value,\n props: {\n id: id.value,\n class: 'v-field__input',\n 'aria-describedby': messagesId.value,\n },\n focus,\n blur,\n } as VFieldSlot)}\n </div>\n\n { hasClear && (\n <VExpandXTransition key=\"clear\">\n <div\n class=\"v-field__clearable\"\n v-show={ props.dirty }\n onMousedown={ (e: MouseEvent) => {\n e.preventDefault()\n e.stopPropagation()\n }}\n >\n <VDefaultsProvider\n defaults={{\n VIcon: {\n icon: props.clearIcon,\n },\n }}\n >\n { slots.clear\n ? slots.clear({\n ...slotProps.value,\n props: {\n onKeydown: onKeydownClear,\n onFocus: focus,\n onBlur: blur,\n onClick: props['onClick:clear'],\n },\n })\n : (\n <InputIcon\n name=\"clear\"\n onKeydown={ onKeydownClear }\n onFocus={ focus }\n onBlur={ blur }\n />\n )}\n </VDefaultsProvider>\n </div>\n </VExpandXTransition>\n )}\n\n { hasAppend && (\n <div key=\"append\" class=\"v-field__append-inner\">\n { slots['append-inner']?.(slotProps.value) }\n\n { props.appendInnerIcon && (\n <InputIcon key=\"append-icon\" name=\"appendInner\" />\n )}\n </div>\n )}\n\n <div\n class={[\n 'v-field__outline',\n textColorClasses.value,\n ]}\n style={ textColorStyles.value }\n >\n { isOutlined && (\n <>\n <div class=\"v-field__outline__start\" />\n\n { hasLabel.value && (\n <div class=\"v-field__outline__notch\">\n <VFieldLabel ref={ floatingLabelRef } floating for={ id.value }>\n { label() }\n </VFieldLabel>\n </div>\n )}\n\n <div class=\"v-field__outline__end\" />\n </>\n )}\n\n { isPlainOrUnderlined.value && hasLabel.value && (\n <VFieldLabel ref={ floatingLabelRef } floating for={ id.value }>\n { label() }\n </VFieldLabel>\n )}\n </div>\n </div>\n )\n })\n\n return {\n controlRef,\n }\n },\n})\n\nexport type VField = InstanceType<typeof VField>\n\n// TODO: this is kinda slow, might be better to implicitly inherit props instead\nexport function filterFieldProps (attrs: Record<string, unknown>) {\n const keys = Object.keys(VField.props).filter(k => !isOn(k) && k !== 'class' && k !== 'style')\n return pick(attrs, keys)\n}\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,WAAW;AAAA,SACXC,kBAAkB;AAAA,SAClBC,iBAAiB;AAAA,SACjBC,YAAY,mCAErB;AAAA,SACSC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,kBAAkB;AAAA,SAClBC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,SAAS;AAAA,SACTC,UAAU,EAAEC,eAAe,EAAEC,SAAS;AAAA,SACtCC,MAAM;AAAA,SACNC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,cAAc,EAAEC,YAAY,uCAErC;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAE/CC,OAAO,EACPC,aAAa,EACbC,SAAS,EACTC,gBAAgB,EAChBC,MAAM,EACNC,IAAI,EACJC,iBAAiB,EACjBC,IAAI,EACJC,YAAY,EACZC,cAAc,EACdC,SAAS,gCAGX;AAKA,MAAMC,eAAe,GAAG,CAAC,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,aAAa,EAAE,OAAO,CAAU;AAetH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,IAGd,EAAA4F,YAAA;QAAA;MAAA,UAIJ,EAECtD,mBAAmB,CAACtB,KAAK,IAAIgB,QAAQ,CAAChB,KAAK,IAAA4E,YAAA,CAAAhJ,WAAA;QAAA,OACxBwF,gBAAgB;QAAA;QAAA,OAAkBvB,EAAE,CAACG;MAAK;QAAA1B,OAAA,EAAAA,CAAA,MACzDU,KAAK,CAAC,CAAC;MAAA,EAEZ;IAIT,CAAC,CAAC;IAEF,OAAO;MACLqC;IACF,CAAC;EACH;AACF,CAAC,CAAC;AAIF;AACA,OAAO,SAASoE,gBAAgBA,CAAEtF,KAA8B,EAAE;EAChE,MAAMuF,IAAI,GAAGC,MAAM,CAACD,IAAI,CAACjG,MAAM,CAACG,KAAK,CAAC,CAACgG,MAAM,CAACC,CAAC,IAAI,CAACtI,IAAI,CAACsI,CAAC,CAAC,IAAIA,CAAC,KAAK,OAAO,IAAIA,CAAC,KAAK,OAAO,CAAC;EAC9F,OAAOpI,IAAI,CAAC0C,KAAK,EAAEuF,IAAI,CAAC;AAC1B","ignoreList":[]}
|
@@ -141,10 +141,6 @@
|
|
141
141
|
|
142
142
|
$root: &
|
143
143
|
|
144
|
-
@at-root #{selector.nest('.v-field.v-field--center-affix.v-field--variant-underlined, .v-field.v-field--center-affix.v-field--variant-plain', &)}
|
145
|
-
padding-top: unset
|
146
|
-
padding-bottom: unset
|
147
|
-
|
148
144
|
@at-root
|
149
145
|
@include tools.density('v-input', $input-density) using ($modifier)
|
150
146
|
@at-root #{selector.nest(&, $root)}
|
@@ -199,8 +195,8 @@
|
|
199
195
|
align-items: center
|
200
196
|
padding-top: 0
|
201
197
|
|
202
|
-
.v-field
|
203
|
-
.v-field
|
198
|
+
.v-field.v-field--variant-underlined,
|
199
|
+
.v-field.v-field--variant-plain
|
204
200
|
.v-field__append-inner,
|
205
201
|
.v-field__clearable,
|
206
202
|
.v-field__prepend-inner
|
@@ -63,28 +63,27 @@ type VFieldSlots = {
|
|
63
63
|
};
|
64
64
|
declare const VField: {
|
65
65
|
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
66
|
-
reverse: boolean;
|
67
66
|
flat: boolean;
|
68
|
-
|
69
|
-
|
67
|
+
reverse: boolean;
|
68
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
70
69
|
error: boolean;
|
70
|
+
active: boolean;
|
71
|
+
style: vue.StyleValue;
|
71
72
|
disabled: boolean;
|
72
73
|
focused: boolean;
|
73
|
-
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
74
74
|
tile: boolean;
|
75
75
|
clearIcon: IconValue;
|
76
|
-
centerAffix: boolean;
|
77
76
|
clearable: boolean;
|
78
77
|
dirty: boolean;
|
79
78
|
persistentClear: boolean;
|
80
79
|
singleLine: boolean;
|
81
80
|
} & {
|
82
|
-
class?: any;
|
83
81
|
id?: string | undefined;
|
84
|
-
label?: string | undefined;
|
85
|
-
theme?: string | undefined;
|
86
82
|
color?: string | undefined;
|
87
83
|
loading?: string | boolean | undefined;
|
84
|
+
label?: string | undefined;
|
85
|
+
class?: any;
|
86
|
+
theme?: string | undefined;
|
88
87
|
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
89
88
|
rounded?: string | number | boolean | undefined;
|
90
89
|
baseColor?: string | undefined;
|
@@ -94,6 +93,7 @@ declare const VField: {
|
|
94
93
|
'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
|
95
94
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
96
95
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
96
|
+
centerAffix?: boolean | undefined;
|
97
97
|
} & {
|
98
98
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
99
99
|
}, {
|
@@ -101,29 +101,28 @@ declare const VField: {
|
|
101
101
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
102
102
|
'update:focused': (focused: boolean) => true;
|
103
103
|
'update:modelValue': (value: any) => true;
|
104
|
-
}, "v-slot:default" | "
|
105
|
-
reverse: boolean;
|
104
|
+
}, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:label" | "v-slot:clear" | "v-slot:prepend-inner" | "v-slot:append-inner">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
106
105
|
flat: boolean;
|
107
|
-
|
108
|
-
|
106
|
+
reverse: boolean;
|
107
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
109
108
|
error: boolean;
|
109
|
+
active: boolean;
|
110
|
+
style: vue.StyleValue;
|
110
111
|
disabled: boolean;
|
111
112
|
focused: boolean;
|
112
|
-
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
113
113
|
tile: boolean;
|
114
114
|
clearIcon: IconValue;
|
115
|
-
centerAffix: boolean;
|
116
115
|
clearable: boolean;
|
117
116
|
dirty: boolean;
|
118
117
|
persistentClear: boolean;
|
119
118
|
singleLine: boolean;
|
120
119
|
} & {
|
121
|
-
class?: any;
|
122
120
|
id?: string | undefined;
|
123
|
-
label?: string | undefined;
|
124
|
-
theme?: string | undefined;
|
125
121
|
color?: string | undefined;
|
126
122
|
loading?: string | boolean | undefined;
|
123
|
+
label?: string | undefined;
|
124
|
+
class?: any;
|
125
|
+
theme?: string | undefined;
|
127
126
|
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
128
127
|
rounded?: string | number | boolean | undefined;
|
129
128
|
baseColor?: string | undefined;
|
@@ -133,18 +132,19 @@ declare const VField: {
|
|
133
132
|
'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
|
134
133
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
135
134
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
135
|
+
centerAffix?: boolean | undefined;
|
136
136
|
} & {
|
137
137
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
138
138
|
}, {
|
139
|
-
reverse: boolean;
|
140
139
|
flat: boolean;
|
141
|
-
|
142
|
-
|
140
|
+
reverse: boolean;
|
141
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
143
142
|
error: boolean;
|
143
|
+
active: boolean;
|
144
|
+
style: vue.StyleValue;
|
144
145
|
disabled: boolean;
|
145
146
|
focused: boolean;
|
146
147
|
rounded: string | number | boolean;
|
147
|
-
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
148
148
|
tile: boolean;
|
149
149
|
clearIcon: IconValue;
|
150
150
|
centerAffix: boolean;
|
@@ -184,28 +184,27 @@ declare const VField: {
|
|
184
184
|
M: {};
|
185
185
|
Defaults: {};
|
186
186
|
}, {
|
187
|
-
reverse: boolean;
|
188
187
|
flat: boolean;
|
189
|
-
|
190
|
-
|
188
|
+
reverse: boolean;
|
189
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
191
190
|
error: boolean;
|
191
|
+
active: boolean;
|
192
|
+
style: vue.StyleValue;
|
192
193
|
disabled: boolean;
|
193
194
|
focused: boolean;
|
194
|
-
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
195
195
|
tile: boolean;
|
196
196
|
clearIcon: IconValue;
|
197
|
-
centerAffix: boolean;
|
198
197
|
clearable: boolean;
|
199
198
|
dirty: boolean;
|
200
199
|
persistentClear: boolean;
|
201
200
|
singleLine: boolean;
|
202
201
|
} & {
|
203
|
-
class?: any;
|
204
202
|
id?: string | undefined;
|
205
|
-
label?: string | undefined;
|
206
|
-
theme?: string | undefined;
|
207
203
|
color?: string | undefined;
|
208
204
|
loading?: string | boolean | undefined;
|
205
|
+
label?: string | undefined;
|
206
|
+
class?: any;
|
207
|
+
theme?: string | undefined;
|
209
208
|
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
210
209
|
rounded?: string | number | boolean | undefined;
|
211
210
|
baseColor?: string | undefined;
|
@@ -215,20 +214,21 @@ declare const VField: {
|
|
215
214
|
'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
|
216
215
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
217
216
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
217
|
+
centerAffix?: boolean | undefined;
|
218
218
|
} & {
|
219
219
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
220
220
|
}, {
|
221
221
|
controlRef: Ref<HTMLElement | undefined>;
|
222
222
|
}, {}, {}, {}, {
|
223
|
-
reverse: boolean;
|
224
223
|
flat: boolean;
|
225
|
-
|
226
|
-
|
224
|
+
reverse: boolean;
|
225
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
227
226
|
error: boolean;
|
227
|
+
active: boolean;
|
228
|
+
style: vue.StyleValue;
|
228
229
|
disabled: boolean;
|
229
230
|
focused: boolean;
|
230
231
|
rounded: string | number | boolean;
|
231
|
-
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
232
232
|
tile: boolean;
|
233
233
|
clearIcon: IconValue;
|
234
234
|
centerAffix: boolean;
|
@@ -241,28 +241,27 @@ declare const VField: {
|
|
241
241
|
__isTeleport?: undefined;
|
242
242
|
__isSuspense?: undefined;
|
243
243
|
} & vue.ComponentOptionsBase<{
|
244
|
-
reverse: boolean;
|
245
244
|
flat: boolean;
|
246
|
-
|
247
|
-
|
245
|
+
reverse: boolean;
|
246
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
248
247
|
error: boolean;
|
248
|
+
active: boolean;
|
249
|
+
style: vue.StyleValue;
|
249
250
|
disabled: boolean;
|
250
251
|
focused: boolean;
|
251
|
-
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
252
252
|
tile: boolean;
|
253
253
|
clearIcon: IconValue;
|
254
|
-
centerAffix: boolean;
|
255
254
|
clearable: boolean;
|
256
255
|
dirty: boolean;
|
257
256
|
persistentClear: boolean;
|
258
257
|
singleLine: boolean;
|
259
258
|
} & {
|
260
|
-
class?: any;
|
261
259
|
id?: string | undefined;
|
262
|
-
label?: string | undefined;
|
263
|
-
theme?: string | undefined;
|
264
260
|
color?: string | undefined;
|
265
261
|
loading?: string | boolean | undefined;
|
262
|
+
label?: string | undefined;
|
263
|
+
class?: any;
|
264
|
+
theme?: string | undefined;
|
266
265
|
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
267
266
|
rounded?: string | number | boolean | undefined;
|
268
267
|
baseColor?: string | undefined;
|
@@ -272,6 +271,7 @@ declare const VField: {
|
|
272
271
|
'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
|
273
272
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
274
273
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
274
|
+
centerAffix?: boolean | undefined;
|
275
275
|
} & {
|
276
276
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
277
277
|
}, {
|
@@ -279,16 +279,16 @@ declare const VField: {
|
|
279
279
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
280
280
|
'update:focused': (focused: boolean) => true;
|
281
281
|
'update:modelValue': (value: any) => true;
|
282
|
-
}, "v-slot:default" | "
|
283
|
-
reverse: boolean;
|
282
|
+
}, "$children" | "v-slot:default" | "v-slots" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:label" | "v-slot:clear" | "v-slot:prepend-inner" | "v-slot:append-inner">, string, {
|
284
283
|
flat: boolean;
|
285
|
-
|
286
|
-
|
284
|
+
reverse: boolean;
|
285
|
+
variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
287
286
|
error: boolean;
|
287
|
+
active: boolean;
|
288
|
+
style: vue.StyleValue;
|
288
289
|
disabled: boolean;
|
289
290
|
focused: boolean;
|
290
291
|
rounded: string | number | boolean;
|
291
|
-
variant: "underlined" | "filled" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
|
292
292
|
tile: boolean;
|
293
293
|
clearIcon: IconValue;
|
294
294
|
centerAffix: boolean;
|
@@ -329,7 +329,7 @@ declare const VField: {
|
|
329
329
|
}, VFieldSlots>) & FilterPropsOptions<{
|
330
330
|
theme: StringConstructor;
|
331
331
|
rounded: {
|
332
|
-
type: (StringConstructor |
|
332
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
333
333
|
default: undefined;
|
334
334
|
};
|
335
335
|
tile: BooleanConstructor;
|
@@ -347,7 +347,10 @@ declare const VField: {
|
|
347
347
|
default: string;
|
348
348
|
};
|
349
349
|
active: BooleanConstructor;
|
350
|
-
centerAffix:
|
350
|
+
centerAffix: {
|
351
|
+
type: BooleanConstructor;
|
352
|
+
default: undefined;
|
353
|
+
};
|
351
354
|
color: StringConstructor;
|
352
355
|
baseColor: StringConstructor;
|
353
356
|
dirty: BooleanConstructor;
|
@@ -363,7 +366,7 @@ declare const VField: {
|
|
363
366
|
reverse: BooleanConstructor;
|
364
367
|
singleLine: BooleanConstructor;
|
365
368
|
variant: {
|
366
|
-
type: PropType<"
|
369
|
+
type: PropType<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
|
367
370
|
default: string;
|
368
371
|
validator: (v: any) => boolean;
|
369
372
|
};
|
@@ -376,7 +379,7 @@ declare const VField: {
|
|
376
379
|
}, vue.ExtractPropTypes<{
|
377
380
|
theme: StringConstructor;
|
378
381
|
rounded: {
|
379
|
-
type: (StringConstructor |
|
382
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
380
383
|
default: undefined;
|
381
384
|
};
|
382
385
|
tile: BooleanConstructor;
|
@@ -394,7 +397,10 @@ declare const VField: {
|
|
394
397
|
default: string;
|
395
398
|
};
|
396
399
|
active: BooleanConstructor;
|
397
|
-
centerAffix:
|
400
|
+
centerAffix: {
|
401
|
+
type: BooleanConstructor;
|
402
|
+
default: undefined;
|
403
|
+
};
|
398
404
|
color: StringConstructor;
|
399
405
|
baseColor: StringConstructor;
|
400
406
|
dirty: BooleanConstructor;
|
@@ -410,7 +416,7 @@ declare const VField: {
|
|
410
416
|
reverse: BooleanConstructor;
|
411
417
|
singleLine: BooleanConstructor;
|
412
418
|
variant: {
|
413
|
-
type: PropType<"
|
419
|
+
type: PropType<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
|
414
420
|
default: string;
|
415
421
|
validator: (v: any) => boolean;
|
416
422
|
};
|