@data-c/ui 0.1.34 → 0.1.37

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 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$2, StackProps, CheckboxProps as CheckboxProps$1, DialogProps as DialogProps$1, IconButtonProps, DrawerProps, TypographyProps, ToolbarProps, TextFieldProps, FilterOptionsState, TooltipProps as TooltipProps$2, BoxProps, PaperProps } from '@mui/material';
3
+ import { ButtonProps as ButtonProps$2, StackProps, CheckboxProps as CheckboxProps$1, DialogProps as DialogProps$1, IconButtonProps, DrawerProps, TypographyProps, ToolbarProps, TextFieldProps, FilterOptionsState, TooltipProps as TooltipProps$2, BoxProps, PaperProps, SvgIconProps, IconProps } 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';
@@ -253,17 +253,17 @@ interface AlterarSenhaProps {
253
253
  }
254
254
  declare function AlterarSenha(props: AlterarSenhaProps): react_jsx_runtime.JSX.Element;
255
255
 
256
- interface MenuItemProps {
256
+ interface MenuItemProps$1 {
257
257
  id: string;
258
258
  label: string;
259
- items?: MenuItemProps[];
259
+ items?: MenuItemProps$1[];
260
260
  link?: string;
261
261
  icon?: ReactNode;
262
262
  visible: boolean;
263
263
  }
264
264
  interface DrawerMenuProps extends DrawerProps {
265
265
  width: number;
266
- items: Array<MenuItemProps>;
266
+ items: Array<MenuItemProps$1>;
267
267
  activeMenu?: string;
268
268
  onMenuClick: (link: string) => void;
269
269
  toggleMenu: (open?: boolean) => void;
@@ -362,4 +362,154 @@ interface ProfileProps {
362
362
  }
363
363
  declare function Profile(props: ProfileProps): react_jsx_runtime.JSX.Element;
364
364
 
365
- export { AlterarSenha, AlterarSenhaProps, Avatar, Button, ButtonContainer, Checkbox, CheckboxProps, ColorsGrid, Content, ContentProps, CurrencyCellStyle, CurrencyTextField, DataTable, DataTableOptions, DataTableOptionsProps, DataTableProps, DeleteContainer, DeleteContainerProps, Dialog$1 as Dialog, DialogProps, Dialog as DialogV2, DrawerMenu, DrawerMenuProps, Editable, EditableProps, FilterContainer, FilterControl, FilterProps, Flag, FormContainer, FormContainerProps, LabelValue, LabelValueProps, MenuItemProps, MioAuth, MioAuthProps, OptionStyles, PageTitle, PasswordTextField, Profile, ProfileProps, SearchTextField, Surface, Tooltip, TooltipProps, Transporter, TransporterProps, theme };
365
+ interface HeaderContentProps extends StackProps {
366
+ }
367
+ declare function HeaderContent(props: HeaderContentProps): react_jsx_runtime.JSX.Element;
368
+
369
+ interface HeaderRootProps {
370
+ children: ReactNode;
371
+ }
372
+ declare function HeaderRoot({ children }: HeaderRootProps): react_jsx_runtime.JSX.Element;
373
+
374
+ interface HeaderToggleMenuProps extends IconButtonProps {
375
+ }
376
+ declare function HeaderToggleMenu(props: HeaderToggleMenuProps): react_jsx_runtime.JSX.Element;
377
+
378
+ declare const Header: {
379
+ Root: typeof HeaderRoot;
380
+ Content: typeof HeaderContent;
381
+ ToggleMenu: typeof HeaderToggleMenu;
382
+ };
383
+
384
+ declare function IconCadastro(props: SvgIconProps): react_jsx_runtime.JSX.Element;
385
+
386
+ declare function IconChevronDown(props: SvgIconProps): react_jsx_runtime.JSX.Element;
387
+
388
+ declare function IconCircle(props: SvgIconProps): react_jsx_runtime.JSX.Element;
389
+
390
+ declare function IconClientes(props: SvgIconProps): react_jsx_runtime.JSX.Element;
391
+
392
+ declare function IconDashboard(props: SvgIconProps): react_jsx_runtime.JSX.Element;
393
+
394
+ declare function IconDown(props: SvgIconProps): react_jsx_runtime.JSX.Element;
395
+
396
+ declare function IconErease(props: SvgIconProps): react_jsx_runtime.JSX.Element;
397
+
398
+ interface IconExpandableProps extends IconProps {
399
+ open: boolean;
400
+ }
401
+ interface IconExpandableProps {
402
+ open: boolean;
403
+ }
404
+ declare function IconExpandable(props: IconExpandableProps): react_jsx_runtime.JSX.Element;
405
+
406
+ declare function IconFilter(props: SvgIconProps): react_jsx_runtime.JSX.Element;
407
+
408
+ declare function IconKanban(props: SvgIconProps): react_jsx_runtime.JSX.Element;
409
+
410
+ declare function IconNegociacao(props: SvgIconProps): react_jsx_runtime.JSX.Element;
411
+
412
+ declare function IconSearch(props: SvgIconProps): react_jsx_runtime.JSX.Element;
413
+
414
+ declare function IconBarCode(props: SvgIconProps): react_jsx_runtime.JSX.Element;
415
+
416
+ declare function IconTextCursor(props: SvgIconProps): react_jsx_runtime.JSX.Element;
417
+
418
+ declare function IconOpenPanel(props: SvgIconProps): react_jsx_runtime.JSX.Element;
419
+
420
+ declare function IconClosePanel(props: SvgIconProps): react_jsx_runtime.JSX.Element;
421
+
422
+ declare function IconMenu(props: SvgIconProps): react_jsx_runtime.JSX.Element;
423
+
424
+ declare function IconConfigs$1(props: SvgIconProps): react_jsx_runtime.JSX.Element;
425
+
426
+ declare function IconUsers$1(props: SvgIconProps): react_jsx_runtime.JSX.Element;
427
+
428
+ declare function IconPasswords(props: SvgIconProps): react_jsx_runtime.JSX.Element;
429
+
430
+ declare function IconLogout(props: SvgIconProps): react_jsx_runtime.JSX.Element;
431
+
432
+ declare function IconHistory(props: SvgIconProps): react_jsx_runtime.JSX.Element;
433
+
434
+ declare function IconHelp(props: SvgIconProps): react_jsx_runtime.JSX.Element;
435
+
436
+ declare function IconDocs(props: SvgIconProps): react_jsx_runtime.JSX.Element;
437
+
438
+ declare function IconVideo(props: SvgIconProps): react_jsx_runtime.JSX.Element;
439
+
440
+ declare function IconBlock(props: SvgIconProps): react_jsx_runtime.JSX.Element;
441
+
442
+ declare function IconMaps(props: SvgIconProps): react_jsx_runtime.JSX.Element;
443
+
444
+ declare function IconMapPin(props: SvgIconProps): react_jsx_runtime.JSX.Element;
445
+
446
+ declare function IconConfigs(props: SvgIconProps): react_jsx_runtime.JSX.Element;
447
+
448
+ declare function IconBlocked(props: SvgIconProps): react_jsx_runtime.JSX.Element;
449
+
450
+ declare function IconUsers(props: SvgIconProps): react_jsx_runtime.JSX.Element;
451
+
452
+ declare const Icon: {
453
+ Circle: typeof IconCircle;
454
+ Dashboard: typeof IconDashboard;
455
+ Expandable: typeof IconExpandable;
456
+ Down: typeof IconDown;
457
+ Negociacao: typeof IconNegociacao;
458
+ Cadastro: typeof IconCadastro;
459
+ Clientes: typeof IconClientes;
460
+ Filter: typeof IconFilter;
461
+ Search: typeof IconSearch;
462
+ ChevronDown: typeof IconChevronDown;
463
+ Kanban: typeof IconKanban;
464
+ Erease: typeof IconErease;
465
+ BarCode: typeof IconBarCode;
466
+ TextCursor: typeof IconTextCursor;
467
+ OpenPanel: typeof IconOpenPanel;
468
+ ClosePanel: typeof IconClosePanel;
469
+ Menu: typeof IconMenu;
470
+ Configs: typeof IconConfigs$1;
471
+ Users: typeof IconUsers$1;
472
+ Password: typeof IconPasswords;
473
+ Logout: typeof IconLogout;
474
+ History: typeof IconHistory;
475
+ Help: typeof IconHelp;
476
+ Video: typeof IconVideo;
477
+ Docs: typeof IconDocs;
478
+ Block: typeof IconBlock;
479
+ Maps: typeof IconMaps;
480
+ MapPin: typeof IconMapPin;
481
+ Estoque: typeof IconConfigs;
482
+ Blocked: typeof IconBlocked;
483
+ Profile: typeof IconUsers;
484
+ };
485
+
486
+ interface MenuItemProps {
487
+ id: string;
488
+ label: string;
489
+ items?: MenuItemProps[];
490
+ link?: string;
491
+ icon?: ReactNode;
492
+ visible?: boolean;
493
+ isNew?: boolean;
494
+ children?: ReactNode;
495
+ open?: boolean;
496
+ isFirstLevel?: boolean;
497
+ selected?: boolean;
498
+ onClick?: (link: string) => void;
499
+ }
500
+ declare function MenuItem(props: MenuItemProps): react_jsx_runtime.JSX.Element;
501
+
502
+ interface MenuRootProps {
503
+ children: ReactNode;
504
+ open: boolean;
505
+ toggleMenu: () => void;
506
+ onClickItem?: (link: string) => void;
507
+ }
508
+ declare function MenuRoot(props: MenuRootProps): react_jsx_runtime.JSX.Element;
509
+
510
+ declare const Menu: {
511
+ Root: typeof MenuRoot;
512
+ Item: typeof MenuItem;
513
+ };
514
+
515
+ export { AlterarSenha, AlterarSenhaProps, Avatar, Button, ButtonContainer, Checkbox, CheckboxProps, ColorsGrid, Content, ContentProps, CurrencyCellStyle, CurrencyTextField, DataTable, DataTableOptions, DataTableOptionsProps, DataTableProps, DeleteContainer, DeleteContainerProps, Dialog$1 as Dialog, DialogProps, Dialog as DialogV2, DrawerMenu, DrawerMenuProps, Editable, EditableProps, FilterContainer, FilterControl, FilterProps, Flag, FormContainer, FormContainerProps, Header, Icon, LabelValue, LabelValueProps, Menu, MenuItemProps$1 as MenuItemProps, MioAuth, MioAuthProps, OptionStyles, PageTitle, PasswordTextField, Profile, ProfileProps, SearchTextField, Surface, Tooltip, TooltipProps, Transporter, TransporterProps, theme };