/* 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.core'; import { DropdownOption, } from './components/as-dropdown/types/DropdownOption'; import { AxisOptions, HistogramColorRange, HistogramData, HistogramSelection, TooltipFormat, } from './components/as-histogram-widget/interfaces'; import { RenderOptions, } from './components/as-histogram-widget/types/RenderOptions'; import { RawStackedbarData, } from './components/as-stacked-bar-widget/types/RawStackedbarData'; import { Metadata, } from './components/as-stacked-bar-widget/types/Metadata'; import { RectangleData, } from './components/as-stacked-bar-widget/types/RectangleData'; import { TimeSeriesData, } from './components/as-time-series-widget/interfaces'; import { TimeLocaleDefinition, } from 'd3-time-format'; import { WidgetLegendData, } from './components/common/as-widget-legend/types/WidgetLegendData'; export namespace Components { interface AsAnimationControlsWidget { /** * Description of the widget to be displayed * @type {string} * @memberof AnimationControlsWidget */ 'description': string; 'duration': number; /** * Use this widget to put the widget in "error mode". When error mode is active. The header will display the given text. And the body will be display the errorDescription instead any data. */ 'error': string; /** * Extended error description, only shown when error is present */ 'errorDescription': string; /** * Title of the widget to be displayed * @type {string} * @memberof AnimationControlsWidget */ 'heading': string; /** * Use this attribute to put the widget in "loading mode". When loading mode is active, a spinner will be shown and the data will be hidden. */ 'isLoading': boolean; 'max': number; 'min': number; /** * Message shown in body when no data is available */ 'noDataBodyMessage': string; /** * Message shown in header when no data is available */ 'noDataHeaderMessage': string; 'playing': boolean; /** * This attribute is the percentage of progress elapsed on an animation. */ 'progress': number; 'progressValue': number | string; /** * Toggles displaying title and description * @type {boolean} * @memberof AnimationControlsWidget */ 'showHeader': boolean; 'showThumb': boolean; 'showThumbCaption': boolean; } interface AsCategoryWidget { /** * Array of categories to display in the widget. Each category should include a `name` and a `value`. You can also override the bar color for each category with `color`. * @type {object[]} * @memberof CategoryWidget */ 'categories': object[]; /** * Clear current selected categories * @returns * @memberof CategoryWidget */ 'clearSelection': () => Promise; /** * Default color to draw the bars. Default value is `#47DB99`. * @type {string} * @memberof CategoryWidget */ 'defaultBarColor': string; /** * Description text of the widget * @type {string} * @memberof CategoryWidget */ 'description': string; /** * Disable category selection in Widget * @type {string} * @memberof CategoryWidget */ 'disableInteractivity': boolean; /** * Text shown in the header subtitle when there's an error */ 'error': string; /** * Extended error description, only shown when error is present */ 'errorDescription': string; /** * Get current selected categories * @returns * @memberof CategoryWidget */ 'getSelectedCategories': () => Promise; /** * Heading text of the widget * @type {string} * @memberof CategoryWidget */ 'heading': string; /** * Boolean property to control the widget loading state. If true, a spinner is shown. */ 'isLoading': boolean; /** * Message shown in body when no data is available */ 'noDataBodyMessage': string; /** * Message shown in header when no data is available */ 'noDataHeaderMessage': string; /** * If truthy, it'll show a button to clear selected categories when there are any. Default value is `false`. * @type {boolean} * @memberof CategoryWidget */ 'showClearButton': boolean; /** * If truthy, it'll render the heading and component's description. Default value is `true`. * @type {boolean} * @memberof CategoryWidget */ 'showHeader': boolean; /** * If truthy, we'll use the sum of all categories' value to render the bar percentage. By default, we use the maximum category value to render the bar percentage. * @type {boolean} * @memberof CategoryWidget */ 'useTotalPercentage': boolean; /** * If this property receives a function, it will be used to format the numbers (eg. for adding $ or €). * @type {function (value: number)} * @memberof RangeSlider */ 'valueFormatter': (value: number) => string; /** * The number of visible categories without aggregation. * @type {number} * @memberof CategoryWidget */ 'visibleCategories': number; } interface AsCategoryWidgetPlaceholder {} interface AsDropdown { /** * Closes the list, useful in case you need to customize {onClickOutside} * @memberof Dropdown */ 'closeList': () => Promise; /** * Default text to show when no option is selected * @type {string} * @memberof Dropdown */ 'defaultText': string; /** * Function called when clicking outside of the dropdown. By default it closes the list. * @type {function} * @memberof Dropdown */ 'onClickOutside': () => void; /** * Array of options to display in the dropdown * @type {string[]} * @memberof Dropdown */ 'options': DropdownOption[]; /** * Selected option to show in the dropdown * @type {string} * @memberof Dropdown */ 'selectedOption': string; /** * Allow the user to clear selected option * @type {string} * @memberof Dropdown */ 'showClearButton': boolean; } interface AsFormulaWidget { /** * Description text of the widget * @type {string} * @memberof FormulaWidget */ 'description': string; /** * Text shown in the header subtitle when there's an error */ 'error': string; /** * Extended error description, only shown when error is present */ 'errorDescription': string; /** * Heading text of the widget * @type {string} * @memberof FormulaWidget */ 'heading': string; /** * Boolean property to control the widget loading state. If true, a spinner is shown. */ 'isLoading': boolean; /** * Message shown in body when no data is available */ 'noDataBodyMessage': string; /** * Message shown in header when no data is available */ 'noDataHeaderMessage': string; /** * If truthy, it'll render the heading and component's description. Default value is `true`. * @type {boolean} * @memberof FormulaWidget */ 'showHeader': boolean; /** * Numeric value to display in the widget. * @type {number} * @memberof FormulaWidget */ 'value': number; /** * If this property receives a function, it will be used to format the numbers (eg. for adding $ or €). * @type {function (value: number)} * @memberof RangeSlider */ 'valueFormatter': (value: number) => string; } interface AsFormulaWidgetPlaceholder {} interface AsHistogramWidget { /** * Function used to format the x-axis values * @memberof HistogramWidget */ 'axisFormatter': (value: number | Date) => string; /** * Data that will be merged into buckets with value === 0 * @type {HistogramData[]} * @memberof HistogramWidget */ 'backgroundData': HistogramData[]; /** * Clears the Histogram selection * @memberof HistogramWidget */ 'clearSelection': () => Promise; /** * Text rendered inside the clear selection button */ 'clearText': string; /** * Override color for the histogram bars * @type {string} * @memberof HistogramWidget */ 'color': string; /** * Color range for histogram data * @type {HistogramColorRange[]} * @memberof HistogramWidget */ 'colorRange': HistogramColorRange[]; /** * Histogram data to be displayed * @type {HistogramData[]} * @memberof HistogramWidget */ 'data': HistogramData[]; /** * Default formatting function. Makes the value a readable number and converts it into a string. Useful to compose with your own formatting function. * @memberof HistogramWidget */ 'defaultFormatter': (data: HistogramData) => Promise; /** * Description of the widget to be displayed * @type {string} * @memberof HistogramWidget */ 'description': string; /** * This lets you disable the animations for the bars when showing / updating the data * @type {boolean} * @memberof HistogramWidget */ 'disableAnimation': boolean; /** * Disables selection brushes and events for the widget * @type {boolean} * @memberof HistogramWidget */ 'disableInteractivity': boolean; /** * Use this widget to put the widget in "error mode". When error mode is active. The header will display the given text. And the body will be display the errorDescription instead any data. */ 'error': string; /** * Extended error description, only shown when error is present */ 'errorDescription': string; /** * Returns the current selection * @returns * @memberof HistogramWidget */ 'getSelection': () => Promise<(string | number | Date)[]>; /** * Title of the widget to be displayed * @type {string} * @memberof HistogramWidget */ 'heading': string; /** * Use this attribute to put the widget in "loading mode". When loading mode is active, a spinner will be shown and the data will be hidden. */ 'isLoading': boolean; /** * Message shown in body when no data is available */ 'noDataBodyMessage': string; /** * Message shown in header when no data is available */ 'noDataHeaderMessage': string; /** * This prop lets you provide the range of the y-axis so it's not automatically calculated with data or backgroundData. It always starts at 0, you can provide the top value. * @memberof HistogramWidget */ 'range': [number, number]; /** * Use this attribute to decide if the widget should be rerendered on window resize. Defaults to true. */ 'responsive': boolean; /** * Function to format the range selected text displayed below the histogram * @memberof HistogramWidget */ 'selectedFormatter': (value: number[]) => string; /** * Programmatically set the selection. It will be adjusted to the buckets present in {@link data}. To clear see {@link clearSelection} or call with null * @param values * @param emit Set to true to force emitting the selectionChanged event. * @memberof HistogramWidget */ 'setSelection': (values: number[], emit?: boolean) => Promise; /** * Deprecated, use showClearButton instead. Display a clear button that clears the histogram selection. * @type {boolean} * @memberof HistogramWidget * @deprecated */ 'showClear': boolean; /** * Display a clear button that clears the histogram selection. * @type {boolean} * @memberof HistogramWidget */ 'showClearButton': boolean; /** * Toggles displaying title and description * @type {boolean} * @memberof HistogramWidget */ 'showHeader': boolean; /** * Function that formats the tooltip. Receives HistogramData and outputs a string * @type {(HistogramData) => string} * @memberof HistogramWidget */ 'tooltipFormatter': (value: HistogramData) => TooltipFormat | Promise; /** * Override color for the non selected histogram bars * @type {string} * @memberof HistogramWidget */ 'unselectedColor': string; /** * This prop is a proxy to some d3-axis options for the X Axis * @type {AxisOptions} * @memberof TimeSeriesWidget */ 'xAxisOptions': AxisOptions; /** * Formats a number using the component's x-axis formatter if present * @memberof HistogramWidget */ 'xFormatter': (value: any) => Promise; /** * Label the x axis of the histogram with the given string. */ 'xLabel': string; /** * This prop is a proxy to some d3-axis options for the Y Axis * @type {AxisOptions} * @memberof TimeSeriesWidget */ 'yAxisOptions': AxisOptions; /** * Label the y axis of the histogram with the given string. */ 'yLabel': string; } interface AsHistogramWidgetPlaceholder {} interface AsInfowindow { /** * Height of the content. This should be a valid height CSS value. * @type {string} * @memberof Infowindow */ 'height': string; 'src': string; /** * Width of the content. This should be a valid width CSS value. * @type {string} * @memberof Infowindow */ 'width': string; } interface AsLayerSelector { 'layers': string[]; } interface AsLayerSelectorSlot { 'index': number; 'layer': any; } interface AsLegend { 'description': string; 'heading': string; 'loading': boolean; } interface AsLegendCategory { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendCategoryLineEntry { 'color': string; 'label': string; 'strokeStyle': string; 'width': number; } interface AsLegendCategoryPointEntry { 'color': string; 'label': string; 'marker': string; 'strokeColor': string; 'strokeStyle': string; 'width': number; } interface AsLegendCategoryPolygonEntry { 'color': string; 'label': string; 'strokeColor': string; 'strokeStyle': string; } interface AsLegendColorBins { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendColorBinsLine { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendColorBinsPoint { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendColorBinsPolygon { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; } interface AsLegendColorCategory { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendColorCategoryLine { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendColorCategoryPoint { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendColorCategoryPolygon { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendColorContinuous { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendColorContinuousLine { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendColorContinuousPoint { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendColorContinuousPolygon { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; } interface AsLegendSizeBins { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendSizeBinsLine { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendSizeBinsPoint { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendSizeCategory { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendSizeCategoryLine { 'aligned': boolean; 'data': LegendData[]; 'factor': number; 'minWidth': number; 'orientation': 'horizontal' | 'vertical'; } interface AsLegendSizeCategoryPoint { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'width': number; } interface AsLegendSizeContinuous { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'scale': number; } interface AsLegendSizeContinuousLine { 'data': LegendData[]; 'leadingLineStrokeWidth': number; 'orientation': 'horizontal' | 'vertical'; 'size': number; 'textLineHeight': number; 'width': number; 'xMarginFactor': number; 'yMarginFactor': number; } interface AsLegendSizeContinuousPoint { 'data': LegendData[]; 'orientation': 'horizontal' | 'vertical'; 'scale': number; } interface AsLoader {} interface AsPlaceholder {} interface AsPlaceholderBar { 'height': string; 'width': string; } interface AsPlaceholderChart { 'barWidth': number; } interface AsPlaceholderList {} interface AsRangeSlider { /** * Disables component if truthy * @type {boolean} * @memberof RangeSlider */ 'disabled': boolean; /** * @deprecated Use isDraggable instead * @type {boolean} * @memberof RangeSlider */ 'draggable': boolean; /** * If this property receives a function, it will be used to format the numbers (eg. for adding $ or €). * @type {function (value: number)} * @memberof RangeSlider */ 'formatValue': (value: number) => string|number; /** * If this property is set to true, and it has multiple value, you can drag the entire track. * @type {number} * @memberof RangeSlider */ 'isDraggable': boolean; /** * Top limit of the range. You cannot drag your slider beyond this value. By default the value is 10. * @type {number} * @memberof RangeSlider */ 'maxValue': number; /** * Bottom limit of the range. You cannot drag your slider below this value. By default the value is 0. * @type {number} * @memberof RangeSlider */ 'minValue': number; /** * Initial range. * @type {number} * @memberof RangeSlider */ 'range': number[]; /** * Disables the range slider thumb * @type {boolean} * @memberof RangeSlider */ 'showThumb': boolean; /** * Disables the range slider thumb caption * @type {boolean} * @memberof RangeSlider */ 'showThumbCaption': boolean; /** * Increment/decrement step of the slider. You can change the step setting a different number to this property. Defaults to 1. * @type {number} * @memberof RangeSlider */ 'step': number; /** * Initial value. * @type {number} * @memberof RangeSlider */ 'value': number; } interface AsRangeSliderBar { 'disabled': boolean; 'isDraggable': boolean; 'rangeEndPercentage': number; 'rangeStartPercentage': number; 'stepPercentage': number; } interface AsRangeSliderThumb { 'disabled': boolean; 'formatValue': (value: number) => string|number; 'percentage': number; 'showCaption': boolean; 'value': number; 'valueMax': number; 'valueMin': number; } interface AsResponsiveContent { 'getSections': () => Promise; 'setVisible': (sectionName: string) => Promise; } interface AsStackedBarWidget { /** * The data that will be drawn. * @type {RawStackedbarData} * @memberof StackedBarWidget */ 'data': RawStackedbarData[]; /** * Description of the widget to be displayed * @type {string} * @memberof StackedBarWidget */ 'description': string; /** * Use this attribute to put the widget in "error mode". When this attribute is given, its text will be shown in the subheader and the widget content won't be displayed. */ 'error': string; /** * Extended error description, only shown when error is present */ 'errorDescription': string; /** * Easy customize tooltip format */ 'formatFn': (value: any) => any; /** * Header of the widget to be displayed * @type {string} * @memberof StackedBarWidget */ 'heading': string; /** * Use this attribute to put the widget in "loading mode". When this attribute is true, the widget won't show any data, a spinner will be placed instead. */ 'isLoading': boolean; /** * Legend data */ 'metadata': Metadata; /** * Callback executed when the mouse is placed outside a rectangle. */ 'mouseLeave': () => void; /** * Callback executed when the mouse is placed over a rectangle. */ 'mouseOver': (data: RectangleData) => void; /** * Message shown in body when no data is available */ 'noDataBodyMessage': string; /** * Message shown in header when no data is available */ 'noDataHeaderMessage': string; /** * Use this attribute to decide if the widget should be rerendered on window resize. Defaults to true. */ 'responsive': boolean; /** * Boolean flag to control legend visibility. Defaults: true * @type {boolean} * @memberof StackedBarWidget */ 'showLegend': boolean; } interface AsSwitch { /** * Boolean flag to control if the input is checked or not * @type {boolean} * @memberof Switch */ 'checked': boolean; /** * Boolean flag to control when the switch is disabled or not * @type {boolean} * @memberof Switch */ 'disabled': boolean; /** * Input label * @type {string} * @memberof Switch */ 'label': string; /** * The input name * @type {string} * @memberof Switch */ 'name': string; } interface AsTabs { /** * Index of the active tab. Defaults to 0 */ 'activeTab': number; /** * Make the tabs XL */ 'xl': boolean; } interface AsTimeSeriesWidget { /** * Whether it should have animated properties or not. Disabling this makes this look like a histogra widget with time capabilities */ 'animated': boolean; /** * Histogram data to be displayed * @type {HistogramData[]} * @memberof HistogramWidget */ 'backgroundData': TimeSeriesData[]; /** * Proxy to as-histogram-widget clearSelection() * @memberof TimeSeriesWidget */ 'clearSelection': () => Promise; /** * Text rendered inside the clear selection button */ 'clearText': string; /** * Override color for the histogram bars * @type {string} * @memberof HistogramWidget */ 'color': string; /** * Color range for histogram data * @type {HistogramColorRange[]} * @memberof HistogramWidget */ 'colorRange': HistogramColorRange[]; /** * Histogram data to be displayed * @type {HistogramData[]} * @memberof HistogramWidget */ 'data': TimeSeriesData[]; /** * Proxy to as-histogram-widget defaultFormatter() * @memberof TimeSeriesWidget */ 'defaultFormatter': (data: HistogramData) => Promise; /** * Description of the widget to be displayed * @type {string} * @memberof HistogramWidget */ 'description': string; /** * This lets you disable the animations for the bars when showing / updating the data * @type {boolean} * @memberof HistogramWidget */ 'disableAnimation': boolean; /** * Disables selection brushes and events for the widget * @type {boolean} * @memberof HistogramWidget */ 'disableInteractivity': boolean; /** * Use this widget to put the widget in "error mode". When error mode is active. The header will display the given text. And the body will be display the errorDescription instead any data. */ 'error': string; /** * Extended error description, only shown when error is present */ 'errorDescription': string; /** * Proxy to as-histogram-widget getSelection() * @returns * @memberof TimeSeriesWidget */ 'getSelection': () => Promise; /** * Title of the widget to be displayed * @type {string} * @memberof HistogramWidget */ 'heading': string; /** * Use this attribute to put the widget in "loading mode". When loading mode is active, a spinner will be shown and the data will be hidden. */ 'isLoading': boolean; /** * Message shown in body when no data is available */ 'noDataBodyMessage': string; /** * Message shown in header when no data is available */ 'noDataHeaderMessage': string; /** * Whether the animation is playing or not. */ 'playing': boolean; /** * This attribute is the percentage of progress elapsed on an animation. */ 'progress': number; /** * This prop lets you provide the range of the y-axis so it's not automatically calculated with data or backgroundData. It always starts at 0, you can provide the top value. * @memberof HistogramWidget */ 'range': [number, number]; /** * Use this attribute to decide if the widget should be rerendered on window resize. Defaults to true. */ 'responsive': boolean; /** * Proxy to as-histogram-widget setSelection() * @param values * @memberof TimeSeriesWidget */ 'setSelection': (values: number[]) => Promise; /** * Deprecated, use showClearButton instead. Display a clear button that clears the histogram selection. * @type {boolean} * @memberof HistogramWidget * @deprecated */ 'showClear': boolean; /** * Display a clear button that clears the histogram selection. * @type {boolean} * @memberof HistogramWidget */ 'showClearButton': boolean; /** * Toggles displaying title and description * @type {boolean} * @memberof HistogramWidget */ 'showHeader': boolean; /** * This string will be parsed by d3-time-format (https://github.com/d3/d3-time-format) and will be used to format the graph's x-axis */ 'timeFormat': string; /** * Setting this property will make the date formatter be sensitive to locales. The format is described on https://github.com/d3/d3-time-format */ 'timeFormatLocale': TimeLocaleDefinition; /** * Function that formats the tooltip. Receives TimeSeriesData and outputs a string * @type {(TimeSeriesData) => string} * @memberof HistogramWidget */ 'tooltipFormatter': (value: TimeSeriesData) => string; /** * Override color for the selected histogram bars * @type {string} * @memberof HistogramWidget */ 'unselectedColor': string; /** * This prop is a proxy to some d3-axis options for the X Axis * @type {AxisOptions} * @memberof TimeSeriesWidget */ 'xAxisOptions': AxisOptions; /** * Proxy to as-histogram-widget xFormatter method * @param value */ 'xFormatter': (value: any) => Promise; /** * Label the x axis of the histogram with the given string. */ 'xLabel': string; /** * This prop is a proxy to some d3-axis options for the Y Axis * @type {AxisOptions} * @memberof TimeSeriesWidget */ 'yAxisOptions': AxisOptions; /** * Label the y axis of the histogram with the given string. */ 'yLabel': string; } interface AsToolbar {} interface AsWidgetHeader { /** * Use this attribute to put the widget-header in "error mode". When this attribute is not empty the subheader will display the given value. */ 'error': string; /** * Main title * @type {string} * @memberof WidgetHeader */ 'header': string; /** * Use this attribute to put the widget-header in "empty mode". When this attribute is true the subheader will show the text defined by noDataMessage. */ 'isEmpty': boolean; /** * Use this attribute to put the widget-header in "loading mode". When this attribute is true the subheader text will be displayed as usual. */ 'isLoading': boolean; /** * Use this attribute to select the text displayed in the subheader when the header is in "empty mode". Defaults to "NO DATA AVAILABLE" */ 'noDataMessage': string; /** * Secondary title * @type {string} * @memberof WidgetHeader */ 'subheader': string; } interface AsWidgetLegend { /** * Data to be displayed by the legend * @type {WidgetLegendData} * @memberof WidgetLegend */ 'data': WidgetLegendData; } interface AsWidgetSelection { /** * Text for the clear text * @type {string} * @memberof WidgetSelection */ 'clearText': string; /** * The text to be displayed * @type {string} * @memberof WidgetSelection */ 'selection': string; /** * Whether to display the clear button or not * @type {boolean} * @memberof WidgetSelection */ 'showClear': boolean; } interface AsYAxis { /** * Lower limit of the axis * @type {number} * @memberof YAxis */ 'from': number; /** * Use this attribute to decide if the widget should be rerendered on window resize Defaults to true */ 'responsive': boolean; /** * Upper limit of the axis * @type {Number[]} * @memberof YAxis */ 'to': number; } } declare global { interface HTMLAsAnimationControlsWidgetElement extends Components.AsAnimationControlsWidget, HTMLStencilElement {} var HTMLAsAnimationControlsWidgetElement: { prototype: HTMLAsAnimationControlsWidgetElement; new (): HTMLAsAnimationControlsWidgetElement; }; interface HTMLAsCategoryWidgetElement extends Components.AsCategoryWidget, HTMLStencilElement {} var HTMLAsCategoryWidgetElement: { prototype: HTMLAsCategoryWidgetElement; new (): HTMLAsCategoryWidgetElement; }; interface HTMLAsCategoryWidgetPlaceholderElement extends Components.AsCategoryWidgetPlaceholder, HTMLStencilElement {} var HTMLAsCategoryWidgetPlaceholderElement: { prototype: HTMLAsCategoryWidgetPlaceholderElement; new (): HTMLAsCategoryWidgetPlaceholderElement; }; interface HTMLAsDropdownElement extends Components.AsDropdown, HTMLStencilElement {} var HTMLAsDropdownElement: { prototype: HTMLAsDropdownElement; new (): HTMLAsDropdownElement; }; interface HTMLAsFormulaWidgetElement extends Components.AsFormulaWidget, HTMLStencilElement {} var HTMLAsFormulaWidgetElement: { prototype: HTMLAsFormulaWidgetElement; new (): HTMLAsFormulaWidgetElement; }; interface HTMLAsFormulaWidgetPlaceholderElement extends Components.AsFormulaWidgetPlaceholder, HTMLStencilElement {} var HTMLAsFormulaWidgetPlaceholderElement: { prototype: HTMLAsFormulaWidgetPlaceholderElement; new (): HTMLAsFormulaWidgetPlaceholderElement; }; interface HTMLAsHistogramWidgetElement extends Components.AsHistogramWidget, HTMLStencilElement {} var HTMLAsHistogramWidgetElement: { prototype: HTMLAsHistogramWidgetElement; new (): HTMLAsHistogramWidgetElement; }; interface HTMLAsHistogramWidgetPlaceholderElement extends Components.AsHistogramWidgetPlaceholder, HTMLStencilElement {} var HTMLAsHistogramWidgetPlaceholderElement: { prototype: HTMLAsHistogramWidgetPlaceholderElement; new (): HTMLAsHistogramWidgetPlaceholderElement; }; interface HTMLAsInfowindowElement extends Components.AsInfowindow, HTMLStencilElement {} var HTMLAsInfowindowElement: { prototype: HTMLAsInfowindowElement; new (): HTMLAsInfowindowElement; }; interface HTMLAsLayerSelectorElement extends Components.AsLayerSelector, HTMLStencilElement {} var HTMLAsLayerSelectorElement: { prototype: HTMLAsLayerSelectorElement; new (): HTMLAsLayerSelectorElement; }; interface HTMLAsLayerSelectorSlotElement extends Components.AsLayerSelectorSlot, HTMLStencilElement {} var HTMLAsLayerSelectorSlotElement: { prototype: HTMLAsLayerSelectorSlotElement; new (): HTMLAsLayerSelectorSlotElement; }; interface HTMLAsLegendElement extends Components.AsLegend, HTMLStencilElement {} var HTMLAsLegendElement: { prototype: HTMLAsLegendElement; new (): HTMLAsLegendElement; }; interface HTMLAsLegendCategoryElement extends Components.AsLegendCategory, HTMLStencilElement {} var HTMLAsLegendCategoryElement: { prototype: HTMLAsLegendCategoryElement; new (): HTMLAsLegendCategoryElement; }; interface HTMLAsLegendCategoryLineEntryElement extends Components.AsLegendCategoryLineEntry, HTMLStencilElement {} var HTMLAsLegendCategoryLineEntryElement: { prototype: HTMLAsLegendCategoryLineEntryElement; new (): HTMLAsLegendCategoryLineEntryElement; }; interface HTMLAsLegendCategoryPointEntryElement extends Components.AsLegendCategoryPointEntry, HTMLStencilElement {} var HTMLAsLegendCategoryPointEntryElement: { prototype: HTMLAsLegendCategoryPointEntryElement; new (): HTMLAsLegendCategoryPointEntryElement; }; interface HTMLAsLegendCategoryPolygonEntryElement extends Components.AsLegendCategoryPolygonEntry, HTMLStencilElement {} var HTMLAsLegendCategoryPolygonEntryElement: { prototype: HTMLAsLegendCategoryPolygonEntryElement; new (): HTMLAsLegendCategoryPolygonEntryElement; }; interface HTMLAsLegendColorBinsElement extends Components.AsLegendColorBins, HTMLStencilElement {} var HTMLAsLegendColorBinsElement: { prototype: HTMLAsLegendColorBinsElement; new (): HTMLAsLegendColorBinsElement; }; interface HTMLAsLegendColorBinsLineElement extends Components.AsLegendColorBinsLine, HTMLStencilElement {} var HTMLAsLegendColorBinsLineElement: { prototype: HTMLAsLegendColorBinsLineElement; new (): HTMLAsLegendColorBinsLineElement; }; interface HTMLAsLegendColorBinsPointElement extends Components.AsLegendColorBinsPoint, HTMLStencilElement {} var HTMLAsLegendColorBinsPointElement: { prototype: HTMLAsLegendColorBinsPointElement; new (): HTMLAsLegendColorBinsPointElement; }; interface HTMLAsLegendColorBinsPolygonElement extends Components.AsLegendColorBinsPolygon, HTMLStencilElement {} var HTMLAsLegendColorBinsPolygonElement: { prototype: HTMLAsLegendColorBinsPolygonElement; new (): HTMLAsLegendColorBinsPolygonElement; }; interface HTMLAsLegendColorCategoryElement extends Components.AsLegendColorCategory, HTMLStencilElement {} var HTMLAsLegendColorCategoryElement: { prototype: HTMLAsLegendColorCategoryElement; new (): HTMLAsLegendColorCategoryElement; }; interface HTMLAsLegendColorCategoryLineElement extends Components.AsLegendColorCategoryLine, HTMLStencilElement {} var HTMLAsLegendColorCategoryLineElement: { prototype: HTMLAsLegendColorCategoryLineElement; new (): HTMLAsLegendColorCategoryLineElement; }; interface HTMLAsLegendColorCategoryPointElement extends Components.AsLegendColorCategoryPoint, HTMLStencilElement {} var HTMLAsLegendColorCategoryPointElement: { prototype: HTMLAsLegendColorCategoryPointElement; new (): HTMLAsLegendColorCategoryPointElement; }; interface HTMLAsLegendColorCategoryPolygonElement extends Components.AsLegendColorCategoryPolygon, HTMLStencilElement {} var HTMLAsLegendColorCategoryPolygonElement: { prototype: HTMLAsLegendColorCategoryPolygonElement; new (): HTMLAsLegendColorCategoryPolygonElement; }; interface HTMLAsLegendColorContinuousElement extends Components.AsLegendColorContinuous, HTMLStencilElement {} var HTMLAsLegendColorContinuousElement: { prototype: HTMLAsLegendColorContinuousElement; new (): HTMLAsLegendColorContinuousElement; }; interface HTMLAsLegendColorContinuousLineElement extends Components.AsLegendColorContinuousLine, HTMLStencilElement {} var HTMLAsLegendColorContinuousLineElement: { prototype: HTMLAsLegendColorContinuousLineElement; new (): HTMLAsLegendColorContinuousLineElement; }; interface HTMLAsLegendColorContinuousPointElement extends Components.AsLegendColorContinuousPoint, HTMLStencilElement {} var HTMLAsLegendColorContinuousPointElement: { prototype: HTMLAsLegendColorContinuousPointElement; new (): HTMLAsLegendColorContinuousPointElement; }; interface HTMLAsLegendColorContinuousPolygonElement extends Components.AsLegendColorContinuousPolygon, HTMLStencilElement {} var HTMLAsLegendColorContinuousPolygonElement: { prototype: HTMLAsLegendColorContinuousPolygonElement; new (): HTMLAsLegendColorContinuousPolygonElement; }; interface HTMLAsLegendSizeBinsElement extends Components.AsLegendSizeBins, HTMLStencilElement {} var HTMLAsLegendSizeBinsElement: { prototype: HTMLAsLegendSizeBinsElement; new (): HTMLAsLegendSizeBinsElement; }; interface HTMLAsLegendSizeBinsLineElement extends Components.AsLegendSizeBinsLine, HTMLStencilElement {} var HTMLAsLegendSizeBinsLineElement: { prototype: HTMLAsLegendSizeBinsLineElement; new (): HTMLAsLegendSizeBinsLineElement; }; interface HTMLAsLegendSizeBinsPointElement extends Components.AsLegendSizeBinsPoint, HTMLStencilElement {} var HTMLAsLegendSizeBinsPointElement: { prototype: HTMLAsLegendSizeBinsPointElement; new (): HTMLAsLegendSizeBinsPointElement; }; interface HTMLAsLegendSizeCategoryElement extends Components.AsLegendSizeCategory, HTMLStencilElement {} var HTMLAsLegendSizeCategoryElement: { prototype: HTMLAsLegendSizeCategoryElement; new (): HTMLAsLegendSizeCategoryElement; }; interface HTMLAsLegendSizeCategoryLineElement extends Components.AsLegendSizeCategoryLine, HTMLStencilElement {} var HTMLAsLegendSizeCategoryLineElement: { prototype: HTMLAsLegendSizeCategoryLineElement; new (): HTMLAsLegendSizeCategoryLineElement; }; interface HTMLAsLegendSizeCategoryPointElement extends Components.AsLegendSizeCategoryPoint, HTMLStencilElement {} var HTMLAsLegendSizeCategoryPointElement: { prototype: HTMLAsLegendSizeCategoryPointElement; new (): HTMLAsLegendSizeCategoryPointElement; }; interface HTMLAsLegendSizeContinuousElement extends Components.AsLegendSizeContinuous, HTMLStencilElement {} var HTMLAsLegendSizeContinuousElement: { prototype: HTMLAsLegendSizeContinuousElement; new (): HTMLAsLegendSizeContinuousElement; }; interface HTMLAsLegendSizeContinuousLineElement extends Components.AsLegendSizeContinuousLine, HTMLStencilElement {} var HTMLAsLegendSizeContinuousLineElement: { prototype: HTMLAsLegendSizeContinuousLineElement; new (): HTMLAsLegendSizeContinuousLineElement; }; interface HTMLAsLegendSizeContinuousPointElement extends Components.AsLegendSizeContinuousPoint, HTMLStencilElement {} var HTMLAsLegendSizeContinuousPointElement: { prototype: HTMLAsLegendSizeContinuousPointElement; new (): HTMLAsLegendSizeContinuousPointElement; }; interface HTMLAsLoaderElement extends Components.AsLoader, HTMLStencilElement {} var HTMLAsLoaderElement: { prototype: HTMLAsLoaderElement; new (): HTMLAsLoaderElement; }; interface HTMLAsPlaceholderElement extends Components.AsPlaceholder, HTMLStencilElement {} var HTMLAsPlaceholderElement: { prototype: HTMLAsPlaceholderElement; new (): HTMLAsPlaceholderElement; }; interface HTMLAsPlaceholderBarElement extends Components.AsPlaceholderBar, HTMLStencilElement {} var HTMLAsPlaceholderBarElement: { prototype: HTMLAsPlaceholderBarElement; new (): HTMLAsPlaceholderBarElement; }; interface HTMLAsPlaceholderChartElement extends Components.AsPlaceholderChart, HTMLStencilElement {} var HTMLAsPlaceholderChartElement: { prototype: HTMLAsPlaceholderChartElement; new (): HTMLAsPlaceholderChartElement; }; interface HTMLAsPlaceholderListElement extends Components.AsPlaceholderList, HTMLStencilElement {} var HTMLAsPlaceholderListElement: { prototype: HTMLAsPlaceholderListElement; new (): HTMLAsPlaceholderListElement; }; interface HTMLAsRangeSliderElement extends Components.AsRangeSlider, HTMLStencilElement {} var HTMLAsRangeSliderElement: { prototype: HTMLAsRangeSliderElement; new (): HTMLAsRangeSliderElement; }; interface HTMLAsRangeSliderBarElement extends Components.AsRangeSliderBar, HTMLStencilElement {} var HTMLAsRangeSliderBarElement: { prototype: HTMLAsRangeSliderBarElement; new (): HTMLAsRangeSliderBarElement; }; interface HTMLAsRangeSliderThumbElement extends Components.AsRangeSliderThumb, HTMLStencilElement {} var HTMLAsRangeSliderThumbElement: { prototype: HTMLAsRangeSliderThumbElement; new (): HTMLAsRangeSliderThumbElement; }; interface HTMLAsResponsiveContentElement extends Components.AsResponsiveContent, HTMLStencilElement {} var HTMLAsResponsiveContentElement: { prototype: HTMLAsResponsiveContentElement; new (): HTMLAsResponsiveContentElement; }; interface HTMLAsStackedBarWidgetElement extends Components.AsStackedBarWidget, HTMLStencilElement {} var HTMLAsStackedBarWidgetElement: { prototype: HTMLAsStackedBarWidgetElement; new (): HTMLAsStackedBarWidgetElement; }; interface HTMLAsSwitchElement extends Components.AsSwitch, HTMLStencilElement {} var HTMLAsSwitchElement: { prototype: HTMLAsSwitchElement; new (): HTMLAsSwitchElement; }; interface HTMLAsTabsElement extends Components.AsTabs, HTMLStencilElement {} var HTMLAsTabsElement: { prototype: HTMLAsTabsElement; new (): HTMLAsTabsElement; }; interface HTMLAsTimeSeriesWidgetElement extends Components.AsTimeSeriesWidget, HTMLStencilElement {} var HTMLAsTimeSeriesWidgetElement: { prototype: HTMLAsTimeSeriesWidgetElement; new (): HTMLAsTimeSeriesWidgetElement; }; interface HTMLAsToolbarElement extends Components.AsToolbar, HTMLStencilElement {} var HTMLAsToolbarElement: { prototype: HTMLAsToolbarElement; new (): HTMLAsToolbarElement; }; interface HTMLAsWidgetHeaderElement extends Components.AsWidgetHeader, HTMLStencilElement {} var HTMLAsWidgetHeaderElement: { prototype: HTMLAsWidgetHeaderElement; new (): HTMLAsWidgetHeaderElement; }; interface HTMLAsWidgetLegendElement extends Components.AsWidgetLegend, HTMLStencilElement {} var HTMLAsWidgetLegendElement: { prototype: HTMLAsWidgetLegendElement; new (): HTMLAsWidgetLegendElement; }; interface HTMLAsWidgetSelectionElement extends Components.AsWidgetSelection, HTMLStencilElement {} var HTMLAsWidgetSelectionElement: { prototype: HTMLAsWidgetSelectionElement; new (): HTMLAsWidgetSelectionElement; }; interface HTMLAsYAxisElement extends Components.AsYAxis, HTMLStencilElement {} var HTMLAsYAxisElement: { prototype: HTMLAsYAxisElement; new (): HTMLAsYAxisElement; }; interface HTMLElementTagNameMap { 'as-animation-controls-widget': HTMLAsAnimationControlsWidgetElement; 'as-category-widget': HTMLAsCategoryWidgetElement; 'as-category-widget-placeholder': HTMLAsCategoryWidgetPlaceholderElement; 'as-dropdown': HTMLAsDropdownElement; 'as-formula-widget': HTMLAsFormulaWidgetElement; 'as-formula-widget-placeholder': HTMLAsFormulaWidgetPlaceholderElement; 'as-histogram-widget': HTMLAsHistogramWidgetElement; 'as-histogram-widget-placeholder': HTMLAsHistogramWidgetPlaceholderElement; 'as-infowindow': HTMLAsInfowindowElement; 'as-layer-selector': HTMLAsLayerSelectorElement; 'as-layer-selector-slot': HTMLAsLayerSelectorSlotElement; 'as-legend': HTMLAsLegendElement; 'as-legend-category': HTMLAsLegendCategoryElement; 'as-legend-category-line-entry': HTMLAsLegendCategoryLineEntryElement; 'as-legend-category-point-entry': HTMLAsLegendCategoryPointEntryElement; 'as-legend-category-polygon-entry': HTMLAsLegendCategoryPolygonEntryElement; 'as-legend-color-bins': HTMLAsLegendColorBinsElement; 'as-legend-color-bins-line': HTMLAsLegendColorBinsLineElement; 'as-legend-color-bins-point': HTMLAsLegendColorBinsPointElement; 'as-legend-color-bins-polygon': HTMLAsLegendColorBinsPolygonElement; 'as-legend-color-category': HTMLAsLegendColorCategoryElement; 'as-legend-color-category-line': HTMLAsLegendColorCategoryLineElement; 'as-legend-color-category-point': HTMLAsLegendColorCategoryPointElement; 'as-legend-color-category-polygon': HTMLAsLegendColorCategoryPolygonElement; 'as-legend-color-continuous': HTMLAsLegendColorContinuousElement; 'as-legend-color-continuous-line': HTMLAsLegendColorContinuousLineElement; 'as-legend-color-continuous-point': HTMLAsLegendColorContinuousPointElement; 'as-legend-color-continuous-polygon': HTMLAsLegendColorContinuousPolygonElement; 'as-legend-size-bins': HTMLAsLegendSizeBinsElement; 'as-legend-size-bins-line': HTMLAsLegendSizeBinsLineElement; 'as-legend-size-bins-point': HTMLAsLegendSizeBinsPointElement; 'as-legend-size-category': HTMLAsLegendSizeCategoryElement; 'as-legend-size-category-line': HTMLAsLegendSizeCategoryLineElement; 'as-legend-size-category-point': HTMLAsLegendSizeCategoryPointElement; 'as-legend-size-continuous': HTMLAsLegendSizeContinuousElement; 'as-legend-size-continuous-line': HTMLAsLegendSizeContinuousLineElement; 'as-legend-size-continuous-point': HTMLAsLegendSizeContinuousPointElement; 'as-loader': HTMLAsLoaderElement; 'as-placeholder': HTMLAsPlaceholderElement; 'as-placeholder-bar': HTMLAsPlaceholderBarElement; 'as-placeholder-chart': HTMLAsPlaceholderChartElement; 'as-placeholder-list': HTMLAsPlaceholderListElement; 'as-range-slider': HTMLAsRangeSliderElement; 'as-range-slider-bar': HTMLAsRangeSliderBarElement; 'as-range-slider-thumb': HTMLAsRangeSliderThumbElement; 'as-responsive-content': HTMLAsResponsiveContentElement; 'as-stacked-bar-widget': HTMLAsStackedBarWidgetElement; 'as-switch': HTMLAsSwitchElement; 'as-tabs': HTMLAsTabsElement; 'as-time-series-widget': HTMLAsTimeSeriesWidgetElement; 'as-toolbar': HTMLAsToolbarElement; 'as-widget-header': HTMLAsWidgetHeaderElement; 'as-widget-legend': HTMLAsWidgetLegendElement; 'as-widget-selection': HTMLAsWidgetSelectionElement; 'as-y-axis': HTMLAsYAxisElement; } } declare namespace LocalJSX { interface AsAnimationControlsWidget extends JSXBase.HTMLAttributes { /** * Description of the widget to be displayed * @type {string} * @memberof AnimationControlsWidget */ 'description'?: string; 'duration'?: number; /** * Use this widget to put the widget in "error mode". When error mode is active. The header will display the given text. And the body will be display the errorDescription instead any data. */ 'error'?: string; /** * Extended error description, only shown when error is present */ 'errorDescription'?: string; /** * Title of the widget to be displayed * @type {string} * @memberof AnimationControlsWidget */ 'heading'?: string; /** * Use this attribute to put the widget in "loading mode". When loading mode is active, a spinner will be shown and the data will be hidden. */ 'isLoading'?: boolean; 'max'?: number; 'min'?: number; /** * Message shown in body when no data is available */ 'noDataBodyMessage'?: string; /** * Message shown in header when no data is available */ 'noDataHeaderMessage'?: string; /** * User clicks the pause button */ 'onPause'?: (event: CustomEvent) => void; /** * User clicks the play button */ 'onPlay'?: (event: CustomEvent) => void; /** * The user has seeked the animation to this percentage. */ 'onSeek'?: (event: CustomEvent) => void; 'playing'?: boolean; /** * This attribute is the percentage of progress elapsed on an animation. */ 'progress'?: number; 'progressValue'?: number | string; /** * Toggles displaying title and description * @type {boolean} * @memberof AnimationControlsWidget */ 'showHeader'?: boolean; 'showThumb'?: boolean; 'showThumbCaption'?: boolean; } interface AsCategoryWidget extends JSXBase.HTMLAttributes { /** * Array of categories to display in the widget. Each category should include a `name` and a `value`. You can also override the bar color for each category with `color`. * @type {object[]} * @memberof CategoryWidget */ 'categories'?: object[]; /** * Default color to draw the bars. Default value is `#47DB99`. * @type {string} * @memberof CategoryWidget */ 'defaultBarColor'?: string; /** * Description text of the widget * @type {string} * @memberof CategoryWidget */ 'description'?: string; /** * Disable category selection in Widget * @type {string} * @memberof CategoryWidget */ 'disableInteractivity'?: boolean; /** * Text shown in the header subtitle when there's an error */ 'error'?: string; /** * Extended error description, only shown when error is present */ 'errorDescription'?: string; /** * Heading text of the widget * @type {string} * @memberof CategoryWidget */ 'heading'?: string; /** * Boolean property to control the widget loading state. If true, a spinner is shown. */ 'isLoading'?: boolean; /** * Message shown in body when no data is available */ 'noDataBodyMessage'?: string; /** * Message shown in header when no data is available */ 'noDataHeaderMessage'?: string; /** * Fired when selected categories changed or selected categories are cleared. * @event categoriesSelected * @type {EventEmitter} * @memberof CategoryWidget */ 'onCategoriesSelected'?: (event: CustomEvent) => void; /** * If truthy, it'll show a button to clear selected categories when there are any. Default value is `false`. * @type {boolean} * @memberof CategoryWidget */ 'showClearButton'?: boolean; /** * If truthy, it'll render the heading and component's description. Default value is `true`. * @type {boolean} * @memberof CategoryWidget */ 'showHeader'?: boolean; /** * If truthy, we'll use the sum of all categories' value to render the bar percentage. By default, we use the maximum category value to render the bar percentage. * @type {boolean} * @memberof CategoryWidget */ 'useTotalPercentage'?: boolean; /** * If this property receives a function, it will be used to format the numbers (eg. for adding $ or €). * @type {function (value: number)} * @memberof RangeSlider */ 'valueFormatter'?: (value: number) => string; /** * The number of visible categories without aggregation. * @type {number} * @memberof CategoryWidget */ 'visibleCategories'?: number; } interface AsCategoryWidgetPlaceholder extends JSXBase.HTMLAttributes {} interface AsDropdown extends JSXBase.HTMLAttributes { /** * Default text to show when no option is selected * @type {string} * @memberof Dropdown */ 'defaultText'?: string; /** * Function called when clicking outside of the dropdown. By default it closes the list. * @type {function} * @memberof Dropdown */ 'onClickOutside'?: () => void; /** * Fired when selected option changes or option is cleared * @type {string} * @memberof Dropdown */ 'onOptionChanged'?: (event: CustomEvent) => void; /** * Array of options to display in the dropdown * @type {string[]} * @memberof Dropdown */ 'options'?: DropdownOption[]; /** * Selected option to show in the dropdown * @type {string} * @memberof Dropdown */ 'selectedOption'?: string; /** * Allow the user to clear selected option * @type {string} * @memberof Dropdown */ 'showClearButton'?: boolean; } interface AsFormulaWidget extends JSXBase.HTMLAttributes { /** * Description text of the widget * @type {string} * @memberof FormulaWidget */ 'description'?: string; /** * Text shown in the header subtitle when there's an error */ 'error'?: string; /** * Extended error description, only shown when error is present */ 'errorDescription'?: string; /** * Heading text of the widget * @type {string} * @memberof FormulaWidget */ 'heading'?: string; /** * Boolean property to control the widget loading state. If true, a spinner is shown. */ 'isLoading'?: boolean; /** * Message shown in body when no data is available */ 'noDataBodyMessage'?: string; /** * Message shown in header when no data is available */ 'noDataHeaderMessage'?: string; /** * If truthy, it'll render the heading and component's description. Default value is `true`. * @type {boolean} * @memberof FormulaWidget */ 'showHeader'?: boolean; /** * Numeric value to display in the widget. * @type {number} * @memberof FormulaWidget */ 'value'?: number; /** * If this property receives a function, it will be used to format the numbers (eg. for adding $ or €). * @type {function (value: number)} * @memberof RangeSlider */ 'valueFormatter'?: (value: number) => string; } interface AsFormulaWidgetPlaceholder extends JSXBase.HTMLAttributes {} interface AsHistogramWidget extends JSXBase.HTMLAttributes { /** * Function used to format the x-axis values * @memberof HistogramWidget */ 'axisFormatter'?: (value: number | Date) => string; /** * Data that will be merged into buckets with value === 0 * @type {HistogramData[]} * @memberof HistogramWidget */ 'backgroundData'?: HistogramData[]; /** * Text rendered inside the clear selection button */ 'clearText'?: string; /** * Override color for the histogram bars * @type {string} * @memberof HistogramWidget */ 'color'?: string; /** * Color range for histogram data * @type {HistogramColorRange[]} * @memberof HistogramWidget */ 'colorRange'?: HistogramColorRange[]; /** * Histogram data to be displayed * @type {HistogramData[]} * @memberof HistogramWidget */ 'data'?: HistogramData[]; /** * Description of the widget to be displayed * @type {string} * @memberof HistogramWidget */ 'description'?: string; /** * This lets you disable the animations for the bars when showing / updating the data * @type {boolean} * @memberof HistogramWidget */ 'disableAnimation'?: boolean; /** * Disables selection brushes and events for the widget * @type {boolean} * @memberof HistogramWidget */ 'disableInteractivity'?: boolean; /** * Use this widget to put the widget in "error mode". When error mode is active. The header will display the given text. And the body will be display the errorDescription instead any data. */ 'error'?: string; /** * Extended error description, only shown when error is present */ 'errorDescription'?: string; /** * Title of the widget to be displayed * @type {string} * @memberof HistogramWidget */ 'heading'?: string; /** * Use this attribute to put the widget in "loading mode". When loading mode is active, a spinner will be shown and the data will be hidden. */ 'isLoading'?: boolean; /** * Message shown in body when no data is available */ 'noDataBodyMessage'?: string; /** * Message shown in header when no data is available */ 'noDataHeaderMessage'?: string; 'onDrawParametersChanged'?: (event: CustomEvent) => void; /** * Fired when user update or clear the widget selection. * @type {EventEmitter} * @memberof HistogramWidget */ 'onSelectionChanged'?: (event: CustomEvent) => void; 'onSelectionInput'?: (event: CustomEvent) => void; /** * This prop lets you provide the range of the y-axis so it's not automatically calculated with data or backgroundData. It always starts at 0, you can provide the top value. * @memberof HistogramWidget */ 'range'?: [number, number]; /** * Use this attribute to decide if the widget should be rerendered on window resize. Defaults to true. */ 'responsive'?: boolean; /** * Function to format the range selected text displayed below the histogram * @memberof HistogramWidget */ 'selectedFormatter'?: (value: number[]) => string; /** * Deprecated, use showClearButton instead. Display a clear button that clears the histogram selection. * @type {boolean} * @memberof HistogramWidget * @deprecated */ 'showClear'?: boolean; /** * Display a clear button that clears the histogram selection. * @type {boolean} * @memberof HistogramWidget */ 'showClearButton'?: boolean; /** * Toggles displaying title and description * @type {boolean} * @memberof HistogramWidget */ 'showHeader'?: boolean; /** * Function that formats the tooltip. Receives HistogramData and outputs a string * @type {(HistogramData) => string} * @memberof HistogramWidget */ 'tooltipFormatter'?: (value: HistogramData) => TooltipFormat | Promise; /** * Override color for the non selected histogram bars * @type {string} * @memberof HistogramWidget */ 'unselectedColor'?: string; /** * This prop is a proxy to some d3-axis options for the X Axis * @type {AxisOptions} * @memberof TimeSeriesWidget */ 'xAxisOptions'?: AxisOptions; /** * Label the x axis of the histogram with the given string. */ 'xLabel'?: string; /** * This prop is a proxy to some d3-axis options for the Y Axis * @type {AxisOptions} * @memberof TimeSeriesWidget */ 'yAxisOptions'?: AxisOptions; /** * Label the y axis of the histogram with the given string. */ 'yLabel'?: string; } interface AsHistogramWidgetPlaceholder extends JSXBase.HTMLAttributes {} interface AsInfowindow extends JSXBase.HTMLAttributes { /** * Height of the content. This should be a valid height CSS value. * @type {string} * @memberof Infowindow */ 'height'?: string; 'src'?: string; /** * Width of the content. This should be a valid width CSS value. * @type {string} * @memberof Infowindow */ 'width'?: string; } interface AsLayerSelector extends JSXBase.HTMLAttributes { 'layers'?: string[]; 'onOnToggleLayer'?: (event: CustomEvent) => void; } interface AsLayerSelectorSlot extends JSXBase.HTMLAttributes { 'index'?: number; 'layer'?: any; /** * This method proxies the toggleLayer event */ 'onOnToggleCheckbox'?: (event: CustomEvent) => void; } interface AsLegend extends JSXBase.HTMLAttributes { 'description'?: string; 'heading'?: string; 'loading'?: boolean; } interface AsLegendCategory extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendCategoryLineEntry extends JSXBase.HTMLAttributes { 'color'?: string; 'label'?: string; 'strokeStyle'?: string; 'width'?: number; } interface AsLegendCategoryPointEntry extends JSXBase.HTMLAttributes { 'color'?: string; 'label'?: string; 'marker'?: string; 'strokeColor'?: string; 'strokeStyle'?: string; 'width'?: number; } interface AsLegendCategoryPolygonEntry extends JSXBase.HTMLAttributes { 'color'?: string; 'label'?: string; 'strokeColor'?: string; 'strokeStyle'?: string; } interface AsLegendColorBins extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendColorBinsLine extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendColorBinsPoint extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendColorBinsPolygon extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; } interface AsLegendColorCategory extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendColorCategoryLine extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendColorCategoryPoint extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendColorCategoryPolygon extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendColorContinuous extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendColorContinuousLine extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendColorContinuousPoint extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendColorContinuousPolygon extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; } interface AsLegendSizeBins extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendSizeBinsLine extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendSizeBinsPoint extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendSizeCategory extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendSizeCategoryLine extends JSXBase.HTMLAttributes { 'aligned'?: boolean; 'data'?: LegendData[]; 'factor'?: number; 'minWidth'?: number; 'orientation'?: 'horizontal' | 'vertical'; } interface AsLegendSizeCategoryPoint extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'width'?: number; } interface AsLegendSizeContinuous extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'scale'?: number; } interface AsLegendSizeContinuousLine extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'leadingLineStrokeWidth'?: number; 'orientation'?: 'horizontal' | 'vertical'; 'size'?: number; 'textLineHeight'?: number; 'width'?: number; 'xMarginFactor'?: number; 'yMarginFactor'?: number; } interface AsLegendSizeContinuousPoint extends JSXBase.HTMLAttributes { 'data'?: LegendData[]; 'orientation'?: 'horizontal' | 'vertical'; 'scale'?: number; } interface AsLoader extends JSXBase.HTMLAttributes {} interface AsPlaceholder extends JSXBase.HTMLAttributes {} interface AsPlaceholderBar extends JSXBase.HTMLAttributes { 'height'?: string; 'width'?: string; } interface AsPlaceholderChart extends JSXBase.HTMLAttributes { 'barWidth'?: number; } interface AsPlaceholderList extends JSXBase.HTMLAttributes {} interface AsRangeSlider extends JSXBase.HTMLAttributes { /** * Disables component if truthy * @type {boolean} * @memberof RangeSlider */ 'disabled'?: boolean; /** * @deprecated Use isDraggable instead * @type {boolean} * @memberof RangeSlider */ 'draggable'?: boolean; /** * If this property receives a function, it will be used to format the numbers (eg. for adding $ or €). * @type {function (value: number)} * @memberof RangeSlider */ 'formatValue'?: (value: number) => string|number; /** * If this property is set to true, and it has multiple value, you can drag the entire track. * @type {number} * @memberof RangeSlider */ 'isDraggable'?: boolean; /** * Top limit of the range. You cannot drag your slider beyond this value. By default the value is 10. * @type {number} * @memberof RangeSlider */ 'maxValue'?: number; /** * Bottom limit of the range. You cannot drag your slider below this value. By default the value is 0. * @type {number} * @memberof RangeSlider */ 'minValue'?: number; 'onChange'?: (event: CustomEvent) => void; 'onChangeEnd'?: (event: CustomEvent) => void; 'onChangeStart'?: (event: CustomEvent) => void; /** * Initial range. * @type {number} * @memberof RangeSlider */ 'range'?: number[]; /** * Disables the range slider thumb * @type {boolean} * @memberof RangeSlider */ 'showThumb'?: boolean; /** * Disables the range slider thumb caption * @type {boolean} * @memberof RangeSlider */ 'showThumbCaption'?: boolean; /** * Increment/decrement step of the slider. You can change the step setting a different number to this property. Defaults to 1. * @type {number} * @memberof RangeSlider */ 'step'?: number; /** * Initial value. * @type {number} * @memberof RangeSlider */ 'value'?: number; } interface AsRangeSliderBar extends JSXBase.HTMLAttributes { 'disabled'?: boolean; 'isDraggable'?: boolean; 'onBarChangeEnd'?: (event: CustomEvent) => void; 'onBarChangeStart'?: (event: CustomEvent) => void; 'onBarMove'?: (event: CustomEvent) => void; 'rangeEndPercentage'?: number; 'rangeStartPercentage'?: number; 'stepPercentage'?: number; } interface AsRangeSliderThumb extends JSXBase.HTMLAttributes { 'disabled'?: boolean; 'formatValue'?: (value: number) => string|number; 'onThumbChangeEnd'?: (event: CustomEvent) => void; 'onThumbChangeStart'?: (event: CustomEvent) => void; 'onThumbDecrease'?: (event: CustomEvent) => void; 'onThumbIncrease'?: (event: CustomEvent) => void; 'onThumbMove'?: (event: CustomEvent) => void; 'onThumbRender'?: (event: CustomEvent) => void; 'percentage'?: number; 'showCaption'?: boolean; 'value'?: number; 'valueMax'?: number; 'valueMin'?: number; } interface AsResponsiveContent extends JSXBase.HTMLAttributes { 'onReady'?: (event: CustomEvent) => void; 'onSectionChange'?: (event: CustomEvent) => void; } interface AsStackedBarWidget extends JSXBase.HTMLAttributes { /** * The data that will be drawn. * @type {RawStackedbarData} * @memberof StackedBarWidget */ 'data'?: RawStackedbarData[]; /** * Description of the widget to be displayed * @type {string} * @memberof StackedBarWidget */ 'description'?: string; /** * Use this attribute to put the widget in "error mode". When this attribute is given, its text will be shown in the subheader and the widget content won't be displayed. */ 'error'?: string; /** * Extended error description, only shown when error is present */ 'errorDescription'?: string; /** * Easy customize tooltip format */ 'formatFn'?: (value: any) => any; /** * Header of the widget to be displayed * @type {string} * @memberof StackedBarWidget */ 'heading'?: string; /** * Use this attribute to put the widget in "loading mode". When this attribute is true, the widget won't show any data, a spinner will be placed instead. */ 'isLoading'?: boolean; /** * Legend data */ 'metadata'?: Metadata; /** * Callback executed when the mouse is placed outside a rectangle. */ 'mouseLeave'?: () => void; /** * Callback executed when the mouse is placed over a rectangle. */ 'mouseOver'?: (data: RectangleData) => void; /** * Message shown in body when no data is available */ 'noDataBodyMessage'?: string; /** * Message shown in header when no data is available */ 'noDataHeaderMessage'?: string; /** * Use this attribute to decide if the widget should be rerendered on window resize. Defaults to true. */ 'responsive'?: boolean; /** * Boolean flag to control legend visibility. Defaults: true * @type {boolean} * @memberof StackedBarWidget */ 'showLegend'?: boolean; } interface AsSwitch extends JSXBase.HTMLAttributes { /** * Boolean flag to control if the input is checked or not * @type {boolean} * @memberof Switch */ 'checked'?: boolean; /** * Boolean flag to control when the switch is disabled or not * @type {boolean} * @memberof Switch */ 'disabled'?: boolean; /** * Input label * @type {string} * @memberof Switch */ 'label'?: string; /** * The input name * @type {string} * @memberof Switch */ 'name'?: string; /** * Event triggered by a enabled Switch component when the user clicks on it. * @type {boolean} * @memberof Switch */ 'onChange'?: (event: CustomEvent) => void; } interface AsTabs extends JSXBase.HTMLAttributes { /** * Index of the active tab. Defaults to 0 */ 'activeTab'?: number; /** * Make the tabs XL */ 'xl'?: boolean; } interface AsTimeSeriesWidget extends JSXBase.HTMLAttributes { /** * Whether it should have animated properties or not. Disabling this makes this look like a histogra widget with time capabilities */ 'animated'?: boolean; /** * Histogram data to be displayed * @type {HistogramData[]} * @memberof HistogramWidget */ 'backgroundData'?: TimeSeriesData[]; /** * Text rendered inside the clear selection button */ 'clearText'?: string; /** * Override color for the histogram bars * @type {string} * @memberof HistogramWidget */ 'color'?: string; /** * Color range for histogram data * @type {HistogramColorRange[]} * @memberof HistogramWidget */ 'colorRange'?: HistogramColorRange[]; /** * Histogram data to be displayed * @type {HistogramData[]} * @memberof HistogramWidget */ 'data'?: TimeSeriesData[]; /** * Description of the widget to be displayed * @type {string} * @memberof HistogramWidget */ 'description'?: string; /** * This lets you disable the animations for the bars when showing / updating the data * @type {boolean} * @memberof HistogramWidget */ 'disableAnimation'?: boolean; /** * Disables selection brushes and events for the widget * @type {boolean} * @memberof HistogramWidget */ 'disableInteractivity'?: boolean; /** * Use this widget to put the widget in "error mode". When error mode is active. The header will display the given text. And the body will be display the errorDescription instead any data. */ 'error'?: string; /** * Extended error description, only shown when error is present */ 'errorDescription'?: string; /** * Title of the widget to be displayed * @type {string} * @memberof HistogramWidget */ 'heading'?: string; /** * Use this attribute to put the widget in "loading mode". When loading mode is active, a spinner will be shown and the data will be hidden. */ 'isLoading'?: boolean; /** * Message shown in body when no data is available */ 'noDataBodyMessage'?: string; /** * Message shown in header when no data is available */ 'noDataHeaderMessage'?: string; /** * User clicks the pause button */ 'onPause'?: (event: CustomEvent) => void; /** * User clicks the play button */ 'onPlay'?: (event: CustomEvent) => void; /** * The user has seeked the animation to this percentage. */ 'onSeek'?: (event: CustomEvent) => void; /** * This method proxies the selectionChanged event on the underlying graph, but parses it into a Date */ 'onSelectionChanged'?: (event: CustomEvent>) => void; /** * Whether the animation is playing or not. */ 'playing'?: boolean; /** * This attribute is the percentage of progress elapsed on an animation. */ 'progress'?: number; /** * This prop lets you provide the range of the y-axis so it's not automatically calculated with data or backgroundData. It always starts at 0, you can provide the top value. * @memberof HistogramWidget */ 'range'?: [number, number]; /** * Use this attribute to decide if the widget should be rerendered on window resize. Defaults to true. */ 'responsive'?: boolean; /** * Deprecated, use showClearButton instead. Display a clear button that clears the histogram selection. * @type {boolean} * @memberof HistogramWidget * @deprecated */ 'showClear'?: boolean; /** * Display a clear button that clears the histogram selection. * @type {boolean} * @memberof HistogramWidget */ 'showClearButton'?: boolean; /** * Toggles displaying title and description * @type {boolean} * @memberof HistogramWidget */ 'showHeader'?: boolean; /** * This string will be parsed by d3-time-format (https://github.com/d3/d3-time-format) and will be used to format the graph's x-axis */ 'timeFormat'?: string; /** * Setting this property will make the date formatter be sensitive to locales. The format is described on https://github.com/d3/d3-time-format */ 'timeFormatLocale'?: TimeLocaleDefinition; /** * Function that formats the tooltip. Receives TimeSeriesData and outputs a string * @type {(TimeSeriesData) => string} * @memberof HistogramWidget */ 'tooltipFormatter'?: (value: TimeSeriesData) => string; /** * Override color for the selected histogram bars * @type {string} * @memberof HistogramWidget */ 'unselectedColor'?: string; /** * This prop is a proxy to some d3-axis options for the X Axis * @type {AxisOptions} * @memberof TimeSeriesWidget */ 'xAxisOptions'?: AxisOptions; /** * Label the x axis of the histogram with the given string. */ 'xLabel'?: string; /** * This prop is a proxy to some d3-axis options for the Y Axis * @type {AxisOptions} * @memberof TimeSeriesWidget */ 'yAxisOptions'?: AxisOptions; /** * Label the y axis of the histogram with the given string. */ 'yLabel'?: string; } interface AsToolbar extends JSXBase.HTMLAttributes {} interface AsWidgetHeader extends JSXBase.HTMLAttributes { /** * Use this attribute to put the widget-header in "error mode". When this attribute is not empty the subheader will display the given value. */ 'error'?: string; /** * Main title * @type {string} * @memberof WidgetHeader */ 'header'?: string; /** * Use this attribute to put the widget-header in "empty mode". When this attribute is true the subheader will show the text defined by noDataMessage. */ 'isEmpty'?: boolean; /** * Use this attribute to put the widget-header in "loading mode". When this attribute is true the subheader text will be displayed as usual. */ 'isLoading'?: boolean; /** * Use this attribute to select the text displayed in the subheader when the header is in "empty mode". Defaults to "NO DATA AVAILABLE" */ 'noDataMessage'?: string; /** * Secondary title * @type {string} * @memberof WidgetHeader */ 'subheader'?: string; } interface AsWidgetLegend extends JSXBase.HTMLAttributes { /** * Data to be displayed by the legend * @type {WidgetLegendData} * @memberof WidgetLegend */ 'data'?: WidgetLegendData; } interface AsWidgetSelection extends JSXBase.HTMLAttributes { /** * Text for the clear text * @type {string} * @memberof WidgetSelection */ 'clearText'?: string; /** * Event fired when clicking on clear text * @private * @memberof WidgetSelection */ 'onClear'?: (event: CustomEvent) => void; /** * The text to be displayed * @type {string} * @memberof WidgetSelection */ 'selection'?: string; /** * Whether to display the clear button or not * @type {boolean} * @memberof WidgetSelection */ 'showClear'?: boolean; } interface AsYAxis extends JSXBase.HTMLAttributes { /** * Lower limit of the axis * @type {number} * @memberof YAxis */ 'from'?: number; /** * Use this attribute to decide if the widget should be rerendered on window resize Defaults to true */ 'responsive'?: boolean; /** * Upper limit of the axis * @type {Number[]} * @memberof YAxis */ 'to'?: number; } interface IntrinsicElements { 'as-animation-controls-widget': AsAnimationControlsWidget; 'as-category-widget': AsCategoryWidget; 'as-category-widget-placeholder': AsCategoryWidgetPlaceholder; 'as-dropdown': AsDropdown; 'as-formula-widget': AsFormulaWidget; 'as-formula-widget-placeholder': AsFormulaWidgetPlaceholder; 'as-histogram-widget': AsHistogramWidget; 'as-histogram-widget-placeholder': AsHistogramWidgetPlaceholder; 'as-infowindow': AsInfowindow; 'as-layer-selector': AsLayerSelector; 'as-layer-selector-slot': AsLayerSelectorSlot; 'as-legend': AsLegend; 'as-legend-category': AsLegendCategory; 'as-legend-category-line-entry': AsLegendCategoryLineEntry; 'as-legend-category-point-entry': AsLegendCategoryPointEntry; 'as-legend-category-polygon-entry': AsLegendCategoryPolygonEntry; 'as-legend-color-bins': AsLegendColorBins; 'as-legend-color-bins-line': AsLegendColorBinsLine; 'as-legend-color-bins-point': AsLegendColorBinsPoint; 'as-legend-color-bins-polygon': AsLegendColorBinsPolygon; 'as-legend-color-category': AsLegendColorCategory; 'as-legend-color-category-line': AsLegendColorCategoryLine; 'as-legend-color-category-point': AsLegendColorCategoryPoint; 'as-legend-color-category-polygon': AsLegendColorCategoryPolygon; 'as-legend-color-continuous': AsLegendColorContinuous; 'as-legend-color-continuous-line': AsLegendColorContinuousLine; 'as-legend-color-continuous-point': AsLegendColorContinuousPoint; 'as-legend-color-continuous-polygon': AsLegendColorContinuousPolygon; 'as-legend-size-bins': AsLegendSizeBins; 'as-legend-size-bins-line': AsLegendSizeBinsLine; 'as-legend-size-bins-point': AsLegendSizeBinsPoint; 'as-legend-size-category': AsLegendSizeCategory; 'as-legend-size-category-line': AsLegendSizeCategoryLine; 'as-legend-size-category-point': AsLegendSizeCategoryPoint; 'as-legend-size-continuous': AsLegendSizeContinuous; 'as-legend-size-continuous-line': AsLegendSizeContinuousLine; 'as-legend-size-continuous-point': AsLegendSizeContinuousPoint; 'as-loader': AsLoader; 'as-placeholder': AsPlaceholder; 'as-placeholder-bar': AsPlaceholderBar; 'as-placeholder-chart': AsPlaceholderChart; 'as-placeholder-list': AsPlaceholderList; 'as-range-slider': AsRangeSlider; 'as-range-slider-bar': AsRangeSliderBar; 'as-range-slider-thumb': AsRangeSliderThumb; 'as-responsive-content': AsResponsiveContent; 'as-stacked-bar-widget': AsStackedBarWidget; 'as-switch': AsSwitch; 'as-tabs': AsTabs; 'as-time-series-widget': AsTimeSeriesWidget; 'as-toolbar': AsToolbar; 'as-widget-header': AsWidgetHeader; 'as-widget-legend': AsWidgetLegend; 'as-widget-selection': AsWidgetSelection; 'as-y-axis': AsYAxis; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements extends LocalJSX.IntrinsicElements {} } }