@qrvey/utils 1.2.4-7 → 1.2.6
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 +166 -166
- 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/{qrvey/interfaces/ICalculationType.d.ts → cjs/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/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/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/common/I18N_SLIDEBAR.js → filters/SLIDEBAR.js} +3 -3
- package/dist/cjs/globalization/filters/VALUES_CONTAINER.d.ts +11 -0
- package/dist/cjs/globalization/{labels/common/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/{cjs/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/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/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/common/I18N_SLIDEBAR.js → filters/SLIDEBAR.js} +2 -2
- package/dist/globalization/filters/VALUES_CONTAINER.d.ts +11 -0
- package/dist/globalization/{labels/common/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/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/globalization/filters/FILTER_BUILDER.ts +35 -0
- package/src/globalization/filters/SLIDEBAR.ts +8 -0
- package/src/globalization/{labels/common/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/II18nSlidebar.d.ts +0 -7
- package/dist/cjs/globalization/interfaces/common/II18nSlidebar.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nSlidebarValueContainer.d.ts +0 -3
- package/dist/cjs/globalization/interfaces/common/II18nSlidebarValueContainer.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nValueContainer.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/common/II18nValueContainer.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nValueContainerSearchInput.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/common/II18nValueContainerSearchInput.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/common/II18nValueContainerSearchInputEnterValue.js +0 -2
- package/dist/cjs/globalization/interfaces/common/index.d.ts +0 -11
- package/dist/cjs/globalization/interfaces/common/index.js +0 -23
- 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/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/I18N_SLIDEBAR.d.ts +0 -2
- package/dist/cjs/globalization/labels/common/I18N_VALUE_CONTAINER.d.ts +0 -2
- package/dist/cjs/globalization/labels/common/index.d.ts +0 -4
- package/dist/cjs/globalization/labels/common/index.js +0 -16
- 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 -7
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +0 -2
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -29
- 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/index.d.ts +0 -3
- package/dist/cjs/globalization/labels/filters/index.js +0 -15
- package/dist/cjs/globalization/labels/index.d.ts +0 -6
- package/dist/cjs/globalization/labels/index.js +0 -18
- 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/II18nSlidebar.d.ts +0 -7
- package/dist/globalization/interfaces/common/II18nSlidebar.js +0 -1
- package/dist/globalization/interfaces/common/II18nSlidebarValueContainer.d.ts +0 -3
- package/dist/globalization/interfaces/common/II18nSlidebarValueContainer.js +0 -1
- package/dist/globalization/interfaces/common/II18nValueContainer.d.ts +0 -4
- package/dist/globalization/interfaces/common/II18nValueContainer.js +0 -1
- package/dist/globalization/interfaces/common/II18nValueContainerSearchInput.d.ts +0 -5
- package/dist/globalization/interfaces/common/II18nValueContainerSearchInput.js +0 -1
- package/dist/globalization/interfaces/common/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
- package/dist/globalization/interfaces/common/II18nValueContainerSearchInputEnterValue.js +0 -1
- package/dist/globalization/interfaces/common/index.d.ts +0 -11
- package/dist/globalization/interfaces/common/index.js +0 -11
- 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/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/I18N_SLIDEBAR.d.ts +0 -2
- package/dist/globalization/labels/common/I18N_VALUE_CONTAINER.d.ts +0 -2
- package/dist/globalization/labels/common/index.d.ts +0 -4
- package/dist/globalization/labels/common/index.js +0 -4
- 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 -4
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +0 -2
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -26
- 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/index.d.ts +0 -3
- package/dist/globalization/labels/filters/index.js +0 -3
- package/dist/globalization/labels/index.d.ts +0 -6
- package/dist/globalization/labels/index.js +0 -6
- 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/II18nSlidebar.ts +0 -8
- package/src/globalization/interfaces/common/II18nSlidebarValueContainer.ts +0 -3
- package/src/globalization/interfaces/common/II18nValueContainer.ts +0 -5
- package/src/globalization/interfaces/common/II18nValueContainerSearchInput.ts +0 -6
- package/src/globalization/interfaces/common/II18nValueContainerSearchInputEnterValue.ts +0 -5
- package/src/globalization/interfaces/common/index.ts +0 -13
- 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 -19
- 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/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/I18N_SLIDEBAR.ts +0 -10
- 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 -6
- package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +0 -28
- package/src/globalization/labels/filters/I18N_FILTER_VALIDATOR.ts +0 -27
- package/src/globalization/labels/filters/index.ts +0 -3
- package/src/globalization/labels/index.ts +0 -6
- 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
|
@@ -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[]);
|
|
@@ -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
|
}
|
|
@@ -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/common/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';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const AGGREGATE_INFO_LIST: import("..").IAggregateInfo[];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export var AGGREGATE_LABEL;
|
|
2
|
-
(function (AGGREGATE_LABEL) {
|
|
3
|
-
AGGREGATE_LABEL["NONE"] = "None";
|
|
4
|
-
AGGREGATE_LABEL["AVG"] = "Average";
|
|
5
|
-
AGGREGATE_LABEL["MEDIAN"] = "Median";
|
|
6
|
-
AGGREGATE_LABEL["MIN"] = "Minimum";
|
|
7
|
-
AGGREGATE_LABEL["MAX"] = "Maximum";
|
|
8
|
-
AGGREGATE_LABEL["SUM"] = "Sum";
|
|
9
|
-
AGGREGATE_LABEL["STDEV"] = "Standard deviation";
|
|
10
|
-
AGGREGATE_LABEL["COUNT"] = "Count";
|
|
11
|
-
AGGREGATE_LABEL["DISTINCTCOUNT"] = "Distinct Count";
|
|
12
|
-
})(AGGREGATE_LABEL || (AGGREGATE_LABEL = {}));
|
package/dist/charts/index.d.ts
DELETED
package/dist/charts/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IGeneralInfo } from "../../interfaces/general/IGeneralInfo";
|
|
2
|
-
import { IAggregateAbbreviation } from "./IAggregateAbbreviation";
|
|
3
|
-
import { IAggregateLabel } from "./IAggregateLabel";
|
|
4
|
-
import { IAggregateType } from "./IAggregateType";
|
|
5
|
-
export interface IAggregateInfo extends IGeneralInfo {
|
|
6
|
-
abbrLabel: IAggregateAbbreviation;
|
|
7
|
-
label: IAggregateLabel;
|
|
8
|
-
value: IAggregateType;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const AGGREGATE_INFO_LIST: import("..").IAggregateInfo[];
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AGGREGATE_LABEL = void 0;
|
|
4
|
-
var AGGREGATE_LABEL;
|
|
5
|
-
(function (AGGREGATE_LABEL) {
|
|
6
|
-
AGGREGATE_LABEL["NONE"] = "None";
|
|
7
|
-
AGGREGATE_LABEL["AVG"] = "Average";
|
|
8
|
-
AGGREGATE_LABEL["MEDIAN"] = "Median";
|
|
9
|
-
AGGREGATE_LABEL["MIN"] = "Minimum";
|
|
10
|
-
AGGREGATE_LABEL["MAX"] = "Maximum";
|
|
11
|
-
AGGREGATE_LABEL["SUM"] = "Sum";
|
|
12
|
-
AGGREGATE_LABEL["STDEV"] = "Standard deviation";
|
|
13
|
-
AGGREGATE_LABEL["COUNT"] = "Count";
|
|
14
|
-
AGGREGATE_LABEL["DISTINCTCOUNT"] = "Distinct Count";
|
|
15
|
-
})(AGGREGATE_LABEL = exports.AGGREGATE_LABEL || (exports.AGGREGATE_LABEL = {}));
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./AGGREGATE_ABBREVIATION"), exports);
|
|
14
|
-
__exportStar(require("./AGGREGATE_INFO_LIST"), exports);
|
|
15
|
-
__exportStar(require("./AGGREGATE_INFO"), exports);
|
|
16
|
-
__exportStar(require("./AGGREGATE_LABEL"), exports);
|
|
17
|
-
__exportStar(require("./AGGREGATE"), exports);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IGeneralInfo } from "../../interfaces/general/IGeneralInfo";
|
|
2
|
-
import { IAggregateAbbreviation } from "./IAggregateAbbreviation";
|
|
3
|
-
import { IAggregateLabel } from "./IAggregateLabel";
|
|
4
|
-
import { IAggregateType } from "./IAggregateType";
|
|
5
|
-
export interface IAggregateInfo extends IGeneralInfo {
|
|
6
|
-
abbrLabel: IAggregateAbbreviation;
|
|
7
|
-
label: IAggregateLabel;
|
|
8
|
-
value: IAggregateType;
|
|
9
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./IAggregateAbbreviation"), exports);
|
|
14
|
-
__exportStar(require("./IAggregateInfo"), exports);
|
|
15
|
-
__exportStar(require("./IAggregateLabel"), exports);
|
|
16
|
-
__exportStar(require("./IAggregateType"), exports);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { II18nDashboard } from "./dashboard/II18nDashboard";
|
|
2
|
-
import { II18nFilterBuilder } from "./filters/II18nFilterBuilder";
|
|
3
|
-
import { II18nFilter } from "./filters/II18nFilter";
|
|
4
|
-
import { II18nPanel } from "./panel/II18nPanel";
|
|
5
|
-
import { II18nCommon } from "./common/II18nCommon";
|
|
6
|
-
import { II18nTableCharts } from "./table_charts/II18nTableCharts";
|
|
7
|
-
export interface IResourceI18n {
|
|
8
|
-
dashboard?: II18nDashboard;
|
|
9
|
-
panel?: II18nPanel;
|
|
10
|
-
filter?: II18nFilter;
|
|
11
|
-
filter_builder?: II18nFilterBuilder;
|
|
12
|
-
table_charts?: II18nTableCharts;
|
|
13
|
-
common?: II18nCommon;
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IColumnPropertyType } from "../../../columns/interfaces/IColumnPropertyType";
|
|
2
|
-
import { IColumnType } from "../../../columns/interfaces/IColumnType";
|
|
3
|
-
export interface II18nColumn {
|
|
4
|
-
column_types: {
|
|
5
|
-
[key in IColumnType]: string;
|
|
6
|
-
};
|
|
7
|
-
properties: {
|
|
8
|
-
[key in IColumnPropertyType]: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './II18nColumn';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./II18nColumn"), exports);
|