UNPKG

t-fighting-design

Version:

Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.

92 lines (91 loc) 2.88 kB
import type { WatermarkCSSPropertiesInterface } from './src/interface.d'; import type { DefineComponent, PropType, Ref, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue'; import type { InstallType } from '../_interface'; import Watermark from "./src/watermark"; export declare const FWatermark: InstallType<DefineComponent<{ readonly content: { readonly type: StringConstructor; readonly default: () => string; }; readonly width: { readonly type: NumberConstructor; readonly default: () => number; }; readonly height: { readonly type: NumberConstructor; readonly default: () => number; }; readonly fontSize: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly fontColor: { readonly type: StringConstructor; readonly default: () => string; }; readonly image: { readonly type: StringConstructor; readonly default: () => string; }; readonly block: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly zIndex: { readonly type: NumberConstructor; readonly default: () => number; }; }, { prop: { readonly content?: unknown; readonly width?: unknown; readonly height?: unknown; readonly fontSize?: unknown; readonly fontColor?: unknown; readonly image?: unknown; readonly block?: unknown; readonly zIndex?: unknown; } & { fontSize: string | number; width: number; fontColor: string; zIndex: number; block: boolean; content: string; height: number; image: string; } & {}; watermarkStyleList: Ref<CSSProperties>; baseWatermark: WatermarkCSSPropertiesInterface; imageWatermark: WatermarkCSSPropertiesInterface; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly content?: unknown; readonly width?: unknown; readonly height?: unknown; readonly fontSize?: unknown; readonly fontColor?: unknown; readonly image?: unknown; readonly block?: unknown; readonly zIndex?: unknown; } & { fontSize: string | number; width: number; fontColor: string; zIndex: number; block: boolean; content: string; height: number; image: string; } & {}>, { fontSize: string | number; width: number; fontColor: string; zIndex: number; block: boolean; content: string; height: number; image: string; }>>; export declare type WatermarkInstance = InstanceType<typeof Watermark>; export * from './src/interface.d'; export default Watermark;