forlogic-core 1.17.0 → 1.17.2
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/.note/memory/patterns/alias-url-resolution.md +12 -1
- package/.note/memory/patterns/vite-tailwind-setup.md +1 -1
- package/dist/crud/primitives/TreeTable.d.ts +1 -1
- package/dist/crud/primitives/types.d.ts +2 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/leadership/components/LeadershipPage.d.ts +9 -2
- package/dist/vite/index.esm.js +3 -0
- package/dist/vite/index.js +3 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { TreeTableColumn } from '../../crud/primitives/types';
|
|
2
|
+
import { LeaderNode, UnassociatedUser } from '../types';
|
|
2
3
|
export interface LeadershipPageProps {
|
|
3
4
|
/** Lista de usuários não associados à hierarquia (fornecida pelo consumidor) */
|
|
4
5
|
unassociatedUsers?: UnassociatedUser[];
|
|
@@ -8,5 +9,11 @@ export interface LeadershipPageProps {
|
|
|
8
9
|
onMoveNode?: (draggedId: string, targetId: string | null) => void;
|
|
9
10
|
/** Callback para movimentação em lote customizada */
|
|
10
11
|
onMoveNodes?: (draggedIds: string[], targetId: string | null) => void;
|
|
12
|
+
/** Colunas customizadas para o TreeTable (default: Subordinados + Email) */
|
|
13
|
+
columns?: TreeTableColumn<LeaderNode>[];
|
|
14
|
+
/** Header da coluna de nome (default: "Líder") */
|
|
15
|
+
nameHeader?: string;
|
|
16
|
+
/** Texto da zona de drop raiz (default: "Tornar Líder Raiz") */
|
|
17
|
+
rootDropLabel?: string;
|
|
11
18
|
}
|
|
12
|
-
export declare function LeadershipPage({ unassociatedUsers, onAssociateUser, onMoveNode: customMoveNode, onMoveNodes: customMoveNodes, }?: LeadershipPageProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare function LeadershipPage({ unassociatedUsers, onAssociateUser, onMoveNode: customMoveNode, onMoveNodes: customMoveNodes, columns: customColumns, nameHeader, rootDropLabel, }?: LeadershipPageProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/vite/index.esm.js
CHANGED
package/dist/vite/index.js
CHANGED