UNPKG

@arcgis/coding-components

Version:

Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.

29 lines (27 loc) 1.01 kB
/// <reference types="../../index.d.ts" /> import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina'; import { ArcadeResult } from '../../utils/arcade-executor'; export type ResultPanelName = "console" | "log" | "output"; /** @private */ export declare class ArcgisArcadeResults extends LitElement { /** The console logs from the execution of an Arcade expression */ consoleLogs: string[] | undefined; /** * Loading state * * @default false */ loading?: boolean; /** * The result panel displayed * * @default "output" */ openedResultPanel: ResultPanelName; /** The results from the execution of an Arcade expression */ result: ArcadeResult | undefined; /** Raise when the clode action has been activated */ readonly arcgisClose: TargetedEvent<this, void>; /** Raised when the opened result panel has changed */ readonly arcgisOpenedResultPanelChange: TargetedEvent<this, ResultPanelName>; }