hongluan-ui
Version:
Hongluan Component Library for Vue 3
35 lines (34 loc) • 1.74 kB
TypeScript
import type { ExtractPropTypes } from 'vue';
import type Watermark from './watermark.vue';
export interface WatermarkFontType {
color?: string;
fontSize?: number | string;
fontWeight?: 'normal' | 'light' | 'weight' | number;
fontStyle?: 'none' | 'normal' | 'italic' | 'oblique';
fontFamily?: string;
textAlign?: 'start' | 'end' | 'left' | 'right' | 'center';
textBaseline?: 'top' | 'hanging' | 'middle' | 'alphabetic' | 'ideographic' | 'bottom';
}
export declare const watermarkProps: {
readonly zIndex: import("hongluan-ui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 9, boolean>;
readonly rotate: import("hongluan-ui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, -22, boolean>;
readonly width: NumberConstructor;
readonly height: NumberConstructor;
readonly image: StringConstructor;
readonly content: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<string | string[]>, unknown, unknown, "Hongluan UI", boolean>;
readonly font: {
readonly type: import("vue").PropType<unknown>;
readonly required: false;
readonly validator: (val: unknown) => boolean;
__epPropKey: true;
};
readonly gap: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<[number, number]>, unknown, unknown, () => number[], boolean>;
readonly offset: {
readonly type: import("vue").PropType<[number, number]>;
readonly required: false;
readonly validator: (val: unknown) => boolean;
__epPropKey: true;
};
};
export declare type WatermarkProps = ExtractPropTypes<typeof watermarkProps>;
export declare type WatermarkInstance = InstanceType<typeof Watermark>;