@iclips/ui 1.0.33 → 1.0.35
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/components/ui/advanced-data-table.d.ts +5 -41
- package/dist/components/ui/advanced-data-table.d.ts.map +1 -1
- package/dist/components/ui/app-layout-primary-nav.d.ts +9 -9
- package/dist/components/ui/app-layout-primary-nav.d.ts.map +1 -1
- package/dist/components/ui/app-layout-secondary-nav.d.ts +7 -7
- package/dist/components/ui/app-layout-secondary-nav.d.ts.map +1 -1
- package/dist/components/ui/app-layout-user-menu.d.ts +6 -6
- package/dist/components/ui/app-layout-user-menu.d.ts.map +1 -1
- package/dist/components/ui/app-layout.d.ts +6 -6
- package/dist/components/ui/app-layout.d.ts.map +1 -1
- package/dist/components/ui/auth-layout.d.ts +2 -2
- package/dist/components/ui/auth-layout.d.ts.map +1 -1
- package/dist/components/ui/brand-logo.d.ts +2 -2
- package/dist/components/ui/color-picker.d.ts +2 -2
- package/dist/components/ui/color-picker.d.ts.map +1 -1
- package/dist/components/ui/comment-system.d.ts +7 -16
- package/dist/components/ui/comment-system.d.ts.map +1 -1
- package/dist/components/ui/contract-print.d.ts +2 -2
- package/dist/components/ui/contract-print.d.ts.map +1 -1
- package/dist/components/ui/data-table.d.ts +6 -7
- package/dist/components/ui/data-table.d.ts.map +1 -1
- package/dist/components/ui/date-picker.d.ts +2 -2
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-range-picker.d.ts +4 -4
- package/dist/components/ui/date-range-picker.d.ts.map +1 -1
- package/dist/components/ui/document-editor.d.ts +4 -4
- package/dist/components/ui/document-editor.d.ts.map +1 -1
- package/dist/components/ui/editable-badge.d.ts +17 -7
- package/dist/components/ui/editable-badge.d.ts.map +1 -1
- package/dist/components/ui/editorial-calendar.d.ts +1 -8
- package/dist/components/ui/editorial-calendar.d.ts.map +1 -1
- package/dist/components/ui/filter-bar.d.ts +14 -4
- package/dist/components/ui/filter-bar.d.ts.map +1 -1
- package/dist/components/ui/filter-builder.d.ts +22 -7
- package/dist/components/ui/filter-builder.d.ts.map +1 -1
- package/dist/components/ui/filter-chip.d.ts +7 -2
- package/dist/components/ui/filter-chip.d.ts.map +1 -1
- package/dist/components/ui/gantt-chart.d.ts +3 -14
- package/dist/components/ui/gantt-chart.d.ts.map +1 -1
- package/dist/components/ui/illustrations.d.ts +8 -8
- package/dist/components/ui/illustrations.d.ts.map +1 -1
- package/dist/components/ui/kanban-card.d.ts +6 -6
- package/dist/components/ui/kanban-card.d.ts.map +1 -1
- package/dist/components/ui/kpi-card.d.ts +2 -2
- package/dist/components/ui/kpi-card.d.ts.map +1 -1
- package/dist/components/ui/mention-list.d.ts +2 -2
- package/dist/components/ui/mention-list.d.ts.map +1 -1
- package/dist/components/ui/page-header.d.ts +4 -4
- package/dist/components/ui/page-header.d.ts.map +1 -1
- package/dist/components/ui/password-input.d.ts +2 -2
- package/dist/components/ui/password-input.d.ts.map +1 -1
- package/dist/components/ui/saved-filters.d.ts +14 -4
- package/dist/components/ui/saved-filters.d.ts.map +1 -1
- package/dist/components/ui/skeleton.d.ts +3 -3
- package/dist/components/ui/skeleton.d.ts.map +1 -1
- package/dist/components/ui/social-button.d.ts +2 -2
- package/dist/components/ui/social-button.d.ts.map +1 -1
- package/dist/components/ui/table-pagination.d.ts +30 -20
- package/dist/components/ui/table-pagination.d.ts.map +1 -1
- package/dist/components/ui/table-types.d.ts +36 -0
- package/dist/components/ui/table-types.d.ts.map +1 -1
- package/dist/components/ui/table.d.ts +9 -9
- package/dist/components/ui/table.d.ts.map +1 -1
- package/dist/components/ui/task-edit-dialog.d.ts +2 -2
- package/dist/components/ui/task-edit-dialog.d.ts.map +1 -1
- package/dist/components/ui/time-picker.d.ts +2 -2
- package/dist/components/ui/time-picker.d.ts.map +1 -1
- package/dist/components/ui/timeline.d.ts +3 -7
- package/dist/components/ui/timeline.d.ts.map +1 -1
- package/dist/components/ui/underline-tabs.d.ts +8 -8
- package/dist/components/ui/underline-tabs.d.ts.map +1 -1
- package/dist/components/ui/use-print-contract.d.ts +2 -2
- package/dist/components/ui/use-print-contract.d.ts.map +1 -1
- package/dist/index.cjs +42 -42
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +12 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3286 -3289
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
export interface
|
|
2
|
+
export interface PropsTabela extends React.ComponentProps<"table"> {
|
|
3
3
|
}
|
|
4
|
-
export interface
|
|
4
|
+
export interface PropsCabecalhoTabela extends React.ComponentProps<"thead"> {
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface PropsCorpoTabela extends React.ComponentProps<"tbody"> {
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface PropsRodapeTabela extends React.ComponentProps<"tfoot"> {
|
|
9
9
|
}
|
|
10
|
-
export interface
|
|
10
|
+
export interface PropsLinhaTabela extends React.ComponentProps<"tr"> {
|
|
11
11
|
}
|
|
12
|
-
export interface
|
|
12
|
+
export interface PropsCabecalhoColuna extends React.ComponentProps<"th"> {
|
|
13
13
|
}
|
|
14
|
-
export interface
|
|
14
|
+
export interface PropsCelulaTabela extends React.ComponentProps<"td"> {
|
|
15
15
|
}
|
|
16
|
-
export interface
|
|
16
|
+
export interface PropsLegendaTabela extends React.ComponentProps<"caption"> {
|
|
17
17
|
}
|
|
18
|
-
declare const Table: React.ForwardRefExoticComponent<Omit<
|
|
18
|
+
declare const Table: React.ForwardRefExoticComponent<Omit<PropsTabela, "ref"> & React.RefAttributes<HTMLTableElement>>;
|
|
19
19
|
declare const TableHeader: React.ForwardRefExoticComponent<Omit<TableHeaderProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
20
20
|
declare const TableBody: React.ForwardRefExoticComponent<Omit<TableBodyProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
21
21
|
declare const TableFooter: React.ForwardRefExoticComponent<Omit<TableFooterProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -1 +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,
|
|
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,WAAY,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AACrE,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AAC9E,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AAC1E,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AAC3E,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;CAAG;AACvE,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;CAAG;AAC3E,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;CAAG;AACxE,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC;CAAG;AAM9E,QAAA,MAAM,KAAK,mGAgBV,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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GanttTask } from './gantt-chart';
|
|
2
|
-
export interface
|
|
2
|
+
export interface PropsDialogoEdicaoTarefa {
|
|
3
3
|
task: GanttTask | null;
|
|
4
4
|
open: boolean;
|
|
5
5
|
onOpenChange: (open: boolean) => void;
|
|
@@ -10,5 +10,5 @@ export interface TaskEditDialogProps {
|
|
|
10
10
|
initials?: string;
|
|
11
11
|
}[];
|
|
12
12
|
}
|
|
13
|
-
export declare function TaskEditDialog({ task, open, onOpenChange, onSave, availableTasks, availableAssignees, }:
|
|
13
|
+
export declare function TaskEditDialog({ task, open, onOpenChange, onSave, availableTasks, availableAssignees, }: PropsDialogoEdicaoTarefa): import("react/jsx-runtime").JSX.Element | null;
|
|
14
14
|
//# sourceMappingURL=task-edit-dialog.d.ts.map
|
|
@@ -1 +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,
|
|
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,wBAAwB;IACvC,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,wBAAwB,kDA0T1B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface PropsSeletorHora {
|
|
2
2
|
/**
|
|
3
3
|
* Valor atual no formato "HH:mm"
|
|
4
4
|
*/
|
|
@@ -76,7 +76,7 @@ export interface TimePickerProps {
|
|
|
76
76
|
* format="12h"
|
|
77
77
|
* />
|
|
78
78
|
*/
|
|
79
|
-
declare function TimePicker({ value, onChange, format, minuteStep, minTime, maxTime, disabled, placeholder, className, showIcon, variant, }:
|
|
79
|
+
declare function TimePicker({ value, onChange, format, minuteStep, minTime, maxTime, disabled, placeholder, className, showIcon, variant, }: PropsSeletorHora): import("react/jsx-runtime").JSX.Element | null;
|
|
80
80
|
declare namespace TimePicker {
|
|
81
81
|
var displayName: string;
|
|
82
82
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-picker.d.ts","sourceRoot":"","sources":["../../../src/components/ui/time-picker.tsx"],"names":[],"mappings":"AAgBA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"time-picker.d.ts","sourceRoot":"","sources":["../../../src/components/ui/time-picker.tsx"],"names":[],"mappings":"AAgBA,MAAM,WAAW,gBAAgB;IAC/B;;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,gBAAgB,kDA0OlB;kBAtPQ,UAAU;;;AA0PnB,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
export type TimelineActionType = 'create' | 'update' | 'status_change' | 'comment' | 'upload' | 'assignment';
|
|
3
|
-
export interface
|
|
3
|
+
export interface UsuarioTimeline {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
6
6
|
avatar?: string;
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface EventoTimeline {
|
|
9
9
|
id: string;
|
|
10
|
-
user:
|
|
10
|
+
user: UsuarioTimeline;
|
|
11
11
|
action: TimelineActionType;
|
|
12
12
|
title: string;
|
|
13
13
|
timestamp: Date;
|
|
@@ -18,10 +18,6 @@ export interface TimelineEvent {
|
|
|
18
18
|
fileName?: string;
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
interface TimelineProps {
|
|
22
|
-
events: TimelineEvent[];
|
|
23
|
-
className?: string;
|
|
24
|
-
}
|
|
25
21
|
export declare const Timeline: ({ events, className }: TimelineProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
22
|
export default Timeline;
|
|
27
23
|
//# sourceMappingURL=timeline.d.ts.map
|
|
@@ -1 +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,
|
|
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,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,eAAe,CAAC;IACtB,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;AAkJD,eAAO,MAAM,QAAQ,GAAI,uBAAuB,aAAa,4CAY5D,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
interface
|
|
2
|
+
interface PropsAbasSublinhadas {
|
|
3
3
|
defaultValue?: string;
|
|
4
4
|
value?: string;
|
|
5
5
|
onValueChange?: (value: string) => void;
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function UnderlineTabs({ defaultValue, value: controlledValue, onValueChange, children, className, }:
|
|
10
|
-
interface
|
|
9
|
+
export declare function UnderlineTabs({ defaultValue, value: controlledValue, onValueChange, children, className, }: PropsAbasSublinhadas): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
interface PropsListaAbasSublinhadas {
|
|
11
11
|
children: React.ReactNode;
|
|
12
12
|
className?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare function UnderlineTabsList({ children, className }:
|
|
15
|
-
interface
|
|
14
|
+
export declare function UnderlineTabsList({ children, className }: PropsListaAbasSublinhadas): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
interface PropsGatilhoAbasSublinhadas {
|
|
16
16
|
value: string;
|
|
17
17
|
children: React.ReactNode;
|
|
18
18
|
className?: string;
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
}
|
|
21
|
-
export declare function UnderlineTabsTrigger({ value: triggerValue, children, className, disabled, }:
|
|
22
|
-
interface
|
|
21
|
+
export declare function UnderlineTabsTrigger({ value: triggerValue, children, className, disabled, }: PropsGatilhoAbasSublinhadas): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
interface PropsConteudoAbasSublinhadas {
|
|
23
23
|
value: string;
|
|
24
24
|
children: React.ReactNode;
|
|
25
25
|
className?: string;
|
|
26
26
|
}
|
|
27
|
-
export declare function UnderlineTabsContent({ value: contentValue, children, className, }:
|
|
27
|
+
export declare function UnderlineTabsContent({ value: contentValue, children, className, }: PropsConteudoAbasSublinhadas): import("react/jsx-runtime").JSX.Element | null;
|
|
28
28
|
export {};
|
|
29
29
|
//# sourceMappingURL=underline-tabs.d.ts.map
|
|
@@ -1 +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,
|
|
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,oBAAoB;IAC5B,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,oBAAoB,2CAmBtB;AAED,UAAU,yBAAyB;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,yBAAyB,2CAMnF;AAED,UAAU,2BAA2B;IACnC,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,2BAA2B,2CAyB7B;AAED,UAAU,4BAA4B;IACpC,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,4BAA4B,kDAgB9B"}
|
|
@@ -2,7 +2,7 @@ import { RefObject } from 'react';
|
|
|
2
2
|
/**
|
|
3
3
|
* Opções para o hook de impressão de contratos
|
|
4
4
|
*/
|
|
5
|
-
export interface
|
|
5
|
+
export interface OpcoesUsarImpressaoContrato {
|
|
6
6
|
/** Callback chamado antes de iniciar a impressão */
|
|
7
7
|
onPrintStart?: () => void;
|
|
8
8
|
/** Callback chamado após impressão bem-sucedida */
|
|
@@ -28,7 +28,7 @@ export interface UsePrintContractOptions {
|
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
|
-
export declare function usePrintContract(contentRef: RefObject<HTMLElement | null>, contractNumber?: string, options?:
|
|
31
|
+
export declare function usePrintContract(contentRef: RefObject<HTMLElement | null>, contractNumber?: string, options?: OpcoesUsarImpressaoContrato): {
|
|
32
32
|
/** Imprime o contrato em nova janela */
|
|
33
33
|
printContract: () => void;
|
|
34
34
|
/** Gera e baixa PDF do contrato (implementação simulada) */
|
|
@@ -1 +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,
|
|
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,2BAA2B;IAC1C,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,2BAAgC;IAwJvC,wCAAwC;;IAExC,4DAA4D;;EAG/D"}
|