@qrvey/utils 1.2.9-3 → 1.2.9-7

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 (189) hide show
  1. package/README.md +270 -270
  2. package/dist/cjs/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +1 -0
  3. package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +1 -0
  4. package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +1 -0
  5. package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO.d.ts +5 -0
  6. package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO.js +11 -0
  7. package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.d.ts +5 -0
  8. package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.js +14 -0
  9. package/dist/cjs/dates/relative/constants/index.d.ts +2 -0
  10. package/dist/cjs/dates/relative/constants/index.js +2 -0
  11. package/dist/cjs/dates/relative/interfaces/IRelativeUnit.d.ts +2 -0
  12. package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js → dates/relative/interfaces/IRelativeUnit.js} +0 -0
  13. package/dist/cjs/dates/relative/interfaces/IRelativeUnitInfo.d.ts +5 -0
  14. package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js → dates/relative/interfaces/IRelativeUnitInfo.js} +0 -0
  15. package/dist/cjs/dates/relative/interfaces/index.d.ts +2 -0
  16. package/dist/cjs/dates/relative/interfaces/index.js +2 -0
  17. package/dist/cjs/globalization/helpers/getI18nDateGroupLabel.js +2 -0
  18. package/dist/cjs/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
  19. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -1
  20. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -16
  21. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +19 -18
  22. package/dist/cjs/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.d.ts → II18nChartBuilderChartLabels.d.ts} +1 -1
  23. package/dist/cjs/globalization/interfaces/chart_builder/{II18nChartBuilderComplexFile.js → II18nChartBuilderChartLabels.js} +0 -0
  24. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +5 -4
  25. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +1 -1
  26. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +16 -15
  27. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +12 -11
  28. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +16 -12
  29. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +3 -1
  30. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +19 -16
  31. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +1 -1
  32. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +1 -1
  33. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +15 -3
  34. package/dist/cjs/globalization/interfaces/chart_builder/index.d.ts +1 -8
  35. package/dist/cjs/globalization/interfaces/chart_builder/index.js +1 -8
  36. package/dist/cjs/globalization/interfaces/common/II18nColumnProperties.d.ts +1 -0
  37. package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +2 -0
  38. package/dist/cjs/globalization/interfaces/common/II18nUnits.d.ts +7 -0
  39. package/dist/cjs/globalization/interfaces/{chart_builder/II18nChartBuilderComplexImage.js → common/II18nUnits.js} +0 -0
  40. package/dist/cjs/globalization/interfaces/common/index.d.ts +2 -0
  41. package/dist/cjs/globalization/interfaces/common/index.js +2 -0
  42. package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
  43. package/dist/cjs/globalization/interfaces/filters/II18nRelativeContainer.d.ts +4 -2
  44. package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -0
  45. package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +21 -11
  46. package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +3 -2
  47. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +1 -1
  48. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
  49. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +50 -72
  50. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +21 -15
  51. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +43 -38
  52. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +1 -1
  53. package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +1 -0
  54. package/dist/cjs/globalization/labels/common/I18N_COMMON.js +8 -0
  55. package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +3 -2
  56. package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +4 -2
  57. package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -2
  58. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +21 -11
  59. package/dist/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +1 -0
  60. package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +1 -0
  61. package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +1 -0
  62. package/dist/dates/relative/constants/RELATIVE_UNIT_INFO.d.ts +5 -0
  63. package/dist/dates/relative/constants/RELATIVE_UNIT_INFO.js +8 -0
  64. package/dist/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.d.ts +5 -0
  65. package/dist/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.js +11 -0
  66. package/dist/dates/relative/constants/index.d.ts +2 -0
  67. package/dist/dates/relative/constants/index.js +2 -0
  68. package/dist/dates/relative/interfaces/IRelativeUnit.d.ts +2 -0
  69. package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js → dates/relative/interfaces/IRelativeUnit.js} +0 -0
  70. package/dist/dates/relative/interfaces/IRelativeUnitInfo.d.ts +5 -0
  71. package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js → dates/relative/interfaces/IRelativeUnitInfo.js} +0 -0
  72. package/dist/dates/relative/interfaces/index.d.ts +2 -0
  73. package/dist/dates/relative/interfaces/index.js +2 -0
  74. package/dist/globalization/helpers/getI18nDateGroupLabel.js +2 -0
  75. package/dist/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
  76. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -1
  77. package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -16
  78. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +19 -18
  79. package/dist/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.d.ts → II18nChartBuilderChartLabels.d.ts} +1 -1
  80. package/dist/globalization/interfaces/chart_builder/{II18nChartBuilderComplexFile.js → II18nChartBuilderChartLabels.js} +0 -0
  81. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +5 -4
  82. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +1 -1
  83. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +16 -15
  84. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +12 -11
  85. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +16 -12
  86. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +3 -1
  87. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +19 -16
  88. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +1 -1
  89. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +1 -1
  90. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +15 -3
  91. package/dist/globalization/interfaces/chart_builder/index.d.ts +1 -8
  92. package/dist/globalization/interfaces/chart_builder/index.js +1 -8
  93. package/dist/globalization/interfaces/common/II18nColumnProperties.d.ts +1 -0
  94. package/dist/globalization/interfaces/common/II18nCommon.d.ts +2 -0
  95. package/dist/globalization/interfaces/common/II18nUnits.d.ts +7 -0
  96. package/dist/globalization/interfaces/{chart_builder/II18nChartBuilderComplexImage.js → common/II18nUnits.js} +0 -0
  97. package/dist/globalization/interfaces/common/index.d.ts +2 -0
  98. package/dist/globalization/interfaces/common/index.js +2 -0
  99. package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
  100. package/dist/globalization/interfaces/filters/II18nRelativeContainer.d.ts +4 -2
  101. package/dist/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -0
  102. package/dist/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +21 -11
  103. package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +3 -2
  104. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +1 -1
  105. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
  106. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +50 -72
  107. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +21 -15
  108. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +43 -38
  109. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +1 -1
  110. package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +1 -0
  111. package/dist/globalization/labels/common/I18N_COMMON.js +8 -0
  112. package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +3 -2
  113. package/dist/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +4 -2
  114. package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -2
  115. package/dist/globalization/labels/panel/I18N_PANEL.js +21 -11
  116. package/package.json +1 -1
  117. package/src/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.ts +1 -0
  118. package/src/dates/relative/constants/RELATIVE_UNIT_INFO.ts +11 -0
  119. package/src/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.ts +13 -0
  120. package/src/dates/relative/constants/index.ts +2 -0
  121. package/src/dates/relative/interfaces/IRelativeUnit.ts +3 -0
  122. package/src/dates/relative/interfaces/IRelativeUnitInfo.ts +7 -0
  123. package/src/dates/relative/interfaces/index.ts +2 -0
  124. package/src/globalization/helpers/getI18nDateGroupLabel.ts +2 -0
  125. package/src/globalization/helpers/getReverseI18nGroupLabel.ts +2 -0
  126. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.ts +2 -1
  127. package/src/globalization/interfaces/chart_builder/II18nChartBuilder.ts +2 -16
  128. package/src/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.ts +19 -18
  129. package/src/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.ts → II18nChartBuilderChartLabels.ts} +1 -1
  130. package/src/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.ts +5 -4
  131. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.ts +1 -1
  132. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.ts +16 -15
  133. package/src/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.ts +12 -11
  134. package/src/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.ts +16 -12
  135. package/src/globalization/interfaces/chart_builder/II18nChartBuilderSorting.ts +3 -1
  136. package/src/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.ts +19 -16
  137. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.ts +1 -1
  138. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.ts +1 -1
  139. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.ts +15 -3
  140. package/src/globalization/interfaces/chart_builder/index.ts +1 -8
  141. package/src/globalization/interfaces/common/II18nColumnProperties.ts +1 -0
  142. package/src/globalization/interfaces/common/II18nCommon.ts +2 -0
  143. package/src/globalization/interfaces/common/II18nUnits.ts +7 -0
  144. package/src/globalization/interfaces/common/index.ts +3 -0
  145. package/src/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.ts +1 -0
  146. package/src/globalization/interfaces/filters/II18nRelativeContainer.ts +4 -2
  147. package/src/globalization/interfaces/filters/II18nValueContainer.ts +1 -0
  148. package/src/globalization/interfaces/panel/II18nPanelSummaryViews.ts +21 -11
  149. package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +3 -2
  150. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.ts +1 -1
  151. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +52 -76
  152. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +21 -16
  153. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.ts +43 -38
  154. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.ts +1 -1
  155. package/src/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.ts +1 -0
  156. package/src/globalization/labels/common/I18N_COMMON.ts +8 -0
  157. package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +3 -2
  158. package/src/globalization/labels/filters/I18N_RELATIVE_CONTAINER.ts +4 -2
  159. package/src/globalization/labels/filters/I18N_VALUE_CONTAINER.ts +3 -2
  160. package/src/globalization/labels/panel/I18N_PANEL.ts +21 -11
  161. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +0 -5
  162. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +0 -4
  163. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +0 -4
  164. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +0 -4
  165. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.js +0 -2
  166. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +0 -4
  167. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.js +0 -2
  168. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +0 -6
  169. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +0 -2
  170. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +0 -5
  171. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +0 -2
  172. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +0 -5
  173. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +0 -4
  174. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +0 -4
  175. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +0 -4
  176. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.js +0 -1
  177. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +0 -4
  178. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.js +0 -1
  179. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +0 -6
  180. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.js +0 -1
  181. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +0 -5
  182. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.js +0 -1
  183. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.ts +0 -6
  184. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.ts +0 -4
  185. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.ts +0 -4
  186. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.ts +0 -4
  187. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.ts +0 -4
  188. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.ts +0 -6
  189. package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.ts +0 -6
