@quillsql/react 2.16.103 → 2.16.104

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
@@ -70246,10 +70246,12 @@ function useReport(reportIdArg, options = {}) {
70246
70246
  xAxisFormat: resolvedXAxisFormat,
70247
70247
  xAxisLabel: resolvedXAxisLabel,
70248
70248
  yAxisFields: yAxisSeries,
70249
+ showLegend: chartVisibility.showLegend,
70249
70250
  columns: columns2 ?? baseChart.columns
70250
70251
  };
70251
70252
  }, [
70252
70253
  baseChart,
70254
+ chartVisibility.showLegend,
70253
70255
  resolvedXAxisField,
70254
70256
  resolvedXAxisFormat,
70255
70257
  resolvedXAxisLabel,
@@ -71933,13 +71935,22 @@ function useReport(reportIdArg, options = {}) {
71933
71935
  id: savedReportId,
71934
71936
  name: persistedName,
71935
71937
  chartType: resolvedChartType,
71938
+ dashboardName: resolvedDashboardName,
71939
+ section: hasSectionOverride ? overrides.section : sourceRest.section,
71936
71940
  xAxisField: resolvedXAxisField,
71937
71941
  xAxisFormat: resolvedXAxisFormat,
71938
71942
  xAxisLabel: resolvedXAxisLabel,
71939
71943
  yAxisFields: yAxisMeasures,
71944
+ showLegend: chartVisibility.showLegend,
71945
+ chartSort: resolvedChartSort ?? null,
71940
71946
  pivot: effectiveReportBuilderState.pivot ?? null,
71941
71947
  reportBuilderState: effectiveReportBuilderState,
71942
71948
  columns: columnsSelectedForSave,
71949
+ sort: isFlatTable ? effectiveReportBuilderState.sort?.[0] ?? null : sourceRest.sort,
71950
+ filterMap: overrides?.filterMap !== void 0 ? overrides.filterMap : sourceRest.filterMap,
71951
+ dateField: overrides?.dateField !== void 0 ? overrides.dateField : sourceRest.dateField,
71952
+ flags: hasReportFlagsOverride ? overrides.reportFlags : sourceRest.flags,
71953
+ virtualQueries: draftVirtualQueries,
71943
71954
  rows: sourceReport.rows,
71944
71955
  compareRows: sourceReport.compareRows,
71945
71956
  pivotRows: sourceReport.pivotRows,
package/dist/index.d.cts CHANGED
@@ -3363,6 +3363,7 @@ declare function useReport(reportIdArg?: string, options?: UseReportOptions): {
3363
3363
  label: string;
3364
3364
  format: AxisFormat$1;
3365
3365
  }[];
3366
+ showLegend: boolean;
3366
3367
  columns: Column$1[];
3367
3368
  pivotQuery?: string;
3368
3369
  comparisonPivotQuery?: string;
@@ -3391,7 +3392,6 @@ declare function useReport(reportIdArg?: string, options?: UseReportOptions): {
3391
3392
  [key: string]: string;
3392
3393
  }[];
3393
3394
  chartType: string;
3394
- showLegend?: boolean;
3395
3395
  chartSort?: ChartSort;
3396
3396
  dateField?: {
3397
3397
  table: string;
package/dist/index.d.ts CHANGED
@@ -3363,6 +3363,7 @@ declare function useReport(reportIdArg?: string, options?: UseReportOptions): {
3363
3363
  label: string;
3364
3364
  format: AxisFormat$1;
3365
3365
  }[];
3366
+ showLegend: boolean;
3366
3367
  columns: Column$1[];
3367
3368
  pivotQuery?: string;
3368
3369
  comparisonPivotQuery?: string;
@@ -3391,7 +3392,6 @@ declare function useReport(reportIdArg?: string, options?: UseReportOptions): {
3391
3392
  [key: string]: string;
3392
3393
  }[];
3393
3394
  chartType: string;
3394
- showLegend?: boolean;
3395
3395
  chartSort?: ChartSort;
3396
3396
  dateField?: {
3397
3397
  table: string;
package/dist/index.js CHANGED
@@ -70454,10 +70454,12 @@ function useReport(reportIdArg, options = {}) {
70454
70454
  xAxisFormat: resolvedXAxisFormat,
70455
70455
  xAxisLabel: resolvedXAxisLabel,
70456
70456
  yAxisFields: yAxisSeries,
70457
+ showLegend: chartVisibility.showLegend,
70457
70458
  columns: columns2 ?? baseChart.columns
70458
70459
  };
70459
70460
  }, [
70460
70461
  baseChart,
70462
+ chartVisibility.showLegend,
70461
70463
  resolvedXAxisField,
70462
70464
  resolvedXAxisFormat,
70463
70465
  resolvedXAxisLabel,
@@ -72141,13 +72143,22 @@ function useReport(reportIdArg, options = {}) {
72141
72143
  id: savedReportId,
72142
72144
  name: persistedName,
72143
72145
  chartType: resolvedChartType,
72146
+ dashboardName: resolvedDashboardName,
72147
+ section: hasSectionOverride ? overrides.section : sourceRest.section,
72144
72148
  xAxisField: resolvedXAxisField,
72145
72149
  xAxisFormat: resolvedXAxisFormat,
72146
72150
  xAxisLabel: resolvedXAxisLabel,
72147
72151
  yAxisFields: yAxisMeasures,
72152
+ showLegend: chartVisibility.showLegend,
72153
+ chartSort: resolvedChartSort ?? null,
72148
72154
  pivot: effectiveReportBuilderState.pivot ?? null,
72149
72155
  reportBuilderState: effectiveReportBuilderState,
72150
72156
  columns: columnsSelectedForSave,
72157
+ sort: isFlatTable ? effectiveReportBuilderState.sort?.[0] ?? null : sourceRest.sort,
72158
+ filterMap: overrides?.filterMap !== void 0 ? overrides.filterMap : sourceRest.filterMap,
72159
+ dateField: overrides?.dateField !== void 0 ? overrides.dateField : sourceRest.dateField,
72160
+ flags: hasReportFlagsOverride ? overrides.reportFlags : sourceRest.flags,
72161
+ virtualQueries: draftVirtualQueries,
72151
72162
  rows: sourceReport.rows,
72152
72163
  compareRows: sourceReport.compareRows,
72153
72164
  pivotRows: sourceReport.pivotRows,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillsql/react",
3
- "version": "2.16.103",
3
+ "version": "2.16.104",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {