moblor-vue 0.1.17 → 0.1.18
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/moblor-components.esm.js +11 -14
- package/dist/moblor-components.js +1 -1
- package/dist/moblor-vue.esm.js +11 -14
- package/dist/moblor-vue.js +1 -1
- package/package.json +1 -1
|
@@ -4643,9 +4643,6 @@ var ReportDataConvertor = /** @class */ (function (_super) {
|
|
|
4643
4643
|
if (index1 > -1) {
|
|
4644
4644
|
row.recordCount = rowAggregates[index1].label;
|
|
4645
4645
|
}
|
|
4646
|
-
else if (aggregates.length === 1) {
|
|
4647
|
-
row.recordCount = rowAggregates[0].label;
|
|
4648
|
-
}
|
|
4649
4646
|
else if (rows) {
|
|
4650
4647
|
row.recordCount = 0;
|
|
4651
4648
|
if (subGroupings.length > 0) {
|
|
@@ -4671,16 +4668,6 @@ var ReportDataConvertor = /** @class */ (function (_super) {
|
|
|
4671
4668
|
}
|
|
4672
4669
|
}
|
|
4673
4670
|
tableData.rows.push(row);
|
|
4674
|
-
if (showSubtotals && aggregates.length > 1) {
|
|
4675
|
-
var aggregateRows = _this.getSummaryAggregateRows({
|
|
4676
|
-
aggregates: aggregates,
|
|
4677
|
-
hasDetailRows: hasDetailRows,
|
|
4678
|
-
detailColumns: detailColumns,
|
|
4679
|
-
rowAggregates: rowAggregates,
|
|
4680
|
-
background: background,
|
|
4681
|
-
});
|
|
4682
|
-
(_a = tableData.rows).push.apply(_a, aggregateRows);
|
|
4683
|
-
}
|
|
4684
4671
|
if (subGroupings.length === 0) {
|
|
4685
4672
|
if (hasDetailRows) {
|
|
4686
4673
|
var detailRows = rows.map(function (dataRow) { return ({
|
|
@@ -4688,7 +4675,7 @@ var ReportDataConvertor = /** @class */ (function (_super) {
|
|
|
4688
4675
|
type: 'data',
|
|
4689
4676
|
cells: dataRow.dataCells,
|
|
4690
4677
|
}); });
|
|
4691
|
-
(
|
|
4678
|
+
(_a = tableData.rows).push.apply(_a, detailRows);
|
|
4692
4679
|
}
|
|
4693
4680
|
}
|
|
4694
4681
|
else {
|
|
@@ -4696,6 +4683,16 @@ var ReportDataConvertor = /** @class */ (function (_super) {
|
|
|
4696
4683
|
recursive(ssubGrouping);
|
|
4697
4684
|
});
|
|
4698
4685
|
}
|
|
4686
|
+
if (showSubtotals && aggregates.length > 0) {
|
|
4687
|
+
var aggregateRows = _this.getSummaryAggregateRows({
|
|
4688
|
+
aggregates: aggregates,
|
|
4689
|
+
hasDetailRows: hasDetailRows,
|
|
4690
|
+
detailColumns: detailColumns,
|
|
4691
|
+
rowAggregates: rowAggregates,
|
|
4692
|
+
background: background,
|
|
4693
|
+
});
|
|
4694
|
+
(_b = tableData.rows).push.apply(_b, aggregateRows);
|
|
4695
|
+
}
|
|
4699
4696
|
};
|
|
4700
4697
|
groupings.forEach(function (grouping) {
|
|
4701
4698
|
recursive(grouping);
|