izen-react-starter 1.1.4 → 2.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 (127) hide show
  1. package/README.md +1233 -25
  2. package/dist/{MIMHJGAX-CX0R0gR-.js → MIMHJGAX-DM3PPc6i.js} +1 -1
  3. package/dist/{Q7LWSL4U-DisRfAmB.js → Q7LWSL4U-Dp8mxbtM.js} +2 -2
  4. package/dist/{VLTTJS3N-hByn9hgE.js → VLTTJS3N-Dfn6o7Pv.js} +2 -2
  5. package/dist/components/charts/ChartAreaInteractive.d.ts +2 -0
  6. package/dist/components/charts/ChartAreaInteractive.d.ts.map +1 -0
  7. package/dist/components/charts/index.d.ts +2 -0
  8. package/dist/components/charts/index.d.ts.map +1 -0
  9. package/dist/components/common/Header.d.ts +13 -0
  10. package/dist/components/common/Header.d.ts.map +1 -0
  11. package/dist/components/common/Heading.d.ts +7 -0
  12. package/dist/components/common/Heading.d.ts.map +1 -0
  13. package/dist/components/common/PageHead.d.ts +5 -0
  14. package/dist/components/common/PageHead.d.ts.map +1 -0
  15. package/dist/components/common/ThemeToggle.d.ts +5 -0
  16. package/dist/components/common/ThemeToggle.d.ts.map +1 -0
  17. package/dist/components/common/index.d.ts +5 -0
  18. package/dist/components/common/index.d.ts.map +1 -0
  19. package/dist/components/date-picker/DatePickerWithRange.d.ts +8 -0
  20. package/dist/components/date-picker/DatePickerWithRange.d.ts.map +1 -0
  21. package/dist/components/date-picker/DateRangeFilter.d.ts +7 -0
  22. package/dist/components/date-picker/DateRangeFilter.d.ts.map +1 -0
  23. package/dist/components/date-picker/index.d.ts +3 -0
  24. package/dist/components/date-picker/index.d.ts.map +1 -0
  25. package/dist/components/form/CheckboxGroup.d.ts +15 -0
  26. package/dist/components/form/CheckboxGroup.d.ts.map +1 -0
  27. package/dist/components/form/ComboboxSelect.d.ts +24 -0
  28. package/dist/components/form/ComboboxSelect.d.ts.map +1 -0
  29. package/dist/components/form/DatePicker.d.ts +14 -0
  30. package/dist/components/form/DatePicker.d.ts.map +1 -0
  31. package/dist/components/form/FileUploadButton.d.ts +19 -0
  32. package/dist/components/form/FileUploadButton.d.ts.map +1 -0
  33. package/dist/components/form/FormButtons.d.ts +19 -0
  34. package/dist/components/form/FormButtons.d.ts.map +1 -0
  35. package/dist/components/form/FormInput.d.ts +15 -0
  36. package/dist/components/form/FormInput.d.ts.map +1 -0
  37. package/dist/components/form/FormLayout.d.ts +21 -0
  38. package/dist/components/form/FormLayout.d.ts.map +1 -0
  39. package/dist/components/form/RadioGroup.d.ts +14 -0
  40. package/dist/components/form/RadioGroup.d.ts.map +1 -0
  41. package/dist/components/form/Select.d.ts +21 -0
  42. package/dist/components/form/Select.d.ts.map +1 -0
  43. package/dist/components/form/TextInput.d.ts +13 -0
  44. package/dist/components/form/TextInput.d.ts.map +1 -0
  45. package/dist/components/form/TimeInput.d.ts +13 -0
  46. package/dist/components/form/TimeInput.d.ts.map +1 -0
  47. package/dist/components/form/index.d.ts +23 -0
  48. package/dist/components/form/index.d.ts.map +1 -0
  49. package/dist/components/layout/AppSidebar.d.ts +24 -0
  50. package/dist/components/layout/AppSidebar.d.ts.map +1 -0
  51. package/dist/components/layout/DashboardLayout.d.ts +12 -0
  52. package/dist/components/layout/DashboardLayout.d.ts.map +1 -0
  53. package/dist/components/layout/NavDocuments.d.ts +11 -0
  54. package/dist/components/layout/NavDocuments.d.ts.map +1 -0
  55. package/dist/components/layout/NavMain.d.ts +24 -0
  56. package/dist/components/layout/NavMain.d.ts.map +1 -0
  57. package/dist/components/layout/NavSecondary.d.ts +14 -0
  58. package/dist/components/layout/NavSecondary.d.ts.map +1 -0
  59. package/dist/components/layout/NavUser.d.ts +18 -0
  60. package/dist/components/layout/NavUser.d.ts.map +1 -0
  61. package/dist/components/layout/SiteHeader.d.ts +7 -0
  62. package/dist/components/layout/SiteHeader.d.ts.map +1 -0
  63. package/dist/components/layout/index.d.ts +8 -0
  64. package/dist/components/layout/index.d.ts.map +1 -0
  65. package/dist/components/modals/AlertModal.d.ts +10 -0
  66. package/dist/components/modals/AlertModal.d.ts.map +1 -0
  67. package/dist/components/modals/DeleteDialog.d.ts +7 -0
  68. package/dist/components/modals/DeleteDialog.d.ts.map +1 -0
  69. package/dist/components/modals/PopupModal.d.ts +16 -0
  70. package/dist/components/modals/PopupModal.d.ts.map +1 -0
  71. package/dist/components/modals/index.d.ts +4 -0
  72. package/dist/components/modals/index.d.ts.map +1 -0
  73. package/dist/components/navigation/DashboardNav.d.ts +18 -0
  74. package/dist/components/navigation/DashboardNav.d.ts.map +1 -0
  75. package/dist/components/navigation/MobileSidebar.d.ts +12 -0
  76. package/dist/components/navigation/MobileSidebar.d.ts.map +1 -0
  77. package/dist/components/navigation/Sidebar.d.ts +8 -0
  78. package/dist/components/navigation/Sidebar.d.ts.map +1 -0
  79. package/dist/components/navigation/UserNav.d.ts +10 -0
  80. package/dist/components/navigation/UserNav.d.ts.map +1 -0
  81. package/dist/components/navigation/index.d.ts +5 -0
  82. package/dist/components/navigation/index.d.ts.map +1 -0
  83. package/dist/components/overlay/Overlay.d.ts +5 -0
  84. package/dist/components/overlay/Overlay.d.ts.map +1 -0
  85. package/dist/components/overlay/index.d.ts +2 -0
  86. package/dist/components/overlay/index.d.ts.map +1 -0
  87. package/dist/components/search/TableSearchInput.d.ts +5 -0
  88. package/dist/components/search/TableSearchInput.d.ts.map +1 -0
  89. package/dist/components/search/index.d.ts +2 -0
  90. package/dist/components/search/index.d.ts.map +1 -0
  91. package/dist/components/table/DataTable.d.ts +14 -0
  92. package/dist/components/table/DataTable.d.ts.map +1 -0
  93. package/dist/components/table/DataTableSkeleton.d.ts +9 -0
  94. package/dist/components/table/DataTableSkeleton.d.ts.map +1 -0
  95. package/dist/components/table/Pagination.d.ts +7 -0
  96. package/dist/components/table/Pagination.d.ts.map +1 -0
  97. package/dist/components/table/PaginationSection.d.ts +8 -0
  98. package/dist/components/table/PaginationSection.d.ts.map +1 -0
  99. package/dist/components/table/ServerDataTable.d.ts +10 -0
  100. package/dist/components/table/ServerDataTable.d.ts.map +1 -0
  101. package/dist/components/table/SpecialDaysTable.d.ts +26 -0
  102. package/dist/components/table/SpecialDaysTable.d.ts.map +1 -0
  103. package/dist/components/table/Table.d.ts +28 -0
  104. package/dist/components/table/Table.d.ts.map +1 -0
  105. package/dist/components/table/TableActions.d.ts +19 -0
  106. package/dist/components/table/TableActions.d.ts.map +1 -0
  107. package/dist/components/table/TableHeader.d.ts +6 -0
  108. package/dist/components/table/TableHeader.d.ts.map +1 -0
  109. package/dist/components/table/index.d.ts +15 -0
  110. package/dist/components/table/index.d.ts.map +1 -0
  111. package/dist/components/tabs/GenericTab.d.ts +7 -0
  112. package/dist/components/tabs/GenericTab.d.ts.map +1 -0
  113. package/dist/components/tabs/index.d.ts +2 -0
  114. package/dist/components/tabs/index.d.ts.map +1 -0
  115. package/dist/components/ui/index.d.ts +0 -2
  116. package/dist/components/ui/index.d.ts.map +1 -1
  117. package/dist/constants/urls.d.ts +2 -0
  118. package/dist/constants/urls.d.ts.map +1 -0
  119. package/dist/index-Dnn3beiE.js +62337 -0
  120. package/dist/index.d.ts +14 -0
  121. package/dist/index.d.ts.map +1 -1
  122. package/dist/react-starter.js +326 -298
  123. package/dist/react-starter.umd.cjs +373 -199
  124. package/dist/services/apiService.d.ts +3 -4
  125. package/dist/services/apiService.d.ts.map +1 -1
  126. package/package.json +10 -2
  127. package/dist/index-BlTeKmzn.js +0 -45406
