/* 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 { QueryRequest } from "./components/gx-query/query-chat/query-chat"; import { GeneratorType, GxQueryItem, QueryViewerAttributesValuesForPivot, QueryViewerAutoResizeType, QueryViewerBase, QueryViewerCalculatePivottableData, QueryViewerChartType, QueryViewerContinent, QueryViewerCountry, QueryViewerMapType, QueryViewerOrientation, QueryViewerOutputType, QueryViewerPageDataForPivot, QueryViewerPageDataForTable, QueryViewerPivotCollection, QueryViewerPivotParameters, QueryViewerPivotTableDataSync, QueryViewerPlotSeries, QueryViewerRegion, QueryViewerServiceData, QueryViewerServiceMetaData, QueryViewerServiceResponse, QueryViewerServiceResponsePivotTable, QueryViewerShowDataAs, QueryViewerShowDataLabelsIn, QueryViewerSliderRange, QueryViewerTotal, QueryViewerTranslations, QueryViewerTrendPeriod, QueryViewerXAxisLabels, TrendIcon } from "@genexus/reporting-api"; import { QueryViewerDragAndDropData, QueryViewerFilterChangedData, QueryViewerItemClickData, QueryViewerItemExpandAndCollapseData } from "./global/types"; import { Axis, ChartOptions, LegendOptions, PaneOptions, PlotOptions, SeriesLineOptions, SeriesOptionsType, SubtitleOptions, TitleOptions, TooltipOptions, XAxisOptions, YAxisOptions } from "highcharts"; import { QueryViewerParameterChangedEvent } from "./components/query-viewer-parameter/query-viewer-parameter"; export { QueryRequest } from "./components/gx-query/query-chat/query-chat"; export { GeneratorType, GxQueryItem, QueryViewerAttributesValuesForPivot, QueryViewerAutoResizeType, QueryViewerBase, QueryViewerCalculatePivottableData, QueryViewerChartType, QueryViewerContinent, QueryViewerCountry, QueryViewerMapType, QueryViewerOrientation, QueryViewerOutputType, QueryViewerPageDataForPivot, QueryViewerPageDataForTable, QueryViewerPivotCollection, QueryViewerPivotParameters, QueryViewerPivotTableDataSync, QueryViewerPlotSeries, QueryViewerRegion, QueryViewerServiceData, QueryViewerServiceMetaData, QueryViewerServiceResponse, QueryViewerServiceResponsePivotTable, QueryViewerShowDataAs, QueryViewerShowDataLabelsIn, QueryViewerSliderRange, QueryViewerTotal, QueryViewerTranslations, QueryViewerTrendPeriod, QueryViewerXAxisLabels, TrendIcon } from "@genexus/reporting-api"; export { QueryViewerDragAndDropData, QueryViewerFilterChangedData, QueryViewerItemClickData, QueryViewerItemExpandAndCollapseData } from "./global/types"; export { Axis, ChartOptions, LegendOptions, PaneOptions, PlotOptions, SeriesLineOptions, SeriesOptionsType, SubtitleOptions, TitleOptions, TooltipOptions, XAxisOptions, YAxisOptions } from "highcharts"; export { QueryViewerParameterChangedEvent } from "./components/query-viewer-parameter/query-viewer-parameter"; export namespace Components { interface GxFloatingWindow { /** * Width of expanded window. Default 300px */ "expandedSize": "300px"; /** * Determines if the menu is minimized */ "isMinimized": boolean; /** * Determines if the menu is unlocked */ "isUnlocked": boolean; /** * This property specifies the items of the chat. */ "mainTitle": string; /** * Determines if the menu can be unlocked or minimize */ "resizeWindow": boolean; } interface GxQueryChat { /** * This is GxQuery authentication key. It will required when property useGxQuery = true */ "apiKey": string; /** * API base URL */ "baseUrl": string; /** * Clean chat */ "gxCleanChat": () => Promise; /** * Specify the size of the icon messages. ex 50px */ "messageIconSize": string; /** * This is the ID of the metadata (all the queries belong to a certain metadata) the connector will use when useGxquery = true. In this case the connector must be told the query to execute, either by name (via the objectName property) or giving a full serialized query (via the query property) */ "metadataId": ""; /** * Text that appears in the input control when it has no value set */ "placeholder": string; /** * This is GxQuery Saia Token. It will required when property useGxQuery = true */ "saiaToken": string; /** * This is GxQuery Saia User ID (optional). It will use when property useGxQuery = true */ "saiaUserId": string; } interface GxQueryMenu { /** * Specifies a short string, typically 1 to 3 words, that authors associate with an element to provide users of assistive technologies with a label for the element. */ "accessibleName": "Query list"; /** * This is GxQuery authentication key. It will required when property useGxQuery = true */ "apiKey": string; /** * API base URL */ "baseUrl": string; /** * Show queries items group by month */ "groupItemsByMonth": true; /** * Add a new query item * @param item GxQueryItem */ "gxAddQuery": (item: GxQueryItem) => Promise; /** * This is the name of the metadata (all the queries belong to a certain metadata) the connector will use when useGxquery = true. In this case the connector must be told the query to execute, either by name (via the objectName property) or giving a full serialized query (via the query property) */ "metadataId": ""; /** * Dates to group queries */ "rangeOfDays": { days: number; label: string }[]; /** * This is GxQuery Saia Token. It will required when property useGxQuery = true */ "saiaToken": string; /** * This is GxQuery Saia User ID (optional). It will use when property useGxQuery = true */ "saiaUserId": string; /** * Use this property to pass a query obtained from GXquery. This disabled the call to GxQuery API: Id: string; Name: string; Description: string; Expression: string; Modified: string; */ "serializedObject": string; /** * True to tell the controller to connect use GXquery as a queries repository */ "useGxquery": true; } interface GxQueryMenuItem { /** * Toggle edit mode */ "editMode": boolean; /** * Id of item active */ "isActive": boolean; /** * This property specify the title of the item. */ "item": GxQueryItem; "setFocus": () => Promise; } interface GxQueryRender { /** * This is GxQuery authentication key. It will required when property useGxQuery = true */ "apiKey": string; /** * API base URL */ "baseUrl": string; /** * Specifies the name of the control used in the pivot and Table outputs types */ "controlName": string; /** * Data for query viewer */ "data": QueryViewerServiceData | string; /** * Environment of the project: java or net */ "environment": GeneratorType; "fetchingDataLabel": "Fetching data"; /** * Metadata for query viewer */ "metadata": QueryViewerServiceMetaData | string; /** * This is the name of the metadata (all the queries belong to a certain metadata) the connector will use when useGxquery = true. In this case the connector must be told the query to execute, either by name (via the objectName property) or giving a full serialized query (via the query property) */ "metadataName": ""; "noDataLabel": "No Data"; /** * Provide the Query properties */ "query": QueryViewerBase; /** * This is GxQuery Saia Token. It will required when property useGxQuery = true */ "saiaToken": string; /** * This is GxQuery Saia User ID (optional). It will use when property useGxQuery = true */ "saiaUserId": string; /** * True to tell the controller to connect use GXquery as a queries repository */ "useGxquery": true; } interface GxQueryViewer { /** * Allowing elements order to change */ "allowElementsOrderChange": boolean; /** * Allow selection */ "allowSelection": boolean; /** * Response Attribute Values for Table */ "attributeValuesForPivotTableXml": string; /** * Response Attribute Values for Pivot Table */ "attributeValuesForTableXml": string; /** * Auto refresh group */ "autoRefreshGroup": string; /** * If type== PivotTable or Table, if true will shrink the table */ "autoResize": boolean; /** * If autoResize, in here select the type, Width, height, or both */ "autoResizeType": QueryViewerAutoResizeType; /** * Response Pivot Table Data Calculation */ "calculatePivottableDataXml": string; /** * If type == Chart, this is the chart type: Bar, Pie, Timeline, etc... */ "chartType": QueryViewerChartType; /** * If type == Map and region = Continent, this is the continent to display in the map */ "continent": QueryViewerContinent; /** * Specifies the name of the control used in the pivot and Table outputs types */ "controlName": string; /** * If type == Map and region = Country, this is the country to display in the map */ "country": QueryViewerCountry; /** * A CSS class to set as the `gx-query-viewer` element class. */ "cssClass": string; /** * Version of data */ "dataVersionId": number; /** * Allowing or not Column sort */ "disableColumnSort": boolean; /** * If type== PivotTable or Table allow to export to HTML */ "exportToHTML": boolean; /** * If type== PivotTable or Table allow to export to PDF */ "exportToPDF": boolean; /** * If type== PivotTable or Table allow to export to XLS */ "exportToXLS": boolean; /** * If type== PivotTable or Table allow to export to XLSX */ "exportToXLSX": boolean; /** * If type== PivotTable or Table allow to export to XML */ "exportToXML": boolean; /** * Returns an XML on a string variable containing all the data for the attributes loaded in the Pivot Table. */ "getData": () => Promise; /** * Returns an XML on a string variable containing all the data for the attributes loaded in the Pivot Table. */ "getFilteredData": () => Promise; /** * Specifies whether to include the maximum and minimum values in the series. */ "includeMaxMin": boolean; /** * Specifies whether to include a sparkline chart for the values or not. */ "includeSparkline": boolean; /** * Specifies whether to include a trend mark for the values or not. */ "includeTrend": boolean; /** * Language of the QueryViewer */ "language": string; /** * If type == Map, this is the map type: Choropleth or Bubble */ "mapType": QueryViewerMapType; /** * Object of QueryViewer */ "object": string; /** * Object type -> Query or DataProvider */ "objectType": string; /** * Orientation of the graph */ "orientation": QueryViewerOrientation; /** * Response Page Data */ "pageDataForPivotTable": string; /** * Response Page Data */ "pageDataForTable": string; /** * If paging true, number of items for a single page */ "pageSize": number; /** * If type == PivotTable or Table, if true there is paging, else everything in one table */ "paging": boolean; /** * Response Pivot Table Data Sync */ "pivottableDataSyncXml": string; /** * Timeline */ "plotSeries": QueryViewerPlotSeries; /** * Title of the QueryViewer */ "queryTitle": string; /** * If type == Map, this is the region to display in the map */ "region": QueryViewerRegion; /** * For timeline for remembering layout */ "rememberLayout": boolean; /** * Specifies the metadata and data that the control will use to render. */ "serviceResponse": QueryViewerServiceResponse; /** * Specifies the metadata that the control will use to render the pivotTable. */ "serviceResponsePivotTable": QueryViewerServiceResponsePivotTable; /** * Specifies whether to show the actual values, the values as a percentage of the target values, or both. */ "showDataAs": QueryViewerShowDataAs; /** * Ax to show data labels */ "showDataLabelsIn": QueryViewerShowDataLabelsIn; /** * if true show values on the graph */ "showValues": boolean; /** * Theme for showing the graph */ "theme": string; /** * True if grand total is shown for all table columns */ "totalForColumns": QueryViewerTotal; /** * True if grand total is shown for all table rows */ "totalForRows": QueryViewerTotal; /** * For translate the labels of the outputs */ "translations": QueryViewerTranslations; /** * If `includeTrend == true`, this attribute specifies the period of time to calculate the trend. */ "trendPeriod": QueryViewerTrendPeriod; /** * Type of the QueryViewer: Table, PivotTable, Chart, Card */ "type": QueryViewerOutputType; /** * if true the x Axes intersect at zero */ "xAxisIntersectionAtZero": boolean; /** * Labels for XAxis */ "xAxisLabels": QueryViewerXAxisLabels; /** * X Axis title */ "xAxisTitle": string; /** * Y Axis title */ "yAxisTitle": string; } interface GxQueryViewerCard { /** * Describe the content or purpose of the element set as Datum in the query object. */ "description": string; /** * Specifies whether to include the maximum and minimum values in the series. */ "includeMaxMin": boolean; /** * Specifies whether to include a sparkline chart for the values or not. */ "includeSparkline": boolean; /** * Specifies whether to include a trend mark for the values or not. */ "includeTrend": boolean; /** * Specifies the maximum value in the series. */ "maxValue": string; /** * Specifies the minimum value in the series. */ "minValue": string; /** * Specifies the data used for the series of the sparkline. */ "seriesData": number[][]; /** * For translate the labels of the outputs */ "translations": QueryViewerTranslations; /** * Specifies the icon used for the trend. */ "trendIcon": TrendIcon; /** * If `includeTrend == true`, this attribute specifies the period of time to calculate the trend. */ "trendPeriod": QueryViewerTrendPeriod; /** * Specifies the value to show in the card. */ "value": string; } interface GxQueryViewerCardController { /** * A CSS class to set as the `gx-query-viewer-card-controller` element class. */ "cssClass": string; /** * Specifies whether to include the maximum and minimum values in the series. */ "includeMaxMin": boolean; /** * Specifies whether to include a sparkline chart for the values or not. */ "includeSparkline": boolean; /** * Specifies whether to include a trend mark for the values or not. */ "includeTrend": boolean; /** * Specifies whether to arrange the attributes horizontally or vertically when than one data attribute is present. */ "orientation": QueryViewerOrientation; /** * Specifies the metadata and data that the control will use to render. */ "serviceResponse": QueryViewerServiceResponse; /** * Specifies whether to show the actual values, the values as a percentage of the target values, or both. */ "showDataAs": QueryViewerShowDataAs; /** * For translate the labels of the outputs */ "translations": QueryViewerTranslations; /** * If `includeTrend == true`, this attribute specifies the period of time to calculate the trend. */ "trendPeriod": QueryViewerTrendPeriod; } interface GxQueryViewerChart { /** * get the current extremes for the axis. */ "addSeries": (series: SeriesLineOptions) => Promise; /** * Title that will be displayed on top of the query */ "chartOptions": ChartOptions; /** * Name of the element */ "chartTitle": TitleOptions; /** * Option of the chartType used to visualize and represent data. */ "chartType": QueryViewerChartType; /** * get the current extremes for the axis. */ "getExtremes": () => Promise; /** * Options of the tooltip, the tooltip appears when hovering over a point in a series. */ "legendOptions": LegendOptions; /** * Options of the chart. */ "paneOptions": PaneOptions; /** * Options of the legend, the legend displays the series in a chart with a predefined symbol and the name of the series. */ "plotOptions": PlotOptions; /** * Specifies if the chart series are plotted together in the same chart or alone in separate charts. */ "plotSeries": QueryViewerPlotSeries; /** * Options of the X axis (usually this is the horizontal axis). */ "seriesOptions": SeriesOptionsType[]; /** * set the current extremes for the axis. */ "setExtremes": (minDate: number, maxDate: number, redraw: boolean) => Promise; /** * Specifies whether the values for the data elements are shown in the chart or not. */ "showValues": boolean; /** * Name of the element */ "subtitleOptions": SubtitleOptions; /** * Options of the chart. */ "tooltipOptions": TooltipOptions; /** * For translate the labels of the outputs */ "translations": QueryViewerTranslations; /** * Specifies whether the X axis intersects the Y axis at zero or the intersection point is automatically calculated. */ "xAxisIntersectionAtZero": boolean; /** * Specifies if the labels in the X axis of a chart are shown horizontally or vertically. */ "xAxisLabels": QueryViewerXAxisLabels; /** * X axis title, if specified. */ "xAxisTitle": string; /** * Options of the Y axis (usually this is the vertical axis). */ "xaxisOptions": XAxisOptions | XAxisOptions[]; /** * Y axis title, if specified. */ "yAxisTitle": string; /** * Options of the plot for each series type chart. */ "yaxisOptions": YAxisOptions | YAxisOptions[]; /** * zoom out for the chart */ "zoomOut": () => Promise; } interface GxQueryViewerChartController { /** * Allow selection */ "allowSelection": boolean; /** * If type == Chart, this is the chart type: Bar, Pie, Timeline, etc... */ "chartType": QueryViewerChartType; /** * A CSS class to set as the `gx-query-viewer-chart-controller` element class. */ "cssClass": string; /** * Timeline */ "plotSeries": QueryViewerPlotSeries; /** * Title of the QueryViewer */ "queryTitle": string; /** * Specifies the metadata and data that the control will use to render. */ "serviceResponse": QueryViewerServiceResponse; /** * if true show values on the graph */ "showValues": boolean; /** * For translate the labels of the outputs */ "translations": QueryViewerTranslations; /** * if true the x Axes intersect at zero */ "xAxisIntersectionAtZero": boolean; /** * Labels for XAxis */ "xAxisLabels": QueryViewerXAxisLabels; /** * Y Axis title */ "yAxisTitle": string; } interface GxQueryViewerController { /** * @todo Add description */ "allowElementsOrderChange": boolean; /** * This is GxQuery authentication key. It will required when property useGxQuery = true */ "apiKey": string; /** * Determines the application namespace where the program is generated and compiled. */ "applicationNamespace": string; /** * API base URL */ "baseUrl": string; /** * When `type == Chart`, specifies the chart type: Bar, Pie, Timeline, etc... */ "chartType": QueryViewerChartType; /** * Environment of the project: java or net */ "environment": GeneratorType; /** * PivotTable's Method for Attributes Values */ "getAttributeValues": (properties: QueryViewerAttributesValuesForPivot) => Promise; /** * PivotTable's Method for Calculate PivotTable Data */ "getCalculatePivottableData": (properties: QueryViewerCalculatePivottableData) => Promise; /** * PivotTable's Method for PivotTable Page Data */ "getPageDataForPivotTable": (pageData: QueryViewerPageDataForPivot) => Promise; /** * Table's Method for Table Page Data */ "getPageDataForTable": (pageData: QueryViewerPageDataForTable) => Promise; /** * PivotTable's Method for PivotTable Data Sync Response */ "getPivottableDataSync": (properties: QueryViewerPivotTableDataSync) => Promise; /** * Include sparkline */ "includeSparkline": boolean; /** * If true includes trend on the graph */ "includeTrend": boolean; /** * This is the ID of the metadata (all the queries belong to a certain metadata) the connector will use when useGxquery = true. In this case the connector must be told the query to execute, either by name (via the objectName property) or giving a full serialized query (via the query property) */ "metadataId": string; /** * Name of the Query or Data provider assigned */ "objectName": string; /** * Specified the orientation when have more than one card */ "orientation": QueryViewerOrientation; /** * If paging true, number of items for a single page */ "pageSize": number; /** * If type == PivotTable or Table, if true there is paging, else everything in one table */ "paging": boolean; /** * Title of the QueryViewer */ "queryTitle": string; /** * For timeline for remembering layout */ "rememberLayout": boolean; /** * @todo Add description */ "returnSampleData": boolean; /** * This is GxQuery Saia Token. It will required when property useGxQuery = true */ "saiaToken": string; /** * This is GxQuery Saia User ID (optional). It will use when property useGxQuery = true */ "saiaUserId": string; /** * Use this property to pass a query obtained from GXquery, when useGxquery = true (ignored if objectName is specified, because this property has a greater precedence) */ "serializedObject": string; /** * Ax to show data labels */ "showDataLabelsIn": QueryViewerShowDataLabelsIn; /** * True if grand total is shown for all table columns */ "totalForColumns": QueryViewerTotal; /** * True if grand total is shown for all table rows */ "totalForRows": QueryViewerTotal; /** * @todo Add description and improve type */ "translationType": string; /** * Type of the QueryViewer: Table, PivotTable, Chart, Card */ "type": QueryViewerOutputType; /** * True to tell the controller to connect use GXquery as a queries repository */ "useGxquery": boolean; } interface GxQueryViewerElement { /** * Aggregation fucntion */ "aggregation": "Sum" | "Average" | "Count" | "Max" | "Min"; /** * Which axis, row or column */ "axis": "Rows" | "Columns" | "Pages"; /** * Axis Order type */ "axisOrderType": | "None" | "Ascending" | "Descending" | "Custom"; /** * Axis order values comma separated */ "axisOrderValues": string; /** * Data field */ "dataField": string; /** * Title to show */ "elementTitle": string; /** * Expand collapse type */ "expandCollapseType": | "ExpandAllValues" | "CollapseAllValues" | "ExpandSomeValues"; /** * Expand collapse values comma separated */ "expandCollapseValues": string; /** * Type of the filter */ "filterType": | "ShowAllValues" | "HideAllValues" | "ShowSomeValues"; /** * Filter values comma separated */ "filterValues": string; /** * Grouping by day of week title */ "groupingDayOfWeekTitle": string; /** * Grouping by day of week */ "groupingGroupByDayOfWeek": boolean; /** * Grouping by month */ "groupingGroupByMonth": boolean; /** * Grouping by Quarter */ "groupingGroupByQuarter": boolean; /** * Grouping by semester */ "groupingGroupBySemester": boolean; /** * Grouping by year */ "groupingGroupByYear": boolean; /** * Grouping hide vale */ "groupingHideValue": boolean; /** * Grouping by month title */ "groupingMonthTitle": string; /** * Grouping by Quarter title */ "groupingQuarterTitle": string; /** * Grouping by Semster title */ "groupingSemesterTitle": string; /** * Gouping by Year title */ "groupingYearTitle": string; /** * Name of the element */ "name": string; /** * Raise item click */ "raiseItemClick": boolean; /** * Type of the element */ "type": "Axis" | "Datum"; /** * How to show it */ "visible": "Always" | "Yes" | "No" | "Never"; } interface GxQueryViewerElementFormat { /** * If true cand drag to pages */ "canDragToPages": boolean; /** * Format style */ "formatStyle": string; /** * Max value */ "maximumValue": string; /** * Format on values */ "picture": string; /** * How to show subtotals */ "subtotals": "Yes" | "Hidden" | "No"; /** * Target value */ "targetValue": string; } interface GxQueryViewerFormatStyle { /** * If Conditional true for applying to row or column */ "applyToRowOrColumn": boolean; /** * If Format the operator of the element */ "operator": "EQ" | "LT" | "GT" | "LE" | "GE" | "NE" | "IN"; /** * Style or Css class */ "styleOrClass": string; /** * Type of the element Conditional or Format */ "type": "Values" | "Conditional"; /** * If Conditional Value to format */ "value": string; /** * If format first value */ "value1": string; /** * If format second value */ "value2": string; } interface GxQueryViewerParameter { /** * Name of the parameter */ "Name": string; /** * Value of the parameter */ "Value": string; } interface GxQueryViewerPivot { /** * QueryViewerTranslations */ "QueryViewerTranslations": { GXPL_QViewerSinceTheBeginningTrend: string; GXPL_QViewerLastDayTrend: string; GXPL_QViewerLastHourTrend: string; GXPL_QViewerJSAllOption: string; GXPL_QViewerJSAscending: string; GXPL_QViewerJSDescending: string; GXPL_QViewerJSSubtotals: string; GXPL_QViewerJSRestoreDefaultView: string; GXPL_QViewerJSPivotDimensionToColumn: string; GXPL_QViewerJSPivotDimensionToRow: string; GXPL_QViewerJSMoveToFilterBar: string; GXPL_QViewerJSAll: string; GXPL_QViewerJSNone: string; GXPL_QViewerJSReverse: string; GXPL_QViewerSearch: string; GXPL_QViewerInfoUser: string; GXPL_QViewerJSDropFiltersHere: string; GXPL_QViewerPopupTitle: string; GXPL_QViewerJSVisibleColumns: string; GXPL_QViewerContextMenuExportXml: string; GXPL_QViewerContextMenuExportHtml: string; GXPL_QViewerContextMenuExportPdf: string; GXPL_QViewerContextMenuExportXls2003: string; GXPL_QViewerContextMenuExportXlsx: string; GXPL_QViewerJSMeasures: string; GXPL_QViewerJSValue: string; GXPL_QViewerJSTotal: string; GXPL_QViewerJSTotalFor: string; GXPL_QViewerJSPerPage: string; GXPL_QViewerJSPage: string; GXPL_QViewerJSOf: string; GXPL_QViewerJSMoveColumnToLeft: string; GXPL_QViewerJSMoveColumnToRight: string; }; /** * Response Attribute Values */ "attributeValuesForPivotTableXml": string; /** * Response Attribute Values */ "attributeValuesForTableXml": string; /** * if true will shrink the table */ "autoResize": boolean; /** * Response calculation PivotTable Data */ "calculatePivottableDataXml": string; /** * A CSS class to set as the `gx-query-viewer-pivot` element class. */ "cssClass": string; /** * Method to navigate to the first page. */ "firstPage": () => Promise; /** * Returns an XML on a string variable containing all the data for the attributes loaded in the Pivot Table. */ "getDataXML": (serverData: string) => Promise; /** * Returns an XML on a string variable containing the data which is being visualized at the moment (the difference with the GetData() method it's seen on the Pivot Table, data can be different because of filters application). */ "getFilteredDataPivot": (serverData: string) => Promise; /** * Method to navigate to the last page. */ "lastPage": () => Promise; /** * metadata */ "metadata": string; /** * Method to navigate to the next page. */ "nextPage": () => Promise; /** * Name of the Query or Data provider assigned */ "objectName": string; /** * Response Page Data */ "pageDataForPivotTable": string; /** * Response Page Data */ "pageDataForTable": string; /** * Enables you to define the number of rows that will be shown when the Paging property is activated */ "pageSize": number; /** * This attribute lets you determinate whether there will be paging buttons. */ "paging": boolean; /** * pivotCollection */ "pivotCollection": QueryViewerPivotCollection; /** * pivotParameters */ "pivotParameters": QueryViewerPivotParameters; /** * Response PivotTable Data Sync */ "pivotTableDataSyncXml": string; /** * This attribute lets you define a title for the pivot table. */ "pivotTitle": string; /** * Method to navigate to the previous page. */ "previousPage": () => Promise; /** * For timeline for remembering layout */ "rememberLayout": boolean; /** * It allows to indicate how you want to display the Data elements of the Query object. */ "showDataLabelsIn": QueryViewerShowDataLabelsIn; /** * Response Table Data Sync */ "tableDataSyncXml": string; /** * Specifies whether the render output is PivotTable or Table */ "tableType": | QueryViewerOutputType.PivotTable | QueryViewerOutputType.Table; /** * Determines whether to show a total of all values in the pivot table columns. */ "totalForColumns": QueryViewerTotal; /** * Determines whether to show a total of all values in the pivot table rows. */ "totalForRows": QueryViewerTotal; } interface GxQueryViewerPivotRender { /** * Allowing elements order to change */ "allowElementsOrderChange": boolean; /** * Allow selection */ "allowSelection": boolean; /** * Response Attribute Values */ "attributeValuesForPivotTableXml": string; /** * Response Attribute Values for Table */ "attributeValuesForTableXml": string; /** * if true will shrink the table */ "autoResize": boolean; /** * Response Attribute Values */ "calculatePivottableDataXml": string; /** * Specifies the name of the control used in the pivot and Table outputs types */ "controlName": string; /** * A CSS class to set as the `gx-query-viewer-pivot-render` element class. */ "cssClass": string; /** * Allowing or not Column sort */ "disableColumnSort": boolean; /** * Method to navigate to the first page. */ "firstPage": () => Promise; /** * Returns an XML on a string variable containing all the data for the attributes loaded in the Pivot Table. */ "getDataPivot": (serverData: string) => Promise; /** * Returns an XML on a string variable containing the data which is being visualized at the moment (the difference with the GetData() method it's seen on the Pivot Table, data can be different because of filters application). */ "getFilteredDataPivot": (serverData: string) => Promise; /** * Method to navigate to the last page. */ "lastPage": () => Promise; /** * Method to navigate to the next page. */ "nextPage": () => Promise; /** * Response Page Data */ "pageDataForPivotTable": string; /** * Response Page Data */ "pageDataForTable": string; /** * Enables you to define the number of rows that will be shown when the Paging property is activated */ "pageSize": number; /** * This attribute lets you determinate whether there will be paging buttons. */ "paging": boolean; /** * Response Pivot Table Data Sync */ "pivotTableDataSyncXml": string; /** * This attribute lets you define a title for the pivot table. */ "pivotTitle": string; /** * Method to navigate to the previous page. */ "previousPage": () => Promise; /** * For timeline for remembering layout */ "rememberLayout": boolean; /** * Specifies the metadata and data that the control will use to render. */ "serviceResponse": QueryViewerServiceResponsePivotTable; /** * It allows to indicate how you want to display the Data elements of the Query object. */ "showDataLabelsIn": QueryViewerShowDataLabelsIn; /** * Response Table Data Sync */ "tableDataSyncXml": string; /** * Specifies whether the render output is PivotTable or Table */ "tableType": | QueryViewerOutputType.PivotTable | QueryViewerOutputType.Table; /** * Determines whether to show a total of all values in the pivot table columns. */ "totalForColumns": QueryViewerTotal; /** * Determines whether to show a total of all values in the pivot table rows. */ "totalForRows": QueryViewerTotal; /** * For translate the labels of the outputs */ "translations": QueryViewerTranslations; } interface GxQueryViewerSlider { /** * This property determines the value of the end position slider. */ "endSliderValue": number; /** * This property determines the value of the start position slider. */ "startSliderValue": number; /** * This attribute lets you define the steps for each slider. */ "step": number; } interface GxSidebar { /** * Label for collapse button */ "collapseLabel": string; /** * Width of expanded window. Default 300px */ "collapsedSize": "40px"; /** * Determines if the sidebar can be collapsed */ "collapsible": true; /** * Determines if should display the actions controls */ "controls": true; /** * Label for expand button */ "expandLabel": string; /** * Width of expanded window. Default 300px */ "expandedSize": "300px"; /** * Determines if the sidebar is collapsed */ "isCollapsed": boolean; /** * Label for expand button */ "newChatLabel": string; } } export interface GxQueryChatCustomEvent extends CustomEvent { detail: T; target: HTMLGxQueryChatElement; } export interface GxQueryMenuCustomEvent extends CustomEvent { detail: T; target: HTMLGxQueryMenuElement; } export interface GxQueryMenuItemCustomEvent extends CustomEvent { detail: T; target: HTMLGxQueryMenuItemElement; } export interface GxQueryViewerCustomEvent extends CustomEvent { detail: T; target: HTMLGxQueryViewerElement; } export interface GxQueryViewerCardCustomEvent extends CustomEvent { detail: T; target: HTMLGxQueryViewerCardElement; } export interface GxQueryViewerControllerCustomEvent extends CustomEvent { detail: T; target: HTMLGxQueryViewerControllerElement; } export interface GxQueryViewerElementCustomEvent extends CustomEvent { detail: T; target: HTMLGxQueryViewerElementElement; } export interface GxQueryViewerElementFormatCustomEvent extends CustomEvent { detail: T; target: HTMLGxQueryViewerElementFormatElement; } export interface GxQueryViewerFormatStyleCustomEvent extends CustomEvent { detail: T; target: HTMLGxQueryViewerFormatStyleElement; } export interface GxQueryViewerParameterCustomEvent extends CustomEvent { detail: T; target: HTMLGxQueryViewerParameterElement; } export interface GxQueryViewerSliderCustomEvent extends CustomEvent { detail: T; target: HTMLGxQueryViewerSliderElement; } export interface GxSidebarCustomEvent extends CustomEvent { detail: T; target: HTMLGxSidebarElement; } declare global { interface HTMLGxFloatingWindowElement extends Components.GxFloatingWindow, HTMLStencilElement { } var HTMLGxFloatingWindowElement: { prototype: HTMLGxFloatingWindowElement; new (): HTMLGxFloatingWindowElement; }; interface HTMLGxQueryChatElementEventMap { "gxUserRequest": QueryRequest; "gxAssistantResponse": QueryViewerBase; } interface HTMLGxQueryChatElement extends Components.GxQueryChat, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLGxQueryChatElement, ev: GxQueryChatCustomEvent) => 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: HTMLGxQueryChatElement, ev: GxQueryChatCustomEvent) => 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 HTMLGxQueryChatElement: { prototype: HTMLGxQueryChatElement; new (): HTMLGxQueryChatElement; }; interface HTMLGxQueryMenuElementEventMap { "gxQuerySelect": GxQueryItem; "gxQueryDelete": GxQueryItem; "gxQueryRename": GxQueryItem; } interface HTMLGxQueryMenuElement extends Components.GxQueryMenu, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLGxQueryMenuElement, ev: GxQueryMenuCustomEvent) => 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: HTMLGxQueryMenuElement, ev: GxQueryMenuCustomEvent) => 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 HTMLGxQueryMenuElement: { prototype: HTMLGxQueryMenuElement; new (): HTMLGxQueryMenuElement; }; interface HTMLGxQueryMenuItemElementEventMap { "deleteItem": any; "renameItem": any; "selectItem": any; } interface HTMLGxQueryMenuItemElement extends Components.GxQueryMenuItem, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLGxQueryMenuItemElement, ev: GxQueryMenuItemCustomEvent) => 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: HTMLGxQueryMenuItemElement, ev: GxQueryMenuItemCustomEvent) => 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 HTMLGxQueryMenuItemElement: { prototype: HTMLGxQueryMenuItemElement; new (): HTMLGxQueryMenuItemElement; }; interface HTMLGxQueryRenderElement extends Components.GxQueryRender, HTMLStencilElement { } var HTMLGxQueryRenderElement: { prototype: HTMLGxQueryRenderElement; new (): HTMLGxQueryRenderElement; }; interface HTMLGxQueryViewerElementEventMap { "itemClick": QueryViewerItemClickData; "dragAndDrop": QueryViewerDragAndDropData; "itemCollapse": QueryViewerItemExpandAndCollapseData; "itemExpand": QueryViewerItemExpandAndCollapseData; "changePage": any; "firstPage": any; "previousPage": any; "nextPage": any; "lastPage": any; "filterChanged": QueryViewerFilterChangedData; } interface HTMLGxQueryViewerElement extends Components.GxQueryViewer, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLGxQueryViewerElement, ev: GxQueryViewerCustomEvent) => 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: HTMLGxQueryViewerElement, ev: GxQueryViewerCustomEvent) => 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 HTMLGxQueryViewerElement: { prototype: HTMLGxQueryViewerElement; new (): HTMLGxQueryViewerElement; }; interface HTMLGxQueryViewerCardElementEventMap { "itemClickEvent": any; } interface HTMLGxQueryViewerCardElement extends Components.GxQueryViewerCard, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLGxQueryViewerCardElement, ev: GxQueryViewerCardCustomEvent) => 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: HTMLGxQueryViewerCardElement, ev: GxQueryViewerCardCustomEvent) => 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 HTMLGxQueryViewerCardElement: { prototype: HTMLGxQueryViewerCardElement; new (): HTMLGxQueryViewerCardElement; }; interface HTMLGxQueryViewerCardControllerElement extends Components.GxQueryViewerCardController, HTMLStencilElement { } var HTMLGxQueryViewerCardControllerElement: { prototype: HTMLGxQueryViewerCardControllerElement; new (): HTMLGxQueryViewerCardControllerElement; }; interface HTMLGxQueryViewerChartElement extends Components.GxQueryViewerChart, HTMLStencilElement { } var HTMLGxQueryViewerChartElement: { prototype: HTMLGxQueryViewerChartElement; new (): HTMLGxQueryViewerChartElement; }; interface HTMLGxQueryViewerChartControllerElement extends Components.GxQueryViewerChartController, HTMLStencilElement { } var HTMLGxQueryViewerChartControllerElement: { prototype: HTMLGxQueryViewerChartControllerElement; new (): HTMLGxQueryViewerChartControllerElement; }; interface HTMLGxQueryViewerControllerElementEventMap { "queryViewerServiceResponse": QueryViewerServiceResponse; "queryViewerServiceResponsePivotTable": QueryViewerServiceResponsePivotTable; "pageDataForPivotTable": string; "attributeValuesForPivotTable": string; "attributesValuesForTable": string; "calculatePivottableData": string; "pageDataForTable": string; "syncPivotTableData": string; "itemClickPivotTable": string; } interface HTMLGxQueryViewerControllerElement extends Components.GxQueryViewerController, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLGxQueryViewerControllerElement, ev: GxQueryViewerControllerCustomEvent) => 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: HTMLGxQueryViewerControllerElement, ev: GxQueryViewerControllerCustomEvent) => 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 HTMLGxQueryViewerControllerElement: { prototype: HTMLGxQueryViewerControllerElement; new (): HTMLGxQueryViewerControllerElement; }; interface HTMLGxQueryViewerElementElementEventMap { "elementChanged": any; } interface HTMLGxQueryViewerElementElement extends Components.GxQueryViewerElement, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLGxQueryViewerElementElement, ev: GxQueryViewerElementCustomEvent) => 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: HTMLGxQueryViewerElementElement, ev: GxQueryViewerElementCustomEvent) => 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 HTMLGxQueryViewerElementElement: { prototype: HTMLGxQueryViewerElementElement; new (): HTMLGxQueryViewerElementElement; }; interface HTMLGxQueryViewerElementFormatElementEventMap { "elementChanged": any; } interface HTMLGxQueryViewerElementFormatElement extends Components.GxQueryViewerElementFormat, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLGxQueryViewerElementFormatElement, ev: GxQueryViewerElementFormatCustomEvent) => 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: HTMLGxQueryViewerElementFormatElement, ev: GxQueryViewerElementFormatCustomEvent) => 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 HTMLGxQueryViewerElementFormatElement: { prototype: HTMLGxQueryViewerElementFormatElement; new (): HTMLGxQueryViewerElementFormatElement; }; interface HTMLGxQueryViewerFormatStyleElementEventMap { "elementChanged": any; } interface HTMLGxQueryViewerFormatStyleElement extends Components.GxQueryViewerFormatStyle, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLGxQueryViewerFormatStyleElement, ev: GxQueryViewerFormatStyleCustomEvent) => 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: HTMLGxQueryViewerFormatStyleElement, ev: GxQueryViewerFormatStyleCustomEvent) => 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 HTMLGxQueryViewerFormatStyleElement: { prototype: HTMLGxQueryViewerFormatStyleElement; new (): HTMLGxQueryViewerFormatStyleElement; }; interface HTMLGxQueryViewerParameterElementEventMap { "parameterValueChanged": QueryViewerParameterChangedEvent; } interface HTMLGxQueryViewerParameterElement extends Components.GxQueryViewerParameter, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLGxQueryViewerParameterElement, ev: GxQueryViewerParameterCustomEvent) => 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: HTMLGxQueryViewerParameterElement, ev: GxQueryViewerParameterCustomEvent) => 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 HTMLGxQueryViewerParameterElement: { prototype: HTMLGxQueryViewerParameterElement; new (): HTMLGxQueryViewerParameterElement; }; interface HTMLGxQueryViewerPivotElement extends Components.GxQueryViewerPivot, HTMLStencilElement { } var HTMLGxQueryViewerPivotElement: { prototype: HTMLGxQueryViewerPivotElement; new (): HTMLGxQueryViewerPivotElement; }; interface HTMLGxQueryViewerPivotRenderElement extends Components.GxQueryViewerPivotRender, HTMLStencilElement { } var HTMLGxQueryViewerPivotRenderElement: { prototype: HTMLGxQueryViewerPivotRenderElement; new (): HTMLGxQueryViewerPivotRenderElement; }; interface HTMLGxQueryViewerSliderElementEventMap { "change": QueryViewerSliderRange; } interface HTMLGxQueryViewerSliderElement extends Components.GxQueryViewerSlider, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLGxQueryViewerSliderElement, ev: GxQueryViewerSliderCustomEvent) => 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: HTMLGxQueryViewerSliderElement, ev: GxQueryViewerSliderCustomEvent) => 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 HTMLGxQueryViewerSliderElement: { prototype: HTMLGxQueryViewerSliderElement; new (): HTMLGxQueryViewerSliderElement; }; interface HTMLGxSidebarElementEventMap { "gxQueryNewChat": null; } interface HTMLGxSidebarElement extends Components.GxSidebar, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLGxSidebarElement, ev: GxSidebarCustomEvent) => 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: HTMLGxSidebarElement, ev: GxSidebarCustomEvent) => 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 HTMLGxSidebarElement: { prototype: HTMLGxSidebarElement; new (): HTMLGxSidebarElement; }; interface HTMLElementTagNameMap { "gx-floating-window": HTMLGxFloatingWindowElement; "gx-query-chat": HTMLGxQueryChatElement; "gx-query-menu": HTMLGxQueryMenuElement; "gx-query-menu-item": HTMLGxQueryMenuItemElement; "gx-query-render": HTMLGxQueryRenderElement; "gx-query-viewer": HTMLGxQueryViewerElement; "gx-query-viewer-card": HTMLGxQueryViewerCardElement; "gx-query-viewer-card-controller": HTMLGxQueryViewerCardControllerElement; "gx-query-viewer-chart": HTMLGxQueryViewerChartElement; "gx-query-viewer-chart-controller": HTMLGxQueryViewerChartControllerElement; "gx-query-viewer-controller": HTMLGxQueryViewerControllerElement; "gx-query-viewer-element": HTMLGxQueryViewerElementElement; "gx-query-viewer-element-format": HTMLGxQueryViewerElementFormatElement; "gx-query-viewer-format-style": HTMLGxQueryViewerFormatStyleElement; "gx-query-viewer-parameter": HTMLGxQueryViewerParameterElement; "gx-query-viewer-pivot": HTMLGxQueryViewerPivotElement; "gx-query-viewer-pivot-render": HTMLGxQueryViewerPivotRenderElement; "gx-query-viewer-slider": HTMLGxQueryViewerSliderElement; "gx-sidebar": HTMLGxSidebarElement; } } declare namespace LocalJSX { interface GxFloatingWindow { /** * Width of expanded window. Default 300px */ "expandedSize"?: "300px"; /** * Determines if the menu is minimized */ "isMinimized"?: boolean; /** * Determines if the menu is unlocked */ "isUnlocked"?: boolean; /** * This property specifies the items of the chat. */ "mainTitle"?: string; /** * Determines if the menu can be unlocked or minimize */ "resizeWindow"?: boolean; } interface GxQueryChat { /** * This is GxQuery authentication key. It will required when property useGxQuery = true */ "apiKey"?: string; /** * API base URL */ "baseUrl"?: string; /** * Specify the size of the icon messages. ex 50px */ "messageIconSize"?: string; /** * This is the ID of the metadata (all the queries belong to a certain metadata) the connector will use when useGxquery = true. In this case the connector must be told the query to execute, either by name (via the objectName property) or giving a full serialized query (via the query property) */ "metadataId"?: ""; /** * Fired when receive a question answer */ "onGxAssistantResponse"?: (event: GxQueryChatCustomEvent) => void; /** * Fired each time the user make a question */ "onGxUserRequest"?: (event: GxQueryChatCustomEvent) => void; /** * Text that appears in the input control when it has no value set */ "placeholder"?: string; /** * This is GxQuery Saia Token. It will required when property useGxQuery = true */ "saiaToken"?: string; /** * This is GxQuery Saia User ID (optional). It will use when property useGxQuery = true */ "saiaUserId"?: string; } interface GxQueryMenu { /** * Specifies a short string, typically 1 to 3 words, that authors associate with an element to provide users of assistive technologies with a label for the element. */ "accessibleName"?: "Query list"; /** * This is GxQuery authentication key. It will required when property useGxQuery = true */ "apiKey"?: string; /** * API base URL */ "baseUrl"?: string; /** * Show queries items group by month */ "groupItemsByMonth"?: true; /** * This is the name of the metadata (all the queries belong to a certain metadata) the connector will use when useGxquery = true. In this case the connector must be told the query to execute, either by name (via the objectName property) or giving a full serialized query (via the query property) */ "metadataId"?: ""; /** * Delete query */ "onGxQueryDelete"?: (event: GxQueryMenuCustomEvent) => void; /** * Rename query */ "onGxQueryRename"?: (event: GxQueryMenuCustomEvent) => void; /** * Select a query */ "onGxQuerySelect"?: (event: GxQueryMenuCustomEvent) => void; /** * Dates to group queries */ "rangeOfDays"?: { days: number; label: string }[]; /** * This is GxQuery Saia Token. It will required when property useGxQuery = true */ "saiaToken"?: string; /** * This is GxQuery Saia User ID (optional). It will use when property useGxQuery = true */ "saiaUserId"?: string; /** * Use this property to pass a query obtained from GXquery. This disabled the call to GxQuery API: Id: string; Name: string; Description: string; Expression: string; Modified: string; */ "serializedObject"?: string; /** * True to tell the controller to connect use GXquery as a queries repository */ "useGxquery"?: true; } interface GxQueryMenuItem { /** * Toggle edit mode */ "editMode"?: boolean; /** * Id of item active */ "isActive"?: boolean; /** * This property specify the title of the item. */ "item"?: GxQueryItem; /** * Trigger the action to delete the item */ "onDeleteItem"?: (event: GxQueryMenuItemCustomEvent) => void; /** * Trigger the action to delete the item */ "onRenameItem"?: (event: GxQueryMenuItemCustomEvent) => void; /** * Trigger the action to select an item */ "onSelectItem"?: (event: GxQueryMenuItemCustomEvent) => void; } interface GxQueryRender { /** * This is GxQuery authentication key. It will required when property useGxQuery = true */ "apiKey"?: string; /** * API base URL */ "baseUrl"?: string; /** * Specifies the name of the control used in the pivot and Table outputs types */ "controlName": string; /** * Data for query viewer */ "data"?: QueryViewerServiceData | string; /** * Environment of the project: java or net */ "environment"?: GeneratorType; "fetchingDataLabel"?: "Fetching data"; /** * Metadata for query viewer */ "metadata"?: QueryViewerServiceMetaData | string; /** * This is the name of the metadata (all the queries belong to a certain metadata) the connector will use when useGxquery = true. In this case the connector must be told the query to execute, either by name (via the objectName property) or giving a full serialized query (via the query property) */ "metadataName"?: ""; "noDataLabel"?: "No Data"; /** * Provide the Query properties */ "query"?: QueryViewerBase; /** * This is GxQuery Saia Token. It will required when property useGxQuery = true */ "saiaToken"?: string; /** * This is GxQuery Saia User ID (optional). It will use when property useGxQuery = true */ "saiaUserId"?: string; /** * True to tell the controller to connect use GXquery as a queries repository */ "useGxquery"?: true; } interface GxQueryViewer { /** * Allowing elements order to change */ "allowElementsOrderChange"?: boolean; /** * Allow selection */ "allowSelection"?: boolean; /** * Response Attribute Values for Table */ "attributeValuesForPivotTableXml"?: string; /** * Response Attribute Values for Pivot Table */ "attributeValuesForTableXml"?: string; /** * Auto refresh group */ "autoRefreshGroup"?: string; /** * If type== PivotTable or Table, if true will shrink the table */ "autoResize"?: boolean; /** * If autoResize, in here select the type, Width, height, or both */ "autoResizeType"?: QueryViewerAutoResizeType; /** * Response Pivot Table Data Calculation */ "calculatePivottableDataXml"?: string; /** * If type == Chart, this is the chart type: Bar, Pie, Timeline, etc... */ "chartType"?: QueryViewerChartType; /** * If type == Map and region = Continent, this is the continent to display in the map */ "continent"?: QueryViewerContinent; /** * Specifies the name of the control used in the pivot and Table outputs types */ "controlName": string; /** * If type == Map and region = Country, this is the country to display in the map */ "country"?: QueryViewerCountry; /** * A CSS class to set as the `gx-query-viewer` element class. */ "cssClass"?: string; /** * Version of data */ "dataVersionId"?: number; /** * Allowing or not Column sort */ "disableColumnSort"?: boolean; /** * If type== PivotTable or Table allow to export to HTML */ "exportToHTML"?: boolean; /** * If type== PivotTable or Table allow to export to PDF */ "exportToPDF"?: boolean; /** * If type== PivotTable or Table allow to export to XLS */ "exportToXLS"?: boolean; /** * If type== PivotTable or Table allow to export to XLSX */ "exportToXLSX"?: boolean; /** * If type== PivotTable or Table allow to export to XML */ "exportToXML"?: boolean; /** * Specifies whether to include the maximum and minimum values in the series. */ "includeMaxMin"?: boolean; /** * Specifies whether to include a sparkline chart for the values or not. */ "includeSparkline"?: boolean; /** * Specifies whether to include a trend mark for the values or not. */ "includeTrend"?: boolean; /** * Language of the QueryViewer */ "language"?: string; /** * If type == Map, this is the map type: Choropleth or Bubble */ "mapType"?: QueryViewerMapType; /** * Object of QueryViewer */ "object"?: string; /** * Object type -> Query or DataProvider */ "objectType"?: string; /** * EEvent fired when a user changes pages in the pivot table */ "onChangePage"?: (event: GxQueryViewerCustomEvent) => void; /** * Event fires when a user drops a "draggable" element into its target */ "onDragAndDrop"?: (event: GxQueryViewerCustomEvent) => void; /** * Event is triggered every time that values are removed from or added to the list of possible values for an attribute */ "onFilterChanged"?: (event: GxQueryViewerCustomEvent) => void; /** * Event fired when a user navigates to the first page in the pivot table */ "onFirstPage"?: (event: GxQueryViewerCustomEvent) => void; /** * Event fire when a user click an "actionable" element */ "onItemClick"?: (event: GxQueryViewerCustomEvent) => void; /** * Event fired when a user collapses an item in the pivot table */ "onItemCollapse"?: (event: GxQueryViewerCustomEvent) => void; /** * Event fired when a user expands an item in the pivot table */ "onItemExpand"?: (event: GxQueryViewerCustomEvent) => void; /** * Event fired when a user navigates to the last page in the pivot table */ "onLastPage"?: (event: GxQueryViewerCustomEvent) => void; /** * Event fired when a user navigates to the next page in the pivot table */ "onNextPage"?: (event: GxQueryViewerCustomEvent) => void; /** * Event fired when a user navigates to the previous page in the pivot table */ "onPreviousPage"?: (event: GxQueryViewerCustomEvent) => void; /** * Orientation of the graph */ "orientation"?: QueryViewerOrientation; /** * Response Page Data */ "pageDataForPivotTable"?: string; /** * Response Page Data */ "pageDataForTable"?: string; /** * If paging true, number of items for a single page */ "pageSize"?: number; /** * If type == PivotTable or Table, if true there is paging, else everything in one table */ "paging"?: boolean; /** * Response Pivot Table Data Sync */ "pivottableDataSyncXml"?: string; /** * Timeline */ "plotSeries"?: QueryViewerPlotSeries; /** * Title of the QueryViewer */ "queryTitle"?: string; /** * If type == Map, this is the region to display in the map */ "region"?: QueryViewerRegion; /** * For timeline for remembering layout */ "rememberLayout"?: boolean; /** * Specifies the metadata and data that the control will use to render. */ "serviceResponse"?: QueryViewerServiceResponse; /** * Specifies the metadata that the control will use to render the pivotTable. */ "serviceResponsePivotTable"?: QueryViewerServiceResponsePivotTable; /** * Specifies whether to show the actual values, the values as a percentage of the target values, or both. */ "showDataAs"?: QueryViewerShowDataAs; /** * Ax to show data labels */ "showDataLabelsIn"?: QueryViewerShowDataLabelsIn; /** * if true show values on the graph */ "showValues"?: boolean; /** * Theme for showing the graph */ "theme"?: string; /** * True if grand total is shown for all table columns */ "totalForColumns"?: QueryViewerTotal; /** * True if grand total is shown for all table rows */ "totalForRows"?: QueryViewerTotal; /** * For translate the labels of the outputs */ "translations"?: QueryViewerTranslations; /** * If `includeTrend == true`, this attribute specifies the period of time to calculate the trend. */ "trendPeriod"?: QueryViewerTrendPeriod; /** * Type of the QueryViewer: Table, PivotTable, Chart, Card */ "type"?: QueryViewerOutputType; /** * if true the x Axes intersect at zero */ "xAxisIntersectionAtZero"?: boolean; /** * Labels for XAxis */ "xAxisLabels"?: QueryViewerXAxisLabels; /** * X Axis title */ "xAxisTitle"?: string; /** * Y Axis title */ "yAxisTitle"?: string; } interface GxQueryViewerCard { /** * Describe the content or purpose of the element set as Datum in the query object. */ "description"?: string; /** * Specifies whether to include the maximum and minimum values in the series. */ "includeMaxMin"?: boolean; /** * Specifies whether to include a sparkline chart for the values or not. */ "includeSparkline"?: boolean; /** * Specifies whether to include a trend mark for the values or not. */ "includeTrend"?: boolean; /** * Specifies the maximum value in the series. */ "maxValue"?: string; /** * Specifies the minimum value in the series. */ "minValue"?: string; /** * ItemClickEvent, executes actions when this event is triggered after clicking on a query element. */ "onItemClickEvent"?: (event: GxQueryViewerCardCustomEvent) => void; /** * Specifies the data used for the series of the sparkline. */ "seriesData"?: number[][]; /** * For translate the labels of the outputs */ "translations"?: QueryViewerTranslations; /** * Specifies the icon used for the trend. */ "trendIcon"?: TrendIcon; /** * If `includeTrend == true`, this attribute specifies the period of time to calculate the trend. */ "trendPeriod"?: QueryViewerTrendPeriod; /** * Specifies the value to show in the card. */ "value"?: string; } interface GxQueryViewerCardController { /** * A CSS class to set as the `gx-query-viewer-card-controller` element class. */ "cssClass"?: string; /** * Specifies whether to include the maximum and minimum values in the series. */ "includeMaxMin"?: boolean; /** * Specifies whether to include a sparkline chart for the values or not. */ "includeSparkline"?: boolean; /** * Specifies whether to include a trend mark for the values or not. */ "includeTrend"?: boolean; /** * Specifies whether to arrange the attributes horizontally or vertically when than one data attribute is present. */ "orientation"?: QueryViewerOrientation; /** * Specifies the metadata and data that the control will use to render. */ "serviceResponse"?: QueryViewerServiceResponse; /** * Specifies whether to show the actual values, the values as a percentage of the target values, or both. */ "showDataAs"?: QueryViewerShowDataAs; /** * For translate the labels of the outputs */ "translations"?: QueryViewerTranslations; /** * If `includeTrend == true`, this attribute specifies the period of time to calculate the trend. */ "trendPeriod"?: QueryViewerTrendPeriod; } interface GxQueryViewerChart { /** * Title that will be displayed on top of the query */ "chartOptions"?: ChartOptions; /** * Name of the element */ "chartTitle"?: TitleOptions; /** * Option of the chartType used to visualize and represent data. */ "chartType"?: QueryViewerChartType; /** * Options of the tooltip, the tooltip appears when hovering over a point in a series. */ "legendOptions"?: LegendOptions; /** * Options of the chart. */ "paneOptions"?: PaneOptions; /** * Options of the legend, the legend displays the series in a chart with a predefined symbol and the name of the series. */ "plotOptions"?: PlotOptions; /** * Specifies if the chart series are plotted together in the same chart or alone in separate charts. */ "plotSeries"?: QueryViewerPlotSeries; /** * Options of the X axis (usually this is the horizontal axis). */ "seriesOptions"?: SeriesOptionsType[]; /** * Specifies whether the values for the data elements are shown in the chart or not. */ "showValues"?: boolean; /** * Name of the element */ "subtitleOptions"?: SubtitleOptions; /** * Options of the chart. */ "tooltipOptions"?: TooltipOptions; /** * For translate the labels of the outputs */ "translations"?: QueryViewerTranslations; /** * Specifies whether the X axis intersects the Y axis at zero or the intersection point is automatically calculated. */ "xAxisIntersectionAtZero"?: boolean; /** * Specifies if the labels in the X axis of a chart are shown horizontally or vertically. */ "xAxisLabels"?: QueryViewerXAxisLabels; /** * X axis title, if specified. */ "xAxisTitle"?: string; /** * Options of the Y axis (usually this is the vertical axis). */ "xaxisOptions"?: XAxisOptions | XAxisOptions[]; /** * Y axis title, if specified. */ "yAxisTitle"?: string; /** * Options of the plot for each series type chart. */ "yaxisOptions"?: YAxisOptions | YAxisOptions[]; } interface GxQueryViewerChartController { /** * Allow selection */ "allowSelection"?: boolean; /** * If type == Chart, this is the chart type: Bar, Pie, Timeline, etc... */ "chartType"?: QueryViewerChartType; /** * A CSS class to set as the `gx-query-viewer-chart-controller` element class. */ "cssClass"?: string; /** * Timeline */ "plotSeries"?: QueryViewerPlotSeries; /** * Title of the QueryViewer */ "queryTitle"?: string; /** * Specifies the metadata and data that the control will use to render. */ "serviceResponse"?: QueryViewerServiceResponse; /** * if true show values on the graph */ "showValues"?: boolean; /** * For translate the labels of the outputs */ "translations"?: QueryViewerTranslations; /** * if true the x Axes intersect at zero */ "xAxisIntersectionAtZero"?: boolean; /** * Labels for XAxis */ "xAxisLabels"?: QueryViewerXAxisLabels; /** * Y Axis title */ "yAxisTitle"?: string; } interface GxQueryViewerController { /** * @todo Add description */ "allowElementsOrderChange"?: boolean; /** * This is GxQuery authentication key. It will required when property useGxQuery = true */ "apiKey"?: string; /** * Determines the application namespace where the program is generated and compiled. */ "applicationNamespace"?: string; /** * API base URL */ "baseUrl"?: string; /** * When `type == Chart`, specifies the chart type: Bar, Pie, Timeline, etc... */ "chartType"?: QueryViewerChartType; /** * Environment of the project: java or net */ "environment"?: GeneratorType; /** * Include sparkline */ "includeSparkline"?: boolean; /** * If true includes trend on the graph */ "includeTrend"?: boolean; /** * This is the ID of the metadata (all the queries belong to a certain metadata) the connector will use when useGxquery = true. In this case the connector must be told the query to execute, either by name (via the objectName property) or giving a full serialized query (via the query property) */ "metadataId"?: string; /** * Name of the Query or Data provider assigned */ "objectName"?: string; /** * Fired when new page data is ready to use in the PivotTable */ "onAttributeValuesForPivotTable"?: (event: GxQueryViewerControllerCustomEvent) => void; /** * Fired when new page data is ready to use in the Table */ "onAttributesValuesForTable"?: (event: GxQueryViewerControllerCustomEvent) => void; /** * Fired when new page data is ready to use in the PivotTable */ "onCalculatePivottableData"?: (event: GxQueryViewerControllerCustomEvent) => void; /** * ItemClickEvent, executes actions when this event is triggered after clicking on a pivot table element. */ "onItemClickPivotTable"?: (event: GxQueryViewerControllerCustomEvent) => void; /** * Fired when new page data is ready to use in the PivotTable */ "onPageDataForPivotTable"?: (event: GxQueryViewerControllerCustomEvent) => void; /** * Fired when new page data is ready to use in the PivotTable */ "onPageDataForTable"?: (event: GxQueryViewerControllerCustomEvent) => void; /** * Fired when new metadata and data is fetched */ "onQueryViewerServiceResponse"?: (event: GxQueryViewerControllerCustomEvent) => void; /** * Fired when new metadata and data is fetched */ "onQueryViewerServiceResponsePivotTable"?: (event: GxQueryViewerControllerCustomEvent) => void; /** * Fired when data is ready to use in the PivotTable */ "onSyncPivotTableData"?: (event: GxQueryViewerControllerCustomEvent) => void; /** * Specified the orientation when have more than one card */ "orientation"?: QueryViewerOrientation; /** * If paging true, number of items for a single page */ "pageSize"?: number; /** * If type == PivotTable or Table, if true there is paging, else everything in one table */ "paging"?: boolean; /** * Title of the QueryViewer */ "queryTitle"?: string; /** * For timeline for remembering layout */ "rememberLayout"?: boolean; /** * @todo Add description */ "returnSampleData"?: boolean; /** * This is GxQuery Saia Token. It will required when property useGxQuery = true */ "saiaToken"?: string; /** * This is GxQuery Saia User ID (optional). It will use when property useGxQuery = true */ "saiaUserId"?: string; /** * Use this property to pass a query obtained from GXquery, when useGxquery = true (ignored if objectName is specified, because this property has a greater precedence) */ "serializedObject"?: string; /** * Ax to show data labels */ "showDataLabelsIn"?: QueryViewerShowDataLabelsIn; /** * True if grand total is shown for all table columns */ "totalForColumns"?: QueryViewerTotal; /** * True if grand total is shown for all table rows */ "totalForRows"?: QueryViewerTotal; /** * @todo Add description and improve type */ "translationType"?: string; /** * Type of the QueryViewer: Table, PivotTable, Chart, Card */ "type"?: QueryViewerOutputType; /** * True to tell the controller to connect use GXquery as a queries repository */ "useGxquery"?: boolean; } interface GxQueryViewerElement { /** * Aggregation fucntion */ "aggregation"?: "Sum" | "Average" | "Count" | "Max" | "Min"; /** * Which axis, row or column */ "axis"?: "Rows" | "Columns" | "Pages"; /** * Axis Order type */ "axisOrderType"?: | "None" | "Ascending" | "Descending" | "Custom"; /** * Axis order values comma separated */ "axisOrderValues"?: string; /** * Data field */ "dataField"?: string; /** * Title to show */ "elementTitle"?: string; /** * Expand collapse type */ "expandCollapseType"?: | "ExpandAllValues" | "CollapseAllValues" | "ExpandSomeValues"; /** * Expand collapse values comma separated */ "expandCollapseValues"?: string; /** * Type of the filter */ "filterType"?: | "ShowAllValues" | "HideAllValues" | "ShowSomeValues"; /** * Filter values comma separated */ "filterValues"?: string; /** * Grouping by day of week title */ "groupingDayOfWeekTitle"?: string; /** * Grouping by day of week */ "groupingGroupByDayOfWeek"?: boolean; /** * Grouping by month */ "groupingGroupByMonth"?: boolean; /** * Grouping by Quarter */ "groupingGroupByQuarter"?: boolean; /** * Grouping by semester */ "groupingGroupBySemester"?: boolean; /** * Grouping by year */ "groupingGroupByYear"?: boolean; /** * Grouping hide vale */ "groupingHideValue"?: boolean; /** * Grouping by month title */ "groupingMonthTitle"?: string; /** * Grouping by Quarter title */ "groupingQuarterTitle"?: string; /** * Grouping by Semster title */ "groupingSemesterTitle"?: string; /** * Gouping by Year title */ "groupingYearTitle"?: string; /** * Name of the element */ "name"?: string; /** * Fired each time the properties of the control changes */ "onElementChanged"?: (event: GxQueryViewerElementCustomEvent) => void; /** * Raise item click */ "raiseItemClick"?: boolean; /** * Type of the element */ "type"?: "Axis" | "Datum"; /** * How to show it */ "visible"?: "Always" | "Yes" | "No" | "Never"; } interface GxQueryViewerElementFormat { /** * If true cand drag to pages */ "canDragToPages"?: boolean; /** * Format style */ "formatStyle"?: string; /** * Max value */ "maximumValue"?: string; /** * Fired each time the properties of the control changes */ "onElementChanged"?: (event: GxQueryViewerElementFormatCustomEvent) => void; /** * Format on values */ "picture"?: string; /** * How to show subtotals */ "subtotals"?: "Yes" | "Hidden" | "No"; /** * Target value */ "targetValue"?: string; } interface GxQueryViewerFormatStyle { /** * If Conditional true for applying to row or column */ "applyToRowOrColumn"?: boolean; /** * Fired each time the properties of the control changes */ "onElementChanged"?: (event: GxQueryViewerFormatStyleCustomEvent) => void; /** * If Format the operator of the element */ "operator"?: "EQ" | "LT" | "GT" | "LE" | "GE" | "NE" | "IN"; /** * Style or Css class */ "styleOrClass"?: string; /** * Type of the element Conditional or Format */ "type"?: "Values" | "Conditional"; /** * If Conditional Value to format */ "value"?: string; /** * If format first value */ "value1"?: string; /** * If format second value */ "value2"?: string; } interface GxQueryViewerParameter { /** * Name of the parameter */ "Name"?: string; /** * Value of the parameter */ "Value"?: string; /** * Fired each time the value of the control changes */ "onParameterValueChanged"?: (event: GxQueryViewerParameterCustomEvent) => void; } interface GxQueryViewerPivot { /** * QueryViewerTranslations */ "QueryViewerTranslations"?: { GXPL_QViewerSinceTheBeginningTrend: string; GXPL_QViewerLastDayTrend: string; GXPL_QViewerLastHourTrend: string; GXPL_QViewerJSAllOption: string; GXPL_QViewerJSAscending: string; GXPL_QViewerJSDescending: string; GXPL_QViewerJSSubtotals: string; GXPL_QViewerJSRestoreDefaultView: string; GXPL_QViewerJSPivotDimensionToColumn: string; GXPL_QViewerJSPivotDimensionToRow: string; GXPL_QViewerJSMoveToFilterBar: string; GXPL_QViewerJSAll: string; GXPL_QViewerJSNone: string; GXPL_QViewerJSReverse: string; GXPL_QViewerSearch: string; GXPL_QViewerInfoUser: string; GXPL_QViewerJSDropFiltersHere: string; GXPL_QViewerPopupTitle: string; GXPL_QViewerJSVisibleColumns: string; GXPL_QViewerContextMenuExportXml: string; GXPL_QViewerContextMenuExportHtml: string; GXPL_QViewerContextMenuExportPdf: string; GXPL_QViewerContextMenuExportXls2003: string; GXPL_QViewerContextMenuExportXlsx: string; GXPL_QViewerJSMeasures: string; GXPL_QViewerJSValue: string; GXPL_QViewerJSTotal: string; GXPL_QViewerJSTotalFor: string; GXPL_QViewerJSPerPage: string; GXPL_QViewerJSPage: string; GXPL_QViewerJSOf: string; GXPL_QViewerJSMoveColumnToLeft: string; GXPL_QViewerJSMoveColumnToRight: string; }; /** * Response Attribute Values */ "attributeValuesForPivotTableXml"?: string; /** * Response Attribute Values */ "attributeValuesForTableXml"?: string; /** * if true will shrink the table */ "autoResize"?: boolean; /** * Response calculation PivotTable Data */ "calculatePivottableDataXml"?: string; /** * A CSS class to set as the `gx-query-viewer-pivot` element class. */ "cssClass"?: string; /** * metadata */ "metadata"?: string; /** * Name of the Query or Data provider assigned */ "objectName"?: string; /** * Response Page Data */ "pageDataForPivotTable"?: string; /** * Response Page Data */ "pageDataForTable"?: string; /** * Enables you to define the number of rows that will be shown when the Paging property is activated */ "pageSize"?: number; /** * This attribute lets you determinate whether there will be paging buttons. */ "paging"?: boolean; /** * pivotCollection */ "pivotCollection"?: QueryViewerPivotCollection; /** * pivotParameters */ "pivotParameters"?: QueryViewerPivotParameters; /** * Response PivotTable Data Sync */ "pivotTableDataSyncXml"?: string; /** * This attribute lets you define a title for the pivot table. */ "pivotTitle"?: string; /** * For timeline for remembering layout */ "rememberLayout"?: boolean; /** * It allows to indicate how you want to display the Data elements of the Query object. */ "showDataLabelsIn"?: QueryViewerShowDataLabelsIn; /** * Response Table Data Sync */ "tableDataSyncXml"?: string; /** * Specifies whether the render output is PivotTable or Table */ "tableType"?: | QueryViewerOutputType.PivotTable | QueryViewerOutputType.Table; /** * Determines whether to show a total of all values in the pivot table columns. */ "totalForColumns"?: QueryViewerTotal; /** * Determines whether to show a total of all values in the pivot table rows. */ "totalForRows"?: QueryViewerTotal; } interface GxQueryViewerPivotRender { /** * Allowing elements order to change */ "allowElementsOrderChange"?: boolean; /** * Allow selection */ "allowSelection"?: boolean; /** * Response Attribute Values */ "attributeValuesForPivotTableXml"?: string; /** * Response Attribute Values for Table */ "attributeValuesForTableXml"?: string; /** * if true will shrink the table */ "autoResize"?: boolean; /** * Response Attribute Values */ "calculatePivottableDataXml"?: string; /** * Specifies the name of the control used in the pivot and Table outputs types */ "controlName": string; /** * A CSS class to set as the `gx-query-viewer-pivot-render` element class. */ "cssClass"?: string; /** * Allowing or not Column sort */ "disableColumnSort"?: boolean; /** * Response Page Data */ "pageDataForPivotTable"?: string; /** * Response Page Data */ "pageDataForTable"?: string; /** * Enables you to define the number of rows that will be shown when the Paging property is activated */ "pageSize"?: number; /** * This attribute lets you determinate whether there will be paging buttons. */ "paging"?: boolean; /** * Response Pivot Table Data Sync */ "pivotTableDataSyncXml"?: string; /** * This attribute lets you define a title for the pivot table. */ "pivotTitle"?: string; /** * For timeline for remembering layout */ "rememberLayout"?: boolean; /** * Specifies the metadata and data that the control will use to render. */ "serviceResponse"?: QueryViewerServiceResponsePivotTable; /** * It allows to indicate how you want to display the Data elements of the Query object. */ "showDataLabelsIn"?: QueryViewerShowDataLabelsIn; /** * Response Table Data Sync */ "tableDataSyncXml"?: string; /** * Specifies whether the render output is PivotTable or Table */ "tableType"?: | QueryViewerOutputType.PivotTable | QueryViewerOutputType.Table; /** * Determines whether to show a total of all values in the pivot table columns. */ "totalForColumns"?: QueryViewerTotal; /** * Determines whether to show a total of all values in the pivot table rows. */ "totalForRows"?: QueryViewerTotal; /** * For translate the labels of the outputs */ "translations"?: QueryViewerTranslations; } interface GxQueryViewerSlider { /** * This property determines the value of the end position slider. */ "endSliderValue"?: number; /** * Fired when a new range of the control is committed by the user. */ "onChange"?: (event: GxQueryViewerSliderCustomEvent) => void; /** * This property determines the value of the start position slider. */ "startSliderValue"?: number; /** * This attribute lets you define the steps for each slider. */ "step"?: number; } interface GxSidebar { /** * Label for collapse button */ "collapseLabel"?: string; /** * Width of expanded window. Default 300px */ "collapsedSize"?: "40px"; /** * Determines if the sidebar can be collapsed */ "collapsible"?: true; /** * Determines if should display the actions controls */ "controls"?: true; /** * Label for expand button */ "expandLabel"?: string; /** * Width of expanded window. Default 300px */ "expandedSize"?: "300px"; /** * Determines if the sidebar is collapsed */ "isCollapsed"?: boolean; /** * Label for expand button */ "newChatLabel"?: string; /** * Crear a new chat */ "onGxQueryNewChat"?: (event: GxSidebarCustomEvent) => void; } interface IntrinsicElements { "gx-floating-window": GxFloatingWindow; "gx-query-chat": GxQueryChat; "gx-query-menu": GxQueryMenu; "gx-query-menu-item": GxQueryMenuItem; "gx-query-render": GxQueryRender; "gx-query-viewer": GxQueryViewer; "gx-query-viewer-card": GxQueryViewerCard; "gx-query-viewer-card-controller": GxQueryViewerCardController; "gx-query-viewer-chart": GxQueryViewerChart; "gx-query-viewer-chart-controller": GxQueryViewerChartController; "gx-query-viewer-controller": GxQueryViewerController; "gx-query-viewer-element": GxQueryViewerElement; "gx-query-viewer-element-format": GxQueryViewerElementFormat; "gx-query-viewer-format-style": GxQueryViewerFormatStyle; "gx-query-viewer-parameter": GxQueryViewerParameter; "gx-query-viewer-pivot": GxQueryViewerPivot; "gx-query-viewer-pivot-render": GxQueryViewerPivotRender; "gx-query-viewer-slider": GxQueryViewerSlider; "gx-sidebar": GxSidebar; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "gx-floating-window": LocalJSX.GxFloatingWindow & JSXBase.HTMLAttributes; "gx-query-chat": LocalJSX.GxQueryChat & JSXBase.HTMLAttributes; "gx-query-menu": LocalJSX.GxQueryMenu & JSXBase.HTMLAttributes; "gx-query-menu-item": LocalJSX.GxQueryMenuItem & JSXBase.HTMLAttributes; "gx-query-render": LocalJSX.GxQueryRender & JSXBase.HTMLAttributes; "gx-query-viewer": LocalJSX.GxQueryViewer & JSXBase.HTMLAttributes; "gx-query-viewer-card": LocalJSX.GxQueryViewerCard & JSXBase.HTMLAttributes; "gx-query-viewer-card-controller": LocalJSX.GxQueryViewerCardController & JSXBase.HTMLAttributes; "gx-query-viewer-chart": LocalJSX.GxQueryViewerChart & JSXBase.HTMLAttributes; "gx-query-viewer-chart-controller": LocalJSX.GxQueryViewerChartController & JSXBase.HTMLAttributes; "gx-query-viewer-controller": LocalJSX.GxQueryViewerController & JSXBase.HTMLAttributes; "gx-query-viewer-element": LocalJSX.GxQueryViewerElement & JSXBase.HTMLAttributes; "gx-query-viewer-element-format": LocalJSX.GxQueryViewerElementFormat & JSXBase.HTMLAttributes; "gx-query-viewer-format-style": LocalJSX.GxQueryViewerFormatStyle & JSXBase.HTMLAttributes; "gx-query-viewer-parameter": LocalJSX.GxQueryViewerParameter & JSXBase.HTMLAttributes; "gx-query-viewer-pivot": LocalJSX.GxQueryViewerPivot & JSXBase.HTMLAttributes; "gx-query-viewer-pivot-render": LocalJSX.GxQueryViewerPivotRender & JSXBase.HTMLAttributes; "gx-query-viewer-slider": LocalJSX.GxQueryViewerSlider & JSXBase.HTMLAttributes; "gx-sidebar": LocalJSX.GxSidebar & JSXBase.HTMLAttributes; } } }