@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/).
50 lines (49 loc) • 1.82 kB
TypeScript
declare const model: import('vue').ModelRef<string | undefined, string, string | undefined, string | undefined>;
type __VLS_Props = {
required?: boolean;
disabled?: boolean;
name?: string;
label?: string;
placeholder?: string;
error?: {
detail: string;
};
helpText?: string;
maxLength?: number;
isInherited?: boolean;
isInheritanceField?: boolean;
};
type __VLS_PublicProps = {
modelValue?: typeof model['value'];
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
hint?(_: {}): any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
focus: () => any;
"inheritance-remove": () => any;
"inheritance-restore": () => any;
blur: () => any;
"update:modelValue": (value: string | undefined) => any;
change: (args_0: string | undefined) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onFocus?: (() => any) | undefined;
"onInheritance-remove"?: (() => any) | undefined;
"onInheritance-restore"?: (() => any) | undefined;
onBlur?: (() => any) | undefined;
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
onChange?: ((args_0: string | undefined) => any) | undefined;
}>, {}, {}, {}, {}, 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;
};
};