scheduler-node-models 1.0.8 → 1.0.9

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/general/report.js CHANGED
@@ -6,7 +6,7 @@ class Report {
6
6
  if (typeof col === 'string') {
7
7
  return `${col}${row}`;
8
8
  }
9
- const letters = 'ABCDEFGHIJKLMNOPQRSTUVWXVZ';
9
+ const letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
10
10
  if (col < letters.length) {
11
11
  return `${letters.substring(col, col + 1)}${row}`;
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scheduler-node-models",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "files": [
@@ -51,7 +51,7 @@ class ScheduleReport extends general_1.Report {
51
51
  this.styles.set(wc.id, style);
52
52
  }
53
53
  });
54
- this.styles.set('evenday', {
54
+ let style = {
55
55
  fill: { type: 'pattern', pattern: 'solid', fgColor: { argb: `ffc0c0c0` } },
56
56
  font: { bold: true, size: 11, color: { argb: `ff000000` } },
57
57
  alignment: { horizontal: 'center', vertical: 'middle', wrapText: true },
@@ -61,7 +61,8 @@ class ScheduleReport extends general_1.Report {
61
61
  bottom: { style: 'thin', color: { argb: 'ff000000' } },
62
62
  right: { style: 'thin', color: { argb: 'ff000000' } }
63
63
  }
64
- });
64
+ };
65
+ this.styles.set('evenday', style);
65
66
  this.styles.set('oddday', {
66
67
  fill: { type: 'pattern', pattern: 'solid', fgColor: { argb: `ffffffff` } },
67
68
  font: { bold: true, size: 11, color: { argb: `ff000000` } },