@@ -1,4 +1,4 @@
1
1
  import { II18nChartBuilder } from "../../interfaces/chart_builder/II18nChartBuilder";
2
- declare type General = 'nav_panel' | 'save_dialog' | 'save_incomplete_dialog' | 'leave_dialog' | 'custom_format_dialog' | 'data_panel' | 'dimensions' | 'shelf_menu' | 'scale_types' | 'complex_name' | 'complex_text' | 'complex_usa_address' | 'complex_address' | 'complex_file' | 'complex_image' | 'complex_image_analysis' | 'trend_chart' | 'chart_info' | 'dnd_zone' | 'chart_labes' | 'action_panel' | 'messages_general' | 'messages_default' | 'messages_crosstab' | 'messages_table_chart' | 'messages_missing_default' | 'messages_ms' | 'messages_pie' | 'messages_min_max' | 'messages_metric' | 'messages_heatmap' | 'messages_geo' | 'messages_geo_bubble' | 'messages_box_whiskers';
2
+ declare type General = 'nav_panel' | 'save_dialog' | 'save_incomplete_dialog' | 'leave_dialog' | 'custom_format_dialog' | 'data_panel' | 'dimensions' | 'shelf_menu' | 'scale_types' | 'trend_chart' | 'chart_info' | 'dnd_zone' | 'chart_labels' | 'action_panel' | 'messages_general' | 'messages_default' | 'messages_crosstab' | 'messages_table_chart' | 'messages_missing_default' | 'messages_ms' | 'messages_pie' | 'messages_min_max' | 'messages_metric' | 'messages_heatmap' | 'messages_geo' | 'messages_geo_bubble' | 'messages_box_whiskers';
3
3
  export declare const I18N_CHART_BUILDER_GENERAL: Pick<II18nChartBuilder, General>;
