@iclips/ui 1.0.3 → 1.0.9

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,1403 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React$1 from 'react';
3
- import React__default, { RefObject } from 'react';
4
- import * as AccordionPrimitive from '@radix-ui/react-accordion';
5
- import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
6
- import * as class_variance_authority_types from 'class-variance-authority/types';
7
- import { VariantProps } from 'class-variance-authority';
8
- import { LucideIcon } from 'lucide-react';
9
- import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
10
- import * as AvatarPrimitive from '@radix-ui/react-avatar';
11
- import { DayPicker, DateRange } from 'react-day-picker';
12
- import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
13
- import * as RechartsPrimitive from 'recharts';
14
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
15
- import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
16
- import { Command as Command$1 } from 'cmdk';
17
- import * as DialogPrimitive from '@radix-ui/react-dialog';
18
- import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
19
- import { Drawer as Drawer$1 } from 'vaul';
20
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
21
- import * as react_hook_form from 'react-hook-form';
22
- import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
23
- import * as LabelPrimitive from '@radix-ui/react-label';
24
- import { Slot } from '@radix-ui/react-slot';
25
- import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
26
- import { OTPInput } from 'input-otp';
27
- import * as MenubarPrimitive from '@radix-ui/react-menubar';
28
- import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
29
- import * as PopoverPrimitive from '@radix-ui/react-popover';
30
- import * as ProgressPrimitive from '@radix-ui/react-progress';
31
- import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
32
- import * as ResizablePrimitive from 'react-resizable-panels';
33
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
34
- import * as SelectPrimitive from '@radix-ui/react-select';
35
- import * as SeparatorPrimitive from '@radix-ui/react-separator';
36
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
37
- import * as SliderPrimitive from '@radix-ui/react-slider';
38
- import { ToasterProps } from 'sonner';
39
- export { toast } from 'sonner';
40
- import * as SwitchPrimitive from '@radix-ui/react-switch';
41
- import * as TabsPrimitive from '@radix-ui/react-tabs';
42
- import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
43
- import * as TogglePrimitive from '@radix-ui/react-toggle';
44
- import { ClassValue } from 'clsx';
45
-
46
- declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
47
- declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
48
- declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
49
- declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
50
-
51
- declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
52
- declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
53
- declare function AlertDialogContent({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
54
- declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
55
- declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
56
- declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
57
- declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
58
- declare function AlertDialogAction({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime.JSX.Element;
59
- declare function AlertDialogCancel({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime.JSX.Element;
60
-
61
- declare const alertVariants: (props?: ({
62
- variant?: "default" | "destructive" | null | undefined;
63
- } & class_variance_authority_types.ClassProp) | undefined) => string;
64
- declare function Alert({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
65
- declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
66
- declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
67
-
68
- interface PrimaryNavItem {
69
- id: string;
70
- label: string;
71
- icon: LucideIcon;
72
- }
73
- interface SecondaryNavItem {
74
- label: string;
75
- icon: LucideIcon;
76
- badge?: string | number;
77
- chevron?: boolean;
78
- highlighted?: boolean;
79
- }
80
- interface AppLayoutProps {
81
- children: React$1.ReactNode;
82
- title?: string;
83
- theme?: "light" | "dark";
84
- onThemeToggle?: () => void;
85
- primaryNavItems?: PrimaryNavItem[];
86
- secondaryNavItems?: SecondaryNavItem[];
87
- secondaryNavTitle?: string;
88
- activePrimaryItem?: string;
89
- onPrimaryItemClick?: (id: string) => void;
90
- logoComponent?: React$1.ReactNode;
91
- hideSecondaryNav?: boolean;
92
- defaultPrimaryNavPinned?: boolean;
93
- defaultSecondaryNavOpen?: boolean;
94
- }
95
- declare function AppLayout({ children, title, theme, onThemeToggle, primaryNavItems, secondaryNavItems, secondaryNavTitle, activePrimaryItem, onPrimaryItemClick, logoComponent, hideSecondaryNav, defaultPrimaryNavPinned, defaultSecondaryNavOpen }: AppLayoutProps): react_jsx_runtime.JSX.Element;
96
-
97
- declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime.JSX.Element;
98
-
99
- declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime.JSX.Element;
100
- declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element;
101
- declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
102
-
103
- declare const badgeVariants: (props?: ({
104
- variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
105
- } & class_variance_authority_types.ClassProp) | undefined) => string;
106
- declare const Badge: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
107
- variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
108
- } & class_variance_authority_types.ClassProp) | undefined) => string> & {
109
- asChild?: boolean;
110
- } & React$1.RefAttributes<HTMLSpanElement>>;
111
-
112
- declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
113
- declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
114
- declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
115
- declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<"a"> & {
116
- asChild?: boolean;
117
- }): react_jsx_runtime.JSX.Element;
118
- declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
119
- declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
120
- declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
121
-
122
- declare const buttonVariants: (props?: ({
123
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
124
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
125
- } & class_variance_authority_types.ClassProp) | undefined) => string;
126
- declare const Button: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
127
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
128
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
129
- } & class_variance_authority_types.ClassProp) | undefined) => string> & {
130
- asChild?: boolean;
131
- }, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
132
-
133
- interface DadosContrato {
134
- numeroContrato: string;
135
- dataEmissao: string;
136
- dataInicio: string;
137
- dataTermino: string;
138
- cliente: {
139
- nome: string;
140
- cnpj?: string;
141
- endereco?: string;
142
- representante?: string;
143
- email?: string;
144
- telefone?: string;
145
- };
146
- agencia: {
147
- nome: string;
148
- cnpj?: string;
149
- endereco?: string;
150
- representante?: string;
151
- email?: string;
152
- telefone?: string;
153
- };
154
- valorFee: number;
155
- totalHoras: number;
156
- valorHora?: number;
157
- condicoesPagamento: string;
158
- formaPagamento?: string;
159
- servicos?: Array<{
160
- nome: string;
161
- descricao?: string;
162
- horasEstimadas?: number;
163
- }>;
164
- clausulas?: Array<{
165
- titulo: string;
166
- conteudo: string;
167
- }>;
168
- observacoes?: string;
169
- }
170
- interface ContractTemplateProps {
171
- data: DadosContrato;
172
- showPreview?: boolean;
173
- logo?: string;
174
- showServices?: boolean;
175
- }
176
- declare function ContractTemplate({ data, showPreview, logo, showServices, }: ContractTemplateProps): react_jsx_runtime.JSX.Element;
177
- /**
178
- * Dados de exemplo para o contrato
179
- * Use este objeto para testar o componente ContractTemplate
180
- */
181
- declare const dadosContratoExemplo: DadosContrato;
182
-
183
- interface ContractPrintProps {
184
- /** Dados do contrato */
185
- data: DadosContrato;
186
- /** URL ou caminho do logo da empresa */
187
- logo?: string;
188
- /** Mostrar barra de ações (imprimir/download) */
189
- showActions?: boolean;
190
- /** Mostrar informações resumidas do contrato */
191
- showSummary?: boolean;
192
- /** Mostrar seção de serviços */
193
- showServices?: boolean;
194
- /** Mostrar informações sobre o template */
195
- showInfo?: boolean;
196
- /** Classe CSS adicional */
197
- className?: string;
198
- /** Callbacks de impressão */
199
- onPrintStart?: () => void;
200
- onPrintSuccess?: () => void;
201
- onPrintError?: (error: Error) => void;
202
- /** Callbacks de download */
203
- onDownloadStart?: () => void;
204
- onDownloadSuccess?: () => void;
205
- onDownloadError?: (error: Error) => void;
206
- }
207
- /**
208
- * Componente wrapper completo para exibir e imprimir contratos
209
- *
210
- * Inclui:
211
- * - Preview do contrato
212
- * - Botões de ação (Imprimir/Download PDF)
213
- * - Informações resumidas
214
- * - Todas as funcionalidades prontas
215
- *
216
- * @example
217
- * ```tsx
218
- * import { ContractPrint, dadosContratoExemplo } from '@iclips/design-system';
219
- *
220
- * function MinhaPage() {
221
- * return (
222
- * <ContractPrint
223
- * data={dadosContratoExemplo}
224
- * logo="/logo.png"
225
- * showActions
226
- * showSummary
227
- * />
228
- * );
229
- * }
230
- * ```
231
- */
232
- declare function ContractPrint({ data, logo, showActions, showSummary, showServices, showInfo, className, onPrintStart, onPrintSuccess, onPrintError, onDownloadStart, onDownloadSuccess, onDownloadError, }: ContractPrintProps): react_jsx_runtime.JSX.Element;
233
- /**
234
- * Componente simplificado apenas com o preview do contrato
235
- * Útil quando você quer construir sua própria UI de ações
236
- *
237
- * @example
238
- * ```tsx
239
- * import { ContractPrintPreview, dadosContratoExemplo } from '@iclips/design-system';
240
- *
241
- * function MinhaPage() {
242
- * const printRef = useRef<HTMLDivElement>(null);
243
- *
244
- * return (
245
- * <div>
246
- * <MeusPropriosBotoes printRef={printRef} />
247
- * <ContractPrintPreview
248
- * ref={printRef}
249
- * data={dadosContratoExemplo}
250
- * />
251
- * </div>
252
- * );
253
- * }
254
- * ```
255
- */
256
- declare const ContractPrintPreview: React$1.ForwardRefExoticComponent<{
257
- data: DadosContrato;
258
- logo?: string;
259
- showServices?: boolean;
260
- className?: string;
261
- } & React$1.RefAttributes<HTMLDivElement>>;
262
-
263
- declare function Calendar({ className, classNames, showOutsideDays, ...props }: React$1.ComponentProps<typeof DayPicker>): react_jsx_runtime.JSX.Element;
264
-
265
- declare function Card({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
266
- declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
267
- declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
268
- declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
269
- declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
270
- declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
271
- declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
272
-
273
- type CarouselApi = UseEmblaCarouselType[1];
274
- type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
275
- type CarouselOptions = UseCarouselParameters[0];
276
- type CarouselPlugin = UseCarouselParameters[1];
277
- type CarouselProps = {
278
- opts?: CarouselOptions;
279
- plugins?: CarouselPlugin;
280
- orientation?: "horizontal" | "vertical";
281
- setApi?: (api: CarouselApi) => void;
282
- };
283
- declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
284
- declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
285
- declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
286
- declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
287
- declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
288
-
289
- declare const THEMES: {
290
- readonly light: "";
291
- readonly dark: ".dark";
292
- };
293
- type ChartConfig = {
294
- [k in string]: {
295
- label?: React$1.ReactNode;
296
- icon?: React$1.ComponentType;
297
- } & ({
298
- color?: string;
299
- theme?: never;
300
- } | {
301
- color?: never;
302
- theme: Record<keyof typeof THEMES, string>;
303
- });
304
- };
305
- declare function ChartContainer({ id, className, children, config, ...props }: React$1.ComponentProps<"div"> & {
306
- config: ChartConfig;
307
- children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
308
- }): react_jsx_runtime.JSX.Element;
309
- declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
310
- declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip> & React$1.ComponentProps<"div"> & {
311
- hideLabel?: boolean;
312
- hideIndicator?: boolean;
313
- indicator?: "line" | "dot" | "dashed";
314
- nameKey?: string;
315
- labelKey?: string;
316
- payload?: any[];
317
- label?: string;
318
- }): react_jsx_runtime.JSX.Element | null;
319
- declare const ChartLegend: typeof RechartsPrimitive.Legend;
320
- declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React$1.ComponentProps<"div"> & {
321
- hideIcon?: boolean;
322
- nameKey?: string;
323
- payload?: any[];
324
- verticalAlign?: "top" | "bottom";
325
- }): react_jsx_runtime.JSX.Element | null;
326
-
327
- declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element;
328
-
329
- interface ColorPickerProps {
330
- value?: string;
331
- onChange?: (color: string) => void;
332
- label?: string;
333
- className?: string;
334
- disabled?: boolean;
335
- }
336
- declare function ColorPicker({ value, onChange, label, className, disabled, }: ColorPickerProps): react_jsx_runtime.JSX.Element;
337
-
338
- declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime.JSX.Element;
339
- declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
340
- declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime.JSX.Element;
341
-
342
- interface DateTimePickerProps {
343
- date?: Date;
344
- onChange?: (date: Date | undefined) => void;
345
- label?: string;
346
- placeholder?: string;
347
- className?: string;
348
- disabled?: boolean;
349
- }
350
- declare function DateTimePicker({ date, onChange, label, placeholder, className, disabled, }: DateTimePickerProps): react_jsx_runtime.JSX.Element;
351
-
352
- interface DateRangePickerProps {
353
- dateRange?: DateRange;
354
- onChange?: (range: DateRange | undefined) => void;
355
- label?: string;
356
- placeholder?: string;
357
- className?: string;
358
- disabled?: boolean;
359
- withTime?: boolean;
360
- }
361
- declare function DateRangePicker({ dateRange, onChange, label, placeholder, className, disabled, withTime, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
362
-
363
- interface TimePickerProps {
364
- date?: Date;
365
- onChange?: (date: Date | undefined) => void;
366
- label?: string;
367
- className?: string;
368
- disabled?: boolean;
369
- }
370
- declare function TimePicker({ date, onChange, label, className, disabled, }: TimePickerProps): react_jsx_runtime.JSX.Element;
371
-
372
- interface KanbanCardTag {
373
- id: string;
374
- label: string;
375
- color?: string;
376
- }
377
- interface KanbanCardAssignee {
378
- id: string;
379
- name: string;
380
- avatar?: string;
381
- initials?: string;
382
- }
383
- interface KanbanCardProps {
384
- id: string;
385
- title: string;
386
- description?: string;
387
- coverImage?: string;
388
- thumbnailImage?: string;
389
- tags?: KanbanCardTag[];
390
- assignees?: KanbanCardAssignee[];
391
- priority?: "low" | "medium" | "high" | "urgent";
392
- dueDate?: Date;
393
- comments?: number;
394
- attachments?: number;
395
- checklist?: {
396
- completed: number;
397
- total: number;
398
- };
399
- progress?: number;
400
- status?: string;
401
- variant?: "default" | "compact" | "detailed";
402
- isDragging?: boolean;
403
- onClick?: () => void;
404
- onEdit?: () => void;
405
- onDelete?: () => void;
406
- onDuplicate?: () => void;
407
- className?: string;
408
- }
409
- declare const KanbanCard: React$1.ForwardRefExoticComponent<KanbanCardProps & React$1.RefAttributes<HTMLDivElement>>;
410
-
411
- declare function Dialog({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
412
- declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
413
- declare function DialogClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
414
- declare function DialogContent({ className, children, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
415
- declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
416
- declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
417
- declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
418
- declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
419
-
420
- declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
421
- declare function CommandDialog({ title, description, children, ...props }: React$1.ComponentProps<typeof Dialog> & {
422
- title?: string;
423
- description?: string;
424
- }): react_jsx_runtime.JSX.Element;
425
- declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
426
- declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
427
- declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
428
- declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
429
- declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
430
- declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
431
- declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
432
-
433
- declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
434
- declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
435
- declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
436
- declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
437
- declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
438
- declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
439
- declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
440
- inset?: boolean;
441
- }): react_jsx_runtime.JSX.Element;
442
- declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
443
- declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
444
- declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Item> & {
445
- inset?: boolean;
446
- variant?: "default" | "destructive";
447
- }): react_jsx_runtime.JSX.Element;
448
- declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
449
- declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
450
- declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Label> & {
451
- inset?: boolean;
452
- }): react_jsx_runtime.JSX.Element;
453
- declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
454
- declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
455
-
456
- declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
457
- declare const DrawerTrigger: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
458
- declare const DrawerClose: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
459
- declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
460
- declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
461
- declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
462
- declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
463
- declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
464
-
465
- declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
466
- declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
467
- declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
468
- declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
469
- declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
470
- declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
471
- inset?: boolean;
472
- variant?: "default" | "destructive";
473
- }): react_jsx_runtime.JSX.Element;
474
- declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
475
- declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
476
- declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
477
- declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
478
- inset?: boolean;
479
- }): react_jsx_runtime.JSX.Element;
480
- declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
481
- declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
482
- declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
483
- declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
484
- inset?: boolean;
485
- }): react_jsx_runtime.JSX.Element;
486
- declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
487
-
488
- declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
489
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
490
- declare const useFormField: () => {
491
- invalid: boolean;
492
- isDirty: boolean;
493
- isTouched: boolean;
494
- isValidating: boolean;
495
- error?: react_hook_form.FieldError;
496
- id: string;
497
- name: string;
498
- formItemId: string;
499
- formDescriptionId: string;
500
- formMessageId: string;
501
- };
502
- declare function FormItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
503
- declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
504
- declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot>): react_jsx_runtime.JSX.Element;
505
- declare function FormDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
506
- declare function FormMessage({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element | null;
507
-
508
- declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime.JSX.Element;
509
- declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
510
- declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime.JSX.Element;
511
-
512
- declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
513
- containerClassName?: string;
514
- }): react_jsx_runtime.JSX.Element;
515
- declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
516
- declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
517
- index: number;
518
- }): react_jsx_runtime.JSX.Element;
519
- declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
520
-
521
- declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
522
-
523
- declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
524
-
525
- declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Root>): react_jsx_runtime.JSX.Element;
526
- declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime.JSX.Element;
527
- declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime.JSX.Element;
528
- declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime.JSX.Element;
529
- declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
530
- declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
531
- declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Content>): react_jsx_runtime.JSX.Element;
532
- declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Item> & {
533
- inset?: boolean;
534
- variant?: "default" | "destructive";
535
- }): react_jsx_runtime.JSX.Element;
536
- declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
537
- declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
538
- declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Label> & {
539
- inset?: boolean;
540
- }): react_jsx_runtime.JSX.Element;
541
- declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Separator>): react_jsx_runtime.JSX.Element;
542
- declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
543
- declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime.JSX.Element;
544
- declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
545
- inset?: boolean;
546
- }): react_jsx_runtime.JSX.Element;
547
- declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
548
-
549
- declare function NavigationMenu({ className, children, viewport, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
550
- viewport?: boolean;
551
- }): react_jsx_runtime.JSX.Element;
552
- declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>): react_jsx_runtime.JSX.Element;
553
- declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>): react_jsx_runtime.JSX.Element;
554
- declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
555
- declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
556
- declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
557
- declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element;
558
-
559
- declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
560
- declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
561
- declare function PaginationItem({ ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
562
- type PaginationLinkProps = {
563
- isActive?: boolean;
564
- } & Pick<React$1.ComponentProps<typeof Button>, "size"> & React$1.ComponentProps<"a">;
565
- declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
566
- declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
567
- declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
568
- declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
569
-
570
- declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
571
- declare const PopoverTrigger: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
572
- declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
573
-
574
- declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof ProgressPrimitive.Root>): react_jsx_runtime.JSX.Element;
575
-
576
- declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
577
- declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
578
-
579
- declare function ResizablePanelGroup({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
580
- declare function ResizablePanel({ ...props }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
581
- declare function ResizableHandle({ withHandle, className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
582
- withHandle?: boolean;
583
- }): react_jsx_runtime.JSX.Element;
584
-
585
- declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element;
586
- declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
587
-
588
- declare function Select({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
589
- declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
590
- declare function SelectValue({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
591
- declare function SelectTrigger({ className, size, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & {
592
- size?: "sm" | "default";
593
- }): react_jsx_runtime.JSX.Element;
594
- declare function SelectContent({ className, children, position, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
595
- declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element;
596
- declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
597
- declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element;
598
-
599
- declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
600
-
601
- declare function Sheet({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
602
- declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
603
- declare function SheetClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
604
- declare function SheetContent({ className, children, side, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
605
- side?: "top" | "right" | "bottom" | "left";
606
- }): react_jsx_runtime.JSX.Element;
607
- declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
608
- declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
609
- declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
610
- declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
611
-
612
- declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
613
- declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
614
- declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
615
- declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
616
-
617
- type SidebarContextProps = {
618
- state: "expanded" | "collapsed";
619
- open: boolean;
620
- setOpen: (open: boolean) => void;
621
- openMobile: boolean;
622
- setOpenMobile: (open: boolean) => void;
623
- isMobile: boolean;
624
- toggleSidebar: () => void;
625
- };
626
- declare function useSidebar(): SidebarContextProps;
627
- declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React$1.ComponentProps<"div"> & {
628
- defaultOpen?: boolean;
629
- open?: boolean;
630
- onOpenChange?: (open: boolean) => void;
631
- }): react_jsx_runtime.JSX.Element;
632
- declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React$1.ComponentProps<"div"> & {
633
- side?: "left" | "right";
634
- variant?: "sidebar" | "floating" | "inset";
635
- collapsible?: "offcanvas" | "icon" | "none";
636
- }): react_jsx_runtime.JSX.Element;
637
- declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
638
- declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
639
- declare function SidebarInset({ className, ...props }: React$1.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
640
- declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
641
- declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
642
- declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
643
- declare function SidebarContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
644
- declare function SidebarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
645
- declare function SidebarGroupLabel({ className, asChild, ...props }: React$1.ComponentProps<"div"> & {
646
- asChild?: boolean;
647
- }): react_jsx_runtime.JSX.Element;
648
- declare function SidebarGroupAction({ className, asChild, ...props }: React$1.ComponentProps<"button"> & {
649
- asChild?: boolean;
650
- }): react_jsx_runtime.JSX.Element;
651
- declare function SidebarGroupContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
652
- declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
653
- declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
654
- declare const sidebarMenuButtonVariants: (props?: ({
655
- variant?: "default" | "outline" | null | undefined;
656
- size?: "default" | "sm" | "lg" | null | undefined;
657
- } & class_variance_authority_types.ClassProp) | undefined) => string;
658
- declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
659
- asChild?: boolean;
660
- isActive?: boolean;
661
- tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
662
- } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
663
- declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React$1.ComponentProps<"button"> & {
664
- asChild?: boolean;
665
- showOnHover?: boolean;
666
- }): react_jsx_runtime.JSX.Element;
667
- declare function SidebarMenuBadge({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
668
- declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React$1.ComponentProps<"div"> & {
669
- showIcon?: boolean;
670
- }): react_jsx_runtime.JSX.Element;
671
- declare function SidebarMenuSub({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
672
- declare function SidebarMenuSubItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
673
- declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React$1.ComponentProps<"a"> & {
674
- asChild?: boolean;
675
- size?: "sm" | "md";
676
- isActive?: boolean;
677
- }): react_jsx_runtime.JSX.Element;
678
-
679
- interface SkeletonProps extends React.ComponentProps<"div"> {
680
- /** Animation variant: pulse (default) or shimmer (premium) */
681
- variant?: "pulse" | "shimmer";
682
- }
683
- declare function Skeleton({ className, variant, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
684
-
685
- declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
686
-
687
- declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
688
-
689
- declare function Switch({ className, ...props }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime.JSX.Element;
690
-
691
- interface TableProps extends React$1.ComponentProps<"table"> {
692
- }
693
- interface TableHeaderProps extends React$1.ComponentProps<"thead"> {
694
- }
695
- interface TableBodyProps extends React$1.ComponentProps<"tbody"> {
696
- }
697
- interface TableFooterProps extends React$1.ComponentProps<"tfoot"> {
698
- }
699
- interface TableRowProps extends React$1.ComponentProps<"tr"> {
700
- }
701
- interface TableHeadProps extends React$1.ComponentProps<"th"> {
702
- }
703
- interface TableCellProps extends React$1.ComponentProps<"td"> {
704
- }
705
- interface TableCaptionProps extends React$1.ComponentProps<"caption"> {
706
- }
707
- declare const Table: React$1.ForwardRefExoticComponent<Omit<TableProps, "ref"> & React$1.RefAttributes<HTMLTableElement>>;
708
- declare const TableHeader: React$1.ForwardRefExoticComponent<Omit<TableHeaderProps, "ref"> & React$1.RefAttributes<HTMLTableSectionElement>>;
709
- declare const TableBody: React$1.ForwardRefExoticComponent<Omit<TableBodyProps, "ref"> & React$1.RefAttributes<HTMLTableSectionElement>>;
710
- declare const TableFooter: React$1.ForwardRefExoticComponent<Omit<TableFooterProps, "ref"> & React$1.RefAttributes<HTMLTableSectionElement>>;
711
- declare const TableRow: React$1.ForwardRefExoticComponent<Omit<TableRowProps, "ref"> & React$1.RefAttributes<HTMLTableRowElement>>;
712
- declare const TableHead: React$1.ForwardRefExoticComponent<Omit<TableHeadProps, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
713
- declare const TableCell: React$1.ForwardRefExoticComponent<Omit<TableCellProps, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
714
- declare const TableCaption: React$1.ForwardRefExoticComponent<Omit<TableCaptionProps, "ref"> & React$1.RefAttributes<HTMLTableCaptionElement>>;
715
-
716
- /**
717
- * Labels for internationalization
718
- */
719
- interface TablePaginationLabels {
720
- /** "Anterior" */
721
- previous?: string;
722
- /** "Próxima" */
723
- next?: string;
724
- /** "Primeira" */
725
- first?: string;
726
- /** "Última" */
727
- last?: string;
728
- /** "Mostrando" */
729
- showing?: string;
730
- /** "de" */
731
- of?: string;
732
- /** "resultados" */
733
- results?: string;
734
- /** "Itens por página" */
735
- itemsPerPage?: string;
736
- /** "Página" */
737
- page?: string;
738
- }
739
- /**
740
- * Props for the TablePagination component
741
- *
742
- * @example
743
- * ```tsx
744
- * // With useTablePagination hook
745
- * const pagination = useTablePagination(data, { pageSize: 10 });
746
- *
747
- * <TablePagination
748
- * currentPage={pagination.currentPage}
749
- * totalPages={pagination.totalPages}
750
- * pageSize={pagination.pageSize}
751
- * totalItems={pagination.totalItems}
752
- * onPageChange={pagination.goToPage}
753
- * onPageSizeChange={pagination.setPageSize}
754
- * />
755
- * ```
756
- */
757
- interface TablePaginationProps {
758
- /** Current page number (1-indexed) */
759
- currentPage: number;
760
- /** Total number of pages */
761
- totalPages: number;
762
- /** Current page size */
763
- pageSize: number;
764
- /** Total number of items */
765
- totalItems: number;
766
- /** Callback when page changes */
767
- onPageChange: (page: number) => void;
768
- /** Callback when page size changes */
769
- onPageSizeChange?: (size: number) => void;
770
- /** Available page size options */
771
- pageSizeOptions?: number[];
772
- /** Maximum number of visible page buttons */
773
- maxVisiblePages?: number;
774
- /** Show "Showing X of Y" info */
775
- showInfo?: boolean;
776
- /** Show page number buttons */
777
- showPageNumbers?: boolean;
778
- /** Show page size selector */
779
- showPageSizeSelector?: boolean;
780
- /** Show first/last page buttons */
781
- showFirstLastButtons?: boolean;
782
- /** Custom labels for i18n */
783
- labels?: TablePaginationLabels;
784
- /** Additional className */
785
- className?: string;
786
- }
787
- /**
788
- * Generate array of page numbers with ellipsis
789
- */
790
- declare function getPageNumbers(currentPage: number, totalPages: number, maxVisible?: number): (number | "ellipsis")[];
791
- /**
792
- * TablePagination Component
793
- *
794
- * A complete, ready-to-use pagination component for tables and data grids.
795
- * Integrates seamlessly with the `useTablePagination` hook.
796
- *
797
- * @example
798
- * ```tsx
799
- * import { useTablePagination, TablePagination, Table, TableBody, ... } from "@iclips/ui";
800
- *
801
- * function MyTable({ data }) {
802
- * const pagination = useTablePagination(data, { pageSize: 10 });
803
- *
804
- * return (
805
- * <>
806
- * <Table>
807
- * <TableBody>
808
- * {pagination.paginatedData.map(item => (
809
- * <TableRow key={item.id}>...</TableRow>
810
- * ))}
811
- * </TableBody>
812
- * </Table>
813
- *
814
- * <TablePagination
815
- * currentPage={pagination.currentPage}
816
- * totalPages={pagination.totalPages}
817
- * pageSize={pagination.pageSize}
818
- * totalItems={pagination.totalItems}
819
- * onPageChange={pagination.goToPage}
820
- * onPageSizeChange={pagination.setPageSize}
821
- * />
822
- * </>
823
- * );
824
- * }
825
- * ```
826
- *
827
- * @example
828
- * ```tsx
829
- * // Minimal usage (without page size selector)
830
- * <TablePagination
831
- * currentPage={1}
832
- * totalPages={10}
833
- * pageSize={20}
834
- * totalItems={200}
835
- * onPageChange={(page) => setCurrentPage(page)}
836
- * showPageSizeSelector={false}
837
- * />
838
- * ```
839
- */
840
- declare function TablePagination({ currentPage, totalPages, pageSize, totalItems, onPageChange, onPageSizeChange, pageSizeOptions, maxVisiblePages, showInfo, showPageNumbers, showPageSizeSelector, showFirstLastButtons, labels: customLabels, className, }: TablePaginationProps): react_jsx_runtime.JSX.Element | null;
841
- declare namespace TablePagination {
842
- var displayName: string;
843
- }
844
-
845
- /**
846
- * Utility types for DataTable implementations
847
- *
848
- * These types provide standard interfaces for common DataTable patterns
849
- * like sorting, pagination, column definitions, and selection.
850
- */
851
- /**
852
- * Direction of sorting
853
- */
854
- type SortDirection = "asc" | "desc" | null;
855
- /**
856
- * Sort configuration for a table
857
- *
858
- * @example
859
- * ```tsx
860
- * const [sortConfig, setSortConfig] = useState<SortConfig<User>>({
861
- * column: "name",
862
- * direction: "asc"
863
- * });
864
- * ```
865
- */
866
- interface SortConfig<T extends Record<string, any>> {
867
- column: keyof T | null;
868
- direction: SortDirection;
869
- }
870
- /**
871
- * Column definition for a DataTable
872
- *
873
- * @example
874
- * ```tsx
875
- * const columns: ColumnDef<User>[] = [
876
- * {
877
- * key: "name",
878
- * header: "Name",
879
- * sortable: true,
880
- * width: "200px"
881
- * },
882
- * {
883
- * key: "email",
884
- * header: "Email",
885
- * render: (value, row) => <a href={`mailto:${value}`}>{value}</a>
886
- * }
887
- * ];
888
- * ```
889
- */
890
- interface ColumnDef<T extends Record<string, any>> {
891
- /** Key of the data property to display */
892
- key: keyof T;
893
- /** Header label or React node */
894
- header: string | React.ReactNode;
895
- /** Whether this column is sortable */
896
- sortable?: boolean;
897
- /** Column width (CSS value) */
898
- width?: string | number;
899
- /** Text alignment */
900
- align?: "left" | "center" | "right";
901
- /** Custom render function for the cell content */
902
- render?: (value: T[keyof T], row: T, index: number) => React.ReactNode;
903
- /** Additional className for the cell */
904
- className?: string;
905
- /** Additional className for the header */
906
- headerClassName?: string;
907
- }
908
- /**
909
- * Pagination configuration
910
- *
911
- * @example
912
- * ```tsx
913
- * const [pagination, setPagination] = useState<PaginationConfig>({
914
- * currentPage: 1,
915
- * pageSize: 10,
916
- * totalItems: 100
917
- * });
918
- * ```
919
- */
920
- interface PaginationConfig {
921
- /** Current page number (1-indexed) */
922
- currentPage: number;
923
- /** Number of items per page */
924
- pageSize: number;
925
- /** Total number of items */
926
- totalItems: number;
927
- /** Callback when page changes */
928
- onPageChange?: (page: number) => void;
929
- /** Callback when page size changes */
930
- onPageSizeChange?: (size: number) => void;
931
- }
932
- /**
933
- * Helper to calculate pagination metadata
934
- */
935
- interface PaginationMetadata {
936
- totalPages: number;
937
- startIndex: number;
938
- endIndex: number;
939
- hasNextPage: boolean;
940
- hasPreviousPage: boolean;
941
- }
942
- /**
943
- * Selection state for table rows
944
- *
945
- * @example
946
- * ```tsx
947
- * const [selection, setSelection] = useState<SelectionState>({
948
- * selectedIds: new Set(["1", "2"]),
949
- * isAllSelected: false
950
- * });
951
- * ```
952
- */
953
- interface SelectionState {
954
- /** Set of selected row IDs */
955
- selectedIds: Set<string | number>;
956
- /** Whether all rows are selected */
957
- isAllSelected: boolean;
958
- }
959
- /**
960
- * Complete table state with all common features
961
- *
962
- * @example
963
- * ```tsx
964
- * const [tableState, setTableState] = useState<TableState<User>>({
965
- * data: users,
966
- * sort: { column: "name", direction: "asc" },
967
- * pagination: { currentPage: 1, pageSize: 10, totalItems: 100 },
968
- * selection: { selectedIds: new Set(), isAllSelected: false }
969
- * });
970
- * ```
971
- */
972
- interface TableState<T extends Record<string, any>> {
973
- /** Table data */
974
- data: T[];
975
- /** Sort configuration */
976
- sort?: SortConfig<T>;
977
- /** Pagination configuration */
978
- pagination?: PaginationConfig;
979
- /** Selection state */
980
- selection?: SelectionState;
981
- /** Loading state */
982
- isLoading?: boolean;
983
- /** Error state */
984
- error?: string | null;
985
- }
986
- /**
987
- * Filter operator types
988
- */
989
- type FilterOperator = "equals" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "between" | "in";
990
- /**
991
- * Filter configuration for a column
992
- *
993
- * @example
994
- * ```tsx
995
- * const filters: FilterConfig<User>[] = [
996
- * {
997
- * column: "status",
998
- * operator: "in",
999
- * value: ["active", "pending"]
1000
- * },
1001
- * {
1002
- * column: "age",
1003
- * operator: "greaterThan",
1004
- * value: 18
1005
- * }
1006
- * ];
1007
- * ```
1008
- */
1009
- interface FilterConfig<T extends Record<string, any>> {
1010
- column: keyof T;
1011
- operator: FilterOperator;
1012
- value: any;
1013
- }
1014
- /**
1015
- * Configuration for draggable rows
1016
- */
1017
- interface DragDropConfig {
1018
- /** Whether drag and drop is enabled */
1019
- enabled: boolean;
1020
- /** Callback when a row is dropped */
1021
- onDrop?: (dragIndex: number, dropIndex: number) => void;
1022
- /** Custom drag handle component */
1023
- dragHandle?: React.ReactNode;
1024
- }
1025
- /**
1026
- * Configuration for expandable rows
1027
- *
1028
- * @example
1029
- * ```tsx
1030
- * const expandConfig: RowExpansionConfig<User> = {
1031
- * enabled: true,
1032
- * expandedRows: new Set(["1", "3"]),
1033
- * renderExpandedContent: (row) => (
1034
- * <div>Details for {row.name}</div>
1035
- * )
1036
- * };
1037
- * ```
1038
- */
1039
- interface RowExpansionConfig<T extends Record<string, any>> {
1040
- /** Whether row expansion is enabled */
1041
- enabled: boolean;
1042
- /** Set of expanded row IDs */
1043
- expandedRows?: Set<string | number>;
1044
- /** Callback when row expansion changes */
1045
- onExpansionChange?: (rowId: string | number, isExpanded: boolean) => void;
1046
- /** Custom content to render when row is expanded */
1047
- renderExpandedContent?: (row: T, index: number) => React.ReactNode;
1048
- }
1049
- /**
1050
- * Sort function type
1051
- */
1052
- type SortFunction<T extends Record<string, any>> = (a: T, b: T, config: SortConfig<T>) => number;
1053
- /**
1054
- * Filter function type
1055
- */
1056
- type FilterFunction<T extends Record<string, any>> = (row: T, filters: FilterConfig<T>[]) => boolean;
1057
- /**
1058
- * Helper function to calculate pagination metadata
1059
- */
1060
- declare function calculatePaginationMetadata(config: PaginationConfig): PaginationMetadata;
1061
-
1062
- declare function Tabs({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
1063
- declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime.JSX.Element;
1064
- declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1065
- declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
1066
-
1067
- interface UnderlineTabsProps {
1068
- defaultValue?: string;
1069
- value?: string;
1070
- onValueChange?: (value: string) => void;
1071
- children: React$1.ReactNode;
1072
- className?: string;
1073
- }
1074
- declare function UnderlineTabs({ defaultValue, value: controlledValue, onValueChange, children, className, }: UnderlineTabsProps): react_jsx_runtime.JSX.Element;
1075
- interface UnderlineTabsListProps {
1076
- children: React$1.ReactNode;
1077
- className?: string;
1078
- }
1079
- declare function UnderlineTabsList({ children, className }: UnderlineTabsListProps): react_jsx_runtime.JSX.Element;
1080
- interface UnderlineTabsTriggerProps {
1081
- value: string;
1082
- children: React$1.ReactNode;
1083
- className?: string;
1084
- disabled?: boolean;
1085
- }
1086
- declare function UnderlineTabsTrigger({ value: triggerValue, children, className, disabled, }: UnderlineTabsTriggerProps): react_jsx_runtime.JSX.Element;
1087
- interface UnderlineTabsContentProps {
1088
- value: string;
1089
- children: React$1.ReactNode;
1090
- className?: string;
1091
- }
1092
- declare function UnderlineTabsContent({ value: contentValue, children, className, }: UnderlineTabsContentProps): react_jsx_runtime.JSX.Element | null;
1093
-
1094
- declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
1095
-
1096
- declare const toggleVariants: (props?: ({
1097
- variant?: "default" | "outline" | null | undefined;
1098
- size?: "default" | "sm" | "lg" | null | undefined;
1099
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1100
- declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
1101
-
1102
- declare function ToggleGroup({ className, variant, size, children, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
1103
- declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
1104
-
1105
- /**
1106
- * Illustration System - iClips Design System
1107
- *
1108
- * Reusable SVG illustrations for empty states and onboarding.
1109
- * These follow the iClips brand colors (Purple #7F26BF as primary).
1110
- */
1111
- interface IllustrationProps {
1112
- className?: string;
1113
- size?: "sm" | "md" | "lg";
1114
- /** Primary color - defaults to purple-500 */
1115
- primaryColor?: string;
1116
- /** Secondary color - defaults to purple-100 */
1117
- secondaryColor?: string;
1118
- }
1119
- /**
1120
- * Empty Inbox Illustration
1121
- * Use for: No messages, no notifications, cleared inbox
1122
- */
1123
- declare function EmptyInboxIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
1124
- /**
1125
- * Empty Search Illustration
1126
- * Use for: No results found, empty search
1127
- */
1128
- declare function EmptySearchIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
1129
- /**
1130
- * Empty Projects Illustration
1131
- * Use for: No projects, no campaigns, empty folder
1132
- */
1133
- declare function EmptyProjectsIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
1134
- /**
1135
- * Empty Calendar Illustration
1136
- * Use for: No events, no deadlines, clear schedule
1137
- */
1138
- declare function EmptyCalendarIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
1139
- /**
1140
- * Error State Illustration
1141
- * Use for: Error loading, something went wrong
1142
- */
1143
- declare function ErrorStateIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
1144
- /**
1145
- * Success State Illustration
1146
- * Use for: Action completed, all done
1147
- */
1148
- declare function SuccessStateIllustration({ className, size, primaryColor, secondaryColor, }: IllustrationProps): react_jsx_runtime.JSX.Element;
1149
- declare const Illustrations: {
1150
- EmptyInbox: typeof EmptyInboxIllustration;
1151
- EmptySearch: typeof EmptySearchIllustration;
1152
- EmptyProjects: typeof EmptyProjectsIllustration;
1153
- EmptyCalendar: typeof EmptyCalendarIllustration;
1154
- ErrorState: typeof ErrorStateIllustration;
1155
- SuccessState: typeof SuccessStateIllustration;
1156
- };
1157
-
1158
- declare function cn(...inputs: ClassValue[]): string;
1159
-
1160
- declare function useIsMobile(): boolean;
1161
-
1162
- /**
1163
- * Opções para o hook de impressão de contratos
1164
- */
1165
- interface UsePrintContractOptions {
1166
- /** Callback chamado antes de iniciar a impressão */
1167
- onPrintStart?: () => void;
1168
- /** Callback chamado após impressão bem-sucedida */
1169
- onPrintSuccess?: () => void;
1170
- /** Callback chamado em caso de erro */
1171
- onPrintError?: (error: Error) => void;
1172
- /** Callback chamado antes de iniciar download do PDF */
1173
- onDownloadStart?: () => void;
1174
- /** Callback chamado após download bem-sucedido */
1175
- onDownloadSuccess?: () => void;
1176
- /** Callback chamado em caso de erro no download */
1177
- onDownloadError?: (error: Error) => void;
1178
- }
1179
- /**
1180
- * Hook para gerenciar impressão e download de contratos
1181
- *
1182
- * @example
1183
- * ```tsx
1184
- * const printRef = useRef<HTMLDivElement>(null);
1185
- * const { printContract, downloadPDF } = usePrintContract(printRef, 'FEE-2024-001', {
1186
- * onPrintSuccess: () => toast.success('Impresso!'),
1187
- * onDownloadSuccess: () => toast.success('PDF gerado!'),
1188
- * });
1189
- * ```
1190
- */
1191
- declare function usePrintContract(contentRef: RefObject<HTMLElement | null>, contractNumber?: string, options?: UsePrintContractOptions): {
1192
- /** Imprime o contrato em nova janela */
1193
- printContract: () => void;
1194
- /** Gera e baixa PDF do contrato (implementação simulada) */
1195
- downloadPDF: () => void;
1196
- };
1197
-
1198
- declare function ImageWithFallback(props: React__default.ImgHTMLAttributes<HTMLImageElement>): react_jsx_runtime.JSX.Element;
1199
-
1200
- interface ProposalData {
1201
- proposalNumber: string;
1202
- issueDate: string;
1203
- validUntil: string;
1204
- client: {
1205
- name: string;
1206
- contact?: string;
1207
- email?: string;
1208
- phone?: string;
1209
- };
1210
- agency: {
1211
- name: string;
1212
- representative?: string;
1213
- email?: string;
1214
- phone?: string;
1215
- };
1216
- projectTitle: string;
1217
- projectDescription?: string;
1218
- objectives?: string[];
1219
- items: Array<{
1220
- name: string;
1221
- description?: string;
1222
- quantity?: number;
1223
- unitPrice?: number;
1224
- totalPrice: number;
1225
- }>;
1226
- subtotal: number;
1227
- discount?: number;
1228
- total: number;
1229
- paymentConditions?: string;
1230
- deliveryTime?: string;
1231
- notes?: string;
1232
- }
1233
- interface ProposalTemplateProps {
1234
- data: ProposalData;
1235
- showPreview?: boolean;
1236
- logo?: string;
1237
- }
1238
- declare function ProposalTemplate({ data, showPreview, logo, }: ProposalTemplateProps): react_jsx_runtime.JSX.Element;
1239
-
1240
- interface PrintHeaderProps {
1241
- /**
1242
- * URL ou path do logo da empresa
1243
- */
1244
- logo?: string;
1245
- /**
1246
- * Nome da empresa
1247
- */
1248
- companyName?: string;
1249
- /**
1250
- * Informações de contato
1251
- */
1252
- contactInfo?: {
1253
- address?: string;
1254
- phone?: string;
1255
- email?: string;
1256
- website?: string;
1257
- };
1258
- /**
1259
- * Tipo de documento (aparece no canto direito)
1260
- */
1261
- documentType?: string;
1262
- /**
1263
- * Número do documento
1264
- */
1265
- documentNumber?: string;
1266
- /**
1267
- * Data de emissão
1268
- */
1269
- issueDate?: string;
1270
- }
1271
- declare function PrintHeader({ logo, companyName, contactInfo, documentType, documentNumber, issueDate, }: PrintHeaderProps): react_jsx_runtime.JSX.Element;
1272
-
1273
- interface PrintFooterProps {
1274
- /**
1275
- * Número da página atual
1276
- */
1277
- pageNumber?: number;
1278
- /**
1279
- * Total de páginas
1280
- */
1281
- totalPages?: number;
1282
- /**
1283
- * Texto de rodapé customizado
1284
- */
1285
- footerText?: string;
1286
- /**
1287
- * Mostrar data de geração
1288
- */
1289
- showGeneratedDate?: boolean;
1290
- }
1291
- declare function PrintFooter({ pageNumber, totalPages, footerText, showGeneratedDate, }: PrintFooterProps): react_jsx_runtime.JSX.Element;
1292
-
1293
- interface PrintSectionProps {
1294
- /**
1295
- * Título da seção
1296
- */
1297
- title?: string;
1298
- /**
1299
- * Subtítulo da seção
1300
- */
1301
- subtitle?: string;
1302
- /**
1303
- * Conteúdo da seção
1304
- */
1305
- children: React.ReactNode;
1306
- /**
1307
- * Classe CSS adicional
1308
- */
1309
- className?: string;
1310
- /**
1311
- * Evitar quebra de página
1312
- */
1313
- avoidBreak?: boolean;
1314
- /**
1315
- * Forçar quebra de página antes
1316
- */
1317
- pageBreak?: boolean;
1318
- }
1319
- declare function PrintSection({ title, subtitle, children, className, avoidBreak, pageBreak, }: PrintSectionProps): react_jsx_runtime.JSX.Element;
1320
-
1321
- interface Column {
1322
- header: string;
1323
- key: string;
1324
- align?: "left" | "center" | "right";
1325
- width?: string;
1326
- render?: (value: any, row: any) => React.ReactNode;
1327
- }
1328
- interface PrintTableProps {
1329
- /**
1330
- * Colunas da tabela
1331
- */
1332
- columns: Column[];
1333
- /**
1334
- * Dados da tabela
1335
- */
1336
- data: any[];
1337
- /**
1338
- * Título da tabela (opcional)
1339
- */
1340
- title?: string;
1341
- /**
1342
- * Mostrar zebra (linhas alternadas)
1343
- */
1344
- striped?: boolean;
1345
- /**
1346
- * Mostrar borda
1347
- */
1348
- bordered?: boolean;
1349
- /**
1350
- * Densidade (espaçamento)
1351
- */
1352
- density?: "compact" | "normal" | "comfortable";
1353
- }
1354
- declare function PrintTable({ columns, data, title, striped, bordered, density, }: PrintTableProps): react_jsx_runtime.JSX.Element;
1355
-
1356
- interface SignatureField {
1357
- label: string;
1358
- name?: string;
1359
- role?: string;
1360
- date?: string;
1361
- }
1362
- interface PrintSignatureProps {
1363
- /**
1364
- * Lista de assinaturas necessárias
1365
- */
1366
- signatures: SignatureField[];
1367
- /**
1368
- * Layout das assinaturas
1369
- */
1370
- layout?: "horizontal" | "vertical";
1371
- /**
1372
- * Mostrar linha de assinatura
1373
- */
1374
- showLine?: boolean;
1375
- /**
1376
- * Texto de instrução
1377
- */
1378
- instructionText?: string;
1379
- }
1380
- declare function PrintSignature({ signatures, layout, showLine, instructionText, }: PrintSignatureProps): react_jsx_runtime.JSX.Element;
1381
-
1382
- interface InfoItem {
1383
- label: string;
1384
- value: string | React.ReactNode;
1385
- highlight?: boolean;
1386
- }
1387
- interface PrintInfoGridProps {
1388
- /**
1389
- * Lista de informações a serem exibidas
1390
- */
1391
- items: InfoItem[];
1392
- /**
1393
- * Número de colunas
1394
- */
1395
- columns?: 1 | 2 | 3 | 4;
1396
- /**
1397
- * Classe CSS adicional
1398
- */
1399
- className?: string;
1400
- }
1401
- declare function PrintInfoGrid({ items, columns, className, }: PrintInfoGridProps): react_jsx_runtime.JSX.Element;
1402
-
1403
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppLayout, type AppLayoutProps, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, type ColumnDef, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContractPrint, ContractPrintPreview, type ContractPrintProps, ContractTemplate, type DadosContrato, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, type DragDropConfig, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyCalendarIllustration, EmptyInboxIllustration, EmptyProjectsIllustration, EmptySearchIllustration, ErrorStateIllustration, type FilterConfig, type FilterFunction, type FilterOperator, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, type IllustrationProps, Illustrations, ImageWithFallback, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KanbanCard, type KanbanCardAssignee, type KanbanCardProps, type KanbanCardTag, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, type PaginationConfig, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, type PaginationMetadata, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, type PrimaryNavItem, PrintFooter, PrintHeader, PrintInfoGrid, PrintSection, PrintSignature, PrintTable, Progress, type ProposalData, ProposalTemplate, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, type RowExpansionConfig, ScrollArea, ScrollBar, type SecondaryNavItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, type SelectionState, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Toaster as Sonner, type SortConfig, type SortDirection, type SortFunction, SuccessStateIllustration, Switch, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TablePagination, type TablePaginationLabels, type TablePaginationProps, type TableProps, TableRow, type TableRowProps, type TableState, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TimePicker, type TimePickerProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UnderlineTabs, UnderlineTabsContent, UnderlineTabsList, UnderlineTabsTrigger, type UsePrintContractOptions, badgeVariants, buttonVariants, calculatePaginationMetadata, cn, dadosContratoExemplo, getPageNumbers, navigationMenuTriggerStyle, toggleVariants, useFormField, useIsMobile, usePrintContract, useSidebar };
1
+ export {}