@cellaware/utils 8.3.18 → 8.3.20

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.
@@ -780,7 +780,7 @@ function processHtmlStyles(value, columnFormat, rowStyles, columnStyles) {
780
780
  columnStyles.push(columnStyle);
781
781
  return [rowStyles, columnStyles];
782
782
  }
783
- function buildHtmlHeader(columnNames) {
783
+ function buildHtmlTableHeader(columnNames) {
784
784
  let buf = '<table>\n\t<thead>\n\t\t<tr>';
785
785
  for (const columnName of columnNames) {
786
786
  buf += `\n\t\t\t<th>${columnName}</th>`;
@@ -789,6 +789,9 @@ function buildHtmlHeader(columnNames) {
789
789
  buf += '\n\t<tbody>';
790
790
  return buf;
791
791
  }
792
+ function buildHtmlTableFooter() {
793
+ return '\n\t</tbody>\n</table>';
794
+ }
792
795
  function buildHtmlRow(rowValues, rowStyles, columnStyles) {
793
796
  let buf = '';
794
797
  // Apply row styles.
@@ -933,5 +936,10 @@ export function transformDatagrid(rows, datagridState, locale, condition) {
933
936
  rows = evaluateDatagridCondition(rows, condition);
934
937
  }
935
938
  }
936
- return { ...datagridState, adjRowData: rows, chartRowData, html: `${buildHtmlHeader(htmlColumnNames)}${htmlBuf}` };
939
+ return {
940
+ ...datagridState,
941
+ adjRowData: rows,
942
+ chartRowData,
943
+ html: `${buildHtmlTableHeader(htmlColumnNames)}${htmlBuf}${buildHtmlTableFooter()}`
944
+ };
937
945
  }
@@ -93,6 +93,7 @@ export interface ReportSchedule {
93
93
  additionalEmails?: string[];
94
94
  clientId: string;
95
95
  userId: string;
96
+ userDetails: string;
96
97
  }
97
98
  export declare function initReportSchedule(): ReportSchedule;
98
99
  export interface InstanceReportSchedule {
@@ -42,6 +42,7 @@ export function initReportSchedule() {
42
42
  additionalEmails: [],
43
43
  // subscriptions: [],
44
44
  clientId: '',
45
- userId: ''
45
+ userId: '',
46
+ userDetails: ''
46
47
  };
47
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "8.3.18",
3
+ "version": "8.3.20",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",