@harbortouch/skytab-analytics-report-utils 0.4.8 → 0.5.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.
package/dist/index.cjs CHANGED
@@ -42,6 +42,7 @@ __export(index_exports, {
42
42
  PRODUCT_MIX_AVAILABLE_COLUMNS: () => PRODUCT_MIX_AVAILABLE_COLUMNS,
43
43
  PRODUCT_MIX_CHART_FIELDS: () => PRODUCT_MIX_CHART_FIELDS,
44
44
  PRODUCT_MIX_DEFAULT_VISIBLE_COLUMNS: () => PRODUCT_MIX_DEFAULT_VISIBLE_COLUMNS,
45
+ Report: () => Report,
45
46
  SALES_BY_ITEM_DETAIL_AVAILABLE_COLUMNS: () => SALES_BY_ITEM_DETAIL_AVAILABLE_COLUMNS,
46
47
  SALES_BY_ITEM_DETAIL_DEFAULT_VISIBLE_COLUMNS: () => SALES_BY_ITEM_DETAIL_DEFAULT_VISIBLE_COLUMNS,
47
48
  SALES_SUMMARY_AVAILABLE_COLUMNS: () => SALES_SUMMARY_AVAILABLE_COLUMNS,
@@ -71,6 +72,19 @@ __export(index_exports, {
71
72
  });
72
73
  module.exports = __toCommonJS(index_exports);
73
74
 
75
+ // src/report.ts
76
+ var Report = {
77
+ TICKET_LIVE: "ticket-live",
78
+ TICKET_ANALYTICS: "ticket-analytics",
79
+ SALES_SUMMARY: "sales-summary",
80
+ PRODUCT_MIX: "product-mix",
81
+ MODIFIER_MIX: "modifier-mix",
82
+ ITEM_TAX: "item-tax",
83
+ EMPLOYEE_TIMECARD: "employee-timecard",
84
+ EMPLOYEE_TIP: "employee-tip",
85
+ SALES_BY_ITEM: "sales-by-item"
86
+ };
87
+
74
88
  // src/columns/index.ts
75
89
  var COLUMN_REGISTRY = {
76
90
  fifteenMinInterval: {
@@ -1576,6 +1590,7 @@ var salesByItemDetailConfig = {
1576
1590
  PRODUCT_MIX_AVAILABLE_COLUMNS,
1577
1591
  PRODUCT_MIX_CHART_FIELDS,
1578
1592
  PRODUCT_MIX_DEFAULT_VISIBLE_COLUMNS,
1593
+ Report,
1579
1594
  SALES_BY_ITEM_DETAIL_AVAILABLE_COLUMNS,
1580
1595
  SALES_BY_ITEM_DETAIL_DEFAULT_VISIBLE_COLUMNS,
1581
1596
  SALES_SUMMARY_AVAILABLE_COLUMNS,
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export type { FieldType, ColumnAlignment, FooterCalculationType, FooterCalculation, ColumnPresentationConfig, ColumnGroupConfig, ReportConfig, } from './types';
2
+ export { type ReportType, Report } from './report';
2
3
  export type { ReportColumnKey, ColumnMetadata } from './columns';
3
4
  export { COLUMN_REGISTRY, getColumnMetadata } from './columns';
4
5
  export { getColumnAlignment, isNumericType } from './utils/alignment';
package/dist/index.js CHANGED
@@ -1,3 +1,16 @@
1
+ // src/report.ts
2
+ var Report = {
3
+ TICKET_LIVE: "ticket-live",
4
+ TICKET_ANALYTICS: "ticket-analytics",
5
+ SALES_SUMMARY: "sales-summary",
6
+ PRODUCT_MIX: "product-mix",
7
+ MODIFIER_MIX: "modifier-mix",
8
+ ITEM_TAX: "item-tax",
9
+ EMPLOYEE_TIMECARD: "employee-timecard",
10
+ EMPLOYEE_TIP: "employee-tip",
11
+ SALES_BY_ITEM: "sales-by-item"
12
+ };
13
+
1
14
  // src/columns/index.ts
2
15
  var COLUMN_REGISTRY = {
3
16
  fifteenMinInterval: {
@@ -1502,6 +1515,7 @@ export {
1502
1515
  PRODUCT_MIX_AVAILABLE_COLUMNS,
1503
1516
  PRODUCT_MIX_CHART_FIELDS,
1504
1517
  PRODUCT_MIX_DEFAULT_VISIBLE_COLUMNS,
1518
+ Report,
1505
1519
  SALES_BY_ITEM_DETAIL_AVAILABLE_COLUMNS,
1506
1520
  SALES_BY_ITEM_DETAIL_DEFAULT_VISIBLE_COLUMNS,
1507
1521
  SALES_SUMMARY_AVAILABLE_COLUMNS,
@@ -0,0 +1,12 @@
1
+ export declare const Report: {
2
+ readonly TICKET_LIVE: "ticket-live";
3
+ readonly TICKET_ANALYTICS: "ticket-analytics";
4
+ readonly SALES_SUMMARY: "sales-summary";
5
+ readonly PRODUCT_MIX: "product-mix";
6
+ readonly MODIFIER_MIX: "modifier-mix";
7
+ readonly ITEM_TAX: "item-tax";
8
+ readonly EMPLOYEE_TIMECARD: "employee-timecard";
9
+ readonly EMPLOYEE_TIP: "employee-tip";
10
+ readonly SALES_BY_ITEM: "sales-by-item";
11
+ };
12
+ export type ReportType = (typeof Report)[keyof typeof Report];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harbortouch/skytab-analytics-report-utils",
3
- "version": "0.4.8",
3
+ "version": "0.5.0",
4
4
  "description": "Centralized report column presentation configuration for SkyTab Analytics",
5
5
  "engines": {
6
6
  "node": ">=22.6.0",