@shopware-ag/meteor-component-library
Version:
The meteor component library is a Vue component library developed by Shopware. It is based on the [Meteor Design System](https://shopware.design/).
77 lines (76 loc) • 2.45 kB
TypeScript
type __VLS_Props = {
label?: string | null;
placeholder?: string;
disabled?: boolean;
error?: {
code: number;
detail: string;
} | null;
hint?: string | null;
toggable?: boolean;
name?: string | undefined;
required?: boolean;
helpText?: string;
size?: "small" | "default";
isInherited?: boolean;
isInheritanceField?: boolean;
disableInheritanceToggle?: boolean;
idSuffix?: string;
};
type __VLS_PublicProps = {
modelValue?: string | undefined;
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
prefix?: unknown;
suffix?: unknown;
hint?: unknown;
}> & {
prefix?: unknown;
suffix?: unknown;
hint?: unknown;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: string | undefined) => any;
} & {
submit: () => any;
"inheritance-remove": (value: unknown) => any;
"inheritance-restore": (value: unknown) => any;
"update:modelValue": (value: string | undefined) => any;
change: (value: string | undefined) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onSubmit?: (() => any) | undefined;
"onInheritance-remove"?: ((value: unknown) => any) | undefined;
"onInheritance-restore"?: ((value: unknown) => any) | undefined;
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
onChange?: ((value: string | undefined) => any) | undefined;
}>, {
name: string;
size: "small" | "default";
required: boolean;
label: string | null;
isInherited: boolean;
error: {
code: number;
detail: string;
} | null;
placeholder: string;
helpText: string;
hint: string | null;
isInheritanceField: boolean;
disableInheritanceToggle: boolean;
idSuffix: string;
toggable: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};