@quillsql/react 2.16.38 → 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 -5668
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +5528 -5050
- 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;
|
|
@@ -2878,6 +2879,7 @@ type ReportBuilder = {
|
|
|
2878
2879
|
sortField: string;
|
|
2879
2880
|
sortDirection: 'ASC' | 'DESC';
|
|
2880
2881
|
} | undefined;
|
|
2882
|
+
pivotDateBucket: 'day' | 'week' | 'month' | 'year' | undefined;
|
|
2881
2883
|
pivotHint: string;
|
|
2882
2884
|
pivotError: string;
|
|
2883
2885
|
createdPivots: Pivot[];
|
|
@@ -2905,6 +2907,7 @@ type ReportBuilder = {
|
|
|
2905
2907
|
sortField: string;
|
|
2906
2908
|
sortDirection: 'ASC' | 'DESC';
|
|
2907
2909
|
} | undefined>>;
|
|
2910
|
+
setPivotDateBucket: React.Dispatch<React.SetStateAction<'day' | 'week' | 'month' | 'year' | undefined>>;
|
|
2908
2911
|
setPivotError: React.Dispatch<React.SetStateAction<string>>;
|
|
2909
2912
|
handlePivotChange: (newPivot: Pivot | null, fetchData?: boolean, updateStateStack?: boolean) => void;
|
|
2910
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;
|
|
@@ -2878,6 +2879,7 @@ type ReportBuilder = {
|
|
|
2878
2879
|
sortField: string;
|
|
2879
2880
|
sortDirection: 'ASC' | 'DESC';
|
|
2880
2881
|
} | undefined;
|
|
2882
|
+
pivotDateBucket: 'day' | 'week' | 'month' | 'year' | undefined;
|
|
2881
2883
|
pivotHint: string;
|
|
2882
2884
|
pivotError: string;
|
|
2883
2885
|
createdPivots: Pivot[];
|
|
@@ -2905,6 +2907,7 @@ type ReportBuilder = {
|
|
|
2905
2907
|
sortField: string;
|
|
2906
2908
|
sortDirection: 'ASC' | 'DESC';
|
|
2907
2909
|
} | undefined>>;
|
|
2910
|
+
setPivotDateBucket: React.Dispatch<React.SetStateAction<'day' | 'week' | 'month' | 'year' | undefined>>;
|
|
2908
2911
|
setPivotError: React.Dispatch<React.SetStateAction<string>>;
|
|
2909
2912
|
handlePivotChange: (newPivot: Pivot | null, fetchData?: boolean, updateStateStack?: boolean) => void;
|
|
2910
2913
|
updatePivot: (changeField: string | Partial<{
|