@qrvey/utils 1.2.4-6 → 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 +361 -361
- 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/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/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/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
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
|
|
|
@@ -1767,13 +1767,12 @@ Gets the length of the given array.
|
|
|
1767
1767
|
|
|
1768
1768
|
|
|
1769
1769
|
|
|
1770
|
-
### dist/general/
|
|
1770
|
+
### dist/general/string/capitalize.js
|
|
1771
1771
|
|
|
1772
1772
|
|
|
1773
|
-
####
|
|
1773
|
+
#### capitalize(text)
|
|
1774
1774
|
|
|
1775
|
-
|
|
1776
|
-
Not to use this function with inner objects and functions
|
|
1775
|
+
Upper case the first letter of a given text
|
|
1777
1776
|
|
|
1778
1777
|
|
|
1779
1778
|
|
|
@@ -1782,7 +1781,7 @@ Not to use this function with inner objects and functions
|
|
|
1782
1781
|
|
|
1783
1782
|
| Name | Type | Description | |
|
|
1784
1783
|
| ---- | ---- | ----------- | -------- |
|
|
1785
|
-
|
|
|
1784
|
+
| text | `String` | | |
|
|
1786
1785
|
|
|
1787
1786
|
|
|
1788
1787
|
|
|
@@ -1790,25 +1789,18 @@ Not to use this function with inner objects and functions
|
|
|
1790
1789
|
##### Returns
|
|
1791
1790
|
|
|
1792
1791
|
|
|
1793
|
-
-
|
|
1792
|
+
- `String` a capitalized text
|
|
1794
1793
|
|
|
1795
1794
|
|
|
1796
1795
|
|
|
1797
1796
|
|
|
1798
|
-
### dist/general/object/
|
|
1797
|
+
### dist/general/object/cloneDeep.js
|
|
1799
1798
|
|
|
1800
1799
|
|
|
1801
|
-
####
|
|
1800
|
+
#### cloneDeep(obj)
|
|
1802
1801
|
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
- List of cases that do not match
|
|
1806
|
-
-- From lower to snake case
|
|
1807
|
-
-- From upper to snake case
|
|
1808
|
-
-- From lower to camel case
|
|
1809
|
-
-- From upper to camel case
|
|
1810
|
-
-- From lower to pascal case
|
|
1811
|
-
-- From upper to pascal case
|
|
1802
|
+
A simple Deep Cloning function. Valid only for primivite values and object with primitive values.
|
|
1803
|
+
Not to use this function with inner objects and functions
|
|
1812
1804
|
|
|
1813
1805
|
|
|
1814
1806
|
|
|
@@ -1817,23 +1809,15 @@ Searchs for properties in different case styles such as: lower, upper, camel and
|
|
|
1817
1809
|
|
|
1818
1810
|
| Name | Type | Description | |
|
|
1819
1811
|
| ---- | ---- | ----------- | -------- |
|
|
1820
|
-
| obj |
|
|
1821
|
-
| key | `string` | String attribute in snake_case style | |
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1812
|
+
| obj | | The object | |
|
|
1825
1813
|
|
|
1826
|
-
##### Examples
|
|
1827
1814
|
|
|
1828
|
-
```javascript
|
|
1829
|
-
getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
1830
|
-
```
|
|
1831
1815
|
|
|
1832
1816
|
|
|
1833
1817
|
##### Returns
|
|
1834
1818
|
|
|
1835
1819
|
|
|
1836
|
-
-
|
|
1820
|
+
- The new reference object or the given object if the parsing is incorrect or empty
|
|
1837
1821
|
|
|
1838
1822
|
|
|
1839
1823
|
|
|
@@ -1895,6 +1879,49 @@ _get({ item1: { item11: 'Hello Again' }, item2: {} }, ['item1', 'item11'])
|
|
|
1895
1879
|
|
|
1896
1880
|
|
|
1897
1881
|
|
|
1882
|
+
### dist/general/object/getAttribute.js
|
|
1883
|
+
|
|
1884
|
+
|
|
1885
|
+
#### getAttribute(obj, key)
|
|
1886
|
+
|
|
1887
|
+
Searchs for properties in different case styles such as: lower, upper, camel and pascal
|
|
1888
|
+
- To optimize the searching, it is required a key in a snake_case style
|
|
1889
|
+
- List of cases that do not match
|
|
1890
|
+
-- From lower to snake case
|
|
1891
|
+
-- From upper to snake case
|
|
1892
|
+
-- From lower to camel case
|
|
1893
|
+
-- From upper to camel case
|
|
1894
|
+
-- From lower to pascal case
|
|
1895
|
+
-- From upper to pascal case
|
|
1896
|
+
|
|
1897
|
+
|
|
1898
|
+
|
|
1899
|
+
|
|
1900
|
+
##### Parameters
|
|
1901
|
+
|
|
1902
|
+
| Name | Type | Description | |
|
|
1903
|
+
| ---- | ---- | ----------- | -------- |
|
|
1904
|
+
| obj | `object` | object to look for | |
|
|
1905
|
+
| key | `string` | String attribute in snake_case style | |
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
##### Examples
|
|
1911
|
+
|
|
1912
|
+
```javascript
|
|
1913
|
+
getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
1914
|
+
```
|
|
1915
|
+
|
|
1916
|
+
|
|
1917
|
+
##### Returns
|
|
1918
|
+
|
|
1919
|
+
|
|
1920
|
+
- `Void`
|
|
1921
|
+
|
|
1922
|
+
|
|
1923
|
+
|
|
1924
|
+
|
|
1898
1925
|
### dist/general/object/hasProperty.js
|
|
1899
1926
|
|
|
1900
1927
|
|
|
@@ -2179,12 +2206,12 @@ serialize object to url param
|
|
|
2179
2206
|
|
|
2180
2207
|
|
|
2181
2208
|
|
|
2182
|
-
### dist/
|
|
2209
|
+
### dist/qrvey/helpers/getColumnsLabel.js
|
|
2183
2210
|
|
|
2184
2211
|
|
|
2185
|
-
####
|
|
2212
|
+
#### getColumnLabels(column)
|
|
2186
2213
|
|
|
2187
|
-
|
|
2214
|
+
Get an string of the properties of the given column.
|
|
2188
2215
|
|
|
2189
2216
|
|
|
2190
2217
|
|
|
@@ -2193,7 +2220,7 @@ Upper case the first letter of a given text
|
|
|
2193
2220
|
|
|
2194
2221
|
| Name | Type | Description | |
|
|
2195
2222
|
| ---- | ---- | ----------- | -------- |
|
|
2196
|
-
|
|
|
2223
|
+
| column | | The column | |
|
|
2197
2224
|
|
|
2198
2225
|
|
|
2199
2226
|
|
|
@@ -2201,7 +2228,7 @@ Upper case the first letter of a given text
|
|
|
2201
2228
|
##### Returns
|
|
2202
2229
|
|
|
2203
2230
|
|
|
2204
|
-
-
|
|
2231
|
+
- an string with the property, aggregate or calculation label.
|
|
2205
2232
|
|
|
2206
2233
|
|
|
2207
2234
|
|
|
@@ -2288,33 +2315,6 @@ Get a dataset by Qrvey ID
|
|
|
2288
2315
|
|
|
2289
2316
|
|
|
2290
2317
|
|
|
2291
|
-
### dist/qrvey/helpers/getColumnsLabel.js
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
#### getColumnLabels(column)
|
|
2295
|
-
|
|
2296
|
-
Get an string of the properties of the given column.
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
##### Parameters
|
|
2302
|
-
|
|
2303
|
-
| Name | Type | Description | |
|
|
2304
|
-
| ---- | ---- | ----------- | -------- |
|
|
2305
|
-
| column | | The column | |
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
##### Returns
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
- an string with the property, aggregate or calculation label.
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
2318
|
### dist/stencil/decorators/Config.js
|
|
2319
2319
|
|
|
2320
2320
|
|
|
@@ -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,17 +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 Aggregate Filters in the
|
|
2866
|
+
Excludes Aggregate Filters in the Flattened UI Filters array
|
|
2895
2867
|
|
|
2896
2868
|
|
|
2897
2869
|
|
|
@@ -2900,7 +2872,7 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
|
|
|
2900
2872
|
|
|
2901
2873
|
| Name | Type | Description | |
|
|
2902
2874
|
| ---- | ---- | ----------- | -------- |
|
|
2903
|
-
|
|
|
2875
|
+
| uFilters | | Collection of Flat UI Filters | |
|
|
2904
2876
|
|
|
2905
2877
|
|
|
2906
2878
|
|
|
@@ -2908,26 +2880,17 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
|
|
|
2908
2880
|
##### Returns
|
|
2909
2881
|
|
|
2910
2882
|
|
|
2911
|
-
-
|
|
2883
|
+
- a new Flat UI Filters that were excluded the aggregate filters
|
|
2912
2884
|
|
|
2913
2885
|
|
|
2914
2886
|
|
|
2915
2887
|
|
|
2916
|
-
### dist/filters/helpers/
|
|
2888
|
+
### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
|
|
2917
2889
|
|
|
2918
2890
|
|
|
2919
|
-
####
|
|
2891
|
+
#### excludeUIFlatFiltersByScopes(uFilters, scopes)
|
|
2920
2892
|
|
|
2921
|
-
Excludes filters
|
|
2922
|
-
The validation to filter the stored filter is depending on:
|
|
2923
|
-
- Column
|
|
2924
|
-
- Qrvey ID
|
|
2925
|
-
- Scope type
|
|
2926
|
-
- Scope ID
|
|
2927
|
-
- Panel ID
|
|
2928
|
-
- Validator type
|
|
2929
|
-
- Property type
|
|
2930
|
-
- Enabled flags
|
|
2893
|
+
Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
2931
2894
|
|
|
2932
2895
|
|
|
2933
2896
|
|
|
@@ -2936,8 +2899,8 @@ The validation to filter the stored filter is depending on:
|
|
|
2936
2899
|
|
|
2937
2900
|
| Name | Type | Description | |
|
|
2938
2901
|
| ---- | ---- | ----------- | -------- |
|
|
2939
|
-
|
|
|
2940
|
-
|
|
|
2902
|
+
| uFilters | | The Flatten UI Filters | |
|
|
2903
|
+
| scopes | | collection of scopes types | |
|
|
2941
2904
|
|
|
2942
2905
|
|
|
2943
2906
|
|
|
@@ -2945,17 +2908,17 @@ The validation to filter the stored filter is depending on:
|
|
|
2945
2908
|
##### Returns
|
|
2946
2909
|
|
|
2947
2910
|
|
|
2948
|
-
-
|
|
2911
|
+
- The new array of UI Flattened filters
|
|
2949
2912
|
|
|
2950
2913
|
|
|
2951
2914
|
|
|
2952
2915
|
|
|
2953
|
-
### dist/filters/helpers/
|
|
2916
|
+
### dist/filters/helpers/ui/getFilterPropertyLabel.js
|
|
2954
2917
|
|
|
2955
2918
|
|
|
2956
|
-
####
|
|
2919
|
+
#### getFilterPropertyLabel(filter)
|
|
2957
2920
|
|
|
2958
|
-
|
|
2921
|
+
Gets the label of the filter property
|
|
2959
2922
|
|
|
2960
2923
|
|
|
2961
2924
|
|
|
@@ -2964,8 +2927,7 @@ Excludes and returns a filter data without filters by the given scopes
|
|
|
2964
2927
|
|
|
2965
2928
|
| Name | Type | Description | |
|
|
2966
2929
|
| ---- | ---- | ----------- | -------- |
|
|
2967
|
-
|
|
|
2968
|
-
| scopes | | collection of scopes to be as filtering parameters | |
|
|
2930
|
+
| filter | | The UI Filter | |
|
|
2969
2931
|
|
|
2970
2932
|
|
|
2971
2933
|
|
|
@@ -2973,17 +2935,17 @@ Excludes and returns a filter data without filters by the given scopes
|
|
|
2973
2935
|
##### Returns
|
|
2974
2936
|
|
|
2975
2937
|
|
|
2976
|
-
-
|
|
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
|
-
|
|
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
|
|
2987
2949
|
|
|
2988
2950
|
|
|
2989
2951
|
|
|
@@ -2992,7 +2954,8 @@ Get an string of the properties of the given filter column.
|
|
|
2992
2954
|
|
|
2993
2955
|
| Name | Type | Description | |
|
|
2994
2956
|
| ---- | ---- | ----------- | -------- |
|
|
2995
|
-
| column | | The
|
|
2957
|
+
| column | | The column | |
|
|
2958
|
+
| datasets | | array of datasets | |
|
|
2996
2959
|
|
|
2997
2960
|
|
|
2998
2961
|
|
|
@@ -3000,55 +2963,74 @@ Get an string of the properties of the given filter column.
|
|
|
3000
2963
|
##### Returns
|
|
3001
2964
|
|
|
3002
2965
|
|
|
3003
|
-
-
|
|
2966
|
+
- The output format object
|
|
3004
2967
|
|
|
3005
2968
|
|
|
3006
2969
|
|
|
3007
2970
|
|
|
3008
|
-
### dist/filters/helpers/
|
|
2971
|
+
### dist/filters/helpers/ui/getUIFlatFilterByParams.js
|
|
3009
2972
|
|
|
3010
2973
|
|
|
3011
|
-
####
|
|
2974
|
+
#### getUIFlatFilterByParams()
|
|
3012
2975
|
|
|
3013
|
-
Gets the
|
|
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
|
|
3014
2985
|
|
|
3015
2986
|
|
|
3016
2987
|
|
|
3017
2988
|
|
|
3018
|
-
##### Parameters
|
|
3019
2989
|
|
|
3020
|
-
| Name | Type | Description | |
|
|
3021
|
-
| ---- | ---- | ----------- | -------- |
|
|
3022
|
-
| filter | | the UI filter | |
|
|
3023
2990
|
|
|
2991
|
+
##### Returns
|
|
3024
2992
|
|
|
3025
2993
|
|
|
2994
|
+
- The index of the uFilter array or the Filter object s
|
|
3026
2995
|
|
|
3027
|
-
##### Returns
|
|
3028
2996
|
|
|
3029
2997
|
|
|
3030
|
-
- a sring label
|
|
3031
2998
|
|
|
2999
|
+
### dist/filters/helpers/ui/getUIFlatFiltersByParams.js
|
|
3032
3000
|
|
|
3033
3001
|
|
|
3002
|
+
#### getUIFlatFiltersByParams()
|
|
3034
3003
|
|
|
3035
|
-
|
|
3004
|
+
Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
|
|
3005
|
+
The validation to filter the stored filter is depending on:
|
|
3006
|
+
- Column
|
|
3007
|
+
- Qrvey ID,
|
|
3008
|
+
- Scope type
|
|
3009
|
+
- Scope ID
|
|
3010
|
+
- Panel ID
|
|
3011
|
+
- Validator type
|
|
3012
|
+
- Property type
|
|
3013
|
+
- Enabled flags
|
|
3036
3014
|
|
|
3037
3015
|
|
|
3038
|
-
#### getFilterid(filter)
|
|
3039
3016
|
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3017
|
+
|
|
3018
|
+
|
|
3019
|
+
|
|
3020
|
+
##### Returns
|
|
3021
|
+
|
|
3022
|
+
|
|
3023
|
+
- The index of the uFilter array or the Filter object s
|
|
3024
|
+
|
|
3025
|
+
|
|
3026
|
+
|
|
3027
|
+
|
|
3028
|
+
### dist/filters/helpers/ui/getUIFlatFiltersByScopes.js
|
|
3029
|
+
|
|
3030
|
+
|
|
3031
|
+
#### getUIFlatFiltersByScopes(uFilters, scopes)
|
|
3032
|
+
|
|
3033
|
+
Filters and gets a UI Flatten Filters by the given scopes
|
|
3052
3034
|
|
|
3053
3035
|
|
|
3054
3036
|
|
|
@@ -3057,7 +3039,8 @@ The order of the epression ID is:
|
|
|
3057
3039
|
|
|
3058
3040
|
| Name | Type | Description | |
|
|
3059
3041
|
| ---- | ---- | ----------- | -------- |
|
|
3060
|
-
|
|
|
3042
|
+
| uFilters | | The Flatten UI Filters | |
|
|
3043
|
+
| scopes | | collection of scopes types | |
|
|
3061
3044
|
|
|
3062
3045
|
|
|
3063
3046
|
|
|
@@ -3065,17 +3048,17 @@ The order of the epression ID is:
|
|
|
3065
3048
|
##### Returns
|
|
3066
3049
|
|
|
3067
3050
|
|
|
3068
|
-
-
|
|
3051
|
+
- The new array of UI Flattened filters
|
|
3069
3052
|
|
|
3070
3053
|
|
|
3071
3054
|
|
|
3072
3055
|
|
|
3073
|
-
### dist/filters/helpers/
|
|
3056
|
+
### dist/filters/helpers/ui/getUIValues.js
|
|
3074
3057
|
|
|
3075
3058
|
|
|
3076
|
-
####
|
|
3059
|
+
#### getUIValues(filter, addEnableds, rankingGroupIndex)
|
|
3060
|
+
|
|
3077
3061
|
|
|
3078
|
-
Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
|
|
3079
3062
|
|
|
3080
3063
|
|
|
3081
3064
|
|
|
@@ -3084,7 +3067,9 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
|
|
|
3084
3067
|
|
|
3085
3068
|
| Name | Type | Description | |
|
|
3086
3069
|
| ---- | ---- | ----------- | -------- |
|
|
3087
|
-
|
|
|
3070
|
+
| filter | | | |
|
|
3071
|
+
| addEnableds | | | |
|
|
3072
|
+
| rankingGroupIndex | | | |
|
|
3088
3073
|
|
|
3089
3074
|
|
|
3090
3075
|
|
|
@@ -3092,26 +3077,17 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
|
|
|
3092
3077
|
##### Returns
|
|
3093
3078
|
|
|
3094
3079
|
|
|
3095
|
-
-
|
|
3080
|
+
-
|
|
3096
3081
|
|
|
3097
3082
|
|
|
3098
3083
|
|
|
3099
3084
|
|
|
3100
|
-
### dist/filters/helpers/
|
|
3085
|
+
### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
|
|
3101
3086
|
|
|
3102
3087
|
|
|
3103
|
-
####
|
|
3088
|
+
#### resolveUIFlatFilterByParams(filter, params)
|
|
3104
3089
|
|
|
3105
|
-
|
|
3106
|
-
The validation to filter the stored filter is depending on:
|
|
3107
|
-
- Column
|
|
3108
|
-
- Qrvey ID
|
|
3109
|
-
- Scope type
|
|
3110
|
-
- Scope ID
|
|
3111
|
-
- Panel ID
|
|
3112
|
-
- Validator type
|
|
3113
|
-
- Property type
|
|
3114
|
-
- Enabled flags
|
|
3090
|
+
Resolves conditions between UI flattened filter and given parameters
|
|
3115
3091
|
|
|
3116
3092
|
|
|
3117
3093
|
|
|
@@ -3120,8 +3096,8 @@ The validation to filter the stored filter is depending on:
|
|
|
3120
3096
|
|
|
3121
3097
|
| Name | Type | Description | |
|
|
3122
3098
|
| ---- | ---- | ----------- | -------- |
|
|
3123
|
-
|
|
|
3124
|
-
| params | |
|
|
3099
|
+
| filter | | UI Flatten Filter | |
|
|
3100
|
+
| params | | Parameters to validate | |
|
|
3125
3101
|
|
|
3126
3102
|
|
|
3127
3103
|
|
|
@@ -3129,17 +3105,17 @@ The validation to filter the stored filter is depending on:
|
|
|
3129
3105
|
##### Returns
|
|
3130
3106
|
|
|
3131
3107
|
|
|
3132
|
-
-
|
|
3108
|
+
- true: the conditions are satisfied.
|
|
3133
3109
|
|
|
3134
3110
|
|
|
3135
3111
|
|
|
3136
3112
|
|
|
3137
|
-
### dist/filters/helpers/common/
|
|
3113
|
+
### dist/filters/helpers/common/areFiltersEquals.js
|
|
3138
3114
|
|
|
3139
3115
|
|
|
3140
|
-
####
|
|
3116
|
+
#### areFiltersEquals(filter1, filter2)
|
|
3141
3117
|
|
|
3142
|
-
|
|
3118
|
+
Validates if both filters are the same
|
|
3143
3119
|
|
|
3144
3120
|
|
|
3145
3121
|
|
|
@@ -3148,8 +3124,8 @@ Filters and gets a Filter Data by the given scopes
|
|
|
3148
3124
|
|
|
3149
3125
|
| Name | Type | Description | |
|
|
3150
3126
|
| ---- | ---- | ----------- | -------- |
|
|
3151
|
-
|
|
|
3152
|
-
|
|
|
3127
|
+
| filter1 | | filter 1 | |
|
|
3128
|
+
| filter2 | | filter 2 | |
|
|
3153
3129
|
|
|
3154
3130
|
|
|
3155
3131
|
|
|
@@ -3157,17 +3133,17 @@ Filters and gets a Filter Data by the given scopes
|
|
|
3157
3133
|
##### Returns
|
|
3158
3134
|
|
|
3159
3135
|
|
|
3160
|
-
-
|
|
3136
|
+
- true: the filters are equal; false: the filters are NOT equal
|
|
3161
3137
|
|
|
3162
3138
|
|
|
3163
3139
|
|
|
3164
3140
|
|
|
3165
|
-
### dist/filters/helpers/common/
|
|
3141
|
+
### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
|
|
3166
3142
|
|
|
3167
3143
|
|
|
3168
|
-
####
|
|
3144
|
+
#### excludeFiltersByAggregateColumn(filterData)
|
|
3169
3145
|
|
|
3170
|
-
|
|
3146
|
+
Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
|
|
3171
3147
|
|
|
3172
3148
|
|
|
3173
3149
|
|
|
@@ -3176,8 +3152,7 @@ Gets filters from Filter Data by Scopes/Scope IDs.
|
|
|
3176
3152
|
|
|
3177
3153
|
| Name | Type | Description | |
|
|
3178
3154
|
| ---- | ---- | ----------- | -------- |
|
|
3179
|
-
| filterData | | The filter data | |
|
|
3180
|
-
| scopes | | The collection of Scopes/Scope IDs | |
|
|
3155
|
+
| filterData | | The filter data object | |
|
|
3181
3156
|
|
|
3182
3157
|
|
|
3183
3158
|
|
|
@@ -3185,17 +3160,26 @@ Gets filters from Filter Data by Scopes/Scope IDs.
|
|
|
3185
3160
|
##### Returns
|
|
3186
3161
|
|
|
3187
3162
|
|
|
3188
|
-
-
|
|
3163
|
+
- The new filter data object that were excluded the aggregate filters
|
|
3189
3164
|
|
|
3190
3165
|
|
|
3191
3166
|
|
|
3192
3167
|
|
|
3193
|
-
### dist/filters/helpers/common/
|
|
3168
|
+
### dist/filters/helpers/common/excludeFiltersByParams.js
|
|
3194
3169
|
|
|
3195
3170
|
|
|
3196
|
-
####
|
|
3171
|
+
#### excludeFiltersByParams(filterData, params)
|
|
3197
3172
|
|
|
3198
|
-
|
|
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
|
|
3199
3183
|
|
|
3200
3184
|
|
|
3201
3185
|
|
|
@@ -3204,8 +3188,8 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
|
|
|
3204
3188
|
|
|
3205
3189
|
| Name | Type | Description | |
|
|
3206
3190
|
| ---- | ---- | ----------- | -------- |
|
|
3207
|
-
| filterData | |
|
|
3208
|
-
|
|
|
3191
|
+
| filterData | | The Filter Data or the UI Filter Data | |
|
|
3192
|
+
| params | | given parameters to validate the filter data | |
|
|
3209
3193
|
|
|
3210
3194
|
|
|
3211
3195
|
|
|
@@ -3213,17 +3197,17 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
|
|
|
3213
3197
|
##### Returns
|
|
3214
3198
|
|
|
3215
3199
|
|
|
3216
|
-
- a new Filter
|
|
3200
|
+
- a new Filter object structure
|
|
3217
3201
|
|
|
3218
3202
|
|
|
3219
3203
|
|
|
3220
3204
|
|
|
3221
|
-
### dist/filters/helpers/common/
|
|
3205
|
+
### dist/filters/helpers/common/excludeFiltersByScopes.js
|
|
3222
3206
|
|
|
3223
3207
|
|
|
3224
|
-
####
|
|
3208
|
+
#### excludeFiltersByScopes(filterData, scopes)
|
|
3225
3209
|
|
|
3226
|
-
|
|
3210
|
+
Excludes and returns a filter data without filters by the given scopes
|
|
3227
3211
|
|
|
3228
3212
|
|
|
3229
3213
|
|
|
@@ -3232,7 +3216,8 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
|
|
|
3232
3216
|
|
|
3233
3217
|
| Name | Type | Description | |
|
|
3234
3218
|
| ---- | ---- | ----------- | -------- |
|
|
3235
|
-
|
|
|
3219
|
+
| filterData | | The Filter Data | |
|
|
3220
|
+
| scopes | | collection of scopes to be as filtering parameters | |
|
|
3236
3221
|
|
|
3237
3222
|
|
|
3238
3223
|
|
|
@@ -3240,17 +3225,17 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
|
|
|
3240
3225
|
##### Returns
|
|
3241
3226
|
|
|
3242
3227
|
|
|
3243
|
-
-
|
|
3228
|
+
- The new Filter Data without filters by the given scopes.
|
|
3244
3229
|
|
|
3245
3230
|
|
|
3246
3231
|
|
|
3247
3232
|
|
|
3248
|
-
### dist/filters/helpers/common/
|
|
3233
|
+
### dist/filters/helpers/common/getFilterColumnLabel.js
|
|
3249
3234
|
|
|
3250
3235
|
|
|
3251
|
-
####
|
|
3236
|
+
#### getFilterColumnLabel(column)
|
|
3252
3237
|
|
|
3253
|
-
|
|
3238
|
+
Get an string of the properties of the given filter column.
|
|
3254
3239
|
|
|
3255
3240
|
|
|
3256
3241
|
|
|
@@ -3259,7 +3244,7 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
|
|
|
3259
3244
|
|
|
3260
3245
|
| Name | Type | Description | |
|
|
3261
3246
|
| ---- | ---- | ----------- | -------- |
|
|
3262
|
-
|
|
|
3247
|
+
| column | | The filter column | |
|
|
3263
3248
|
|
|
3264
3249
|
|
|
3265
3250
|
|
|
@@ -3267,17 +3252,17 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
|
|
|
3267
3252
|
##### Returns
|
|
3268
3253
|
|
|
3269
3254
|
|
|
3270
|
-
-
|
|
3255
|
+
- an string with the property, aggregate or calculation label.
|
|
3271
3256
|
|
|
3272
3257
|
|
|
3273
3258
|
|
|
3274
3259
|
|
|
3275
|
-
### dist/filters/helpers/common/
|
|
3260
|
+
### dist/filters/helpers/common/getFilterLabel.js
|
|
3276
3261
|
|
|
3277
3262
|
|
|
3278
|
-
####
|
|
3263
|
+
#### getFilterLabel(filter)
|
|
3279
3264
|
|
|
3280
|
-
|
|
3265
|
+
Gets the Filter Label + Column label
|
|
3281
3266
|
|
|
3282
3267
|
|
|
3283
3268
|
|
|
@@ -3286,8 +3271,7 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
|
|
|
3286
3271
|
|
|
3287
3272
|
| Name | Type | Description | |
|
|
3288
3273
|
| ---- | ---- | ----------- | -------- |
|
|
3289
|
-
|
|
|
3290
|
-
| qrveyid | | The Qrvey ID | |
|
|
3274
|
+
| filter | | the UI filter | |
|
|
3291
3275
|
|
|
3292
3276
|
|
|
3293
3277
|
|
|
@@ -3295,17 +3279,28 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
|
|
|
3295
3279
|
##### Returns
|
|
3296
3280
|
|
|
3297
3281
|
|
|
3298
|
-
-
|
|
3282
|
+
- a sring label
|
|
3299
3283
|
|
|
3300
3284
|
|
|
3301
3285
|
|
|
3302
3286
|
|
|
3303
|
-
### dist/filters/helpers/common/
|
|
3287
|
+
### dist/filters/helpers/common/getFilterid.js
|
|
3304
3288
|
|
|
3305
3289
|
|
|
3306
|
-
####
|
|
3290
|
+
#### getFilterid(filter)
|
|
3307
3291
|
|
|
3308
|
-
|
|
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
|
|
3309
3304
|
|
|
3310
3305
|
|
|
3311
3306
|
|
|
@@ -3314,7 +3309,7 @@ Validates if the given validator is a Between type
|
|
|
3314
3309
|
|
|
3315
3310
|
| Name | Type | Description | |
|
|
3316
3311
|
| ---- | ---- | ----------- | -------- |
|
|
3317
|
-
|
|
|
3312
|
+
| filter | | the filter structure | |
|
|
3318
3313
|
|
|
3319
3314
|
|
|
3320
3315
|
|
|
@@ -3322,17 +3317,17 @@ Validates if the given validator is a Between type
|
|
|
3322
3317
|
##### Returns
|
|
3323
3318
|
|
|
3324
3319
|
|
|
3325
|
-
-
|
|
3320
|
+
- a text to identify the filter
|
|
3326
3321
|
|
|
3327
3322
|
|
|
3328
3323
|
|
|
3329
3324
|
|
|
3330
|
-
### dist/filters/helpers/common/
|
|
3325
|
+
### dist/filters/helpers/common/getFiltersByAggregateColumn.js
|
|
3331
3326
|
|
|
3332
3327
|
|
|
3333
|
-
####
|
|
3328
|
+
#### getFiltersByAggregateColumn(filterData)
|
|
3334
3329
|
|
|
3335
|
-
|
|
3330
|
+
Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
|
|
3336
3331
|
|
|
3337
3332
|
|
|
3338
3333
|
|
|
@@ -3341,8 +3336,7 @@ Determines if the filter column and property is a distinct group dates type
|
|
|
3341
3336
|
|
|
3342
3337
|
| Name | Type | Description | |
|
|
3343
3338
|
| ---- | ---- | ----------- | -------- |
|
|
3344
|
-
|
|
|
3345
|
-
| property | | The filter property | |
|
|
3339
|
+
| filterData | | The filter data object | |
|
|
3346
3340
|
|
|
3347
3341
|
|
|
3348
3342
|
|
|
@@ -3350,17 +3344,26 @@ Determines if the filter column and property is a distinct group dates type
|
|
|
3350
3344
|
##### Returns
|
|
3351
3345
|
|
|
3352
3346
|
|
|
3353
|
-
-
|
|
3347
|
+
- The new filter data object that were get the aggregate filters
|
|
3354
3348
|
|
|
3355
3349
|
|
|
3356
3350
|
|
|
3357
3351
|
|
|
3358
|
-
### dist/filters/helpers/common/
|
|
3352
|
+
### dist/filters/helpers/common/getFiltersByParams.js
|
|
3359
3353
|
|
|
3360
3354
|
|
|
3361
|
-
####
|
|
3355
|
+
#### getFiltersByParams(filterData, params)
|
|
3362
3356
|
|
|
3363
|
-
|
|
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
|
|
3364
3367
|
|
|
3365
3368
|
|
|
3366
3369
|
|
|
@@ -3369,7 +3372,8 @@ Validates if the given validator is a In type
|
|
|
3369
3372
|
|
|
3370
3373
|
| Name | Type | Description | |
|
|
3371
3374
|
| ---- | ---- | ----------- | -------- |
|
|
3372
|
-
|
|
|
3375
|
+
| filterData | | The Filter Data or the UI Filter Data | |
|
|
3376
|
+
| params | | given parameters to validate the dataset | |
|
|
3373
3377
|
|
|
3374
3378
|
|
|
3375
3379
|
|
|
@@ -3377,17 +3381,17 @@ Validates if the given validator is a In type
|
|
|
3377
3381
|
##### Returns
|
|
3378
3382
|
|
|
3379
3383
|
|
|
3380
|
-
-
|
|
3384
|
+
- a new Filter object structure
|
|
3381
3385
|
|
|
3382
3386
|
|
|
3383
3387
|
|
|
3384
3388
|
|
|
3385
|
-
### dist/filters/helpers/common/
|
|
3389
|
+
### dist/filters/helpers/common/getFiltersByScopes.js
|
|
3386
3390
|
|
|
3387
3391
|
|
|
3388
|
-
####
|
|
3392
|
+
#### getFiltersByScopes(filterData, scopes)
|
|
3389
3393
|
|
|
3390
|
-
|
|
3394
|
+
Filters and gets a Filter Data by the given scopes
|
|
3391
3395
|
|
|
3392
3396
|
|
|
3393
3397
|
|
|
@@ -3396,7 +3400,8 @@ Checks if the given validator is a Null type.
|
|
|
3396
3400
|
|
|
3397
3401
|
| Name | Type | Description | |
|
|
3398
3402
|
| ---- | ---- | ----------- | -------- |
|
|
3399
|
-
|
|
|
3403
|
+
| filterData | | The Filter Data | |
|
|
3404
|
+
| scopes | | collection of scopes types | |
|
|
3400
3405
|
|
|
3401
3406
|
|
|
3402
3407
|
|
|
@@ -3404,17 +3409,17 @@ Checks if the given validator is a Null type.
|
|
|
3404
3409
|
##### Returns
|
|
3405
3410
|
|
|
3406
3411
|
|
|
3407
|
-
-
|
|
3412
|
+
- The new Filter Data
|
|
3408
3413
|
|
|
3409
3414
|
|
|
3410
3415
|
|
|
3411
3416
|
|
|
3412
|
-
### dist/filters/helpers/common/
|
|
3417
|
+
### dist/filters/helpers/common/getFiltersByScopesIds.js
|
|
3413
3418
|
|
|
3414
3419
|
|
|
3415
|
-
####
|
|
3420
|
+
#### getFiltersByScopesIds(filterData, scopes)
|
|
3416
3421
|
|
|
3417
|
-
|
|
3422
|
+
Gets filters from Filter Data by Scopes/Scope IDs.
|
|
3418
3423
|
|
|
3419
3424
|
|
|
3420
3425
|
|
|
@@ -3423,7 +3428,8 @@ Validates if the given validator is a Range type. Range type means the value has
|
|
|
3423
3428
|
|
|
3424
3429
|
| Name | Type | Description | |
|
|
3425
3430
|
| ---- | ---- | ----------- | -------- |
|
|
3426
|
-
|
|
|
3431
|
+
| filterData | | The filter data | |
|
|
3432
|
+
| scopes | | The collection of Scopes/Scope IDs | |
|
|
3427
3433
|
|
|
3428
3434
|
|
|
3429
3435
|
|
|
@@ -3431,17 +3437,17 @@ Validates if the given validator is a Range type. Range type means the value has
|
|
|
3431
3437
|
##### Returns
|
|
3432
3438
|
|
|
3433
3439
|
|
|
3434
|
-
-
|
|
3440
|
+
- a new Filter Data
|
|
3435
3441
|
|
|
3436
3442
|
|
|
3437
3443
|
|
|
3438
3444
|
|
|
3439
|
-
### dist/filters/helpers/common/
|
|
3445
|
+
### dist/filters/helpers/common/getFiltersByVisibility.js
|
|
3440
3446
|
|
|
3441
3447
|
|
|
3442
|
-
####
|
|
3448
|
+
#### getFiltersByVisibility(filterData, scopes)
|
|
3443
3449
|
|
|
3444
|
-
|
|
3450
|
+
Get a new Filter Data by filtering scopes/scope IDs and enabled flags
|
|
3445
3451
|
|
|
3446
3452
|
|
|
3447
3453
|
|
|
@@ -3450,7 +3456,8 @@ Validates if the given validator is a regular type. Regular type means the filte
|
|
|
3450
3456
|
|
|
3451
3457
|
| Name | Type | Description | |
|
|
3452
3458
|
| ---- | ---- | ----------- | -------- |
|
|
3453
|
-
|
|
|
3459
|
+
| filterData | | a Filter Data or UI Filter Data | |
|
|
3460
|
+
| scopes | | a Scopes/Scope IDs array | |
|
|
3454
3461
|
|
|
3455
3462
|
|
|
3456
3463
|
|
|
@@ -3458,17 +3465,17 @@ Validates if the given validator is a regular type. Regular type means the filte
|
|
|
3458
3465
|
##### Returns
|
|
3459
3466
|
|
|
3460
3467
|
|
|
3461
|
-
-
|
|
3468
|
+
- a new Filter Data
|
|
3462
3469
|
|
|
3463
3470
|
|
|
3464
3471
|
|
|
3465
3472
|
|
|
3466
|
-
### dist/filters/helpers/common/
|
|
3473
|
+
### dist/filters/helpers/common/getMergeFiltersSettings.js
|
|
3467
3474
|
|
|
3468
3475
|
|
|
3469
|
-
####
|
|
3476
|
+
#### getMergeFiltersSettings(settings)
|
|
3470
3477
|
|
|
3471
|
-
|
|
3478
|
+
Transforms the given MergeFilters settings object. Adds the missing properties if they do not exist.
|
|
3472
3479
|
|
|
3473
3480
|
|
|
3474
3481
|
|
|
@@ -3477,9 +3484,7 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
|
|
|
3477
3484
|
|
|
3478
3485
|
| Name | Type | Description | |
|
|
3479
3486
|
| ---- | ---- | ----------- | -------- |
|
|
3480
|
-
|
|
|
3481
|
-
| filterData2 | | the filter data to be merged | |
|
|
3482
|
-
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3487
|
+
| settings | | an object to the MergeFilters settings | |
|
|
3483
3488
|
|
|
3484
3489
|
|
|
3485
3490
|
|
|
@@ -3487,13 +3492,17 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
|
|
|
3487
3492
|
##### Returns
|
|
3488
3493
|
|
|
3489
3494
|
|
|
3490
|
-
- a new
|
|
3495
|
+
- a new MergeFilters settings object.
|
|
3491
3496
|
|
|
3492
3497
|
|
|
3493
3498
|
|
|
3494
|
-
#### mergeScopes(scopes1, scopes2, overwriteValues)
|
|
3495
3499
|
|
|
3496
|
-
|
|
3500
|
+
### dist/filters/helpers/common/getParamsToGetFilterSettings.js
|
|
3501
|
+
|
|
3502
|
+
|
|
3503
|
+
#### getParamsToGetFilterSettings(settings)
|
|
3504
|
+
|
|
3505
|
+
Transforms the given ParamsToGetFilter settings object. Adds the missing properties if they do not exist.
|
|
3497
3506
|
|
|
3498
3507
|
|
|
3499
3508
|
|
|
@@ -3502,9 +3511,7 @@ Gets a new scope structure array by merging two scope structures
|
|
|
3502
3511
|
|
|
3503
3512
|
| Name | Type | Description | |
|
|
3504
3513
|
| ---- | ---- | ----------- | -------- |
|
|
3505
|
-
|
|
|
3506
|
-
| scopes2 | | the scope to be merged | |
|
|
3507
|
-
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3514
|
+
| settings | | an object to the ParamsToGetFilter settings | |
|
|
3508
3515
|
|
|
3509
3516
|
|
|
3510
3517
|
|
|
@@ -3512,13 +3519,17 @@ Gets a new scope structure array by merging two scope structures
|
|
|
3512
3519
|
##### Returns
|
|
3513
3520
|
|
|
3514
3521
|
|
|
3515
|
-
- a new
|
|
3522
|
+
- a new ParamsToGetFilter settings object.
|
|
3516
3523
|
|
|
3517
3524
|
|
|
3518
3525
|
|
|
3519
|
-
#### mergeDatasets(datasets1, datasets2, overwriteValues)
|
|
3520
3526
|
|
|
3521
|
-
|
|
3527
|
+
### dist/filters/helpers/common/haveFiltersByDataset.js
|
|
3528
|
+
|
|
3529
|
+
|
|
3530
|
+
#### haveFiltersByDataset(filterData, qrveyid)
|
|
3531
|
+
|
|
3532
|
+
Validates if the filter data has filters by a dataset ID (Qrvey ID).
|
|
3522
3533
|
|
|
3523
3534
|
|
|
3524
3535
|
|
|
@@ -3527,9 +3538,8 @@ Gets a new dataset structure array by merging two dataset structures
|
|
|
3527
3538
|
|
|
3528
3539
|
| Name | Type | Description | |
|
|
3529
3540
|
| ---- | ---- | ----------- | -------- |
|
|
3530
|
-
|
|
|
3531
|
-
|
|
|
3532
|
-
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3541
|
+
| filterData | | the filter data or the UI filter data. | |
|
|
3542
|
+
| qrveyid | | The Qrvey ID | |
|
|
3533
3543
|
|
|
3534
3544
|
|
|
3535
3545
|
|
|
@@ -3537,13 +3547,17 @@ Gets a new dataset structure array by merging two dataset structures
|
|
|
3537
3547
|
##### Returns
|
|
3538
3548
|
|
|
3539
3549
|
|
|
3540
|
-
-
|
|
3550
|
+
- true: the filter data has filters by the Qrvey ID
|
|
3541
3551
|
|
|
3542
3552
|
|
|
3543
3553
|
|
|
3544
|
-
#### mergeFilterss(filters1, filters2, overwriteValues)
|
|
3545
3554
|
|
|
3546
|
-
|
|
3555
|
+
### dist/filters/helpers/common/isBetweenValidator.js
|
|
3556
|
+
|
|
3557
|
+
|
|
3558
|
+
#### isBetweenValidator(validator)
|
|
3559
|
+
|
|
3560
|
+
Validates if the given validator is a Between type
|
|
3547
3561
|
|
|
3548
3562
|
|
|
3549
3563
|
|
|
@@ -3552,9 +3566,7 @@ Gets a new filter structure array by merging two filter structures
|
|
|
3552
3566
|
|
|
3553
3567
|
| Name | Type | Description | |
|
|
3554
3568
|
| ---- | ---- | ----------- | -------- |
|
|
3555
|
-
|
|
|
3556
|
-
| filters2 | | the filter to be merged | |
|
|
3557
|
-
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3569
|
+
| validator | | The validator | |
|
|
3558
3570
|
|
|
3559
3571
|
|
|
3560
3572
|
|
|
@@ -3562,13 +3574,17 @@ Gets a new filter structure array by merging two filter structures
|
|
|
3562
3574
|
##### Returns
|
|
3563
3575
|
|
|
3564
3576
|
|
|
3565
|
-
- a
|
|
3577
|
+
- true: it is a between validator; false: it is not a between validator
|
|
3566
3578
|
|
|
3567
3579
|
|
|
3568
3580
|
|
|
3569
|
-
#### mergeValues(filter1, filter2, overwrite)
|
|
3570
3581
|
|
|
3571
|
-
|
|
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
|
|
3572
3588
|
|
|
3573
3589
|
|
|
3574
3590
|
|
|
@@ -3577,9 +3593,8 @@ Gets a new value structure array by merging two value structures
|
|
|
3577
3593
|
|
|
3578
3594
|
| Name | Type | Description | |
|
|
3579
3595
|
| ---- | ---- | ----------- | -------- |
|
|
3580
|
-
|
|
|
3581
|
-
|
|
|
3582
|
-
| overwrite | | Flag to overwrite or not the filter values | |
|
|
3596
|
+
| column | | The filter column | |
|
|
3597
|
+
| property | | The filter property | |
|
|
3583
3598
|
|
|
3584
3599
|
|
|
3585
3600
|
|
|
@@ -3587,17 +3602,17 @@ Gets a new value structure array by merging two value structures
|
|
|
3587
3602
|
##### Returns
|
|
3588
3603
|
|
|
3589
3604
|
|
|
3590
|
-
-
|
|
3605
|
+
- True if the given property is included from distinct group dates type
|
|
3591
3606
|
|
|
3592
3607
|
|
|
3593
3608
|
|
|
3594
3609
|
|
|
3595
|
-
### dist/filters/helpers/common/
|
|
3610
|
+
### dist/filters/helpers/common/isInValidator.js
|
|
3596
3611
|
|
|
3597
3612
|
|
|
3598
|
-
####
|
|
3613
|
+
#### isInValidator(validator)
|
|
3599
3614
|
|
|
3600
|
-
|
|
3615
|
+
Validates if the given validator is a In type
|
|
3601
3616
|
|
|
3602
3617
|
|
|
3603
3618
|
|
|
@@ -3606,10 +3621,7 @@ Resolves the conditions by given params
|
|
|
3606
3621
|
|
|
3607
3622
|
| Name | Type | Description | |
|
|
3608
3623
|
| ---- | ---- | ----------- | -------- |
|
|
3609
|
-
|
|
|
3610
|
-
| params | | given parameters to validate the dataset | |
|
|
3611
|
-
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
3612
|
-
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
3624
|
+
| validator | | The validator | |
|
|
3613
3625
|
|
|
3614
3626
|
|
|
3615
3627
|
|
|
@@ -3617,17 +3629,17 @@ Resolves the conditions by given params
|
|
|
3617
3629
|
##### Returns
|
|
3618
3630
|
|
|
3619
3631
|
|
|
3620
|
-
- true:
|
|
3632
|
+
- true: it is a In validator; false: it is not a In validator
|
|
3621
3633
|
|
|
3622
3634
|
|
|
3623
3635
|
|
|
3624
3636
|
|
|
3625
|
-
### dist/filters/helpers/common/
|
|
3637
|
+
### dist/filters/helpers/common/isNullValidator.js
|
|
3626
3638
|
|
|
3627
3639
|
|
|
3628
|
-
####
|
|
3640
|
+
#### isNullValidator(validator)
|
|
3629
3641
|
|
|
3630
|
-
|
|
3642
|
+
Checks if the given validator is a Null type.
|
|
3631
3643
|
|
|
3632
3644
|
|
|
3633
3645
|
|
|
@@ -3636,10 +3648,7 @@ Resolves the conditions by given params
|
|
|
3636
3648
|
|
|
3637
3649
|
| Name | Type | Description | |
|
|
3638
3650
|
| ---- | ---- | ----------- | -------- |
|
|
3639
|
-
|
|
|
3640
|
-
| params | | given parameters to validate the filter | |
|
|
3641
|
-
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
3642
|
-
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
3651
|
+
| validator | | The Filter Validator | |
|
|
3643
3652
|
|
|
3644
3653
|
|
|
3645
3654
|
|
|
@@ -3647,17 +3656,17 @@ Resolves the conditions by given params
|
|
|
3647
3656
|
##### Returns
|
|
3648
3657
|
|
|
3649
3658
|
|
|
3650
|
-
-
|
|
3659
|
+
- True: It is a Null Validator; False: It is not a Null Validator.
|
|
3651
3660
|
|
|
3652
3661
|
|
|
3653
3662
|
|
|
3654
3663
|
|
|
3655
|
-
### dist/filters/helpers/common/
|
|
3664
|
+
### dist/filters/helpers/common/isRangeValidator.js
|
|
3656
3665
|
|
|
3657
3666
|
|
|
3658
|
-
####
|
|
3667
|
+
#### isRangeValidator(validator)
|
|
3659
3668
|
|
|
3660
|
-
|
|
3669
|
+
Validates if the given validator is a Range type. Range type means the value has min and max values to filter
|
|
3661
3670
|
|
|
3662
3671
|
|
|
3663
3672
|
|
|
@@ -3666,10 +3675,7 @@ Resolves the conditions by given params
|
|
|
3666
3675
|
|
|
3667
3676
|
| Name | Type | Description | |
|
|
3668
3677
|
| ---- | ---- | ----------- | -------- |
|
|
3669
|
-
|
|
|
3670
|
-
| params | | given parameters to validate the filter | |
|
|
3671
|
-
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
3672
|
-
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
3678
|
+
| validator | | The filter validator | |
|
|
3673
3679
|
|
|
3674
3680
|
|
|
3675
3681
|
|
|
@@ -3677,17 +3683,17 @@ Resolves the conditions by given params
|
|
|
3677
3683
|
##### Returns
|
|
3678
3684
|
|
|
3679
3685
|
|
|
3680
|
-
- true:
|
|
3686
|
+
- true: it is a range validator
|
|
3681
3687
|
|
|
3682
3688
|
|
|
3683
3689
|
|
|
3684
3690
|
|
|
3685
|
-
### dist/filters/helpers/
|
|
3691
|
+
### dist/filters/helpers/common/isRegularValidator.js
|
|
3686
3692
|
|
|
3687
3693
|
|
|
3688
|
-
####
|
|
3694
|
+
#### isRegularValidator(validator)
|
|
3689
3695
|
|
|
3690
|
-
|
|
3696
|
+
Validates if the given validator is a regular type. Regular type means the filter object has a value as string to filter
|
|
3691
3697
|
|
|
3692
3698
|
|
|
3693
3699
|
|
|
@@ -3696,7 +3702,7 @@ Excludes Aggregate Filters in the Flattened UI Filters array
|
|
|
3696
3702
|
|
|
3697
3703
|
| Name | Type | Description | |
|
|
3698
3704
|
| ---- | ---- | ----------- | -------- |
|
|
3699
|
-
|
|
|
3705
|
+
| validator | | The filter validator | |
|
|
3700
3706
|
|
|
3701
3707
|
|
|
3702
3708
|
|
|
@@ -3704,17 +3710,17 @@ Excludes Aggregate Filters in the Flattened UI Filters array
|
|
|
3704
3710
|
##### Returns
|
|
3705
3711
|
|
|
3706
3712
|
|
|
3707
|
-
-
|
|
3713
|
+
- true: it is a range validator
|
|
3708
3714
|
|
|
3709
3715
|
|
|
3710
3716
|
|
|
3711
3717
|
|
|
3712
|
-
### dist/filters/helpers/
|
|
3718
|
+
### dist/filters/helpers/common/mergeFilters.js
|
|
3713
3719
|
|
|
3714
3720
|
|
|
3715
|
-
####
|
|
3721
|
+
#### mergeFilters(filterData1, filterData2, overwriteValues)
|
|
3716
3722
|
|
|
3717
|
-
|
|
3723
|
+
Merge filter data structures in a new one. The first Filter Data passed in the argument has the priority
|
|
3718
3724
|
|
|
3719
3725
|
|
|
3720
3726
|
|
|
@@ -3723,8 +3729,9 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
|
3723
3729
|
|
|
3724
3730
|
| Name | Type | Description | |
|
|
3725
3731
|
| ---- | ---- | ----------- | -------- |
|
|
3726
|
-
|
|
|
3727
|
-
|
|
|
3732
|
+
| filterData1 | | The target filter data | |
|
|
3733
|
+
| filterData2 | | the filter data to be merged | |
|
|
3734
|
+
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3728
3735
|
|
|
3729
3736
|
|
|
3730
3737
|
|
|
@@ -3732,17 +3739,13 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
|
3732
3739
|
##### Returns
|
|
3733
3740
|
|
|
3734
3741
|
|
|
3735
|
-
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3742
|
+
- a new filter data structure
|
|
3739
3743
|
|
|
3740
|
-
### dist/filters/helpers/ui/getFilterPropertyLabel.js
|
|
3741
3744
|
|
|
3742
3745
|
|
|
3743
|
-
####
|
|
3746
|
+
#### mergeScopes(scopes1, scopes2, overwriteValues)
|
|
3744
3747
|
|
|
3745
|
-
Gets
|
|
3748
|
+
Gets a new scope structure array by merging two scope structures
|
|
3746
3749
|
|
|
3747
3750
|
|
|
3748
3751
|
|
|
@@ -3751,7 +3754,9 @@ Gets the label of the filter property
|
|
|
3751
3754
|
|
|
3752
3755
|
| Name | Type | Description | |
|
|
3753
3756
|
| ---- | ---- | ----------- | -------- |
|
|
3754
|
-
|
|
|
3757
|
+
| scopes1 | | the target scope structure | |
|
|
3758
|
+
| scopes2 | | the scope to be merged | |
|
|
3759
|
+
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3755
3760
|
|
|
3756
3761
|
|
|
3757
3762
|
|
|
@@ -3759,17 +3764,13 @@ Gets the label of the filter property
|
|
|
3759
3764
|
##### Returns
|
|
3760
3765
|
|
|
3761
3766
|
|
|
3762
|
-
- a
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3767
|
+
- a new scope structure array
|
|
3766
3768
|
|
|
3767
|
-
### dist/filters/helpers/ui/getOutputFormatByColumn.js
|
|
3768
3769
|
|
|
3769
3770
|
|
|
3770
|
-
####
|
|
3771
|
+
#### mergeDatasets(datasets1, datasets2, overwriteValues)
|
|
3771
3772
|
|
|
3772
|
-
Gets
|
|
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
|
-
-
|
|
3842
|
+
- a new value structure array
|
|
3848
3843
|
|
|
3849
3844
|
|
|
3850
3845
|
|
|
3851
3846
|
|
|
3852
|
-
### dist/filters/helpers/
|
|
3847
|
+
### dist/filters/helpers/common/resolveDatasetConditions.js
|
|
3853
3848
|
|
|
3854
3849
|
|
|
3855
|
-
####
|
|
3850
|
+
#### resolveDatasetConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
|
|
3856
3851
|
|
|
3857
|
-
|
|
3852
|
+
Resolves the conditions by given params
|
|
3858
3853
|
|
|
3859
3854
|
|
|
3860
3855
|
|
|
@@ -3863,8 +3858,10 @@ Filters and gets a UI Flatten Filters by the given scopes
|
|
|
3863
3858
|
|
|
3864
3859
|
| Name | Type | Description | |
|
|
3865
3860
|
| ---- | ---- | ----------- | -------- |
|
|
3866
|
-
|
|
|
3867
|
-
|
|
|
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. | |
|
|
3868
3865
|
|
|
3869
3866
|
|
|
3870
3867
|
|
|
@@ -3872,17 +3869,17 @@ Filters and gets a UI Flatten Filters by the given scopes
|
|
|
3872
3869
|
##### Returns
|
|
3873
3870
|
|
|
3874
3871
|
|
|
3875
|
-
-
|
|
3876
|
-
|
|
3872
|
+
- true: the condition is satisfied
|
|
3877
3873
|
|
|
3878
3874
|
|
|
3879
3875
|
|
|
3880
|
-
### dist/filters/helpers/ui/getUIValues.js
|
|
3881
3876
|
|
|
3877
|
+
### dist/filters/helpers/common/resolveFilterConditions.js
|
|
3882
3878
|
|
|
3883
|
-
#### getUIValues(filter, addEnableds, rankingGroupIndex)
|
|
3884
3879
|
|
|
3880
|
+
#### resolveFilterConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
|
|
3885
3881
|
|
|
3882
|
+
Resolves the conditions by given params
|
|
3886
3883
|
|
|
3887
3884
|
|
|
3888
3885
|
|
|
@@ -3891,9 +3888,10 @@ Filters and gets a UI Flatten Filters by the given scopes
|
|
|
3891
3888
|
|
|
3892
3889
|
| Name | Type | Description | |
|
|
3893
3890
|
| ---- | ---- | ----------- | -------- |
|
|
3894
|
-
| filter | |
|
|
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
|
|