@data-c/ui 0.1.53 → 0.1.55
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 +18 -5
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { ButtonProps as ButtonProps$3, StackProps, CheckboxProps as CheckboxProp
|
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default, { ReactNode, ComponentType } from 'react';
|
|
6
6
|
import { MUIDataTableProps } from 'mui-datatables';
|
|
7
|
-
import { PaginationProps as PaginationProps$1, TransportableDataTableProps, CredentialsConfigsInterface, AmbienteDataInterface } from '@data-c/hooks';
|
|
7
|
+
import { PaginationProps as PaginationProps$1, TransportableDataTableProps, CredentialsConfigsInterface, AmbienteDataInterface, Empresa } from '@data-c/hooks';
|
|
8
8
|
import * as _mui_material_styles from '@mui/material/styles';
|
|
9
9
|
import { AvatarProps } from '@mui/material/Avatar';
|
|
10
10
|
import { DialogComponent, DialogProps as DialogProps$2 } from '@toolpad/core';
|
|
@@ -24,7 +24,7 @@ declare function Checkbox(props: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
|
24
24
|
|
|
25
25
|
declare function ColorsGrid(): react_jsx_runtime.JSX.Element;
|
|
26
26
|
|
|
27
|
-
declare const CurrencyTextField: React$1.ForwardRefExoticComponent<Omit<Omit<_mui_material.
|
|
27
|
+
declare const CurrencyTextField: React$1.ForwardRefExoticComponent<Omit<Omit<_mui_material.FilledTextFieldProps | _mui_material.OutlinedTextFieldProps | _mui_material.StandardTextFieldProps, "onChange"> & {
|
|
28
28
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement>, value: any) => void) | undefined;
|
|
29
29
|
}, "ref"> & React$1.RefAttributes<unknown>>;
|
|
30
30
|
|
|
@@ -255,6 +255,13 @@ interface AlterarSenhaProps {
|
|
|
255
255
|
}
|
|
256
256
|
declare function AlterarSenha(props: AlterarSenhaProps): react_jsx_runtime.JSX.Element;
|
|
257
257
|
|
|
258
|
+
interface AlterarLicencaProps {
|
|
259
|
+
licencas: Array<Empresa>;
|
|
260
|
+
licencaSelecionada: Empresa;
|
|
261
|
+
onAlterarLicenca: (licenca: Empresa) => void;
|
|
262
|
+
}
|
|
263
|
+
declare function AlterarLicenca(props: AlterarLicencaProps): react_jsx_runtime.JSX.Element;
|
|
264
|
+
|
|
258
265
|
interface MenuItemProps$1 {
|
|
259
266
|
id: string;
|
|
260
267
|
label: string;
|
|
@@ -790,12 +797,17 @@ declare const List$1: {
|
|
|
790
797
|
interface PopoverRoot {
|
|
791
798
|
children: ReactNode;
|
|
792
799
|
}
|
|
793
|
-
declare function PopoverRoot(props: PopoverRoot):
|
|
800
|
+
declare function PopoverRoot(props: PopoverRoot): react_jsx_runtime.JSX.Element;
|
|
801
|
+
|
|
802
|
+
type PopoverTriggerPops$1 = ButtonProps$3 & {
|
|
803
|
+
asChild?: boolean;
|
|
804
|
+
};
|
|
805
|
+
declare function PopoverTrigger(props: PopoverTriggerPops$1): react_jsx_runtime.JSX.Element;
|
|
794
806
|
|
|
795
807
|
type PopoverTriggerPops = ButtonProps$3 & {
|
|
796
808
|
asChild?: boolean;
|
|
797
809
|
};
|
|
798
|
-
declare function
|
|
810
|
+
declare function PopoverClose(props: PopoverTriggerPops): react_jsx_runtime.JSX.Element;
|
|
799
811
|
|
|
800
812
|
interface PopoverContentPops extends Omit<PopoverProps, 'open'> {
|
|
801
813
|
}
|
|
@@ -805,6 +817,7 @@ declare const List: {
|
|
|
805
817
|
Root: typeof PopoverRoot;
|
|
806
818
|
Trigger: typeof PopoverTrigger;
|
|
807
819
|
Content: typeof PopoverContent;
|
|
820
|
+
Close: typeof PopoverClose;
|
|
808
821
|
};
|
|
809
822
|
|
|
810
|
-
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, List$1 as List, Menu, MenuItemProps$1 as MenuItemProps, MioAuth, MioAuthProps, OptionStyles, PageTitle, PasswordTextField, List as Popover, Profile, ProfileProps, SearchTextField, Surface, Tooltip, TooltipProps, Transporter, TransporterProps, renderMenuItems, theme, useFilter, useFilterApi };
|
|
823
|
+
export { AlterarLicenca, AlterarLicencaProps, 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, List$1 as List, Menu, MenuItemProps$1 as MenuItemProps, MioAuth, MioAuthProps, OptionStyles, PageTitle, PasswordTextField, List as Popover, Profile, ProfileProps, SearchTextField, Surface, Tooltip, TooltipProps, Transporter, TransporterProps, renderMenuItems, theme, useFilter, useFilterApi };
|