import type Accessor from "../../core/Accessor.js";

export interface PopupVisibleElementsProperties extends Partial<Pick<PopupVisibleElements, "actionBar" | "closeButton" | "collapseButton" | "featureListLayerTitle" | "featureMenuHeading" | "featureNavigation" | "heading" | "spinner">> {}

/**
 * The visible elements that are displayed within the widget.
 * This provides the ability to turn individual elements of the widget's display on/off.
 *
 * ![popup-visibleElements](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/popup/popup-visible-elements.png)
 */
export default abstract class PopupVisibleElements extends Accessor {
  /**
   * **Since 4.29.** Indicates whether to display the action bar that holds the feature's [Popup#actions](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#actions).
   *
   * @default true
   */
  accessor actionBar: boolean;
  /**
   * Indicates whether to display a close button on the widget dialog.
   *
   * @default true
   */
  accessor closeButton: boolean;
  /**
   * **Since 4.29.** Indicates whether to display the collapse button on the widget dialog.
   *
   * @default true
   */
  accessor collapseButton: boolean;
  /**
   * **Since 4.30.** Indicates whether to display the group heading for a list of multiple features.
   *
   * ![popup-visibleElements-featureListLayerTitle](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/popup/popup-listlayertitle-true2.png)
   *
   * @default true
   */
  accessor featureListLayerTitle: boolean;
  /**
   * **Since 4.32.** Indicates whether to display a heading and description on the widget feature menu list.
   *
   * @default true
   */
  accessor featureMenuHeading: boolean;
  /**
   * Indicates whether pagination for feature navigation will be displayed. This allows the user to scroll through various [selected features](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#features) using pagination arrows.
   *
   * @default true
   */
  accessor featureNavigation: boolean;
  /**
   * **Since 4.29.** Indicates whether to display the widget heading.
   *
   * @default true
   */
  accessor heading: boolean;
  /**
   * **Since 4.29.** Indicates whether to display the widget's loading spinner.
   *
   * @default true
   */
  accessor spinner: boolean;
}