@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.
Files changed (108) hide show
  1. package/README.md +929 -929
  2. package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO.d.ts +5 -0
  3. package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO.js +11 -0
  4. package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.d.ts +5 -0
  5. package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.js +14 -0
  6. package/dist/cjs/dates/relative/constants/index.d.ts +2 -0
  7. package/dist/cjs/dates/relative/constants/index.js +2 -0
  8. package/dist/cjs/dates/relative/interfaces/IRelativeUnit.d.ts +2 -0
  9. package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js → dates/relative/interfaces/IRelativeUnit.js} +0 -0
  10. package/dist/cjs/dates/relative/interfaces/IRelativeUnitInfo.d.ts +5 -0
  11. package/dist/cjs/dates/relative/interfaces/IRelativeUnitInfo.js +2 -0
  12. package/dist/cjs/dates/relative/interfaces/index.d.ts +2 -0
  13. package/dist/cjs/dates/relative/interfaces/index.js +2 -0
  14. package/dist/cjs/globalization/helpers/getI18nDateGroupLabel.js +2 -0
  15. package/dist/cjs/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
  16. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -2
  17. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +19 -18
  18. package/dist/cjs/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.d.ts → II18nChartBuilderChartLabels.d.ts} +1 -1
  19. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartLabels.js +2 -0
  20. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +5 -4
  21. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +1 -1
  22. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +3 -1
  23. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +19 -16
  24. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +1 -1
  25. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +1 -1
  26. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +15 -3
  27. package/dist/cjs/globalization/interfaces/chart_builder/index.d.ts +1 -1
  28. package/dist/cjs/globalization/interfaces/chart_builder/index.js +1 -1
  29. package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +2 -0
  30. package/dist/cjs/globalization/interfaces/common/II18nUnits.d.ts +7 -0
  31. package/dist/cjs/globalization/interfaces/common/II18nUnits.js +2 -0
  32. package/dist/cjs/globalization/interfaces/common/index.d.ts +2 -0
  33. package/dist/cjs/globalization/interfaces/common/index.js +2 -0
  34. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +1 -1
  35. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
  36. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +21 -9
  37. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +5 -3
  38. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +43 -38
  39. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +1 -1
  40. package/dist/cjs/globalization/labels/common/I18N_COMMON.js +8 -0
  41. package/dist/dates/relative/constants/RELATIVE_UNIT_INFO.d.ts +5 -0
  42. package/dist/dates/relative/constants/RELATIVE_UNIT_INFO.js +8 -0
  43. package/dist/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.d.ts +5 -0
  44. package/dist/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.js +11 -0
  45. package/dist/dates/relative/constants/index.d.ts +2 -0
  46. package/dist/dates/relative/constants/index.js +2 -0
  47. package/dist/dates/relative/interfaces/IRelativeUnit.d.ts +2 -0
  48. package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js → dates/relative/interfaces/IRelativeUnit.js} +0 -0
  49. package/dist/dates/relative/interfaces/IRelativeUnitInfo.d.ts +5 -0
  50. package/dist/dates/relative/interfaces/IRelativeUnitInfo.js +1 -0
  51. package/dist/dates/relative/interfaces/index.d.ts +2 -0
  52. package/dist/dates/relative/interfaces/index.js +2 -0
  53. package/dist/globalization/helpers/getI18nDateGroupLabel.js +2 -0
  54. package/dist/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
  55. package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -2
  56. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +19 -18
  57. package/dist/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.d.ts → II18nChartBuilderChartLabels.d.ts} +1 -1
  58. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartLabels.js +1 -0
  59. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +5 -4
  60. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +1 -1
  61. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +3 -1
  62. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +19 -16
  63. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +1 -1
  64. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +1 -1
  65. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +15 -3
  66. package/dist/globalization/interfaces/chart_builder/index.d.ts +1 -1
  67. package/dist/globalization/interfaces/chart_builder/index.js +1 -1
  68. package/dist/globalization/interfaces/common/II18nCommon.d.ts +2 -0
  69. package/dist/globalization/interfaces/common/II18nUnits.d.ts +7 -0
  70. package/dist/globalization/interfaces/common/II18nUnits.js +1 -0
  71. package/dist/globalization/interfaces/common/index.d.ts +2 -0
  72. package/dist/globalization/interfaces/common/index.js +2 -0
  73. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +1 -1
  74. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
  75. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +21 -9
  76. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +5 -3
  77. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +43 -38
  78. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +1 -1
  79. package/dist/globalization/labels/common/I18N_COMMON.js +8 -0
  80. package/package.json +1 -1
  81. package/src/dates/relative/constants/RELATIVE_UNIT_INFO.ts +11 -0
  82. package/src/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.ts +13 -0
  83. package/src/dates/relative/constants/index.ts +2 -0
  84. package/src/dates/relative/interfaces/IRelativeUnit.ts +3 -0
  85. package/src/dates/relative/interfaces/IRelativeUnitInfo.ts +7 -0
  86. package/src/dates/relative/interfaces/index.ts +2 -0
  87. package/src/globalization/helpers/getI18nDateGroupLabel.ts +2 -0
  88. package/src/globalization/helpers/getReverseI18nGroupLabel.ts +2 -0
  89. package/src/globalization/interfaces/chart_builder/II18nChartBuilder.ts +2 -2
  90. package/src/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.ts +19 -18
  91. package/src/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.ts → II18nChartBuilderChartLabels.ts} +1 -1
  92. package/src/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.ts +5 -4
  93. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.ts +1 -1
  94. package/src/globalization/interfaces/chart_builder/II18nChartBuilderSorting.ts +3 -1
  95. package/src/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.ts +19 -16
  96. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.ts +1 -1
  97. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.ts +1 -1
  98. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.ts +15 -3
  99. package/src/globalization/interfaces/chart_builder/index.ts +1 -1
  100. package/src/globalization/interfaces/common/II18nCommon.ts +2 -0
  101. package/src/globalization/interfaces/common/II18nUnits.ts +7 -0
  102. package/src/globalization/interfaces/common/index.ts +3 -0
  103. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.ts +1 -1
  104. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +22 -11
  105. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +5 -4
  106. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.ts +43 -38
  107. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.ts +1 -1
  108. package/src/globalization/labels/common/I18N_COMMON.ts +8 -0
