tait-ui-components
Version:
Tait UI Component Library - Reusable Vue 3 components
91 lines (90 loc) • 2.82 kB
TypeScript
import { TextTransformTypes } from '../../types/common';
interface Props {
label?: string;
validator?: Record<string, any>;
inputClass?: string;
textTransform?: TextTransformTypes;
showLabel?: boolean;
containerClass?: string | string[];
disabled?: boolean;
firstValidate?: boolean;
icon?: {
value?: string;
position?: 'left' | 'right';
};
helpText?: string;
onSaveButtonClick?: () => void;
disableListener?: boolean;
}
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
label: string;
validator: () => {};
inputClass: string;
textTransform: string;
showLabel: boolean;
containerClass: string;
disabled: boolean;
firstValidate: boolean;
icon: () => {
value: undefined;
position: string;
};
helpText: string;
onSaveButtonClick: () => void;
disableListener: boolean;
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: string | number) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
label: string;
validator: () => {};
inputClass: string;
textTransform: string;
showLabel: boolean;
containerClass: string;
disabled: boolean;
firstValidate: boolean;
icon: () => {
value: undefined;
position: string;
};
helpText: string;
onSaveButtonClick: () => void;
disableListener: boolean;
}>>> & Readonly<{
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
}>, {
label: string;
containerClass: string | string[];
disabled: boolean;
validator: Record<string, any>;
inputClass: string;
showLabel: boolean;
firstValidate: boolean;
onSaveButtonClick: () => void;
disableListener: boolean;
textTransform: TextTransformTypes;
icon: {
value?: string;
position?: "left" | "right";
};
helpText: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
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;
};
};
type __VLS_WithDefaults<P, D> = {
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
default: D[K];
}> : P[K];
};
type __VLS_Prettify<T> = {
[K in keyof T]: T[K];
} & {};
//# sourceMappingURL=DaInputText.vue.d.ts.map