@agendize/design-system
Version:
Agendize web design system
64 lines • 1.88 kB
TypeScript
import { FieldLayoutType, Mandatory, ValidationType } from "../../../viewModel";
interface Props {
id: string;
label: string;
helperMessage?: string;
reversalErrorLabel?: string;
mandatory: Mandatory;
minDate?: Date;
maxDate?: Date;
modelValue: {
start: Date | undefined;
end: Date | undefined;
};
startField: {
ariaLabel?: string;
label: string;
};
endField: {
ariaLabel?: string;
label: string;
};
inputLabelLayout?: FieldLayoutType;
canInfiniteBorn?: boolean;
validationType?: ValidationType;
}
declare const _default: import("vue").DefineComponent<Props, {
checkField: (showError?: boolean, onMounted?: boolean) => {
isValid: boolean;
id: any;
values: any;
} | {
isValid: boolean;
id: any;
values?: undefined;
};
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
error: (item: any) => any;
"update:modelValue": (item: {
start: Date | undefined;
end: Date | undefined;
}) => any;
validated: (validation: {
isValid: boolean;
id: string;
values: any;
}) => any;
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
onError?: ((item: any) => any) | undefined;
"onUpdate:modelValue"?: ((item: {
start: Date | undefined;
end: Date | undefined;
}) => any) | undefined;
onValidated?: ((validation: {
isValid: boolean;
id: string;
values: any;
}) => any) | undefined;
}>, {
inputLabelLayout: FieldLayoutType;
canInfiniteBorn: boolean;
validationType: ValidationType;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
export default _default;
//# sourceMappingURL=View.vue.d.ts.map