scheduler-node-models 1.0.127 → 1.0.129

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.127",
3
+ "version": "1.0.129",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "files": [
@@ -103,6 +103,12 @@ class ChargeStatusReport extends general_1.Report {
103
103
  bottom: { style: 'thin', color: { argb: 'ff000000' } },
104
104
  right: { style: 'thin', color: { argb: 'ff000000' } }
105
105
  });
106
+ this.borders.set('blacktotal', {
107
+ top: { style: 'double', color: { argb: 'ff000000' } },
108
+ left: { style: 'thin', color: { argb: 'ff000000' } },
109
+ bottom: { style: 'thin', color: { argb: 'ff000000' } },
110
+ right: { style: 'thick', color: { argb: 'ff000000' } }
111
+ });
106
112
  this.borders.set('blackthinNoRight', {
107
113
  top: { style: 'thin', color: { argb: 'ff000000' } },
108
114
  left: { style: 'thin', color: { argb: 'ff000000' } },
@@ -234,7 +240,6 @@ class ChargeStatusReport extends general_1.Report {
234
240
  columns = 11;
235
241
  report.periods.forEach(period => {
236
242
  columns++;
237
- sheet.getColumn(columns).outlineLevel = 0;
238
243
  style = {
239
244
  fill: this.fills.get('white'),
240
245
  font: this.fonts.get('bold14'),
@@ -273,7 +278,6 @@ class ChargeStatusReport extends general_1.Report {
273
278
  this.setCell(sheet, cellID, cellID, dtStyle, dFormat.format(prd));
274
279
  cellID = this.getCellID(columns + p + 1, 4);
275
280
  this.setCell(sheet, cellID, cellID, wkStyle, `Week ${p + 1}`);
276
- sheet.getColumn(columns + p + 1).outlineLevel = 1;
277
281
  });
278
282
  columns += period.periods.length;
279
283
  });
@@ -321,7 +325,7 @@ class ChargeStatusReport extends general_1.Report {
321
325
  fill: this.fills.get('dkblush'),
322
326
  font: this.fonts.get('bold12'),
323
327
  alignment: this.alignments.get('center'),
324
- border: this.borders.get('blackthin'),
328
+ border: this.borders.get('blacktotal'),
325
329
  numFmt: this.numformats.get('monthsum')
326
330
  };
327
331
  column++;
@@ -334,7 +338,7 @@ class ChargeStatusReport extends general_1.Report {
334
338
  fill: this.fills.get('ltgray'),
335
339
  font: this.fonts.get('bold12'),
336
340
  alignment: this.alignments.get('center'),
337
- border: this.borders.get('blackthin'),
341
+ border: this.borders.get('blacktotal'),
338
342
  numFmt: this.numformats.get('sum')
339
343
  };
340
344
  formula = `SUM(${this.getCellID(column, 5)}:${this.getCellID(column, row)})`;
@@ -347,7 +351,7 @@ class ChargeStatusReport extends general_1.Report {
347
351
  fill: this.fills.get('dkblush'),
348
352
  font: this.fonts.get('bold12'),
349
353
  alignment: this.alignments.get('center'),
350
- border: this.borders.get('blackthin'),
354
+ border: this.borders.get('blacktotal'),
351
355
  numFmt: this.numformats.get('monthsum')
352
356
  };
353
357
  formula = `SUM(${this.getCellID(column, 5)}:${this.getCellID(column, row)})`;