@qrvey/utils 1.2.4-15 → 1.2.4-19
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 +609 -223
- 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/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/filters/II18nFilterBuilderInfoContainerSelection.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_FORMAT.d.ts +16 -14
- package/dist/cjs/dates/constants/DATE_FORMAT.js +23 -18
- 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_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 +1 -0
- package/dist/cjs/dates/constants/index.js +1 -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/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/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/globalization/interfaces/II18nServiceTranslateOption.d.ts +2 -1
- package/dist/cjs/globalization/interfaces/IResourceI18n.d.ts +17 -11
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilder.d.ts +24 -0
- package/dist/cjs/globalization/interfaces/{filters/II18nFilterPanelHeader.js → bucket_builder/II18nBucketBuilder.js} +0 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderBasicBucket.d.ts +15 -0
- package/dist/cjs/globalization/interfaces/{filters/II18nFilterPanelSettingsContainer.js → bucket_builder/II18nBucketBuilderBasicBucket.js} +0 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +33 -0
- package/dist/cjs/globalization/interfaces/{filters/II18nFilterPanelSettingsContainerDefaultView.js → bucket_builder/II18nBucketBuilderCreateBucket.js} +0 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderCustomBucket.d.ts +15 -0
- package/dist/cjs/globalization/interfaces/{filters/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/bucket_builder/II18nBucketBuilderDeleteDialog.js +2 -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 +11 -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/common/II18nColumnProperties.d.ts +6 -6
- 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 +5 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.d.ts +4 -0
- 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/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 +10 -6
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelCardAction.d.ts +2 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelEmptyState.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelEmptyState.js +2 -0
- package/dist/{globalization/interfaces/filters/II18nFilterPanelHeader.d.ts → cjs/globalization/interfaces/filters/II18nFilterPanelHeaderSection.d.ts} +1 -1
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelHeaderSection.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/II18nValueContainerSearchInput.d.ts +3 -2
- package/dist/cjs/globalization/interfaces/filters/index.d.ts +9 -5
- package/dist/cjs/globalization/interfaces/filters/index.js +9 -5
- package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +8 -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/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/index.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/panel/index.js +4 -0
- package/dist/cjs/globalization/labels/I18N_DEFAULT.js +9 -3
- 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 +120 -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/common/I18N_COLUMN_LABEL.d.ts +6 -6
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +6 -6
- 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 +5 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +23 -5
- 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.js +32 -30
- 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_RELATIVE_CURSOR.d.ts +1 -1
- package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CURSOR.js +4 -4
- package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -5
- package/dist/cjs/globalization/labels/filters/index.d.ts +3 -0
- package/dist/cjs/globalization/labels/filters/index.js +3 -0
- package/dist/cjs/globalization/labels/index.d.ts +1 -0
- package/dist/cjs/globalization/labels/index.js +1 -0
- package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +24 -0
- 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/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/filters/II18nFilterBuilderInfoContainerSelection.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_FORMAT.d.ts +16 -14
- package/dist/dates/constants/DATE_FORMAT.js +23 -18
- 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_QUARTERS_RANGE.d.ts +18 -0
- package/dist/dates/constants/DATE_YEAR_QUARTERS_RANGE.js +18 -0
- package/dist/dates/constants/index.d.ts +1 -0
- package/dist/dates/constants/index.js +1 -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/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/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/globalization/interfaces/II18nServiceTranslateOption.d.ts +2 -1
- package/dist/globalization/interfaces/IResourceI18n.d.ts +17 -11
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilder.d.ts +24 -0
- package/dist/globalization/interfaces/{filters/II18nFilterPanelHeader.js → bucket_builder/II18nBucketBuilder.js} +0 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderBasicBucket.d.ts +15 -0
- package/dist/globalization/interfaces/{filters/II18nFilterPanelSettingsContainer.js → bucket_builder/II18nBucketBuilderBasicBucket.js} +0 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +33 -0
- package/dist/globalization/interfaces/{filters/II18nFilterPanelSettingsContainerDefaultView.js → bucket_builder/II18nBucketBuilderCreateBucket.js} +0 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderCustomBucket.d.ts +15 -0
- package/dist/globalization/interfaces/{filters/II18nValueContainerSearchInputEnterValue.js → bucket_builder/II18nBucketBuilderCustomBucket.js} +0 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderDeleteDialog.d.ts +6 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderDeleteDialog.js +1 -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 +11 -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/common/II18nColumnProperties.d.ts +6 -6
- 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 +5 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilder.d.ts +4 -0
- 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/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 +10 -6
- package/dist/globalization/interfaces/filters/II18nFilterPanelCardAction.d.ts +2 -2
- package/dist/globalization/interfaces/filters/II18nFilterPanelEmptyState.d.ts +4 -0
- package/dist/globalization/interfaces/filters/II18nFilterPanelEmptyState.js +1 -0
- package/dist/{cjs/globalization/interfaces/filters/II18nFilterPanelHeader.d.ts → globalization/interfaces/filters/II18nFilterPanelHeaderSection.d.ts} +1 -1
- package/dist/globalization/interfaces/filters/II18nFilterPanelHeaderSection.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/II18nValueContainerSearchInput.d.ts +3 -2
- package/dist/globalization/interfaces/filters/index.d.ts +9 -5
- package/dist/globalization/interfaces/filters/index.js +9 -5
- package/dist/globalization/interfaces/panel/II18nPanel.d.ts +8 -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/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/index.d.ts +4 -0
- package/dist/globalization/interfaces/panel/index.js +4 -0
- package/dist/globalization/labels/I18N_DEFAULT.js +9 -3
- package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.d.ts +2 -0
- package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +117 -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/common/I18N_COLUMN_LABEL.d.ts +6 -6
- package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +6 -6
- 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 +5 -0
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +23 -5
- 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.js +32 -30
- 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_RELATIVE_CURSOR.d.ts +1 -1
- package/dist/globalization/labels/filters/I18N_RELATIVE_CURSOR.js +1 -1
- package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -5
- package/dist/globalization/labels/filters/index.d.ts +3 -0
- package/dist/globalization/labels/filters/index.js +3 -0
- package/dist/globalization/labels/index.d.ts +1 -0
- package/dist/globalization/labels/index.js +1 -0
- package/dist/globalization/labels/panel/I18N_PANEL.js +24 -0
- package/package.json +1 -1
- package/src/columns/constants/COLUMN.ts +9 -9
- package/src/columns/constants/COLUMN_INFO.ts +2 -6
- package/src/columns/constants/COLUMN_INFO_LIST.ts +2 -6
- package/src/columns/constants/COLUMN_LABEL.ts +3 -7
- 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_FORMAT.ts +23 -18
- package/src/dates/constants/DATE_REGULAR_EXPRESSION.ts +32 -5
- package/src/dates/constants/DATE_YEAR_QUARTERS_RANGE.ts +18 -0
- package/src/dates/constants/index.ts +1 -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/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/index.ts +1 -0
- package/src/general/mix/index.ts +1 -0
- package/src/general/mix/isNaNV2.ts +12 -0
- package/src/globalization/interfaces/II18nServiceTranslateOption.ts +3 -2
- package/src/globalization/interfaces/IResourceI18n.ts +17 -12
- 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 +33 -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 +11 -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/common/II18nColumnProperties.ts +6 -6
- 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 +5 -0
- package/src/globalization/interfaces/filters/II18nFilterBuilder.ts +4 -0
- 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/II18nFilterDisplay.ts +6 -0
- package/src/globalization/interfaces/filters/II18nFilterOperator.ts +4 -0
- package/src/globalization/interfaces/filters/II18nFilterPanel.ts +10 -6
- package/src/globalization/interfaces/filters/II18nFilterPanelCardAction.ts +2 -2
- package/src/globalization/interfaces/filters/II18nFilterPanelEmptyState.ts +4 -0
- package/src/globalization/interfaces/filters/{II18nFilterPanelHeader.ts → II18nFilterPanelHeaderSection.ts} +2 -2
- package/src/globalization/interfaces/filters/II18nFilterPanelSettingsSection.ts +10 -0
- package/src/globalization/interfaces/filters/II18nFilterScopes.ts +10 -0
- package/src/globalization/interfaces/filters/II18nValueContainerSearchInput.ts +3 -3
- package/src/globalization/interfaces/filters/index.ts +9 -5
- package/src/globalization/interfaces/panel/II18nPanel.ts +8 -1
- package/src/globalization/interfaces/panel/II18nPanelEmbed.ts +7 -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/index.ts +4 -0
- package/src/globalization/labels/I18N_DEFAULT.ts +9 -3
- package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +119 -0
- package/src/globalization/labels/bucket_builder/index.ts +1 -0
- package/src/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.ts +6 -6
- package/src/globalization/labels/cross_tabs/I18N_CROSS_TABS.ts +14 -0
- package/src/globalization/labels/cross_tabs/index.ts +1 -0
- package/src/globalization/labels/filters/I18N_FILTER.ts +5 -0
- package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +23 -5
- 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 +33 -31
- package/src/globalization/labels/filters/I18N_FILTER_SCOPE.ts +13 -0
- package/src/globalization/labels/filters/I18N_RELATIVE_CURSOR.ts +1 -1
- package/src/globalization/labels/filters/I18N_VALUE_CONTAINER.ts +3 -5
- package/src/globalization/labels/filters/index.ts +3 -1
- package/src/globalization/labels/index.ts +1 -1
- package/src/globalization/labels/panel/I18N_PANEL.ts +24 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelSettingsContainer.d.ts +0 -8
- package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelSettingsContainerDefaultView.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
- package/dist/globalization/interfaces/filters/II18nFilterPanelSettingsContainer.d.ts +0 -8
- package/dist/globalization/interfaces/filters/II18nFilterPanelSettingsContainerDefaultView.d.ts +0 -5
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
- package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.ts +0 -4
- package/src/globalization/interfaces/filters/II18nFilterPanelSettingsContainer.ts +0 -9
- package/src/globalization/interfaces/filters/II18nFilterPanelSettingsContainerDefaultView.ts +0 -5
- package/src/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.ts +0 -5
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-19*
|
|
2
2
|
|
|
3
3
|
> Helper, Utils for all Qrvey Projects
|
|
4
4
|
|
|
@@ -80,6 +80,343 @@ Get a text and evaluate if it matchs with a token box label.
|
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
83
|
+
### dist/dates/adapters/mdyDateToDate.js
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
#### mdyDateToDate(monthYearDate, time)
|
|
87
|
+
|
|
88
|
+
Transforms String Date from a [mm/dd/yyyy] format to Date object.
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
##### Parameters
|
|
94
|
+
|
|
95
|
+
| Name | Type | Description | |
|
|
96
|
+
| ---- | ---- | ----------- | -------- |
|
|
97
|
+
| monthYearDate | | String of [mm/dd/yyyy] date | |
|
|
98
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
##### Returns
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
- The date object or the date in milliseconds
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### dist/dates/adapters/quarterYearToDate.js
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
#### quarterYearToDate(quarterYearDate, time)
|
|
115
|
+
|
|
116
|
+
Transforms String Date from a [Quarter Year] format to Date object.
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
##### Parameters
|
|
122
|
+
|
|
123
|
+
| Name | Type | Description | |
|
|
124
|
+
| ---- | ---- | ----------- | -------- |
|
|
125
|
+
| quarterYearDate | | String of [Quarter Year] date | |
|
|
126
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
##### Returns
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
- The date object or the date in milliseconds
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
### dist/dates/adapters/monthYearToDate.js
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
#### monthYearToDate(monthYearDate, time)
|
|
143
|
+
|
|
144
|
+
Transforms String Date from a [Month Year] format to Date object.
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
##### Parameters
|
|
150
|
+
|
|
151
|
+
| Name | Type | Description | |
|
|
152
|
+
| ---- | ---- | ----------- | -------- |
|
|
153
|
+
| monthYearDate | | String of [Month Year] date | |
|
|
154
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
##### Returns
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
- The date object or the date in milliseconds
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### dist/dates/adapters/weekYearToDate.js
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
#### weekYearToDate(date, time)
|
|
171
|
+
|
|
172
|
+
Transforms String Date from a [Week Year] format to Date object.
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
##### Parameters
|
|
178
|
+
|
|
179
|
+
| Name | Type | Description | |
|
|
180
|
+
| ---- | ---- | ----------- | -------- |
|
|
181
|
+
| date | | String of [Week Year] date | |
|
|
182
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
##### Returns
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
- The date object or the date in milliseconds
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
### dist/dates/adapters/yearToDate.js
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
#### yearToDate(yearDate, time)
|
|
199
|
+
|
|
200
|
+
Transforms String Date from a [Year] format to Date object.
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
##### Parameters
|
|
206
|
+
|
|
207
|
+
| Name | Type | Description | |
|
|
208
|
+
| ---- | ---- | ----------- | -------- |
|
|
209
|
+
| yearDate | | String of [Year] date | |
|
|
210
|
+
| time | | Flag to parse the object date to milliseconds. | |
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
##### Returns
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
- The date object or the date in milliseconds
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
### dist/dates/helpers/getDateByDateFormat.js
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
#### getDateByDateFormat(date, format, time)
|
|
227
|
+
|
|
228
|
+
Gets a Date Object instance by a Date format
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
##### Parameters
|
|
234
|
+
|
|
235
|
+
| Name | Type | Description | |
|
|
236
|
+
| ---- | ---- | ----------- | -------- |
|
|
237
|
+
| date | | String with a formatted date | |
|
|
238
|
+
| format | | The date format | |
|
|
239
|
+
| time | | flag to convert the formatted date to miliseconds | |
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
##### Returns
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
- a Date object, milisecond time or the same value if date format does not match.
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
### dist/dates/helpers/getDateFormatByProperty.js
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
#### getDateFormatByProperty(property)
|
|
256
|
+
|
|
257
|
+
Gets the date format by the given property
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
##### Parameters
|
|
263
|
+
|
|
264
|
+
| Name | Type | Description | |
|
|
265
|
+
| ---- | ---- | ----------- | -------- |
|
|
266
|
+
| property | | The Column Property | |
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
##### Returns
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
- The date format
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
### dist/dates/helpers/getDateFormatRegularExpressionInArray.js
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
#### getDateFormatRegularExpressionInArray(dateFormat)
|
|
283
|
+
|
|
284
|
+
Gets an array of regular expressions by the given date format
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
##### Parameters
|
|
290
|
+
|
|
291
|
+
| Name | Type | Description | |
|
|
292
|
+
| ---- | ---- | ----------- | -------- |
|
|
293
|
+
| dateFormat | | the date format | |
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
##### Returns
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
- an array of regular expressions
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
### dist/dates/helpers/getSeparatorByDateFormat.js
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
#### getSeparatorByDateFormat(format)
|
|
310
|
+
|
|
311
|
+
Gets the separator of the date format
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
##### Parameters
|
|
317
|
+
|
|
318
|
+
| Name | Type | Description | |
|
|
319
|
+
| ---- | ---- | ----------- | -------- |
|
|
320
|
+
| format | | the date format | |
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
##### Returns
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
- a separator string
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
### dist/dates/helpers/getWeek.js
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
#### getWeek(date)
|
|
337
|
+
|
|
338
|
+
Gets the week number of the year
|
|
339
|
+
Additionally, the month and the year
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
##### Parameters
|
|
345
|
+
|
|
346
|
+
| Name | Type | Description | |
|
|
347
|
+
| ---- | ---- | ----------- | -------- |
|
|
348
|
+
| date | | the date object | |
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
##### Returns
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
- an object with the week, month and year.
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
### dist/dates/helpers/validateDate.js
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
#### validateDate(date, format)
|
|
365
|
+
|
|
366
|
+
Validate a string date depending on giving format
|
|
367
|
+
- If the string is a token label, the function lets it pass.
|
|
368
|
+
- Otherwise depends of the format
|
|
369
|
+
- Some escenarios the string is a mix of token labels and dates
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
##### Parameters
|
|
375
|
+
|
|
376
|
+
| Name | Type | Description | |
|
|
377
|
+
| ---- | ---- | ----------- | -------- |
|
|
378
|
+
| date | | String of date | |
|
|
379
|
+
| format | | String of the format to validate | |
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
##### Returns
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
- True if it is valid or not. Undefined if date is undefined
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
### dist/dates/helpers/validateDateByDateFormat.js
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
#### validateDateByDateFormat(date, dateForma)
|
|
396
|
+
|
|
397
|
+
Validates the given string as Date by its date format.
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
##### Parameters
|
|
403
|
+
|
|
404
|
+
| Name | Type | Description | |
|
|
405
|
+
| ---- | ---- | ----------- | -------- |
|
|
406
|
+
| date | | a string to validate as date form | |
|
|
407
|
+
| dateForma | | the format of the date to validate the string | |
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
##### Returns
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
- true: the string is a valida date
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
83
420
|
### dist/dates/range/getDateRange.js
|
|
84
421
|
|
|
85
422
|
|
|
@@ -637,12 +974,12 @@ Get the new property base on the old date grouping properties
|
|
|
637
974
|
|
|
638
975
|
|
|
639
976
|
|
|
640
|
-
### dist/filters/adapters/
|
|
977
|
+
### dist/filters/adapters/adaptFilterData.js
|
|
641
978
|
|
|
642
979
|
|
|
643
|
-
####
|
|
980
|
+
#### adaptFilterData(filterData, getUIFilterData, datasetsInfo)
|
|
644
981
|
|
|
645
|
-
|
|
982
|
+
Checks and adapts the v2.0 Filter Data Structure to the v2.1
|
|
646
983
|
|
|
647
984
|
|
|
648
985
|
|
|
@@ -651,8 +988,9 @@ Generates a filter data structure from the flatttened UI filters.
|
|
|
651
988
|
|
|
652
989
|
| Name | Type | Description | |
|
|
653
990
|
| ---- | ---- | ----------- | -------- |
|
|
654
|
-
|
|
|
655
|
-
|
|
|
991
|
+
| filterData | | The filter data structure. Accepts both v2.1 or v2.0 | |
|
|
992
|
+
| getUIFilterData | | Flag to get a Filter Data (False) or the UI Filter Data (True) | |
|
|
993
|
+
| datasetsInfo | | Collection of datasets information. If getUIFilterData is true, the datasetsInfo should be mandatory | |
|
|
656
994
|
|
|
657
995
|
|
|
658
996
|
|
|
@@ -660,14 +998,18 @@ Generates a filter data structure from the flatttened UI filters.
|
|
|
660
998
|
##### Returns
|
|
661
999
|
|
|
662
1000
|
|
|
663
|
-
-
|
|
1001
|
+
- A new filter data structure v2.1
|
|
664
1002
|
|
|
665
1003
|
|
|
666
1004
|
|
|
667
|
-
#### buildScopes(fbFilters)
|
|
668
1005
|
|
|
669
|
-
|
|
670
|
-
|
|
1006
|
+
### dist/filters/adapters/adaptFilterValues.js
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
#### adaptFilterValues(filter)
|
|
1010
|
+
|
|
1011
|
+
[TODO: For 2022, eliminate this adapter]
|
|
1012
|
+
Gets an adapted filter value array. Validates the enabled property and sets
|
|
671
1013
|
|
|
672
1014
|
|
|
673
1015
|
|
|
@@ -676,7 +1018,7 @@ Also, adds and organizes filters by datasets
|
|
|
676
1018
|
|
|
677
1019
|
| Name | Type | Description | |
|
|
678
1020
|
| ---- | ---- | ----------- | -------- |
|
|
679
|
-
|
|
|
1021
|
+
| filter | | The filter | |
|
|
680
1022
|
|
|
681
1023
|
|
|
682
1024
|
|
|
@@ -684,13 +1026,17 @@ Also, adds and organizes filters by datasets
|
|
|
684
1026
|
##### Returns
|
|
685
1027
|
|
|
686
1028
|
|
|
687
|
-
-
|
|
1029
|
+
- A new value array with the filled properties.
|
|
688
1030
|
|
|
689
1031
|
|
|
690
1032
|
|
|
691
|
-
#### buildScope(uFilter)
|
|
692
1033
|
|
|
693
|
-
|
|
1034
|
+
### dist/filters/adapters/flatUIToFD.js
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
#### flatUIToFD(uFilters, version)
|
|
1038
|
+
|
|
1039
|
+
Generates a filter data structure from the flatttened UI filters.
|
|
694
1040
|
|
|
695
1041
|
|
|
696
1042
|
|
|
@@ -699,7 +1045,8 @@ Gets an scope structure for the filter data
|
|
|
699
1045
|
|
|
700
1046
|
| Name | Type | Description | |
|
|
701
1047
|
| ---- | ---- | ----------- | -------- |
|
|
702
|
-
|
|
|
1048
|
+
| uFilters | | Array of flattened filters from UI | |
|
|
1049
|
+
| version | | Tag for the version of the filter data structure | |
|
|
703
1050
|
|
|
704
1051
|
|
|
705
1052
|
|
|
@@ -707,13 +1054,14 @@ Gets an scope structure for the filter data
|
|
|
707
1054
|
##### Returns
|
|
708
1055
|
|
|
709
1056
|
|
|
710
|
-
-
|
|
1057
|
+
- a Filter Data.
|
|
711
1058
|
|
|
712
1059
|
|
|
713
1060
|
|
|
714
|
-
####
|
|
1061
|
+
#### buildScopes(fbFilters)
|
|
715
1062
|
|
|
716
|
-
Gets an
|
|
1063
|
+
Gets an array of scopes structure for the filter data. The scopes is organized by scope types and scope IDs
|
|
1064
|
+
Also, adds and organizes filters by datasets
|
|
717
1065
|
|
|
718
1066
|
|
|
719
1067
|
|
|
@@ -722,7 +1070,7 @@ Gets an dataset structure for the filter data
|
|
|
722
1070
|
|
|
723
1071
|
| Name | Type | Description | |
|
|
724
1072
|
| ---- | ---- | ----------- | -------- |
|
|
725
|
-
|
|
|
1073
|
+
| fbFilters | | Array of flat filters from UI | |
|
|
726
1074
|
|
|
727
1075
|
|
|
728
1076
|
|
|
@@ -730,13 +1078,13 @@ Gets an dataset structure for the filter data
|
|
|
730
1078
|
##### Returns
|
|
731
1079
|
|
|
732
1080
|
|
|
733
|
-
- an
|
|
1081
|
+
- an array of scopes structure.
|
|
734
1082
|
|
|
735
1083
|
|
|
736
1084
|
|
|
737
|
-
####
|
|
1085
|
+
#### buildScope(uFilter)
|
|
738
1086
|
|
|
739
|
-
Gets an
|
|
1087
|
+
Gets an scope structure for the filter data
|
|
740
1088
|
|
|
741
1089
|
|
|
742
1090
|
|
|
@@ -745,7 +1093,7 @@ Gets an filter structure for the filter data
|
|
|
745
1093
|
|
|
746
1094
|
| Name | Type | Description | |
|
|
747
1095
|
| ---- | ---- | ----------- | -------- |
|
|
748
|
-
| uFilter | |
|
|
1096
|
+
| uFilter | | UI structure filter | |
|
|
749
1097
|
|
|
750
1098
|
|
|
751
1099
|
|
|
@@ -753,18 +1101,13 @@ Gets an filter structure for the filter data
|
|
|
753
1101
|
##### Returns
|
|
754
1102
|
|
|
755
1103
|
|
|
756
|
-
- an
|
|
757
|
-
|
|
758
|
-
|
|
1104
|
+
- an scope structure
|
|
759
1105
|
|
|
760
1106
|
|
|
761
|
-
### dist/filters/adapters/adaptFilterValues.js
|
|
762
1107
|
|
|
1108
|
+
#### buildDataset(uFilter)
|
|
763
1109
|
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
[TODO: For 2022, eliminate this adapter]
|
|
767
|
-
Gets an adapted filter value array. Validates the enabled property and sets
|
|
1110
|
+
Gets an dataset structure for the filter data
|
|
768
1111
|
|
|
769
1112
|
|
|
770
1113
|
|
|
@@ -773,7 +1116,7 @@ Gets an adapted filter value array. Validates the enabled property and sets
|
|
|
773
1116
|
|
|
774
1117
|
| Name | Type | Description | |
|
|
775
1118
|
| ---- | ---- | ----------- | -------- |
|
|
776
|
-
|
|
|
1119
|
+
| uFilter | | a UI structure filter | |
|
|
777
1120
|
|
|
778
1121
|
|
|
779
1122
|
|
|
@@ -781,17 +1124,13 @@ Gets an adapted filter value array. Validates the enabled property and sets
|
|
|
781
1124
|
##### Returns
|
|
782
1125
|
|
|
783
1126
|
|
|
784
|
-
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
1127
|
+
- an dataset structure
|
|
788
1128
|
|
|
789
|
-
### dist/filters/adapters/adaptFilterData.js
|
|
790
1129
|
|
|
791
1130
|
|
|
792
|
-
####
|
|
1131
|
+
#### buildFilter(uFilter)
|
|
793
1132
|
|
|
794
|
-
|
|
1133
|
+
Gets an filter structure for the filter data
|
|
795
1134
|
|
|
796
1135
|
|
|
797
1136
|
|
|
@@ -800,9 +1139,7 @@ Checks and adapts the v2.0 Filter Data Structure to the v2.1
|
|
|
800
1139
|
|
|
801
1140
|
| Name | Type | Description | |
|
|
802
1141
|
| ---- | ---- | ----------- | -------- |
|
|
803
|
-
|
|
|
804
|
-
| getUIFilterData | | Flag to get a Filter Data (False) or the UI Filter Data (True) | |
|
|
805
|
-
| datasetsInfo | | Collection of datasets information. If getUIFilterData is true, the datasetsInfo should be mandatory | |
|
|
1142
|
+
| uFilter | | a UI structure filter | |
|
|
806
1143
|
|
|
807
1144
|
|
|
808
1145
|
|
|
@@ -810,7 +1147,7 @@ Checks and adapts the v2.0 Filter Data Structure to the v2.1
|
|
|
810
1147
|
##### Returns
|
|
811
1148
|
|
|
812
1149
|
|
|
813
|
-
-
|
|
1150
|
+
- an filter structure
|
|
814
1151
|
|
|
815
1152
|
|
|
816
1153
|
|
|
@@ -990,6 +1327,82 @@ Gets an filter structure for the UI filter data
|
|
|
990
1327
|
|
|
991
1328
|
|
|
992
1329
|
|
|
1330
|
+
### dist/filters/adapters/logicToFlatUI.js
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
#### logicToFlatUI(logics)
|
|
1334
|
+
|
|
1335
|
+
Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
##### Parameters
|
|
1341
|
+
|
|
1342
|
+
| Name | Type | Description | |
|
|
1343
|
+
| ---- | ---- | ----------- | -------- |
|
|
1344
|
+
| logics | | The old logic structure (v2.0) | |
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
##### Returns
|
|
1350
|
+
|
|
1351
|
+
|
|
1352
|
+
- The Flattened UI Filters array
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
#### getFilter(filters, filter, getIndex)
|
|
1357
|
+
|
|
1358
|
+
Get the filter or the index of the given array, validating an old filter structure.
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
##### Parameters
|
|
1364
|
+
|
|
1365
|
+
| Name | Type | Description | |
|
|
1366
|
+
| ---- | ---- | ----------- | -------- |
|
|
1367
|
+
| filters | | The array of UI filters | |
|
|
1368
|
+
| filter | | The old logic structure filter | |
|
|
1369
|
+
| getIndex | | Determines if the index or returns the UI filter object | |
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
##### Returns
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
- the index or the UI filter object
|
|
1378
|
+
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
#### refineRankingValues(values, uiValues)
|
|
1382
|
+
|
|
1383
|
+
Refines the values of the Ranking column type.
|
|
1384
|
+
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
##### Parameters
|
|
1389
|
+
|
|
1390
|
+
| Name | Type | Description | |
|
|
1391
|
+
| ---- | ---- | ----------- | -------- |
|
|
1392
|
+
| values | | the Array of Ranking values | |
|
|
1393
|
+
| uiValues | | Object with additional info about the values of the filter. | |
|
|
1394
|
+
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
##### Returns
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
- the array of Ranking values
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
|
|
993
1406
|
### dist/filters/adapters/logicToFD.js
|
|
994
1407
|
|
|
995
1408
|
|
|
@@ -1098,97 +1511,41 @@ const oldPreferenceFilters = {
|
|
|
1098
1511
|
],
|
|
1099
1512
|
"bucketId": null,
|
|
1100
1513
|
"text": "MC",
|
|
1101
|
-
"title": "MC",
|
|
1102
|
-
"type": "SINGLE_CHOICE",
|
|
1103
|
-
"qid": "AK4M8UV2",
|
|
1104
|
-
"dataset": {
|
|
1105
|
-
"sourceid": "xYOQAdpqT",
|
|
1106
|
-
"name": "Form All Questions",
|
|
1107
|
-
"qrveyid": "xYOQAdpqT",
|
|
1108
|
-
"text": "Form All Questions",
|
|
1109
|
-
"linkid": 0
|
|
1110
|
-
},
|
|
1111
|
-
"enabled": true,
|
|
1112
|
-
"linked": null
|
|
1113
|
-
}
|
|
1114
|
-
};
|
|
1115
|
-
|
|
1116
|
-
const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
|
|
1117
|
-
```
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
##### Returns
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
- `Object` an object with the new filters structure
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
### dist/filters/adapters/logicToFlatUI.js
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
#### logicToFlatUI(logics)
|
|
1132
|
-
|
|
1133
|
-
Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
##### Parameters
|
|
1139
|
-
|
|
1140
|
-
| Name | Type | Description | |
|
|
1141
|
-
| ---- | ---- | ----------- | -------- |
|
|
1142
|
-
| logics | | The old logic structure (v2.0) | |
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
##### Returns
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
- The Flattened UI Filters array
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
#### getFilter(filters, filter, getIndex)
|
|
1155
|
-
|
|
1156
|
-
Get the filter or the index of the given array, validating an old filter structure.
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
##### Parameters
|
|
1162
|
-
|
|
1163
|
-
| Name | Type | Description | |
|
|
1164
|
-
| ---- | ---- | ----------- | -------- |
|
|
1165
|
-
| filters | | The array of UI filters | |
|
|
1166
|
-
| filter | | The old logic structure filter | |
|
|
1167
|
-
| getIndex | | Determines if the index or returns the UI filter object | |
|
|
1168
|
-
|
|
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
|
+
};
|
|
1169
1528
|
|
|
1529
|
+
const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
|
|
1530
|
+
```
|
|
1170
1531
|
|
|
1171
1532
|
|
|
1172
1533
|
##### Returns
|
|
1173
1534
|
|
|
1174
1535
|
|
|
1175
|
-
-
|
|
1536
|
+
- `Object` an object with the new filters structure
|
|
1176
1537
|
|
|
1177
1538
|
|
|
1178
1539
|
|
|
1179
|
-
#### refineRankingValues(values, uiValues)
|
|
1180
1540
|
|
|
1181
|
-
|
|
1541
|
+
### dist/filters/classes/FilterInputErrorHandler.js
|
|
1182
1542
|
|
|
1183
1543
|
|
|
1544
|
+
#### new FilterInputErrorHandler()
|
|
1545
|
+
|
|
1184
1546
|
|
|
1185
1547
|
|
|
1186
|
-
##### Parameters
|
|
1187
1548
|
|
|
1188
|
-
| Name | Type | Description | |
|
|
1189
|
-
| ---- | ---- | ----------- | -------- |
|
|
1190
|
-
| values | | the Array of Ranking values | |
|
|
1191
|
-
| uiValues | | Object with additional info about the values of the filter. | |
|
|
1192
1549
|
|
|
1193
1550
|
|
|
1194
1551
|
|
|
@@ -1196,7 +1553,7 @@ Refines the values of the Ranking column type.
|
|
|
1196
1553
|
##### Returns
|
|
1197
1554
|
|
|
1198
1555
|
|
|
1199
|
-
-
|
|
1556
|
+
- `Void`
|
|
1200
1557
|
|
|
1201
1558
|
|
|
1202
1559
|
|
|
@@ -1399,12 +1756,12 @@ Flat deeply an array
|
|
|
1399
1756
|
|
|
1400
1757
|
|
|
1401
1758
|
|
|
1402
|
-
### dist/general/array/
|
|
1759
|
+
### dist/general/array/getFirstIndexFromArray.js
|
|
1403
1760
|
|
|
1404
1761
|
|
|
1405
|
-
####
|
|
1762
|
+
#### getFirstIndexFromArray(array, callback)
|
|
1406
1763
|
|
|
1407
|
-
Gets the
|
|
1764
|
+
Gets the first index from the array by a callback condition
|
|
1408
1765
|
|
|
1409
1766
|
|
|
1410
1767
|
|
|
@@ -1422,17 +1779,17 @@ Gets the last index from the array by a callback condition
|
|
|
1422
1779
|
##### Returns
|
|
1423
1780
|
|
|
1424
1781
|
|
|
1425
|
-
- the
|
|
1782
|
+
- the first index of the array. -1 when the condition is not satisfied
|
|
1426
1783
|
|
|
1427
1784
|
|
|
1428
1785
|
|
|
1429
1786
|
|
|
1430
|
-
### dist/general/array/
|
|
1787
|
+
### dist/general/array/getLastIndexFromArray.js
|
|
1431
1788
|
|
|
1432
1789
|
|
|
1433
|
-
####
|
|
1790
|
+
#### getLastIndexFromArray(array, callback)
|
|
1434
1791
|
|
|
1435
|
-
Gets the
|
|
1792
|
+
Gets the last index from the array by a callback condition
|
|
1436
1793
|
|
|
1437
1794
|
|
|
1438
1795
|
|
|
@@ -1450,7 +1807,7 @@ Gets the first index from the array by a callback condition
|
|
|
1450
1807
|
##### Returns
|
|
1451
1808
|
|
|
1452
1809
|
|
|
1453
|
-
- the
|
|
1810
|
+
- the last index of the array. -1 when the condition is not satisfied
|
|
1454
1811
|
|
|
1455
1812
|
|
|
1456
1813
|
|
|
@@ -1680,14 +2037,14 @@ Validates if the given argument is empty
|
|
|
1680
2037
|
|
|
1681
2038
|
|
|
1682
2039
|
|
|
1683
|
-
### dist/general/mix/
|
|
2040
|
+
### dist/general/mix/isNaNV2.js
|
|
1684
2041
|
|
|
1685
2042
|
|
|
1686
|
-
####
|
|
2043
|
+
#### isNaNV2(variable)
|
|
1687
2044
|
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
2045
|
+
Validates if the recieved number is NaN type.
|
|
2046
|
+
This function recieves any variable but will return false.
|
|
2047
|
+
Validates if variable is null, undefined, or an empty string, also, the function uses isNaN native function.
|
|
1691
2048
|
|
|
1692
2049
|
|
|
1693
2050
|
|
|
@@ -1696,8 +2053,7 @@ Creates a random string
|
|
|
1696
2053
|
|
|
1697
2054
|
| Name | Type | Description | |
|
|
1698
2055
|
| ---- | ---- | ----------- | -------- |
|
|
1699
|
-
|
|
|
1700
|
-
| exclude | `Array` | collection of strings that is going to be excluded of the random string. | |
|
|
2056
|
+
| variable | | the variable to validate | |
|
|
1701
2057
|
|
|
1702
2058
|
|
|
1703
2059
|
|
|
@@ -1705,7 +2061,7 @@ Creates a random string
|
|
|
1705
2061
|
##### Returns
|
|
1706
2062
|
|
|
1707
2063
|
|
|
1708
|
-
-
|
|
2064
|
+
- True if variable is a NaN or false otherwise
|
|
1709
2065
|
|
|
1710
2066
|
|
|
1711
2067
|
|
|
@@ -1738,6 +2094,36 @@ useful to avoid falsify validating Number Zero (0)
|
|
|
1738
2094
|
|
|
1739
2095
|
|
|
1740
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
|
+
|
|
1741
2127
|
### dist/general/mix/size.js
|
|
1742
2128
|
|
|
1743
2129
|
|
|
@@ -1767,6 +2153,34 @@ Gets the length of the given array.
|
|
|
1767
2153
|
|
|
1768
2154
|
|
|
1769
2155
|
|
|
2156
|
+
### dist/general/object/cloneDeep.js
|
|
2157
|
+
|
|
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
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
|
|
2166
|
+
|
|
2167
|
+
##### Parameters
|
|
2168
|
+
|
|
2169
|
+
| Name | Type | Description | |
|
|
2170
|
+
| ---- | ---- | ----------- | -------- |
|
|
2171
|
+
| obj | | The object | |
|
|
2172
|
+
|
|
2173
|
+
|
|
2174
|
+
|
|
2175
|
+
|
|
2176
|
+
##### Returns
|
|
2177
|
+
|
|
2178
|
+
|
|
2179
|
+
- The new reference object or the given object if the parsing is incorrect or empty
|
|
2180
|
+
|
|
2181
|
+
|
|
2182
|
+
|
|
2183
|
+
|
|
1770
2184
|
### dist/general/object/get.js
|
|
1771
2185
|
|
|
1772
2186
|
|
|
@@ -1824,13 +2238,20 @@ _get({ item1: { item11: 'Hello Again' }, item2: {} }, ['item1', 'item11'])
|
|
|
1824
2238
|
|
|
1825
2239
|
|
|
1826
2240
|
|
|
1827
|
-
### dist/general/object/
|
|
2241
|
+
### dist/general/object/getAttribute.js
|
|
1828
2242
|
|
|
1829
2243
|
|
|
1830
|
-
####
|
|
2244
|
+
#### getAttribute(obj, key)
|
|
1831
2245
|
|
|
1832
|
-
|
|
1833
|
-
|
|
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
|
|
1834
2255
|
|
|
1835
2256
|
|
|
1836
2257
|
|
|
@@ -1839,15 +2260,23 @@ Not to use this function with inner objects and functions
|
|
|
1839
2260
|
|
|
1840
2261
|
| Name | Type | Description | |
|
|
1841
2262
|
| ---- | ---- | ----------- | -------- |
|
|
1842
|
-
| obj | |
|
|
2263
|
+
| obj | `object` | object to look for | |
|
|
2264
|
+
| key | `string` | String attribute in snake_case style | |
|
|
1843
2265
|
|
|
1844
2266
|
|
|
1845
2267
|
|
|
1846
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
|
+
|
|
1847
2276
|
##### Returns
|
|
1848
2277
|
|
|
1849
2278
|
|
|
1850
|
-
-
|
|
2279
|
+
- `Void`
|
|
1851
2280
|
|
|
1852
2281
|
|
|
1853
2282
|
|
|
@@ -1892,49 +2321,6 @@ _hasProperty(ob1, prop2) // false
|
|
|
1892
2321
|
|
|
1893
2322
|
|
|
1894
2323
|
|
|
1895
|
-
### dist/general/object/getAttribute.js
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
#### getAttribute(obj, key)
|
|
1899
|
-
|
|
1900
|
-
Searchs for properties in different case styles such as: lower, upper, camel and pascal
|
|
1901
|
-
- To optimize the searching, it is required a key in a snake_case style
|
|
1902
|
-
- List of cases that do not match
|
|
1903
|
-
-- From lower to snake case
|
|
1904
|
-
-- From upper to snake case
|
|
1905
|
-
-- From lower to camel case
|
|
1906
|
-
-- From upper to camel case
|
|
1907
|
-
-- From lower to pascal case
|
|
1908
|
-
-- From upper to pascal case
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
##### Parameters
|
|
1914
|
-
|
|
1915
|
-
| Name | Type | Description | |
|
|
1916
|
-
| ---- | ---- | ----------- | -------- |
|
|
1917
|
-
| obj | `object` | object to look for | |
|
|
1918
|
-
| key | `string` | String attribute in snake_case style | |
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
##### Examples
|
|
1924
|
-
|
|
1925
|
-
```javascript
|
|
1926
|
-
getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
1927
|
-
```
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
##### Returns
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
- `Void`
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
2324
|
### dist/general/object/isObject.js
|
|
1939
2325
|
|
|
1940
2326
|
|
|
@@ -2260,12 +2646,12 @@ Get a dataset list from a collection of Qrvey IDs
|
|
|
2260
2646
|
|
|
2261
2647
|
|
|
2262
2648
|
|
|
2263
|
-
### dist/services/api/
|
|
2649
|
+
### dist/services/api/getAllQrveys.api.js
|
|
2264
2650
|
|
|
2265
2651
|
|
|
2266
|
-
####
|
|
2652
|
+
#### getAllQrveys(config, params)
|
|
2267
2653
|
|
|
2268
|
-
|
|
2654
|
+
POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
|
|
2269
2655
|
|
|
2270
2656
|
|
|
2271
2657
|
|
|
@@ -2274,7 +2660,8 @@ Get a dataset by Qrvey ID
|
|
|
2274
2660
|
|
|
2275
2661
|
| Name | Type | Description | |
|
|
2276
2662
|
| ---- | ---- | ----------- | -------- |
|
|
2277
|
-
|
|
|
2663
|
+
| config | | Configuration | |
|
|
2664
|
+
| params | | Object for getting precise data | |
|
|
2278
2665
|
|
|
2279
2666
|
|
|
2280
2667
|
|
|
@@ -2282,17 +2669,17 @@ Get a dataset by Qrvey ID
|
|
|
2282
2669
|
##### Returns
|
|
2283
2670
|
|
|
2284
2671
|
|
|
2285
|
-
-
|
|
2672
|
+
- `Void`
|
|
2286
2673
|
|
|
2287
2674
|
|
|
2288
2675
|
|
|
2289
2676
|
|
|
2290
|
-
### dist/services/api/
|
|
2677
|
+
### dist/services/api/getDatasetColumns.api.js
|
|
2291
2678
|
|
|
2292
2679
|
|
|
2293
|
-
####
|
|
2680
|
+
#### getDatasetColumns(qrveyid)
|
|
2294
2681
|
|
|
2295
|
-
|
|
2682
|
+
Get a dataset by Qrvey ID
|
|
2296
2683
|
|
|
2297
2684
|
|
|
2298
2685
|
|
|
@@ -2301,8 +2688,7 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
|
|
|
2301
2688
|
|
|
2302
2689
|
| Name | Type | Description | |
|
|
2303
2690
|
| ---- | ---- | ----------- | -------- |
|
|
2304
|
-
|
|
|
2305
|
-
| params | | Object for getting precise data | |
|
|
2691
|
+
| qrveyid | | The Qrvey ID | |
|
|
2306
2692
|
|
|
2307
2693
|
|
|
2308
2694
|
|
|
@@ -2310,7 +2696,7 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
|
|
|
2310
2696
|
##### Returns
|
|
2311
2697
|
|
|
2312
2698
|
|
|
2313
|
-
-
|
|
2699
|
+
- a promise
|
|
2314
2700
|
|
|
2315
2701
|
|
|
2316
2702
|
|
|
@@ -2535,33 +2921,6 @@ Parses a string date and returns a dayjs date
|
|
|
2535
2921
|
|
|
2536
2922
|
|
|
2537
2923
|
|
|
2538
|
-
### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
#### getFilterBuilderGeneralConfig(config)
|
|
2542
|
-
|
|
2543
|
-
Returns a filter builder config object by a any given config
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
##### Parameters
|
|
2549
|
-
|
|
2550
|
-
| Name | Type | Description | |
|
|
2551
|
-
| ---- | ---- | ----------- | -------- |
|
|
2552
|
-
| config | | any config object | |
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
##### Returns
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
- The filter builder config object
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
2924
|
### dist/filters/helpers/backend/buildExpression.js
|
|
2566
2925
|
|
|
2567
2926
|
|
|
@@ -2858,6 +3217,33 @@ Gets filters from the logic by the scopes hierarchy.
|
|
|
2858
3217
|
|
|
2859
3218
|
|
|
2860
3219
|
|
|
3220
|
+
### dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js
|
|
3221
|
+
|
|
3222
|
+
|
|
3223
|
+
#### getFilterBuilderGeneralConfig(config)
|
|
3224
|
+
|
|
3225
|
+
Returns a filter builder config object by a any given config
|
|
3226
|
+
|
|
3227
|
+
|
|
3228
|
+
|
|
3229
|
+
|
|
3230
|
+
##### Parameters
|
|
3231
|
+
|
|
3232
|
+
| Name | Type | Description | |
|
|
3233
|
+
| ---- | ---- | ----------- | -------- |
|
|
3234
|
+
| config | | any config object | |
|
|
3235
|
+
|
|
3236
|
+
|
|
3237
|
+
|
|
3238
|
+
|
|
3239
|
+
##### Returns
|
|
3240
|
+
|
|
3241
|
+
|
|
3242
|
+
- The filter builder config object
|
|
3243
|
+
|
|
3244
|
+
|
|
3245
|
+
|
|
3246
|
+
|
|
2861
3247
|
### dist/filters/helpers/common/areFiltersEquals.js
|
|
2862
3248
|
|
|
2863
3249
|
|