/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; import { SupportedLayer, WebChartHistogramDataItem, WebMapWebChart } from "@arcgis/charts-spec"; import { ActionBarHideActionsProps, SelectionData } from "@arcgis/charts-shared-utils"; import { HeightScaleDirections } from "./interfaces"; export { SupportedLayer, WebChartHistogramDataItem, WebMapWebChart } from "@arcgis/charts-spec"; export { ActionBarHideActionsProps, SelectionData } from "@arcgis/charts-shared-utils"; export { HeightScaleDirections } from "./interfaces"; export namespace Components { interface ArcgisChartsAppContainer { /** * Whether the chart action bar is expanded * @category Public */ "actionBarExpanded": boolean; /** * Holds properties that determine whether to hide certain action or not in the action bar * @category Public */ "actionBarHideActionsProps": ActionBarHideActionsProps; /** * A reference to the DOM node inside which action bar component is created * @category Public */ "actionsReferenceElement"?: HTMLElement; /** * Whether the app container should reload chart component automatically when chart ID changes * @category Public */ "autoReloadNewChartIds": boolean; /** * A boolean to disable the toggling feature of legend items to show or hide series for multi-series Bar chart. Default value is false. * @category Public */ "barChartDisableTogglingLegendItems": boolean; /** * A boolean to disable the toggling feature of legend items to show or hide series for multi-series Box plot. Default value is false. * @category Public */ "boxPlotDisableTogglingLegendItems": boolean; /** * The data used by the chart * @category Public */ "chartData"?: WebChartHistogramDataItem; /** * Heading title for the chart Element * @category Public */ "chartHeaderTitle"?: string; /** * Whether the chart panel is closable (should have close action in menu) * @category Public */ "chartPanelClosable": boolean; /** * Whether the chart panel is scalable (should have resize action in menu) * @category Public */ "chartPanelScalable": boolean; /** * A reference to the DOM node inside which ArcGIS chart component is created * @category Public */ "chartReferenceElement"?: HTMLElement; /** * Heading title for the config create chart Element * @category Public */ "configHeaderTitle"?: string; /** * Array of chart configs * @category Public */ "configList": WebMapWebChart[]; /** * A reference to the DOM node inside which ArcGIS chart authoring component is created * @category Public */ "configReferenceElement"?: HTMLElement; /** * Whether down scale action is disabled * @category Public */ "disableDownScaleAction": boolean; /** * Whether the edit chart action is disabled * @category Public */ "disableEditAction": boolean; /** * Whether up scale action is disabled * @category Public */ "disableUpScaleAction": boolean; /** * Enables the use of chart components in their beta version. * @default false * @category Public */ "enableChartBetaComponents": boolean; /** * Whether the app should generate its own element references inside shadow DOM * @category Public */ "generateReferences": boolean; /** * A boolean to disable the toggling feature of legend items to show or hide the overlays for Histogram. Default value is false. * @category Public */ "histogramDisableTogglingLegendItems": boolean; /** * The instance of the a feature layer or sublayer to create and edit the charts. * @category Public */ "layer": Sublayer | SupportedLayer; /** * A boolean to disable the toggling feature of legend items to show or hide series for multi-series Line chart. Default value is false. * @category Public */ "lineChartDisableTogglingLegendItems": boolean; /** * the open state of chart authoring component * @category Private */ "openConfig": boolean; /** * panel number to keep track of the flow movement. * @category Public */ "panelNumber"?: number; /** * A boolean to disable the toggling feature of legend items to show or hide slices for Pie chart. Default value is true. * @category Public */ "pieChartDisableTogglingLegendItems": boolean; /** * Popover placement for placing the calcite popopver element used by chart authoring component * @category Public */ "popoverPlacement"?: HTMLCalcitePopoverElement["placement"]; /** * R2 value from trendline Used only by scatter plot * @category Public */ "r2"?: number; /** * A boolean to disable the toggling feature of legend items to show or hide the trend line for Scatter-plot. Default value is false. * @category Public */ "scatterPlotDisableTogglingLegendItems": boolean; /** * Chart ID for the selected chart. * @category Private */ "selectedChartId"?: string | undefined; /** * Object containing information about the selection to be or currently applied on the chart * @category Public */ "selectionData": SelectionData; /** * Method used to set the focus to the config component * @category Public */ "setFocusToConfig": () => Promise; /** * Tab manager element to be used for rendering multiple charts in different tabs. * @category Public */ "tabManagerElement"?: HTMLElement | undefined; /** * usePopupTemplateFieldsInfo can be set to true to read the fields from layer.popupTemplate * @category Public * @default false */ "usePopupTemplateFieldsInfo"?: boolean; /** * The current instance of the MapView or SceneView * @category Public */ "view": MapView | SceneView; } } export interface ArcgisChartsAppContainerCustomEvent extends CustomEvent { detail: T; target: HTMLArcgisChartsAppContainerElement; } declare global { interface HTMLArcgisChartsAppContainerElementEventMap { "arcgisChartsAppChartsConfigChange": any; "arcgisChartsAppChartsListChange": any; "arcgisChartsAppChartsConfigClose": any; "arcgisChartsAppChartScaleChange": HeightScaleDirections; "arcgisChartsAppChartClose": any; "arcgisChartsAppChartsConfigOpen": any; "arcgisChartsAppSelectionChange": SelectionData; } interface HTMLArcgisChartsAppContainerElement extends Components.ArcgisChartsAppContainer, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLArcgisChartsAppContainerElement, ev: ArcgisChartsAppContainerCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLArcgisChartsAppContainerElement, ev: ArcgisChartsAppContainerCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLArcgisChartsAppContainerElement: { prototype: HTMLArcgisChartsAppContainerElement; new (): HTMLArcgisChartsAppContainerElement; }; interface HTMLElementTagNameMap { "arcgis-charts-app-container": HTMLArcgisChartsAppContainerElement; } } declare namespace LocalJSX { interface ArcgisChartsAppContainer { /** * Whether the chart action bar is expanded * @category Public */ "actionBarExpanded"?: boolean; /** * Holds properties that determine whether to hide certain action or not in the action bar * @category Public */ "actionBarHideActionsProps"?: ActionBarHideActionsProps; /** * A reference to the DOM node inside which action bar component is created * @category Public */ "actionsReferenceElement"?: HTMLElement; /** * Whether the app container should reload chart component automatically when chart ID changes * @category Public */ "autoReloadNewChartIds"?: boolean; /** * A boolean to disable the toggling feature of legend items to show or hide series for multi-series Bar chart. Default value is false. * @category Public */ "barChartDisableTogglingLegendItems"?: boolean; /** * A boolean to disable the toggling feature of legend items to show or hide series for multi-series Box plot. Default value is false. * @category Public */ "boxPlotDisableTogglingLegendItems"?: boolean; /** * The data used by the chart * @category Public */ "chartData"?: WebChartHistogramDataItem; /** * Heading title for the chart Element * @category Public */ "chartHeaderTitle"?: string; /** * Whether the chart panel is closable (should have close action in menu) * @category Public */ "chartPanelClosable"?: boolean; /** * Whether the chart panel is scalable (should have resize action in menu) * @category Public */ "chartPanelScalable"?: boolean; /** * A reference to the DOM node inside which ArcGIS chart component is created * @category Public */ "chartReferenceElement"?: HTMLElement; /** * Heading title for the config create chart Element * @category Public */ "configHeaderTitle"?: string; /** * Array of chart configs * @category Public */ "configList"?: WebMapWebChart[]; /** * A reference to the DOM node inside which ArcGIS chart authoring component is created * @category Public */ "configReferenceElement"?: HTMLElement; /** * Whether down scale action is disabled * @category Public */ "disableDownScaleAction"?: boolean; /** * Whether the edit chart action is disabled * @category Public */ "disableEditAction"?: boolean; /** * Whether up scale action is disabled * @category Public */ "disableUpScaleAction"?: boolean; /** * Enables the use of chart components in their beta version. * @default false * @category Public */ "enableChartBetaComponents"?: boolean; /** * Whether the app should generate its own element references inside shadow DOM * @category Public */ "generateReferences"?: boolean; /** * A boolean to disable the toggling feature of legend items to show or hide the overlays for Histogram. Default value is false. * @category Public */ "histogramDisableTogglingLegendItems"?: boolean; /** * The instance of the a feature layer or sublayer to create and edit the charts. * @category Public */ "layer"?: Sublayer | SupportedLayer; /** * A boolean to disable the toggling feature of legend items to show or hide series for multi-series Line chart. Default value is false. * @category Public */ "lineChartDisableTogglingLegendItems"?: boolean; /** * event when chart panel "close" action is clicked * @event */ "onArcgisChartsAppChartClose"?: (event: ArcgisChartsAppContainerCustomEvent) => void; /** * event when chart panel "scale" action is clicked * @event */ "onArcgisChartsAppChartScaleChange"?: (event: ArcgisChartsAppContainerCustomEvent) => void; /** * charts config change event when a chart is added or updated. * @event */ "onArcgisChartsAppChartsConfigChange"?: (event: ArcgisChartsAppContainerCustomEvent) => void; /** * charts config change event when the chart config panel is closed * @event */ "onArcgisChartsAppChartsConfigClose"?: (event: ArcgisChartsAppContainerCustomEvent) => void; /** * event when chart panel "open" action is clicked * @event */ "onArcgisChartsAppChartsConfigOpen"?: (event: ArcgisChartsAppContainerCustomEvent) => void; /** * charts list change event when a chart is deleted from the charts list. * @event */ "onArcgisChartsAppChartsListChange"?: (event: ArcgisChartsAppContainerCustomEvent) => void; /** * event when selection changed. * @event */ "onArcgisChartsAppSelectionChange"?: (event: ArcgisChartsAppContainerCustomEvent) => void; /** * the open state of chart authoring component * @category Private */ "openConfig"?: boolean; /** * panel number to keep track of the flow movement. * @category Public */ "panelNumber"?: number; /** * A boolean to disable the toggling feature of legend items to show or hide slices for Pie chart. Default value is true. * @category Public */ "pieChartDisableTogglingLegendItems"?: boolean; /** * Popover placement for placing the calcite popopver element used by chart authoring component * @category Public */ "popoverPlacement"?: HTMLCalcitePopoverElement["placement"]; /** * R2 value from trendline Used only by scatter plot * @category Public */ "r2"?: number; /** * A boolean to disable the toggling feature of legend items to show or hide the trend line for Scatter-plot. Default value is false. * @category Public */ "scatterPlotDisableTogglingLegendItems"?: boolean; /** * Chart ID for the selected chart. * @category Private */ "selectedChartId"?: string | undefined; /** * Object containing information about the selection to be or currently applied on the chart * @category Public */ "selectionData"?: SelectionData; /** * Tab manager element to be used for rendering multiple charts in different tabs. * @category Public */ "tabManagerElement"?: HTMLElement | undefined; /** * usePopupTemplateFieldsInfo can be set to true to read the fields from layer.popupTemplate * @category Public * @default false */ "usePopupTemplateFieldsInfo"?: boolean; /** * The current instance of the MapView or SceneView * @category Public */ "view"?: MapView | SceneView; } interface IntrinsicElements { "arcgis-charts-app-container": ArcgisChartsAppContainer; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "arcgis-charts-app-container": LocalJSX.ArcgisChartsAppContainer & JSXBase.HTMLAttributes; } } }