@matechat/core
Version:
前端智能化场景解决方案UI库,轻松构建你的AI应用。
166 lines (165 loc) • 5.03 kB
TypeScript
import { DisplayType, InputVariant, FormatContentItem } from "./input-types";
declare var __VLS_1: {}, __VLS_3: {}, __VLS_18: {
themeTag: {
type: "themeTag";
themeTagKey?: string | undefined;
themeTagText: string;
clearInput?: boolean | undefined;
popoverContent: string;
};
}, __VLS_24: {}, __VLS_26: {}, __VLS_32: {}, __VLS_34: {};
type __VLS_Slots = {} & {
head?: (props: typeof __VLS_1) => any;
} & {
prefix?: (props: typeof __VLS_3) => any;
} & {
themeTag?: (props: typeof __VLS_18) => any;
} & {
suffix?: (props: typeof __VLS_24) => any;
} & {
button?: (props: typeof __VLS_26) => any;
} & {
extra?: (props: typeof __VLS_32) => any;
} & {
button?: (props: typeof __VLS_34) => any;
};
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
value: {
type: StringConstructor;
default: string;
};
formatContentOptions: {
type: import("vue").PropType<import("./input-types").FormatContentOptions>;
default: () => void;
};
placeholder: {
type: StringConstructor;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
displayType: {
type: import("vue").PropType<DisplayType>;
default: DisplayType;
};
variant: {
type: import("vue").PropType<InputVariant>;
default: InputVariant;
};
sendBtnVariant: {
type: import("vue").PropType<import("./input-types").SendBtnVariant>;
default: import("./input-types").SendBtnVariant;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
showCount: {
type: BooleanConstructor;
default: boolean;
};
maxLength: {
type: NumberConstructor;
};
submitShortKey: {
type: import("vue").PropType<import("./input-types").SubmitShortKey | null>;
default: import("./input-types").SubmitShortKey;
};
autofocus: {
type: BooleanConstructor;
default: boolean;
};
autosize: {
type: import("vue").PropType<import("./input-types").TextareaAutoSize>;
default: boolean;
};
autoClear: {
type: BooleanConstructor;
default: boolean;
};
}>, {
clearInput: () => void;
getInput: () => any;
setInputTag: (key: string, placeholder: string, defaultValue?: string) => void;
setText: (text: string) => void;
setMixTags: (mixTagConfig: FormatContentItem[]) => void;
openTipTag: (themeTagText: string, popoverContent: string, clearInput?: boolean) => void;
closeTipTag: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
value: {
type: StringConstructor;
default: string;
};
formatContentOptions: {
type: import("vue").PropType<import("./input-types").FormatContentOptions>;
default: () => void;
};
placeholder: {
type: StringConstructor;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
displayType: {
type: import("vue").PropType<DisplayType>;
default: DisplayType;
};
variant: {
type: import("vue").PropType<InputVariant>;
default: InputVariant;
};
sendBtnVariant: {
type: import("vue").PropType<import("./input-types").SendBtnVariant>;
default: import("./input-types").SendBtnVariant;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
showCount: {
type: BooleanConstructor;
default: boolean;
};
maxLength: {
type: NumberConstructor;
};
submitShortKey: {
type: import("vue").PropType<import("./input-types").SubmitShortKey | null>;
default: import("./input-types").SubmitShortKey;
};
autofocus: {
type: BooleanConstructor;
default: boolean;
};
autosize: {
type: import("vue").PropType<import("./input-types").TextareaAutoSize>;
default: boolean;
};
autoClear: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{}>, {
variant: InputVariant;
value: string;
loading: boolean;
autofocus: boolean;
disabled: boolean;
autosize: import("./input-types").TextareaAutoSize;
formatContentOptions: import("./input-types").FormatContentOptions;
displayType: DisplayType;
sendBtnVariant: import("./input-types").SendBtnVariant;
showCount: boolean;
submitShortKey: import("./input-types").SubmitShortKey | null;
autoClear: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};