@@ -1,7 +1,7 @@
1
1
  var ws = Object.defineProperty;
2
2
  var xs = (e, t, n) => t in e ? ws(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Re = (e, t, n) => xs(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { b as $e, d as B, o as xt, e as H, c as L, a as v, P as zo, m as ye, S as K, t as P, i as k, f as U, h as F, j as $s, k as sr, u as Ce, l as V, s as Vn, n as jn, p as ft, q as T, r as Cs, v as cn, w as qe, x as Ss, y as _t, z as Kt, A as ks, B as Es, C as Cn, F as Ds, D as Hr, E as Nt, $ as Ko, G as Ms, H as As, I as W, J as Gr, K as Ts, L as Fs, M as ar, N as Is, O as Os, Q as Kn, R as Ls, T as Ps, U as ie, V as qs, W as _s } from "./index-BlTeKmzn.js";
4
+ import { b as $e, d as B, o as xt, e as H, c as L, a as v, P as zo, m as ye, S as K, t as P, i as k, f as U, h as F, j as $s, k as sr, u as Ce, l as V, s as Vn, n as jn, p as ft, q as T, r as Cs, v as cn, w as qe, x as Ss, y as _t, z as Kt, A as ks, B as Es, C as Cn, F as Ds, D as Hr, E as Nt, $ as Ko, G as Ms, H as As, I as W, J as Gr, K as Ts, L as Fs, M as ar, N as Is, O as Os, Q as Kn, R as Ls, T as Ps, U as ie, V as qs, W as _s } from "./index-Dnn3beiE.js";
5
5
  var Rs = (e) => e != null, zs = (e) => e.filter(Rs);
6
6
  function Ks(e) {
7
7
  return (...t) => {
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./MIMHJGAX-CX0R0gR-.js";
2
- import { g as d, c as f, a as e } from "./index-BlTeKmzn.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./MIMHJGAX-DM3PPc6i.js";
2
+ import { g as d, c as f, a as e } from "./index-Dnn3beiE.js";
3
3
  var h = (t) => {
4
4
  const [r, o] = c({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,5 +1,5 @@
1
- import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./MIMHJGAX-CX0R0gR-.js";
2
- import { g as h, c as v, a as e } from "./index-BlTeKmzn.js";
1
+ import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./MIMHJGAX-DM3PPc6i.js";
2
+ import { g as h, c as v, a as e } from "./index-Dnn3beiE.js";
3
3
  var C = (r) => {
4
4
  const [t, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -0,0 +1,2 @@
1
+ export declare function ChartAreaInteractive(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=ChartAreaInteractive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartAreaInteractive.d.ts","sourceRoot":"","sources":["../../../src/components/charts/ChartAreaInteractive.tsx"],"names":[],"mappings":"AAuHA,wBAAgB,oBAAoB,4CA+GnC"}
@@ -0,0 +1,2 @@
1
+ export * from './ChartAreaInteractive';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/charts/index.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,13 @@
1
+ export type HeaderProps = {
2
+ title?: string;
3
+ onLogout: () => void;
4
+ user?: {
5
+ name?: string;
6
+ email?: string;
7
+ avatar?: string;
8
+ };
9
+ setTheme: (theme: 'light' | 'dark' | 'pink' | 'system') => void;
10
+ extraContent?: React.ReactNode;
11
+ };
12
+ export declare const Header: ({ title, onLogout, user, setTheme, extraContent }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=Header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/components/common/Header.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE;QACL,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,KAAK,IAAI,CAAC;IAChE,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,mDAMpB,WAAW,4CAcb,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type THeadingProps = {
2
+ title: string;
3
+ description?: string;
4
+ className?: string;
5
+ };
6
+ export declare const Heading: ({ title, description, className }: THeadingProps) => import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=Heading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../src/components/common/Heading.tsx"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,mCAAmC,aAAa,4CAOvE,CAAC"}
@@ -0,0 +1,5 @@
1
+ export type PageHeadProps = {
2
+ title?: string;
3
+ };
4
+ export declare const PageHead: ({ title }: PageHeadProps) => import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=PageHead.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageHead.d.ts","sourceRoot":"","sources":["../../../src/components/common/PageHead.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,WAAsB,aAAa,4CAM3D,CAAC"}
@@ -0,0 +1,5 @@
1
+ export type ThemeToggleProps = {
2
+ setTheme: (theme: 'light' | 'dark' | 'pink' | 'system') => void;
3
+ };
4
+ export declare const ThemeToggle: ({ setTheme }: ThemeToggleProps) => import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=ThemeToggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeToggle.d.ts","sourceRoot":"","sources":["../../../src/components/common/ThemeToggle.tsx"],"names":[],"mappings":"AASA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,KAAK,IAAI,CAAC;CACjE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,cAAc,gBAAgB,4CA0BzD,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './Heading';
2
+ export * from './PageHead';
3
+ export * from './ThemeToggle';
4
+ export * from './Header';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC"}
@@ -0,0 +1,8 @@
1
+ export type DatePickerWithRangeProps = {
2
+ onChange: (from: Date | undefined, to: Date | undefined) => void;
3
+ startDate: Date;
4
+ endDate: Date;
5
+ className?: string;
6
+ };
7
+ export declare const DatePickerWithRange: ({ onChange, startDate, endDate, className }: DatePickerWithRangeProps) => import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=DatePickerWithRange.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DatePickerWithRange.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DatePickerWithRange.tsx"],"names":[],"mappings":"AASA,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,EAAE,EAAE,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IACjE,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,6CAKjC,wBAAwB,4CA8D1B,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type DateRangeFilterProps = {
2
+ className?: string;
3
+ startDateParamName?: string;
4
+ endDateParamName?: string;
5
+ };
6
+ export declare const DateRangeFilter: ({ className, startDateParamName, endDateParamName }: DateRangeFilterProps) => import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=DateRangeFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateRangeFilter.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DateRangeFilter.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,qDAI7B,oBAAoB,4CAyDtB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './DatePickerWithRange';
2
+ export * from './DateRangeFilter';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ export interface CheckboxItem {
3
+ id: string;
4
+ name: string;
5
+ displayName?: string;
6
+ checked?: boolean;
7
+ }
8
+ export interface CheckboxGroupProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> {
9
+ title?: string;
10
+ name?: string;
11
+ items: CheckboxItem[];
12
+ error?: string;
13
+ }
14
+ export declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLInputElement>>;
15
+ //# sourceMappingURL=CheckboxGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxGroup.d.ts","sourceRoot":"","sources":["../../../src/components/form/CheckboxGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,aAAa,6FAiGzB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import * as React from 'react';
2
+ export interface ComboboxOption {
3
+ value: string | number;
4
+ label: string;
5
+ }
6
+ export interface ComboboxSelectProps {
7
+ title?: string;
8
+ name: string;
9
+ icon?: React.ReactElement;
10
+ placeholder?: string;
11
+ value?: string | number;
12
+ options: ComboboxOption[];
13
+ onChange?: (value: string) => void;
14
+ onSearch?: (searchTerm: string) => void;
15
+ error?: string;
16
+ className?: string;
17
+ hidden?: boolean;
18
+ disabled?: boolean;
19
+ showOtherOption?: boolean;
20
+ otherOptionLabel?: string;
21
+ emptyMessage?: string;
22
+ }
23
+ export declare const ComboboxSelect: React.ForwardRefExoticComponent<ComboboxSelectProps & React.RefAttributes<HTMLButtonElement>>;
24
+ //# sourceMappingURL=ComboboxSelect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ComboboxSelect.d.ts","sourceRoot":"","sources":["../../../src/components/form/ComboboxSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,cAAc,+FA+I1B,CAAC"}
@@ -0,0 +1,14 @@
1
+ import * as React from 'react';
2
+ export interface DatePickerProps {
3
+ title?: string;
4
+ name?: string;
5
+ value?: Date;
6
+ onChange?: (date: Date | undefined) => void;
7
+ placeholder?: string;
8
+ disabled?: boolean;
9
+ error?: string;
10
+ className?: string;
11
+ buttonClassName?: string;
12
+ }
13
+ export declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLDivElement>>;
14
+ //# sourceMappingURL=DatePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/form/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,UAAU,wFAoEtB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { ButtonProps } from '../ui/button';
2
+ import * as React from 'react';
3
+ export interface FileUploadButtonProps extends Omit<ButtonProps, 'onChange'> {
4
+ onFileSelect?: (file: File) => void;
5
+ accept?: string;
6
+ maxSize?: number;
7
+ validationRules?: {
8
+ maxSize?: number;
9
+ acceptedTypes?: string[];
10
+ customValidation?: (file: File) => boolean | string;
11
+ };
12
+ showPreview?: boolean;
13
+ previewClassName?: string;
14
+ children?: React.ReactNode;
15
+ onValidationError?: (message: string) => void;
16
+ onSuccess?: (message: string) => void;
17
+ }
18
+ export declare const FileUploadButton: React.ForwardRefExoticComponent<FileUploadButtonProps & React.RefAttributes<HTMLButtonElement>>;
19
+ //# sourceMappingURL=FileUploadButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileUploadButton.d.ts","sourceRoot":"","sources":["../../../src/components/form/FileUploadButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAU,WAAW,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC;IAC1E,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;QACzB,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,GAAG,MAAM,CAAC;KACrD,CAAC;IACF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAED,eAAO,MAAM,gBAAgB,iGAmF5B,CAAC"}
@@ -0,0 +1,19 @@
1
+ import * as React from 'react';
2
+ export interface FormButtonsProps {
3
+ loading?: boolean;
4
+ showSubmit?: boolean;
5
+ showCancel?: boolean;
6
+ showReset?: boolean;
7
+ submitText?: string;
8
+ cancelText?: string;
9
+ resetText?: string;
10
+ onCancel?: () => void;
11
+ onReset?: () => void;
12
+ onSubmit?: () => void;
13
+ className?: string;
14
+ submitDisabled?: boolean;
15
+ cancelDisabled?: boolean;
16
+ resetDisabled?: boolean;
17
+ }
18
+ export declare const FormButtons: React.ForwardRefExoticComponent<FormButtonsProps & React.RefAttributes<HTMLDivElement>>;
19
+ //# sourceMappingURL=FormButtons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormButtons.d.ts","sourceRoot":"","sources":["../../../src/components/form/FormButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,WAAW,yFA2DvB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ export interface FormInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'type'> {
3
+ title?: string;
4
+ name: string;
5
+ type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search' | 'time' | 'date' | 'cardNumber' | 'textarea';
6
+ icon?: React.ReactElement;
7
+ placeholder?: string;
8
+ error?: string;
9
+ rows?: number;
10
+ value?: string | number;
11
+ onValueChange?: (value: string) => void;
12
+ showDateLabel?: boolean;
13
+ }
14
+ export declare const FormInput: React.ForwardRefExoticComponent<FormInputProps & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
15
+ //# sourceMappingURL=FormInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormInput.d.ts","sourceRoot":"","sources":["../../../src/components/form/FormInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,MAAM,CAAC;IACrH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAC;IACzH,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAQD,eAAO,MAAM,SAAS,+GAwGrB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+ export interface FormLayoutProps {
3
+ children: React.ReactNode;
4
+ onSubmit?: (data: any) => void | Promise<void>;
5
+ error?: string;
6
+ loading?: boolean;
7
+ className?: string;
8
+ showSubmit?: boolean;
9
+ showCancel?: boolean;
10
+ showReset?: boolean;
11
+ submitText?: string;
12
+ cancelText?: string;
13
+ resetText?: string;
14
+ onCancel?: () => void;
15
+ onReset?: () => void;
16
+ fullHeight?: boolean;
17
+ cardClassName?: string;
18
+ buttonsClassName?: string;
19
+ }
20
+ export declare const FormLayout: React.ForwardRefExoticComponent<FormLayoutProps & React.RefAttributes<HTMLFormElement>>;
21
+ //# sourceMappingURL=FormLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormLayout.d.ts","sourceRoot":"","sources":["../../../src/components/form/FormLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,UAAU,yFA0EtB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import * as React from 'react';
2
+ export interface RadioItem {
3
+ value: string | number;
4
+ title?: string;
5
+ }
6
+ export interface RadioGroupProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> {
7
+ title?: string;
8
+ name?: string;
9
+ items: RadioItem[];
10
+ error?: string;
11
+ vertical?: boolean;
12
+ }
13
+ export declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLInputElement>>;
14
+ //# sourceMappingURL=RadioGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/form/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAChG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,0FAyEtB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+ export interface SelectOption {
3
+ value: string | number;
4
+ label: string;
5
+ }
6
+ export interface SelectProps {
7
+ title?: string;
8
+ name: string;
9
+ placeholder?: string;
10
+ className?: string;
11
+ value?: string | number;
12
+ options: SelectOption[];
13
+ onChange?: (value: string) => void;
14
+ error?: string;
15
+ disabled?: boolean;
16
+ showOtherOption?: boolean;
17
+ otherOptionLabel?: string;
18
+ hidden?: boolean;
19
+ }
20
+ export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLButtonElement>>;
21
+ //# sourceMappingURL=Select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/form/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,MAAM,uFA2ElB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ export interface TextInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'type'> {
3
+ title?: string;
4
+ name: string;
5
+ type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search' | 'time' | 'date' | 'textarea';
6
+ icon?: React.ReactElement;
7
+ placeholder?: string;
8
+ error?: string;
9
+ rows?: number;
10
+ inputClassName?: string;
11
+ }
12
+ export declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
13
+ //# sourceMappingURL=TextInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../src/components/form/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,MAAM,CAAC;IACrH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;IAC1G,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,SAAS,+GA8ErB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ export interface TimeInputProps {
3
+ title?: string;
4
+ name?: string;
5
+ value?: string;
6
+ onChange?: (value: string) => void;
7
+ disabled?: boolean;
8
+ error?: string;
9
+ className?: string;
10
+ showSeconds?: boolean;
11
+ }
12
+ export declare const TimeInput: React.ForwardRefExoticComponent<TimeInputProps & React.RefAttributes<HTMLDivElement>>;
13
+ //# sourceMappingURL=TimeInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../src/components/form/TimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAWD,eAAO,MAAM,SAAS,uFAmHrB,CAAC"}
@@ -0,0 +1,23 @@
1
+ export { FileUploadButton } from './FileUploadButton';
2
+ export type { FileUploadButtonProps } from './FileUploadButton';
3
+ export { DatePicker } from './DatePicker';
4
+ export type { DatePickerProps } from './DatePicker';
5
+ export { TimeInput } from './TimeInput';
6
+ export type { TimeInputProps } from './TimeInput';
7
+ export { TextInput } from './TextInput';
8
+ export type { TextInputProps } from './TextInput';
9
+ export { CheckboxGroup } from './CheckboxGroup';
10
+ export type { CheckboxGroupProps, CheckboxItem } from './CheckboxGroup';
11
+ export { RadioGroup } from './RadioGroup';
12
+ export type { RadioGroupProps, RadioItem } from './RadioGroup';
13
+ export { FormInput } from './FormInput';
14
+ export type { FormInputProps } from './FormInput';
15
+ export { Select } from './Select';
16
+ export type { SelectProps, SelectOption } from './Select';
17
+ export { ComboboxSelect } from './ComboboxSelect';
18
+ export type { ComboboxSelectProps, ComboboxOption } from './ComboboxSelect';
19
+ export { FormButtons } from './FormButtons';
20
+ export type { FormButtonsProps } from './FormButtons';
21
+ export { FormLayout } from './FormLayout';
22
+ export type { FormLayoutProps } from './FormLayout';
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAExE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE/D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { NavSecondaryItem } from './NavSecondary';
2
+ import { Sidebar } from '../ui/sidebar';
3
+ import { NavMainItem } from './NavMain';
4
+ import { NavUserData } from './NavUser';
5
+ import * as React from "react";
6
+ export type AppSidebarProps = React.ComponentProps<typeof Sidebar> & {
7
+ navMain?: NavMainItem[];
8
+ navSecondary?: NavSecondaryItem[];
9
+ user?: NavUserData;
10
+ brandName?: string;
11
+ brandIcon?: React.ComponentType<{
12
+ className?: string;
13
+ }>;
14
+ onLogout?: () => void;
15
+ userMenuItems?: Array<{
16
+ label: string;
17
+ icon?: React.ComponentType<{
18
+ className?: string;
19
+ }>;
20
+ onClick?: () => void;
21
+ }>;
22
+ };
23
+ export declare function AppSidebar({ navMain, navSecondary, user, brandName, brandIcon: BrandIcon, onLogout, userMenuItems, ...props }: AppSidebarProps): import("react/jsx-runtime").JSX.Element;
24
+ //# sourceMappingURL=AppSidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/layout/AppSidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAC/D,OAAO,EACL,OAAO,EAOR,MAAM,eAAe,CAAA;AACtB,OAAO,EAAW,WAAW,EAAE,MAAM,WAAW,CAAA;AAChD,OAAO,EAAW,WAAW,EAAE,MAAM,WAAW,CAAA;AAEhD,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,GAAG;IACnE,OAAO,CAAC,EAAE,WAAW,EAAE,CAAA;IACvB,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAA;IACjC,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACvD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,aAAa,CAAC,EAAE,KAAK,CAAC;QACpB,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;YAAE,SAAS,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;QAClD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;KACrB,CAAC,CAAA;CACH,CAAA;AAED,wBAAgB,UAAU,CAAC,EACzB,OAAY,EACZ,YAAiB,EACjB,IAAI,EACJ,SAA0B,EAC1B,SAAS,EAAE,SAA6B,EACxC,QAAQ,EACR,aAAa,EACb,GAAG,KAAK,EACT,EAAE,eAAe,2CAsBjB"}
@@ -0,0 +1,12 @@
1
+ import { SiteHeaderProps } from './SiteHeader';
2
+ import { AppSidebarProps } from './AppSidebar';
3
+ export type DashboardLayoutProps = {
4
+ children: React.ReactNode;
5
+ sidebarProps?: Omit<AppSidebarProps, "children">;
6
+ headerProps?: SiteHeaderProps;
7
+ defaultOpen?: boolean;
8
+ showOverlay?: boolean;
9
+ overlayComponent?: React.ReactNode;
10
+ };
11
+ export declare function DashboardLayout({ children, sidebarProps, headerProps, defaultOpen, showOverlay, overlayComponent, }: DashboardLayoutProps): import("react/jsx-runtime").JSX.Element;
12
+ //# sourceMappingURL=DashboardLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardLayout.d.ts","sourceRoot":"","sources":["../../../src/components/layout/DashboardLayout.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,eAAe,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAc,eAAe,EAAE,MAAM,cAAc,CAAA;AAE1D,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,YAAY,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAA;IAChD,WAAW,CAAC,EAAE,eAAe,CAAA;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACnC,CAAA;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,WAAkB,EAClB,WAAmB,EACnB,gBAAgB,GACjB,EAAE,oBAAoB,2CAqBtB"}
@@ -0,0 +1,11 @@
1
+ import { LucideIcon } from 'lucide-react';
2
+ export type NavDocumentsItem = {
3
+ name: string;
4
+ url: string;
5
+ icon: LucideIcon;
6
+ };
7
+ export type NavDocumentsProps = {
8
+ items: NavDocumentsItem[];
9
+ };
10
+ export declare function NavDocuments({ items }: NavDocumentsProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=NavDocuments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavDocuments.d.ts","sourceRoot":"","sources":["../../../src/components/layout/NavDocuments.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA6C,KAAK,UAAU,EAAE,MAAM,cAAc,CAAA;AAkBzF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,UAAU,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,gBAAgB,EAAE,CAAA;CAC1B,CAAA;AAED,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,2CAgDxD"}
@@ -0,0 +1,24 @@
1
+ import { LucideIcon } from 'lucide-react';
2
+ type BaseNavItem = {
3
+ title: string;
4
+ badge?: string;
5
+ icon?: LucideIcon;
6
+ isActive?: boolean;
7
+ };
8
+ type NavLink = BaseNavItem & {
9
+ url: string;
10
+ items?: never;
11
+ };
12
+ type NavCollapsible = BaseNavItem & {
13
+ items: (BaseNavItem & {
14
+ url: string;
15
+ })[];
16
+ url?: never;
17
+ };
18
+ export type NavMainItem = NavCollapsible | NavLink;
19
+ export type NavMainProps = {
20
+ items: NavMainItem[];
21
+ };
22
+ export declare function NavMain({ items }: NavMainProps): import("react/jsx-runtime").JSX.Element;
23
+ export {};
24
+ //# sourceMappingURL=NavMain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavMain.d.ts","sourceRoot":"","sources":["../../../src/components/layout/NavMain.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,cAAc,CAAA;AAiB5D,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,KAAK,OAAO,GAAG,WAAW,GAAG;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAAA;AAED,KAAK,cAAc,GAAG,WAAW,GAAG;IAClC,KAAK,EAAE,CAAC,WAAW,GAAG;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAA;IACxC,GAAG,CAAC,EAAE,KAAK,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG,OAAO,CAAA;AAElD,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,WAAW,EAAE,CAAA;CACrB,CAAA;AA6CD,wBAAgB,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,YAAY,2CA+B9C"}
@@ -0,0 +1,14 @@
1
+ import { LucideIcon } from 'lucide-react';
2
+ import { SidebarGroup } from '../ui/sidebar';
3
+ import * as React from "react";
4
+ export type NavSecondaryItem = {
5
+ title: string;
6
+ url: string;
7
+ icon: LucideIcon;
8
+ target?: string | undefined;
9
+ };
10
+ export type NavSecondaryProps = {
11
+ items: NavSecondaryItem[];
12
+ } & React.ComponentPropsWithoutRef<typeof SidebarGroup>;
13
+ export declare function NavSecondary({ items, ...props }: NavSecondaryProps): import("react/jsx-runtime").JSX.Element;
14
+ //# sourceMappingURL=NavSecondary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavSecondary.d.ts","sourceRoot":"","sources":["../../../src/components/layout/NavSecondary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,OAAO,EACL,YAAY,EAKb,MAAM,eAAe,CAAA;AAEtB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,UAAU,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,gBAAgB,EAAE,CAAA;CAC1B,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,YAAY,CAAC,CAAA;AAEvD,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAmBlE"}
@@ -0,0 +1,18 @@
1
+ export type NavUserData = {
2
+ name: string;
3
+ email: string;
4
+ avatar?: string;
5
+ };
6
+ export type NavUserProps = {
7
+ user: NavUserData;
8
+ onLogout?: () => void;
9
+ menuItems?: Array<{
10
+ label: string;
11
+ icon?: React.ComponentType<{
12
+ className?: string;
13
+ }>;
14
+ onClick?: () => void;
15
+ }>;
16
+ };
17
+ export declare function NavUser({ user, onLogout, menuItems }: NavUserProps): import("react/jsx-runtime").JSX.Element;
18
+ //# sourceMappingURL=NavUser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavUser.d.ts","sourceRoot":"","sources":["../../../src/components/layout/NavUser.tsx"],"names":[],"mappings":"AAmBA,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,WAAW,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,SAAS,CAAC,EAAE,KAAK,CAAC;QAChB,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;YAAE,SAAS,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;QAClD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;KACrB,CAAC,CAAA;CACH,CAAA;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAc,EAAE,EAAE,YAAY,2CAwEvE"}
@@ -0,0 +1,7 @@
1
+ export type PageTitleMap = Record<string, string>;
2
+ export type SiteHeaderProps = {
3
+ pageTitles?: PageTitleMap;
4
+ defaultTitle?: string;
5
+ };
6
+ export declare function SiteHeader({ pageTitles, defaultTitle }: SiteHeaderProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=SiteHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SiteHeader.d.ts","sourceRoot":"","sources":["../../../src/components/layout/SiteHeader.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAEjD,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,CAAC,EAAE,YAAY,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,wBAAgB,UAAU,CAAC,EAAE,UAAe,EAAE,YAA8B,EAAE,EAAE,eAAe,2CAa9F"}
@@ -0,0 +1,8 @@
1
+ export * from './SiteHeader';
2
+ export * from './AppSidebar';
3
+ export * from './NavMain';
4
+ export * from './NavSecondary';
5
+ export * from './NavUser';
6
+ export * from './NavDocuments';
7
+ export * from './DashboardLayout';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,10 @@
1
+ export type TAlertModalProps = {
2
+ isOpen: boolean;
3
+ onClose: () => void;
4
+ onConfirm: () => void;
5
+ loading: boolean;
6
+ title?: string;
7
+ description?: string;
8
+ };
9
+ export declare const AlertModal: ({ isOpen, onClose, onConfirm, loading, title, description }: TAlertModalProps) => import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=AlertModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertModal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/AlertModal.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,6DAOxB,gBAAgB,4CAkBlB,CAAC"}