@ehfuse/taskbox 0.1.0 → 0.1.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/dist/atoms/TaskPriorityChip.d.ts +1 -1
- package/dist/dialogs/EmployeeSelectDialog.d.ts +21 -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,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 직원선택 다이얼로그다(mfd FormDialog + @ehfuse/tree-view) — 책임자(1인)/참조자·대상자(복수) 공용.
|
|
3
|
+
* 트리 데이터는 TaskboxEmployeeGroup(그룹 > 직원, 그룹 > 그룹 > 직원 중첩)으로 주입받는다.
|
|
4
|
+
* 스타일·조작감은 codeshop www 공용 직원선택(부서 트리 + 체크박스 + 상단 검색)과 동일하게 맞춘다:
|
|
5
|
+
* 선택 키는 "이름#seq" 라벨(동명이인 안전), 표시는 renderLabel("이름 직급 / 부서") 로 분리한다.
|
|
6
|
+
*/
|
|
7
|
+
import type { TaskboxEmployee, TaskboxEmployeeGroup } from "../types/employee";
|
|
8
|
+
/** 직원선택 다이얼로그 props 다. */
|
|
9
|
+
export interface EmployeeSelectDialogProps {
|
|
10
|
+
open: boolean;
|
|
11
|
+
title?: string;
|
|
12
|
+
hint?: string;
|
|
13
|
+
groups: TaskboxEmployeeGroup[];
|
|
14
|
+
multiple?: boolean;
|
|
15
|
+
selectedSeqs?: number[];
|
|
16
|
+
confirmText?: string;
|
|
17
|
+
onConfirm: (selected: TaskboxEmployee[]) => void;
|
|
18
|
+
onClose: () => void;
|
|
19
|
+
}
|
|
20
|
+
/** 직원선택 다이얼로그 컴포넌트다. */
|
|
21
|
+
export declare function EmployeeSelectDialog({ open, title, hint, groups, multiple, selectedSeqs: initialSelectedSeqsProp, 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";
|