@harbortouch/skytab-analytics-report-utils 0.34.0 → 0.35.0

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.
@@ -3381,7 +3381,7 @@ var calculateReportTotals = (data, fieldConfig) => {
3381
3381
  const result = {};
3382
3382
  for (const [field, config] of Object.entries(fieldConfig)) {
3383
3383
  const total = getFooterValue(data, field, config);
3384
- result[field] = total ?? "";
3384
+ result[field] = total;
3385
3385
  }
3386
3386
  return result;
3387
3387
  };
@@ -3503,7 +3503,7 @@ var calculateReportTotals = (data, fieldConfig) => {
3503
3503
  const result = {};
3504
3504
  for (const [field, config] of Object.entries(fieldConfig)) {
3505
3505
  const total = getFooterValue(data, field, config);
3506
- result[field] = total ?? "";
3506
+ result[field] = total;
3507
3507
  }
3508
3508
  return result;
3509
3509
  };
@@ -7,7 +7,7 @@ import {
7
7
  getReportConfig,
8
8
  getReportFormattingLocaleOptions,
9
9
  resolveTranslate
10
- } from "../chunk-IDZ2K4TG.js";
10
+ } from "../chunk-ZE2ZAIMR.js";
11
11
 
12
12
  // src/exporters/exportBuilder.ts
13
13
  import { format, isValid, parseISO } from "date-fns";
package/dist/index.cjs CHANGED
@@ -3466,7 +3466,7 @@ var calculateReportTotals = (data, fieldConfig) => {
3466
3466
  const result = {};
3467
3467
  for (const [field, config] of Object.entries(fieldConfig)) {
3468
3468
  const total = getFooterValue(data, field, config);
3469
- result[field] = total ?? "";
3469
+ result[field] = total;
3470
3470
  }
3471
3471
  return result;
3472
3472
  };
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ import {
39
39
  ticketLiveConfig,
40
40
  ticketSummaryConfig,
41
41
  tipCashoutReconciliationConfig
42
- } from "./chunk-IDZ2K4TG.js";
42
+ } from "./chunk-ZE2ZAIMR.js";
43
43
 
44
44
  // src/utils/alignment.ts
45
45
  function getColumnAlignment(type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harbortouch/skytab-analytics-report-utils",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
4
4
  "description": "Centralized report column presentation configuration for SkyTab Analytics",
5
5
  "engines": {
6
6
  "node": ">=22.6.0",