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.

21 lines (19 loc) 925 B
/// <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 */ loading?: boolean; /** The result panel displayed */ 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>; }