/// import type { PublicLitElement as LitElement } from "@arcgis/lumina"; import type { Button as Button } from "@esri/calcite-components/components/calcite-button"; import type { InputNumber as InputNumber } from "@esri/calcite-components/components/calcite-input-number"; /** @internal */ export abstract class ArcgisLabelInput extends LitElement { /** * Specifies the alignment of the component's text elements. * * @default "center" */ accessor alignment: Button["alignment"] & InputNumber["alignment"]; /** * Indicates whether the component is in edit mode. * This value changes when user interacts with the component or when [edit()](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-label-input/#edit) is called. * The value is always `false` when the component is in [readOnly](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-label-input/#readOnly) mode. * * @default false * @see [edit()](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-label-input/#edit) */ get editing(): boolean; /** A function used to format the value. */ accessor labelFormatter: (value: number, defaultFormatter: (value: number) => string) => string | null | undefined; /** * Indicates whether the component is in read-only mode. * * @default false */ accessor readOnly: boolean; /** * The value the component displays. * * @default 0 */ accessor value: number; /** * Initiates the edit mode for the component. * * @see [editing](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-label-input/#editing) */ edit(): Promise; /** Fires each time a new value is typed and committed. */ readonly arcgisChange: import("@arcgis/lumina").TargetedEvent; readonly "@eventTypes": { arcgisChange: ArcgisLabelInput["arcgisChange"]["detail"]; }; }