@quillsql/react 2.16.21 → 2.16.23
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 +304 -55
- package/dist/index.d.cts +198 -198
- package/dist/index.d.ts +198 -198
- package/dist/index.js +310 -65
- package/package.json +16 -8
package/dist/index.d.cts
CHANGED
|
@@ -786,27 +786,27 @@ interface DashboardProps {
|
|
|
786
786
|
MetricComponent?: ({ report, onClick, hoverActions, children, isLoading, error, }: {
|
|
787
787
|
report: QuillReport;
|
|
788
788
|
onClick?: (report: QuillReport) => void;
|
|
789
|
-
hoverActions?: (report: QuillReport) => JSX.Element;
|
|
789
|
+
hoverActions?: (report: QuillReport) => React$1.JSX.Element;
|
|
790
790
|
children?: ReactNode;
|
|
791
791
|
isLoading?: boolean;
|
|
792
792
|
error?: string;
|
|
793
|
-
}) => JSX.Element;
|
|
793
|
+
}) => React$1.JSX.Element;
|
|
794
794
|
/** A component that wraps a dashboard item for non-table, non-metric chart types. */
|
|
795
795
|
ChartComponent?: ({ report, onClick, hoverActions, isLoading, error, dateBucket, children, onClickChartElement, }: {
|
|
796
796
|
report: QuillReport;
|
|
797
797
|
onClick?: (report: QuillReport) => void;
|
|
798
|
-
hoverActions?: (report: QuillReport) => JSX.Element;
|
|
798
|
+
hoverActions?: (report: QuillReport) => React$1.JSX.Element;
|
|
799
799
|
isLoading?: boolean;
|
|
800
800
|
error?: string;
|
|
801
801
|
children?: ReactNode;
|
|
802
802
|
dateBucket?: string;
|
|
803
803
|
onClickChartElement?: (data: any) => void;
|
|
804
|
-
}) => JSX.Element;
|
|
804
|
+
}) => React$1.JSX.Element;
|
|
805
805
|
/** A component that wraps a dashboard item for 'table' chart types. */
|
|
806
806
|
TableComponent?: ({ report, onClick, hoverActions, isLoading, error, rowCount, rowCountIsLoading, onPageChange, onSortChange, }: {
|
|
807
807
|
report: QuillReport;
|
|
808
808
|
onClick?: (report: QuillReport) => void;
|
|
809
|
-
hoverActions?: (report: QuillReport) => JSX.Element;
|
|
809
|
+
hoverActions?: (report: QuillReport) => React$1.JSX.Element;
|
|
810
810
|
isLoading?: boolean;
|
|
811
811
|
error?: string;
|
|
812
812
|
rowCount?: number;
|
|
@@ -816,14 +816,14 @@ interface DashboardProps {
|
|
|
816
816
|
field: string;
|
|
817
817
|
direction: string;
|
|
818
818
|
}) => void;
|
|
819
|
-
}) => JSX.Element;
|
|
819
|
+
}) => React$1.JSX.Element;
|
|
820
820
|
/** A component (to be used in a template) that wraps a dashboard item for 'metric' chart types. */
|
|
821
821
|
TemplateMetricComponent?: ({ report, onClick, isLoading, error, }: {
|
|
822
822
|
report: QuillReport;
|
|
823
823
|
onClick?: (report: QuillReport) => void;
|
|
824
824
|
isLoading?: boolean;
|
|
825
825
|
error?: string;
|
|
826
|
-
}) => JSX.Element;
|
|
826
|
+
}) => React$1.JSX.Element;
|
|
827
827
|
/** A component (to be used in a template) that wraps a dashboard item for non-table, non-metric chart types. */
|
|
828
828
|
TemplateChartComponent?: ({ report, onClick, isLoading, error, dateBucket, children, onClickChartElement, }: {
|
|
829
829
|
report: QuillReport;
|
|
@@ -833,7 +833,7 @@ interface DashboardProps {
|
|
|
833
833
|
children?: ReactNode;
|
|
834
834
|
dateBucket?: string;
|
|
835
835
|
onClickChartElement?: (data: any) => void;
|
|
836
|
-
}) => JSX.Element;
|
|
836
|
+
}) => React$1.JSX.Element;
|
|
837
837
|
/** A component (to be used in a template) that wraps a dashboard item for 'table' chart types. */
|
|
838
838
|
TemplateTableComponent?: ({ report, onClick, isLoading, error, rowCount, onPageChange, onSortChange, }: {
|
|
839
839
|
report: QuillReport;
|
|
@@ -846,7 +846,7 @@ interface DashboardProps {
|
|
|
846
846
|
field: string;
|
|
847
847
|
direction: string;
|
|
848
848
|
}) => void;
|
|
849
|
-
}) => JSX.Element;
|
|
849
|
+
}) => React$1.JSX.Element;
|
|
850
850
|
/** A select component. */
|
|
851
851
|
SelectComponent?: ({ label, value, options, onChange, width, }: {
|
|
852
852
|
value: string | null | undefined;
|
|
@@ -857,7 +857,7 @@ interface DashboardProps {
|
|
|
857
857
|
label: string;
|
|
858
858
|
}[];
|
|
859
859
|
onChange: (event: React$1.ChangeEvent<HTMLSelectElement>) => void;
|
|
860
|
-
}) => JSX.Element;
|
|
860
|
+
}) => React$1.JSX.Element;
|
|
861
861
|
/** A multiselect component. */
|
|
862
862
|
MultiSelectComponent?: ({ label, value, options, onChange, width, }: {
|
|
863
863
|
value: (string | null)[];
|
|
@@ -872,7 +872,7 @@ interface DashboardProps {
|
|
|
872
872
|
value: (string | null)[];
|
|
873
873
|
};
|
|
874
874
|
}) => void;
|
|
875
|
-
}) => JSX.Element;
|
|
875
|
+
}) => React$1.JSX.Element;
|
|
876
876
|
/** A popover component. */
|
|
877
877
|
PopoverComponent?: (props: {
|
|
878
878
|
isOpen: boolean;
|
|
@@ -881,7 +881,7 @@ interface DashboardProps {
|
|
|
881
881
|
popoverTitle?: string;
|
|
882
882
|
containerStyle?: any;
|
|
883
883
|
ignoredRefs?: React$1.RefObject<any>[];
|
|
884
|
-
}) => JSX.Element;
|
|
884
|
+
}) => React$1.JSX.Element;
|
|
885
885
|
/** A filter tag component */
|
|
886
886
|
FilterTagComponent?: (props: {
|
|
887
887
|
isOpen: boolean;
|
|
@@ -890,7 +890,7 @@ interface DashboardProps {
|
|
|
890
890
|
popoverChildren: ReactNode;
|
|
891
891
|
filterLabel: string;
|
|
892
892
|
onClickDelete: (e: React$1.MouseEvent<HTMLElement>) => void;
|
|
893
|
-
}) => JSX.Element;
|
|
893
|
+
}) => React$1.JSX.Element;
|
|
894
894
|
/** A modal component */
|
|
895
895
|
ModalComponent?: (props: {
|
|
896
896
|
children: ReactNode;
|
|
@@ -898,21 +898,21 @@ interface DashboardProps {
|
|
|
898
898
|
title: string;
|
|
899
899
|
setIsOpen: (isOpen: boolean) => void;
|
|
900
900
|
triggerLabel: string;
|
|
901
|
-
}) => JSX.Element;
|
|
901
|
+
}) => React$1.JSX.Element;
|
|
902
902
|
/** A primary button component. */
|
|
903
903
|
ButtonComponent?: (props: {
|
|
904
904
|
onClick: () => void;
|
|
905
905
|
label: string;
|
|
906
906
|
disabled?: boolean;
|
|
907
907
|
icon?: ReactNode;
|
|
908
|
-
}) => JSX.Element;
|
|
908
|
+
}) => React$1.JSX.Element;
|
|
909
909
|
/** A secondary button component. */
|
|
910
910
|
SecondaryButtonComponent?: (props: {
|
|
911
911
|
onClick: () => void;
|
|
912
912
|
label: string;
|
|
913
913
|
disabled?: boolean;
|
|
914
914
|
icon?: ReactNode;
|
|
915
|
-
}) => JSX.Element;
|
|
915
|
+
}) => React$1.JSX.Element;
|
|
916
916
|
/**
|
|
917
917
|
* A modal component for a list of filters.
|
|
918
918
|
*/
|
|
@@ -920,9 +920,9 @@ interface DashboardProps {
|
|
|
920
920
|
isOpen: boolean;
|
|
921
921
|
setIsOpen: (isOpen: boolean) => void;
|
|
922
922
|
children: ReactNode;
|
|
923
|
-
}) => JSX.Element;
|
|
923
|
+
}) => React$1.JSX.Element;
|
|
924
924
|
/** A input element for getting text from the user. */
|
|
925
|
-
TextInputComponent?: ((props: TextInputComponentProps) => JSX.Element) | React$1.ForwardRefExoticComponent<TextInputComponentProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
925
|
+
TextInputComponent?: ((props: TextInputComponentProps) => React$1.JSX.Element) | React$1.ForwardRefExoticComponent<TextInputComponentProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
926
926
|
/** A date range picker component. */
|
|
927
927
|
DateRangePickerComponent?: ({ dateRange, label, presetOptions, preset, selectWidth, onChangeDateRange, onChangePreset, }: {
|
|
928
928
|
preset: string;
|
|
@@ -941,48 +941,48 @@ interface DashboardProps {
|
|
|
941
941
|
endDate: Date;
|
|
942
942
|
}) => void;
|
|
943
943
|
onChangePreset: (event: ChangeEvent<HTMLSelectElement>) => void;
|
|
944
|
-
}) => JSX.Element;
|
|
944
|
+
}) => React$1.JSX.Element;
|
|
945
945
|
/**
|
|
946
946
|
* A component that wraps each dashboard section.
|
|
947
947
|
*/
|
|
948
948
|
DashboardSectionComponent?: ({ section, children, }: {
|
|
949
949
|
section: string;
|
|
950
950
|
children: ReactNode;
|
|
951
|
-
}) => JSX.Element;
|
|
951
|
+
}) => React$1.JSX.Element;
|
|
952
952
|
DashboardSectionTabsComponent?: ({ sections, selectedSection, setSelectedSection, }: {
|
|
953
953
|
sections: string[];
|
|
954
954
|
selectedSection: string;
|
|
955
955
|
setSelectedSection: (section: string) => void;
|
|
956
|
-
}) => JSX.Element;
|
|
956
|
+
}) => React$1.JSX.Element;
|
|
957
957
|
/** A component that wraps all dashboard sections. */
|
|
958
958
|
DashboardSectionContainerComponent?: ({ children, }: {
|
|
959
959
|
children: ReactNode;
|
|
960
|
-
}) => JSX.Element;
|
|
960
|
+
}) => React$1.JSX.Element;
|
|
961
961
|
/** A component that wraps the row of dashboard filters. */
|
|
962
962
|
FilterContainerComponent?: ({ children, }: {
|
|
963
963
|
children: ReactNode;
|
|
964
|
-
}) => JSX.Element;
|
|
964
|
+
}) => React$1.JSX.Element;
|
|
965
965
|
/** A fallback component displayed when an active dashboard has no items. */
|
|
966
|
-
EmptyDashboardComponent?: () => JSX.Element;
|
|
966
|
+
EmptyDashboardComponent?: () => React$1.JSX.Element;
|
|
967
967
|
/** A component that displays a loading state for charts. */
|
|
968
968
|
DashboardLoadingComponent?: ({ showFilterLoading, numCharts, containerStyle, chartContainerStyle, LoadingComponent, }: {
|
|
969
969
|
showFilterLoading?: boolean;
|
|
970
970
|
numCharts?: number;
|
|
971
971
|
containerStyle?: CSSProperties;
|
|
972
972
|
chartContainerStyle?: CSSProperties;
|
|
973
|
-
LoadingComponent?: () => JSX.Element;
|
|
974
|
-
}) => JSX.Element;
|
|
973
|
+
LoadingComponent?: () => React$1.JSX.Element;
|
|
974
|
+
}) => React$1.JSX.Element;
|
|
975
975
|
ErrorComponent?: ({ className, containerStyle, label, onClick, ButtonComponent, }: {
|
|
976
976
|
className?: string;
|
|
977
977
|
containerStyle?: React$1.CSSProperties;
|
|
978
978
|
label?: string;
|
|
979
979
|
onClick?: (element: any) => void;
|
|
980
980
|
ButtonComponent?: React$1.ComponentType<any>;
|
|
981
|
-
}) => JSX.Element;
|
|
981
|
+
}) => React$1.JSX.Element;
|
|
982
982
|
/** A callback fired when a report is clicked. */
|
|
983
983
|
onClickReport?: (report: QuillReport) => void;
|
|
984
984
|
/** A component that is shown when the report is hovered */
|
|
985
|
-
hoverActions?: (report: QuillReport) => JSX.Element;
|
|
985
|
+
hoverActions?: (report: QuillReport) => React$1.JSX.Element;
|
|
986
986
|
/** A callback that is fired when the loading status of the dashboard changes. */
|
|
987
987
|
onChangeLoading?: (isLoading: boolean) => void;
|
|
988
988
|
/** Whether to hide the dashboard filters (default: `false`). */
|
|
@@ -1388,16 +1388,16 @@ interface ChartProps {
|
|
|
1388
1388
|
/**
|
|
1389
1389
|
* A loading component to show when the chart is loading.
|
|
1390
1390
|
*/
|
|
1391
|
-
LoadingComponent?: () => JSX.Element;
|
|
1391
|
+
LoadingComponent?: () => React.JSX.Element;
|
|
1392
1392
|
/** A select component prop for the table filters */
|
|
1393
|
-
SelectComponent?: (props: SelectComponentProps) => JSX.Element;
|
|
1393
|
+
SelectComponent?: (props: SelectComponentProps) => React.JSX.Element;
|
|
1394
1394
|
/** A multi select component prop for the table filters */
|
|
1395
|
-
MultiSelectComponent?: (props: MultiSelectComponentProps) => JSX.Element;
|
|
1395
|
+
MultiSelectComponent?: (props: MultiSelectComponentProps) => React.JSX.Element;
|
|
1396
1396
|
/** A component that wraps a chart for 'table' chart types. */
|
|
1397
1397
|
TableComponent?: ({ report, onClick, hoverActions, isLoading, error, rowCount, rowCountIsLoading, onPageChange, onSortChange, }: {
|
|
1398
1398
|
report: QuillReport;
|
|
1399
1399
|
onClick?: (report: QuillReport) => void;
|
|
1400
|
-
hoverActions?: (report: QuillReport) => JSX.Element;
|
|
1400
|
+
hoverActions?: (report: QuillReport) => React.JSX.Element;
|
|
1401
1401
|
isLoading?: boolean;
|
|
1402
1402
|
error?: string;
|
|
1403
1403
|
rowCount?: number;
|
|
@@ -1408,16 +1408,16 @@ interface ChartProps {
|
|
|
1408
1408
|
direction: string;
|
|
1409
1409
|
}) => void;
|
|
1410
1410
|
hideName?: boolean;
|
|
1411
|
-
}) => JSX.Element;
|
|
1411
|
+
}) => React.JSX.Element;
|
|
1412
1412
|
/** A component that wraps a dashboard item for 'metric' chart types. */
|
|
1413
1413
|
MetricComponent?: ({ report, onClick, hoverActions, isLoading, children, error, }: {
|
|
1414
1414
|
report: QuillReport;
|
|
1415
1415
|
onClick?: (report: QuillReport) => void;
|
|
1416
|
-
hoverActions?: (report: QuillReport) => JSX.Element;
|
|
1416
|
+
hoverActions?: (report: QuillReport) => React.JSX.Element;
|
|
1417
1417
|
isLoading?: boolean;
|
|
1418
1418
|
children?: ReactNode;
|
|
1419
1419
|
error?: string;
|
|
1420
|
-
}) => JSX.Element;
|
|
1420
|
+
}) => React.JSX.Element;
|
|
1421
1421
|
/** A date range picker component prop for the table filters */
|
|
1422
1422
|
DateRangePickerComponent?: ({ dateRange, label, presetOptions, preset, selectWidth, onChangeDateRange, onChangePreset, }: {
|
|
1423
1423
|
preset: string;
|
|
@@ -1436,11 +1436,11 @@ interface ChartProps {
|
|
|
1436
1436
|
endDate: Date;
|
|
1437
1437
|
}) => void;
|
|
1438
1438
|
onChangePreset: (event: ChangeEvent<HTMLSelectElement>) => void;
|
|
1439
|
-
}) => JSX.Element;
|
|
1439
|
+
}) => React.JSX.Element;
|
|
1440
1440
|
/** A filter container component component prop for the table filters */
|
|
1441
1441
|
FilterContainerComponent?: ({ children, }: {
|
|
1442
1442
|
children: ReactNode;
|
|
1443
|
-
}) => JSX.Element;
|
|
1443
|
+
}) => React.JSX.Element;
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Styles the top-level container of the Chart.
|
|
1446
1446
|
*
|
|
@@ -1552,11 +1552,11 @@ interface TableProps {
|
|
|
1552
1552
|
/**
|
|
1553
1553
|
* A loading component to show when the table is loading.
|
|
1554
1554
|
*/
|
|
1555
|
-
LoadingComponent?: () => JSX.Element;
|
|
1555
|
+
LoadingComponent?: () => React$1.JSX.Element;
|
|
1556
1556
|
/** A select component prop for the table filters */
|
|
1557
|
-
SelectComponent?: (props: SelectComponentProps) => JSX.Element;
|
|
1557
|
+
SelectComponent?: (props: SelectComponentProps) => React$1.JSX.Element;
|
|
1558
1558
|
/** A multi select component prop for the table filters */
|
|
1559
|
-
MultiSelectComponent?: (props: MultiSelectComponentProps) => JSX.Element;
|
|
1559
|
+
MultiSelectComponent?: (props: MultiSelectComponentProps) => React$1.JSX.Element;
|
|
1560
1560
|
/** A date range picker component prop for the table filters */
|
|
1561
1561
|
DateRangePickerComponent?: ({ dateRange, label, presetOptions, preset, selectWidth, onChangeDateRange, onChangePreset, }: {
|
|
1562
1562
|
preset: string;
|
|
@@ -1575,11 +1575,11 @@ interface TableProps {
|
|
|
1575
1575
|
endDate: Date;
|
|
1576
1576
|
}) => void;
|
|
1577
1577
|
onChangePreset: (event: ChangeEvent<HTMLSelectElement>) => void;
|
|
1578
|
-
}) => JSX.Element;
|
|
1578
|
+
}) => React$1.JSX.Element;
|
|
1579
1579
|
TableComponent?: ({ report, onClick, hoverActions, isLoading, error, rowCount, rowCountIsLoading, onPageChange, onSortChange, }: {
|
|
1580
1580
|
report: QuillReport;
|
|
1581
1581
|
onClick?: (report: QuillReport) => void;
|
|
1582
|
-
hoverActions?: (report: QuillReport) => JSX.Element;
|
|
1582
|
+
hoverActions?: (report: QuillReport) => React$1.JSX.Element;
|
|
1583
1583
|
isLoading?: boolean;
|
|
1584
1584
|
error?: string;
|
|
1585
1585
|
rowCount?: number;
|
|
@@ -1590,11 +1590,11 @@ interface TableProps {
|
|
|
1590
1590
|
direction: string;
|
|
1591
1591
|
}) => void;
|
|
1592
1592
|
hideName?: boolean;
|
|
1593
|
-
}) => JSX.Element;
|
|
1593
|
+
}) => React$1.JSX.Element;
|
|
1594
1594
|
/** A filter container component component prop for the table filters */
|
|
1595
1595
|
FilterContainerComponent?: ({ children, }: {
|
|
1596
1596
|
children: ReactNode;
|
|
1597
|
-
}) => JSX.Element;
|
|
1597
|
+
}) => React$1.JSX.Element;
|
|
1598
1598
|
/**
|
|
1599
1599
|
* Styles the top-level container of the Table.
|
|
1600
1600
|
*
|
|
@@ -1655,7 +1655,7 @@ interface SQLEditorProps {
|
|
|
1655
1655
|
icon?: ReactNode;
|
|
1656
1656
|
tooltipText?: string;
|
|
1657
1657
|
isLoading?: boolean;
|
|
1658
|
-
}) => JSX.Element;
|
|
1658
|
+
}) => React$1.JSX.Element;
|
|
1659
1659
|
/**
|
|
1660
1660
|
* A secondary button component.
|
|
1661
1661
|
*/
|
|
@@ -1664,15 +1664,15 @@ interface SQLEditorProps {
|
|
|
1664
1664
|
label: string;
|
|
1665
1665
|
disabled?: boolean;
|
|
1666
1666
|
icon?: ReactNode;
|
|
1667
|
-
}) => JSX.Element;
|
|
1667
|
+
}) => React$1.JSX.Element;
|
|
1668
1668
|
/** A small delete button used to click out of things. Usually an "X" icon. */
|
|
1669
1669
|
DeleteButtonComponent?: (props: {
|
|
1670
1670
|
onClick: () => void;
|
|
1671
|
-
}) => JSX.Element;
|
|
1671
|
+
}) => React$1.JSX.Element;
|
|
1672
1672
|
/**
|
|
1673
1673
|
* A input element for getting text from the user.
|
|
1674
1674
|
*/
|
|
1675
|
-
TextInputComponent?: ((props: TextInputComponentProps) => JSX.Element) | React$1.ForwardRefExoticComponent<TextInputComponentProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
1675
|
+
TextInputComponent?: ((props: TextInputComponentProps) => React$1.JSX.Element) | React$1.ForwardRefExoticComponent<TextInputComponentProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
1676
1676
|
/** A select component. */
|
|
1677
1677
|
SelectComponent?: (props: {
|
|
1678
1678
|
value: string | number | null | undefined;
|
|
@@ -1683,7 +1683,7 @@ interface SQLEditorProps {
|
|
|
1683
1683
|
}[];
|
|
1684
1684
|
onChange: (event: React$1.ChangeEvent<HTMLSelectElement>) => void;
|
|
1685
1685
|
width: number;
|
|
1686
|
-
}) => JSX.Element;
|
|
1686
|
+
}) => React$1.JSX.Element;
|
|
1687
1687
|
/**
|
|
1688
1688
|
* A table component to show the results of the SQL query.
|
|
1689
1689
|
*/
|
|
@@ -1707,17 +1707,17 @@ interface SQLEditorProps {
|
|
|
1707
1707
|
containerStyle?: React$1.CSSProperties;
|
|
1708
1708
|
currentPage?: number;
|
|
1709
1709
|
setCurrentPage?: (page: number) => void;
|
|
1710
|
-
}) => JSX.Element;
|
|
1710
|
+
}) => React$1.JSX.Element;
|
|
1711
1711
|
/**
|
|
1712
1712
|
* A component to show while the query results are loading.
|
|
1713
1713
|
*/
|
|
1714
|
-
LoadingComponent?: () => JSX.Element;
|
|
1714
|
+
LoadingComponent?: () => React$1.JSX.Element;
|
|
1715
1715
|
/** A card component used as a dismissable container of pivot information. */
|
|
1716
1716
|
CardComponent?: (props: {
|
|
1717
1717
|
children: ReactNode;
|
|
1718
1718
|
onClick?: () => void;
|
|
1719
1719
|
onDelete?: () => void;
|
|
1720
|
-
}) => JSX.Element;
|
|
1720
|
+
}) => React$1.JSX.Element;
|
|
1721
1721
|
/**
|
|
1722
1722
|
* A modal component to use to open the add to dashboard dialog.
|
|
1723
1723
|
*/
|
|
@@ -1728,7 +1728,7 @@ interface SQLEditorProps {
|
|
|
1728
1728
|
children: ReactNode;
|
|
1729
1729
|
width?: number;
|
|
1730
1730
|
height?: number;
|
|
1731
|
-
}) => JSX.Element;
|
|
1731
|
+
}) => React$1.JSX.Element;
|
|
1732
1732
|
/** A popover component. */
|
|
1733
1733
|
PopoverComponent?: (props: {
|
|
1734
1734
|
isOpen: boolean;
|
|
@@ -1736,65 +1736,65 @@ interface SQLEditorProps {
|
|
|
1736
1736
|
triggerLabel?: string;
|
|
1737
1737
|
popoverTitle?: string;
|
|
1738
1738
|
popoverChildren: ReactNode;
|
|
1739
|
-
}) => JSX.Element;
|
|
1739
|
+
}) => React$1.JSX.Element;
|
|
1740
1740
|
/** A checkbox component. */
|
|
1741
1741
|
CheckboxComponent?: (props: {
|
|
1742
1742
|
isChecked: boolean;
|
|
1743
1743
|
label: string;
|
|
1744
1744
|
onChange: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
|
|
1745
|
-
}) => JSX.Element;
|
|
1745
|
+
}) => React$1.JSX.Element;
|
|
1746
1746
|
/** A label component. */
|
|
1747
1747
|
LabelComponent?: (props: {
|
|
1748
1748
|
label: string;
|
|
1749
|
-
}) => JSX.Element;
|
|
1749
|
+
}) => React$1.JSX.Element;
|
|
1750
1750
|
/** A header component. */
|
|
1751
1751
|
HeaderComponent?: (props: {
|
|
1752
1752
|
label: string;
|
|
1753
|
-
}) => JSX.Element;
|
|
1753
|
+
}) => React$1.JSX.Element;
|
|
1754
1754
|
/** A sub-header component describes a group of inputs. */
|
|
1755
1755
|
SubHeaderComponent?: (props: {
|
|
1756
1756
|
label: string;
|
|
1757
|
-
}) => JSX.Element;
|
|
1757
|
+
}) => React$1.JSX.Element;
|
|
1758
1758
|
/** A simple text component. */
|
|
1759
1759
|
TextComponent?: (props: {
|
|
1760
1760
|
label: string;
|
|
1761
|
-
}) => JSX.Element;
|
|
1761
|
+
}) => React$1.JSX.Element;
|
|
1762
1762
|
/**
|
|
1763
1763
|
* A container for each row of inputs for the ChartBuilder form.
|
|
1764
1764
|
*/
|
|
1765
1765
|
ChartBuilderInputRowContainer?: (props: {
|
|
1766
1766
|
children: ReactNode;
|
|
1767
|
-
}) => JSX.Element;
|
|
1767
|
+
}) => React$1.JSX.Element;
|
|
1768
1768
|
/**
|
|
1769
1769
|
* A container for vertically-stacked rows of inputs for the ChartBuilder form.
|
|
1770
1770
|
*/
|
|
1771
1771
|
ChartBuilderInputColumnContainer?: (props: {
|
|
1772
1772
|
children: ReactNode;
|
|
1773
|
-
}) => JSX.Element;
|
|
1773
|
+
}) => React$1.JSX.Element;
|
|
1774
1774
|
/**
|
|
1775
1775
|
* A container for each row of inputs for the pivot form.
|
|
1776
1776
|
*/
|
|
1777
1777
|
PivotRowContainer?: (props: {
|
|
1778
1778
|
children: ReactNode;
|
|
1779
|
-
}) => JSX.Element;
|
|
1779
|
+
}) => React$1.JSX.Element;
|
|
1780
1780
|
/**
|
|
1781
1781
|
* A container for vertically-stacked rows of inputs for the pivot form.
|
|
1782
1782
|
*/
|
|
1783
1783
|
PivotColumnContainer?: (props: {
|
|
1784
1784
|
children: ReactNode;
|
|
1785
|
-
}) => JSX.Element;
|
|
1785
|
+
}) => React$1.JSX.Element;
|
|
1786
1786
|
/**
|
|
1787
1787
|
* A container for vertically-stacked sections of the chart builder form.
|
|
1788
1788
|
*/
|
|
1789
1789
|
ChartBuilderFormContainer?: (props: {
|
|
1790
1790
|
children: ReactNode;
|
|
1791
|
-
}) => JSX.Element;
|
|
1791
|
+
}) => React$1.JSX.Element;
|
|
1792
1792
|
/**
|
|
1793
1793
|
* A component that displays error messages.
|
|
1794
1794
|
*/
|
|
1795
1795
|
ErrorMessageComponent?: (props: {
|
|
1796
1796
|
errorMessage: string;
|
|
1797
|
-
}) => JSX.Element;
|
|
1797
|
+
}) => React$1.JSX.Element;
|
|
1798
1798
|
/**
|
|
1799
1799
|
* A callback that is fired when the query changes.
|
|
1800
1800
|
*/
|
|
@@ -1955,7 +1955,7 @@ declare const SchemaListComponent: ({ schema, theme, loading, LoadingComponent,
|
|
|
1955
1955
|
ButtonComponent?: (props: {
|
|
1956
1956
|
onClick: () => void;
|
|
1957
1957
|
label: string;
|
|
1958
|
-
}) => JSX.Element;
|
|
1958
|
+
}) => React$1.JSX.Element;
|
|
1959
1959
|
}) => react_jsx_runtime.JSX.Element;
|
|
1960
1960
|
|
|
1961
1961
|
/**
|
|
@@ -1985,7 +1985,7 @@ interface ReportBuilderProps {
|
|
|
1985
1985
|
icon?: ReactNode;
|
|
1986
1986
|
isLoading?: boolean;
|
|
1987
1987
|
tooltipText?: string;
|
|
1988
|
-
}) => JSX.Element;
|
|
1988
|
+
}) => React.JSX.Element;
|
|
1989
1989
|
/** A secondary button component. */
|
|
1990
1990
|
SecondaryButtonComponent?: (props: {
|
|
1991
1991
|
onClick: () => void;
|
|
@@ -1993,13 +1993,13 @@ interface ReportBuilderProps {
|
|
|
1993
1993
|
disabled?: boolean;
|
|
1994
1994
|
icon?: ReactNode;
|
|
1995
1995
|
tooltipText?: string;
|
|
1996
|
-
}) => JSX.Element;
|
|
1996
|
+
}) => React.JSX.Element;
|
|
1997
1997
|
/** A small delete button used to click out of things. Usually an "X" icon. */
|
|
1998
1998
|
DeleteButtonComponent?: (props: {
|
|
1999
1999
|
onClick: () => void;
|
|
2000
|
-
}) => JSX.Element;
|
|
2000
|
+
}) => React.JSX.Element;
|
|
2001
2001
|
/** A input element for getting text from the user. */
|
|
2002
|
-
TextInputComponent?: ((props: TextInputComponentProps) => JSX.Element) | React.ForwardRefExoticComponent<TextInputComponentProps & React.RefAttributes<HTMLInputElement>>;
|
|
2002
|
+
TextInputComponent?: ((props: TextInputComponentProps) => React.JSX.Element) | React.ForwardRefExoticComponent<TextInputComponentProps & React.RefAttributes<HTMLInputElement>>;
|
|
2003
2003
|
/**
|
|
2004
2004
|
* A modal component.
|
|
2005
2005
|
*/
|
|
@@ -2010,7 +2010,7 @@ interface ReportBuilderProps {
|
|
|
2010
2010
|
children: ReactNode;
|
|
2011
2011
|
width?: number;
|
|
2012
2012
|
height?: number;
|
|
2013
|
-
}) => JSX.Element;
|
|
2013
|
+
}) => React.JSX.Element;
|
|
2014
2014
|
/**
|
|
2015
2015
|
* A modal component.
|
|
2016
2016
|
*/
|
|
@@ -2021,9 +2021,9 @@ interface ReportBuilderProps {
|
|
|
2021
2021
|
children: ReactNode;
|
|
2022
2022
|
width?: number;
|
|
2023
2023
|
height?: number;
|
|
2024
|
-
}) => JSX.Element;
|
|
2024
|
+
}) => React.JSX.Element;
|
|
2025
2025
|
/** A select component. */
|
|
2026
|
-
SelectComponent?: (props: SelectComponentProps) => JSX.Element;
|
|
2026
|
+
SelectComponent?: (props: SelectComponentProps) => React.JSX.Element;
|
|
2027
2027
|
/** A multi-select component. */
|
|
2028
2028
|
MultiSelectComponent?: (props: {
|
|
2029
2029
|
label?: string;
|
|
@@ -2038,7 +2038,7 @@ interface ReportBuilderProps {
|
|
|
2038
2038
|
value: (string | null)[];
|
|
2039
2039
|
};
|
|
2040
2040
|
}) => void;
|
|
2041
|
-
}) => JSX.Element;
|
|
2041
|
+
}) => React.JSX.Element;
|
|
2042
2042
|
/** A table component. */
|
|
2043
2043
|
TableComponent?: (props: {
|
|
2044
2044
|
rows: {
|
|
@@ -2059,7 +2059,7 @@ interface ReportBuilderProps {
|
|
|
2059
2059
|
}) => void;
|
|
2060
2060
|
containerStyle?: CSSProperties;
|
|
2061
2061
|
disableSort?: boolean;
|
|
2062
|
-
}) => JSX.Element;
|
|
2062
|
+
}) => React.JSX.Element;
|
|
2063
2063
|
/** A popover component. */
|
|
2064
2064
|
PopoverComponent?: (props: {
|
|
2065
2065
|
isOpen: boolean;
|
|
@@ -2067,7 +2067,7 @@ interface ReportBuilderProps {
|
|
|
2067
2067
|
triggerLabel?: string;
|
|
2068
2068
|
popoverTitle?: string;
|
|
2069
2069
|
popoverChildren: ReactNode;
|
|
2070
|
-
}) => JSX.Element;
|
|
2070
|
+
}) => React.JSX.Element;
|
|
2071
2071
|
/** A popover component for filters created in the report builder. */
|
|
2072
2072
|
FilterPopoverComponent?: (props: {
|
|
2073
2073
|
isOpen: boolean;
|
|
@@ -2076,7 +2076,7 @@ interface ReportBuilderProps {
|
|
|
2076
2076
|
popoverChildren: ReactNode;
|
|
2077
2077
|
filterLabel: string;
|
|
2078
2078
|
onClickDelete: (e: React.MouseEvent<HTMLElement>) => void;
|
|
2079
|
-
}) => JSX.Element;
|
|
2079
|
+
}) => React.JSX.Element;
|
|
2080
2080
|
/** A popover component for sort items created in the report builder. */
|
|
2081
2081
|
SortPopoverComponent?: (props: {
|
|
2082
2082
|
isOpen: boolean;
|
|
@@ -2085,7 +2085,7 @@ interface ReportBuilderProps {
|
|
|
2085
2085
|
popoverChildren: ReactNode;
|
|
2086
2086
|
sortLabel: string;
|
|
2087
2087
|
onClickDelete: (e: React.MouseEvent<HTMLElement>) => void;
|
|
2088
|
-
}) => JSX.Element;
|
|
2088
|
+
}) => React.JSX.Element;
|
|
2089
2089
|
/** A popover component for limits created in the report builder. */
|
|
2090
2090
|
LimitPopoverComponent?: (props: {
|
|
2091
2091
|
isOpen: boolean;
|
|
@@ -2094,7 +2094,7 @@ interface ReportBuilderProps {
|
|
|
2094
2094
|
popoverChildren: ReactNode;
|
|
2095
2095
|
limitLabel: string;
|
|
2096
2096
|
onClickDelete: (e: React.MouseEvent<HTMLElement>) => void;
|
|
2097
|
-
}) => JSX.Element;
|
|
2097
|
+
}) => React.JSX.Element;
|
|
2098
2098
|
/** A small navigation menu used to switch between two or more states. */
|
|
2099
2099
|
TabsComponent?: (props: {
|
|
2100
2100
|
options: {
|
|
@@ -2103,109 +2103,109 @@ interface ReportBuilderProps {
|
|
|
2103
2103
|
}[];
|
|
2104
2104
|
value: string;
|
|
2105
2105
|
onChange: (event: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
2106
|
-
}) => JSX.Element;
|
|
2106
|
+
}) => React.JSX.Element;
|
|
2107
2107
|
/** A checkbox component. */
|
|
2108
2108
|
CheckboxComponent?: (props: {
|
|
2109
2109
|
isChecked: boolean;
|
|
2110
2110
|
label: string;
|
|
2111
2111
|
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
2112
|
-
}) => JSX.Element;
|
|
2112
|
+
}) => React.JSX.Element;
|
|
2113
2113
|
/** A container for the left sidebar. */
|
|
2114
2114
|
SidebarComponent?: (props: {
|
|
2115
2115
|
children: ReactNode;
|
|
2116
|
-
}) => JSX.Element;
|
|
2116
|
+
}) => React.JSX.Element;
|
|
2117
2117
|
/** A container for the main content (everything right of the sidebar). */
|
|
2118
2118
|
ContainerComponent?: (props: {
|
|
2119
2119
|
children: ReactNode;
|
|
2120
|
-
}) => JSX.Element;
|
|
2120
|
+
}) => React.JSX.Element;
|
|
2121
2121
|
/** A component to show selected columns. */
|
|
2122
2122
|
SelectColumnComponent?: (props: {
|
|
2123
2123
|
label: string;
|
|
2124
2124
|
isSelected: boolean;
|
|
2125
2125
|
setSelected: () => void;
|
|
2126
2126
|
DragHandle: ({ dragIcon }: {
|
|
2127
|
-
dragIcon: () => JSX.Element;
|
|
2128
|
-
}) => JSX.Element;
|
|
2129
|
-
}) => JSX.Element;
|
|
2127
|
+
dragIcon: () => React.JSX.Element;
|
|
2128
|
+
}) => React.JSX.Element;
|
|
2129
|
+
}) => React.JSX.Element;
|
|
2130
2130
|
/** A draggable component used to reorder columns. */
|
|
2131
2131
|
DraggableColumnComponent?: (props: {
|
|
2132
2132
|
label: string;
|
|
2133
2133
|
onDelete: () => void;
|
|
2134
2134
|
DragHandle: ({ dragIcon }: {
|
|
2135
|
-
dragIcon: () => JSX.Element;
|
|
2136
|
-
}) => JSX.Element;
|
|
2135
|
+
dragIcon: () => React.JSX.Element;
|
|
2136
|
+
}) => React.JSX.Element;
|
|
2137
2137
|
deleteDisabled?: boolean;
|
|
2138
|
-
}) => JSX.Element;
|
|
2138
|
+
}) => React.JSX.Element;
|
|
2139
2139
|
/** A heading element for the sidebar. */
|
|
2140
2140
|
SidebarHeadingComponent?: (props: {
|
|
2141
2141
|
label: string;
|
|
2142
|
-
}) => JSX.Element;
|
|
2142
|
+
}) => React.JSX.Element;
|
|
2143
2143
|
/** A card component used as a dismissable container of pivot information. */
|
|
2144
2144
|
CardComponent?: (props: {
|
|
2145
2145
|
children: ReactNode;
|
|
2146
2146
|
onClick?: () => void;
|
|
2147
2147
|
onDelete?: () => void;
|
|
2148
|
-
}) => JSX.Element;
|
|
2148
|
+
}) => React.JSX.Element;
|
|
2149
2149
|
/** A label component. */
|
|
2150
2150
|
LabelComponent?: (props: {
|
|
2151
2151
|
label: string;
|
|
2152
|
-
}) => JSX.Element;
|
|
2152
|
+
}) => React.JSX.Element;
|
|
2153
2153
|
/** A header component. */
|
|
2154
2154
|
HeaderComponent?: (props: {
|
|
2155
2155
|
label: string;
|
|
2156
|
-
}) => JSX.Element;
|
|
2156
|
+
}) => React.JSX.Element;
|
|
2157
2157
|
/** A sub-header component describes a group of inputs. */
|
|
2158
2158
|
SubHeaderComponent?: (props: {
|
|
2159
2159
|
label: string;
|
|
2160
|
-
}) => JSX.Element;
|
|
2160
|
+
}) => React.JSX.Element;
|
|
2161
2161
|
/** A simple text component. */
|
|
2162
2162
|
TextComponent?: (props: {
|
|
2163
2163
|
label: string;
|
|
2164
|
-
}) => JSX.Element;
|
|
2164
|
+
}) => React.JSX.Element;
|
|
2165
2165
|
/**
|
|
2166
2166
|
* A component that displays error messages.
|
|
2167
2167
|
*/
|
|
2168
2168
|
ErrorMessageComponent?: (props: {
|
|
2169
2169
|
errorMessage: string;
|
|
2170
|
-
}) => JSX.Element;
|
|
2170
|
+
}) => React.JSX.Element;
|
|
2171
2171
|
/**
|
|
2172
2172
|
* A container for each row of inputs for the ChartBuilder form.
|
|
2173
2173
|
*/
|
|
2174
2174
|
ChartBuilderInputRowContainer?: (props: {
|
|
2175
2175
|
children: ReactNode;
|
|
2176
|
-
}) => JSX.Element;
|
|
2176
|
+
}) => React.JSX.Element;
|
|
2177
2177
|
/**
|
|
2178
2178
|
* A container for vertically-stacked rows of inputs for the ChartBuilder form.
|
|
2179
2179
|
*/
|
|
2180
2180
|
ChartBuilderInputColumnContainer?: (props: {
|
|
2181
2181
|
children: ReactNode;
|
|
2182
|
-
}) => JSX.Element;
|
|
2182
|
+
}) => React.JSX.Element;
|
|
2183
2183
|
/**
|
|
2184
2184
|
* A container for each row of inputs for the pivot form.
|
|
2185
2185
|
*/
|
|
2186
2186
|
PivotRowContainer?: (props: {
|
|
2187
2187
|
children: ReactNode;
|
|
2188
|
-
}) => JSX.Element;
|
|
2188
|
+
}) => React.JSX.Element;
|
|
2189
2189
|
/**
|
|
2190
2190
|
* A container for vertically-stacked rows of inputs for the pivot form.
|
|
2191
2191
|
*/
|
|
2192
2192
|
PivotColumnContainer?: (props: {
|
|
2193
2193
|
children: ReactNode;
|
|
2194
|
-
}) => JSX.Element;
|
|
2194
|
+
}) => React.JSX.Element;
|
|
2195
2195
|
/**
|
|
2196
2196
|
* A loading component to show in the pivot modal while suggestions load.
|
|
2197
2197
|
*/
|
|
2198
|
-
LoadingComponent?: () => JSX.Element;
|
|
2198
|
+
LoadingComponent?: () => React.JSX.Element;
|
|
2199
2199
|
/**
|
|
2200
2200
|
* A container for vertically-stacked sections of the chart builder form.
|
|
2201
2201
|
*/
|
|
2202
2202
|
ChartBuilderFormContainer?: (props: {
|
|
2203
2203
|
children: ReactNode;
|
|
2204
|
-
}) => JSX.Element;
|
|
2204
|
+
}) => React.JSX.Element;
|
|
2205
2205
|
/**
|
|
2206
2206
|
* A component to show when no columns match the user's query.
|
|
2207
2207
|
*/
|
|
2208
|
-
ColumnSearchEmptyState?: () => JSX.Element;
|
|
2208
|
+
ColumnSearchEmptyState?: () => React.JSX.Element;
|
|
2209
2209
|
/** Whether the ReportBuilder is in admin mode. */
|
|
2210
2210
|
isAdminEnabled?: boolean;
|
|
2211
2211
|
/** Whether the ReportBuilder's AI features are enabled. */
|
|
@@ -2334,51 +2334,51 @@ interface ChartEditorProps {
|
|
|
2334
2334
|
}[];
|
|
2335
2335
|
onChange: (event: React$1.ChangeEvent<HTMLSelectElement>) => void;
|
|
2336
2336
|
width: number;
|
|
2337
|
-
}) => JSX.Element;
|
|
2337
|
+
}) => React$1.JSX.Element;
|
|
2338
2338
|
/** An input component to get text from your users. Wrap your component in a forwardRef to receive focus events from Quill */
|
|
2339
|
-
TextInputComponent?: ((props: TextInputComponentProps) => JSX.Element) | React$1.ForwardRefExoticComponent<TextInputComponentProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
2339
|
+
TextInputComponent?: ((props: TextInputComponentProps) => React$1.JSX.Element) | React$1.ForwardRefExoticComponent<TextInputComponentProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
2340
2340
|
/** A button component. */
|
|
2341
2341
|
ButtonComponent?: (props: {
|
|
2342
2342
|
onClick: () => void;
|
|
2343
2343
|
label: string;
|
|
2344
2344
|
disabled?: boolean;
|
|
2345
2345
|
icon?: ReactNode;
|
|
2346
|
-
}) => JSX.Element;
|
|
2346
|
+
}) => React$1.JSX.Element;
|
|
2347
2347
|
/** A secondary button. */
|
|
2348
2348
|
SecondaryButtonComponent?: (props: {
|
|
2349
2349
|
onClick: () => void;
|
|
2350
2350
|
label: string;
|
|
2351
2351
|
disabled?: boolean;
|
|
2352
2352
|
icon?: ReactNode;
|
|
2353
|
-
}) => JSX.Element;
|
|
2353
|
+
}) => React$1.JSX.Element;
|
|
2354
2354
|
/**
|
|
2355
2355
|
* A small delete button used to click out of things. Usually an "X" icon.
|
|
2356
2356
|
*/
|
|
2357
2357
|
DeleteButtonComponent?: (props: {
|
|
2358
2358
|
onClick: () => void;
|
|
2359
|
-
}) => JSX.Element;
|
|
2359
|
+
}) => React$1.JSX.Element;
|
|
2360
2360
|
/** A header component. */
|
|
2361
2361
|
HeaderComponent?: (props: {
|
|
2362
2362
|
label: string;
|
|
2363
|
-
}) => JSX.Element;
|
|
2363
|
+
}) => React$1.JSX.Element;
|
|
2364
2364
|
/** A sub-header component describes a group of inputs. */
|
|
2365
2365
|
SubHeaderComponent?: (props: {
|
|
2366
2366
|
label: string;
|
|
2367
|
-
}) => JSX.Element;
|
|
2367
|
+
}) => React$1.JSX.Element;
|
|
2368
2368
|
/** A label component. */
|
|
2369
2369
|
LabelComponent?: (props: {
|
|
2370
2370
|
label: string;
|
|
2371
|
-
}) => JSX.Element;
|
|
2371
|
+
}) => React$1.JSX.Element;
|
|
2372
2372
|
/** A text component. */
|
|
2373
2373
|
TextComponent?: (props: {
|
|
2374
2374
|
label: string;
|
|
2375
|
-
}) => JSX.Element;
|
|
2375
|
+
}) => React$1.JSX.Element;
|
|
2376
2376
|
/** A card component used as a dismissable container of pivot information. */
|
|
2377
2377
|
CardComponent?: (props: {
|
|
2378
2378
|
children: ReactNode;
|
|
2379
2379
|
onClick?: () => void;
|
|
2380
2380
|
onDelete?: () => void;
|
|
2381
|
-
}) => JSX.Element;
|
|
2381
|
+
}) => React$1.JSX.Element;
|
|
2382
2382
|
/**
|
|
2383
2383
|
* A modal component.
|
|
2384
2384
|
*/
|
|
@@ -2389,7 +2389,7 @@ interface ChartEditorProps {
|
|
|
2389
2389
|
children: ReactNode;
|
|
2390
2390
|
width?: number | undefined;
|
|
2391
2391
|
height?: number | undefined;
|
|
2392
|
-
}) => JSX.Element;
|
|
2392
|
+
}) => React$1.JSX.Element;
|
|
2393
2393
|
/** A popover component. */
|
|
2394
2394
|
PopoverComponent?: (props: {
|
|
2395
2395
|
isOpen: boolean;
|
|
@@ -2397,7 +2397,7 @@ interface ChartEditorProps {
|
|
|
2397
2397
|
triggerLabel?: string;
|
|
2398
2398
|
popoverTitle?: string;
|
|
2399
2399
|
popoverChildren: ReactNode;
|
|
2400
|
-
}) => JSX.Element;
|
|
2400
|
+
}) => React$1.JSX.Element;
|
|
2401
2401
|
/** A table component. */
|
|
2402
2402
|
TableComponent?: (props: {
|
|
2403
2403
|
rows: {
|
|
@@ -2408,47 +2408,47 @@ interface ChartEditorProps {
|
|
|
2408
2408
|
label: string;
|
|
2409
2409
|
}[];
|
|
2410
2410
|
isLoading?: boolean;
|
|
2411
|
-
}) => JSX.Element;
|
|
2411
|
+
}) => React$1.JSX.Element;
|
|
2412
2412
|
/**
|
|
2413
2413
|
* A loading component to show in the pivot modal while suggestions load.
|
|
2414
2414
|
*/
|
|
2415
|
-
LoadingComponent?: () => JSX.Element;
|
|
2415
|
+
LoadingComponent?: () => React$1.JSX.Element;
|
|
2416
2416
|
/**
|
|
2417
2417
|
* A container for each row of inputs for the ChartBuilder form.
|
|
2418
2418
|
*/
|
|
2419
2419
|
ChartBuilderInputRowContainer?: (props: {
|
|
2420
2420
|
children: ReactNode;
|
|
2421
|
-
}) => JSX.Element;
|
|
2421
|
+
}) => React$1.JSX.Element;
|
|
2422
2422
|
/**
|
|
2423
2423
|
* A container for vertically-stacked rows of inputs for the ChartBuilder form.
|
|
2424
2424
|
*/
|
|
2425
2425
|
ChartBuilderInputColumnContainer?: (props: {
|
|
2426
2426
|
children: ReactNode;
|
|
2427
|
-
}) => JSX.Element;
|
|
2427
|
+
}) => React$1.JSX.Element;
|
|
2428
2428
|
/**
|
|
2429
2429
|
* A container for vertically-stacked sections of the chart builder form.
|
|
2430
2430
|
*/
|
|
2431
2431
|
ChartBuilderFormContainer?: (props: {
|
|
2432
2432
|
children: ReactNode;
|
|
2433
|
-
}) => JSX.Element;
|
|
2433
|
+
}) => React$1.JSX.Element;
|
|
2434
2434
|
/**
|
|
2435
2435
|
* A container for each row of inputs for the pivot form.
|
|
2436
2436
|
*/
|
|
2437
2437
|
PivotRowContainer?: (props: {
|
|
2438
2438
|
children: ReactNode;
|
|
2439
|
-
}) => JSX.Element;
|
|
2439
|
+
}) => React$1.JSX.Element;
|
|
2440
2440
|
/**
|
|
2441
2441
|
* A container for vertically-stacked rows of inputs for the pivot form.
|
|
2442
2442
|
*/
|
|
2443
2443
|
PivotColumnContainer?: (props: {
|
|
2444
2444
|
children: ReactNode;
|
|
2445
|
-
}) => JSX.Element;
|
|
2445
|
+
}) => React$1.JSX.Element;
|
|
2446
2446
|
/**
|
|
2447
2447
|
* A component that displays error messages.
|
|
2448
2448
|
*/
|
|
2449
2449
|
ErrorMessageComponent?: (props: {
|
|
2450
2450
|
errorMessage: string;
|
|
2451
|
-
}) => JSX.Element;
|
|
2451
|
+
}) => React$1.JSX.Element;
|
|
2452
2452
|
/**
|
|
2453
2453
|
* A component that displays when the chart errors.
|
|
2454
2454
|
*/
|
|
@@ -2458,7 +2458,7 @@ interface ChartEditorProps {
|
|
|
2458
2458
|
label?: string;
|
|
2459
2459
|
onClick?: (element: any) => void;
|
|
2460
2460
|
ButtonComponent?: React$1.ComponentType<any>;
|
|
2461
|
-
}) => JSX.Element;
|
|
2461
|
+
}) => React$1.JSX.Element;
|
|
2462
2462
|
/** The default dashboard to add the item to. */
|
|
2463
2463
|
destinationDashboard: string;
|
|
2464
2464
|
/** The name of the current organization. */
|
|
@@ -2883,7 +2883,7 @@ interface DownloadOptions {
|
|
|
2883
2883
|
usePivotRows?: boolean;
|
|
2884
2884
|
}
|
|
2885
2885
|
declare const useExport: (reportId?: string, { CustomDocumentComponent, maximumRowsPerPage, sectionField, }?: {
|
|
2886
|
-
CustomDocumentComponent?: (props: QuillPDFProps) => JSX.Element;
|
|
2886
|
+
CustomDocumentComponent?: (props: QuillPDFProps) => React.JSX.Element;
|
|
2887
2887
|
maximumRowsPerPage?: number;
|
|
2888
2888
|
sectionField?: string;
|
|
2889
2889
|
}) => {
|
|
@@ -2974,8 +2974,8 @@ interface SelectColumnComponentProps {
|
|
|
2974
2974
|
isSelected: boolean;
|
|
2975
2975
|
setSelected: () => void;
|
|
2976
2976
|
DragHandle: ({ dragIcon }: {
|
|
2977
|
-
dragIcon: () => JSX.Element;
|
|
2978
|
-
}) => JSX.Element;
|
|
2977
|
+
dragIcon: () => React.JSX.Element;
|
|
2978
|
+
}) => React.JSX.Element;
|
|
2979
2979
|
}
|
|
2980
2980
|
/**
|
|
2981
2981
|
* Props for a draggable card with a grab-handle and a column name.
|
|
@@ -2984,8 +2984,8 @@ interface DraggableColumnComponentProps {
|
|
|
2984
2984
|
label: string;
|
|
2985
2985
|
onDelete: () => void;
|
|
2986
2986
|
DragHandle: ({ dragIcon }: {
|
|
2987
|
-
dragIcon: () => JSX.Element;
|
|
2988
|
-
}) => JSX.Element;
|
|
2987
|
+
dragIcon: () => React.JSX.Element;
|
|
2988
|
+
}) => React.JSX.Element;
|
|
2989
2989
|
deleteDisabled?: boolean;
|
|
2990
2990
|
}
|
|
2991
2991
|
interface FilterPopoverComponentProps {
|
|
@@ -3034,8 +3034,8 @@ interface TableComponentProps {
|
|
|
3034
3034
|
isLoading?: boolean;
|
|
3035
3035
|
hideCSVDownloadButton?: boolean;
|
|
3036
3036
|
downloadCSV?: () => void;
|
|
3037
|
-
LoadingComponent?: () => JSX.Element;
|
|
3038
|
-
DownloadCSVButtonComponent?: (props: ButtonComponentProps) => JSX.Element;
|
|
3037
|
+
LoadingComponent?: () => React$1.JSX.Element;
|
|
3038
|
+
DownloadCSVButtonComponent?: (props: ButtonComponentProps) => React$1.JSX.Element;
|
|
3039
3039
|
rowsPerPage?: number;
|
|
3040
3040
|
emptyStateLabel?: string;
|
|
3041
3041
|
onPageChange?: (page: number) => void;
|
|
@@ -3092,38 +3092,38 @@ interface AddColumnsProps {
|
|
|
3092
3092
|
setIsOpen: (isOpen: boolean) => void;
|
|
3093
3093
|
title?: string;
|
|
3094
3094
|
children: React.ReactNode;
|
|
3095
|
-
}) => JSX.Element;
|
|
3095
|
+
}) => React.JSX.Element;
|
|
3096
3096
|
ButtonComponent?: (props: {
|
|
3097
3097
|
onClick: () => void;
|
|
3098
3098
|
label: string;
|
|
3099
3099
|
disabled?: boolean;
|
|
3100
3100
|
isLoading?: boolean;
|
|
3101
|
-
}) => JSX.Element;
|
|
3101
|
+
}) => React.JSX.Element;
|
|
3102
3102
|
DraggableColumnComponent?: (props: {
|
|
3103
3103
|
label: string;
|
|
3104
3104
|
onDelete: () => void;
|
|
3105
3105
|
DragHandle: ({ dragIcon }: {
|
|
3106
|
-
dragIcon: () => JSX.Element;
|
|
3107
|
-
}) => JSX.Element;
|
|
3106
|
+
dragIcon: () => React.JSX.Element;
|
|
3107
|
+
}) => React.JSX.Element;
|
|
3108
3108
|
deleteDisabled?: boolean;
|
|
3109
|
-
}) => JSX.Element;
|
|
3110
|
-
TextInputComponent?: ((props: TextInputComponentProps) => JSX.Element) | React.ForwardRefExoticComponent<TextInputComponentProps & React.RefAttributes<HTMLInputElement>>;
|
|
3109
|
+
}) => React.JSX.Element;
|
|
3110
|
+
TextInputComponent?: ((props: TextInputComponentProps) => React.JSX.Element) | React.ForwardRefExoticComponent<TextInputComponentProps & React.RefAttributes<HTMLInputElement>>;
|
|
3111
3111
|
SelectColumnComponent?: (props: {
|
|
3112
3112
|
label: string;
|
|
3113
3113
|
isSelected: boolean;
|
|
3114
3114
|
setSelected: () => void;
|
|
3115
3115
|
DragHandle: ({ dragIcon }: {
|
|
3116
|
-
dragIcon: () => JSX.Element;
|
|
3117
|
-
}) => JSX.Element;
|
|
3118
|
-
}) => JSX.Element;
|
|
3116
|
+
dragIcon: () => React.JSX.Element;
|
|
3117
|
+
}) => React.JSX.Element;
|
|
3118
|
+
}) => React.JSX.Element;
|
|
3119
3119
|
SecondaryButtonComponent?: (props: {
|
|
3120
3120
|
onClick: () => void;
|
|
3121
3121
|
label: string;
|
|
3122
3122
|
disabled?: boolean;
|
|
3123
3123
|
isLoading?: boolean;
|
|
3124
|
-
}) => JSX.Element;
|
|
3125
|
-
ColumnSearchEmptyState?: () => JSX.Element;
|
|
3126
|
-
LoadingComponent?: () => JSX.Element;
|
|
3124
|
+
}) => React.JSX.Element;
|
|
3125
|
+
ColumnSearchEmptyState?: () => React.JSX.Element;
|
|
3126
|
+
LoadingComponent?: () => React.JSX.Element;
|
|
3127
3127
|
ColumnDisplay?: React.ReactNode;
|
|
3128
3128
|
ModalTrigger?: React.ReactNode;
|
|
3129
3129
|
Modal?: React.ReactNode;
|
|
@@ -3143,7 +3143,7 @@ interface AddFiltersProps {
|
|
|
3143
3143
|
}[];
|
|
3144
3144
|
value: string;
|
|
3145
3145
|
onChange: (event: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
3146
|
-
}) => JSX.Element;
|
|
3146
|
+
}) => React.JSX.Element;
|
|
3147
3147
|
FilterPopoverComponent?: (props: {
|
|
3148
3148
|
isOpen: boolean;
|
|
3149
3149
|
setIsOpen: (isOpen: boolean) => void;
|
|
@@ -3151,7 +3151,7 @@ interface AddFiltersProps {
|
|
|
3151
3151
|
popoverChildren: React.ReactNode;
|
|
3152
3152
|
filterLabel: string;
|
|
3153
3153
|
onClickDelete: (e: React.MouseEvent<HTMLElement>) => void;
|
|
3154
|
-
}) => JSX.Element;
|
|
3154
|
+
}) => React.JSX.Element;
|
|
3155
3155
|
ButtonComponent?: (props: {
|
|
3156
3156
|
onClick: () => void;
|
|
3157
3157
|
label: string;
|
|
@@ -3159,16 +3159,16 @@ interface AddFiltersProps {
|
|
|
3159
3159
|
icon?: React.ReactNode;
|
|
3160
3160
|
isLoading?: boolean;
|
|
3161
3161
|
tooltipText?: string;
|
|
3162
|
-
}) => JSX.Element;
|
|
3162
|
+
}) => React.JSX.Element;
|
|
3163
3163
|
SecondaryButtonComponent?: (props: {
|
|
3164
3164
|
onClick: () => void;
|
|
3165
3165
|
label: string;
|
|
3166
3166
|
disabled?: boolean;
|
|
3167
3167
|
icon?: React.ReactNode;
|
|
3168
3168
|
tooltipText?: string;
|
|
3169
|
-
}) => JSX.Element;
|
|
3170
|
-
SelectComponent?: (props: SelectComponentProps) => JSX.Element;
|
|
3171
|
-
TextInputComponent?: ((props: TextInputComponentProps) => JSX.Element) | React.ForwardRefExoticComponent<TextInputComponentProps & React.RefAttributes<HTMLInputElement>>;
|
|
3169
|
+
}) => React.JSX.Element;
|
|
3170
|
+
SelectComponent?: (props: SelectComponentProps) => React.JSX.Element;
|
|
3171
|
+
TextInputComponent?: ((props: TextInputComponentProps) => React.JSX.Element) | React.ForwardRefExoticComponent<TextInputComponentProps & React.RefAttributes<HTMLInputElement>>;
|
|
3172
3172
|
MultiSelectComponent?: (props: {
|
|
3173
3173
|
label?: string;
|
|
3174
3174
|
width: number;
|
|
@@ -3182,14 +3182,14 @@ interface AddFiltersProps {
|
|
|
3182
3182
|
value: (string | null)[];
|
|
3183
3183
|
};
|
|
3184
3184
|
}) => void;
|
|
3185
|
-
}) => JSX.Element;
|
|
3185
|
+
}) => React.JSX.Element;
|
|
3186
3186
|
PopoverComponent?: (props: {
|
|
3187
3187
|
isOpen: boolean;
|
|
3188
3188
|
setIsOpen: (isOpen: boolean) => void;
|
|
3189
3189
|
triggerLabel?: string;
|
|
3190
3190
|
popoverTitle?: string;
|
|
3191
3191
|
popoverChildren: React.ReactNode;
|
|
3192
|
-
}) => JSX.Element;
|
|
3192
|
+
}) => React.JSX.Element;
|
|
3193
3193
|
}
|
|
3194
3194
|
declare const AddFilters: ({ reportBuilder, TabsComponent, FilterPopoverComponent, ButtonComponent, SecondaryButtonComponent, SelectComponent, TextInputComponent, MultiSelectComponent, PopoverComponent, FilterDisplay, PopoverTrigger, Popover, }: AddFiltersProps) => react_jsx_runtime.JSX.Element;
|
|
3195
3195
|
|
|
@@ -3205,22 +3205,22 @@ interface AddLimitProps {
|
|
|
3205
3205
|
icon?: React.ReactNode;
|
|
3206
3206
|
isLoading?: boolean;
|
|
3207
3207
|
tooltipText?: string;
|
|
3208
|
-
}) => JSX.Element;
|
|
3208
|
+
}) => React.JSX.Element;
|
|
3209
3209
|
SecondaryButtonComponent?: (props: {
|
|
3210
3210
|
onClick: () => void;
|
|
3211
3211
|
label: string;
|
|
3212
3212
|
disabled?: boolean;
|
|
3213
3213
|
icon?: React.ReactNode;
|
|
3214
3214
|
tooltipText?: string;
|
|
3215
|
-
}) => JSX.Element;
|
|
3216
|
-
TextInputComponent?: ((props: TextInputComponentProps) => JSX.Element) | React.ForwardRefExoticComponent<TextInputComponentProps & React.RefAttributes<HTMLInputElement>>;
|
|
3215
|
+
}) => React.JSX.Element;
|
|
3216
|
+
TextInputComponent?: ((props: TextInputComponentProps) => React.JSX.Element) | React.ForwardRefExoticComponent<TextInputComponentProps & React.RefAttributes<HTMLInputElement>>;
|
|
3217
3217
|
PopoverComponent?: (props: {
|
|
3218
3218
|
isOpen: boolean;
|
|
3219
3219
|
setIsOpen: (isOpen: boolean) => void;
|
|
3220
3220
|
triggerLabel?: string;
|
|
3221
3221
|
popoverTitle?: string;
|
|
3222
3222
|
popoverChildren: React.ReactNode;
|
|
3223
|
-
}) => JSX.Element;
|
|
3223
|
+
}) => React.JSX.Element;
|
|
3224
3224
|
LimitPopoverComponent?: (props: {
|
|
3225
3225
|
isOpen: boolean;
|
|
3226
3226
|
setIsOpen: (isOpen: boolean) => void;
|
|
@@ -3228,7 +3228,7 @@ interface AddLimitProps {
|
|
|
3228
3228
|
popoverChildren: React.ReactNode;
|
|
3229
3229
|
limitLabel: string;
|
|
3230
3230
|
onClickDelete: (e: React.MouseEvent<HTMLElement>) => void;
|
|
3231
|
-
}) => JSX.Element;
|
|
3231
|
+
}) => React.JSX.Element;
|
|
3232
3232
|
}
|
|
3233
3233
|
declare const AddLimit: ({ reportBuilder, ButtonComponent, SecondaryButtonComponent, TextInputComponent, PopoverComponent, LimitPopoverComponent, LimitDisplay, PopoverTrigger, Popover, }: AddLimitProps) => react_jsx_runtime.JSX.Element;
|
|
3234
3234
|
|
|
@@ -3240,12 +3240,12 @@ interface AddPivotProps {
|
|
|
3240
3240
|
PivotModal?: React.ReactNode;
|
|
3241
3241
|
SubHeaderComponent?: (props: {
|
|
3242
3242
|
label: string;
|
|
3243
|
-
}) => JSX.Element;
|
|
3243
|
+
}) => React.JSX.Element;
|
|
3244
3244
|
DeleteButtonComponent?: (props: {
|
|
3245
3245
|
onClick: () => void;
|
|
3246
|
-
}) => JSX.Element;
|
|
3247
|
-
SelectComponent?: (props: SelectComponentProps) => JSX.Element;
|
|
3248
|
-
TextInputComponent?: ((props: TextInputComponentProps) => JSX.Element) | React.ForwardRefExoticComponent<TextInputComponentProps & React.RefAttributes<HTMLInputElement>>;
|
|
3246
|
+
}) => React.JSX.Element;
|
|
3247
|
+
SelectComponent?: (props: SelectComponentProps) => React.JSX.Element;
|
|
3248
|
+
TextInputComponent?: ((props: TextInputComponentProps) => React.JSX.Element) | React.ForwardRefExoticComponent<TextInputComponentProps & React.RefAttributes<HTMLInputElement>>;
|
|
3249
3249
|
ButtonComponent?: (props: {
|
|
3250
3250
|
onClick: () => void;
|
|
3251
3251
|
label: string;
|
|
@@ -3253,45 +3253,45 @@ interface AddPivotProps {
|
|
|
3253
3253
|
icon?: React.ReactNode;
|
|
3254
3254
|
isLoading?: boolean;
|
|
3255
3255
|
tooltipText?: string;
|
|
3256
|
-
}) => JSX.Element;
|
|
3256
|
+
}) => React.JSX.Element;
|
|
3257
3257
|
CardComponent?: (props: {
|
|
3258
3258
|
children: React.ReactNode;
|
|
3259
3259
|
onClick?: () => void;
|
|
3260
3260
|
onDelete?: () => void;
|
|
3261
|
-
}) => JSX.Element;
|
|
3261
|
+
}) => React.JSX.Element;
|
|
3262
3262
|
SecondaryButtonComponent?: (props: {
|
|
3263
3263
|
onClick: () => void;
|
|
3264
3264
|
label: string;
|
|
3265
3265
|
disabled?: boolean;
|
|
3266
3266
|
icon?: React.ReactNode;
|
|
3267
3267
|
tooltipText?: string;
|
|
3268
|
-
}) => JSX.Element;
|
|
3268
|
+
}) => React.JSX.Element;
|
|
3269
3269
|
PopoverComponent?: (props: {
|
|
3270
3270
|
isOpen: boolean;
|
|
3271
3271
|
setIsOpen: (isOpen: boolean) => void;
|
|
3272
3272
|
triggerLabel?: string;
|
|
3273
3273
|
popoverTitle?: string;
|
|
3274
3274
|
popoverChildren: React.ReactNode;
|
|
3275
|
-
}) => JSX.Element;
|
|
3275
|
+
}) => React.JSX.Element;
|
|
3276
3276
|
TextComponent?: (props: {
|
|
3277
3277
|
label: string;
|
|
3278
|
-
}) => JSX.Element;
|
|
3278
|
+
}) => React.JSX.Element;
|
|
3279
3279
|
ErrorMessageComponent?: (props: {
|
|
3280
3280
|
errorMessage: string;
|
|
3281
|
-
}) => JSX.Element;
|
|
3281
|
+
}) => React.JSX.Element;
|
|
3282
3282
|
PivotRowContainer?: (props: {
|
|
3283
3283
|
children: React.ReactNode;
|
|
3284
|
-
}) => JSX.Element;
|
|
3284
|
+
}) => React.JSX.Element;
|
|
3285
3285
|
PivotColumnContainer?: (props: {
|
|
3286
3286
|
children: React.ReactNode;
|
|
3287
|
-
}) => JSX.Element;
|
|
3288
|
-
LoadingComponent?: () => JSX.Element;
|
|
3287
|
+
}) => React.JSX.Element;
|
|
3288
|
+
LoadingComponent?: () => React.JSX.Element;
|
|
3289
3289
|
LabelComponent?: (props: {
|
|
3290
3290
|
label: string;
|
|
3291
|
-
}) => JSX.Element;
|
|
3291
|
+
}) => React.JSX.Element;
|
|
3292
3292
|
HeaderComponent?: (props: {
|
|
3293
3293
|
label: string;
|
|
3294
|
-
}) => JSX.Element;
|
|
3294
|
+
}) => React.JSX.Element;
|
|
3295
3295
|
}
|
|
3296
3296
|
declare const AddPivot: ({ reportBuilder, parentRef, theme, SubHeaderComponent, DeleteButtonComponent, SelectComponent, TextInputComponent, ButtonComponent, CardComponent, SecondaryButtonComponent, PopoverComponent, TextComponent, ErrorMessageComponent, PivotRowContainer, PivotColumnContainer, LoadingComponent, LabelComponent, HeaderComponent, PivotModal, PivotDisplay, }: AddPivotProps) => react_jsx_runtime.JSX.Element;
|
|
3297
3297
|
|
|
@@ -3307,22 +3307,22 @@ interface AddSortProps {
|
|
|
3307
3307
|
icon?: React.ReactNode;
|
|
3308
3308
|
isLoading?: boolean;
|
|
3309
3309
|
tooltipText?: string;
|
|
3310
|
-
}) => JSX.Element;
|
|
3310
|
+
}) => React.JSX.Element;
|
|
3311
3311
|
SecondaryButtonComponent?: (props: {
|
|
3312
3312
|
onClick: () => void;
|
|
3313
3313
|
label: string;
|
|
3314
3314
|
disabled?: boolean;
|
|
3315
3315
|
icon?: React.ReactNode;
|
|
3316
3316
|
tooltipText?: string;
|
|
3317
|
-
}) => JSX.Element;
|
|
3318
|
-
SelectComponent?: (props: SelectComponentProps) => JSX.Element;
|
|
3317
|
+
}) => React.JSX.Element;
|
|
3318
|
+
SelectComponent?: (props: SelectComponentProps) => React.JSX.Element;
|
|
3319
3319
|
PopoverComponent?: (props: {
|
|
3320
3320
|
isOpen: boolean;
|
|
3321
3321
|
setIsOpen: (isOpen: boolean) => void;
|
|
3322
3322
|
triggerLabel?: string;
|
|
3323
3323
|
popoverTitle?: string;
|
|
3324
3324
|
popoverChildren: React.ReactNode;
|
|
3325
|
-
}) => JSX.Element;
|
|
3325
|
+
}) => React.JSX.Element;
|
|
3326
3326
|
SortPopoverComponent?: (props: {
|
|
3327
3327
|
isOpen: boolean;
|
|
3328
3328
|
setIsOpen: (isOpen: boolean) => void;
|
|
@@ -3330,7 +3330,7 @@ interface AddSortProps {
|
|
|
3330
3330
|
popoverChildren: React.ReactNode;
|
|
3331
3331
|
sortLabel: string;
|
|
3332
3332
|
onClickDelete: (e: React.MouseEvent<HTMLElement>) => void;
|
|
3333
|
-
}) => JSX.Element;
|
|
3333
|
+
}) => React.JSX.Element;
|
|
3334
3334
|
}
|
|
3335
3335
|
declare const AddSort: ({ reportBuilder, ButtonComponent, SecondaryButtonComponent, SelectComponent, PopoverComponent, SortPopoverComponent, SortDisplay, PopoverTrigger, Popover, }: AddSortProps) => react_jsx_runtime.JSX.Element;
|
|
3336
3336
|
|
|
@@ -3370,45 +3370,45 @@ interface SaveReportProps {
|
|
|
3370
3370
|
onChange: (event: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
3371
3371
|
hideEmptyOption?: boolean;
|
|
3372
3372
|
disabled?: boolean;
|
|
3373
|
-
}) => JSX.Element;
|
|
3373
|
+
}) => React.JSX.Element;
|
|
3374
3374
|
/** An input component to get text from your users. Wrap your component in a forwardRef to receive focus events from Quill */
|
|
3375
|
-
TextInputComponent?: ((props: TextInputComponentProps) => JSX.Element) | React.ForwardRefExoticComponent<TextInputComponentProps & React.RefAttributes<HTMLInputElement>>;
|
|
3375
|
+
TextInputComponent?: ((props: TextInputComponentProps) => React.JSX.Element) | React.ForwardRefExoticComponent<TextInputComponentProps & React.RefAttributes<HTMLInputElement>>;
|
|
3376
3376
|
/** A button component. */
|
|
3377
3377
|
ButtonComponent?: (props: {
|
|
3378
3378
|
onClick: () => void;
|
|
3379
3379
|
label: string;
|
|
3380
3380
|
disabled?: boolean;
|
|
3381
3381
|
icon?: ReactNode;
|
|
3382
|
-
}) => JSX.Element;
|
|
3382
|
+
}) => React.JSX.Element;
|
|
3383
3383
|
/** A secondary button. */
|
|
3384
3384
|
SecondaryButtonComponent?: (props: {
|
|
3385
3385
|
onClick: () => void;
|
|
3386
3386
|
label: string;
|
|
3387
3387
|
disabled?: boolean;
|
|
3388
3388
|
icon?: ReactNode;
|
|
3389
|
-
}) => JSX.Element;
|
|
3389
|
+
}) => React.JSX.Element;
|
|
3390
3390
|
/** A header component. */
|
|
3391
3391
|
HeaderComponent?: (props: {
|
|
3392
3392
|
label: string;
|
|
3393
|
-
}) => JSX.Element;
|
|
3393
|
+
}) => React.JSX.Element;
|
|
3394
3394
|
/** A sub-header component describes a group of inputs. */
|
|
3395
3395
|
SubHeaderComponent?: (props: {
|
|
3396
3396
|
label: string;
|
|
3397
|
-
}) => JSX.Element;
|
|
3397
|
+
}) => React.JSX.Element;
|
|
3398
3398
|
/** A label component. */
|
|
3399
3399
|
LabelComponent?: (props: {
|
|
3400
3400
|
label: string;
|
|
3401
|
-
}) => JSX.Element;
|
|
3401
|
+
}) => React.JSX.Element;
|
|
3402
3402
|
/** A text component. */
|
|
3403
3403
|
TextComponent?: (props: {
|
|
3404
3404
|
label: string;
|
|
3405
|
-
}) => JSX.Element;
|
|
3405
|
+
}) => React.JSX.Element;
|
|
3406
3406
|
/** A card component used as a dismissable container of pivot information. */
|
|
3407
3407
|
CardComponent?: (props: {
|
|
3408
3408
|
children: ReactNode;
|
|
3409
3409
|
onClick?: () => void;
|
|
3410
3410
|
onDelete?: () => void;
|
|
3411
|
-
}) => JSX.Element;
|
|
3411
|
+
}) => React.JSX.Element;
|
|
3412
3412
|
/** A modal component for the chart builder. */
|
|
3413
3413
|
ModalComponent?: (props: {
|
|
3414
3414
|
isOpen: boolean;
|
|
@@ -3417,7 +3417,7 @@ interface SaveReportProps {
|
|
|
3417
3417
|
children: ReactNode;
|
|
3418
3418
|
width?: number;
|
|
3419
3419
|
height?: number;
|
|
3420
|
-
}) => JSX.Element;
|
|
3420
|
+
}) => React.JSX.Element;
|
|
3421
3421
|
/** A popover component. */
|
|
3422
3422
|
PopoverComponent?: (props: {
|
|
3423
3423
|
isOpen: boolean;
|
|
@@ -3425,7 +3425,7 @@ interface SaveReportProps {
|
|
|
3425
3425
|
triggerLabel?: string;
|
|
3426
3426
|
popoverTitle?: string;
|
|
3427
3427
|
popoverChildren: ReactNode;
|
|
3428
|
-
}) => JSX.Element;
|
|
3428
|
+
}) => React.JSX.Element;
|
|
3429
3429
|
/** A table component. */
|
|
3430
3430
|
TableComponent?: (props: {
|
|
3431
3431
|
rows: {
|
|
@@ -3446,21 +3446,21 @@ interface SaveReportProps {
|
|
|
3446
3446
|
currentPage?: number;
|
|
3447
3447
|
disableSort?: boolean;
|
|
3448
3448
|
hideLabels?: boolean;
|
|
3449
|
-
}) => JSX.Element;
|
|
3449
|
+
}) => React.JSX.Element;
|
|
3450
3450
|
/** A small delete button used to click out of things. Usually an "X" icon. */
|
|
3451
3451
|
DeleteButtonComponent?: (props: {
|
|
3452
3452
|
onClick: () => void;
|
|
3453
|
-
}) => JSX.Element;
|
|
3453
|
+
}) => React.JSX.Element;
|
|
3454
3454
|
/** A loading component to show while suggestions load. */
|
|
3455
|
-
LoadingComponent?: () => JSX.Element;
|
|
3455
|
+
LoadingComponent?: () => React.JSX.Element;
|
|
3456
3456
|
/** A container for each row of inputs for the ChartBuilder form. */
|
|
3457
3457
|
ChartBuilderInputRowContainer?: (props: {
|
|
3458
3458
|
children: ReactNode;
|
|
3459
|
-
}) => JSX.Element;
|
|
3459
|
+
}) => React.JSX.Element;
|
|
3460
3460
|
/** A container for vertically-stacked rows of inputs for the ChartBuilder form. */
|
|
3461
3461
|
ChartBuilderInputColumnContainer?: (props: {
|
|
3462
3462
|
children: ReactNode;
|
|
3463
|
-
}) => JSX.Element;
|
|
3463
|
+
}) => React.JSX.Element;
|
|
3464
3464
|
/** A checkbox component. */
|
|
3465
3465
|
CheckboxComponent?: (props: {
|
|
3466
3466
|
isChecked: boolean;
|
|
@@ -3468,30 +3468,30 @@ interface SaveReportProps {
|
|
|
3468
3468
|
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
3469
3469
|
disabled?: boolean;
|
|
3470
3470
|
containerStyle?: CSSProperties;
|
|
3471
|
-
}) => JSX.Element;
|
|
3471
|
+
}) => React.JSX.Element;
|
|
3472
3472
|
/** A container for vertically-stacked sections of the form. */
|
|
3473
3473
|
ChartBuilderFormContainer?: (props: {
|
|
3474
3474
|
children: ReactNode;
|
|
3475
|
-
}) => JSX.Element;
|
|
3475
|
+
}) => React.JSX.Element;
|
|
3476
3476
|
/**
|
|
3477
3477
|
* A container for each row of inputs for the pivot form.
|
|
3478
3478
|
*/
|
|
3479
3479
|
PivotRowContainer?: (props: {
|
|
3480
3480
|
children: ReactNode;
|
|
3481
|
-
}) => JSX.Element;
|
|
3481
|
+
}) => React.JSX.Element;
|
|
3482
3482
|
/**
|
|
3483
3483
|
* A container for vertically-stacked rows of inputs for the pivot form.
|
|
3484
3484
|
*/
|
|
3485
3485
|
PivotColumnContainer?: (props: {
|
|
3486
3486
|
children: ReactNode;
|
|
3487
|
-
}) => JSX.Element;
|
|
3487
|
+
}) => React.JSX.Element;
|
|
3488
3488
|
/**
|
|
3489
3489
|
* A component that displays error messages.
|
|
3490
3490
|
*/
|
|
3491
3491
|
ErrorMessageComponent?: (props: {
|
|
3492
3492
|
errorMessage: string;
|
|
3493
3493
|
containerStyle?: CSSProperties;
|
|
3494
|
-
}) => JSX.Element;
|
|
3494
|
+
}) => React.JSX.Element;
|
|
3495
3495
|
/** A callback function triggered when a chart element is clicked. */
|
|
3496
3496
|
onClickChartElement?: (data: any) => void;
|
|
3497
3497
|
/** The label for the submit button. */
|
|
@@ -3520,7 +3520,7 @@ interface ReportTableProps {
|
|
|
3520
3520
|
}) => void;
|
|
3521
3521
|
containerStyle?: CSSProperties;
|
|
3522
3522
|
disableSort?: boolean;
|
|
3523
|
-
}) => JSX.Element;
|
|
3523
|
+
}) => React.JSX.Element;
|
|
3524
3524
|
}
|
|
3525
3525
|
declare const ReportTable: ({ reportBuilder, TableComponent, }: ReportTableProps) => react_jsx_runtime.JSX.Element;
|
|
3526
3526
|
|