4
4
  export {};
@@ -42,47 +42,49 @@ export const I18N_CHART_BUILDER_GENERAL = {
42
42
  timestamp: 'Timestamp'
43
43
  },
44
44
  data_panel: {
45
- loading: 'Loading ...',
46
- loading_data: 'loading Data',
47
- error_state: 'error state',
48
- title: 'Data',
49
- links: 'Links',
50
- linked_tooltip: 'Linked',
51
45
  column_tooltip: 'Column',
52
- go_dataset_tooltip: 'Go to Dataset',
53
- search_links_placeholder: 'Search Links',
54
- search_columns_placeholder: 'Search Columns',
55
46
  categories: 'Categories',
56
- no_categories_available: 'No categories available',
57
- values: 'Values',
58
- no_values_available: 'No values available',
47
+ error_state: 'error state',
59
48
  geolocations: 'Geolocations',
60
- no_geolocations_available: 'No geolocations available',
61
- no_geolocations_available_tooltips: 'Geolocation groups are required to <br> create maps. These groups can be<br> set up from the Data Page.',
49
+ go_dataset_tooltip: 'Go to Dataset',
50
+ linked_tooltip: 'Linked',
51
+ links: 'Links',
52
+ loading: 'Loading ...',
53
+ loading_data: 'loading Data',
54
+ no_categories_available: 'No categories available',
62
55
  no_data_available: 'There is no data available. Once data is added, it will be displayed here and you can begin creating charts.',
63
- no_data_moment_start: 'There is no data available at the moment,',
64
56
  no_data_moment_action: 'click here',
65
57
  no_data_moment_end: 'to create a dataset and begin working on your chart.',
66
- no_datasets_available: 'No datasets available'
58
+ no_data_moment_start: 'There is no data available at the moment,',
59
+ no_datasets_available: 'No datasets available',
60
+ no_geolocations_available: 'No geolocations available',
61
+ no_geolocations_available_tooltips: 'Geolocation groups are required to <br> create maps. These groups can be<br> set up from the Data Page.',
62
+ no_values_available: 'No values available',
63
+ search_columns_placeholder: 'Search Columns',
64
+ search_dataset_placeholder: 'Search Dataset',
65
+ search_links_placeholder: 'Search Links',
66
+ title: 'Data',
67
+ values: 'Values',
67
68
  },
