yanzhen-design-vue
Version:
65 lines (64 loc) • 2.45 kB
TypeScript
import { ExtractEmitsTypes } from '@yanzhen-libs/utils-vue';
import { ExtractPropTypes } from 'vue';
export declare const richTextOptions: {
ns: any;
class: any;
name: any;
};
export declare const richTextApis: {
default: symbol;
upload: symbol;
};
export declare const richTextTypes: readonly ["default", "simple"];
export declare const richTextName: any;
export type BeforeUploadHandler = (file: File) => File | Promise<File>;
export declare const richTextProps: {
[x: string]: any;
};
export declare const richTextEmits: {
"update:value": (value: string) => boolean;
change: (value: any) => boolean;
blur: (e: MouseEvent) => boolean;
input: (e: MouseEvent) => boolean;
click: (e: MouseEvent) => boolean;
};
export type RichTextProps = ExtractPropTypes<typeof richTextProps>;
export type RichTextPropsKey = keyof RichTextProps;
export type RichTextEmits = ExtractEmitsTypes<typeof richTextEmits>;
export declare const richTextPreviewName: any;
export declare const richTextPreviewProps: {
value: {
readonly type: import('vue').PropType<any>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
tag: {
readonly type: import('vue').PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
nativeTag: {
readonly type: import('vue').PropType<unknown>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
nativeTagFormatter: {
readonly type: import('vue').PropType<(value: unknown, props: Record<string, any>, ref?: import('vue').ComponentInternalInstance | null) => string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
};
export declare const richTextPreviewEmits: {
"update:value": (value: string) => boolean;
change: (value: any) => boolean;
blur: (e: MouseEvent) => boolean;
input: (e: MouseEvent) => boolean;
click: (e: MouseEvent) => boolean;
};
export type RichTextPreviewProps = ExtractPropTypes<typeof richTextPreviewProps>;
export type RichTextPreviewPropsKey = keyof RichTextPreviewProps;
export type RichTextPreviewEmits = ExtractEmitsTypes<typeof richTextPreviewEmits>;