@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
40 lines (39 loc) • 1.57 kB
TypeScript
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { PolymorphicProps } from '../factory.js';
import { RootEmits, RootProps } from './date-input.types.js';
import { FocusChangeDetails, ValueChangeDetails } from '@zag-js/date-input';
import { DateValue } from '@internationalized/date';
export interface DateInputRootBaseProps extends RootProps, PolymorphicProps {
}
export interface DateInputRootProps extends DateInputRootBaseProps,
/**
* @vue-ignore
*/
HTMLAttributes {
}
export interface DateInputRootEmits extends RootEmits {
}
declare const _default: __VLS_WithTemplateSlots< DefineComponent<DateInputRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
focusChange: (details: FocusChangeDetails) => any;
valueChange: (details: ValueChangeDetails) => any;
"update:modelValue": (value: DateValue[]) => any;
}, string, PublicProps, Readonly<DateInputRootProps> & Readonly<{
onFocusChange?: ((details: FocusChangeDetails) => any) | undefined;
onValueChange?: ((details: ValueChangeDetails) => any) | undefined;
"onUpdate:modelValue"?: ((value: DateValue[]) => any) | undefined;
}>, {
invalid: boolean;
disabled: boolean;
required: boolean;
readOnly: boolean;
hideTimeZone: boolean;
shouldForceLeadingZeros: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};