@qrvey/utils 1.2.4-8 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +338 -338
- package/dist/charts/helpers/index.d.ts +3 -0
- package/dist/charts/helpers/index.js +3 -0
- package/dist/charts/helpers/isExpandableTableChart.d.ts +1 -0
- package/dist/charts/helpers/isExpandableTableChart.js +4 -0
- package/dist/charts/helpers/isSimpleTableChart.d.ts +1 -0
- package/dist/charts/helpers/isSimpleTableChart.js +5 -0
- package/dist/charts/helpers/isTableChart.d.ts +1 -0
- package/dist/charts/helpers/isTableChart.js +4 -0
- package/dist/cjs/charts/helpers/index.d.ts +3 -0
- package/dist/cjs/{globalization/interfaces → charts/helpers}/index.js +3 -3
- package/dist/cjs/charts/helpers/isExpandableTableChart.d.ts +1 -0
- package/dist/cjs/charts/helpers/isExpandableTableChart.js +8 -0
- package/dist/cjs/charts/helpers/isSimpleTableChart.d.ts +1 -0
- package/dist/cjs/charts/helpers/isSimpleTableChart.js +9 -0
- package/dist/cjs/charts/helpers/isTableChart.d.ts +1 -0
- package/dist/cjs/charts/helpers/isTableChart.js +8 -0
- package/dist/cjs/columns/constants/COLUMN_INFO.js +1 -2
- package/dist/cjs/columns/interfaces/IColumn.d.ts +3 -3
- package/dist/cjs/columns/interfaces/IColumnAggregateType.d.ts +2 -0
- package/dist/cjs/{charts/interfaces/IAggregateAbbreviation.js → columns/interfaces/IColumnAggregateType.js} +0 -0
- package/dist/cjs/{qrvey/interfaces/ICalculationType.d.ts → columns/interfaces/IColumnCalculationType.d.ts} +1 -1
- package/dist/cjs/{charts/interfaces/IAggregateInfo.js → columns/interfaces/IColumnCalculationType.js} +0 -0
- package/dist/cjs/columns/interfaces/index.d.ts +2 -0
- package/dist/cjs/columns/interfaces/index.js +2 -0
- package/dist/cjs/constants/Charts.Const.d.ts +1 -0
- package/dist/cjs/constants/Charts.Const.js +1 -0
- package/dist/cjs/filters/adapters/UIToOldLogic.js +1 -0
- package/dist/cjs/filters/adapters/flatUIToOldLogic.js +3 -2
- package/dist/cjs/filters/adapters/logicToFlatUI.js +1 -1
- package/dist/cjs/filters/helpers/common/getFilterColumnLabel.js +1 -1
- package/dist/cjs/filters/interfaces/builder/IFilterBuilderConfig.d.ts +0 -2
- package/dist/cjs/filters/interfaces/panel/IFilterPanelConfig.d.ts +0 -2
- package/dist/cjs/general/object/mergeDeep.js +7 -6
- package/dist/cjs/globalization/filters/FILTER_BUILDER.d.ts +129 -0
- package/dist/cjs/globalization/filters/FILTER_BUILDER.js +37 -0
- package/dist/cjs/globalization/filters/SLIDEBAR.d.ts +8 -0
- package/dist/cjs/globalization/{labels/filters/I18N_SLIDEBAR.js → filters/SLIDEBAR.js} +3 -3
- package/dist/cjs/globalization/filters/VALUES_CONTAINER.d.ts +11 -0
- package/dist/cjs/globalization/{labels/filters/I18N_VALUE_CONTAINER.js → filters/VALUES_CONTAINER.js} +3 -2
- package/dist/cjs/globalization/filters/index.d.ts +3 -0
- package/dist/cjs/{charts → globalization/filters}/index.js +3 -2
- package/dist/cjs/globalization/index.d.ts +1 -3
- package/dist/cjs/globalization/index.js +1 -3
- package/dist/cjs/index.d.ts +0 -1
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/interfaces/Qrvey.Interface.d.ts +10 -0
- package/dist/cjs/interfaces/index.d.ts +1 -1
- package/dist/cjs/interfaces/index.js +1 -1
- package/dist/{charts → cjs/qrvey}/constants/AGGREGATE.d.ts +0 -0
- package/dist/cjs/{charts → qrvey}/constants/AGGREGATE.js +0 -0
- package/dist/{charts → cjs/qrvey}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
- package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.js +0 -0
- package/dist/cjs/qrvey/constants/AGGREGATE_INFO.d.ts +5 -0
- package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_INFO.js +0 -0
- package/dist/cjs/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
- package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.js +0 -0
- package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.d.ts +11 -0
- package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.js +15 -0
- package/dist/cjs/qrvey/constants/CALCULATION_INFO_LIST.d.ts +1 -1
- package/dist/cjs/qrvey/constants/CALCULATION_INFO_LIST.js +2 -2
- package/dist/cjs/qrvey/constants/index.d.ts +4 -1
- package/dist/cjs/qrvey/constants/index.js +4 -1
- package/dist/{charts/interfaces/IAggregateType.d.ts → cjs/qrvey/interfaces/IAggregate.d.ts} +1 -1
- package/dist/cjs/{charts/interfaces/IAggregateLabel.js → qrvey/interfaces/IAggregate.js} +0 -0
- package/dist/cjs/qrvey/interfaces/IAggregateInfo.d.ts +5 -0
- package/dist/cjs/{charts/interfaces/IAggregateType.js → qrvey/interfaces/IAggregateInfo.js} +0 -0
- package/dist/cjs/qrvey/interfaces/index.d.ts +0 -4
- package/dist/cjs/qrvey/interfaces/index.js +0 -4
- package/dist/cjs/services/helpers/Request.js +1 -1
- package/dist/columns/constants/COLUMN_INFO.js +1 -2
- package/dist/columns/interfaces/IColumn.d.ts +3 -3
- package/dist/columns/interfaces/IColumnAggregateType.d.ts +2 -0
- package/dist/{charts/interfaces/IAggregateAbbreviation.js → columns/interfaces/IColumnAggregateType.js} +0 -0
- package/dist/{qrvey/interfaces/ICalculationType.d.ts → columns/interfaces/IColumnCalculationType.d.ts} +1 -1
- package/dist/{charts/interfaces/IAggregateInfo.js → columns/interfaces/IColumnCalculationType.js} +0 -0
- package/dist/columns/interfaces/index.d.ts +2 -0
- package/dist/columns/interfaces/index.js +2 -0
- package/dist/constants/Charts.Const.d.ts +1 -0
- package/dist/constants/Charts.Const.js +1 -0
- package/dist/filters/adapters/UIToOldLogic.js +1 -0
- package/dist/filters/adapters/flatUIToOldLogic.js +3 -2
- package/dist/filters/adapters/logicToFlatUI.js +1 -1
- package/dist/filters/helpers/common/getFilterColumnLabel.js +1 -1
- package/dist/filters/interfaces/builder/IFilterBuilderConfig.d.ts +0 -2
- package/dist/filters/interfaces/panel/IFilterPanelConfig.d.ts +0 -2
- package/dist/general/object/mergeDeep.js +7 -6
- package/dist/globalization/filters/FILTER_BUILDER.d.ts +129 -0
- package/dist/globalization/filters/FILTER_BUILDER.js +34 -0
- package/dist/globalization/filters/SLIDEBAR.d.ts +8 -0
- package/dist/globalization/{labels/filters/I18N_SLIDEBAR.js → filters/SLIDEBAR.js} +2 -2
- package/dist/globalization/filters/VALUES_CONTAINER.d.ts +11 -0
- package/dist/globalization/{labels/filters/I18N_VALUE_CONTAINER.js → filters/VALUES_CONTAINER.js} +2 -1
- package/dist/globalization/filters/index.d.ts +3 -0
- package/dist/globalization/filters/index.js +3 -0
- package/dist/globalization/index.d.ts +1 -3
- package/dist/globalization/index.js +1 -3
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/interfaces/Qrvey.Interface.d.ts +10 -0
- package/dist/interfaces/index.d.ts +1 -1
- package/dist/interfaces/index.js +1 -1
- package/dist/{cjs/charts → qrvey}/constants/AGGREGATE.d.ts +0 -0
- package/dist/{charts → qrvey}/constants/AGGREGATE.js +0 -0
- package/dist/{cjs/charts → qrvey}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
- package/dist/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.js +0 -0
- package/dist/qrvey/constants/AGGREGATE_INFO.d.ts +5 -0
- package/dist/{charts → qrvey}/constants/AGGREGATE_INFO.js +0 -0
- package/dist/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
- package/dist/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.js +0 -0
- package/dist/qrvey/constants/AGGREGATE_LABEL.d.ts +11 -0
- package/dist/qrvey/constants/AGGREGATE_LABEL.js +12 -0
- package/dist/qrvey/constants/CALCULATION_INFO_LIST.d.ts +1 -1
- package/dist/qrvey/constants/CALCULATION_INFO_LIST.js +1 -1
- package/dist/qrvey/constants/index.d.ts +4 -1
- package/dist/qrvey/constants/index.js +4 -1
- package/dist/{cjs/charts/interfaces/IAggregateType.d.ts → qrvey/interfaces/IAggregate.d.ts} +1 -1
- package/dist/{charts/interfaces/IAggregateLabel.js → qrvey/interfaces/IAggregate.js} +0 -0
- package/dist/qrvey/interfaces/IAggregateInfo.d.ts +5 -0
- package/dist/{charts/interfaces/IAggregateType.js → qrvey/interfaces/IAggregateInfo.js} +0 -0
- package/dist/qrvey/interfaces/index.d.ts +0 -4
- package/dist/qrvey/interfaces/index.js +0 -4
- package/dist/services/helpers/Request.js +1 -1
- package/package.json +5 -7
- package/src/charts/helpers/index.ts +3 -0
- package/src/charts/helpers/isExpandableTableChart.ts +5 -0
- package/src/charts/helpers/isSimpleTableChart.ts +5 -0
- package/src/charts/helpers/isTableChart.ts +5 -0
- package/src/columns/constants/COLUMN_INFO.ts +28 -29
- package/src/columns/interfaces/IColumn.ts +3 -3
- package/src/columns/interfaces/IColumnAggregateType.ts +3 -0
- package/src/{qrvey/interfaces/ICalculationType.ts → columns/interfaces/IColumnCalculationType.ts} +1 -1
- package/src/columns/interfaces/index.ts +2 -0
- package/src/constants/Charts.Const.ts +1 -0
- package/src/filters/adapters/UIToOldLogic.ts +2 -0
- package/src/filters/adapters/flatUIToOldLogic.ts +4 -2
- package/src/filters/adapters/logicToFlatUI.ts +1 -1
- package/src/filters/helpers/common/getFilterColumnLabel.ts +1 -1
- package/src/filters/interfaces/builder/IFilterBuilderConfig.ts +0 -2
- package/src/filters/interfaces/panel/IFilterPanelConfig.ts +0 -2
- package/src/general/object/mergeDeep.ts +8 -7
- package/src/globalization/filters/FILTER_BUILDER.ts +35 -0
- package/src/globalization/filters/SLIDEBAR.ts +8 -0
- package/src/globalization/{labels/filters/I18N_VALUE_CONTAINER.ts → filters/VALUES_CONTAINER.ts} +2 -3
- package/src/globalization/filters/index.ts +3 -0
- package/src/globalization/index.ts +1 -3
- package/src/index.ts +0 -1
- package/src/interfaces/Qrvey.Interface.ts +11 -0
- package/src/interfaces/index.ts +1 -1
- package/src/{charts → qrvey}/constants/AGGREGATE.ts +0 -0
- package/src/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.ts +0 -0
- package/src/{charts → qrvey}/constants/AGGREGATE_INFO.ts +2 -2
- package/src/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.ts +0 -0
- package/src/qrvey/constants/AGGREGATE_LABEL.ts +11 -0
- package/src/qrvey/constants/CALCULATION_INFO_LIST.ts +1 -1
- package/src/qrvey/constants/index.ts +4 -1
- package/src/{charts/interfaces/IAggregateType.ts → qrvey/interfaces/IAggregate.ts} +1 -1
- package/src/qrvey/interfaces/IAggregateInfo.ts +7 -0
- package/src/qrvey/interfaces/index.ts +1 -5
- package/src/services/helpers/Request.ts +1 -1
- package/src/stencil/util/index.ts +1 -1
- package/dist/charts/constants/AGGREGATE_INFO.d.ts +0 -5
- package/dist/charts/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
- package/dist/charts/constants/AGGREGATE_LABEL.d.ts +0 -11
- package/dist/charts/constants/AGGREGATE_LABEL.js +0 -12
- package/dist/charts/constants/index.d.ts +0 -5
- package/dist/charts/constants/index.js +0 -5
- package/dist/charts/index.d.ts +0 -2
- package/dist/charts/index.js +0 -2
- package/dist/charts/interfaces/IAggregateAbbreviation.d.ts +0 -2
- package/dist/charts/interfaces/IAggregateInfo.d.ts +0 -9
- package/dist/charts/interfaces/IAggregateLabel.d.ts +0 -2
- package/dist/charts/interfaces/index.d.ts +0 -4
- package/dist/charts/interfaces/index.js +0 -4
- package/dist/cjs/charts/constants/AGGREGATE_INFO.d.ts +0 -5
- package/dist/cjs/charts/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
- package/dist/cjs/charts/constants/AGGREGATE_LABEL.d.ts +0 -11
- package/dist/cjs/charts/constants/AGGREGATE_LABEL.js +0 -15
- package/dist/cjs/charts/constants/index.d.ts +0 -5
- package/dist/cjs/charts/constants/index.js +0 -17
- package/dist/cjs/charts/index.d.ts +0 -2
- package/dist/cjs/charts/interfaces/IAggregateAbbreviation.d.ts +0 -2
- package/dist/cjs/charts/interfaces/IAggregateInfo.d.ts +0 -9
- package/dist/cjs/charts/interfaces/IAggregateLabel.d.ts +0 -2
- package/dist/cjs/charts/interfaces/index.d.ts +0 -4
- package/dist/cjs/charts/interfaces/index.js +0 -16
- package/dist/cjs/globalization/interfaces/IResourceI18n.d.ts +0 -14
- package/dist/cjs/globalization/interfaces/IResourceI18n.js +0 -2
- package/dist/cjs/globalization/interfaces/columns/II18nColumn.d.ts +0 -10
- package/dist/cjs/globalization/interfaces/columns/II18nColumn.js +0 -2
- package/dist/cjs/globalization/interfaces/columns/index.d.ts +0 -1
- package/dist/cjs/globalization/interfaces/columns/index.js +0 -13
- package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.d.ts +0 -11
- package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +0 -8
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +0 -8
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.d.ts +0 -38
- package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +0 -13
- package/dist/cjs/globalization/interfaces/common/II18nCommon.js +0 -2
- package/dist/cjs/globalization/interfaces/common/index.d.ts +0 -6
- package/dist/cjs/globalization/interfaces/common/index.js +0 -18
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +0 -9
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.js +0 -2
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.js +0 -2
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +0 -7
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.js +0 -2
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +0 -6
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.js +0 -2
- package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/dashboard/index.js +0 -16
- package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +0 -8
- package/dist/cjs/globalization/interfaces/filters/II18nFilter.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.d.ts +0 -17
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +0 -3
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.d.ts +0 -23
- package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.d.ts +0 -7
- package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nSlidebarValueContainer.d.ts +0 -3
- package/dist/cjs/globalization/interfaces/filters/II18nSlidebarValueContainer.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/index.d.ts +0 -7
- package/dist/cjs/globalization/interfaces/filters/index.js +0 -19
- package/dist/cjs/globalization/interfaces/index.d.ts +0 -3
- package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +0 -9
- package/dist/cjs/globalization/interfaces/panel/II18nPanel.js +0 -2
- package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +0 -9
- package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.js +0 -2
- package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.d.ts +0 -15
- package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.js +0 -2
- package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.js +0 -2
- package/dist/cjs/globalization/interfaces/panel/index.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/panel/index.js +0 -16
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.d.ts +0 -15
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.js +0 -2
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +0 -8
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +0 -2
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.js +0 -2
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +0 -9
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.js +0 -2
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +0 -3
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +0 -2
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +0 -2
- package/dist/cjs/globalization/interfaces/table_charts/index.d.ts +0 -6
- package/dist/cjs/globalization/interfaces/table_charts/index.js +0 -18
- package/dist/cjs/globalization/labels/I18N_DEFAULT.d.ts +0 -2
- package/dist/cjs/globalization/labels/I18N_DEFAULT.js +0 -17
- package/dist/cjs/globalization/labels/columns/I18N_COLUMN.d.ts +0 -2
- package/dist/cjs/globalization/labels/columns/I18N_COLUMN.js +0 -8
- package/dist/cjs/globalization/labels/columns/index.d.ts +0 -1
- package/dist/cjs/globalization/labels/columns/index.js +0 -13
- package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +0 -2
- package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.js +0 -15
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +0 -38
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.js +0 -42
- package/dist/cjs/globalization/labels/common/I18N_COMMON.d.ts +0 -2
- package/dist/cjs/globalization/labels/common/I18N_COMMON.js +0 -31
- package/dist/cjs/globalization/labels/common/index.d.ts +0 -3
- package/dist/cjs/globalization/labels/common/index.js +0 -15
- package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +0 -2
- package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +0 -24
- package/dist/cjs/globalization/labels/dashboard/index.d.ts +0 -1
- package/dist/cjs/globalization/labels/dashboard/index.js +0 -13
- package/dist/cjs/globalization/labels/filters/I18N_FILTER.d.ts +0 -2
- package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +0 -11
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +0 -2
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -27
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +0 -2
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +0 -27
- package/dist/cjs/globalization/labels/filters/I18N_SLIDEBAR.d.ts +0 -2
- package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +0 -2
- package/dist/cjs/globalization/labels/filters/index.d.ts +0 -5
- package/dist/cjs/globalization/labels/filters/index.js +0 -17
- package/dist/cjs/globalization/labels/index.d.ts +0 -7
- package/dist/cjs/globalization/labels/index.js +0 -19
- package/dist/cjs/globalization/labels/panel/I18N_PANEL.d.ts +0 -2
- package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +0 -34
- package/dist/cjs/globalization/labels/panel/index.d.ts +0 -1
- package/dist/cjs/globalization/labels/panel/index.js +0 -13
- package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +0 -2
- package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +0 -36
- package/dist/cjs/globalization/labels/table_charts/index.d.ts +0 -1
- package/dist/cjs/globalization/labels/table_charts/index.js +0 -13
- package/dist/cjs/globalization/service/i18nextBuilder.d.ts +0 -9
- package/dist/cjs/globalization/service/i18nextBuilder.js +0 -61
- package/dist/cjs/globalization/service/index.d.ts +0 -2
- package/dist/cjs/globalization/service/index.js +0 -14
- package/dist/cjs/globalization/service/initI18n.d.ts +0 -3
- package/dist/cjs/globalization/service/initI18n.js +0 -19
- package/dist/cjs/qrvey/interfaces/ICalculationType.js +0 -2
- package/dist/globalization/interfaces/IResourceI18n.d.ts +0 -14
- package/dist/globalization/interfaces/IResourceI18n.js +0 -1
- package/dist/globalization/interfaces/columns/II18nColumn.d.ts +0 -10
- package/dist/globalization/interfaces/columns/II18nColumn.js +0 -1
- package/dist/globalization/interfaces/columns/index.d.ts +0 -1
- package/dist/globalization/interfaces/columns/index.js +0 -1
- package/dist/globalization/interfaces/common/II18nAgreggateLabels.d.ts +0 -11
- package/dist/globalization/interfaces/common/II18nAgreggateLabels.js +0 -1
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +0 -5
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +0 -1
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +0 -8
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +0 -1
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +0 -8
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +0 -1
- package/dist/globalization/interfaces/common/II18nColumnTypes.d.ts +0 -38
- package/dist/globalization/interfaces/common/II18nColumnTypes.js +0 -1
- package/dist/globalization/interfaces/common/II18nCommon.d.ts +0 -13
- package/dist/globalization/interfaces/common/II18nCommon.js +0 -1
- package/dist/globalization/interfaces/common/index.d.ts +0 -6
- package/dist/globalization/interfaces/common/index.js +0 -6
- package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +0 -9
- package/dist/globalization/interfaces/dashboard/II18nDashboard.js +0 -1
- package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +0 -5
- package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.js +0 -1
- package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +0 -7
- package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.js +0 -1
- package/dist/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +0 -6
- package/dist/globalization/interfaces/dashboard/II18nDashboardViews.js +0 -1
- package/dist/globalization/interfaces/dashboard/index.d.ts +0 -4
- package/dist/globalization/interfaces/dashboard/index.js +0 -4
- package/dist/globalization/interfaces/filters/II18nFilter.d.ts +0 -8
- package/dist/globalization/interfaces/filters/II18nFilter.js +0 -1
- package/dist/globalization/interfaces/filters/II18nFilterBuilder.d.ts +0 -17
- package/dist/globalization/interfaces/filters/II18nFilterBuilder.js +0 -1
- package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +0 -4
- package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +0 -1
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +0 -5
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +0 -1
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +0 -1
- package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +0 -3
- package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +0 -1
- package/dist/globalization/interfaces/filters/II18nFilterValidator.d.ts +0 -23
- package/dist/globalization/interfaces/filters/II18nFilterValidator.js +0 -1
- package/dist/globalization/interfaces/filters/II18nSlidebar.d.ts +0 -7
- package/dist/globalization/interfaces/filters/II18nSlidebar.js +0 -1
- package/dist/globalization/interfaces/filters/II18nSlidebarValueContainer.d.ts +0 -3
- package/dist/globalization/interfaces/filters/II18nSlidebarValueContainer.js +0 -1
- package/dist/globalization/interfaces/filters/II18nValueContainer.d.ts +0 -4
- package/dist/globalization/interfaces/filters/II18nValueContainer.js +0 -1
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +0 -5
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.js +0 -1
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.js +0 -1
- package/dist/globalization/interfaces/filters/index.d.ts +0 -7
- package/dist/globalization/interfaces/filters/index.js +0 -7
- package/dist/globalization/interfaces/index.d.ts +0 -3
- package/dist/globalization/interfaces/index.js +0 -3
- package/dist/globalization/interfaces/panel/II18nPanel.d.ts +0 -9
- package/dist/globalization/interfaces/panel/II18nPanel.js +0 -1
- package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +0 -9
- package/dist/globalization/interfaces/panel/II18nPanelErrors.js +0 -1
- package/dist/globalization/interfaces/panel/II18nPanelMenu.d.ts +0 -15
- package/dist/globalization/interfaces/panel/II18nPanelMenu.js +0 -1
- package/dist/globalization/interfaces/panel/II18nPanelTooltips.d.ts +0 -4
- package/dist/globalization/interfaces/panel/II18nPanelTooltips.js +0 -1
- package/dist/globalization/interfaces/panel/index.d.ts +0 -4
- package/dist/globalization/interfaces/panel/index.js +0 -4
- package/dist/globalization/interfaces/table_charts/II18nTableCharts.d.ts +0 -15
- package/dist/globalization/interfaces/table_charts/II18nTableCharts.js +0 -1
- package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +0 -8
- package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +0 -1
- package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +0 -4
- package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.js +0 -1
- package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +0 -9
- package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.js +0 -1
- package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +0 -3
- package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +0 -1
- package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +0 -4
- package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +0 -1
- package/dist/globalization/interfaces/table_charts/index.d.ts +0 -6
- package/dist/globalization/interfaces/table_charts/index.js +0 -6
- package/dist/globalization/labels/I18N_DEFAULT.d.ts +0 -2
- package/dist/globalization/labels/I18N_DEFAULT.js +0 -14
- package/dist/globalization/labels/columns/I18N_COLUMN.d.ts +0 -2
- package/dist/globalization/labels/columns/I18N_COLUMN.js +0 -5
- package/dist/globalization/labels/columns/index.d.ts +0 -1
- package/dist/globalization/labels/columns/index.js +0 -1
- package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +0 -2
- package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.js +0 -12
- package/dist/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +0 -38
- package/dist/globalization/labels/common/I18N_COLUMN_LABEL.js +0 -39
- package/dist/globalization/labels/common/I18N_COMMON.d.ts +0 -2
- package/dist/globalization/labels/common/I18N_COMMON.js +0 -28
- package/dist/globalization/labels/common/index.d.ts +0 -3
- package/dist/globalization/labels/common/index.js +0 -3
- package/dist/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +0 -2
- package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +0 -21
- package/dist/globalization/labels/dashboard/index.d.ts +0 -1
- package/dist/globalization/labels/dashboard/index.js +0 -1
- package/dist/globalization/labels/filters/I18N_FILTER.d.ts +0 -2
- package/dist/globalization/labels/filters/I18N_FILTER.js +0 -8
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +0 -2
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -24
- package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +0 -2
- package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +0 -24
- package/dist/globalization/labels/filters/I18N_SLIDEBAR.d.ts +0 -2
- package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +0 -2
- package/dist/globalization/labels/filters/index.d.ts +0 -5
- package/dist/globalization/labels/filters/index.js +0 -5
- package/dist/globalization/labels/index.d.ts +0 -7
- package/dist/globalization/labels/index.js +0 -7
- package/dist/globalization/labels/panel/I18N_PANEL.d.ts +0 -2
- package/dist/globalization/labels/panel/I18N_PANEL.js +0 -31
- package/dist/globalization/labels/panel/index.d.ts +0 -1
- package/dist/globalization/labels/panel/index.js +0 -1
- package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +0 -2
- package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +0 -33
- package/dist/globalization/labels/table_charts/index.d.ts +0 -1
- package/dist/globalization/labels/table_charts/index.js +0 -1
- package/dist/globalization/service/i18nextBuilder.d.ts +0 -9
- package/dist/globalization/service/i18nextBuilder.js +0 -53
- package/dist/globalization/service/index.d.ts +0 -2
- package/dist/globalization/service/index.js +0 -2
- package/dist/globalization/service/initI18n.d.ts +0 -3
- package/dist/globalization/service/initI18n.js +0 -15
- package/dist/qrvey/interfaces/ICalculationType.js +0 -1
- package/src/charts/constants/AGGREGATE_LABEL.ts +0 -11
- package/src/charts/constants/index.ts +0 -5
- package/src/charts/index.ts +0 -2
- package/src/charts/interfaces/IAggregateAbbreviation.ts +0 -3
- package/src/charts/interfaces/IAggregateInfo.ts +0 -11
- package/src/charts/interfaces/IAggregateLabel.ts +0 -3
- package/src/charts/interfaces/index.ts +0 -4
- package/src/globalization/interfaces/IResourceI18n.ts +0 -16
- package/src/globalization/interfaces/columns/II18nColumn.ts +0 -7
- package/src/globalization/interfaces/columns/index.ts +0 -1
- package/src/globalization/interfaces/common/II18nAgreggateLabels.ts +0 -11
- package/src/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.ts +0 -5
- package/src/globalization/interfaces/common/II18nChartInfoMessagesDefault.ts +0 -8
- package/src/globalization/interfaces/common/II18nChartInfoMessagesTableChart.ts +0 -8
- package/src/globalization/interfaces/common/II18nColumnTypes.ts +0 -42
- package/src/globalization/interfaces/common/II18nCommon.ts +0 -14
- package/src/globalization/interfaces/common/index.ts +0 -8
- package/src/globalization/interfaces/dashboard/II18nDashboard.ts +0 -10
- package/src/globalization/interfaces/dashboard/II18nDashboardAddChart.ts +0 -5
- package/src/globalization/interfaces/dashboard/II18nDashboardTooltips.ts +0 -7
- package/src/globalization/interfaces/dashboard/II18nDashboardViews.ts +0 -6
- package/src/globalization/interfaces/dashboard/index.ts +0 -4
- package/src/globalization/interfaces/filters/II18nFilter.ts +0 -9
- package/src/globalization/interfaces/filters/II18nFilterBuilder.ts +0 -17
- package/src/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.ts +0 -4
- package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.ts +0 -6
- package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.ts +0 -4
- package/src/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.ts +0 -3
- package/src/globalization/interfaces/filters/II18nFilterValidator.ts +0 -23
- package/src/globalization/interfaces/filters/II18nSlidebar.ts +0 -8
- package/src/globalization/interfaces/filters/II18nSlidebarValueContainer.ts +0 -3
- package/src/globalization/interfaces/filters/II18nValueContainer.ts +0 -5
- package/src/globalization/interfaces/filters/II18nValueContainerSearchInput.ts +0 -6
- package/src/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.ts +0 -5
- package/src/globalization/interfaces/filters/index.ts +0 -7
- package/src/globalization/interfaces/index.ts +0 -3
- package/src/globalization/interfaces/panel/II18nPanel.ts +0 -10
- package/src/globalization/interfaces/panel/II18nPanelErrors.ts +0 -9
- package/src/globalization/interfaces/panel/II18nPanelMenu.ts +0 -15
- package/src/globalization/interfaces/panel/II18nPanelTooltips.ts +0 -4
- package/src/globalization/interfaces/panel/index.ts +0 -4
- package/src/globalization/interfaces/table_charts/II18nTableCharts.ts +0 -16
- package/src/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.ts +0 -8
- package/src/globalization/interfaces/table_charts/II18nTableChartsPagination.ts +0 -4
- package/src/globalization/interfaces/table_charts/II18nTableChartsSort.ts +0 -10
- package/src/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.ts +0 -3
- package/src/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.ts +0 -5
- package/src/globalization/interfaces/table_charts/index.ts +0 -6
- package/src/globalization/labels/I18N_DEFAULT.ts +0 -16
- package/src/globalization/labels/columns/I18N_COLUMN.ts +0 -9
- package/src/globalization/labels/columns/index.ts +0 -1
- package/src/globalization/labels/common/I18N_AGGREGATE_LABEL.ts +0 -14
- package/src/globalization/labels/common/I18N_COLUMN_LABEL.ts +0 -43
- package/src/globalization/labels/common/I18N_COMMON.ts +0 -30
- package/src/globalization/labels/common/index.ts +0 -5
- package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +0 -23
- package/src/globalization/labels/dashboard/index.ts +0 -1
- package/src/globalization/labels/filters/I18N_FILTER.ts +0 -10
- package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +0 -26
- package/src/globalization/labels/filters/I18N_FILTER_VALIDATOR.ts +0 -27
- package/src/globalization/labels/filters/I18N_SLIDEBAR.ts +0 -10
- package/src/globalization/labels/filters/index.ts +0 -7
- package/src/globalization/labels/index.ts +0 -8
- package/src/globalization/labels/panel/I18N_PANEL.ts +0 -33
- package/src/globalization/labels/panel/index.ts +0 -1
- package/src/globalization/labels/table_charts/I18N_TABLE_CHARTS.ts +0 -35
- package/src/globalization/labels/table_charts/index.ts +0 -1
- package/src/globalization/service/i18nextBuilder.ts +0 -51
- package/src/globalization/service/index.ts +0 -2
- package/src/globalization/service/initI18n.ts +0 -6
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AGGREGATE_INFO_LIST: import("../interfaces/IAggregateInfo").IAggregateInfo[];
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export var AGGREGATE_LABEL;
|
|
2
|
+
(function (AGGREGATE_LABEL) {
|
|
3
|
+
AGGREGATE_LABEL["NONE"] = "NONE";
|
|
4
|
+
AGGREGATE_LABEL["AVG"] = "AVG";
|
|
5
|
+
AGGREGATE_LABEL["MEDIAN"] = "MEDIAN";
|
|
6
|
+
AGGREGATE_LABEL["MIN"] = "MIN";
|
|
7
|
+
AGGREGATE_LABEL["MAX"] = "MAX";
|
|
8
|
+
AGGREGATE_LABEL["SUM"] = "SUM";
|
|
9
|
+
AGGREGATE_LABEL["STDEV"] = "STDEV";
|
|
10
|
+
AGGREGATE_LABEL["COUNT"] = "COUNT";
|
|
11
|
+
AGGREGATE_LABEL["DISTINCTCOUNT"] = "DISTINCTCOUNT";
|
|
12
|
+
})(AGGREGATE_LABEL || (AGGREGATE_LABEL = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const AGGREGATE_INFO_LIST: import("../interfaces/ICalculationInfo").ICalculationInfo[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CALCULATION } from "./CALCULATION";
|
|
2
2
|
import { CALCULATION_INFO } from "./CALCULATION_INFO";
|
|
3
|
-
export const
|
|
3
|
+
export const AGGREGATE_INFO_LIST = [
|
|
4
4
|
CALCULATION_INFO[CALCULATION.AVG],
|
|
5
5
|
CALCULATION_INFO[CALCULATION.SUM],
|
|
6
6
|
CALCULATION_INFO[CALCULATION.MIN],
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
export * from './AGGREGATE_ABBREVIATION';
|
|
2
|
+
export * from './AGGREGATE_INFO';
|
|
3
|
+
export * from './AGGREGATE_LABEL';
|
|
4
|
+
export * from './AGGREGATE';
|
|
1
5
|
export * from './CALCULATION_ABBREVIATION';
|
|
2
|
-
export * from './CALCULATION_INFO_LIST';
|
|
3
6
|
export * from './CALCULATION_LABEL';
|
|
4
7
|
export * from './CALCULATION';
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
export * from './AGGREGATE_ABBREVIATION';
|
|
2
|
+
export * from './AGGREGATE_INFO';
|
|
3
|
+
export * from './AGGREGATE_LABEL';
|
|
4
|
+
export * from './AGGREGATE';
|
|
1
5
|
export * from './CALCULATION_ABBREVIATION';
|
|
2
|
-
export * from './CALCULATION_INFO_LIST';
|
|
3
6
|
export * from './CALCULATION_LABEL';
|
|
4
7
|
export * from './CALCULATION';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AGGREGATE } from "../constants/AGGREGATE";
|
|
2
|
-
export declare type
|
|
2
|
+
export declare type IAggregate = AGGREGATE;
|
|
File without changes
|
|
File without changes
|
|
@@ -65,7 +65,7 @@ export default class Request {
|
|
|
65
65
|
}
|
|
66
66
|
const timezoneControl = this.getTimezoneControl(reqData.config);
|
|
67
67
|
if (timezoneControl) {
|
|
68
|
-
cfg.headers['q-timezone-control'] = `offset
|
|
68
|
+
cfg.headers['q-timezone-control'] = `offset=<${timezoneControl}>;use-client-offset-only`;
|
|
69
69
|
}
|
|
70
70
|
// AbortSignal (https://developers.google.com/web/updates/2017/09/abortable-fetch)
|
|
71
71
|
if (reqData.config && reqData.config.signal) {
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qrvey/utils",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"description": "Helper, Utils for all Qrvey Projects",
|
|
5
5
|
"homepage": "https://bitbucket.org/qrvey/qrvey_utils/wiki/Home",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "tsc && tsc -m commonjs --outDir dist/cjs",
|
|
9
9
|
"publish": "node prepareToPublish.js && npm login && np",
|
|
10
|
-
"publish-prerelease": "node prepareToPublish.js && npm login && np --any-branch",
|
|
11
10
|
"test": "jest test",
|
|
12
11
|
"test:watch": "jest --watch test",
|
|
13
12
|
"lint": "eslint src --quiet --exit-on-fatal-error --ext .ts,.js",
|
|
@@ -23,16 +22,15 @@
|
|
|
23
22
|
"ts-jest": "27.0.5",
|
|
24
23
|
"typedoc": "0.22.5",
|
|
25
24
|
"typescript": "4.4.4",
|
|
26
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
27
|
-
"@typescript-eslint/parser": "5.
|
|
28
|
-
"eslint": "8.
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "5.0.0",
|
|
26
|
+
"@typescript-eslint/parser": "5.0.0",
|
|
27
|
+
"eslint": "8.0.0"
|
|
29
28
|
},
|
|
30
29
|
"peerDependencies": {
|
|
31
30
|
"np": "^6.2.3"
|
|
32
31
|
},
|
|
33
32
|
"dependencies": {
|
|
34
33
|
"d3": "6.3.1",
|
|
35
|
-
"dayjs": "1.10.7"
|
|
36
|
-
"i18next": "21.4.0"
|
|
34
|
+
"dayjs": "1.10.7"
|
|
37
35
|
}
|
|
38
36
|
}
|
|
@@ -3,40 +3,39 @@ import { COLUMN } from "./COLUMN";
|
|
|
3
3
|
import { IColumnType } from "../interfaces/IColumnType";
|
|
4
4
|
import { IColumnInfo } from "../interfaces/IColumnInfo";
|
|
5
5
|
import { COMPLEX_COLUMN_INFO } from "./COMPLEX_COLUMN_INFO";
|
|
6
|
-
import { COLUMN_LABEL } from "./COLUMN_LABEL";
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* @description Key/array of column property info
|
|
10
9
|
*/
|
|
11
10
|
export const COLUMN_INFO: { [key in IColumnType]: IColumnInfo } = {
|
|
12
|
-
[COLUMN.SINGLE_CHOICE]: { label:
|
|
13
|
-
[COLUMN.MULTIPLE_CHOICE]: { label:
|
|
14
|
-
[COLUMN.RATING]: { label:
|
|
15
|
-
[COLUMN.YES_NO]: { label:
|
|
16
|
-
[COLUMN.RANKING]: { label:
|
|
17
|
-
[COLUMN.DATE]: { label:
|
|
18
|
-
[COLUMN.SLIDEBAR]: { label:
|
|
19
|
-
[COLUMN.SIGNATURE]: { label:
|
|
20
|
-
[COLUMN.DROPDOWN]: { label:
|
|
21
|
-
[COLUMN.NUMERIC]: { label:
|
|
22
|
-
[COLUMN.NUMERICC]: { label:
|
|
23
|
-
[COLUMN.NUMERICP]: { label:
|
|
24
|
-
[COLUMN.NUMERICG]: { label:
|
|
25
|
-
[COLUMN.IMAGE]: { label:
|
|
26
|
-
[COLUMN.EMAIL_FORM]: { label:
|
|
27
|
-
[COLUMN.PHONE]: { label:
|
|
28
|
-
[COLUMN.PASSWORD]: { label:
|
|
29
|
-
[COLUMN.CHECKLIST]: { label:
|
|
30
|
-
[COLUMN.NPS_SCORE]: { label:
|
|
31
|
-
[COLUMN.NPS_FEEDBACK]: { label:
|
|
32
|
-
[COLUMN.TEXT_LABEL]: { label:
|
|
33
|
-
[COLUMN.TEXT_CATEGORY]: { label:
|
|
34
|
-
[COLUMN.LOOKUP]: { label:
|
|
35
|
-
[COLUMN.HEADLINE]: { label:
|
|
36
|
-
[COLUMN.SECTION]: { label:
|
|
37
|
-
[COLUMN.FORMULA]: { label:
|
|
38
|
-
[COLUMN.AGGREGATED_FORMULA]: { label:
|
|
39
|
-
[COLUMN.BUCKET]: { label:
|
|
11
|
+
[COLUMN.SINGLE_CHOICE]: { label: 'Single Choice', shortLabel: 'Single Choice', abbrLabel: 'SC', value: COLUMN.SINGLE_CHOICE, displayed: true },
|
|
12
|
+
[COLUMN.MULTIPLE_CHOICE]: { label: 'Multiple Choice', shortLabel: 'Multiple Choice', abbrLabel: 'MC', value: COLUMN.MULTIPLE_CHOICE, displayed: true },
|
|
13
|
+
[COLUMN.RATING]: { label: 'Rating', shortLabel: 'Rating', abbrLabel: 'RA', value: COLUMN.RATING, displayed: true },
|
|
14
|
+
[COLUMN.YES_NO]: { label: 'Yes No', shortLabel: 'Yes No', abbrLabel: 'YS', value: COLUMN.YES_NO, displayed: true },
|
|
15
|
+
[COLUMN.RANKING]: { label: 'Ranking', shortLabel: 'Ranking', abbrLabel: 'RAN', value: COLUMN.RANKING, displayed: true },
|
|
16
|
+
[COLUMN.DATE]: { label: 'Date', shortLabel: 'Date', abbrLabel: 'DA', value: COLUMN.DATE, displayed: true },
|
|
17
|
+
[COLUMN.SLIDEBAR]: { label: 'Slidebar', shortLabel: 'Slidebar', abbrLabel: 'SB', value: COLUMN.SLIDEBAR, displayed: true },
|
|
18
|
+
[COLUMN.SIGNATURE]: { label: 'Signature', shortLabel: 'Signature', abbrLabel: 'SIGN', value: COLUMN.SIGNATURE, displayed: true },
|
|
19
|
+
[COLUMN.DROPDOWN]: { label: 'Dropdown', shortLabel: 'Dropdown', abbrLabel: 'DD', value: COLUMN.DROPDOWN, displayed: true },
|
|
20
|
+
[COLUMN.NUMERIC]: { label: 'Numeric', shortLabel: 'Numeric', abbrLabel: 'NUM', value: COLUMN.NUMERIC, displayed: true },
|
|
21
|
+
[COLUMN.NUMERICC]: { label: 'Numeric-C', shortLabel: 'Numeric-C', abbrLabel: 'NUMC', value: COLUMN.NUMERICC, displayed: false },
|
|
22
|
+
[COLUMN.NUMERICP]: { label: 'Numeric-P', shortLabel: 'Numeric-P', abbrLabel: 'NUMP', value: COLUMN.NUMERICP, displayed: false },
|
|
23
|
+
[COLUMN.NUMERICG]: { label: 'NUMERIC-G', shortLabel: 'Numeric-G', abbrLabel: 'NUMG', value: COLUMN.NUMERICG, displayed: false },
|
|
24
|
+
[COLUMN.IMAGE]: { label: 'Image', shortLabel: 'Image', abbrLabel: 'IMG', value: COLUMN.IMAGE, displayed: true },
|
|
25
|
+
[COLUMN.EMAIL_FORM]: { label: 'Email Form', shortLabel: 'Email', abbrLabel: 'EML', value: COLUMN.EMAIL_FORM, displayed: true },
|
|
26
|
+
[COLUMN.PHONE]: { label: 'Phone', shortLabel: 'Phone', abbrLabel: 'PHN', value: COLUMN.PHONE, displayed: true },
|
|
27
|
+
[COLUMN.PASSWORD]: { label: 'Password', shortLabel: 'Password', abbrLabel: 'PWD', value: COLUMN.PASSWORD, displayed: true },
|
|
28
|
+
[COLUMN.CHECKLIST]: { label: 'Check List', shortLabel: 'Check List', abbrLabel: 'CL', value: COLUMN.CHECKLIST, displayed: false },
|
|
29
|
+
[COLUMN.NPS_SCORE]: { label: 'NPS Score', shortLabel: 'NPS Score', abbrLabel: 'NPMS', value: COLUMN.NPS_SCORE, displayed: false },
|
|
30
|
+
[COLUMN.NPS_FEEDBACK]: { label: 'NPS Feedback', shortLabel: 'NPS Feedback', abbrLabel: 'NPSFB', value: COLUMN.NPS_FEEDBACK, displayed: false },
|
|
31
|
+
[COLUMN.TEXT_LABEL]: { label: 'Text Label', shortLabel: 'Text Label', abbrLabel: 'TL', value: COLUMN.TEXT_LABEL, displayed: true },
|
|
32
|
+
[COLUMN.TEXT_CATEGORY]: { label: 'Text Category', shortLabel: 'Text Category', abbrLabel: 'TC', value: COLUMN.TEXT_CATEGORY, displayed: true },
|
|
33
|
+
[COLUMN.LOOKUP]: { label: 'Lookup', shortLabel: 'Lookup', abbrLabel: 'LUP', value: COLUMN.LOOKUP, displayed: true },
|
|
34
|
+
[COLUMN.HEADLINE]: { label: 'Headline', shortLabel: 'Headline', abbrLabel: 'HL', value: COLUMN.HEADLINE, displayed: false },
|
|
35
|
+
[COLUMN.SECTION]: { label: 'Section', shortLabel: 'Section', abbrLabel: 'SCN', value: COLUMN.SECTION, displayed: false },
|
|
36
|
+
[COLUMN.FORMULA]: { label: 'Formula', shortLabel: 'Formula', abbrLabel: 'FML', value: COLUMN.FORMULA, displayed: true },
|
|
37
|
+
[COLUMN.AGGREGATED_FORMULA]: { label: 'Aggregated Formula', shortLabel: 'Agg Formula', abbrLabel: 'AF', value: COLUMN.AGGREGATED_FORMULA, displayed: true },
|
|
38
|
+
[COLUMN.BUCKET]: { label: 'Bucket', shortLabel: 'Bucket', abbrLabel: 'BCT', value: COLUMN.BUCKET, displayed: true },
|
|
40
39
|
|
|
41
40
|
...COMPOUND_COLUMN_INFO,
|
|
42
41
|
...COMPLEX_COLUMN_INFO,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IColumnCalculationType } from "
|
|
1
|
+
import { IColumnCalculationType } from "./IColumnCalculationType";
|
|
2
|
+
import { IColumnAggregateType } from "./IColumnAggregateType";
|
|
2
3
|
import { IDataset } from "../../qrvey/interfaces/IDataset";
|
|
3
4
|
import { IColumnPropertyType } from "./IColumnPropertyType";
|
|
4
5
|
import { IColumnSortingSettings } from "./IColumnSortingSettings";
|
|
5
6
|
import { IBColumn } from "./IBColumn";
|
|
6
|
-
import { IAggregateType } from "../../charts/interfaces/IAggregateType";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Structure for columns used in the App frontend side
|
|
10
10
|
*/
|
|
11
11
|
export interface IColumn extends Omit<IBColumn, "text" | "bucketId" | "formulaId"> {
|
|
12
12
|
bucketid?: string;
|
|
13
|
-
aggregate?:
|
|
13
|
+
aggregate?: IColumnAggregateType;
|
|
14
14
|
calculation?: IColumnCalculationType;
|
|
15
15
|
dataset?: IDataset;
|
|
16
16
|
formulaid?: string;
|
|
@@ -93,6 +93,8 @@ function buildExpressions(filterSection: IFUFilter[], scope: IFUScope, dataset:
|
|
|
93
93
|
value: getBackendValues(filter),
|
|
94
94
|
uiExtras: getFilterDetail(filter, scope, dataset),
|
|
95
95
|
};
|
|
96
|
+
expression['enabled'] = expression.value.length > 0 ? filter.enabled : false;
|
|
97
|
+
|
|
96
98
|
expressions.push(expression);
|
|
97
99
|
return expressions;
|
|
98
100
|
}, [] as OLD_IFilterExpression[]);
|
|
@@ -181,8 +181,7 @@ function getRankingExpressions(props: OLD_IFilterDetail): OLD_IFilterExpression[
|
|
|
181
181
|
|
|
182
182
|
function getRegularExpression(props: OLD_IFilterDetail): OLD_IFilterExpression {
|
|
183
183
|
const uiValue = getUIValuess(props);
|
|
184
|
-
|
|
185
|
-
enabled: props.enabled,
|
|
184
|
+
const expression = {
|
|
186
185
|
groupValue: getBackendGroupValue(props as any),
|
|
187
186
|
linkid: props.column.linkid,
|
|
188
187
|
property: getBackendProperty(props as any),
|
|
@@ -197,6 +196,9 @@ function getRegularExpression(props: OLD_IFilterDetail): OLD_IFilterExpression {
|
|
|
197
196
|
uiValue
|
|
198
197
|
}
|
|
199
198
|
};
|
|
199
|
+
expression['enabled'] = expression.value.length > 0 ? props.enabled : false;
|
|
200
|
+
|
|
201
|
+
return expression;
|
|
200
202
|
}
|
|
201
203
|
|
|
202
204
|
// function getGroupValue(props: OLD_IFilterDetail): IFProperty {
|
|
@@ -83,7 +83,7 @@ function getFilterByExpression(expression: OLD_IFilterExpression, scopeItem: OLD
|
|
|
83
83
|
},
|
|
84
84
|
dateSection: uiExtras.dateSection,
|
|
85
85
|
displayed: true,
|
|
86
|
-
enabled:
|
|
86
|
+
enabled: uiExtras.enabled,
|
|
87
87
|
extras: {
|
|
88
88
|
...uiExtras.extras,
|
|
89
89
|
panelid: uiExtras.panelid,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AGGREGATE_ABBREVIATION } from "../../../charts/constants/AGGREGATE_ABBREVIATION";
|
|
2
1
|
import { COMPLEX_COLUMN_PROPERTIES } from "../../../columns/constants/COMPLEX_COLUMN_PROPERTIES";
|
|
3
2
|
import { isComplexColumn } from "../../../columns/helpers/isComplexColumn";
|
|
3
|
+
import { AGGREGATE_ABBREVIATION } from "../../../qrvey/constants/AGGREGATE_ABBREVIATION";
|
|
4
4
|
import { IFUColumn } from "../../interfaces/ui/IFUColumn";
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IResourceI18n } from "../../../globalization/interfaces/IResourceI18n";
|
|
2
1
|
import { IFBLogic } from "../backend/IFBLogic";
|
|
3
2
|
import { IFBUserFilters } from "../backend/IFBUserFilters";
|
|
4
3
|
import { IFSColumn } from "../common/IFSColumn";
|
|
@@ -16,7 +15,6 @@ import { IFilterBuilderSettings } from "./IFilterBuilderSettings";
|
|
|
16
15
|
* Structure for the configuration of the Filter Builder
|
|
17
16
|
*/
|
|
18
17
|
export interface IFilterBuilderConfig {
|
|
19
|
-
i18n?: IResourceI18n; // Globalization object
|
|
20
18
|
datasets?: string[]; // Qrvey IDs for displaying their columns in the colum selector. No qrveyids, the column list is not render
|
|
21
19
|
filterData?: IFSData; // The Filter Data structure
|
|
22
20
|
filterLabel?: string; // A label for the filter. If filterLabel is provided the old filterLabel is replaced by the new one
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IResourceI18n } from "../../../globalization";
|
|
2
1
|
import { IFilterBuilderConfig } from "../builder/IFilterBuilderConfig";
|
|
3
2
|
import { IFUDataStore } from "../ui/IFUDataStore";
|
|
4
3
|
|
|
@@ -7,5 +6,4 @@ import { IFUDataStore } from "../ui/IFUDataStore";
|
|
|
7
6
|
*/
|
|
8
7
|
export interface IFilterPanelConfig extends IFUDataStore {
|
|
9
8
|
filterBuilderConfig?: IFilterBuilderConfig; // Filter Builder config object
|
|
10
|
-
i18n?: IResourceI18n;
|
|
11
9
|
}
|
|
@@ -17,21 +17,22 @@ interface IMergeDeepSettings {
|
|
|
17
17
|
* @param settings Object settings for this function
|
|
18
18
|
* @returns a new merged object
|
|
19
19
|
*/
|
|
20
|
-
export function mergeDeep(obj1: any, obj2: any, settings?: IMergeDeepSettings) {
|
|
20
|
+
export function mergeDeep(obj1: any, obj2: any, settings?: IMergeDeepSettings) { // Our merge function
|
|
21
21
|
settings = getParamsToMergeDeep(settings);
|
|
22
22
|
|
|
23
23
|
if (!isValid(obj1, obj2)) return objectCopy(obj1);
|
|
24
24
|
|
|
25
|
-
const result = {};
|
|
26
|
-
for(const i in obj1){
|
|
25
|
+
const result = {}; // return result
|
|
26
|
+
for(const i in obj1){ // for every property in obj1
|
|
27
27
|
if (i != null && i in obj2 && isObject(obj1[i])){
|
|
28
|
-
result[i] = mergeDeep(obj1[i], obj2[i], settings);
|
|
28
|
+
result[i] = mergeDeep(obj1[i], obj2[i], settings); // if it's an object, merge
|
|
29
29
|
} else {
|
|
30
|
-
result[i] = obj1[i];
|
|
30
|
+
result[i] = obj1[i]; // add it to result
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
for(const i in obj2) {
|
|
34
|
-
if (i != null &&
|
|
33
|
+
for(const i in obj2) { // add the remaining properties from object 2
|
|
34
|
+
if (i != null && !isObject(obj2[i]) && (i in result && settings.mergeExistingValues
|
|
35
|
+
|| !(i in result) && settings.mergeMissingProperties)) { //conflict
|
|
35
36
|
result[i] = obj2[i];
|
|
36
37
|
}
|
|
37
38
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { COLUMN_LABEL } from "../../columns/constants/COLUMN_LABEL";
|
|
2
|
+
import { COLUMN_PROPERTY_LABEL } from "../../columns/constants/COLUMN_PROPERTY_LABEL";
|
|
3
|
+
import { FILTER_DATE_SECTION_LABEL } from "../../filters/constants/common/FILTER_DATE_SECTION_LABEL";
|
|
4
|
+
import { FILTER_VALIDATOR_LABEL } from "../../filters/constants/common/FILTER_VALIDATOR_LABEL";
|
|
5
|
+
import { SLIDEBAR } from "./SLIDEBAR";
|
|
6
|
+
import { VALUES_CONTAINER } from "./VALUES_CONTAINER";
|
|
7
|
+
|
|
8
|
+
export const FILTER_BUILDER = {
|
|
9
|
+
title: 'Filter',
|
|
10
|
+
apply_button: 'Apply',
|
|
11
|
+
cancel_button: 'Cancel',
|
|
12
|
+
column_selector: {
|
|
13
|
+
title: 'Column',
|
|
14
|
+
columnTypes: COLUMN_LABEL,
|
|
15
|
+
},
|
|
16
|
+
date_sections: FILTER_DATE_SECTION_LABEL,
|
|
17
|
+
divider_label: 'Is',
|
|
18
|
+
validator_selector: FILTER_VALIDATOR_LABEL,
|
|
19
|
+
property_selector: COLUMN_PROPERTY_LABEL,
|
|
20
|
+
value_container: VALUES_CONTAINER,
|
|
21
|
+
slidebar: SLIDEBAR,
|
|
22
|
+
selected_values_container: {
|
|
23
|
+
empty_message: 'No values added'
|
|
24
|
+
},
|
|
25
|
+
info_container: {
|
|
26
|
+
info: {
|
|
27
|
+
first: 'OR',
|
|
28
|
+
second: 'logic is used for multiple values.'
|
|
29
|
+
},
|
|
30
|
+
selection: {
|
|
31
|
+
selected: 'selected of',
|
|
32
|
+
loaded: 'loaded',
|
|
33
|
+
},
|
|
34
|
+
}
|
|
35
|
+
};
|
package/src/globalization/{labels/filters/I18N_VALUE_CONTAINER.ts → filters/VALUES_CONTAINER.ts}
RENAMED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export const I18N_VALUE_CONTAINER: II18nValueContainer = {
|
|
1
|
+
export const VALUES_CONTAINER = {
|
|
4
2
|
search_input: {
|
|
5
3
|
placeholder: 'Search or type values separated by commas. Use {{ for tokens.',
|
|
6
4
|
enter_value: {
|
|
@@ -9,4 +7,5 @@ export const I18N_VALUE_CONTAINER: II18nValueContainer = {
|
|
|
9
7
|
third: "to Insert",
|
|
10
8
|
},
|
|
11
9
|
},
|
|
10
|
+
select_all: 'Select All',
|
|
12
11
|
};
|
package/src/index.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { AGGREGATE_ABBREVIATION } from "../qrvey/constants/AGGREGATE_ABBREVIATION";
|
|
2
|
+
import { AGGREGATE_LABEL } from "../qrvey/constants/AGGREGATE_LABEL";
|
|
1
3
|
import { CALCULATION_ABBREVIATION } from "../qrvey/constants/CALCULATION_ABBREVIATION";
|
|
2
4
|
import { CALCULATION_LABEL } from "../qrvey/constants/CALCULATION_LABEL";
|
|
3
5
|
|
|
@@ -26,6 +28,13 @@ import { CALCULATION_LABEL } from "../qrvey/constants/CALCULATION_LABEL";
|
|
|
26
28
|
|
|
27
29
|
// options?: any[];
|
|
28
30
|
// }
|
|
31
|
+
|
|
32
|
+
export interface IColumnAggregate {
|
|
33
|
+
abbreviation: IColumnAggregateAbbreviation;
|
|
34
|
+
id: string;
|
|
35
|
+
label: IColumnAggregateLabel;
|
|
36
|
+
text: string;
|
|
37
|
+
}
|
|
29
38
|
|
|
30
39
|
export interface IColumnCalculation {
|
|
31
40
|
abbreviation: IColumnCalculationAbbreviation;
|
|
@@ -41,5 +50,7 @@ export interface IColumnCalculation {
|
|
|
41
50
|
// showIndicator?: boolean;
|
|
42
51
|
// }
|
|
43
52
|
|
|
53
|
+
export type IColumnAggregateAbbreviation = AGGREGATE_ABBREVIATION;
|
|
54
|
+
export type IColumnAggregateLabel = AGGREGATE_LABEL;
|
|
44
55
|
export type IColumnCalculationLabel = CALCULATION_LABEL;
|
|
45
56
|
export type IColumnCalculationAbbreviation = CALCULATION_ABBREVIATION;
|
package/src/interfaces/index.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { IAggregate } from "../interfaces/IAggregate";
|
|
1
2
|
import { IAggregateInfo } from "../interfaces/IAggregateInfo";
|
|
2
|
-
import { IAggregateType } from "../interfaces/IAggregateType";
|
|
3
3
|
import { AGGREGATE } from "./AGGREGATE";
|
|
4
4
|
import { AGGREGATE_ABBREVIATION } from "./AGGREGATE_ABBREVIATION";
|
|
5
5
|
import { AGGREGATE_LABEL } from "./AGGREGATE_LABEL";
|
|
6
6
|
|
|
7
|
-
export const AGGREGATE_INFO: { [key in
|
|
7
|
+
export const AGGREGATE_INFO: { [key in IAggregate]: IAggregateInfo } = {
|
|
8
8
|
[AGGREGATE.NONE]: { value: AGGREGATE.NONE, displayed: true, label: AGGREGATE_LABEL.NONE, shortLabel: AGGREGATE_LABEL.NONE, abbrLabel: AGGREGATE_ABBREVIATION.NONE },
|
|
9
9
|
[AGGREGATE.AVG]: { value: AGGREGATE.AVG, displayed: true, label: AGGREGATE_LABEL.AVG, shortLabel: AGGREGATE_LABEL.AVG, abbrLabel: AGGREGATE_ABBREVIATION.AVG },
|
|
10
10
|
[AGGREGATE.MEDIAN]: { value: AGGREGATE.MEDIAN, displayed: true, label: AGGREGATE_LABEL.MEDIAN, shortLabel: AGGREGATE_LABEL.MEDIAN, abbrLabel: AGGREGATE_ABBREVIATION.MEDIAN },
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CALCULATION } from "./CALCULATION";
|
|
2
2
|
import { CALCULATION_INFO } from "./CALCULATION_INFO";
|
|
3
3
|
|
|
4
|
-
export const
|
|
4
|
+
export const AGGREGATE_INFO_LIST = [
|
|
5
5
|
CALCULATION_INFO[CALCULATION.AVG],
|
|
6
6
|
CALCULATION_INFO[CALCULATION.SUM],
|
|
7
7
|
CALCULATION_INFO[CALCULATION.MIN],
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
export * from './AGGREGATE_ABBREVIATION';
|
|
2
|
+
export * from './AGGREGATE_INFO';
|
|
3
|
+
export * from './AGGREGATE_LABEL';
|
|
4
|
+
export * from './AGGREGATE';
|
|
1
5
|
export * from './CALCULATION_ABBREVIATION';
|
|
2
|
-
export * from './CALCULATION_INFO_LIST';
|
|
3
6
|
export * from './CALCULATION_LABEL';
|
|
4
7
|
export * from './CALCULATION';
|
|
@@ -67,7 +67,7 @@ export default class Request {
|
|
|
67
67
|
|
|
68
68
|
const timezoneControl = this.getTimezoneControl(reqData.config);
|
|
69
69
|
if (timezoneControl) {
|
|
70
|
-
cfg.headers['q-timezone-control'] = `offset
|
|
70
|
+
cfg.headers['q-timezone-control'] = `offset=<${timezoneControl}>;use-client-offset-only`;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
// AbortSignal (https://developers.google.com/web/updates/2017/09/abortable-fetch)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './getConfig';
|
|
2
|
-
export * from './createRef';
|
|
2
|
+
export * from './createRef';
|