@data-c/ui 0.1.46 → 0.1.47
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 +7 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -582,6 +582,7 @@ interface FilterDataContextProps<T = any> {
|
|
|
582
582
|
container?: HTMLElement;
|
|
583
583
|
searchId?: string;
|
|
584
584
|
}
|
|
585
|
+
declare const FilterDataContext: React__default.Context<FilterDataContextProps<any>>;
|
|
585
586
|
interface FilterApiContextProps<T = any> {
|
|
586
587
|
setContainer: (container: HTMLElement) => void;
|
|
587
588
|
openFilter: (event: React__default.MouseEvent<HTMLElement>) => void;
|
|
@@ -594,6 +595,11 @@ interface FilterApiContextProps<T = any> {
|
|
|
594
595
|
deleteFilterValue?: (filterName: string) => void;
|
|
595
596
|
deleteAllFilterValues?: () => void;
|
|
596
597
|
}
|
|
598
|
+
declare const FilterApiContext: React__default.Context<FilterApiContextProps<any>>;
|
|
599
|
+
interface FilterOptions<T> {
|
|
600
|
+
label?: string;
|
|
601
|
+
value?: T;
|
|
602
|
+
}
|
|
597
603
|
interface FilterProviderProps<T = any> {
|
|
598
604
|
children: ReactNode;
|
|
599
605
|
filterValues?: T;
|
|
@@ -764,4 +770,4 @@ declare const DataTable: {
|
|
|
764
770
|
Root: typeof Root;
|
|
765
771
|
};
|
|
766
772
|
|
|
767
|
-
export { AlterarSenha, AlterarSenhaProps, Avatar, Breadcrumbs, BreadcrumbsItem, BreadcrumbsProps, Button, ButtonContainer, Checkbox, CheckboxProps, ColorsGrid, Content$1 as Content, ContentProps, ContentTitle, CurrencyCellStyle, CurrencyTextField, DataTable$1 as DataTable, DataTableOptions, DataTableOptionsProps, DataTableProps, DataTable as DataTableV2, DeleteContainer, DeleteContainerProps, Dialog$1 as Dialog, DialogProps, Dialog as DialogV2, DrawerMenu, DrawerMenuProps, Editable, EditableProps, Filter, FilterContainer$1 as FilterContainer, FilterControl, FilterProps, Flag, FormContainer, FormContainerProps, GridColDef, Header, Icon, LabelValue, LabelValueProps, Menu, MenuItemProps$1 as MenuItemProps, MioAuth, MioAuthProps, OptionStyles, PageTitle, PasswordTextField, Profile, ProfileProps, SearchTextField, Surface, Tooltip, TooltipProps, Transporter, TransporterProps, renderMenuItems, theme, useFilter, useFilterApi };
|
|
773
|
+
export { AlterarSenha, AlterarSenhaProps, Avatar, Breadcrumbs, BreadcrumbsItem, BreadcrumbsProps, Button, ButtonContainer, Checkbox, CheckboxProps, ColorsGrid, Content$1 as Content, ContentProps, ContentTitle, CurrencyCellStyle, CurrencyTextField, DataTable$1 as DataTable, DataTableOptions, DataTableOptionsProps, DataTableProps, DataTable as DataTableV2, DeleteContainer, DeleteContainerProps, Dialog$1 as Dialog, DialogProps, Dialog as DialogV2, DrawerMenu, DrawerMenuProps, Editable, EditableProps, Filter, FilterApiContext, FilterApiContextProps, FilterContainer$1 as FilterContainer, FilterControl, FilterDataContext, FilterDataContextProps, FilterOptions, FilterProps, FilterProvider, FilterProviderProps, Flag, FormContainer, FormContainerProps, GridColDef, Header, Icon, LabelValue, LabelValueProps, Menu, MenuItemProps$1 as MenuItemProps, MioAuth, MioAuthProps, OptionStyles, PageTitle, PasswordTextField, Profile, ProfileProps, SearchTextField, Surface, Tooltip, TooltipProps, Transporter, TransporterProps, renderMenuItems, theme, useFilter, useFilterApi };
|