@agendize/design-system
Version:
Agendize web design system
79 lines • 2.38 kB
TypeScript
import { Mandatory, OverlayPosition } from "../../../viewModel";
interface Props {
id: string;
label: string;
helperMessage?: string;
placeholder?: string;
mandatory: Mandatory;
disabled?: boolean;
color?: string;
borderColor?: string;
checkedColor?: string;
deleteButton?: boolean;
ariaLabel?: string;
stopPropagation?: boolean;
loading?: boolean;
reversed?: boolean;
tooltip?: boolean;
tooltipPosition?: OverlayPosition;
}
type __VLS_Props = Props;
type __VLS_PublicProps = {
'modelValue'?: boolean;
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
checkbox?(_: {}): any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
checkField: (showError?: boolean, onMounted?: boolean) => {
isValid: boolean;
id: any;
values: any;
} | {
isValid: boolean;
id: any;
values?: undefined;
};
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:modelValue": (value: boolean) => any;
} & {
error: (item: any) => any;
"update:modelValue": (item: boolean) => any;
validated: (validation: {
isValid: boolean;
id: string;
values: any;
}) => any;
"delete:modelValue": () => any;
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onError?: ((item: any) => any) | undefined;
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
onValidated?: ((validation: {
isValid: boolean;
id: string;
values: any;
}) => any) | undefined;
"onDelete:modelValue"?: (() => any) | undefined;
}>, {
disabled: boolean;
color: string;
tooltipPosition: OverlayPosition;
loading: boolean;
tooltip: boolean;
borderColor: string;
checkedColor: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, 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