@qrvey/utils 1.12.0-13 → 1.12.0-14

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 (69) hide show
  1. package/dist/cjs/globalization/interfaces/II18nResource.d.ts +2 -0
  2. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +9 -0
  3. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.d.ts +1 -0
  4. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +1 -0
  5. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardToast.d.ts +1 -0
  6. package/dist/cjs/globalization/interfaces/export/II18nExportingModal.d.ts +15 -0
  7. package/dist/cjs/globalization/interfaces/export/II18nExportingModal.js +2 -0
  8. package/dist/cjs/globalization/interfaces/export/II18nExportingModalApplyButtonLabel.d.ts +3 -0
  9. package/dist/cjs/globalization/interfaces/export/II18nExportingModalApplyButtonLabel.js +2 -0
  10. package/dist/cjs/globalization/interfaces/export/II18nExportingModalErrorMessages.d.ts +3 -0
  11. package/dist/cjs/globalization/interfaces/export/II18nExportingModalErrorMessages.js +2 -0
  12. package/dist/cjs/globalization/interfaces/export/II18nExportingModalRecurrence.d.ts +6 -0
  13. package/dist/cjs/globalization/interfaces/export/II18nExportingModalRecurrence.js +2 -0
  14. package/dist/cjs/globalization/interfaces/export/II18nExportingModalTimeStamp.d.ts +7 -0
  15. package/dist/cjs/globalization/interfaces/export/II18nExportingModalTimeStamp.js +2 -0
  16. package/dist/cjs/globalization/interfaces/export/index.d.ts +5 -0
  17. package/dist/cjs/globalization/interfaces/export/index.js +21 -0
  18. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionHour.d.ts +2 -0
  19. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionMillisecond.d.ts +5 -0
  20. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionMillisecond.js +2 -0
  21. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionText.d.ts +5 -0
  22. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionText.js +2 -0
  23. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2Functions.d.ts +4 -0
  24. package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +1 -0
  25. package/dist/cjs/globalization/labels/I18N_DEFAULT.js +2 -0
  26. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +1 -0
  27. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +9 -0
  28. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +2 -0
  29. package/dist/cjs/globalization/labels/export/I18N_EXPORT_MODAL.d.ts +5 -0
  30. package/dist/cjs/globalization/labels/export/I18N_EXPORT_MODAL.js +26 -0
  31. package/dist/cjs/globalization/labels/export/index.d.ts +1 -0
  32. package/dist/cjs/globalization/labels/export/index.js +17 -0
  33. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +18 -3
  34. package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +1 -0
  35. package/dist/globalization/interfaces/II18nResource.d.ts +2 -0
  36. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +9 -0
  37. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderChartNames.d.ts +1 -0
  38. package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +1 -0
  39. package/dist/globalization/interfaces/dashboard/II18nDashboardToast.d.ts +1 -0
  40. package/dist/globalization/interfaces/export/II18nExportingModal.d.ts +15 -0
  41. package/dist/globalization/interfaces/export/II18nExportingModal.js +1 -0
  42. package/dist/globalization/interfaces/export/II18nExportingModalApplyButtonLabel.d.ts +3 -0
  43. package/dist/globalization/interfaces/export/II18nExportingModalApplyButtonLabel.js +1 -0
  44. package/dist/globalization/interfaces/export/II18nExportingModalErrorMessages.d.ts +3 -0
  45. package/dist/globalization/interfaces/export/II18nExportingModalErrorMessages.js +1 -0
  46. package/dist/globalization/interfaces/export/II18nExportingModalRecurrence.d.ts +6 -0
  47. package/dist/globalization/interfaces/export/II18nExportingModalRecurrence.js +1 -0
  48. package/dist/globalization/interfaces/export/II18nExportingModalTimeStamp.d.ts +7 -0
  49. package/dist/globalization/interfaces/export/II18nExportingModalTimeStamp.js +1 -0
  50. package/dist/globalization/interfaces/export/index.d.ts +5 -0
  51. package/dist/globalization/interfaces/export/index.js +5 -0
  52. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionHour.d.ts +2 -0
  53. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionMillisecond.d.ts +5 -0
  54. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionMillisecond.js +1 -0
  55. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionText.d.ts +5 -0
  56. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionText.js +1 -0
  57. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2Functions.d.ts +4 -0
  58. package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +1 -0
  59. package/dist/globalization/labels/I18N_DEFAULT.js +2 -0
  60. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER.js +1 -0
  61. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +9 -0
  62. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +2 -0
  63. package/dist/globalization/labels/export/I18N_EXPORT_MODAL.d.ts +5 -0
  64. package/dist/globalization/labels/export/I18N_EXPORT_MODAL.js +23 -0
  65. package/dist/globalization/labels/export/index.d.ts +1 -0
  66. package/dist/globalization/labels/export/index.js +1 -0
  67. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +18 -3
  68. package/dist/globalization/labels/panel/I18N_PANEL.js +1 -0
  69. package/package.json +1 -1
@@ -12,12 +12,14 @@ import { II18nCrossTabs } from "./cross_tabs";
12
12
  import { II18nChartBuilder } from ".";
