@wfrog/vc
Version:
`自用` 的基于 `element-plus` 二次封装的 `vue3` 组件库。追求在业务场景中,尽可能使用更少的代码量来实现需求。 因此在组件封装上,以 `方便` 为主,打包仅 `esm` 模式。
74 lines (73 loc) • 2.29 kB
TypeScript
import type { PropType } from 'vue';
declare const _sfc_main: import("vue").DefineComponent<{
id: {
type: StringConstructor;
default: () => string;
};
config: {
type: PropType<"mini" | "simple" | "standard" | "full">;
default: string;
};
width: {
type: StringConstructor;
default: string;
};
height: {
type: StringConstructor;
default: string;
};
modelValue: {
type: StringConstructor;
default: string;
};
httpRequest: {
type: PropType<any>;
default: undefined;
};
}, {
props: any;
emits: (event: "update:modelValue", ...args: any[]) => void;
Tinymce: import("vue").ShallowRef<import("tinymce").TinyMCE | undefined>;
loading: import("vue").Ref<boolean>;
tinymceInit: () => Promise<void>;
tinymceDestory: () => void;
tinymceConfig: import("vue").ComputedRef<"mini" | "simple" | "standard" | "full">;
setContent: (val: string) => void;
getContent: () => void;
vLoading: import("vue").Directive<import("element-plus/es/components/loading/src/directive").ElementLoading, import("element-plus/es/components/loading/src/directive").LoadingBinding>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
id: {
type: StringConstructor;
default: () => string;
};
config: {
type: PropType<"mini" | "simple" | "standard" | "full">;
default: string;
};
width: {
type: StringConstructor;
default: string;
};
height: {
type: StringConstructor;
default: string;
};
modelValue: {
type: StringConstructor;
default: string;
};
httpRequest: {
type: PropType<any>;
default: undefined;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {
width: string;
id: string;
modelValue: string;
height: string;
httpRequest: any;
config: "mini" | "simple" | "standard" | "full";
}>;
export default _sfc_main;