@yoobic/yobi 8.6.4 → 8.6.5

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.
@@ -843,10 +843,10 @@ const YooPivotTableComponent = class {
843
843
  this.options = lodash.cloneDeep(this.config);
844
844
  delete this.options.filter;
845
845
  if (this.definition.kpiType === 'CampaignsPivotTableKpi') {
846
- if (((_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.gridColumnOrder) === null || _b === void 0 ? void 0 : _b.length) > 0) {
847
- const groupingColumns = this.options.gridColumnOrder.filter((c) => c.startsWith('ag-Grid-AutoColumn'));
848
- const otherColumns = this.options.gridColumnOrder.filter((c) => !c.startsWith('ag-Grid-AutoColumn'));
849
- this.options.gridColumnOrder = [...groupingColumns, ...otherColumns];
846
+ if (((_b = (_a = this.definition) === null || _a === void 0 ? void 0 : _a.gridColumnOrder) === null || _b === void 0 ? void 0 : _b.length) > 0) {
847
+ const groupingColumns = this.definition.gridColumnOrder.filter((c) => c.startsWith('ag-Grid-AutoColumn'));
848
+ const otherColumns = this.definition.gridColumnOrder.filter((c) => !c.startsWith('ag-Grid-AutoColumn'));
849
+ this.definition.gridColumnOrder = [...groupingColumns, ...otherColumns];
850
850
  }
851
851
  this.options.rowData = this.campaignsPivotTableKpiSortRows(this.options.rowData);
852
852
  if (this.isFullScreen) {
@@ -54,10 +54,10 @@ export class YooPivotTableComponent {
54
54
  this.options = cloneDeep(this.config);
55
55
  delete this.options.filter;
56
56
  if (this.definition.kpiType === 'CampaignsPivotTableKpi') {
57
- if (((_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.gridColumnOrder) === null || _b === void 0 ? void 0 : _b.length) > 0) {
58
- const groupingColumns = this.options.gridColumnOrder.filter((c) => c.startsWith('ag-Grid-AutoColumn'));
59
- const otherColumns = this.options.gridColumnOrder.filter((c) => !c.startsWith('ag-Grid-AutoColumn'));
60
- this.options.gridColumnOrder = [...groupingColumns, ...otherColumns];
57
+ if (((_b = (_a = this.definition) === null || _a === void 0 ? void 0 : _a.gridColumnOrder) === null || _b === void 0 ? void 0 : _b.length) > 0) {
58
+ const groupingColumns = this.definition.gridColumnOrder.filter((c) => c.startsWith('ag-Grid-AutoColumn'));
59
+ const otherColumns = this.definition.gridColumnOrder.filter((c) => !c.startsWith('ag-Grid-AutoColumn'));
60
+ this.definition.gridColumnOrder = [...groupingColumns, ...otherColumns];
61
61
  }
62
62
  this.options.rowData = this.campaignsPivotTableKpiSortRows(this.options.rowData);
63
63
  if (this.isFullScreen) {
@@ -839,10 +839,10 @@ const YooPivotTableComponent = class {
839
839
  this.options = cloneDeep(this.config);
840
840
  delete this.options.filter;
841
841
  if (this.definition.kpiType === 'CampaignsPivotTableKpi') {
842
- if (((_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.gridColumnOrder) === null || _b === void 0 ? void 0 : _b.length) > 0) {
843
- const groupingColumns = this.options.gridColumnOrder.filter((c) => c.startsWith('ag-Grid-AutoColumn'));
844
- const otherColumns = this.options.gridColumnOrder.filter((c) => !c.startsWith('ag-Grid-AutoColumn'));
845
- this.options.gridColumnOrder = [...groupingColumns, ...otherColumns];
842
+ if (((_b = (_a = this.definition) === null || _a === void 0 ? void 0 : _a.gridColumnOrder) === null || _b === void 0 ? void 0 : _b.length) > 0) {
843
+ const groupingColumns = this.definition.gridColumnOrder.filter((c) => c.startsWith('ag-Grid-AutoColumn'));
844
+ const otherColumns = this.definition.gridColumnOrder.filter((c) => !c.startsWith('ag-Grid-AutoColumn'));
845
+ this.definition.gridColumnOrder = [...groupingColumns, ...otherColumns];
846
846
  }
847
847
  this.options.rowData = this.campaignsPivotTableKpiSortRows(this.options.rowData);
848
848
  if (this.isFullScreen) {
@@ -839,10 +839,10 @@ const YooPivotTableComponent = class {
839
839
  this.options = cloneDeep(this.config);
840
840
  delete this.options.filter;
841
841
  if (this.definition.kpiType === 'CampaignsPivotTableKpi') {
842
- if (((_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.gridColumnOrder) === null || _b === void 0 ? void 0 : _b.length) > 0) {
843
- const groupingColumns = this.options.gridColumnOrder.filter((c) => c.startsWith('ag-Grid-AutoColumn'));
844
- const otherColumns = this.options.gridColumnOrder.filter((c) => !c.startsWith('ag-Grid-AutoColumn'));
845
- this.options.gridColumnOrder = [...groupingColumns, ...otherColumns];
842
+ if (((_b = (_a = this.definition) === null || _a === void 0 ? void 0 : _a.gridColumnOrder) === null || _b === void 0 ? void 0 : _b.length) > 0) {
843
+ const groupingColumns = this.definition.gridColumnOrder.filter((c) => c.startsWith('ag-Grid-AutoColumn'));
844
+ const otherColumns = this.definition.gridColumnOrder.filter((c) => !c.startsWith('ag-Grid-AutoColumn'));
845
+ this.definition.gridColumnOrder = [...groupingColumns, ...otherColumns];
846
846
  }
847
847
  this.options.rowData = this.campaignsPivotTableKpiSortRows(this.options.rowData);
848
848
  if (this.isFullScreen) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoobic/yobi",
3
- "version": "8.6.4",
3
+ "version": "8.6.5",
4
4
  "description": "Yobi - Yoobic Design System",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.cjs.js",