68
69
  dimensions: {
69
- dimension: 'Dimension',
70
+ categories: 'Categories',
70
71
  category: 'Category',
71
- value: 'Value',
72
- values: 'Values',
73
- series: 'Series',
74
- other_values: 'Other Values',
75
- pivot: 'Pivot',
72
+ column: 'Column',
73
+ columns: 'Columns',
74
+ dimension: 'Dimension',
76
75
  distribution: 'Distribution',
76
+ geolocation: 'Geolocation',
77
77
  group: 'Group',
78
78
  groups: 'Groups',
79
- section: 'Section',
80
- sections: 'Sections',
81
- column: 'Column',
82
- columns: 'Columns',
79
+ other_values: 'Other Values',
80
+ pivot: 'Pivot',
83
81
  row: 'Row',
84
82
  rows: 'Rows',
85
- geolocation: 'Geolocation'
83
+ section: 'Section',
84
+ sections: 'Sections',
85
+ series: 'Series',
86
+ value: 'Value',
87
+ values: 'Values',
86
88
  },
87
89
  shelf_menu: {
88
90
  bucket: 'Cubo',
@@ -94,42 +96,6 @@ export const I18N_CHART_BUILDER_GENERAL = {
94
96
  discrete: 'Discrete',
95
97
  continuous: 'Continuous'
96
98
  },
97
- complex_name: {
98
- first_name: 'First Name',
99
- last_name: 'Last Name'
100
- },
101
- complex_text: {
102
- words: 'Words',
103
- keyphrases: 'Keyphrases',
104
- sentiment: 'Sentiment',
105
- entities: 'Entities'
106
- },
107
- complex_usa_address: {
108
- address_1: 'Address Line 1',
109
- address_2: 'Address Line 2',
110
- city: 'City',
111
- postal_code: 'Zip Code',
112
- state: 'State'
113
- },
114
- complex_address: {
115
- street: 'Street Address',
116
- city: 'City',
117
- postal_code: 'Postal/Zip Code',
118
- state: 'State/Region/Province',
119
- country: 'Country'
120
- },
121
- complex_file: {
122
- file_size: 'File Size',
123
- file_type: 'File Type'
124
- },
125
- complex_image: {
126
- image_size: 'File Size',
127
- image_type: 'File Type'
128
- },
129
- complex_image_analysis: {
130
- word: 'Word',
131
- categories: 'Categories'
132
- },
133
99
  trend_chart: {
134
100
  add: 'Add Trend Chart',
135
101
  add_trend_disabled: 'Trend Chart is disabled, add fields on the Columns and Groups shelf to enable it.',
@@ -137,13 +103,32 @@ export const I18N_CHART_BUILDER_GENERAL = {
137
103
  color: 'Color',
138
104
  date_grouping: 'Date Grouping',
139
105
  fill: 'Fill',
140
- fill_none: 'None',
141
106
  fill_below: 'Below',
107
+ fill_none: 'None',
108
+ fixed_scale: 'Fixed Scale',
109
+ label: 'Label',
110
+ label_placeholder: 'Type custom label',
111
+ less_than: 'Less than',
112
+ loss_threshold: 'Loss Threshold',
113
+ max_data_points: 'Max Data Points',
114
+ max_scale: 'Max Scale',
115
+ min_scale: 'Min Scale',
142
116
  new_trend_chart_label: 'Trend Chart Num',
143
117
  options_title: 'Trend by',
118
+ remove: 'Remove',
144
119
  select_column: 'Column',
145
120
  select_column_placeholder: 'Select Option',
121
+ show_value: 'Show Value',
122
+ target: 'Target',
123
+ target_aggregate: 'Target Aggregate',
124
+ target_aggregate_placeholder: 'All',
125
+ target_column: 'Target Column',
126
+ target_column_placeholder: 'All',
127
+ target_label: 'Target Label',
128
+ target_value: 'Target Value',
129
+ time_period: 'Time Period',
146
130
  title: 'Trend Chart',
131
+ tooltips: 'Tooltips',
147
132
  trend_by_column: 'Trend by Column',
148
133
  trend_by_column_placeholder: 'Select Option',
149
134
  trend_sort: 'Trend Sort',
@@ -153,13 +138,6 @@ export const I18N_CHART_BUILDER_GENERAL = {
153
138
  type_line: 'Line',
154
139
  type_spline: 'Spline',
155
140
  type_step_line: 'Step Line',
156
- tooltips: 'Tooltips',
157
- show_value: 'Show Value',
158
- label: 'Label',
159
- label_placeholder: 'Type custom label',
160
- time_period: 'Time Period',
161
- max_data_points: 'Max Data Points',
162
- remove: 'Remove',
163
141
  },
164
142
  chart_info: {
165
143
  title_placeholder: 'Untitled Chart',
@@ -169,7 +147,7 @@ export const I18N_CHART_BUILDER_GENERAL = {
169
147
  drop_column_here: 'Drop column here',
170
148
  drop_column_as: 'Drop column as'
171
149
  },
172
- chart_labes: {
150
+ chart_labels: {
173
151
  bar: 'Bar Chart',
174
152
  line: 'Line Chart',
175
153
  symbol: 'Symbol Chart',
@@ -1,24 +1,28 @@
1
1
  export const I18N_CHART_BUILDER_GENERAL_OPTIONS = {
2
2
  general_options: {
3
- max_data_points: 'Max Data Points',
4
- max_series: 'Max Series',
3
+ allow_pagination: 'Allow Pagination',
4
+ data_points: 'Data Points',
5
5
  display_average: 'Display Average',
6
+ does_not_apply_to_dates: 'does not apply to Dates',
6
7
  fixed_scale: 'Fixed Scale',
7
- max_scale: 'Max Scale',
8
- min_scale: 'Min Scale',
9
8
  fixed_scale_placeholder: 'Auto',
10
- max_groups: 'maximo de grupos',
11
9
  freeze_first_column: 'Freeze First Column',
12
- view_labels: 'Label',
13
- view_sorting: 'Sorting',
14
- view_total: 'Totals',
15
- view_subtotals: 'Subtotals',
16
- max_rows: 'Max Rows',
10
+ max: 'Max {{attr}}',
11
+ max_categories: 'Max Categories',
17
12
  max_columns: 'Max Columns',
13
+ max_data_points: 'Max Data Points',
14
+ max_groups: 'Max Groups',
15
+ max_rows: 'Max Rows',
16
+ max_scale: 'Max Scale',
17
+ max_series: 'Max Series',
18
18
  max_slices: 'Max Slices',
19
- max_categories: 'Max Categories',
20
- allow_pagination: 'Allow Pagination',
19
+ min_scale: 'Min Scale',
21
20
  records_per_page: 'Records per page',
21
+ slices: 'Slices',
22
+ view_labels: 'Label',
23
+ view_sorting: 'Sorting',
24
+ view_subtotals: 'Subtotals',
25
+ view_total: 'Totals',
22
26
  },
23
27
  tooltip_settings: {
24
28
  name: 'Tooltips',
@@ -33,7 +37,7 @@ export const I18N_CHART_BUILDER_GENERAL_OPTIONS = {
33
37
  values_format: 'Values Format',
34
38
  remove: 'Remove',
35
39
  header_label: 'Header',
36
- header_pleceholder: 'Type text',
40
+ header_placeholder: 'Type text',
37
41
  values_multiples_first: 'First',
38
42
  values_multiples_last: 'Last',
39
43
  },
@@ -58,7 +62,7 @@ export const I18N_CHART_BUILDER_GENERAL_OPTIONS = {
58
62
  calculation_type_difference: 'Difference',
59
63
  calculation_type_percent_difference: '% Difference',
60
64
  custom_label: 'Custom Label',
61
- custom_label_pleceholder: 'Type Custom Label',
65
+ custom_label_placeholder: 'Type Custom Label',
62
66
  remove: 'Remove',
63
67
  calculation: 'Calculation',
64
68
  remove_calculation: 'Remove Calculation',
@@ -80,13 +84,15 @@ export const I18N_CHART_BUILDER_GENERAL_OPTIONS = {
80
84
  label: 'Label',
81
85
  order_chart_columns: 'Chart Columns',
82
86
  order_others_columns: 'Other Columns',
87
+ select_aggregate_placeholder: 'Select Aggregate',
83
88
  select_column_placeholder: 'Select Column',
84
- sort: 'Sort',
85
89
  sort_ascending: 'Sort Ascending',
86
90
  sort_by: 'Sort by',
87
91
  sort_descending: 'Sort Descending',
88
92
  sort_descending_a_to_z: 'A to Z',
89
93
  sort_descending_z_to_a: 'Z to A',
94
+ sort: 'Sort',
95
+ sorting_by_calculated_value: 'Sorting by Calculated Value',
90
96
  title: 'Sorting',
91
97
  value: 'Value',
92
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
- x_axis_title: 'X - Axis',
5
- y_axis_title: 'Y - Axis',
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
- data_labels_check: 'Data Labels',
10
+ bullet_color: 'Bullet Color',
10
11
  borders_check: 'Borders',
11
- shading_check: 'Shading',
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
- bullet_color: 'Bullet Color',
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
- custom_label: 'Label',
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
- custom_label_pleceholder: 'Custom label',
60
- values_check: 'Values',
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
- axis_format_title: 'Axis Format',
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
- min_range: 'Min Range',
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',
@@ -27,7 +27,7 @@ export const I18N_CHART_BUILDER_TIME_PERIOD = {
27
27
  time_period_custom_range: {
28
28
  before: 'Before',
29
29
  after: 'After',
30
- between: 'Rango',
30
+ between: 'Between',
31
31
  and: 'And',
32
32
  }
33
33
  };
@@ -30,6 +30,7 @@ export const I18N_COLUMN_PROPERTY_LABEL = {
30
30
  imageupload_filesize_label: COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGESIZE,
31
31
  imageupload_filetype_label: COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGETYPE,
32
32
  imageupload_analysis_label: COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGEWORDS,
33
+ imageupload_analysis_categories_label: COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGECATEGORY,
33
34
  expression_positive_label: COLUMN_PROPERTY_LABEL.EXPRESSION_POSITIVE,
34
35
  expression_negative_label: COLUMN_PROPERTY_LABEL.EXPRESSION_NEGATIVE,
35
36
  name_first_name_label: COLUMN_PROPERTY_LABEL.NAME_FIRST,
@@ -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
  };
@@ -4,8 +4,9 @@ export const I18N_FILTER_BUILDER = {
4
4
  apply_to: 'Apply to',
5
5
  cancel_button: 'Cancel',
6
6
  column_selector: {
7
- title: 'Column',
7
+ no_data_message: 'No Data Found',
8
8
  placeholder: 'Search or select a column to create filters',
9
+ title: 'Column',
9
10
  },
10
11
  divider_label: 'Is',
11
12
  error_messages: {
@@ -24,8 +25,8 @@ export const I18N_FILTER_BUILDER = {
24
25
  },
25
26
  info_container: {
26
27
  info: '<b>OR</b> logic is used for multiple values.',
27
- selected_label: 'selected of',
28
28
  loaded_label: 'loaded',
29
+ selected_label: 'selected of',
29
30
  },
30
31
  scopes: {
31
32
  global: FILTER_BUILDER_SCOPE_LABEL.GLOBAL,
@@ -1,10 +1,12 @@
1
1
  import { I18N_RELATIVE_CURSOR } from "./I18N_RELATIVE_CURSOR";
2
2
  export const I18N_RELATIVE_CONTAINER = {
3
- cursors: I18N_RELATIVE_CURSOR,
4
3
  calendar_date: 'Calendar dates',
5
4
  calendar_date_tooltip: 'The relative date range selected refers to the entire calendar entity (a whole week, month, year, etc.). <br/> Unchecking this option, the relative date range selected will be a rolling date.',
5
+ current_date: 'Current Date',
6
+ cursors: I18N_RELATIVE_CURSOR,
7
+ date_selected: 'Date Selected',
6
8
  starting_date: 'Include starting date',
7
9
  starting_date_tooltip: 'The relative date will include the specific starting date and a period of time to show from that date onwards (Inclusive range). <br/> Unchecking this option will exclude the chosen starting date (exclusive range) from the date range.',
8
10
  starting_from: 'Starting From',
9
- date_selected: 'Date Selected',
11
+ set_current_date: 'Set to current date',
10
12
  };
@@ -1,10 +1,11 @@
1
1
  export const I18N_VALUE_CONTAINER = {
2
+ no_label: 'No Label',
3
+ no_records_message: 'No records found',
2
4
  search_input: {
3
- placeholder: 'Search or type values separated by commas. Use {{ for tokens.',
4
5
  enter_value_first_label: "Press",
5
6
  enter_value_second_label: "Enter",
6
7
  enter_value_third_label: "to Insert",
8
+ placeholder: 'Search or type values separated by commas. Use {{ for tokens.',
7
9
  },
8
- no_label: 'No Label',
9
10
  select_all: 'Select All',
10
11
  };
@@ -82,22 +82,32 @@ export const I18N_PANEL = {
82
82
  },
83
83
  summary_views: {
84
84
  bar_chart: 'Bar Chart',
85
- metrics: 'Metrics',
86
- list_view: 'List View',
87
- fill_null: 'Fill / Null',
88
- wordcloud: 'Wordcloud',
89
- histogram: 'Histogram',
90
- pie_chart: 'Pie Chart',
91
- dot_map: 'Dot Map',
92
- bubble_view: 'Bubble',
93
85
  bubble_map: 'Bubble Map',
86
+ bubble_view: 'Bubble',
87
+ categories: 'Categories',
88
+ cluster_chart: 'Cluster Chart',
89
+ dot_map: 'Dot Map',
94
90
  entities: 'Entities',
91
+ fill_null: 'Fill / Null',
92
+ histogram: 'Histogram',
95
93
  keyphrases: 'Keyphrases',
94
+ list_view: 'List View',
95
+ metric_filled_in: 'Filled in',
96
+ metric_label_average: 'Average',
97
+ metric_label_count: 'Count',
98
+ metric_label_maximum: 'Maximum',
99
+ metric_label_minimum: 'Minimum',
100
+ metric_label_standar_desviation: 'Standard Deviation',
101
+ metric_label_sum: 'Sum',
102
+ metric_null: 'Null',
103
+ metrics: 'Metrics',
104
+ multiseries: 'Multiseries',
105
+ no_data_found_for_this_field: 'No data found for this field',
106
+ pie_chart: 'Pie Chart',
107
+ restore_panel: 'Restore panel',
96
108
  sentiment: 'Sentiment',
97
109
  starts: 'Stars',
98
- categories: 'Categories',
99
- multiseries: 'Multiseries',
100
- cluster_chart: 'Cluster Chart',
110
+ wordcloud: 'Wordcloud',
101
111
  },
102
112
  timeout_message: 'Calculating {{type}}. This process may take a while.',
103
113
  tooltips: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.2.9-3",
3
+ "version": "1.2.9-7",
4
4
  "description": "Helper, Utils for all Qrvey Projects",
5
5
  "homepage": "https://bitbucket.org/qrvey/qrvey_utils/wiki/Home",
6
6
  "main": "dist/index.js",
@@ -12,6 +12,7 @@ export 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
  }
@@ -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';
@@ -0,0 +1,3 @@
1
+ import { DATE_GROUPING_PROPERTY } from "../../constants/DATE_GROUPING_PROPERTY";
2
+
3
+ export type IRelativeUnit = keyof typeof DATE_GROUPING_PROPERTY;
@@ -0,0 +1,7 @@
1
+ import { IGeneralInfo } from "../../../interfaces/general/IGeneralInfo";
2
+ import { IDateGroupingProperty } from "../../interfaces/IDateGroupingProperty";
3
+
4
+
5
+ export interface IRelativeUnitInfo extends IGeneralInfo {
6
+ value: IDateGroupingProperty;
7
+ }
@@ -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)
@@ -1,7 +1,8 @@
1
1
  export interface II18nBucketBuilderMessages {
2
2
  added: string;
3
3
  bad_configuration_object: string;
4
- duplicated: string;
5
4
  deleted: string;
5
+ duplicated: string;
6
6
  edited: string;
7
+ insufficient_values: string;
7
8
  }