@agendize/design-system
Version:
Agendize web design system
70 lines • 2.12 kB
TypeScript
import { Mandatory } from "../viewModel";
interface Props {
id: string;
label: string;
modelValue?: string;
helperMessage?: string;
placeholder?: string;
mandatory: Mandatory;
pattern?: string;
minlength?: number;
maxlength?: number;
disabled?: boolean;
noTranslationTitle?: boolean;
noTranslationHelper?: boolean;
autoCompleteItems: any[];
autoCompleteDisable?: boolean;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: any): any;
};
refs: {
inputField: HTMLInputElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import("vue").DefineComponent<Props, {
checkField: (showError?: boolean, onMounted?: boolean) => {
isValid: boolean;
id: any;
values: any;
} | {
isValid: boolean;
id: any;
values?: undefined;
};
focus: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
error: (item: any) => any;
"update:modelValue": (item: string) => any;
validated: (validation: {
isValid: boolean;
id: string;
values: any;
}) => any;
autoCompleteItemSelected: (item: any) => any;
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
onError?: ((item: any) => any) | undefined;
"onUpdate:modelValue"?: ((item: string) => any) | undefined;
onValidated?: ((validation: {
isValid: boolean;
id: string;
values: any;
}) => any) | undefined;
onAutoCompleteItemSelected?: ((item: any) => any) | undefined;
}>, {
disabled: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
inputField: HTMLInputElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=View.vue.d.ts.map