@robertorota/rota-designe 1.0.0

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.
Files changed (73) hide show
  1. package/README.md +32 -0
  2. package/dist/components/AccountSettings/AccountModal/index.d.ts +10 -0
  3. package/dist/components/AccountSettings/AccountModal/index.d.ts.map +1 -0
  4. package/dist/components/AccountSettings/ContentPreference/index.d.ts +3 -0
  5. package/dist/components/AccountSettings/ContentPreference/index.d.ts.map +1 -0
  6. package/dist/components/Button/BarButton/index.d.ts +8 -0
  7. package/dist/components/Button/BarButton/index.d.ts.map +1 -0
  8. package/dist/components/Button/CreateButton/index.d.ts +7 -0
  9. package/dist/components/Button/CreateButton/index.d.ts.map +1 -0
  10. package/dist/components/Checkbox/index.d.ts +7 -0
  11. package/dist/components/Checkbox/index.d.ts.map +1 -0
  12. package/dist/components/CodeModal/index.d.ts +10 -0
  13. package/dist/components/CodeModal/index.d.ts.map +1 -0
  14. package/dist/components/DataTable/index.d.ts +41 -0
  15. package/dist/components/DataTable/index.d.ts.map +1 -0
  16. package/dist/components/DatePicker/index.d.ts +7 -0
  17. package/dist/components/DatePicker/index.d.ts.map +1 -0
  18. package/dist/components/Header/index.d.ts +30 -0
  19. package/dist/components/Header/index.d.ts.map +1 -0
  20. package/dist/components/Icon/index.d.ts +10 -0
  21. package/dist/components/Icon/index.d.ts.map +1 -0
  22. package/dist/components/InputNumber/index.d.ts +7 -0
  23. package/dist/components/InputNumber/index.d.ts.map +1 -0
  24. package/dist/components/LoadingModal/index.d.ts +8 -0
  25. package/dist/components/LoadingModal/index.d.ts.map +1 -0
  26. package/dist/components/Modal/index.d.ts +17 -0
  27. package/dist/components/Modal/index.d.ts.map +1 -0
  28. package/dist/components/RadioButton/index.d.ts +7 -0
  29. package/dist/components/RadioButton/index.d.ts.map +1 -0
  30. package/dist/components/Spinner/index.d.ts +8 -0
  31. package/dist/components/Spinner/index.d.ts.map +1 -0
  32. package/dist/components/Switch/index.d.ts +7 -0
  33. package/dist/components/Switch/index.d.ts.map +1 -0
  34. package/dist/components/TableToolbar/index.d.ts +20 -0
  35. package/dist/components/TableToolbar/index.d.ts.map +1 -0
  36. package/dist/components/Text/index.d.ts +10 -0
  37. package/dist/components/Text/index.d.ts.map +1 -0
  38. package/dist/components/TextArea/index.d.ts +7 -0
  39. package/dist/components/TextArea/index.d.ts.map +1 -0
  40. package/dist/components/Toast/index.d.ts +12 -0
  41. package/dist/components/Toast/index.d.ts.map +1 -0
  42. package/dist/components/Tooltip/index.d.ts +11 -0
  43. package/dist/components/Tooltip/index.d.ts.map +1 -0
  44. package/dist/components/alignMainContent/index.d.ts +7 -0
  45. package/dist/components/alignMainContent/index.d.ts.map +1 -0
  46. package/dist/components/asideBar/index.d.ts +24 -0
  47. package/dist/components/asideBar/index.d.ts.map +1 -0
  48. package/dist/components/expandedGroup/index.d.ts +12 -0
  49. package/dist/components/expandedGroup/index.d.ts.map +1 -0
  50. package/dist/components/filtersBar/index.d.ts +28 -0
  51. package/dist/components/filtersBar/index.d.ts.map +1 -0
  52. package/dist/components/filtersComponents/ButtonMain/index.d.ts +2 -0
  53. package/dist/components/filtersComponents/ButtonMain/index.d.ts.map +1 -0
  54. package/dist/components/filtersComponents/MyFastFilter/index.d.ts +7 -0
  55. package/dist/components/filtersComponents/MyFastFilter/index.d.ts.map +1 -0
  56. package/dist/components/filtersComponents/MySearch/index.d.ts +5 -0
  57. package/dist/components/filtersComponents/MySearch/index.d.ts.map +1 -0
  58. package/dist/components/filtersComponents/MySelect/index.d.ts +13 -0
  59. package/dist/components/filtersComponents/MySelect/index.d.ts.map +1 -0
  60. package/dist/components/index.d.ts +32 -0
  61. package/dist/components/index.d.ts.map +1 -0
  62. package/dist/components/input/index.d.ts +7 -0
  63. package/dist/components/input/index.d.ts.map +1 -0
  64. package/dist/components/maincontent/index.d.ts +12 -0
  65. package/dist/components/maincontent/index.d.ts.map +1 -0
  66. package/dist/components/sidebar-pinned-store.d.ts +3 -0
  67. package/dist/components/sidebar-pinned-store.d.ts.map +1 -0
  68. package/dist/index.d.ts +3 -0
  69. package/dist/index.d.ts.map +1 -0
  70. package/dist/react-components.cjs +12 -0
  71. package/dist/react-components.css +3 -0
  72. package/dist/react-components.js +4827 -0
  73. package/package.json +43 -0
