@ehfuse/taskbox 0.1.0 → 0.1.1
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/atoms/TaskPriorityChip.d.ts +1 -1
- package/dist/dialogs/EmployeeSelectDialog.d.ts +19 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +7 -7
- package/dist/index.esm.js.map +4 -4
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/types/employee.d.ts +10 -0
- package/package.json +5 -2
|
@@ -6,4 +6,4 @@ export interface TaskPriorityChipProps {
|
|
|
6
6
|
plain?: boolean;
|
|
7
7
|
}
|
|
8
8
|
/** 중요도 알약 칩 컴포넌트다. */
|
|
9
|
-
export declare function TaskPriorityChip({ priority, small, plain }: TaskPriorityChipProps): import("react").JSX.Element;
|
|
9
|
+
export declare function TaskPriorityChip({ priority, small, plain: plainProp }: TaskPriorityChipProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 직원선택 다이얼로그다(mfd FormDialog + @ehfuse/tree-view) — 책임자(1인)/참조자·대상자(복수) 공용.
|
|
3
|
+
* 트리 데이터는 TaskboxEmployeeGroup(그룹 > 직원, 그룹 > 그룹 > 직원 중첩)으로 주입받는다.
|
|
4
|
+
* 선택 상태는 tree-view 의 라벨 선택이 아니라 직원 seq 집합으로 패키지가 직접 관리한다(동명이인 안전).
|
|
5
|
+
*/
|
|
6
|
+
import type { TaskboxEmployee, TaskboxEmployeeGroup } from "../types/employee";
|
|
7
|
+
/** 직원선택 다이얼로그 props 다. */
|
|
8
|
+
export interface EmployeeSelectDialogProps {
|
|
9
|
+
open: boolean;
|
|
10
|
+
title?: string;
|
|
11
|
+
groups: TaskboxEmployeeGroup[];
|
|
12
|
+
multiple?: boolean;
|
|
13
|
+
selectedSeqs?: number[];
|
|
14
|
+
confirmText?: string;
|
|
15
|
+
onConfirm: (selected: TaskboxEmployee[]) => void;
|
|
16
|
+
onClose: () => void;
|
|
17
|
+
}
|
|
18
|
+
/** 직원선택 다이얼로그 컴포넌트다. */
|
|
19
|
+
export declare function EmployeeSelectDialog({ open, title, groups, multiple, selectedSeqs: initialSelectedSeqs, confirmText, onConfirm, onClose, }: EmployeeSelectDialogProps): import("react").JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export * from "./dialogs/SprintManageDialog";
|
|
|
43
43
|
export * from "./dialogs/CalendarImportDialog";
|
|
44
44
|
export * from "./dialogs/CalendarSubscribeDialog";
|
|
45
45
|
export * from "./dialogs/TaskLinkDialog";
|
|
46
|
+
export * from "./dialogs/EmployeeSelectDialog";
|
|
46
47
|
export * from "./dialogs/SprintChartsDialog";
|
|
47
48
|
export * from "./charts/SprintVelocityChart";
|
|
48
49
|
export * from "./charts/SprintBurndownChart";
|