@qrvey/utils 1.2.9-2 → 1.2.9-6
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 +544 -544
- 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 +25 -12
- 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 +1 -1
- 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 +3 -1
- 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/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
- 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 +17 -9
- 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 +1 -1
- 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 +21 -15
- 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/filters/I18N_FILTER_BUILDER.js +3 -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 +28 -18
- 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 +25 -12
- 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 +1 -1
- 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 +3 -1
- 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/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
- 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 +17 -9
- package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +3 -2
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +1 -1
- 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 +21 -15
- 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/filters/I18N_FILTER_BUILDER.js +3 -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 +28 -18
- 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 +28 -12
- 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 +1 -1
- 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 +3 -1
- 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/filters/II18nFilterBuilderColumnSelector.ts +1 -0
- 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 +17 -9
- package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +3 -2
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.ts +1 -1
- 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 +21 -16
- 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/filters/I18N_FILTER_BUILDER.ts +3 -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 +28 -18
- 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/II18nChartBuilderComplexName.js +0 -2
- 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/II18nChartBuilderComplexName.js +0 -1
- 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
|
@@ -3,40 +3,44 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.I18N_CHART_BUILDER_STYLE_OPTIONS = void 0;
|
|
4
4
|
exports.I18N_CHART_BUILDER_STYLE_OPTIONS = {
|
|
5
5
|
style_options: {
|
|
6
|
+
allow_clustering: 'Allow Clustering',
|
|
6
7
|
axis_labels: 'Axis Labels',
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
axis_position_disabled_message: '<i>Axis Position</i> is disabled because stacked type configuration is in use.',
|
|
9
|
+
bar_type_disabled_message: 'Bar <i>Type</i> selection is disabled because not all of the column visualization styles are set as bars.',
|
|
9
10
|
bar_width: 'Bar Width',
|
|
10
11
|
bar_width_symbol: '%',
|
|
11
12
|
bar_width_auto: 'Auto',
|
|
12
|
-
|
|
13
|
+
bullet_color: 'Bullet Color',
|
|
13
14
|
borders_check: 'Borders',
|
|
14
|
-
|
|
15
|
-
values_check: 'Values',
|
|
16
|
-
percentage_check: 'Percentage',
|
|
17
|
-
line_opacity: 'Line Opacity',
|
|
18
|
-
threshold_opacity: 'Threshold Opacity',
|
|
19
|
-
symbol_opacity: 'Symbol Opacity',
|
|
20
|
-
show_animation_check: 'Show Animation',
|
|
21
|
-
needle_color: 'Needle Color',
|
|
22
|
-
show_comparision_check: 'Show Comparison',
|
|
15
|
+
chart_type_disabled_message: '<i>Type</i> selection is disabled because stacked type configuration is in use.',
|
|
23
16
|
comparision_color: 'Comparision Color',
|
|
24
|
-
|
|
17
|
+
data_labels_check: 'Data Labels',
|
|
25
18
|
default_format_title: 'Format',
|
|
26
|
-
reversed_colors: 'Reversed Colors',
|
|
27
|
-
map_borders: 'Map borders',
|
|
28
|
-
allow_clustering: 'Allow Clustering',
|
|
29
19
|
display_outliers_check: 'Display outliers',
|
|
20
|
+
line_opacity: 'Line Opacity',
|
|
21
|
+
map_borders: 'Map borders',
|
|
22
|
+
needle_color: 'Needle Color',
|
|
30
23
|
opacity: 'Opacity',
|
|
24
|
+
percentage_check: 'Percentage',
|
|
25
|
+
reversed_colors: 'Reversed Colors',
|
|
26
|
+
shading_check: 'Shading',
|
|
27
|
+
symbol_opacity: 'Symbol Opacity',
|
|
28
|
+
show_animation_check: 'Show Animation',
|
|
29
|
+
show_comparison_check: 'Show Comparison',
|
|
30
|
+
threshold_opacity: 'Threshold Opacity',
|
|
31
|
+
values_check: 'Values',
|
|
32
|
+
x_axis_title: 'X - Axis',
|
|
33
|
+
y_axis_title: 'Y - Axis',
|
|
31
34
|
},
|
|
32
35
|
color_settings: {
|
|
33
|
-
select_color_type: 'Color type',
|
|
34
|
-
single_color: 'Single color',
|
|
35
36
|
color_by_category: 'By category',
|
|
36
|
-
select_color: 'Color',
|
|
37
|
-
select_theme: 'Theme',
|
|
38
37
|
color_by_value_title: 'Color by value',
|
|
39
38
|
match_color: 'Match colors across charts',
|
|
39
|
+
select_color: 'Color',
|
|
40
|
+
select_color_type: 'Color type',
|
|
41
|
+
select_color_type_placeholder: 'Select color type',
|
|
42
|
+
select_theme: 'Theme',
|
|
43
|
+
single_color: 'Single color',
|
|
40
44
|
},
|
|
41
45
|
color_by_values: {
|
|
42
46
|
title: 'Color by values',
|
|
@@ -57,32 +61,33 @@ exports.I18N_CHART_BUILDER_STYLE_OPTIONS = {
|
|
|
57
61
|
horizontal: 'Horizontal',
|
|
58
62
|
},
|
|
59
63
|
axis_style: {
|
|
60
|
-
|
|
64
|
+
axis_format_title: 'Axis Format',
|
|
65
|
+
axis_position: 'Axis Position',
|
|
66
|
+
axis_position_left: 'Left',
|
|
67
|
+
axis_position_primary_axis: 'Use Primary Axis',
|
|
68
|
+
axis_position_right: 'Right',
|
|
61
69
|
custom_axis_label: 'Axis Label',
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
values_axis_check: 'Axis Values',
|
|
65
|
-
values_rotation: 'Values Rotation',
|
|
66
|
-
values_rotation_horizontal: 'Horizontal',
|
|
67
|
-
values_rotation_diagonal: 'Diagonal',
|
|
68
|
-
values_rotation_vertical: 'Vertical',
|
|
70
|
+
custom_label: 'Label',
|
|
71
|
+
custom_label_placeholder: 'Custom label',
|
|
69
72
|
format_title: 'Format',
|
|
70
|
-
|
|
73
|
+
max_range: 'Max Range',
|
|
74
|
+
max_range_placeholder: 'Auto',
|
|
75
|
+
min_range: 'Min Range',
|
|
76
|
+
min_range_placeholder: 'Auto',
|
|
77
|
+
position: 'Position',
|
|
71
78
|
scale_type: 'Scale Type',
|
|
72
79
|
scale_type_linear: 'Linear',
|
|
73
80
|
scale_type_logarithm: 'Logarithm',
|
|
74
|
-
|
|
75
|
-
min_range_placeholder: 'Auto',
|
|
76
|
-
max_range: 'Max Range',
|
|
77
|
-
max_range_placeholder: 'Auto',
|
|
81
|
+
scale_type_placeholder: 'Select color type',
|
|
78
82
|
steps: 'Steps',
|
|
79
83
|
steps_placeholder: 'Auto',
|
|
80
|
-
position: 'Position',
|
|
81
|
-
axis_position: 'Axis Position',
|
|
82
|
-
axis_position_primari_axis: 'Use Primary Axis',
|
|
83
|
-
axis_position_left: 'Left',
|
|
84
|
-
axis_position_right: 'Right',
|
|
85
84
|
type_label: 'Type',
|
|
85
|
+
values_axis_check: 'Axis Values',
|
|
86
|
+
values_check: 'Values',
|
|
87
|
+
values_rotation: 'Values Rotation',
|
|
88
|
+
values_rotation_diagonal: 'Diagonal',
|
|
89
|
+
values_rotation_horizontal: 'Horizontal',
|
|
90
|
+
values_rotation_vertical: 'Vertical',
|
|
86
91
|
},
|
|
87
92
|
bar_types: {
|
|
88
93
|
title: 'Type',
|
|
@@ -33,6 +33,7 @@ exports.I18N_COLUMN_PROPERTY_LABEL = {
|
|
|
33
33
|
imageupload_filesize_label: COLUMN_PROPERTY_LABEL_1.COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGESIZE,
|
|
34
34
|
imageupload_filetype_label: COLUMN_PROPERTY_LABEL_1.COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGETYPE,
|
|
35
35
|
imageupload_analysis_label: COLUMN_PROPERTY_LABEL_1.COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGEWORDS,
|
|
36
|
+
imageupload_analysis_categories_label: COLUMN_PROPERTY_LABEL_1.COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGECATEGORY,
|
|
36
37
|
expression_positive_label: COLUMN_PROPERTY_LABEL_1.COLUMN_PROPERTY_LABEL.EXPRESSION_POSITIVE,
|
|
37
38
|
expression_negative_label: COLUMN_PROPERTY_LABEL_1.COLUMN_PROPERTY_LABEL.EXPRESSION_NEGATIVE,
|
|
38
39
|
name_first_name_label: COLUMN_PROPERTY_LABEL_1.COLUMN_PROPERTY_LABEL.NAME_FIRST,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.I18N_COMMON = void 0;
|
|
4
|
+
const RELATIVE_UNIT_INFO_1 = require("../../../dates/relative/constants/RELATIVE_UNIT_INFO");
|
|
4
5
|
const I18N_AGGREGATE_LABEL_1 = require("./I18N_AGGREGATE_LABEL");
|
|
5
6
|
const I18N_COLUMN_LABEL_1 = require("./I18N_COLUMN_LABEL");
|
|
6
7
|
const I18N_COLUMN_PROPERTY_LABEL_1 = require("./I18N_COLUMN_PROPERTY_LABEL");
|
|
@@ -20,4 +21,11 @@ exports.I18N_COMMON = {
|
|
|
20
21
|
no_data_found: "No Data Found",
|
|
21
22
|
properties: I18N_COLUMN_PROPERTY_LABEL_1.I18N_COLUMN_PROPERTY_LABEL,
|
|
22
23
|
search: "Search",
|
|
24
|
+
units: {
|
|
25
|
+
day: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.DAY.label,
|
|
26
|
+
month: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.MONTH.label,
|
|
27
|
+
quarter: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.QUARTER.label,
|
|
28
|
+
week: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.WEEK.label,
|
|
29
|
+
year: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.YEAR.label,
|
|
30
|
+
}
|
|
23
31
|
};
|
|
@@ -7,8 +7,9 @@ exports.I18N_FILTER_BUILDER = {
|
|
|
7
7
|
apply_to: 'Apply to',
|
|
8
8
|
cancel_button: 'Cancel',
|
|
9
9
|
column_selector: {
|
|
10
|
-
|
|
10
|
+
no_data_message: 'No Data Found',
|
|
11
11
|
placeholder: 'Search or select a column to create filters',
|
|
12
|
+
title: 'Column',
|
|
12
13
|
},
|
|
13
14
|
divider_label: 'Is',
|
|
14
15
|
error_messages: {
|
|
@@ -27,8 +28,8 @@ exports.I18N_FILTER_BUILDER = {
|
|
|
27
28
|
},
|
|
28
29
|
info_container: {
|
|
29
30
|
info: '<b>OR</b> logic is used for multiple values.',
|
|
30
|
-
selected_label: 'selected of',
|
|
31
31
|
loaded_label: 'loaded',
|
|
32
|
+
selected_label: 'selected of',
|
|
32
33
|
},
|
|
33
34
|
scopes: {
|
|
34
35
|
global: FILTER_BUILDER_SCOPE_LABEL_1.FILTER_BUILDER_SCOPE_LABEL.GLOBAL,
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.I18N_VALUE_CONTAINER = void 0;
|
|
4
4
|
exports.I18N_VALUE_CONTAINER = {
|
|
5
|
+
no_label: 'No Label',
|
|
6
|
+
no_records_message: 'No records found',
|
|
5
7
|
search_input: {
|
|
6
|
-
placeholder: 'Search or type values separated by commas. Use {{ for tokens.',
|
|
7
8
|
enter_value_first_label: "Press",
|
|
8
9
|
enter_value_second_label: "Enter",
|
|
9
10
|
enter_value_third_label: "to Insert",
|
|
11
|
+
placeholder: 'Search or type values separated by commas. Use {{ for tokens.',
|
|
10
12
|
},
|
|
11
|
-
no_label: 'No Label',
|
|
12
13
|
select_all: 'Select All',
|
|
13
14
|
};
|
|
@@ -30,7 +30,7 @@ exports.I18N_FORMULA_BUILDER = {
|
|
|
30
30
|
name: 'Formula Name',
|
|
31
31
|
placeholder_name: 'Type Formula Name',
|
|
32
32
|
invalid_name: 'cannot be used in the formula name.',
|
|
33
|
-
detail_title: '
|
|
33
|
+
detail_title: 'Formula',
|
|
34
34
|
detail_suggestion: 'Allows mathematical operations including',
|
|
35
35
|
detail_suggestion_operators: '+, -, *, /, ()',
|
|
36
36
|
syntax_success: 'Formula syntax is correct.',
|
|
@@ -10,22 +10,24 @@ exports.I18N_PANEL = {
|
|
|
10
10
|
copy: 'Copy'
|
|
11
11
|
},
|
|
12
12
|
errors: {
|
|
13
|
+
chart_not_found: 'This {{panel}} is no longer available.',
|
|
14
|
+
continuous_date_limit: 'The combination of data used in this chart exceeds the maximum number of data points that the system can return.<br><br>We recommend you try:<br>• Using a <i>Date Grouping</i> that returns less data<br>• Using another chart visualization<br>• Switching to Discrete Values',
|
|
15
|
+
continuous_numeric_limit: 'The combination of data used in this chart exceeds the maximum number of data points that the system can return.<br><br>We recommend you try:<br>• Using another chart visualization<br>• Switching to Discrete Values',
|
|
16
|
+
drilldown_unavailable: 'No data found with drilldown.',
|
|
17
|
+
invalid_data_for_chart: 'No valid data for this chart',
|
|
18
|
+
longer_available_panel: 'This panel is no longer available',
|
|
19
|
+
long_text: 'long-text',
|
|
20
|
+
max_buckets_limit: 'The combination of data used in this chart exceeds the maximum number of data points that the system can return.<br><br>We recommend you try:<br>• Refining your data with <i>Max Data Points</i> or <i>Filters</i><br>• Using a <i>Date Grouping</i> that returns less data<br>• Using another chart visualization',
|
|
13
21
|
missing_column: 'Missing Column.',
|
|
14
22
|
missing_bucket_column: 'Missing bucket column.',
|
|
15
23
|
missing_formula_column: 'Missing formula column.',
|
|
16
24
|
missing_linked_column: 'Missing linked column.',
|
|
17
25
|
no_data_found: 'No data found.',
|
|
18
|
-
server_error: 'Sever Error.',
|
|
19
|
-
try_again: 'Try Again',
|
|
20
|
-
chart_not_found: 'This {{panel}} is no longer available.',
|
|
21
|
-
service_unavailable: '{{panel}} not available at the moment.',
|
|
22
26
|
refresh_panel: 'Refresh panel',
|
|
27
|
+
server_error: 'Sever Error.',
|
|
23
28
|
restore_panel: 'Restore panel',
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
max_buckets_limit: 'The combination of data used in this chart exceeds the maximum number of data points that the system can return.<br><br>We recommend you try:<br>• Refining your data with <i>Max Data Points</i> or <i>Filters</i><br>• Using a <i>Date Grouping</i> that returns less data<br>• Using another chart visualization',
|
|
27
|
-
continuous_date_limit: 'The combination of data used in this chart exceeds the maximum number of data points that the system can return.<br><br>We recommend you try:<br>• Using a <i>Date Grouping</i> that returns less data<br>• Using another chart visualization<br>• Switching to Discrete Values',
|
|
28
|
-
continuous_numeric_limit: 'The combination of data used in this chart exceeds the maximum number of data points that the system can return.<br><br>We recommend you try:<br>• Using another chart visualization<br>• Switching to Discrete Values',
|
|
29
|
+
service_unavailable: '{{panel}} not available at the moment.',
|
|
30
|
+
try_again: 'Try Again',
|
|
29
31
|
table_calculation_no_data_found: 'This <i>Table Calculation</i> resulted in NaN for all values.<br><br>We recommend you try:<br>• Another <i>Table Calculation</i><br>• Another <i>Aggregation</i>'
|
|
30
32
|
},
|
|
31
33
|
menu: {
|
|
@@ -83,22 +85,30 @@ exports.I18N_PANEL = {
|
|
|
83
85
|
},
|
|
84
86
|
summary_views: {
|
|
85
87
|
bar_chart: 'Bar Chart',
|
|
86
|
-
metrics: 'Metrics',
|
|
87
|
-
list_view: 'List View',
|
|
88
|
-
fill_null: 'Fill / Null',
|
|
89
|
-
wordcloud: 'Wordcloud',
|
|
90
|
-
histogram: 'Histogram',
|
|
91
|
-
pie_chart: 'Pie Chart',
|
|
92
|
-
dot_map: 'Dot Map',
|
|
93
88
|
bubble_view: 'Bubble',
|
|
94
89
|
bubble_map: 'Bubble Map',
|
|
90
|
+
categories: 'Categories',
|
|
91
|
+
cluster_chart: 'Cluster Chart',
|
|
92
|
+
dot_map: 'Dot Map',
|
|
95
93
|
entities: 'Entities',
|
|
94
|
+
fill_null: 'Fill / Null',
|
|
95
|
+
histogram: 'Histogram',
|
|
96
96
|
keyphrases: 'Keyphrases',
|
|
97
|
+
list_view: 'List View',
|
|
98
|
+
pie_chart: 'Pie Chart',
|
|
97
99
|
sentiment: 'Sentiment',
|
|
98
100
|
starts: 'Stars',
|
|
99
|
-
|
|
101
|
+
metrics: 'Metrics',
|
|
100
102
|
multiseries: 'Multiseries',
|
|
101
|
-
|
|
103
|
+
metric_null: 'Null',
|
|
104
|
+
metric_filled_in: 'Filled in',
|
|
105
|
+
metric_label_average: 'Average',
|
|
106
|
+
metric_label_minimum: 'Minimum',
|
|
107
|
+
metric_label_maximum: 'Maximum',
|
|
108
|
+
metric_label_sum: 'Sum',
|
|
109
|
+
metric_label_count: 'Count',
|
|
110
|
+
metric_label_standar_desviation: 'Standard Deviation',
|
|
111
|
+
wordcloud: 'Wordcloud',
|
|
102
112
|
},
|
|
103
113
|
timeout_message: 'Calculating {{type}}. This process may take a while.',
|
|
104
114
|
tooltips: {
|
|
@@ -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
|
}
|
|
@@ -13,6 +13,7 @@ export var COMPLEX_COLUMN_PROPERTY_LABEL;
|
|
|
13
13
|
COMPLEX_COLUMN_PROPERTY_LABEL["IMAGEUPLOAD_IMAGESIZE"] = "Image Size";
|
|
14
14
|
COMPLEX_COLUMN_PROPERTY_LABEL["IMAGEUPLOAD_IMAGETYPE"] = "Image Type";
|
|
15
15
|
COMPLEX_COLUMN_PROPERTY_LABEL["IMAGEUPLOAD_IMAGEWORDS"] = "Image Words";
|
|
16
|
+
COMPLEX_COLUMN_PROPERTY_LABEL["IMAGEUPLOAD_IMAGECATEGORY"] = "Categories";
|
|
16
17
|
COMPLEX_COLUMN_PROPERTY_LABEL["EXPRESSION_POSITIVE"] = "Positive";
|
|
17
18
|
COMPLEX_COLUMN_PROPERTY_LABEL["EXPRESSION_NEGATIVE"] = "Negative";
|
|
18
19
|
})(COMPLEX_COLUMN_PROPERTY_LABEL || (COMPLEX_COLUMN_PROPERTY_LABEL = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DATE_GROUPING_PROPERTY } from "../../constants/DATE_GROUPING_PROPERTY";
|
|
2
|
+
export const RELATIVE_UNIT_INFO = {
|
|
3
|
+
DAY: { abbrLabel: 'Day', shortLabel: 'Day', label: 'Day', value: DATE_GROUPING_PROPERTY.DAY, displayed: true, i18nLabelPath: 'common.units.day' },
|
|
4
|
+
MONTH: { abbrLabel: 'Month', shortLabel: 'Month', label: 'Month', value: DATE_GROUPING_PROPERTY.MONTH, displayed: true, i18nLabelPath: 'common.units.month' },
|
|
5
|
+
QUARTER: { abbrLabel: 'Quarter', shortLabel: 'Quarter', label: 'Quarter', value: DATE_GROUPING_PROPERTY.QUARTER, displayed: true, i18nLabelPath: 'common.units.quarter' },
|
|
6
|
+
WEEK: { abbrLabel: 'Week', shortLabel: 'Week', label: 'Week', value: DATE_GROUPING_PROPERTY.WEEK, displayed: true, i18nLabelPath: 'common.units.week' },
|
|
7
|
+
YEAR: { abbrLabel: 'Year', shortLabel: 'Year', label: 'Year', value: DATE_GROUPING_PROPERTY.YEAR, displayed: true, i18nLabelPath: 'common.units.year' },
|
|
8
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RELATIVE_UNIT_INFO } from "./RELATIVE_UNIT_INFO";
|
|
2
|
+
/**
|
|
3
|
+
* @description Key/array of compound relative cursor info
|
|
4
|
+
*/
|
|
5
|
+
export const RELATIVE_UNIT_INFO_LIST = [
|
|
6
|
+
RELATIVE_UNIT_INFO['YEAR'],
|
|
7
|
+
RELATIVE_UNIT_INFO['QUARTER'],
|
|
8
|
+
RELATIVE_UNIT_INFO['MONTH'],
|
|
9
|
+
RELATIVE_UNIT_INFO['WEEK'],
|
|
10
|
+
RELATIVE_UNIT_INFO['DAY'],
|
|
11
|
+
];
|
|
@@ -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';
|
|
@@ -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';
|
|
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';
|
|
@@ -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';
|
|
@@ -3,7 +3,6 @@ import { isEmpty } from "../../general/mix/isEmpty";
|
|
|
3
3
|
import { cloneDeep } from "../../general/object/cloneDeep";
|
|
4
4
|
import { adaptDateGroupingProperty } from "./adaptDateGroupingProperty";
|
|
5
5
|
import { _get } from "../../general/object/get";
|
|
6
|
-
import { getUIValues } from "../helpers/ui/getUIValues";
|
|
7
6
|
/**
|
|
8
7
|
* Generates a Flattened UI filter structure from Filter Data structure.
|
|
9
8
|
* @param filterData The filter data object.
|
|
@@ -81,7 +80,6 @@ function FD21ToFlatUI(scopes = [], datasetsInfo = []) {
|
|
|
81
80
|
nullValues: filter.nullValues,
|
|
82
81
|
operator: filter.operator,
|
|
83
82
|
property: property,
|
|
84
|
-
uiValues: getUIValues(filter),
|
|
85
83
|
validator: filter.validator,
|
|
86
84
|
values: adaptFilterValues(filter),
|
|
87
85
|
};
|
|
@@ -5,7 +5,6 @@ import { cloneDeep } from "../../general/object/cloneDeep";
|
|
|
5
5
|
import { FILTER_SECTION } from "../constants/common/FILTER_SECTION";
|
|
6
6
|
import { FILTER_STRUCTURE_VERSION } from "../constants/common/FILTER_STRUCTURE_VERSION";
|
|
7
7
|
import { _get } from "../../general/object/get";
|
|
8
|
-
import { getUIValues } from "../helpers/ui/getUIValues";
|
|
9
8
|
/**
|
|
10
9
|
* Generates a UI filter structure from Filter Data structure.
|
|
11
10
|
* @param filterData The filter data object.
|
|
@@ -61,7 +60,7 @@ function FD21ToUI(scopes = [], section = FILTER_SECTION.ANYWHERE, enabled = true
|
|
|
61
60
|
outputFormat: _get(datasetInfo, 'outputFormat'),
|
|
62
61
|
qrveyid: filter.column.qrveyid,
|
|
63
62
|
type: (columnInfo === null || columnInfo === void 0 ? void 0 : columnInfo.type) || filter.column.type,
|
|
64
|
-
}, property,
|
|
63
|
+
}, property, values: adaptFilterValues(filter) });
|
|
65
64
|
}) });
|
|
66
65
|
}) })));
|
|
67
66
|
return ufData;
|
|
@@ -2,7 +2,6 @@ import { adaptDateGroupingProperty } from "./adaptDateGroupingProperty";
|
|
|
2
2
|
import { adaptFilterValues } from "./adaptFilterValues";
|
|
3
3
|
import { isEmpty } from "../../general/mix/isEmpty";
|
|
4
4
|
import { cloneDeep } from "../../general/object/cloneDeep";
|
|
5
|
-
import { getUIValues } from "../helpers/ui/getUIValues";
|
|
6
5
|
/**
|
|
7
6
|
* Generates a Flattened UI filter structure from UI Filter Data structure.
|
|
8
7
|
* @param filterData The UI filter data object.
|
|
@@ -79,7 +78,6 @@ function UI21ToFlatUI(scopes = [], datasetsInfo = []) {
|
|
|
79
78
|
nullValues: filter.nullValues,
|
|
80
79
|
operator: filter.operator,
|
|
81
80
|
property,
|
|
82
|
-
uiValues: getUIValues(filter),
|
|
83
81
|
validator: filter.validator,
|
|
84
82
|
values: adaptFilterValues(filter),
|
|
85
83
|
};
|
|
@@ -144,7 +144,7 @@ const getFilterDetail = (filter, scope, dataset) => {
|
|
|
144
144
|
panelid: filter.extras.panelid,
|
|
145
145
|
panelName: filter.extras.filterLabel,
|
|
146
146
|
section: filter.extras.section,
|
|
147
|
-
uiValue: getUIValues(filter, true),
|
|
147
|
+
uiValue: getUIValues(filter, { addEnableds: true }),
|
|
148
148
|
validator: filter.validator,
|
|
149
149
|
values: adaptFilterValues(filter)
|
|
150
150
|
};
|
|
@@ -86,7 +86,7 @@ const flatUIToOldFilterDetail = (uFilters = []) => {
|
|
|
86
86
|
panelid: filter.extras.panelid,
|
|
87
87
|
panelName: filter.extras.filterLabel,
|
|
88
88
|
section: filter.extras.section,
|
|
89
|
-
uiValue: getUIValues(filter, true),
|
|
89
|
+
uiValue: getUIValues(filter, { addEnableds: true }),
|
|
90
90
|
validator: filter.validator,
|
|
91
91
|
values: filter.values,
|
|
92
92
|
_newFilters: Object.assign({}, filter)
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { adaptDateGroupingProperty } from "./adaptDateGroupingProperty";
|
|
2
|
-
import { getUIValues } from "../helpers/ui/getUIValues";
|
|
3
2
|
import { adaptFilterValues } from "./adaptFilterValues";
|
|
4
3
|
import { FILTER_SECTION } from "../constants/common/FILTER_SECTION";
|
|
5
4
|
import { FILTER_STRUCTURE_VERSION } from "../constants/common/FILTER_STRUCTURE_VERSION";
|
|
@@ -114,7 +113,6 @@ function buildFilter(uFilter) {
|
|
|
114
113
|
nullValues: uFilter.nullValues,
|
|
115
114
|
operator: uFilter.operator,
|
|
116
115
|
property,
|
|
117
|
-
uiValues: getUIValues(uFilter),
|
|
118
116
|
validator: uFilter.validator,
|
|
119
117
|
values: adaptFilterValues(uFilter),
|
|
120
118
|
};
|
|
@@ -8,7 +8,6 @@ import { FILTER_BACKEND_VALIDATOR } from "../constants/backend/FILTER_BACKEND_VA
|
|
|
8
8
|
import { getFilterid } from "../helpers/common/getFilterid";
|
|
9
9
|
import { FILTER_SCOPE } from "../constants/common/FILTER_SCOPE";
|
|
10
10
|
import { _get } from "../../general/object/get";
|
|
11
|
-
import { getUIValues } from "../helpers/ui/getUIValues";
|
|
12
11
|
import { isNullValidator } from "../helpers/common/isNullValidator";
|
|
13
12
|
import { FILTER_VALIDATOR_INFO } from "../constants/common/FILTER_VALIDATOR_INFO";
|
|
14
13
|
/**
|
|
@@ -97,7 +96,6 @@ function getFilterByExpression(expression, scopeItem) {
|
|
|
97
96
|
nullValues: uiExtras.nullValues,
|
|
98
97
|
operator: uiExtras.operator,
|
|
99
98
|
property,
|
|
100
|
-
uiValues: getUIValues(uiExtras),
|
|
101
99
|
validator: uiExtras.validator,
|
|
102
100
|
values: getValues(uiExtras),
|
|
103
101
|
};
|
|
@@ -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[];
|
|
@@ -5,6 +5,7 @@ import { COLUMN } from "../../../columns/constants/COLUMN";
|
|
|
5
5
|
import { isEmpty } from "../../../general/mix/isEmpty";
|
|
6
6
|
import { flattenDeep } from "../../../general/array/flattenDeep";
|
|
7
7
|
import { RELATIVE_CURSOR_INFO } from "../../../dates/relative/constants/RELATIVE_CURSOR_INFO";
|
|
8
|
+
import { getI18nDateGroupLabel } from "../../..";
|
|
8
9
|
/**
|
|
9
10
|
*
|
|
10
11
|
* @param filter
|
|
@@ -12,54 +13,66 @@ import { RELATIVE_CURSOR_INFO } from "../../../dates/relative/constants/RELATIVE
|
|
|
12
13
|
* @param rankingGroupIndex
|
|
13
14
|
* @returns
|
|
14
15
|
*/
|
|
15
|
-
export function getUIValues(filter,
|
|
16
|
+
export function getUIValues(filter, settings) {
|
|
16
17
|
var _a;
|
|
18
|
+
settings = getUiValuesSettings(settings);
|
|
17
19
|
switch (filter.validator) {
|
|
18
20
|
case FILTER_VALIDATOR.AFTER:
|
|
19
21
|
case FILTER_VALIDATOR.GREATER_THAN:
|
|
20
22
|
case FILTER_VALIDATOR.AFTER_ON:
|
|
21
23
|
case FILTER_VALIDATOR.GREATER_THAN_EQUAL:
|
|
22
24
|
return filter.values.map(value => ({
|
|
23
|
-
value: value.min,
|
|
24
|
-
enabled: addEnableds ? value.enabled != null ? value.enabled : true : undefined,
|
|
25
|
+
value: getValueLabel(value.min, filter, settings),
|
|
26
|
+
enabled: settings.addEnableds ? value.enabled != null ? value.enabled : true : undefined,
|
|
25
27
|
}));
|
|
26
28
|
case FILTER_VALIDATOR.BEFORE_ON:
|
|
27
29
|
case FILTER_VALIDATOR.LESS_THAN_EQUAL:
|
|
28
30
|
case FILTER_VALIDATOR.BEFORE:
|
|
29
31
|
case FILTER_VALIDATOR.LESS_THAN:
|
|
30
32
|
return filter.values.map(value => ({
|
|
31
|
-
value: value.max,
|
|
32
|
-
enabled: addEnableds ? value.enabled != null ? value.enabled : true : undefined,
|
|
33
|
+
value: getValueLabel(value.max, filter, settings),
|
|
34
|
+
enabled: settings.addEnableds ? value.enabled != null ? value.enabled : true : undefined,
|
|
33
35
|
}));
|
|
34
36
|
case FILTER_VALIDATOR.BETWEEN_INCLUSIVE:
|
|
35
37
|
case FILTER_VALIDATOR.BETWEEN_EXCLUSIVE:
|
|
36
38
|
return filter.values.map(value => ({
|
|
37
|
-
value: `${value.min} - ${value.max}`,
|
|
38
|
-
enabled: addEnableds ? value.enabled != null ? value.enabled : true : undefined,
|
|
39
|
+
value: `${getValueLabel(value.min, filter, settings)} - ${getValueLabel(value.max, filter, settings)}`,
|
|
40
|
+
enabled: settings.addEnableds ? value.enabled != null ? value.enabled : true : undefined,
|
|
39
41
|
}));
|
|
40
42
|
case FILTER_VALIDATOR.IS_NULL:
|
|
41
43
|
case FILTER_VALIDATOR.IS_NOT_NULL:
|
|
42
44
|
return [{
|
|
43
45
|
value: FILTER_VALIDATOR_INFO[filter.validator].label,
|
|
44
|
-
enabled: addEnableds ? (_a = filter.values[0]) === null || _a === void 0 ? void 0 : _a.enabled : undefined,
|
|
46
|
+
enabled: settings.addEnableds ? (_a = filter.values[0]) === null || _a === void 0 ? void 0 : _a.enabled : undefined,
|
|
45
47
|
}];
|
|
46
48
|
case FILTER_VALIDATOR.IN:
|
|
47
49
|
return filter.values.map(value => ({
|
|
48
50
|
value: `${RELATIVE_CURSOR_INFO[value.cursor].label} ${value.cursor !== RELATIVE_CURSOR.THIS && value.number > 1 ? value.number : ''} ${getValueUiUnitRelativeDate(value)} ${value.cursor !== RELATIVE_CURSOR.THIS ? `from ${value.anchor || 'current date'}` : ''}`,
|
|
49
|
-
enabled: addEnableds ? filter.enabled : undefined,
|
|
51
|
+
enabled: settings.addEnableds ? filter.enabled : undefined,
|
|
50
52
|
}));
|
|
51
53
|
default:
|
|
52
54
|
if (filter.column.type === COLUMN.RANKING && isEmpty(filter.column.aggregate)) {
|
|
53
|
-
return getRankingUIValues(filter.values, addEnableds, rankingGroupIndex);
|
|
55
|
+
return getRankingUIValues(filter.values, settings.addEnableds, settings.rankingGroupIndex);
|
|
54
56
|
}
|
|
55
57
|
return (filter.values || []).map(val => ({
|
|
56
58
|
imageUrl: val.imageUrl,
|
|
57
|
-
value: val.value,
|
|
58
|
-
enabled: addEnableds ? val.enabled != null ? val.enabled : true : undefined,
|
|
59
|
+
value: getValueLabel(val.value, filter, settings),
|
|
60
|
+
enabled: settings.addEnableds ? val.enabled != null ? val.enabled : true : undefined,
|
|
59
61
|
valueid: val.valueid,
|
|
60
62
|
}));
|
|
61
63
|
}
|
|
62
64
|
}
|
|
65
|
+
function getValueLabel(value, filter, settings) {
|
|
66
|
+
return settings.translate ? getI18nDateGroupLabel(value, filter.property, settings.translate) : value;
|
|
67
|
+
}
|
|
68
|
+
function getUiValuesSettings(settings) {
|
|
69
|
+
var _a;
|
|
70
|
+
return {
|
|
71
|
+
addEnableds: (_a = settings === null || settings === void 0 ? void 0 : settings.addEnableds) !== null && _a !== void 0 ? _a : false,
|
|
72
|
+
rankingGroupIndex: settings === null || settings === void 0 ? void 0 : settings.rankingGroupIndex,
|
|
73
|
+
translate: settings === null || settings === void 0 ? void 0 : settings.translate,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
63
76
|
function getValueUiUnitRelativeDate(relative) {
|
|
64
77
|
return relative.cursor !== RELATIVE_CURSOR.THIS && relative.number > 1 ? `${relative.unit}s` : relative.unit;
|
|
65
78
|
}
|