UNPKG

@lekseek/ui

Version:

Vue 3 components library

81 lines (80 loc) 2.3 kB
declare type Props = { modelValue: boolean; id: number | string; label: string | null; color?: string | null; disabled: boolean; dark: boolean; light: boolean; bordered: boolean; elevated: boolean; rounded: boolean; roundedLg: boolean; round: boolean; error: boolean; }; declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { modelValue: boolean; id: string; label: null; color: string; disabled: boolean; dark: boolean; light: boolean; bordered: boolean; elevated: boolean; rounded: boolean; roundedLg: boolean; round: boolean; error: boolean; }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (value: boolean) => void; } & { change: (value: boolean) => void; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { modelValue: boolean; id: string; label: null; color: string; disabled: boolean; dark: boolean; light: boolean; bordered: boolean; elevated: boolean; rounded: boolean; roundedLg: boolean; round: boolean; error: boolean; }>>> & { "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; onChange?: ((value: boolean) => any) | undefined; }, { error: boolean; color: string | null; bordered: boolean; dark: boolean; light: boolean; modelValue: boolean; label: string | null; disabled: boolean; rounded: boolean; roundedLg: boolean; round: boolean; elevated: boolean; id: string | number; }>; export default _default; declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; declare type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; }; declare type __VLS_WithDefaults<P, D> = { [K in keyof P]: K extends keyof D ? P[K] & { default: D[K]; } : P[K]; };