312 lines
9.8 KiB
TypeScript
Raw Normal View History

2024-01-29 09:26:07 +08:00
import { type PropType } from 'vue';
import { type ExtractPublicPropTypes } from '../../_utils';
export declare const watermarkProps: {
readonly debug: BooleanConstructor;
readonly cross: BooleanConstructor;
readonly fullscreen: BooleanConstructor;
readonly width: {
readonly type: NumberConstructor;
readonly default: 32;
};
readonly height: {
readonly type: NumberConstructor;
readonly default: 32;
};
readonly zIndex: {
readonly type: NumberConstructor;
readonly default: 10;
};
readonly xGap: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly yGap: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly yOffset: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly xOffset: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly rotate: {
readonly type: NumberConstructor;
readonly default: 0;
};
2024-08-02 18:19:39 +08:00
readonly textAlign: {
readonly type: PropType<"left" | "center" | "right">;
readonly default: "left";
};
2024-01-29 09:26:07 +08:00
readonly image: StringConstructor;
readonly imageOpacity: {
readonly type: NumberConstructor;
readonly default: 1;
};
readonly imageHeight: NumberConstructor;
readonly imageWidth: NumberConstructor;
readonly content: StringConstructor;
readonly selectable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly fontSize: {
readonly type: NumberConstructor;
readonly default: 14;
};
readonly fontFamily: StringConstructor;
readonly fontStyle: {
readonly type: PropType<"normal" | "italic" | "oblique" | `oblique ${number}deg`>;
readonly default: "normal";
};
readonly fontVariant: {
readonly type: StringConstructor;
readonly default: "";
};
readonly fontWeight: {
readonly type: NumberConstructor;
readonly default: 400;
};
readonly fontColor: {
readonly type: StringConstructor;
readonly default: "rgba(128, 128, 128, .3)";
};
readonly fontStretch: {
readonly type: StringConstructor;
readonly default: "";
};
readonly lineHeight: {
readonly type: NumberConstructor;
readonly default: 14;
};
readonly globalRotate: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly theme: PropType<import("../../_mixins").Theme<"Watermark", {
fontFamily: string;
}, unknown>>;
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Watermark", {
fontFamily: string;
}, unknown>>>;
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Watermark", {
fontFamily: string;
}, unknown>>>;
};
export type WatermarkProps = ExtractPublicPropTypes<typeof watermarkProps>;
declare const _default: import("vue").DefineComponent<{
readonly debug: BooleanConstructor;
readonly cross: BooleanConstructor;
readonly fullscreen: BooleanConstructor;
readonly width: {
readonly type: NumberConstructor;
readonly default: 32;
};
readonly height: {
readonly type: NumberConstructor;
readonly default: 32;
};
readonly zIndex: {
readonly type: NumberConstructor;
readonly default: 10;
};
readonly xGap: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly yGap: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly yOffset: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly xOffset: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly rotate: {
readonly type: NumberConstructor;
readonly default: 0;
};
2024-08-02 18:19:39 +08:00
readonly textAlign: {
readonly type: PropType<"left" | "center" | "right">;
readonly default: "left";
};
2024-01-29 09:26:07 +08:00
readonly image: StringConstructor;
readonly imageOpacity: {
readonly type: NumberConstructor;
readonly default: 1;
};
readonly imageHeight: NumberConstructor;
readonly imageWidth: NumberConstructor;
readonly content: StringConstructor;
readonly selectable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly fontSize: {
readonly type: NumberConstructor;
readonly default: 14;
};
readonly fontFamily: StringConstructor;
readonly fontStyle: {
readonly type: PropType<"normal" | "italic" | "oblique" | `oblique ${number}deg`>;
readonly default: "normal";
};
readonly fontVariant: {
readonly type: StringConstructor;
readonly default: "";
};
readonly fontWeight: {
readonly type: NumberConstructor;
readonly default: 400;
};
readonly fontColor: {
readonly type: StringConstructor;
readonly default: "rgba(128, 128, 128, .3)";
};
readonly fontStretch: {
readonly type: StringConstructor;
readonly default: "";
};
readonly lineHeight: {
readonly type: NumberConstructor;
readonly default: 14;
};
readonly globalRotate: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly theme: PropType<import("../../_mixins").Theme<"Watermark", {
fontFamily: string;
}, unknown>>;
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Watermark", {
fontFamily: string;
}, unknown>>>;
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Watermark", {
fontFamily: string;
}, unknown>>>;
2024-08-02 18:19:39 +08:00
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2024-01-29 09:26:07 +08:00
readonly debug: BooleanConstructor;
readonly cross: BooleanConstructor;
readonly fullscreen: BooleanConstructor;
readonly width: {
readonly type: NumberConstructor;
readonly default: 32;
};
readonly height: {
readonly type: NumberConstructor;
readonly default: 32;
};
readonly zIndex: {
readonly type: NumberConstructor;
readonly default: 10;
};
readonly xGap: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly yGap: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly yOffset: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly xOffset: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly rotate: {
readonly type: NumberConstructor;
readonly default: 0;
};
2024-08-02 18:19:39 +08:00
readonly textAlign: {
readonly type: PropType<"left" | "center" | "right">;
readonly default: "left";
};
2024-01-29 09:26:07 +08:00
readonly image: StringConstructor;
readonly imageOpacity: {
readonly type: NumberConstructor;
readonly default: 1;
};
readonly imageHeight: NumberConstructor;
readonly imageWidth: NumberConstructor;
readonly content: StringConstructor;
readonly selectable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly fontSize: {
readonly type: NumberConstructor;
readonly default: 14;
};
readonly fontFamily: StringConstructor;
readonly fontStyle: {
readonly type: PropType<"normal" | "italic" | "oblique" | `oblique ${number}deg`>;
readonly default: "normal";
};
readonly fontVariant: {
readonly type: StringConstructor;
readonly default: "";
};
readonly fontWeight: {
readonly type: NumberConstructor;
readonly default: 400;
};
readonly fontColor: {
readonly type: StringConstructor;
readonly default: "rgba(128, 128, 128, .3)";
};
readonly fontStretch: {
readonly type: StringConstructor;
readonly default: "";
};
readonly lineHeight: {
readonly type: NumberConstructor;
readonly default: 14;
};
readonly globalRotate: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly theme: PropType<import("../../_mixins").Theme<"Watermark", {
fontFamily: string;
}, unknown>>;
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Watermark", {
fontFamily: string;
}, unknown>>>;
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Watermark", {
fontFamily: string;
}, unknown>>>;
}>>, {
readonly fontSize: number;
readonly fontStretch: string;
readonly fontStyle: "normal" | "italic" | "oblique" | `oblique ${number}deg`;
readonly fontVariant: string;
readonly fontWeight: number;
readonly height: number;
readonly lineHeight: number;
readonly rotate: number;
2024-08-02 18:19:39 +08:00
readonly textAlign: "left" | "right" | "center";
2024-01-29 09:26:07 +08:00
readonly width: number;
readonly zIndex: number;
readonly cross: boolean;
readonly xGap: number;
readonly yGap: number;
readonly selectable: boolean;
readonly fullscreen: boolean;
readonly debug: boolean;
readonly yOffset: number;
readonly xOffset: number;
readonly imageOpacity: number;
readonly fontColor: string;
readonly globalRotate: number;
}, {}>;
export default _default;