@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/).
59 lines (58 loc) • 2.13 kB
TypeScript
declare const model: import('vue').ModelRef<string | undefined, string, string | undefined, string | undefined>;
type __VLS_Props = {
disabled?: boolean;
required?: boolean;
modelValue?: string;
name?: string;
label?: string;
error?: {
detail: string;
};
helpText?: string;
copyable?: boolean;
copyableTooltip?: boolean;
placeholder?: string;
small?: boolean;
isInherited?: boolean;
isInheritanceField?: boolean;
};
type __VLS_PublicProps = {
modelValue?: typeof model['value'];
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
prefix?(_: {}): any;
suffix?(_: {}): any;
hint?(_: {}): any;
};
refs: {
inputRef: HTMLInputElement;
};
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: (...args: any[]) => void;
"inheritance-remove": (...args: any[]) => void;
"inheritance-restore": (...args: any[]) => void;
blur: (...args: any[]) => void;
change: (...args: any[]) => void;
"update:modelValue": (value: string | undefined) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onFocus?: ((...args: any[]) => any) | undefined;
"onInheritance-remove"?: ((...args: any[]) => any) | undefined;
"onInheritance-restore"?: ((...args: any[]) => any) | undefined;
onBlur?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
inputRef: 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;
};
};