@harbortouch/skytab-analytics-report-utils 0.22.0 → 0.22.1

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.
@@ -3226,7 +3226,6 @@ var filterCrowdin = (messages) => Object.fromEntries(
3226
3226
  Object.entries(messages).filter((entry) => typeof entry[1] === "string")
3227
3227
  );
3228
3228
  var LOCALE_OVERRIDES = {
3229
- "en-US": {},
3230
3229
  "en-GB": filterCrowdin(en_GB_default),
3231
3230
  "es-ES": filterCrowdin(es_ES_default)
3232
3231
  };
@@ -1490,7 +1490,6 @@ var filterCrowdin = (messages) => Object.fromEntries(
1490
1490
  Object.entries(messages).filter((entry) => typeof entry[1] === "string")
1491
1491
  );
1492
1492
  var LOCALE_OVERRIDES = {
1493
- "en-US": {},
1494
1493
  "en-GB": filterCrowdin(en_GB_default),
1495
1494
  "es-ES": filterCrowdin(es_ES_default)
1496
1495
  };
@@ -6,7 +6,7 @@ import {
6
6
  getReportConfig,
7
7
  getReportFormattingLocaleOptions,
8
8
  resolveTranslate
9
- } from "../chunk-2UW4QVTT.js";
9
+ } from "../chunk-SYR6AX24.js";
10
10
 
11
11
  // src/exporters/exportBuilder.ts
12
12
  import { format, isValid, parseISO } from "date-fns";
package/dist/index.cjs CHANGED
@@ -3462,7 +3462,6 @@ var filterCrowdin = (messages) => Object.fromEntries(
3462
3462
  Object.entries(messages).filter((entry) => typeof entry[1] === "string")
3463
3463
  );
3464
3464
  var LOCALE_OVERRIDES = {
3465
- "en-US": {},
3466
3465
  "en-GB": filterCrowdin(en_GB_default),
3467
3466
  "es-ES": filterCrowdin(es_ES_default)
3468
3467
  };
package/dist/index.d.cts CHANGED
@@ -1,7 +1,8 @@
1
1
  import { M as MessageKey, F as FieldType, C as ColumnAlignment, a as ColumnPresentationConfig, b as ColumnGroupConfig, R as ReportType, c as ReportConfig, d as ReportColumnKey } from './report-DklnjPk7.cjs';
2
2
  export { e as COLUMN_REGISTRY, f as ColumnMessageKey, g as ColumnMetadata, h as FooterCalculation, i as FooterCalculationType, j as Report, k as getColumnExportHeaderLabel, l as getColumnMetadata, m as getReportConfig, n as getReportExportFileName } from './report-DklnjPk7.cjs';
3
+ import { LocaleCode } from '@harbortouch/locale-registry';
3
4
 
4
- type SupportedLocale = 'en-US' | 'en-GB' | 'es-ES';
5
+ type SupportedLocale = LocaleCode;
5
6
  declare function resolveTranslate(key: MessageKey, locale: string): string;
6
7
 
7
8
  declare function getColumnAlignment(type?: FieldType): ColumnAlignment;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  import { M as MessageKey, F as FieldType, C as ColumnAlignment, a as ColumnPresentationConfig, b as ColumnGroupConfig, R as ReportType, c as ReportConfig, d as ReportColumnKey } from './report-DklnjPk7.js';
2
2
  export { e as COLUMN_REGISTRY, f as ColumnMessageKey, g as ColumnMetadata, h as FooterCalculation, i as FooterCalculationType, j as Report, k as getColumnExportHeaderLabel, l as getColumnMetadata, m as getReportConfig, n as getReportExportFileName } from './report-DklnjPk7.js';
3
+ import { LocaleCode } from '@harbortouch/locale-registry';
3
4
 
4
- type SupportedLocale = 'en-US' | 'en-GB' | 'es-ES';
5
+ type SupportedLocale = LocaleCode;
5
6
  declare function resolveTranslate(key: MessageKey, locale: string): string;
6
7
 
7
8
  declare function getColumnAlignment(type?: FieldType): ColumnAlignment;
package/dist/index.js CHANGED
@@ -37,7 +37,7 @@ import {
37
37
  salesSummaryConfig,
38
38
  ticketLiveConfig,
39
39
  ticketSummaryConfig
40
- } from "./chunk-2UW4QVTT.js";
40
+ } from "./chunk-SYR6AX24.js";
41
41
 
42
42
  // src/utils/alignment.ts
43
43
  function getColumnAlignment(type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harbortouch/skytab-analytics-report-utils",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "description": "Centralized report column presentation configuration for SkyTab Analytics",
5
5
  "engines": {
6
6
  "node": ">=22.6.0",
@@ -70,6 +70,7 @@
70
70
  },
71
71
  "packageManager": "pnpm@10.24.0+sha512.01ff8ae71b4419903b65c60fb2dc9d34cf8bb6e06d03bde112ef38f7a34d6904c424ba66bea5cdcf12890230bf39f9580473140ed9c946fef328b6e5238a345a",
72
72
  "dependencies": {
73
+ "@harbortouch/locale-registry": "^1.0.1",
73
74
  "csv-stringify": "^6.8.0",
74
75
  "date-fns": "^4.4.0",
75
76
  "exceljs": "^4.4.0",