@data-c/ui 0.1.62 → 0.1.64
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 +29 -24
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as _mui_material from '@mui/material';
|
|
3
|
-
import { ButtonProps as ButtonProps$3, StackProps, CheckboxProps as CheckboxProps$1, DialogProps as DialogProps$1, IconButtonProps, DrawerProps, TypographyProps, ToolbarProps as ToolbarProps$1, TextFieldProps, FilterOptionsState, TooltipProps as TooltipProps$2, BoxProps, PaperProps, SvgIconProps, IconProps,
|
|
3
|
+
import { ButtonProps as ButtonProps$3, StackProps, CheckboxProps as CheckboxProps$1, DialogProps as DialogProps$1, IconButtonProps, DrawerProps, TypographyProps, ToolbarProps as ToolbarProps$1, TextFieldProps, FilterOptionsState, TooltipProps as TooltipProps$2, BoxProps, PaperProps, SvgIconProps, IconProps, ChipProps, InputBaseProps, Breakpoint, TableFooterProps, MenuItemProps as MenuItemProps$2, PopoverProps } from '@mui/material';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default, { ReactNode, ComponentType } from 'react';
|
|
6
6
|
import { MUIDataTableProps } from 'mui-datatables';
|
|
@@ -552,9 +552,8 @@ type ButtonProps$1 = {
|
|
|
552
552
|
declare function DialogActionCancelar({ children, label, ...rest }: ButtonProps$1): react_jsx_runtime.JSX.Element;
|
|
553
553
|
|
|
554
554
|
declare function DialogConfirmDelete({ open, onClose, payload, }: DialogProps$2<{
|
|
555
|
-
identificador: any;
|
|
556
555
|
useRemover: any;
|
|
557
|
-
|
|
556
|
+
configs: any;
|
|
558
557
|
}>): react_jsx_runtime.JSX.Element;
|
|
559
558
|
|
|
560
559
|
declare const Dialog: {
|
|
@@ -572,6 +571,11 @@ declare const Dialog: {
|
|
|
572
571
|
ConfirmDelete: typeof DialogConfirmDelete;
|
|
573
572
|
};
|
|
574
573
|
|
|
574
|
+
interface FilterAdvancedActionsContainerProps {
|
|
575
|
+
children: React__default.ReactNode;
|
|
576
|
+
}
|
|
577
|
+
declare function FilterAdvancedActionsContainer({ children, }: FilterAdvancedActionsContainerProps): react_jsx_runtime.JSX.Element;
|
|
578
|
+
|
|
575
579
|
declare function FilterAdvancedButton(): react_jsx_runtime.JSX.Element;
|
|
576
580
|
|
|
577
581
|
interface FilterAdvancedContainerProps {
|
|
@@ -579,6 +583,25 @@ interface FilterAdvancedContainerProps {
|
|
|
579
583
|
}
|
|
580
584
|
declare function FilterAdvancedContainer(props: FilterAdvancedContainerProps): react_jsx_runtime.JSX.Element;
|
|
581
585
|
|
|
586
|
+
interface FilterAdvancedActionsContentProps {
|
|
587
|
+
children: React__default.ReactNode;
|
|
588
|
+
}
|
|
589
|
+
declare function FilterAdvancedActionsContent({ children, }: FilterAdvancedActionsContentProps): react_jsx_runtime.JSX.Element;
|
|
590
|
+
|
|
591
|
+
declare function ApplyButton(): react_jsx_runtime.JSX.Element;
|
|
592
|
+
|
|
593
|
+
interface FiltrerChipProps extends Omit<ChipProps, 'children'> {
|
|
594
|
+
children?: ReactNode;
|
|
595
|
+
name: string;
|
|
596
|
+
disabledDelete?: boolean;
|
|
597
|
+
}
|
|
598
|
+
declare function FiltrerChip(props: FiltrerChipProps): react_jsx_runtime.JSX.Element;
|
|
599
|
+
|
|
600
|
+
interface FilterChipsProps {
|
|
601
|
+
children: ReactNode;
|
|
602
|
+
}
|
|
603
|
+
declare function FilterChips({ children: childrenProp, }: FilterChipsProps): react_jsx_runtime.JSX.Element;
|
|
604
|
+
|
|
582
605
|
declare function FilterContainer({ children }: {
|
|
583
606
|
children: ReactNode;
|
|
584
607
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -619,6 +642,8 @@ declare function FilterProvider<T>(props: FilterProviderProps<T>): react_jsx_run
|
|
|
619
642
|
declare function useFilter<T = any>(): FilterDataContextProps<T>;
|
|
620
643
|
declare function useFilterApi<T = any>(): FilterApiContextProps<T>;
|
|
621
644
|
|
|
645
|
+
declare function ResetButton(): react_jsx_runtime.JSX.Element;
|
|
646
|
+
|
|
622
647
|
interface FilterRootProps {
|
|
623
648
|
children: ReactNode;
|
|
624
649
|
}
|
|
@@ -629,32 +654,12 @@ interface FilterSearchTextFieldProps extends Omit<InputBaseProps, 'onChange'> {
|
|
|
629
654
|
}
|
|
630
655
|
declare function FilterSearchTextField(props: FilterSearchTextFieldProps): react_jsx_runtime.JSX.Element;
|
|
631
656
|
|
|
632
|
-
declare function ApplyButton(): react_jsx_runtime.JSX.Element;
|
|
633
|
-
|
|
634
|
-
declare function ResetButton(): react_jsx_runtime.JSX.Element;
|
|
635
|
-
|
|
636
|
-
interface FilterAdvancedActionsContainerProps {
|
|
637
|
-
children: React__default.ReactNode;
|
|
638
|
-
}
|
|
639
|
-
declare function FilterAdvancedActionsContainer({ children, }: FilterAdvancedActionsContainerProps): react_jsx_runtime.JSX.Element;
|
|
640
|
-
|
|
641
|
-
interface FilterChipsProps {
|
|
642
|
-
children: ReactNode;
|
|
643
|
-
}
|
|
644
|
-
declare function FilterChips({ children: childrenProp, }: FilterChipsProps): react_jsx_runtime.JSX.Element;
|
|
645
|
-
|
|
646
|
-
interface FiltrerChipProps extends Omit<ChipProps, 'children'> {
|
|
647
|
-
children?: ReactNode;
|
|
648
|
-
name: string;
|
|
649
|
-
disabledDelete?: boolean;
|
|
650
|
-
}
|
|
651
|
-
declare function FiltrerChip(props: FiltrerChipProps): react_jsx_runtime.JSX.Element;
|
|
652
|
-
|
|
653
657
|
declare const Filter: {
|
|
654
658
|
Root: typeof FilterRoot;
|
|
655
659
|
SearchTextField: typeof FilterSearchTextField;
|
|
656
660
|
Container: typeof FilterContainer;
|
|
657
661
|
AdvancedContainer: typeof FilterAdvancedContainer;
|
|
662
|
+
AdvancedContent: typeof FilterAdvancedActionsContent;
|
|
658
663
|
AdvancedActionsContainer: typeof FilterAdvancedActionsContainer;
|
|
659
664
|
AdvancedButton: typeof FilterAdvancedButton;
|
|
660
665
|
Provider: typeof FilterProvider;
|