@iclips/ui 1.0.11 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/dist/components/figma/ImageWithFallback.d.ts +3 -0
  2. package/dist/components/figma/ImageWithFallback.d.ts.map +1 -0
  3. package/dist/components/print-templates/ContractTemplate.d.ts +51 -0
  4. package/dist/components/print-templates/ContractTemplate.d.ts.map +1 -0
  5. package/dist/components/print-templates/ProposalTemplate.d.ts +41 -0
  6. package/dist/components/print-templates/ProposalTemplate.d.ts.map +1 -0
  7. package/dist/components/print-templates/index.d.ts +22 -0
  8. package/dist/components/print-templates/index.d.ts.map +1 -0
  9. package/dist/components/print-templates/shared/PrintFooter.d.ts +21 -0
  10. package/dist/components/print-templates/shared/PrintFooter.d.ts.map +1 -0
  11. package/dist/components/print-templates/shared/PrintHeader.d.ts +34 -0
  12. package/dist/components/print-templates/shared/PrintHeader.d.ts.map +1 -0
  13. package/dist/components/print-templates/shared/PrintInfoGrid.d.ts +22 -0
  14. package/dist/components/print-templates/shared/PrintInfoGrid.d.ts.map +1 -0
  15. package/dist/components/print-templates/shared/PrintSection.d.ts +29 -0
  16. package/dist/components/print-templates/shared/PrintSection.d.ts.map +1 -0
  17. package/dist/components/print-templates/shared/PrintSignature.d.ts +27 -0
  18. package/dist/components/print-templates/shared/PrintSignature.d.ts.map +1 -0
  19. package/dist/components/print-templates/shared/PrintTable.d.ts +36 -0
  20. package/dist/components/print-templates/shared/PrintTable.d.ts.map +1 -0
  21. package/dist/components/timeline-demo.d.ts +2 -0
  22. package/dist/components/timeline-demo.d.ts.map +1 -0
  23. package/dist/components/ui/accordion.d.ts +8 -0
  24. package/dist/components/ui/accordion.d.ts.map +1 -0
  25. package/dist/components/ui/advanced-data-table.d.ts +87 -0
  26. package/dist/components/ui/advanced-data-table.d.ts.map +1 -0
  27. package/dist/components/ui/alert-dialog.d.ts +15 -0
  28. package/dist/components/ui/alert-dialog.d.ts.map +1 -0
  29. package/dist/components/ui/alert.d.ts +10 -0
  30. package/dist/components/ui/alert.d.ts.map +1 -0
  31. package/dist/components/ui/app-layout.d.ts +31 -0
  32. package/dist/components/ui/app-layout.d.ts.map +1 -0
  33. package/dist/components/ui/aspect-ratio.d.ts +4 -0
  34. package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
  35. package/dist/components/ui/avatar.d.ts +7 -0
  36. package/dist/components/ui/avatar.d.ts.map +1 -0
  37. package/dist/components/ui/badge.d.ts +12 -0
  38. package/dist/components/ui/badge.d.ts.map +1 -0
  39. package/dist/components/ui/brand-logo.d.ts +7 -0
  40. package/dist/components/ui/brand-logo.d.ts.map +1 -0
  41. package/dist/components/ui/breadcrumb.d.ts +12 -0
  42. package/dist/components/ui/breadcrumb.d.ts.map +1 -0
  43. package/dist/components/ui/button.d.ts +14 -0
  44. package/dist/components/ui/button.d.ts.map +1 -0
  45. package/dist/components/ui/calendar.d.ts +31 -0
  46. package/dist/components/ui/calendar.d.ts.map +1 -0
  47. package/dist/components/ui/card.d.ts +10 -0
  48. package/dist/components/ui/card.d.ts.map +1 -0
  49. package/dist/components/ui/carousel.d.ts +20 -0
  50. package/dist/components/ui/carousel.d.ts.map +1 -0
  51. package/dist/components/ui/chart.d.ts +45 -0
  52. package/dist/components/ui/chart.d.ts.map +1 -0
  53. package/dist/components/ui/checkbox.d.ts +5 -0
  54. package/dist/components/ui/checkbox.d.ts.map +1 -0
  55. package/dist/components/ui/collapsible.d.ts +6 -0
  56. package/dist/components/ui/collapsible.d.ts.map +1 -0
  57. package/dist/components/ui/color-picker.d.ts +11 -0
  58. package/dist/components/ui/color-picker.d.ts.map +1 -0
  59. package/dist/components/ui/command.d.ts +17 -0
  60. package/dist/components/ui/command.d.ts.map +1 -0
  61. package/dist/components/ui/comment-system.d.ts +38 -0
  62. package/dist/components/ui/comment-system.d.ts.map +1 -0
  63. package/dist/components/ui/context-menu.d.ts +26 -0
  64. package/dist/components/ui/context-menu.d.ts.map +1 -0
  65. package/dist/components/ui/contract-print.d.ts +82 -0
  66. package/dist/components/ui/contract-print.d.ts.map +1 -0
  67. package/dist/components/ui/data-table.d.ts +19 -0
  68. package/dist/components/ui/data-table.d.ts.map +1 -0
  69. package/dist/components/ui/date-picker.d.ts +110 -0
  70. package/dist/components/ui/date-picker.d.ts.map +1 -0
  71. package/dist/components/ui/date-range-picker.d.ts +126 -0
  72. package/dist/components/ui/date-range-picker.d.ts.map +1 -0
  73. package/dist/components/ui/dialog.d.ts +14 -0
  74. package/dist/components/ui/dialog.d.ts.map +1 -0
  75. package/dist/components/ui/document-editor.d.ts +12 -0
  76. package/dist/components/ui/document-editor.d.ts.map +1 -0
  77. package/dist/components/ui/drawer.d.ts +14 -0
  78. package/dist/components/ui/drawer.d.ts.map +1 -0
  79. package/dist/components/ui/dropdown-menu.d.ts +26 -0
  80. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  81. package/dist/components/ui/editorial-calendar.d.ts +28 -0
  82. package/dist/components/ui/editorial-calendar.d.ts.map +1 -0
  83. package/dist/components/ui/filter-bar.d.ts +16 -0
  84. package/dist/components/ui/filter-bar.d.ts.map +1 -0
  85. package/dist/components/ui/filter-builder.d.ts +24 -0
  86. package/dist/components/ui/filter-builder.d.ts.map +1 -0
  87. package/dist/components/ui/filter-chip.d.ts +8 -0
  88. package/dist/components/ui/filter-chip.d.ts.map +1 -0
  89. package/dist/components/ui/form.d.ts +25 -0
  90. package/dist/components/ui/form.d.ts.map +1 -0
  91. package/dist/components/ui/gantt-chart.d.ts +39 -0
  92. package/dist/components/ui/gantt-chart.d.ts.map +1 -0
  93. package/dist/components/ui/hover-card.d.ts +7 -0
  94. package/dist/components/ui/hover-card.d.ts.map +1 -0
  95. package/dist/components/ui/illustrations.d.ts +54 -0
  96. package/dist/components/ui/illustrations.d.ts.map +1 -0
  97. package/dist/components/ui/index.d.ts +72 -0
  98. package/dist/components/ui/index.d.ts.map +1 -0
  99. package/dist/components/ui/input-otp.d.ts +12 -0
  100. package/dist/components/ui/input-otp.d.ts.map +1 -0
  101. package/dist/components/ui/input.d.ts +4 -0
  102. package/dist/components/ui/input.d.ts.map +1 -0
  103. package/dist/components/ui/kanban-card.d.ts +41 -0
  104. package/dist/components/ui/kanban-card.d.ts.map +1 -0
  105. package/dist/components/ui/kpi-card.d.ts +45 -0
  106. package/dist/components/ui/kpi-card.d.ts.map +1 -0
  107. package/dist/components/ui/label.d.ts +5 -0
  108. package/dist/components/ui/label.d.ts.map +1 -0
  109. package/dist/components/ui/mention-list.d.ts +7 -0
  110. package/dist/components/ui/mention-list.d.ts.map +1 -0
  111. package/dist/components/ui/menubar.d.ts +27 -0
  112. package/dist/components/ui/menubar.d.ts.map +1 -0
  113. package/dist/components/ui/navigation-menu.d.ts +15 -0
  114. package/dist/components/ui/navigation-menu.d.ts.map +1 -0
  115. package/dist/components/ui/pagination.d.ts +14 -0
  116. package/dist/components/ui/pagination.d.ts.map +1 -0
  117. package/dist/components/ui/popover.d.ts +8 -0
  118. package/dist/components/ui/popover.d.ts.map +1 -0
  119. package/dist/components/ui/progress.d.ts +5 -0
  120. package/dist/components/ui/progress.d.ts.map +1 -0
  121. package/dist/components/ui/radio-group.d.ts +6 -0
  122. package/dist/components/ui/radio-group.d.ts.map +1 -0
  123. package/dist/components/ui/resizable.d.ts +9 -0
  124. package/dist/components/ui/resizable.d.ts.map +1 -0
  125. package/dist/components/ui/saved-filters.d.ts +16 -0
  126. package/dist/components/ui/saved-filters.d.ts.map +1 -0
  127. package/dist/components/ui/scroll-area.d.ts +6 -0
  128. package/dist/components/ui/scroll-area.d.ts.map +1 -0
  129. package/dist/components/ui/select.d.ts +16 -0
  130. package/dist/components/ui/select.d.ts.map +1 -0
  131. package/dist/components/ui/separator.d.ts +5 -0
  132. package/dist/components/ui/separator.d.ts.map +1 -0
  133. package/dist/components/ui/sheet.d.ts +14 -0
  134. package/dist/components/ui/sheet.d.ts.map +1 -0
  135. package/dist/components/ui/sidebar.d.ts +70 -0
  136. package/dist/components/ui/sidebar.d.ts.map +1 -0
  137. package/dist/components/ui/skeleton.d.ts +8 -0
  138. package/dist/components/ui/skeleton.d.ts.map +1 -0
  139. package/dist/components/ui/slider.d.ts +5 -0
  140. package/dist/components/ui/slider.d.ts.map +1 -0
  141. package/dist/components/ui/sonner.d.ts +4 -0
  142. package/dist/components/ui/sonner.d.ts.map +1 -0
  143. package/dist/components/ui/switch.d.ts +5 -0
  144. package/dist/components/ui/switch.d.ts.map +1 -0
  145. package/dist/components/ui/table-pagination.d.ts +130 -0
  146. package/dist/components/ui/table-pagination.d.ts.map +1 -0
  147. package/dist/components/ui/table-types.d.ts +217 -0
  148. package/dist/components/ui/table-types.d.ts.map +1 -0
  149. package/dist/components/ui/table.d.ts +27 -0
  150. package/dist/components/ui/table.d.ts.map +1 -0
  151. package/dist/components/ui/tabs.d.ts +8 -0
  152. package/dist/components/ui/tabs.d.ts.map +1 -0
  153. package/dist/components/ui/task-edit-dialog.d.ts +14 -0
  154. package/dist/components/ui/task-edit-dialog.d.ts.map +1 -0
  155. package/dist/components/ui/textarea.d.ts +4 -0
  156. package/dist/components/ui/textarea.d.ts.map +1 -0
  157. package/dist/components/ui/time-picker.d.ts +84 -0
  158. package/dist/components/ui/time-picker.d.ts.map +1 -0
  159. package/dist/components/ui/timeline.d.ts +27 -0
  160. package/dist/components/ui/timeline.d.ts.map +1 -0
  161. package/dist/components/ui/toggle-group.d.ts +8 -0
  162. package/dist/components/ui/toggle-group.d.ts.map +1 -0
  163. package/dist/components/ui/toggle.d.ts +10 -0
  164. package/dist/components/ui/toggle.d.ts.map +1 -0
  165. package/dist/components/ui/tooltip.d.ts +8 -0
  166. package/dist/components/ui/tooltip.d.ts.map +1 -0
  167. package/dist/components/ui/underline-tabs.d.ts +29 -0
  168. package/dist/components/ui/underline-tabs.d.ts.map +1 -0
  169. package/dist/components/ui/use-mobile.d.ts +2 -0
  170. package/dist/components/ui/use-mobile.d.ts.map +1 -0
  171. package/dist/components/ui/use-print-contract.d.ts +37 -0
  172. package/dist/components/ui/use-print-contract.d.ts.map +1 -0
  173. package/dist/components/ui/utils.d.ts +3 -0
  174. package/dist/components/ui/utils.d.ts.map +1 -0
  175. package/dist/index.cjs +3 -3
  176. package/dist/index.cjs.map +1 -1
  177. package/dist/index.d.ts +92 -1
  178. package/dist/index.d.ts.map +1 -0
  179. package/dist/index.js +1498 -1709
  180. package/dist/index.js.map +1 -1
  181. package/package.json +1 -1
