import type { VcTooltipProps } from 'vue-cesium/es/components/ui'; import type { VcComponentInternalInstance, VcComponentPublicInstance, VcPrintEvt, VcReadyObject } from 'vue-cesium/es/utils/types'; import type { VNode } from 'vue'; declare const emits: { printEvt: (evt: VcPrintEvt) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }; export declare const printProps: { icon: { type: StringConstructor; default: string; }; size: { type: StringConstructor; default: string; }; color: { type: StringConstructor; default: string; }; background: { type: StringConstructor; default: string; }; round: { type: BooleanConstructor; default: boolean; }; flat: { type: BooleanConstructor; default: boolean; }; label: StringConstructor; stack: { type: BooleanConstructor; default: boolean; }; tooltip: { type: import("vue").PropType; default: () => VcTooltipProps | false; }; screenshotName: StringConstructor; customClass: { type: StringConstructor; default: string; }; teleportToViewer: { type: BooleanConstructor; default: boolean; }; position: { type: import("vue").PropType<"top-right" | "top-left" | "bottom-right" | "bottom-left" | "top" | "right" | "bottom" | "left">; default: string; validator: (v: string) => boolean; }; offset: { type: import("vue").PropType<[number, number]>; validator: (v: any) => boolean; }; showCredit: { type: BooleanConstructor; default: boolean; }; printAutomatically: { type: BooleanConstructor; default: boolean; }; showPrintView: { type: BooleanConstructor; default: boolean; }; downloadAutomatically: { type: BooleanConstructor; default: boolean; }; }; declare const _default: import("vue").DefineComponent<{ position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top" | "right" | "bottom" | "left"; offset?: [number, number]; showCredit?: boolean; printAutomatically?: boolean; showPrintView?: boolean; downloadAutomatically?: boolean; icon?: string; size?: string; color?: string; background?: string; round?: boolean; flat?: boolean; label?: string; stack?: boolean; tooltip?: false | VcTooltipProps; screenshotName?: string; customClass?: string; teleportToViewer?: boolean; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; onPrintEvt?: (evt: VcPrintEvt) => void; }, () => VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { printEvt: (evt: VcPrintEvt) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }, string, import("vue").PublicProps, Readonly<{ position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top" | "right" | "bottom" | "left"; offset?: [number, number]; showCredit?: boolean; printAutomatically?: boolean; showPrintView?: boolean; downloadAutomatically?: boolean; icon?: string; size?: string; color?: string; background?: string; round?: boolean; flat?: boolean; label?: string; stack?: boolean; tooltip?: false | VcTooltipProps; screenshotName?: string; customClass?: string; teleportToViewer?: boolean; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; onPrintEvt?: (evt: VcPrintEvt) => void; }> & Readonly<{ onBeforeLoad?: (instance: VcComponentInternalInstance) => any; onReady?: (readyObj: VcReadyObject) => any; onUnready?: (e: any) => any; onDestroyed?: (instance: VcComponentInternalInstance) => any; onPrintEvt?: (evt: VcPrintEvt) => any; }>, { flat: boolean; position: "top" | "top-right" | "top-left" | "bottom-right" | "bottom-left" | "right" | "bottom" | "left"; color: string; size: string; tooltip: false | VcTooltipProps; round: boolean; icon: string; background: string; customClass: string; teleportToViewer: boolean; stack: boolean; showCredit: boolean; printAutomatically: boolean; showPrintView: boolean; downloadAutomatically: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; export type VcPrintEmits = typeof emits; export interface VcPrintProps { /** * Specify the position of the VcPrint. * Default value: top-right */ position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top' | 'right' | 'bottom' | 'left'; /** * An array of two numbers to offset the VcPrint horizontally and vertically in pixels. * Default value: [0, 0] */ offset?: [number, number]; /** * Specify whether to display the copyright information of the loaded data when printing pictures. * Default value: true */ showCredit?: boolean; /** * Specify whether to print automatically. Need to set showPrintView to false. * Default value: false */ printAutomatically?: boolean; /** * Specify whether to display the print preview. * Default value: true */ showPrintView?: boolean; /** * Specify whether to download the printed pictures. * Default value: false */ downloadAutomatically?: boolean; /** * Specify the icon of the VcPrint. * Default value: vc-icons-geolocation */ icon?: string; /** * Specify the size of the VcPrint. * Default value: 24px */ size?: string; /** * Specify the css color of the VcPrint. * Default value: #3f4854 */ color?: string; /** * Specify the css background of the VcPrint. * Default value: #fff */ background?: string; /** * Makes a circle shaped VcPrint. */ round?: boolean; /** * Use 'flat' design. */ flat?: boolean; /** * The text that will be shown on the VcPrint. */ label?: string; /** * Stack icon and label vertically instead of on same line. */ stack?: boolean; /** * The tooltip parameter. */ tooltip?: false | VcTooltipProps; /** * The screenshot name. */ screenshotName?: string; /** * Specify the customClass of the vc-print. */ customClass?: string; /** * Specify whether to add to the cesium-viewer node. * Default value: true */ teleportToViewer?: boolean; /** * Triggers before the VcPrint is loaded. * @param instance */ onBeforeLoad?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the VcPrint is successfully loaded. */ onReady?: (readyObject: VcReadyObject) => void; /** * Triggers when the component load failed. */ onUnready?: (e: any) => void; /** * Triggers when the VcPrint is destroyed. */ onDestroyed?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the print button is clicked. */ onPrintEvt?: (evt: VcPrintEvt) => void; } export type VcPrintRef = VcComponentPublicInstance; //# sourceMappingURL=index.d.ts.map