feat(forms): add useMaskedField and useMaskedInput composables for input masking

This commit is contained in:
2026-06-09 13:54:52 +07:00
parent 6de7c72fb3
commit 07937e26db
426 changed files with 12981 additions and 311 deletions
@@ -1,8 +1,15 @@
<script lang="ts">
import type { PrimitiveProps } from '../primitive';
/**
* Wraps a set of MenuRadioItems so that only one can be selected at a time,
* managing the shared selected value. Bind `v-model` to control the selection,
* or supply `defaultValue` to leave it uncontrolled.
*/
export interface MenuRadioGroupProps extends PrimitiveProps {
/** The controlled selected value. Use together with `update:modelValue`. */
modelValue?: string;
/** The selected value when uncontrolled. */
defaultValue?: string;
}
export interface MenuRadioGroupEmits {