@qrvey/utils 1.2.4-9 → 1.2.5
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 +373 -373
- 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/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} +5 -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/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/filters/SLIDEBAR.js +8 -0
- 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/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 -6
- package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.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 -11
- package/dist/cjs/globalization/interfaces/filters/index.js +0 -23
- 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 -6
- package/dist/globalization/interfaces/filters/II18nSlidebar.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 -11
- package/dist/globalization/interfaces/filters/index.js +0 -11
- 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_SLIDEBAR.js +0 -6
- 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 -6
- 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 -12
- 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 -8
- 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
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.
|
|
1
|
+
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.5*
|
|
2
2
|
|
|
3
3
|
> Helper, Utils for all Qrvey Projects
|
|
4
4
|
|
|
@@ -1455,6 +1455,62 @@ Gets the last index from the array by a callback condition
|
|
|
1455
1455
|
|
|
1456
1456
|
|
|
1457
1457
|
|
|
1458
|
+
### dist/general/function/debounce.js
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
#### debounce(fn, time)
|
|
1462
|
+
|
|
1463
|
+
Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last time the debounced function was invoked.
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
##### Parameters
|
|
1469
|
+
|
|
1470
|
+
| Name | Type | Description | |
|
|
1471
|
+
| ---- | ---- | ----------- | -------- |
|
|
1472
|
+
| fn | `Function` | original Function | |
|
|
1473
|
+
| time | `Number` | default 500ms | |
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
|
+
|
|
1477
|
+
|
|
1478
|
+
##### Returns
|
|
1479
|
+
|
|
1480
|
+
|
|
1481
|
+
- `Function` debounced functions
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
### dist/general/function/throttled.js
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
#### throttled(fn, time)
|
|
1490
|
+
|
|
1491
|
+
Make sure to only invokes _fn_ at most once per every _time_ milliseconds
|
|
1492
|
+
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
|
|
1496
|
+
##### Parameters
|
|
1497
|
+
|
|
1498
|
+
| Name | Type | Description | |
|
|
1499
|
+
| ---- | ---- | ----------- | -------- |
|
|
1500
|
+
| fn | `Function` | original Function | |
|
|
1501
|
+
| time | `Number` | default 500ms | |
|
|
1502
|
+
|
|
1503
|
+
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
##### Returns
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
- `Function` throttled function
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
|
|
1513
|
+
|
|
1458
1514
|
### dist/general/mix/compareDeep.js
|
|
1459
1515
|
|
|
1460
1516
|
|
|
@@ -1711,62 +1767,6 @@ Gets the length of the given array.
|
|
|
1711
1767
|
|
|
1712
1768
|
|
|
1713
1769
|
|
|
1714
|
-
### dist/general/function/debounce.js
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
#### debounce(fn, time)
|
|
1718
|
-
|
|
1719
|
-
Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last time the debounced function was invoked.
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
##### Parameters
|
|
1725
|
-
|
|
1726
|
-
| Name | Type | Description | |
|
|
1727
|
-
| ---- | ---- | ----------- | -------- |
|
|
1728
|
-
| fn | `Function` | original Function | |
|
|
1729
|
-
| time | `Number` | default 500ms | |
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
##### Returns
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
- `Function` debounced functions
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
### dist/general/function/throttled.js
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
#### throttled(fn, time)
|
|
1746
|
-
|
|
1747
|
-
Make sure to only invokes _fn_ at most once per every _time_ milliseconds
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
##### Parameters
|
|
1753
|
-
|
|
1754
|
-
| Name | Type | Description | |
|
|
1755
|
-
| ---- | ---- | ----------- | -------- |
|
|
1756
|
-
| fn | `Function` | original Function | |
|
|
1757
|
-
| time | `Number` | default 500ms | |
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
##### Returns
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
- `Function` throttled function
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
1770
|
### dist/general/string/capitalize.js
|
|
1771
1771
|
|
|
1772
1772
|
|
|
@@ -2206,6 +2206,33 @@ serialize object to url param
|
|
|
2206
2206
|
|
|
2207
2207
|
|
|
2208
2208
|
|
|
2209
|
+
### dist/qrvey/helpers/getColumnsLabel.js
|
|
2210
|
+
|
|
2211
|
+
|
|
2212
|
+
#### getColumnLabels(column)
|
|
2213
|
+
|
|
2214
|
+
Get an string of the properties of the given column.
|
|
2215
|
+
|
|
2216
|
+
|
|
2217
|
+
|
|
2218
|
+
|
|
2219
|
+
##### Parameters
|
|
2220
|
+
|
|
2221
|
+
| Name | Type | Description | |
|
|
2222
|
+
| ---- | ---- | ----------- | -------- |
|
|
2223
|
+
| column | | The column | |
|
|
2224
|
+
|
|
2225
|
+
|
|
2226
|
+
|
|
2227
|
+
|
|
2228
|
+
##### Returns
|
|
2229
|
+
|
|
2230
|
+
|
|
2231
|
+
- an string with the property, aggregate or calculation label.
|
|
2232
|
+
|
|
2233
|
+
|
|
2234
|
+
|
|
2235
|
+
|
|
2209
2236
|
### dist/services/api/getAllDatasets.api.js
|
|
2210
2237
|
|
|
2211
2238
|
|
|
@@ -2372,33 +2399,6 @@ try to find this string as a variable on Windows object
|
|
|
2372
2399
|
|
|
2373
2400
|
|
|
2374
2401
|
|
|
2375
|
-
### dist/qrvey/helpers/getColumnsLabel.js
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
#### getColumnLabels(column)
|
|
2379
|
-
|
|
2380
|
-
Get an string of the properties of the given column.
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
##### Parameters
|
|
2386
|
-
|
|
2387
|
-
| Name | Type | Description | |
|
|
2388
|
-
| ---- | ---- | ----------- | -------- |
|
|
2389
|
-
| column | | The column | |
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
##### Returns
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
- an string with the property, aggregate or calculation label.
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
2402
|
### dist/typescript/decorators/Debounce.js
|
|
2403
2403
|
|
|
2404
2404
|
|
|
@@ -2535,33 +2535,6 @@ Parses a string date and returns a dayjs date
|
|
|
2535
2535
|
|
|
2536
2536
|
|
|
2537
2537
|
|
|
2538
|
-
### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
#### getFilterBuilderGeneralConfig(config)
|
|
2542
|
-
|
|
2543
|
-
Returns a filter builder config object by a any given config
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
##### Parameters
|
|
2549
|
-
|
|
2550
|
-
| Name | Type | Description | |
|
|
2551
|
-
| ---- | ---- | ----------- | -------- |
|
|
2552
|
-
| config | | any config object | |
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
##### Returns
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
- The filter builder config object
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
2538
|
### dist/filters/helpers/backend/buildExpression.js
|
|
2566
2539
|
|
|
2567
2540
|
|
|
@@ -2858,12 +2831,12 @@ Gets filters from the logic by the scopes hierarchy.
|
|
|
2858
2831
|
|
|
2859
2832
|
|
|
2860
2833
|
|
|
2861
|
-
### dist/filters/helpers/
|
|
2834
|
+
### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
|
|
2862
2835
|
|
|
2863
2836
|
|
|
2864
|
-
####
|
|
2837
|
+
#### getFilterBuilderGeneralConfig(config)
|
|
2865
2838
|
|
|
2866
|
-
|
|
2839
|
+
Returns a filter builder config object by a any given config
|
|
2867
2840
|
|
|
2868
2841
|
|
|
2869
2842
|
|
|
@@ -2872,8 +2845,7 @@ Validates if both filters are the same
|
|
|
2872
2845
|
|
|
2873
2846
|
| Name | Type | Description | |
|
|
2874
2847
|
| ---- | ---- | ----------- | -------- |
|
|
2875
|
-
|
|
|
2876
|
-
| filter2 | | filter 2 | |
|
|
2848
|
+
| config | | any config object | |
|
|
2877
2849
|
|
|
2878
2850
|
|
|
2879
2851
|
|
|
@@ -2881,26 +2853,17 @@ Validates if both filters are the same
|
|
|
2881
2853
|
##### Returns
|
|
2882
2854
|
|
|
2883
2855
|
|
|
2884
|
-
-
|
|
2856
|
+
- The filter builder config object
|
|
2885
2857
|
|
|
2886
2858
|
|
|
2887
2859
|
|
|
2888
2860
|
|
|
2889
|
-
### dist/filters/helpers/
|
|
2861
|
+
### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
|
|
2890
2862
|
|
|
2891
2863
|
|
|
2892
|
-
####
|
|
2864
|
+
#### excludeUIFiltersByAggregate(uFilters)
|
|
2893
2865
|
|
|
2894
|
-
Excludes
|
|
2895
|
-
The validation to filter the stored filter is depending on:
|
|
2896
|
-
- Column
|
|
2897
|
-
- Qrvey ID
|
|
2898
|
-
- Scope type
|
|
2899
|
-
- Scope ID
|
|
2900
|
-
- Panel ID
|
|
2901
|
-
- Validator type
|
|
2902
|
-
- Property type
|
|
2903
|
-
- Enabled flags
|
|
2866
|
+
Excludes Aggregate Filters in the Flattened UI Filters array
|
|
2904
2867
|
|
|
2905
2868
|
|
|
2906
2869
|
|
|
@@ -2909,8 +2872,7 @@ The validation to filter the stored filter is depending on:
|
|
|
2909
2872
|
|
|
2910
2873
|
| Name | Type | Description | |
|
|
2911
2874
|
| ---- | ---- | ----------- | -------- |
|
|
2912
|
-
|
|
|
2913
|
-
| params | | given parameters to validate the filter data | |
|
|
2875
|
+
| uFilters | | Collection of Flat UI Filters | |
|
|
2914
2876
|
|
|
2915
2877
|
|
|
2916
2878
|
|
|
@@ -2918,17 +2880,17 @@ The validation to filter the stored filter is depending on:
|
|
|
2918
2880
|
##### Returns
|
|
2919
2881
|
|
|
2920
2882
|
|
|
2921
|
-
- a new
|
|
2883
|
+
- a new Flat UI Filters that were excluded the aggregate filters
|
|
2922
2884
|
|
|
2923
2885
|
|
|
2924
2886
|
|
|
2925
2887
|
|
|
2926
|
-
### dist/filters/helpers/
|
|
2888
|
+
### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
|
|
2927
2889
|
|
|
2928
2890
|
|
|
2929
|
-
####
|
|
2891
|
+
#### excludeUIFlatFiltersByScopes(uFilters, scopes)
|
|
2930
2892
|
|
|
2931
|
-
Excludes and returns a
|
|
2893
|
+
Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
2932
2894
|
|
|
2933
2895
|
|
|
2934
2896
|
|
|
@@ -2937,8 +2899,8 @@ Excludes and returns a filter data without filters by the given scopes
|
|
|
2937
2899
|
|
|
2938
2900
|
| Name | Type | Description | |
|
|
2939
2901
|
| ---- | ---- | ----------- | -------- |
|
|
2940
|
-
|
|
|
2941
|
-
| scopes | | collection of scopes
|
|
2902
|
+
| uFilters | | The Flatten UI Filters | |
|
|
2903
|
+
| scopes | | collection of scopes types | |
|
|
2942
2904
|
|
|
2943
2905
|
|
|
2944
2906
|
|
|
@@ -2946,17 +2908,17 @@ Excludes and returns a filter data without filters by the given scopes
|
|
|
2946
2908
|
##### Returns
|
|
2947
2909
|
|
|
2948
2910
|
|
|
2949
|
-
- The new
|
|
2911
|
+
- The new array of UI Flattened filters
|
|
2950
2912
|
|
|
2951
2913
|
|
|
2952
2914
|
|
|
2953
2915
|
|
|
2954
|
-
### dist/filters/helpers/
|
|
2916
|
+
### dist/filters/helpers/ui/getFilterPropertyLabel.js
|
|
2955
2917
|
|
|
2956
2918
|
|
|
2957
|
-
####
|
|
2919
|
+
#### getFilterPropertyLabel(filter)
|
|
2958
2920
|
|
|
2959
|
-
Gets the
|
|
2921
|
+
Gets the label of the filter property
|
|
2960
2922
|
|
|
2961
2923
|
|
|
2962
2924
|
|
|
@@ -2965,7 +2927,7 @@ Gets the Filter Label + Column label
|
|
|
2965
2927
|
|
|
2966
2928
|
| Name | Type | Description | |
|
|
2967
2929
|
| ---- | ---- | ----------- | -------- |
|
|
2968
|
-
| filter | |
|
|
2930
|
+
| filter | | The UI Filter | |
|
|
2969
2931
|
|
|
2970
2932
|
|
|
2971
2933
|
|
|
@@ -2973,28 +2935,17 @@ Gets the Filter Label + Column label
|
|
|
2973
2935
|
##### Returns
|
|
2974
2936
|
|
|
2975
2937
|
|
|
2976
|
-
- a
|
|
2938
|
+
- a string of the filter property label
|
|
2977
2939
|
|
|
2978
2940
|
|
|
2979
2941
|
|
|
2980
2942
|
|
|
2981
|
-
### dist/filters/helpers/
|
|
2943
|
+
### dist/filters/helpers/ui/getOutputFormatByColumn.js
|
|
2982
2944
|
|
|
2983
2945
|
|
|
2984
|
-
####
|
|
2946
|
+
#### getOutputFormatByColumn(column, datasets)
|
|
2985
2947
|
|
|
2986
|
-
|
|
2987
|
-
The order of the epression ID is:
|
|
2988
|
-
- Scope Type
|
|
2989
|
-
- scopeid
|
|
2990
|
-
- qrveyid
|
|
2991
|
-
- panelid
|
|
2992
|
-
- columnid
|
|
2993
|
-
- validator
|
|
2994
|
-
- property
|
|
2995
|
-
- Column Aggregate
|
|
2996
|
-
- Column Calculation
|
|
2997
|
-
- Optional Index
|
|
2948
|
+
Gets output format object from Datasets by the given column. Item of the datasets array must have outputformat item in order to be returned
|
|
2998
2949
|
|
|
2999
2950
|
|
|
3000
2951
|
|
|
@@ -3003,7 +2954,8 @@ The order of the epression ID is:
|
|
|
3003
2954
|
|
|
3004
2955
|
| Name | Type | Description | |
|
|
3005
2956
|
| ---- | ---- | ----------- | -------- |
|
|
3006
|
-
|
|
|
2957
|
+
| column | | The column | |
|
|
2958
|
+
| datasets | | array of datasets | |
|
|
3007
2959
|
|
|
3008
2960
|
|
|
3009
2961
|
|
|
@@ -3011,47 +2963,48 @@ The order of the epression ID is:
|
|
|
3011
2963
|
##### Returns
|
|
3012
2964
|
|
|
3013
2965
|
|
|
3014
|
-
-
|
|
3015
|
-
|
|
2966
|
+
- The output format object
|
|
3016
2967
|
|
|
3017
2968
|
|
|
3018
2969
|
|
|
3019
|
-
### dist/filters/helpers/common/getFiltersByAggregateColumn.js
|
|
3020
2970
|
|
|
2971
|
+
### dist/filters/helpers/ui/getUIFlatFilterByParams.js
|
|
3021
2972
|
|
|
3022
|
-
#### getFiltersByAggregateColumn(filterData)
|
|
3023
2973
|
|
|
3024
|
-
|
|
2974
|
+
#### getUIFlatFilterByParams()
|
|
3025
2975
|
|
|
2976
|
+
Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
|
|
2977
|
+
The validation to filter the stored filter is depending on:
|
|
2978
|
+
- Column
|
|
2979
|
+
- Qrvey ID,
|
|
2980
|
+
- Scope type
|
|
2981
|
+
- Scope ID
|
|
2982
|
+
- Panel ID
|
|
2983
|
+
- Validator type
|
|
2984
|
+
- Property type
|
|
3026
2985
|
|
|
3027
2986
|
|
|
3028
2987
|
|
|
3029
|
-
##### Parameters
|
|
3030
|
-
|
|
3031
|
-
| Name | Type | Description | |
|
|
3032
|
-
| ---- | ---- | ----------- | -------- |
|
|
3033
|
-
| filterData | | The filter data object | |
|
|
3034
|
-
|
|
3035
2988
|
|
|
3036
2989
|
|
|
3037
2990
|
|
|
3038
2991
|
##### Returns
|
|
3039
2992
|
|
|
3040
2993
|
|
|
3041
|
-
- The
|
|
2994
|
+
- The index of the uFilter array or the Filter object s
|
|
3042
2995
|
|
|
3043
2996
|
|
|
3044
2997
|
|
|
3045
2998
|
|
|
3046
|
-
### dist/filters/helpers/
|
|
2999
|
+
### dist/filters/helpers/ui/getUIFlatFiltersByParams.js
|
|
3047
3000
|
|
|
3048
3001
|
|
|
3049
|
-
####
|
|
3002
|
+
#### getUIFlatFiltersByParams()
|
|
3050
3003
|
|
|
3051
|
-
Gets
|
|
3004
|
+
Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
|
|
3052
3005
|
The validation to filter the stored filter is depending on:
|
|
3053
3006
|
- Column
|
|
3054
|
-
- Qrvey ID
|
|
3007
|
+
- Qrvey ID,
|
|
3055
3008
|
- Scope type
|
|
3056
3009
|
- Scope ID
|
|
3057
3010
|
- Panel ID
|
|
@@ -3062,30 +3015,22 @@ The validation to filter the stored filter is depending on:
|
|
|
3062
3015
|
|
|
3063
3016
|
|
|
3064
3017
|
|
|
3065
|
-
##### Parameters
|
|
3066
|
-
|
|
3067
|
-
| Name | Type | Description | |
|
|
3068
|
-
| ---- | ---- | ----------- | -------- |
|
|
3069
|
-
| filterData | | The Filter Data or the UI Filter Data | |
|
|
3070
|
-
| params | | given parameters to validate the dataset | |
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
3018
|
|
|
3074
3019
|
|
|
3075
3020
|
##### Returns
|
|
3076
3021
|
|
|
3077
3022
|
|
|
3078
|
-
-
|
|
3023
|
+
- The index of the uFilter array or the Filter object s
|
|
3079
3024
|
|
|
3080
3025
|
|
|
3081
3026
|
|
|
3082
3027
|
|
|
3083
|
-
### dist/filters/helpers/
|
|
3028
|
+
### dist/filters/helpers/ui/getUIFlatFiltersByScopes.js
|
|
3084
3029
|
|
|
3085
3030
|
|
|
3086
|
-
####
|
|
3031
|
+
#### getUIFlatFiltersByScopes(uFilters, scopes)
|
|
3087
3032
|
|
|
3088
|
-
Filters and gets a
|
|
3033
|
+
Filters and gets a UI Flatten Filters by the given scopes
|
|
3089
3034
|
|
|
3090
3035
|
|
|
3091
3036
|
|
|
@@ -3094,7 +3039,7 @@ Filters and gets a Filter Data by the given scopes
|
|
|
3094
3039
|
|
|
3095
3040
|
| Name | Type | Description | |
|
|
3096
3041
|
| ---- | ---- | ----------- | -------- |
|
|
3097
|
-
|
|
|
3042
|
+
| uFilters | | The Flatten UI Filters | |
|
|
3098
3043
|
| scopes | | collection of scopes types | |
|
|
3099
3044
|
|
|
3100
3045
|
|
|
@@ -3103,17 +3048,17 @@ Filters and gets a Filter Data by the given scopes
|
|
|
3103
3048
|
##### Returns
|
|
3104
3049
|
|
|
3105
3050
|
|
|
3106
|
-
- The new
|
|
3051
|
+
- The new array of UI Flattened filters
|
|
3107
3052
|
|
|
3108
3053
|
|
|
3109
3054
|
|
|
3110
3055
|
|
|
3111
|
-
### dist/filters/helpers/
|
|
3056
|
+
### dist/filters/helpers/ui/getUIValues.js
|
|
3112
3057
|
|
|
3113
3058
|
|
|
3114
|
-
####
|
|
3059
|
+
#### getUIValues(filter, addEnableds, rankingGroupIndex)
|
|
3060
|
+
|
|
3115
3061
|
|
|
3116
|
-
Gets filters from Filter Data by Scopes/Scope IDs.
|
|
3117
3062
|
|
|
3118
3063
|
|
|
3119
3064
|
|
|
@@ -3122,8 +3067,9 @@ Gets filters from Filter Data by Scopes/Scope IDs.
|
|
|
3122
3067
|
|
|
3123
3068
|
| Name | Type | Description | |
|
|
3124
3069
|
| ---- | ---- | ----------- | -------- |
|
|
3125
|
-
|
|
|
3126
|
-
|
|
|
3070
|
+
| filter | | | |
|
|
3071
|
+
| addEnableds | | | |
|
|
3072
|
+
| rankingGroupIndex | | | |
|
|
3127
3073
|
|
|
3128
3074
|
|
|
3129
3075
|
|
|
@@ -3131,17 +3077,17 @@ Gets filters from Filter Data by Scopes/Scope IDs.
|
|
|
3131
3077
|
##### Returns
|
|
3132
3078
|
|
|
3133
3079
|
|
|
3134
|
-
-
|
|
3080
|
+
-
|
|
3135
3081
|
|
|
3136
3082
|
|
|
3137
3083
|
|
|
3138
3084
|
|
|
3139
|
-
### dist/filters/helpers/
|
|
3085
|
+
### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
|
|
3140
3086
|
|
|
3141
3087
|
|
|
3142
|
-
####
|
|
3088
|
+
#### resolveUIFlatFilterByParams(filter, params)
|
|
3143
3089
|
|
|
3144
|
-
|
|
3090
|
+
Resolves conditions between UI flattened filter and given parameters
|
|
3145
3091
|
|
|
3146
3092
|
|
|
3147
3093
|
|
|
@@ -3150,8 +3096,8 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
|
|
|
3150
3096
|
|
|
3151
3097
|
| Name | Type | Description | |
|
|
3152
3098
|
| ---- | ---- | ----------- | -------- |
|
|
3153
|
-
|
|
|
3154
|
-
|
|
|
3099
|
+
| filter | | UI Flatten Filter | |
|
|
3100
|
+
| params | | Parameters to validate | |
|
|
3155
3101
|
|
|
3156
3102
|
|
|
3157
3103
|
|
|
@@ -3159,17 +3105,17 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
|
|
|
3159
3105
|
##### Returns
|
|
3160
3106
|
|
|
3161
3107
|
|
|
3162
|
-
-
|
|
3108
|
+
- true: the conditions are satisfied.
|
|
3163
3109
|
|
|
3164
3110
|
|
|
3165
3111
|
|
|
3166
3112
|
|
|
3167
|
-
### dist/filters/helpers/common/
|
|
3113
|
+
### dist/filters/helpers/common/areFiltersEquals.js
|
|
3168
3114
|
|
|
3169
3115
|
|
|
3170
|
-
####
|
|
3116
|
+
#### areFiltersEquals(filter1, filter2)
|
|
3171
3117
|
|
|
3172
|
-
|
|
3118
|
+
Validates if both filters are the same
|
|
3173
3119
|
|
|
3174
3120
|
|
|
3175
3121
|
|
|
@@ -3178,7 +3124,8 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
|
|
|
3178
3124
|
|
|
3179
3125
|
| Name | Type | Description | |
|
|
3180
3126
|
| ---- | ---- | ----------- | -------- |
|
|
3181
|
-
|
|
|
3127
|
+
| filter1 | | filter 1 | |
|
|
3128
|
+
| filter2 | | filter 2 | |
|
|
3182
3129
|
|
|
3183
3130
|
|
|
3184
3131
|
|
|
@@ -3186,7 +3133,7 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
|
|
|
3186
3133
|
##### Returns
|
|
3187
3134
|
|
|
3188
3135
|
|
|
3189
|
-
-
|
|
3136
|
+
- true: the filters are equal; false: the filters are NOT equal
|
|
3190
3137
|
|
|
3191
3138
|
|
|
3192
3139
|
|
|
@@ -3218,12 +3165,21 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
|
|
|
3218
3165
|
|
|
3219
3166
|
|
|
3220
3167
|
|
|
3221
|
-
### dist/filters/helpers/common/
|
|
3168
|
+
### dist/filters/helpers/common/excludeFiltersByParams.js
|
|
3222
3169
|
|
|
3223
3170
|
|
|
3224
|
-
####
|
|
3171
|
+
#### excludeFiltersByParams(filterData, params)
|
|
3225
3172
|
|
|
3226
|
-
|
|
3173
|
+
Excludes filters from the given Filters.
|
|
3174
|
+
The validation to filter the stored filter is depending on:
|
|
3175
|
+
- Column
|
|
3176
|
+
- Qrvey ID
|
|
3177
|
+
- Scope type
|
|
3178
|
+
- Scope ID
|
|
3179
|
+
- Panel ID
|
|
3180
|
+
- Validator type
|
|
3181
|
+
- Property type
|
|
3182
|
+
- Enabled flags
|
|
3227
3183
|
|
|
3228
3184
|
|
|
3229
3185
|
|
|
@@ -3232,7 +3188,8 @@ Get an string of the properties of the given filter column.
|
|
|
3232
3188
|
|
|
3233
3189
|
| Name | Type | Description | |
|
|
3234
3190
|
| ---- | ---- | ----------- | -------- |
|
|
3235
|
-
|
|
|
3191
|
+
| filterData | | The Filter Data or the UI Filter Data | |
|
|
3192
|
+
| params | | given parameters to validate the filter data | |
|
|
3236
3193
|
|
|
3237
3194
|
|
|
3238
3195
|
|
|
@@ -3240,17 +3197,17 @@ Get an string of the properties of the given filter column.
|
|
|
3240
3197
|
##### Returns
|
|
3241
3198
|
|
|
3242
3199
|
|
|
3243
|
-
-
|
|
3200
|
+
- a new Filter object structure
|
|
3244
3201
|
|
|
3245
3202
|
|
|
3246
3203
|
|
|
3247
3204
|
|
|
3248
|
-
### dist/filters/helpers/common/
|
|
3205
|
+
### dist/filters/helpers/common/excludeFiltersByScopes.js
|
|
3249
3206
|
|
|
3250
3207
|
|
|
3251
|
-
####
|
|
3208
|
+
#### excludeFiltersByScopes(filterData, scopes)
|
|
3252
3209
|
|
|
3253
|
-
|
|
3210
|
+
Excludes and returns a filter data without filters by the given scopes
|
|
3254
3211
|
|
|
3255
3212
|
|
|
3256
3213
|
|
|
@@ -3259,7 +3216,8 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
|
|
|
3259
3216
|
|
|
3260
3217
|
| Name | Type | Description | |
|
|
3261
3218
|
| ---- | ---- | ----------- | -------- |
|
|
3262
|
-
|
|
|
3219
|
+
| filterData | | The Filter Data | |
|
|
3220
|
+
| scopes | | collection of scopes to be as filtering parameters | |
|
|
3263
3221
|
|
|
3264
3222
|
|
|
3265
3223
|
|
|
@@ -3267,17 +3225,17 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
|
|
|
3267
3225
|
##### Returns
|
|
3268
3226
|
|
|
3269
3227
|
|
|
3270
|
-
-
|
|
3228
|
+
- The new Filter Data without filters by the given scopes.
|
|
3271
3229
|
|
|
3272
3230
|
|
|
3273
3231
|
|
|
3274
3232
|
|
|
3275
|
-
### dist/filters/helpers/common/
|
|
3233
|
+
### dist/filters/helpers/common/getFilterColumnLabel.js
|
|
3276
3234
|
|
|
3277
3235
|
|
|
3278
|
-
####
|
|
3236
|
+
#### getFilterColumnLabel(column)
|
|
3279
3237
|
|
|
3280
|
-
|
|
3238
|
+
Get an string of the properties of the given filter column.
|
|
3281
3239
|
|
|
3282
3240
|
|
|
3283
3241
|
|
|
@@ -3286,8 +3244,7 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
|
|
|
3286
3244
|
|
|
3287
3245
|
| Name | Type | Description | |
|
|
3288
3246
|
| ---- | ---- | ----------- | -------- |
|
|
3289
|
-
|
|
|
3290
|
-
| qrveyid | | The Qrvey ID | |
|
|
3247
|
+
| column | | The filter column | |
|
|
3291
3248
|
|
|
3292
3249
|
|
|
3293
3250
|
|
|
@@ -3295,17 +3252,17 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
|
|
|
3295
3252
|
##### Returns
|
|
3296
3253
|
|
|
3297
3254
|
|
|
3298
|
-
-
|
|
3255
|
+
- an string with the property, aggregate or calculation label.
|
|
3299
3256
|
|
|
3300
3257
|
|
|
3301
3258
|
|
|
3302
3259
|
|
|
3303
|
-
### dist/filters/helpers/common/
|
|
3260
|
+
### dist/filters/helpers/common/getFilterLabel.js
|
|
3304
3261
|
|
|
3305
3262
|
|
|
3306
|
-
####
|
|
3263
|
+
#### getFilterLabel(filter)
|
|
3307
3264
|
|
|
3308
|
-
|
|
3265
|
+
Gets the Filter Label + Column label
|
|
3309
3266
|
|
|
3310
3267
|
|
|
3311
3268
|
|
|
@@ -3314,7 +3271,7 @@ Validates if the given validator is a Between type
|
|
|
3314
3271
|
|
|
3315
3272
|
| Name | Type | Description | |
|
|
3316
3273
|
| ---- | ---- | ----------- | -------- |
|
|
3317
|
-
|
|
|
3274
|
+
| filter | | the UI filter | |
|
|
3318
3275
|
|
|
3319
3276
|
|
|
3320
3277
|
|
|
@@ -3322,17 +3279,28 @@ Validates if the given validator is a Between type
|
|
|
3322
3279
|
##### Returns
|
|
3323
3280
|
|
|
3324
3281
|
|
|
3325
|
-
-
|
|
3282
|
+
- a sring label
|
|
3326
3283
|
|
|
3327
3284
|
|
|
3328
3285
|
|
|
3329
3286
|
|
|
3330
|
-
### dist/filters/helpers/common/
|
|
3287
|
+
### dist/filters/helpers/common/getFilterid.js
|
|
3331
3288
|
|
|
3332
3289
|
|
|
3333
|
-
####
|
|
3290
|
+
#### getFilterid(filter)
|
|
3334
3291
|
|
|
3335
|
-
|
|
3292
|
+
Get the Filter ID by the filter structure
|
|
3293
|
+
The order of the epression ID is:
|
|
3294
|
+
- Scope Type
|
|
3295
|
+
- scopeid
|
|
3296
|
+
- qrveyid
|
|
3297
|
+
- panelid
|
|
3298
|
+
- columnid
|
|
3299
|
+
- validator
|
|
3300
|
+
- property
|
|
3301
|
+
- Column Aggregate
|
|
3302
|
+
- Column Calculation
|
|
3303
|
+
- Optional Index
|
|
3336
3304
|
|
|
3337
3305
|
|
|
3338
3306
|
|
|
@@ -3341,8 +3309,7 @@ Determines if the filter column and property is a distinct group dates type
|
|
|
3341
3309
|
|
|
3342
3310
|
| Name | Type | Description | |
|
|
3343
3311
|
| ---- | ---- | ----------- | -------- |
|
|
3344
|
-
|
|
|
3345
|
-
| property | | The filter property | |
|
|
3312
|
+
| filter | | the filter structure | |
|
|
3346
3313
|
|
|
3347
3314
|
|
|
3348
3315
|
|
|
@@ -3350,17 +3317,17 @@ Determines if the filter column and property is a distinct group dates type
|
|
|
3350
3317
|
##### Returns
|
|
3351
3318
|
|
|
3352
3319
|
|
|
3353
|
-
-
|
|
3320
|
+
- a text to identify the filter
|
|
3354
3321
|
|
|
3355
3322
|
|
|
3356
3323
|
|
|
3357
3324
|
|
|
3358
|
-
### dist/filters/helpers/common/
|
|
3325
|
+
### dist/filters/helpers/common/getFiltersByAggregateColumn.js
|
|
3359
3326
|
|
|
3360
3327
|
|
|
3361
|
-
####
|
|
3328
|
+
#### getFiltersByAggregateColumn(filterData)
|
|
3362
3329
|
|
|
3363
|
-
|
|
3330
|
+
Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
|
|
3364
3331
|
|
|
3365
3332
|
|
|
3366
3333
|
|
|
@@ -3369,7 +3336,7 @@ Validates if the given validator is a In type
|
|
|
3369
3336
|
|
|
3370
3337
|
| Name | Type | Description | |
|
|
3371
3338
|
| ---- | ---- | ----------- | -------- |
|
|
3372
|
-
|
|
|
3339
|
+
| filterData | | The filter data object | |
|
|
3373
3340
|
|
|
3374
3341
|
|
|
3375
3342
|
|
|
@@ -3377,17 +3344,26 @@ Validates if the given validator is a In type
|
|
|
3377
3344
|
##### Returns
|
|
3378
3345
|
|
|
3379
3346
|
|
|
3380
|
-
-
|
|
3347
|
+
- The new filter data object that were get the aggregate filters
|
|
3381
3348
|
|
|
3382
3349
|
|
|
3383
3350
|
|
|
3384
3351
|
|
|
3385
|
-
### dist/filters/helpers/common/
|
|
3352
|
+
### dist/filters/helpers/common/getFiltersByParams.js
|
|
3386
3353
|
|
|
3387
3354
|
|
|
3388
|
-
####
|
|
3355
|
+
#### getFiltersByParams(filterData, params)
|
|
3389
3356
|
|
|
3390
|
-
|
|
3357
|
+
Gets filters from the given params.
|
|
3358
|
+
The validation to filter the stored filter is depending on:
|
|
3359
|
+
- Column
|
|
3360
|
+
- Qrvey ID
|
|
3361
|
+
- Scope type
|
|
3362
|
+
- Scope ID
|
|
3363
|
+
- Panel ID
|
|
3364
|
+
- Validator type
|
|
3365
|
+
- Property type
|
|
3366
|
+
- Enabled flags
|
|
3391
3367
|
|
|
3392
3368
|
|
|
3393
3369
|
|
|
@@ -3396,7 +3372,8 @@ Validates if the given validator is a Range type. Range type means the value has
|
|
|
3396
3372
|
|
|
3397
3373
|
| Name | Type | Description | |
|
|
3398
3374
|
| ---- | ---- | ----------- | -------- |
|
|
3399
|
-
|
|
|
3375
|
+
| filterData | | The Filter Data or the UI Filter Data | |
|
|
3376
|
+
| params | | given parameters to validate the dataset | |
|
|
3400
3377
|
|
|
3401
3378
|
|
|
3402
3379
|
|
|
@@ -3404,17 +3381,17 @@ Validates if the given validator is a Range type. Range type means the value has
|
|
|
3404
3381
|
##### Returns
|
|
3405
3382
|
|
|
3406
3383
|
|
|
3407
|
-
-
|
|
3384
|
+
- a new Filter object structure
|
|
3408
3385
|
|
|
3409
3386
|
|
|
3410
3387
|
|
|
3411
3388
|
|
|
3412
|
-
### dist/filters/helpers/common/
|
|
3389
|
+
### dist/filters/helpers/common/getFiltersByScopes.js
|
|
3413
3390
|
|
|
3414
3391
|
|
|
3415
|
-
####
|
|
3392
|
+
#### getFiltersByScopes(filterData, scopes)
|
|
3416
3393
|
|
|
3417
|
-
|
|
3394
|
+
Filters and gets a Filter Data by the given scopes
|
|
3418
3395
|
|
|
3419
3396
|
|
|
3420
3397
|
|
|
@@ -3423,7 +3400,8 @@ Validates if the given validator is a regular type. Regular type means the filte
|
|
|
3423
3400
|
|
|
3424
3401
|
| Name | Type | Description | |
|
|
3425
3402
|
| ---- | ---- | ----------- | -------- |
|
|
3426
|
-
|
|
|
3403
|
+
| filterData | | The Filter Data | |
|
|
3404
|
+
| scopes | | collection of scopes types | |
|
|
3427
3405
|
|
|
3428
3406
|
|
|
3429
3407
|
|
|
@@ -3431,17 +3409,17 @@ Validates if the given validator is a regular type. Regular type means the filte
|
|
|
3431
3409
|
##### Returns
|
|
3432
3410
|
|
|
3433
3411
|
|
|
3434
|
-
-
|
|
3412
|
+
- The new Filter Data
|
|
3435
3413
|
|
|
3436
3414
|
|
|
3437
3415
|
|
|
3438
3416
|
|
|
3439
|
-
### dist/filters/helpers/common/
|
|
3417
|
+
### dist/filters/helpers/common/getFiltersByScopesIds.js
|
|
3440
3418
|
|
|
3441
3419
|
|
|
3442
|
-
####
|
|
3420
|
+
#### getFiltersByScopesIds(filterData, scopes)
|
|
3443
3421
|
|
|
3444
|
-
|
|
3422
|
+
Gets filters from Filter Data by Scopes/Scope IDs.
|
|
3445
3423
|
|
|
3446
3424
|
|
|
3447
3425
|
|
|
@@ -3450,7 +3428,8 @@ Checks if the given validator is a Null type.
|
|
|
3450
3428
|
|
|
3451
3429
|
| Name | Type | Description | |
|
|
3452
3430
|
| ---- | ---- | ----------- | -------- |
|
|
3453
|
-
|
|
|
3431
|
+
| filterData | | The filter data | |
|
|
3432
|
+
| scopes | | The collection of Scopes/Scope IDs | |
|
|
3454
3433
|
|
|
3455
3434
|
|
|
3456
3435
|
|
|
@@ -3458,17 +3437,17 @@ Checks if the given validator is a Null type.
|
|
|
3458
3437
|
##### Returns
|
|
3459
3438
|
|
|
3460
3439
|
|
|
3461
|
-
-
|
|
3440
|
+
- a new Filter Data
|
|
3462
3441
|
|
|
3463
3442
|
|
|
3464
3443
|
|
|
3465
3444
|
|
|
3466
|
-
### dist/filters/helpers/common/
|
|
3445
|
+
### dist/filters/helpers/common/getFiltersByVisibility.js
|
|
3467
3446
|
|
|
3468
3447
|
|
|
3469
|
-
####
|
|
3448
|
+
#### getFiltersByVisibility(filterData, scopes)
|
|
3470
3449
|
|
|
3471
|
-
|
|
3450
|
+
Get a new Filter Data by filtering scopes/scope IDs and enabled flags
|
|
3472
3451
|
|
|
3473
3452
|
|
|
3474
3453
|
|
|
@@ -3477,10 +3456,8 @@ Resolves the conditions by given params
|
|
|
3477
3456
|
|
|
3478
3457
|
| Name | Type | Description | |
|
|
3479
3458
|
| ---- | ---- | ----------- | -------- |
|
|
3480
|
-
|
|
|
3481
|
-
|
|
|
3482
|
-
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
3483
|
-
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
3459
|
+
| filterData | | a Filter Data or UI Filter Data | |
|
|
3460
|
+
| scopes | | a Scopes/Scope IDs array | |
|
|
3484
3461
|
|
|
3485
3462
|
|
|
3486
3463
|
|
|
@@ -3488,17 +3465,17 @@ Resolves the conditions by given params
|
|
|
3488
3465
|
##### Returns
|
|
3489
3466
|
|
|
3490
3467
|
|
|
3491
|
-
-
|
|
3468
|
+
- a new Filter Data
|
|
3492
3469
|
|
|
3493
3470
|
|
|
3494
3471
|
|
|
3495
3472
|
|
|
3496
|
-
### dist/filters/helpers/common/
|
|
3473
|
+
### dist/filters/helpers/common/getMergeFiltersSettings.js
|
|
3497
3474
|
|
|
3498
3475
|
|
|
3499
|
-
####
|
|
3476
|
+
#### getMergeFiltersSettings(settings)
|
|
3500
3477
|
|
|
3501
|
-
|
|
3478
|
+
Transforms the given MergeFilters settings object. Adds the missing properties if they do not exist.
|
|
3502
3479
|
|
|
3503
3480
|
|
|
3504
3481
|
|
|
@@ -3507,10 +3484,7 @@ Resolves the conditions by given params
|
|
|
3507
3484
|
|
|
3508
3485
|
| Name | Type | Description | |
|
|
3509
3486
|
| ---- | ---- | ----------- | -------- |
|
|
3510
|
-
|
|
|
3511
|
-
| params | | given parameters to validate the filter | |
|
|
3512
|
-
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
3513
|
-
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
3487
|
+
| settings | | an object to the MergeFilters settings | |
|
|
3514
3488
|
|
|
3515
3489
|
|
|
3516
3490
|
|
|
@@ -3518,17 +3492,17 @@ Resolves the conditions by given params
|
|
|
3518
3492
|
##### Returns
|
|
3519
3493
|
|
|
3520
3494
|
|
|
3521
|
-
-
|
|
3495
|
+
- a new MergeFilters settings object.
|
|
3522
3496
|
|
|
3523
3497
|
|
|
3524
3498
|
|
|
3525
3499
|
|
|
3526
|
-
### dist/filters/helpers/common/
|
|
3500
|
+
### dist/filters/helpers/common/getParamsToGetFilterSettings.js
|
|
3527
3501
|
|
|
3528
3502
|
|
|
3529
|
-
####
|
|
3503
|
+
#### getParamsToGetFilterSettings(settings)
|
|
3530
3504
|
|
|
3531
|
-
|
|
3505
|
+
Transforms the given ParamsToGetFilter settings object. Adds the missing properties if they do not exist.
|
|
3532
3506
|
|
|
3533
3507
|
|
|
3534
3508
|
|
|
@@ -3537,10 +3511,7 @@ Resolves the conditions by given params
|
|
|
3537
3511
|
|
|
3538
3512
|
| Name | Type | Description | |
|
|
3539
3513
|
| ---- | ---- | ----------- | -------- |
|
|
3540
|
-
|
|
|
3541
|
-
| params | | given parameters to validate the filter | |
|
|
3542
|
-
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
3543
|
-
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
3514
|
+
| settings | | an object to the ParamsToGetFilter settings | |
|
|
3544
3515
|
|
|
3545
3516
|
|
|
3546
3517
|
|
|
@@ -3548,17 +3519,17 @@ Resolves the conditions by given params
|
|
|
3548
3519
|
##### Returns
|
|
3549
3520
|
|
|
3550
3521
|
|
|
3551
|
-
-
|
|
3522
|
+
- a new ParamsToGetFilter settings object.
|
|
3552
3523
|
|
|
3553
3524
|
|
|
3554
3525
|
|
|
3555
3526
|
|
|
3556
|
-
### dist/filters/helpers/common/
|
|
3527
|
+
### dist/filters/helpers/common/haveFiltersByDataset.js
|
|
3557
3528
|
|
|
3558
3529
|
|
|
3559
|
-
####
|
|
3530
|
+
#### haveFiltersByDataset(filterData, qrveyid)
|
|
3560
3531
|
|
|
3561
|
-
|
|
3532
|
+
Validates if the filter data has filters by a dataset ID (Qrvey ID).
|
|
3562
3533
|
|
|
3563
3534
|
|
|
3564
3535
|
|
|
@@ -3567,9 +3538,8 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
|
|
|
3567
3538
|
|
|
3568
3539
|
| Name | Type | Description | |
|
|
3569
3540
|
| ---- | ---- | ----------- | -------- |
|
|
3570
|
-
|
|
|
3571
|
-
|
|
|
3572
|
-
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3541
|
+
| filterData | | the filter data or the UI filter data. | |
|
|
3542
|
+
| qrveyid | | The Qrvey ID | |
|
|
3573
3543
|
|
|
3574
3544
|
|
|
3575
3545
|
|
|
@@ -3577,13 +3547,17 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
|
|
|
3577
3547
|
##### Returns
|
|
3578
3548
|
|
|
3579
3549
|
|
|
3580
|
-
-
|
|
3550
|
+
- true: the filter data has filters by the Qrvey ID
|
|
3581
3551
|
|
|
3582
3552
|
|
|
3583
3553
|
|
|
3584
|
-
#### mergeScopes(scopes1, scopes2, overwriteValues)
|
|
3585
3554
|
|
|
3586
|
-
|
|
3555
|
+
### dist/filters/helpers/common/isBetweenValidator.js
|
|
3556
|
+
|
|
3557
|
+
|
|
3558
|
+
#### isBetweenValidator(validator)
|
|
3559
|
+
|
|
3560
|
+
Validates if the given validator is a Between type
|
|
3587
3561
|
|
|
3588
3562
|
|
|
3589
3563
|
|
|
@@ -3592,9 +3566,7 @@ Gets a new scope structure array by merging two scope structures
|
|
|
3592
3566
|
|
|
3593
3567
|
| Name | Type | Description | |
|
|
3594
3568
|
| ---- | ---- | ----------- | -------- |
|
|
3595
|
-
|
|
|
3596
|
-
| scopes2 | | the scope to be merged | |
|
|
3597
|
-
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3569
|
+
| validator | | The validator | |
|
|
3598
3570
|
|
|
3599
3571
|
|
|
3600
3572
|
|
|
@@ -3602,13 +3574,17 @@ Gets a new scope structure array by merging two scope structures
|
|
|
3602
3574
|
##### Returns
|
|
3603
3575
|
|
|
3604
3576
|
|
|
3605
|
-
- a
|
|
3577
|
+
- true: it is a between validator; false: it is not a between validator
|
|
3606
3578
|
|
|
3607
3579
|
|
|
3608
3580
|
|
|
3609
|
-
#### mergeDatasets(datasets1, datasets2, overwriteValues)
|
|
3610
3581
|
|
|
3611
|
-
|
|
3582
|
+
### dist/filters/helpers/common/isDateDistinctProperty.js
|
|
3583
|
+
|
|
3584
|
+
|
|
3585
|
+
#### isDateDistinctProperty(column, property)
|
|
3586
|
+
|
|
3587
|
+
Determines if the filter column and property is a distinct group dates type
|
|
3612
3588
|
|
|
3613
3589
|
|
|
3614
3590
|
|
|
@@ -3617,9 +3593,8 @@ Gets a new dataset structure array by merging two dataset structures
|
|
|
3617
3593
|
|
|
3618
3594
|
| Name | Type | Description | |
|
|
3619
3595
|
| ---- | ---- | ----------- | -------- |
|
|
3620
|
-
|
|
|
3621
|
-
|
|
|
3622
|
-
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3596
|
+
| column | | The filter column | |
|
|
3597
|
+
| property | | The filter property | |
|
|
3623
3598
|
|
|
3624
3599
|
|
|
3625
3600
|
|
|
@@ -3627,13 +3602,17 @@ Gets a new dataset structure array by merging two dataset structures
|
|
|
3627
3602
|
##### Returns
|
|
3628
3603
|
|
|
3629
3604
|
|
|
3630
|
-
-
|
|
3605
|
+
- True if the given property is included from distinct group dates type
|
|
3631
3606
|
|
|
3632
3607
|
|
|
3633
3608
|
|
|
3634
|
-
#### mergeFilterss(filters1, filters2, overwriteValues)
|
|
3635
3609
|
|
|
3636
|
-
|
|
3610
|
+
### dist/filters/helpers/common/isInValidator.js
|
|
3611
|
+
|
|
3612
|
+
|
|
3613
|
+
#### isInValidator(validator)
|
|
3614
|
+
|
|
3615
|
+
Validates if the given validator is a In type
|
|
3637
3616
|
|
|
3638
3617
|
|
|
3639
3618
|
|
|
@@ -3642,9 +3621,7 @@ Gets a new filter structure array by merging two filter structures
|
|
|
3642
3621
|
|
|
3643
3622
|
| Name | Type | Description | |
|
|
3644
3623
|
| ---- | ---- | ----------- | -------- |
|
|
3645
|
-
|
|
|
3646
|
-
| filters2 | | the filter to be merged | |
|
|
3647
|
-
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3624
|
+
| validator | | The validator | |
|
|
3648
3625
|
|
|
3649
3626
|
|
|
3650
3627
|
|
|
@@ -3652,13 +3629,17 @@ Gets a new filter structure array by merging two filter structures
|
|
|
3652
3629
|
##### Returns
|
|
3653
3630
|
|
|
3654
3631
|
|
|
3655
|
-
- a
|
|
3632
|
+
- true: it is a In validator; false: it is not a In validator
|
|
3656
3633
|
|
|
3657
3634
|
|
|
3658
3635
|
|
|
3659
|
-
#### mergeValues(filter1, filter2, overwrite)
|
|
3660
3636
|
|
|
3661
|
-
|
|
3637
|
+
### dist/filters/helpers/common/isNullValidator.js
|
|
3638
|
+
|
|
3639
|
+
|
|
3640
|
+
#### isNullValidator(validator)
|
|
3641
|
+
|
|
3642
|
+
Checks if the given validator is a Null type.
|
|
3662
3643
|
|
|
3663
3644
|
|
|
3664
3645
|
|
|
@@ -3667,9 +3648,7 @@ Gets a new value structure array by merging two value structures
|
|
|
3667
3648
|
|
|
3668
3649
|
| Name | Type | Description | |
|
|
3669
3650
|
| ---- | ---- | ----------- | -------- |
|
|
3670
|
-
|
|
|
3671
|
-
| filter2 | | the filter to be used to merge the values | |
|
|
3672
|
-
| overwrite | | Flag to overwrite or not the filter values | |
|
|
3651
|
+
| validator | | The Filter Validator | |
|
|
3673
3652
|
|
|
3674
3653
|
|
|
3675
3654
|
|
|
@@ -3677,17 +3656,17 @@ Gets a new value structure array by merging two value structures
|
|
|
3677
3656
|
##### Returns
|
|
3678
3657
|
|
|
3679
3658
|
|
|
3680
|
-
- a
|
|
3659
|
+
- True: It is a Null Validator; False: It is not a Null Validator.
|
|
3681
3660
|
|
|
3682
3661
|
|
|
3683
3662
|
|
|
3684
3663
|
|
|
3685
|
-
### dist/filters/helpers/
|
|
3664
|
+
### dist/filters/helpers/common/isRangeValidator.js
|
|
3686
3665
|
|
|
3687
3666
|
|
|
3688
|
-
####
|
|
3667
|
+
#### isRangeValidator(validator)
|
|
3689
3668
|
|
|
3690
|
-
|
|
3669
|
+
Validates if the given validator is a Range type. Range type means the value has min and max values to filter
|
|
3691
3670
|
|
|
3692
3671
|
|
|
3693
3672
|
|
|
@@ -3696,7 +3675,7 @@ Excludes Aggregate Filters in the Flattened UI Filters array
|
|
|
3696
3675
|
|
|
3697
3676
|
| Name | Type | Description | |
|
|
3698
3677
|
| ---- | ---- | ----------- | -------- |
|
|
3699
|
-
|
|
|
3678
|
+
| validator | | The filter validator | |
|
|
3700
3679
|
|
|
3701
3680
|
|
|
3702
3681
|
|
|
@@ -3704,17 +3683,17 @@ Excludes Aggregate Filters in the Flattened UI Filters array
|
|
|
3704
3683
|
##### Returns
|
|
3705
3684
|
|
|
3706
3685
|
|
|
3707
|
-
-
|
|
3686
|
+
- true: it is a range validator
|
|
3708
3687
|
|
|
3709
3688
|
|
|
3710
3689
|
|
|
3711
3690
|
|
|
3712
|
-
### dist/filters/helpers/
|
|
3691
|
+
### dist/filters/helpers/common/isRegularValidator.js
|
|
3713
3692
|
|
|
3714
3693
|
|
|
3715
|
-
####
|
|
3694
|
+
#### isRegularValidator(validator)
|
|
3716
3695
|
|
|
3717
|
-
|
|
3696
|
+
Validates if the given validator is a regular type. Regular type means the filter object has a value as string to filter
|
|
3718
3697
|
|
|
3719
3698
|
|
|
3720
3699
|
|
|
@@ -3723,8 +3702,7 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
|
3723
3702
|
|
|
3724
3703
|
| Name | Type | Description | |
|
|
3725
3704
|
| ---- | ---- | ----------- | -------- |
|
|
3726
|
-
|
|
|
3727
|
-
| scopes | | collection of scopes types | |
|
|
3705
|
+
| validator | | The filter validator | |
|
|
3728
3706
|
|
|
3729
3707
|
|
|
3730
3708
|
|
|
@@ -3732,17 +3710,17 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
|
3732
3710
|
##### Returns
|
|
3733
3711
|
|
|
3734
3712
|
|
|
3735
|
-
-
|
|
3713
|
+
- true: it is a range validator
|
|
3736
3714
|
|
|
3737
3715
|
|
|
3738
3716
|
|
|
3739
3717
|
|
|
3740
|
-
### dist/filters/helpers/
|
|
3718
|
+
### dist/filters/helpers/common/mergeFilters.js
|
|
3741
3719
|
|
|
3742
3720
|
|
|
3743
|
-
####
|
|
3721
|
+
#### mergeFilters(filterData1, filterData2, overwriteValues)
|
|
3744
3722
|
|
|
3745
|
-
|
|
3723
|
+
Merge filter data structures in a new one. The first Filter Data passed in the argument has the priority
|
|
3746
3724
|
|
|
3747
3725
|
|
|
3748
3726
|
|
|
@@ -3751,7 +3729,9 @@ Gets the label of the filter property
|
|
|
3751
3729
|
|
|
3752
3730
|
| Name | Type | Description | |
|
|
3753
3731
|
| ---- | ---- | ----------- | -------- |
|
|
3754
|
-
|
|
|
3732
|
+
| filterData1 | | The target filter data | |
|
|
3733
|
+
| filterData2 | | the filter data to be merged | |
|
|
3734
|
+
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3755
3735
|
|
|
3756
3736
|
|
|
3757
3737
|
|
|
@@ -3759,17 +3739,38 @@ Gets the label of the filter property
|
|
|
3759
3739
|
##### Returns
|
|
3760
3740
|
|
|
3761
3741
|
|
|
3762
|
-
- a
|
|
3742
|
+
- a new filter data structure
|
|
3763
3743
|
|
|
3764
3744
|
|
|
3765
3745
|
|
|
3746
|
+
#### mergeScopes(scopes1, scopes2, overwriteValues)
|
|
3766
3747
|
|
|
3767
|
-
|
|
3748
|
+
Gets a new scope structure array by merging two scope structures
|
|
3768
3749
|
|
|
3769
3750
|
|
|
3770
|
-
#### getOutputFormatByColumn(column, datasets)
|
|
3771
3751
|
|
|
3772
|
-
|
|
3752
|
+
|
|
3753
|
+
##### Parameters
|
|
3754
|
+
|
|
3755
|
+
| Name | Type | Description | |
|
|
3756
|
+
| ---- | ---- | ----------- | -------- |
|
|
3757
|
+
| scopes1 | | the target scope structure | |
|
|
3758
|
+
| scopes2 | | the scope to be merged | |
|
|
3759
|
+
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3760
|
+
|
|
3761
|
+
|
|
3762
|
+
|
|
3763
|
+
|
|
3764
|
+
##### Returns
|
|
3765
|
+
|
|
3766
|
+
|
|
3767
|
+
- a new scope structure array
|
|
3768
|
+
|
|
3769
|
+
|
|
3770
|
+
|
|
3771
|
+
#### mergeDatasets(datasets1, datasets2, overwriteValues)
|
|
3772
|
+
|
|
3773
|
+
Gets a new dataset structure array by merging two dataset structures
|
|
3773
3774
|
|
|
3774
3775
|
|
|
3775
3776
|
|
|
@@ -3778,8 +3779,9 @@ Gets output format object from Datasets by the given column. Item of the dataset
|
|
|
3778
3779
|
|
|
3779
3780
|
| Name | Type | Description | |
|
|
3780
3781
|
| ---- | ---- | ----------- | -------- |
|
|
3781
|
-
|
|
|
3782
|
-
|
|
|
3782
|
+
| datasets1 | | the target dataset structure | |
|
|
3783
|
+
| datasets2 | | the dataset to be merged | |
|
|
3784
|
+
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3783
3785
|
|
|
3784
3786
|
|
|
3785
3787
|
|
|
@@ -3787,27 +3789,24 @@ Gets output format object from Datasets by the given column. Item of the dataset
|
|
|
3787
3789
|
##### Returns
|
|
3788
3790
|
|
|
3789
3791
|
|
|
3790
|
-
-
|
|
3792
|
+
- a new dataset structure array
|
|
3791
3793
|
|
|
3792
3794
|
|
|
3793
3795
|
|
|
3796
|
+
#### mergeFilterss(filters1, filters2, overwriteValues)
|
|
3794
3797
|
|
|
3795
|
-
|
|
3798
|
+
Gets a new filter structure array by merging two filter structures
|
|
3796
3799
|
|
|
3797
3800
|
|
|
3798
|
-
#### getUIFlatFilterByParams()
|
|
3799
3801
|
|
|
3800
|
-
Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
|
|
3801
|
-
The validation to filter the stored filter is depending on:
|
|
3802
|
-
- Column
|
|
3803
|
-
- Qrvey ID,
|
|
3804
|
-
- Scope type
|
|
3805
|
-
- Scope ID
|
|
3806
|
-
- Panel ID
|
|
3807
|
-
- Validator type
|
|
3808
|
-
- Property type
|
|
3809
3802
|
|
|
3803
|
+
##### Parameters
|
|
3810
3804
|
|
|
3805
|
+
| Name | Type | Description | |
|
|
3806
|
+
| ---- | ---- | ----------- | -------- |
|
|
3807
|
+
| filters1 | | the target filter structure | |
|
|
3808
|
+
| filters2 | | the filter to be merged | |
|
|
3809
|
+
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3811
3810
|
|
|
3812
3811
|
|
|
3813
3812
|
|
|
@@ -3815,28 +3814,24 @@ The validation to filter the stored filter is depending on:
|
|
|
3815
3814
|
##### Returns
|
|
3816
3815
|
|
|
3817
3816
|
|
|
3818
|
-
-
|
|
3817
|
+
- a new filter structure array
|
|
3819
3818
|
|
|
3820
3819
|
|
|
3821
3820
|
|
|
3821
|
+
#### mergeValues(filter1, filter2, overwrite)
|
|
3822
3822
|
|
|
3823
|
-
|
|
3823
|
+
Gets a new value structure array by merging two value structures
|
|
3824
3824
|
|
|
3825
3825
|
|
|
3826
|
-
#### getUIFlatFiltersByParams()
|
|
3827
3826
|
|
|
3828
|
-
Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
|
|
3829
|
-
The validation to filter the stored filter is depending on:
|
|
3830
|
-
- Column
|
|
3831
|
-
- Qrvey ID,
|
|
3832
|
-
- Scope type
|
|
3833
|
-
- Scope ID
|
|
3834
|
-
- Panel ID
|
|
3835
|
-
- Validator type
|
|
3836
|
-
- Property type
|
|
3837
|
-
- Enabled flags
|
|
3838
3827
|
|
|
3828
|
+
##### Parameters
|
|
3839
3829
|
|
|
3830
|
+
| Name | Type | Description | |
|
|
3831
|
+
| ---- | ---- | ----------- | -------- |
|
|
3832
|
+
| filter1 | | the target filter structure | |
|
|
3833
|
+
| filter2 | | the filter to be used to merge the values | |
|
|
3834
|
+
| overwrite | | Flag to overwrite or not the filter values | |
|
|
3840
3835
|
|
|
3841
3836
|
|
|
3842
3837
|
|
|
@@ -3844,17 +3839,17 @@ The validation to filter the stored filter is depending on:
|
|
|
3844
3839
|
##### Returns
|
|
3845
3840
|
|
|
3846
3841
|
|
|
3847
|
-
-
|
|
3848
|
-
|
|
3842
|
+
- a new value structure array
|
|
3849
3843
|
|
|
3850
3844
|
|
|
3851
3845
|
|
|
3852
|
-
### dist/filters/helpers/ui/getUIValues.js
|
|
3853
3846
|
|
|
3847
|
+
### dist/filters/helpers/common/resolveDatasetConditions.js
|
|
3854
3848
|
|
|
3855
|
-
#### getUIValues(filter, addEnableds, rankingGroupIndex)
|
|
3856
3849
|
|
|
3850
|
+
#### resolveDatasetConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
|
|
3857
3851
|
|
|
3852
|
+
Resolves the conditions by given params
|
|
3858
3853
|
|
|
3859
3854
|
|
|
3860
3855
|
|
|
@@ -3863,9 +3858,10 @@ The validation to filter the stored filter is depending on:
|
|
|
3863
3858
|
|
|
3864
3859
|
| Name | Type | Description | |
|
|
3865
3860
|
| ---- | ---- | ----------- | -------- |
|
|
3866
|
-
| filter | |
|
|
3867
|
-
|
|
|
3868
|
-
|
|
|
3861
|
+
| filter | | The dataset structure | |
|
|
3862
|
+
| params | | given parameters to validate the dataset | |
|
|
3863
|
+
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
3864
|
+
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
3869
3865
|
|
|
3870
3866
|
|
|
3871
3867
|
|
|
@@ -3873,17 +3869,17 @@ The validation to filter the stored filter is depending on:
|
|
|
3873
3869
|
##### Returns
|
|
3874
3870
|
|
|
3875
3871
|
|
|
3876
|
-
-
|
|
3872
|
+
- true: the condition is satisfied
|
|
3877
3873
|
|
|
3878
3874
|
|
|
3879
3875
|
|
|
3880
3876
|
|
|
3881
|
-
### dist/filters/helpers/
|
|
3877
|
+
### dist/filters/helpers/common/resolveFilterConditions.js
|
|
3882
3878
|
|
|
3883
3879
|
|
|
3884
|
-
####
|
|
3880
|
+
#### resolveFilterConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
|
|
3885
3881
|
|
|
3886
|
-
|
|
3882
|
+
Resolves the conditions by given params
|
|
3887
3883
|
|
|
3888
3884
|
|
|
3889
3885
|
|
|
@@ -3892,8 +3888,10 @@ Filters and gets a UI Flatten Filters by the given scopes
|
|
|
3892
3888
|
|
|
3893
3889
|
| Name | Type | Description | |
|
|
3894
3890
|
| ---- | ---- | ----------- | -------- |
|
|
3895
|
-
|
|
|
3896
|
-
|
|
|
3891
|
+
| filter | | The filter | |
|
|
3892
|
+
| params | | given parameters to validate the filter | |
|
|
3893
|
+
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
3894
|
+
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
3897
3895
|
|
|
3898
3896
|
|
|
3899
3897
|
|
|
@@ -3901,17 +3899,17 @@ Filters and gets a UI Flatten Filters by the given scopes
|
|
|
3901
3899
|
##### Returns
|
|
3902
3900
|
|
|
3903
3901
|
|
|
3904
|
-
-
|
|
3902
|
+
- true: the condition is satisfied
|
|
3905
3903
|
|
|
3906
3904
|
|
|
3907
3905
|
|
|
3908
3906
|
|
|
3909
|
-
### dist/filters/helpers/
|
|
3907
|
+
### dist/filters/helpers/common/resolveScopeConditions.js
|
|
3910
3908
|
|
|
3911
3909
|
|
|
3912
|
-
####
|
|
3910
|
+
#### resolveScopeConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
|
|
3913
3911
|
|
|
3914
|
-
Resolves conditions
|
|
3912
|
+
Resolves the conditions by given params
|
|
3915
3913
|
|
|
3916
3914
|
|
|
3917
3915
|
|
|
@@ -3920,8 +3918,10 @@ Resolves conditions between UI flattened filter and given parameters
|
|
|
3920
3918
|
|
|
3921
3919
|
| Name | Type | Description | |
|
|
3922
3920
|
| ---- | ---- | ----------- | -------- |
|
|
3923
|
-
| filter | |
|
|
3924
|
-
| params | |
|
|
3921
|
+
| filter | | The filter scope structure | |
|
|
3922
|
+
| params | | given parameters to validate the filter | |
|
|
3923
|
+
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
3924
|
+
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
3925
3925
|
|
|
3926
3926
|
|
|
3927
3927
|
|
|
@@ -3929,7 +3929,7 @@ Resolves conditions between UI flattened filter and given parameters
|
|
|
3929
3929
|
##### Returns
|
|
3930
3930
|
|
|
3931
3931
|
|
|
3932
|
-
- true: the
|
|
3932
|
+
- true: the condition is satisfied
|
|
3933
3933
|
|
|
3934
3934
|
|
|
3935
3935
|
|