@qrvey/utils 1.2.4-6 → 1.2.4
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 +1457 -1071
- package/dist/charts/constants/AGGREGATE_GENERAL.d.ts +5 -0
- package/dist/charts/constants/AGGREGATE_GENERAL.js +6 -0
- package/dist/charts/constants/AGGREGATE_INFO.js +9 -9
- package/dist/cjs/charts/constants/AGGREGATE_GENERAL.d.ts +5 -0
- package/dist/cjs/charts/constants/AGGREGATE_GENERAL.js +9 -0
- package/dist/cjs/charts/constants/AGGREGATE_INFO.js +9 -9
- package/dist/cjs/columns/constants/COLUMN.d.ts +6 -6
- package/dist/cjs/columns/constants/COLUMN.js +8 -8
- package/dist/cjs/columns/constants/COLUMN_INFO.js +2 -1
- package/dist/cjs/columns/constants/COLUMN_INFO_LIST.js +2 -6
- package/dist/cjs/columns/constants/COLUMN_LABEL.d.ts +7 -6
- package/dist/cjs/columns/constants/COLUMN_LABEL.js +2 -1
- package/dist/cjs/columns/constants/COLUMN_PROPERTY.d.ts +4 -4
- package/dist/cjs/columns/constants/COLUMN_PROPERTY.js +4 -4
- package/dist/cjs/columns/constants/COLUMN_PROPERTY_INFO.js +2 -2
- package/dist/cjs/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +4 -4
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_INFO.js +5 -5
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTIES.js +4 -4
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY.d.ts +4 -4
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY.js +4 -4
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_INFO.js +15 -15
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +4 -4
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +4 -4
- package/dist/cjs/columns/constants/COMPOUND_COLUMN_INFO.js +3 -3
- package/dist/cjs/columns/constants/COMPOUND_COLUMN_PROPERTY_INFO.js +12 -12
- package/dist/cjs/columns/constants/NUMERICAL_COLUMN.d.ts +8 -0
- package/dist/cjs/columns/constants/NUMERICAL_COLUMN.js +12 -0
- package/dist/cjs/columns/constants/NUMERICAL_COLUMNS.d.ts +5 -0
- package/dist/cjs/columns/constants/NUMERICAL_COLUMNS.js +15 -0
- package/dist/cjs/columns/constants/NUMERICAL_COLUMN_INFO.d.ts +8 -0
- package/dist/cjs/columns/constants/NUMERICAL_COLUMN_INFO.js +16 -0
- package/dist/cjs/columns/constants/NUMERICAL_COLUMN_INFO_LIST.d.ts +5 -0
- package/dist/cjs/columns/constants/NUMERICAL_COLUMN_INFO_LIST.js +16 -0
- package/dist/cjs/columns/constants/NUMERICAL_COLUMN_LABEL.d.ts +8 -0
- package/dist/cjs/columns/constants/NUMERICAL_COLUMN_LABEL.js +12 -0
- package/dist/cjs/columns/constants/index.d.ts +5 -0
- package/dist/cjs/columns/constants/index.js +5 -0
- package/dist/cjs/columns/helpers/index.d.ts +1 -0
- package/dist/cjs/columns/helpers/index.js +1 -0
- package/dist/cjs/columns/helpers/isNumericalColumn.d.ts +2 -0
- package/dist/cjs/columns/helpers/isNumericalColumn.js +8 -0
- package/dist/cjs/columns/interfaces/IColumnType.d.ts +2 -1
- package/dist/cjs/columns/interfaces/INumericalColumnType.d.ts +2 -0
- package/dist/cjs/{globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js → columns/interfaces/INumericalColumnType.js} +0 -0
- package/dist/cjs/columns/interfaces/index.d.ts +3 -0
- package/dist/cjs/columns/interfaces/index.js +3 -0
- package/dist/cjs/dates/adapters/mdyDateToDate.d.ts +7 -0
- package/dist/cjs/dates/adapters/mdyDateToDate.js +21 -0
- package/dist/cjs/dates/adapters/monthYearToDate.d.ts +7 -0
- package/dist/cjs/dates/adapters/monthYearToDate.js +24 -0
- package/dist/cjs/dates/adapters/quarterYearToDate.d.ts +7 -0
- package/dist/cjs/dates/adapters/quarterYearToDate.js +24 -0
- package/dist/cjs/dates/adapters/weekYearToDate.d.ts +7 -0
- package/dist/cjs/dates/adapters/weekYearToDate.js +32 -0
- package/dist/cjs/dates/adapters/yearToDate.d.ts +7 -0
- package/dist/cjs/dates/adapters/yearToDate.js +22 -0
- package/dist/cjs/dates/constants/DATE_DISTINCT_PROPERTY_INFO.js +3 -3
- package/dist/cjs/dates/constants/DATE_DISTINCT_TIME_PROPERTY_INFO.js +3 -3
- package/dist/cjs/dates/constants/DATE_FORMAT.d.ts +16 -14
- package/dist/cjs/dates/constants/DATE_FORMAT.js +23 -18
- package/dist/cjs/dates/constants/DATE_GROUPING_PROPERTY_INFO.js +5 -5
- package/dist/cjs/dates/constants/DATE_GROUPING_TIME_PROPERTY_INFO.js +3 -3
- package/dist/cjs/dates/constants/DATE_REGULAR_EXPRESSION.d.ts +19 -1
- package/dist/cjs/dates/constants/DATE_REGULAR_EXPRESSION.js +29 -5
- package/dist/cjs/dates/constants/DATE_YEAR_MONTHS_MMMM.d.ts +1 -0
- package/dist/cjs/dates/constants/DATE_YEAR_MONTHS_MMMM.js +4 -0
- package/dist/cjs/dates/constants/DATE_YEAR_QUARTERS_RANGE.d.ts +18 -0
- package/dist/cjs/dates/constants/DATE_YEAR_QUARTERS_RANGE.js +21 -0
- package/dist/cjs/dates/constants/index.d.ts +2 -0
- package/dist/cjs/dates/constants/index.js +2 -0
- package/dist/cjs/dates/helpers/getDateByDateFormat.d.ts +9 -0
- package/dist/cjs/dates/helpers/getDateByDateFormat.js +36 -0
- package/dist/cjs/dates/helpers/getDateFormatByProperty.d.ts +8 -0
- package/dist/cjs/dates/helpers/getDateFormatByProperty.js +27 -0
- package/dist/cjs/dates/helpers/getDateFormatRegularExpressionInArray.d.ts +7 -0
- package/dist/cjs/dates/helpers/getDateFormatRegularExpressionInArray.js +47 -0
- package/dist/cjs/dates/helpers/getSeparatorByDateFormat.d.ts +7 -0
- package/dist/cjs/dates/helpers/getSeparatorByDateFormat.js +15 -0
- package/dist/cjs/dates/helpers/getWeek.d.ts +11 -0
- package/dist/cjs/dates/helpers/getWeek.js +25 -0
- package/dist/cjs/dates/helpers/index.d.ts +6 -0
- package/dist/cjs/dates/helpers/index.js +18 -0
- package/dist/cjs/dates/helpers/validateDate.d.ts +11 -0
- package/dist/cjs/dates/helpers/validateDate.js +24 -0
- package/dist/cjs/dates/helpers/validateDateByDateFormat.d.ts +8 -0
- package/dist/cjs/dates/helpers/validateDateByDateFormat.js +26 -0
- package/dist/cjs/dates/index.d.ts +1 -0
- package/dist/cjs/dates/index.js +1 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_CURSOR_INFO.d.ts +3 -12
- package/dist/cjs/dates/relative/constants/RELATIVE_CURSOR_INFO.js +4 -3
- package/dist/cjs/dates/relative/constants/RELATIVE_CURSOR_INFO_LIST.d.ts +5 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_CURSOR_INFO_LIST.js +13 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_CURSOR_LABEL.d.ts +5 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_CURSOR_LABEL.js +9 -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/IRelativeCursorInfo.d.ts +5 -0
- package/dist/cjs/{globalization/interfaces/common/II18nChartInfoMessagesDefault.js → dates/relative/interfaces/IRelativeCursorInfo.js} +0 -0
- package/dist/cjs/dates/relative/interfaces/index.d.ts +1 -0
- package/dist/cjs/dates/relative/interfaces/index.js +1 -0
- package/dist/cjs/filters/classes/FilterInputErrorHandler.d.ts +27 -0
- package/dist/cjs/filters/classes/FilterInputErrorHandler.js +15 -0
- package/dist/cjs/filters/classes/index.d.ts +1 -0
- package/dist/cjs/filters/classes/index.js +13 -0
- package/dist/cjs/filters/constants/builder/FILTER_BUILDER_SCOPE_LABEL.d.ts +5 -0
- package/dist/cjs/filters/constants/builder/FILTER_BUILDER_SCOPE_LABEL.js +9 -0
- package/dist/cjs/filters/constants/common/FILTER_DATE_SECTION_INFO.js +2 -2
- package/dist/cjs/filters/constants/common/FILTER_SCOPE_INFO.js +8 -8
- package/dist/cjs/filters/constants/common/FILTER_VALIDATOR_INFO.js +21 -21
- package/dist/cjs/filters/helpers/ui/getFilterPropertyLabel.d.ts +2 -1
- package/dist/cjs/filters/helpers/ui/getFilterPropertyLabel.js +2 -2
- package/dist/cjs/filters/index.d.ts +1 -0
- package/dist/cjs/filters/index.js +1 -0
- package/dist/cjs/general/mix/index.d.ts +1 -0
- package/dist/cjs/general/mix/index.js +1 -0
- package/dist/cjs/general/mix/isNaNV2.d.ts +8 -0
- package/dist/cjs/general/mix/isNaNV2.js +15 -0
- package/dist/cjs/general/object/mergeDeep.js +6 -7
- package/dist/cjs/globalization/helpers/getI18nDateGroupLabel.d.ts +3 -0
- package/dist/cjs/globalization/helpers/getI18nDateGroupLabel.js +61 -0
- package/dist/cjs/globalization/helpers/index.d.ts +1 -0
- package/dist/cjs/globalization/helpers/index.js +13 -0
- package/dist/cjs/globalization/index.d.ts +1 -0
- package/dist/cjs/globalization/index.js +1 -0
- package/dist/cjs/globalization/interfaces/II18nServiceTranslate.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/{common/II18nChartInfoMessagesTableChart.js → II18nServiceTranslate.js} +0 -0
- package/dist/cjs/globalization/interfaces/II18nServiceTranslateOption.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/{common/II18nSlidebar.js → II18nServiceTranslateOption.js} +0 -0
- package/dist/cjs/globalization/interfaces/IResourceI18n.d.ts +20 -8
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilder.d.ts +24 -0
- package/dist/cjs/globalization/interfaces/{common/II18nSlidebarValueContainer.js → bucket_builder/II18nBucketBuilder.js} +0 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderBasicBucket.d.ts +15 -0
- package/dist/cjs/globalization/interfaces/{common/II18nValueContainer.js → bucket_builder/II18nBucketBuilderBasicBucket.js} +0 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +29 -0
- package/dist/cjs/globalization/interfaces/{common/II18nValueContainerSearchInput.js → bucket_builder/II18nBucketBuilderCreateBucket.js} +0 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderCustomBucket.d.ts +15 -0
- package/dist/cjs/globalization/interfaces/{common/II18nValueContainerSearchInputEnterValue.js → bucket_builder/II18nBucketBuilderCustomBucket.js} +0 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderDeleteDialog.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/{filters/II18nFilterBuilderInfoContainerSelection.js → bucket_builder/II18nBucketBuilderDeleteDialog.js} +0 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderEditDialog.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderEditDialog.js +2 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.js +2 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMenuBucket.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMenuBucket.js +2 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.js +2 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.js +2 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.d.ts +12 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.js +2 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderSentimentBucket.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderSentimentBucket.js +2 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/index.d.ts +12 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/index.js +24 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +156 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderActionPanel.d.ts +11 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderActionPanel.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAddress.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAddress.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +28 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.d.ts +15 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.d.ts +8 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.d.ts +24 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.d.ts +24 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.d.ts +13 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +20 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.d.ts +21 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.d.ts +10 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.d.ts +8 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +24 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.d.ts +17 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDialog.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDialog.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +19 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.d.ts +3 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.d.ts +17 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +21 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLegends.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLegends.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.d.ts +21 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.d.ts +12 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.js +2 -0
- package/dist/cjs/globalization/interfaces/{common/II18nChartInfoMessagesCrosstab.d.ts → chart_builder/II18nChartBuilderMessagesCrosstab.d.ts} +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesCrosstab.js +2 -0
- package/{src/globalization/interfaces/common/II18nChartInfoMessagesDefault.ts → dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesDefault.d.ts} +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesDefault.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.d.ts +3 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.d.ts +3 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.d.ts +3 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.d.ts +3 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.d.ts +13 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.js +2 -0
- package/dist/{globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts → cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesTableChart.d.ts} +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderMessagesTableChart.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.d.ts +10 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderOperators.d.ts +23 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderOperators.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +14 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +16 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSorting.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +27 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.d.ts +13 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.d.ts +14 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +30 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.d.ts +12 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.d.ts +20 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +17 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTotals.d.ts +23 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTotals.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +30 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.d.ts +11 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/index.d.ts +78 -0
- package/dist/cjs/globalization/interfaces/chart_builder/index.js +90 -0
- package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.d.ts +4 -1
- package/dist/cjs/globalization/interfaces/common/II18nColumnProperties.d.ts +46 -0
- package/dist/cjs/globalization/interfaces/common/II18nColumnProperties.js +2 -0
- package/dist/cjs/globalization/interfaces/common/II18nColumnTypesSuffixes.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/common/II18nColumnTypesSuffixes.js +2 -0
- package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +7 -6
- package/dist/cjs/globalization/interfaces/common/II18nDateGrouping.d.ts +28 -0
- package/dist/cjs/globalization/interfaces/common/II18nDateGrouping.js +2 -0
- package/dist/cjs/globalization/interfaces/common/index.d.ts +3 -8
- package/dist/cjs/globalization/interfaces/common/index.js +3 -8
- package/dist/cjs/globalization/interfaces/cross_tabs/II18nCrossTabs.d.ts +8 -0
- package/dist/cjs/globalization/interfaces/cross_tabs/II18nCrossTabs.js +2 -0
- package/dist/cjs/globalization/interfaces/cross_tabs/II18nCrossTabsSorting.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/cross_tabs/II18nCrossTabsSorting.js +2 -0
- package/dist/cjs/globalization/interfaces/cross_tabs/index.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/cross_tabs/index.js +13 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +16 -4
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.d.ts +4 -4
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderErrorMessages.d.ts +14 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderErrorMessages.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +2 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderScopes.d.ts +10 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderScopes.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterDateSections.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterDateSections.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterDisplay.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterDisplay.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterOperator.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterOperator.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanel.d.ts +17 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanel.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelCardAction.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelCardAction.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelDeleteDialog.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelDeleteDialog.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelEmptyState.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelEmptyState.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelHeaderSection.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelHeaderSection.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelScopeTitle.d.ts +10 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelScopeTitle.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelScopeTooltip.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelScopeTooltip.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelSettingsContainerScopeConfig.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelSettingsContainerScopeConfig.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelSettingsSection.d.ts +10 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelSettingsSection.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterScopes.d.ts +10 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterScopes.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.d.ts +1 -1
- package/dist/cjs/globalization/interfaces/filters/II18nRankingContainer.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/filters/II18nRankingContainer.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nRelativeContainer.d.ts +10 -0
- package/dist/cjs/globalization/interfaces/filters/II18nRelativeContainer.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nRelativeContainerCursor.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/filters/II18nRelativeContainerCursor.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.js +2 -0
- package/dist/{globalization/interfaces/common → cjs/globalization/interfaces/filters}/II18nValueContainer.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/index.d.ts +22 -2
- package/dist/cjs/globalization/interfaces/filters/index.js +22 -2
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilder.d.ts +12 -0
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilder.js +2 -0
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.d.ts +28 -0
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.js +2 -0
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderDeleteDialog.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderDeleteDialog.js +2 -0
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionsType.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionsType.js +2 -0
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.js +2 -0
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderListTable.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderListTable.js +2 -0
- package/dist/cjs/globalization/interfaces/formula_builder/index.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/formula_builder/index.js +18 -0
- package/dist/cjs/globalization/interfaces/index.d.ts +10 -2
- package/dist/cjs/globalization/interfaces/index.js +10 -2
- package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +15 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelEmbed.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelEmbed.js +2 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +10 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryDisplay.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryDisplay.js +2 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryFilter.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryFilter.js +2 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryGroup.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryGroup.js +2 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummarySorting.d.ts +12 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummarySorting.js +2 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +19 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryViews.js +2 -0
- package/dist/cjs/globalization/interfaces/panel/index.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/panel/index.js +6 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +1 -0
- package/dist/cjs/globalization/labels/I18N_DEFAULT.js +14 -2
- package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.d.ts +2 -0
- package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +117 -0
- package/dist/cjs/globalization/labels/bucket_builder/index.d.ts +1 -0
- package/dist/cjs/globalization/labels/bucket_builder/index.js +13 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER.d.ts +2 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +54 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.d.ts +2 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +25 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.d.ts +4 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.js +33 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +4 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +293 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.d.ts +4 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +128 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.d.ts +4 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +30 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.d.ts +4 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.js +28 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.d.ts +4 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +251 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.d.ts +4 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.js +17 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.d.ts +4 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +31 -0
- package/dist/cjs/globalization/labels/chart_builder/index.d.ts +10 -0
- package/dist/cjs/globalization/labels/chart_builder/index.js +22 -0
- package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.js +5 -1
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +6 -6
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.d.ts +2 -0
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +50 -0
- package/dist/cjs/globalization/labels/common/I18N_COMMON.js +11 -21
- package/dist/cjs/globalization/labels/common/I18N_DATE_GROUPING.d.ts +2 -0
- package/dist/cjs/globalization/labels/common/I18N_DATE_GROUPING.js +33 -0
- package/dist/cjs/globalization/labels/common/index.d.ts +1 -2
- package/dist/cjs/globalization/labels/common/index.js +1 -2
- package/dist/cjs/globalization/labels/cross_tabs/I18N_CROSS_TABS.d.ts +2 -0
- package/dist/cjs/globalization/labels/cross_tabs/I18N_CROSS_TABS.js +14 -0
- package/dist/cjs/globalization/labels/cross_tabs/index.d.ts +1 -0
- package/dist/cjs/globalization/labels/cross_tabs/index.js +13 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +27 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +23 -10
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_DISPLAY.d.ts +2 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_DISPLAY.js +9 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_OPERATOR.d.ts +2 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_OPERATOR.js +7 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_PANEL.d.ts +2 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_PANEL.js +50 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_SCOPE.d.ts +2 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_SCOPE.js +14 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +1 -1
- package/dist/cjs/globalization/labels/filters/I18N_RANKING_CONTAINER.d.ts +2 -0
- package/dist/cjs/globalization/labels/filters/I18N_RANKING_CONTAINER.js +7 -0
- package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CONTAINER.d.ts +2 -0
- package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +13 -0
- package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CURSOR.d.ts +6 -0
- package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CURSOR.js +9 -0
- package/dist/cjs/globalization/labels/filters/I18N_SLIDEBAR.d.ts +2 -0
- package/dist/cjs/globalization/labels/{common → filters}/I18N_SLIDEBAR.js +2 -3
- package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +2 -0
- package/dist/cjs/globalization/labels/{common → filters}/I18N_VALUE_CONTAINER.js +5 -5
- package/dist/cjs/globalization/labels/filters/index.d.ts +9 -1
- package/dist/cjs/globalization/labels/filters/index.js +9 -1
- package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.d.ts +2 -0
- package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +61 -0
- package/dist/cjs/globalization/labels/formula_builder/index.d.ts +1 -0
- package/dist/cjs/globalization/labels/formula_builder/index.js +13 -0
- package/dist/cjs/globalization/labels/index.d.ts +4 -0
- package/dist/cjs/globalization/labels/index.js +4 -0
- package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +70 -2
- package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +6 -4
- package/dist/cjs/globalization/service/i18nextBuilder.d.ts +2 -1
- package/dist/cjs/globalization/service/i18nextBuilder.js +2 -2
- package/dist/cjs/interfaces/general/IGeneralInfo.d.ts +1 -0
- package/dist/cjs/qrvey/constants/CALCULATION_INFO.js +6 -6
- package/dist/cjs/qrvey/helpers/getPropertyLabel.d.ts +2 -1
- package/dist/cjs/qrvey/helpers/getPropertyLabel.js +6 -4
- package/dist/columns/constants/COLUMN.d.ts +6 -6
- package/dist/columns/constants/COLUMN.js +8 -8
- package/dist/columns/constants/COLUMN_INFO.js +2 -1
- package/dist/columns/constants/COLUMN_INFO_LIST.js +2 -6
- package/dist/columns/constants/COLUMN_LABEL.d.ts +7 -6
- package/dist/columns/constants/COLUMN_LABEL.js +2 -1
- package/dist/columns/constants/COLUMN_PROPERTY.d.ts +4 -4
- package/dist/columns/constants/COLUMN_PROPERTY.js +4 -4
- package/dist/columns/constants/COLUMN_PROPERTY_INFO.js +2 -2
- package/dist/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +4 -4
- package/dist/columns/constants/COMPLEX_COLUMN_INFO.js +5 -5
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTIES.js +4 -4
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY.d.ts +4 -4
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY.js +4 -4
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_INFO.js +15 -15
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +4 -4
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +4 -4
- package/dist/columns/constants/COMPOUND_COLUMN_INFO.js +3 -3
- package/dist/columns/constants/COMPOUND_COLUMN_PROPERTY_INFO.js +12 -12
- package/dist/columns/constants/NUMERICAL_COLUMN.d.ts +8 -0
- package/dist/columns/constants/NUMERICAL_COLUMN.js +9 -0
- package/dist/columns/constants/NUMERICAL_COLUMNS.d.ts +5 -0
- package/dist/columns/constants/NUMERICAL_COLUMNS.js +12 -0
- package/dist/columns/constants/NUMERICAL_COLUMN_INFO.d.ts +8 -0
- package/dist/columns/constants/NUMERICAL_COLUMN_INFO.js +13 -0
- package/dist/columns/constants/NUMERICAL_COLUMN_INFO_LIST.d.ts +5 -0
- package/dist/columns/constants/NUMERICAL_COLUMN_INFO_LIST.js +13 -0
- package/dist/columns/constants/NUMERICAL_COLUMN_LABEL.d.ts +8 -0
- package/dist/columns/constants/NUMERICAL_COLUMN_LABEL.js +9 -0
- package/dist/columns/constants/index.d.ts +5 -0
- package/dist/columns/constants/index.js +5 -0
- package/dist/columns/helpers/index.d.ts +1 -0
- package/dist/columns/helpers/index.js +1 -0
- package/dist/columns/helpers/isNumericalColumn.d.ts +2 -0
- package/dist/columns/helpers/isNumericalColumn.js +4 -0
- package/dist/columns/interfaces/IColumnType.d.ts +2 -1
- package/dist/columns/interfaces/INumericalColumnType.d.ts +2 -0
- package/dist/{globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js → columns/interfaces/INumericalColumnType.js} +0 -0
- package/dist/columns/interfaces/index.d.ts +3 -0
- package/dist/columns/interfaces/index.js +3 -0
- package/dist/dates/adapters/mdyDateToDate.d.ts +7 -0
- package/dist/dates/adapters/mdyDateToDate.js +17 -0
- package/dist/dates/adapters/monthYearToDate.d.ts +7 -0
- package/dist/dates/adapters/monthYearToDate.js +20 -0
- package/dist/dates/adapters/quarterYearToDate.d.ts +7 -0
- package/dist/dates/adapters/quarterYearToDate.js +20 -0
- package/dist/dates/adapters/weekYearToDate.d.ts +7 -0
- package/dist/dates/adapters/weekYearToDate.js +28 -0
- package/dist/dates/adapters/yearToDate.d.ts +7 -0
- package/dist/dates/adapters/yearToDate.js +18 -0
- package/dist/dates/constants/DATE_DISTINCT_PROPERTY_INFO.js +3 -3
- package/dist/dates/constants/DATE_DISTINCT_TIME_PROPERTY_INFO.js +3 -3
- package/dist/dates/constants/DATE_FORMAT.d.ts +16 -14
- package/dist/dates/constants/DATE_FORMAT.js +23 -18
- package/dist/dates/constants/DATE_GROUPING_PROPERTY_INFO.js +5 -5
- package/dist/dates/constants/DATE_GROUPING_TIME_PROPERTY_INFO.js +3 -3
- package/dist/dates/constants/DATE_REGULAR_EXPRESSION.d.ts +19 -1
- package/dist/dates/constants/DATE_REGULAR_EXPRESSION.js +29 -5
- package/dist/dates/constants/DATE_YEAR_MONTHS_MMMM.d.ts +1 -0
- package/dist/dates/constants/DATE_YEAR_MONTHS_MMMM.js +1 -0
- package/dist/dates/constants/DATE_YEAR_QUARTERS_RANGE.d.ts +18 -0
- package/dist/dates/constants/DATE_YEAR_QUARTERS_RANGE.js +18 -0
- package/dist/dates/constants/index.d.ts +2 -0
- package/dist/dates/constants/index.js +2 -0
- package/dist/dates/helpers/getDateByDateFormat.d.ts +9 -0
- package/dist/dates/helpers/getDateByDateFormat.js +32 -0
- package/dist/dates/helpers/getDateFormatByProperty.d.ts +8 -0
- package/dist/dates/helpers/getDateFormatByProperty.js +23 -0
- package/dist/dates/helpers/getDateFormatRegularExpressionInArray.d.ts +7 -0
- package/dist/dates/helpers/getDateFormatRegularExpressionInArray.js +43 -0
- package/dist/dates/helpers/getSeparatorByDateFormat.d.ts +7 -0
- package/dist/dates/helpers/getSeparatorByDateFormat.js +11 -0
- package/dist/dates/helpers/getWeek.d.ts +11 -0
- package/dist/dates/helpers/getWeek.js +21 -0
- package/dist/dates/helpers/index.d.ts +6 -0
- package/dist/dates/helpers/index.js +6 -0
- package/dist/dates/helpers/validateDate.d.ts +11 -0
- package/dist/dates/helpers/validateDate.js +20 -0
- package/dist/dates/helpers/validateDateByDateFormat.d.ts +8 -0
- package/dist/dates/helpers/validateDateByDateFormat.js +22 -0
- package/dist/dates/index.d.ts +1 -0
- package/dist/dates/index.js +1 -0
- package/dist/dates/relative/constants/RELATIVE_CURSOR_INFO.d.ts +3 -12
- package/dist/dates/relative/constants/RELATIVE_CURSOR_INFO.js +4 -3
- package/dist/dates/relative/constants/RELATIVE_CURSOR_INFO_LIST.d.ts +5 -0
- package/dist/dates/relative/constants/RELATIVE_CURSOR_INFO_LIST.js +10 -0
- package/dist/dates/relative/constants/RELATIVE_CURSOR_LABEL.d.ts +5 -0
- package/dist/dates/relative/constants/RELATIVE_CURSOR_LABEL.js +6 -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/IRelativeCursorInfo.d.ts +5 -0
- package/dist/{globalization/interfaces/common/II18nChartInfoMessagesDefault.js → dates/relative/interfaces/IRelativeCursorInfo.js} +0 -0
- package/dist/dates/relative/interfaces/index.d.ts +1 -0
- package/dist/dates/relative/interfaces/index.js +1 -0
- package/dist/filters/classes/FilterInputErrorHandler.d.ts +27 -0
- package/dist/filters/classes/FilterInputErrorHandler.js +11 -0
- package/dist/filters/classes/index.d.ts +1 -0
- package/dist/filters/classes/index.js +1 -0
- package/dist/filters/constants/builder/FILTER_BUILDER_SCOPE_LABEL.d.ts +5 -0
- package/dist/filters/constants/builder/FILTER_BUILDER_SCOPE_LABEL.js +6 -0
- package/dist/filters/constants/common/FILTER_DATE_SECTION_INFO.js +2 -2
- package/dist/filters/constants/common/FILTER_SCOPE_INFO.js +8 -8
- package/dist/filters/constants/common/FILTER_VALIDATOR_INFO.js +21 -21
- package/dist/filters/helpers/ui/getFilterPropertyLabel.d.ts +2 -1
- package/dist/filters/helpers/ui/getFilterPropertyLabel.js +2 -2
- package/dist/filters/index.d.ts +1 -0
- package/dist/filters/index.js +1 -0
- package/dist/general/mix/index.d.ts +1 -0
- package/dist/general/mix/index.js +1 -0
- package/dist/general/mix/isNaNV2.d.ts +8 -0
- package/dist/general/mix/isNaNV2.js +11 -0
- package/dist/general/object/mergeDeep.js +6 -7
- package/dist/globalization/helpers/getI18nDateGroupLabel.d.ts +3 -0
- package/dist/globalization/helpers/getI18nDateGroupLabel.js +57 -0
- package/dist/globalization/helpers/index.d.ts +1 -0
- package/dist/globalization/helpers/index.js +1 -0
- package/dist/globalization/index.d.ts +1 -0
- package/dist/globalization/index.js +1 -0
- package/dist/globalization/interfaces/II18nServiceTranslate.d.ts +4 -0
- package/dist/globalization/interfaces/{common/II18nChartInfoMessagesTableChart.js → II18nServiceTranslate.js} +0 -0
- package/dist/globalization/interfaces/II18nServiceTranslateOption.d.ts +4 -0
- package/dist/globalization/interfaces/{common/II18nSlidebar.js → II18nServiceTranslateOption.js} +0 -0
- package/dist/globalization/interfaces/IResourceI18n.d.ts +20 -8
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilder.d.ts +24 -0
- package/dist/globalization/interfaces/{common/II18nSlidebarValueContainer.js → bucket_builder/II18nBucketBuilder.js} +0 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderBasicBucket.d.ts +15 -0
- package/dist/globalization/interfaces/{common/II18nValueContainer.js → bucket_builder/II18nBucketBuilderBasicBucket.js} +0 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +29 -0
- package/dist/globalization/interfaces/{common/II18nValueContainerSearchInput.js → bucket_builder/II18nBucketBuilderCreateBucket.js} +0 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderCustomBucket.d.ts +15 -0
- package/dist/globalization/interfaces/{common/II18nValueContainerSearchInputEnterValue.js → bucket_builder/II18nBucketBuilderCustomBucket.js} +0 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderDeleteDialog.d.ts +6 -0
- package/dist/globalization/interfaces/{filters/II18nFilterBuilderInfoContainerSelection.js → bucket_builder/II18nBucketBuilderDeleteDialog.js} +0 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderEditDialog.d.ts +6 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderEditDialog.js +1 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.d.ts +6 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.js +1 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMenuBucket.d.ts +5 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMenuBucket.js +1 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +7 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.js +1 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.d.ts +5 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.js +1 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.d.ts +12 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.js +1 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderSentimentBucket.d.ts +6 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderSentimentBucket.js +1 -0
- package/dist/globalization/interfaces/bucket_builder/index.d.ts +12 -0
- package/dist/globalization/interfaces/bucket_builder/index.js +12 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +156 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderActionPanel.d.ts +11 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderActionPanel.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAddress.d.ts +5 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAddress.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.d.ts +6 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +28 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.d.ts +15 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.d.ts +9 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.d.ts +8 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.d.ts +4 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.d.ts +24 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.d.ts +5 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.d.ts +24 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.d.ts +5 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.d.ts +7 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.d.ts +13 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +9 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +20 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +5 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +4 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +4 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +4 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +4 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +6 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +5 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.d.ts +21 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.d.ts +10 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.d.ts +8 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +24 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.d.ts +17 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDialog.d.ts +6 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDialog.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +19 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.d.ts +4 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.d.ts +3 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.d.ts +9 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.d.ts +17 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.d.ts +5 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.d.ts +5 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +21 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.d.ts +4 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLegends.d.ts +5 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLegends.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.d.ts +21 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.d.ts +12 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.d.ts +5 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.d.ts +4 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.js +1 -0
- package/{src/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.ts → dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesCrosstab.d.ts} +1 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesCrosstab.js +1 -0
- package/dist/globalization/interfaces/{common/II18nChartInfoMessagesDefault.d.ts → chart_builder/II18nChartBuilderMessagesDefault.d.ts} +1 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesDefault.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.d.ts +3 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.d.ts +3 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.d.ts +3 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.d.ts +3 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.d.ts +5 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.d.ts +4 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.d.ts +13 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.d.ts +7 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.d.ts +4 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.js +1 -0
- package/dist/{cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts → globalization/interfaces/chart_builder/II18nChartBuilderMessagesTableChart.d.ts} +1 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderMessagesTableChart.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.d.ts +10 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderOperators.d.ts +23 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderOperators.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +14 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.d.ts +6 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.d.ts +4 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.d.ts +4 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.d.ts +5 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.d.ts +7 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +16 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSorting.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +27 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.d.ts +13 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.d.ts +14 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +30 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.d.ts +9 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.d.ts +9 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.d.ts +9 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.d.ts +12 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.d.ts +20 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.d.ts +6 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +17 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTotals.d.ts +23 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTotals.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +30 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.js +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.d.ts +11 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.js +1 -0
- package/dist/globalization/interfaces/chart_builder/index.d.ts +78 -0
- package/dist/globalization/interfaces/chart_builder/index.js +78 -0
- package/dist/globalization/interfaces/common/II18nAgreggateLabels.d.ts +4 -1
- package/dist/globalization/interfaces/common/II18nColumnProperties.d.ts +46 -0
- package/dist/globalization/interfaces/common/II18nColumnProperties.js +1 -0
- package/dist/globalization/interfaces/common/II18nColumnTypesSuffixes.d.ts +6 -0
- package/dist/globalization/interfaces/common/II18nColumnTypesSuffixes.js +1 -0
- package/dist/globalization/interfaces/common/II18nCommon.d.ts +7 -6
- package/dist/globalization/interfaces/common/II18nDateGrouping.d.ts +28 -0
- package/dist/globalization/interfaces/common/II18nDateGrouping.js +1 -0
- package/dist/globalization/interfaces/common/index.d.ts +3 -8
- package/dist/globalization/interfaces/common/index.js +3 -8
- package/dist/globalization/interfaces/cross_tabs/II18nCrossTabs.d.ts +8 -0
- package/dist/globalization/interfaces/cross_tabs/II18nCrossTabs.js +1 -0
- package/dist/globalization/interfaces/cross_tabs/II18nCrossTabsSorting.d.ts +5 -0
- package/dist/globalization/interfaces/cross_tabs/II18nCrossTabsSorting.js +1 -0
- package/dist/globalization/interfaces/cross_tabs/index.d.ts +1 -0
- package/dist/globalization/interfaces/cross_tabs/index.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilter.d.ts +16 -4
- package/dist/globalization/interfaces/filters/II18nFilterBuilder.d.ts +4 -4
- package/dist/globalization/interfaces/filters/II18nFilterBuilderErrorMessages.d.ts +14 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderErrorMessages.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +2 -2
- package/dist/globalization/interfaces/filters/II18nFilterBuilderScopes.d.ts +10 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderScopes.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterDateSections.d.ts +4 -0
- package/dist/globalization/interfaces/filters/II18nFilterDateSections.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterDisplay.d.ts +6 -0
- package/dist/globalization/interfaces/filters/II18nFilterDisplay.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterOperator.d.ts +4 -0
- package/dist/globalization/interfaces/filters/II18nFilterOperator.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanel.d.ts +17 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanel.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelCardAction.d.ts +6 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelCardAction.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelDeleteDialog.d.ts +6 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelDeleteDialog.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelEmptyState.d.ts +4 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelEmptyState.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelHeaderSection.d.ts +9 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelHeaderSection.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelScopeTitle.d.ts +10 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelScopeTitle.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelScopeTooltip.d.ts +7 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelScopeTooltip.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelSettingsContainerScopeConfig.d.ts +5 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelSettingsContainerScopeConfig.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelSettingsSection.d.ts +10 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelSettingsSection.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterScopes.d.ts +10 -0
- package/dist/globalization/interfaces/filters/II18nFilterScopes.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterValidator.d.ts +1 -1
- package/dist/globalization/interfaces/filters/II18nRankingContainer.d.ts +4 -0
- package/dist/globalization/interfaces/filters/II18nRankingContainer.js +1 -0
- package/dist/globalization/interfaces/filters/II18nRelativeContainer.d.ts +10 -0
- package/dist/globalization/interfaces/filters/II18nRelativeContainer.js +1 -0
- package/dist/globalization/interfaces/filters/II18nRelativeContainerCursor.d.ts +5 -0
- package/dist/globalization/interfaces/filters/II18nRelativeContainerCursor.js +1 -0
- package/dist/globalization/interfaces/filters/II18nSlidebar.d.ts +7 -0
- package/dist/globalization/interfaces/filters/II18nSlidebar.js +1 -0
- package/dist/{cjs/globalization/interfaces/common → globalization/interfaces/filters}/II18nValueContainer.d.ts +2 -0
- package/dist/globalization/interfaces/filters/II18nValueContainer.js +1 -0
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +6 -0
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.js +1 -0
- package/dist/globalization/interfaces/filters/index.d.ts +22 -2
- package/dist/globalization/interfaces/filters/index.js +22 -2
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilder.d.ts +12 -0
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilder.js +1 -0
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.d.ts +28 -0
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.js +1 -0
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderDeleteDialog.d.ts +7 -0
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderDeleteDialog.js +1 -0
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionsType.d.ts +7 -0
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionsType.js +1 -0
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +5 -0
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.js +1 -0
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderListTable.d.ts +9 -0
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderListTable.js +1 -0
- package/dist/globalization/interfaces/formula_builder/index.d.ts +6 -0
- package/dist/globalization/interfaces/formula_builder/index.js +6 -0
- package/dist/globalization/interfaces/index.d.ts +10 -2
- package/dist/globalization/interfaces/index.js +10 -2
- package/dist/globalization/interfaces/panel/II18nPanel.d.ts +15 -0
- package/dist/globalization/interfaces/panel/II18nPanelEmbed.d.ts +7 -0
- package/dist/globalization/interfaces/panel/II18nPanelEmbed.js +1 -0
- package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +10 -0
- package/dist/globalization/interfaces/panel/II18nPanelSummaryDisplay.d.ts +5 -0
- package/dist/globalization/interfaces/panel/II18nPanelSummaryDisplay.js +1 -0
- package/dist/globalization/interfaces/panel/II18nPanelSummaryFilter.d.ts +5 -0
- package/dist/globalization/interfaces/panel/II18nPanelSummaryFilter.js +1 -0
- package/dist/globalization/interfaces/panel/II18nPanelSummaryGroup.d.ts +7 -0
- package/dist/globalization/interfaces/panel/II18nPanelSummaryGroup.js +1 -0
- package/dist/globalization/interfaces/panel/II18nPanelSummarySorting.d.ts +12 -0
- package/dist/globalization/interfaces/panel/II18nPanelSummarySorting.js +1 -0
- package/dist/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +19 -0
- package/dist/globalization/interfaces/panel/II18nPanelSummaryViews.js +1 -0
- package/dist/globalization/interfaces/panel/index.d.ts +6 -0
- package/dist/globalization/interfaces/panel/index.js +6 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +1 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +1 -0
- package/dist/globalization/labels/I18N_DEFAULT.js +14 -2
- package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.d.ts +2 -0
- package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +114 -0
- package/dist/globalization/labels/bucket_builder/index.d.ts +1 -0
- package/dist/globalization/labels/bucket_builder/index.js +1 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER.d.ts +2 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +51 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.d.ts +2 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +22 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.d.ts +4 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.js +30 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +4 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +290 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.d.ts +4 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +125 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.d.ts +4 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +27 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.d.ts +4 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.js +25 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.d.ts +4 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +248 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.d.ts +4 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.js +14 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.d.ts +4 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +28 -0
- package/dist/globalization/labels/chart_builder/index.d.ts +10 -0
- package/dist/globalization/labels/chart_builder/index.js +10 -0
- package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.js +5 -1
- package/dist/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +6 -6
- package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.d.ts +2 -0
- package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +47 -0
- package/dist/globalization/labels/common/I18N_COMMON.js +11 -21
- package/dist/globalization/labels/common/I18N_DATE_GROUPING.d.ts +2 -0
- package/dist/globalization/labels/common/I18N_DATE_GROUPING.js +30 -0
- package/dist/globalization/labels/common/index.d.ts +1 -2
- package/dist/globalization/labels/common/index.js +1 -2
- package/dist/globalization/labels/cross_tabs/I18N_CROSS_TABS.d.ts +2 -0
- package/dist/globalization/labels/cross_tabs/I18N_CROSS_TABS.js +11 -0
- package/dist/globalization/labels/cross_tabs/index.d.ts +1 -0
- package/dist/globalization/labels/cross_tabs/index.js +1 -0
- package/dist/globalization/labels/filters/I18N_FILTER.js +27 -0
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +23 -10
- package/dist/globalization/labels/filters/I18N_FILTER_DISPLAY.d.ts +2 -0
- package/dist/globalization/labels/filters/I18N_FILTER_DISPLAY.js +6 -0
- package/dist/globalization/labels/filters/I18N_FILTER_OPERATOR.d.ts +2 -0
- package/dist/globalization/labels/filters/I18N_FILTER_OPERATOR.js +4 -0
- package/dist/globalization/labels/filters/I18N_FILTER_PANEL.d.ts +2 -0
- package/dist/globalization/labels/filters/I18N_FILTER_PANEL.js +47 -0
- package/dist/globalization/labels/filters/I18N_FILTER_SCOPE.d.ts +2 -0
- package/dist/globalization/labels/filters/I18N_FILTER_SCOPE.js +11 -0
- package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +1 -1
- package/dist/globalization/labels/filters/I18N_RANKING_CONTAINER.d.ts +2 -0
- package/dist/globalization/labels/filters/I18N_RANKING_CONTAINER.js +4 -0
- package/dist/globalization/labels/filters/I18N_RELATIVE_CONTAINER.d.ts +2 -0
- package/dist/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +10 -0
- package/dist/globalization/labels/filters/I18N_RELATIVE_CURSOR.d.ts +6 -0
- package/dist/globalization/labels/filters/I18N_RELATIVE_CURSOR.js +6 -0
- package/dist/globalization/labels/filters/I18N_SLIDEBAR.d.ts +2 -0
- package/dist/globalization/labels/{common → filters}/I18N_SLIDEBAR.js +2 -3
- package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +2 -0
- package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.js +10 -0
- package/dist/globalization/labels/filters/index.d.ts +9 -1
- package/dist/globalization/labels/filters/index.js +9 -1
- package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.d.ts +2 -0
- package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +58 -0
- package/dist/globalization/labels/formula_builder/index.d.ts +1 -0
- package/dist/globalization/labels/formula_builder/index.js +1 -0
- package/dist/globalization/labels/index.d.ts +4 -0
- package/dist/globalization/labels/index.js +4 -0
- package/dist/globalization/labels/panel/I18N_PANEL.js +70 -2
- package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +6 -4
- package/dist/globalization/service/i18nextBuilder.d.ts +2 -1
- package/dist/globalization/service/i18nextBuilder.js +2 -2
- package/dist/interfaces/general/IGeneralInfo.d.ts +1 -0
- package/dist/qrvey/constants/CALCULATION_INFO.js +6 -6
- package/dist/qrvey/helpers/getPropertyLabel.d.ts +2 -1
- package/dist/qrvey/helpers/getPropertyLabel.js +6 -4
- package/package.json +2 -2
- package/src/charts/constants/AGGREGATE_GENERAL.ts +5 -0
- package/src/charts/constants/AGGREGATE_INFO.ts +9 -9
- package/src/columns/constants/COLUMN.ts +9 -9
- package/src/columns/constants/COLUMN_INFO.ts +24 -28
- package/src/columns/constants/COLUMN_INFO_LIST.ts +2 -6
- package/src/columns/constants/COLUMN_LABEL.ts +3 -7
- package/src/columns/constants/COLUMN_PROPERTY.ts +4 -4
- package/src/columns/constants/COLUMN_PROPERTY_INFO.ts +2 -2
- package/src/columns/constants/COMPLEX_COLUMN_INFO.ts +5 -5
- package/src/columns/constants/COMPLEX_COLUMN_PROPERTIES.ts +4 -4
- package/src/columns/constants/COMPLEX_COLUMN_PROPERTY.ts +4 -4
- package/src/columns/constants/COMPLEX_COLUMN_PROPERTY_INFO.ts +15 -15
- package/src/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.ts +4 -4
- package/src/columns/constants/COMPOUND_COLUMN_INFO.ts +3 -3
- package/src/columns/constants/COMPOUND_COLUMN_PROPERTY_INFO.ts +12 -12
- package/src/columns/constants/NUMERICAL_COLUMN.ts +8 -0
- package/src/columns/constants/NUMERICAL_COLUMNS.ts +13 -0
- package/src/columns/constants/NUMERICAL_COLUMN_INFO.ts +16 -0
- package/src/columns/constants/NUMERICAL_COLUMN_INFO_LIST.ts +15 -0
- package/src/columns/constants/NUMERICAL_COLUMN_LABEL.ts +8 -0
- package/src/columns/constants/index.ts +6 -0
- package/src/columns/helpers/index.ts +1 -0
- package/src/columns/helpers/isNumericalColumn.ts +7 -0
- package/src/columns/interfaces/IColumnType.ts +2 -1
- package/src/columns/interfaces/INumericalColumnType.ts +4 -0
- package/src/columns/interfaces/index.ts +4 -0
- package/src/dates/adapters/mdyDateToDate.ts +18 -0
- package/src/dates/adapters/monthYearToDate.ts +21 -0
- package/src/dates/adapters/quarterYearToDate.ts +21 -0
- package/src/dates/adapters/weekYearToDate.ts +28 -0
- package/src/dates/adapters/yearToDate.ts +20 -0
- package/src/dates/constants/DATE_DISTINCT_PROPERTY_INFO.ts +3 -3
- package/src/dates/constants/DATE_DISTINCT_TIME_PROPERTY_INFO.ts +3 -3
- package/src/dates/constants/DATE_FORMAT.ts +23 -18
- package/src/dates/constants/DATE_GROUPING_PROPERTY_INFO.ts +5 -5
- package/src/dates/constants/DATE_GROUPING_TIME_PROPERTY_INFO.ts +3 -3
- package/src/dates/constants/DATE_REGULAR_EXPRESSION.ts +32 -5
- package/src/dates/constants/DATE_YEAR_MONTHS.ts +0 -1
- package/src/dates/constants/DATE_YEAR_MONTHS_MMMM.ts +1 -0
- package/src/dates/constants/DATE_YEAR_QUARTERS_RANGE.ts +18 -0
- package/src/dates/constants/index.ts +2 -0
- package/src/dates/helpers/getDateByDateFormat.ts +34 -0
- package/src/dates/helpers/getDateFormatByProperty.ts +26 -0
- package/src/dates/helpers/getDateFormatRegularExpressionInArray.ts +45 -0
- package/src/dates/helpers/getSeparatorByDateFormat.ts +13 -0
- package/src/dates/helpers/getWeek.ts +21 -0
- package/src/dates/helpers/index.ts +6 -0
- package/src/dates/helpers/validateDate.ts +22 -0
- package/src/dates/helpers/validateDateByDateFormat.ts +25 -0
- package/src/dates/index.ts +1 -0
- package/src/dates/relative/constants/RELATIVE_CURSOR_INFO.ts +7 -4
- package/src/dates/relative/constants/RELATIVE_CURSOR_INFO_LIST.ts +11 -0
- package/src/dates/relative/constants/RELATIVE_CURSOR_LABEL.ts +5 -0
- package/src/dates/relative/constants/index.ts +2 -0
- package/src/dates/relative/interfaces/IRelativeCursorInfo.ts +6 -0
- package/src/dates/relative/interfaces/index.ts +1 -0
- package/src/filters/classes/FilterInputErrorHandler.ts +213 -0
- package/src/filters/classes/index.ts +1 -0
- package/src/filters/constants/builder/FILTER_BUILDER_SCOPE_LABEL.ts +7 -0
- package/src/filters/constants/common/FILTER_DATE_SECTION_INFO.ts +2 -2
- package/src/filters/constants/common/FILTER_SCOPE_INFO.ts +8 -8
- package/src/filters/constants/common/FILTER_VALIDATOR_INFO.ts +21 -21
- package/src/filters/helpers/ui/getFilterPropertyLabel.ts +3 -2
- package/src/filters/index.ts +1 -0
- package/src/general/mix/index.ts +1 -0
- package/src/general/mix/isNaNV2.ts +12 -0
- package/src/general/object/mergeDeep.ts +7 -8
- package/src/globalization/helpers/getI18nDateGroupLabel.ts +66 -0
- package/src/globalization/helpers/index.ts +1 -0
- package/src/globalization/index.ts +1 -0
- package/src/globalization/interfaces/II18nServiceTranslate.ts +5 -0
- package/src/globalization/interfaces/II18nServiceTranslateOption.ts +4 -0
- package/src/globalization/interfaces/IResourceI18n.ts +20 -9
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilder.ts +25 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderBasicBucket.ts +15 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.ts +29 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderCustomBucket.ts +15 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderDeleteDialog.ts +6 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderEditDialog.ts +6 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.ts +6 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMenuBucket.ts +5 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.ts +7 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.ts +5 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.ts +12 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderSentimentBucket.ts +6 -0
- package/src/globalization/interfaces/bucket_builder/index.ts +12 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilder.ts +157 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderActionPanel.ts +11 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderAddress.ts +5 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.ts +6 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.ts +28 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderBarTypes.ts +16 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderBaseMap.ts +9 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderCategoryLabels.ts +8 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartInfo.ts +4 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.ts +24 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartMode.ts +5 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.ts +24 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderChartOrientation.ts +5 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderCircleSize.ts +7 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderColorByValues.ts +13 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.ts +9 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.ts +20 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.ts +6 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.ts +4 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.ts +4 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.ts +4 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.ts +4 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.ts +6 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.ts +6 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.ts +21 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderCustomFormatDialog.ts +10 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderCustomScale.ts +8 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.ts +24 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDateGroup.ts +17 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDialog.ts +6 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.ts +19 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDndZone.ts +4 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderFilterOptions.ts +3 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.ts +9 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderFormatValues.ts +17 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderGapsOptions.ts +5 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderGaugeStyle.ts +5 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.ts +21 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderLeaveDialog.ts +5 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderLegends.ts +5 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderLineStyleOptions.ts +21 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderMapRegion.ts +12 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderMenuActions.ts +5 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesBoxWhiskers.ts +4 -0
- package/{dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts → src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesCrosstab.ts} +2 -2
- package/{dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts → src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesDefault.ts} +2 -2
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeneral.ts +3 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeo.ts +3 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesGeoBubble.ts +3 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesHeatmap.ts +3 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMetric.ts +5 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMinMax.ts +4 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMissingDefault.ts +13 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesMs.ts +7 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderMessagesPie.ts +4 -0
- package/src/globalization/interfaces/{common/II18nChartInfoMessagesTableChart.ts → chart_builder/II18nChartBuilderMessagesTableChart.ts} +2 -2
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderNavPanel.ts +10 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderOperators.ts +23 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.ts +14 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderResizeRows.ts +6 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderSaveDialog.ts +5 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderScaleTypes.ts +4 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.ts +5 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderSmallMultiple.ts +7 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderSorting.ts +16 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.ts +27 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderSymboStyleOptions.ts +13 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableBody.ts +14 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.ts +30 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableHeader.ts +9 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableStyleOptions.ts +9 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTargetConfig.ts +9 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderThreshold.ts +12 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriod.ts +20 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTimePeriodCustomRange.ts +6 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.ts +17 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTotals.ts +23 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.ts +30 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendsLine.ts +11 -0
- package/src/globalization/interfaces/chart_builder/index.ts +78 -0
- package/src/globalization/interfaces/common/II18nAgreggateLabels.ts +5 -2
- package/src/globalization/interfaces/common/II18nColumnProperties.ts +52 -0
- package/src/globalization/interfaces/common/II18nColumnTypesSuffixes.ts +6 -0
- package/src/globalization/interfaces/common/II18nCommon.ts +7 -6
- package/src/globalization/interfaces/common/II18nDateGrouping.ts +30 -0
- package/src/globalization/interfaces/common/index.ts +5 -9
- package/src/globalization/interfaces/cross_tabs/II18nCrossTabs.ts +9 -0
- package/src/globalization/interfaces/cross_tabs/II18nCrossTabsSorting.ts +5 -0
- package/src/globalization/interfaces/cross_tabs/index.ts +1 -0
- package/src/globalization/interfaces/filters/II18nFilter.ts +16 -4
- package/src/globalization/interfaces/filters/II18nFilterBuilder.ts +4 -5
- package/src/globalization/interfaces/filters/II18nFilterBuilderErrorMessages.ts +14 -0
- package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.ts +2 -3
- package/src/globalization/interfaces/filters/II18nFilterBuilderScopes.ts +10 -0
- package/src/globalization/interfaces/filters/II18nFilterDateSections.ts +4 -0
- package/src/globalization/interfaces/filters/II18nFilterDisplay.ts +6 -0
- package/src/globalization/interfaces/filters/II18nFilterOperator.ts +4 -0
- package/src/globalization/interfaces/filters/II18nFilterPanel.ts +18 -0
- package/src/globalization/interfaces/filters/II18nFilterPanelCardAction.ts +6 -0
- package/src/globalization/interfaces/filters/II18nFilterPanelDeleteDialog.ts +6 -0
- package/src/globalization/interfaces/filters/II18nFilterPanelEmptyState.ts +4 -0
- package/src/globalization/interfaces/filters/II18nFilterPanelHeaderSection.ts +9 -0
- package/src/globalization/interfaces/filters/II18nFilterPanelScopeTitle.ts +10 -0
- package/src/globalization/interfaces/filters/II18nFilterPanelScopeTooltip.ts +7 -0
- package/src/globalization/interfaces/filters/II18nFilterPanelSettingsContainerScopeConfig.ts +5 -0
- package/src/globalization/interfaces/filters/II18nFilterPanelSettingsSection.ts +10 -0
- package/src/globalization/interfaces/filters/II18nFilterScopes.ts +10 -0
- package/src/globalization/interfaces/filters/II18nFilterValidator.ts +1 -1
- package/src/globalization/interfaces/filters/II18nRankingContainer.ts +4 -0
- package/src/globalization/interfaces/filters/II18nRelativeContainer.ts +11 -0
- package/src/globalization/interfaces/filters/II18nRelativeContainerCursor.ts +5 -0
- package/src/globalization/interfaces/filters/II18nSlidebar.ts +7 -0
- package/src/globalization/interfaces/{common → filters}/II18nValueContainer.ts +2 -0
- package/src/globalization/interfaces/filters/II18nValueContainerSearchInput.ts +6 -0
- package/src/globalization/interfaces/filters/index.ts +25 -2
- package/src/globalization/interfaces/formula_builder/II18nFormulaBuilder.ts +13 -0
- package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.ts +28 -0
- package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderDeleteDialog.ts +7 -0
- package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionsType.ts +7 -0
- package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.ts +5 -0
- package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderListTable.ts +9 -0
- package/src/globalization/interfaces/formula_builder/index.ts +6 -0
- package/src/globalization/interfaces/index.ts +11 -2
- package/src/globalization/interfaces/panel/II18nPanel.ts +15 -1
- package/src/globalization/interfaces/panel/II18nPanelEmbed.ts +7 -0
- package/src/globalization/interfaces/panel/II18nPanelErrors.ts +10 -0
- package/src/globalization/interfaces/panel/II18nPanelSummaryDisplay.ts +5 -0
- package/src/globalization/interfaces/panel/II18nPanelSummaryFilter.ts +5 -0
- package/src/globalization/interfaces/panel/II18nPanelSummaryGroup.ts +7 -0
- package/src/globalization/interfaces/panel/II18nPanelSummarySorting.ts +12 -0
- package/src/globalization/interfaces/panel/II18nPanelSummaryViews.ts +19 -0
- package/src/globalization/interfaces/panel/index.ts +6 -0
- package/src/globalization/interfaces/table_charts/II18nTableChartsPagination.ts +1 -0
- package/src/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.ts +1 -0
- package/src/globalization/labels/I18N_DEFAULT.ts +15 -2
- package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +116 -0
- package/src/globalization/labels/bucket_builder/index.ts +1 -0
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER.ts +66 -0
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.ts +24 -0
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.ts +34 -0
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +300 -0
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +128 -0
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.ts +30 -0
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_OPERATORS.ts +28 -0
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.ts +255 -0
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_THRESHOLD.ts +17 -0
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.ts +31 -0
- package/src/globalization/labels/chart_builder/index.ts +10 -0
- package/src/globalization/labels/common/I18N_AGGREGATE_LABEL.ts +5 -1
- package/src/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.ts +57 -0
- package/src/globalization/labels/common/I18N_COMMON.ts +11 -21
- package/src/globalization/labels/common/I18N_DATE_GROUPING.ts +34 -0
- package/src/globalization/labels/common/index.ts +2 -2
- package/src/globalization/labels/cross_tabs/I18N_CROSS_TABS.ts +13 -0
- package/src/globalization/labels/cross_tabs/index.ts +1 -0
- package/src/globalization/labels/filters/I18N_FILTER.ts +27 -0
- package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +23 -10
- package/src/globalization/labels/filters/I18N_FILTER_DISPLAY.ts +8 -0
- package/src/globalization/labels/filters/I18N_FILTER_OPERATOR.ts +6 -0
- package/src/globalization/labels/filters/I18N_FILTER_PANEL.ts +49 -0
- package/src/globalization/labels/filters/I18N_FILTER_SCOPE.ts +13 -0
- package/src/globalization/labels/filters/I18N_FILTER_VALIDATOR.ts +1 -1
- package/src/globalization/labels/filters/I18N_RANKING_CONTAINER.ts +6 -0
- package/src/globalization/labels/filters/I18N_RELATIVE_CONTAINER.ts +12 -0
- package/src/globalization/labels/filters/I18N_RELATIVE_CURSOR.ts +7 -0
- package/src/globalization/labels/filters/I18N_SLIDEBAR.ts +9 -0
- package/src/globalization/labels/filters/I18N_VALUE_CONTAINER.ts +12 -0
- package/src/globalization/labels/filters/index.ts +10 -1
- package/src/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.ts +60 -0
- package/src/globalization/labels/formula_builder/index.ts +1 -0
- package/src/globalization/labels/index.ts +4 -0
- package/src/globalization/labels/panel/I18N_PANEL.ts +70 -2
- package/src/globalization/labels/table_charts/I18N_TABLE_CHARTS.ts +6 -4
- package/src/globalization/service/i18nextBuilder.ts +4 -3
- package/src/interfaces/general/IGeneralInfo.ts +1 -0
- package/src/qrvey/constants/CALCULATION_INFO.ts +6 -6
- package/src/qrvey/helpers/getPropertyLabel.ts +6 -2
- package/dist/cjs/globalization/interfaces/common/II18nSlidebar.d.ts +0 -7
- package/dist/cjs/globalization/interfaces/common/II18nSlidebarValueContainer.d.ts +0 -3
- package/dist/cjs/globalization/interfaces/common/II18nValueContainerSearchInput.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/common/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
- 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/globalization/interfaces/common/II18nSlidebar.d.ts +0 -7
- package/dist/globalization/interfaces/common/II18nSlidebarValueContainer.d.ts +0 -3
- package/dist/globalization/interfaces/common/II18nValueContainerSearchInput.d.ts +0 -5
- package/dist/globalization/interfaces/common/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
- 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/I18N_VALUE_CONTAINER.js +0 -10
- package/src/globalization/interfaces/common/II18nSlidebar.ts +0 -8
- package/src/globalization/interfaces/common/II18nSlidebarValueContainer.ts +0 -3
- package/src/globalization/interfaces/common/II18nValueContainerSearchInput.ts +0 -6
- package/src/globalization/interfaces/common/II18nValueContainerSearchInputEnterValue.ts +0 -5
- package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.ts +0 -4
- package/src/globalization/labels/common/I18N_SLIDEBAR.ts +0 -10
- package/src/globalization/labels/common/I18N_VALUE_CONTAINER.ts +0 -12
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4
|
|
1
|
+
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4*
|
|
2
2
|
|
|
3
3
|
> Helper, Utils for all Qrvey Projects
|
|
4
4
|
|
|
@@ -80,12 +80,12 @@ Get a text and evaluate if it matchs with a token box label.
|
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
### dist/dates/
|
|
83
|
+
### dist/dates/helpers/getDateByDateFormat.js
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
####
|
|
86
|
+
#### getDateByDateFormat(date, format, time)
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
Gets a Date Object instance by a Date format
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
|
|
@@ -94,58 +94,36 @@ Get date range object from a string date value
|
|
|
94
94
|
|
|
95
95
|
| Name | Type | Description | |
|
|
96
96
|
| ---- | ---- | ----------- | -------- |
|
|
97
|
-
|
|
|
98
|
-
|
|
|
99
|
-
|
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
| date | | String with a formatted date | |
|
|
98
|
+
| format | | The date format | |
|
|
99
|
+
| time | | flag to convert the formatted date to miliseconds | |
|
|
102
100
|
|
|
103
101
|
|
|
104
|
-
##### Examples
|
|
105
102
|
|
|
106
|
-
```javascript
|
|
107
|
-
// 1) Year:
|
|
108
|
-
getDateRange('2020', 'YEAR');
|
|
109
|
-
// Will return:
|
|
110
|
-
{
|
|
111
|
-
from: '01/01/2020 00:00:00',
|
|
112
|
-
to: '12/31/2020 23:59:59'
|
|
113
|
-
}
|
|
114
103
|
|
|
115
|
-
|
|
116
|
-
getDateRange('Q3 2020', 'QUARTER');
|
|
117
|
-
// Will return:
|
|
118
|
-
{
|
|
119
|
-
from: '07/01/2020 00:00:00',
|
|
120
|
-
to: '09/30/2020 23:59:59'
|
|
121
|
-
}
|
|
104
|
+
##### Returns
|
|
122
105
|
|
|
123
|
-
// 3) Month:
|
|
124
|
-
getDateRange('Oct 2020', 'MONTH');
|
|
125
|
-
// Will return:
|
|
126
|
-
{
|
|
127
|
-
from: '10/01/2020 00:00:00',
|
|
128
|
-
to: '10/31/2020 23:59:59'
|
|
129
|
-
}
|
|
130
|
-
```
|
|
131
106
|
|
|
107
|
+
- a Date object, milisecond time or the same value if date format does not match.
|
|
132
108
|
|
|
133
|
-
##### Returns
|
|
134
109
|
|
|
135
110
|
|
|
136
|
-
- `Object` an object with the date range with two string date properties: from and to
|
|
137
111
|
|
|
112
|
+
### dist/dates/helpers/getDateFormatByProperty.js
|
|
138
113
|
|
|
139
114
|
|
|
115
|
+
#### getDateFormatByProperty(property)
|
|
140
116
|
|
|
141
|
-
|
|
117
|
+
Gets the date format by the given property
|
|
142
118
|
|
|
143
119
|
|
|
144
|
-
#### value()
|
|
145
120
|
|
|
146
|
-
Resolves statement and returns statement value
|
|
147
121
|
|
|
122
|
+
##### Parameters
|
|
148
123
|
|
|
124
|
+
| Name | Type | Description | |
|
|
125
|
+
| ---- | ---- | ----------- | -------- |
|
|
126
|
+
| property | | The Column Property | |
|
|
149
127
|
|
|
150
128
|
|
|
151
129
|
|
|
@@ -153,47 +131,53 @@ Resolves statement and returns statement value
|
|
|
153
131
|
##### Returns
|
|
154
132
|
|
|
155
133
|
|
|
156
|
-
-
|
|
134
|
+
- The date format
|
|
157
135
|
|
|
158
136
|
|
|
159
137
|
|
|
160
|
-
#### valueAsAnchor()
|
|
161
138
|
|
|
162
|
-
|
|
139
|
+
### dist/dates/helpers/getDateFormatRegularExpressionInArray.js
|
|
163
140
|
|
|
164
141
|
|
|
142
|
+
#### getDateFormatRegularExpressionInArray(dateFormat)
|
|
165
143
|
|
|
144
|
+
Gets an array of regular expressions by the given date format
|
|
166
145
|
|
|
167
146
|
|
|
168
147
|
|
|
169
|
-
##### Returns
|
|
170
148
|
|
|
149
|
+
##### Parameters
|
|
171
150
|
|
|
172
|
-
|
|
151
|
+
| Name | Type | Description | |
|
|
152
|
+
| ---- | ---- | ----------- | -------- |
|
|
153
|
+
| dateFormat | | the date format | |
|
|
173
154
|
|
|
174
155
|
|
|
175
156
|
|
|
176
|
-
#### _statementToRange() *private method*
|
|
177
157
|
|
|
178
|
-
|
|
158
|
+
##### Returns
|
|
179
159
|
|
|
180
160
|
|
|
161
|
+
- an array of regular expressions
|
|
181
162
|
|
|
182
163
|
|
|
183
164
|
|
|
184
165
|
|
|
185
|
-
|
|
166
|
+
### dist/dates/helpers/getSeparatorByDateFormat.js
|
|
186
167
|
|
|
187
168
|
|
|
188
|
-
|
|
169
|
+
#### getSeparatorByDateFormat(format)
|
|
189
170
|
|
|
171
|
+
Gets the separator of the date format
|
|
190
172
|
|
|
191
173
|
|
|
192
|
-
#### _resolveAsThis() *private method*
|
|
193
174
|
|
|
194
|
-
Apply 'this' cursor logic to statement
|
|
195
175
|
|
|
176
|
+
##### Parameters
|
|
196
177
|
|
|
178
|
+
| Name | Type | Description | |
|
|
179
|
+
| ---- | ---- | ----------- | -------- |
|
|
180
|
+
| format | | the date format | |
|
|
197
181
|
|
|
198
182
|
|
|
199
183
|
|
|
@@ -201,45 +185,48 @@ Apply 'this' cursor logic to statement
|
|
|
201
185
|
##### Returns
|
|
202
186
|
|
|
203
187
|
|
|
204
|
-
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
#### _resolveAsTheLast() *private method*
|
|
188
|
+
- a separator string
|
|
209
189
|
|
|
210
|
-
Apply 'the last' cursor logic to statement
|
|
211
190
|
|
|
212
191
|
|
|
213
192
|
|
|
193
|
+
### dist/dates/helpers/getWeek.js
|
|
214
194
|
|
|
215
195
|
|
|
196
|
+
#### getWeek(date)
|
|
216
197
|
|
|
217
|
-
|
|
198
|
+
Gets the week number of the year
|
|
199
|
+
Additionally, the month and the year
|
|
218
200
|
|
|
219
201
|
|
|
220
|
-
- `AbsoluteStatement`
|
|
221
202
|
|
|
222
203
|
|
|
204
|
+
##### Parameters
|
|
223
205
|
|
|
224
|
-
|
|
206
|
+
| Name | Type | Description | |
|
|
207
|
+
| ---- | ---- | ----------- | -------- |
|
|
208
|
+
| date | | the date object | |
|
|
225
209
|
|
|
226
|
-
Apply 'the next' cursor logic to statement
|
|
227
210
|
|
|
228
211
|
|
|
229
212
|
|
|
213
|
+
##### Returns
|
|
230
214
|
|
|
231
215
|
|
|
216
|
+
- an object with the week, month and year.
|
|
232
217
|
|
|
233
|
-
##### Returns
|
|
234
218
|
|
|
235
219
|
|
|
236
|
-
- `AbsoluteStatement`
|
|
237
220
|
|
|
221
|
+
### dist/dates/helpers/validateDate.js
|
|
238
222
|
|
|
239
223
|
|
|
240
|
-
####
|
|
224
|
+
#### validateDate(date, format)
|
|
241
225
|
|
|
242
|
-
|
|
226
|
+
Validate a string date depending on giving format
|
|
227
|
+
- If the string is a token label, the function lets it pass.
|
|
228
|
+
- Otherwise depends of the format
|
|
229
|
+
- Some escenarios the string is a mix of token labels and dates
|
|
243
230
|
|
|
244
231
|
|
|
245
232
|
|
|
@@ -248,8 +235,8 @@ Replace '@now' token inside a string
|
|
|
248
235
|
|
|
249
236
|
| Name | Type | Description | |
|
|
250
237
|
| ---- | ---- | ----------- | -------- |
|
|
251
|
-
|
|
|
252
|
-
|
|
|
238
|
+
| date | | String of date | |
|
|
239
|
+
| format | | String of the format to validate | |
|
|
253
240
|
|
|
254
241
|
|
|
255
242
|
|
|
@@ -257,60 +244,45 @@ Replace '@now' token inside a string
|
|
|
257
244
|
##### Returns
|
|
258
245
|
|
|
259
246
|
|
|
260
|
-
-
|
|
247
|
+
- True if it is valid or not. Undefined if date is undefined
|
|
261
248
|
|
|
262
249
|
|
|
263
250
|
|
|
264
|
-
#### convertRelativeToAbsolute(args)
|
|
265
251
|
|
|
266
|
-
|
|
252
|
+
### dist/dates/helpers/validateDateByDateFormat.js
|
|
267
253
|
|
|
268
254
|
|
|
255
|
+
#### validateDateByDateFormat(date, dateForma)
|
|
269
256
|
|
|
257
|
+
Validates the given string as Date by its date format.
|
|
270
258
|
|
|
271
|
-
##### Parameters
|
|
272
259
|
|
|
273
|
-
| Name | Type | Description | |
|
|
274
|
-
| ---- | ---- | ----------- | -------- |
|
|
275
|
-
| args | `RelativeToAbsoluteStruct` | | |
|
|
276
260
|
|
|
277
261
|
|
|
262
|
+
##### Parameters
|
|
278
263
|
|
|
264
|
+
| Name | Type | Description | |
|
|
265
|
+
| ---- | ---- | ----------- | -------- |
|
|
266
|
+
| date | | a string to validate as date form | |
|
|
267
|
+
| dateForma | | the format of the date to validate the string | |
|
|
279
268
|
|
|
280
|
-
##### Examples
|
|
281
269
|
|
|
282
|
-
```javascript
|
|
283
|
-
pivot = '2021-03-03T12:30:40'
|
|
284
|
-
unit = month
|
|
285
|
-
steps = 2
|
|
286
|
-
setTo = END
|
|
287
|
-
resolverAsCalendar: true
|
|
288
|
-
=> Returns '2021-05-31T23:59:59'
|
|
289
|
-
```
|
|
290
|
-
```javascript
|
|
291
|
-
pivot = '2021-03-03T12:30:40'
|
|
292
|
-
unit = month
|
|
293
|
-
steps = -2
|
|
294
|
-
setTo = START
|
|
295
|
-
resolverAsCalendar: false
|
|
296
|
-
=> Returns '2021-01-03T00:00:00'
|
|
297
|
-
```
|
|
298
270
|
|
|
299
271
|
|
|
300
272
|
##### Returns
|
|
301
273
|
|
|
302
274
|
|
|
303
|
-
-
|
|
275
|
+
- true: the string is a valida date
|
|
304
276
|
|
|
305
277
|
|
|
306
278
|
|
|
307
279
|
|
|
308
|
-
### dist/dates/
|
|
280
|
+
### dist/dates/adapters/mdyDateToDate.js
|
|
309
281
|
|
|
310
282
|
|
|
311
|
-
####
|
|
283
|
+
#### mdyDateToDate(monthYearDate, time)
|
|
312
284
|
|
|
313
|
-
|
|
285
|
+
Transforms String Date from a [mm/dd/yyyy] format to Date object.
|
|
314
286
|
|
|
315
287
|
|
|
316
288
|
|
|
@@ -319,44 +291,26 @@ Resolve a list of relative statements according to operator
|
|
|
319
291
|
|
|
320
292
|
| Name | Type | Description | |
|
|
321
293
|
| ---- | ---- | ----------- | -------- |
|
|
322
|
-
|
|
|
323
|
-
|
|
|
294
|
+
| monthYearDate | | String of [mm/dd/yyyy] date | |
|
|
295
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
324
296
|
|
|
325
297
|
|
|
326
298
|
|
|
327
299
|
|
|
328
|
-
##### Examples
|
|
329
|
-
|
|
330
|
-
```javascript
|
|
331
|
-
Input:
|
|
332
|
-
{
|
|
333
|
-
"cursor": "the_next",
|
|
334
|
-
"unit": "year",
|
|
335
|
-
"number": 1,
|
|
336
|
-
"includeCurrent": false,
|
|
337
|
-
"isCalendarDate": false,
|
|
338
|
-
"anchor": "03/05/2021"
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
Output:
|
|
342
|
-
{ gte: "03/06/2021 00:00:00", lte: "03/05/2022 23:59:59" }
|
|
343
|
-
```
|
|
344
|
-
|
|
345
|
-
|
|
346
300
|
##### Returns
|
|
347
301
|
|
|
348
302
|
|
|
349
|
-
-
|
|
303
|
+
- The date object or the date in milliseconds
|
|
350
304
|
|
|
351
305
|
|
|
352
306
|
|
|
353
307
|
|
|
354
|
-
### dist/
|
|
308
|
+
### dist/dates/adapters/monthYearToDate.js
|
|
355
309
|
|
|
356
310
|
|
|
357
|
-
####
|
|
311
|
+
#### monthYearToDate(monthYearDate, time)
|
|
358
312
|
|
|
359
|
-
|
|
313
|
+
Transforms String Date from a [Month Year] format to Date object.
|
|
360
314
|
|
|
361
315
|
|
|
362
316
|
|
|
@@ -365,8 +319,8 @@ Generates a Flattened UI filter structure from Filter Data structure.
|
|
|
365
319
|
|
|
366
320
|
| Name | Type | Description | |
|
|
367
321
|
| ---- | ---- | ----------- | -------- |
|
|
368
|
-
|
|
|
369
|
-
|
|
|
322
|
+
| monthYearDate | | String of [Month Year] date | |
|
|
323
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
370
324
|
|
|
371
325
|
|
|
372
326
|
|
|
@@ -374,13 +328,17 @@ Generates a Flattened UI filter structure from Filter Data structure.
|
|
|
374
328
|
##### Returns
|
|
375
329
|
|
|
376
330
|
|
|
377
|
-
-
|
|
331
|
+
- The date object or the date in milliseconds
|
|
378
332
|
|
|
379
333
|
|
|
380
334
|
|
|
381
|
-
#### FD21ToFlatUI(scopes, datasetsInfo)
|
|
382
335
|
|
|
383
|
-
|
|
336
|
+
### dist/dates/adapters/quarterYearToDate.js
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
#### quarterYearToDate(quarterYearDate, time)
|
|
340
|
+
|
|
341
|
+
Transforms String Date from a [Quarter Year] format to Date object.
|
|
384
342
|
|
|
385
343
|
|
|
386
344
|
|
|
@@ -389,8 +347,8 @@ Generates a Filter Builder Structure from the Filter Data structure v2.1
|
|
|
389
347
|
|
|
390
348
|
| Name | Type | Description | |
|
|
391
349
|
| ---- | ---- | ----------- | -------- |
|
|
392
|
-
|
|
|
393
|
-
|
|
|
350
|
+
| quarterYearDate | | String of [Quarter Year] date | |
|
|
351
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
394
352
|
|
|
395
353
|
|
|
396
354
|
|
|
@@ -398,17 +356,17 @@ Generates a Filter Builder Structure from the Filter Data structure v2.1
|
|
|
398
356
|
##### Returns
|
|
399
357
|
|
|
400
358
|
|
|
401
|
-
-
|
|
359
|
+
- The date object or the date in milliseconds
|
|
402
360
|
|
|
403
361
|
|
|
404
362
|
|
|
405
363
|
|
|
406
|
-
### dist/
|
|
364
|
+
### dist/dates/adapters/weekYearToDate.js
|
|
407
365
|
|
|
408
366
|
|
|
409
|
-
####
|
|
367
|
+
#### weekYearToDate(date, time)
|
|
410
368
|
|
|
411
|
-
|
|
369
|
+
Transforms String Date from a [Week Year] format to Date object.
|
|
412
370
|
|
|
413
371
|
|
|
414
372
|
|
|
@@ -417,7 +375,8 @@ Generates a Filter Logic structure from Filter Data structure.
|
|
|
417
375
|
|
|
418
376
|
| Name | Type | Description | |
|
|
419
377
|
| ---- | ---- | ----------- | -------- |
|
|
420
|
-
|
|
|
378
|
+
| date | | String of [Week Year] date | |
|
|
379
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
421
380
|
|
|
422
381
|
|
|
423
382
|
|
|
@@ -425,13 +384,17 @@ Generates a Filter Logic structure from Filter Data structure.
|
|
|
425
384
|
##### Returns
|
|
426
385
|
|
|
427
386
|
|
|
428
|
-
-
|
|
387
|
+
- The date object or the date in milliseconds
|
|
429
388
|
|
|
430
389
|
|
|
431
390
|
|
|
432
|
-
#### getLogicBodyFromFD21(filterData)
|
|
433
391
|
|
|
434
|
-
|
|
392
|
+
### dist/dates/adapters/yearToDate.js
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
#### yearToDate(yearDate, time)
|
|
396
|
+
|
|
397
|
+
Transforms String Date from a [Year] format to Date object.
|
|
435
398
|
|
|
436
399
|
|
|
437
400
|
|
|
@@ -440,7 +403,8 @@ Gets the logic body
|
|
|
440
403
|
|
|
441
404
|
| Name | Type | Description | |
|
|
442
405
|
| ---- | ---- | ----------- | -------- |
|
|
443
|
-
|
|
|
406
|
+
| yearDate | | String of [Year] date | |
|
|
407
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
444
408
|
|
|
445
409
|
|
|
446
410
|
|
|
@@ -448,17 +412,17 @@ Gets the logic body
|
|
|
448
412
|
##### Returns
|
|
449
413
|
|
|
450
414
|
|
|
451
|
-
-
|
|
415
|
+
- The date object or the date in milliseconds
|
|
452
416
|
|
|
453
417
|
|
|
454
418
|
|
|
455
419
|
|
|
456
|
-
### dist/
|
|
420
|
+
### dist/dates/range/getDateRange.js
|
|
457
421
|
|
|
458
422
|
|
|
459
|
-
####
|
|
423
|
+
#### getDateRange(value, dateGroupLabel, withTime)
|
|
460
424
|
|
|
461
|
-
|
|
425
|
+
Get date range object from a string date value
|
|
462
426
|
|
|
463
427
|
|
|
464
428
|
|
|
@@ -467,61 +431,74 @@ Generates a UI filter structure from Filter Data structure.
|
|
|
467
431
|
|
|
468
432
|
| Name | Type | Description | |
|
|
469
433
|
| ---- | ---- | ----------- | -------- |
|
|
470
|
-
|
|
|
471
|
-
|
|
|
472
|
-
|
|
434
|
+
| value | `String` | string date value | |
|
|
435
|
+
| dateGroupLabel | `String` | could be 'YEAR', 'QUARTER', 'MONTH' or 'DAY'. Deafult is 'DAY' | |
|
|
436
|
+
| withTime | `Boolean` | determines if the date range will include time. Default is true | |
|
|
473
437
|
|
|
474
438
|
|
|
475
439
|
|
|
476
|
-
##### Returns
|
|
477
440
|
|
|
441
|
+
##### Examples
|
|
478
442
|
|
|
479
|
-
|
|
443
|
+
```javascript
|
|
444
|
+
// 1) Year:
|
|
445
|
+
getDateRange('2020', 'YEAR');
|
|
446
|
+
// Will return:
|
|
447
|
+
{
|
|
448
|
+
from: '01/01/2020 00:00:00',
|
|
449
|
+
to: '12/31/2020 23:59:59'
|
|
450
|
+
}
|
|
480
451
|
|
|
452
|
+
// 2) Quarter:
|
|
453
|
+
getDateRange('Q3 2020', 'QUARTER');
|
|
454
|
+
// Will return:
|
|
455
|
+
{
|
|
456
|
+
from: '07/01/2020 00:00:00',
|
|
457
|
+
to: '09/30/2020 23:59:59'
|
|
458
|
+
}
|
|
481
459
|
|
|
460
|
+
// 3) Month:
|
|
461
|
+
getDateRange('Oct 2020', 'MONTH');
|
|
462
|
+
// Will return:
|
|
463
|
+
{
|
|
464
|
+
from: '10/01/2020 00:00:00',
|
|
465
|
+
to: '10/31/2020 23:59:59'
|
|
466
|
+
}
|
|
467
|
+
```
|
|
482
468
|
|
|
483
|
-
#### FD21ToUI(scopes, section, version, datasetsInfo)
|
|
484
469
|
|
|
485
|
-
|
|
470
|
+
##### Returns
|
|
486
471
|
|
|
487
472
|
|
|
473
|
+
- `Object` an object with the date range with two string date properties: from and to
|
|
488
474
|
|
|
489
475
|
|
|
490
|
-
##### Parameters
|
|
491
476
|
|
|
492
|
-
| Name | Type | Description | |
|
|
493
|
-
| ---- | ---- | ----------- | -------- |
|
|
494
|
-
| scopes | | The filter scope section | |
|
|
495
|
-
| section | | The filter section. | |
|
|
496
|
-
| version | | The version of the filter structure | |
|
|
497
|
-
| datasetsInfo | | Collection of datasets information | |
|
|
498
477
|
|
|
478
|
+
### dist/dates/relative/Adapter.js
|
|
499
479
|
|
|
500
480
|
|
|
481
|
+
#### value()
|
|
501
482
|
|
|
502
|
-
|
|
483
|
+
Resolves statement and returns statement value
|
|
503
484
|
|
|
504
485
|
|
|
505
|
-
- a UI filter Structure
|
|
506
486
|
|
|
507
487
|
|
|
508
488
|
|
|
509
489
|
|
|
510
|
-
|
|
490
|
+
##### Returns
|
|
511
491
|
|
|
512
492
|
|
|
513
|
-
|
|
493
|
+
- `AbsoluteRange` `string`
|
|
514
494
|
|
|
515
|
-
Generates a Filter Data Structure structure from UI Filter Data structure.
|
|
516
495
|
|
|
517
496
|
|
|
497
|
+
#### valueAsAnchor()
|
|
518
498
|
|
|
499
|
+
Resolves statement as an anchor
|
|
519
500
|
|
|
520
|
-
##### Parameters
|
|
521
501
|
|
|
522
|
-
| Name | Type | Description | |
|
|
523
|
-
| ---- | ---- | ----------- | -------- |
|
|
524
|
-
| filterData | | The UI filter data object. | |
|
|
525
502
|
|
|
526
503
|
|
|
527
504
|
|
|
@@ -529,74 +506,63 @@ Generates a Filter Data Structure structure from UI Filter Data structure.
|
|
|
529
506
|
##### Returns
|
|
530
507
|
|
|
531
508
|
|
|
532
|
-
-
|
|
509
|
+
- `string`
|
|
533
510
|
|
|
534
511
|
|
|
535
512
|
|
|
536
|
-
####
|
|
513
|
+
#### _statementToRange() *private method*
|
|
537
514
|
|
|
538
|
-
|
|
515
|
+
Convert verbal statement to range value
|
|
539
516
|
|
|
540
517
|
|
|
541
518
|
|
|
542
519
|
|
|
543
|
-
##### Parameters
|
|
544
520
|
|
|
545
|
-
| Name | Type | Description | |
|
|
546
|
-
| ---- | ---- | ----------- | -------- |
|
|
547
|
-
| uFilterData | | The UI filter Data object | |
|
|
548
|
-
| version | | the version of the structure | |
|
|
549
521
|
|
|
522
|
+
##### Returns
|
|
550
523
|
|
|
551
524
|
|
|
525
|
+
- `AbsoluteRange`
|
|
552
526
|
|
|
553
|
-
##### Returns
|
|
554
527
|
|
|
555
528
|
|
|
556
|
-
|
|
529
|
+
#### _resolveAsThis() *private method*
|
|
557
530
|
|
|
531
|
+
Apply 'this' cursor logic to statement
|
|
558
532
|
|
|
559
533
|
|
|
560
534
|
|
|
561
|
-
### dist/filters/adapters/UIToFlatUI.js
|
|
562
535
|
|
|
563
536
|
|
|
564
|
-
#### UIToFlatUI(filterData, datasetsInfo)
|
|
565
537
|
|
|
566
|
-
|
|
538
|
+
##### Returns
|
|
567
539
|
|
|
568
540
|
|
|
541
|
+
- `AbsoluteStatement`
|
|
569
542
|
|
|
570
543
|
|
|
571
|
-
##### Parameters
|
|
572
544
|
|
|
573
|
-
|
|
574
|
-
| ---- | ---- | ----------- | -------- |
|
|
575
|
-
| filterData | | The UI filter data object. | |
|
|
576
|
-
| datasetsInfo | | Collection of datasets information. Optional for updating the datasets info | |
|
|
545
|
+
#### _resolveAsTheLast() *private method*
|
|
577
546
|
|
|
547
|
+
Apply 'the last' cursor logic to statement
|
|
578
548
|
|
|
579
549
|
|
|
580
550
|
|
|
581
|
-
##### Returns
|
|
582
551
|
|
|
583
552
|
|
|
584
|
-
- a flattened UI filters array
|
|
585
553
|
|
|
554
|
+
##### Returns
|
|
586
555
|
|
|
587
556
|
|
|
588
|
-
|
|
557
|
+
- `AbsoluteStatement`
|
|
589
558
|
|
|
590
|
-
Generates a Flattened UI Filter Structure from the UI Filter Data structure v2.1
|
|
591
559
|
|
|
592
560
|
|
|
561
|
+
#### _resolveAsTheNext() *private method*
|
|
593
562
|
|
|
563
|
+
Apply 'the next' cursor logic to statement
|
|
594
564
|
|
|
595
|
-
##### Parameters
|
|
596
565
|
|
|
597
|
-
| Name | Type | Description | |
|
|
598
|
-
| ---- | ---- | ----------- | -------- |
|
|
599
|
-
| scopes | | The filter scope section | |
|
|
600
566
|
|
|
601
567
|
|
|
602
568
|
|
|
@@ -604,18 +570,13 @@ Generates a Flattened UI Filter Structure from the UI Filter Data structure v2.1
|
|
|
604
570
|
##### Returns
|
|
605
571
|
|
|
606
572
|
|
|
607
|
-
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
573
|
+
- `AbsoluteStatement`
|
|
611
574
|
|
|
612
|
-
### dist/filters/adapters/adaptDateGroupingProperty.js
|
|
613
575
|
|
|
614
576
|
|
|
615
|
-
####
|
|
577
|
+
#### replaceNowToken(value, now)
|
|
616
578
|
|
|
617
|
-
|
|
618
|
-
Get the new property base on the old date grouping properties
|
|
579
|
+
Replace '@now' token inside a string
|
|
619
580
|
|
|
620
581
|
|
|
621
582
|
|
|
@@ -624,7 +585,8 @@ Get the new property base on the old date grouping properties
|
|
|
624
585
|
|
|
625
586
|
| Name | Type | Description | |
|
|
626
587
|
| ---- | ---- | ----------- | -------- |
|
|
627
|
-
|
|
|
588
|
+
| value | `string` | | |
|
|
589
|
+
| now | `Date` | | |
|
|
628
590
|
|
|
629
591
|
|
|
630
592
|
|
|
@@ -632,17 +594,13 @@ Get the new property base on the old date grouping properties
|
|
|
632
594
|
##### Returns
|
|
633
595
|
|
|
634
596
|
|
|
635
|
-
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
597
|
+
- `string`
|
|
639
598
|
|
|
640
|
-
### dist/filters/adapters/adaptFilterData.js
|
|
641
599
|
|
|
642
600
|
|
|
643
|
-
####
|
|
601
|
+
#### convertRelativeToAbsolute(args)
|
|
644
602
|
|
|
645
|
-
|
|
603
|
+
Returns a range object (date) from a group of statement params
|
|
646
604
|
|
|
647
605
|
|
|
648
606
|
|
|
@@ -651,28 +609,45 @@ Checks and adapts the v2.0 Filter Data Structure to the v2.1
|
|
|
651
609
|
|
|
652
610
|
| Name | Type | Description | |
|
|
653
611
|
| ---- | ---- | ----------- | -------- |
|
|
654
|
-
|
|
|
655
|
-
|
|
656
|
-
| datasetsInfo | | Collection of datasets information. If getUIFilterData is true, the datasetsInfo should be mandatory | |
|
|
612
|
+
| args | `RelativeToAbsoluteStruct` | | |
|
|
613
|
+
|
|
657
614
|
|
|
658
615
|
|
|
659
616
|
|
|
617
|
+
##### Examples
|
|
618
|
+
|
|
619
|
+
```javascript
|
|
620
|
+
pivot = '2021-03-03T12:30:40'
|
|
621
|
+
unit = month
|
|
622
|
+
steps = 2
|
|
623
|
+
setTo = END
|
|
624
|
+
resolverAsCalendar: true
|
|
625
|
+
=> Returns '2021-05-31T23:59:59'
|
|
626
|
+
```
|
|
627
|
+
```javascript
|
|
628
|
+
pivot = '2021-03-03T12:30:40'
|
|
629
|
+
unit = month
|
|
630
|
+
steps = -2
|
|
631
|
+
setTo = START
|
|
632
|
+
resolverAsCalendar: false
|
|
633
|
+
=> Returns '2021-01-03T00:00:00'
|
|
634
|
+
```
|
|
635
|
+
|
|
660
636
|
|
|
661
637
|
##### Returns
|
|
662
638
|
|
|
663
639
|
|
|
664
|
-
-
|
|
640
|
+
- `string`
|
|
665
641
|
|
|
666
642
|
|
|
667
643
|
|
|
668
644
|
|
|
669
|
-
### dist/
|
|
645
|
+
### dist/dates/relative/relative.js
|
|
670
646
|
|
|
671
647
|
|
|
672
|
-
####
|
|
648
|
+
#### resolveRelative(statements, clock)
|
|
673
649
|
|
|
674
|
-
|
|
675
|
-
Gets an adapted filter value array. Validates the enabled property and sets
|
|
650
|
+
Resolve a list of relative statements according to operator
|
|
676
651
|
|
|
677
652
|
|
|
678
653
|
|
|
@@ -681,25 +656,44 @@ Gets an adapted filter value array. Validates the enabled property and sets
|
|
|
681
656
|
|
|
682
657
|
| Name | Type | Description | |
|
|
683
658
|
| ---- | ---- | ----------- | -------- |
|
|
684
|
-
|
|
|
659
|
+
| statements | `Array.<RelativeStatement>` `Array.<string>` | - Raw statements/values | |
|
|
660
|
+
| clock | `Date` | - Clock/time reference for relative date resolution | |
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
##### Examples
|
|
685
666
|
|
|
667
|
+
```javascript
|
|
668
|
+
Input:
|
|
669
|
+
{
|
|
670
|
+
"cursor": "the_next",
|
|
671
|
+
"unit": "year",
|
|
672
|
+
"number": 1,
|
|
673
|
+
"includeCurrent": false,
|
|
674
|
+
"isCalendarDate": false,
|
|
675
|
+
"anchor": "03/05/2021"
|
|
676
|
+
}
|
|
686
677
|
|
|
678
|
+
Output:
|
|
679
|
+
{ gte: "03/06/2021 00:00:00", lte: "03/05/2022 23:59:59" }
|
|
680
|
+
```
|
|
687
681
|
|
|
688
682
|
|
|
689
683
|
##### Returns
|
|
690
684
|
|
|
691
685
|
|
|
692
|
-
-
|
|
686
|
+
- `Array.<AbsoluteRange>` `Array.<string>`
|
|
693
687
|
|
|
694
688
|
|
|
695
689
|
|
|
696
690
|
|
|
697
|
-
### dist/filters/adapters/
|
|
691
|
+
### dist/filters/adapters/FDToFlatUI.js
|
|
698
692
|
|
|
699
693
|
|
|
700
|
-
####
|
|
694
|
+
#### FDToFlatUI(filterData, datasetsInfo)
|
|
701
695
|
|
|
702
|
-
Generates a filter
|
|
696
|
+
Generates a Flattened UI filter structure from Filter Data structure.
|
|
703
697
|
|
|
704
698
|
|
|
705
699
|
|
|
@@ -708,8 +702,8 @@ Generates a filter data structure from the flatttened UI filters.
|
|
|
708
702
|
|
|
709
703
|
| Name | Type | Description | |
|
|
710
704
|
| ---- | ---- | ----------- | -------- |
|
|
711
|
-
|
|
|
712
|
-
|
|
|
705
|
+
| filterData | | The filter data object. | |
|
|
706
|
+
| datasetsInfo | | Collection of datasets information | |
|
|
713
707
|
|
|
714
708
|
|
|
715
709
|
|
|
@@ -717,14 +711,13 @@ Generates a filter data structure from the flatttened UI filters.
|
|
|
717
711
|
##### Returns
|
|
718
712
|
|
|
719
713
|
|
|
720
|
-
- a
|
|
714
|
+
- a flattened UI filters array
|
|
721
715
|
|
|
722
716
|
|
|
723
717
|
|
|
724
|
-
####
|
|
718
|
+
#### FD21ToFlatUI(scopes, datasetsInfo)
|
|
725
719
|
|
|
726
|
-
|
|
727
|
-
Also, adds and organizes filters by datasets
|
|
720
|
+
Generates a Filter Builder Structure from the Filter Data structure v2.1
|
|
728
721
|
|
|
729
722
|
|
|
730
723
|
|
|
@@ -733,7 +726,8 @@ Also, adds and organizes filters by datasets
|
|
|
733
726
|
|
|
734
727
|
| Name | Type | Description | |
|
|
735
728
|
| ---- | ---- | ----------- | -------- |
|
|
736
|
-
|
|
|
729
|
+
| scopes | | The filter scope section | |
|
|
730
|
+
| datasetsInfo | | Collection of datasets information | |
|
|
737
731
|
|
|
738
732
|
|
|
739
733
|
|
|
@@ -741,13 +735,17 @@ Also, adds and organizes filters by datasets
|
|
|
741
735
|
##### Returns
|
|
742
736
|
|
|
743
737
|
|
|
744
|
-
-
|
|
738
|
+
- a flattened UI filters array
|
|
745
739
|
|
|
746
740
|
|
|
747
741
|
|
|
748
|
-
#### buildScope(uFilter)
|
|
749
742
|
|
|
750
|
-
|
|
743
|
+
### dist/filters/adapters/FDToLogic.js
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
#### FDToLogic(filterData)
|
|
747
|
+
|
|
748
|
+
Generates a Filter Logic structure from Filter Data structure.
|
|
751
749
|
|
|
752
750
|
|
|
753
751
|
|
|
@@ -756,7 +754,7 @@ Gets an scope structure for the filter data
|
|
|
756
754
|
|
|
757
755
|
| Name | Type | Description | |
|
|
758
756
|
| ---- | ---- | ----------- | -------- |
|
|
759
|
-
|
|
|
757
|
+
| filterData | | The filter data object. | |
|
|
760
758
|
|
|
761
759
|
|
|
762
760
|
|
|
@@ -764,13 +762,13 @@ Gets an scope structure for the filter data
|
|
|
764
762
|
##### Returns
|
|
765
763
|
|
|
766
764
|
|
|
767
|
-
-
|
|
765
|
+
- a filter logic array
|
|
768
766
|
|
|
769
767
|
|
|
770
768
|
|
|
771
|
-
####
|
|
769
|
+
#### getLogicBodyFromFD21(filterData)
|
|
772
770
|
|
|
773
|
-
Gets
|
|
771
|
+
Gets the logic body
|
|
774
772
|
|
|
775
773
|
|
|
776
774
|
|
|
@@ -779,7 +777,7 @@ Gets an dataset structure for the filter data
|
|
|
779
777
|
|
|
780
778
|
| Name | Type | Description | |
|
|
781
779
|
| ---- | ---- | ----------- | -------- |
|
|
782
|
-
|
|
|
780
|
+
| filterData | | The filter data object | |
|
|
783
781
|
|
|
784
782
|
|
|
785
783
|
|
|
@@ -787,13 +785,17 @@ Gets an dataset structure for the filter data
|
|
|
787
785
|
##### Returns
|
|
788
786
|
|
|
789
787
|
|
|
790
|
-
-
|
|
788
|
+
- a filter logic array
|
|
791
789
|
|
|
792
790
|
|
|
793
791
|
|
|
794
|
-
#### buildFilter(uFilter)
|
|
795
792
|
|
|
796
|
-
|
|
793
|
+
### dist/filters/adapters/FDToUI.js
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
#### FDToUI(filterData, datasetsInfo)
|
|
797
|
+
|
|
798
|
+
Generates a UI filter structure from Filter Data structure.
|
|
797
799
|
|
|
798
800
|
|
|
799
801
|
|
|
@@ -802,7 +804,8 @@ Gets an filter structure for the filter data
|
|
|
802
804
|
|
|
803
805
|
| Name | Type | Description | |
|
|
804
806
|
| ---- | ---- | ----------- | -------- |
|
|
805
|
-
|
|
|
807
|
+
| filterData | | The filter data object. | |
|
|
808
|
+
| datasetsInfo | | Collection of datasets information | |
|
|
806
809
|
|
|
807
810
|
|
|
808
811
|
|
|
@@ -810,17 +813,13 @@ Gets an filter structure for the filter data
|
|
|
810
813
|
##### Returns
|
|
811
814
|
|
|
812
815
|
|
|
813
|
-
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
816
|
+
- a UI Filters structure
|
|
817
817
|
|
|
818
|
-
### dist/filters/adapters/flatUIToLogic.js
|
|
819
818
|
|
|
820
819
|
|
|
821
|
-
####
|
|
820
|
+
#### FD21ToUI(scopes, section, version, datasetsInfo)
|
|
822
821
|
|
|
823
|
-
Generates a
|
|
822
|
+
Generates a UI filter Structure from the Filter Data structure v2.1
|
|
824
823
|
|
|
825
824
|
|
|
826
825
|
|
|
@@ -829,7 +828,10 @@ Generates a Logic structure from flattened UI filters
|
|
|
829
828
|
|
|
830
829
|
| Name | Type | Description | |
|
|
831
830
|
| ---- | ---- | ----------- | -------- |
|
|
832
|
-
|
|
|
831
|
+
| scopes | | The filter scope section | |
|
|
832
|
+
| section | | The filter section. | |
|
|
833
|
+
| version | | The version of the filter structure | |
|
|
834
|
+
| datasetsInfo | | Collection of datasets information | |
|
|
833
835
|
|
|
834
836
|
|
|
835
837
|
|
|
@@ -837,17 +839,17 @@ Generates a Logic structure from flattened UI filters
|
|
|
837
839
|
##### Returns
|
|
838
840
|
|
|
839
841
|
|
|
840
|
-
-
|
|
842
|
+
- a UI filter Structure
|
|
841
843
|
|
|
842
844
|
|
|
843
845
|
|
|
844
846
|
|
|
845
|
-
### dist/filters/adapters/
|
|
847
|
+
### dist/filters/adapters/UIToFD.js
|
|
846
848
|
|
|
847
849
|
|
|
848
|
-
####
|
|
850
|
+
#### UIToFD(filterData)
|
|
849
851
|
|
|
850
|
-
Generates a
|
|
852
|
+
Generates a Filter Data Structure structure from UI Filter Data structure.
|
|
851
853
|
|
|
852
854
|
|
|
853
855
|
|
|
@@ -856,7 +858,7 @@ Generates a Logic structure from flattened UI filters
|
|
|
856
858
|
|
|
857
859
|
| Name | Type | Description | |
|
|
858
860
|
| ---- | ---- | ----------- | -------- |
|
|
859
|
-
|
|
|
861
|
+
| filterData | | The UI filter data object. | |
|
|
860
862
|
|
|
861
863
|
|
|
862
864
|
|
|
@@ -864,17 +866,13 @@ Generates a Logic structure from flattened UI filters
|
|
|
864
866
|
##### Returns
|
|
865
867
|
|
|
866
868
|
|
|
867
|
-
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
869
|
+
- a Filter Data structure
|
|
871
870
|
|
|
872
|
-
### dist/filters/adapters/flatUIToUI.js
|
|
873
871
|
|
|
874
872
|
|
|
875
|
-
####
|
|
873
|
+
#### UI21ToFD(uFilterData, version)
|
|
876
874
|
|
|
877
|
-
|
|
875
|
+
Builds the Fitler Data structure from UI filter data
|
|
878
876
|
|
|
879
877
|
|
|
880
878
|
|
|
@@ -883,8 +881,8 @@ Generates a UI filter data structure from the flatttened UI filters.
|
|
|
883
881
|
|
|
884
882
|
| Name | Type | Description | |
|
|
885
883
|
| ---- | ---- | ----------- | -------- |
|
|
886
|
-
|
|
|
887
|
-
| version | |
|
|
884
|
+
| uFilterData | | The UI filter Data object | |
|
|
885
|
+
| version | | the version of the structure | |
|
|
888
886
|
|
|
889
887
|
|
|
890
888
|
|
|
@@ -892,14 +890,17 @@ Generates a UI filter data structure from the flatttened UI filters.
|
|
|
892
890
|
##### Returns
|
|
893
891
|
|
|
894
892
|
|
|
895
|
-
-
|
|
893
|
+
-
|
|
896
894
|
|
|
897
895
|
|
|
898
896
|
|
|
899
|
-
#### buildScopes(fbFilters)
|
|
900
897
|
|
|
901
|
-
|
|
902
|
-
|
|
898
|
+
### dist/filters/adapters/UIToFlatUI.js
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
#### UIToFlatUI(filterData, datasetsInfo)
|
|
902
|
+
|
|
903
|
+
Generates a Flattened UI filter structure from UI Filter Data structure.
|
|
903
904
|
|
|
904
905
|
|
|
905
906
|
|
|
@@ -908,7 +909,8 @@ Also, adds and organizes filters by datasets
|
|
|
908
909
|
|
|
909
910
|
| Name | Type | Description | |
|
|
910
911
|
| ---- | ---- | ----------- | -------- |
|
|
911
|
-
|
|
|
912
|
+
| filterData | | The UI filter data object. | |
|
|
913
|
+
| datasetsInfo | | Collection of datasets information. Optional for updating the datasets info | |
|
|
912
914
|
|
|
913
915
|
|
|
914
916
|
|
|
@@ -916,13 +918,13 @@ Also, adds and organizes filters by datasets
|
|
|
916
918
|
##### Returns
|
|
917
919
|
|
|
918
920
|
|
|
919
|
-
-
|
|
921
|
+
- a flattened UI filters array
|
|
920
922
|
|
|
921
923
|
|
|
922
924
|
|
|
923
|
-
####
|
|
925
|
+
#### UI21ToFlatUI(scopes)
|
|
924
926
|
|
|
925
|
-
|
|
927
|
+
Generates a Flattened UI Filter Structure from the UI Filter Data structure v2.1
|
|
926
928
|
|
|
927
929
|
|
|
928
930
|
|
|
@@ -931,7 +933,7 @@ Gets an scope structure for the UI filter data
|
|
|
931
933
|
|
|
932
934
|
| Name | Type | Description | |
|
|
933
935
|
| ---- | ---- | ----------- | -------- |
|
|
934
|
-
|
|
|
936
|
+
| scopes | | The filter scope section | |
|
|
935
937
|
|
|
936
938
|
|
|
937
939
|
|
|
@@ -939,13 +941,17 @@ Gets an scope structure for the UI filter data
|
|
|
939
941
|
##### Returns
|
|
940
942
|
|
|
941
943
|
|
|
942
|
-
-
|
|
944
|
+
- a flattened UI filters array
|
|
943
945
|
|
|
944
946
|
|
|
945
947
|
|
|
946
|
-
#### buildDataset(uFilter)
|
|
947
948
|
|
|
948
|
-
|
|
949
|
+
### dist/filters/adapters/adaptFilterData.js
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
#### adaptFilterData(filterData, getUIFilterData, datasetsInfo)
|
|
953
|
+
|
|
954
|
+
Checks and adapts the v2.0 Filter Data Structure to the v2.1
|
|
949
955
|
|
|
950
956
|
|
|
951
957
|
|
|
@@ -954,7 +960,9 @@ Gets an dataset structure for the UI filter data
|
|
|
954
960
|
|
|
955
961
|
| Name | Type | Description | |
|
|
956
962
|
| ---- | ---- | ----------- | -------- |
|
|
957
|
-
|
|
|
963
|
+
| filterData | | The filter data structure. Accepts both v2.1 or v2.0 | |
|
|
964
|
+
| getUIFilterData | | Flag to get a Filter Data (False) or the UI Filter Data (True) | |
|
|
965
|
+
| datasetsInfo | | Collection of datasets information. If getUIFilterData is true, the datasetsInfo should be mandatory | |
|
|
958
966
|
|
|
959
967
|
|
|
960
968
|
|
|
@@ -962,13 +970,18 @@ Gets an dataset structure for the UI filter data
|
|
|
962
970
|
##### Returns
|
|
963
971
|
|
|
964
972
|
|
|
965
|
-
-
|
|
973
|
+
- A new filter data structure v2.1
|
|
966
974
|
|
|
967
975
|
|
|
968
976
|
|
|
969
|
-
#### buildFilter(uFilter)
|
|
970
977
|
|
|
971
|
-
|
|
978
|
+
### dist/filters/adapters/adaptDateGroupingProperty.js
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
#### adaptDateGroupingProperty(property)
|
|
982
|
+
|
|
983
|
+
[TODO: For 2022, eliminate this adapter]
|
|
984
|
+
Get the new property base on the old date grouping properties
|
|
972
985
|
|
|
973
986
|
|
|
974
987
|
|
|
@@ -977,7 +990,7 @@ Gets an filter structure for the UI filter data
|
|
|
977
990
|
|
|
978
991
|
| Name | Type | Description | |
|
|
979
992
|
| ---- | ---- | ----------- | -------- |
|
|
980
|
-
|
|
|
993
|
+
| property | | | |
|
|
981
994
|
|
|
982
995
|
|
|
983
996
|
|
|
@@ -985,17 +998,17 @@ Gets an filter structure for the UI filter data
|
|
|
985
998
|
##### Returns
|
|
986
999
|
|
|
987
1000
|
|
|
988
|
-
-
|
|
1001
|
+
-
|
|
989
1002
|
|
|
990
1003
|
|
|
991
1004
|
|
|
992
1005
|
|
|
993
|
-
### dist/filters/adapters/
|
|
1006
|
+
### dist/filters/adapters/flatUIToFD.js
|
|
994
1007
|
|
|
995
1008
|
|
|
996
|
-
####
|
|
1009
|
+
#### flatUIToFD(uFilters, version)
|
|
997
1010
|
|
|
998
|
-
Generates a filter data structure from the
|
|
1011
|
+
Generates a filter data structure from the flatttened UI filters.
|
|
999
1012
|
|
|
1000
1013
|
|
|
1001
1014
|
|
|
@@ -1004,7 +1017,7 @@ Generates a filter data structure from the old logic structure (v2.0).
|
|
|
1004
1017
|
|
|
1005
1018
|
| Name | Type | Description | |
|
|
1006
1019
|
| ---- | ---- | ----------- | -------- |
|
|
1007
|
-
|
|
|
1020
|
+
| uFilters | | Array of flattened filters from UI | |
|
|
1008
1021
|
| version | | Tag for the version of the filter data structure | |
|
|
1009
1022
|
|
|
1010
1023
|
|
|
@@ -1017,13 +1030,10 @@ Generates a filter data structure from the old logic structure (v2.0).
|
|
|
1017
1030
|
|
|
1018
1031
|
|
|
1019
1032
|
|
|
1033
|
+
#### buildScopes(fbFilters)
|
|
1020
1034
|
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
#### logicToFlatUI(logics)
|
|
1025
|
-
|
|
1026
|
-
Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
|
|
1035
|
+
Gets an array of scopes structure for the filter data. The scopes is organized by scope types and scope IDs
|
|
1036
|
+
Also, adds and organizes filters by datasets
|
|
1027
1037
|
|
|
1028
1038
|
|
|
1029
1039
|
|
|
@@ -1032,7 +1042,7 @@ Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
|
|
|
1032
1042
|
|
|
1033
1043
|
| Name | Type | Description | |
|
|
1034
1044
|
| ---- | ---- | ----------- | -------- |
|
|
1035
|
-
|
|
|
1045
|
+
| fbFilters | | Array of flat filters from UI | |
|
|
1036
1046
|
|
|
1037
1047
|
|
|
1038
1048
|
|
|
@@ -1040,13 +1050,13 @@ Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
|
|
|
1040
1050
|
##### Returns
|
|
1041
1051
|
|
|
1042
1052
|
|
|
1043
|
-
-
|
|
1053
|
+
- an array of scopes structure.
|
|
1044
1054
|
|
|
1045
1055
|
|
|
1046
1056
|
|
|
1047
|
-
####
|
|
1057
|
+
#### buildScope(uFilter)
|
|
1048
1058
|
|
|
1049
|
-
|
|
1059
|
+
Gets an scope structure for the filter data
|
|
1050
1060
|
|
|
1051
1061
|
|
|
1052
1062
|
|
|
@@ -1055,9 +1065,7 @@ Get the filter or the index of the given array, validating an old filter structu
|
|
|
1055
1065
|
|
|
1056
1066
|
| Name | Type | Description | |
|
|
1057
1067
|
| ---- | ---- | ----------- | -------- |
|
|
1058
|
-
|
|
|
1059
|
-
| filter | | The old logic structure filter | |
|
|
1060
|
-
| getIndex | | Determines if the index or returns the UI filter object | |
|
|
1068
|
+
| uFilter | | UI structure filter | |
|
|
1061
1069
|
|
|
1062
1070
|
|
|
1063
1071
|
|
|
@@ -1065,13 +1073,13 @@ Get the filter or the index of the given array, validating an old filter structu
|
|
|
1065
1073
|
##### Returns
|
|
1066
1074
|
|
|
1067
1075
|
|
|
1068
|
-
-
|
|
1076
|
+
- an scope structure
|
|
1069
1077
|
|
|
1070
1078
|
|
|
1071
1079
|
|
|
1072
|
-
####
|
|
1080
|
+
#### buildDataset(uFilter)
|
|
1073
1081
|
|
|
1074
|
-
|
|
1082
|
+
Gets an dataset structure for the filter data
|
|
1075
1083
|
|
|
1076
1084
|
|
|
1077
1085
|
|
|
@@ -1080,8 +1088,7 @@ Refines the values of the Ranking column type.
|
|
|
1080
1088
|
|
|
1081
1089
|
| Name | Type | Description | |
|
|
1082
1090
|
| ---- | ---- | ----------- | -------- |
|
|
1083
|
-
|
|
|
1084
|
-
| uiValues | | Object with additional info about the values of the filter. | |
|
|
1091
|
+
| uFilter | | a UI structure filter | |
|
|
1085
1092
|
|
|
1086
1093
|
|
|
1087
1094
|
|
|
@@ -1089,17 +1096,13 @@ Refines the values of the Ranking column type.
|
|
|
1089
1096
|
##### Returns
|
|
1090
1097
|
|
|
1091
1098
|
|
|
1092
|
-
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1099
|
+
- an dataset structure
|
|
1096
1100
|
|
|
1097
|
-
### dist/filters/adapters/logicToUI.js
|
|
1098
1101
|
|
|
1099
1102
|
|
|
1100
|
-
####
|
|
1103
|
+
#### buildFilter(uFilter)
|
|
1101
1104
|
|
|
1102
|
-
|
|
1105
|
+
Gets an filter structure for the filter data
|
|
1103
1106
|
|
|
1104
1107
|
|
|
1105
1108
|
|
|
@@ -1108,8 +1111,7 @@ Generates a UI filter structure from the old logic structure (v2.0).
|
|
|
1108
1111
|
|
|
1109
1112
|
| Name | Type | Description | |
|
|
1110
1113
|
| ---- | ---- | ----------- | -------- |
|
|
1111
|
-
|
|
|
1112
|
-
| datasetsInfo | | Collection of datasets information | |
|
|
1114
|
+
| uFilter | | a UI structure filter | |
|
|
1113
1115
|
|
|
1114
1116
|
|
|
1115
1117
|
|
|
@@ -1117,17 +1119,18 @@ Generates a UI filter structure from the old logic structure (v2.0).
|
|
|
1117
1119
|
##### Returns
|
|
1118
1120
|
|
|
1119
1121
|
|
|
1120
|
-
-
|
|
1122
|
+
- an filter structure
|
|
1121
1123
|
|
|
1122
1124
|
|
|
1123
1125
|
|
|
1124
1126
|
|
|
1125
|
-
### dist/filters/adapters/
|
|
1127
|
+
### dist/filters/adapters/adaptFilterValues.js
|
|
1126
1128
|
|
|
1127
1129
|
|
|
1128
|
-
####
|
|
1130
|
+
#### adaptFilterValues(filter)
|
|
1129
1131
|
|
|
1130
|
-
|
|
1132
|
+
[TODO: For 2022, eliminate this adapter]
|
|
1133
|
+
Gets an adapted filter value array. Validates the enabled property and sets
|
|
1131
1134
|
|
|
1132
1135
|
|
|
1133
1136
|
|
|
@@ -1136,77 +1139,25 @@ Transform the old filters structure into the new one
|
|
|
1136
1139
|
|
|
1137
1140
|
| Name | Type | Description | |
|
|
1138
1141
|
| ---- | ---- | ----------- | -------- |
|
|
1139
|
-
|
|
|
1140
|
-
| section | `String` | could be 'ANALYZE', 'PB', 'UM' or any other value. Deafult is 'ANYWHERE' | |
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
##### Examples
|
|
1146
|
-
|
|
1147
|
-
```javascript
|
|
1142
|
+
| filter | | The filter | |
|
|
1148
1143
|
|
|
1149
|
-
const oldPreferenceFilters = {
|
|
1150
|
-
"WWXHAULtR-_-xYOQAdpqT__ENABLED": true,
|
|
1151
|
-
"WWXHAULtR-_-xYOQAdpqT__ALL--ENABLED": true,
|
|
1152
|
-
"WWXHAULtR-_-xYOQAdpqT__COLLAPSED": false,
|
|
1153
|
-
"WWXHAULtR-_-xYOQAdpqT__LABEL": "GLOBAL",
|
|
1154
|
-
"WWXHAULtR-_-xYOQAdpqT-_-AK4M8UV2": {
|
|
1155
|
-
"formulaId": null,
|
|
1156
|
-
"panelId": null,
|
|
1157
|
-
"values": [
|
|
1158
|
-
{
|
|
1159
|
-
"EQUALS": [
|
|
1160
|
-
{
|
|
1161
|
-
"id": "AK4M8UV2a0",
|
|
1162
|
-
"value": "A",
|
|
1163
|
-
"enabled": true,
|
|
1164
|
-
"imageUrl": null
|
|
1165
|
-
},
|
|
1166
|
-
{
|
|
1167
|
-
"id": "AK4M8UV2a1",
|
|
1168
|
-
"value": "B",
|
|
1169
|
-
"enabled": true,
|
|
1170
|
-
"imageUrl": null
|
|
1171
|
-
}
|
|
1172
|
-
]
|
|
1173
|
-
}
|
|
1174
|
-
],
|
|
1175
|
-
"bucketId": null,
|
|
1176
|
-
"text": "MC",
|
|
1177
|
-
"title": "MC",
|
|
1178
|
-
"type": "SINGLE_CHOICE",
|
|
1179
|
-
"qid": "AK4M8UV2",
|
|
1180
|
-
"dataset": {
|
|
1181
|
-
"sourceid": "xYOQAdpqT",
|
|
1182
|
-
"name": "Form All Questions",
|
|
1183
|
-
"qrveyid": "xYOQAdpqT",
|
|
1184
|
-
"text": "Form All Questions",
|
|
1185
|
-
"linkid": 0
|
|
1186
|
-
},
|
|
1187
|
-
"enabled": true,
|
|
1188
|
-
"linked": null
|
|
1189
|
-
}
|
|
1190
|
-
};
|
|
1191
1144
|
|
|
1192
|
-
const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
|
|
1193
|
-
```
|
|
1194
1145
|
|
|
1195
1146
|
|
|
1196
1147
|
##### Returns
|
|
1197
1148
|
|
|
1198
1149
|
|
|
1199
|
-
-
|
|
1150
|
+
- A new value array with the filled properties.
|
|
1200
1151
|
|
|
1201
1152
|
|
|
1202
1153
|
|
|
1203
1154
|
|
|
1204
|
-
### dist/filters/
|
|
1155
|
+
### dist/filters/adapters/flatUIToLogic.js
|
|
1205
1156
|
|
|
1206
1157
|
|
|
1207
|
-
####
|
|
1158
|
+
#### flatUIToLogic(uFilter)
|
|
1208
1159
|
|
|
1209
|
-
|
|
1160
|
+
Generates a Logic structure from flattened UI filters
|
|
1210
1161
|
|
|
1211
1162
|
|
|
1212
1163
|
|
|
@@ -1215,9 +1166,7 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
|
|
|
1215
1166
|
|
|
1216
1167
|
| Name | Type | Description | |
|
|
1217
1168
|
| ---- | ---- | ----------- | -------- |
|
|
1218
|
-
|
|
|
1219
|
-
| scopes | | | |
|
|
1220
|
-
| currentScope | | | |
|
|
1169
|
+
| uFilter | | Array of flat filters from UI | |
|
|
1221
1170
|
|
|
1222
1171
|
|
|
1223
1172
|
|
|
@@ -1225,17 +1174,17 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
|
|
|
1225
1174
|
##### Returns
|
|
1226
1175
|
|
|
1227
1176
|
|
|
1228
|
-
-
|
|
1177
|
+
- The logic structure
|
|
1229
1178
|
|
|
1230
1179
|
|
|
1231
1180
|
|
|
1232
1181
|
|
|
1233
|
-
### dist/filters/
|
|
1182
|
+
### dist/filters/adapters/flatUIToOldLogic.js
|
|
1234
1183
|
|
|
1235
1184
|
|
|
1236
|
-
####
|
|
1185
|
+
#### flatUIToOldLogic(uFilters)
|
|
1237
1186
|
|
|
1238
|
-
|
|
1187
|
+
Generates a Logic structure from flattened UI filters
|
|
1239
1188
|
|
|
1240
1189
|
|
|
1241
1190
|
|
|
@@ -1244,7 +1193,7 @@ Gets Scopes/Scope IDs by given IDs
|
|
|
1244
1193
|
|
|
1245
1194
|
| Name | Type | Description | |
|
|
1246
1195
|
| ---- | ---- | ----------- | -------- |
|
|
1247
|
-
|
|
|
1196
|
+
| uFilters | | Array of flat filters from UI | |
|
|
1248
1197
|
|
|
1249
1198
|
|
|
1250
1199
|
|
|
@@ -1252,17 +1201,17 @@ Gets Scopes/Scope IDs by given IDs
|
|
|
1252
1201
|
##### Returns
|
|
1253
1202
|
|
|
1254
1203
|
|
|
1255
|
-
-
|
|
1204
|
+
- The logic structure
|
|
1256
1205
|
|
|
1257
1206
|
|
|
1258
1207
|
|
|
1259
1208
|
|
|
1260
|
-
### dist/filters/
|
|
1209
|
+
### dist/filters/adapters/flatUIToUI.js
|
|
1261
1210
|
|
|
1262
1211
|
|
|
1263
|
-
####
|
|
1212
|
+
#### flatUIToUI(uFilters, version)
|
|
1264
1213
|
|
|
1265
|
-
|
|
1214
|
+
Generates a UI filter data structure from the flatttened UI filters.
|
|
1266
1215
|
|
|
1267
1216
|
|
|
1268
1217
|
|
|
@@ -1271,7 +1220,8 @@ Gets the Scopes IDS for the Available Scope function by any config
|
|
|
1271
1220
|
|
|
1272
1221
|
| Name | Type | Description | |
|
|
1273
1222
|
| ---- | ---- | ----------- | -------- |
|
|
1274
|
-
|
|
|
1223
|
+
| uFilters | | Array of flattened filters from UI | |
|
|
1224
|
+
| version | | Tag for the version of the filter data structure | |
|
|
1275
1225
|
|
|
1276
1226
|
|
|
1277
1227
|
|
|
@@ -1279,17 +1229,14 @@ Gets the Scopes IDS for the Available Scope function by any config
|
|
|
1279
1229
|
##### Returns
|
|
1280
1230
|
|
|
1281
1231
|
|
|
1282
|
-
- a
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1232
|
+
- a UI Filter Data.
|
|
1286
1233
|
|
|
1287
|
-
### dist/filters/helpers/getScopesByHierarchy.js
|
|
1288
1234
|
|
|
1289
1235
|
|
|
1290
|
-
####
|
|
1236
|
+
#### buildScopes(fbFilters)
|
|
1291
1237
|
|
|
1292
|
-
|
|
1238
|
+
Gets an array of scopes structure for the UI filter data. The scopes is organized by scope types and scope IDs
|
|
1239
|
+
Also, adds and organizes filters by datasets
|
|
1293
1240
|
|
|
1294
1241
|
|
|
1295
1242
|
|
|
@@ -1298,8 +1245,7 @@ Gets the Scopes IDS for the Available Scope function by any config
|
|
|
1298
1245
|
|
|
1299
1246
|
| Name | Type | Description | |
|
|
1300
1247
|
| ---- | ---- | ----------- | -------- |
|
|
1301
|
-
|
|
|
1302
|
-
| currentScope | | Current scope type | |
|
|
1248
|
+
| fbFilters | | Array of flat filters from UI | |
|
|
1303
1249
|
|
|
1304
1250
|
|
|
1305
1251
|
|
|
@@ -1307,17 +1253,13 @@ Gets the Scopes IDS for the Available Scope function by any config
|
|
|
1307
1253
|
##### Returns
|
|
1308
1254
|
|
|
1309
1255
|
|
|
1310
|
-
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1256
|
+
- an array of scopes structure.
|
|
1314
1257
|
|
|
1315
|
-
### dist/general/array/delete.js
|
|
1316
1258
|
|
|
1317
1259
|
|
|
1318
|
-
####
|
|
1260
|
+
#### buildScope(uFilter)
|
|
1319
1261
|
|
|
1320
|
-
|
|
1262
|
+
Gets an scope structure for the UI filter data
|
|
1321
1263
|
|
|
1322
1264
|
|
|
1323
1265
|
|
|
@@ -1326,8 +1268,7 @@ Inmutable Array Item deletion
|
|
|
1326
1268
|
|
|
1327
1269
|
| Name | Type | Description | |
|
|
1328
1270
|
| ---- | ---- | ----------- | -------- |
|
|
1329
|
-
|
|
|
1330
|
-
| index | `Number` | the position of the item to delete | |
|
|
1271
|
+
| uFilter | | UI structure filter | |
|
|
1331
1272
|
|
|
1332
1273
|
|
|
1333
1274
|
|
|
@@ -1335,20 +1276,13 @@ Inmutable Array Item deletion
|
|
|
1335
1276
|
##### Returns
|
|
1336
1277
|
|
|
1337
1278
|
|
|
1338
|
-
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1279
|
+
- an scope structure
|
|
1342
1280
|
|
|
1343
|
-
### dist/general/array/filterNestedTree.js
|
|
1344
1281
|
|
|
1345
1282
|
|
|
1346
|
-
####
|
|
1283
|
+
#### buildDataset(uFilter)
|
|
1347
1284
|
|
|
1348
|
-
|
|
1349
|
-
- If the given arguments are not valid, the function returns the first argument.
|
|
1350
|
-
- If the childArrKey is not matched in the object, the condition tries to resolve the filter anyway and returns an empty array.
|
|
1351
|
-
- If the condition is not fulfilled, the function returns a filtered array, probably a empty array inside of the child array
|
|
1285
|
+
Gets an dataset structure for the UI filter data
|
|
1352
1286
|
|
|
1353
1287
|
|
|
1354
1288
|
|
|
@@ -1357,9 +1291,7 @@ Filters a nested tree array by a custom condition on the last child node
|
|
|
1357
1291
|
|
|
1358
1292
|
| Name | Type | Description | |
|
|
1359
1293
|
| ---- | ---- | ----------- | -------- |
|
|
1360
|
-
|
|
|
1361
|
-
| childArrKey | | property representing the children array on the nested tree | |
|
|
1362
|
-
| condition | | function callback that determines if the filter is applied on the last child node of the nested tree | |
|
|
1294
|
+
| uFilter | | a UI structure filter | |
|
|
1363
1295
|
|
|
1364
1296
|
|
|
1365
1297
|
|
|
@@ -1367,17 +1299,13 @@ Filters a nested tree array by a custom condition on the last child node
|
|
|
1367
1299
|
##### Returns
|
|
1368
1300
|
|
|
1369
1301
|
|
|
1370
|
-
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1302
|
+
- an dataset structure
|
|
1374
1303
|
|
|
1375
|
-
### dist/general/array/flattenDeep.js
|
|
1376
1304
|
|
|
1377
1305
|
|
|
1378
|
-
####
|
|
1306
|
+
#### buildFilter(uFilter)
|
|
1379
1307
|
|
|
1380
|
-
|
|
1308
|
+
Gets an filter structure for the UI filter data
|
|
1381
1309
|
|
|
1382
1310
|
|
|
1383
1311
|
|
|
@@ -1386,7 +1314,7 @@ Flat deeply an array
|
|
|
1386
1314
|
|
|
1387
1315
|
| Name | Type | Description | |
|
|
1388
1316
|
| ---- | ---- | ----------- | -------- |
|
|
1389
|
-
|
|
|
1317
|
+
| uFilter | | a UI structure filter | |
|
|
1390
1318
|
|
|
1391
1319
|
|
|
1392
1320
|
|
|
@@ -1394,17 +1322,17 @@ Flat deeply an array
|
|
|
1394
1322
|
##### Returns
|
|
1395
1323
|
|
|
1396
1324
|
|
|
1397
|
-
-
|
|
1325
|
+
- an filter structure
|
|
1398
1326
|
|
|
1399
1327
|
|
|
1400
1328
|
|
|
1401
1329
|
|
|
1402
|
-
### dist/
|
|
1330
|
+
### dist/filters/adapters/logicToFD.js
|
|
1403
1331
|
|
|
1404
1332
|
|
|
1405
|
-
####
|
|
1333
|
+
#### logicToFD(filterData, version)
|
|
1406
1334
|
|
|
1407
|
-
|
|
1335
|
+
Generates a filter data structure from the old logic structure (v2.0).
|
|
1408
1336
|
|
|
1409
1337
|
|
|
1410
1338
|
|
|
@@ -1413,8 +1341,8 @@ Gets the first index from the array by a callback condition
|
|
|
1413
1341
|
|
|
1414
1342
|
| Name | Type | Description | |
|
|
1415
1343
|
| ---- | ---- | ----------- | -------- |
|
|
1416
|
-
|
|
|
1417
|
-
|
|
|
1344
|
+
| filterData | | The old filter data structure with logic (v2.0) | |
|
|
1345
|
+
| version | | Tag for the version of the filter data structure | |
|
|
1418
1346
|
|
|
1419
1347
|
|
|
1420
1348
|
|
|
@@ -1422,17 +1350,17 @@ Gets the first index from the array by a callback condition
|
|
|
1422
1350
|
##### Returns
|
|
1423
1351
|
|
|
1424
1352
|
|
|
1425
|
-
-
|
|
1353
|
+
- a Filter Data.
|
|
1426
1354
|
|
|
1427
1355
|
|
|
1428
1356
|
|
|
1429
1357
|
|
|
1430
|
-
### dist/
|
|
1358
|
+
### dist/filters/adapters/logicToFlatUI.js
|
|
1431
1359
|
|
|
1432
1360
|
|
|
1433
|
-
####
|
|
1361
|
+
#### logicToFlatUI(logics)
|
|
1434
1362
|
|
|
1435
|
-
|
|
1363
|
+
Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
|
|
1436
1364
|
|
|
1437
1365
|
|
|
1438
1366
|
|
|
@@ -1441,8 +1369,7 @@ Gets the last index from the array by a callback condition
|
|
|
1441
1369
|
|
|
1442
1370
|
| Name | Type | Description | |
|
|
1443
1371
|
| ---- | ---- | ----------- | -------- |
|
|
1444
|
-
|
|
|
1445
|
-
| callback | | function callback | |
|
|
1372
|
+
| logics | | The old logic structure (v2.0) | |
|
|
1446
1373
|
|
|
1447
1374
|
|
|
1448
1375
|
|
|
@@ -1450,17 +1377,13 @@ Gets the last index from the array by a callback condition
|
|
|
1450
1377
|
##### Returns
|
|
1451
1378
|
|
|
1452
1379
|
|
|
1453
|
-
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1380
|
+
- The Flattened UI Filters array
|
|
1457
1381
|
|
|
1458
|
-
### dist/general/function/debounce.js
|
|
1459
1382
|
|
|
1460
1383
|
|
|
1461
|
-
####
|
|
1384
|
+
#### getFilter(filters, filter, getIndex)
|
|
1462
1385
|
|
|
1463
|
-
|
|
1386
|
+
Get the filter or the index of the given array, validating an old filter structure.
|
|
1464
1387
|
|
|
1465
1388
|
|
|
1466
1389
|
|
|
@@ -1469,8 +1392,9 @@ Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last
|
|
|
1469
1392
|
|
|
1470
1393
|
| Name | Type | Description | |
|
|
1471
1394
|
| ---- | ---- | ----------- | -------- |
|
|
1472
|
-
|
|
|
1473
|
-
|
|
|
1395
|
+
| filters | | The array of UI filters | |
|
|
1396
|
+
| filter | | The old logic structure filter | |
|
|
1397
|
+
| getIndex | | Determines if the index or returns the UI filter object | |
|
|
1474
1398
|
|
|
1475
1399
|
|
|
1476
1400
|
|
|
@@ -1478,17 +1402,13 @@ Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last
|
|
|
1478
1402
|
##### Returns
|
|
1479
1403
|
|
|
1480
1404
|
|
|
1481
|
-
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1405
|
+
- the index or the UI filter object
|
|
1485
1406
|
|
|
1486
|
-
### dist/general/function/throttled.js
|
|
1487
1407
|
|
|
1488
1408
|
|
|
1489
|
-
####
|
|
1409
|
+
#### refineRankingValues(values, uiValues)
|
|
1490
1410
|
|
|
1491
|
-
|
|
1411
|
+
Refines the values of the Ranking column type.
|
|
1492
1412
|
|
|
1493
1413
|
|
|
1494
1414
|
|
|
@@ -1497,8 +1417,8 @@ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
|
|
|
1497
1417
|
|
|
1498
1418
|
| Name | Type | Description | |
|
|
1499
1419
|
| ---- | ---- | ----------- | -------- |
|
|
1500
|
-
|
|
|
1501
|
-
|
|
|
1420
|
+
| values | | the Array of Ranking values | |
|
|
1421
|
+
| uiValues | | Object with additional info about the values of the filter. | |
|
|
1502
1422
|
|
|
1503
1423
|
|
|
1504
1424
|
|
|
@@ -1506,18 +1426,17 @@ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
|
|
|
1506
1426
|
##### Returns
|
|
1507
1427
|
|
|
1508
1428
|
|
|
1509
|
-
-
|
|
1429
|
+
- the array of Ranking values
|
|
1510
1430
|
|
|
1511
1431
|
|
|
1512
1432
|
|
|
1513
1433
|
|
|
1514
|
-
### dist/
|
|
1434
|
+
### dist/filters/adapters/logicToUI.js
|
|
1515
1435
|
|
|
1516
1436
|
|
|
1517
|
-
####
|
|
1437
|
+
#### logicToUI(uFilters, datasetsInfo)
|
|
1518
1438
|
|
|
1519
|
-
|
|
1520
|
-
Includes arrays in the comparison.
|
|
1439
|
+
Generates a UI filter structure from the old logic structure (v2.0).
|
|
1521
1440
|
|
|
1522
1441
|
|
|
1523
1442
|
|
|
@@ -1526,8 +1445,8 @@ Includes arrays in the comparison.
|
|
|
1526
1445
|
|
|
1527
1446
|
| Name | Type | Description | |
|
|
1528
1447
|
| ---- | ---- | ----------- | -------- |
|
|
1529
|
-
|
|
|
1530
|
-
|
|
|
1448
|
+
| uFilters | | Array of filters from old logic structure | |
|
|
1449
|
+
| datasetsInfo | | Collection of datasets information | |
|
|
1531
1450
|
|
|
1532
1451
|
|
|
1533
1452
|
|
|
@@ -1535,17 +1454,17 @@ Includes arrays in the comparison.
|
|
|
1535
1454
|
##### Returns
|
|
1536
1455
|
|
|
1537
1456
|
|
|
1538
|
-
-
|
|
1457
|
+
- a UI Filter Data.
|
|
1539
1458
|
|
|
1540
1459
|
|
|
1541
1460
|
|
|
1542
1461
|
|
|
1543
|
-
### dist/
|
|
1462
|
+
### dist/filters/adapters/transformFilters.js
|
|
1544
1463
|
|
|
1545
1464
|
|
|
1546
|
-
####
|
|
1465
|
+
#### transformFilters(oldFiltersObj, section)
|
|
1547
1466
|
|
|
1548
|
-
|
|
1467
|
+
Transform the old filters structure into the new one
|
|
1549
1468
|
|
|
1550
1469
|
|
|
1551
1470
|
|
|
@@ -1554,12 +1473,450 @@ Gets the `toStringTag` of `value`.
|
|
|
1554
1473
|
|
|
1555
1474
|
| Name | Type | Description | |
|
|
1556
1475
|
| ---- | ---- | ----------- | -------- |
|
|
1557
|
-
|
|
|
1476
|
+
| oldFiltersObj | `Object` | an object with the old filters structure | |
|
|
1477
|
+
| section | `String` | could be 'ANALYZE', 'PB', 'UM' or any other value. Deafult is 'ANYWHERE' | |
|
|
1558
1478
|
|
|
1559
1479
|
|
|
1560
1480
|
|
|
1561
1481
|
|
|
1562
|
-
#####
|
|
1482
|
+
##### Examples
|
|
1483
|
+
|
|
1484
|
+
```javascript
|
|
1485
|
+
|
|
1486
|
+
const oldPreferenceFilters = {
|
|
1487
|
+
"WWXHAULtR-_-xYOQAdpqT__ENABLED": true,
|
|
1488
|
+
"WWXHAULtR-_-xYOQAdpqT__ALL--ENABLED": true,
|
|
1489
|
+
"WWXHAULtR-_-xYOQAdpqT__COLLAPSED": false,
|
|
1490
|
+
"WWXHAULtR-_-xYOQAdpqT__LABEL": "GLOBAL",
|
|
1491
|
+
"WWXHAULtR-_-xYOQAdpqT-_-AK4M8UV2": {
|
|
1492
|
+
"formulaId": null,
|
|
1493
|
+
"panelId": null,
|
|
1494
|
+
"values": [
|
|
1495
|
+
{
|
|
1496
|
+
"EQUALS": [
|
|
1497
|
+
{
|
|
1498
|
+
"id": "AK4M8UV2a0",
|
|
1499
|
+
"value": "A",
|
|
1500
|
+
"enabled": true,
|
|
1501
|
+
"imageUrl": null
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
"id": "AK4M8UV2a1",
|
|
1505
|
+
"value": "B",
|
|
1506
|
+
"enabled": true,
|
|
1507
|
+
"imageUrl": null
|
|
1508
|
+
}
|
|
1509
|
+
]
|
|
1510
|
+
}
|
|
1511
|
+
],
|
|
1512
|
+
"bucketId": null,
|
|
1513
|
+
"text": "MC",
|
|
1514
|
+
"title": "MC",
|
|
1515
|
+
"type": "SINGLE_CHOICE",
|
|
1516
|
+
"qid": "AK4M8UV2",
|
|
1517
|
+
"dataset": {
|
|
1518
|
+
"sourceid": "xYOQAdpqT",
|
|
1519
|
+
"name": "Form All Questions",
|
|
1520
|
+
"qrveyid": "xYOQAdpqT",
|
|
1521
|
+
"text": "Form All Questions",
|
|
1522
|
+
"linkid": 0
|
|
1523
|
+
},
|
|
1524
|
+
"enabled": true,
|
|
1525
|
+
"linked": null
|
|
1526
|
+
}
|
|
1527
|
+
};
|
|
1528
|
+
|
|
1529
|
+
const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
|
|
1530
|
+
```
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
##### Returns
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
- `Object` an object with the new filters structure
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
### dist/filters/classes/FilterInputErrorHandler.js
|
|
1542
|
+
|
|
1543
|
+
|
|
1544
|
+
#### new FilterInputErrorHandler()
|
|
1545
|
+
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
|
|
1553
|
+
##### Returns
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
- `Void`
|
|
1557
|
+
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
### dist/filters/helpers/applyHierarchyForAggFilters.js
|
|
1562
|
+
|
|
1563
|
+
|
|
1564
|
+
#### applyHierarchyForAggFilters(chartSettings, scopes, currentScope)
|
|
1565
|
+
|
|
1566
|
+
[TODO: Make a proper description for this function]
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
##### Parameters
|
|
1572
|
+
|
|
1573
|
+
| Name | Type | Description | |
|
|
1574
|
+
| ---- | ---- | ----------- | -------- |
|
|
1575
|
+
| chartSettings | | Chart Settings for the Filter Builder | |
|
|
1576
|
+
| scopes | | | |
|
|
1577
|
+
| currentScope | | | |
|
|
1578
|
+
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+
|
|
1582
|
+
##### Returns
|
|
1583
|
+
|
|
1584
|
+
|
|
1585
|
+
-
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
|
|
1589
|
+
|
|
1590
|
+
### dist/filters/helpers/getAvailableScopes.js
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
#### getAvailableScopes(config)
|
|
1594
|
+
|
|
1595
|
+
Gets Scopes/Scope IDs by given IDs
|
|
1596
|
+
|
|
1597
|
+
|
|
1598
|
+
|
|
1599
|
+
|
|
1600
|
+
##### Parameters
|
|
1601
|
+
|
|
1602
|
+
| Name | Type | Description | |
|
|
1603
|
+
| ---- | ---- | ----------- | -------- |
|
|
1604
|
+
| config | | given Differnts IDs in order set a available scope | |
|
|
1605
|
+
|
|
1606
|
+
|
|
1607
|
+
|
|
1608
|
+
|
|
1609
|
+
##### Returns
|
|
1610
|
+
|
|
1611
|
+
|
|
1612
|
+
- a Scopes/Scope IDs array
|
|
1613
|
+
|
|
1614
|
+
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
### dist/filters/helpers/getAvailableScopesIDsByConfig.js
|
|
1618
|
+
|
|
1619
|
+
|
|
1620
|
+
#### getAvailableScopesIDsByConfig(config)
|
|
1621
|
+
|
|
1622
|
+
Gets the Scopes IDS for the Available Scope function by any config
|
|
1623
|
+
|
|
1624
|
+
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
##### Parameters
|
|
1628
|
+
|
|
1629
|
+
| Name | Type | Description | |
|
|
1630
|
+
| ---- | ---- | ----------- | -------- |
|
|
1631
|
+
| config | | any config | |
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
|
|
1636
|
+
##### Returns
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
- a Available Scope IDS config
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
### dist/filters/helpers/getScopesByHierarchy.js
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
#### getScopesByHierarchy(scopes, currentScope)
|
|
1648
|
+
|
|
1649
|
+
[TODO: Make a description for this]
|
|
1650
|
+
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
|
|
1654
|
+
##### Parameters
|
|
1655
|
+
|
|
1656
|
+
| Name | Type | Description | |
|
|
1657
|
+
| ---- | ---- | ----------- | -------- |
|
|
1658
|
+
| scopes | | the collection of Scopes/Scope IDs | |
|
|
1659
|
+
| currentScope | | Current scope type | |
|
|
1660
|
+
|
|
1661
|
+
|
|
1662
|
+
|
|
1663
|
+
|
|
1664
|
+
##### Returns
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
- A new array of Scopes/Scope IDs
|
|
1668
|
+
|
|
1669
|
+
|
|
1670
|
+
|
|
1671
|
+
|
|
1672
|
+
### dist/general/array/delete.js
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
#### ArrayDelete(array, index)
|
|
1676
|
+
|
|
1677
|
+
Inmutable Array Item deletion
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
|
+
|
|
1681
|
+
|
|
1682
|
+
##### Parameters
|
|
1683
|
+
|
|
1684
|
+
| Name | Type | Description | |
|
|
1685
|
+
| ---- | ---- | ----------- | -------- |
|
|
1686
|
+
| array | `Array` | a collection of items to delete | |
|
|
1687
|
+
| index | `Number` | the position of the item to delete | |
|
|
1688
|
+
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
##### Returns
|
|
1693
|
+
|
|
1694
|
+
|
|
1695
|
+
- a new Array or the given parameter when is empty or not an array
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
|
|
1699
|
+
|
|
1700
|
+
### dist/general/array/filterNestedTree.js
|
|
1701
|
+
|
|
1702
|
+
|
|
1703
|
+
#### filterNestedTree(arr, childArrKey, condition)
|
|
1704
|
+
|
|
1705
|
+
Filters a nested tree array by a custom condition on the last child node
|
|
1706
|
+
- If the given arguments are not valid, the function returns the first argument.
|
|
1707
|
+
- If the childArrKey is not matched in the object, the condition tries to resolve the filter anyway and returns an empty array.
|
|
1708
|
+
- If the condition is not fulfilled, the function returns a filtered array, probably a empty array inside of the child array
|
|
1709
|
+
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
|
|
1713
|
+
##### Parameters
|
|
1714
|
+
|
|
1715
|
+
| Name | Type | Description | |
|
|
1716
|
+
| ---- | ---- | ----------- | -------- |
|
|
1717
|
+
| arr | | nested tree array | |
|
|
1718
|
+
| childArrKey | | property representing the children array on the nested tree | |
|
|
1719
|
+
| condition | | function callback that determines if the filter is applied on the last child node of the nested tree | |
|
|
1720
|
+
|
|
1721
|
+
|
|
1722
|
+
|
|
1723
|
+
|
|
1724
|
+
##### Returns
|
|
1725
|
+
|
|
1726
|
+
|
|
1727
|
+
- array filtered
|
|
1728
|
+
|
|
1729
|
+
|
|
1730
|
+
|
|
1731
|
+
|
|
1732
|
+
### dist/general/array/flattenDeep.js
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
#### flattenDeep(arr)
|
|
1736
|
+
|
|
1737
|
+
Flat deeply an array
|
|
1738
|
+
|
|
1739
|
+
|
|
1740
|
+
|
|
1741
|
+
|
|
1742
|
+
##### Parameters
|
|
1743
|
+
|
|
1744
|
+
| Name | Type | Description | |
|
|
1745
|
+
| ---- | ---- | ----------- | -------- |
|
|
1746
|
+
| arr | | Array to flat deeply | |
|
|
1747
|
+
|
|
1748
|
+
|
|
1749
|
+
|
|
1750
|
+
|
|
1751
|
+
##### Returns
|
|
1752
|
+
|
|
1753
|
+
|
|
1754
|
+
- flatten array
|
|
1755
|
+
|
|
1756
|
+
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
### dist/general/array/getLastIndexFromArray.js
|
|
1760
|
+
|
|
1761
|
+
|
|
1762
|
+
#### getLastIndexFromArray(array, callback)
|
|
1763
|
+
|
|
1764
|
+
Gets the last index from the array by a callback condition
|
|
1765
|
+
|
|
1766
|
+
|
|
1767
|
+
|
|
1768
|
+
|
|
1769
|
+
##### Parameters
|
|
1770
|
+
|
|
1771
|
+
| Name | Type | Description | |
|
|
1772
|
+
| ---- | ---- | ----------- | -------- |
|
|
1773
|
+
| array | | | |
|
|
1774
|
+
| callback | | function callback | |
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
|
|
1778
|
+
|
|
1779
|
+
##### Returns
|
|
1780
|
+
|
|
1781
|
+
|
|
1782
|
+
- the last index of the array. -1 when the condition is not satisfied
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
|
|
1786
|
+
|
|
1787
|
+
### dist/general/array/getFirstIndexFromArray.js
|
|
1788
|
+
|
|
1789
|
+
|
|
1790
|
+
#### getFirstIndexFromArray(array, callback)
|
|
1791
|
+
|
|
1792
|
+
Gets the first index from the array by a callback condition
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
|
|
1797
|
+
##### Parameters
|
|
1798
|
+
|
|
1799
|
+
| Name | Type | Description | |
|
|
1800
|
+
| ---- | ---- | ----------- | -------- |
|
|
1801
|
+
| array | | | |
|
|
1802
|
+
| callback | | function callback | |
|
|
1803
|
+
|
|
1804
|
+
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
##### Returns
|
|
1808
|
+
|
|
1809
|
+
|
|
1810
|
+
- the first index of the array. -1 when the condition is not satisfied
|
|
1811
|
+
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
|
|
1815
|
+
### dist/general/function/debounce.js
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
#### debounce(fn, time)
|
|
1819
|
+
|
|
1820
|
+
Delays invoking _fn_ until after _time_ milliseconds have elapsed since the last time the debounced function was invoked.
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
##### Parameters
|
|
1826
|
+
|
|
1827
|
+
| Name | Type | Description | |
|
|
1828
|
+
| ---- | ---- | ----------- | -------- |
|
|
1829
|
+
| fn | `Function` | original Function | |
|
|
1830
|
+
| time | `Number` | default 500ms | |
|
|
1831
|
+
|
|
1832
|
+
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
##### Returns
|
|
1836
|
+
|
|
1837
|
+
|
|
1838
|
+
- `Function` debounced functions
|
|
1839
|
+
|
|
1840
|
+
|
|
1841
|
+
|
|
1842
|
+
|
|
1843
|
+
### dist/general/function/throttled.js
|
|
1844
|
+
|
|
1845
|
+
|
|
1846
|
+
#### throttled(fn, time)
|
|
1847
|
+
|
|
1848
|
+
Make sure to only invokes _fn_ at most once per every _time_ milliseconds
|
|
1849
|
+
|
|
1850
|
+
|
|
1851
|
+
|
|
1852
|
+
|
|
1853
|
+
##### Parameters
|
|
1854
|
+
|
|
1855
|
+
| Name | Type | Description | |
|
|
1856
|
+
| ---- | ---- | ----------- | -------- |
|
|
1857
|
+
| fn | `Function` | original Function | |
|
|
1858
|
+
| time | `Number` | default 500ms | |
|
|
1859
|
+
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
##### Returns
|
|
1864
|
+
|
|
1865
|
+
|
|
1866
|
+
- `Function` throttled function
|
|
1867
|
+
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
|
|
1871
|
+
### dist/general/mix/compareDeep.js
|
|
1872
|
+
|
|
1873
|
+
|
|
1874
|
+
#### compareDeep(object1, object2)
|
|
1875
|
+
|
|
1876
|
+
Compares two objects to know if they are equals. Go across nested objects.
|
|
1877
|
+
Includes arrays in the comparison.
|
|
1878
|
+
|
|
1879
|
+
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
##### Parameters
|
|
1883
|
+
|
|
1884
|
+
| Name | Type | Description | |
|
|
1885
|
+
| ---- | ---- | ----------- | -------- |
|
|
1886
|
+
| object1 | | First Object to compare | |
|
|
1887
|
+
| object2 | | Second Object to compare | |
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
|
|
1891
|
+
|
|
1892
|
+
##### Returns
|
|
1893
|
+
|
|
1894
|
+
|
|
1895
|
+
- True: objects are equal. False: Objects are not equal. Undefined: invalid
|
|
1896
|
+
|
|
1897
|
+
|
|
1898
|
+
|
|
1899
|
+
|
|
1900
|
+
### dist/general/mix/getTag.js
|
|
1901
|
+
|
|
1902
|
+
|
|
1903
|
+
#### getTag(value)
|
|
1904
|
+
|
|
1905
|
+
Gets the `toStringTag` of `value`.
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
##### Parameters
|
|
1911
|
+
|
|
1912
|
+
| Name | Type | Description | |
|
|
1913
|
+
| ---- | ---- | ----------- | -------- |
|
|
1914
|
+
| value | | The value to query. | |
|
|
1915
|
+
|
|
1916
|
+
|
|
1917
|
+
|
|
1918
|
+
|
|
1919
|
+
##### Returns
|
|
1563
1920
|
|
|
1564
1921
|
|
|
1565
1922
|
- `string` Returns the `toStringTag`.
|
|
@@ -1567,12 +1924,242 @@ Gets the `toStringTag` of `value`.
|
|
|
1567
1924
|
|
|
1568
1925
|
|
|
1569
1926
|
|
|
1570
|
-
### dist/general/mix/importScripts.js
|
|
1927
|
+
### dist/general/mix/importScripts.js
|
|
1928
|
+
|
|
1929
|
+
|
|
1930
|
+
#### importScripts(scripts)
|
|
1931
|
+
|
|
1932
|
+
Import a set of external Scripts given the URL in both serie and cascade way
|
|
1933
|
+
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
|
|
1937
|
+
##### Parameters
|
|
1938
|
+
|
|
1939
|
+
| Name | Type | Description | |
|
|
1940
|
+
| ---- | ---- | ----------- | -------- |
|
|
1941
|
+
| scripts | `Array.<String>` `Array.<Object>` | can be an array of string or an array of object with the follow structure: | |
|
|
1942
|
+
| scripts.url | `String` | CDN URL | |
|
|
1943
|
+
| scripts.namespace | `String` `Function` | (Optional) if is a String, that name is evaluated on Window[namespace] object otherwise the Function is invoked expecting a Thrutly value | |
|
|
1944
|
+
| scripts.type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | |
|
|
1945
|
+
| scripts.noModule | `Boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | |
|
|
1946
|
+
| scripts.dependencies | `Array.<Object>` | an array with the same structure to load in cascade mode | |
|
|
1947
|
+
|
|
1948
|
+
|
|
1949
|
+
|
|
1950
|
+
|
|
1951
|
+
##### Examples
|
|
1952
|
+
|
|
1953
|
+
```javascript
|
|
1954
|
+
// 1) Simple script (paralell loading)
|
|
1955
|
+
importScripts(['http://myscript.js', 'http://another.js']);
|
|
1956
|
+
|
|
1957
|
+
// 2) Loading `.js` and `.esm.js` script (parallel loading)
|
|
1958
|
+
importScripts([
|
|
1959
|
+
{ url: 'http://myscript.esm.js', type: 'module' },
|
|
1960
|
+
{ url: 'http://myscript.js', noModule: true }
|
|
1961
|
+
]);
|
|
1962
|
+
|
|
1963
|
+
// 3) import dependent scripts (cascade)
|
|
1964
|
+
importScripts([
|
|
1965
|
+
{ url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] }
|
|
1966
|
+
]);
|
|
1967
|
+
|
|
1968
|
+
// 4) mix
|
|
1969
|
+
importScripts([
|
|
1970
|
+
{ url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] },
|
|
1971
|
+
{ url: 'http://another.esm.js', type: 'module' },
|
|
1972
|
+
{ url: 'http://another.js', noModule: true },
|
|
1973
|
+
'http://simplescript.js'
|
|
1974
|
+
]);
|
|
1975
|
+
```
|
|
1976
|
+
|
|
1977
|
+
|
|
1978
|
+
##### Returns
|
|
1979
|
+
|
|
1980
|
+
|
|
1981
|
+
- `Promise` Promise when all script have been loaded
|
|
1982
|
+
|
|
1983
|
+
|
|
1984
|
+
|
|
1985
|
+
#### loadScript(url, type, noModule)
|
|
1986
|
+
|
|
1987
|
+
Creates the script element and appends to document.head
|
|
1988
|
+
return a Promise that is resolved when the script is loaded
|
|
1989
|
+
|
|
1990
|
+
|
|
1991
|
+
|
|
1992
|
+
|
|
1993
|
+
##### Parameters
|
|
1994
|
+
|
|
1995
|
+
| Name | Type | Description | |
|
|
1996
|
+
| ---- | ---- | ----------- | -------- |
|
|
1997
|
+
| url | `String` | Cdn Url | |
|
|
1998
|
+
| type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | |
|
|
1999
|
+
| noModule | `boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | |
|
|
2000
|
+
|
|
2001
|
+
|
|
2002
|
+
|
|
2003
|
+
|
|
2004
|
+
##### Returns
|
|
2005
|
+
|
|
2006
|
+
|
|
2007
|
+
- `Void`
|
|
2008
|
+
|
|
2009
|
+
|
|
2010
|
+
|
|
2011
|
+
|
|
2012
|
+
### dist/general/mix/isNaNV2.js
|
|
2013
|
+
|
|
2014
|
+
|
|
2015
|
+
#### isNaNV2(variable)
|
|
2016
|
+
|
|
2017
|
+
Validates if the recieved number is NaN type.
|
|
2018
|
+
This function recieves any variable but will return false.
|
|
2019
|
+
Validates if variable is null, undefined, or an empty string, also, the function uses isNaN native function.
|
|
2020
|
+
|
|
2021
|
+
|
|
2022
|
+
|
|
2023
|
+
|
|
2024
|
+
##### Parameters
|
|
2025
|
+
|
|
2026
|
+
| Name | Type | Description | |
|
|
2027
|
+
| ---- | ---- | ----------- | -------- |
|
|
2028
|
+
| variable | | the variable to validate | |
|
|
2029
|
+
|
|
2030
|
+
|
|
2031
|
+
|
|
2032
|
+
|
|
2033
|
+
##### Returns
|
|
2034
|
+
|
|
2035
|
+
|
|
2036
|
+
- True if variable is a NaN or false otherwise
|
|
2037
|
+
|
|
2038
|
+
|
|
2039
|
+
|
|
2040
|
+
|
|
2041
|
+
### dist/general/mix/isEmpty.js
|
|
2042
|
+
|
|
2043
|
+
|
|
2044
|
+
#### isEmpty(variable, includeFalsy)
|
|
2045
|
+
|
|
2046
|
+
Validates if the given argument is empty
|
|
2047
|
+
|
|
2048
|
+
|
|
2049
|
+
|
|
2050
|
+
|
|
2051
|
+
##### Parameters
|
|
2052
|
+
|
|
2053
|
+
| Name | Type | Description | |
|
|
2054
|
+
| ---- | ---- | ----------- | -------- |
|
|
2055
|
+
| variable | | the given variable | |
|
|
2056
|
+
| includeFalsy | | flag to determine include the falsy variables into the validation | |
|
|
2057
|
+
|
|
2058
|
+
|
|
2059
|
+
|
|
2060
|
+
|
|
2061
|
+
##### Returns
|
|
2062
|
+
|
|
2063
|
+
|
|
2064
|
+
- true: the given argument is empty; false: is not.
|
|
2065
|
+
|
|
2066
|
+
|
|
2067
|
+
|
|
2068
|
+
|
|
2069
|
+
### dist/general/mix/isNull.js
|
|
2070
|
+
|
|
2071
|
+
|
|
2072
|
+
#### isNull(arg)
|
|
2073
|
+
|
|
2074
|
+
return if a given variable is either `null` or `undefined`
|
|
2075
|
+
useful to avoid falsify validating Number Zero (0)
|
|
2076
|
+
|
|
2077
|
+
|
|
2078
|
+
|
|
2079
|
+
|
|
2080
|
+
##### Parameters
|
|
2081
|
+
|
|
2082
|
+
| Name | Type | Description | |
|
|
2083
|
+
| ---- | ---- | ----------- | -------- |
|
|
2084
|
+
| arg | `any` | | |
|
|
2085
|
+
|
|
2086
|
+
|
|
2087
|
+
|
|
2088
|
+
|
|
2089
|
+
##### Returns
|
|
2090
|
+
|
|
2091
|
+
|
|
2092
|
+
- `Boolean`
|
|
2093
|
+
|
|
2094
|
+
|
|
2095
|
+
|
|
2096
|
+
|
|
2097
|
+
### dist/general/mix/randomId.js
|
|
2098
|
+
|
|
2099
|
+
|
|
2100
|
+
#### randomId(length, exclude)
|
|
2101
|
+
|
|
2102
|
+
Creates a random string
|
|
2103
|
+
- If the first given argument is different than a length number, the variable is replaced by a default number
|
|
2104
|
+
- If the optional second given argument is passed the random string is permutated.
|
|
2105
|
+
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
##### Parameters
|
|
2110
|
+
|
|
2111
|
+
| Name | Type | Description | |
|
|
2112
|
+
| ---- | ---- | ----------- | -------- |
|
|
2113
|
+
| length | `Number` | size of the generated string. Default 8 | |
|
|
2114
|
+
| exclude | `Array` | collection of strings that is going to be excluded of the random string. | |
|
|
2115
|
+
|
|
2116
|
+
|
|
2117
|
+
|
|
2118
|
+
|
|
2119
|
+
##### Returns
|
|
2120
|
+
|
|
2121
|
+
|
|
2122
|
+
- `String` Random string
|
|
2123
|
+
|
|
2124
|
+
|
|
2125
|
+
|
|
2126
|
+
|
|
2127
|
+
### dist/general/mix/size.js
|
|
2128
|
+
|
|
2129
|
+
|
|
2130
|
+
#### size(obj)
|
|
2131
|
+
|
|
2132
|
+
Gets the length of the given array.
|
|
2133
|
+
- Useful for Object, Array and string type.
|
|
2134
|
+
- For `null` or `undefined` or else argument the returned value will be 0.
|
|
2135
|
+
|
|
2136
|
+
|
|
2137
|
+
|
|
2138
|
+
|
|
2139
|
+
##### Parameters
|
|
2140
|
+
|
|
2141
|
+
| Name | Type | Description | |
|
|
2142
|
+
| ---- | ---- | ----------- | -------- |
|
|
2143
|
+
| obj | `Any` | Any object-type variable | |
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
|
|
2147
|
+
|
|
2148
|
+
##### Returns
|
|
2149
|
+
|
|
2150
|
+
|
|
2151
|
+
- `Number` the size of the given variable
|
|
2152
|
+
|
|
2153
|
+
|
|
1571
2154
|
|
|
1572
2155
|
|
|
1573
|
-
|
|
2156
|
+
### dist/general/object/cloneDeep.js
|
|
1574
2157
|
|
|
1575
|
-
|
|
2158
|
+
|
|
2159
|
+
#### cloneDeep(obj)
|
|
2160
|
+
|
|
2161
|
+
A simple Deep Cloning function. Valid only for primivite values and object with primitive values.
|
|
2162
|
+
Not to use this function with inner objects and functions
|
|
1576
2163
|
|
|
1577
2164
|
|
|
1578
2165
|
|
|
@@ -1581,54 +2168,90 @@ Import a set of external Scripts given the URL in both serie and cascade way
|
|
|
1581
2168
|
|
|
1582
2169
|
| Name | Type | Description | |
|
|
1583
2170
|
| ---- | ---- | ----------- | -------- |
|
|
1584
|
-
|
|
|
1585
|
-
| scripts.url | `String` | CDN URL | |
|
|
1586
|
-
| scripts.namespace | `String` `Function` | (Optional) if is a String, that name is evaluated on Window[namespace] object otherwise the Function is invoked expecting a Thrutly value | |
|
|
1587
|
-
| scripts.type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | |
|
|
1588
|
-
| scripts.noModule | `Boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | |
|
|
1589
|
-
| scripts.dependencies | `Array.<Object>` | an array with the same structure to load in cascade mode | |
|
|
2171
|
+
| obj | | The object | |
|
|
1590
2172
|
|
|
1591
2173
|
|
|
1592
2174
|
|
|
1593
2175
|
|
|
1594
|
-
#####
|
|
2176
|
+
##### Returns
|
|
1595
2177
|
|
|
1596
|
-
```javascript
|
|
1597
|
-
// 1) Simple script (paralell loading)
|
|
1598
|
-
importScripts(['http://myscript.js', 'http://another.js']);
|
|
1599
2178
|
|
|
1600
|
-
|
|
1601
|
-
importScripts([
|
|
1602
|
-
{ url: 'http://myscript.esm.js', type: 'module' },
|
|
1603
|
-
{ url: 'http://myscript.js', noModule: true }
|
|
1604
|
-
]);
|
|
2179
|
+
- The new reference object or the given object if the parsing is incorrect or empty
|
|
1605
2180
|
|
|
1606
|
-
// 3) import dependent scripts (cascade)
|
|
1607
|
-
importScripts([
|
|
1608
|
-
{ url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] }
|
|
1609
|
-
]);
|
|
1610
2181
|
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
### dist/general/object/get.js
|
|
2185
|
+
|
|
2186
|
+
|
|
2187
|
+
#### _get(baseObject, path, defaultValue)
|
|
2188
|
+
|
|
2189
|
+
Like lodash _.get.
|
|
2190
|
+
Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.
|
|
2191
|
+
|
|
2192
|
+
Empty arrays and empty objects are returned but the defaultValue is not
|
|
2193
|
+
Undefined and null values will return the defaultValue.
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
##### Parameters
|
|
2199
|
+
|
|
2200
|
+
| Name | Type | Description | |
|
|
2201
|
+
| ---- | ---- | ----------- | -------- |
|
|
2202
|
+
| baseObject | | The object to query | |
|
|
2203
|
+
| path | | The string path or collection of string paths of the property to get. | |
|
|
2204
|
+
| defaultValue | | The value returned for undefined resolved values. | |
|
|
2205
|
+
|
|
2206
|
+
|
|
2207
|
+
|
|
2208
|
+
|
|
2209
|
+
##### Examples
|
|
2210
|
+
|
|
2211
|
+
```javascript
|
|
2212
|
+
// returns 'Hello'
|
|
2213
|
+
_get({ item1: 'Hello', item2: 'World' }, 'item1')
|
|
2214
|
+
```
|
|
2215
|
+
```javascript
|
|
2216
|
+
// returns 'A simple Hello'
|
|
2217
|
+
_get({ item1: 'Hello', item2: 'World' }, 'item3', 'A simple Hello')
|
|
2218
|
+
```
|
|
2219
|
+
```javascript
|
|
2220
|
+
// returns 'Hello Again'
|
|
2221
|
+
_get({ item1: { item11: 'Hello Again' }, item2: {} }, 'item1.item11')
|
|
2222
|
+
```
|
|
2223
|
+
```javascript
|
|
2224
|
+
// returns 'Hello 2'
|
|
2225
|
+
_get({ item1: ['Hello 1', 'Hello 2' }, item2: [] }, 'item1[1]')
|
|
2226
|
+
```
|
|
2227
|
+
```javascript
|
|
2228
|
+
// returns 'Hello Again'
|
|
2229
|
+
_get({ item1: { item11: 'Hello Again' }, item2: {} }, ['item1', 'item11'])
|
|
1618
2230
|
```
|
|
1619
2231
|
|
|
1620
2232
|
|
|
1621
2233
|
##### Returns
|
|
1622
2234
|
|
|
1623
2235
|
|
|
1624
|
-
-
|
|
2236
|
+
- the resolved value.
|
|
1625
2237
|
|
|
1626
2238
|
|
|
1627
2239
|
|
|
1628
|
-
#### loadScript(url, type, noModule)
|
|
1629
2240
|
|
|
1630
|
-
|
|
1631
|
-
|
|
2241
|
+
### dist/general/object/getAttribute.js
|
|
2242
|
+
|
|
2243
|
+
|
|
2244
|
+
#### getAttribute(obj, key)
|
|
2245
|
+
|
|
2246
|
+
Searchs for properties in different case styles such as: lower, upper, camel and pascal
|
|
2247
|
+
- To optimize the searching, it is required a key in a snake_case style
|
|
2248
|
+
- List of cases that do not match
|
|
2249
|
+
-- From lower to snake case
|
|
2250
|
+
-- From upper to snake case
|
|
2251
|
+
-- From lower to camel case
|
|
2252
|
+
-- From upper to camel case
|
|
2253
|
+
-- From lower to pascal case
|
|
2254
|
+
-- From upper to pascal case
|
|
1632
2255
|
|
|
1633
2256
|
|
|
1634
2257
|
|
|
@@ -1637,13 +2260,19 @@ return a Promise that is resolved when the script is loaded
|
|
|
1637
2260
|
|
|
1638
2261
|
| Name | Type | Description | |
|
|
1639
2262
|
| ---- | ---- | ----------- | -------- |
|
|
1640
|
-
|
|
|
1641
|
-
|
|
|
1642
|
-
| noModule | `boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | |
|
|
2263
|
+
| obj | `object` | object to look for | |
|
|
2264
|
+
| key | `string` | String attribute in snake_case style | |
|
|
1643
2265
|
|
|
1644
2266
|
|
|
1645
2267
|
|
|
1646
2268
|
|
|
2269
|
+
##### Examples
|
|
2270
|
+
|
|
2271
|
+
```javascript
|
|
2272
|
+
getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
2273
|
+
```
|
|
2274
|
+
|
|
2275
|
+
|
|
1647
2276
|
##### Returns
|
|
1648
2277
|
|
|
1649
2278
|
|
|
@@ -1652,12 +2281,12 @@ return a Promise that is resolved when the script is loaded
|
|
|
1652
2281
|
|
|
1653
2282
|
|
|
1654
2283
|
|
|
1655
|
-
### dist/general/
|
|
2284
|
+
### dist/general/object/hasProperty.js
|
|
1656
2285
|
|
|
1657
2286
|
|
|
1658
|
-
####
|
|
2287
|
+
#### _hasProperty(obj, property)
|
|
1659
2288
|
|
|
1660
|
-
|
|
2289
|
+
Use the hasOwnProperty in order to verify if the given property exists in the object.
|
|
1661
2290
|
|
|
1662
2291
|
|
|
1663
2292
|
|
|
@@ -1666,27 +2295,39 @@ Validates if the given argument is empty
|
|
|
1666
2295
|
|
|
1667
2296
|
| Name | Type | Description | |
|
|
1668
2297
|
| ---- | ---- | ----------- | -------- |
|
|
1669
|
-
|
|
|
1670
|
-
|
|
|
2298
|
+
| obj | `object` | an object | |
|
|
2299
|
+
| property | `string` | String to verify if exists in the object as property | |
|
|
2300
|
+
|
|
2301
|
+
|
|
2302
|
+
|
|
1671
2303
|
|
|
2304
|
+
##### Examples
|
|
2305
|
+
|
|
2306
|
+
```javascript
|
|
2307
|
+
const prop = 'prop2'
|
|
2308
|
+
const obj1 = { prop1: 'hello', prop2: 'world'}
|
|
2309
|
+
_hasProperty(ob1, prop1) // true
|
|
1672
2310
|
|
|
2311
|
+
const obj2 = { prop1: 'hello world' }
|
|
2312
|
+
_hasProperty(ob1, prop2) // false
|
|
2313
|
+
```
|
|
1673
2314
|
|
|
1674
2315
|
|
|
1675
2316
|
##### Returns
|
|
1676
2317
|
|
|
1677
2318
|
|
|
1678
|
-
-
|
|
2319
|
+
- True if the object has the given property; otherwise, false.
|
|
1679
2320
|
|
|
1680
2321
|
|
|
1681
2322
|
|
|
1682
2323
|
|
|
1683
|
-
### dist/general/
|
|
2324
|
+
### dist/general/object/mapValues.js
|
|
1684
2325
|
|
|
1685
2326
|
|
|
1686
|
-
####
|
|
2327
|
+
#### mapValues(baseObject, iteratee)
|
|
1687
2328
|
|
|
1688
|
-
|
|
1689
|
-
|
|
2329
|
+
Invoke iteratee (function) for each object key-value pair
|
|
2330
|
+
and return a mapped object
|
|
1690
2331
|
|
|
1691
2332
|
|
|
1692
2333
|
|
|
@@ -1695,7 +2336,8 @@ useful to avoid falsify validating Number Zero (0)
|
|
|
1695
2336
|
|
|
1696
2337
|
| Name | Type | Description | |
|
|
1697
2338
|
| ---- | ---- | ----------- | -------- |
|
|
1698
|
-
|
|
|
2339
|
+
| baseObject | `Object` | Base object. | |
|
|
2340
|
+
| iteratee | `Function` | The executed per iteration. | |
|
|
1699
2341
|
|
|
1700
2342
|
|
|
1701
2343
|
|
|
@@ -1703,19 +2345,17 @@ useful to avoid falsify validating Number Zero (0)
|
|
|
1703
2345
|
##### Returns
|
|
1704
2346
|
|
|
1705
2347
|
|
|
1706
|
-
- `
|
|
2348
|
+
- `Object` New mapped object.
|
|
1707
2349
|
|
|
1708
2350
|
|
|
1709
2351
|
|
|
1710
2352
|
|
|
1711
|
-
### dist/general/
|
|
2353
|
+
### dist/general/object/isObject.js
|
|
1712
2354
|
|
|
1713
2355
|
|
|
1714
|
-
####
|
|
2356
|
+
#### isObject(obj)
|
|
1715
2357
|
|
|
1716
|
-
|
|
1717
|
-
- If the first given argument is different than a length number, the variable is replaced by a default number
|
|
1718
|
-
- If the optional second given argument is passed the random string is permutated.
|
|
2358
|
+
Checks if the given argument is an object type
|
|
1719
2359
|
|
|
1720
2360
|
|
|
1721
2361
|
|
|
@@ -1724,8 +2364,7 @@ Creates a random string
|
|
|
1724
2364
|
|
|
1725
2365
|
| Name | Type | Description | |
|
|
1726
2366
|
| ---- | ---- | ----------- | -------- |
|
|
1727
|
-
|
|
|
1728
|
-
| exclude | `Array` | collection of strings that is going to be excluded of the random string. | |
|
|
2367
|
+
| obj | | the variable to check | |
|
|
1729
2368
|
|
|
1730
2369
|
|
|
1731
2370
|
|
|
@@ -1733,19 +2372,18 @@ Creates a random string
|
|
|
1733
2372
|
##### Returns
|
|
1734
2373
|
|
|
1735
2374
|
|
|
1736
|
-
-
|
|
2375
|
+
- True: It is an object; False: It is not.
|
|
1737
2376
|
|
|
1738
2377
|
|
|
1739
2378
|
|
|
1740
2379
|
|
|
1741
|
-
### dist/general/
|
|
2380
|
+
### dist/general/object/mergeDeep.js
|
|
1742
2381
|
|
|
1743
2382
|
|
|
1744
|
-
####
|
|
2383
|
+
#### mergeDeep(obj1, obj2, settings)
|
|
1745
2384
|
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
- For `null` or `undefined` or else argument the returned value will be 0.
|
|
2385
|
+
Merges two objects into a new one.
|
|
2386
|
+
The second given argument to the first given argument.
|
|
1749
2387
|
|
|
1750
2388
|
|
|
1751
2389
|
|
|
@@ -1754,7 +2392,9 @@ Gets the length of the given array.
|
|
|
1754
2392
|
|
|
1755
2393
|
| Name | Type | Description | |
|
|
1756
2394
|
| ---- | ---- | ----------- | -------- |
|
|
1757
|
-
|
|
|
2395
|
+
| obj1 | | The target object | |
|
|
2396
|
+
| obj2 | | The object to be merged | |
|
|
2397
|
+
| settings | | Object settings for this function | |
|
|
1758
2398
|
|
|
1759
2399
|
|
|
1760
2400
|
|
|
@@ -1762,18 +2402,37 @@ Gets the length of the given array.
|
|
|
1762
2402
|
##### Returns
|
|
1763
2403
|
|
|
1764
2404
|
|
|
1765
|
-
-
|
|
2405
|
+
- a new merged object
|
|
1766
2406
|
|
|
1767
2407
|
|
|
1768
2408
|
|
|
2409
|
+
#### isValid(obj1, obj2)
|
|
1769
2410
|
|
|
1770
|
-
|
|
2411
|
+
Validates if the two arguments are objects
|
|
1771
2412
|
|
|
1772
2413
|
|
|
1773
|
-
#### cloneDeep(obj)
|
|
1774
2414
|
|
|
1775
|
-
|
|
1776
|
-
|
|
2415
|
+
|
|
2416
|
+
##### Parameters
|
|
2417
|
+
|
|
2418
|
+
| Name | Type | Description | |
|
|
2419
|
+
| ---- | ---- | ----------- | -------- |
|
|
2420
|
+
| obj1 | | The target object | |
|
|
2421
|
+
| obj2 | | The object to be merged | |
|
|
2422
|
+
|
|
2423
|
+
|
|
2424
|
+
|
|
2425
|
+
|
|
2426
|
+
##### Returns
|
|
2427
|
+
|
|
2428
|
+
|
|
2429
|
+
- true: they are valid; false: they are not
|
|
2430
|
+
|
|
2431
|
+
|
|
2432
|
+
|
|
2433
|
+
#### getParamsToMergeDeep(settings)
|
|
2434
|
+
|
|
2435
|
+
Validates and gets the settings with all set parameters.
|
|
1777
2436
|
|
|
1778
2437
|
|
|
1779
2438
|
|
|
@@ -1782,7 +2441,7 @@ Not to use this function with inner objects and functions
|
|
|
1782
2441
|
|
|
1783
2442
|
| Name | Type | Description | |
|
|
1784
2443
|
| ---- | ---- | ----------- | -------- |
|
|
1785
|
-
|
|
|
2444
|
+
| settings | | the settings object | |
|
|
1786
2445
|
|
|
1787
2446
|
|
|
1788
2447
|
|
|
@@ -1790,25 +2449,17 @@ Not to use this function with inner objects and functions
|
|
|
1790
2449
|
##### Returns
|
|
1791
2450
|
|
|
1792
2451
|
|
|
1793
|
-
-
|
|
2452
|
+
- a new settings object with all set parameters.
|
|
1794
2453
|
|
|
1795
2454
|
|
|
1796
2455
|
|
|
1797
2456
|
|
|
1798
|
-
### dist/general/object/
|
|
2457
|
+
### dist/general/object/objectCopy.js
|
|
1799
2458
|
|
|
1800
2459
|
|
|
1801
|
-
####
|
|
2460
|
+
#### objectCopy(entity, cache)
|
|
1802
2461
|
|
|
1803
|
-
|
|
1804
|
-
- To optimize the searching, it is required a key in a snake_case style
|
|
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
|
|
2462
|
+
Created a new reference of the given argument
|
|
1812
2463
|
|
|
1813
2464
|
|
|
1814
2465
|
|
|
@@ -1817,37 +2468,54 @@ Searchs for properties in different case styles such as: lower, upper, camel and
|
|
|
1817
2468
|
|
|
1818
2469
|
| Name | Type | Description | |
|
|
1819
2470
|
| ---- | ---- | ----------- | -------- |
|
|
1820
|
-
|
|
|
1821
|
-
|
|
|
2471
|
+
| entity | | The variable to be copied | |
|
|
2472
|
+
| cache | | | |
|
|
2473
|
+
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
|
|
2477
|
+
##### Returns
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
- A new reference of the given argument
|
|
2481
|
+
|
|
2482
|
+
|
|
2483
|
+
|
|
2484
|
+
|
|
2485
|
+
### dist/general/object/omit.js
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
#### omit(obj, props)
|
|
2489
|
+
|
|
2490
|
+
return a new Object excluding attributes in _props_ list
|
|
2491
|
+
|
|
1822
2492
|
|
|
1823
2493
|
|
|
1824
2494
|
|
|
2495
|
+
##### Parameters
|
|
2496
|
+
|
|
2497
|
+
| Name | Type | Description | |
|
|
2498
|
+
| ---- | ---- | ----------- | -------- |
|
|
2499
|
+
| obj | `Object` | base object | |
|
|
2500
|
+
| props | `Array.<String>` | list of attribute to exclude | |
|
|
1825
2501
|
|
|
1826
|
-
##### Examples
|
|
1827
2502
|
|
|
1828
|
-
```javascript
|
|
1829
|
-
getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
1830
|
-
```
|
|
1831
2503
|
|
|
1832
2504
|
|
|
1833
2505
|
##### Returns
|
|
1834
2506
|
|
|
1835
2507
|
|
|
1836
|
-
- `
|
|
1837
|
-
|
|
2508
|
+
- `Object` clean object
|
|
1838
2509
|
|
|
1839
2510
|
|
|
1840
2511
|
|
|
1841
|
-
### dist/general/object/get.js
|
|
1842
2512
|
|
|
2513
|
+
### dist/general/object/pick.js
|
|
1843
2514
|
|
|
1844
|
-
#### _get(baseObject, path, defaultValue)
|
|
1845
2515
|
|
|
1846
|
-
|
|
1847
|
-
Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.
|
|
2516
|
+
#### pick(baseObject, keys)
|
|
1848
2517
|
|
|
1849
|
-
|
|
1850
|
-
Undefined and null values will return the defaultValue.
|
|
2518
|
+
return a new object just with attributes in _keys_ list
|
|
1851
2519
|
|
|
1852
2520
|
|
|
1853
2521
|
|
|
@@ -1856,51 +2524,26 @@ Undefined and null values will return the defaultValue.
|
|
|
1856
2524
|
|
|
1857
2525
|
| Name | Type | Description | |
|
|
1858
2526
|
| ---- | ---- | ----------- | -------- |
|
|
1859
|
-
| baseObject | |
|
|
1860
|
-
|
|
|
1861
|
-
| defaultValue | | The value returned for undefined resolved values. | |
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
2527
|
+
| baseObject | `Object` | base object | |
|
|
2528
|
+
| keys | `Array.<String>` | list of attributes to preserve | |
|
|
1865
2529
|
|
|
1866
|
-
##### Examples
|
|
1867
2530
|
|
|
1868
|
-
```javascript
|
|
1869
|
-
// returns 'Hello'
|
|
1870
|
-
_get({ item1: 'Hello', item2: 'World' }, 'item1')
|
|
1871
|
-
```
|
|
1872
|
-
```javascript
|
|
1873
|
-
// returns 'A simple Hello'
|
|
1874
|
-
_get({ item1: 'Hello', item2: 'World' }, 'item3', 'A simple Hello')
|
|
1875
|
-
```
|
|
1876
|
-
```javascript
|
|
1877
|
-
// returns 'Hello Again'
|
|
1878
|
-
_get({ item1: { item11: 'Hello Again' }, item2: {} }, 'item1.item11')
|
|
1879
|
-
```
|
|
1880
|
-
```javascript
|
|
1881
|
-
// returns 'Hello 2'
|
|
1882
|
-
_get({ item1: ['Hello 1', 'Hello 2' }, item2: [] }, 'item1[1]')
|
|
1883
|
-
```
|
|
1884
|
-
```javascript
|
|
1885
|
-
// returns 'Hello Again'
|
|
1886
|
-
_get({ item1: { item11: 'Hello Again' }, item2: {} }, ['item1', 'item11'])
|
|
1887
|
-
```
|
|
1888
2531
|
|
|
1889
2532
|
|
|
1890
2533
|
##### Returns
|
|
1891
2534
|
|
|
1892
2535
|
|
|
1893
|
-
-
|
|
2536
|
+
- `Object` new object just with desired attributes
|
|
1894
2537
|
|
|
1895
2538
|
|
|
1896
2539
|
|
|
1897
2540
|
|
|
1898
|
-
### dist/general/object/
|
|
2541
|
+
### dist/general/object/serialize.js
|
|
1899
2542
|
|
|
1900
2543
|
|
|
1901
|
-
####
|
|
2544
|
+
#### serialize(obj)
|
|
1902
2545
|
|
|
1903
|
-
|
|
2546
|
+
serialize object to url param
|
|
1904
2547
|
|
|
1905
2548
|
|
|
1906
2549
|
|
|
@@ -1909,38 +2552,25 @@ Use the hasOwnProperty in order to verify if the given property exists in the ob
|
|
|
1909
2552
|
|
|
1910
2553
|
| Name | Type | Description | |
|
|
1911
2554
|
| ---- | ---- | ----------- | -------- |
|
|
1912
|
-
| obj |
|
|
1913
|
-
| property | `string` | String to verify if exists in the object as property | |
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
##### Examples
|
|
2555
|
+
| obj | | - Object to be serialized | |
|
|
1919
2556
|
|
|
1920
|
-
```javascript
|
|
1921
|
-
const prop = 'prop2'
|
|
1922
|
-
const obj1 = { prop1: 'hello', prop2: 'world'}
|
|
1923
|
-
_hasProperty(ob1, prop1) // true
|
|
1924
2557
|
|
|
1925
|
-
const obj2 = { prop1: 'hello world' }
|
|
1926
|
-
_hasProperty(ob1, prop2) // false
|
|
1927
|
-
```
|
|
1928
2558
|
|
|
1929
2559
|
|
|
1930
2560
|
##### Returns
|
|
1931
2561
|
|
|
1932
2562
|
|
|
1933
|
-
-
|
|
2563
|
+
- `Void`
|
|
1934
2564
|
|
|
1935
2565
|
|
|
1936
2566
|
|
|
1937
2567
|
|
|
1938
|
-
### dist/general/
|
|
2568
|
+
### dist/general/string/capitalize.js
|
|
1939
2569
|
|
|
1940
2570
|
|
|
1941
|
-
####
|
|
2571
|
+
#### capitalize(text)
|
|
1942
2572
|
|
|
1943
|
-
|
|
2573
|
+
Upper case the first letter of a given text
|
|
1944
2574
|
|
|
1945
2575
|
|
|
1946
2576
|
|
|
@@ -1949,7 +2579,7 @@ Checks if the given argument is an object type
|
|
|
1949
2579
|
|
|
1950
2580
|
| Name | Type | Description | |
|
|
1951
2581
|
| ---- | ---- | ----------- | -------- |
|
|
1952
|
-
|
|
|
2582
|
+
| text | `String` | | |
|
|
1953
2583
|
|
|
1954
2584
|
|
|
1955
2585
|
|
|
@@ -1957,18 +2587,17 @@ Checks if the given argument is an object type
|
|
|
1957
2587
|
##### Returns
|
|
1958
2588
|
|
|
1959
2589
|
|
|
1960
|
-
-
|
|
2590
|
+
- `String` a capitalized text
|
|
1961
2591
|
|
|
1962
2592
|
|
|
1963
2593
|
|
|
1964
2594
|
|
|
1965
|
-
### dist/
|
|
2595
|
+
### dist/qrvey/helpers/getColumnsLabel.js
|
|
1966
2596
|
|
|
1967
2597
|
|
|
1968
|
-
####
|
|
2598
|
+
#### getColumnLabels(column)
|
|
1969
2599
|
|
|
1970
|
-
|
|
1971
|
-
and return a mapped object
|
|
2600
|
+
Get an string of the properties of the given column.
|
|
1972
2601
|
|
|
1973
2602
|
|
|
1974
2603
|
|
|
@@ -1977,8 +2606,7 @@ and return a mapped object
|
|
|
1977
2606
|
|
|
1978
2607
|
| Name | Type | Description | |
|
|
1979
2608
|
| ---- | ---- | ----------- | -------- |
|
|
1980
|
-
|
|
|
1981
|
-
| iteratee | `Function` | The executed per iteration. | |
|
|
2609
|
+
| column | | The column | |
|
|
1982
2610
|
|
|
1983
2611
|
|
|
1984
2612
|
|
|
@@ -1986,18 +2614,17 @@ and return a mapped object
|
|
|
1986
2614
|
##### Returns
|
|
1987
2615
|
|
|
1988
2616
|
|
|
1989
|
-
-
|
|
2617
|
+
- an string with the property, aggregate or calculation label.
|
|
1990
2618
|
|
|
1991
2619
|
|
|
1992
2620
|
|
|
1993
2621
|
|
|
1994
|
-
### dist/
|
|
2622
|
+
### dist/services/api/getAllDatasets.api.js
|
|
1995
2623
|
|
|
1996
2624
|
|
|
1997
|
-
####
|
|
2625
|
+
#### getAllDatasets(qrveyids)
|
|
1998
2626
|
|
|
1999
|
-
|
|
2000
|
-
The second given argument to the first given argument.
|
|
2627
|
+
Get a dataset list from a collection of Qrvey IDs
|
|
2001
2628
|
|
|
2002
2629
|
|
|
2003
2630
|
|
|
@@ -2006,9 +2633,7 @@ The second given argument to the first given argument.
|
|
|
2006
2633
|
|
|
2007
2634
|
| Name | Type | Description | |
|
|
2008
2635
|
| ---- | ---- | ----------- | -------- |
|
|
2009
|
-
|
|
|
2010
|
-
| obj2 | | The object to be merged | |
|
|
2011
|
-
| settings | | Object settings for this function | |
|
|
2636
|
+
| qrveyids | | Collection of Qrvey IDs | |
|
|
2012
2637
|
|
|
2013
2638
|
|
|
2014
2639
|
|
|
@@ -2016,13 +2641,17 @@ The second given argument to the first given argument.
|
|
|
2016
2641
|
##### Returns
|
|
2017
2642
|
|
|
2018
2643
|
|
|
2019
|
-
- a
|
|
2644
|
+
- a promise
|
|
2020
2645
|
|
|
2021
2646
|
|
|
2022
2647
|
|
|
2023
|
-
#### isValid(obj1, obj2)
|
|
2024
2648
|
|
|
2025
|
-
|
|
2649
|
+
### dist/services/api/getAllQrveys.api.js
|
|
2650
|
+
|
|
2651
|
+
|
|
2652
|
+
#### getAllQrveys(config, params)
|
|
2653
|
+
|
|
2654
|
+
POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
|
|
2026
2655
|
|
|
2027
2656
|
|
|
2028
2657
|
|
|
@@ -2031,8 +2660,8 @@ Validates if the two arguments are objects
|
|
|
2031
2660
|
|
|
2032
2661
|
| Name | Type | Description | |
|
|
2033
2662
|
| ---- | ---- | ----------- | -------- |
|
|
2034
|
-
|
|
|
2035
|
-
|
|
|
2663
|
+
| config | | Configuration | |
|
|
2664
|
+
| params | | Object for getting precise data | |
|
|
2036
2665
|
|
|
2037
2666
|
|
|
2038
2667
|
|
|
@@ -2040,13 +2669,17 @@ Validates if the two arguments are objects
|
|
|
2040
2669
|
##### Returns
|
|
2041
2670
|
|
|
2042
2671
|
|
|
2043
|
-
-
|
|
2672
|
+
- `Void`
|
|
2044
2673
|
|
|
2045
2674
|
|
|
2046
2675
|
|
|
2047
|
-
#### getParamsToMergeDeep(settings)
|
|
2048
2676
|
|
|
2049
|
-
|
|
2677
|
+
### dist/services/api/getDatasetColumns.api.js
|
|
2678
|
+
|
|
2679
|
+
|
|
2680
|
+
#### getDatasetColumns(qrveyid)
|
|
2681
|
+
|
|
2682
|
+
Get a dataset by Qrvey ID
|
|
2050
2683
|
|
|
2051
2684
|
|
|
2052
2685
|
|
|
@@ -2055,7 +2688,7 @@ Validates and gets the settings with all set parameters.
|
|
|
2055
2688
|
|
|
2056
2689
|
| Name | Type | Description | |
|
|
2057
2690
|
| ---- | ---- | ----------- | -------- |
|
|
2058
|
-
|
|
|
2691
|
+
| qrveyid | | The Qrvey ID | |
|
|
2059
2692
|
|
|
2060
2693
|
|
|
2061
2694
|
|
|
@@ -2063,45 +2696,54 @@ Validates and gets the settings with all set parameters.
|
|
|
2063
2696
|
##### Returns
|
|
2064
2697
|
|
|
2065
2698
|
|
|
2066
|
-
- a
|
|
2699
|
+
- a promise
|
|
2067
2700
|
|
|
2068
2701
|
|
|
2069
2702
|
|
|
2070
2703
|
|
|
2071
|
-
### dist/
|
|
2704
|
+
### dist/stencil/decorators/Config.js
|
|
2072
2705
|
|
|
2073
2706
|
|
|
2074
|
-
####
|
|
2707
|
+
#### Config()
|
|
2075
2708
|
|
|
2076
|
-
|
|
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
|
|
2077
2712
|
|
|
2078
2713
|
|
|
2079
2714
|
|
|
2080
2715
|
|
|
2081
|
-
##### Parameters
|
|
2082
2716
|
|
|
2083
|
-
| Name | Type | Description | |
|
|
2084
|
-
| ---- | ---- | ----------- | -------- |
|
|
2085
|
-
| entity | | The variable to be copied | |
|
|
2086
|
-
| cache | | | |
|
|
2087
2717
|
|
|
2718
|
+
##### Examples
|
|
2719
|
+
|
|
2720
|
+
```javascript
|
|
2721
|
+
\ @Config() @Prop() settings;
|
|
2088
2722
|
|
|
2723
|
+
someMethod() {
|
|
2724
|
+
this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
2725
|
+
}
|
|
2726
|
+
```
|
|
2089
2727
|
|
|
2090
2728
|
|
|
2091
2729
|
##### Returns
|
|
2092
2730
|
|
|
2093
2731
|
|
|
2094
|
-
-
|
|
2732
|
+
- `Void`
|
|
2095
2733
|
|
|
2096
2734
|
|
|
2097
2735
|
|
|
2098
2736
|
|
|
2099
|
-
### dist/
|
|
2737
|
+
### dist/stencil/util/getConfig.js
|
|
2100
2738
|
|
|
2101
2739
|
|
|
2102
|
-
####
|
|
2740
|
+
#### getConfig(cfg)
|
|
2103
2741
|
|
|
2104
|
-
|
|
2742
|
+
verify the Config object type and try to return a parsed Object
|
|
2743
|
+
- In case _cfg_ is a string, first try to make a JSON parse in other case
|
|
2744
|
+
try to find this string as a variable on Windows object
|
|
2745
|
+
- If _cfg_ is a fuction, tis is invoked and parsed
|
|
2746
|
+
- Finally, if is an object, _cfg_ is inmediatly returned
|
|
2105
2747
|
|
|
2106
2748
|
|
|
2107
2749
|
|
|
@@ -2110,8 +2752,7 @@ return a new Object excluding attributes in _props_ list
|
|
|
2110
2752
|
|
|
2111
2753
|
| Name | Type | Description | |
|
|
2112
2754
|
| ---- | ---- | ----------- | -------- |
|
|
2113
|
-
|
|
|
2114
|
-
| props | `Array.<String>` | list of attribute to exclude | |
|
|
2755
|
+
| cfg | | | |
|
|
2115
2756
|
|
|
2116
2757
|
|
|
2117
2758
|
|
|
@@ -2119,27 +2760,19 @@ return a new Object excluding attributes in _props_ list
|
|
|
2119
2760
|
##### Returns
|
|
2120
2761
|
|
|
2121
2762
|
|
|
2122
|
-
- `
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2763
|
+
- `Void`
|
|
2126
2764
|
|
|
2127
|
-
### dist/general/object/pick.js
|
|
2128
2765
|
|
|
2129
2766
|
|
|
2130
|
-
#### pick(baseObject, keys)
|
|
2131
2767
|
|
|
2132
|
-
|
|
2768
|
+
### dist/stencil/util/createRef.js
|
|
2133
2769
|
|
|
2134
2770
|
|
|
2771
|
+
#### createRef()
|
|
2135
2772
|
|
|
2773
|
+
lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
|
|
2136
2774
|
|
|
2137
|
-
##### Parameters
|
|
2138
2775
|
|
|
2139
|
-
| Name | Type | Description | |
|
|
2140
|
-
| ---- | ---- | ----------- | -------- |
|
|
2141
|
-
| baseObject | `Object` | base object | |
|
|
2142
|
-
| keys | `Array.<String>` | list of attributes to preserve | |
|
|
2143
2776
|
|
|
2144
2777
|
|
|
2145
2778
|
|
|
@@ -2147,17 +2780,17 @@ return a new object just with attributes in _keys_ list
|
|
|
2147
2780
|
##### Returns
|
|
2148
2781
|
|
|
2149
2782
|
|
|
2150
|
-
-
|
|
2783
|
+
- function - Function to use in ref prop in html elements
|
|
2151
2784
|
|
|
2152
2785
|
|
|
2153
2786
|
|
|
2154
2787
|
|
|
2155
|
-
### dist/
|
|
2788
|
+
### dist/typescript/decorators/Debounce.js
|
|
2156
2789
|
|
|
2157
2790
|
|
|
2158
|
-
####
|
|
2791
|
+
#### Debounce(time)
|
|
2159
2792
|
|
|
2160
|
-
|
|
2793
|
+
(Method Decorator) Debounce Class Method
|
|
2161
2794
|
|
|
2162
2795
|
|
|
2163
2796
|
|
|
@@ -2166,7 +2799,7 @@ serialize object to url param
|
|
|
2166
2799
|
|
|
2167
2800
|
| Name | Type | Description | |
|
|
2168
2801
|
| ---- | ---- | ----------- | -------- |
|
|
2169
|
-
|
|
|
2802
|
+
| time | | (optional) deafult 500 | |
|
|
2170
2803
|
|
|
2171
2804
|
|
|
2172
2805
|
|
|
@@ -2179,12 +2812,12 @@ serialize object to url param
|
|
|
2179
2812
|
|
|
2180
2813
|
|
|
2181
2814
|
|
|
2182
|
-
### dist/
|
|
2815
|
+
### dist/typescript/decorators/Throttled.js
|
|
2183
2816
|
|
|
2184
2817
|
|
|
2185
|
-
####
|
|
2818
|
+
#### Throttled(time)
|
|
2186
2819
|
|
|
2187
|
-
|
|
2820
|
+
(Method Decorator) Throttled Class Method
|
|
2188
2821
|
|
|
2189
2822
|
|
|
2190
2823
|
|
|
@@ -2193,7 +2826,7 @@ Upper case the first letter of a given text
|
|
|
2193
2826
|
|
|
2194
2827
|
| Name | Type | Description | |
|
|
2195
2828
|
| ---- | ---- | ----------- | -------- |
|
|
2196
|
-
|
|
|
2829
|
+
| time | | (optional) deafult 500 | |
|
|
2197
2830
|
|
|
2198
2831
|
|
|
2199
2832
|
|
|
@@ -2201,17 +2834,17 @@ Upper case the first letter of a given text
|
|
|
2201
2834
|
##### Returns
|
|
2202
2835
|
|
|
2203
2836
|
|
|
2204
|
-
- `
|
|
2837
|
+
- `Void`
|
|
2205
2838
|
|
|
2206
2839
|
|
|
2207
2840
|
|
|
2208
2841
|
|
|
2209
|
-
### dist/
|
|
2842
|
+
### dist/dates/relative/helpers/formatStatement.js
|
|
2210
2843
|
|
|
2211
2844
|
|
|
2212
|
-
####
|
|
2845
|
+
#### formatStatement(statement)
|
|
2213
2846
|
|
|
2214
|
-
|
|
2847
|
+
Build a proper relative date statement type
|
|
2215
2848
|
|
|
2216
2849
|
|
|
2217
2850
|
|
|
@@ -2220,7 +2853,7 @@ Get a dataset list from a collection of Qrvey IDs
|
|
|
2220
2853
|
|
|
2221
2854
|
| Name | Type | Description | |
|
|
2222
2855
|
| ---- | ---- | ----------- | -------- |
|
|
2223
|
-
|
|
|
2856
|
+
| statement | `RelativeStatement` | | |
|
|
2224
2857
|
|
|
2225
2858
|
|
|
2226
2859
|
|
|
@@ -2228,17 +2861,17 @@ Get a dataset list from a collection of Qrvey IDs
|
|
|
2228
2861
|
##### Returns
|
|
2229
2862
|
|
|
2230
2863
|
|
|
2231
|
-
-
|
|
2864
|
+
- `RelativeStatement`
|
|
2232
2865
|
|
|
2233
2866
|
|
|
2234
2867
|
|
|
2235
2868
|
|
|
2236
|
-
### dist/
|
|
2869
|
+
### dist/dates/relative/helpers/getStatementCase.js
|
|
2237
2870
|
|
|
2238
2871
|
|
|
2239
|
-
####
|
|
2872
|
+
#### getStatementCase(includeCurrent, isCalendarDate)
|
|
2240
2873
|
|
|
2241
|
-
|
|
2874
|
+
Returns a number/constant that identifies a relative date case
|
|
2242
2875
|
|
|
2243
2876
|
|
|
2244
2877
|
|
|
@@ -2247,8 +2880,8 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
|
|
|
2247
2880
|
|
|
2248
2881
|
| Name | Type | Description | |
|
|
2249
2882
|
| ---- | ---- | ----------- | -------- |
|
|
2250
|
-
|
|
|
2251
|
-
|
|
|
2883
|
+
| includeCurrent | `boolean` | | |
|
|
2884
|
+
| isCalendarDate | `boolean` | | |
|
|
2252
2885
|
|
|
2253
2886
|
|
|
2254
2887
|
|
|
@@ -2256,17 +2889,17 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
|
|
|
2256
2889
|
##### Returns
|
|
2257
2890
|
|
|
2258
2891
|
|
|
2259
|
-
- `
|
|
2892
|
+
- `number`
|
|
2260
2893
|
|
|
2261
2894
|
|
|
2262
2895
|
|
|
2263
2896
|
|
|
2264
|
-
### dist/
|
|
2897
|
+
### dist/dates/relative/helpers/parseDate.js
|
|
2265
2898
|
|
|
2266
2899
|
|
|
2267
|
-
####
|
|
2900
|
+
#### parseDate(date)
|
|
2268
2901
|
|
|
2269
|
-
|
|
2902
|
+
Parses a string date and returns a dayjs date
|
|
2270
2903
|
|
|
2271
2904
|
|
|
2272
2905
|
|
|
@@ -2275,7 +2908,7 @@ Get a dataset by Qrvey ID
|
|
|
2275
2908
|
|
|
2276
2909
|
| Name | Type | Description | |
|
|
2277
2910
|
| ---- | ---- | ----------- | -------- |
|
|
2278
|
-
|
|
|
2911
|
+
| date | `string` `Dayjs` `Date` | | |
|
|
2279
2912
|
|
|
2280
2913
|
|
|
2281
2914
|
|
|
@@ -2283,17 +2916,18 @@ Get a dataset by Qrvey ID
|
|
|
2283
2916
|
##### Returns
|
|
2284
2917
|
|
|
2285
2918
|
|
|
2286
|
-
-
|
|
2919
|
+
- `Dayjs` A dayjs date
|
|
2287
2920
|
|
|
2288
2921
|
|
|
2289
2922
|
|
|
2290
2923
|
|
|
2291
|
-
### dist/
|
|
2924
|
+
### dist/filters/helpers/backend/buildExpression.js
|
|
2292
2925
|
|
|
2293
2926
|
|
|
2294
|
-
####
|
|
2927
|
+
#### buildExpression(filter)
|
|
2295
2928
|
|
|
2296
|
-
|
|
2929
|
+
Builds filter expression by the filter data.
|
|
2930
|
+
- If the resulting value array is empty the enabled property will be false.
|
|
2297
2931
|
|
|
2298
2932
|
|
|
2299
2933
|
|
|
@@ -2302,7 +2936,7 @@ Get an string of the properties of the given column.
|
|
|
2302
2936
|
|
|
2303
2937
|
| Name | Type | Description | |
|
|
2304
2938
|
| ---- | ---- | ----------- | -------- |
|
|
2305
|
-
|
|
|
2939
|
+
| filter | | The filter to transform | |
|
|
2306
2940
|
|
|
2307
2941
|
|
|
2308
2942
|
|
|
@@ -2310,74 +2944,72 @@ Get an string of the properties of the given column.
|
|
|
2310
2944
|
##### Returns
|
|
2311
2945
|
|
|
2312
2946
|
|
|
2313
|
-
-
|
|
2314
|
-
|
|
2947
|
+
- a filter expression
|
|
2315
2948
|
|
|
2316
2949
|
|
|
2317
2950
|
|
|
2318
|
-
### dist/stencil/decorators/Config.js
|
|
2319
2951
|
|
|
2952
|
+
### dist/filters/helpers/backend/buildUserFilters.js
|
|
2320
2953
|
|
|
2321
|
-
#### Config()
|
|
2322
2954
|
|
|
2323
|
-
|
|
2324
|
-
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
|
|
2325
|
-
But for this, is required ask for a property in `snake_case` style
|
|
2955
|
+
#### buildUserFilters(userFilters)
|
|
2326
2956
|
|
|
2957
|
+
Transform user Filters array into Filter Logic structure
|
|
2327
2958
|
|
|
2328
2959
|
|
|
2329
2960
|
|
|
2330
2961
|
|
|
2962
|
+
##### Parameters
|
|
2331
2963
|
|
|
2332
|
-
|
|
2964
|
+
| Name | Type | Description | |
|
|
2965
|
+
| ---- | ---- | ----------- | -------- |
|
|
2966
|
+
| userFilters | | The filters that the user defined. | |
|
|
2333
2967
|
|
|
2334
|
-
```javascript
|
|
2335
|
-
\ @Config() @Prop() settings;
|
|
2336
2968
|
|
|
2337
|
-
someMethod() {
|
|
2338
|
-
this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
2339
|
-
}
|
|
2340
|
-
```
|
|
2341
2969
|
|
|
2342
2970
|
|
|
2343
2971
|
##### Returns
|
|
2344
2972
|
|
|
2345
2973
|
|
|
2346
|
-
-
|
|
2974
|
+
- The filter logic for the given user filters. if No a given object is recieved, it will return an empty array.
|
|
2347
2975
|
|
|
2348
2976
|
|
|
2349
2977
|
|
|
2350
2978
|
|
|
2351
|
-
### dist/
|
|
2979
|
+
### dist/filters/helpers/backend/getAggFiltersBySummaryIndex.js
|
|
2352
2980
|
|
|
2353
2981
|
|
|
2354
|
-
####
|
|
2982
|
+
#### getAggFiltersBySummaryIndex(aggFilters, summaryIndex)
|
|
2983
|
+
|
|
2355
2984
|
|
|
2356
|
-
lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
|
|
2357
2985
|
|
|
2358
2986
|
|
|
2359
2987
|
|
|
2360
2988
|
|
|
2989
|
+
##### Parameters
|
|
2990
|
+
|
|
2991
|
+
| Name | Type | Description | |
|
|
2992
|
+
| ---- | ---- | ----------- | -------- |
|
|
2993
|
+
| aggFilters | | | |
|
|
2994
|
+
| summaryIndex | | | |
|
|
2995
|
+
|
|
2996
|
+
|
|
2361
2997
|
|
|
2362
2998
|
|
|
2363
2999
|
##### Returns
|
|
2364
3000
|
|
|
2365
3001
|
|
|
2366
|
-
-
|
|
3002
|
+
-
|
|
2367
3003
|
|
|
2368
3004
|
|
|
2369
3005
|
|
|
2370
3006
|
|
|
2371
|
-
### dist/
|
|
3007
|
+
### dist/filters/helpers/backend/getBackendGroupValue.js
|
|
2372
3008
|
|
|
2373
3009
|
|
|
2374
|
-
####
|
|
3010
|
+
#### getBackendGroupValue(filter)
|
|
2375
3011
|
|
|
2376
|
-
|
|
2377
|
-
- In case _cfg_ is a string, first try to make a JSON parse in other case
|
|
2378
|
-
try to find this string as a variable on Windows object
|
|
2379
|
-
- If _cfg_ is a fuction, tis is invoked and parsed
|
|
2380
|
-
- Finally, if is an object, _cfg_ is inmediatly returned
|
|
3012
|
+
Gets a group value for the backend logic structure
|
|
2381
3013
|
|
|
2382
3014
|
|
|
2383
3015
|
|
|
@@ -2386,7 +3018,7 @@ try to find this string as a variable on Windows object
|
|
|
2386
3018
|
|
|
2387
3019
|
| Name | Type | Description | |
|
|
2388
3020
|
| ---- | ---- | ----------- | -------- |
|
|
2389
|
-
|
|
|
3021
|
+
| filter | | The filter | |
|
|
2390
3022
|
|
|
2391
3023
|
|
|
2392
3024
|
|
|
@@ -2394,17 +3026,17 @@ try to find this string as a variable on Windows object
|
|
|
2394
3026
|
##### Returns
|
|
2395
3027
|
|
|
2396
3028
|
|
|
2397
|
-
-
|
|
3029
|
+
- a property
|
|
2398
3030
|
|
|
2399
3031
|
|
|
2400
3032
|
|
|
2401
3033
|
|
|
2402
|
-
### dist/
|
|
3034
|
+
### dist/filters/helpers/backend/getBackendProperty.js
|
|
2403
3035
|
|
|
2404
3036
|
|
|
2405
|
-
####
|
|
3037
|
+
#### getBackendProperty(filter)
|
|
2406
3038
|
|
|
2407
|
-
|
|
3039
|
+
Gets a property for the logic structure
|
|
2408
3040
|
|
|
2409
3041
|
|
|
2410
3042
|
|
|
@@ -2413,7 +3045,7 @@ try to find this string as a variable on Windows object
|
|
|
2413
3045
|
|
|
2414
3046
|
| Name | Type | Description | |
|
|
2415
3047
|
| ---- | ---- | ----------- | -------- |
|
|
2416
|
-
|
|
|
3048
|
+
| filter | | The filter | |
|
|
2417
3049
|
|
|
2418
3050
|
|
|
2419
3051
|
|
|
@@ -2421,17 +3053,17 @@ try to find this string as a variable on Windows object
|
|
|
2421
3053
|
##### Returns
|
|
2422
3054
|
|
|
2423
3055
|
|
|
2424
|
-
-
|
|
3056
|
+
- a property
|
|
2425
3057
|
|
|
2426
3058
|
|
|
2427
3059
|
|
|
2428
3060
|
|
|
2429
|
-
### dist/
|
|
3061
|
+
### dist/filters/helpers/backend/getBackendValidator.js
|
|
2430
3062
|
|
|
2431
3063
|
|
|
2432
|
-
####
|
|
3064
|
+
#### getBackendValidator(validator)
|
|
2433
3065
|
|
|
2434
|
-
|
|
3066
|
+
Gets the Validator that is used in requests
|
|
2435
3067
|
|
|
2436
3068
|
|
|
2437
3069
|
|
|
@@ -2440,7 +3072,7 @@ try to find this string as a variable on Windows object
|
|
|
2440
3072
|
|
|
2441
3073
|
| Name | Type | Description | |
|
|
2442
3074
|
| ---- | ---- | ----------- | -------- |
|
|
2443
|
-
|
|
|
3075
|
+
| validator | | Filter Validator used in UI | |
|
|
2444
3076
|
|
|
2445
3077
|
|
|
2446
3078
|
|
|
@@ -2448,17 +3080,17 @@ try to find this string as a variable on Windows object
|
|
|
2448
3080
|
##### Returns
|
|
2449
3081
|
|
|
2450
3082
|
|
|
2451
|
-
-
|
|
3083
|
+
- Filter Validator used in Backend
|
|
2452
3084
|
|
|
2453
3085
|
|
|
2454
3086
|
|
|
2455
3087
|
|
|
2456
|
-
### dist/
|
|
3088
|
+
### dist/filters/helpers/backend/getBackendValues.js
|
|
2457
3089
|
|
|
2458
3090
|
|
|
2459
|
-
####
|
|
3091
|
+
#### getBackendValues(filter)
|
|
2460
3092
|
|
|
2461
|
-
|
|
3093
|
+
Gets the expresion values in the logic format
|
|
2462
3094
|
|
|
2463
3095
|
|
|
2464
3096
|
|
|
@@ -2467,7 +3099,7 @@ Build a proper relative date statement type
|
|
|
2467
3099
|
|
|
2468
3100
|
| Name | Type | Description | |
|
|
2469
3101
|
| ---- | ---- | ----------- | -------- |
|
|
2470
|
-
|
|
|
3102
|
+
| filter | | The filter structure | |
|
|
2471
3103
|
|
|
2472
3104
|
|
|
2473
3105
|
|
|
@@ -2475,17 +3107,13 @@ Build a proper relative date statement type
|
|
|
2475
3107
|
##### Returns
|
|
2476
3108
|
|
|
2477
3109
|
|
|
2478
|
-
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
3110
|
+
- A collection of backend expression value
|
|
2482
3111
|
|
|
2483
|
-
### dist/dates/relative/helpers/getStatementCase.js
|
|
2484
3112
|
|
|
2485
3113
|
|
|
2486
|
-
####
|
|
3114
|
+
#### getResultValues(values, filter)
|
|
2487
3115
|
|
|
2488
|
-
|
|
3116
|
+
Gets the expression values. Depending on the column type
|
|
2489
3117
|
|
|
2490
3118
|
|
|
2491
3119
|
|
|
@@ -2494,8 +3122,8 @@ Returns a number/constant that identifies a relative date case
|
|
|
2494
3122
|
|
|
2495
3123
|
| Name | Type | Description | |
|
|
2496
3124
|
| ---- | ---- | ----------- | -------- |
|
|
2497
|
-
|
|
|
2498
|
-
|
|
|
3125
|
+
| values | | a collection of filter values | |
|
|
3126
|
+
| filter | | The filter structure | |
|
|
2499
3127
|
|
|
2500
3128
|
|
|
2501
3129
|
|
|
@@ -2503,17 +3131,13 @@ Returns a number/constant that identifies a relative date case
|
|
|
2503
3131
|
##### Returns
|
|
2504
3132
|
|
|
2505
3133
|
|
|
2506
|
-
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
3134
|
+
-
|
|
2510
3135
|
|
|
2511
|
-
### dist/dates/relative/helpers/parseDate.js
|
|
2512
3136
|
|
|
2513
3137
|
|
|
2514
|
-
####
|
|
3138
|
+
#### getRankingValues(values, rankingGroupIndex)
|
|
2515
3139
|
|
|
2516
|
-
|
|
3140
|
+
Gets the Ranking values.
|
|
2517
3141
|
|
|
2518
3142
|
|
|
2519
3143
|
|
|
@@ -2522,7 +3146,8 @@ Parses a string date and returns a dayjs date
|
|
|
2522
3146
|
|
|
2523
3147
|
| Name | Type | Description | |
|
|
2524
3148
|
| ---- | ---- | ----------- | -------- |
|
|
2525
|
-
|
|
|
3149
|
+
| values | | a collection of filter values in the ranking structure | |
|
|
3150
|
+
| rankingGroupIndex | | determine the value by this index to build and return it | |
|
|
2526
3151
|
|
|
2527
3152
|
|
|
2528
3153
|
|
|
@@ -2530,17 +3155,17 @@ Parses a string date and returns a dayjs date
|
|
|
2530
3155
|
##### Returns
|
|
2531
3156
|
|
|
2532
3157
|
|
|
2533
|
-
-
|
|
3158
|
+
- Expression values for ranking
|
|
2534
3159
|
|
|
2535
3160
|
|
|
2536
3161
|
|
|
2537
3162
|
|
|
2538
|
-
### dist/filters/helpers/
|
|
3163
|
+
### dist/filters/helpers/backend/getLogicByScopes.js
|
|
2539
3164
|
|
|
2540
3165
|
|
|
2541
|
-
####
|
|
3166
|
+
#### getLogicByScopes(logics, scopes)
|
|
2542
3167
|
|
|
2543
|
-
|
|
3168
|
+
Gets the filters from logic data by Scopes/Scope IDs.
|
|
2544
3169
|
|
|
2545
3170
|
|
|
2546
3171
|
|
|
@@ -2549,7 +3174,8 @@ Returns a filter builder config object by a any given config
|
|
|
2549
3174
|
|
|
2550
3175
|
| Name | Type | Description | |
|
|
2551
3176
|
| ---- | ---- | ----------- | -------- |
|
|
2552
|
-
|
|
|
3177
|
+
| logics | | The logic array | |
|
|
3178
|
+
| scopes | | The collection of Scopes/Scope IDs | |
|
|
2553
3179
|
|
|
2554
3180
|
|
|
2555
3181
|
|
|
@@ -2557,18 +3183,17 @@ Returns a filter builder config object by a any given config
|
|
|
2557
3183
|
##### Returns
|
|
2558
3184
|
|
|
2559
3185
|
|
|
2560
|
-
-
|
|
3186
|
+
- a new Logic array
|
|
2561
3187
|
|
|
2562
3188
|
|
|
2563
3189
|
|
|
2564
3190
|
|
|
2565
|
-
### dist/filters/helpers/backend/
|
|
3191
|
+
### dist/filters/helpers/backend/getLogicByScopesHierarchy.js
|
|
2566
3192
|
|
|
2567
3193
|
|
|
2568
|
-
####
|
|
3194
|
+
#### getLogicByScopesHierarchy(filterData, scopes, currentScope)
|
|
2569
3195
|
|
|
2570
|
-
|
|
2571
|
-
- If the resulting value array is empty the enabled property will be false.
|
|
3196
|
+
Gets filters from the logic by the scopes hierarchy.
|
|
2572
3197
|
|
|
2573
3198
|
|
|
2574
3199
|
|
|
@@ -2577,7 +3202,9 @@ Builds filter expression by the filter data.
|
|
|
2577
3202
|
|
|
2578
3203
|
| Name | Type | Description | |
|
|
2579
3204
|
| ---- | ---- | ----------- | -------- |
|
|
2580
|
-
|
|
|
3205
|
+
| filterData | | | |
|
|
3206
|
+
| scopes | | | |
|
|
3207
|
+
| currentScope | | | |
|
|
2581
3208
|
|
|
2582
3209
|
|
|
2583
3210
|
|
|
@@ -2585,17 +3212,17 @@ Builds filter expression by the filter data.
|
|
|
2585
3212
|
##### Returns
|
|
2586
3213
|
|
|
2587
3214
|
|
|
2588
|
-
- a
|
|
3215
|
+
- a new array of Logic
|
|
2589
3216
|
|
|
2590
3217
|
|
|
2591
3218
|
|
|
2592
3219
|
|
|
2593
|
-
### dist/filters/helpers/
|
|
3220
|
+
### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
|
|
2594
3221
|
|
|
2595
3222
|
|
|
2596
|
-
####
|
|
3223
|
+
#### getFilterBuilderGeneralConfig(config)
|
|
2597
3224
|
|
|
2598
|
-
|
|
3225
|
+
Returns a filter builder config object by a any given config
|
|
2599
3226
|
|
|
2600
3227
|
|
|
2601
3228
|
|
|
@@ -2604,7 +3231,7 @@ Transform user Filters array into Filter Logic structure
|
|
|
2604
3231
|
|
|
2605
3232
|
| Name | Type | Description | |
|
|
2606
3233
|
| ---- | ---- | ----------- | -------- |
|
|
2607
|
-
|
|
|
3234
|
+
| config | | any config object | |
|
|
2608
3235
|
|
|
2609
3236
|
|
|
2610
3237
|
|
|
@@ -2612,17 +3239,17 @@ Transform user Filters array into Filter Logic structure
|
|
|
2612
3239
|
##### Returns
|
|
2613
3240
|
|
|
2614
3241
|
|
|
2615
|
-
- The filter
|
|
2616
|
-
|
|
3242
|
+
- The filter builder config object
|
|
2617
3243
|
|
|
2618
3244
|
|
|
2619
3245
|
|
|
2620
|
-
### dist/filters/helpers/backend/getAggFiltersBySummaryIndex.js
|
|
2621
3246
|
|
|
3247
|
+
### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
|
|
2622
3248
|
|
|
2623
|
-
#### getAggFiltersBySummaryIndex(aggFilters, summaryIndex)
|
|
2624
3249
|
|
|
3250
|
+
#### excludeUIFiltersByAggregate(uFilters)
|
|
2625
3251
|
|
|
3252
|
+
Excludes Aggregate Filters in the Flattened UI Filters array
|
|
2626
3253
|
|
|
2627
3254
|
|
|
2628
3255
|
|
|
@@ -2631,8 +3258,7 @@ Transform user Filters array into Filter Logic structure
|
|
|
2631
3258
|
|
|
2632
3259
|
| Name | Type | Description | |
|
|
2633
3260
|
| ---- | ---- | ----------- | -------- |
|
|
2634
|
-
|
|
|
2635
|
-
| summaryIndex | | | |
|
|
3261
|
+
| uFilters | | Collection of Flat UI Filters | |
|
|
2636
3262
|
|
|
2637
3263
|
|
|
2638
3264
|
|
|
@@ -2640,17 +3266,17 @@ Transform user Filters array into Filter Logic structure
|
|
|
2640
3266
|
##### Returns
|
|
2641
3267
|
|
|
2642
3268
|
|
|
2643
|
-
-
|
|
3269
|
+
- a new Flat UI Filters that were excluded the aggregate filters
|
|
2644
3270
|
|
|
2645
3271
|
|
|
2646
3272
|
|
|
2647
3273
|
|
|
2648
|
-
### dist/filters/helpers/
|
|
3274
|
+
### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
|
|
2649
3275
|
|
|
2650
3276
|
|
|
2651
|
-
####
|
|
3277
|
+
#### excludeUIFlatFiltersByScopes(uFilters, scopes)
|
|
2652
3278
|
|
|
2653
|
-
|
|
3279
|
+
Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
2654
3280
|
|
|
2655
3281
|
|
|
2656
3282
|
|
|
@@ -2659,7 +3285,8 @@ Gets a group value for the backend logic structure
|
|
|
2659
3285
|
|
|
2660
3286
|
| Name | Type | Description | |
|
|
2661
3287
|
| ---- | ---- | ----------- | -------- |
|
|
2662
|
-
|
|
|
3288
|
+
| uFilters | | The Flatten UI Filters | |
|
|
3289
|
+
| scopes | | collection of scopes types | |
|
|
2663
3290
|
|
|
2664
3291
|
|
|
2665
3292
|
|
|
@@ -2667,17 +3294,17 @@ Gets a group value for the backend logic structure
|
|
|
2667
3294
|
##### Returns
|
|
2668
3295
|
|
|
2669
3296
|
|
|
2670
|
-
-
|
|
3297
|
+
- The new array of UI Flattened filters
|
|
2671
3298
|
|
|
2672
3299
|
|
|
2673
3300
|
|
|
2674
3301
|
|
|
2675
|
-
### dist/filters/helpers/
|
|
3302
|
+
### dist/filters/helpers/ui/getFilterPropertyLabel.js
|
|
2676
3303
|
|
|
2677
3304
|
|
|
2678
|
-
####
|
|
3305
|
+
#### getFilterPropertyLabel(filter)
|
|
2679
3306
|
|
|
2680
|
-
Gets
|
|
3307
|
+
Gets the label of the filter property
|
|
2681
3308
|
|
|
2682
3309
|
|
|
2683
3310
|
|
|
@@ -2686,7 +3313,7 @@ Gets a property for the logic structure
|
|
|
2686
3313
|
|
|
2687
3314
|
| Name | Type | Description | |
|
|
2688
3315
|
| ---- | ---- | ----------- | -------- |
|
|
2689
|
-
| filter | | The
|
|
3316
|
+
| filter | | The UI Filter | |
|
|
2690
3317
|
|
|
2691
3318
|
|
|
2692
3319
|
|
|
@@ -2694,17 +3321,17 @@ Gets a property for the logic structure
|
|
|
2694
3321
|
##### Returns
|
|
2695
3322
|
|
|
2696
3323
|
|
|
2697
|
-
- a property
|
|
3324
|
+
- a string of the filter property label
|
|
2698
3325
|
|
|
2699
3326
|
|
|
2700
3327
|
|
|
2701
3328
|
|
|
2702
|
-
### dist/filters/helpers/
|
|
3329
|
+
### dist/filters/helpers/ui/getOutputFormatByColumn.js
|
|
2703
3330
|
|
|
2704
3331
|
|
|
2705
|
-
####
|
|
3332
|
+
#### getOutputFormatByColumn(column, datasets)
|
|
2706
3333
|
|
|
2707
|
-
Gets the
|
|
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
|
|
2708
3335
|
|
|
2709
3336
|
|
|
2710
3337
|
|
|
@@ -2713,7 +3340,8 @@ Gets the Validator that is used in requests
|
|
|
2713
3340
|
|
|
2714
3341
|
| Name | Type | Description | |
|
|
2715
3342
|
| ---- | ---- | ----------- | -------- |
|
|
2716
|
-
|
|
|
3343
|
+
| column | | The column | |
|
|
3344
|
+
| datasets | | array of datasets | |
|
|
2717
3345
|
|
|
2718
3346
|
|
|
2719
3347
|
|
|
@@ -2721,64 +3349,74 @@ Gets the Validator that is used in requests
|
|
|
2721
3349
|
##### Returns
|
|
2722
3350
|
|
|
2723
3351
|
|
|
2724
|
-
-
|
|
3352
|
+
- The output format object
|
|
2725
3353
|
|
|
2726
3354
|
|
|
2727
3355
|
|
|
2728
3356
|
|
|
2729
|
-
### dist/filters/helpers/
|
|
3357
|
+
### dist/filters/helpers/ui/getUIFlatFilterByParams.js
|
|
2730
3358
|
|
|
2731
3359
|
|
|
2732
|
-
####
|
|
3360
|
+
#### getUIFlatFilterByParams()
|
|
2733
3361
|
|
|
2734
|
-
Gets the
|
|
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
|
|
2735
3371
|
|
|
2736
3372
|
|
|
2737
3373
|
|
|
2738
3374
|
|
|
2739
|
-
##### Parameters
|
|
2740
3375
|
|
|
2741
|
-
| Name | Type | Description | |
|
|
2742
|
-
| ---- | ---- | ----------- | -------- |
|
|
2743
|
-
| filter | | The filter structure | |
|
|
2744
3376
|
|
|
3377
|
+
##### Returns
|
|
2745
3378
|
|
|
2746
3379
|
|
|
3380
|
+
- The index of the uFilter array or the Filter object s
|
|
2747
3381
|
|
|
2748
|
-
##### Returns
|
|
2749
3382
|
|
|
2750
3383
|
|
|
2751
|
-
- A collection of backend expression value
|
|
2752
3384
|
|
|
3385
|
+
### dist/filters/helpers/ui/getUIFlatFiltersByParams.js
|
|
2753
3386
|
|
|
2754
3387
|
|
|
2755
|
-
####
|
|
3388
|
+
#### getUIFlatFiltersByParams()
|
|
2756
3389
|
|
|
2757
|
-
Gets the
|
|
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
|
|
2758
3400
|
|
|
2759
3401
|
|
|
2760
3402
|
|
|
2761
3403
|
|
|
2762
|
-
##### Parameters
|
|
2763
3404
|
|
|
2764
|
-
| Name | Type | Description | |
|
|
2765
|
-
| ---- | ---- | ----------- | -------- |
|
|
2766
|
-
| values | | a collection of filter values | |
|
|
2767
|
-
| filter | | The filter structure | |
|
|
2768
3405
|
|
|
3406
|
+
##### Returns
|
|
2769
3407
|
|
|
2770
3408
|
|
|
3409
|
+
- The index of the uFilter array or the Filter object s
|
|
2771
3410
|
|
|
2772
|
-
##### Returns
|
|
2773
3411
|
|
|
2774
3412
|
|
|
2775
|
-
-
|
|
2776
3413
|
|
|
3414
|
+
### dist/filters/helpers/ui/getUIFlatFiltersByScopes.js
|
|
2777
3415
|
|
|
2778
3416
|
|
|
2779
|
-
####
|
|
3417
|
+
#### getUIFlatFiltersByScopes(uFilters, scopes)
|
|
2780
3418
|
|
|
2781
|
-
|
|
3419
|
+
Filters and gets a UI Flatten Filters by the given scopes
|
|
2782
3420
|
|
|
2783
3421
|
|
|
2784
3422
|
|
|
@@ -2787,8 +3425,8 @@ Gets the Ranking values.
|
|
|
2787
3425
|
|
|
2788
3426
|
| Name | Type | Description | |
|
|
2789
3427
|
| ---- | ---- | ----------- | -------- |
|
|
2790
|
-
|
|
|
2791
|
-
|
|
|
3428
|
+
| uFilters | | The Flatten UI Filters | |
|
|
3429
|
+
| scopes | | collection of scopes types | |
|
|
2792
3430
|
|
|
2793
3431
|
|
|
2794
3432
|
|
|
@@ -2796,17 +3434,17 @@ Gets the Ranking values.
|
|
|
2796
3434
|
##### Returns
|
|
2797
3435
|
|
|
2798
3436
|
|
|
2799
|
-
-
|
|
3437
|
+
- The new array of UI Flattened filters
|
|
2800
3438
|
|
|
2801
3439
|
|
|
2802
3440
|
|
|
2803
3441
|
|
|
2804
|
-
### dist/filters/helpers/
|
|
3442
|
+
### dist/filters/helpers/ui/getUIValues.js
|
|
2805
3443
|
|
|
2806
3444
|
|
|
2807
|
-
####
|
|
3445
|
+
#### getUIValues(filter, addEnableds, rankingGroupIndex)
|
|
3446
|
+
|
|
2808
3447
|
|
|
2809
|
-
Gets the filters from logic data by Scopes/Scope IDs.
|
|
2810
3448
|
|
|
2811
3449
|
|
|
2812
3450
|
|
|
@@ -2815,8 +3453,9 @@ Gets the filters from logic data by Scopes/Scope IDs.
|
|
|
2815
3453
|
|
|
2816
3454
|
| Name | Type | Description | |
|
|
2817
3455
|
| ---- | ---- | ----------- | -------- |
|
|
2818
|
-
|
|
|
2819
|
-
|
|
|
3456
|
+
| filter | | | |
|
|
3457
|
+
| addEnableds | | | |
|
|
3458
|
+
| rankingGroupIndex | | | |
|
|
2820
3459
|
|
|
2821
3460
|
|
|
2822
3461
|
|
|
@@ -2824,17 +3463,17 @@ Gets the filters from logic data by Scopes/Scope IDs.
|
|
|
2824
3463
|
##### Returns
|
|
2825
3464
|
|
|
2826
3465
|
|
|
2827
|
-
-
|
|
3466
|
+
-
|
|
2828
3467
|
|
|
2829
3468
|
|
|
2830
3469
|
|
|
2831
3470
|
|
|
2832
|
-
### dist/filters/helpers/
|
|
3471
|
+
### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
|
|
2833
3472
|
|
|
2834
3473
|
|
|
2835
|
-
####
|
|
3474
|
+
#### resolveUIFlatFilterByParams(filter, params)
|
|
2836
3475
|
|
|
2837
|
-
|
|
3476
|
+
Resolves conditions between UI flattened filter and given parameters
|
|
2838
3477
|
|
|
2839
3478
|
|
|
2840
3479
|
|
|
@@ -2843,9 +3482,8 @@ Gets filters from the logic by the scopes hierarchy.
|
|
|
2843
3482
|
|
|
2844
3483
|
| Name | Type | Description | |
|
|
2845
3484
|
| ---- | ---- | ----------- | -------- |
|
|
2846
|
-
|
|
|
2847
|
-
|
|
|
2848
|
-
| currentScope | | | |
|
|
3485
|
+
| filter | | UI Flatten Filter | |
|
|
3486
|
+
| params | | Parameters to validate | |
|
|
2849
3487
|
|
|
2850
3488
|
|
|
2851
3489
|
|
|
@@ -2853,7 +3491,7 @@ Gets filters from the logic by the scopes hierarchy.
|
|
|
2853
3491
|
##### Returns
|
|
2854
3492
|
|
|
2855
3493
|
|
|
2856
|
-
-
|
|
3494
|
+
- true: the conditions are satisfied.
|
|
2857
3495
|
|
|
2858
3496
|
|
|
2859
3497
|
|
|
@@ -3682,256 +4320,4 @@ Resolves the conditions by given params
|
|
|
3682
4320
|
|
|
3683
4321
|
|
|
3684
4322
|
|
|
3685
|
-
### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
#### excludeUIFiltersByAggregate(uFilters)
|
|
3689
|
-
|
|
3690
|
-
Excludes Aggregate Filters in the Flattened UI Filters array
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
##### Parameters
|
|
3696
|
-
|
|
3697
|
-
| Name | Type | Description | |
|
|
3698
|
-
| ---- | ---- | ----------- | -------- |
|
|
3699
|
-
| uFilters | | Collection of Flat UI Filters | |
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
##### Returns
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
- a new Flat UI Filters that were excluded the aggregate filters
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
#### excludeUIFlatFiltersByScopes(uFilters, scopes)
|
|
3716
|
-
|
|
3717
|
-
Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
##### Parameters
|
|
3723
|
-
|
|
3724
|
-
| Name | Type | Description | |
|
|
3725
|
-
| ---- | ---- | ----------- | -------- |
|
|
3726
|
-
| uFilters | | The Flatten UI Filters | |
|
|
3727
|
-
| scopes | | collection of scopes types | |
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
##### Returns
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
- The new array of UI Flattened filters
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
### dist/filters/helpers/ui/getFilterPropertyLabel.js
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
#### getFilterPropertyLabel(filter)
|
|
3744
|
-
|
|
3745
|
-
Gets the label of the filter property
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
##### Parameters
|
|
3751
|
-
|
|
3752
|
-
| Name | Type | Description | |
|
|
3753
|
-
| ---- | ---- | ----------- | -------- |
|
|
3754
|
-
| filter | | The UI Filter | |
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
##### Returns
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
- a string of the filter property label
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
### dist/filters/helpers/ui/getOutputFormatByColumn.js
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
#### getOutputFormatByColumn(column, datasets)
|
|
3771
|
-
|
|
3772
|
-
Gets output format object from Datasets by the given column. Item of the datasets array must have outputformat item in order to be returned
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
##### Parameters
|
|
3778
|
-
|
|
3779
|
-
| Name | Type | Description | |
|
|
3780
|
-
| ---- | ---- | ----------- | -------- |
|
|
3781
|
-
| column | | The column | |
|
|
3782
|
-
| datasets | | array of datasets | |
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
##### Returns
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
- The output format object
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
### dist/filters/helpers/ui/getUIFlatFilterByParams.js
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
#### getUIFlatFilterByParams()
|
|
3799
|
-
|
|
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
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
##### Returns
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
- The index of the uFilter array or the Filter object s
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
### dist/filters/helpers/ui/getUIFlatFiltersByParams.js
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
#### getUIFlatFiltersByParams()
|
|
3827
|
-
|
|
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
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
##### Returns
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
- The index of the uFilter array or the Filter object s
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
### dist/filters/helpers/ui/getUIFlatFiltersByScopes.js
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
#### getUIFlatFiltersByScopes(uFilters, scopes)
|
|
3856
|
-
|
|
3857
|
-
Filters and gets a UI Flatten Filters by the given scopes
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
##### Parameters
|
|
3863
|
-
|
|
3864
|
-
| Name | Type | Description | |
|
|
3865
|
-
| ---- | ---- | ----------- | -------- |
|
|
3866
|
-
| uFilters | | The Flatten UI Filters | |
|
|
3867
|
-
| scopes | | collection of scopes types | |
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
##### Returns
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
- The new array of UI Flattened filters
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
### dist/filters/helpers/ui/getUIValues.js
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
#### getUIValues(filter, addEnableds, rankingGroupIndex)
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
##### Parameters
|
|
3891
|
-
|
|
3892
|
-
| Name | Type | Description | |
|
|
3893
|
-
| ---- | ---- | ----------- | -------- |
|
|
3894
|
-
| filter | | | |
|
|
3895
|
-
| addEnableds | | | |
|
|
3896
|
-
| rankingGroupIndex | | | |
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
##### Returns
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
#### resolveUIFlatFilterByParams(filter, params)
|
|
3913
|
-
|
|
3914
|
-
Resolves conditions between UI flattened filter and given parameters
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
##### Parameters
|
|
3920
|
-
|
|
3921
|
-
| Name | Type | Description | |
|
|
3922
|
-
| ---- | ---- | ----------- | -------- |
|
|
3923
|
-
| filter | | UI Flatten Filter | |
|
|
3924
|
-
| params | | Parameters to validate | |
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
##### Returns
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
- true: the conditions are satisfied.
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
4323
|
*Documentation generated with [doxdox](https://github.com/neogeek/doxdox).*
|