@quillsql/react 2.16.75 → 2.16.77

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
@@ -63264,7 +63264,7 @@ async function loadReportForUseForm({
63264
63264
  draftSessionId
63265
63265
  });
63266
63266
  const pivotRows = pivotResult.report?.pivotRows;
63267
- const rowField = effectivePivot?.rowField;
63267
+ const rowField = pivotResult.report?.pivotResultRowField ?? effectivePivot?.rowField;
63268
63268
  const rowFieldTrimmed = String(rowField ?? "").trim();
63269
63269
  const hasRowBucketKey = !rowFieldTrimmed || Array.isArray(pivotRows) && pivotRows.some(
63270
63270
  (row) => row && typeof row === "object" && Object.prototype.hasOwnProperty.call(row, rowFieldTrimmed)
@@ -64807,14 +64807,14 @@ function useReport(reportIdArg, options = {}) {
64807
64807
  }) || void 0
64808
64808
  ) : shouldApplyPivotAggregationsFromSource ? [] : prev.aggregationTablesByIndex;
64809
64809
  const sourceRowGroupOption = encodePivotGroupOptionValue(
64810
- resolveColumnTableFromReportMetadata(
64810
+ String(sourceReport.pivot?.rowFieldTable ?? "").trim() || resolveColumnTableFromReportMetadata(
64811
64811
  sourceReport,
64812
64812
  sourceReport.pivot?.rowField ?? ""
64813
64813
  ),
64814
64814
  sourceReport.pivot?.rowField ?? ""
64815
64815
  ) || sourceReport.pivot?.rowField;
64816
64816
  const sourceColumnGroupOption = encodePivotGroupOptionValue(
64817
- resolveColumnTableFromReportMetadata(
64817
+ String(sourceReport.pivot?.columnFieldTable ?? "").trim() || resolveColumnTableFromReportMetadata(
64818
64818
  sourceReport,
64819
64819
  sourceReport.pivot?.columnField ?? ""
64820
64820
  ),
package/dist/index.js CHANGED
@@ -63476,7 +63476,7 @@ async function loadReportForUseForm({
63476
63476
  draftSessionId
63477
63477
  });
63478
63478
  const pivotRows = pivotResult.report?.pivotRows;
63479
- const rowField = effectivePivot?.rowField;
63479
+ const rowField = pivotResult.report?.pivotResultRowField ?? effectivePivot?.rowField;
63480
63480
  const rowFieldTrimmed = String(rowField ?? "").trim();
63481
63481
  const hasRowBucketKey = !rowFieldTrimmed || Array.isArray(pivotRows) && pivotRows.some(
63482
63482
  (row) => row && typeof row === "object" && Object.prototype.hasOwnProperty.call(row, rowFieldTrimmed)
@@ -65019,14 +65019,14 @@ function useReport(reportIdArg, options = {}) {
65019
65019
  }) || void 0
65020
65020
  ) : shouldApplyPivotAggregationsFromSource ? [] : prev.aggregationTablesByIndex;
65021
65021
  const sourceRowGroupOption = encodePivotGroupOptionValue(
65022
- resolveColumnTableFromReportMetadata(
65022
+ String(sourceReport.pivot?.rowFieldTable ?? "").trim() || resolveColumnTableFromReportMetadata(
65023
65023
  sourceReport,
65024
65024
  sourceReport.pivot?.rowField ?? ""
65025
65025
  ),
65026
65026
  sourceReport.pivot?.rowField ?? ""
65027
65027
  ) || sourceReport.pivot?.rowField;
65028
65028
  const sourceColumnGroupOption = encodePivotGroupOptionValue(
65029
- resolveColumnTableFromReportMetadata(
65029
+ String(sourceReport.pivot?.columnFieldTable ?? "").trim() || resolveColumnTableFromReportMetadata(
65030
65030
  sourceReport,
65031
65031
  sourceReport.pivot?.columnField ?? ""
65032
65032
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillsql/react",
3
- "version": "2.16.75",
3
+ "version": "2.16.77",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {