@facter/ds-core 1.1.1 → 1.1.3

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,52 +1,92 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import * as React from 'react';
2
+ import * as React$1 from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
+ import * as SelectPrimitive from '@radix-ui/react-select';
6
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
7
+ import * as _tanstack_react_table from '@tanstack/react-table';
8
+ import { ColumnDef, Column, SortingState, ColumnFiltersState, VisibilityState, RowSelectionState, PaginationState, Table as Table$1 } from '@tanstack/react-table';
9
+ export { flexRender } from '@tanstack/react-table';
10
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
11
+ import { Toaster as Toaster$1 } from 'sonner';
12
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
13
+ import * as SwitchPrimitives from '@radix-ui/react-switch';
14
+ import { FieldValues, FieldPath, UseFormReturn, SubmitHandler, SubmitErrorHandler } from 'react-hook-form';
15
+ import { LucideIcon } from 'lucide-react';
5
16
  import { ClassValue } from 'clsx';
6
17
 
7
18
  declare const buttonVariants: (props?: ({
8
- variant?: "default" | "destructive" | "outline" | "ghost" | "link" | null | undefined;
9
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
19
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
20
+ size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | null | undefined;
10
21
  } & class_variance_authority_types.ClassProp) | undefined) => string;
11
- interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
22
+ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
12
23
  asChild?: boolean;
13
24
  }
14
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
25
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
15
26
 
16
27
  declare const inputVariants: (props?: ({
17
28
  variant?: "default" | "error" | null | undefined;
18
29
  inputSize?: "default" | "sm" | "lg" | null | undefined;
19
30
  } & class_variance_authority_types.ClassProp) | undefined) => string;
20
- interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
31
+ interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
21
32
  label?: string;
22
33
  error?: boolean;
23
- icon?: React.ComponentType<any>;
34
+ icon?: React$1.ComponentType<any>;
24
35
  containerClassName?: string;
25
36
  labelClassName?: string;
26
37
  }
27
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
38
+ declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
28
39
 
29
40
  declare const badgeVariants: (props?: ({
30
- variant?: "default" | "outline" | "error" | "secondary" | "success" | "warning" | "info" | null | undefined;
41
+ variant?: "default" | "outline" | "secondary" | "error" | "success" | "warning" | "info" | null | undefined;
31
42
  size?: "default" | "sm" | "lg" | null | undefined;
32
43
  } & class_variance_authority_types.ClassProp) | undefined) => string;
33
- interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
44
+ interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
34
45
  }
