@qrvey/utils 1.2.9-0 → 1.2.9-12
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/cjs/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO.d.ts +5 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO.js +11 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.d.ts +5 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.js +14 -0
- package/dist/cjs/dates/relative/constants/index.d.ts +2 -0
- package/dist/cjs/dates/relative/constants/index.js +2 -0
- package/dist/cjs/dates/relative/interfaces/IRelativeUnit.d.ts +2 -0
- package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js → dates/relative/interfaces/IRelativeUnit.js} +0 -0
- package/dist/cjs/dates/relative/interfaces/IRelativeUnitInfo.d.ts +5 -0
- package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js → dates/relative/interfaces/IRelativeUnitInfo.js} +0 -0
- package/dist/cjs/dates/relative/interfaces/index.d.ts +2 -0
- package/dist/cjs/dates/relative/interfaces/index.js +2 -0
- package/dist/cjs/filters/adapters/FDToFlatUI.js +0 -2
- package/dist/cjs/filters/adapters/FDToUI.js +1 -2
- package/dist/cjs/filters/adapters/UIToFD.js +0 -1
- package/dist/cjs/filters/adapters/UIToFlatUI.js +0 -2
- package/dist/cjs/filters/adapters/UIToOldLogic.js +1 -1
- package/dist/cjs/filters/adapters/flatUIToOldLogic.js +1 -1
- package/dist/cjs/filters/adapters/flatUIToUI.js +0 -2
- package/dist/cjs/filters/adapters/logicToFlatUI.js +0 -2
- package/dist/cjs/filters/helpers/ui/getUIValues.d.ts +2 -1
- package/dist/cjs/filters/helpers/ui/getUIValues.js +36 -17
- package/dist/cjs/filters/interfaces/ui/IFUFilter.d.ts +1 -1
- package/dist/cjs/filters/interfaces/ui/IFUUIValueSettings.d.ts +6 -0
- package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.js → filters/interfaces/ui/IFUUIValueSettings.js} +0 -0
- package/dist/cjs/filters/interfaces/ui/index.d.ts +1 -0
- package/dist/cjs/filters/interfaces/ui/index.js +1 -0
- package/dist/cjs/globalization/helpers/getI18nDateGroupLabel.js +2 -0
- package/dist/cjs/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -16
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.d.ts +2 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +19 -18
- package/dist/cjs/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.d.ts → II18nChartBuilderChartLabels.d.ts} +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/{II18nChartBuilderComplexImage.js → II18nChartBuilderChartLabels.js} +0 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +5 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +15 -11
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +16 -15
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +12 -11
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +16 -12
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +10 -8
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +13 -9
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +19 -16
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +28 -15
- package/dist/cjs/globalization/interfaces/chart_builder/index.d.ts +1 -8
- package/dist/cjs/globalization/interfaces/chart_builder/index.js +1 -8
- package/dist/cjs/globalization/interfaces/common/II18nColumnProperties.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/common/II18nUnits.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/{chart_builder/II18nChartBuilderComplexImageAnalysis.js → common/II18nUnits.js} +0 -0
- package/dist/cjs/globalization/interfaces/common/index.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/common/index.js +2 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardEmptyState.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/{chart_builder/II18nChartBuilderComplexName.js → dashboard/II18nDashboardEmptyState.js} +0 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardMessages.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/{chart_builder/II18nChartBuilderComplexText.js → dashboard/II18nDashboardMessages.js} +0 -0
- package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/dashboard/index.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/filters/II18nRelativeContainer.d.ts +5 -2
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +11 -9
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +21 -11
- package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +3 -2
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +15 -11
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +59 -79
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +35 -26
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +10 -8
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +44 -39
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +1 -1
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/cjs/globalization/labels/common/I18N_COMMON.js +8 -0
- package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +19 -7
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +3 -2
- package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +5 -2
- package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -2
- package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +3 -3
- package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +32 -20
- package/dist/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO.d.ts +5 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO.js +8 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.d.ts +5 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.js +11 -0
- package/dist/dates/relative/constants/index.d.ts +2 -0
- package/dist/dates/relative/constants/index.js +2 -0
- package/dist/dates/relative/interfaces/IRelativeUnit.d.ts +2 -0
- package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js → dates/relative/interfaces/IRelativeUnit.js} +0 -0
- package/dist/dates/relative/interfaces/IRelativeUnitInfo.d.ts +5 -0
- package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js → dates/relative/interfaces/IRelativeUnitInfo.js} +0 -0
- package/dist/dates/relative/interfaces/index.d.ts +2 -0
- package/dist/dates/relative/interfaces/index.js +2 -0
- package/dist/filters/adapters/FDToFlatUI.js +0 -2
- package/dist/filters/adapters/FDToUI.js +1 -2
- package/dist/filters/adapters/UIToFD.js +0 -1
- package/dist/filters/adapters/UIToFlatUI.js +0 -2
- package/dist/filters/adapters/UIToOldLogic.js +1 -1
- package/dist/filters/adapters/flatUIToOldLogic.js +1 -1
- package/dist/filters/adapters/flatUIToUI.js +0 -2
- package/dist/filters/adapters/logicToFlatUI.js +0 -2
- package/dist/filters/helpers/ui/getUIValues.d.ts +2 -1
- package/dist/filters/helpers/ui/getUIValues.js +36 -17
- package/dist/filters/interfaces/ui/IFUFilter.d.ts +1 -1
- package/dist/filters/interfaces/ui/IFUUIValueSettings.d.ts +6 -0
- package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.js → filters/interfaces/ui/IFUUIValueSettings.js} +0 -0
- package/dist/filters/interfaces/ui/index.d.ts +1 -0
- package/dist/filters/interfaces/ui/index.js +1 -0
- package/dist/globalization/helpers/getI18nDateGroupLabel.js +2 -0
- package/dist/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -16
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.d.ts +2 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +19 -18
- package/dist/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.d.ts → II18nChartBuilderChartLabels.d.ts} +1 -1
- package/dist/globalization/interfaces/chart_builder/{II18nChartBuilderComplexImage.js → II18nChartBuilderChartLabels.js} +0 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +5 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +15 -11
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +16 -15
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +12 -11
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +16 -12
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +10 -8
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.d.ts +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +13 -9
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +19 -16
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +1 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +1 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +28 -15
- package/dist/globalization/interfaces/chart_builder/index.d.ts +1 -8
- package/dist/globalization/interfaces/chart_builder/index.js +1 -8
- package/dist/globalization/interfaces/common/II18nColumnProperties.d.ts +1 -0
- package/dist/globalization/interfaces/common/II18nCommon.d.ts +2 -0
- package/dist/globalization/interfaces/common/II18nUnits.d.ts +7 -0
- package/dist/globalization/interfaces/{chart_builder/II18nChartBuilderComplexImageAnalysis.js → common/II18nUnits.js} +0 -0
- package/dist/globalization/interfaces/common/index.d.ts +2 -0
- package/dist/globalization/interfaces/common/index.js +2 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +5 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboardEmptyState.d.ts +5 -0
- package/dist/globalization/interfaces/{chart_builder/II18nChartBuilderComplexName.js → dashboard/II18nDashboardEmptyState.js} +0 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboardMessages.d.ts +6 -0
- package/dist/globalization/interfaces/{chart_builder/II18nChartBuilderComplexText.js → dashboard/II18nDashboardMessages.js} +0 -0
- package/dist/globalization/interfaces/dashboard/index.d.ts +2 -0
- package/dist/globalization/interfaces/dashboard/index.js +2 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
- package/dist/globalization/interfaces/filters/II18nRelativeContainer.d.ts +5 -2
- package/dist/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -0
- package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +11 -9
- package/dist/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +21 -11
- package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +3 -2
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +15 -11
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +59 -79
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +35 -26
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +10 -8
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +44 -39
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +1 -1
- package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/globalization/labels/common/I18N_COMMON.js +8 -0
- package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +19 -7
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +3 -2
- package/dist/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +5 -2
- package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -2
- package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +3 -3
- package/dist/globalization/labels/panel/I18N_PANEL.js +32 -20
- package/package.json +1 -1
- package/src/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.ts +1 -0
- package/src/dates/relative/constants/RELATIVE_UNIT_INFO.ts +11 -0
- package/src/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.ts +13 -0
- package/src/dates/relative/constants/index.ts +2 -0
- package/src/dates/relative/interfaces/IRelativeUnit.ts +3 -0
- package/src/dates/relative/interfaces/IRelativeUnitInfo.ts +7 -0
- package/src/dates/relative/interfaces/index.ts +2 -0
- package/src/filters/adapters/FDToFlatUI.ts +0 -2
- package/src/filters/adapters/FDToUI.ts +0 -2
- package/src/filters/adapters/UIToFD.ts +0 -1
- package/src/filters/adapters/UIToFlatUI.ts +0 -2
- package/src/filters/adapters/UIToOldLogic.ts +1 -1
- package/src/filters/adapters/flatUIToOldLogic.ts +1 -1
- package/src/filters/adapters/flatUIToUI.ts +0 -2
- package/src/filters/adapters/logicToFlatUI.ts +1 -3
- package/src/filters/helpers/ui/getUIValues.ts +39 -18
- package/src/filters/interfaces/ui/IFUFilter.ts +1 -1
- package/src/filters/interfaces/ui/IFUUIValueSettings.ts +7 -0
- package/src/filters/interfaces/ui/index.ts +1 -0
- package/src/globalization/helpers/getI18nDateGroupLabel.ts +2 -0
- package/src/globalization/helpers/getReverseI18nGroupLabel.ts +2 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.ts +2 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilder.ts +2 -16
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.ts +2 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.ts +19 -18
- package/src/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.ts → II18nChartBuilderChartLabels.ts} +1 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.ts +5 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.ts +15 -11
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.ts +16 -15
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.ts +12 -11
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.ts +16 -12
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.ts +10 -8
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.ts +1 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderSorting.ts +13 -9
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.ts +19 -16
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.ts +1 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.ts +1 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.ts +28 -15
- package/src/globalization/interfaces/chart_builder/index.ts +1 -8
- package/src/globalization/interfaces/common/II18nColumnProperties.ts +1 -0
- package/src/globalization/interfaces/common/II18nCommon.ts +2 -0
- package/src/globalization/interfaces/common/II18nUnits.ts +7 -0
- package/src/globalization/interfaces/common/index.ts +3 -0
- package/src/globalization/interfaces/dashboard/II18nDashboard.ts +5 -0
- package/src/globalization/interfaces/dashboard/II18nDashboardEmptyState.ts +5 -0
- package/src/globalization/interfaces/dashboard/II18nDashboardMessages.ts +6 -0
- package/src/globalization/interfaces/dashboard/index.ts +2 -0
- package/src/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.ts +1 -0
- package/src/globalization/interfaces/filters/II18nRelativeContainer.ts +5 -2
- package/src/globalization/interfaces/filters/II18nValueContainer.ts +1 -0
- package/src/globalization/interfaces/panel/II18nPanelErrors.ts +11 -9
- package/src/globalization/interfaces/panel/II18nPanelSummaryViews.ts +21 -11
- package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +3 -2
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.ts +15 -11
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +61 -82
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +36 -27
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.ts +10 -8
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.ts +44 -39
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.ts +1 -1
- package/src/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.ts +1 -0
- package/src/globalization/labels/common/I18N_COMMON.ts +8 -0
- package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +19 -7
- package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +3 -2
- package/src/globalization/labels/filters/I18N_RELATIVE_CONTAINER.ts +5 -2
- package/src/globalization/labels/filters/I18N_VALUE_CONTAINER.ts +3 -2
- package/src/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.ts +3 -3
- package/src/globalization/labels/panel/I18N_PANEL.ts +32 -20
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +0 -6
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +0 -2
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +0 -5
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +0 -6
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +0 -5
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +0 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.ts +0 -6
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.ts +0 -6
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.ts +0 -6
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-
|
|
1
|
+
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-12*
|
|
2
2
|
|
|
3
3
|
> Helper, Utils for all Qrvey Projects
|
|
4
4
|
|
|
@@ -2153,33 +2153,6 @@ Gets the length of the given array.
|
|
|
2153
2153
|
|
|
2154
2154
|
|
|
2155
2155
|
|
|
2156
|
-
### dist/general/string/capitalize.js
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
#### capitalize(text)
|
|
2160
|
-
|
|
2161
|
-
Upper case the first letter of a given text
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
##### Parameters
|
|
2167
|
-
|
|
2168
|
-
| Name | Type | Description | |
|
|
2169
|
-
| ---- | ---- | ----------- | -------- |
|
|
2170
|
-
| text | `String` | | |
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
##### Returns
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
- `String` a capitalized text
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
2156
|
### dist/general/object/cloneDeep.js
|
|
2184
2157
|
|
|
2185
2158
|
|
|
@@ -2592,12 +2565,12 @@ serialize object to url param
|
|
|
2592
2565
|
|
|
2593
2566
|
|
|
2594
2567
|
|
|
2595
|
-
### dist/
|
|
2568
|
+
### dist/general/string/capitalize.js
|
|
2596
2569
|
|
|
2597
2570
|
|
|
2598
|
-
####
|
|
2571
|
+
#### capitalize(text)
|
|
2599
2572
|
|
|
2600
|
-
|
|
2573
|
+
Upper case the first letter of a given text
|
|
2601
2574
|
|
|
2602
2575
|
|
|
2603
2576
|
|
|
@@ -2606,7 +2579,7 @@ Get an string of the properties of the given column.
|
|
|
2606
2579
|
|
|
2607
2580
|
| Name | Type | Description | |
|
|
2608
2581
|
| ---- | ---- | ----------- | -------- |
|
|
2609
|
-
|
|
|
2582
|
+
| text | `String` | | |
|
|
2610
2583
|
|
|
2611
2584
|
|
|
2612
2585
|
|
|
@@ -2614,52 +2587,53 @@ Get an string of the properties of the given column.
|
|
|
2614
2587
|
##### Returns
|
|
2615
2588
|
|
|
2616
2589
|
|
|
2617
|
-
-
|
|
2618
|
-
|
|
2590
|
+
- `String` a capitalized text
|
|
2619
2591
|
|
|
2620
2592
|
|
|
2621
2593
|
|
|
2622
|
-
### dist/stencil/decorators/Config.js
|
|
2623
2594
|
|
|
2595
|
+
### dist/qrvey/helpers/getColumnsLabel.js
|
|
2624
2596
|
|
|
2625
|
-
#### Config()
|
|
2626
2597
|
|
|
2627
|
-
|
|
2628
|
-
Get and Parse the Widget Configuration Object and also provide the ability to get properties in different case styles such as: lower, upper, camel and pascal
|
|
2629
|
-
But for this, is required ask for a property in `snake_case` style
|
|
2598
|
+
#### getColumnLabels(column)
|
|
2630
2599
|
|
|
2600
|
+
Get an string of the properties of the given column.
|
|
2631
2601
|
|
|
2632
2602
|
|
|
2633
2603
|
|
|
2634
2604
|
|
|
2605
|
+
##### Parameters
|
|
2635
2606
|
|
|
2636
|
-
|
|
2607
|
+
| Name | Type | Description | |
|
|
2608
|
+
| ---- | ---- | ----------- | -------- |
|
|
2609
|
+
| column | | The column | |
|
|
2637
2610
|
|
|
2638
|
-
```javascript
|
|
2639
|
-
\ @Config() @Prop() settings;
|
|
2640
2611
|
|
|
2641
|
-
someMethod() {
|
|
2642
|
-
this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
2643
|
-
}
|
|
2644
|
-
```
|
|
2645
2612
|
|
|
2646
2613
|
|
|
2647
2614
|
##### Returns
|
|
2648
2615
|
|
|
2649
2616
|
|
|
2650
|
-
-
|
|
2617
|
+
- an string with the property, aggregate or calculation label.
|
|
2651
2618
|
|
|
2652
2619
|
|
|
2653
2620
|
|
|
2654
2621
|
|
|
2655
|
-
### dist/
|
|
2622
|
+
### dist/services/api/getAllDatasets.api.js
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
#### getAllDatasets(qrveyids)
|
|
2626
|
+
|
|
2627
|
+
Get a dataset list from a collection of Qrvey IDs
|
|
2656
2628
|
|
|
2657
2629
|
|
|
2658
|
-
#### createRef()
|
|
2659
2630
|
|
|
2660
|
-
lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
|
|
2661
2631
|
|
|
2632
|
+
##### Parameters
|
|
2662
2633
|
|
|
2634
|
+
| Name | Type | Description | |
|
|
2635
|
+
| ---- | ---- | ----------- | -------- |
|
|
2636
|
+
| qrveyids | | Collection of Qrvey IDs | |
|
|
2663
2637
|
|
|
2664
2638
|
|
|
2665
2639
|
|
|
@@ -2667,21 +2641,17 @@ lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom
|
|
|
2667
2641
|
##### Returns
|
|
2668
2642
|
|
|
2669
2643
|
|
|
2670
|
-
-
|
|
2644
|
+
- a promise
|
|
2671
2645
|
|
|
2672
2646
|
|
|
2673
2647
|
|
|
2674
2648
|
|
|
2675
|
-
### dist/
|
|
2649
|
+
### dist/services/api/getAllQrveys.api.js
|
|
2676
2650
|
|
|
2677
2651
|
|
|
2678
|
-
####
|
|
2652
|
+
#### getAllQrveys(config, params)
|
|
2679
2653
|
|
|
2680
|
-
|
|
2681
|
-
- In case _cfg_ is a string, first try to make a JSON parse in other case
|
|
2682
|
-
try to find this string as a variable on Windows object
|
|
2683
|
-
- If _cfg_ is a fuction, tis is invoked and parsed
|
|
2684
|
-
- Finally, if is an object, _cfg_ is inmediatly returned
|
|
2654
|
+
POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
|
|
2685
2655
|
|
|
2686
2656
|
|
|
2687
2657
|
|
|
@@ -2690,7 +2660,8 @@ try to find this string as a variable on Windows object
|
|
|
2690
2660
|
|
|
2691
2661
|
| Name | Type | Description | |
|
|
2692
2662
|
| ---- | ---- | ----------- | -------- |
|
|
2693
|
-
|
|
|
2663
|
+
| config | | Configuration | |
|
|
2664
|
+
| params | | Object for getting precise data | |
|
|
2694
2665
|
|
|
2695
2666
|
|
|
2696
2667
|
|
|
@@ -2703,12 +2674,12 @@ try to find this string as a variable on Windows object
|
|
|
2703
2674
|
|
|
2704
2675
|
|
|
2705
2676
|
|
|
2706
|
-
### dist/services/api/
|
|
2677
|
+
### dist/services/api/getDatasetColumns.api.js
|
|
2707
2678
|
|
|
2708
2679
|
|
|
2709
|
-
####
|
|
2680
|
+
#### getDatasetColumns(qrveyid)
|
|
2710
2681
|
|
|
2711
|
-
Get a dataset
|
|
2682
|
+
Get a dataset by Qrvey ID
|
|
2712
2683
|
|
|
2713
2684
|
|
|
2714
2685
|
|
|
@@ -2717,7 +2688,7 @@ Get a dataset list from a collection of Qrvey IDs
|
|
|
2717
2688
|
|
|
2718
2689
|
| Name | Type | Description | |
|
|
2719
2690
|
| ---- | ---- | ----------- | -------- |
|
|
2720
|
-
|
|
|
2691
|
+
| qrveyid | | The Qrvey ID | |
|
|
2721
2692
|
|
|
2722
2693
|
|
|
2723
2694
|
|
|
@@ -2730,24 +2701,29 @@ Get a dataset list from a collection of Qrvey IDs
|
|
|
2730
2701
|
|
|
2731
2702
|
|
|
2732
2703
|
|
|
2733
|
-
### dist/
|
|
2704
|
+
### dist/stencil/decorators/Config.js
|
|
2734
2705
|
|
|
2735
2706
|
|
|
2736
|
-
####
|
|
2707
|
+
#### Config()
|
|
2737
2708
|
|
|
2738
|
-
|
|
2709
|
+
Stencil.js - Prop Decorator
|
|
2710
|
+
Get and Parse the Widget Configuration Object and also provide the ability to get properties in different case styles such as: lower, upper, camel and pascal
|
|
2711
|
+
But for this, is required ask for a property in `snake_case` style
|
|
2739
2712
|
|
|
2740
2713
|
|
|
2741
2714
|
|
|
2742
2715
|
|
|
2743
|
-
##### Parameters
|
|
2744
2716
|
|
|
2745
|
-
| Name | Type | Description | |
|
|
2746
|
-
| ---- | ---- | ----------- | -------- |
|
|
2747
|
-
| config | | Configuration | |
|
|
2748
|
-
| params | | Object for getting precise data | |
|
|
2749
2717
|
|
|
2718
|
+
##### Examples
|
|
2719
|
+
|
|
2720
|
+
```javascript
|
|
2721
|
+
\ @Config() @Prop() settings;
|
|
2750
2722
|
|
|
2723
|
+
someMethod() {
|
|
2724
|
+
this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
2725
|
+
}
|
|
2726
|
+
```
|
|
2751
2727
|
|
|
2752
2728
|
|
|
2753
2729
|
##### Returns
|
|
@@ -2758,12 +2734,36 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
|
|
|
2758
2734
|
|
|
2759
2735
|
|
|
2760
2736
|
|
|
2761
|
-
### dist/
|
|
2737
|
+
### dist/stencil/util/createRef.js
|
|
2762
2738
|
|
|
2763
2739
|
|
|
2764
|
-
####
|
|
2740
|
+
#### createRef()
|
|
2765
2741
|
|
|
2766
|
-
|
|
2742
|
+
lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
|
|
2749
|
+
##### Returns
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
- function - Function to use in ref prop in html elements
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
### dist/stencil/util/getConfig.js
|
|
2758
|
+
|
|
2759
|
+
|
|
2760
|
+
#### getConfig(cfg)
|
|
2761
|
+
|
|
2762
|
+
verify the Config object type and try to return a parsed Object
|
|
2763
|
+
- In case _cfg_ is a string, first try to make a JSON parse in other case
|
|
2764
|
+
try to find this string as a variable on Windows object
|
|
2765
|
+
- If _cfg_ is a fuction, tis is invoked and parsed
|
|
2766
|
+
- Finally, if is an object, _cfg_ is inmediatly returned
|
|
2767
2767
|
|
|
2768
2768
|
|
|
2769
2769
|
|
|
@@ -2772,7 +2772,7 @@ Get a dataset by Qrvey ID
|
|
|
2772
2772
|
|
|
2773
2773
|
| Name | Type | Description | |
|
|
2774
2774
|
| ---- | ---- | ----------- | -------- |
|
|
2775
|
-
|
|
|
2775
|
+
| cfg | | | |
|
|
2776
2776
|
|
|
2777
2777
|
|
|
2778
2778
|
|
|
@@ -2780,7 +2780,7 @@ Get a dataset by Qrvey ID
|
|
|
2780
2780
|
##### Returns
|
|
2781
2781
|
|
|
2782
2782
|
|
|
2783
|
-
-
|
|
2783
|
+
- `Void`
|
|
2784
2784
|
|
|
2785
2785
|
|
|
2786
2786
|
|
|
@@ -3244,12 +3244,12 @@ Returns a filter builder config object by a any given config
|
|
|
3244
3244
|
|
|
3245
3245
|
|
|
3246
3246
|
|
|
3247
|
-
### dist/filters/helpers/
|
|
3247
|
+
### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
|
|
3248
3248
|
|
|
3249
3249
|
|
|
3250
|
-
####
|
|
3250
|
+
#### excludeUIFiltersByAggregate(uFilters)
|
|
3251
3251
|
|
|
3252
|
-
|
|
3252
|
+
Excludes Aggregate Filters in the Flattened UI Filters array
|
|
3253
3253
|
|
|
3254
3254
|
|
|
3255
3255
|
|
|
@@ -3258,8 +3258,7 @@ Validates if both filters are the same
|
|
|
3258
3258
|
|
|
3259
3259
|
| Name | Type | Description | |
|
|
3260
3260
|
| ---- | ---- | ----------- | -------- |
|
|
3261
|
-
|
|
|
3262
|
-
| filter2 | | filter 2 | |
|
|
3261
|
+
| uFilters | | Collection of Flat UI Filters | |
|
|
3263
3262
|
|
|
3264
3263
|
|
|
3265
3264
|
|
|
@@ -3267,17 +3266,17 @@ Validates if both filters are the same
|
|
|
3267
3266
|
##### Returns
|
|
3268
3267
|
|
|
3269
3268
|
|
|
3270
|
-
-
|
|
3269
|
+
- a new Flat UI Filters that were excluded the aggregate filters
|
|
3271
3270
|
|
|
3272
3271
|
|
|
3273
3272
|
|
|
3274
3273
|
|
|
3275
|
-
### dist/filters/helpers/
|
|
3274
|
+
### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
|
|
3276
3275
|
|
|
3277
3276
|
|
|
3278
|
-
####
|
|
3277
|
+
#### excludeUIFlatFiltersByScopes(uFilters, scopes)
|
|
3279
3278
|
|
|
3280
|
-
Excludes
|
|
3279
|
+
Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
3281
3280
|
|
|
3282
3281
|
|
|
3283
3282
|
|
|
@@ -3286,7 +3285,8 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
|
|
|
3286
3285
|
|
|
3287
3286
|
| Name | Type | Description | |
|
|
3288
3287
|
| ---- | ---- | ----------- | -------- |
|
|
3289
|
-
|
|
|
3288
|
+
| uFilters | | The Flatten UI Filters | |
|
|
3289
|
+
| scopes | | collection of scopes types | |
|
|
3290
3290
|
|
|
3291
3291
|
|
|
3292
3292
|
|
|
@@ -3294,26 +3294,17 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
|
|
|
3294
3294
|
##### Returns
|
|
3295
3295
|
|
|
3296
3296
|
|
|
3297
|
-
- The new
|
|
3297
|
+
- The new array of UI Flattened filters
|
|
3298
3298
|
|
|
3299
3299
|
|
|
3300
3300
|
|
|
3301
3301
|
|
|
3302
|
-
### dist/filters/helpers/
|
|
3302
|
+
### dist/filters/helpers/ui/getFilterPropertyLabel.js
|
|
3303
3303
|
|
|
3304
3304
|
|
|
3305
|
-
####
|
|
3305
|
+
#### getFilterPropertyLabel(filter)
|
|
3306
3306
|
|
|
3307
|
-
|
|
3308
|
-
The validation to filter the stored filter is depending on:
|
|
3309
|
-
- Column
|
|
3310
|
-
- Qrvey ID
|
|
3311
|
-
- Scope type
|
|
3312
|
-
- Scope ID
|
|
3313
|
-
- Panel ID
|
|
3314
|
-
- Validator type
|
|
3315
|
-
- Property type
|
|
3316
|
-
- Enabled flags
|
|
3307
|
+
Gets the label of the filter property
|
|
3317
3308
|
|
|
3318
3309
|
|
|
3319
3310
|
|
|
@@ -3322,8 +3313,7 @@ The validation to filter the stored filter is depending on:
|
|
|
3322
3313
|
|
|
3323
3314
|
| Name | Type | Description | |
|
|
3324
3315
|
| ---- | ---- | ----------- | -------- |
|
|
3325
|
-
|
|
|
3326
|
-
| params | | given parameters to validate the filter data | |
|
|
3316
|
+
| filter | | The UI Filter | |
|
|
3327
3317
|
|
|
3328
3318
|
|
|
3329
3319
|
|
|
@@ -3331,17 +3321,17 @@ The validation to filter the stored filter is depending on:
|
|
|
3331
3321
|
##### Returns
|
|
3332
3322
|
|
|
3333
3323
|
|
|
3334
|
-
- a
|
|
3324
|
+
- a string of the filter property label
|
|
3335
3325
|
|
|
3336
3326
|
|
|
3337
3327
|
|
|
3338
3328
|
|
|
3339
|
-
### dist/filters/helpers/
|
|
3329
|
+
### dist/filters/helpers/ui/getOutputFormatByColumn.js
|
|
3340
3330
|
|
|
3341
3331
|
|
|
3342
|
-
####
|
|
3332
|
+
#### getOutputFormatByColumn(column, datasets)
|
|
3343
3333
|
|
|
3344
|
-
|
|
3334
|
+
Gets output format object from Datasets by the given column. Item of the datasets array must have outputformat item in order to be returned
|
|
3345
3335
|
|
|
3346
3336
|
|
|
3347
3337
|
|
|
@@ -3350,8 +3340,8 @@ Excludes and returns a filter data without filters by the given scopes
|
|
|
3350
3340
|
|
|
3351
3341
|
| Name | Type | Description | |
|
|
3352
3342
|
| ---- | ---- | ----------- | -------- |
|
|
3353
|
-
|
|
|
3354
|
-
|
|
|
3343
|
+
| column | | The column | |
|
|
3344
|
+
| datasets | | array of datasets | |
|
|
3355
3345
|
|
|
3356
3346
|
|
|
3357
3347
|
|
|
@@ -3359,91 +3349,84 @@ Excludes and returns a filter data without filters by the given scopes
|
|
|
3359
3349
|
##### Returns
|
|
3360
3350
|
|
|
3361
3351
|
|
|
3362
|
-
- The
|
|
3363
|
-
|
|
3352
|
+
- The output format object
|
|
3364
3353
|
|
|
3365
3354
|
|
|
3366
3355
|
|
|
3367
|
-
### dist/filters/helpers/common/getFilterColumnLabel.js
|
|
3368
3356
|
|
|
3357
|
+
### dist/filters/helpers/ui/getUIFlatFilterByParams.js
|
|
3369
3358
|
|
|
3370
|
-
#### getFilterColumnLabel(column)
|
|
3371
3359
|
|
|
3372
|
-
|
|
3360
|
+
#### getUIFlatFilterByParams()
|
|
3373
3361
|
|
|
3362
|
+
Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
|
|
3363
|
+
The validation to filter the stored filter is depending on:
|
|
3364
|
+
- Column
|
|
3365
|
+
- Qrvey ID,
|
|
3366
|
+
- Scope type
|
|
3367
|
+
- Scope ID
|
|
3368
|
+
- Panel ID
|
|
3369
|
+
- Validator type
|
|
3370
|
+
- Property type
|
|
3374
3371
|
|
|
3375
3372
|
|
|
3376
3373
|
|
|
3377
|
-
##### Parameters
|
|
3378
3374
|
|
|
3379
|
-
| Name | Type | Description | |
|
|
3380
|
-
| ---- | ---- | ----------- | -------- |
|
|
3381
|
-
| column | | The filter column | |
|
|
3382
3375
|
|
|
3383
3376
|
|
|
3377
|
+
##### Returns
|
|
3384
3378
|
|
|
3385
3379
|
|
|
3386
|
-
|
|
3380
|
+
- The index of the uFilter array or the Filter object s
|
|
3387
3381
|
|
|
3388
3382
|
|
|
3389
|
-
- an string with the property, aggregate or calculation label.
|
|
3390
3383
|
|
|
3391
3384
|
|
|
3385
|
+
### dist/filters/helpers/ui/getUIFlatFiltersByParams.js
|
|
3392
3386
|
|
|
3393
3387
|
|
|
3394
|
-
|
|
3388
|
+
#### getUIFlatFiltersByParams()
|
|
3395
3389
|
|
|
3390
|
+
Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
|
|
3391
|
+
The validation to filter the stored filter is depending on:
|
|
3392
|
+
- Column
|
|
3393
|
+
- Qrvey ID,
|
|
3394
|
+
- Scope type
|
|
3395
|
+
- Scope ID
|
|
3396
|
+
- Panel ID
|
|
3397
|
+
- Validator type
|
|
3398
|
+
- Property type
|
|
3399
|
+
- Enabled flags
|
|
3396
3400
|
|
|
3397
|
-
#### getFilterLabel(filter)
|
|
3398
3401
|
|
|
3399
|
-
Gets the Filter Label + Column label
|
|
3400
3402
|
|
|
3401
3403
|
|
|
3402
3404
|
|
|
3403
3405
|
|
|
3404
|
-
#####
|
|
3406
|
+
##### Returns
|
|
3405
3407
|
|
|
3406
|
-
| Name | Type | Description | |
|
|
3407
|
-
| ---- | ---- | ----------- | -------- |
|
|
3408
|
-
| filter | | the UI filter | |
|
|
3409
3408
|
|
|
3409
|
+
- The index of the uFilter array or the Filter object s
|
|
3410
3410
|
|
|
3411
3411
|
|
|
3412
3412
|
|
|
3413
|
-
##### Returns
|
|
3414
3413
|
|
|
3414
|
+
### dist/filters/helpers/ui/getUIFlatFiltersByScopes.js
|
|
3415
3415
|
|
|
3416
|
-
- a sring label
|
|
3417
3416
|
|
|
3417
|
+
#### getUIFlatFiltersByScopes(uFilters, scopes)
|
|
3418
3418
|
|
|
3419
|
+
Filters and gets a UI Flatten Filters by the given scopes
|
|
3419
3420
|
|
|
3420
3421
|
|
|
3421
|
-
### dist/filters/helpers/common/getFilterid.js
|
|
3422
3422
|
|
|
3423
3423
|
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
Get the Filter ID by the filter structure
|
|
3427
|
-
The order of the epression ID is:
|
|
3428
|
-
- Scope Type
|
|
3429
|
-
- scopeid
|
|
3430
|
-
- qrveyid
|
|
3431
|
-
- panelid
|
|
3432
|
-
- columnid
|
|
3433
|
-
- validator
|
|
3434
|
-
- property
|
|
3435
|
-
- Column Aggregate
|
|
3436
|
-
- Column Calculation
|
|
3437
|
-
- Optional Index
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
##### Parameters
|
|
3424
|
+
##### Parameters
|
|
3443
3425
|
|
|
3444
3426
|
| Name | Type | Description | |
|
|
3445
3427
|
| ---- | ---- | ----------- | -------- |
|
|
3446
|
-
|
|
|
3428
|
+
| uFilters | | The Flatten UI Filters | |
|
|
3429
|
+
| scopes | | collection of scopes types | |
|
|
3447
3430
|
|
|
3448
3431
|
|
|
3449
3432
|
|
|
@@ -3451,17 +3434,17 @@ The order of the epression ID is:
|
|
|
3451
3434
|
##### Returns
|
|
3452
3435
|
|
|
3453
3436
|
|
|
3454
|
-
-
|
|
3437
|
+
- The new array of UI Flattened filters
|
|
3455
3438
|
|
|
3456
3439
|
|
|
3457
3440
|
|
|
3458
3441
|
|
|
3459
|
-
### dist/filters/helpers/
|
|
3442
|
+
### dist/filters/helpers/ui/getUIValues.js
|
|
3460
3443
|
|
|
3461
3444
|
|
|
3462
|
-
####
|
|
3445
|
+
#### getUIValues(filter, addEnableds, rankingGroupIndex)
|
|
3446
|
+
|
|
3463
3447
|
|
|
3464
|
-
Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
|
|
3465
3448
|
|
|
3466
3449
|
|
|
3467
3450
|
|
|
@@ -3470,7 +3453,9 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
|
|
|
3470
3453
|
|
|
3471
3454
|
| Name | Type | Description | |
|
|
3472
3455
|
| ---- | ---- | ----------- | -------- |
|
|
3473
|
-
|
|
|
3456
|
+
| filter | | | |
|
|
3457
|
+
| addEnableds | | | |
|
|
3458
|
+
| rankingGroupIndex | | | |
|
|
3474
3459
|
|
|
3475
3460
|
|
|
3476
3461
|
|
|
@@ -3478,26 +3463,17 @@ Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggr
|
|
|
3478
3463
|
##### Returns
|
|
3479
3464
|
|
|
3480
3465
|
|
|
3481
|
-
-
|
|
3466
|
+
-
|
|
3482
3467
|
|
|
3483
3468
|
|
|
3484
3469
|
|
|
3485
3470
|
|
|
3486
|
-
### dist/filters/helpers/
|
|
3471
|
+
### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
|
|
3487
3472
|
|
|
3488
3473
|
|
|
3489
|
-
####
|
|
3474
|
+
#### resolveUIFlatFilterByParams(filter, params)
|
|
3490
3475
|
|
|
3491
|
-
|
|
3492
|
-
The validation to filter the stored filter is depending on:
|
|
3493
|
-
- Column
|
|
3494
|
-
- Qrvey ID
|
|
3495
|
-
- Scope type
|
|
3496
|
-
- Scope ID
|
|
3497
|
-
- Panel ID
|
|
3498
|
-
- Validator type
|
|
3499
|
-
- Property type
|
|
3500
|
-
- Enabled flags
|
|
3476
|
+
Resolves conditions between UI flattened filter and given parameters
|
|
3501
3477
|
|
|
3502
3478
|
|
|
3503
3479
|
|
|
@@ -3506,8 +3482,8 @@ The validation to filter the stored filter is depending on:
|
|
|
3506
3482
|
|
|
3507
3483
|
| Name | Type | Description | |
|
|
3508
3484
|
| ---- | ---- | ----------- | -------- |
|
|
3509
|
-
|
|
|
3510
|
-
| params | |
|
|
3485
|
+
| filter | | UI Flatten Filter | |
|
|
3486
|
+
| params | | Parameters to validate | |
|
|
3511
3487
|
|
|
3512
3488
|
|
|
3513
3489
|
|
|
@@ -3515,17 +3491,17 @@ The validation to filter the stored filter is depending on:
|
|
|
3515
3491
|
##### Returns
|
|
3516
3492
|
|
|
3517
3493
|
|
|
3518
|
-
-
|
|
3494
|
+
- true: the conditions are satisfied.
|
|
3519
3495
|
|
|
3520
3496
|
|
|
3521
3497
|
|
|
3522
3498
|
|
|
3523
|
-
### dist/filters/helpers/common/
|
|
3499
|
+
### dist/filters/helpers/common/areFiltersEquals.js
|
|
3524
3500
|
|
|
3525
3501
|
|
|
3526
|
-
####
|
|
3502
|
+
#### areFiltersEquals(filter1, filter2)
|
|
3527
3503
|
|
|
3528
|
-
|
|
3504
|
+
Validates if both filters are the same
|
|
3529
3505
|
|
|
3530
3506
|
|
|
3531
3507
|
|
|
@@ -3534,8 +3510,8 @@ Filters and gets a Filter Data by the given scopes
|
|
|
3534
3510
|
|
|
3535
3511
|
| Name | Type | Description | |
|
|
3536
3512
|
| ---- | ---- | ----------- | -------- |
|
|
3537
|
-
|
|
|
3538
|
-
|
|
|
3513
|
+
| filter1 | | filter 1 | |
|
|
3514
|
+
| filter2 | | filter 2 | |
|
|
3539
3515
|
|
|
3540
3516
|
|
|
3541
3517
|
|
|
@@ -3543,17 +3519,17 @@ Filters and gets a Filter Data by the given scopes
|
|
|
3543
3519
|
##### Returns
|
|
3544
3520
|
|
|
3545
3521
|
|
|
3546
|
-
-
|
|
3522
|
+
- true: the filters are equal; false: the filters are NOT equal
|
|
3547
3523
|
|
|
3548
3524
|
|
|
3549
3525
|
|
|
3550
3526
|
|
|
3551
|
-
### dist/filters/helpers/common/
|
|
3527
|
+
### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
|
|
3552
3528
|
|
|
3553
3529
|
|
|
3554
|
-
####
|
|
3530
|
+
#### excludeFiltersByAggregateColumn(filterData)
|
|
3555
3531
|
|
|
3556
|
-
|
|
3532
|
+
Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
|
|
3557
3533
|
|
|
3558
3534
|
|
|
3559
3535
|
|
|
@@ -3562,8 +3538,7 @@ Gets filters from Filter Data by Scopes/Scope IDs.
|
|
|
3562
3538
|
|
|
3563
3539
|
| Name | Type | Description | |
|
|
3564
3540
|
| ---- | ---- | ----------- | -------- |
|
|
3565
|
-
| filterData | | The filter data | |
|
|
3566
|
-
| scopes | | The collection of Scopes/Scope IDs | |
|
|
3541
|
+
| filterData | | The filter data object | |
|
|
3567
3542
|
|
|
3568
3543
|
|
|
3569
3544
|
|
|
@@ -3571,17 +3546,26 @@ Gets filters from Filter Data by Scopes/Scope IDs.
|
|
|
3571
3546
|
##### Returns
|
|
3572
3547
|
|
|
3573
3548
|
|
|
3574
|
-
-
|
|
3549
|
+
- The new filter data object that were excluded the aggregate filters
|
|
3575
3550
|
|
|
3576
3551
|
|
|
3577
3552
|
|
|
3578
3553
|
|
|
3579
|
-
### dist/filters/helpers/common/
|
|
3554
|
+
### dist/filters/helpers/common/excludeFiltersByParams.js
|
|
3580
3555
|
|
|
3581
3556
|
|
|
3582
|
-
####
|
|
3557
|
+
#### excludeFiltersByParams(filterData, params)
|
|
3583
3558
|
|
|
3584
|
-
|
|
3559
|
+
Excludes filters from the given Filters.
|
|
3560
|
+
The validation to filter the stored filter is depending on:
|
|
3561
|
+
- Column
|
|
3562
|
+
- Qrvey ID
|
|
3563
|
+
- Scope type
|
|
3564
|
+
- Scope ID
|
|
3565
|
+
- Panel ID
|
|
3566
|
+
- Validator type
|
|
3567
|
+
- Property type
|
|
3568
|
+
- Enabled flags
|
|
3585
3569
|
|
|
3586
3570
|
|
|
3587
3571
|
|
|
@@ -3590,8 +3574,8 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
|
|
|
3590
3574
|
|
|
3591
3575
|
| Name | Type | Description | |
|
|
3592
3576
|
| ---- | ---- | ----------- | -------- |
|
|
3593
|
-
| filterData | |
|
|
3594
|
-
|
|
|
3577
|
+
| filterData | | The Filter Data or the UI Filter Data | |
|
|
3578
|
+
| params | | given parameters to validate the filter data | |
|
|
3595
3579
|
|
|
3596
3580
|
|
|
3597
3581
|
|
|
@@ -3599,17 +3583,17 @@ Get a new Filter Data by filtering scopes/scope IDs and enabled flags
|
|
|
3599
3583
|
##### Returns
|
|
3600
3584
|
|
|
3601
3585
|
|
|
3602
|
-
- a new Filter
|
|
3586
|
+
- a new Filter object structure
|
|
3603
3587
|
|
|
3604
3588
|
|
|
3605
3589
|
|
|
3606
3590
|
|
|
3607
|
-
### dist/filters/helpers/common/
|
|
3591
|
+
### dist/filters/helpers/common/excludeFiltersByScopes.js
|
|
3608
3592
|
|
|
3609
3593
|
|
|
3610
|
-
####
|
|
3594
|
+
#### excludeFiltersByScopes(filterData, scopes)
|
|
3611
3595
|
|
|
3612
|
-
|
|
3596
|
+
Excludes and returns a filter data without filters by the given scopes
|
|
3613
3597
|
|
|
3614
3598
|
|
|
3615
3599
|
|
|
@@ -3618,7 +3602,8 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
|
|
|
3618
3602
|
|
|
3619
3603
|
| Name | Type | Description | |
|
|
3620
3604
|
| ---- | ---- | ----------- | -------- |
|
|
3621
|
-
|
|
|
3605
|
+
| filterData | | The Filter Data | |
|
|
3606
|
+
| scopes | | collection of scopes to be as filtering parameters | |
|
|
3622
3607
|
|
|
3623
3608
|
|
|
3624
3609
|
|
|
@@ -3626,17 +3611,17 @@ Transforms the given MergeFilters settings object. Adds the missing properties i
|
|
|
3626
3611
|
##### Returns
|
|
3627
3612
|
|
|
3628
3613
|
|
|
3629
|
-
-
|
|
3614
|
+
- The new Filter Data without filters by the given scopes.
|
|
3630
3615
|
|
|
3631
3616
|
|
|
3632
3617
|
|
|
3633
3618
|
|
|
3634
|
-
### dist/filters/helpers/common/
|
|
3619
|
+
### dist/filters/helpers/common/getFilterColumnLabel.js
|
|
3635
3620
|
|
|
3636
3621
|
|
|
3637
|
-
####
|
|
3622
|
+
#### getFilterColumnLabel(column)
|
|
3638
3623
|
|
|
3639
|
-
|
|
3624
|
+
Get an string of the properties of the given filter column.
|
|
3640
3625
|
|
|
3641
3626
|
|
|
3642
3627
|
|
|
@@ -3645,7 +3630,7 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
|
|
|
3645
3630
|
|
|
3646
3631
|
| Name | Type | Description | |
|
|
3647
3632
|
| ---- | ---- | ----------- | -------- |
|
|
3648
|
-
|
|
|
3633
|
+
| column | | The filter column | |
|
|
3649
3634
|
|
|
3650
3635
|
|
|
3651
3636
|
|
|
@@ -3653,17 +3638,17 @@ Transforms the given ParamsToGetFilter settings object. Adds the missing propert
|
|
|
3653
3638
|
##### Returns
|
|
3654
3639
|
|
|
3655
3640
|
|
|
3656
|
-
-
|
|
3641
|
+
- an string with the property, aggregate or calculation label.
|
|
3657
3642
|
|
|
3658
3643
|
|
|
3659
3644
|
|
|
3660
3645
|
|
|
3661
|
-
### dist/filters/helpers/common/
|
|
3646
|
+
### dist/filters/helpers/common/getFilterLabel.js
|
|
3662
3647
|
|
|
3663
3648
|
|
|
3664
|
-
####
|
|
3649
|
+
#### getFilterLabel(filter)
|
|
3665
3650
|
|
|
3666
|
-
|
|
3651
|
+
Gets the Filter Label + Column label
|
|
3667
3652
|
|
|
3668
3653
|
|
|
3669
3654
|
|
|
@@ -3672,8 +3657,7 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
|
|
|
3672
3657
|
|
|
3673
3658
|
| Name | Type | Description | |
|
|
3674
3659
|
| ---- | ---- | ----------- | -------- |
|
|
3675
|
-
|
|
|
3676
|
-
| qrveyid | | The Qrvey ID | |
|
|
3660
|
+
| filter | | the UI filter | |
|
|
3677
3661
|
|
|
3678
3662
|
|
|
3679
3663
|
|
|
@@ -3681,17 +3665,28 @@ Validates if the filter data has filters by a dataset ID (Qrvey ID).
|
|
|
3681
3665
|
##### Returns
|
|
3682
3666
|
|
|
3683
3667
|
|
|
3684
|
-
-
|
|
3668
|
+
- a sring label
|
|
3685
3669
|
|
|
3686
3670
|
|
|
3687
3671
|
|
|
3688
3672
|
|
|
3689
|
-
### dist/filters/helpers/common/
|
|
3673
|
+
### dist/filters/helpers/common/getFilterid.js
|
|
3690
3674
|
|
|
3691
3675
|
|
|
3692
|
-
####
|
|
3676
|
+
#### getFilterid(filter)
|
|
3693
3677
|
|
|
3694
|
-
|
|
3678
|
+
Get the Filter ID by the filter structure
|
|
3679
|
+
The order of the epression ID is:
|
|
3680
|
+
- Scope Type
|
|
3681
|
+
- scopeid
|
|
3682
|
+
- qrveyid
|
|
3683
|
+
- panelid
|
|
3684
|
+
- columnid
|
|
3685
|
+
- validator
|
|
3686
|
+
- property
|
|
3687
|
+
- Column Aggregate
|
|
3688
|
+
- Column Calculation
|
|
3689
|
+
- Optional Index
|
|
3695
3690
|
|
|
3696
3691
|
|
|
3697
3692
|
|
|
@@ -3700,7 +3695,7 @@ Validates if the given validator is a Between type
|
|
|
3700
3695
|
|
|
3701
3696
|
| Name | Type | Description | |
|
|
3702
3697
|
| ---- | ---- | ----------- | -------- |
|
|
3703
|
-
|
|
|
3698
|
+
| filter | | the filter structure | |
|
|
3704
3699
|
|
|
3705
3700
|
|
|
3706
3701
|
|
|
@@ -3708,17 +3703,17 @@ Validates if the given validator is a Between type
|
|
|
3708
3703
|
##### Returns
|
|
3709
3704
|
|
|
3710
3705
|
|
|
3711
|
-
-
|
|
3706
|
+
- a text to identify the filter
|
|
3712
3707
|
|
|
3713
3708
|
|
|
3714
3709
|
|
|
3715
3710
|
|
|
3716
|
-
### dist/filters/helpers/common/
|
|
3711
|
+
### dist/filters/helpers/common/getFiltersByAggregateColumn.js
|
|
3717
3712
|
|
|
3718
3713
|
|
|
3719
|
-
####
|
|
3714
|
+
#### getFiltersByAggregateColumn(filterData)
|
|
3720
3715
|
|
|
3721
|
-
|
|
3716
|
+
Gets Aggregate Filters in the Filter Data. Gets the filters when the column.aggregate is included.
|
|
3722
3717
|
|
|
3723
3718
|
|
|
3724
3719
|
|
|
@@ -3727,8 +3722,7 @@ Determines if the filter column and property is a distinct group dates type
|
|
|
3727
3722
|
|
|
3728
3723
|
| Name | Type | Description | |
|
|
3729
3724
|
| ---- | ---- | ----------- | -------- |
|
|
3730
|
-
|
|
|
3731
|
-
| property | | The filter property | |
|
|
3725
|
+
| filterData | | The filter data object | |
|
|
3732
3726
|
|
|
3733
3727
|
|
|
3734
3728
|
|
|
@@ -3736,17 +3730,26 @@ Determines if the filter column and property is a distinct group dates type
|
|
|
3736
3730
|
##### Returns
|
|
3737
3731
|
|
|
3738
3732
|
|
|
3739
|
-
-
|
|
3733
|
+
- The new filter data object that were get the aggregate filters
|
|
3740
3734
|
|
|
3741
3735
|
|
|
3742
3736
|
|
|
3743
3737
|
|
|
3744
|
-
### dist/filters/helpers/common/
|
|
3738
|
+
### dist/filters/helpers/common/getFiltersByParams.js
|
|
3745
3739
|
|
|
3746
3740
|
|
|
3747
|
-
####
|
|
3741
|
+
#### getFiltersByParams(filterData, params)
|
|
3748
3742
|
|
|
3749
|
-
|
|
3743
|
+
Gets filters from the given params.
|
|
3744
|
+
The validation to filter the stored filter is depending on:
|
|
3745
|
+
- Column
|
|
3746
|
+
- Qrvey ID
|
|
3747
|
+
- Scope type
|
|
3748
|
+
- Scope ID
|
|
3749
|
+
- Panel ID
|
|
3750
|
+
- Validator type
|
|
3751
|
+
- Property type
|
|
3752
|
+
- Enabled flags
|
|
3750
3753
|
|
|
3751
3754
|
|
|
3752
3755
|
|
|
@@ -3755,7 +3758,8 @@ Validates if the given validator is a In type
|
|
|
3755
3758
|
|
|
3756
3759
|
| Name | Type | Description | |
|
|
3757
3760
|
| ---- | ---- | ----------- | -------- |
|
|
3758
|
-
|
|
|
3761
|
+
| filterData | | The Filter Data or the UI Filter Data | |
|
|
3762
|
+
| params | | given parameters to validate the dataset | |
|
|
3759
3763
|
|
|
3760
3764
|
|
|
3761
3765
|
|
|
@@ -3763,17 +3767,17 @@ Validates if the given validator is a In type
|
|
|
3763
3767
|
##### Returns
|
|
3764
3768
|
|
|
3765
3769
|
|
|
3766
|
-
-
|
|
3770
|
+
- a new Filter object structure
|
|
3767
3771
|
|
|
3768
3772
|
|
|
3769
3773
|
|
|
3770
3774
|
|
|
3771
|
-
### dist/filters/helpers/common/
|
|
3775
|
+
### dist/filters/helpers/common/getFiltersByScopes.js
|
|
3772
3776
|
|
|
3773
3777
|
|
|
3774
|
-
####
|
|
3778
|
+
#### getFiltersByScopes(filterData, scopes)
|
|
3775
3779
|
|
|
3776
|
-
|
|
3780
|
+
Filters and gets a Filter Data by the given scopes
|
|
3777
3781
|
|
|
3778
3782
|
|
|
3779
3783
|
|
|
@@ -3782,7 +3786,8 @@ Checks if the given validator is a Null type.
|
|
|
3782
3786
|
|
|
3783
3787
|
| Name | Type | Description | |
|
|
3784
3788
|
| ---- | ---- | ----------- | -------- |
|
|
3785
|
-
|
|
|
3789
|
+
| filterData | | The Filter Data | |
|
|
3790
|
+
| scopes | | collection of scopes types | |
|
|
3786
3791
|
|
|
3787
3792
|
|
|
3788
3793
|
|
|
@@ -3790,17 +3795,17 @@ Checks if the given validator is a Null type.
|
|
|
3790
3795
|
##### Returns
|
|
3791
3796
|
|
|
3792
3797
|
|
|
3793
|
-
-
|
|
3798
|
+
- The new Filter Data
|
|
3794
3799
|
|
|
3795
3800
|
|
|
3796
3801
|
|
|
3797
3802
|
|
|
3798
|
-
### dist/filters/helpers/common/
|
|
3803
|
+
### dist/filters/helpers/common/getFiltersByScopesIds.js
|
|
3799
3804
|
|
|
3800
3805
|
|
|
3801
|
-
####
|
|
3806
|
+
#### getFiltersByScopesIds(filterData, scopes)
|
|
3802
3807
|
|
|
3803
|
-
|
|
3808
|
+
Gets filters from Filter Data by Scopes/Scope IDs.
|
|
3804
3809
|
|
|
3805
3810
|
|
|
3806
3811
|
|
|
@@ -3809,7 +3814,8 @@ Validates if the given validator is a Range type. Range type means the value has
|
|
|
3809
3814
|
|
|
3810
3815
|
| Name | Type | Description | |
|
|
3811
3816
|
| ---- | ---- | ----------- | -------- |
|
|
3812
|
-
|
|
|
3817
|
+
| filterData | | The filter data | |
|
|
3818
|
+
| scopes | | The collection of Scopes/Scope IDs | |
|
|
3813
3819
|
|
|
3814
3820
|
|
|
3815
3821
|
|
|
@@ -3817,17 +3823,17 @@ Validates if the given validator is a Range type. Range type means the value has
|
|
|
3817
3823
|
##### Returns
|
|
3818
3824
|
|
|
3819
3825
|
|
|
3820
|
-
-
|
|
3826
|
+
- a new Filter Data
|
|
3821
3827
|
|
|
3822
3828
|
|
|
3823
3829
|
|
|
3824
3830
|
|
|
3825
|
-
### dist/filters/helpers/common/
|
|
3831
|
+
### dist/filters/helpers/common/getFiltersByVisibility.js
|
|
3826
3832
|
|
|
3827
3833
|
|
|
3828
|
-
####
|
|
3834
|
+
#### getFiltersByVisibility(filterData, scopes)
|
|
3829
3835
|
|
|
3830
|
-
|
|
3836
|
+
Get a new Filter Data by filtering scopes/scope IDs and enabled flags
|
|
3831
3837
|
|
|
3832
3838
|
|
|
3833
3839
|
|
|
@@ -3836,7 +3842,8 @@ Validates if the given validator is a regular type. Regular type means the filte
|
|
|
3836
3842
|
|
|
3837
3843
|
| Name | Type | Description | |
|
|
3838
3844
|
| ---- | ---- | ----------- | -------- |
|
|
3839
|
-
|
|
|
3845
|
+
| filterData | | a Filter Data or UI Filter Data | |
|
|
3846
|
+
| scopes | | a Scopes/Scope IDs array | |
|
|
3840
3847
|
|
|
3841
3848
|
|
|
3842
3849
|
|
|
@@ -3844,17 +3851,17 @@ Validates if the given validator is a regular type. Regular type means the filte
|
|
|
3844
3851
|
##### Returns
|
|
3845
3852
|
|
|
3846
3853
|
|
|
3847
|
-
-
|
|
3854
|
+
- a new Filter Data
|
|
3848
3855
|
|
|
3849
3856
|
|
|
3850
3857
|
|
|
3851
3858
|
|
|
3852
|
-
### dist/filters/helpers/common/
|
|
3859
|
+
### dist/filters/helpers/common/getMergeFiltersSettings.js
|
|
3853
3860
|
|
|
3854
3861
|
|
|
3855
|
-
####
|
|
3862
|
+
#### getMergeFiltersSettings(settings)
|
|
3856
3863
|
|
|
3857
|
-
|
|
3864
|
+
Transforms the given MergeFilters settings object. Adds the missing properties if they do not exist.
|
|
3858
3865
|
|
|
3859
3866
|
|
|
3860
3867
|
|
|
@@ -3863,9 +3870,7 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
|
|
|
3863
3870
|
|
|
3864
3871
|
| Name | Type | Description | |
|
|
3865
3872
|
| ---- | ---- | ----------- | -------- |
|
|
3866
|
-
|
|
|
3867
|
-
| filterData2 | | the filter data to be merged | |
|
|
3868
|
-
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3873
|
+
| settings | | an object to the MergeFilters settings | |
|
|
3869
3874
|
|
|
3870
3875
|
|
|
3871
3876
|
|
|
@@ -3873,13 +3878,17 @@ Merge filter data structures in a new one. The first Filter Data passed in the a
|
|
|
3873
3878
|
##### Returns
|
|
3874
3879
|
|
|
3875
3880
|
|
|
3876
|
-
- a new
|
|
3881
|
+
- a new MergeFilters settings object.
|
|
3877
3882
|
|
|
3878
3883
|
|
|
3879
3884
|
|
|
3880
|
-
#### mergeScopes(scopes1, scopes2, overwriteValues)
|
|
3881
3885
|
|
|
3882
|
-
|
|
3886
|
+
### dist/filters/helpers/common/getParamsToGetFilterSettings.js
|
|
3887
|
+
|
|
3888
|
+
|
|
3889
|
+
#### getParamsToGetFilterSettings(settings)
|
|
3890
|
+
|
|
3891
|
+
Transforms the given ParamsToGetFilter settings object. Adds the missing properties if they do not exist.
|
|
3883
3892
|
|
|
3884
3893
|
|
|
3885
3894
|
|
|
@@ -3888,9 +3897,7 @@ Gets a new scope structure array by merging two scope structures
|
|
|
3888
3897
|
|
|
3889
3898
|
| Name | Type | Description | |
|
|
3890
3899
|
| ---- | ---- | ----------- | -------- |
|
|
3891
|
-
|
|
|
3892
|
-
| scopes2 | | the scope to be merged | |
|
|
3893
|
-
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3900
|
+
| settings | | an object to the ParamsToGetFilter settings | |
|
|
3894
3901
|
|
|
3895
3902
|
|
|
3896
3903
|
|
|
@@ -3898,13 +3905,17 @@ Gets a new scope structure array by merging two scope structures
|
|
|
3898
3905
|
##### Returns
|
|
3899
3906
|
|
|
3900
3907
|
|
|
3901
|
-
- a new
|
|
3908
|
+
- a new ParamsToGetFilter settings object.
|
|
3902
3909
|
|
|
3903
3910
|
|
|
3904
3911
|
|
|
3905
|
-
#### mergeDatasets(datasets1, datasets2, overwriteValues)
|
|
3906
3912
|
|
|
3907
|
-
|
|
3913
|
+
### dist/filters/helpers/common/haveFiltersByDataset.js
|
|
3914
|
+
|
|
3915
|
+
|
|
3916
|
+
#### haveFiltersByDataset(filterData, qrveyid)
|
|
3917
|
+
|
|
3918
|
+
Validates if the filter data has filters by a dataset ID (Qrvey ID).
|
|
3908
3919
|
|
|
3909
3920
|
|
|
3910
3921
|
|
|
@@ -3913,9 +3924,8 @@ Gets a new dataset structure array by merging two dataset structures
|
|
|
3913
3924
|
|
|
3914
3925
|
| Name | Type | Description | |
|
|
3915
3926
|
| ---- | ---- | ----------- | -------- |
|
|
3916
|
-
|
|
|
3917
|
-
|
|
|
3918
|
-
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3927
|
+
| filterData | | the filter data or the UI filter data. | |
|
|
3928
|
+
| qrveyid | | The Qrvey ID | |
|
|
3919
3929
|
|
|
3920
3930
|
|
|
3921
3931
|
|
|
@@ -3923,13 +3933,17 @@ Gets a new dataset structure array by merging two dataset structures
|
|
|
3923
3933
|
##### Returns
|
|
3924
3934
|
|
|
3925
3935
|
|
|
3926
|
-
-
|
|
3936
|
+
- true: the filter data has filters by the Qrvey ID
|
|
3927
3937
|
|
|
3928
3938
|
|
|
3929
3939
|
|
|
3930
|
-
#### mergeFilterss(filters1, filters2, overwriteValues)
|
|
3931
3940
|
|
|
3932
|
-
|
|
3941
|
+
### dist/filters/helpers/common/isBetweenValidator.js
|
|
3942
|
+
|
|
3943
|
+
|
|
3944
|
+
#### isBetweenValidator(validator)
|
|
3945
|
+
|
|
3946
|
+
Validates if the given validator is a Between type
|
|
3933
3947
|
|
|
3934
3948
|
|
|
3935
3949
|
|
|
@@ -3938,9 +3952,7 @@ Gets a new filter structure array by merging two filter structures
|
|
|
3938
3952
|
|
|
3939
3953
|
| Name | Type | Description | |
|
|
3940
3954
|
| ---- | ---- | ----------- | -------- |
|
|
3941
|
-
|
|
|
3942
|
-
| filters2 | | the filter to be merged | |
|
|
3943
|
-
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
3955
|
+
| validator | | The validator | |
|
|
3944
3956
|
|
|
3945
3957
|
|
|
3946
3958
|
|
|
@@ -3948,13 +3960,17 @@ Gets a new filter structure array by merging two filter structures
|
|
|
3948
3960
|
##### Returns
|
|
3949
3961
|
|
|
3950
3962
|
|
|
3951
|
-
- a
|
|
3963
|
+
- true: it is a between validator; false: it is not a between validator
|
|
3952
3964
|
|
|
3953
3965
|
|
|
3954
3966
|
|
|
3955
|
-
#### mergeValues(filter1, filter2, overwrite)
|
|
3956
3967
|
|
|
3957
|
-
|
|
3968
|
+
### dist/filters/helpers/common/isDateDistinctProperty.js
|
|
3969
|
+
|
|
3970
|
+
|
|
3971
|
+
#### isDateDistinctProperty(column, property)
|
|
3972
|
+
|
|
3973
|
+
Determines if the filter column and property is a distinct group dates type
|
|
3958
3974
|
|
|
3959
3975
|
|
|
3960
3976
|
|
|
@@ -3963,9 +3979,8 @@ Gets a new value structure array by merging two value structures
|
|
|
3963
3979
|
|
|
3964
3980
|
| Name | Type | Description | |
|
|
3965
3981
|
| ---- | ---- | ----------- | -------- |
|
|
3966
|
-
|
|
|
3967
|
-
|
|
|
3968
|
-
| overwrite | | Flag to overwrite or not the filter values | |
|
|
3982
|
+
| column | | The filter column | |
|
|
3983
|
+
| property | | The filter property | |
|
|
3969
3984
|
|
|
3970
3985
|
|
|
3971
3986
|
|
|
@@ -3973,17 +3988,17 @@ Gets a new value structure array by merging two value structures
|
|
|
3973
3988
|
##### Returns
|
|
3974
3989
|
|
|
3975
3990
|
|
|
3976
|
-
-
|
|
3991
|
+
- True if the given property is included from distinct group dates type
|
|
3977
3992
|
|
|
3978
3993
|
|
|
3979
3994
|
|
|
3980
3995
|
|
|
3981
|
-
### dist/filters/helpers/common/
|
|
3996
|
+
### dist/filters/helpers/common/isInValidator.js
|
|
3982
3997
|
|
|
3983
3998
|
|
|
3984
|
-
####
|
|
3999
|
+
#### isInValidator(validator)
|
|
3985
4000
|
|
|
3986
|
-
|
|
4001
|
+
Validates if the given validator is a In type
|
|
3987
4002
|
|
|
3988
4003
|
|
|
3989
4004
|
|
|
@@ -3992,10 +4007,7 @@ Resolves the conditions by given params
|
|
|
3992
4007
|
|
|
3993
4008
|
| Name | Type | Description | |
|
|
3994
4009
|
| ---- | ---- | ----------- | -------- |
|
|
3995
|
-
|
|
|
3996
|
-
| params | | given parameters to validate the dataset | |
|
|
3997
|
-
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
3998
|
-
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
4010
|
+
| validator | | The validator | |
|
|
3999
4011
|
|
|
4000
4012
|
|
|
4001
4013
|
|
|
@@ -4003,17 +4015,17 @@ Resolves the conditions by given params
|
|
|
4003
4015
|
##### Returns
|
|
4004
4016
|
|
|
4005
4017
|
|
|
4006
|
-
- true:
|
|
4018
|
+
- true: it is a In validator; false: it is not a In validator
|
|
4007
4019
|
|
|
4008
4020
|
|
|
4009
4021
|
|
|
4010
4022
|
|
|
4011
|
-
### dist/filters/helpers/common/
|
|
4023
|
+
### dist/filters/helpers/common/isNullValidator.js
|
|
4012
4024
|
|
|
4013
4025
|
|
|
4014
|
-
####
|
|
4026
|
+
#### isNullValidator(validator)
|
|
4015
4027
|
|
|
4016
|
-
|
|
4028
|
+
Checks if the given validator is a Null type.
|
|
4017
4029
|
|
|
4018
4030
|
|
|
4019
4031
|
|
|
@@ -4022,10 +4034,7 @@ Resolves the conditions by given params
|
|
|
4022
4034
|
|
|
4023
4035
|
| Name | Type | Description | |
|
|
4024
4036
|
| ---- | ---- | ----------- | -------- |
|
|
4025
|
-
|
|
|
4026
|
-
| params | | given parameters to validate the filter | |
|
|
4027
|
-
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
4028
|
-
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
4037
|
+
| validator | | The Filter Validator | |
|
|
4029
4038
|
|
|
4030
4039
|
|
|
4031
4040
|
|
|
@@ -4033,17 +4042,17 @@ Resolves the conditions by given params
|
|
|
4033
4042
|
##### Returns
|
|
4034
4043
|
|
|
4035
4044
|
|
|
4036
|
-
-
|
|
4045
|
+
- True: It is a Null Validator; False: It is not a Null Validator.
|
|
4037
4046
|
|
|
4038
4047
|
|
|
4039
4048
|
|
|
4040
4049
|
|
|
4041
|
-
### dist/filters/helpers/common/
|
|
4050
|
+
### dist/filters/helpers/common/isRangeValidator.js
|
|
4042
4051
|
|
|
4043
4052
|
|
|
4044
|
-
####
|
|
4053
|
+
#### isRangeValidator(validator)
|
|
4045
4054
|
|
|
4046
|
-
|
|
4055
|
+
Validates if the given validator is a Range type. Range type means the value has min and max values to filter
|
|
4047
4056
|
|
|
4048
4057
|
|
|
4049
4058
|
|
|
@@ -4052,10 +4061,7 @@ Resolves the conditions by given params
|
|
|
4052
4061
|
|
|
4053
4062
|
| Name | Type | Description | |
|
|
4054
4063
|
| ---- | ---- | ----------- | -------- |
|
|
4055
|
-
|
|
|
4056
|
-
| params | | given parameters to validate the filter | |
|
|
4057
|
-
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
4058
|
-
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
4064
|
+
| validator | | The filter validator | |
|
|
4059
4065
|
|
|
4060
4066
|
|
|
4061
4067
|
|
|
@@ -4063,17 +4069,17 @@ Resolves the conditions by given params
|
|
|
4063
4069
|
##### Returns
|
|
4064
4070
|
|
|
4065
4071
|
|
|
4066
|
-
- true:
|
|
4072
|
+
- true: it is a range validator
|
|
4067
4073
|
|
|
4068
4074
|
|
|
4069
4075
|
|
|
4070
4076
|
|
|
4071
|
-
### dist/filters/helpers/
|
|
4077
|
+
### dist/filters/helpers/common/isRegularValidator.js
|
|
4072
4078
|
|
|
4073
4079
|
|
|
4074
|
-
####
|
|
4080
|
+
#### isRegularValidator(validator)
|
|
4075
4081
|
|
|
4076
|
-
|
|
4082
|
+
Validates if the given validator is a regular type. Regular type means the filter object has a value as string to filter
|
|
4077
4083
|
|
|
4078
4084
|
|
|
4079
4085
|
|
|
@@ -4082,7 +4088,7 @@ Excludes Aggregate Filters in the Flattened UI Filters array
|
|
|
4082
4088
|
|
|
4083
4089
|
| Name | Type | Description | |
|
|
4084
4090
|
| ---- | ---- | ----------- | -------- |
|
|
4085
|
-
|
|
|
4091
|
+
| validator | | The filter validator | |
|
|
4086
4092
|
|
|
4087
4093
|
|
|
4088
4094
|
|
|
@@ -4090,17 +4096,17 @@ Excludes Aggregate Filters in the Flattened UI Filters array
|
|
|
4090
4096
|
##### Returns
|
|
4091
4097
|
|
|
4092
4098
|
|
|
4093
|
-
-
|
|
4099
|
+
- true: it is a range validator
|
|
4094
4100
|
|
|
4095
4101
|
|
|
4096
4102
|
|
|
4097
4103
|
|
|
4098
|
-
### dist/filters/helpers/
|
|
4104
|
+
### dist/filters/helpers/common/mergeFilters.js
|
|
4099
4105
|
|
|
4100
4106
|
|
|
4101
|
-
####
|
|
4107
|
+
#### mergeFilters(filterData1, filterData2, overwriteValues)
|
|
4102
4108
|
|
|
4103
|
-
|
|
4109
|
+
Merge filter data structures in a new one. The first Filter Data passed in the argument has the priority
|
|
4104
4110
|
|
|
4105
4111
|
|
|
4106
4112
|
|
|
@@ -4109,8 +4115,9 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
|
4109
4115
|
|
|
4110
4116
|
| Name | Type | Description | |
|
|
4111
4117
|
| ---- | ---- | ----------- | -------- |
|
|
4112
|
-
|
|
|
4113
|
-
|
|
|
4118
|
+
| filterData1 | | The target filter data | |
|
|
4119
|
+
| filterData2 | | the filter data to be merged | |
|
|
4120
|
+
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
4114
4121
|
|
|
4115
4122
|
|
|
4116
4123
|
|
|
@@ -4118,17 +4125,13 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
|
4118
4125
|
##### Returns
|
|
4119
4126
|
|
|
4120
4127
|
|
|
4121
|
-
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4128
|
+
- a new filter data structure
|
|
4125
4129
|
|
|
4126
|
-
### dist/filters/helpers/ui/getFilterPropertyLabel.js
|
|
4127
4130
|
|
|
4128
4131
|
|
|
4129
|
-
####
|
|
4132
|
+
#### mergeScopes(scopes1, scopes2, overwriteValues)
|
|
4130
4133
|
|
|
4131
|
-
Gets
|
|
4134
|
+
Gets a new scope structure array by merging two scope structures
|
|
4132
4135
|
|
|
4133
4136
|
|
|
4134
4137
|
|
|
@@ -4137,7 +4140,9 @@ Gets the label of the filter property
|
|
|
4137
4140
|
|
|
4138
4141
|
| Name | Type | Description | |
|
|
4139
4142
|
| ---- | ---- | ----------- | -------- |
|
|
4140
|
-
|
|
|
4143
|
+
| scopes1 | | the target scope structure | |
|
|
4144
|
+
| scopes2 | | the scope to be merged | |
|
|
4145
|
+
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
4141
4146
|
|
|
4142
4147
|
|
|
4143
4148
|
|
|
@@ -4145,17 +4150,13 @@ Gets the label of the filter property
|
|
|
4145
4150
|
##### Returns
|
|
4146
4151
|
|
|
4147
4152
|
|
|
4148
|
-
- a
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4153
|
+
- a new scope structure array
|
|
4152
4154
|
|
|
4153
|
-
### dist/filters/helpers/ui/getOutputFormatByColumn.js
|
|
4154
4155
|
|
|
4155
4156
|
|
|
4156
|
-
####
|
|
4157
|
+
#### mergeDatasets(datasets1, datasets2, overwriteValues)
|
|
4157
4158
|
|
|
4158
|
-
Gets
|
|
4159
|
+
Gets a new dataset structure array by merging two dataset structures
|
|
4159
4160
|
|
|
4160
4161
|
|
|
4161
4162
|
|
|
@@ -4164,8 +4165,9 @@ Gets output format object from Datasets by the given column. Item of the dataset
|
|
|
4164
4165
|
|
|
4165
4166
|
| Name | Type | Description | |
|
|
4166
4167
|
| ---- | ---- | ----------- | -------- |
|
|
4167
|
-
|
|
|
4168
|
-
|
|
|
4168
|
+
| datasets1 | | the target dataset structure | |
|
|
4169
|
+
| datasets2 | | the dataset to be merged | |
|
|
4170
|
+
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
4169
4171
|
|
|
4170
4172
|
|
|
4171
4173
|
|
|
@@ -4173,27 +4175,24 @@ Gets output format object from Datasets by the given column. Item of the dataset
|
|
|
4173
4175
|
##### Returns
|
|
4174
4176
|
|
|
4175
4177
|
|
|
4176
|
-
-
|
|
4178
|
+
- a new dataset structure array
|
|
4177
4179
|
|
|
4178
4180
|
|
|
4179
4181
|
|
|
4182
|
+
#### mergeFilterss(filters1, filters2, overwriteValues)
|
|
4180
4183
|
|
|
4181
|
-
|
|
4184
|
+
Gets a new filter structure array by merging two filter structures
|
|
4182
4185
|
|
|
4183
4186
|
|
|
4184
|
-
#### getUIFlatFilterByParams()
|
|
4185
4187
|
|
|
4186
|
-
Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
|
|
4187
|
-
The validation to filter the stored filter is depending on:
|
|
4188
|
-
- Column
|
|
4189
|
-
- Qrvey ID,
|
|
4190
|
-
- Scope type
|
|
4191
|
-
- Scope ID
|
|
4192
|
-
- Panel ID
|
|
4193
|
-
- Validator type
|
|
4194
|
-
- Property type
|
|
4195
4188
|
|
|
4189
|
+
##### Parameters
|
|
4196
4190
|
|
|
4191
|
+
| Name | Type | Description | |
|
|
4192
|
+
| ---- | ---- | ----------- | -------- |
|
|
4193
|
+
| filters1 | | the target filter structure | |
|
|
4194
|
+
| filters2 | | the filter to be merged | |
|
|
4195
|
+
| overwriteValues | | Flag to overwrite or not the filter values | |
|
|
4197
4196
|
|
|
4198
4197
|
|
|
4199
4198
|
|
|
@@ -4201,28 +4200,24 @@ The validation to filter the stored filter is depending on:
|
|
|
4201
4200
|
##### Returns
|
|
4202
4201
|
|
|
4203
4202
|
|
|
4204
|
-
-
|
|
4203
|
+
- a new filter structure array
|
|
4205
4204
|
|
|
4206
4205
|
|
|
4207
4206
|
|
|
4207
|
+
#### mergeValues(filter1, filter2, overwrite)
|
|
4208
4208
|
|
|
4209
|
-
|
|
4209
|
+
Gets a new value structure array by merging two value structures
|
|
4210
4210
|
|
|
4211
4211
|
|
|
4212
|
-
#### getUIFlatFiltersByParams()
|
|
4213
4212
|
|
|
4214
|
-
Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
|
|
4215
|
-
The validation to filter the stored filter is depending on:
|
|
4216
|
-
- Column
|
|
4217
|
-
- Qrvey ID,
|
|
4218
|
-
- Scope type
|
|
4219
|
-
- Scope ID
|
|
4220
|
-
- Panel ID
|
|
4221
|
-
- Validator type
|
|
4222
|
-
- Property type
|
|
4223
|
-
- Enabled flags
|
|
4224
4213
|
|
|
4214
|
+
##### Parameters
|
|
4225
4215
|
|
|
4216
|
+
| Name | Type | Description | |
|
|
4217
|
+
| ---- | ---- | ----------- | -------- |
|
|
4218
|
+
| filter1 | | the target filter structure | |
|
|
4219
|
+
| filter2 | | the filter to be used to merge the values | |
|
|
4220
|
+
| overwrite | | Flag to overwrite or not the filter values | |
|
|
4226
4221
|
|
|
4227
4222
|
|
|
4228
4223
|
|
|
@@ -4230,17 +4225,17 @@ The validation to filter the stored filter is depending on:
|
|
|
4230
4225
|
##### Returns
|
|
4231
4226
|
|
|
4232
4227
|
|
|
4233
|
-
-
|
|
4228
|
+
- a new value structure array
|
|
4234
4229
|
|
|
4235
4230
|
|
|
4236
4231
|
|
|
4237
4232
|
|
|
4238
|
-
### dist/filters/helpers/
|
|
4233
|
+
### dist/filters/helpers/common/resolveDatasetConditions.js
|
|
4239
4234
|
|
|
4240
4235
|
|
|
4241
|
-
####
|
|
4236
|
+
#### resolveDatasetConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
|
|
4242
4237
|
|
|
4243
|
-
|
|
4238
|
+
Resolves the conditions by given params
|
|
4244
4239
|
|
|
4245
4240
|
|
|
4246
4241
|
|
|
@@ -4249,8 +4244,10 @@ Filters and gets a UI Flatten Filters by the given scopes
|
|
|
4249
4244
|
|
|
4250
4245
|
| Name | Type | Description | |
|
|
4251
4246
|
| ---- | ---- | ----------- | -------- |
|
|
4252
|
-
|
|
|
4253
|
-
|
|
|
4247
|
+
| filter | | The dataset structure | |
|
|
4248
|
+
| params | | given parameters to validate the dataset | |
|
|
4249
|
+
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
4250
|
+
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
4254
4251
|
|
|
4255
4252
|
|
|
4256
4253
|
|
|
@@ -4258,17 +4255,17 @@ Filters and gets a UI Flatten Filters by the given scopes
|
|
|
4258
4255
|
##### Returns
|
|
4259
4256
|
|
|
4260
4257
|
|
|
4261
|
-
-
|
|
4262
|
-
|
|
4258
|
+
- true: the condition is satisfied
|
|
4263
4259
|
|
|
4264
4260
|
|
|
4265
4261
|
|
|
4266
|
-
### dist/filters/helpers/ui/getUIValues.js
|
|
4267
4262
|
|
|
4263
|
+
### dist/filters/helpers/common/resolveFilterConditions.js
|
|
4268
4264
|
|
|
4269
|
-
#### getUIValues(filter, addEnableds, rankingGroupIndex)
|
|
4270
4265
|
|
|
4266
|
+
#### resolveFilterConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
|
|
4271
4267
|
|
|
4268
|
+
Resolves the conditions by given params
|
|
4272
4269
|
|
|
4273
4270
|
|
|
4274
4271
|
|
|
@@ -4277,9 +4274,10 @@ Filters and gets a UI Flatten Filters by the given scopes
|
|
|
4277
4274
|
|
|
4278
4275
|
| Name | Type | Description | |
|
|
4279
4276
|
| ---- | ---- | ----------- | -------- |
|
|
4280
|
-
| filter | |
|
|
4281
|
-
|
|
|
4282
|
-
|
|
|
4277
|
+
| filter | | The filter | |
|
|
4278
|
+
| params | | given parameters to validate the filter | |
|
|
4279
|
+
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
4280
|
+
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
4283
4281
|
|
|
4284
4282
|
|
|
4285
4283
|
|
|
@@ -4287,17 +4285,17 @@ Filters and gets a UI Flatten Filters by the given scopes
|
|
|
4287
4285
|
##### Returns
|
|
4288
4286
|
|
|
4289
4287
|
|
|
4290
|
-
-
|
|
4288
|
+
- true: the condition is satisfied
|
|
4291
4289
|
|
|
4292
4290
|
|
|
4293
4291
|
|
|
4294
4292
|
|
|
4295
|
-
### dist/filters/helpers/
|
|
4293
|
+
### dist/filters/helpers/common/resolveScopeConditions.js
|
|
4296
4294
|
|
|
4297
4295
|
|
|
4298
|
-
####
|
|
4296
|
+
#### resolveScopeConditions(filter, params, letPassUndefinedProperties, letPassUndefinedParams)
|
|
4299
4297
|
|
|
4300
|
-
Resolves conditions
|
|
4298
|
+
Resolves the conditions by given params
|
|
4301
4299
|
|
|
4302
4300
|
|
|
4303
4301
|
|
|
@@ -4306,8 +4304,10 @@ Resolves conditions between UI flattened filter and given parameters
|
|
|
4306
4304
|
|
|
4307
4305
|
| Name | Type | Description | |
|
|
4308
4306
|
| ---- | ---- | ----------- | -------- |
|
|
4309
|
-
| filter | |
|
|
4310
|
-
| params | |
|
|
4307
|
+
| filter | | The filter scope structure | |
|
|
4308
|
+
| params | | given parameters to validate the filter | |
|
|
4309
|
+
| letPassUndefinedProperties | | Flag to avoid applying the condition when the filter properties are undefined | |
|
|
4310
|
+
| letPassUndefinedParams | | Flag to avoid applying the condition when the param properties are explicit undefined. | |
|
|
4311
4311
|
|
|
4312
4312
|
|
|
4313
4313
|
|
|
@@ -4315,7 +4315,7 @@ Resolves conditions between UI flattened filter and given parameters
|
|
|
4315
4315
|
##### Returns
|
|
4316
4316
|
|
|
4317
4317
|
|
|
4318
|
-
- true: the
|
|
4318
|
+
- true: the condition is satisfied
|
|
4319
4319
|
|
|
4320
4320
|
|
|
4321
4321
|
|