@@ -0,0 +1,217 @@
1
+ /**
2
+ * Utility types for DataTable implementations
3
+ *
4
+ * These types provide standard interfaces for common DataTable patterns
5
+ * like sorting, pagination, column definitions, and selection.
6
+ */
7
+ /**
8
+ * Direction of sorting
9
+ */
10
+ export type SortDirection = "asc" | "desc" | null;
11
+ /**
12
+ * Sort configuration for a table
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * const [sortConfig, setSortConfig] = useState<SortConfig<User>>({
17
+ * column: "name",
18
+ * direction: "asc"
19
+ * });
20
+ * ```
21
+ */
22
+ export interface SortConfig<T> {
23
+ column: keyof T | null;
24
+ direction: SortDirection;
25
+ }
26
+ /**
27
+ * Column definition for a DataTable
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * const columns: ColumnDef<User>[] = [
32
+ * {
33
+ * key: "name",
34
+ * header: "Name",
35
+ * sortable: true,
36
+ * width: "200px"
37
+ * },
38
+ * {
39
+ * key: "email",
40
+ * header: "Email",
41
+ * render: (value, row) => <a href={`mailto:${value}`}>{value}</a>
42
+ * }
43
+ * ];
44
+ * ```
45
+ */
46
+ export interface ColumnDef<T extends Record<string, any>> {
47
+ /** Key of the data property to display */
48
+ key: keyof T;
49
+ /** Header label or React node */
50
+ header: string | React.ReactNode;
51
+ /** Whether this column is sortable */
52
+ sortable?: boolean;
53
+ /** Column width (CSS value) */
54
+ width?: string | number;
55
+ /** Text alignment */
56
+ align?: "left" | "center" | "right";
57
+ /** Custom render function for the cell content */
58
+ render?: (value: T[keyof T], row: T, index: number) => React.ReactNode;
59
+ /** Additional className for the cell */
60
+ className?: string;
61
+ /** Additional className for the header */
62
+ headerClassName?: string;
63
+ }
64
+ /**
65
+ * Pagination configuration
66
+ *
67
+ * @example
68
+ * ```tsx
69
+ * const [pagination, setPagination] = useState<PaginationConfig>({
70
+ * currentPage: 1,
71
+ * pageSize: 10,
72
+ * totalItems: 100
73
+ * });
74
+ * ```
75
+ */
76
+ export interface PaginationConfig {
77
+ /** Current page number (1-indexed) */
78
+ currentPage: number;
79
+ /** Number of items per page */
80
+ pageSize: number;
81
+ /** Total number of items */
82
+ totalItems: number;
83
+ /** Callback when page changes */
84
+ onPageChange?: (page: number) => void;
85
+ /** Callback when page size changes */
86
+ onPageSizeChange?: (size: number) => void;
87
+ }
88
+ /**
89
+ * Helper to calculate pagination metadata
90
+ */
91
+ export interface PaginationMetadata {
92
+ totalPages: number;
93
+ startIndex: number;
94
+ endIndex: number;
95
+ hasNextPage: boolean;
96
+ hasPreviousPage: boolean;
97
+ }
98
+ /**
99
+ * Selection state for table rows
100
+ *
101
+ * @example
102
+ * ```tsx
103
+ * const [selection, setSelection] = useState<SelectionState>({
104
+ * selectedIds: new Set(["1", "2"]),
105
+ * isAllSelected: false
106
+ * });
107
+ * ```
108
+ */
109
+ export interface SelectionState {
110
+ /** Set of selected row IDs */
111
+ selectedIds: Set<string | number>;
112
+ /** Whether all rows are selected */
113
+ isAllSelected: boolean;
114
+ }
115
+ /**
116
+ * Complete table state with all common features
117
+ *
118
+ * @example
119
+ * ```tsx
120
+ * const [tableState, setTableState] = useState<TableState<User>>({
121
+ * data: users,
122
+ * sort: { column: "name", direction: "asc" },
123
+ * pagination: { currentPage: 1, pageSize: 10, totalItems: 100 },
124
+ * selection: { selectedIds: new Set(), isAllSelected: false }
125
+ * });
126
+ * ```
127
+ */
128
+ export interface TableState<T extends Record<string, any>> {
129
+ /** Table data */
130
+ data: T[];
131
+ /** Sort configuration */
132
+ sort?: SortConfig<T>;
133
+ /** Pagination configuration */
134
+ pagination?: PaginationConfig;
135
+ /** Selection state */
136
+ selection?: SelectionState;
137
+ /** Loading state */
138
+ isLoading?: boolean;
139
+ /** Error state */
140
+ error?: string | null;
141
+ }
142
+ /**
143
+ * Filter operator types
144
+ */
145
+ export type FilterOperator = "equals" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "between" | "in";
146
+ /**
147
+ * Filter configuration for a column
148
+ *
149
+ * @example
150
+ * ```tsx
151
+ * const filters: FilterConfig<User>[] = [
152
+ * {
153
+ * column: "status",
154
+ * operator: "in",
155
+ * value: ["active", "pending"]
156
+ * },
157
+ * {
158
+ * column: "age",
159
+ * operator: "greaterThan",
160
+ * value: 18
161
+ * }
162
+ * ];
163
+ * ```
164
+ */
165
+ export interface FilterConfig<T> {
166
+ column: keyof T;
167
+ operator: FilterOperator;
168
+ value: any;
169
+ }
170
+ /**
171
+ * Configuration for draggable rows
172
+ */
173
+ export interface DragDropConfig {
174
+ /** Whether drag and drop is enabled */
175
+ enabled: boolean;
176
+ /** Callback when a row is dropped */
177
+ onDrop?: (dragIndex: number, dropIndex: number) => void;
178
+ /** Custom drag handle component */
179
+ dragHandle?: React.ReactNode;
180
+ }
181
+ /**
182
+ * Configuration for expandable rows
183
+ *
184
+ * @example
185
+ * ```tsx
186
+ * const expandConfig: RowExpansionConfig<User> = {
187
+ * enabled: true,
188
+ * expandedRows: new Set(["1", "3"]),
189
+ * renderExpandedContent: (row) => (
190
+ * <div>Details for {row.name}</div>
191
+ * )
192
+ * };
193
+ * ```
194
+ */
195
+ export interface RowExpansionConfig<T extends Record<string, any>> {
196
+ /** Whether row expansion is enabled */
197
+ enabled: boolean;
198
+ /** Set of expanded row IDs */
199
+ expandedRows?: Set<string | number>;
200
+ /** Callback when row expansion changes */
201
+ onExpansionChange?: (rowId: string | number, isExpanded: boolean) => void;
202
+ /** Custom content to render when row is expanded */
203
+ renderExpandedContent?: (row: T, index: number) => React.ReactNode;
204
+ }
205
+ /**
206
+ * Sort function type
207
+ */
208
+ export type SortFunction<T extends Record<string, any>> = (a: T, b: T, config: SortConfig<T>) => number;
209
+ /**
210
+ * Filter function type
211
+ */
212
+ export type FilterFunction<T extends Record<string, any>> = (row: T, filters: FilterConfig<T>[]) => boolean;
213
+ /**
214
+ * Helper function to calculate pagination metadata
215
+ */
216
+ export declare function calculatePaginationMetadata(config: PaginationConfig): PaginationMetadata;
217
+ //# sourceMappingURL=table-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-types.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,27 @@
1
+ import * as React from "react";
2
+ export interface TableProps extends React.ComponentProps<"table"> {
3
+ }
4
+ export interface TableHeaderProps extends React.ComponentProps<"thead"> {
5
+ }
6
+ export interface TableBodyProps extends React.ComponentProps<"tbody"> {
7
+ }
8
+ export interface TableFooterProps extends React.ComponentProps<"tfoot"> {
9
+ }
10
+ export interface TableRowProps extends React.ComponentProps<"tr"> {
11
+ }
12
+ export interface TableHeadProps extends React.ComponentProps<"th"> {
13
+ }
14
+ export interface TableCellProps extends React.ComponentProps<"td"> {
15
+ }
16
+ export interface TableCaptionProps extends React.ComponentProps<"caption"> {
17
+ }
18
+ declare const Table: React.ForwardRefExoticComponent<Omit<TableProps, "ref"> & React.RefAttributes<HTMLTableElement>>;
19
+ declare const TableHeader: React.ForwardRefExoticComponent<Omit<TableHeaderProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
20
+ declare const TableBody: React.ForwardRefExoticComponent<Omit<TableBodyProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
21
+ declare const TableFooter: React.ForwardRefExoticComponent<Omit<TableFooterProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
22
+ declare const TableRow: React.ForwardRefExoticComponent<Omit<TableRowProps, "ref"> & React.RefAttributes<HTMLTableRowElement>>;
23
+ declare const TableHead: React.ForwardRefExoticComponent<Omit<TableHeadProps, "ref"> & React.RefAttributes<HTMLTableCellElement>>;
24
+ declare const TableCell: React.ForwardRefExoticComponent<Omit<TableCellProps, "ref"> & React.RefAttributes<HTMLTableCellElement>>;
25
+ declare const TableCaption: React.ForwardRefExoticComponent<Omit<TableCaptionProps, "ref"> & React.RefAttributes<HTMLTableCaptionElement>>;
26
+ export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };
27
+ //# sourceMappingURL=table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AACpE,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AAC1E,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AACxE,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AAC1E,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;CAAG;AACpE,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;CAAG;AACrE,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;CAAG;AACrE,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC;CAAG;AAM7E,QAAA,MAAM,KAAK,kGAgBV,CAAC;AAGF,QAAA,MAAM,WAAW,+GAWhB,CAAC;AAGF,QAAA,MAAM,SAAS,6GAWd,CAAC;AAGF,QAAA,MAAM,WAAW,+GAchB,CAAC;AAGF,QAAA,MAAM,QAAQ,wGAeZ,CAAC;AAGH,QAAA,MAAM,SAAS,0GAed,CAAC;AAGF,QAAA,MAAM,SAAS,0GAed,CAAC;AAGF,QAAA,MAAM,YAAY,gHAWjB,CAAC;AAGF,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAC"}
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ import * as TabsPrimitive from "@radix-ui/react-tabs";
3
+ declare function Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>): import("react/jsx-runtime").JSX.Element;
5
+ declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
+ export { Tabs, TabsList, TabsTrigger, TabsContent };
8
+ //# sourceMappingURL=tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAItD,iBAAS,IAAI,CAAC,EACZ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,2CAQjD;AAED,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,2CAWjD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,2CAWpD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,2CAQpD;AAED,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { GanttTask } from './gantt-chart';
2
+ export interface TaskEditDialogProps {
3
+ task: GanttTask | null;
4
+ open: boolean;
5
+ onOpenChange: (open: boolean) => void;
6
+ onSave: (task: GanttTask) => void;
7
+ availableTasks?: GanttTask[];
8
+ availableAssignees?: {
9
+ name: string;
10
+ initials?: string;
11
+ }[];
12
+ }
13
+ export declare function TaskEditDialog({ task, open, onOpenChange, onSave, availableTasks, availableAssignees, }: TaskEditDialogProps): import("react/jsx-runtime").JSX.Element | null;
14
+ //# sourceMappingURL=task-edit-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task-edit-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/task-edit-dialog.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAmB,MAAM,eAAe,CAAC;AA+B3D,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAClC,cAAc,CAAC,EAAE,SAAS,EAAE,CAAC;IAC7B,kBAAkB,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC5D;AA6CD,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,cAAmB,EACnB,kBAAuB,GACxB,EAAE,mBAAmB,kDA0TrB"}
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ declare function Textarea({ className, ...props }: React.ComponentProps<"textarea">): import("react/jsx-runtime").JSX.Element;
3
+ export { Textarea };
4
+ //# sourceMappingURL=textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../src/components/ui/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,2CAW1E;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,84 @@
1
+ export interface TimePickerProps {
2
+ /**
3
+ * Valor atual no formato "HH:mm"
4
+ */
5
+ value?: string;
6
+ /**
7
+ * Callback quando o horário muda
8
+ */
9
+ onChange?: (time: string) => void;
10
+ /**
11
+ * Formato de exibição (12h com AM/PM ou 24h)
12
+ * @default "24h"
13
+ */
14
+ format?: "12h" | "24h";
15
+ /**
16
+ * Incremento de minutos no seletor
17
+ * @default 5
18
+ */
19
+ minuteStep?: 1 | 5 | 10 | 15 | 30;
20
+ /**
21
+ * Horário mínimo permitido (formato "HH:mm")
22
+ */
23
+ minTime?: string;
24
+ /**
25
+ * Horário máximo permitido (formato "HH:mm")
26
+ */
27
+ maxTime?: string;
28
+ /**
29
+ * Desabilita o componente
30
+ */
31
+ disabled?: boolean;
32
+ /**
33
+ * Placeholder
34
+ * @default "HH:MM"
35
+ */
36
+ placeholder?: string;
37
+ /**
38
+ * Classes CSS adicionais
39
+ */
40
+ className?: string;
41
+ /**
42
+ * Mostra o ícone de relógio
43
+ * @default true
44
+ */
45
+ showIcon?: boolean;
46
+ /**
47
+ * Variante de exibição
48
+ * @default "input"
49
+ */
50
+ variant?: "input" | "select" | "inline";
51
+ }
52
+ /**
53
+ * TimePicker - Componente para seleção de horário
54
+ *
55
+ * @example
56
+ * // Input simples
57
+ * <TimePicker
58
+ * value={time}
59
+ * onChange={setTime}
60
+ * placeholder="Horário"
61
+ * />
62
+ *
63
+ * @example
64
+ * // Com step de 15 minutos
65
+ * <TimePicker
66
+ * value={time}
67
+ * onChange={setTime}
68
+ * minuteStep={15}
69
+ * />
70
+ *
71
+ * @example
72
+ * // Formato 12h
73
+ * <TimePicker
74
+ * value={time}
75
+ * onChange={setTime}
76
+ * format="12h"
77
+ * />
78
+ */
79
+ declare function TimePicker({ value, onChange, format, minuteStep, minTime, maxTime, disabled, placeholder, className, showIcon, variant, }: TimePickerProps): import("react/jsx-runtime").JSX.Element | null;
80
+ declare namespace TimePicker {
81
+ var displayName: string;
82
+ }
83
+ export { TimePicker };
84
+ //# sourceMappingURL=time-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-picker.d.ts","sourceRoot":"","sources":["../../../src/components/ui/time-picker.tsx"],"names":[],"mappings":"AAgBA,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IACvB;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;CACzC;AA6DD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,iBAAS,UAAU,CAAC,EAClB,KAAK,EACL,QAAQ,EACR,MAAc,EACd,UAAc,EACd,OAAO,EACP,OAAO,EACP,QAAgB,EAChB,WAAqB,EACrB,SAAS,EACT,QAAe,EACf,OAAiB,GAClB,EAAE,eAAe,kDA0OjB;kBAtPQ,UAAU;;;AA0PnB,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,27 @@
1
+ import * as React from "react";
2
+ export type TimelineActionType = 'create' | 'update' | 'status_change' | 'comment' | 'upload' | 'assignment';
3
+ export interface TimelineUser {
4
+ id: string;
5
+ name: string;
6
+ avatar?: string;
7
+ }
8
+ export interface TimelineEvent {
9
+ id: string;
10
+ user: TimelineUser;
11
+ action: TimelineActionType;
12
+ title: string;
13
+ timestamp: Date;
14
+ metadata?: {
15
+ before?: string | null;
16
+ after?: string | null;
17
+ details?: React.ReactNode;
18
+ fileName?: string;
19
+ };
20
+ }
21
+ interface TimelineProps {
22
+ events: TimelineEvent[];
23
+ className?: string;
24
+ }
25
+ export declare const Timeline: ({ events, className }: TimelineProps) => import("react/jsx-runtime").JSX.Element;
26
+ export default Timeline;
27
+ //# sourceMappingURL=timeline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeline.d.ts","sourceRoot":"","sources":["../../../src/components/ui/timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwB/B,MAAM,MAAM,kBAAkB,GAC1B,QAAQ,GACR,QAAQ,GACR,eAAe,GACf,SAAS,GACT,QAAQ,GACR,YAAY,CAAC;AAEjB,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,IAAI,CAAC;IAChB,QAAQ,CAAC,EAAE;QACT,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,UAAU,aAAa;IACrB,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA6ID,eAAO,MAAM,QAAQ,GAAI,uBAAuB,aAAa,4CAY5D,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { toggleVariants } from './toggle';
3
+ import * as React from "react";
4
+ import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
5
+ declare function ToggleGroup({ className, variant, size, children, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
6
+ declare function ToggleGroupItem({ className, children, variant, size, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
7
+ export { ToggleGroup, ToggleGroupItem };
8
+ //# sourceMappingURL=toggle-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAS1C,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,GACvD,YAAY,CAAC,OAAO,cAAc,CAAC,2CAiBpC;AAED,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,GACvD,YAAY,CAAC,OAAO,cAAc,CAAC,2CAqBpC;AAED,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ import * as TogglePrimitive from "@radix-ui/react-toggle";
4
+ declare const toggleVariants: (props?: ({
5
+ variant?: "default" | "outline" | null | undefined;
6
+ size?: "default" | "sm" | "lg" | null | undefined;
7
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
8
+ declare function Toggle({ className, variant, size, ...props }: React.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
9
+ export { Toggle, toggleVariants };
10
+ //# sourceMappingURL=toggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,cAAc;;;mFAoBnB,CAAC;AAEF,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,OAAO,EACP,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,GAClD,YAAY,CAAC,OAAO,cAAc,CAAC,2CAQpC;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ import * as TooltipPrimitive from "@radix-ui/react-tooltip";
3
+ declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
4
+ declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
+ declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
+ export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
8
+ //# sourceMappingURL=tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAI5D,iBAAS,eAAe,CAAC,EACvB,aAAiB,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,QAAQ,CAAC,2CAQxD;AAED,iBAAS,OAAO,CAAC,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAMpD;AAED,iBAAS,cAAc,CAAC,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAEvD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,UAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAiBvD;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,29 @@
1
+ import * as React from "react";
2
+ interface UnderlineTabsProps {
3
+ defaultValue?: string;
4
+ value?: string;
5
+ onValueChange?: (value: string) => void;
6
+ children: React.ReactNode;
7
+ className?: string;
8
+ }
9
+ export declare function UnderlineTabs({ defaultValue, value: controlledValue, onValueChange, children, className, }: UnderlineTabsProps): import("react/jsx-runtime").JSX.Element;
10
+ interface UnderlineTabsListProps {
11
+ children: React.ReactNode;
12
+ className?: string;
13
+ }
14
+ export declare function UnderlineTabsList({ children, className }: UnderlineTabsListProps): import("react/jsx-runtime").JSX.Element;
15
+ interface UnderlineTabsTriggerProps {
16
+ value: string;
17
+ children: React.ReactNode;
18
+ className?: string;
19
+ disabled?: boolean;
20
+ }
21
+ export declare function UnderlineTabsTrigger({ value: triggerValue, children, className, disabled, }: UnderlineTabsTriggerProps): import("react/jsx-runtime").JSX.Element;
22
+ interface UnderlineTabsContentProps {
23
+ value: string;
24
+ children: React.ReactNode;
25
+ className?: string;
26
+ }
27
+ export declare function UnderlineTabsContent({ value: contentValue, children, className, }: UnderlineTabsContentProps): import("react/jsx-runtime").JSX.Element | null;
28
+ export {};
29
+ //# sourceMappingURL=underline-tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"underline-tabs.d.ts","sourceRoot":"","sources":["../../../src/components/ui/underline-tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,UAAU,kBAAkB;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,aAAa,CAAC,EAC5B,YAAY,EACZ,KAAK,EAAE,eAAe,EACtB,aAAa,EACb,QAAQ,EACR,SAAS,GACV,EAAE,kBAAkB,2CAmBpB;AAED,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,sBAAsB,2CAMhF;AAED,UAAU,yBAAyB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EAAE,YAAY,EACnB,QAAQ,EACR,SAAS,EACT,QAAgB,GACjB,EAAE,yBAAyB,2CAyB3B;AAED,UAAU,yBAAyB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EAAE,YAAY,EACnB,QAAQ,EACR,SAAS,GACV,EAAE,yBAAyB,kDAgB3B"}
@@ -0,0 +1,2 @@
1
+ export declare function useIsMobile(): boolean;
2
+ //# sourceMappingURL=use-mobile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-mobile.d.ts","sourceRoot":"","sources":["../../../src/components/ui/use-mobile.ts"],"names":[],"mappings":"AAIA,wBAAgB,WAAW,YAgB1B"}
@@ -0,0 +1,37 @@
1
+ import { RefObject } from 'react';
2
+ /**
3
+ * Opções para o hook de impressão de contratos
4
+ */
5
+ export interface UsePrintContractOptions {
6
+ /** Callback chamado antes de iniciar a impressão */
7
+ onPrintStart?: () => void;
8
+ /** Callback chamado após impressão bem-sucedida */
9
+ onPrintSuccess?: () => void;
10
+ /** Callback chamado em caso de erro */
11
+ onPrintError?: (error: Error) => void;
12
+ /** Callback chamado antes de iniciar download do PDF */
13
+ onDownloadStart?: () => void;
14
+ /** Callback chamado após download bem-sucedido */
15
+ onDownloadSuccess?: () => void;
16
+ /** Callback chamado em caso de erro no download */
17
+ onDownloadError?: (error: Error) => void;
18
+ }
19
+ /**
20
+ * Hook para gerenciar impressão e download de contratos
21
+ *
22
+ * @example
23
+ * ```tsx
24
+ * const printRef = useRef<HTMLDivElement>(null);
25
+ * const { printContract, downloadPDF } = usePrintContract(printRef, 'FEE-2024-001', {
26
+ * onPrintSuccess: () => toast.success('Impresso!'),
27
+ * onDownloadSuccess: () => toast.success('PDF gerado!'),
28
+ * });
29
+ * ```
30
+ */
31
+ export declare function usePrintContract(contentRef: RefObject<HTMLElement | null>, contractNumber?: string, options?: UsePrintContractOptions): {
32
+ /** Imprime o contrato em nova janela */
33
+ printContract: () => void;
34
+ /** Gera e baixa PDF do contrato (implementação simulada) */
35
+ downloadPDF: () => void;
36
+ };
37
+ //# sourceMappingURL=use-print-contract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-print-contract.d.ts","sourceRoot":"","sources":["../../../src/components/ui/use-print-contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,mDAAmD;IACnD,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,uCAAuC;IACvC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACtC,wDAAwD;IACxD,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,kDAAkD;IAClD,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,mDAAmD;IACnD,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAC1C;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EACzC,cAAc,CAAC,EAAE,MAAM,EACvB,OAAO,GAAE,uBAA4B;IAwJnC,wCAAwC;;IAExC,4DAA4D;;EAG/D"}
@@ -0,0 +1,3 @@
1
+ import { ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
3
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/ui/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}