@@ -40,7 +40,7 @@ export const I18N_CHART_BUILDER_GENERAL_OPTIONS: Pick<II18nChartBuilder, General
40
40
  values_format: 'Values Format',
41
41
  remove: 'Remove',
42
42
  header_label: 'Header',
43
- header_pleceholder: 'Type text',
43
+ header_placeholder: 'Type text',
44
44
  values_multiples_first: 'First',
45
45
  values_multiples_last: 'Last',
46
46
  },
@@ -65,7 +65,7 @@ export const I18N_CHART_BUILDER_GENERAL_OPTIONS: Pick<II18nChartBuilder, General
65
65
  calculation_type_difference: 'Difference',
66
66
  calculation_type_percent_difference: '% Difference',
67
67
  custom_label: 'Custom Label',
68
- custom_label_pleceholder: 'Type Custom Label',
68
+ custom_label_placeholder: 'Type Custom Label',
69
69
  remove: 'Remove',
70
70
  calculation: 'Calculation',
71
71
  remove_calculation: 'Remove Calculation',
@@ -87,16 +87,17 @@ export const I18N_CHART_BUILDER_GENERAL_OPTIONS: Pick<II18nChartBuilder, General
87
87
  label: 'Label',
88
88
  order_chart_columns: 'Chart Columns',
89
89
  order_others_columns: 'Other Columns',
90
+ select_aggregate_placeholder: 'Select Aggregate',
90
91
  select_column_placeholder: 'Select Column',
91
- sort: 'Sort',
92
92
  sort_ascending: 'Sort Ascending',
