@qrvey/utils 1.2.9-5 → 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 +929 -929
- 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/dates/relative/interfaces/IRelativeUnitInfo.js +2 -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/globalization/helpers/getI18nDateGroupLabel.js +2 -0
- package/dist/cjs/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -2
- 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/II18nChartBuilderChartLabels.js +2 -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/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 -1
- package/dist/cjs/globalization/interfaces/chart_builder/index.js +1 -1
- 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/common/II18nUnits.js +2 -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/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 +21 -9
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +5 -3
- 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_COMMON.js +8 -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/dates/relative/interfaces/IRelativeUnitInfo.js +1 -0
- package/dist/dates/relative/interfaces/index.d.ts +2 -0
- package/dist/dates/relative/interfaces/index.js +2 -0
- package/dist/globalization/helpers/getI18nDateGroupLabel.js +2 -0
- package/dist/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -2
- 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/II18nChartBuilderChartLabels.js +1 -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/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 -1
- package/dist/globalization/interfaces/chart_builder/index.js +1 -1
- package/dist/globalization/interfaces/common/II18nCommon.d.ts +2 -0
- package/dist/globalization/interfaces/common/II18nUnits.d.ts +7 -0
- package/dist/globalization/interfaces/common/II18nUnits.js +1 -0
- package/dist/globalization/interfaces/common/index.d.ts +2 -0
- package/dist/globalization/interfaces/common/index.js +2 -0
- 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 +21 -9
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +5 -3
- 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_COMMON.js +8 -0
- package/package.json +1 -1
- 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/globalization/helpers/getI18nDateGroupLabel.ts +2 -0
- package/src/globalization/helpers/getReverseI18nGroupLabel.ts +2 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilder.ts +2 -2
- 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/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 -1
- 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/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.ts +1 -1
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +22 -11
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +5 -4
- 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_COMMON.ts +8 -0
|
@@ -37,7 +37,7 @@ export const I18N_CHART_BUILDER_GENERAL_OPTIONS = {
|
|
|
37
37
|
values_format: 'Values Format',
|
|
38
38
|
remove: 'Remove',
|
|
39
39
|
header_label: 'Header',
|
|
40
|
-
|
|
40
|
+
header_placeholder: 'Type text',
|
|
41
41
|
values_multiples_first: 'First',
|
|
42
42
|
values_multiples_last: 'Last',
|
|
43
43
|
},
|
|
@@ -62,7 +62,7 @@ export const I18N_CHART_BUILDER_GENERAL_OPTIONS = {
|
|
|
62
62
|
calculation_type_difference: 'Difference',
|
|
63
63
|
calculation_type_percent_difference: '% Difference',
|
|
64
64
|
custom_label: 'Custom Label',
|
|
65
|
-
|
|
65
|
+
custom_label_placeholder: 'Type Custom Label',
|
|
66
66
|
remove: 'Remove',
|
|
67
67
|
calculation: 'Calculation',
|
|
68
68
|
remove_calculation: 'Remove Calculation',
|
|
@@ -84,13 +84,15 @@ export const I18N_CHART_BUILDER_GENERAL_OPTIONS = {
|
|
|
84
84
|
label: 'Label',
|
|
85
85
|
order_chart_columns: 'Chart Columns',
|
|
86
86
|
order_others_columns: 'Other Columns',
|
|
87
|
+
select_aggregate_placeholder: 'Select Aggregate',
|
|
87
88
|
select_column_placeholder: 'Select Column',
|
|
88
|
-
sort: 'Sort',
|
|
89
89
|
sort_ascending: 'Sort Ascending',
|
|
90
90
|
sort_by: 'Sort by',
|
|
91
91
|
sort_descending: 'Sort Descending',
|
|
92
92
|
sort_descending_a_to_z: 'A to Z',
|
|
93
93
|
sort_descending_z_to_a: 'Z to A',
|
|
94
|
+
sort: 'Sort',
|
|
95
|
+
sorting_by_calculated_value: 'Sorting by Calculated Value',
|
|
94
96
|
title: 'Sorting',
|
|
95
97
|
value: 'Value',
|
|
96
98
|
},
|
|
@@ -1,39 +1,43 @@
|
|
|
1
1
|
export const I18N_CHART_BUILDER_STYLE_OPTIONS = {
|
|
2
2
|
style_options: {
|
|
3
|
+
allow_clustering: 'Allow Clustering',
|
|
3
4
|
axis_labels: 'Axis Labels',
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
axis_position_disabled_message: '<i>Axis Position</i> is disabled because stacked type configuration is in use.',
|
|
6
|
+
bar_type_disabled_message: 'Bar <i>Type</i> selection is disabled because not all of the column visualization styles are set as bars.',
|
|
6
7
|
bar_width: 'Bar Width',
|
|
7
8
|
bar_width_symbol: '%',
|
|
8
9
|
bar_width_auto: 'Auto',
|
|
9
|
-
|
|
10
|
+
bullet_color: 'Bullet Color',
|
|
10
11
|
borders_check: 'Borders',
|
|
11
|
-
|
|
12
|
-
values_check: 'Values',
|
|
13
|
-
percentage_check: 'Percentage',
|
|
14
|
-
line_opacity: 'Line Opacity',
|
|
15
|
-
threshold_opacity: 'Threshold Opacity',
|
|
16
|
-
symbol_opacity: 'Symbol Opacity',
|
|
17
|
-
show_animation_check: 'Show Animation',
|
|
18
|
-
needle_color: 'Needle Color',
|
|
19
|
-
show_comparision_check: 'Show Comparison',
|
|
12
|
+
chart_type_disabled_message: '<i>Type</i> selection is disabled because stacked type configuration is in use.',
|
|
20
13
|
comparision_color: 'Comparision Color',
|
|
21
|
-
|
|
14
|
+
data_labels_check: 'Data Labels',
|
|
22
15
|
default_format_title: 'Format',
|
|
23
|
-
reversed_colors: 'Reversed Colors',
|
|
24
|
-
map_borders: 'Map borders',
|
|
25
|
-
allow_clustering: 'Allow Clustering',
|
|
26
16
|
display_outliers_check: 'Display outliers',
|
|
17
|
+
line_opacity: 'Line Opacity',
|
|
18
|
+
map_borders: 'Map borders',
|
|
19
|
+
needle_color: 'Needle Color',
|
|
27
20
|
opacity: 'Opacity',
|
|
21
|
+
percentage_check: 'Percentage',
|
|
22
|
+
reversed_colors: 'Reversed Colors',
|
|
23
|
+
shading_check: 'Shading',
|
|
24
|
+
symbol_opacity: 'Symbol Opacity',
|
|
25
|
+
show_animation_check: 'Show Animation',
|
|
26
|
+
show_comparison_check: 'Show Comparison',
|
|
27
|
+
threshold_opacity: 'Threshold Opacity',
|
|
28
|
+
values_check: 'Values',
|
|
29
|
+
x_axis_title: 'X - Axis',
|
|
30
|
+
y_axis_title: 'Y - Axis',
|
|
28
31
|
},
|
|
29
32
|
color_settings: {
|
|
30
|
-
select_color_type: 'Color type',
|
|
31
|
-
single_color: 'Single color',
|
|
32
33
|
color_by_category: 'By category',
|
|
33
|
-
select_color: 'Color',
|
|
34
|
-
select_theme: 'Theme',
|
|
35
34
|
color_by_value_title: 'Color by value',
|
|
36
35
|
match_color: 'Match colors across charts',
|
|
36
|
+
select_color: 'Color',
|
|
37
|
+
select_color_type: 'Color type',
|
|
38
|
+
select_color_type_placeholder: 'Select color type',
|
|
39
|
+
select_theme: 'Theme',
|
|
40
|
+
single_color: 'Single color',
|
|
37
41
|
},
|
|
38
42
|
color_by_values: {
|
|
39
43
|
title: 'Color by values',
|
|
@@ -54,32 +58,33 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS = {
|
|
|
54
58
|
horizontal: 'Horizontal',
|
|
55
59
|
},
|
|
56
60
|
axis_style: {
|
|
57
|
-
|
|
61
|
+
axis_format_title: 'Axis Format',
|
|
62
|
+
axis_position: 'Axis Position',
|
|
63
|
+
axis_position_left: 'Left',
|
|
64
|
+
axis_position_primary_axis: 'Use Primary Axis',
|
|
65
|
+
axis_position_right: 'Right',
|
|
58
66
|
custom_axis_label: 'Axis Label',
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
values_axis_check: 'Axis Values',
|
|
62
|
-
values_rotation: 'Values Rotation',
|
|
63
|
-
values_rotation_horizontal: 'Horizontal',
|
|
64
|
-
values_rotation_diagonal: 'Diagonal',
|
|
65
|
-
values_rotation_vertical: 'Vertical',
|
|
67
|
+
custom_label: 'Label',
|
|
68
|
+
custom_label_placeholder: 'Custom label',
|
|
66
69
|
format_title: 'Format',
|
|
67
|
-
|
|
70
|
+
max_range: 'Max Range',
|
|
71
|
+
max_range_placeholder: 'Auto',
|
|
72
|
+
min_range: 'Min Range',
|
|
73
|
+
min_range_placeholder: 'Auto',
|
|
74
|
+
position: 'Position',
|
|
68
75
|
scale_type: 'Scale Type',
|
|
69
76
|
scale_type_linear: 'Linear',
|
|
70
77
|
scale_type_logarithm: 'Logarithm',
|
|
71
|
-
|
|
72
|
-
min_range_placeholder: 'Auto',
|
|
73
|
-
max_range: 'Max Range',
|
|
74
|
-
max_range_placeholder: 'Auto',
|
|
78
|
+
scale_type_placeholder: 'Select color type',
|
|
75
79
|
steps: 'Steps',
|
|
76
80
|
steps_placeholder: 'Auto',
|
|
77
|
-
position: 'Position',
|
|
78
|
-
axis_position: 'Axis Position',
|
|
79
|
-
axis_position_primari_axis: 'Use Primary Axis',
|
|
80
|
-
axis_position_left: 'Left',
|
|
81
|
-
axis_position_right: 'Right',
|
|
82
81
|
type_label: 'Type',
|
|
82
|
+
values_axis_check: 'Axis Values',
|
|
83
|
+
values_check: 'Values',
|
|
84
|
+
values_rotation: 'Values Rotation',
|
|
85
|
+
values_rotation_diagonal: 'Diagonal',
|
|
86
|
+
values_rotation_horizontal: 'Horizontal',
|
|
87
|
+
values_rotation_vertical: 'Vertical',
|
|
83
88
|
},
|
|
84
89
|
bar_types: {
|
|
85
90
|
title: 'Type',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RELATIVE_UNIT_INFO } from "../../../dates/relative/constants/RELATIVE_UNIT_INFO";
|
|
1
2
|
import { I18N_AGGREGATE_LABEL } from "./I18N_AGGREGATE_LABEL";
|
|
2
3
|
import { I18N_COLUMN_LABEL } from "./I18N_COLUMN_LABEL";
|
|
3
4
|
import { I18N_COLUMN_PROPERTY_LABEL } from "./I18N_COLUMN_PROPERTY_LABEL";
|
|
@@ -17,4 +18,11 @@ export const I18N_COMMON = {
|
|
|
17
18
|
no_data_found: "No Data Found",
|
|
18
19
|
properties: I18N_COLUMN_PROPERTY_LABEL,
|
|
19
20
|
search: "Search",
|
|
21
|
+
units: {
|
|
22
|
+
day: RELATIVE_UNIT_INFO.DAY.label,
|
|
23
|
+
month: RELATIVE_UNIT_INFO.MONTH.label,
|
|
24
|
+
quarter: RELATIVE_UNIT_INFO.QUARTER.label,
|
|
25
|
+
week: RELATIVE_UNIT_INFO.WEEK.label,
|
|
26
|
+
year: RELATIVE_UNIT_INFO.YEAR.label,
|
|
27
|
+
}
|
|
20
28
|
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DATE_GROUPING_PROPERTY } from "../../constants/DATE_GROUPING_PROPERTY";
|
|
2
|
+
import { IRelativeUnit } from "../interfaces/IRelativeUnit";
|
|
3
|
+
import { IRelativeUnitInfo } from "../interfaces/IRelativeUnitInfo";
|
|
4
|
+
|
|
5
|
+
export const RELATIVE_UNIT_INFO: { [key in IRelativeUnit]: IRelativeUnitInfo } = {
|
|
6
|
+
DAY: { abbrLabel: 'Day', shortLabel: 'Day', label: 'Day', value: DATE_GROUPING_PROPERTY.DAY, displayed: true, i18nLabelPath: 'common.units.day' },
|
|
7
|
+
MONTH: { abbrLabel: 'Month', shortLabel: 'Month', label: 'Month', value: DATE_GROUPING_PROPERTY.MONTH, displayed: true, i18nLabelPath: 'common.units.month' },
|
|
8
|
+
QUARTER: { abbrLabel: 'Quarter', shortLabel: 'Quarter', label: 'Quarter', value: DATE_GROUPING_PROPERTY.QUARTER, displayed: true, i18nLabelPath: 'common.units.quarter' },
|
|
9
|
+
WEEK: { abbrLabel: 'Week', shortLabel: 'Week', label: 'Week', value: DATE_GROUPING_PROPERTY.WEEK, displayed: true, i18nLabelPath: 'common.units.week' },
|
|
10
|
+
YEAR: { abbrLabel: 'Year', shortLabel: 'Year', label: 'Year', value: DATE_GROUPING_PROPERTY.YEAR, displayed: true, i18nLabelPath: 'common.units.year' },
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IRelativeUnitInfo } from "../interfaces/IRelativeUnitInfo";
|
|
2
|
+
import { RELATIVE_UNIT_INFO } from "./RELATIVE_UNIT_INFO";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @description Key/array of compound relative cursor info
|
|
6
|
+
*/
|
|
7
|
+
export const RELATIVE_UNIT_INFO_LIST: IRelativeUnitInfo[] = [
|
|
8
|
+
RELATIVE_UNIT_INFO['YEAR'],
|
|
9
|
+
RELATIVE_UNIT_INFO['QUARTER'],
|
|
10
|
+
RELATIVE_UNIT_INFO['MONTH'],
|
|
11
|
+
RELATIVE_UNIT_INFO['WEEK'],
|
|
12
|
+
RELATIVE_UNIT_INFO['DAY'],
|
|
13
|
+
];
|
|
@@ -4,5 +4,7 @@ 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
|
|
|
8
10
|
export * from './ui/index';
|
|
@@ -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';
|
|
@@ -7,6 +7,8 @@ import { isTokenLabel } from "../../tokens/isTokenLabel";
|
|
|
7
7
|
import { II18nServiceTranslate } from "../interfaces/II18nServiceTranslate";
|
|
8
8
|
|
|
9
9
|
export function getI18nDateGroupLabel(label: string, dateGroup: IDateColumnPropertyType, translate?: II18nServiceTranslate): string {
|
|
10
|
+
if (isEmpty(label)) return label;
|
|
11
|
+
|
|
10
12
|
if (dateGroup === DATE_GROUPING_PROPERTY.MONTH)
|
|
11
13
|
return getI18nMonthLabel(label, translate);
|
|
12
14
|
else if (dateGroup === DATE_GROUPING_PROPERTY.QUARTER)
|
|
@@ -8,6 +8,8 @@ import { isTokenLabel } from "../../tokens/isTokenLabel";
|
|
|
8
8
|
import { II18nServiceTranslate } from "../interfaces/II18nServiceTranslate";
|
|
9
9
|
|
|
10
10
|
export function getReverseI18nGroupLabel(label: string, dateGroup: IDateColumnPropertyType, translate?: II18nServiceTranslate): string {
|
|
11
|
+
if (isEmpty(label)) return label;
|
|
12
|
+
|
|
11
13
|
if (dateGroup === DATE_GROUPING_PROPERTY.MONTH)
|
|
12
14
|
return getReverseI18nMonthLabel(label, translate);
|
|
13
15
|
else if (dateGroup === DATE_GROUPING_PROPERTY.QUARTER)
|
|
@@ -42,7 +42,7 @@ import { II18nChartBuilderScaleTypes } from "./II18nChartBuilderScaleTypes";
|
|
|
42
42
|
import { II18nChartBuilderTrendChart } from "./II18nChartBuilderTrendChart";
|
|
43
43
|
import { II18nChartBuilderChartInfo } from "./II18nChartBuilderChartInfo";
|
|
44
44
|
import { II18nChartBuilderDndZone } from "./II18nChartBuilderDndZone";
|
|
45
|
-
import {
|
|
45
|
+
import { II18nChartBuilderChartLabels } from "./II18nChartBuilderChartLabels";
|
|
46
46
|
import { II18nChartBuilderActionPanel } from "./II18nChartBuilderActionPanel";
|
|
47
47
|
import { II18nChartBuilderMessagesGeneral } from "./II18nChartBuilderMessagesGeneral";
|
|
48
48
|
import { II18nChartBuilderMessagesMissingDefault } from "./II18nChartBuilderMessagesMissingDefault";
|
|
@@ -78,7 +78,7 @@ export interface II18nChartBuilder {
|
|
|
78
78
|
base_map: II18nChartBuilderBaseMap;
|
|
79
79
|
box_whisker: II18nChartBuilderBoxWhisker;
|
|
80
80
|
category_labels: II18nChartBuilderCategoryLabels;
|
|
81
|
-
|
|
81
|
+
chart_labels: II18nChartBuilderChartLabels;
|
|
82
82
|
color_by_values: II18nChartBuilderColorByValues;
|
|
83
83
|
custom_scale: II18nChartBuilderCustomScale;
|
|
84
84
|
chart_info: II18nChartBuilderChartInfo;
|
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
export interface II18nChartBuilderAxisStyle {
|
|
2
|
-
|
|
2
|
+
axis_format_title: string;
|
|
3
|
+
axis_position: string;
|
|
4
|
+
axis_position_left: string;
|
|
5
|
+
axis_position_primary_axis: string;
|
|
6
|
+
axis_position_right: string;
|
|
3
7
|
custom_axis_label: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
values_axis_check: string;
|
|
7
|
-
values_rotation: string;
|
|
8
|
-
values_rotation_horizontal: string;
|
|
9
|
-
values_rotation_diagonal: string;
|
|
10
|
-
values_rotation_vertical: string;
|
|
8
|
+
custom_label: string;
|
|
9
|
+
custom_label_placeholder: string;
|
|
11
10
|
format_title: string;
|
|
12
|
-
|
|
11
|
+
max_range: string;
|
|
12
|
+
max_range_placeholder: string;
|
|
13
|
+
min_range: string;
|
|
14
|
+
min_range_placeholder: string;
|
|
15
|
+
position: string;
|
|
13
16
|
scale_type: string;
|
|
14
17
|
scale_type_linear: string;
|
|
15
18
|
scale_type_logarithm: string;
|
|
16
|
-
|
|
17
|
-
min_range_placeholder: string;
|
|
18
|
-
max_range: string;
|
|
19
|
-
max_range_placeholder: string;
|
|
19
|
+
scale_type_placeholder: string;
|
|
20
20
|
steps: string;
|
|
21
21
|
steps_placeholder: string;
|
|
22
|
-
position: string;
|
|
23
|
-
axis_position: string;
|
|
24
|
-
axis_position_primari_axis: string;
|
|
25
|
-
axis_position_left: string;
|
|
26
|
-
axis_position_right: string;
|
|
27
22
|
type_label: string;
|
|
23
|
+
values_axis_check: string;
|
|
24
|
+
values_check: string;
|
|
25
|
+
values_rotation: string;
|
|
26
|
+
values_rotation_diagonal: string;
|
|
27
|
+
values_rotation_horizontal: string;
|
|
28
|
+
values_rotation_vertical: string;
|
|
28
29
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export interface II18nChartBuilderColorSettings {
|
|
2
|
-
select_color_type: string;
|
|
3
|
-
single_color: string;
|
|
4
2
|
color_by_category: string;
|
|
5
|
-
select_color: string;
|
|
6
|
-
select_theme: string;
|
|
7
3
|
color_by_value_title: string;
|
|
8
4
|
match_color: string;
|
|
5
|
+
select_color: string;
|
|
6
|
+
select_color_type: string;
|
|
7
|
+
select_color_type_placeholder: string;
|
|
8
|
+
select_theme: string;
|
|
9
|
+
single_color: string;
|
|
9
10
|
}
|
|
@@ -13,7 +13,7 @@ export interface II18nChartBuilderComparisionOptions {
|
|
|
13
13
|
no_change: string;
|
|
14
14
|
change_triangle_up: string;
|
|
15
15
|
change_triangle_down: string;
|
|
16
|
-
|
|
16
|
+
change_none: string;
|
|
17
17
|
change_circle: string;
|
|
18
18
|
font_size_disabled: string;
|
|
19
19
|
select_option: string;
|
|
@@ -6,13 +6,15 @@ export interface II18nChartBuilderSorting {
|
|
|
6
6
|
label: string;
|
|
7
7
|
order_chart_columns: string;
|
|
8
8
|
order_others_columns: string;
|
|
9
|
+
select_aggregate_placeholder: string;
|
|
9
10
|
select_column_placeholder: string;
|
|
10
|
-
sort: string;
|
|
11
11
|
sort_ascending: string;
|
|
12
12
|
sort_by: string;
|
|
13
13
|
sort_descending: string;
|
|
14
14
|
sort_descending_a_to_z: string;
|
|
15
15
|
sort_descending_z_to_a: string;
|
|
16
|
+
sort: string;
|
|
17
|
+
sorting_by_calculated_value: string;
|
|
16
18
|
title: string;
|
|
17
19
|
value: string;
|
|
18
20
|
}
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
export interface II18nChartBuilderStyleOptions {
|
|
2
|
+
allow_clustering: string;
|
|
2
3
|
axis_labels: string;
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
axis_position_disabled_message: string;
|
|
5
|
+
bar_type_disabled_message: string;
|
|
5
6
|
bar_width: string;
|
|
6
7
|
bar_width_symbol: string;
|
|
7
8
|
bar_width_auto: string;
|
|
8
|
-
|
|
9
|
+
bullet_color: string;
|
|
9
10
|
borders_check: string;
|
|
10
|
-
|
|
11
|
-
values_check: string;
|
|
12
|
-
percentage_check: string;
|
|
13
|
-
line_opacity: string;
|
|
14
|
-
threshold_opacity: string;
|
|
15
|
-
symbol_opacity: string;
|
|
16
|
-
show_animation_check: string;
|
|
17
|
-
needle_color: string;
|
|
18
|
-
show_comparision_check: string;
|
|
11
|
+
chart_type_disabled_message: string;
|
|
19
12
|
comparision_color: string;
|
|
20
|
-
|
|
13
|
+
data_labels_check: string;
|
|
21
14
|
default_format_title: string;
|
|
22
|
-
reversed_colors: string;
|
|
23
|
-
map_borders: string;
|
|
24
|
-
allow_clustering: string;
|
|
25
15
|
display_outliers_check: string;
|
|
16
|
+
line_opacity: string;
|
|
17
|
+
map_borders: string;
|
|
18
|
+
needle_color: string;
|
|
26
19
|
opacity: string;
|
|
20
|
+
percentage_check: string;
|
|
21
|
+
reversed_colors: string;
|
|
22
|
+
shading_check: string;
|
|
23
|
+
symbol_opacity: string;
|
|
24
|
+
show_animation_check: string;
|
|
25
|
+
show_comparison_check: string;
|
|
26
|
+
threshold_opacity: string;
|
|
27
|
+
values_check: string;
|
|
28
|
+
x_axis_title: string;
|
|
29
|
+
y_axis_title: string;
|
|
27
30
|
}
|
|
@@ -13,7 +13,7 @@ export interface II18nChartBuilderTableCalculation {
|
|
|
13
13
|
calculation_type: string;
|
|
14
14
|
calculation_type_placeholder: string;
|
|
15
15
|
custom_label: string;
|
|
16
|
-
|
|
16
|
+
custom_label_placeholder: string;
|
|
17
17
|
remove: string;
|
|
18
18
|
calculation_type_average: string;
|
|
19
19
|
calculation_type_sum: string;
|
|
@@ -1,22 +1,36 @@
|
|
|
1
1
|
export interface II18nChartBuilderTrendChart {
|
|
2
2
|
add: string;
|
|
3
3
|
add_trend_disabled: string;
|
|
4
|
-
color: string;
|
|
5
4
|
chart_type: string;
|
|
5
|
+
color: string;
|
|
6
6
|
date_grouping: string;
|
|
7
7
|
fill: string;
|
|
8
8
|
fill_below: string;
|
|
9
9
|
fill_none: string;
|
|
10
|
+
fixed_scale: string;
|
|
10
11
|
label: string;
|
|
11
12
|
label_placeholder: string;
|
|
13
|
+
less_than: string;
|
|
14
|
+
loss_threshold: string;
|
|
12
15
|
max_data_points: string;
|
|
16
|
+
max_scale: string;
|
|
17
|
+
min_scale: string;
|
|
13
18
|
new_trend_chart_label: string;
|
|
14
19
|
options_title: string;
|
|
15
20
|
remove: string;
|
|
16
21
|
select_column: string;
|
|
17
22
|
select_column_placeholder: string;
|
|
18
23
|
show_value: string;
|
|
24
|
+
target: string;
|
|
25
|
+
target_aggregate: string;
|
|
26
|
+
target_aggregate_placeholder: string;
|
|
27
|
+
target_column: string;
|
|
28
|
+
target_column_placeholder: string;
|
|
29
|
+
target_label: string;
|
|
30
|
+
target_value: string;
|
|
31
|
+
time_period: string;
|
|
19
32
|
title: string;
|
|
33
|
+
tooltips: string;
|
|
20
34
|
trend_by_column: string;
|
|
21
35
|
trend_by_column_placeholder: string;
|
|
22
36
|
trend_sort: string;
|
|
@@ -26,6 +40,4 @@ export interface II18nChartBuilderTrendChart {
|
|
|
26
40
|
type_line: string;
|
|
27
41
|
type_spline: string;
|
|
28
42
|
type_step_line: string;
|
|
29
|
-
tooltips: string;
|
|
30
|
-
time_period: string;
|
|
31
43
|
}
|
|
@@ -43,7 +43,7 @@ export * from './II18nChartBuilderScaleTypes';
|
|
|
43
43
|
export * from './II18nChartBuilderTrendChart';
|
|
44
44
|
export * from './II18nChartBuilderChartInfo';
|
|
45
45
|
export * from './II18nChartBuilderDndZone';
|
|
46
|
-
export * from './
|
|
46
|
+
export * from './II18nChartBuilderChartLabels';
|
|
47
47
|
export * from './II18nChartBuilderActionPanel';
|
|
48
48
|
export * from './II18nChartBuilderMessagesGeneral';
|
|
49
49
|
export * from './II18nChartBuilderMessagesDefault';
|
|
@@ -4,6 +4,7 @@ import { II18nColumnProperties } from "./II18nColumnProperties";
|
|
|
4
4
|
import { II18nColumnTypesSuffixes } from "./II18nColumnTypesSuffixes";
|
|
5
5
|
import { II18nDateGrouping } from "./II18nDateGrouping";
|
|
6
6
|
import { II18nDayNames } from "./II18nDayNames";
|
|
7
|
+
import { II18nUnits } from "./II18nUnits";
|
|
7
8
|
|
|
8
9
|
export interface II18nCommon {
|
|
9
10
|
aggregate_labels: II18nAgreggateLabels;
|
|
@@ -14,4 +15,5 @@ export interface II18nCommon {
|
|
|
14
15
|
no_data_found: string;
|
|
15
16
|
properties: II18nColumnProperties;
|
|
16
17
|
search: string;
|
|
18
|
+
units: II18nUnits;
|
|
17
19
|
}
|
|
@@ -16,7 +16,7 @@ export const I18N_CHART_BUILDER_COMPARISION_OPTIONS: Pick<II18nChartBuilder, 'co
|
|
|
16
16
|
no_change: 'No Change',
|
|
17
17
|
change_triangle_up: 'Triangle Up',
|
|
18
18
|
change_triangle_down: 'Triangle Down',
|
|
19
|
-
|
|
19
|
+
change_none: 'None',
|
|
20
20
|
change_circle: 'Circle',
|
|
21
21
|
font_size_disabled: '<i>Automatic Resize</i> is active, go to <i>Styles</i> tab and disable it to set the size manually.',
|
|
22
22
|
select_option: 'Select Option',
|
|
@@ -2,7 +2,7 @@ import { II18nChartBuilder } from "../../interfaces/chart_builder/II18nChartBuil
|
|
|
2
2
|
|
|
3
3
|
type General = 'nav_panel' | 'save_dialog' | 'save_incomplete_dialog' | 'leave_dialog' | 'custom_format_dialog' | 'data_panel'
|
|
4
4
|
| 'dimensions' | 'shelf_menu' | 'scale_types' | 'trend_chart'
|
|
5
|
-
| 'chart_info' | 'dnd_zone' | '
|
|
5
|
+
| 'chart_info' | 'dnd_zone' | 'chart_labels' | 'action_panel' | 'messages_general' | 'messages_default'
|
|
6
6
|
| 'messages_crosstab' | 'messages_table_chart' | 'messages_missing_default' | 'messages_ms' | 'messages_pie'
|
|
7
7
|
| 'messages_min_max' | 'messages_metric' | 'messages_heatmap' | 'messages_geo' | 'messages_geo_bubble'
|
|
8
8
|
| 'messages_box_whiskers';
|
|
@@ -112,13 +112,32 @@ export const I18N_CHART_BUILDER_GENERAL: Pick<II18nChartBuilder, General> = {
|
|
|
112
112
|
color: 'Color',
|
|
113
113
|
date_grouping: 'Date Grouping',
|
|
114
114
|
fill: 'Fill',
|
|
115
|
-
fill_none: 'None',
|
|
116
115
|
fill_below: 'Below',
|
|
116
|
+
fill_none: 'None',
|
|
117
|
+
fixed_scale: 'Fixed Scale',
|
|
118
|
+
label: 'Label',
|
|
119
|
+
label_placeholder: 'Type custom label',
|
|
120
|
+
less_than: 'Less than',
|
|
121
|
+
loss_threshold: 'Loss Threshold',
|
|
122
|
+
max_data_points: 'Max Data Points',
|
|
123
|
+
max_scale: 'Max Scale',
|
|
124
|
+
min_scale: 'Min Scale',
|
|
117
125
|
new_trend_chart_label: 'Trend Chart Num',
|
|
118
126
|
options_title: 'Trend by',
|
|
127
|
+
remove: 'Remove',
|
|
119
128
|
select_column: 'Column',
|
|
120
129
|
select_column_placeholder: 'Select Option',
|
|
130
|
+
show_value: 'Show Value',
|
|
131
|
+
target: 'Target',
|
|
132
|
+
target_aggregate: 'Target Aggregate',
|
|
133
|
+
target_aggregate_placeholder: 'All',
|
|
134
|
+
target_column: 'Target Column',
|
|
135
|
+
target_column_placeholder: 'All',
|
|
136
|
+
target_label: 'Target Label',
|
|
137
|
+
target_value: 'Target Value',
|
|
138
|
+
time_period: 'Time Period',
|
|
121
139
|
title: 'Trend Chart',
|
|
140
|
+
tooltips: 'Tooltips',
|
|
122
141
|
trend_by_column: 'Trend by Column',
|
|
123
142
|
trend_by_column_placeholder: 'Select Option',
|
|
124
143
|
trend_sort: 'Trend Sort',
|
|
@@ -128,14 +147,6 @@ export const I18N_CHART_BUILDER_GENERAL: Pick<II18nChartBuilder, General> = {
|
|
|
128
147
|
type_line: 'Line',
|
|
129
148
|
type_spline: 'Spline',
|
|
130
149
|
type_step_line: 'Step Line',
|
|
131
|
-
|
|
132
|
-
tooltips: 'Tooltips',
|
|
133
|
-
show_value: 'Show Value',
|
|
134
|
-
label: 'Label',
|
|
135
|
-
label_placeholder: 'Type custom label',
|
|
136
|
-
time_period: 'Time Period',
|
|
137
|
-
max_data_points: 'Max Data Points',
|
|
138
|
-
remove: 'Remove',
|
|
139
150
|
},
|
|
140
151
|
chart_info: {
|
|
141
152
|
title_placeholder: 'Untitled Chart',
|
|
@@ -145,7 +156,7 @@ export const I18N_CHART_BUILDER_GENERAL: Pick<II18nChartBuilder, General> = {
|
|
|
145
156
|
drop_column_here: 'Drop column here',
|
|
146
157
|
drop_column_as: 'Drop column as'
|
|
147
158
|
},
|
|
148
|
-
|
|
159
|
+
chart_labels: {
|
|
149
160
|
bar: 'Bar Chart',
|
|
150
161
|
line: 'Line Chart',
|
|
151
162
|
symbol: 'Symbol Chart',
|