@ehfuse/taskbox 0.10.36 → 0.10.37
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/drawers/TaskCreateBody.d.ts +14 -1
- package/dist/index.esm.js +15 -15
- package/dist/index.esm.js.map +3 -3
- package/dist/index.js +18 -18
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
|
@@ -14,6 +14,18 @@ import type { TaskContentTemplate, TaskBoxCustomTab, TaskBoxLabel, TaskBoxMember
|
|
|
14
14
|
import type { TaskboxCreateForm } from "../state/useTaskboxForm";
|
|
15
15
|
export { EVENT_ICON_COLOR } from "../controllers/taskCreateController";
|
|
16
16
|
/** 등록 폼 본문 props 다 — `TaskCreateDrawer` 와 공유한다(프리셋류는 드로어의 열림 초기화가 소비한다). */
|
|
17
|
+
/**
|
|
18
|
+
* 속성 그리드에 소비처가 더하는 줄(0.10.37) — 패키지가 모르는 부가 속성(업무함: 회의실 · 차량 예약).
|
|
19
|
+
* 줄 모양 · 자리는 패키지가 정한다(일시 열 — 반복 · 시작 · 마감 · 사전알림 아래). 값 · 누를 때 할 일은 소비처가 쥔다.
|
|
20
|
+
*/
|
|
21
|
+
export interface TaskCreateExtraRow {
|
|
22
|
+
key: string;
|
|
23
|
+
icon: ReactNode;
|
|
24
|
+
label: string;
|
|
25
|
+
value: ReactNode;
|
|
26
|
+
onClick?: (anchorEl: HTMLElement) => void;
|
|
27
|
+
filled?: boolean;
|
|
28
|
+
}
|
|
17
29
|
export interface TaskCreateBodyProps {
|
|
18
30
|
form: TaskboxCreateForm;
|
|
19
31
|
statusOptions: TaskBoxLabel[];
|
|
@@ -45,6 +57,7 @@ export interface TaskCreateBodyProps {
|
|
|
45
57
|
templateItem?: boolean;
|
|
46
58
|
postMode?: boolean;
|
|
47
59
|
leadingRow?: ReactNode;
|
|
60
|
+
extraRows?: TaskCreateExtraRow[];
|
|
48
61
|
employees?: TaskboxEmployee[];
|
|
49
62
|
workspaceName?: string;
|
|
50
63
|
workspaceSlot?: ReactNode;
|
|
@@ -60,4 +73,4 @@ export interface TaskCreateBodyProps {
|
|
|
60
73
|
contentSyncKey?: string | number;
|
|
61
74
|
}
|
|
62
75
|
/** 새 업무 등록 폼 본문 컴포넌트다. */
|
|
63
|
-
export declare function TaskCreateBody({ form, statusOptions, customTabs, sprints, avatarSrcByName, isNotice, hideProject, hideBug, hideTypeToggle, leadingRow, hideLabel, simple, hideMembers, templateItem, postMode, employees, workspaceName, workspaceSlot, myAccountSeq, departments, myGroupSeq, onMemberEdit, onAddProject, onAddLabelOption, contentSyncKey, contentTemplates, onSaveContentTemplate, onRemoveContentTemplate, }: TaskCreateBodyProps): import("react").JSX.Element;
|
|
76
|
+
export declare function TaskCreateBody({ form, statusOptions, customTabs, sprints, avatarSrcByName, isNotice, hideProject, hideBug, hideTypeToggle, leadingRow, extraRows, hideLabel, simple, hideMembers, templateItem, postMode, employees, workspaceName, workspaceSlot, myAccountSeq, departments, myGroupSeq, onMemberEdit, onAddProject, onAddLabelOption, contentSyncKey, contentTemplates, onSaveContentTemplate, onRemoveContentTemplate, }: TaskCreateBodyProps): import("react").JSX.Element;
|