import type Field from "@arcgis/core/layers/support/Field.js"; import type { Popover } from "@esri/calcite-components/dist/components/calcite-popover"; /** @internal */ export type OverlayPositioning = Popover["overlayPositioning"]; /** @internal */ export type LogicalPlacement = Popover["placement"]; /** * Properties used for calcite-popover. * * @internal */ export interface PopoverProps { refElement: HTMLElement; placement?: LogicalPlacement; offsetDistance?: number; offsetSkidding?: number; popoverWidth?: number; overlayPositioning?: OverlayPositioning; flipDisabled?: boolean; triggerDisabled?: boolean; autoClose?: boolean; maxHeight?: string; zIndex?: number; } /** * @deprecated - use PopoverProps instead * @internal */ export type IPopoverProps = PopoverProps; /** * Object to be passed to arcgis-field-pick-list containing info about a field. * Use type:"none" to add non-sortable items, without info options, to the bottom of the list. * * @internal */ export interface PickListFieldInfo { name: Field["name"]; alias?: Field["alias"]; type: string; description?: Field["description"]; hideFieldName?: boolean; hideDescription?: boolean; showEditAction?: boolean; showDeleteAction?: boolean; } /** * @deprecated - use PickListFieldInfo instead * @internal */ export type IPickListFieldInfo = PickListFieldInfo; /** * Object to be passed to arcgis-field-pick-list containing a group of fields. * * @internal */ export interface PickListGroupInfo { title?: string; fields: PickListFieldInfo[]; }