@arcgis/coding-components
Version:
Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.
27 lines (25 loc) • 1.1 kB
TypeScript
/// <reference types="../../index.d.ts" />
import { PropertyValues } from 'lit';
import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
import { EditorProfile, FeatureSetVariable } from '../../utils/profile/editor-profile';
/** The mode of the component. Either "featureSet" or "profile" */
type Mode = "featureSet" | "profile";
/** @private */
export declare class ArcgisEditorVariables extends LitElement {
/** Loading state */
loading: boolean;
/** The model id */
modelId: string | undefined;
/**
* The variable to display.
* Currently supports EditorProfile and FeatureSetVariable
* In the case of a FeatureSetVariable, the UX will show that variable exclusively,
* excluding the initial profile variables selection panel.
*/
variable: EditorProfile | FeatureSetVariable | undefined;
/** Raised when close action has been activated */
readonly arcgisClose: TargetedEvent<this, void>;
/** Raised when an item has been selected */
readonly arcgisItemSelected: TargetedEvent<this, string>;
}
export {};