@matechat/core
Version:
前端智能化场景解决方案UI库,轻松构建你的AI应用。
69 lines (68 loc) • 2.22 kB
TypeScript
import { type ActionItem, ToolbarAction } from './toolbar.types';
declare var __VLS_2: string, __VLS_3: {
actionData: {
key: string;
icon?: ToolbarAction | undefined;
label?: string | undefined;
onClick?: ((actionItem: ActionItem, e: MouseEvent) => void) | undefined;
isActive?: boolean | undefined;
text?: string | undefined;
};
}, __VLS_6: `${string}-icon`, __VLS_7: {
actionData: {
key: string;
icon?: ToolbarAction | undefined;
label?: string | undefined;
onClick?: ((actionItem: ActionItem, e: MouseEvent) => void) | undefined;
isActive?: boolean | undefined;
text?: string | undefined;
};
};
type __VLS_Slots = {} & {
[K in NonNullable<typeof __VLS_2>]?: (props: typeof __VLS_3) => any;
} & {
[K in NonNullable<typeof __VLS_6>]?: (props: typeof __VLS_7) => any;
};
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
items: {
type: import("vue").PropType<ActionItem[]>;
default: () => never[];
};
iconSize: {
type: NumberConstructor;
default: number;
};
gap: {
type: NumberConstructor;
default: number;
};
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
onClick: (actionItem: ActionItem, event: MouseEvent) => any;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
items: {
type: import("vue").PropType<ActionItem[]>;
default: () => never[];
};
iconSize: {
type: NumberConstructor;
default: number;
};
gap: {
type: NumberConstructor;
default: number;
};
}>> & Readonly<{
onOnClick?: ((actionItem: ActionItem, event: MouseEvent) => any) | undefined;
}>, {
gap: number;
iconSize: number;
items: ActionItem[];
}, {}, {}, {}, 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;
};
};