35
46
  declare function Badge({ className, variant, size, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
36
47
  declare namespace Badge {
37
48
  var displayName: string;
38
49
  }
39
50
 
51
+ declare const selectVariants: (props?: ({
52
+ variant?: "default" | "error" | null | undefined;
53
+ selectSize?: "default" | "sm" | "lg" | null | undefined;
54
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
55
+ interface SelectProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Root>, 'size'>, VariantProps<typeof selectVariants> {
56
+ label?: string;
57
+ error?: boolean;
58
+ icon?: React$1.ComponentType<any>;
59
+ className?: string;
60
+ containerClassName?: string;
61
+ labelClassName?: string;
62
+ placeholder?: string;
63
+ required?: boolean;
64
+ children: React$1.ReactNode;
65
+ }
66
+ declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLButtonElement>>;
67
+ interface SelectItemProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> {
68
+ children: React$1.ReactNode;
69
+ }
70
+ declare const SelectItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
71
+ declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
72
+ declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
73
+ declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
74
+
75
+ declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
76
+ declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
77
+ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
78
+ declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
79
+
40
80
  declare const loaderVariants: (props?: ({
41
81
  variant?: "default" | "spinner" | "dots" | "pulse" | "bars" | null | undefined;
42
- scope?: "global" | "local" | null | undefined;
82
+ scope?: "local" | "global" | null | undefined;
43
83
  } & class_variance_authority_types.ClassProp) | undefined) => string;
44
84
  interface LoaderProps extends VariantProps<typeof loaderVariants> {
45
85
  message?: string;
46
86
  isTransparentBg?: boolean;
47
87
  show?: boolean;
48
88
  }
49
- declare const Loader: React.ForwardRefExoticComponent<LoaderProps & React.RefAttributes<HTMLDivElement>>;
89
+ declare const Loader: React$1.ForwardRefExoticComponent<LoaderProps & React$1.RefAttributes<HTMLDivElement>>;
50
90
 
51
91
  interface LoaderContextValue {
52
92
  show: (options?: LoaderOptions) => void;
@@ -60,7 +100,7 @@ interface LoaderOptions {
60
100
  isTransparentBg?: boolean;
61
101
  }
62
102
  declare function LoaderProvider({ children }: {
63
- children: React.ReactNode;
103
+ children: React$1.ReactNode;
64
104
  }): react_jsx_runtime.JSX.Element;
65
105
  declare function useLoader(): LoaderContextValue;
66
106
  declare const loader: {
@@ -69,6 +109,1145 @@ declare const loader: {
69
109
  };
70
110
  declare function GlobalLoaderController(): null;
71
111
 
112
+ declare const emptyStateVariants: (props?: ({
113
+ layout?: "horizontal" | "vertical" | null | undefined;
114
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
115
+ interface EmptyStateProps extends VariantProps<typeof emptyStateVariants> {
116
+ message?: string;
117
+ description?: string;
118
+ icon?: React$1.ComponentType<any>;
119
+ actionLabel?: string;
120
+ onAction?: () => void;
121
+ hideDescription?: boolean;
122
+ size?: 'default' | 'sm';
123
+ className?: string;
124
+ animated?: boolean;
125
+ }
126
+ declare const EmptyState: React$1.NamedExoticComponent<EmptyStateProps>;
127
+
128
+ /**
129
+ * Props do componente root DataTable.
130
+ *
131
+ * TData deve ser um objeto (Record<string, unknown>) para garantir
132
+ * type-safety com o TanStack Table e permitir acesso a propriedades.
133
+ */
134
+ interface DataTableProps<TData extends Record<string, unknown>> {
135
+ /** Data array - deve ser memoizado pelo consumer */
136
+ data: TData[];
137
+ /** Column definitions - deve ser memoizado pelo consumer */
138
+ columns: ColumnDef<TData, unknown>[];
139
+ /** Children usando Compound Component pattern */
140
+ children: React$1.ReactNode;
141
+ /** Função para obter ID único da row */
142
+ getRowId?: (row: TData) => string;
143
+ /** Custom className */
144
+ className?: string;
145
+ }
146
+ interface DataTableState {
147
+ sorting: SortingState;
148
+ columnFilters: ColumnFiltersState;
149
+ columnVisibility: VisibilityState;
150
+ rowSelection: RowSelectionState;
151
+ pagination: PaginationState;
152
+ globalFilter: string;
153
+ density: DataTableDensity;
154
+ }
155
+ type DataTableDensity = 'compact' | 'default' | 'comfortable';
156
+ interface DataTableMeta {
157
+ isLoading: boolean;
158
+ isEmpty: boolean;
159
+ selectedRowCount: number;
160
+ totalRows: number;
161
+ density: DataTableDensity;
162
+ }
163
+ interface DataTableLoadingProps {
164
+ /** Controla visibilidade do loading */
165
+ visible: boolean;
166
+ /** Custom skeleton component */
167
+ skeleton?: React$1.ReactNode;
168
+ /** Número de rows no skeleton */
169
+ skeletonRows?: number;
170
+ /** Custom className */
171
+ className?: string;
172
+ }
173
+ interface DataTableToolbarProps {
174
+ /** Children components */
175
+ children?: React$1.ReactNode;
176
+ /** Custom className */
177
+ className?: string;
178
+ }
179
+ interface DataTableSearchProps {
180
+ /** Placeholder text */
181
+ placeholder?: string;
182
+ /** Coluna específica para buscar (se não passar, busca global) */
183
+ column?: string;
184
+ /** Debounce delay em ms */
185
+ debounce?: number;
186
+ /** Custom className */
187
+ className?: string;
188
+ }
189
+ interface DataTableFiltersProps {
190
+ /** Children: Individual filters */
191
+ children?: React$1.ReactNode;
192
+ /** Custom className */
193
+ className?: string;
194
+ }
195
+ interface DataTableFilterOption {
196
+ label: string;
197
+ value: string;
198
+ icon?: React$1.ReactNode;
199
+ }
200
+ interface DataTableFilterProps {
201
+ /** Coluna para filtrar */
202
+ column: string;
203
+ /** Label do filtro */
204
+ title: string;
205
+ /** Opções de filtro */
206
+ options: DataTableFilterOption[];
207
+ /** Permitir seleção múltipla */
208
+ multiSelect?: boolean;
209
+ /** Custom className */
210
+ className?: string;
211
+ }
212
+ interface DataTableContentProps {
213
+ /** Header fixo no scroll */
214
+ stickyHeader?: boolean;
215
+ /** Linhas alternadas (zebra) */
216
+ stripedRows?: boolean;
217
+ /** Highlight no hover */
218
+ highlightOnHover?: boolean;
219
+ /** Custom className */
220
+ className?: string;
221
+ }
222
+ type DataTablePaginationMode = 'client' | 'server';
223
+ interface DataTablePaginationProps {
224
+ /** Modo de paginação */
225
+ mode?: DataTablePaginationMode;
226
+ /** Total de páginas (obrigatório se mode="server") */
227
+ pageCount?: number;
228
+ /** Opções de items por página */
229
+ pageSizes?: number[];
230
+ /** Mostrar seletor de page size */
231
+ showPageSize?: boolean;
232
+ /** Mostrar informação de página atual */
233
+ showPageInfo?: boolean;
234
+ /** Mostrar botões primeira/última página */
235
+ showFirstLast?: boolean;
236
+ /** Custom className */
237
+ className?: string;
238
+ }
239
+ interface DataTableEmptyStateProps {
240
+ /** Título */
241
+ title?: string;
242
+ /** Descrição */
243
+ description?: string;
244
+ /** Ícone customizado */
245
+ icon?: React$1.ReactNode;
246
+ /** Ação (botão, link, etc) */
247
+ action?: React$1.ReactNode;
248
+ /** Custom className */
249
+ className?: string;
250
+ }
251
+ interface DataTableBulkActionsProps<TData = unknown> {
252
+ /** Render prop que recebe as rows selecionadas */
253
+ children: (selectedRows: TData[]) => React$1.ReactNode;
254
+ /** Custom className */
255
+ className?: string;
256
+ }
257
+ interface DataTableColumnVisibilityProps {
258
+ /** Custom className */
259
+ className?: string;
260
+ }
261
+ interface DataTableDensityToggleProps {
262
+ /** Custom className */
263
+ className?: string;
264
+ }
265
+ interface DataTableTab {
266
+ /** Identificador único da tab */
267
+ value: string;
268
+ /** Label exibido na tab */
269
+ label: string;
270
+ /** Contador opcional (ex: "Todas 85") */
271
+ count?: number;
272
+ }
273
+ interface DataTableTabsProps {
274
+ /** Lista de tabs disponíveis */
275
+ tabs: DataTableTab[];
276
+ /** Tab ativa (controlled) */
277
+ value?: string;
278
+ /** Tab ativa inicial (uncontrolled) */
279
+ defaultValue?: string;
280
+ /** Callback quando tab muda */
281
+ onValueChange?: (value: string) => void;
282
+ /** Custom className */
283
+ className?: string;
284
+ }
285
+ type DataTableExportFormat = 'csv' | 'xlsx' | 'pdf';
286
+ interface DataTableExportProps {
287
+ /** Formatos disponíveis para export */
288
+ formats?: DataTableExportFormat[];
289
+ /** Nome do arquivo (sem extensão) */
290
+ filename?: string;
291
+ /** Custom className */
292
+ className?: string;
293
+ }
294
+ interface DataTableColumnHeaderProps<TData = unknown, TValue = unknown> {
295
+ /** Column instance do TanStack Table */
296
+ column: Column<TData, TValue>;
297
+ /** Título do header */
298
+ title: string;
299
+ /** Custom className */
300
+ className?: string;
301
+ }
302
+ interface DataTableRowActionsProps {
303
+ /** Children (DropdownMenuItems) */
304
+ children: React$1.ReactNode;
305
+ /** Custom className */
306
+ className?: string;
307
+ }
308
+ interface DataTableContextValue<TData = unknown> {
309
+ table: Table$1<TData>;
310
+ state: DataTableMeta;
311
+ density: DataTableDensity;
312
+ setDensity: (density: DataTableDensity) => void;
313
+ }
314
+ interface UseDataTableConfig<TData extends Record<string, unknown>> {
315
+ data: TData[];
316
+ columns: ColumnDef<TData, unknown>[];
317
+ getRowId?: (row: TData) => string;
318
+ initialPageSize?: number;
319
+ initialPageIndex?: number;
320
+ }
321
+ interface PaginationMeta {
322
+ page: number;
323
+ perPage: number;
324
+ totalItems: number;
325
+ totalPages: number;
326
+ hasNextPage: boolean;
327
+ hasPreviousPage: boolean;
328
+ sortBy?: string;
329
+ sortOrder?: 'asc' | 'desc';
330
+ }
331
+ interface PaginatedResponse<T> {
332
+ data: T[];
333
+ meta: PaginationMeta;
334
+ }
335
+ interface PaginationParams {
336
+ page?: number;
337
+ perPage?: number;
338
+ sortBy?: string;
339
+ sortOrder?: 'asc' | 'desc';
340
+ }
341
+ declare const DENSITY_CONFIG: {
342
+ readonly compact: {
343
+ readonly rowHeight: 32;
344
+ readonly fontSize: "text-xs";
345
+ readonly padding: "py-1 px-2";
346
+ };
347
+ readonly default: {
348
+ readonly rowHeight: 40;
349
+ readonly fontSize: "text-sm";
350
+ readonly padding: "py-2 px-4";
351
+ };
352
+ readonly comfortable: {
353
+ readonly rowHeight: 52;
354
+ readonly fontSize: "text-sm";
355
+ readonly padding: "py-3 px-4";
356
+ };
357
+ };
358
+
359
+ declare function DataTableRoot<TData extends Record<string, unknown>>({ children, data, columns, getRowId, className, }: DataTableProps<TData>): react_jsx_runtime.JSX.Element;
360
+ declare namespace DataTableRoot {
361
+ var displayName: string;
362
+ }
363
+
364
+ /**
365
+ * DataTable.Loading - Componente de loading state
366
+ *
367
+ * Renderiza um skeleton ou overlay quando visible=true.
368
+ * Não renderiza nada quando visible=false.
369
+ */
370
+ declare function DataTableLoading({ visible, skeleton, skeletonRows, className, }: DataTableLoadingProps): react_jsx_runtime.JSX.Element | null;
371
+ declare namespace DataTableLoading {
372
+ var displayName: string;
373
+ }
374
+
375
+ declare function DataTableColumnHeader({ column, title, className, }: DataTableColumnHeaderProps): react_jsx_runtime.JSX.Element;
376
+
377
+ declare function DataTableColumnVisibility({ className, }: DataTableColumnVisibilityProps): react_jsx_runtime.JSX.Element;
378
+ declare namespace DataTableColumnVisibility {
379
+ var displayName: string;
380
+ }
381
+
382
+ declare function DataTableDensityToggle({ className, }: DataTableDensityToggleProps): react_jsx_runtime.JSX.Element;
383
+ declare namespace DataTableDensityToggle {
384
+ var displayName: string;
385
+ }
386
+
387
+ declare function DataTableBulkActions<TData extends Record<string, unknown>>({ children, className, }: DataTableBulkActionsProps<TData>): react_jsx_runtime.JSX.Element | null;
388
+ declare namespace DataTableBulkActions {
389
+ var displayName: string;
390
+ }
391
+
392
+ declare function DataTableExport({ formats, filename, className, }: DataTableExportProps): react_jsx_runtime.JSX.Element;
393
+ declare namespace DataTableExport {
394
+ var displayName: string;
395
+ }
396
+
397
+ declare function DataTableTabs({ tabs, value, defaultValue, onValueChange, className, }: DataTableTabsProps): react_jsx_runtime.JSX.Element;
398
+ declare namespace DataTableTabs {
399
+ var displayName: string;
400
+ }
401
+
402
+ declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
403
+ declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
404
+ declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
405
+ declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
406
+ declare const TableRow: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>>;
407
+ declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
408
+ declare const TableCell: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>>;
409
+ declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
410
+
411
+ /**
412
+ * Context 3: Density
413
+ * - Muda apenas quando usuário altera densidade
414
+ * - Separado para não re-renderizar toda tabela
415
+ */
416
+ interface DensityContextValue {
417
+ density: DataTableDensity;
418
+ setDensity: (density: DataTableDensity) => void;
419
+ }
420
+ /**
421
+ * Hook para acessar a instância da tabela
422
+ * Não causa re-renders pois a instância é estável
423
+ */
424
+ declare function useDataTable<TData = unknown>(): Table$1<TData>;
425
+ /**
426
+ * Hook para acessar o estado meta da tabela
427
+ * Re-renderiza quando loading, empty, ou selection muda
428
+ */
429
+ declare function useDataTableMeta(): DataTableMeta;
430
+ /**
431
+ * Hook para acessar apenas o loading state
432
+ * Otimizado para componentes que só precisam saber se está carregando
433
+ */
434
+ declare function useDataTableLoading(): boolean;
435
+ /**
436
+ * Hook para acessar apenas o empty state
437
+ * Otimizado para componentes que só precisam saber se está vazio
438
+ */
439
+ declare function useDataTableEmpty(): boolean;
440
+ /**
441
+ * Hook para acessar rows selecionadas
442
+ * Re-renderiza quando seleção muda
443
+ */
444
+ declare function useDataTableSelection<TData = unknown>(): TData[];
445
+ /**
446
+ * Hook para acessar densidade
447
+ * Separado para não re-renderizar componentes que não usam
448
+ */
449
+ declare function useDataTableDensity(): DensityContextValue;
450
+ /**
451
+ * Hook para paginação
452
+ * Retorna informações de paginação memoizadas
453
+ */
454
+ declare function useDataTablePagination(): {
455
+ pageIndex: number;
456
+ pageSize: number;
457
+ pageCount: number;
458
+ canPreviousPage: boolean;
459
+ canNextPage: boolean;
460
+ setPageIndex: (index: number) => void;
461
+ setPageSize: (size: number) => void;
462
+ previousPage: () => void;
463
+ nextPage: () => void;
464
+ firstPage: () => void;
465
+ lastPage: () => void;
466
+ };
467
+ /**
468
+ * Hook para sorting
469
+ * Retorna informações de sorting memoizadas
470
+ */
471
+ declare function useDataTableSorting(): {
472
+ sorting: _tanstack_react_table.SortingState;
473
+ setSorting: (updater: _tanstack_react_table.Updater<_tanstack_react_table.SortingState>) => void;
474
+ clearSorting: () => void;
475
+ toggleSort: (columnId: string) => void;
476
+ };
477
+ /**
478
+ * Hook para column visibility
479
+ * Retorna informações de visibilidade memoizadas
480
+ */
481
+ declare function useDataTableColumnVisibility(): {
482
+ columnVisibility: _tanstack_react_table.VisibilityState;
483
+ setColumnVisibility: (updater: _tanstack_react_table.Updater<_tanstack_react_table.VisibilityState>) => void;
484
+ toggleColumn: (columnId: string) => void;
485
+ getAllColumns: () => _tanstack_react_table.Column<unknown, unknown>[];
486
+ };
487
+ declare const useDataTableInstance: typeof useDataTable;
488
+ declare const useDataTableState: typeof useDataTableMeta;
489
+
490
+ declare function useDebounce<T>(value: T, delay?: number): T;
491
+ declare function useDebouncedCallback<T extends (...args: any[]) => any>(callback: T, delay?: number): T;
492
+
493
+ declare const DataTable: typeof DataTableRoot & {
494
+ Loading: typeof DataTableLoading;
495
+ EmptyState: React$1.NamedExoticComponent<DataTableEmptyStateProps>;
496
+ Tabs: typeof DataTableTabs;
497
+ Toolbar: React$1.NamedExoticComponent<DataTableToolbarProps>;
498
+ Content: React$1.NamedExoticComponent<DataTableContentProps>;
499
+ Search: React$1.NamedExoticComponent<DataTableSearchProps>;
500
+ Filters: React$1.NamedExoticComponent<DataTableFiltersProps>;
501
+ Filter: React$1.NamedExoticComponent<DataTableFilterProps>;
502
+ Pagination: React$1.NamedExoticComponent<DataTablePaginationProps>;
503
+ BulkActions: typeof DataTableBulkActions;
504
+ ColumnVisibility: typeof DataTableColumnVisibility;
505
+ DensityToggle: typeof DataTableDensityToggle;
506
+ Export: typeof DataTableExport;
507
+ ColumnHeader: typeof DataTableColumnHeader;
508
+ };
509
+
510
+ declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
511
+ declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
512
+ declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
513
+ declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
514
+ declare const DialogOverlay: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>>;
515
+ declare const dialogContentVariants: (props?: ({
516
+ size?: "sm" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "full" | null | undefined;
517
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
518
+ interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof dialogContentVariants> {
519
+ showCloseButton?: boolean;
520
+ }
521
+ declare const DialogContent: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>>;
522
+ declare const DialogHeader: React$1.NamedExoticComponent<React$1.HTMLAttributes<HTMLDivElement>>;
523
+ declare const DialogFooter: React$1.NamedExoticComponent<React$1.HTMLAttributes<HTMLDivElement>>;
524
+ declare const DialogTitle: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>>;
525
+ declare const DialogDescription: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>>;
526
+ declare const DialogBody: React$1.NamedExoticComponent<React$1.HTMLAttributes<HTMLDivElement>>;
527
+
528
+ interface RippleEffectProps {
529
+ size?: 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
530
+ color?: 'primary' | 'secondary' | 'accent' | 'muted';
531
+ intensity?: 'light' | 'medium' | 'strong';
532
+ rings?: number;
533
+ position?: 'center' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center';
534
+ className?: string;
535
+ }
536
+ declare const RippleEffect: React$1.NamedExoticComponent<RippleEffectProps>;
537
+ interface RippleWrapperProps {
538
+ children: React$1.ReactNode;
539
+ rippleProps?: RippleEffectProps;
540
+ className?: string;
541
+ }
542
+ declare const RippleWrapper: React$1.NamedExoticComponent<RippleWrapperProps>;
543
+ interface RippleBackgroundProps extends RippleEffectProps {
544
+ containerClassName?: string;
545
+ }
546
+ declare const RippleBackground: React$1.NamedExoticComponent<RippleBackgroundProps>;
547
+
548
+ declare const iconWrapperVariants: (props?: ({
549
+ variant?: "default" | "destructive" | "secondary" | "success" | "accent" | null | undefined;
550
+ size?: "sm" | "lg" | "md" | null | undefined;
551
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
552
+ interface DialogWrapperProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof iconWrapperVariants> {
553
+ children?: React$1.ReactNode;
554
+ icon?: React$1.ElementType<{
555
+ className?: string;
556
+ }>;
557
+ status?: 'active' | 'inactive' | 'warning' | 'error' | null;
558
+ showRipple?: boolean;
559
+ rippleProps?: Partial<RippleEffectProps>;
560
+ iconSize?: 'sm' | 'md' | 'lg';
561
+ }
562
+ declare const DialogWrapper: React$1.NamedExoticComponent<DialogWrapperProps>;
563
+
564
+ type ToasterProps = React$1.ComponentProps<typeof Toaster$1>;
565
+ declare const toastVariants: {
566
+ default: {
567
+ bg: string;
568
+ border: string;
569
+ barColor: string;
570
+ icon: react_jsx_runtime.JSX.Element;
571
+ textColor: string;
572
+ };
573
+ success: {
574
+ bg: string;
575
+ border: string;
576
+ barColor: string;
577
+ icon: react_jsx_runtime.JSX.Element;
578
+ textColor: string;
579
+ };
580
+ error: {
581
+ bg: string;
582
+ border: string;
583
+ barColor: string;
584
+ icon: react_jsx_runtime.JSX.Element;
585
+ textColor: string;
586
+ };
587
+ warning: {
588
+ bg: string;
589
+ border: string;
590
+ barColor: string;
591
+ icon: react_jsx_runtime.JSX.Element;
592
+ textColor: string;
593
+ };
594
+ info: {
595
+ bg: string;
596
+ border: string;
597
+ barColor: string;
598
+ icon: react_jsx_runtime.JSX.Element;
599
+ textColor: string;
600
+ };
601
+ };
602
+ declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
603
+ interface ToastProps {
604
+ title: string;
605
+ description?: string;
606
+ variant?: keyof typeof toastVariants;
607
+ action?: {
608
+ label: string;
609
+ onClick: () => void;
610
+ };
611
+ onClose?: () => void;
612
+ }
613
+ declare const toast: ((message: string) => string | number) & {
614
+ success: (message: string | ToastProps) => string | number;
615
+ error: (message: string | ToastProps) => string | number;
616
+ warning: (message: string | ToastProps) => string | number;
617
+ info: (message: string | ToastProps) => string | number;
618
+ custom: (component: (id: string | number) => React$1.ReactElement, options?: any) => string | number;
619
+ dismiss: (id?: string | number) => string | number;
620
+ promise: <T>(promise: Promise<T> | (() => Promise<T>), options: {
621
+ loading: string;
622
+ success: string | ((data: T) => string);
623
+ error: string | ((error: any) => string);
624
+ }) => (string & {
625
+ unwrap: () => Promise<T>;
626
+ }) | (number & {
627
+ unwrap: () => Promise<T>;
628
+ }) | {
629
+ unwrap: () => Promise<T>;
630
+ };
631
+ };
632
+
633
+ declare const checkboxVariants: (props?: ({
634
+ variant?: "default" | "outline" | "secondary" | null | undefined;
635
+ size?: "sm" | "lg" | "md" | null | undefined;
636
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
637
+ interface CheckboxProps extends React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, VariantProps<typeof checkboxVariants> {
638
+ }
639
+ declare const Checkbox: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>>;
640
+
641
+ declare const switchVariants: (props?: ({
642
+ variant?: "default" | "secondary" | "success" | null | undefined;
643
+ size?: "sm" | "lg" | "md" | null | undefined;
644
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
645
+ interface SwitchProps extends React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>, VariantProps<typeof switchVariants> {
646
+ }
647
+ declare const Switch: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>>;
648
+
649
+ declare const textareaVariants: (props?: ({
650
+ variant?: "default" | "error" | null | undefined;
651
+ textareaSize?: "default" | "sm" | "lg" | null | undefined;
652
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
653
+ interface TextareaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, VariantProps<typeof textareaVariants> {
654
+ label?: string;
655
+ error?: boolean;
656
+ icon?: React$1.ComponentType<any>;
657
+ containerClassName?: string;
658
+ labelClassName?: string;
659
+ autoResize?: boolean;
660
+ }
661
+ declare const Textarea: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>>;
662
+
663
+ interface FormLabelProps extends React$1.LabelHTMLAttributes<HTMLLabelElement> {
664
+ required?: boolean;
665
+ }
666
+ declare const FormLabel: React$1.ForwardRefExoticComponent<FormLabelProps & React$1.RefAttributes<HTMLLabelElement>>;
667
+ interface FormDescriptionProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
668
+ }
669
+ declare const FormDescription: React$1.ForwardRefExoticComponent<FormDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
670
+ interface FormErrorProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
671
+ message?: string;
672
+ }
673
+ declare const FormError: React$1.ForwardRefExoticComponent<FormErrorProps & React$1.RefAttributes<HTMLParagraphElement>>;
674
+ interface FormFieldWrapperProps extends React$1.HTMLAttributes<HTMLDivElement> {
675
+ label?: string;
676
+ description?: string;
677
+ required?: boolean;
678
+ error?: string;
679
+ }
680
+ declare const FormFieldWrapper: React$1.ForwardRefExoticComponent<FormFieldWrapperProps & React$1.RefAttributes<HTMLDivElement>>;
681
+
682
+ interface FormContextValue<T extends FieldValues = FieldValues> {
683
+ form: UseFormReturn<T>;
684
+ }
685
+ interface FormFieldContextValue {
686
+ name: string;
687
+ id: string;
688
+ error?: string;
689
+ isRequired?: boolean;
690
+ }
691
+ interface BaseFieldProps<T extends FieldValues = FieldValues> {
692
+ name: FieldPath<T>;
693
+ label?: string;
694
+ description?: string;
695
+ required?: boolean;
696
+ disabled?: boolean;
697
+ className?: string;
698
+ }
699
+ type MaskType = 'phone' | 'cpf' | 'cnpj' | 'cep' | 'money' | 'percent' | 'plate' | 'date' | 'time' | 'datetime';
700
+ interface FormInputProps<T extends FieldValues = FieldValues> extends BaseFieldProps<T>, Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'name' | 'size'> {
701
+ mask?: MaskType;
702
+ icon?: React$1.ComponentType<{
703
+ className?: string;
704
+ }>;
705
+ showPasswordToggle?: boolean;
706
+ inputSize?: 'sm' | 'default' | 'lg';
707
+ hideError?: boolean;
708
+ }
709
+ interface SelectOption {
710
+ value: string;
711
+ label: string;
712
+ description?: string;
713
+ icon?: React$1.ComponentType<{
714
+ className?: string;
715
+ }>;
716
+ disabled?: boolean;
717
+ }
718
+ interface FormSelectProps<T extends FieldValues = FieldValues> extends BaseFieldProps<T> {
719
+ options: SelectOption[];
720
+ placeholder?: string;
721
+ multiple?: boolean;
722
+ searchable?: boolean;
723
+ clearable?: boolean;
724
+ loading?: boolean;
725
+ emptyText?: string;
726
+ icon?: React$1.ComponentType<{
727
+ className?: string;
728
+ }>;
729
+ hideError?: boolean;
730
+ selectSize?: 'sm' | 'default' | 'lg';
731
+ }
732
+ interface FormTextareaProps<T extends FieldValues = FieldValues> extends BaseFieldProps<T>, Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, 'name'> {
733
+ hideError?: boolean;
734
+ showCount?: boolean;
735
+ maxLength?: number;
736
+ }
737
+ interface FormCheckboxProps<T extends FieldValues = FieldValues> extends BaseFieldProps<T> {
738
+ hideError?: boolean;
739
+ }
740
+ interface FormSwitchProps<T extends FieldValues = FieldValues> extends BaseFieldProps<T> {
741
+ hideError?: boolean;
742
+ }
743
+ interface RadioOption {
744
+ value: string;
745
+ label: string;
746
+ description?: string;
747
+ disabled?: boolean;
748
+ }
749
+ interface FormRadioGroupProps<T extends FieldValues = FieldValues> extends BaseFieldProps<T> {
750
+ options: RadioOption[];
751
+ orientation?: 'horizontal' | 'vertical';
752
+ hideError?: boolean;
753
+ }
754
+
755
+ declare function FormInput<T extends FieldValues = FieldValues>({ name, label, description, required, disabled, className, mask, icon, showPasswordToggle, inputSize, hideError, type, maxLength, ...inputProps }: FormInputProps<T>): react_jsx_runtime.JSX.Element;
756
+ declare namespace FormInput {
757
+ var displayName: string;
758
+ }
759
+
760
+ declare function FormSelect<T extends FieldValues = FieldValues>({ name, label, description, required, disabled, className, options, placeholder, icon, hideError, selectSize, emptyText, loading, }: FormSelectProps<T>): react_jsx_runtime.JSX.Element;
761
+ declare namespace FormSelect {
762
+ var displayName: string;
763
+ }
764
+
765
+ declare function FormTextarea<T extends FieldValues = FieldValues>({ name, label, description, required, disabled, className, hideError, showCount, maxLength, ...textareaProps }: FormTextareaProps<T>): react_jsx_runtime.JSX.Element;
766
+ declare namespace FormTextarea {
767
+ var displayName: string;
768
+ }
769
+
770
+ declare function FormCheckbox<T extends FieldValues = FieldValues>({ name, label, description, required, disabled, className, hideError, }: FormCheckboxProps<T>): react_jsx_runtime.JSX.Element;
771
+ declare namespace FormCheckbox {
772
+ var displayName: string;
773
+ }
774
+
775
+ declare function FormSwitch<T extends FieldValues = FieldValues>({ name, label, description, required, disabled, className, hideError, }: FormSwitchProps<T>): react_jsx_runtime.JSX.Element;
776
+ declare namespace FormSwitch {
777
+ var displayName: string;
778
+ }
779
+
780
+ declare function FormRadioGroup<T extends FieldValues = FieldValues>({ name, label, description, required, disabled, className, options, orientation, hideError, }: FormRadioGroupProps<T>): react_jsx_runtime.JSX.Element;
781
+ declare namespace FormRadioGroup {
782
+ var displayName: string;
783
+ }
784
+
785
+ declare function useFormContext<T extends FieldValues = FieldValues>(): UseFormReturn<T>;
786
+ interface FormProviderProps<T extends FieldValues = FieldValues> {
787
+ form: UseFormReturn<T>;
788
+ children: React$1.ReactNode;
789
+ }
790
+ declare function FormProvider<T extends FieldValues = FieldValues>({ form, children, }: FormProviderProps<T>): react_jsx_runtime.JSX.Element;
791
+ declare function useFormFieldContext(): FormFieldContextValue;
792
+ interface FormFieldProviderProps {
793
+ name: string;
794
+ children: React$1.ReactNode;
795
+ }
796
+ declare function FormFieldProvider({ name, children }: FormFieldProviderProps): react_jsx_runtime.JSX.Element;
797
+
798
+ interface FormRootProps<T extends FieldValues = FieldValues> extends Omit<React$1.FormHTMLAttributes<HTMLFormElement>, 'onSubmit' | 'onError'> {
799
+ form: UseFormReturn<T>;
800
+ onSubmit: SubmitHandler<T>;
801
+ onError?: SubmitErrorHandler<T>;
802
+ }
803
+ declare function FormRoot<T extends FieldValues = FieldValues>({ form, onSubmit, onError, children, className, ...props }: FormRootProps<T>): react_jsx_runtime.JSX.Element;
804
+ declare namespace FormRoot {
805
+ var displayName: string;
806
+ }
807
+
808
+ declare const Form: typeof FormRoot & {
809
+ Input: typeof FormInput;
810
+ Select: typeof FormSelect;
811
+ Textarea: typeof FormTextarea;
812
+ Checkbox: typeof FormCheckbox;
813
+ Switch: typeof FormSwitch;
814
+ RadioGroup: typeof FormRadioGroup;
815
+ Label: React$1.ForwardRefExoticComponent<FormLabelProps & React$1.RefAttributes<HTMLLabelElement>>;
816
+ Description: React$1.ForwardRefExoticComponent<FormDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
817
+ Error: React$1.ForwardRefExoticComponent<FormErrorProps & React$1.RefAttributes<HTMLParagraphElement>>;
818
+ FieldWrapper: React$1.ForwardRefExoticComponent<FormFieldWrapperProps & React$1.RefAttributes<HTMLDivElement>>;
819
+ Field: typeof FormFieldProvider;
820
+ };
821
+
822
+ interface AuthLayoutProps {
823
+ children: React$1.ReactNode;
824
+ className?: string;
825
+ }
826
+ interface AuthLayoutImageProps {
827
+ src: string;
828
+ alt: string;
829
+ position?: 'left' | 'right';
830
+ className?: string;
831
+ priority?: boolean;
832
+ }
833
+ interface AuthLayoutContentProps {
834
+ children: React$1.ReactNode;
835
+ className?: string;
836
+ maxWidth?: 'sm' | 'md' | 'lg';
837
+ }
838
+ interface AuthLayoutHeaderProps {
839
+ children?: React$1.ReactNode;
840
+ className?: string;
841
+ logo?: React$1.ReactNode;
842
+ title?: string;
843
+ description?: string;
844
+ centered?: boolean;
845
+ }
846
+ interface AuthLayoutBodyProps {
847
+ children: React$1.ReactNode;
848
+ className?: string;
849
+ }
850
+ interface AuthLayoutFooterProps {
851
+ children: React$1.ReactNode;
852
+ className?: string;
853
+ }
854
+ interface AuthLayoutLinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement> {
855
+ children: React$1.ReactNode;
856
+ }
857
+ interface AuthLayoutDividerProps {
858
+ text?: string;
859
+ className?: string;
860
+ }
861
+
862
+ declare function AuthLayoutRoot({ children, className }: AuthLayoutProps): react_jsx_runtime.JSX.Element;
863
+ declare namespace AuthLayoutRoot {
864
+ var displayName: string;
865
+ }
866
+ declare function AuthLayoutImage({ src, alt, position: _position, className, priority, }: AuthLayoutImageProps): react_jsx_runtime.JSX.Element;
867
+ declare namespace AuthLayoutImage {
868
+ var displayName: string;
869
+ }
870
+ declare function AuthLayoutContent({ children, className, maxWidth, }: AuthLayoutContentProps): react_jsx_runtime.JSX.Element;
871
+ declare namespace AuthLayoutContent {
872
+ var displayName: string;
873
+ }
874
+ declare function AuthLayoutHeader({ children, className, logo, title, description, centered, }: AuthLayoutHeaderProps): react_jsx_runtime.JSX.Element;
875
+ declare namespace AuthLayoutHeader {
876
+ var displayName: string;
877
+ }
878
+ declare function AuthLayoutBody({ children, className }: AuthLayoutBodyProps): react_jsx_runtime.JSX.Element;
879
+ declare namespace AuthLayoutBody {
880
+ var displayName: string;
881
+ }
882
+ declare function AuthLayoutFooter({ children, className }: AuthLayoutFooterProps): react_jsx_runtime.JSX.Element;
883
+ declare namespace AuthLayoutFooter {
884
+ var displayName: string;
885
+ }
886
+ declare function AuthLayoutLink({ children, className, ...props }: AuthLayoutLinkProps): react_jsx_runtime.JSX.Element;
887
+ declare namespace AuthLayoutLink {
888
+ var displayName: string;
889
+ }
890
+ declare function AuthLayoutDivider({ text, className }: AuthLayoutDividerProps): react_jsx_runtime.JSX.Element;
891
+ declare namespace AuthLayoutDivider {
892
+ var displayName: string;
893
+ }
894
+ declare const AuthLayout: typeof AuthLayoutRoot & {
895
+ Image: typeof AuthLayoutImage;
896
+ Content: typeof AuthLayoutContent;
897
+ Header: typeof AuthLayoutHeader;
898
+ Body: typeof AuthLayoutBody;
899
+ Footer: typeof AuthLayoutFooter;
900
+ Link: typeof AuthLayoutLink;
901
+ Divider: typeof AuthLayoutDivider;
902
+ };
903
+
904
+ interface SelectionLayoutProps {
905
+ children: React$1.ReactNode;
906
+ className?: string;
907
+ }
908
+ interface SelectionLayoutSidebarProps {
909
+ children: React$1.ReactNode;
910
+ className?: string;
911
+ }
912
+ interface SelectionLayoutLogoProps {
913
+ children: React$1.ReactNode;
914
+ className?: string;
915
+ }
916
+ interface SelectionLayoutHeadlineProps {
917
+ title: string;
918
+ bullets?: string[];
919
+ className?: string;
920
+ }
921
+ interface SelectionLayoutStatsProps {
922
+ label: string;
923
+ value: string | number;
924
+ className?: string;
925
+ }
926
+ interface SelectionLayoutMainProps {
927
+ children: React$1.ReactNode;
928
+ className?: string;
929
+ }
930
+ interface SelectionLayoutHeaderProps {
931
+ title: string;
932
+ subtitle?: string;
933
+ action?: React$1.ReactNode;
934
+ className?: string;
935
+ }
936
+ interface SelectionLayoutSearchProps {
937
+ value: string;
938
+ onChange: (value: string) => void;
939
+ placeholder?: string;
940
+ className?: string;
941
+ }
942
+ interface SelectionLayoutTabsProps {
943
+ children: React$1.ReactNode;
944
+ value: string;
945
+ onValueChange: (value: string) => void;
946
+ className?: string;
947
+ }
948
+ interface SelectionLayoutTabProps {
949
+ value: string;
950
+ label: string;
951
+ icon?: LucideIcon;
952
+ badge?: string | number;
953
+ className?: string;
954
+ }
955
+ interface SelectionLayoutListProps {
956
+ children: React$1.ReactNode;
957
+ className?: string;
958
+ }
959
+ interface SelectionLayoutCardProps {
960
+ children?: React$1.ReactNode;
961
+ className?: string;
962
+ onClick?: () => void;
963
+ icon?: LucideIcon | React$1.ReactNode;
964
+ title: string;
965
+ description?: string;
966
+ badge?: React$1.ReactNode;
967
+ favorite?: boolean;
968
+ onFavoriteClick?: () => void;
969
+ }
970
+ interface SelectionLayoutEmptyProps {
971
+ icon?: LucideIcon;
972
+ title: string;
973
+ description?: string;
974
+ action?: React$1.ReactNode;
975
+ className?: string;
976
+ }
977
+
978
+ declare function SelectionLayoutRoot({ children, className }: SelectionLayoutProps): react_jsx_runtime.JSX.Element;
979
+ declare namespace SelectionLayoutRoot {
980
+ var displayName: string;
981
+ }
982
+ declare function SelectionLayoutSidebar({ children, className }: SelectionLayoutSidebarProps): react_jsx_runtime.JSX.Element;
983
+ declare namespace SelectionLayoutSidebar {
984
+ var displayName: string;
985
+ }
986
+ declare function SelectionLayoutLogo({ children, className }: SelectionLayoutLogoProps): react_jsx_runtime.JSX.Element;
987
+ declare namespace SelectionLayoutLogo {
988
+ var displayName: string;
989
+ }
990
+ declare function SelectionLayoutHeadline({ title, bullets, className, }: SelectionLayoutHeadlineProps): react_jsx_runtime.JSX.Element;
991
+ declare namespace SelectionLayoutHeadline {
992
+ var displayName: string;
993
+ }
994
+ declare function SelectionLayoutStats({ label, value, className }: SelectionLayoutStatsProps): react_jsx_runtime.JSX.Element;
995
+ declare namespace SelectionLayoutStats {
996
+ var displayName: string;
997
+ }
998
+ declare function SelectionLayoutMain({ children, className }: SelectionLayoutMainProps): react_jsx_runtime.JSX.Element;
999
+ declare namespace SelectionLayoutMain {
1000
+ var displayName: string;
1001
+ }
1002
+ declare function SelectionLayoutHeader({ title, subtitle, action, className, }: SelectionLayoutHeaderProps): react_jsx_runtime.JSX.Element;
1003
+ declare namespace SelectionLayoutHeader {
1004
+ var displayName: string;
1005
+ }
1006
+ declare function SelectionLayoutSearch({ value, onChange, placeholder, className, }: SelectionLayoutSearchProps): react_jsx_runtime.JSX.Element;
1007
+ declare namespace SelectionLayoutSearch {
1008
+ var displayName: string;
1009
+ }
1010
+ declare function SelectionLayoutTabs({ children, value, onValueChange, className, }: SelectionLayoutTabsProps): react_jsx_runtime.JSX.Element;
1011
+ declare namespace SelectionLayoutTabs {
1012
+ var displayName: string;
1013
+ }
1014
+ declare function SelectionLayoutTab({ value, label, icon: Icon, badge, className, }: SelectionLayoutTabProps): react_jsx_runtime.JSX.Element;
1015
+ declare namespace SelectionLayoutTab {
1016
+ var displayName: string;
1017
+ }
1018
+ declare function SelectionLayoutList({ children, className }: SelectionLayoutListProps): react_jsx_runtime.JSX.Element;
1019
+ declare namespace SelectionLayoutList {
1020
+ var displayName: string;
1021
+ }
1022
+ declare function SelectionLayoutCard({ children, className, onClick, icon, title, description, badge, favorite, onFavoriteClick, }: SelectionLayoutCardProps): react_jsx_runtime.JSX.Element;
1023
+ declare namespace SelectionLayoutCard {
1024
+ var displayName: string;
1025
+ }
1026
+ declare function SelectionLayoutEmpty({ icon: Icon, title, description, action, className, }: SelectionLayoutEmptyProps): react_jsx_runtime.JSX.Element;
1027
+ declare namespace SelectionLayoutEmpty {
1028
+ var displayName: string;
1029
+ }
1030
+ declare const SelectionLayout: typeof SelectionLayoutRoot & {
1031
+ Sidebar: typeof SelectionLayoutSidebar;
1032
+ Logo: typeof SelectionLayoutLogo;
1033
+ Headline: typeof SelectionLayoutHeadline;
1034
+ Stats: typeof SelectionLayoutStats;
1035
+ Main: typeof SelectionLayoutMain;
1036
+ Header: typeof SelectionLayoutHeader;
1037
+ Search: typeof SelectionLayoutSearch;
1038
+ Tabs: typeof SelectionLayoutTabs;
1039
+ Tab: typeof SelectionLayoutTab;
1040
+ List: typeof SelectionLayoutList;
1041
+ Card: typeof SelectionLayoutCard;
1042
+ Empty: typeof SelectionLayoutEmpty;
1043
+ };
1044
+
1045
+ interface DashboardLayoutContextValue {
1046
+ sidebarExpanded: boolean;
1047
+ setSidebarExpanded: (expanded: boolean) => void;
1048
+ sidebarPinned: boolean;
1049
+ setSidebarPinned: (pinned: boolean) => void;
1050
+ isMobile: boolean;
1051
+ mobileMenuOpen: boolean;
1052
+ setMobileMenuOpen: (open: boolean) => void;
1053
+ }
1054
+ interface DashboardLayoutProps {
1055
+ children: React.ReactNode;
1056
+ className?: string;
1057
+ defaultExpanded?: boolean;
1058
+ defaultPinned?: boolean;
1059
+ }
1060
+ interface DashboardLayoutSidebarProps {
1061
+ children: React.ReactNode;
1062
+ className?: string;
1063
+ collapsedWidth?: number;
1064
+ expandedWidth?: number;
1065
+ }
1066
+ interface DashboardLayoutSidebarHeaderProps {
1067
+ children?: React.ReactNode;
1068
+ className?: string;
1069
+ logo?: React.ReactNode;
1070
+ collapsedLogo?: React.ReactNode;
1071
+ title?: string;
1072
+ }
1073
+ interface DashboardLayoutSidebarNavProps {
1074
+ children: React.ReactNode;
1075
+ className?: string;
1076
+ }
1077
+ interface DashboardLayoutSidebarNavItemProps {
1078
+ icon?: LucideIcon | React.ReactNode;
1079
+ label: string;
1080
+ href?: string;
1081
+ onClick?: () => void;
1082
+ isActive?: boolean;
1083
+ badge?: string | number;
1084
+ badgeVariant?: 'default' | 'primary' | 'destructive';
1085
+ className?: string;
1086
+ disabled?: boolean;
1087
+ }
1088
+ interface DashboardLayoutSidebarNavGroupProps {
1089
+ icon?: LucideIcon | React.ReactNode;
1090
+ label: string;
1091
+ children: React.ReactNode;
1092
+ defaultOpen?: boolean;
1093
+ isActive?: boolean;
1094
+ badge?: string | number;
1095
+ badgeVariant?: 'default' | 'primary' | 'destructive';
1096
+ className?: string;
1097
+ }
1098
+ interface DashboardLayoutSidebarSectionProps {
1099
+ title?: string;
1100
+ children: React.ReactNode;
1101
+ className?: string;
1102
+ }
1103
+ interface DashboardLayoutSidebarFooterProps {
1104
+ children: React.ReactNode;
1105
+ className?: string;
1106
+ }
1107
+ interface DashboardLayoutHeaderProps {
1108
+ children?: React.ReactNode;
1109
+ className?: string;
1110
+ }
1111
+ interface DashboardLayoutHeaderTitleProps {
1112
+ children?: React.ReactNode;
1113
+ className?: string;
1114
+ title?: string;
1115
+ subtitle?: string;
1116
+ }
1117
+ interface DashboardLayoutHeaderActionsProps {
1118
+ children: React.ReactNode;
1119
+ className?: string;
1120
+ }
1121
+ interface DashboardLayoutHeaderUserProps {
1122
+ name: string;
1123
+ email?: string;
1124
+ avatar?: string;
1125
+ className?: string;
1126
+ children?: React.ReactNode;
1127
+ onLogout?: () => void;
1128
+ }
1129
+ interface DashboardLayoutContentProps {
1130
+ children: React.ReactNode;
1131
+ className?: string;
1132
+ }
1133
+ interface DashboardLayoutBreadcrumbsProps {
1134
+ items: Array<{
1135
+ label: string;
1136
+ href?: string;
1137
+ icon?: LucideIcon;
1138
+ }>;
1139
+ className?: string;
1140
+ separator?: React.ReactNode;
1141
+ }
1142
+ interface DashboardLayoutMobileNavProps {
1143
+ children: React.ReactNode;
1144
+ className?: string;
1145
+ }
1146
+ interface DashboardLayoutMobileNavItemProps {
1147
+ icon: LucideIcon;
1148
+ label: string;
1149
+ href?: string;
1150
+ onClick?: () => void;
1151
+ isActive?: boolean;
1152
+ badge?: string | number;
1153
+ }
1154
+
1155
+ declare function useDashboardLayout(): DashboardLayoutContextValue;
1156
+ declare function DashboardLayoutRoot({ children, className, defaultExpanded, defaultPinned, }: DashboardLayoutProps): react_jsx_runtime.JSX.Element;
1157
+ declare namespace DashboardLayoutRoot {
1158
+ var displayName: string;
1159
+ }
1160
+ declare function DashboardLayoutSidebar({ children, className, collapsedWidth, expandedWidth, }: DashboardLayoutSidebarProps): react_jsx_runtime.JSX.Element;
1161
+ declare namespace DashboardLayoutSidebar {
1162
+ var displayName: string;
1163
+ }
1164
+ declare function DashboardLayoutSidebarHeader({ children, className, logo, collapsedLogo, title, }: DashboardLayoutSidebarHeaderProps): react_jsx_runtime.JSX.Element;
1165
+ declare namespace DashboardLayoutSidebarHeader {
1166
+ var displayName: string;
1167
+ }
1168
+ declare function DashboardLayoutSidebarNav({ children, className }: DashboardLayoutSidebarNavProps): react_jsx_runtime.JSX.Element;
1169
+ declare namespace DashboardLayoutSidebarNav {
1170
+ var displayName: string;
1171
+ }
1172
+ declare function DashboardLayoutSidebarNavItem({ icon, label, href, onClick, isActive, badge, badgeVariant, className, disabled, }: DashboardLayoutSidebarNavItemProps): react_jsx_runtime.JSX.Element;
1173
+ declare namespace DashboardLayoutSidebarNavItem {
1174
+ var displayName: string;
1175
+ }
1176
+ declare function DashboardLayoutSidebarNavGroup({ icon, label, children, defaultOpen, isActive, badge, badgeVariant, className, }: DashboardLayoutSidebarNavGroupProps): react_jsx_runtime.JSX.Element;
1177
+ declare namespace DashboardLayoutSidebarNavGroup {
1178
+ var displayName: string;
1179
+ }
1180
+ declare function DashboardLayoutSidebarSection({ title, children, className, }: DashboardLayoutSidebarSectionProps): react_jsx_runtime.JSX.Element;
1181
+ declare namespace DashboardLayoutSidebarSection {
1182
+ var displayName: string;
1183
+ }
1184
+ declare function DashboardLayoutSidebarFooter({ children, className }: DashboardLayoutSidebarFooterProps): react_jsx_runtime.JSX.Element;
1185
+ declare namespace DashboardLayoutSidebarFooter {
1186
+ var displayName: string;
1187
+ }
1188
+ declare function DashboardLayoutHeader({ children, className }: DashboardLayoutHeaderProps): react_jsx_runtime.JSX.Element;
1189
+ declare namespace DashboardLayoutHeader {
1190
+ var displayName: string;
1191
+ }
1192
+ declare function DashboardLayoutHeaderTitle({ children, className, title, subtitle, }: DashboardLayoutHeaderTitleProps): react_jsx_runtime.JSX.Element;
1193
+ declare namespace DashboardLayoutHeaderTitle {
1194
+ var displayName: string;
1195
+ }
1196
+ declare function DashboardLayoutHeaderActions({ children, className }: DashboardLayoutHeaderActionsProps): react_jsx_runtime.JSX.Element;
1197
+ declare namespace DashboardLayoutHeaderActions {
1198
+ var displayName: string;
1199
+ }
1200
+ declare function DashboardLayoutHeaderUser({ name, email, avatar, className, children, onLogout, }: DashboardLayoutHeaderUserProps): react_jsx_runtime.JSX.Element;
1201
+ declare namespace DashboardLayoutHeaderUser {
1202
+ var displayName: string;
1203
+ }
1204
+ declare function DashboardLayoutContent({ children, className }: DashboardLayoutContentProps): react_jsx_runtime.JSX.Element;
1205
+ declare namespace DashboardLayoutContent {
1206
+ var displayName: string;
1207
+ }
1208
+ declare function DashboardLayoutBreadcrumbs({ items, className, separator, }: DashboardLayoutBreadcrumbsProps): react_jsx_runtime.JSX.Element;
1209
+ declare namespace DashboardLayoutBreadcrumbs {
1210
+ var displayName: string;
1211
+ }
1212
+ declare function DashboardLayoutMobileNav({ children, className }: DashboardLayoutMobileNavProps): react_jsx_runtime.JSX.Element;
1213
+ declare namespace DashboardLayoutMobileNav {
1214
+ var displayName: string;
1215
+ }
1216
+ declare function DashboardLayoutMobileNavItem({ icon: Icon, label, href, onClick, isActive, badge, }: DashboardLayoutMobileNavItemProps): react_jsx_runtime.JSX.Element;
1217
+ declare namespace DashboardLayoutMobileNavItem {
1218
+ var displayName: string;
1219
+ }
1220
+ declare const DashboardLayout: typeof DashboardLayoutRoot & {
1221
+ Sidebar: typeof DashboardLayoutSidebar;
1222
+ SidebarHeader: typeof DashboardLayoutSidebarHeader;
1223
+ SidebarNav: typeof DashboardLayoutSidebarNav;
1224
+ SidebarNavItem: typeof DashboardLayoutSidebarNavItem;
1225
+ SidebarNavGroup: typeof DashboardLayoutSidebarNavGroup;
1226
+ SidebarSection: typeof DashboardLayoutSidebarSection;
1227
+ SidebarFooter: typeof DashboardLayoutSidebarFooter;
1228
+ Header: typeof DashboardLayoutHeader;
1229
+ HeaderTitle: typeof DashboardLayoutHeaderTitle;
1230
+ HeaderActions: typeof DashboardLayoutHeaderActions;
1231
+ HeaderUser: typeof DashboardLayoutHeaderUser;
1232
+ Content: typeof DashboardLayoutContent;
1233
+ Breadcrumbs: typeof DashboardLayoutBreadcrumbs;
1234
+ MobileNav: typeof DashboardLayoutMobileNav;
1235
+ MobileNavItem: typeof DashboardLayoutMobileNavItem;
1236
+ };
1237
+
1238
+ type Theme = 'dark' | 'light' | 'system';
1239
+ interface ThemeProviderProps {
1240
+ children: React$1.ReactNode;
1241
+ defaultTheme?: Theme;
1242
+ storageKey?: string;
1243
+ }
1244
+ interface ThemeProviderState {
1245
+ theme: Theme;
1246
+ setTheme: (theme: Theme) => void;
1247
+ }
1248
+ declare function ThemeProvider({ children, defaultTheme, storageKey, ...props }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
1249
+ declare const useTheme: () => ThemeProviderState;
1250
+
72
1251
  /**
73
1252
  * Merge Tailwind CSS classes
74
1253
  * Combines clsx (conditional classes) with tailwind-merge (deduplicates classes)
@@ -78,4 +1257,4 @@ declare function GlobalLoaderController(): null;
78
1257
  */
79
1258
  declare function cn(...inputs: ClassValue[]): string;
80
1259
 
81
- export { Badge, type BadgeProps, Button, type ButtonProps, GlobalLoaderController, Input, type InputProps, Loader, type LoaderProps, LoaderProvider, cn, loader, useLoader };
1260
+ export { AuthLayout, type AuthLayoutBodyProps, type AuthLayoutContentProps, type AuthLayoutDividerProps, type AuthLayoutFooterProps, type AuthLayoutHeaderProps, type AuthLayoutImageProps, type AuthLayoutLinkProps, type AuthLayoutProps, Badge, type BadgeProps, type BaseFieldProps, Button, type ButtonProps, Checkbox, type CheckboxProps, DENSITY_CONFIG, DashboardLayout, type DashboardLayoutBreadcrumbsProps, type DashboardLayoutContentProps, type DashboardLayoutContextValue, type DashboardLayoutHeaderActionsProps, type DashboardLayoutHeaderProps, type DashboardLayoutHeaderTitleProps, type DashboardLayoutHeaderUserProps, type DashboardLayoutMobileNavItemProps, type DashboardLayoutMobileNavProps, type DashboardLayoutProps, type DashboardLayoutSidebarFooterProps, type DashboardLayoutSidebarHeaderProps, type DashboardLayoutSidebarNavGroupProps, type DashboardLayoutSidebarNavItemProps, type DashboardLayoutSidebarNavProps, type DashboardLayoutSidebarProps, type DashboardLayoutSidebarSectionProps, DataTable, type DataTableBulkActionsProps, type DataTableColumnHeaderProps, type DataTableColumnVisibilityProps, type DataTableContentProps, type DataTableContextValue, type DataTableDensity, type DataTableDensityToggleProps, type DataTableEmptyStateProps, type DataTableExportFormat, type DataTableExportProps, type DataTableFilterOption, type DataTableFilterProps, type DataTableFiltersProps, type DataTableLoadingProps, type DataTableMeta, type DataTablePaginationMode, type DataTablePaginationProps, type DataTableProps, type DataTableRowActionsProps, type DataTableSearchProps, type DataTableState, type DataTableTab, type DataTableTabsProps, type DataTableToolbarProps, Dialog, DialogBody, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogWrapper, type DialogWrapperProps, EmptyState, type EmptyStateProps, Form, FormCheckbox, type FormCheckboxProps, type FormContextValue, FormDescription, type FormDescriptionProps, FormError, type FormErrorProps, type FormFieldContextValue, FormFieldProvider, FormFieldWrapper, type FormFieldWrapperProps, FormInput, type FormInputProps, FormLabel, type FormLabelProps, FormProvider, FormRadioGroup, type FormRadioGroupProps, type FormRootProps, FormSelect, type FormSelectProps, FormSwitch, type FormSwitchProps, FormTextarea, type FormTextareaProps, GlobalLoaderController, Input, type InputProps, Loader, type LoaderProps, LoaderProvider, type MaskType, type PaginatedResponse, type PaginationMeta, type PaginationParams, type RadioOption, RippleBackground, type RippleBackgroundProps, RippleEffect, type RippleEffectProps, RippleWrapper, type RippleWrapperProps, Select, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectOption, type SelectProps, SelectSeparator, SelectionLayout, type SelectionLayoutCardProps, type SelectionLayoutEmptyProps, type SelectionLayoutHeaderProps, type SelectionLayoutHeadlineProps, type SelectionLayoutListProps, type SelectionLayoutLogoProps, type SelectionLayoutMainProps, type SelectionLayoutProps, type SelectionLayoutSearchProps, type SelectionLayoutSidebarProps, type SelectionLayoutStatsProps, type SelectionLayoutTabProps, type SelectionLayoutTabsProps, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, ThemeProvider, Toaster, type ToasterProps, type UseDataTableConfig, cn, loader, toast, useDashboardLayout, useDataTable, useDataTableColumnVisibility, useDataTableDensity, useDataTableEmpty, useDataTableInstance, useDataTableLoading, useDataTableMeta, useDataTablePagination, useDataTableSelection, useDataTableSorting, useDataTableState, useDebounce, useDebouncedCallback, useFormContext, useFormFieldContext, useLoader, useTheme };