@harbortouch/skytab-analytics-report-utils 0.38.1 → 0.39.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/{chunk-MFOOIOP4.js → chunk-HRMMRGR7.js} +407 -366
- package/dist/exporters/exportBuilder.cjs +45 -4
- package/dist/exporters/exportBuilder.d.cts +1 -1
- package/dist/exporters/exportBuilder.d.ts +1 -1
- package/dist/exporters/exportBuilder.js +1 -1
- package/dist/index.cjs +406 -365
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/{report-ZRoya9wR.d.cts → report-CDeQvFgd.d.cts} +10 -1
- package/dist/{report-ZRoya9wR.d.ts → report-CDeQvFgd.d.ts} +10 -1
- package/package.json +1 -1
|
@@ -494,6 +494,9 @@ var enUS = {
|
|
|
494
494
|
"common.report-col.total-pay": "Total Pay",
|
|
495
495
|
"common.report-col.total-pay.short": "Total Pay",
|
|
496
496
|
"common.report-col.total-pay.info": "Total compensation including wages, overtime, and adjustments",
|
|
497
|
+
"common.report-col.table-name": "Table Name",
|
|
498
|
+
"common.report-col.table-name.short": "Table Name",
|
|
499
|
+
"common.report-col.table-name.info": "Table Name if assigned",
|
|
497
500
|
"common.report-section.revenue-class": "Sales by Revenue Class",
|
|
498
501
|
"common.report-section.payments": "Payments",
|
|
499
502
|
"common.report-section.cash": "Expected Closeout Cash",
|
|
@@ -519,6 +522,7 @@ var enUS = {
|
|
|
519
522
|
"components.form.field.last-year": "Compare to Last Year",
|
|
520
523
|
"common.labels.locations": "Locations",
|
|
521
524
|
"common.labels.yes": "Yes",
|
|
525
|
+
"common.labels.unassigned": "Unassigned",
|
|
522
526
|
// Analytic fields
|
|
523
527
|
"analytics.field.location_id": "Location",
|
|
524
528
|
"analytics.field.order_type_id": "Order Types",
|
|
@@ -1018,6 +1022,9 @@ var enUS2 = {
|
|
|
1018
1022
|
"common.report-col.total-pay": false,
|
|
1019
1023
|
"common.report-col.total-pay.short": false,
|
|
1020
1024
|
"common.report-col.total-pay.info": false,
|
|
1025
|
+
"common.report-col.table-name": false,
|
|
1026
|
+
"common.report-col.table-name.short": false,
|
|
1027
|
+
"common.report-col.table-name.info": false,
|
|
1021
1028
|
"common.report-section.revenue-class": false,
|
|
1022
1029
|
"common.report-section.payments": false,
|
|
1023
1030
|
"common.report-section.cash": false,
|
|
@@ -1043,6 +1050,7 @@ var enUS2 = {
|
|
|
1043
1050
|
"components.form.field.last-year": false,
|
|
1044
1051
|
"common.labels.locations": false,
|
|
1045
1052
|
"common.labels.yes": false,
|
|
1053
|
+
"common.labels.unassigned": false,
|
|
1046
1054
|
// Analytic fields
|
|
1047
1055
|
"analytics.field.location_id": false,
|
|
1048
1056
|
"analytics.field.order_type_id": false,
|
|
@@ -1542,6 +1550,9 @@ var enUS3 = {
|
|
|
1542
1550
|
"common.report-col.total-pay": false,
|
|
1543
1551
|
"common.report-col.total-pay.short": false,
|
|
1544
1552
|
"common.report-col.total-pay.info": false,
|
|
1553
|
+
"common.report-col.table-name": false,
|
|
1554
|
+
"common.report-col.table-name.short": false,
|
|
1555
|
+
"common.report-col.table-name.info": false,
|
|
1545
1556
|
"common.report-section.revenue-class": false,
|
|
1546
1557
|
"common.report-section.payments": false,
|
|
1547
1558
|
"common.report-section.cash": false,
|
|
@@ -1567,6 +1578,7 @@ var enUS3 = {
|
|
|
1567
1578
|
"components.form.field.last-year": false,
|
|
1568
1579
|
"common.labels.locations": false,
|
|
1569
1580
|
"common.labels.yes": false,
|
|
1581
|
+
"common.labels.unassigned": false,
|
|
1570
1582
|
// Analytic fields
|
|
1571
1583
|
"analytics.field.location_id": false,
|
|
1572
1584
|
"analytics.field.order_type_id": false,
|
|
@@ -2089,7 +2101,18 @@ var FIELDS3 = {
|
|
|
2089
2101
|
filteringAvailable: false
|
|
2090
2102
|
},
|
|
2091
2103
|
employeeName: { type: "string", columnKey: "employeeName", filteringAvailable: false },
|
|
2092
|
-
orderTypeName: { type: "string", columnKey: "orderType", filteringAvailable: false }
|
|
2104
|
+
orderTypeName: { type: "string", columnKey: "orderType", filteringAvailable: false },
|
|
2105
|
+
tableName: {
|
|
2106
|
+
type: "custom",
|
|
2107
|
+
columnKey: "tableName",
|
|
2108
|
+
enableSorting: false,
|
|
2109
|
+
filteringAvailable: false,
|
|
2110
|
+
customConfiguration: {
|
|
2111
|
+
customFormat: (value, _full, locale) => {
|
|
2112
|
+
return typeof value === "string" && value !== "" ? value : resolveTranslate("common.labels.unassigned", locale);
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2093
2116
|
};
|
|
2094
2117
|
var TICKET_SUMMARY_VISIBLE_COLUMNS = [
|
|
2095
2118
|
"locationName",
|
|
@@ -2108,7 +2131,8 @@ var TICKET_SUMMARY_VISIBLE_COLUMNS = [
|
|
|
2108
2131
|
"paymentTypeName",
|
|
2109
2132
|
"guestsCount",
|
|
2110
2133
|
"employeeName",
|
|
2111
|
-
"orderTypeName"
|
|
2134
|
+
"orderTypeName",
|
|
2135
|
+
"tableName"
|
|
2112
2136
|
];
|
|
2113
2137
|
var TICKET_SUMMARY_AVAILABLE_COLUMNS = ["orderNumber", ...TICKET_SUMMARY_VISIBLE_COLUMNS];
|
|
2114
2138
|
var ticketSummaryConfig = {
|
|
@@ -2147,7 +2171,18 @@ var FIELDS4 = {
|
|
|
2147
2171
|
},
|
|
2148
2172
|
customerName: { type: "string", columnKey: "customerName" },
|
|
2149
2173
|
employeeName: { type: "string", columnKey: "employeeName" },
|
|
2150
|
-
orderType: { type: "string", columnKey: "orderType" }
|
|
2174
|
+
orderType: { type: "string", columnKey: "orderType" },
|
|
2175
|
+
tableName: {
|
|
2176
|
+
type: "custom",
|
|
2177
|
+
columnKey: "tableName",
|
|
2178
|
+
enableSorting: false,
|
|
2179
|
+
filteringAvailable: false,
|
|
2180
|
+
customConfiguration: {
|
|
2181
|
+
customFormat: (value, _full, locale) => {
|
|
2182
|
+
return typeof value === "string" && value !== "" ? value : resolveTranslate("common.labels.unassigned", locale);
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
}
|
|
2151
2186
|
};
|
|
2152
2187
|
var TICKET_LIVE_VISIBLE_COLUMNS = [
|
|
2153
2188
|
"locationName",
|
|
@@ -2166,7 +2201,8 @@ var TICKET_LIVE_VISIBLE_COLUMNS = [
|
|
|
2166
2201
|
"paymentTypeName",
|
|
2167
2202
|
"guestCount",
|
|
2168
2203
|
"employeeName",
|
|
2169
|
-
"orderType"
|
|
2204
|
+
"orderType",
|
|
2205
|
+
"tableName"
|
|
2170
2206
|
];
|
|
2171
2207
|
var TICKET_LIVE_AVAILABLE_COLUMNS = ["orderNumber", ...TICKET_LIVE_VISIBLE_COLUMNS];
|
|
2172
2208
|
var ticketLiveConfig = {
|
|
@@ -3697,6 +3733,11 @@ var COLUMN_REGISTRY = {
|
|
|
3697
3733
|
titleKey: "common.report-col.total-pay",
|
|
3698
3734
|
shortTitleKey: "common.report-col.total-pay.short",
|
|
3699
3735
|
infoTextKey: "common.report-col.total-pay.info"
|
|
3736
|
+
},
|
|
3737
|
+
tableName: {
|
|
3738
|
+
titleKey: "common.report-col.table-name",
|
|
3739
|
+
shortTitleKey: "common.report-col.table-name.short",
|
|
3740
|
+
infoTextKey: "common.report-col.table-name.info"
|
|
3700
3741
|
}
|
|
3701
3742
|
};
|
|
3702
3743
|
function getColumnMetadata(key) {
|