/// /// import { Popover } from '@esri/calcite-components/dist/components/calcite-popover'; import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina'; type LogicalPlacement = Popover["placement"]; export declare class InstantAppsSocialShare extends LitElement { /** * Renders tool as a popover with a trigger button, or inline to place in a custom container. * * @default "popover" */ mode: "inline" | "popover"; /** Generated share URL. Use this property to append custom URL parameters if needed. */ shareUrl: string; /** * Auto update share URL. * * @default true */ autoUpdateShareUrl: boolean; /** @default "" */ shareText: string; /** * Show/hide the embed UI. * * @default false */ embed: boolean; /** @default "neutral" */ shareButtonColor: "inverse" | "neutral"; /** * Renders tool in popover mode with a trigger button or action * * @default "button" */ shareButtonType: "action" | "button"; /** * Adjust scale of popover button * * @default "m" */ shareButtonScale: "l" | "m" | "s"; /** * Text to nest in embed iframe code. * * @default "" */ iframeInnerText: string; /** * Adjusts the scale of the popover button icon. * * @default "m" */ popoverButtonIconScale: "l" | "m" | "s"; /** MapView or SceneView to reference when URL parameter values are generated, i.e. center, level, viewpoint, etc. */ view?: __esri.MapView | __esri.SceneView; /** * Show/hide the tip text below the share options. * * @default true */ displayTipText: boolean; /** * Shortens generated URL. * * @default true */ shortenShareUrl: boolean; /** * Show/hide social media icons. * * @default true */ socialMedia: boolean; /** * Display the share icons in a vertical or horizontal layout. * * @default "vertical" */ shareIconsLayout: "horizontal" | "vertical"; /** * Adjusts the scale of the component. * * @default "m" */ scale: "l" | "m" | "s"; /** * Provides an alternate to the success.url message "App URL copied to clipboard." * * @default "" */ successMessage: string; /** * When true, the icon will be flipped when the element direction is right-to-left ("rtl"). * * @default false */ flipRtl: boolean; /** Configure the default URL parameters that are appended to the generated share URL. */ defaultUrlParams: { center?: boolean; level?: boolean; viewpoint?: boolean; selectedFeature?: boolean; hiddenLayers?: boolean; } | null; /** * Configures the placement of the success message popover for the 'Copy Link' button. * See options here: https://github.com/Esri/calcite-components/blob/v1.0.0-beta.83/src/utils/popper.ts#L34 * * @default "trailing" */ inlineSuccessPopoverPlacement: LogicalPlacement; /** * Adjusts the overlay-positioning of the popover. * * @default "absolute" */ popoverPositioning: "absolute" | "fixed"; /** * Remove the pointer and set the vertical offset to 0 for the popover. * * @default false */ removePopoverOffset: boolean; /** * Use the device's native share API (e.g., drawer menu on mobile) if available. * * @default false */ useNativeShare: boolean; /** * Determines if the native share API (e.g., drawer menu on mobile) is enabled and available. * * @default false */ isNativeShareEnabled: boolean; } export {};