import type Accessor from "../core/Accessor.js"; import type Item from "./Item.js"; import type { IdentifiableMixin } from "../core/Identifiable.js"; import type { ItemPanelContents, ItemPanelProperties } from "./types.js"; /** * Stores state for additional content associated with a layer-list item. * * This class does not render UI. Consumer components use its content, presentation, and interaction state * to render a panel associated with an [Item](https://developers.arcgis.com/javascript/latest/references/core/layerList/Item/). * * @beta * @since 5.2 */ export default class ItemPanel extends ItemPanelSuperclass { constructor(properties?: ItemPanelProperties); /** * The content to display in the panel. * Content may be a string, an `HTMLElement`, the `"legend"` keyword, or an array of content values. */ accessor content: ItemPanelContents | null | undefined; /** * Indicates whether the panel cannot be opened or interacted with. * * @default false */ accessor disabled: boolean; /** * Indicates whether a consumer UI should display the panel in a drill-in flow. * When `true`, the panel can be rendered as a separate flow step instead of inline content. * * @default false */ accessor flowEnabled: boolean; /** The icon identifier used by a consumer UI to represent this panel. */ accessor icon: string | null | undefined; /** A URL or data URI for an image used by a consumer UI to represent this panel. */ accessor image: string | null | undefined; /** * The list item that owns this panel. * This association is set automatically when the panel is assigned to an item. */ accessor listItem: Item | null | undefined; /** * Indicates whether the panel is open in a consumer UI. * * @default false */ accessor open: boolean; /** * The title displayed by a consumer UI for this panel. * * @default "" */ accessor title: string; /** * Indicates whether a consumer UI should display this panel. * Set to `false` to hide the panel while preserving its content and state. * * @default true */ accessor visible: boolean; } declare const ItemPanelSuperclass: typeof Accessor & typeof IdentifiableMixin