@data-c/ui 0.2.50 → 0.2.52
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.ts +39 -175
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +228 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +4 -18
package/dist/index.d.ts
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ButtonProps as ButtonProps$
|
|
2
|
+
import { ButtonProps as ButtonProps$3, StackProps, CheckboxProps as CheckboxProps$1, IconButtonProps, DrawerProps, TypographyProps, ToolbarProps as ToolbarProps$1, TextFieldProps as TextFieldProps$1, TooltipProps as TooltipProps$2, BoxProps, PaperProps, SvgIconProps, IconProps, ListProps, DialogProps as DialogProps$1, ChipProps, InputBaseProps, Breakpoint, TableFooterProps, MenuItemProps as MenuItemProps$2, PopoverProps, ContainerProps, AutocompleteInputChangeReason } from '@mui/material';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
-
import { CredentialsConfigsInterface, AmbienteDataInterface, Empresa, PaginationProps as PaginationProps$
|
|
5
|
+
import { CredentialsConfigsInterface, AmbienteDataInterface, Empresa, PaginationProps as PaginationProps$1 } from '@data-c/hooks';
|
|
6
6
|
import * as _mui_material_styles from '@mui/material/styles';
|
|
7
7
|
import { AvatarProps } from '@mui/material/Avatar';
|
|
8
8
|
import { DialogComponent, DialogProps } from '@toolpad/core';
|
|
9
9
|
export { useDialogs } from '@toolpad/core';
|
|
10
10
|
import * as _mui_x_data_grid_internals from '@mui/x-data-grid/internals';
|
|
11
11
|
import * as _mui_x_data_grid from '@mui/x-data-grid';
|
|
12
|
-
import { GridColDef as GridColDef$
|
|
13
|
-
import * as _mui_x_data_grid_pro from '@mui/x-data-grid-pro';
|
|
14
|
-
import { DataGridProProps, GridRowsProp as GridRowsProp$1, GridRowSelectionModel as GridRowSelectionModel$1, GridCallbackDetails as GridCallbackDetails$1, GridColDef as GridColDef$3, GridActionsCellItemProps as GridActionsCellItemProps$1 } from '@mui/x-data-grid-pro';
|
|
12
|
+
import { GridColDef as GridColDef$1, DataGridProps, GridRowsProp, GridRowSelectionModel, GridCallbackDetails, GridActionsCellItemProps } from '@mui/x-data-grid';
|
|
15
13
|
import * as LucideIcons from 'lucide-react';
|
|
16
14
|
import { LucideProps } from 'lucide-react';
|
|
17
15
|
import { DatePickerProps } from '@mui/x-date-pickers';
|
|
18
16
|
|
|
19
|
-
interface ButtonProps$
|
|
17
|
+
interface ButtonProps$2 extends ButtonProps$3 {
|
|
20
18
|
isLoading?: boolean;
|
|
21
19
|
}
|
|
22
|
-
declare const Button$1: (props: ButtonProps$
|
|
20
|
+
declare const Button$1: (props: ButtonProps$2) => react_jsx_runtime.JSX.Element;
|
|
23
21
|
|
|
24
22
|
declare function ButtonContainer(props: StackProps): react_jsx_runtime.JSX.Element;
|
|
25
23
|
|
|
@@ -88,7 +86,7 @@ interface FilterProps {
|
|
|
88
86
|
children: ReactNode;
|
|
89
87
|
triggerButton?: 'none' | React__default.ReactNode;
|
|
90
88
|
triggerButtonLabel?: string;
|
|
91
|
-
triggerButtonProps?: ButtonProps$
|
|
89
|
+
triggerButtonProps?: ButtonProps$3;
|
|
92
90
|
title?: string;
|
|
93
91
|
onApplyFilters?: (filters: any) => void;
|
|
94
92
|
renderLabel?: (filterLabel: string, filterValue: any) => React__default.ReactNode;
|
|
@@ -127,7 +125,7 @@ declare function LabelValue(props: LabelValueProps): react_jsx_runtime.JSX.Eleme
|
|
|
127
125
|
interface PageTitleProps$1 {
|
|
128
126
|
title: string;
|
|
129
127
|
children?: ReactNode;
|
|
130
|
-
toolbarProps?: ToolbarProps$
|
|
128
|
+
toolbarProps?: ToolbarProps$1;
|
|
131
129
|
onBack?: () => void;
|
|
132
130
|
onClose?: () => void;
|
|
133
131
|
onUpdate?: (value?: string) => void;
|
|
@@ -216,7 +214,7 @@ declare function Editable(props: EditableProps): react_jsx_runtime.JSX.Element;
|
|
|
216
214
|
|
|
217
215
|
interface ContentProps extends BoxProps {
|
|
218
216
|
}
|
|
219
|
-
declare function Content$
|
|
217
|
+
declare function Content$1(props: ContentProps): react_jsx_runtime.JSX.Element;
|
|
220
218
|
|
|
221
219
|
declare function Surface(props: PaperProps): react_jsx_runtime.JSX.Element;
|
|
222
220
|
|
|
@@ -441,7 +439,7 @@ declare const ContentTitle: {
|
|
|
441
439
|
Root: typeof ContentTitleRoot;
|
|
442
440
|
};
|
|
443
441
|
|
|
444
|
-
declare function DialogActionCancelar$1({ children, ...rest }: ButtonProps$
|
|
442
|
+
declare function DialogActionCancelar$1({ children, ...rest }: ButtonProps$3): react_jsx_runtime.JSX.Element;
|
|
445
443
|
|
|
446
444
|
interface DialogActionCloseProps {
|
|
447
445
|
onClose: (result?: any) => Promise<void>;
|
|
@@ -450,13 +448,13 @@ declare function DialogActionClose({ onClose }: DialogActionCloseProps): react_j
|
|
|
450
448
|
|
|
451
449
|
declare function DialogActions(props: StackProps): react_jsx_runtime.JSX.Element;
|
|
452
450
|
|
|
453
|
-
type ButtonProps$
|
|
451
|
+
type ButtonProps$1 = {
|
|
454
452
|
isLoading: boolean;
|
|
455
453
|
label?: string;
|
|
456
|
-
} & ButtonProps$
|
|
457
|
-
declare function DialogActionCancelar({ children, label, ...rest }: ButtonProps$
|
|
454
|
+
} & ButtonProps$3;
|
|
455
|
+
declare function DialogActionCancelar({ children, label, ...rest }: ButtonProps$1): react_jsx_runtime.JSX.Element;
|
|
458
456
|
|
|
459
|
-
interface DialogAdicionarButtonProps<T> extends Omit<ButtonProps$
|
|
457
|
+
interface DialogAdicionarButtonProps<T> extends Omit<ButtonProps$3, 'onClick'> {
|
|
460
458
|
dialogComponent: DialogComponent<any, any>;
|
|
461
459
|
payload: T;
|
|
462
460
|
label?: string;
|
|
@@ -481,7 +479,7 @@ declare function DialogConfirmDelete({ open, onClose, payload, }: DialogProps<{
|
|
|
481
479
|
|
|
482
480
|
declare function DialogContent({ children, ...rest }: StackProps): react_jsx_runtime.JSX.Element;
|
|
483
481
|
|
|
484
|
-
declare function Footer$
|
|
482
|
+
declare function Footer$1(props: StackProps): react_jsx_runtime.JSX.Element;
|
|
485
483
|
|
|
486
484
|
declare function DialogHeader(props: StackProps): react_jsx_runtime.JSX.Element;
|
|
487
485
|
|
|
@@ -497,17 +495,17 @@ interface RootProps extends Omit<DialogProps$1, 'onClose'> {
|
|
|
497
495
|
}
|
|
498
496
|
declare function DialogRoot({ children, height, fullWidth, ...rest }: RootProps): react_jsx_runtime.JSX.Element;
|
|
499
497
|
|
|
500
|
-
declare function Title$
|
|
498
|
+
declare function Title$2(props: TypographyProps): react_jsx_runtime.JSX.Element;
|
|
501
499
|
|
|
502
500
|
declare const Dialog: {
|
|
503
501
|
Root: typeof DialogRoot;
|
|
504
502
|
Provider: typeof DialogProvider;
|
|
505
503
|
AdicionarButton: typeof DialogAdicionarButton;
|
|
506
504
|
Header: typeof DialogHeader;
|
|
507
|
-
Title: typeof Title$
|
|
505
|
+
Title: typeof Title$2;
|
|
508
506
|
ActionClose: typeof DialogActionClose;
|
|
509
507
|
Content: typeof DialogContent;
|
|
510
|
-
Footer: typeof Footer$
|
|
508
|
+
Footer: typeof Footer$1;
|
|
511
509
|
Actions: typeof DialogActions;
|
|
512
510
|
ActionCancelar: typeof DialogActionCancelar$1;
|
|
513
511
|
ActionSalvar: typeof DialogActionCancelar;
|
|
@@ -614,14 +612,14 @@ declare const Filter: {
|
|
|
614
612
|
Chip: typeof FiltrerChip;
|
|
615
613
|
};
|
|
616
614
|
|
|
617
|
-
type GridColDef
|
|
615
|
+
type GridColDef = GridColDef$1 & {
|
|
618
616
|
enableStickyColumns?: boolean;
|
|
619
617
|
};
|
|
620
|
-
interface TableProps
|
|
618
|
+
interface TableProps<T> extends Omit<DataGridProps, 'onCellKeyDown' | 'onRowDoubleClick'> {
|
|
621
619
|
data?: GridRowsProp<{
|
|
622
620
|
[key: string | symbol]: any;
|
|
623
621
|
}>;
|
|
624
|
-
columns: GridColDef
|
|
622
|
+
columns: GridColDef[];
|
|
625
623
|
error?: string;
|
|
626
624
|
isLoading?: boolean;
|
|
627
625
|
isFetching?: boolean;
|
|
@@ -632,155 +630,15 @@ interface TableProps$1<T> extends Omit<DataGridProps, 'onCellKeyDown' | 'onRowDo
|
|
|
632
630
|
onClearRowsSelectedId?: (rowsSelectedId: GridRowSelectionModel) => void;
|
|
633
631
|
onRowSelectionChange?: (rowSelectionModel: GridRowSelectionModel, details: GridCallbackDetails) => void;
|
|
634
632
|
}
|
|
635
|
-
declare function Table$1<T>(props: TableProps$1<T>): react_jsx_runtime.JSX.Element;
|
|
636
|
-
|
|
637
|
-
type DataTableActionProps$1 = {} & GridActionsCellItemProps;
|
|
638
|
-
declare function DataTableAction$1(props: DataTableActionProps$1): react_jsx_runtime.JSX.Element;
|
|
639
|
-
|
|
640
|
-
type DataTableActionDeleteProps$1 = {} & Omit<GridActionsCellItemProps, 'icon' | 'label'>;
|
|
641
|
-
declare function DataTableActionDelete$1(props: DataTableActionDeleteProps$1): react_jsx_runtime.JSX.Element;
|
|
642
|
-
|
|
643
|
-
type DataTableActionEditProps$1 = {} & Omit<GridActionsCellItemProps, 'icon' | 'label'>;
|
|
644
|
-
declare function DataTableActionEdit$1(props: DataTableActionEditProps$1): react_jsx_runtime.JSX.Element;
|
|
645
|
-
|
|
646
|
-
interface ActionsProps$1 {
|
|
647
|
-
breakpoints?: Breakpoint | number;
|
|
648
|
-
children: ReactNode;
|
|
649
|
-
}
|
|
650
|
-
declare function Actions$1({ children, breakpoints }: ActionsProps$1): react_jsx_runtime.JSX.Element;
|
|
651
|
-
|
|
652
|
-
type DataTableActionTransportProps$1 = {} & Omit<GridActionsCellItemProps, 'icon' | 'label'>;
|
|
653
|
-
declare function DataTableActionTransport$1(props: DataTableActionTransportProps$1): react_jsx_runtime.JSX.Element;
|
|
654
|
-
|
|
655
|
-
type ButtonProps$1 = {
|
|
656
|
-
isLoading?: boolean;
|
|
657
|
-
} & ButtonProps$4;
|
|
658
|
-
declare function DataTableButton$1(props: ButtonProps$1): react_jsx_runtime.JSX.Element;
|
|
659
|
-
|
|
660
|
-
type CellActionProps$1 = {
|
|
661
|
-
event?: string;
|
|
662
|
-
onClick?: (event?: string) => void;
|
|
663
|
-
};
|
|
664
|
-
declare function CellAction$1(props: CellActionProps$1): react_jsx_runtime.JSX.Element;
|
|
665
|
-
|
|
666
|
-
interface CellActionDeleteProps$1 {
|
|
667
|
-
onClick?: (event: 'delete') => void;
|
|
668
|
-
disabled?: boolean;
|
|
669
|
-
title?: string;
|
|
670
|
-
}
|
|
671
|
-
declare function CellActionDelete$1({ onClick, ...rest }: CellActionDeleteProps$1): react_jsx_runtime.JSX.Element;
|
|
672
|
-
|
|
673
|
-
interface CellActionEditProps$1 {
|
|
674
|
-
disabled?: boolean;
|
|
675
|
-
title?: string;
|
|
676
|
-
onClick?: (event: 'edit') => void;
|
|
677
|
-
}
|
|
678
|
-
declare function CellActionEdit$1({ onClick, ...rest }: CellActionEditProps$1): react_jsx_runtime.JSX.Element;
|
|
679
|
-
|
|
680
|
-
interface CellActionsProps$1 {
|
|
681
|
-
children: ReactNode;
|
|
682
|
-
onClick: (event: any) => void;
|
|
683
|
-
}
|
|
684
|
-
declare function CellActions$1(props: CellActionsProps$1): react_jsx_runtime.JSX.Element;
|
|
685
|
-
|
|
686
|
-
interface CellActionTransportProps$1 {
|
|
687
|
-
disabled?: boolean;
|
|
688
|
-
title?: string;
|
|
689
|
-
onClick?: (event: 'transport') => void;
|
|
690
|
-
}
|
|
691
|
-
declare function CellActionTransport$1({ onClick, ...rest }: CellActionTransportProps$1): react_jsx_runtime.JSX.Element;
|
|
692
|
-
|
|
693
|
-
declare function Content$1(props: StackProps): react_jsx_runtime.JSX.Element;
|
|
694
|
-
|
|
695
|
-
declare function ExportCsvButton$1(): react_jsx_runtime.JSX.Element;
|
|
696
|
-
|
|
697
|
-
declare function Footer$1(props: TableFooterProps): react_jsx_runtime.JSX.Element;
|
|
698
|
-
|
|
699
|
-
interface PaginationProps$1 {
|
|
700
|
-
pagination?: PaginationProps$2;
|
|
701
|
-
rowsPerPageOptions?: number[];
|
|
702
|
-
onChangePage?: (currentPage: number) => void;
|
|
703
|
-
onChangePageSize?: (numberOfRows: number) => void;
|
|
704
|
-
}
|
|
705
|
-
declare function Pagination$1(props: PaginationProps$1): react_jsx_runtime.JSX.Element;
|
|
706
|
-
|
|
707
|
-
declare function Root$1({ children, height, ...rest }: StackProps): react_jsx_runtime.JSX.Element;
|
|
708
|
-
|
|
709
|
-
interface SelectionCounterProps$1 {
|
|
710
|
-
countTitle?: string;
|
|
711
|
-
gender?: 'masculino' | 'feminino';
|
|
712
|
-
}
|
|
713
|
-
declare function SelectionCounter$1(props: SelectionCounterProps$1): react_jsx_runtime.JSX.Element;
|
|
714
|
-
|
|
715
|
-
interface TitleProps$2 extends TypographyProps {
|
|
716
|
-
titleDivider?: boolean;
|
|
717
|
-
children: string;
|
|
718
|
-
}
|
|
719
|
-
declare function Title$2({ children, titleDivider, sx, }: TitleProps$2): react_jsx_runtime.JSX.Element;
|
|
720
|
-
|
|
721
|
-
interface ToolbarProps$1 {
|
|
722
|
-
children?: ReactNode;
|
|
723
|
-
}
|
|
724
|
-
declare function Toolbar$1({ children }: ToolbarProps$1): react_jsx_runtime.JSX.Element;
|
|
725
|
-
|
|
726
|
-
interface TransportableDataTableProps<T = any> {
|
|
727
|
-
displayEditAction?: boolean;
|
|
728
|
-
displayDeleteAction?: boolean;
|
|
729
|
-
displayTransportAction?: boolean;
|
|
730
|
-
onTransport?: (data: T) => void;
|
|
731
|
-
}
|
|
732
|
-
declare const DataTable: {
|
|
733
|
-
CellActionTransport: typeof CellActionTransport$1;
|
|
734
|
-
SelectionCounter: typeof SelectionCounter$1;
|
|
735
|
-
CellActionDelete: typeof CellActionDelete$1;
|
|
736
|
-
ExportCsvButton: typeof ExportCsvButton$1;
|
|
737
|
-
CellActionEdit: typeof CellActionEdit$1;
|
|
738
|
-
CellActions: typeof CellActions$1;
|
|
739
|
-
CellAction: typeof CellAction$1;
|
|
740
|
-
Pagination: typeof Pagination$1;
|
|
741
|
-
Actions: typeof Actions$1;
|
|
742
|
-
Toolbar: typeof Toolbar$1;
|
|
743
|
-
Content: typeof Content$1;
|
|
744
|
-
Button: typeof DataTableButton$1;
|
|
745
|
-
Footer: typeof Footer$1;
|
|
746
|
-
Table: typeof Table$1;
|
|
747
|
-
Title: typeof Title$2;
|
|
748
|
-
Root: typeof Root$1;
|
|
749
|
-
Action: typeof DataTableAction$1;
|
|
750
|
-
ActionEdit: typeof DataTableActionEdit$1;
|
|
751
|
-
ActionDelete: typeof DataTableActionDelete$1;
|
|
752
|
-
ActionTransport: typeof DataTableActionTransport$1;
|
|
753
|
-
ColumnsPanelTrigger: React$1.ForwardRefExoticComponent<_mui_x_data_grid.ColumnsPanelTriggerProps> | React$1.ForwardRefExoticComponent<Omit<_mui_x_data_grid.ColumnsPanelTriggerProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
754
|
-
useGridApiRef: () => React$1.MutableRefObject<_mui_x_data_grid_internals.GridApiCommunity | null>;
|
|
755
|
-
};
|
|
756
|
-
|
|
757
|
-
type GridColDef = GridColDef$3 & {
|
|
758
|
-
enableStickyColumns?: boolean;
|
|
759
|
-
};
|
|
760
|
-
interface TableProps<T> extends Omit<DataGridProProps, 'onCellKeyDown' | 'onRowDoubleClick'> {
|
|
761
|
-
data?: GridRowsProp$1<{
|
|
762
|
-
[key: string | symbol]: any;
|
|
763
|
-
}>;
|
|
764
|
-
columns: GridColDef[];
|
|
765
|
-
error?: string;
|
|
766
|
-
isLoading?: boolean;
|
|
767
|
-
isFetching?: boolean;
|
|
768
|
-
stackProps?: StackProps;
|
|
769
|
-
controlledRowsSelectedId?: GridRowSelectionModel$1;
|
|
770
|
-
onCellKeyDown?: (event: 'edit' | 'delete', id: number | string) => void;
|
|
771
|
-
onRowDoubleClick?: (event: 'edit' | 'delete', id: number | string) => void;
|
|
772
|
-
onClearRowsSelectedId?: (rowsSelectedId: GridRowSelectionModel$1) => void;
|
|
773
|
-
onRowSelectionChange?: (rowSelectionModel: GridRowSelectionModel$1, details: GridCallbackDetails$1) => void;
|
|
774
|
-
}
|
|
775
633
|
declare function Table<T>(props: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
776
634
|
|
|
777
|
-
type DataTableActionProps = {} & GridActionsCellItemProps
|
|
635
|
+
type DataTableActionProps = {} & GridActionsCellItemProps;
|
|
778
636
|
declare function DataTableAction(props: DataTableActionProps): react_jsx_runtime.JSX.Element;
|
|
779
637
|
|
|
780
|
-
type DataTableActionDeleteProps = {} & Omit<GridActionsCellItemProps
|
|
638
|
+
type DataTableActionDeleteProps = {} & Omit<GridActionsCellItemProps, 'icon' | 'label'>;
|
|
781
639
|
declare function DataTableActionDelete(props: DataTableActionDeleteProps): react_jsx_runtime.JSX.Element;
|
|
782
640
|
|
|
783
|
-
type DataTableActionEditProps = {} & Omit<GridActionsCellItemProps
|
|
641
|
+
type DataTableActionEditProps = {} & Omit<GridActionsCellItemProps, 'icon' | 'label'>;
|
|
784
642
|
declare function DataTableActionEdit(props: DataTableActionEditProps): react_jsx_runtime.JSX.Element;
|
|
785
643
|
|
|
786
644
|
interface ActionsProps {
|
|
@@ -789,12 +647,12 @@ interface ActionsProps {
|
|
|
789
647
|
}
|
|
790
648
|
declare function Actions({ children, breakpoints }: ActionsProps): react_jsx_runtime.JSX.Element;
|
|
791
649
|
|
|
792
|
-
type DataTableActionTransportProps = {} & Omit<GridActionsCellItemProps
|
|
650
|
+
type DataTableActionTransportProps = {} & Omit<GridActionsCellItemProps, 'icon' | 'label'>;
|
|
793
651
|
declare function DataTableActionTransport(props: DataTableActionTransportProps): react_jsx_runtime.JSX.Element;
|
|
794
652
|
|
|
795
653
|
type ButtonProps = {
|
|
796
654
|
isLoading?: boolean;
|
|
797
|
-
} & ButtonProps$
|
|
655
|
+
} & ButtonProps$3;
|
|
798
656
|
declare function DataTableButton(props: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
799
657
|
|
|
800
658
|
type CellActionProps = {
|
|
@@ -837,7 +695,7 @@ declare function ExportCsvButton(): react_jsx_runtime.JSX.Element;
|
|
|
837
695
|
declare function Footer(props: TableFooterProps): react_jsx_runtime.JSX.Element;
|
|
838
696
|
|
|
839
697
|
interface PaginationProps {
|
|
840
|
-
pagination?: PaginationProps$
|
|
698
|
+
pagination?: PaginationProps$1;
|
|
841
699
|
rowsPerPageOptions?: number[];
|
|
842
700
|
onChangePage?: (currentPage: number) => void;
|
|
843
701
|
onChangePageSize?: (numberOfRows: number) => void;
|
|
@@ -863,7 +721,13 @@ interface ToolbarProps {
|
|
|
863
721
|
}
|
|
864
722
|
declare function Toolbar({ children }: ToolbarProps): react_jsx_runtime.JSX.Element;
|
|
865
723
|
|
|
866
|
-
|
|
724
|
+
interface TransportableDataTableProps<T = any> {
|
|
725
|
+
displayEditAction?: boolean;
|
|
726
|
+
displayDeleteAction?: boolean;
|
|
727
|
+
displayTransportAction?: boolean;
|
|
728
|
+
onTransport?: (data: T) => void;
|
|
729
|
+
}
|
|
730
|
+
declare const DataTable: {
|
|
867
731
|
CellActionTransport: typeof CellActionTransport;
|
|
868
732
|
SelectionCounter: typeof SelectionCounter;
|
|
869
733
|
CellActionDelete: typeof CellActionDelete;
|
|
@@ -884,8 +748,8 @@ declare const DataTablePro: {
|
|
|
884
748
|
ActionEdit: typeof DataTableActionEdit;
|
|
885
749
|
ActionDelete: typeof DataTableActionDelete;
|
|
886
750
|
ActionTransport: typeof DataTableActionTransport;
|
|
887
|
-
ColumnsPanelTrigger: React$1.ForwardRefExoticComponent<
|
|
888
|
-
useGridApiRef: () => React$1.MutableRefObject<
|
|
751
|
+
ColumnsPanelTrigger: React$1.ForwardRefExoticComponent<_mui_x_data_grid.ColumnsPanelTriggerProps> | React$1.ForwardRefExoticComponent<Omit<_mui_x_data_grid.ColumnsPanelTriggerProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
752
|
+
useGridApiRef: () => React$1.MutableRefObject<_mui_x_data_grid_internals.GridApiCommunity | null>;
|
|
889
753
|
};
|
|
890
754
|
|
|
891
755
|
interface ListRootProps extends StackProps {
|
|
@@ -911,12 +775,12 @@ interface PopoverRoot {
|
|
|
911
775
|
}
|
|
912
776
|
declare function PopoverRoot(props: PopoverRoot): react_jsx_runtime.JSX.Element;
|
|
913
777
|
|
|
914
|
-
type PopoverTriggerPops$1 = ButtonProps$
|
|
778
|
+
type PopoverTriggerPops$1 = ButtonProps$3 & {
|
|
915
779
|
asChild?: boolean;
|
|
916
780
|
};
|
|
917
781
|
declare function PopoverTrigger(props: PopoverTriggerPops$1): react_jsx_runtime.JSX.Element;
|
|
918
782
|
|
|
919
|
-
type PopoverTriggerPops = ButtonProps$
|
|
783
|
+
type PopoverTriggerPops = ButtonProps$3 & {
|
|
920
784
|
asChild?: boolean;
|
|
921
785
|
};
|
|
922
786
|
declare function PopoverClose(props: PopoverTriggerPops): react_jsx_runtime.JSX.Element;
|
|
@@ -936,7 +800,7 @@ type ButtonGroupButtonProps = {
|
|
|
936
800
|
value?: string | number;
|
|
937
801
|
children: string;
|
|
938
802
|
isLoading?: boolean;
|
|
939
|
-
} & Omit<ButtonProps$
|
|
803
|
+
} & Omit<ButtonProps$3, 'children'>;
|
|
940
804
|
declare function ButtonGroupButton(props: ButtonGroupButtonProps): react_jsx_runtime.JSX.Element;
|
|
941
805
|
|
|
942
806
|
interface ButtonGroupRootProps {
|
|
@@ -1190,4 +1054,4 @@ declare const CurrencyTextField: React$1.ForwardRefExoticComponent<Omit<Omit<Tex
|
|
|
1190
1054
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement>, value: any) => void) | undefined;
|
|
1191
1055
|
}, "ref"> & React$1.RefAttributes<unknown>>;
|
|
1192
1056
|
|
|
1193
|
-
export { AlterarLicenca, AlterarLicencaProps, AlterarSenha, AlterarSenhaProps, Article, Autocomplete, AutocompleteProps, Avatar, Breadcrumbs, BreadcrumbsItem, BreadcrumbsProps, Button$1 as Button, ButtonContainer, Button as ButtonGroup, CEPTextField, CEPTextFieldProps, Card, Checkbox, CheckboxProps, ColorsGrid, Content$
|
|
1057
|
+
export { AlterarLicenca, AlterarLicencaProps, AlterarSenha, AlterarSenhaProps, Article, Autocomplete, AutocompleteProps, Avatar, Breadcrumbs, BreadcrumbsItem, BreadcrumbsProps, Button$1 as Button, ButtonContainer, Button as ButtonGroup, CEPTextField, CEPTextFieldProps, Card, Checkbox, CheckboxProps, ColorsGrid, Content$1 as Content, ContentProps, ContentTitle, CurrencyCellStyle, CurrencyTextField, DataTable, DataTableOptions, DataTableOptionsProps, DatePicker, DatePickerProvider, DateRange, DateRangePicker, Dialog, DocumentoTextField, DocumentoTextFieldProps, DrawerMenu, DrawerMenuProps, Editable, EditableProps, Filter, FilterApiContext, FilterApiContextProps, FilterContainer$1 as FilterContainer, FilterControl, FilterDataContext, FilterDataContextProps, FilterOptions, FilterProps, FilterProvider, FilterProviderProps, Flag, GridColDef, Header, Icon, LabelValue, LabelValueProps, List$1 as List, LucideIcon as LucidIcon, Menu, MenuItemProps$1 as MenuItemProps, MioAuth, MioAuthProps, NotaVersao, OptionStyles, Page, PageTitle$1 as PageTitle, PasswordTextField, List as Popover, Profile, ProfileProps, SearchTextField, Surface, TelefoneTextField, TelefoneTextFieldProps, TextField, TextFieldProps, TipoDocumento, TipoTelefone, Title, TitleProps, TitleVariant, Tooltip, TooltipProps, TransportableDataTableProps, Transporter, TransporterBaseProps, TransporterValue, VersaoProps, renderMenuItems, theme, useFilter, useFilterApi, useMenu, useTransporter };
|