@quillsql/react 2.16.37 → 2.16.39
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 +6138 -5667
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +5847 -5368
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -554,6 +554,7 @@ interface BasePivot {
|
|
|
554
554
|
triggerButtonText?: string;
|
|
555
555
|
rowLimit?: number;
|
|
556
556
|
columnValues?: string[];
|
|
557
|
+
dateBucket?: 'day' | 'week' | 'month' | 'year';
|
|
557
558
|
}
|
|
558
559
|
interface SingleAggregationPivot extends BasePivot {
|
|
559
560
|
aggregationType: AggregationType;
|
|
@@ -1512,7 +1513,7 @@ interface ChartProps {
|
|
|
1512
1513
|
declare function Chart({ colors, reportId, className, containerStyle, isAnimationActive, hideXAxis, hideYAxis, hideCartesianGrid, hideHorizontalCartesianGrid, hideVerticalCartesianGrid, hideSubsequentXAxisTicks, cartesianGridLineStyle, cartesianGridLineColor, comparisonLineStyle, hideDateRangeFilter, hideFilters, mapColorsToFields, LoadingComponent, SelectComponent, MultiSelectComponent, DateRangePickerComponent, FilterContainerComponent, TableComponent, MetricComponent, filters, onClickChartElement, dateBucket, propagateChanges, isAdmin, }: ChartProps): react_jsx_runtime.JSX.Element;
|
|
1513
1514
|
interface ChartDisplayProps extends WithConfig {
|
|
1514
1515
|
loading: boolean;
|
|
1515
|
-
ErrorComponent?: ({ errorMessage }: {
|
|
1516
|
+
ErrorComponent?: ({ errorMessage, }: {
|
|
1516
1517
|
errorMessage: string;
|
|
1517
1518
|
}) => React.JSX.Element;
|
|
1518
1519
|
colorMap?: ColorMapType;
|
|
@@ -2811,6 +2812,7 @@ type Table = {
|
|
|
2811
2812
|
isSelectStar: boolean;
|
|
2812
2813
|
displayName: string;
|
|
2813
2814
|
name: string;
|
|
2815
|
+
description?: string;
|
|
2814
2816
|
columns: ColumnInternal[];
|
|
2815
2817
|
viewQuery: string;
|
|
2816
2818
|
customFieldInfo: any;
|
|
@@ -2877,6 +2879,7 @@ type ReportBuilder = {
|
|
|
2877
2879
|
sortField: string;
|
|
2878
2880
|
sortDirection: 'ASC' | 'DESC';
|
|
2879
2881
|
} | undefined;
|
|
2882
|
+
pivotDateBucket: 'day' | 'week' | 'month' | 'year' | undefined;
|
|
2880
2883
|
pivotHint: string;
|
|
2881
2884
|
pivotError: string;
|
|
2882
2885
|
createdPivots: Pivot[];
|
|
@@ -2904,6 +2907,7 @@ type ReportBuilder = {
|
|
|
2904
2907
|
sortField: string;
|
|
2905
2908
|
sortDirection: 'ASC' | 'DESC';
|
|
2906
2909
|
} | undefined>>;
|
|
2910
|
+
setPivotDateBucket: React.Dispatch<React.SetStateAction<'day' | 'week' | 'month' | 'year' | undefined>>;
|
|
2907
2911
|
setPivotError: React.Dispatch<React.SetStateAction<string>>;
|
|
2908
2912
|
handlePivotChange: (newPivot: Pivot | null, fetchData?: boolean, updateStateStack?: boolean) => void;
|
|
2909
2913
|
updatePivot: (changeField: string | Partial<{
|
package/dist/index.d.ts
CHANGED
|
@@ -554,6 +554,7 @@ interface BasePivot {
|
|
|
554
554
|
triggerButtonText?: string;
|
|
555
555
|
rowLimit?: number;
|
|
556
556
|
columnValues?: string[];
|
|
557
|
+
dateBucket?: 'day' | 'week' | 'month' | 'year';
|
|
557
558
|
}
|
|
558
559
|
interface SingleAggregationPivot extends BasePivot {
|
|
559
560
|
aggregationType: AggregationType;
|
|
@@ -1512,7 +1513,7 @@ interface ChartProps {
|
|
|
1512
1513
|
declare function Chart({ colors, reportId, className, containerStyle, isAnimationActive, hideXAxis, hideYAxis, hideCartesianGrid, hideHorizontalCartesianGrid, hideVerticalCartesianGrid, hideSubsequentXAxisTicks, cartesianGridLineStyle, cartesianGridLineColor, comparisonLineStyle, hideDateRangeFilter, hideFilters, mapColorsToFields, LoadingComponent, SelectComponent, MultiSelectComponent, DateRangePickerComponent, FilterContainerComponent, TableComponent, MetricComponent, filters, onClickChartElement, dateBucket, propagateChanges, isAdmin, }: ChartProps): react_jsx_runtime.JSX.Element;
|
|
1513
1514
|
interface ChartDisplayProps extends WithConfig {
|
|
1514
1515
|
loading: boolean;
|
|
1515
|
-
ErrorComponent?: ({ errorMessage }: {
|
|
1516
|
+
ErrorComponent?: ({ errorMessage, }: {
|
|
1516
1517
|
errorMessage: string;
|
|
1517
1518
|
}) => React.JSX.Element;
|
|
1518
1519
|
colorMap?: ColorMapType;
|
|
@@ -2811,6 +2812,7 @@ type Table = {
|
|
|
2811
2812
|
isSelectStar: boolean;
|
|
2812
2813
|
displayName: string;
|
|
2813
2814
|
name: string;
|
|
2815
|
+
description?: string;
|
|
2814
2816
|
columns: ColumnInternal[];
|
|
2815
2817
|
viewQuery: string;
|
|
2816
2818
|
customFieldInfo: any;
|
|
@@ -2877,6 +2879,7 @@ type ReportBuilder = {
|
|
|
2877
2879
|
sortField: string;
|
|
2878
2880
|
sortDirection: 'ASC' | 'DESC';
|
|
2879
2881
|
} | undefined;
|
|
2882
|
+
pivotDateBucket: 'day' | 'week' | 'month' | 'year' | undefined;
|
|
2880
2883
|
pivotHint: string;
|
|
2881
2884
|
pivotError: string;
|
|
2882
2885
|
createdPivots: Pivot[];
|
|
@@ -2904,6 +2907,7 @@ type ReportBuilder = {
|
|
|
2904
2907
|
sortField: string;
|
|
2905
2908
|
sortDirection: 'ASC' | 'DESC';
|
|
2906
2909
|
} | undefined>>;
|
|
2910
|
+
setPivotDateBucket: React.Dispatch<React.SetStateAction<'day' | 'week' | 'month' | 'year' | undefined>>;
|
|
2907
2911
|
setPivotError: React.Dispatch<React.SetStateAction<string>>;
|
|
2908
2912
|
handlePivotChange: (newPivot: Pivot | null, fetchData?: boolean, updateStateStack?: boolean) => void;
|
|
2909
2913
|
updatePivot: (changeField: string | Partial<{
|