@harbortouch/skytab-analytics-report-utils 0.24.0 → 0.25.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.
|
@@ -180,6 +180,7 @@ var salesSummaryConfig = {
|
|
|
180
180
|
fields: FIELDS2,
|
|
181
181
|
availableColumns: SALES_SUMMARY_AVAILABLE_COLUMNS,
|
|
182
182
|
defaultVisibleColumns: SALES_SUMMARY_DEFAULT_VISIBLE_COLUMNS,
|
|
183
|
+
chartFields: SALES_SUMMARY_DEFAULT_VISIBLE_COLUMNS,
|
|
183
184
|
columnGroups: COLUMN_GROUPS,
|
|
184
185
|
hasFooter: true
|
|
185
186
|
};
|
|
@@ -473,6 +474,7 @@ var MODIFIER_MIX_AVAILABLE_COLUMNS = [
|
|
|
473
474
|
];
|
|
474
475
|
var modifierMixConfig = {
|
|
475
476
|
fields: FIELDS6,
|
|
477
|
+
chartFields: MODIFIER_MIX_VISIBLE_COLUMNS,
|
|
476
478
|
availableColumns: MODIFIER_MIX_AVAILABLE_COLUMNS,
|
|
477
479
|
defaultVisibleColumns: MODIFIER_MIX_VISIBLE_COLUMNS,
|
|
478
480
|
hasFooter: true
|
|
@@ -1814,6 +1814,7 @@ var salesSummaryConfig = {
|
|
|
1814
1814
|
fields: FIELDS2,
|
|
1815
1815
|
availableColumns: SALES_SUMMARY_AVAILABLE_COLUMNS,
|
|
1816
1816
|
defaultVisibleColumns: SALES_SUMMARY_DEFAULT_VISIBLE_COLUMNS,
|
|
1817
|
+
chartFields: SALES_SUMMARY_DEFAULT_VISIBLE_COLUMNS,
|
|
1817
1818
|
columnGroups: COLUMN_GROUPS,
|
|
1818
1819
|
hasFooter: true
|
|
1819
1820
|
};
|
|
@@ -2107,6 +2108,7 @@ var MODIFIER_MIX_AVAILABLE_COLUMNS = [
|
|
|
2107
2108
|
];
|
|
2108
2109
|
var modifierMixConfig = {
|
|
2109
2110
|
fields: FIELDS6,
|
|
2111
|
+
chartFields: MODIFIER_MIX_VISIBLE_COLUMNS,
|
|
2110
2112
|
availableColumns: MODIFIER_MIX_AVAILABLE_COLUMNS,
|
|
2111
2113
|
defaultVisibleColumns: MODIFIER_MIX_VISIBLE_COLUMNS,
|
|
2112
2114
|
hasFooter: true
|
package/dist/index.cjs
CHANGED
|
@@ -252,6 +252,7 @@ var salesSummaryConfig = {
|
|
|
252
252
|
fields: FIELDS2,
|
|
253
253
|
availableColumns: SALES_SUMMARY_AVAILABLE_COLUMNS,
|
|
254
254
|
defaultVisibleColumns: SALES_SUMMARY_DEFAULT_VISIBLE_COLUMNS,
|
|
255
|
+
chartFields: SALES_SUMMARY_DEFAULT_VISIBLE_COLUMNS,
|
|
255
256
|
columnGroups: COLUMN_GROUPS,
|
|
256
257
|
hasFooter: true
|
|
257
258
|
};
|
|
@@ -545,6 +546,7 @@ var MODIFIER_MIX_AVAILABLE_COLUMNS = [
|
|
|
545
546
|
];
|
|
546
547
|
var modifierMixConfig = {
|
|
547
548
|
fields: FIELDS6,
|
|
549
|
+
chartFields: MODIFIER_MIX_VISIBLE_COLUMNS,
|
|
548
550
|
availableColumns: MODIFIER_MIX_AVAILABLE_COLUMNS,
|
|
549
551
|
defaultVisibleColumns: MODIFIER_MIX_VISIBLE_COLUMNS,
|
|
550
552
|
hasFooter: true
|
package/dist/index.d.cts
CHANGED
|
@@ -16,6 +16,7 @@ declare const salesSummaryConfig: {
|
|
|
16
16
|
readonly fields: Record<SalesSummaryField, ColumnPresentationConfig<SalesSummaryField>>;
|
|
17
17
|
readonly availableColumns: SalesSummaryField[];
|
|
18
18
|
readonly defaultVisibleColumns: SalesSummaryField[];
|
|
19
|
+
readonly chartFields: SalesSummaryField[];
|
|
19
20
|
readonly columnGroups: ColumnGroupConfig[];
|
|
20
21
|
readonly hasFooter: true;
|
|
21
22
|
};
|
|
@@ -48,6 +49,7 @@ declare const productMixConfig: {
|
|
|
48
49
|
type ModifierMixField = 'groupById' | 'groupByName' | 'groupById2' | 'groupByName2' | 'modifiersSales' | 'modifiersQuantity' | 'itemsQuantity' | 'avgGross' | 'attachRate' | 'modifiersSalesComp' | 'modifiersQuantityComp' | 'itemsQuantityComp' | 'attachRateComp' | 'modifiersSalesVar' | 'modifiersSalesVarPct' | 'modifiersQuantityVar' | 'modifiersQuantityVarPct' | 'attachRateVar' | 'attachRateVarPct';
|
|
49
50
|
declare const modifierMixConfig: {
|
|
50
51
|
readonly fields: Record<ModifierMixField, ColumnPresentationConfig<ModifierMixField>>;
|
|
52
|
+
readonly chartFields: ModifierMixField[];
|
|
51
53
|
readonly availableColumns: ModifierMixField[];
|
|
52
54
|
readonly defaultVisibleColumns: ModifierMixField[];
|
|
53
55
|
readonly hasFooter: true;
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ declare const salesSummaryConfig: {
|
|
|
16
16
|
readonly fields: Record<SalesSummaryField, ColumnPresentationConfig<SalesSummaryField>>;
|
|
17
17
|
readonly availableColumns: SalesSummaryField[];
|
|
18
18
|
readonly defaultVisibleColumns: SalesSummaryField[];
|
|
19
|
+
readonly chartFields: SalesSummaryField[];
|
|
19
20
|
readonly columnGroups: ColumnGroupConfig[];
|
|
20
21
|
readonly hasFooter: true;
|
|
21
22
|
};
|
|
@@ -48,6 +49,7 @@ declare const productMixConfig: {
|
|
|
48
49
|
type ModifierMixField = 'groupById' | 'groupByName' | 'groupById2' | 'groupByName2' | 'modifiersSales' | 'modifiersQuantity' | 'itemsQuantity' | 'avgGross' | 'attachRate' | 'modifiersSalesComp' | 'modifiersQuantityComp' | 'itemsQuantityComp' | 'attachRateComp' | 'modifiersSalesVar' | 'modifiersSalesVarPct' | 'modifiersQuantityVar' | 'modifiersQuantityVarPct' | 'attachRateVar' | 'attachRateVarPct';
|
|
49
50
|
declare const modifierMixConfig: {
|
|
50
51
|
readonly fields: Record<ModifierMixField, ColumnPresentationConfig<ModifierMixField>>;
|
|
52
|
+
readonly chartFields: ModifierMixField[];
|
|
51
53
|
readonly availableColumns: ModifierMixField[];
|
|
52
54
|
readonly defaultVisibleColumns: ModifierMixField[];
|
|
53
55
|
readonly hasFooter: true;
|
package/dist/index.js
CHANGED