@quillsql/react 2.16.42 → 2.16.44

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.d.cts CHANGED
@@ -1524,6 +1524,7 @@ interface ChartDisplayProps extends WithConfig {
1524
1524
  direction: string;
1525
1525
  }) => void;
1526
1526
  onClickChartElement?: (data: any) => void;
1527
+ onClickLegendElement?: (data: any) => void;
1527
1528
  scrollable?: boolean;
1528
1529
  overrideTheme?: QuillTheme;
1529
1530
  referenceLines?: {
@@ -1534,7 +1535,7 @@ interface ChartDisplayProps extends WithConfig {
1534
1535
  tableRowsLoading?: boolean;
1535
1536
  disableTableSort?: boolean;
1536
1537
  }
1537
- declare const ChartDisplay: ({ reportId, config, colors, className, containerStyle, hideXAxis, hideYAxis, hideCartesianGrid, hideDateRangeFilter, hideHorizontalCartesianGrid, hideVerticalCartesianGrid, hideSubsequentXAxisTicks, cartesianGridLineStyle, cartesianGridLineColor, comparisonLineStyle, isAnimationActive, scrollable, loading, ErrorComponent, colorMap, LoadingComponent, onPageChange, onSortChange, onClickChartElement, overrideTheme, referenceLines, showLegend, tableRowsLoading, }: ChartDisplayProps) => react_jsx_runtime.JSX.Element;
1538
+ declare const ChartDisplay: ({ reportId, config, colors, className, containerStyle, hideXAxis, hideYAxis, hideCartesianGrid, hideDateRangeFilter, hideHorizontalCartesianGrid, hideVerticalCartesianGrid, hideSubsequentXAxisTicks, cartesianGridLineStyle, cartesianGridLineColor, comparisonLineStyle, isAnimationActive, scrollable, loading, ErrorComponent, colorMap, LoadingComponent, onPageChange, onSortChange, onClickChartElement, onClickLegendElement, overrideTheme, referenceLines, showLegend, tableRowsLoading, }: ChartDisplayProps) => react_jsx_runtime.JSX.Element;
1538
1539
 
1539
1540
  /**
1540
1541
  * Props for the Quill Table component.
@@ -2590,6 +2591,7 @@ declare function ChartEditor({ isOpen, reportId, isAdmin, chartBuilderTitle, cha
2590
2591
  interface StaticChartBaseProps {
2591
2592
  reportId: string;
2592
2593
  onClickChartElement?: (data: any) => void;
2594
+ onClickLegendElement?: (data: any) => void;
2593
2595
  showLegend?: boolean;
2594
2596
  }
2595
2597
  type StaticChartProps = (StaticChartBaseProps & {
@@ -3141,8 +3143,8 @@ type ClientFeatures = {
3141
3143
  };
3142
3144
  type QuillProviderClient = {
3143
3145
  name: string;
3144
- clientId: string;
3145
- publicKey: string;
3146
+ id?: string;
3147
+ clientId?: string;
3146
3148
  queryEndpoint: string;
3147
3149
  streamEndpoint?: string;
3148
3150
  queryHeaders?: HeadersInit;
@@ -3183,7 +3185,7 @@ type QuillTenant = {
3183
3185
  };
3184
3186
 
3185
3187
  interface QuillFetchOptions {
3186
- client: Pick<QuillProviderClient, 'clientId' | 'queryEndpoint' | 'queryHeaders' | 'withCredentials'>;
3188
+ client: Pick<QuillProviderClient, 'id' | 'clientId' | 'queryEndpoint' | 'queryHeaders' | 'withCredentials'>;
3187
3189
  task: string;
3188
3190
  method?: string;
3189
3191
  metadata: any;
package/dist/index.d.ts CHANGED
@@ -1524,6 +1524,7 @@ interface ChartDisplayProps extends WithConfig {
1524
1524
  direction: string;
1525
1525
  }) => void;
1526
1526
  onClickChartElement?: (data: any) => void;
1527
+ onClickLegendElement?: (data: any) => void;
1527
1528
  scrollable?: boolean;
1528
1529
  overrideTheme?: QuillTheme;
1529
1530
  referenceLines?: {
@@ -1534,7 +1535,7 @@ interface ChartDisplayProps extends WithConfig {
1534
1535
  tableRowsLoading?: boolean;
1535
1536
  disableTableSort?: boolean;
1536
1537
  }
1537
- declare const ChartDisplay: ({ reportId, config, colors, className, containerStyle, hideXAxis, hideYAxis, hideCartesianGrid, hideDateRangeFilter, hideHorizontalCartesianGrid, hideVerticalCartesianGrid, hideSubsequentXAxisTicks, cartesianGridLineStyle, cartesianGridLineColor, comparisonLineStyle, isAnimationActive, scrollable, loading, ErrorComponent, colorMap, LoadingComponent, onPageChange, onSortChange, onClickChartElement, overrideTheme, referenceLines, showLegend, tableRowsLoading, }: ChartDisplayProps) => react_jsx_runtime.JSX.Element;
1538
+ declare const ChartDisplay: ({ reportId, config, colors, className, containerStyle, hideXAxis, hideYAxis, hideCartesianGrid, hideDateRangeFilter, hideHorizontalCartesianGrid, hideVerticalCartesianGrid, hideSubsequentXAxisTicks, cartesianGridLineStyle, cartesianGridLineColor, comparisonLineStyle, isAnimationActive, scrollable, loading, ErrorComponent, colorMap, LoadingComponent, onPageChange, onSortChange, onClickChartElement, onClickLegendElement, overrideTheme, referenceLines, showLegend, tableRowsLoading, }: ChartDisplayProps) => react_jsx_runtime.JSX.Element;
1538
1539
 
1539
1540
  /**
1540
1541
  * Props for the Quill Table component.
@@ -2590,6 +2591,7 @@ declare function ChartEditor({ isOpen, reportId, isAdmin, chartBuilderTitle, cha
2590
2591
  interface StaticChartBaseProps {
2591
2592
  reportId: string;
2592
2593
  onClickChartElement?: (data: any) => void;
2594
+ onClickLegendElement?: (data: any) => void;
2593
2595
  showLegend?: boolean;
2594
2596
  }
2595
2597
  type StaticChartProps = (StaticChartBaseProps & {
@@ -3141,8 +3143,8 @@ type ClientFeatures = {
3141
3143
  };
3142
3144
  type QuillProviderClient = {
3143
3145
  name: string;
3144
- clientId: string;
3145
- publicKey: string;
3146
+ id?: string;
3147
+ clientId?: string;
3146
3148
  queryEndpoint: string;
3147
3149
  streamEndpoint?: string;
3148
3150
  queryHeaders?: HeadersInit;
@@ -3183,7 +3185,7 @@ type QuillTenant = {
3183
3185
  };
3184
3186
 
3185
3187
  interface QuillFetchOptions {
3186
- client: Pick<QuillProviderClient, 'clientId' | 'queryEndpoint' | 'queryHeaders' | 'withCredentials'>;
3188
+ client: Pick<QuillProviderClient, 'id' | 'clientId' | 'queryEndpoint' | 'queryHeaders' | 'withCredentials'>;
3187
3189
  task: string;
3188
3190
  method?: string;
3189
3191
  metadata: any;