@quillsql/react 2.16.66 → 2.16.67
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 +16 -3
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +16 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -39092,6 +39092,7 @@ function GaugeChart({
|
|
|
39092
39092
|
xAxisField,
|
|
39093
39093
|
xAxisFormat,
|
|
39094
39094
|
containerStyle,
|
|
39095
|
+
className,
|
|
39095
39096
|
colors,
|
|
39096
39097
|
isAnimationActive = true
|
|
39097
39098
|
}) {
|
|
@@ -39105,6 +39106,7 @@ function GaugeChart({
|
|
|
39105
39106
|
percentage: normalizedPercentage,
|
|
39106
39107
|
xAxisFormat,
|
|
39107
39108
|
containerStyle: { ...containerStyle },
|
|
39109
|
+
className,
|
|
39108
39110
|
colors,
|
|
39109
39111
|
isAnimationActive
|
|
39110
39112
|
}
|
|
@@ -39113,6 +39115,7 @@ function GaugeChart({
|
|
|
39113
39115
|
function D3Gauge({
|
|
39114
39116
|
percentage,
|
|
39115
39117
|
containerStyle,
|
|
39118
|
+
className,
|
|
39116
39119
|
xAxisFormat,
|
|
39117
39120
|
colors,
|
|
39118
39121
|
isAnimationActive
|
|
@@ -39281,7 +39284,8 @@ function D3Gauge({
|
|
|
39281
39284
|
"div",
|
|
39282
39285
|
{
|
|
39283
39286
|
ref: containerRef,
|
|
39284
|
-
style: { width: "100%",
|
|
39287
|
+
style: { width: "100%", ...containerStyle },
|
|
39288
|
+
className
|
|
39285
39289
|
}
|
|
39286
39290
|
);
|
|
39287
39291
|
}
|
|
@@ -40371,6 +40375,7 @@ var ChartDisplay = ({
|
|
|
40371
40375
|
xAxisField: config?.xAxisField ?? "",
|
|
40372
40376
|
xAxisFormat: config?.xAxisFormat ?? "whole_number",
|
|
40373
40377
|
containerStyle,
|
|
40378
|
+
className,
|
|
40374
40379
|
colors: chartColors,
|
|
40375
40380
|
isAnimationActive
|
|
40376
40381
|
}
|
|
@@ -43578,7 +43583,8 @@ function StaticChart(props) {
|
|
|
43578
43583
|
onClickLegendElement,
|
|
43579
43584
|
containerStyle,
|
|
43580
43585
|
showLegend,
|
|
43581
|
-
className
|
|
43586
|
+
className,
|
|
43587
|
+
hideTableChartOuterBorder = true
|
|
43582
43588
|
} = props;
|
|
43583
43589
|
const {
|
|
43584
43590
|
report,
|
|
@@ -43637,7 +43643,14 @@ function StaticChart(props) {
|
|
|
43637
43643
|
showLegend,
|
|
43638
43644
|
onPageChange: useLocalPivotTablePagination ? void 0 : onPageChange,
|
|
43639
43645
|
tableRowsLoading: useLocalPivotTablePagination ? false : pageLoading,
|
|
43640
|
-
onSortChange: useLocalPivotTablePagination ? void 0 : onSortChange
|
|
43646
|
+
onSortChange: useLocalPivotTablePagination ? void 0 : onSortChange,
|
|
43647
|
+
tableChartWrapperBorders: hideTableChartOuterBorder && report?.chartType === "table" ? {
|
|
43648
|
+
borderRadius: 0,
|
|
43649
|
+
borderLeft: "none",
|
|
43650
|
+
borderRight: "none",
|
|
43651
|
+
borderTop: "none",
|
|
43652
|
+
borderBottom: "none"
|
|
43653
|
+
} : void 0
|
|
43641
43654
|
}
|
|
43642
43655
|
);
|
|
43643
43656
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -2722,6 +2722,8 @@ interface StaticChartBaseProps {
|
|
|
2722
2722
|
onClickChartElement?: (data: any) => void;
|
|
2723
2723
|
onClickLegendElement?: (data: any) => void;
|
|
2724
2724
|
showLegend?: boolean;
|
|
2725
|
+
/** Strip QuillTable's outer frame when chart type is `table` (cell borders unchanged). */
|
|
2726
|
+
hideTableChartOuterBorder?: boolean;
|
|
2725
2727
|
}
|
|
2726
2728
|
type StaticChartProps = (StaticChartBaseProps & {
|
|
2727
2729
|
className: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2722,6 +2722,8 @@ interface StaticChartBaseProps {
|
|
|
2722
2722
|
onClickChartElement?: (data: any) => void;
|
|
2723
2723
|
onClickLegendElement?: (data: any) => void;
|
|
2724
2724
|
showLegend?: boolean;
|
|
2725
|
+
/** Strip QuillTable's outer frame when chart type is `table` (cell borders unchanged). */
|
|
2726
|
+
hideTableChartOuterBorder?: boolean;
|
|
2725
2727
|
}
|
|
2726
2728
|
type StaticChartProps = (StaticChartBaseProps & {
|
|
2727
2729
|
className: string;
|
package/dist/index.js
CHANGED
|
@@ -39188,6 +39188,7 @@ function GaugeChart({
|
|
|
39188
39188
|
xAxisField,
|
|
39189
39189
|
xAxisFormat,
|
|
39190
39190
|
containerStyle,
|
|
39191
|
+
className,
|
|
39191
39192
|
colors,
|
|
39192
39193
|
isAnimationActive = true
|
|
39193
39194
|
}) {
|
|
@@ -39201,6 +39202,7 @@ function GaugeChart({
|
|
|
39201
39202
|
percentage: normalizedPercentage,
|
|
39202
39203
|
xAxisFormat,
|
|
39203
39204
|
containerStyle: { ...containerStyle },
|
|
39205
|
+
className,
|
|
39204
39206
|
colors,
|
|
39205
39207
|
isAnimationActive
|
|
39206
39208
|
}
|
|
@@ -39209,6 +39211,7 @@ function GaugeChart({
|
|
|
39209
39211
|
function D3Gauge({
|
|
39210
39212
|
percentage,
|
|
39211
39213
|
containerStyle,
|
|
39214
|
+
className,
|
|
39212
39215
|
xAxisFormat,
|
|
39213
39216
|
colors,
|
|
39214
39217
|
isAnimationActive
|
|
@@ -39377,7 +39380,8 @@ function D3Gauge({
|
|
|
39377
39380
|
"div",
|
|
39378
39381
|
{
|
|
39379
39382
|
ref: containerRef,
|
|
39380
|
-
style: { width: "100%",
|
|
39383
|
+
style: { width: "100%", ...containerStyle },
|
|
39384
|
+
className
|
|
39381
39385
|
}
|
|
39382
39386
|
);
|
|
39383
39387
|
}
|
|
@@ -40467,6 +40471,7 @@ var ChartDisplay = ({
|
|
|
40467
40471
|
xAxisField: config?.xAxisField ?? "",
|
|
40468
40472
|
xAxisFormat: config?.xAxisFormat ?? "whole_number",
|
|
40469
40473
|
containerStyle,
|
|
40474
|
+
className,
|
|
40470
40475
|
colors: chartColors,
|
|
40471
40476
|
isAnimationActive
|
|
40472
40477
|
}
|
|
@@ -43681,7 +43686,8 @@ function StaticChart(props) {
|
|
|
43681
43686
|
onClickLegendElement,
|
|
43682
43687
|
containerStyle,
|
|
43683
43688
|
showLegend,
|
|
43684
|
-
className
|
|
43689
|
+
className,
|
|
43690
|
+
hideTableChartOuterBorder = true
|
|
43685
43691
|
} = props;
|
|
43686
43692
|
const {
|
|
43687
43693
|
report,
|
|
@@ -43740,7 +43746,14 @@ function StaticChart(props) {
|
|
|
43740
43746
|
showLegend,
|
|
43741
43747
|
onPageChange: useLocalPivotTablePagination ? void 0 : onPageChange,
|
|
43742
43748
|
tableRowsLoading: useLocalPivotTablePagination ? false : pageLoading,
|
|
43743
|
-
onSortChange: useLocalPivotTablePagination ? void 0 : onSortChange
|
|
43749
|
+
onSortChange: useLocalPivotTablePagination ? void 0 : onSortChange,
|
|
43750
|
+
tableChartWrapperBorders: hideTableChartOuterBorder && report?.chartType === "table" ? {
|
|
43751
|
+
borderRadius: 0,
|
|
43752
|
+
borderLeft: "none",
|
|
43753
|
+
borderRight: "none",
|
|
43754
|
+
borderTop: "none",
|
|
43755
|
+
borderBottom: "none"
|
|
43756
|
+
} : void 0
|
|
43744
43757
|
}
|
|
43745
43758
|
);
|
|
43746
43759
|
}
|