@qrvey/utils 1.2.9-1 → 1.2.9-10
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 +133 -133
- package/dist/cjs/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO.d.ts +5 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO.js +11 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.d.ts +5 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.js +14 -0
- package/dist/cjs/dates/relative/constants/index.d.ts +2 -0
- package/dist/cjs/dates/relative/constants/index.js +2 -0
- package/dist/cjs/dates/relative/interfaces/IRelativeUnit.d.ts +2 -0
- package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js → dates/relative/interfaces/IRelativeUnit.js} +0 -0
- package/dist/cjs/dates/relative/interfaces/IRelativeUnitInfo.d.ts +5 -0
- package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js → dates/relative/interfaces/IRelativeUnitInfo.js} +0 -0
- package/dist/cjs/dates/relative/interfaces/index.d.ts +2 -0
- package/dist/cjs/dates/relative/interfaces/index.js +2 -0
- package/dist/cjs/filters/adapters/FDToFlatUI.js +0 -2
- package/dist/cjs/filters/adapters/FDToUI.js +1 -2
- package/dist/cjs/filters/adapters/UIToFD.js +0 -1
- package/dist/cjs/filters/adapters/UIToFlatUI.js +0 -2
- package/dist/cjs/filters/adapters/UIToOldLogic.js +1 -1
- package/dist/cjs/filters/adapters/flatUIToOldLogic.js +1 -1
- package/dist/cjs/filters/adapters/flatUIToUI.js +0 -2
- package/dist/cjs/filters/adapters/logicToFlatUI.js +0 -2
- package/dist/cjs/filters/helpers/ui/getUIValues.d.ts +2 -1
- package/dist/cjs/filters/helpers/ui/getUIValues.js +28 -15
- package/dist/cjs/filters/interfaces/ui/IFUFilter.d.ts +1 -1
- package/dist/cjs/filters/interfaces/ui/IFUUIValueSettings.d.ts +6 -0
- package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.js → filters/interfaces/ui/IFUUIValueSettings.js} +0 -0
- package/dist/cjs/filters/interfaces/ui/index.d.ts +1 -0
- package/dist/cjs/filters/interfaces/ui/index.js +1 -0
- package/dist/cjs/globalization/helpers/getI18nDateGroupLabel.js +2 -0
- package/dist/cjs/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -16
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +19 -18
- package/dist/cjs/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.d.ts → II18nChartBuilderChartLabels.d.ts} +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/{II18nChartBuilderComplexImage.js → II18nChartBuilderChartLabels.js} +0 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +5 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +15 -11
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +16 -15
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +12 -11
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +16 -12
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +13 -9
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +19 -16
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +15 -3
- package/dist/cjs/globalization/interfaces/chart_builder/index.d.ts +1 -8
- package/dist/cjs/globalization/interfaces/chart_builder/index.js +1 -8
- package/dist/cjs/globalization/interfaces/common/II18nColumnProperties.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/common/II18nUnits.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/{chart_builder/II18nChartBuilderComplexImageAnalysis.js → common/II18nUnits.js} +0 -0
- package/dist/cjs/globalization/interfaces/common/index.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/common/index.js +2 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +3 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardEmptyState.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/{chart_builder/II18nChartBuilderComplexName.js → dashboard/II18nDashboardEmptyState.js} +0 -0
- package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/dashboard/index.js +1 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/filters/II18nRelativeContainer.d.ts +4 -2
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +11 -9
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +21 -11
- package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +3 -2
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +15 -11
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +50 -72
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +32 -24
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +43 -38
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +1 -1
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/cjs/globalization/labels/common/I18N_COMMON.js +8 -0
- package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +13 -7
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +3 -2
- package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +4 -2
- package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -2
- package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +1 -1
- package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +32 -20
- package/dist/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO.d.ts +5 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO.js +8 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.d.ts +5 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.js +11 -0
- package/dist/dates/relative/constants/index.d.ts +2 -0
- package/dist/dates/relative/constants/index.js +2 -0
- package/dist/dates/relative/interfaces/IRelativeUnit.d.ts +2 -0
- package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js → dates/relative/interfaces/IRelativeUnit.js} +0 -0
- package/dist/dates/relative/interfaces/IRelativeUnitInfo.d.ts +5 -0
- package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js → dates/relative/interfaces/IRelativeUnitInfo.js} +0 -0
- package/dist/dates/relative/interfaces/index.d.ts +2 -0
- package/dist/dates/relative/interfaces/index.js +2 -0
- package/dist/filters/adapters/FDToFlatUI.js +0 -2
- package/dist/filters/adapters/FDToUI.js +1 -2
- package/dist/filters/adapters/UIToFD.js +0 -1
- package/dist/filters/adapters/UIToFlatUI.js +0 -2
- package/dist/filters/adapters/UIToOldLogic.js +1 -1
- package/dist/filters/adapters/flatUIToOldLogic.js +1 -1
- package/dist/filters/adapters/flatUIToUI.js +0 -2
- package/dist/filters/adapters/logicToFlatUI.js +0 -2
- package/dist/filters/helpers/ui/getUIValues.d.ts +2 -1
- package/dist/filters/helpers/ui/getUIValues.js +28 -15
- package/dist/filters/interfaces/ui/IFUFilter.d.ts +1 -1
- package/dist/filters/interfaces/ui/IFUUIValueSettings.d.ts +6 -0
- package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.js → filters/interfaces/ui/IFUUIValueSettings.js} +0 -0
- package/dist/filters/interfaces/ui/index.d.ts +1 -0
- package/dist/filters/interfaces/ui/index.js +1 -0
- package/dist/globalization/helpers/getI18nDateGroupLabel.js +2 -0
- package/dist/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -16
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +19 -18
- package/dist/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.d.ts → II18nChartBuilderChartLabels.d.ts} +1 -1
- package/dist/globalization/interfaces/chart_builder/{II18nChartBuilderComplexImage.js → II18nChartBuilderChartLabels.js} +0 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +5 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +15 -11
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +16 -15
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +12 -11
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +16 -12
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +13 -9
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +19 -16
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +1 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +1 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +15 -3
- package/dist/globalization/interfaces/chart_builder/index.d.ts +1 -8
- package/dist/globalization/interfaces/chart_builder/index.js +1 -8
- package/dist/globalization/interfaces/common/II18nColumnProperties.d.ts +1 -0
- package/dist/globalization/interfaces/common/II18nCommon.d.ts +2 -0
- package/dist/globalization/interfaces/common/II18nUnits.d.ts +7 -0
- package/dist/globalization/interfaces/{chart_builder/II18nChartBuilderComplexImageAnalysis.js → common/II18nUnits.js} +0 -0
- package/dist/globalization/interfaces/common/index.d.ts +2 -0
- package/dist/globalization/interfaces/common/index.js +2 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +3 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboardEmptyState.d.ts +5 -0
- package/dist/globalization/interfaces/{chart_builder/II18nChartBuilderComplexName.js → dashboard/II18nDashboardEmptyState.js} +0 -0
- package/dist/globalization/interfaces/dashboard/index.d.ts +1 -0
- package/dist/globalization/interfaces/dashboard/index.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
- package/dist/globalization/interfaces/filters/II18nRelativeContainer.d.ts +4 -2
- package/dist/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -0
- package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +11 -9
- package/dist/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +21 -11
- package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +3 -2
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +15 -11
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +50 -72
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +32 -24
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +43 -38
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +1 -1
- package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/globalization/labels/common/I18N_COMMON.js +8 -0
- package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +13 -7
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +3 -2
- package/dist/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +4 -2
- package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -2
- package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +1 -1
- package/dist/globalization/labels/panel/I18N_PANEL.js +32 -20
- package/package.json +1 -1
- package/src/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.ts +1 -0
- package/src/dates/relative/constants/RELATIVE_UNIT_INFO.ts +11 -0
- package/src/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.ts +13 -0
- package/src/dates/relative/constants/index.ts +2 -0
- package/src/dates/relative/interfaces/IRelativeUnit.ts +3 -0
- package/src/dates/relative/interfaces/IRelativeUnitInfo.ts +7 -0
- package/src/dates/relative/interfaces/index.ts +2 -0
- package/src/filters/adapters/FDToFlatUI.ts +0 -2
- package/src/filters/adapters/FDToUI.ts +0 -2
- package/src/filters/adapters/UIToFD.ts +0 -1
- package/src/filters/adapters/UIToFlatUI.ts +0 -2
- package/src/filters/adapters/UIToOldLogic.ts +1 -1
- package/src/filters/adapters/flatUIToOldLogic.ts +1 -1
- package/src/filters/adapters/flatUIToUI.ts +0 -2
- package/src/filters/adapters/logicToFlatUI.ts +1 -3
- package/src/filters/helpers/ui/getUIValues.ts +31 -15
- package/src/filters/interfaces/ui/IFUFilter.ts +1 -1
- package/src/filters/interfaces/ui/IFUUIValueSettings.ts +7 -0
- package/src/filters/interfaces/ui/index.ts +1 -0
- package/src/globalization/helpers/getI18nDateGroupLabel.ts +2 -0
- package/src/globalization/helpers/getReverseI18nGroupLabel.ts +2 -0
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.ts +2 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilder.ts +2 -16
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.ts +19 -18
- package/src/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.ts → II18nChartBuilderChartLabels.ts} +1 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.ts +5 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.ts +15 -11
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.ts +16 -15
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.ts +12 -11
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.ts +16 -12
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderSorting.ts +13 -9
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.ts +19 -16
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.ts +1 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.ts +1 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.ts +15 -3
- package/src/globalization/interfaces/chart_builder/index.ts +1 -8
- package/src/globalization/interfaces/common/II18nColumnProperties.ts +1 -0
- package/src/globalization/interfaces/common/II18nCommon.ts +2 -0
- package/src/globalization/interfaces/common/II18nUnits.ts +7 -0
- package/src/globalization/interfaces/common/index.ts +3 -0
- package/src/globalization/interfaces/dashboard/II18nDashboard.ts +3 -0
- package/src/globalization/interfaces/dashboard/II18nDashboardEmptyState.ts +5 -0
- package/src/globalization/interfaces/dashboard/index.ts +1 -0
- package/src/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.ts +1 -0
- package/src/globalization/interfaces/filters/II18nRelativeContainer.ts +4 -2
- package/src/globalization/interfaces/filters/II18nValueContainer.ts +1 -0
- package/src/globalization/interfaces/panel/II18nPanelErrors.ts +11 -9
- package/src/globalization/interfaces/panel/II18nPanelSummaryViews.ts +21 -11
- package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +3 -2
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.ts +15 -11
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +52 -76
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +33 -25
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.ts +43 -38
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.ts +1 -1
- package/src/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.ts +1 -0
- package/src/globalization/labels/common/I18N_COMMON.ts +8 -0
- package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +13 -7
- package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +3 -2
- package/src/globalization/labels/filters/I18N_RELATIVE_CONTAINER.ts +4 -2
- package/src/globalization/labels/filters/I18N_VALUE_CONTAINER.ts +3 -2
- package/src/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.ts +1 -1
- package/src/globalization/labels/panel/I18N_PANEL.ts +32 -20
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +0 -6
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +0 -2
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +0 -2
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +0 -5
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +0 -6
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +0 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +0 -5
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +0 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.ts +0 -6
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.ts +0 -6
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.ts +0 -6
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-
|
|
1
|
+
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-10*
|
|
2
2
|
|
|
3
3
|
> Helper, Utils for all Qrvey Projects
|
|
4
4
|
|
|
@@ -220,12 +220,12 @@ Transforms String Date from a [Year] format to Date object.
|
|
|
220
220
|
|
|
221
221
|
|
|
222
222
|
|
|
223
|
-
### dist/dates/helpers/
|
|
223
|
+
### dist/dates/helpers/getDateByDateFormat.js
|
|
224
224
|
|
|
225
225
|
|
|
226
|
-
####
|
|
226
|
+
#### getDateByDateFormat(date, format, time)
|
|
227
227
|
|
|
228
|
-
Gets
|
|
228
|
+
Gets a Date Object instance by a Date format
|
|
229
229
|
|
|
230
230
|
|
|
231
231
|
|
|
@@ -234,7 +234,9 @@ Gets the date format by the given property
|
|
|
234
234
|
|
|
235
235
|
| Name | Type | Description | |
|
|
236
236
|
| ---- | ---- | ----------- | -------- |
|
|
237
|
-
|
|
|
237
|
+
| date | | String with a formatted date | |
|
|
238
|
+
| format | | The date format | |
|
|
239
|
+
| time | | flag to convert the formatted date to miliseconds | |
|
|
238
240
|
|
|
239
241
|
|
|
240
242
|
|
|
@@ -242,17 +244,17 @@ Gets the date format by the given property
|
|
|
242
244
|
##### Returns
|
|
243
245
|
|
|
244
246
|
|
|
245
|
-
-
|
|
247
|
+
- a Date object, milisecond time or the same value if date format does not match.
|
|
246
248
|
|
|
247
249
|
|
|
248
250
|
|
|
249
251
|
|
|
250
|
-
### dist/dates/helpers/
|
|
252
|
+
### dist/dates/helpers/getDateFormatByProperty.js
|
|
251
253
|
|
|
252
254
|
|
|
253
|
-
####
|
|
255
|
+
#### getDateFormatByProperty(property)
|
|
254
256
|
|
|
255
|
-
Gets
|
|
257
|
+
Gets the date format by the given property
|
|
256
258
|
|
|
257
259
|
|
|
258
260
|
|
|
@@ -261,9 +263,7 @@ Gets a Date Object instance by a Date format
|
|
|
261
263
|
|
|
262
264
|
| Name | Type | Description | |
|
|
263
265
|
| ---- | ---- | ----------- | -------- |
|
|
264
|
-
|
|
|
265
|
-
| format | | The date format | |
|
|
266
|
-
| time | | flag to convert the formatted date to miliseconds | |
|
|
266
|
+
| property | | The Column Property | |
|
|
267
267
|
|
|
268
268
|
|
|
269
269
|
|
|
@@ -271,7 +271,7 @@ Gets a Date Object instance by a Date format
|
|
|
271
271
|
##### Returns
|
|
272
272
|
|
|
273
273
|
|
|
274
|
-
-
|
|
274
|
+
- The date format
|
|
275
275
|
|
|
276
276
|
|
|
277
277
|
|
|
@@ -688,26 +688,6 @@ Output:
|
|
|
688
688
|
|
|
689
689
|
|
|
690
690
|
|
|
691
|
-
### dist/filters/classes/FilterInputErrorHandler.js
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
#### new FilterInputErrorHandler()
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
##### Returns
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
- `Void`
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
691
|
### dist/filters/adapters/FDToFlatUI.js
|
|
712
692
|
|
|
713
693
|
|
|
@@ -966,34 +946,6 @@ Generates a Flattened UI Filter Structure from the UI Filter Data structure v2.1
|
|
|
966
946
|
|
|
967
947
|
|
|
968
948
|
|
|
969
|
-
### dist/filters/adapters/adaptDateGroupingProperty.js
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
#### adaptDateGroupingProperty(property)
|
|
973
|
-
|
|
974
|
-
[TODO: For 2022, eliminate this adapter]
|
|
975
|
-
Get the new property base on the old date grouping properties
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
##### Parameters
|
|
981
|
-
|
|
982
|
-
| Name | Type | Description | |
|
|
983
|
-
| ---- | ---- | ----------- | -------- |
|
|
984
|
-
| property | | | |
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
##### Returns
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
949
|
### dist/filters/adapters/adaptFilterData.js
|
|
998
950
|
|
|
999
951
|
|
|
@@ -1669,6 +1621,54 @@ Gets the Scopes IDS for the Available Scope function by any config
|
|
|
1669
1621
|
|
|
1670
1622
|
|
|
1671
1623
|
|
|
1624
|
+
### dist/filters/classes/FilterInputErrorHandler.js
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
#### new FilterInputErrorHandler()
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
|
|
1636
|
+
##### Returns
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
- `Void`
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
### dist/filters/adapters/adaptDateGroupingProperty.js
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
#### adaptDateGroupingProperty(property)
|
|
1648
|
+
|
|
1649
|
+
[TODO: For 2022, eliminate this adapter]
|
|
1650
|
+
Get the new property base on the old date grouping properties
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
|
|
1654
|
+
|
|
1655
|
+
##### Parameters
|
|
1656
|
+
|
|
1657
|
+
| Name | Type | Description | |
|
|
1658
|
+
| ---- | ---- | ----------- | -------- |
|
|
1659
|
+
| property | | | |
|
|
1660
|
+
|
|
1661
|
+
|
|
1662
|
+
|
|
1663
|
+
|
|
1664
|
+
##### Returns
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
-
|
|
1668
|
+
|
|
1669
|
+
|
|
1670
|
+
|
|
1671
|
+
|
|
1672
1672
|
### dist/general/array/delete.js
|
|
1673
1673
|
|
|
1674
1674
|
|
|
@@ -2153,33 +2153,6 @@ Gets the length of the given array.
|
|
|
2153
2153
|
|
|
2154
2154
|
|
|
2155
2155
|
|
|
2156
|
-
### dist/general/string/capitalize.js
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
#### capitalize(text)
|
|
2160
|
-
|
|
2161
|
-
Upper case the first letter of a given text
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
##### Parameters
|
|
2167
|
-
|
|
2168
|
-
| Name | Type | Description | |
|
|
2169
|
-
| ---- | ---- | ----------- | -------- |
|
|
2170
|
-
| text | `String` | | |
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
##### Returns
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
- `String` a capitalized text
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
2156
|
### dist/general/object/cloneDeep.js
|
|
2184
2157
|
|
|
2185
2158
|
|
|
@@ -2375,35 +2348,6 @@ Checks if the given argument is an object type
|
|
|
2375
2348
|
|
|
2376
2349
|
|
|
2377
2350
|
|
|
2378
|
-
### dist/general/object/mapValues.js
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
#### mapValues(baseObject, iteratee)
|
|
2382
|
-
|
|
2383
|
-
Invoke iteratee (function) for each object key-value pair
|
|
2384
|
-
and return a mapped object
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
##### Parameters
|
|
2390
|
-
|
|
2391
|
-
| Name | Type | Description | |
|
|
2392
|
-
| ---- | ---- | ----------- | -------- |
|
|
2393
|
-
| baseObject | `Object` | Base object. | |
|
|
2394
|
-
| iteratee | `Function` | The executed per iteration. | |
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
##### Returns
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
- `Object` New mapped object.
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
2351
|
### dist/general/object/mergeDeep.js
|
|
2408
2352
|
|
|
2409
2353
|
|
|
@@ -2592,12 +2536,12 @@ serialize object to url param
|
|
|
2592
2536
|
|
|
2593
2537
|
|
|
2594
2538
|
|
|
2595
|
-
### dist/
|
|
2539
|
+
### dist/general/string/capitalize.js
|
|
2596
2540
|
|
|
2597
2541
|
|
|
2598
|
-
####
|
|
2542
|
+
#### capitalize(text)
|
|
2599
2543
|
|
|
2600
|
-
|
|
2544
|
+
Upper case the first letter of a given text
|
|
2601
2545
|
|
|
2602
2546
|
|
|
2603
2547
|
|
|
@@ -2606,8 +2550,7 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
|
|
|
2606
2550
|
|
|
2607
2551
|
| Name | Type | Description | |
|
|
2608
2552
|
| ---- | ---- | ----------- | -------- |
|
|
2609
|
-
|
|
|
2610
|
-
| params | | Object for getting precise data | |
|
|
2553
|
+
| text | `String` | | |
|
|
2611
2554
|
|
|
2612
2555
|
|
|
2613
2556
|
|
|
@@ -2615,7 +2558,34 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
|
|
|
2615
2558
|
##### Returns
|
|
2616
2559
|
|
|
2617
2560
|
|
|
2618
|
-
- `
|
|
2561
|
+
- `String` a capitalized text
|
|
2562
|
+
|
|
2563
|
+
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
### dist/qrvey/helpers/getColumnsLabel.js
|
|
2567
|
+
|
|
2568
|
+
|
|
2569
|
+
#### getColumnLabels(column)
|
|
2570
|
+
|
|
2571
|
+
Get an string of the properties of the given column.
|
|
2572
|
+
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
|
|
2576
|
+
##### Parameters
|
|
2577
|
+
|
|
2578
|
+
| Name | Type | Description | |
|
|
2579
|
+
| ---- | ---- | ----------- | -------- |
|
|
2580
|
+
| column | | The column | |
|
|
2581
|
+
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
|
|
2585
|
+
##### Returns
|
|
2586
|
+
|
|
2587
|
+
|
|
2588
|
+
- an string with the property, aggregate or calculation label.
|
|
2619
2589
|
|
|
2620
2590
|
|
|
2621
2591
|
|
|
@@ -2647,12 +2617,12 @@ Get a dataset list from a collection of Qrvey IDs
|
|
|
2647
2617
|
|
|
2648
2618
|
|
|
2649
2619
|
|
|
2650
|
-
### dist/services/api/
|
|
2620
|
+
### dist/services/api/getAllQrveys.api.js
|
|
2651
2621
|
|
|
2652
2622
|
|
|
2653
|
-
####
|
|
2623
|
+
#### getAllQrveys(config, params)
|
|
2654
2624
|
|
|
2655
|
-
|
|
2625
|
+
POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
|
|
2656
2626
|
|
|
2657
2627
|
|
|
2658
2628
|
|
|
@@ -2661,7 +2631,8 @@ Get a dataset by Qrvey ID
|
|
|
2661
2631
|
|
|
2662
2632
|
| Name | Type | Description | |
|
|
2663
2633
|
| ---- | ---- | ----------- | -------- |
|
|
2664
|
-
|
|
|
2634
|
+
| config | | Configuration | |
|
|
2635
|
+
| params | | Object for getting precise data | |
|
|
2665
2636
|
|
|
2666
2637
|
|
|
2667
2638
|
|
|
@@ -2669,17 +2640,17 @@ Get a dataset by Qrvey ID
|
|
|
2669
2640
|
##### Returns
|
|
2670
2641
|
|
|
2671
2642
|
|
|
2672
|
-
-
|
|
2643
|
+
- `Void`
|
|
2673
2644
|
|
|
2674
2645
|
|
|
2675
2646
|
|
|
2676
2647
|
|
|
2677
|
-
### dist/
|
|
2648
|
+
### dist/services/api/getDatasetColumns.api.js
|
|
2678
2649
|
|
|
2679
2650
|
|
|
2680
|
-
####
|
|
2651
|
+
#### getDatasetColumns(qrveyid)
|
|
2681
2652
|
|
|
2682
|
-
Get
|
|
2653
|
+
Get a dataset by Qrvey ID
|
|
2683
2654
|
|
|
2684
2655
|
|
|
2685
2656
|
|
|
@@ -2688,7 +2659,7 @@ Get an string of the properties of the given column.
|
|
|
2688
2659
|
|
|
2689
2660
|
| Name | Type | Description | |
|
|
2690
2661
|
| ---- | ---- | ----------- | -------- |
|
|
2691
|
-
|
|
|
2662
|
+
| qrveyid | | The Qrvey ID | |
|
|
2692
2663
|
|
|
2693
2664
|
|
|
2694
2665
|
|
|
@@ -2696,7 +2667,7 @@ Get an string of the properties of the given column.
|
|
|
2696
2667
|
##### Returns
|
|
2697
2668
|
|
|
2698
2669
|
|
|
2699
|
-
-
|
|
2670
|
+
- a promise
|
|
2700
2671
|
|
|
2701
2672
|
|
|
2702
2673
|
|
|
@@ -2839,6 +2810,35 @@ try to find this string as a variable on Windows object
|
|
|
2839
2810
|
|
|
2840
2811
|
|
|
2841
2812
|
|
|
2813
|
+
### dist/general/object/mapValues.js
|
|
2814
|
+
|
|
2815
|
+
|
|
2816
|
+
#### mapValues(baseObject, iteratee)
|
|
2817
|
+
|
|
2818
|
+
Invoke iteratee (function) for each object key-value pair
|
|
2819
|
+
and return a mapped object
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
|
|
2824
|
+
##### Parameters
|
|
2825
|
+
|
|
2826
|
+
| Name | Type | Description | |
|
|
2827
|
+
| ---- | ---- | ----------- | -------- |
|
|
2828
|
+
| baseObject | `Object` | Base object. | |
|
|
2829
|
+
| iteratee | `Function` | The executed per iteration. | |
|
|
2830
|
+
|
|
2831
|
+
|
|
2832
|
+
|
|
2833
|
+
|
|
2834
|
+
##### Returns
|
|
2835
|
+
|
|
2836
|
+
|
|
2837
|
+
- `Object` New mapped object.
|
|
2838
|
+
|
|
2839
|
+
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
2842
|
### dist/dates/relative/helpers/formatStatement.js
|
|
2843
2843
|
|
|
2844
2844
|
|
|
@@ -30,6 +30,7 @@ export declare const COLUMN_PROPERTY_LABEL: {
|
|
|
30
30
|
IMAGEUPLOAD_IMAGESIZE: COMPLEX_COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGESIZE;
|
|
31
31
|
IMAGEUPLOAD_IMAGETYPE: COMPLEX_COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGETYPE;
|
|
32
32
|
IMAGEUPLOAD_IMAGEWORDS: COMPLEX_COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGEWORDS;
|
|
33
|
+
IMAGEUPLOAD_IMAGECATEGORY: COMPLEX_COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGECATEGORY;
|
|
33
34
|
EXPRESSION_POSITIVE: COMPLEX_COLUMN_PROPERTY_LABEL.EXPRESSION_POSITIVE;
|
|
34
35
|
EXPRESSION_NEGATIVE: COMPLEX_COLUMN_PROPERTY_LABEL.EXPRESSION_NEGATIVE;
|
|
35
36
|
DAY_HOUR: DATE_DISTINCT_TIME_PROPERTY_LABEL.DAY_HOUR;
|
|
@@ -12,6 +12,7 @@ export declare enum COMPLEX_COLUMN_PROPERTY_LABEL {
|
|
|
12
12
|
IMAGEUPLOAD_IMAGESIZE = "Image Size",
|
|
13
13
|
IMAGEUPLOAD_IMAGETYPE = "Image Type",
|
|
14
14
|
IMAGEUPLOAD_IMAGEWORDS = "Image Words",
|
|
15
|
+
IMAGEUPLOAD_IMAGECATEGORY = "Categories",
|
|
15
16
|
EXPRESSION_POSITIVE = "Positive",
|
|
16
17
|
EXPRESSION_NEGATIVE = "Negative"
|
|
17
18
|
}
|
|
@@ -16,6 +16,7 @@ var COMPLEX_COLUMN_PROPERTY_LABEL;
|
|
|
16
16
|
COMPLEX_COLUMN_PROPERTY_LABEL["IMAGEUPLOAD_IMAGESIZE"] = "Image Size";
|
|
17
17
|
COMPLEX_COLUMN_PROPERTY_LABEL["IMAGEUPLOAD_IMAGETYPE"] = "Image Type";
|
|
18
18
|
COMPLEX_COLUMN_PROPERTY_LABEL["IMAGEUPLOAD_IMAGEWORDS"] = "Image Words";
|
|
19
|
+
COMPLEX_COLUMN_PROPERTY_LABEL["IMAGEUPLOAD_IMAGECATEGORY"] = "Categories";
|
|
19
20
|
COMPLEX_COLUMN_PROPERTY_LABEL["EXPRESSION_POSITIVE"] = "Positive";
|
|
20
21
|
COMPLEX_COLUMN_PROPERTY_LABEL["EXPRESSION_NEGATIVE"] = "Negative";
|
|
21
22
|
})(COMPLEX_COLUMN_PROPERTY_LABEL = exports.COMPLEX_COLUMN_PROPERTY_LABEL || (exports.COMPLEX_COLUMN_PROPERTY_LABEL = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RELATIVE_UNIT_INFO = void 0;
|
|
4
|
+
const DATE_GROUPING_PROPERTY_1 = require("../../constants/DATE_GROUPING_PROPERTY");
|
|
5
|
+
exports.RELATIVE_UNIT_INFO = {
|
|
6
|
+
DAY: { abbrLabel: 'Day', shortLabel: 'Day', label: 'Day', value: DATE_GROUPING_PROPERTY_1.DATE_GROUPING_PROPERTY.DAY, displayed: true, i18nLabelPath: 'common.units.day' },
|
|
7
|
+
MONTH: { abbrLabel: 'Month', shortLabel: 'Month', label: 'Month', value: DATE_GROUPING_PROPERTY_1.DATE_GROUPING_PROPERTY.MONTH, displayed: true, i18nLabelPath: 'common.units.month' },
|
|
8
|
+
QUARTER: { abbrLabel: 'Quarter', shortLabel: 'Quarter', label: 'Quarter', value: DATE_GROUPING_PROPERTY_1.DATE_GROUPING_PROPERTY.QUARTER, displayed: true, i18nLabelPath: 'common.units.quarter' },
|
|
9
|
+
WEEK: { abbrLabel: 'Week', shortLabel: 'Week', label: 'Week', value: DATE_GROUPING_PROPERTY_1.DATE_GROUPING_PROPERTY.WEEK, displayed: true, i18nLabelPath: 'common.units.week' },
|
|
10
|
+
YEAR: { abbrLabel: 'Year', shortLabel: 'Year', label: 'Year', value: DATE_GROUPING_PROPERTY_1.DATE_GROUPING_PROPERTY.YEAR, displayed: true, i18nLabelPath: 'common.units.year' },
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RELATIVE_UNIT_INFO_LIST = void 0;
|
|
4
|
+
const RELATIVE_UNIT_INFO_1 = require("./RELATIVE_UNIT_INFO");
|
|
5
|
+
/**
|
|
6
|
+
* @description Key/array of compound relative cursor info
|
|
7
|
+
*/
|
|
8
|
+
exports.RELATIVE_UNIT_INFO_LIST = [
|
|
9
|
+
RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO['YEAR'],
|
|
10
|
+
RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO['QUARTER'],
|
|
11
|
+
RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO['MONTH'],
|
|
12
|
+
RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO['WEEK'],
|
|
13
|
+
RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO['DAY'],
|
|
14
|
+
];
|
|
@@ -4,4 +4,6 @@ export * from './RELATIVE_CURSOR';
|
|
|
4
4
|
export * from './RELATIVE_CURSOR_INFO_LIST';
|
|
5
5
|
export * from './RELATIVE_CURSOR_INFO';
|
|
6
6
|
export * from './RELATIVE_CURSOR_LABEL';
|
|
7
|
+
export * from './RELATIVE_UNIT_INFO_LIST';
|
|
8
|
+
export * from './RELATIVE_UNIT_INFO';
|
|
7
9
|
export * from './ui/index';
|
|
@@ -16,4 +16,6 @@ __exportStar(require("./RELATIVE_CURSOR"), exports);
|
|
|
16
16
|
__exportStar(require("./RELATIVE_CURSOR_INFO_LIST"), exports);
|
|
17
17
|
__exportStar(require("./RELATIVE_CURSOR_INFO"), exports);
|
|
18
18
|
__exportStar(require("./RELATIVE_CURSOR_LABEL"), exports);
|
|
19
|
+
__exportStar(require("./RELATIVE_UNIT_INFO_LIST"), exports);
|
|
20
|
+
__exportStar(require("./RELATIVE_UNIT_INFO"), exports);
|
|
19
21
|
__exportStar(require("./ui/index"), exports);
|
|
File without changes
|
|
File without changes
|
|
@@ -2,6 +2,8 @@ export * from './AbsoluteStatement';
|
|
|
2
2
|
export * from './Anchor';
|
|
3
3
|
export * from './RelativeCursor';
|
|
4
4
|
export * from './IRelativeCursorInfo';
|
|
5
|
+
export * from './IRelativeUnit';
|
|
6
|
+
export * from './IRelativeUnitInfo';
|
|
5
7
|
export * from './RelativeInput';
|
|
6
8
|
export * from './RelativeStatement';
|
|
7
9
|
export * from './RelativeToAbsoluteStruct';
|
|
@@ -14,6 +14,8 @@ __exportStar(require("./AbsoluteStatement"), exports);
|
|
|
14
14
|
__exportStar(require("./Anchor"), exports);
|
|
15
15
|
__exportStar(require("./RelativeCursor"), exports);
|
|
16
16
|
__exportStar(require("./IRelativeCursorInfo"), exports);
|
|
17
|
+
__exportStar(require("./IRelativeUnit"), exports);
|
|
18
|
+
__exportStar(require("./IRelativeUnitInfo"), exports);
|
|
17
19
|
__exportStar(require("./RelativeInput"), exports);
|
|
18
20
|
__exportStar(require("./RelativeStatement"), exports);
|
|
19
21
|
__exportStar(require("./RelativeToAbsoluteStruct"), exports);
|
|
@@ -6,7 +6,6 @@ const isEmpty_1 = require("../../general/mix/isEmpty");
|
|
|
6
6
|
const cloneDeep_1 = require("../../general/object/cloneDeep");
|
|
7
7
|
const adaptDateGroupingProperty_1 = require("./adaptDateGroupingProperty");
|
|
8
8
|
const get_1 = require("../../general/object/get");
|
|
9
|
-
const getUIValues_1 = require("../helpers/ui/getUIValues");
|
|
10
9
|
/**
|
|
11
10
|
* Generates a Flattened UI filter structure from Filter Data structure.
|
|
12
11
|
* @param filterData The filter data object.
|
|
@@ -85,7 +84,6 @@ function FD21ToFlatUI(scopes = [], datasetsInfo = []) {
|
|
|
85
84
|
nullValues: filter.nullValues,
|
|
86
85
|
operator: filter.operator,
|
|
87
86
|
property: property,
|
|
88
|
-
uiValues: (0, getUIValues_1.getUIValues)(filter),
|
|
89
87
|
validator: filter.validator,
|
|
90
88
|
values: (0, adaptFilterValues_1.adaptFilterValues)(filter),
|
|
91
89
|
};
|
|
@@ -8,7 +8,6 @@ const cloneDeep_1 = require("../../general/object/cloneDeep");
|
|
|
8
8
|
const FILTER_SECTION_1 = require("../constants/common/FILTER_SECTION");
|
|
9
9
|
const FILTER_STRUCTURE_VERSION_1 = require("../constants/common/FILTER_STRUCTURE_VERSION");
|
|
10
10
|
const get_1 = require("../../general/object/get");
|
|
11
|
-
const getUIValues_1 = require("../helpers/ui/getUIValues");
|
|
12
11
|
/**
|
|
13
12
|
* Generates a UI filter structure from Filter Data structure.
|
|
14
13
|
* @param filterData The filter data object.
|
|
@@ -65,7 +64,7 @@ function FD21ToUI(scopes = [], section = FILTER_SECTION_1.FILTER_SECTION.ANYWHER
|
|
|
65
64
|
outputFormat: (0, get_1._get)(datasetInfo, 'outputFormat'),
|
|
66
65
|
qrveyid: filter.column.qrveyid,
|
|
67
66
|
type: (columnInfo === null || columnInfo === void 0 ? void 0 : columnInfo.type) || filter.column.type,
|
|
68
|
-
}, property,
|
|
67
|
+
}, property, values: (0, adaptFilterValues_1.adaptFilterValues)(filter) });
|
|
69
68
|
}) });
|
|
70
69
|
}) })));
|
|
71
70
|
return ufData;
|
|
@@ -5,7 +5,6 @@ const adaptDateGroupingProperty_1 = require("./adaptDateGroupingProperty");
|
|
|
5
5
|
const adaptFilterValues_1 = require("./adaptFilterValues");
|
|
6
6
|
const isEmpty_1 = require("../../general/mix/isEmpty");
|
|
7
7
|
const cloneDeep_1 = require("../../general/object/cloneDeep");
|
|
8
|
-
const getUIValues_1 = require("../helpers/ui/getUIValues");
|
|
9
8
|
/**
|
|
10
9
|
* Generates a Flattened UI filter structure from UI Filter Data structure.
|
|
11
10
|
* @param filterData The UI filter data object.
|
|
@@ -83,7 +82,6 @@ function UI21ToFlatUI(scopes = [], datasetsInfo = []) {
|
|
|
83
82
|
nullValues: filter.nullValues,
|
|
84
83
|
operator: filter.operator,
|
|
85
84
|
property,
|
|
86
|
-
uiValues: (0, getUIValues_1.getUIValues)(filter),
|
|
87
85
|
validator: filter.validator,
|
|
88
86
|
values: (0, adaptFilterValues_1.adaptFilterValues)(filter),
|
|
89
87
|
};
|
|
@@ -148,7 +148,7 @@ const getFilterDetail = (filter, scope, dataset) => {
|
|
|
148
148
|
panelid: filter.extras.panelid,
|
|
149
149
|
panelName: filter.extras.filterLabel,
|
|
150
150
|
section: filter.extras.section,
|
|
151
|
-
uiValue: (0, getUIValues_1.getUIValues)(filter, true),
|
|
151
|
+
uiValue: (0, getUIValues_1.getUIValues)(filter, { addEnableds: true }),
|
|
152
152
|
validator: filter.validator,
|
|
153
153
|
values: (0, adaptFilterValues_1.adaptFilterValues)(filter)
|
|
154
154
|
};
|
|
@@ -90,7 +90,7 @@ const flatUIToOldFilterDetail = (uFilters = []) => {
|
|
|
90
90
|
panelid: filter.extras.panelid,
|
|
91
91
|
panelName: filter.extras.filterLabel,
|
|
92
92
|
section: filter.extras.section,
|
|
93
|
-
uiValue: (0, getUIValues_1.getUIValues)(filter, true),
|
|
93
|
+
uiValue: (0, getUIValues_1.getUIValues)(filter, { addEnableds: true }),
|
|
94
94
|
validator: filter.validator,
|
|
95
95
|
values: filter.values,
|
|
96
96
|
_newFilters: Object.assign({}, filter)
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.flatUIToUI = void 0;
|
|
4
4
|
const adaptDateGroupingProperty_1 = require("./adaptDateGroupingProperty");
|
|
5
|
-
const getUIValues_1 = require("../helpers/ui/getUIValues");
|
|
6
5
|
const adaptFilterValues_1 = require("./adaptFilterValues");
|
|
7
6
|
const FILTER_SECTION_1 = require("../constants/common/FILTER_SECTION");
|
|
8
7
|
const FILTER_STRUCTURE_VERSION_1 = require("../constants/common/FILTER_STRUCTURE_VERSION");
|
|
@@ -118,7 +117,6 @@ function buildFilter(uFilter) {
|
|
|
118
117
|
nullValues: uFilter.nullValues,
|
|
119
118
|
operator: uFilter.operator,
|
|
120
119
|
property,
|
|
121
|
-
uiValues: (0, getUIValues_1.getUIValues)(uFilter),
|
|
122
120
|
validator: uFilter.validator,
|
|
123
121
|
values: (0, adaptFilterValues_1.adaptFilterValues)(uFilter),
|
|
124
122
|
};
|
|
@@ -11,7 +11,6 @@ const FILTER_BACKEND_VALIDATOR_1 = require("../constants/backend/FILTER_BACKEND_
|
|
|
11
11
|
const getFilterid_1 = require("../helpers/common/getFilterid");
|
|
12
12
|
const FILTER_SCOPE_1 = require("../constants/common/FILTER_SCOPE");
|
|
13
13
|
const get_1 = require("../../general/object/get");
|
|
14
|
-
const getUIValues_1 = require("../helpers/ui/getUIValues");
|
|
15
14
|
const isNullValidator_1 = require("../helpers/common/isNullValidator");
|
|
16
15
|
const FILTER_VALIDATOR_INFO_1 = require("../constants/common/FILTER_VALIDATOR_INFO");
|
|
17
16
|
/**
|
|
@@ -101,7 +100,6 @@ function getFilterByExpression(expression, scopeItem) {
|
|
|
101
100
|
nullValues: uiExtras.nullValues,
|
|
102
101
|
operator: uiExtras.operator,
|
|
103
102
|
property,
|
|
104
|
-
uiValues: (0, getUIValues_1.getUIValues)(uiExtras),
|
|
105
103
|
validator: uiExtras.validator,
|
|
106
104
|
values: getValues(uiExtras),
|
|
107
105
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IFSFilter } from "../../interfaces/common/IFSFilter";
|
|
2
2
|
import { IFUValue } from "../../interfaces/ui/IFUValue";
|
|
3
|
+
import { IFUUIValueSettings } from "../../interfaces/ui/IFUUIValueSettings";
|
|
3
4
|
/**
|
|
4
5
|
*
|
|
5
6
|
* @param filter
|
|
@@ -7,4 +8,4 @@ import { IFUValue } from "../../interfaces/ui/IFUValue";
|
|
|
7
8
|
* @param rankingGroupIndex
|
|
8
9
|
* @returns
|
|
9
10
|
*/
|
|
10
|
-
export declare function getUIValues(filter: IFSFilter,
|
|
11
|
+
export declare function getUIValues(filter: IFSFilter, settings?: IFUUIValueSettings): IFUValue[];
|