93
93
  sort_by: 'Sort by',
94
94
  sort_descending: 'Sort Descending',
95
95
  sort_descending_a_to_z: 'A to Z',
96
96
  sort_descending_z_to_a: 'Z to A',
97
+ sort: 'Sort',
98
+ sorting_by_calculated_value: 'Sorting by Calculated Value',
97
99
  title: 'Sorting',
98
100
  value: 'Value',
99
-
100
101
  },
101
102
  menu_actions: {
102
103
  title: 'Menu Actions',
@@ -6,40 +6,44 @@ type StyleOptions = 'style_options' | 'color_settings' | 'color_by_values' | 'ch
6
6
  | 'custom_scale' | 'gaps_options' | 'base_map' | 'map_region' | 'table_style_options';
7
7
  export const I18N_CHART_BUILDER_STYLE_OPTIONS: Pick<II18nChartBuilder, StyleOptions> = {
8
8
  style_options: {
9
+ allow_clustering: 'Allow Clustering',
9
10
  axis_labels: 'Axis Labels',
10
- x_axis_title: 'X - Axis',
11
- y_axis_title: 'Y - Axis',
11
+ axis_position_disabled_message: '<i>Axis Position</i> is disabled because stacked type configuration is in use.',
12
+ bar_type_disabled_message: 'Bar <i>Type</i> selection is disabled because not all of the column visualization styles are set as bars.',
12
13
  bar_width: 'Bar Width',
13
14
  bar_width_symbol: '%',
14
15
  bar_width_auto: 'Auto',
15
- data_labels_check: 'Data Labels',
16
+ bullet_color: 'Bullet Color',
16
17
  borders_check: 'Borders',
17
- shading_check: 'Shading',
18
- values_check: 'Values',
19
- percentage_check: 'Percentage',
20
- line_opacity: 'Line Opacity',
21
- threshold_opacity: 'Threshold Opacity',
22
- symbol_opacity: 'Symbol Opacity',
23
- show_animation_check: 'Show Animation',
24
- needle_color: 'Needle Color',
25
- show_comparision_check: 'Show Comparison',
18
+ chart_type_disabled_message: '<i>Type</i> selection is disabled because stacked type configuration is in use.',
26
19
  comparision_color: 'Comparision Color',
27
- bullet_color: 'Bullet Color',
20
+ data_labels_check: 'Data Labels',
28
21
  default_format_title: 'Format',
29
- reversed_colors: 'Reversed Colors',
30
- map_borders: 'Map borders',
31
- allow_clustering: 'Allow Clustering',
32
22
  display_outliers_check: 'Display outliers',
23
+ line_opacity: 'Line Opacity',
24
+ map_borders: 'Map borders',
25
+ needle_color: 'Needle Color',
33
26
  opacity: 'Opacity',
27
+ percentage_check: 'Percentage',
28
+ reversed_colors: 'Reversed Colors',
29
+ shading_check: 'Shading',
30
+ symbol_opacity: 'Symbol Opacity',
31
+ show_animation_check: 'Show Animation',
32
+ show_comparison_check: 'Show Comparison',
33
+ threshold_opacity: 'Threshold Opacity',
34
+ values_check: 'Values',
35
+ x_axis_title: 'X - Axis',
36
+ y_axis_title: 'Y - Axis',
34
37
  },
35
38
  color_settings: {
36
- select_color_type: 'Color type',
37
- single_color: 'Single color',
38
39
  color_by_category: 'By category',
39
- select_color: 'Color',
40
- select_theme: 'Theme',
41
40
  color_by_value_title: 'Color by value',
42
41
  match_color: 'Match colors across charts',
42
+ select_color: 'Color',
43
+ select_color_type: 'Color type',
44
+ select_color_type_placeholder: 'Select color type',
45
+ select_theme: 'Theme',
46
+ single_color: 'Single color',
43
47
  },
44
48
  color_by_values: {
45
49
  title: 'Color by values',
@@ -60,32 +64,33 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS: Pick<II18nChartBuilder, StyleOpti
60
64
  horizontal: 'Horizontal',
61
65
  },
62
66
  axis_style: {
63
- custom_label: 'Label',
67
+ axis_format_title: 'Axis Format',
68
+ axis_position: 'Axis Position',
69
+ axis_position_left: 'Left',
70
+ axis_position_primary_axis: 'Use Primary Axis',
71
+ axis_position_right: 'Right',
64
72
  custom_axis_label: 'Axis Label',
65
- custom_label_pleceholder: 'Custom label',
66
- values_check: 'Values',
67
- values_axis_check: 'Axis Values',
68
- values_rotation: 'Values Rotation',
69
- values_rotation_horizontal: 'Horizontal',
70
- values_rotation_diagonal: 'Diagonal',
71
- values_rotation_vertical: 'Vertical',
73
+ custom_label: 'Label',
74
+ custom_label_placeholder: 'Custom label',
72
75
  format_title: 'Format',
73
- axis_format_title: 'Axis Format',
76
+ max_range: 'Max Range',
77
+ max_range_placeholder: 'Auto',
78
+ min_range: 'Min Range',
79
+ min_range_placeholder: 'Auto',
80
+ position: 'Position',
74
81
  scale_type: 'Scale Type',
75
82
  scale_type_linear: 'Linear',
76
83
  scale_type_logarithm: 'Logarithm',
77
- min_range: 'Min Range',
78
- min_range_placeholder: 'Auto',
79
- max_range: 'Max Range',
80
- max_range_placeholder: 'Auto',
84
+ scale_type_placeholder: 'Select color type',
81
85
  steps: 'Steps',
82
86
  steps_placeholder: 'Auto',
83
- position: 'Position',
84
- axis_position: 'Axis Position',
85
- axis_position_primari_axis: 'Use Primary Axis',
86
- axis_position_left: 'Left',
87
- axis_position_right: 'Right',
88
87
  type_label: 'Type',
88
+ values_axis_check: 'Axis Values',
89
+ values_check: 'Values',
90
+ values_rotation: 'Values Rotation',
91
+ values_rotation_diagonal: 'Diagonal',
92
+ values_rotation_horizontal: 'Horizontal',
93
+ values_rotation_vertical: 'Vertical',
89
94
  },
90
95
  bar_types: {
91
96
  title: 'Type',
@@ -30,7 +30,7 @@ export const I18N_CHART_BUILDER_TIME_PERIOD: Pick<II18nChartBuilder, TimePeriod>
30
30
  time_period_custom_range: {
31
31
  before: 'Before',
32
32
  after: 'After',
33
- between: 'Rango',
33
+ between: 'Between',
34
34
  and: 'And',
35
35
  }
36
36
  };
@@ -1,3 +1,4 @@
1
+ import { RELATIVE_UNIT_INFO } from "../../../dates/relative/constants/RELATIVE_UNIT_INFO";
1
2
  import { II18nCommon } from "../../interfaces/common/II18nCommon";
2
3
  import { I18N_AGGREGATE_LABEL } from "./I18N_AGGREGATE_LABEL";
3
4
  import { I18N_COLUMN_LABEL } from "./I18N_COLUMN_LABEL";
@@ -19,4 +20,11 @@ export const I18N_COMMON: II18nCommon = {
19
20
  no_data_found: "No Data Found",
20
21
  properties: I18N_COLUMN_PROPERTY_LABEL,
21
22
  search: "Search",
23
+ units: {
24
+ day: RELATIVE_UNIT_INFO.DAY.label,
25
+ month: RELATIVE_UNIT_INFO.MONTH.label,
26
+ quarter: RELATIVE_UNIT_INFO.QUARTER.label,
27
+ week: RELATIVE_UNIT_INFO.WEEK.label,
28
+ year: RELATIVE_UNIT_INFO.YEAR.label,
29
+ }
22
30
  };