package/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # React Components
2
+
3
+ Biblioteca local de componentes React, TypeScript, Tailwind CSS e React Icons.
4
+
5
+ ## Desenvolvimento
6
+
7
+ ```bash
8
+ npm install
9
+ npm run dev
10
+ ```
11
+
12
+ A demonstração fica disponível em `http://localhost:5173`.
13
+
14
+ ## Validação e build
15
+
16
+ ```bash
17
+ npm run typecheck
18
+ npm run build
19
+ ```
20
+
21
+ O build da biblioteca, os tipos TypeScript e o CSS são gerados em `dist/`.
22
+
23
+ ## Uso em outro projeto
24
+
25
+ ```tsx
26
+ import { MyCreateButton } from "react-components";
27
+ import "react-components/styles.css";
28
+ ```
29
+
30
+ Os tokens visuais podem ser personalizados sobrescrevendo as variáveis
31
+ `--app-*` definidas em `src/styles.css`. Para ativar o tema escuro, use
32
+ `data-theme="dark"` no elemento `<html>`.
@@ -0,0 +1,10 @@
1
+ import { type ReactNode } from "react";
2
+ export type AccountModalProps = {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ onLogout?: () => void;
6
+ sidebar?: ReactNode;
7
+ children?: ReactNode;
8
+ };
9
+ export declare function AccountModal({ open, onClose, onLogout, sidebar, children, }: AccountModalProps): import("react").JSX.Element;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AccountSettings/AccountModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOjD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AA0BF,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,OAAO,EACP,QAAQ,GACT,EAAE,iBAAiB,+BAoFnB"}
@@ -0,0 +1,3 @@
1
+ export type AccountTheme = "light" | "dark" | "system";
2
+ export declare function ContentPreference(): import("react").JSX.Element;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AccountSettings/ContentPreference/index.tsx"],"names":[],"mappings":"AAQA,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AA4DvD,wBAAgB,iBAAiB,gCAsFhC"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
3
+ label: string;
4
+ icon?: React.ReactNode;
5
+ }
6
+ export declare function MyButton({ label, icon, type, className, ...props }: ButtonProps): React.JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/BarButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,WAAY,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,IAAI,EACJ,IAAe,EACf,SAAc,EACd,GAAG,KAAK,EACT,EAAE,WAAW,qBAWb"}
@@ -0,0 +1,7 @@
1
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
2
+ label: string;
3
+ icon?: React.ReactNode;
4
+ }
5
+ export declare function MyCreateButton({ label, icon, type, className, ...props }: ButtonProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/CreateButton/index.tsx"],"names":[],"mappings":"AAAA,UAAU,WAAY,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,IAAI,EACJ,IAAe,EACf,SAAc,EACd,GAAG,KAAK,EACT,EAAE,WAAW,+BAWb"}
@@ -0,0 +1,7 @@
1
+ import { type ComponentProps, type ReactNode } from "react";
2
+ type CheckboxProps = Omit<ComponentProps<"input">, "type"> & {
3
+ label?: ReactNode;
4
+ };
5
+ export declare function Checkbox({ label, id, className, ...props }: CheckboxProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AAEnE,KAAK,aAAa,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,GAAG;IAC3D,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,SAAc,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BAwB9E"}
@@ -0,0 +1,10 @@
1
+ export type CodeModalProps = {
2
+ isOpen: boolean;
3
+ isPositive: boolean;
4
+ onClose: () => void;
5
+ successTitle?: string;
6
+ errorTitle?: string;
7
+ autoCloseDuration?: number | null;
8
+ };
9
+ export declare function CodeModal({ isOpen, isPositive, onClose, successTitle, errorTitle, autoCloseDuration, }: CodeModalProps): import("react").JSX.Element | null;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CodeModal/index.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC,CAAC;AAEF,wBAAgB,SAAS,CAAC,EACxB,MAAM,EACN,UAAU,EACV,OAAO,EACP,YAAwB,EACxB,UAAqB,EACrB,iBAAwB,GACzB,EAAE,cAAc,sCA0DhB"}
@@ -0,0 +1,41 @@
1
+ import React from "react";
2
+ export type SortDirection = "asc" | "desc";
3
+ export type Column<T> = {
4
+ header: React.ReactNode;
5
+ accessor: keyof T;
6
+ className?: string;
7
+ headerClassName?: string;
8
+ sortable?: boolean;
9
+ sortValue?: (row: T) => unknown;
10
+ render?: (value: T[keyof T], row: T) => React.ReactNode;
11
+ };
12
+ export type DataTableExportOption<T> = {
13
+ id: string;
14
+ label: string;
15
+ onExport: (data: T[]) => void | Promise<void>;
16
+ };
17
+ export type DataTableProps<T> = {
18
+ columns: Column<T>[];
19
+ data: T[];
20
+ isLoading?: boolean;
21
+ itemsPerPage?: number;
22
+ paginate?: boolean;
23
+ searchable?: boolean;
24
+ searchPlaceholder?: string;
25
+ searchValue?: string;
26
+ onSearchChange?: (value: string) => void;
27
+ customFilters?: React.ReactNode;
28
+ toolbarStart?: React.ReactNode;
29
+ exportOptions?: DataTableExportOption<T>[];
30
+ renderExpandedRow?: (row: T) => React.ReactNode;
31
+ onRowClick?: (row: T) => void;
32
+ getRowKey?: (row: T, index: number) => React.Key;
33
+ emptyMessage?: string;
34
+ resetKey?: string | number;
35
+ minWidth?: number | string;
36
+ maxCellCharacters?: number;
37
+ tableLayout?: "auto" | "fixed";
38
+ className?: string;
39
+ };
40
+ export declare function DataTable<T extends Record<string, unknown>>({ columns, data, isLoading, itemsPerPage, paginate, searchable, searchPlaceholder, searchValue, onSearchChange, customFilters, toolbarStart, exportOptions, renderExpandedRow, onRowClick, getRowKey, emptyMessage, resetKey, minWidth, maxCellCharacters, tableLayout, className, }: DataTableProps<T>): React.JSX.Element;
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAUpE,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,CAAC;AAE3C,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI;IACtB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,OAAO,CAAC;IAChC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CACzD,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAAC,CAAC,IAAI;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI;IAC9B,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,aAAa,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAC;IAC3C,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IAChD,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,GAAG,CAAC;IACjD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AA4BF,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC3D,OAAO,EACP,IAAI,EACJ,SAAiB,EACjB,YAAiB,EACjB,QAAe,EACf,UAAiB,EACjB,iBAA+B,EAC/B,WAAW,EACX,cAAc,EACd,aAAa,EACb,YAAY,EACZ,aAAkB,EAClB,iBAAiB,EACjB,UAAU,EACV,SAAS,EACT,YAA6C,EAC7C,QAAQ,EACR,QAAc,EACd,iBAAsB,EACtB,WAAoB,EACpB,SAAc,GACf,EAAE,cAAc,CAAC,CAAC,CAAC,qBA4XnB"}
@@ -0,0 +1,7 @@
1
+ import { type ComponentProps, type ReactNode } from "react";
2
+ type DatePickerProps = Omit<ComponentProps<"input">, "type"> & {
3
+ label?: ReactNode;
4
+ };
5
+ export declare function DatePicker({ label, id, required, className, ...props }: DatePickerProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AAEnE,KAAK,eAAe,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,GAAG;IAC7D,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,EAAE,EACF,QAAQ,EACR,SAAc,EACd,GAAG,KAAK,EACT,EAAE,eAAe,+BAsBjB"}
@@ -0,0 +1,30 @@
1
+ import React from "react";
2
+ export type HeaderNotification = {
3
+ id: string | number;
4
+ title: string;
5
+ description?: string;
6
+ time?: string;
7
+ read?: boolean;
8
+ };
9
+ export type HeaderSearchItem = {
10
+ id: string;
11
+ label: string;
12
+ section?: string;
13
+ keywords?: string;
14
+ };
15
+ type HeaderProps = React.ComponentProps<"header"> & {
16
+ title?: string;
17
+ section?: string;
18
+ sectionIcon?: React.ReactNode;
19
+ userName?: string;
20
+ notifications?: HeaderNotification[];
21
+ searchItems?: HeaderSearchItem[];
22
+ searchPlaceholder?: string;
23
+ onSearchItemSelect?: (item: HeaderSearchItem) => void;
24
+ onNotificationClick?: (notification: HeaderNotification) => void;
25
+ onMarkAllNotificationsAsRead?: () => void;
26
+ onViewAllNotifications?: () => void;
27
+ };
28
+ export declare function Header({ title, section, sectionIcon, userName, notifications, searchItems, searchPlaceholder, onSearchItemSelect, onNotificationClick, onMarkAllNotificationsAsRead, onViewAllNotifications, className, ...props }: HeaderProps): React.JSX.Element;
29
+ export {};
30
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAU3E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAAG;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACrC,WAAW,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACjC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACtD,mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACjE,4BAA4B,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1C,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;CACrC,CAAC;AAEF,wBAAgB,MAAM,CAAC,EACrB,KAAmB,EACnB,OAAO,EACP,WAAW,EACX,QAAa,EACb,aAAkB,EAClB,WAAgB,EAChB,iBAAkC,EAClC,kBAAkB,EAClB,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,SAAc,EACd,GAAG,KAAK,EACT,EAAE,WAAW,qBA4Ub"}
@@ -0,0 +1,10 @@
1
+ interface IconProps {
2
+ name: keyof typeof iconComponents;
3
+ size?: number;
4
+ onClick?: () => void;
5
+ className?: string;
6
+ }
7
+ declare const iconComponents: Record<string, React.ElementType>;
8
+ declare const Icon: React.FC<IconProps>;
9
+ export default Icon;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/index.tsx"],"names":[],"mappings":"AAkJA,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,OAAO,cAAc,CAAA;IACjC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,QAAA,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,WAAW,CAmIrD,CAAA;AAED,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAmB7B,CAAA;eAEc,IAAI"}
@@ -0,0 +1,7 @@
1
+ import { type ComponentProps, type ReactNode } from "react";
2
+ type InputNumberProps = Omit<ComponentProps<"input">, "type"> & {
3
+ label?: ReactNode;
4
+ };
5
+ export declare function InputNumber({ label, id, required, className, ...props }: InputNumberProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InputNumber/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AAEnE,KAAK,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,GAAG;IAC9D,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,EAAE,EACF,QAAQ,EACR,SAAc,EACd,GAAG,KAAK,EACT,EAAE,gBAAgB,+BAsBlB"}
@@ -0,0 +1,8 @@
1
+ type LoadingModalProps = {
2
+ open: boolean;
3
+ title?: string;
4
+ message?: string;
5
+ };
6
+ export declare function LoadingModal({ open, title, message, }: LoadingModalProps): import("react").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/LoadingModal/index.tsx"],"names":[],"mappings":"AAGA,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,KAAoB,EACpB,OAAwD,GACzD,EAAE,iBAAiB,+BASnB"}
@@ -0,0 +1,17 @@
1
+ import { type FormEventHandler, type ReactNode } from "react";
2
+ export type ModalProps = {
3
+ open: boolean;
4
+ title?: ReactNode;
5
+ titleIcon?: ReactNode;
6
+ children: ReactNode;
7
+ footer?: ReactNode;
8
+ onClose?: () => void;
9
+ onSubmit?: FormEventHandler<HTMLFormElement>;
10
+ closeOnBackdrop?: boolean;
11
+ showHeader?: boolean;
12
+ paddedBody?: boolean;
13
+ className?: string;
14
+ bodyClassName?: string;
15
+ };
16
+ export declare function Modal({ open, title, titleIcon, children, footer, onClose, onSubmit, closeOnBackdrop, showHeader, paddedBody, className, bodyClassName, }: ModalProps): import("react").JSX.Element | null;
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,gBAAgB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzE,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAC;IAC7C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,KAAK,EACL,SAAS,EACT,QAAQ,EACR,MAAM,EACN,OAAO,EACP,QAAQ,EACR,eAAuB,EACvB,UAAiB,EACjB,UAAiB,EACjB,SAAc,EACd,aAAkB,GACnB,EAAE,UAAU,sCAmGZ"}
@@ -0,0 +1,7 @@
1
+ import { type ComponentProps, type ReactNode } from "react";
2
+ type RadioButtonProps = Omit<ComponentProps<"input">, "type"> & {
3
+ label?: ReactNode;
4
+ };
5
+ export declare function RadioButton({ label, id, className, ...props }: RadioButtonProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/RadioButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AAEnE,KAAK,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,GAAG;IAC9D,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,EAAE,EACF,SAAc,EACd,GAAG,KAAK,EACT,EAAE,gBAAgB,+BAwBlB"}
@@ -0,0 +1,8 @@
1
+ type SpinnerProps = {
2
+ className?: string;
3
+ sizeClassName?: string;
4
+ label?: string;
5
+ };
6
+ export declare function Spinner({ className, sizeClassName, label, }: SpinnerProps): import("react").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/index.tsx"],"names":[],"mappings":"AAAA,KAAK,YAAY,GAAG;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAgB,OAAO,CAAC,EACtB,SAAc,EACd,aAAyB,EACzB,KAAoB,GACrB,EAAE,YAAY,+BAcd"}
@@ -0,0 +1,7 @@
1
+ import { type ComponentProps, type ReactNode } from "react";
2
+ type SwitchProps = Omit<ComponentProps<"input">, "type"> & {
3
+ label?: ReactNode;
4
+ };
5
+ export declare function Switch({ label, id, className, ...props }: SwitchProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AAEnE,KAAK,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,GAAG;IACzD,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,SAAc,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,+BAoB1E"}
@@ -0,0 +1,20 @@
1
+ export type FilterOption = {
2
+ label: string;
3
+ value: string;
4
+ };
5
+ type TableToolbarProps = {
6
+ searchValue: string;
7
+ onSearchChange: (value: string) => void;
8
+ searchPlaceholder?: string;
9
+ filterLabel?: string;
10
+ filterOptions?: FilterOption[];
11
+ filterValue?: string;
12
+ onFilterChange?: (value: string) => void;
13
+ total: number;
14
+ pageStart: number;
15
+ pageEnd: number;
16
+ onExport?: () => void;
17
+ };
18
+ export declare const TableToolbar: ({ searchValue, onSearchChange, searchPlaceholder, filterLabel, filterOptions, filterValue, onFilterChange, total, pageStart, pageEnd, onExport, }: TableToolbarProps) => import("react").JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TableToolbar/index.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,iBAAiB,GAAG;IAEvB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAG3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAGzC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,YAAY,sJAYtB,iBAAiB,gCA6DnB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type HTMLAttributes, type ReactNode } from "react";
2
+ type TextProps = HTMLAttributes<HTMLParagraphElement> & {
3
+ children?: ReactNode;
4
+ truncate?: boolean;
5
+ preserveLines?: boolean;
6
+ noSelect?: boolean;
7
+ };
8
+ export declare function Text({ children, className, truncate, preserveLines, noSelect, ...props }: TextProps): import("react").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,KAAK,SAAS,GAAG,cAAc,CAAC,oBAAoB,CAAC,GAAG;IACtD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,SAAc,EACd,QAAgB,EAChB,aAAqB,EACrB,QAAgB,EAChB,GAAG,KAAK,EACT,EAAE,SAAS,+BAkBX"}
@@ -0,0 +1,7 @@
1
+ import { type ComponentProps, type ReactNode } from "react";
2
+ type TextAreaProps = ComponentProps<"textarea"> & {
3
+ label?: ReactNode;
4
+ };
5
+ export declare function TextArea({ label, id, required, className, ...props }: TextAreaProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AAEnE,KAAK,aAAa,GAAG,cAAc,CAAC,UAAU,CAAC,GAAG;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,EAAE,EACF,QAAQ,EACR,SAAc,EACd,GAAG,KAAK,EACT,EAAE,aAAa,+BAyBf"}
@@ -0,0 +1,12 @@
1
+ import { type ReactNode } from "react";
2
+ type ToastVariant = "success" | "warning" | "danger" | "info";
3
+ type ToastProps = {
4
+ title?: ReactNode;
5
+ children?: ReactNode;
6
+ variant?: ToastVariant;
7
+ onClose?: () => void;
8
+ className?: string;
9
+ };
10
+ export declare function Toast({ title, children, variant, onClose, className, }: ToastProps): import("react").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,KAAK,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE9D,KAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AASF,wBAAgB,KAAK,CAAC,EACpB,KAAK,EACL,QAAQ,EACR,OAAgB,EAChB,OAAO,EACP,SAAc,GACf,EAAE,UAAU,+BA8BZ"}
@@ -0,0 +1,11 @@
1
+ import { type ReactNode } from "react";
2
+ type TooltipPlacement = "top" | "right" | "bottom" | "left";
3
+ type TooltipProps = {
4
+ content: ReactNode;
5
+ children: ReactNode;
6
+ placement?: TooltipPlacement;
7
+ className?: string;
8
+ };
9
+ export declare function Tooltip({ content, children, placement, className, }: TooltipProps): import("react").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,gBAAgB,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE5D,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AASF,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,QAAQ,EACR,SAAiB,EACjB,SAAc,GACf,EAAE,YAAY,+BAiBd"}
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ type AlignMainContentProps = {
3
+ children: React.ReactNode;
4
+ };
5
+ export declare const AlignMainContent: ({ children, }: AlignMainContentProps) => React.JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/alignMainContent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,kBAE1B,qBAAqB,sBAMvB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { type ComponentProps, type ReactNode } from "react";
2
+ export type AsideBarItem = {
3
+ label: string;
4
+ icon: ReactNode;
5
+ };
6
+ export type AsideBarGroup = {
7
+ id: string;
8
+ label: string;
9
+ icon: ReactNode;
10
+ items: AsideBarItem[];
11
+ };
12
+ export type AsideBarProps = Omit<ComponentProps<"aside">, "onNavigate"> & {
13
+ activePage: string;
14
+ onNavigate: (page: string, groupId?: string) => void;
15
+ items?: AsideBarItem[];
16
+ groups?: AsideBarGroup[];
17
+ brandTitle?: string;
18
+ brandSubtitle?: string;
19
+ brandLogoSrc?: string;
20
+ logoutLabel?: string;
21
+ onLogout?: () => void;
22
+ };
23
+ export declare function AsideBar({ activePage, onNavigate, items, groups, brandTitle, brandSubtitle, brandLogoSrc, logoutLabel, onLogout, className, ...props }: AsideBarProps): import("react").JSX.Element;
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/asideBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOtE,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC;AAUF,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,YAAY,CAAC,GAAG;IACxE,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;IACvB,MAAM,CAAC,EAAE,aAAa,EAAE,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EACvB,UAAU,EACV,UAAU,EACV,KAAoB,EACpB,MAAM,EACN,UAAmB,EACnB,aAAa,EACb,YAA6B,EAC7B,WAAoB,EACpB,QAAQ,EACR,SAAc,EACd,GAAG,KAAK,EACT,EAAE,aAAa,+BAoJf"}
@@ -0,0 +1,12 @@
1
+ import { type ReactNode } from "react";
2
+ interface ExpandableSectionProps {
3
+ label: string;
4
+ children: ReactNode;
5
+ defaultOpen?: boolean;
6
+ icon?: ReactNode;
7
+ open?: boolean;
8
+ onToggle?: () => void;
9
+ }
10
+ export declare function MyExpandGroup({ label, children, defaultOpen, icon, open, onToggle, }: ExpandableSectionProps): import("react").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/expandedGroup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxD,UAAU,sBAAsB;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,wBAAgB,aAAa,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,WAAmB,EACnB,IAAI,EACJ,IAAI,EACJ,QAAQ,GACX,EAAE,sBAAsB,+BA+CxB"}
@@ -0,0 +1,28 @@
1
+ import { type ChangeEventHandler } from "react";
2
+ export type FastFilterItem = {
3
+ label: string;
4
+ checked?: boolean;
5
+ onChange?: ChangeEventHandler<HTMLInputElement>;
6
+ };
7
+ export interface FilterBarProps {
8
+ fastFilters?: FastFilterItem[];
9
+ showSearch?: boolean;
10
+ showSelect?: boolean;
11
+ showAdvancedFilters?: boolean;
12
+ showExport?: boolean;
13
+ typeCreation?: 'revenda' | 'equipamento' | 'no';
14
+ onCreateClick?: () => void;
15
+ createLabel?: string;
16
+ }
17
+ export type SearchField<T> = keyof T | ((item: T) => unknown);
18
+ export type SearchFilterProps<T> = {
19
+ data?: T[];
20
+ searchFields?: SearchField<T>[];
21
+ searchValue?: string;
22
+ defaultSearchValue?: string;
23
+ searchPlaceholder?: string;
24
+ onSearchChange?: (value: string) => void;
25
+ onFilteredDataChange?: (data: T[]) => void;
26
+ };
27
+ export declare const FilterBar: <T extends object>({ fastFilters, showSearch, showSelect, showAdvancedFilters, showExport, typeCreation, onCreateClick, createLabel, data, searchFields, searchValue, defaultSearchValue, searchPlaceholder, onSearchChange, onFilteredDataChange, }: FilterBarProps & SearchFilterProps<T>) => import("react").JSX.Element;
28
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/filtersBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,kBAAkB,EACxB,MAAM,OAAO,CAAC;AAcf,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;CACjD,CAAC;AAEF,MAAM,WAAW,cAAc;IAC7B,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,IAAI,CAAC;IAChD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC;AAE9D,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;IACX,YAAY,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;CAC5C,CAAC;AAQF,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,MAAM,qOAgBvC,cAAc,GAAG,iBAAiB,CAAC,CAAC,CAAC,gCAoGvC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const MyButtonMain: ({ children, className, ...props }: React.ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/filtersComponents/ButtonMain/index.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,sCAItB,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,gCAU/C,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type ComponentProps } from "react";
2
+ type FastFilterProps = ComponentProps<"input"> & {
3
+ label: string;
4
+ };
5
+ export declare const FastFilter: ({ label, className, ...props }: FastFilterProps) => import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/filtersComponents/MyFastFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAM,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,eAAe,GAAG,cAAc,CAAC,OAAO,CAAC,GAAG;IAC/C,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,UAAU,mCAIpB,eAAe,gCA0BjB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type ComponentProps } from "react";
2
+ type MySearchProps = ComponentProps<"input">;
3
+ export declare const MySearch: ({ className, ...props }: MySearchProps) => import("react").JSX.Element;
4
+ export {};
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/filtersComponents/MySearch/index.tsx"],"names":[],"mappings":"AAAC,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAG3C,KAAK,aAAa,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;AAE7C,eAAO,MAAM,QAAQ,4BAAkC,aAAa,gCAYnE,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type ComponentProps } from "react";
2
+ type Option = {
3
+ label: string;
4
+ value: string;
5
+ };
6
+ interface MySelectProps extends ComponentProps<"select"> {
7
+ options: Option[];
8
+ placeholder?: string;
9
+ containerClassName?: string;
10
+ }
11
+ export declare const MySelect: ({ options, placeholder, containerClassName, className, ...props }: MySelectProps) => import("react").JSX.Element;
12
+ export {};
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/filtersComponents/MySelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,KAAK,MAAM,GAAG;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,UAAU,aAAc,SAAQ,cAAc,CAAC,QAAQ,CAAC;IACtD,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,QAAQ,sEAMlB,aAAa,gCAwBf,CAAC"}
@@ -0,0 +1,32 @@
1
+ export * from "./AccountSettings/AccountModal";
2
+ export * from "./AccountSettings/ContentPreference";
3
+ export * from "./alignMainContent";
4
+ export * from "./asideBar";
5
+ export * from "./Button/BarButton";
6
+ export * from "./Button/CreateButton";
7
+ export * from "./Checkbox";
8
+ export * from "./CodeModal";
9
+ export * from "./DataTable";
10
+ export * from "./DatePicker";
11
+ export * from "./expandedGroup";
12
+ export * from "./filtersBar";
13
+ export * from "./filtersComponents/ButtonMain";
14
+ export * from "./filtersComponents/MyFastFilter";
15
+ export * from "./filtersComponents/MySearch";
16
+ export * from "./filtersComponents/MySelect";
17
+ export * from "./Header";
18
+ export { default as Icon } from "./Icon";
19
+ export * from "./input";
20
+ export * from "./InputNumber";
21
+ export * from "./LoadingModal";
22
+ export * from "./maincontent";
23
+ export * from "./Modal";
24
+ export * from "./RadioButton";
25
+ export * from "./Spinner";
26
+ export * from "./Switch";
27
+ export * from "./TableToolbar";
28
+ export * from "./Text";
29
+ export * from "./TextArea";
30
+ export * from "./Toast";
31
+ export * from "./Tooltip";
32
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type ComponentProps } from "react";
2
+ type MyInputProps = ComponentProps<"input"> & {
3
+ label: string;
4
+ };
5
+ export declare const MyInput: ({ label, id, required, className, ...props }: MyInputProps) => import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAS,MAAM,OAAO,CAAC;AAEnD,KAAK,YAAY,GAAG,cAAc,CAAC,OAAO,CAAC,GAAG;IAC5C,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,OAAO,iDAMjB,YAAY,gCAmBd,CAAC"}