scheduler-node-models 1.0.30 → 1.0.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scheduler-node-models",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "files": [
@@ -86,6 +86,8 @@ class EnterpriseSchedule extends general_1.Report {
86
86
  verticalCentered: true
87
87
  }
88
88
  });
89
+ sheet.properties.defaultColWidth = 5.0;
90
+ sheet.properties.defaultRowHeight = 20;
89
91
  // set the widths of the columns: 1 = 17.0 and the rest are 4.0
90
92
  let current = new Date(startDate);
91
93
  sheet.getColumn(1).width = 17.0;
@@ -93,10 +95,6 @@ class EnterpriseSchedule extends general_1.Report {
93
95
  sheet.getColumn(current.getDate() + 1).width = 4.0;
94
96
  current = new Date(current.getTime() + (24 * 3600000));
95
97
  }
96
- // the first three rows have a height of 20
97
- for (let i = 1; i <= 3; i++) {
98
- sheet.getRow(i).height = 20;
99
- }
100
98
  // label the first three rows with data
101
99
  let style = {
102
100
  border: this.borders.get('blackthin'),