forlogic-core 3.0.7 → 3.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/action-plans/components/ActionPlanAttachmentsTab.d.ts +1 -2
- package/dist/action-plans/components/ActionPlanCommentsTab.d.ts +1 -2
- package/dist/action-plans/components/ActionPlanCostTab.d.ts +1 -2
- package/dist/action-plans/components/ActionPlanGeneralTab.d.ts +1 -2
- package/dist/action-plans/components/ActionPlanHistoryTab.d.ts +1 -2
- package/dist/action-plans/components/ActionPlanPage.d.ts +1 -2
- package/dist/action-plans/components/ActionPlanPredecessorsTab.d.ts +1 -2
- package/dist/action-plans/components/ActionPlanProgressDialog.d.ts +1 -2
- package/dist/action-plans/components/ActionPlanProgressTab.d.ts +1 -2
- package/dist/action-plans/components/ActionPlanStatusBadge.d.ts +1 -2
- package/dist/approval-flow/components/ApprovalSidenav.d.ts +1 -2
- package/dist/approval-flow/components/ApproveDialog.d.ts +1 -2
- package/dist/approval-flow/components/SelectApproverDialog.d.ts +1 -2
- package/dist/assets/docs-B0zKxObE.js +10737 -0
- package/dist/assets/docs-C6tBkXro.css +1 -0
- package/dist/assets/index-Cn6_G5_A.js +96 -0
- package/dist/audit-trail/components/AuditTrailDetails.d.ts +1 -2
- package/dist/audit-trail/components/AuditTrailFilter.d.ts +1 -2
- package/dist/audit-trail/components/AuditTrailPage.d.ts +1 -2
- package/dist/auth/components/AliasRedirect.d.ts +1 -1
- package/dist/auth/components/AliasRouteGuard.d.ts +1 -1
- package/dist/auth/pages/CallbackPage.d.ts +1 -1
- package/dist/components/ErrorBoundary.d.ts +1 -1
- package/dist/components/dashboards/dashboard-form.d.ts +1 -1
- package/dist/components/dashboards/dashboard-general-view.d.ts +1 -1
- package/dist/components/dashboards/dashboard-grid.d.ts +1 -1
- package/dist/components/dashboards/dashboard-list.d.ts +1 -1
- package/dist/components/dashboards/dashboard-view.d.ts +1 -1
- package/dist/components/dashboards/panels/burndown-panel.d.ts +1 -2
- package/dist/components/dashboards/panels/cartesian-panel.d.ts +1 -2
- package/dist/components/dashboards/panels/list-panel.d.ts +1 -1
- package/dist/components/dashboards/panels/matrix-risk-panel.d.ts +1 -2
- package/dist/components/dashboards/panels/numeric-panel.d.ts +1 -2
- package/dist/components/dashboards/panels/panel-error.d.ts +1 -2
- package/dist/components/dashboards/panels/panel-header.d.ts +2 -2
- package/dist/components/dashboards/panels/panel-loader.d.ts +1 -2
- package/dist/components/dashboards/panels/panel-no-data.d.ts +1 -2
- package/dist/components/dashboards/panels/panel-unavailable.d.ts +1 -2
- package/dist/components/dashboards/panels/pareto-panel.d.ts +1 -2
- package/dist/components/dashboards/panels/performance-panel.d.ts +1 -2
- package/dist/components/dashboards/panels/pie-panel.d.ts +1 -2
- package/dist/components/dashboards/panels/text-panel.d.ts +1 -2
- package/dist/components/layout/AppSidebar.d.ts +1 -1
- package/dist/components/layout/BodyContent.d.ts +2 -2
- package/dist/components/layout/SidebarActionTrigger.d.ts +1 -1
- package/dist/components/layout/SidebarHeader.d.ts +1 -1
- package/dist/components/layout/SidebarLogo.d.ts +1 -1
- package/dist/components/modules/AccessDeniedDialog.d.ts +1 -1
- package/dist/components/modules/ModuleAccessGuard.d.ts +1 -1
- package/dist/components/modules/ModuleGrid.d.ts +1 -1
- package/dist/components/modules/ModuleOfferContent.d.ts +1 -1
- package/dist/components/modules/ModulesContent.d.ts +1 -1
- package/dist/components/modules/ModulesDialog.d.ts +1 -1
- package/dist/components/modules/ModulesFooterCards.d.ts +1 -1
- package/dist/components/modules/icons/ModulesCardIcons.d.ts +3 -4
- package/dist/components/ui/alert-dialog.d.ts +2 -2
- package/dist/components/ui/breadcrumb.d.ts +2 -2
- package/dist/components/ui/calendar.d.ts +1 -1
- package/dist/components/ui/chart.d.ts +1 -1
- package/dist/components/ui/combo-tree.d.ts +1 -1
- package/dist/components/ui/combobox.d.ts +1 -1
- package/dist/components/ui/command.d.ts +2 -2
- package/dist/components/ui/context-menu.d.ts +1 -1
- package/dist/components/ui/data-list.d.ts +3 -3
- package/dist/components/ui/date-picker.d.ts +1 -2
- package/dist/components/ui/dialog-wizard.d.ts +1 -1
- package/dist/components/ui/dialog.d.ts +3 -3
- package/dist/components/ui/drawer.d.ts +3 -3
- package/dist/components/ui/dropdown-menu.d.ts +1 -1
- package/dist/components/ui/electronic-signature-dialog.d.ts +1 -2
- package/dist/components/ui/empty-state.d.ts +1 -1
- package/dist/components/ui/export-dialog.d.ts +1 -1
- package/dist/components/ui/form.d.ts +1 -1
- package/dist/components/ui/grid.d.ts +1 -1
- package/dist/components/ui/iframe-dialog.d.ts +1 -2
- package/dist/components/ui/loading-state.d.ts +1 -1
- package/dist/components/ui/menubar.d.ts +2 -2
- package/dist/components/ui/multiselect-permissions.d.ts +1 -1
- package/dist/components/ui/online-editor-dialog.d.ts +1 -2
- package/dist/components/ui/page-breadcrumb.d.ts +1 -1
- package/dist/components/ui/pagination.d.ts +5 -5
- package/dist/components/ui/report-request-list.d.ts +1 -2
- package/dist/components/ui/resizable.d.ts +3 -3
- package/dist/components/ui/select.d.ts +1 -1
- package/dist/components/ui/sheet.d.ts +3 -3
- package/dist/components/ui/skeleton-variants.d.ts +5 -5
- package/dist/components/ui/skeleton.d.ts +1 -1
- package/dist/components/ui/sonner.d.ts +1 -1
- package/dist/components/ui/spinner.d.ts +1 -1
- package/dist/components/ui/split-button.d.ts +1 -2
- package/dist/components/ui/stack.d.ts +1 -1
- package/dist/components/ui/status-badge.d.ts +1 -2
- package/dist/components/ui/step-selector.d.ts +1 -2
- package/dist/components/ui/stimulsoft-viewer.d.ts +1 -2
- package/dist/components/ui/tab-page-layout.d.ts +3 -3
- package/dist/components/ui/terms-of-use-dialog.d.ts +2 -3
- package/dist/components/ui/tooltip.d.ts +1 -1
- package/dist/components/ui/truncated-cell.d.ts +1 -1
- package/dist/components/ui/users-groups-selector.d.ts +1 -2
- package/dist/components/ui/viewer-dialog.d.ts +1 -2
- package/dist/contexts/ModalStateContext.d.ts +1 -1
- package/dist/contexts/ModuleContext.d.ts +2 -2
- package/dist/contexts/NavigationContext.d.ts +2 -2
- package/dist/contexts/PageMetadataContext.d.ts +1 -1
- package/dist/crud/components/BaseForm.d.ts +1 -2
- package/dist/crud/components/ColumnSettingsPopover.d.ts +1 -2
- package/dist/crud/components/ContextMenu.d.ts +1 -2
- package/dist/crud/components/CrudActionBar.d.ts +1 -1
- package/dist/crud/components/CrudGrid.d.ts +1 -1
- package/dist/crud/components/CrudPagination.d.ts +1 -2
- package/dist/crud/components/CrudTable.d.ts +1 -1
- package/dist/crud/components/FilterBar.d.ts +1 -1
- package/dist/crud/components/GroupDropZone.d.ts +1 -2
- package/dist/crud/components/TableFooter.d.ts +1 -2
- package/dist/crud/createCrudPage.d.ts +1 -1
- package/dist/crud/primitives/ActionMenu.d.ts +1 -2
- package/dist/crud/primitives/FilterBar.d.ts +1 -2
- package/dist/crud/primitives/Pagination.d.ts +1 -2
- package/dist/crud/primitives/Table.d.ts +1 -2
- package/dist/crud/primitives/TreeTable.d.ts +1 -2
- package/dist/custom-form-fields/components/CustomFormFields.d.ts +1 -2
- package/dist/custom-form-fields/fields/FormDateField.d.ts +1 -2
- package/dist/custom-form-fields/fields/FormMultiSelectionField.d.ts +1 -2
- package/dist/custom-form-fields/fields/FormNumericField.d.ts +1 -2
- package/dist/custom-form-fields/fields/FormQuestionsField.d.ts +1 -2
- package/dist/custom-form-fields/fields/FormSingleSelectionField.d.ts +1 -2
- package/dist/custom-form-fields/fields/FormTextField.d.ts +1 -2
- package/dist/custom-form-fields/fields/FormTimeField.d.ts +1 -2
- package/dist/custom-form-fields/fields/FormUrlField.d.ts +1 -2
- package/dist/custom-form-fields/fields/ReadOnlyTextField.d.ts +1 -2
- package/dist/documents/components/DocumentFileUpload.d.ts +1 -1
- package/dist/documents/components/DocumentFileViewer.d.ts +27 -0
- package/dist/documents/documentsApi.d.ts +11 -0
- package/dist/documents/index.d.ts +1 -0
- package/dist/file-upload/components/SingleFileUpload.d.ts +1 -1
- package/dist/hooks/useSidebarResize.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.html +3 -3
- package/dist/index.js +1 -1
- package/dist/leadership/components/LeadershipDialog.d.ts +1 -1
- package/dist/leadership/components/LeadershipForm.d.ts +1 -1
- package/dist/leadership/components/LeadershipPage.d.ts +1 -1
- package/dist/leadership/dataSource.d.ts +40 -0
- package/dist/leadership/index.d.ts +1 -0
- package/dist/leadership/index.esm.js +1 -1
- package/dist/leadership/index.js +1 -1
- package/dist/media/components/ImageEditor.d.ts +1 -1
- package/dist/media/components/ImageRenderer.d.ts +1 -1
- package/dist/media/components/VideoEditor.d.ts +1 -1
- package/dist/media/components/VideoRenderer.d.ts +1 -1
- package/dist/places/components/ManageAccessModal.d.ts +1 -1
- package/dist/places/components/PlaceCard.d.ts +1 -1
- package/dist/places/components/PlacesList.d.ts +1 -1
- package/dist/providers/CoreProviders.d.ts +2 -2
- package/dist/sign/components/D4SignWebhookTester.d.ts +1 -1
- package/dist/sign/components/D4SignWidget.d.ts +1 -1
- package/dist/sign/components/DocumentSigner.d.ts +1 -1
- package/dist/sign/components/SignConfigForm.d.ts +1 -1
- package/dist/sign/components/SignWidget.d.ts +1 -1
- package/dist/team-selector/components/TeamSelector.d.ts +1 -2
- package/dist/updates/components/UpdatesBar.d.ts +1 -1
- package/dist/updates/components/UpdatesDialog.d.ts +1 -1
- package/dist/updates/components/UpdatesFeedPage.d.ts +1 -1
- package/dist/updates/components/UserUpdatesViewer.d.ts +1 -1
- package/package.json +1 -1
- package/dist/assets/docs-1d6MGrPE.css +0 -1
- package/dist/assets/docs-ydt-OFGc.js +0 -10728
- package/dist/assets/index-CC48E5gt.js +0 -104
|
@@ -174,7 +174,7 @@ declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<Dropdo
|
|
|
174
174
|
* </DropdownMenuItem>
|
|
175
175
|
*/
|
|
176
176
|
declare const DropdownMenuShortcut: {
|
|
177
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>):
|
|
177
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
178
178
|
displayName: string;
|
|
179
179
|
};
|
|
180
180
|
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
/**
|
|
3
2
|
* Tipo `ElectronicSignatureDialogProps` exportado pela lib.
|
|
4
3
|
* @example
|
|
@@ -29,4 +28,4 @@ export interface ElectronicSignatureDialogProps {
|
|
|
29
28
|
* @example
|
|
30
29
|
* ElectronicSignatureDialog();
|
|
31
30
|
*/
|
|
32
|
-
export declare function ElectronicSignatureDialog({ open, onOpenChange, onConfirm, onGenerateCode, mode, email, maxLength, title, description, confirmLabel, cancelLabel, resendLabel, errorMessage, }: ElectronicSignatureDialogProps):
|
|
31
|
+
export declare function ElectronicSignatureDialog({ open, onOpenChange, onConfirm, onGenerateCode, mode, email, maxLength, title, description, confirmLabel, cancelLabel, resendLabel, errorMessage, }: ElectronicSignatureDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -75,5 +75,5 @@ interface EmptyStateProps {
|
|
|
75
75
|
* - Botão de ação opcional
|
|
76
76
|
* - Centralizado e responsivo
|
|
77
77
|
*/
|
|
78
|
-
export declare function EmptyState({ icon, title, description, action, className, variant }: EmptyStateProps): import("react").JSX.Element;
|
|
78
|
+
export declare function EmptyState({ icon, title, description, action, className, variant }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
79
79
|
export {};
|
|
@@ -45,4 +45,4 @@ export interface ExportDialogProps {
|
|
|
45
45
|
* @example
|
|
46
46
|
* ExportDialog();
|
|
47
47
|
*/
|
|
48
|
-
export declare function ExportDialog({ open, onOpenChange, onExport, mode, options, title, description, cancelLabel, exportLabel, }: ExportDialogProps):
|
|
48
|
+
export declare function ExportDialog({ open, onOpenChange, onExport, mode, options, title, description, cancelLabel, exportLabel, }: ExportDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -43,7 +43,7 @@ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransfor
|
|
|
43
43
|
*
|
|
44
44
|
* @see `docs/design-system/inputs.md`
|
|
45
45
|
*/
|
|
46
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) =>
|
|
46
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
|
|
47
47
|
/**
|
|
48
48
|
* Hook interno usado pelos subcomponentes (`FormLabel`, `FormControl`,
|
|
49
49
|
* `FormDescription`, `FormMessage`) para acessar IDs e estado de erro do campo
|
|
@@ -49,5 +49,5 @@ interface GridProps {
|
|
|
49
49
|
* - `lg`: 1.5rem (24px)
|
|
50
50
|
* - `xl`: 2rem (32px)
|
|
51
51
|
*/
|
|
52
|
-
export declare function Grid({ children, cols, gap, className }: GridProps): import("react").JSX.Element;
|
|
52
|
+
export declare function Grid({ children, cols, gap, className }: GridProps): import("react/jsx-runtime").JSX.Element;
|
|
53
53
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
/**
|
|
3
2
|
* Tipo `IframeDialogProps` exportado pela lib.
|
|
4
3
|
* @example
|
|
@@ -21,5 +20,5 @@ export interface IframeDialogProps {
|
|
|
21
20
|
* @example
|
|
22
21
|
* IframeDialog();
|
|
23
22
|
*/
|
|
24
|
-
export declare function IframeDialog({ open, onOpenChange, url, title, className, minHeight, }: IframeDialogProps):
|
|
23
|
+
export declare function IframeDialog({ open, onOpenChange, url, title, className, minHeight, }: IframeDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
25
24
|
export default IframeDialog;
|
|
@@ -48,5 +48,5 @@ interface LoadingStateProps {
|
|
|
48
48
|
* @param props.size Tamanho do spinner: "sm" | "md" | "lg" (default: "md")
|
|
49
49
|
* @param props.className Classes CSS adicionais
|
|
50
50
|
*/
|
|
51
|
-
export declare function LoadingState({ isLoading, children, className, type, size }: LoadingStateProps): import("react").JSX.Element;
|
|
51
|
+
export declare function LoadingState({ isLoading, children, className, type, size }: LoadingStateProps): import("react/jsx-runtime").JSX.Element;
|
|
52
52
|
export {};
|
|
@@ -8,7 +8,7 @@ import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
|
8
8
|
declare const MenubarMenu: {
|
|
9
9
|
(props: MenubarPrimitive.MenubarMenuProps & {
|
|
10
10
|
__scopeMenubar?: import("@radix-ui/react-context").Scope;
|
|
11
|
-
}):
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
@@ -107,7 +107,7 @@ declare const MenubarSeparator: React.ForwardRefExoticComponent<Omit<MenubarPrim
|
|
|
107
107
|
* <MenubarShortcut />
|
|
108
108
|
*/
|
|
109
109
|
declare const MenubarShortcut: {
|
|
110
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>):
|
|
110
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
111
111
|
displayname: string;
|
|
112
112
|
};
|
|
113
113
|
export { Menubar, MenubarMenu, MenubarTrigger, MenubarContent, MenubarItem, MenubarSeparator, MenubarLabel, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarPortal, MenubarSubContent, MenubarSubTrigger, MenubarGroup, MenubarSub, MenubarShortcut, };
|
|
@@ -81,4 +81,4 @@ export interface MultiselectPermissionsProps {
|
|
|
81
81
|
* @example
|
|
82
82
|
* MultiselectPermissions();
|
|
83
83
|
*/
|
|
84
|
-
export declare function MultiselectPermissions({ items, categories, value, onChange, readonly, isLoading, title, addButtonLabel, chipsTitle, chipsPlaceholder, searchPlaceholder, selectPlaceholder, itemInfoTemplate, disclaimer, disclaimerLink, onDisclaimerClick, className, }: MultiselectPermissionsProps):
|
|
84
|
+
export declare function MultiselectPermissions({ items, categories, value, onChange, readonly, isLoading, title, addButtonLabel, chipsTitle, chipsPlaceholder, searchPlaceholder, selectPlaceholder, itemInfoTemplate, disclaimer, disclaimerLink, onDisclaimerClick, className, }: MultiselectPermissionsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
/**
|
|
3
2
|
* Tipo `OnlineEditorDialogProps` exportado pela lib.
|
|
4
3
|
* @example
|
|
@@ -25,5 +24,5 @@ export interface OnlineEditorDialogProps {
|
|
|
25
24
|
* @example
|
|
26
25
|
* OnlineEditorDialog();
|
|
27
26
|
*/
|
|
28
|
-
export declare function OnlineEditorDialog({ open, onOpenChange, identifier, fileName, mode, type, onClose, className, }: OnlineEditorDialogProps):
|
|
27
|
+
export declare function OnlineEditorDialog({ open, onOpenChange, identifier, fileName, mode, type, onClose, className, }: OnlineEditorDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
29
28
|
export default OnlineEditorDialog;
|
|
@@ -50,7 +50,7 @@ interface PageBreadcrumbProps {
|
|
|
50
50
|
* - Indica página atual
|
|
51
51
|
* - Navegação por links
|
|
52
52
|
*/
|
|
53
|
-
export declare function PageBreadcrumb({ items, maxItems, className }: PageBreadcrumbProps): import("react").JSX.Element;
|
|
53
|
+
export declare function PageBreadcrumb({ items, maxItems, className }: PageBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
|
|
54
54
|
/**
|
|
55
55
|
* useRouteBreadcrumbs Hook
|
|
56
56
|
*
|
|
@@ -24,7 +24,7 @@ import { ButtonProps } from "./button";
|
|
|
24
24
|
* <Pagination />
|
|
25
25
|
*/
|
|
26
26
|
declare const Pagination: {
|
|
27
|
-
({ className, ...props }: React.ComponentProps<"nav">):
|
|
27
|
+
({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
displayName: string;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
@@ -48,7 +48,7 @@ type PaginationLinkProps = {
|
|
|
48
48
|
* <PaginationLink />
|
|
49
49
|
*/
|
|
50
50
|
declare const PaginationLink: {
|
|
51
|
-
({ className, isActive, size, ...props }: PaginationLinkProps):
|
|
51
|
+
({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
54
54
|
/**
|
|
@@ -57,7 +57,7 @@ declare const PaginationLink: {
|
|
|
57
57
|
* <PaginationPrevious />
|
|
58
58
|
*/
|
|
59
59
|
declare const PaginationPrevious: {
|
|
60
|
-
({ className, ...props }: React.ComponentProps<typeof PaginationLink>):
|
|
60
|
+
({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
|
|
61
61
|
displayName: string;
|
|
62
62
|
};
|
|
63
63
|
/**
|
|
@@ -66,7 +66,7 @@ declare const PaginationPrevious: {
|
|
|
66
66
|
* <PaginationNext />
|
|
67
67
|
*/
|
|
68
68
|
declare const PaginationNext: {
|
|
69
|
-
({ className, ...props }: React.ComponentProps<typeof PaginationLink>):
|
|
69
|
+
({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
|
|
70
70
|
displayName: string;
|
|
71
71
|
};
|
|
72
72
|
/**
|
|
@@ -75,7 +75,7 @@ declare const PaginationNext: {
|
|
|
75
75
|
* <PaginationEllipsis />
|
|
76
76
|
*/
|
|
77
77
|
declare const PaginationEllipsis: {
|
|
78
|
-
({ className, ...props }: React.ComponentProps<"span">):
|
|
78
|
+
({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
79
79
|
displayName: string;
|
|
80
80
|
};
|
|
81
81
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
/**
|
|
3
2
|
* Enum `ReportRequestStatus` exportado pela lib.
|
|
4
3
|
* @example
|
|
@@ -62,4 +61,4 @@ export interface ReportRequestListProps {
|
|
|
62
61
|
* @example
|
|
63
62
|
* ReportRequestList();
|
|
64
63
|
*/
|
|
65
|
-
export declare function ReportRequestList({ requests, isLoading, onGetReportUrl, formatDate, labels: customLabels, className, }: ReportRequestListProps):
|
|
64
|
+
export declare function ReportRequestList({ requests, isLoading, onGetReportUrl, formatDate, labels: customLabels, className, }: ReportRequestListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,13 +4,13 @@ import * as ResizablePrimitive from "react-resizable-panels";
|
|
|
4
4
|
* @example
|
|
5
5
|
* <ResizablePanelGroup />
|
|
6
6
|
*/
|
|
7
|
-
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => import("react").JSX.Element;
|
|
7
|
+
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
/**
|
|
9
9
|
* Componente `ResizablePanel` da lib.
|
|
10
10
|
* @example
|
|
11
11
|
* <ResizablePanel />
|
|
12
12
|
*/
|
|
13
|
-
declare const ResizablePanel: import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLLinkElement | HTMLElement | HTMLHeadElement | HTMLButtonElement |
|
|
13
|
+
declare const ResizablePanel: import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLLinkElement | HTMLElement | HTMLHeadElement | HTMLButtonElement | HTMLInputElement | HTMLDivElement | HTMLLabelElement | HTMLObjectElement | HTMLAnchorElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadingElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLLegendElement | HTMLLIElement | HTMLMapElement | HTMLMetaElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLParagraphElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSlotElement | HTMLSourceElement | HTMLSpanElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
|
|
14
14
|
className?: string;
|
|
15
15
|
collapsedSize?: number | undefined;
|
|
16
16
|
collapsible?: boolean | undefined;
|
|
@@ -34,5 +34,5 @@ declare const ResizablePanel: import("react").ForwardRefExoticComponent<Omit<imp
|
|
|
34
34
|
*/
|
|
35
35
|
declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
36
36
|
withHandle?: boolean;
|
|
37
|
-
}) => import("react").JSX.Element;
|
|
37
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
38
38
|
export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
|
|
@@ -33,7 +33,7 @@ import * as SelectPrimitive from "@radix-ui/react-select";
|
|
|
33
33
|
*/
|
|
34
34
|
declare const Select: ({ showCheck, ...props }: React.ComponentProps<typeof SelectPrimitive.Root> & {
|
|
35
35
|
showCheck?: boolean;
|
|
36
|
-
}) =>
|
|
36
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
37
37
|
/**
|
|
38
38
|
* Componente `SelectGroup` da lib.
|
|
39
39
|
* @example
|
|
@@ -61,7 +61,7 @@ interface SheetHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
61
61
|
* </SheetHeader>
|
|
62
62
|
*/
|
|
63
63
|
declare const SheetHeader: {
|
|
64
|
-
({ className, showSeparator, children, ...props }: SheetHeaderProps):
|
|
64
|
+
({ className, showSeparator, children, ...props }: SheetHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
65
65
|
displayName: string;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
@@ -74,7 +74,7 @@ declare const SheetHeader: {
|
|
|
74
74
|
* </SheetBody>
|
|
75
75
|
*/
|
|
76
76
|
declare const SheetBody: {
|
|
77
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
77
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
78
78
|
displayName: string;
|
|
79
79
|
};
|
|
80
80
|
/**
|
|
@@ -87,7 +87,7 @@ declare const SheetBody: {
|
|
|
87
87
|
* </SheetFooter>
|
|
88
88
|
*/
|
|
89
89
|
declare const SheetFooter: {
|
|
90
|
-
({ className, children, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
90
|
+
({ className, children, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
91
91
|
displayName: string;
|
|
92
92
|
};
|
|
93
93
|
/**
|
|
@@ -13,29 +13,29 @@ interface FormSkeletonProps {
|
|
|
13
13
|
* @example
|
|
14
14
|
* TableSkeleton();
|
|
15
15
|
*/
|
|
16
|
-
export declare function TableSkeleton({ rows, columns }: TableSkeletonProps): import("react").JSX.Element;
|
|
16
|
+
export declare function TableSkeleton({ rows, columns }: TableSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
/**
|
|
18
18
|
* Função utilitária `CardSkeleton`.
|
|
19
19
|
* @example
|
|
20
20
|
* CardSkeleton();
|
|
21
21
|
*/
|
|
22
|
-
export declare function CardSkeleton({ count }: CardSkeletonProps): import("react").JSX.Element;
|
|
22
|
+
export declare function CardSkeleton({ count }: CardSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
/**
|
|
24
24
|
* Função utilitária `FormSkeleton`.
|
|
25
25
|
* @example
|
|
26
26
|
* FormSkeleton();
|
|
27
27
|
*/
|
|
28
|
-
export declare function FormSkeleton({ fields }: FormSkeletonProps): import("react").JSX.Element;
|
|
28
|
+
export declare function FormSkeleton({ fields }: FormSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
/**
|
|
30
30
|
* Função utilitária `HeaderSkeleton`.
|
|
31
31
|
* @example
|
|
32
32
|
* HeaderSkeleton();
|
|
33
33
|
*/
|
|
34
|
-
export declare function HeaderSkeleton(): import("react").JSX.Element;
|
|
34
|
+
export declare function HeaderSkeleton(): import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
/**
|
|
36
36
|
* Função utilitária `SidebarSkeleton`.
|
|
37
37
|
* @example
|
|
38
38
|
* SidebarSkeleton();
|
|
39
39
|
*/
|
|
40
|
-
export declare function SidebarSkeleton(): import("react").JSX.Element;
|
|
40
|
+
export declare function SidebarSkeleton(): import("react/jsx-runtime").JSX.Element;
|
|
41
41
|
export {};
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
* {isLoading ? <Skeleton className="h-4 w-32" /> : <span>{name}</span>}
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
|
-
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
13
|
+
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export { Skeleton };
|
|
@@ -4,5 +4,5 @@ import { ToasterProps, toast } from "sonner";
|
|
|
4
4
|
* @example
|
|
5
5
|
* <Toaster />
|
|
6
6
|
*/
|
|
7
|
-
declare const Toaster: ({ ...props }: ToasterProps) => import("react").JSX.Element;
|
|
7
|
+
declare const Toaster: ({ ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export { Toaster, toast };
|
|
@@ -7,5 +7,5 @@ interface SpinnerProps {
|
|
|
7
7
|
* @example
|
|
8
8
|
* Spinner();
|
|
9
9
|
*/
|
|
10
|
-
export declare function Spinner({ size, className }: SpinnerProps): import("react").JSX.Element;
|
|
10
|
+
export declare function Spinner({ size, className }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { buttonVariants } from './button';
|
|
3
2
|
import type { VariantProps } from 'class-variance-authority';
|
|
4
3
|
import type { LucideIcon } from 'lucide-react';
|
|
@@ -74,4 +73,4 @@ export interface SplitButtonProps extends Omit<VariantProps<typeof buttonVariant
|
|
|
74
73
|
* @see {@link https://ui.shadcn.com/docs/components/button Button}
|
|
75
74
|
* @see {@link https://ui.shadcn.com/docs/components/dropdown-menu DropdownMenu}
|
|
76
75
|
*/
|
|
77
|
-
export declare function SplitButton({ label, onClick, icon: Icon, actions, variant, size, disabled, loading, menuAlign, className, }: SplitButtonProps):
|
|
76
|
+
export declare function SplitButton({ label, onClick, icon: Icon, actions, variant, size, disabled, loading, menuAlign, className, }: SplitButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,5 +13,5 @@ interface StackProps {
|
|
|
13
13
|
* @example
|
|
14
14
|
* Stack();
|
|
15
15
|
*/
|
|
16
|
-
export declare function Stack({ children, direction, gap, align, justify, wrap, className }: StackProps): import("react").JSX.Element;
|
|
16
|
+
export declare function Stack({ children, direction, gap, align, justify, wrap, className }: StackProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type LucideIcon } from 'lucide-react';
|
|
3
2
|
export interface StatusBadgeProps {
|
|
4
3
|
/** Texto exibido no badge */
|
|
@@ -32,7 +31,7 @@ export interface StatusConfig {
|
|
|
32
31
|
* @example
|
|
33
32
|
* StatusBadge();
|
|
34
33
|
*/
|
|
35
|
-
export declare function StatusBadge({ label, color, icon: Icon, showIcon, size, variant, backgroundColor, className, }: StatusBadgeProps):
|
|
34
|
+
export declare function StatusBadge({ label, color, icon: Icon, showIcon, size, variant, backgroundColor, className, }: StatusBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
36
35
|
/**
|
|
37
36
|
* Cria um lookup type-safe de configuração de status.
|
|
38
37
|
* Útil para mapear enums de domínio para props do StatusBadge.
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
/**
|
|
3
2
|
* @deprecated Use `DialogWizard` para wizards em dialogs. O `StepSelector` será removido em versão futura.
|
|
4
3
|
* Para wizards dentro de Dialog, use o componente `DialogWizard` que implementa o padrão v2
|
|
@@ -43,5 +42,5 @@ export interface StepSelectorProps {
|
|
|
43
42
|
* @example
|
|
44
43
|
* StepSelector();
|
|
45
44
|
*/
|
|
46
|
-
declare function StepSelector({ currentStep, totalSteps, onStepChange, stepLabels, canGoToStep, className, progressWidth, }: StepSelectorProps):
|
|
45
|
+
declare function StepSelector({ currentStep, totalSteps, onStepChange, stepLabels, canGoToStep, className, progressWidth, }: StepSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
47
46
|
export { StepSelector };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type IframeDialogProps } from './iframe-dialog';
|
|
3
2
|
/**
|
|
4
3
|
* Tipo `StimulsoftViewerProps` exportado pela lib.
|
|
@@ -25,5 +24,5 @@ export interface StimulsoftViewerProps extends Omit<IframeDialogProps, 'url' | '
|
|
|
25
24
|
* @example
|
|
26
25
|
* StimulsoftViewer();
|
|
27
26
|
*/
|
|
28
|
-
export declare function StimulsoftViewer({ reportApiUrl, parameters, minHeight, ...dialogProps }: StimulsoftViewerProps):
|
|
27
|
+
export declare function StimulsoftViewer({ reportApiUrl, parameters, minHeight, ...dialogProps }: StimulsoftViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
29
28
|
export default StimulsoftViewer;
|
|
@@ -36,17 +36,17 @@ interface TabPageContentProps {
|
|
|
36
36
|
* @example
|
|
37
37
|
* TabPageLayout();
|
|
38
38
|
*/
|
|
39
|
-
export declare function TabPageLayout({ children, className }: TabPageLayoutProps): import("react").JSX.Element;
|
|
39
|
+
export declare function TabPageLayout({ children, className }: TabPageLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
/**
|
|
41
41
|
* Função utilitária `TabPageHeader`.
|
|
42
42
|
* @example
|
|
43
43
|
* TabPageHeader();
|
|
44
44
|
*/
|
|
45
|
-
export declare function TabPageHeader({ title, description, actions, className }: TabPageHeaderProps): import("react").JSX.Element;
|
|
45
|
+
export declare function TabPageHeader({ title, description, actions, className }: TabPageHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
46
46
|
/**
|
|
47
47
|
* Função utilitária `TabPageContent`.
|
|
48
48
|
* @example
|
|
49
49
|
* TabPageContent();
|
|
50
50
|
*/
|
|
51
|
-
export declare function TabPageContent({ children, className }: TabPageContentProps): import("react").JSX.Element;
|
|
51
|
+
export declare function TabPageContent({ children, className }: TabPageContentProps): import("react/jsx-runtime").JSX.Element;
|
|
52
52
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
/**
|
|
3
2
|
* Termo de uso a ser exibido. `file` é base64 (PDF/imagem); `description` aceita HTML.
|
|
4
3
|
*
|
|
@@ -85,7 +84,7 @@ export interface TermsOfUseViewerProps {
|
|
|
85
84
|
* />
|
|
86
85
|
* ```
|
|
87
86
|
*/
|
|
88
|
-
export declare function TermsOfUseDialog({ term, open, onClose, onAgree, title, seeLaterLabel, agreeLabel, viewTermLabel, }: TermsOfUseDialogProps):
|
|
87
|
+
export declare function TermsOfUseDialog({ term, open, onClose, onAgree, title, seeLaterLabel, agreeLabel, viewTermLabel, }: TermsOfUseDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
89
88
|
/**
|
|
90
89
|
* Visualizador full-screen do arquivo do termo de uso (PDF etc.) em iframe.
|
|
91
90
|
* Mostra opcionalmente um botão de assinar (oculto se `viewOnly` ou se já assinado).
|
|
@@ -100,4 +99,4 @@ export declare function TermsOfUseDialog({ term, open, onClose, onAgree, title,
|
|
|
100
99
|
* />
|
|
101
100
|
* ```
|
|
102
101
|
*/
|
|
103
|
-
export declare function TermsOfUseViewer({ term, open, onClose, onSign, viewOnly, title, signLabel, }: TermsOfUseViewerProps):
|
|
102
|
+
export declare function TermsOfUseViewer({ term, open, onClose, onSign, viewOnly, title, signLabel, }: TermsOfUseViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -19,7 +19,7 @@ import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
|
19
19
|
* </TooltipProvider>
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
declare const TooltipProvider: ({ delayDuration, ...props }: React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>) =>
|
|
22
|
+
declare const TooltipProvider: ({ delayDuration, ...props }: React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
/**
|
|
24
24
|
* Raiz de uma instância de tooltip. Re-exporta `TooltipPrimitive.Root` do Radix.
|
|
25
25
|
*
|
|
@@ -16,5 +16,5 @@ interface TruncatedCellProps {
|
|
|
16
16
|
*
|
|
17
17
|
* @see `docs/design-system/data-display.md`
|
|
18
18
|
*/
|
|
19
|
-
export declare function TruncatedCell({ children, className }: TruncatedCellProps):
|
|
19
|
+
export declare function TruncatedCell({ children, className }: TruncatedCellProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
/**
|
|
3
2
|
* Usuário disponível para seleção. `groupIds` permite o filtro por grupo no header.
|
|
4
3
|
*
|
|
@@ -85,4 +84,4 @@ export interface UsersGroupsSelectorProps {
|
|
|
85
84
|
* />
|
|
86
85
|
* ```
|
|
87
86
|
*/
|
|
88
|
-
export declare function UsersGroupsSelector({ users, groups, value, onChange, disabled, maxHeight, hideGroupFilter, searchPlaceholder, selectLabel, doneLabel, allLabel, emptyLabel, selectedLabel, selectedPluralLabel, className, }: UsersGroupsSelectorProps):
|
|
87
|
+
export declare function UsersGroupsSelector({ users, groups, value, onChange, disabled, maxHeight, hideGroupFilter, searchPlaceholder, selectLabel, doneLabel, allLabel, emptyLabel, selectedLabel, selectedPluralLabel, className, }: UsersGroupsSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
/**
|
|
3
2
|
* Tipos de viewer suportados pelo `ViewerDialog`. Resolvido automaticamente
|
|
4
3
|
* pela extensão do arquivo via `getViewerType`.
|
|
@@ -181,5 +180,5 @@ export declare function buildWopiUrl(params: {
|
|
|
181
180
|
*
|
|
182
181
|
* @see `docs/design-system/dialogs.md`
|
|
183
182
|
*/
|
|
184
|
-
export declare function ViewerDialog({ open, onOpenChange, template, viewerType: viewerTypeProp, isLoading, enableDownload, onDownload, isDownloading, enableFavorite, isFavorite, onFavorite, isFavoriting, enableConfirmReading, readingConfirmationDate, onConfirmReading, isConfirmingReading, readingConfirmationTimeRemaining, onIframeLoad, className, }: ViewerDialogProps):
|
|
183
|
+
export declare function ViewerDialog({ open, onOpenChange, template, viewerType: viewerTypeProp, isLoading, enableDownload, onDownload, isDownloading, enableFavorite, isFavorite, onFavorite, isFavoriting, enableConfirmReading, readingConfirmationDate, onConfirmReading, isConfirmingReading, readingConfirmationTimeRemaining, onIframeLoad, className, }: ViewerDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
185
184
|
export default ViewerDialog;
|
|
@@ -40,7 +40,7 @@ export interface ModalStateProviderProps {
|
|
|
40
40
|
* }, [isOpen]);
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
|
-
export declare function ModalStateProvider({ children }: ModalStateProviderProps):
|
|
43
|
+
export declare function ModalStateProvider({ children }: ModalStateProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
44
44
|
/**
|
|
45
45
|
* Hook para acessar o estado global de modais
|
|
46
46
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
interface ModuleContextType {
|
|
3
3
|
/** Alias do módulo configurado pelo projeto consumidor (ex: 'performance', 'suppliers') */
|
|
4
4
|
moduleAlias: string | null;
|
|
@@ -48,7 +48,7 @@ export interface ModuleProviderProps {
|
|
|
48
48
|
* </ModuleProvider>
|
|
49
49
|
* ```
|
|
50
50
|
*/
|
|
51
|
-
export declare function ModuleProvider({ moduleAlias, associationsBaseUrl, signDocumentsSchema, signDocumentsTable, children, }: ModuleProviderProps):
|
|
51
|
+
export declare function ModuleProvider({ moduleAlias, associationsBaseUrl, signDocumentsSchema, signDocumentsTable, children, }: ModuleProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
52
52
|
/**
|
|
53
53
|
* Hook para acessar a configuração de módulo do projeto consumidor.
|
|
54
54
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { SidebarConfig } from '../types/sidebar';
|
|
3
3
|
interface NavigationContextType {
|
|
4
4
|
navigation?: SidebarConfig['navigation'];
|
|
@@ -8,6 +8,6 @@ interface NavigationProviderProps {
|
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
config?: SidebarConfig;
|
|
10
10
|
}
|
|
11
|
-
export declare function NavigationProvider({ children, config }: NavigationProviderProps):
|
|
11
|
+
export declare function NavigationProvider({ children, config }: NavigationProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export declare function useNavigation(): NavigationContextType;
|
|
13
13
|
export {};
|
|
@@ -19,7 +19,7 @@ interface PageMetadataProviderProps {
|
|
|
19
19
|
children: ReactNode;
|
|
20
20
|
actions?: React.ReactNode;
|
|
21
21
|
}
|
|
22
|
-
export declare function PageMetadataProvider({ children, actions }: PageMetadataProviderProps): import("react").JSX.Element;
|
|
22
|
+
export declare function PageMetadataProvider({ children, actions }: PageMetadataProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export declare function usePageMetadataContext(): PageMetadataContextType;
|
|
24
24
|
/**
|
|
25
25
|
* Hook para definir metadados customizados da página (título e subtítulo)
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { BaseFormProps } from '../../types';
|
|
3
2
|
/**
|
|
4
3
|
* Formulário modal genérico baseado em configuração declarativa de seções e campos.
|
|
@@ -49,5 +48,5 @@ import type { BaseFormProps } from '../../types';
|
|
|
49
48
|
declare function BaseForm<T extends Record<string, any>>({ title, sections, initialData, onSubmit, onCancel, open, submitButtonText, isLoading, usersData }: BaseFormProps<T> & {
|
|
50
49
|
usersData?: any[];
|
|
51
50
|
isLoading?: boolean;
|
|
52
|
-
}):
|
|
51
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
53
52
|
export default BaseForm;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { CrudColumn, BaseEntity } from '../../types';
|
|
3
2
|
/**
|
|
4
3
|
* Tipo `ColumnSettingsPopoverProps` exportado pela lib.
|
|
@@ -26,4 +25,4 @@ export interface ColumnSettingsPopoverProps<T> {
|
|
|
26
25
|
* @example
|
|
27
26
|
* ColumnSettingsPopover();
|
|
28
27
|
*/
|
|
29
|
-
export declare function ColumnSettingsPopover<T extends BaseEntity>({ columns, columnOrder, isColumnHidden, toggleColumn, showAllColumns, reorderColumns, groupByColumn, setGroupByColumn, groupByColumns, addGroupByColumn, removeGroupByColumn, resetColumns, }: ColumnSettingsPopoverProps<T>):
|
|
28
|
+
export declare function ColumnSettingsPopover<T extends BaseEntity>({ columns, columnOrder, isColumnHidden, toggleColumn, showAllColumns, reorderColumns, groupByColumn, setGroupByColumn, groupByColumns, addGroupByColumn, removeGroupByColumn, resetColumns, }: ColumnSettingsPopoverProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { BaseEntity } from '../../types';
|
|
3
2
|
interface ContextMenuProps<T extends BaseEntity> {
|
|
4
3
|
contextMenu: {
|
|
@@ -18,5 +17,5 @@ interface ContextMenuProps<T extends BaseEntity> {
|
|
|
18
17
|
}
|
|
19
18
|
export declare const ContextMenu: <T extends BaseEntity & {
|
|
20
19
|
is_actived?: boolean;
|
|
21
|
-
}>({ contextMenu, onClose, onEdit, onDelete, onToggleStatus, customActions, }: ContextMenuProps<T>) =>
|
|
20
|
+
}>({ contextMenu, onClose, onEdit, onDelete, onToggleStatus, customActions, }: ContextMenuProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
22
21
|
export {};
|
|
@@ -49,7 +49,7 @@ export interface CrudActionBarProps<T extends BaseEntity = BaseEntity> {
|
|
|
49
49
|
rightSlot?: React.ReactNode;
|
|
50
50
|
className?: string;
|
|
51
51
|
}
|
|
52
|
-
declare function CrudActionBarComponent<T extends BaseEntity = BaseEntity>({ onNew, newButtonLabel, showNewButton, showSearch, searchValue, onSearchChange, searchPlaceholder, showBulkActions, selectedCount, bulkActions, onBulkDelete, onClearSelection, customActions, filters, viewMode, onViewModeChange, showViewToggle, availableViewModes, rightSlot, className, }: CrudActionBarProps<T>):
|
|
52
|
+
declare function CrudActionBarComponent<T extends BaseEntity = BaseEntity>({ onNew, newButtonLabel, showNewButton, showSearch, searchValue, onSearchChange, searchPlaceholder, showBulkActions, selectedCount, bulkActions, onBulkDelete, onClearSelection, customActions, filters, viewMode, onViewModeChange, showViewToggle, availableViewModes, rightSlot, className, }: CrudActionBarProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
53
53
|
/**
|
|
54
54
|
* Componente `CrudActionBar` da lib.
|
|
55
55
|
* @example
|
|
@@ -49,5 +49,5 @@ export interface CrudGridProps<T extends BaseEntity & {
|
|
|
49
49
|
* @example
|
|
50
50
|
* <CrudGrid />
|
|
51
51
|
*/
|
|
52
|
-
export declare const CrudGrid: <T extends BaseEntity>({ manager, columns, onEdit, onView, onToggleStatus, onDelete, renderActions, customRowActions, enableBulkActions, onNew, newButtonLabel, showNewButton, customActions, hideActionBar, showActionBar, showSearch, searchValue, onSearchChange, searchPlaceholder, bulkActions, onBulkDelete, filters, gridColumns, renderCard, viewMode, onViewModeChange, listCardRenderer, gridCardRenderer, showViewToggle }: CrudGridProps<T>) =>
|
|
52
|
+
export declare const CrudGrid: <T extends BaseEntity>({ manager, columns, onEdit, onView, onToggleStatus, onDelete, renderActions, customRowActions, enableBulkActions, onNew, newButtonLabel, showNewButton, customActions, hideActionBar, showActionBar, showSearch, searchValue, onSearchChange, searchPlaceholder, bulkActions, onBulkDelete, filters, gridColumns, renderCard, viewMode, onViewModeChange, listCardRenderer, gridCardRenderer, showViewToggle }: CrudGridProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
53
53
|
export default CrudGrid;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* Usa o primitivo Pagination com lógica de CRUD injetada.
|
|
5
5
|
* Antigo nome: TableFooter
|
|
6
6
|
*/
|
|
7
|
-
import React from 'react';
|
|
8
7
|
import type { CrudManager, BaseEntity } from '../../types';
|
|
9
8
|
interface CrudPaginationProps<T extends BaseEntity> {
|
|
10
9
|
manager: Pick<CrudManager<T>, 'pagination' | 'handlePageChange' | 'handleItemsPerPageChange'>;
|
|
@@ -14,5 +13,5 @@ interface CrudPaginationProps<T extends BaseEntity> {
|
|
|
14
13
|
* @example
|
|
15
14
|
* CrudPagination();
|
|
16
15
|
*/
|
|
17
|
-
export declare function CrudPagination<T extends BaseEntity>({ manager }: CrudPaginationProps<T>):
|
|
16
|
+
export declare function CrudPagination<T extends BaseEntity>({ manager }: CrudPaginationProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
export { CrudPagination as TableFooter };
|
|
@@ -64,5 +64,5 @@ export interface CrudTableProps<T extends BaseEntity & {
|
|
|
64
64
|
* @example
|
|
65
65
|
* <CrudTable />
|
|
66
66
|
*/
|
|
67
|
-
export declare const CrudTable: <T extends BaseEntity>({ manager, columns, onEdit, onView, onToggleStatus, onDelete, renderActions, customRowActions, enableBulkActions, rowActionsVariant, onNew, newButtonLabel, showNewButton, customActions, hideActionBar, showActionBar, showSearch, searchValue, onSearchChange, searchPlaceholder, bulkActions, onBulkDelete, filters, viewMode, onViewModeChange, showViewToggle, enableColumnResize, resizeStorageKey, enableColumnManager, columnManagerStorageKey, defaultHiddenColumns, enableGrouping, enableExpandableRows, renderExpandedContent, expandedRowIds: controlledExpandedIds, onToggleExpand: controlledToggleExpand, defaultExpandAll, hideActionsColumn, readOnly, }: CrudTableProps<T>) =>
|
|
67
|
+
export declare const CrudTable: <T extends BaseEntity>({ manager, columns, onEdit, onView, onToggleStatus, onDelete, renderActions, customRowActions, enableBulkActions, rowActionsVariant, onNew, newButtonLabel, showNewButton, customActions, hideActionBar, showActionBar, showSearch, searchValue, onSearchChange, searchPlaceholder, bulkActions, onBulkDelete, filters, viewMode, onViewModeChange, showViewToggle, enableColumnResize, resizeStorageKey, enableColumnManager, columnManagerStorageKey, defaultHiddenColumns, enableGrouping, enableExpandableRows, renderExpandedContent, expandedRowIds: controlledExpandedIds, onToggleExpand: controlledToggleExpand, defaultExpandAll, hideActionsColumn, readOnly, }: CrudTableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
68
68
|
export default CrudTable;
|
|
@@ -132,5 +132,5 @@ interface FilterBarProps<T extends CrudEntity> {
|
|
|
132
132
|
* @see {@link CrudFilter} - Interface de configuração de filtros
|
|
133
133
|
* @see {@link createCrudPage} - Gerador de página CRUD que usa FilterBar
|
|
134
134
|
*/
|
|
135
|
-
export declare function FilterBar<T extends CrudEntity>({ manager, filters, inline, }: FilterBarProps<T>): import("react").JSX.Element;
|
|
135
|
+
export declare function FilterBar<T extends CrudEntity>({ manager, filters, inline, }: FilterBarProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
136
136
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { CrudColumn, BaseEntity } from '../../types';
|
|
3
2
|
export interface GroupDropZoneProps<T> {
|
|
4
3
|
columns: CrudColumn<T>[];
|
|
@@ -14,4 +13,4 @@ export interface GroupDropZoneProps<T> {
|
|
|
14
13
|
* para agrupar os dados. Mostra chips com os agrupamentos ativos.
|
|
15
14
|
* Suporta reordenação dos chips por drag-and-drop.
|
|
16
15
|
*/
|
|
17
|
-
export declare function GroupDropZone<T extends BaseEntity>({ columns, groupByColumns, addGroupByColumn, removeGroupByColumn, reorderGroupByColumns, }: GroupDropZoneProps<T>):
|
|
16
|
+
export declare function GroupDropZone<T extends BaseEntity>({ columns, groupByColumns, addGroupByColumn, removeGroupByColumn, reorderGroupByColumns, }: GroupDropZoneProps<T>): import("react/jsx-runtime").JSX.Element;
|