@qrvey/utils 1.11.0 → 1.11.1

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.
@@ -4,10 +4,13 @@ export interface II18nChartBuilderAxisStyle {
4
4
  axis_position_left: string;
5
5
  axis_position_primary_axis: string;
6
6
  axis_position_right: string;
7
+ calendar_dates: string;
7
8
  custom_axis_label: string;
8
9
  custom_label: string;
9
10
  custom_label_placeholder: string;
11
+ end_date: string;
10
12
  format_title: string;
13
+ include_starting: string;
11
14
  max_range: string;
12
15
  max_range_placeholder: string;
13
16
  min_range: string;
@@ -17,6 +20,7 @@ export interface II18nChartBuilderAxisStyle {
17
20
  scale_type_linear: string;
18
21
  scale_type_logarithm: string;
19
22
  scale_type_placeholder: string;
23
+ start_date: string;
20
24
  steps: string;
21
25
  steps_placeholder: string;
22
26
  type_label: string;
@@ -0,0 +1,8 @@
1
+ export interface II18nRelativeDates {
2
+ auto: string;
3
+ current_date: string;
4
+ fixed: string;
5
+ in_this: string;
6
+ the_last: string;
7
+ the_next: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,4 +7,10 @@ export interface II18nUnits {
7
7
  second: string;
8
8
  week: string;
9
9
  year: string;
10
+ auto: string;
11
+ current_date: string;
12
+ fixed: string;
13
+ in_this: string;
14
+ the_last: string;
15
+ the_next: string;
10
16
  }
@@ -79,10 +79,13 @@ exports.I18N_CHART_BUILDER_STYLE_OPTIONS = {
79
79
  axis_position_left: "Left",
80
80
  axis_position_primary_axis: "Use Primary Axis",
81
81
  axis_position_right: "Right",
82
+ calendar_dates: "Calendar dates",
82
83
  custom_axis_label: "Axis Label",
83
84
  custom_label: "Label",
84
85
  custom_label_placeholder: "Type custom label",
86
+ end_date: "End Date",
85
87
  format_title: "Format",
88
+ include_starting: "Include starting date",
86
89
  max_range: "Max Range",
87
90
  max_range_placeholder: "Auto",
88
91
  min_range: "Min Range",
@@ -92,6 +95,7 @@ exports.I18N_CHART_BUILDER_STYLE_OPTIONS = {
92
95
  scale_type_linear: "Linear",
93
96
  scale_type_logarithm: "Logarithm",
94
97
  scale_type_placeholder: "Select color type",
98
+ start_date: "Start Date",
95
99
  steps: "Steps",
96
100
  steps_placeholder: "Auto",
97
101
  type_label: "Type",
@@ -8,6 +8,7 @@ const I18N_COLUMN_LABEL_1 = require("./I18N_COLUMN_LABEL");
8
8
  const I18N_COLUMN_PROPERTY_LABEL_1 = require("./I18N_COLUMN_PROPERTY_LABEL");
9
9
  const I18N_DATE_GROUPING_1 = require("./I18N_DATE_GROUPING");
10
10
  const I18N_DAY_NAMES_1 = require("./I18N_DAY_NAMES");
11
+ const I18N_RELATIVE_DATES_1 = require("./I18N_RELATIVE_DATES");
11
12
  exports.I18N_COMMON = {
12
13
  aggregates: "Aggregates",
13
14
  aggregate_labels: I18N_AGGREGATE_LABEL_1.I18N_AGGREGATE_LABEL,
@@ -38,14 +39,5 @@ exports.I18N_COMMON = {
38
39
  tokens: "Show Internationalization Labels",
39
40
  },
40
41
  },
41
- units: {
42
- day: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.DAY.label,
43
- hour: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.HOUR.label,
44
- minute: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.MINUTE.label,
45
- month: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.MONTH.label,
46
- quarter: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.QUARTER.label,
47
- second: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.SECOND.label,
48
- week: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.WEEK.label,
49
- year: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.YEAR.label,
50
- },
42
+ units: Object.assign({ day: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.DAY.label, hour: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.HOUR.label, minute: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.MINUTE.label, month: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.MONTH.label, quarter: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.QUARTER.label, second: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.SECOND.label, week: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.WEEK.label, year: RELATIVE_UNIT_INFO_1.RELATIVE_UNIT_INFO.YEAR.label }, I18N_RELATIVE_DATES_1.I18N_RELATIVE_DATES),
51
43
  };
@@ -0,0 +1,2 @@
1
+ import { II18nRelativeDates } from "../../interfaces/common/II18nRelativeDates";
2
+ export declare const I18N_RELATIVE_DATES: II18nRelativeDates;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.I18N_RELATIVE_DATES = void 0;
4
+ exports.I18N_RELATIVE_DATES = {
5
+ auto: "Auto",
6
+ current_date: "Current Date",
7
+ fixed: "Fixed",
8
+ in_this: "In This",
9
+ the_last: "The Last",
10
+ the_next: "The Next",
11
+ };
@@ -4,10 +4,13 @@ export interface II18nChartBuilderAxisStyle {
4
4
  axis_position_left: string;
5
5
  axis_position_primary_axis: string;
6
6
  axis_position_right: string;
7
+ calendar_dates: string;
7
8
  custom_axis_label: string;
8
9
  custom_label: string;
9
10
  custom_label_placeholder: string;
11
+ end_date: string;
10
12
  format_title: string;
13
+ include_starting: string;
11
14
  max_range: string;
12
15
  max_range_placeholder: string;
13
16
  min_range: string;
@@ -17,6 +20,7 @@ export interface II18nChartBuilderAxisStyle {
17
20
  scale_type_linear: string;
18
21
  scale_type_logarithm: string;
19
22
  scale_type_placeholder: string;
23
+ start_date: string;
20
24
  steps: string;
21
25
  steps_placeholder: string;
22
26
  type_label: string;
@@ -0,0 +1,8 @@
1
+ export interface II18nRelativeDates {
2
+ auto: string;
3
+ current_date: string;
4
+ fixed: string;
5
+ in_this: string;
6
+ the_last: string;
7
+ the_next: string;
8
+ }
@@ -7,4 +7,10 @@ export interface II18nUnits {
7
7
  second: string;
8
8
  week: string;
9
9
  year: string;
10
+ auto: string;
11
+ current_date: string;
12
+ fixed: string;
13
+ in_this: string;
14
+ the_last: string;
15
+ the_next: string;
10
16
  }
@@ -76,10 +76,13 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS = {
76
76
  axis_position_left: "Left",
77
77
  axis_position_primary_axis: "Use Primary Axis",
78
78
  axis_position_right: "Right",
79
+ calendar_dates: "Calendar dates",
79
80
  custom_axis_label: "Axis Label",
80
81
  custom_label: "Label",
81
82
  custom_label_placeholder: "Type custom label",
83
+ end_date: "End Date",
82
84
  format_title: "Format",
85
+ include_starting: "Include starting date",
83
86
  max_range: "Max Range",
84
87
  max_range_placeholder: "Auto",
85
88
  min_range: "Min Range",
@@ -89,6 +92,7 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS = {
89
92
  scale_type_linear: "Linear",
90
93
  scale_type_logarithm: "Logarithm",
91
94
  scale_type_placeholder: "Select color type",
95
+ start_date: "Start Date",
92
96
  steps: "Steps",
93
97
  steps_placeholder: "Auto",
94
98
  type_label: "Type",
@@ -5,6 +5,7 @@ import { I18N_COLUMN_LABEL } from "./I18N_COLUMN_LABEL";
5
5
  import { I18N_COLUMN_PROPERTY_LABEL } from "./I18N_COLUMN_PROPERTY_LABEL";
6
6
  import { I18N_DATE_GROUPING } from "./I18N_DATE_GROUPING";
7
7
  import { I18N_DAY_NAMES } from "./I18N_DAY_NAMES";
8
+ import { I18N_RELATIVE_DATES } from "./I18N_RELATIVE_DATES";
8
9
  export const I18N_COMMON = {
9
10
  aggregates: "Aggregates",
10
11
  aggregate_labels: I18N_AGGREGATE_LABEL,
@@ -35,14 +36,5 @@ export const I18N_COMMON = {
35
36
  tokens: "Show Internationalization Labels",
36
37
  },
37
38
  },
38
- units: {
39
- day: RELATIVE_UNIT_INFO.DAY.label,
40
- hour: RELATIVE_UNIT_INFO.HOUR.label,
41
- minute: RELATIVE_UNIT_INFO.MINUTE.label,
42
- month: RELATIVE_UNIT_INFO.MONTH.label,
43
- quarter: RELATIVE_UNIT_INFO.QUARTER.label,
44
- second: RELATIVE_UNIT_INFO.SECOND.label,
45
- week: RELATIVE_UNIT_INFO.WEEK.label,
46
- year: RELATIVE_UNIT_INFO.YEAR.label,
47
- },
39
+ units: Object.assign({ day: RELATIVE_UNIT_INFO.DAY.label, hour: RELATIVE_UNIT_INFO.HOUR.label, minute: RELATIVE_UNIT_INFO.MINUTE.label, month: RELATIVE_UNIT_INFO.MONTH.label, quarter: RELATIVE_UNIT_INFO.QUARTER.label, second: RELATIVE_UNIT_INFO.SECOND.label, week: RELATIVE_UNIT_INFO.WEEK.label, year: RELATIVE_UNIT_INFO.YEAR.label }, I18N_RELATIVE_DATES),
48
40
  };
@@ -0,0 +1,2 @@
1
+ import { II18nRelativeDates } from "../../interfaces/common/II18nRelativeDates";
2
+ export declare const I18N_RELATIVE_DATES: II18nRelativeDates;
@@ -0,0 +1,8 @@
1
+ export const I18N_RELATIVE_DATES = {
2
+ auto: "Auto",
3
+ current_date: "Current Date",
4
+ fixed: "Fixed",
5
+ in_this: "In This",
6
+ the_last: "The Last",
7
+ the_next: "The Next",
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
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",