13
13
  import { II18nStyleThemes } from "./style_themes/II18nStyleThemes";
14
14
  import { II18nTabularView } from "./tabular_view/II18nTabularView";
15
+ import { I18nExportingModal } from "./export";
15
16
  export interface II18nResource {
16
17
  bucket_builder?: II18nBucketBuilder;
17
18
  chart_builder?: II18nChartBuilder;
18
19
  common?: II18nCommon;
19
20
  cross_tabs?: II18nCrossTabs;
20
21
  dashboard?: II18nDashboard;
22
+ exporting_modal?: I18nExportingModal;
21
23
  filter?: II18nFilter;
22
24
  filter_builder?: II18nFilterBuilder;
23
25
  filter_display?: II18nFilterDisplay;
@@ -8,6 +8,7 @@ export interface II18nChartBuilderAxisStyle {
8
8
  custom_axis_label: string;
9
9
  custom_label: string;
10
10
  custom_label_placeholder: string;
11
+ custom_rotation: string;
11
12
  end_date: string;
12
13
  format_title: string;
13
14
  include_starting: string;
@@ -26,6 +27,14 @@ export interface II18nChartBuilderAxisStyle {
26
27
  type_label: string;
27
28
  values_axis_check: string;
28
29
  values_check: string;
30
+ skip_labels_all_but_first_and_last: string;
31
+ skip_labels_all: string;
32
+ skip_labels_auto: string;
33
+ skip_labels_custom: string;
34
+ skip_labels_help: string;
35
+ skip_labels_none: string;
36
+ skip_labels_placeholder: string;
37
+ skip_labels: string;
29
38
  values_rotation: string;
30
39
  values_rotation_diagonal: string;
31
40
  values_rotation_horizontal: string;
@@ -8,6 +8,7 @@ export interface II18nChartBuilderChartNames {
8
8
  combo: string;
9
9
  funnel: string;
10
10
  pie: string;
11
+ summary: string;
11
12
  minmax: string;
12
13
  metric_indicator: string;
13
14
  metric_dial: string;
@@ -7,6 +7,7 @@ import { II18nDashboardViews } from "./II18nDashboardViews";
7
7
  export interface II18nDashboard {
8
8
  add_chart: II18nDashboardAddChart;
9
9
  export_csv: string;
10
+ export_in_progress: string;
10
11
  toast: II18nDashboardToast;
11
12
  tooltips: II18nDashboardTooltips;
12
13
  views: II18nDashboardViews;
@@ -4,5 +4,6 @@ export interface II18nDashboardToast {
4
4
  add_record_message: string;
5
5
  data_views_updated_message: string;
6
6
  failed_download: string;
7
+ successful_download: string;
7
8
  panels_loading: string;
8
9
  }
@@ -0,0 +1,15 @@
1
+ import { II18nExportingModalApplyButtonLabel } from "./II18nExportingModalApplyButtonLabel";
2
+ import { II18nExportingModalErrorMessages } from "./II18nExportingModalErrorMessages";
3
+ import { II18nExportingModalRecurrence } from "./II18nExportingModalRecurrence";
4
+ import { II18nExportingModalTimeStamp } from "./II18nExportingModalTimeStamp";
5
+ export interface I18nExportingModal {
6
+ apply_button_label: II18nExportingModalApplyButtonLabel;
7
+ cancel_button_label: string;
8
+ error_messages: II18nExportingModalErrorMessages;
9
+ file_name_label: string;
10
+ recurrence: II18nExportingModalRecurrence;
11
+ time_stamp: II18nExportingModalTimeStamp;
12
+ time_zone_label: string;
13
+ title_label: string;
14
+ uniqueness_concatenate: string;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface II18nExportingModalApplyButtonLabel {
2
+ export_now: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface II18nExportingModalErrorMessages {
2
+ special_characters: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface II18nExportingModalRecurrence {
2
+ label: string;
3
+ value: {
4
+ does_not_repeat: string;
5
+ };
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export interface II18nExportingModalTimeStamp {
2
+ label: string;
3
+ value: {
4
+ now_and_today: string;
5
+ };
6
+ none_label: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export * from "./II18nExportingModalApplyButtonLabel";
2
+ export * from "./II18nExportingModalRecurrence";
3
+ export * from "./II18nExportingModalTimeStamp";
4
+ export * from "./II18nExportingModalErrorMessages";
5
+ export * from "./II18nExportingModal";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./II18nExportingModalApplyButtonLabel"), exports);
18
+ __exportStar(require("./II18nExportingModalRecurrence"), exports);
19
+ __exportStar(require("./II18nExportingModalTimeStamp"), exports);
20
+ __exportStar(require("./II18nExportingModalErrorMessages"), exports);
21
+ __exportStar(require("./II18nExportingModal"), exports);
@@ -2,4 +2,6 @@ import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
2
  export interface II18nFormulaBuilderV2FunctionHour extends II18nFormulaBuilderFunction {
3
3
  param_date_value1_name: string;
4
4
  param_date_value1_description: string;
5
+ param_time_format_name: string;
6
+ param_time_format_description: string;
5
7
  }
@@ -0,0 +1,5 @@
1
+ import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
+ export interface II18nFormulaBuilderV2FunctionMillisecond extends II18nFormulaBuilderFunction {
3
+ param_date_value1_name: string;
4
+ param_date_value1_description: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
+ export interface II18nFormulaBuilderV2FunctionText extends II18nFormulaBuilderFunction {
3
+ param_num1_name: string;
4
+ param_num1_description: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -18,6 +18,7 @@ import { II18nFormulaBuilderV2FunctionLength } from "./II18nFormulaBuilderV2Func
18
18
  import { II18nFormulaBuilderV2FunctionLog } from "./II18nFormulaBuilderV2FunctionLog";
19
19
  import { II18nFormulaBuilderV2FunctionMax } from "./II18nFormulaBuilderV2FunctionMax";
20
20
  import { II18nFormulaBuilderV2FunctionMid } from "./II18nFormulaBuilderV2FunctionMid";
21
+ import { II18nFormulaBuilderV2FunctionMillisecond } from "./II18nFormulaBuilderV2FunctionMillisecond";
21
22
  import { II18nFormulaBuilderV2FunctionMinute } from "./II18nFormulaBuilderV2FunctionMinute";
22
23
  import { II18nFormulaBuilderV2FunctionMonth } from "./II18nFormulaBuilderV2FunctionMonth";
23
24
  import { II18nFormulaBuilderV2FunctionOdd } from "./II18nFormulaBuilderV2FunctionOdd";
@@ -26,6 +27,7 @@ import { II18nFormulaBuilderV2FunctionReplace } from "./II18nFormulaBuilderV2Fun
26
27
  import { II18nFormulaBuilderV2FunctionRound } from "./II18nFormulaBuilderV2FunctionRound";
27
28
  import { II18nFormulaBuilderV2FunctionSecond } from "./II18nFormulaBuilderV2FunctionSecond";
28
29
  import { II18nFormulaBuilderV2FunctionSqrt } from "./II18nFormulaBuilderV2FunctionSqrt";
30
+ import { II18nFormulaBuilderV2FunctionText } from "./II18nFormulaBuilderV2FunctionText";
29
31
  import { II18nFormulaBuilderV2FunctionTrim } from "./II18nFormulaBuilderV2FunctionTrim";
30
32
  import { II18nFormulaBuilderV2FunctionUpper } from "./II18nFormulaBuilderV2FunctionUpper";
31
33
  import { II18nFormulaBuilderV2FunctionYear } from "./II18nFormulaBuilderV2FunctionYear";
@@ -69,4 +71,6 @@ export interface II18nFormulaBuilderV2Functions {
69
71
  round: II18nFormulaBuilderV2FunctionRound;
70
72
  rounddown: II18nFormulaBuilderV2FunctionRound;
71
73
  roundup: II18nFormulaBuilderV2FunctionRound;
74
+ millisecond: II18nFormulaBuilderV2FunctionMillisecond;
75
+ text: II18nFormulaBuilderV2FunctionText;
72
76
  }
@@ -12,6 +12,7 @@ export interface II18nPanelErrors {
12
12
  missing_bucket_column: string;
13
13
  missing_formula_column: string;
14
14
  missing_linked_column: string;
15
+ missing_value: string;
15
16
  max_buckets_limit: string;
16
17
  no_data_found: string;
17
18
  no_features_found: string;
@@ -15,6 +15,7 @@ const I18N_TABULAR_VIEW_1 = require("./tabular_view/I18N_TABULAR_VIEW");
15
15
  const I18N_CROSS_TABS_1 = require("./cross_tabs/I18N_CROSS_TABS");
16
16
  const I18N_CHART_BUILDER_1 = require("./chart_builder/I18N_CHART_BUILDER");
17
17
  const I18N_STYLE_THEMES_1 = require("./style_themes/I18N_STYLE_THEMES");
18
+ const export_1 = require("./export");
18
19
  /**
19
20
  * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
20
21
  */
@@ -26,6 +27,7 @@ exports.I18N_DEFAULT = {
26
27
  dashboard: I18N_DASHBOARD_1.I18N_DASHBOARD,
27
28
  filter: I18N_FILTER_1.I18N_FILTER,
28
29
  filter_builder: I18N_FILTER_BUILDER_1.I18N_FILTER_BUILDER,
30
+ exporting_modal: export_1.EXPORTING_MODAL,
29
31
  filter_display: I18N_FILTER_DISPLAY_1.I18N_FILTER_DISPLAY,
30
32
  filter_panel: I18N_FILTER_PANEL_1.I18N_FILTER_PANEL,
31
33
  formula_builder: I18N_FORMULA_BUILDER_1.I18N_FORMULA_BUILDER,
@@ -51,6 +51,7 @@ exports.I18N_CHART_BUILDER = Object.assign(Object.assign(Object.assign(Object.as
51
51
  combo: "Combo",
52
52
  funnel: "Funnel",
53
53
  pie: "Pie",
54
+ summary: "Summary",
54
55
  minmax: "Min/Max",
55
56
  metric_indicator: "Indicator",
56
57
  metric_dial: "Dial",
@@ -86,6 +86,7 @@ exports.I18N_CHART_BUILDER_STYLE_OPTIONS = {
86
86
  custom_axis_label: "Axis Label",
87
87
  custom_label: "Label",
88
88
  custom_label_placeholder: "Type custom label",
89
+ custom_rotation: "Custom Rotation",
89
90
  end_date: "End Date",
90
91
  format_title: "Format",
91
92
  include_starting: "Include starting date",
@@ -104,6 +105,14 @@ exports.I18N_CHART_BUILDER_STYLE_OPTIONS = {
104
105
  type_label: "Type",
105
106
  values_axis_check: "Axis Values",
106
107
  values_check: "Value Labels",
108
+ skip_labels_all_but_first_and_last: "All but first and last",
109
+ skip_labels_all: "All",
110
+ skip_labels_auto: "Auto",
111
+ skip_labels_custom: "Custom",
112
+ skip_labels_help: "Set the number of labels to skip in between labels",
113
+ skip_labels_none: "None",
114
+ skip_labels_placeholder: "Auto",
115
+ skip_labels: "Skip Labels",
107
116
  values_rotation: "Values Rotation",
108
117
  values_rotation_diagonal: "Diagonal",
109
118
  values_rotation_horizontal: "Horizontal",
@@ -17,6 +17,7 @@ exports.I18N_DASHBOARD = {
17
17
  learn_more: "Learn more",
18
18
  },
19
19
  export_csv: "Export to CSV",
20
+ export_in_progress: "Export in progress...",
20
21
  messages: {
21
22
  dataset_not_available: "Dataset not available at the moment.",
22
23
  dataset_not_found: "Dataset not found.",
@@ -33,6 +34,7 @@ exports.I18N_DASHBOARD = {
33
34
  delete_record_message: "Record Successfully Deleted.",
34
35
  refresh_table_message: "Record Successfully Edited.",
35
36
  failed_download: "The file(s) could not be exported at this time.",
37
+ successful_download: "{{fileType}} exported",
36
38
  panels_loading: "Visualizations are currently loading. Try exporting again once all visualizations have loaded properly.",
37
39
  },
38
40
  tooltips: {
@@ -0,0 +1,5 @@
1
+ import { I18nExportingModal } from "../../interfaces/export";
2
+ /**
3
+ * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
4
+ */
5
+ export declare const EXPORTING_MODAL: I18nExportingModal;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EXPORTING_MODAL = void 0;
4
+ /**
5
+ * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
6
+ */
7
+ exports.EXPORTING_MODAL = {
8
+ apply_button_label: { export_now: "Export Now" },
9
+ cancel_button_label: "Cancel",
10
+ error_messages: {
11
+ special_characters: "Special characters are not allowed in file name.",
12
+ },
13
+ file_name_label: "File Name",
14
+ recurrence: {
15
+ label: "Recurrence",
16
+ value: { does_not_repeat: "Does not repeat" },
17
+ },
18
+ time_stamp: {
19
+ label: "Time and Date",
20
+ value: { now_and_today: "Now and Today" },
21
+ none_label: "None",
22
+ },
23
+ time_zone_label: "Time Zone",
24
+ title_label: "Export",
25
+ uniqueness_concatenate: "For Uniqueness Concatenate",
26
+ };
@@ -0,0 +1 @@
1
+ export * from "./I18N_EXPORT_MODAL";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./I18N_EXPORT_MODAL"), exports);
@@ -117,10 +117,12 @@ exports.I18N_FORMULA_BUILDER = {
117
117
  param_date_value1_description: 'It can be a column or a datetime value entered with a format of either "MM/DD/YYYY" or "MM/DD/YYYY HH:MM:SS".',
118
118
  },
119
119
  hour: {
120
- description: "Returns the hour of a datetime value. The hour is given as an integer ranging from 0 to 23.",
121
- function_placeholder: "HOUR(date_value1)",
120
+ description: "Returns the hour of a datetime value. The hour is given as an integer ranging from 0 to 23 or from 0 to 12 depending on the defined format.",
121
+ function_placeholder: "HOUR(date_value1,[time_format])",
122
122
  param_date_value1_name: "date_value1",
123
123
  param_date_value1_description: 'It can be a column or a datetime value entered with a format of either "MM/DD/YYYY" or "MM/DD/YYYY HH:MM:SS", datetime values without time will be assumed as 00:00:00.',
124
+ param_time_format_name: "time_format (optional)",
125
+ param_time_format_description: "if set to “24h“ it will return a number from 0 to 23, if set to “12h“ it will return a number from 1 to 12. If not set it will always return the hour in 24h format.",
124
126
  },
125
127
  minute: {
126
128
  description: "Returns the minute of a datetime value. The minute is given as an integer ranging from 0 to 59.",
@@ -360,6 +362,18 @@ exports.I18N_FORMULA_BUILDER = {
360
362
  param_digits_name: "digits",
361
363
  param_digits_description: "Number of decimal digits, up to 10 digits.",
362
364
  },
365
+ millisecond: {
366
+ description: "Returns the millisecond of a datetime value. The millisecond is given as an integer ranging from 0 to 999.",
367
+ function_placeholder: "MILLISECOND(date_value1)",
368
+ param_date_value1_name: "date_value1",
369
+ param_date_value1_description: 'It can be a column or a datetime value entered with a format of either "MM/DD/YYYY" or "MM/DD/YYYY HH:MM:SS", datetime values without time will be assumed as 00:00:00.',
370
+ },
371
+ text: {
372
+ description: "Transforms a number into a string.",
373
+ function_placeholder: "TEXT(num1)",
374
+ param_num1_name: "num1",
375
+ param_num1_description: "The number that you want to convert to text.",
376
+ },
363
377
  },
364
378
  editor: {
365
379
  error_messages: {
@@ -391,7 +405,7 @@ exports.I18N_FORMULA_BUILDER = {
391
405
  NOT_ALLOWED_OPERATION: "Expression not allowed. Allowed operators between {{i18n.function.expression.types}}: {{i18n.function.expression.operators}}",
392
406
  NOT_ALLOWED_OPERATION_DIFFERENT_TYPES: "Expression not allowed {{i18n.function.expression.value}}",
393
407
  NOT_ALLOWED_OPERATION_MISSING_OPERATOR: "Expression not allowed. Missing operator",
394
- INVALID_ALLOW_VALUE: "Argument {{i18n.function.argument.position}} has to be {{i18n.function.argument.allow_value}}",
408
+ INVALID_ALLOW_VALUE: "Argument {{i18n.function.argument.position}} has to be equal to {{i18n.function.argument.allow_value}}",
395
409
  MATCH_RANGE: "Argument {{i18n.function.argument.position}} has to be {{i18n.function.expression.dynamic}}",
396
410
  GREATER_THAN: "greater than {{i18n.function.argument.greater_than}}",
397
411
  LESS_THAN: "less than {{i18n.function.argument.less_than}}",
@@ -401,6 +415,7 @@ exports.I18N_FORMULA_BUILDER = {
401
415
  special_words: {
402
416
  and: "and",
403
417
  between: "between",
418
+ or: "or",
404
419
  },
405
420
  },
406
421
  },
@@ -27,6 +27,7 @@ exports.I18N_PANEL = {
27
27
  missing_bucket_column: "Missing bucket column.",
28
28
  missing_formula_column: "Missing formula column.",
29
29
  missing_linked_column: "Missing linked column.",
30
+ missing_value: "Missing Value.",
30
31
  no_data_found: "No data found.",
31
32
  no_features_found: "No location match",
32
33
  refresh_panel: "Refresh panel",
@@ -12,12 +12,14 @@ import { II18nCrossTabs } from "./cross_tabs";
12
12
  import { II18nChartBuilder } from ".";
13
13
  import { II18nStyleThemes } from "./style_themes/II18nStyleThemes";
14
14
  import { II18nTabularView } from "./tabular_view/II18nTabularView";
15
+ import { I18nExportingModal } from "./export";
15
16
  export interface II18nResource {
16
17
  bucket_builder?: II18nBucketBuilder;
17
18
  chart_builder?: II18nChartBuilder;
18
19
  common?: II18nCommon;
19
20
  cross_tabs?: II18nCrossTabs;
20
21
  dashboard?: II18nDashboard;
22
+ exporting_modal?: I18nExportingModal;
21
23
  filter?: II18nFilter;
22
24
  filter_builder?: II18nFilterBuilder;
23
25
  filter_display?: II18nFilterDisplay;
@@ -8,6 +8,7 @@ export interface II18nChartBuilderAxisStyle {
8
8
  custom_axis_label: string;
9
9
  custom_label: string;
10
10
  custom_label_placeholder: string;
11
+ custom_rotation: string;
11
12
  end_date: string;
12
13
  format_title: string;
13
14
  include_starting: string;
@@ -26,6 +27,14 @@ export interface II18nChartBuilderAxisStyle {
26
27
  type_label: string;
27
28
  values_axis_check: string;
28
29
  values_check: string;
30
+ skip_labels_all_but_first_and_last: string;
31
+ skip_labels_all: string;
32
+ skip_labels_auto: string;
33
+ skip_labels_custom: string;
34
+ skip_labels_help: string;
35
+ skip_labels_none: string;
36
+ skip_labels_placeholder: string;
37
+ skip_labels: string;
29
38
  values_rotation: string;
30
39
  values_rotation_diagonal: string;
31
40
  values_rotation_horizontal: string;
@@ -8,6 +8,7 @@ export interface II18nChartBuilderChartNames {
8
8
  combo: string;
9
9
  funnel: string;
10
10
  pie: string;
11
+ summary: string;
11
12
  minmax: string;
12
13
  metric_indicator: string;
13
14
  metric_dial: string;
@@ -7,6 +7,7 @@ import { II18nDashboardViews } from "./II18nDashboardViews";
7
7
  export interface II18nDashboard {
8
8
  add_chart: II18nDashboardAddChart;
9
9
  export_csv: string;
10
+ export_in_progress: string;
10
11
  toast: II18nDashboardToast;
11
12
  tooltips: II18nDashboardTooltips;
12
13
  views: II18nDashboardViews;
@@ -4,5 +4,6 @@ export interface II18nDashboardToast {
4
4
  add_record_message: string;
5
5
  data_views_updated_message: string;
6
6
  failed_download: string;
7
+ successful_download: string;
7
8
  panels_loading: string;
8
9
  }
@@ -0,0 +1,15 @@
1
+ import { II18nExportingModalApplyButtonLabel } from "./II18nExportingModalApplyButtonLabel";
2
+ import { II18nExportingModalErrorMessages } from "./II18nExportingModalErrorMessages";
3
+ import { II18nExportingModalRecurrence } from "./II18nExportingModalRecurrence";
4
+ import { II18nExportingModalTimeStamp } from "./II18nExportingModalTimeStamp";
5
+ export interface I18nExportingModal {
6
+ apply_button_label: II18nExportingModalApplyButtonLabel;
7
+ cancel_button_label: string;
8
+ error_messages: II18nExportingModalErrorMessages;
9
+ file_name_label: string;
10
+ recurrence: II18nExportingModalRecurrence;
11
+ time_stamp: II18nExportingModalTimeStamp;
12
+ time_zone_label: string;
13
+ title_label: string;
14
+ uniqueness_concatenate: string;
15
+ }
@@ -0,0 +1,3 @@
1
+ export interface II18nExportingModalApplyButtonLabel {
2
+ export_now: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface II18nExportingModalErrorMessages {
2
+ special_characters: string;
3
+ }
@@ -0,0 +1,6 @@
1
+ export interface II18nExportingModalRecurrence {
2
+ label: string;
3
+ value: {
4
+ does_not_repeat: string;
5
+ };
6
+ }
@@ -0,0 +1,7 @@
1
+ export interface II18nExportingModalTimeStamp {
2
+ label: string;
3
+ value: {
4
+ now_and_today: string;
5
+ };
6
+ none_label: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./II18nExportingModalApplyButtonLabel";
2
+ export * from "./II18nExportingModalRecurrence";
3
+ export * from "./II18nExportingModalTimeStamp";
4
+ export * from "./II18nExportingModalErrorMessages";
5
+ export * from "./II18nExportingModal";
@@ -0,0 +1,5 @@
1
+ export * from "./II18nExportingModalApplyButtonLabel";
2
+ export * from "./II18nExportingModalRecurrence";
3
+ export * from "./II18nExportingModalTimeStamp";
4
+ export * from "./II18nExportingModalErrorMessages";
5
+ export * from "./II18nExportingModal";
@@ -2,4 +2,6 @@ import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
2
  export interface II18nFormulaBuilderV2FunctionHour extends II18nFormulaBuilderFunction {
3
3
  param_date_value1_name: string;
4
4
  param_date_value1_description: string;
5
+ param_time_format_name: string;
6
+ param_time_format_description: string;
5
7
  }
@@ -0,0 +1,5 @@
1
+ import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
+ export interface II18nFormulaBuilderV2FunctionMillisecond extends II18nFormulaBuilderFunction {
3
+ param_date_value1_name: string;
4
+ param_date_value1_description: string;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
+ export interface II18nFormulaBuilderV2FunctionText extends II18nFormulaBuilderFunction {
3
+ param_num1_name: string;
4
+ param_num1_description: string;
5
+ }
@@ -18,6 +18,7 @@ import { II18nFormulaBuilderV2FunctionLength } from "./II18nFormulaBuilderV2Func
18
18
  import { II18nFormulaBuilderV2FunctionLog } from "./II18nFormulaBuilderV2FunctionLog";
19
19
  import { II18nFormulaBuilderV2FunctionMax } from "./II18nFormulaBuilderV2FunctionMax";
20
20
  import { II18nFormulaBuilderV2FunctionMid } from "./II18nFormulaBuilderV2FunctionMid";
21
+ import { II18nFormulaBuilderV2FunctionMillisecond } from "./II18nFormulaBuilderV2FunctionMillisecond";
21
22
  import { II18nFormulaBuilderV2FunctionMinute } from "./II18nFormulaBuilderV2FunctionMinute";
22
23
  import { II18nFormulaBuilderV2FunctionMonth } from "./II18nFormulaBuilderV2FunctionMonth";
23
24
  import { II18nFormulaBuilderV2FunctionOdd } from "./II18nFormulaBuilderV2FunctionOdd";
@@ -26,6 +27,7 @@ import { II18nFormulaBuilderV2FunctionReplace } from "./II18nFormulaBuilderV2Fun
26
27
  import { II18nFormulaBuilderV2FunctionRound } from "./II18nFormulaBuilderV2FunctionRound";
27
28
  import { II18nFormulaBuilderV2FunctionSecond } from "./II18nFormulaBuilderV2FunctionSecond";
28
29
  import { II18nFormulaBuilderV2FunctionSqrt } from "./II18nFormulaBuilderV2FunctionSqrt";
30
+ import { II18nFormulaBuilderV2FunctionText } from "./II18nFormulaBuilderV2FunctionText";
29
31
  import { II18nFormulaBuilderV2FunctionTrim } from "./II18nFormulaBuilderV2FunctionTrim";
30
32
  import { II18nFormulaBuilderV2FunctionUpper } from "./II18nFormulaBuilderV2FunctionUpper";
31
33
  import { II18nFormulaBuilderV2FunctionYear } from "./II18nFormulaBuilderV2FunctionYear";
@@ -69,4 +71,6 @@ export interface II18nFormulaBuilderV2Functions {
69
71
  round: II18nFormulaBuilderV2FunctionRound;
70
72
  rounddown: II18nFormulaBuilderV2FunctionRound;
71
73
  roundup: II18nFormulaBuilderV2FunctionRound;
74
+ millisecond: II18nFormulaBuilderV2FunctionMillisecond;
75
+ text: II18nFormulaBuilderV2FunctionText;
72
76
  }
@@ -12,6 +12,7 @@ export interface II18nPanelErrors {
12
12
  missing_bucket_column: string;
13
13
  missing_formula_column: string;
14
14
  missing_linked_column: string;
15
+ missing_value: string;
15
16
  max_buckets_limit: string;
16
17
  no_data_found: string;
17
18
  no_features_found: string;
@@ -12,6 +12,7 @@ import { I18N_TABULAR_VIEW } from "./tabular_view/I18N_TABULAR_VIEW";
12
12
  import { I18N_CROSS_TABS } from "./cross_tabs/I18N_CROSS_TABS";
13
13
  import { I18N_CHART_BUILDER } from "./chart_builder/I18N_CHART_BUILDER";
14
14
  import { I18N_STYLE_THEMES } from "./style_themes/I18N_STYLE_THEMES";
15
+ import { EXPORTING_MODAL } from "./export";
15
16
  /**
16
17
  * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
17
18
  */
@@ -23,6 +24,7 @@ export const I18N_DEFAULT = {
23
24
  dashboard: I18N_DASHBOARD,
24
25
  filter: I18N_FILTER,
25
26
  filter_builder: I18N_FILTER_BUILDER,
27
+ exporting_modal: EXPORTING_MODAL,
26
28
  filter_display: I18N_FILTER_DISPLAY,
27
29
  filter_panel: I18N_FILTER_PANEL,
28
30
  formula_builder: I18N_FORMULA_BUILDER,
@@ -48,6 +48,7 @@ export const I18N_CHART_BUILDER = Object.assign(Object.assign(Object.assign(Obje
48
48
  combo: "Combo",
49
49
  funnel: "Funnel",
50
50
  pie: "Pie",
51
+ summary: "Summary",
51
52
  minmax: "Min/Max",
52
53
  metric_indicator: "Indicator",
53
54
  metric_dial: "Dial",
@@ -83,6 +83,7 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS = {
83
83
  custom_axis_label: "Axis Label",
84
84
  custom_label: "Label",
85
85
  custom_label_placeholder: "Type custom label",
86
+ custom_rotation: "Custom Rotation",
86
87
  end_date: "End Date",
87
88
  format_title: "Format",
88
89
  include_starting: "Include starting date",
@@ -101,6 +102,14 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS = {
101
102
  type_label: "Type",
102
103
  values_axis_check: "Axis Values",
103
104
  values_check: "Value Labels",
105
+ skip_labels_all_but_first_and_last: "All but first and last",
106
+ skip_labels_all: "All",
107
+ skip_labels_auto: "Auto",
108
+ skip_labels_custom: "Custom",
109
+ skip_labels_help: "Set the number of labels to skip in between labels",
110
+ skip_labels_none: "None",
111
+ skip_labels_placeholder: "Auto",
112
+ skip_labels: "Skip Labels",
104
113
  values_rotation: "Values Rotation",
105
114
  values_rotation_diagonal: "Diagonal",
106
115
  values_rotation_horizontal: "Horizontal",
@@ -14,6 +14,7 @@ export const I18N_DASHBOARD = {
14
14
  learn_more: "Learn more",
15
15
  },
16
16
  export_csv: "Export to CSV",
17
+ export_in_progress: "Export in progress...",
17
18
  messages: {
18
19
  dataset_not_available: "Dataset not available at the moment.",
19
20
  dataset_not_found: "Dataset not found.",
@@ -30,6 +31,7 @@ export const I18N_DASHBOARD = {
30
31
  delete_record_message: "Record Successfully Deleted.",
31
32
  refresh_table_message: "Record Successfully Edited.",
32
33
  failed_download: "The file(s) could not be exported at this time.",
34
+ successful_download: "{{fileType}} exported",
33
35
  panels_loading: "Visualizations are currently loading. Try exporting again once all visualizations have loaded properly.",
34
36
  },
35
37
  tooltips: {
@@ -0,0 +1,5 @@
1
+ import { I18nExportingModal } from "../../interfaces/export";
2
+ /**
3
+ * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
4
+ */
5
+ export declare const EXPORTING_MODAL: I18nExportingModal;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @deprecated since version 1.12.0; Qrvey version 8.3. Those default poroperties will be replaced by Qrvey Globalization JSON
3
+ */
4
+ export const EXPORTING_MODAL = {
5
+ apply_button_label: { export_now: "Export Now" },
6
+ cancel_button_label: "Cancel",
7
+ error_messages: {
8
+ special_characters: "Special characters are not allowed in file name.",
9
+ },
10
+ file_name_label: "File Name",
11
+ recurrence: {
12
+ label: "Recurrence",
13
+ value: { does_not_repeat: "Does not repeat" },
14
+ },
15
+ time_stamp: {
16
+ label: "Time and Date",
17
+ value: { now_and_today: "Now and Today" },
18
+ none_label: "None",
19
+ },
20
+ time_zone_label: "Time Zone",
21
+ title_label: "Export",
22
+ uniqueness_concatenate: "For Uniqueness Concatenate",
23
+ };
@@ -0,0 +1 @@
1
+ export * from "./I18N_EXPORT_MODAL";
@@ -0,0 +1 @@
1
+ export * from "./I18N_EXPORT_MODAL";
@@ -114,10 +114,12 @@ export const I18N_FORMULA_BUILDER = {
114
114
  param_date_value1_description: 'It can be a column or a datetime value entered with a format of either "MM/DD/YYYY" or "MM/DD/YYYY HH:MM:SS".',
115
115
  },
116
116
  hour: {
117
- description: "Returns the hour of a datetime value. The hour is given as an integer ranging from 0 to 23.",
118
- function_placeholder: "HOUR(date_value1)",
117
+ description: "Returns the hour of a datetime value. The hour is given as an integer ranging from 0 to 23 or from 0 to 12 depending on the defined format.",
118
+ function_placeholder: "HOUR(date_value1,[time_format])",
119
119
  param_date_value1_name: "date_value1",
120
120
  param_date_value1_description: 'It can be a column or a datetime value entered with a format of either "MM/DD/YYYY" or "MM/DD/YYYY HH:MM:SS", datetime values without time will be assumed as 00:00:00.',
121
+ param_time_format_name: "time_format (optional)",
122
+ param_time_format_description: "if set to “24h“ it will return a number from 0 to 23, if set to “12h“ it will return a number from 1 to 12. If not set it will always return the hour in 24h format.",
121
123
  },
122
124
  minute: {
123
125
  description: "Returns the minute of a datetime value. The minute is given as an integer ranging from 0 to 59.",
@@ -357,6 +359,18 @@ export const I18N_FORMULA_BUILDER = {
357
359
  param_digits_name: "digits",
358
360
  param_digits_description: "Number of decimal digits, up to 10 digits.",
359
361
  },
362
+ millisecond: {
363
+ description: "Returns the millisecond of a datetime value. The millisecond is given as an integer ranging from 0 to 999.",
364
+ function_placeholder: "MILLISECOND(date_value1)",
365
+ param_date_value1_name: "date_value1",
366
+ param_date_value1_description: 'It can be a column or a datetime value entered with a format of either "MM/DD/YYYY" or "MM/DD/YYYY HH:MM:SS", datetime values without time will be assumed as 00:00:00.',
367
+ },
368
+ text: {
369
+ description: "Transforms a number into a string.",
370
+ function_placeholder: "TEXT(num1)",
371
+ param_num1_name: "num1",
372
+ param_num1_description: "The number that you want to convert to text.",
373
+ },
360
374
  },
361
375
  editor: {
362
376
  error_messages: {
@@ -388,7 +402,7 @@ export const I18N_FORMULA_BUILDER = {
388
402
  NOT_ALLOWED_OPERATION: "Expression not allowed. Allowed operators between {{i18n.function.expression.types}}: {{i18n.function.expression.operators}}",
389
403
  NOT_ALLOWED_OPERATION_DIFFERENT_TYPES: "Expression not allowed {{i18n.function.expression.value}}",
390
404
  NOT_ALLOWED_OPERATION_MISSING_OPERATOR: "Expression not allowed. Missing operator",
391
- INVALID_ALLOW_VALUE: "Argument {{i18n.function.argument.position}} has to be {{i18n.function.argument.allow_value}}",
405
+ INVALID_ALLOW_VALUE: "Argument {{i18n.function.argument.position}} has to be equal to {{i18n.function.argument.allow_value}}",
392
406
  MATCH_RANGE: "Argument {{i18n.function.argument.position}} has to be {{i18n.function.expression.dynamic}}",
393
407
  GREATER_THAN: "greater than {{i18n.function.argument.greater_than}}",
394
408
  LESS_THAN: "less than {{i18n.function.argument.less_than}}",
@@ -398,6 +412,7 @@ export const I18N_FORMULA_BUILDER = {
398
412
  special_words: {
399
413
  and: "and",
400
414
  between: "between",
415
+ or: "or",
401
416
  },
402
417
  },
403
418
  },
@@ -24,6 +24,7 @@ export const I18N_PANEL = {
24
24
  missing_bucket_column: "Missing bucket column.",
25
25
  missing_formula_column: "Missing formula column.",
26
26
  missing_linked_column: "Missing linked column.",
27
+ missing_value: "Missing Value.",
27
28
  no_data_found: "No data found.",
28
29
  no_features_found: "No location match",
29
30
  refresh_panel: "Refresh panel",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.12.0-13",
3
+ "version": "1.12.0-14",
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",