@qrvey/utils 1.5.0-4 → 1.5.0-5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.5.0-4*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.5.0-5*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -129,7 +129,7 @@ class DurationFormatter {
129
129
  return "";
130
130
  number *= this.numberFactor;
131
131
  const durationParts = this.parts.reduce((store, part) => {
132
- store[part.symbol] = number / part.ms;
132
+ store[part.symbol] = Math.floor(number / part.ms);
133
133
  number %= part.ms;
134
134
  return store;
135
135
  }, {});
@@ -12,4 +12,5 @@ export interface II18nPanelMenu {
12
12
  pdf: string;
13
13
  csv: string;
14
14
  csv_summary: string;
15
+ excel: string;
15
16
  }
@@ -9,6 +9,7 @@ export interface II18nStyleThemesTheme {
9
9
  edit_theme: string;
10
10
  generate_new: string;
11
11
  header_font_color: string;
12
+ header_main_color: string;
12
13
  id: string;
13
14
  legends: string;
14
15
  main_color: string;
@@ -218,8 +218,8 @@ exports.I18N_CHART_BUILDER_STYLE_OPTIONS = {
218
218
  border_outer: "Outer Borders",
219
219
  expandable_color: "Header Color",
220
220
  expandable_font_color: "Header Font Color",
221
- crosstab_color: "Header Color",
222
- crosstab_font_color: "Header Font Color",
221
+ crosstab_color: "BG Color",
222
+ crosstab_font_color: "Font Color",
223
223
  },
224
224
  table_body: {
225
225
  title: "Body",
@@ -44,6 +44,7 @@ exports.I18N_PANEL = {
44
44
  pdf: "PDF",
45
45
  csv: "CSV",
46
46
  csv_summary: "CSV-Summary",
47
+ excel: "Excel",
47
48
  },
48
49
  menu_options: {
49
50
  see_data: "See Data",
@@ -34,6 +34,7 @@ exports.I18N_STYLE_THEMES = {
34
34
  edit_theme: "Edit Theme",
35
35
  generate_new: "Generate New",
36
36
  header_font_color: "Header Font Color",
37
+ header_main_color: "Header BG Color",
37
38
  id: "ID",
38
39
  legends: "Legends",
39
40
  main_color: "Main Color",
@@ -126,7 +126,7 @@ export class DurationFormatter {
126
126
  return "";
127
127
  number *= this.numberFactor;
128
128
  const durationParts = this.parts.reduce((store, part) => {
129
- store[part.symbol] = number / part.ms;
129
+ store[part.symbol] = Math.floor(number / part.ms);
130
130
  number %= part.ms;
131
131
  return store;
132
132
  }, {});
@@ -12,4 +12,5 @@ export interface II18nPanelMenu {
12
12
  pdf: string;
13
13
  csv: string;
14
14
  csv_summary: string;
15
+ excel: string;
15
16
  }
@@ -9,6 +9,7 @@ export interface II18nStyleThemesTheme {
9
9
  edit_theme: string;
10
10
  generate_new: string;
11
11
  header_font_color: string;
12
+ header_main_color: string;
12
13
  id: string;
13
14
  legends: string;
14
15
  main_color: string;
@@ -215,8 +215,8 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS = {
215
215
  border_outer: "Outer Borders",
216
216
  expandable_color: "Header Color",
217
217
  expandable_font_color: "Header Font Color",
218
- crosstab_color: "Header Color",
219
- crosstab_font_color: "Header Font Color",
218
+ crosstab_color: "BG Color",
219
+ crosstab_font_color: "Font Color",
220
220
  },
221
221
  table_body: {
222
222
  title: "Body",
@@ -41,6 +41,7 @@ export const I18N_PANEL = {
41
41
  pdf: "PDF",
42
42
  csv: "CSV",
43
43
  csv_summary: "CSV-Summary",
44
+ excel: "Excel",
44
45
  },
45
46
  menu_options: {
46
47
  see_data: "See Data",
@@ -31,6 +31,7 @@ export const I18N_STYLE_THEMES = {
31
31
  edit_theme: "Edit Theme",
32
32
  generate_new: "Generate New",
33
33
  header_font_color: "Header Font Color",
34
+ header_main_color: "Header BG Color",
34
35
  id: "ID",
35
36
  legends: "Legends",
36
37
  main_color: "Main Color",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.5.0-4",
3
+ "version": "1.5.0-5",
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",