@ehfuse/taskbox 0.1.1 → 0.1.3

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.
@@ -1,13 +1,15 @@
1
1
  /**
2
2
  * 직원선택 다이얼로그다(mfd FormDialog + @ehfuse/tree-view) — 책임자(1인)/참조자·대상자(복수) 공용.
3
3
  * 트리 데이터는 TaskboxEmployeeGroup(그룹 > 직원, 그룹 > 그룹 > 직원 중첩)으로 주입받는다.
4
- * 선택 상태는 tree-view 의 라벨 선택이 아니라 직원 seq 집합으로 패키지가 직접 관리한다(동명이인 안전).
4
+ * 스타일·조작감은 codeshop www 공용 직원선택(부서 트리 + 체크박스 + 상단 검색)과 동일하게 맞춘다:
5
+ * 선택 키는 "이름#seq" 라벨(동명이인 안전), 표시는 renderLabel("이름 직급 / 부서") 로 분리한다.
5
6
  */
6
7
  import type { TaskboxEmployee, TaskboxEmployeeGroup } from "../types/employee";
7
8
  /** 직원선택 다이얼로그 props 다. */
8
9
  export interface EmployeeSelectDialogProps {
9
10
  open: boolean;
10
11
  title?: string;
12
+ hint?: string;
11
13
  groups: TaskboxEmployeeGroup[];
12
14
  multiple?: boolean;
13
15
  selectedSeqs?: number[];
@@ -16,4 +18,4 @@ export interface EmployeeSelectDialogProps {
16
18
  onClose: () => void;
17
19
  }
18
20
  /** 직원선택 다이얼로그 컴포넌트다. */
19
- export declare function EmployeeSelectDialog({ open, title, groups, multiple, selectedSeqs: initialSelectedSeqs, confirmText, onConfirm, onClose, }: EmployeeSelectDialogProps): import("react").JSX.Element;
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
@@ -76,6 +76,7 @@ export * from "./utils/taskConfirm";
76
76
  export * from "./utils/taskVisibility";
77
77
  export * from "./utils/noticeTargets";
78
78
  export * from "./utils/groupTasks";
79
+ export * from "./utils/tabConfig";
79
80
  export * from "./utils/googleEvents";
80
81
  export * from "./utils/dateRange";
81
82
  export * from "./utils/taskDates";