@ehfuse/taskbox 0.10.30 → 0.10.31
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/TaskDetailBody.d.ts +7 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +15 -15
- package/dist/index.esm.js.map +4 -4
- package/dist/index.js +27 -27
- package/dist/index.js.map +4 -4
- package/dist/sections/TaskContributionSection.d.ts +21 -0
- package/dist/state/useTaskDetailForm.d.ts +4 -2
- package/dist/types/item.d.ts +6 -0
- package/dist/utils/taskContribution.d.ts +30 -0
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* 댓글 입력(TaskCommentInput)은 포함하지 않는다 — 배치가 컨테이너마다 달라 소비처/드로어가 배치한다.
|
|
6
6
|
*/
|
|
7
7
|
import { type ReactNode } from "react";
|
|
8
|
-
import type { TaskContentTemplate, TaskBoxChecklistItem, TaskBoxCommentReactionKind, TaskBoxCustomTab, TaskBoxDateField, TaskBoxItem, TaskBoxLabel, TaskBoxMemberField, TaskBoxPriority, TaskBoxVisibility, TaskBoxRepeatRule, TaskBoxRelationType, TaskBoxReminder, TaskBoxSprint, TaskBoxStatus, TaskBoxAttachment, TaskboxAttachmentRef, TaskboxEmployee } from "../types";
|
|
8
|
+
import type { TaskContentTemplate, TaskBoxChecklistItem, TaskBoxCommentReactionKind, TaskBoxContribution, TaskBoxCustomTab, TaskBoxDateField, TaskBoxItem, TaskBoxLabel, TaskBoxMemberField, TaskBoxPriority, TaskBoxVisibility, TaskBoxRepeatRule, TaskBoxRelationType, TaskBoxReminder, TaskBoxSprint, TaskBoxStatus, TaskBoxAttachment, TaskboxAttachmentRef, TaskboxEmployee } from "../types";
|
|
9
9
|
/** 상세 본문 props 다 — `TaskDetailDrawer` 와 공유한다(컨테이너/헤더/댓글 입력 관련 제외). */
|
|
10
10
|
export interface TaskDetailBodyProps {
|
|
11
11
|
contentTemplates?: TaskContentTemplate[];
|
|
@@ -108,6 +108,12 @@ export interface TaskDetailBodyProps {
|
|
|
108
108
|
onChangeSprint?: (taskSeq: number, sprintSeq: number) => void;
|
|
109
109
|
onChangeStoryPoints?: (taskSeq: number, points: number) => void;
|
|
110
110
|
onVerifyBug?: (taskSeq: number, approved: boolean) => void;
|
|
111
|
+
/**
|
|
112
|
+
* 기여도 섹션을 그린다(0.10.31, 기본 꺼짐) — 소비처가 조직 설정("업무 기여도")으로 켠 업무에만 준다.
|
|
113
|
+
* 일정 · 공지 · 글 상세에는 켜도 그리지 않는다(관여자가 일을 나누는 업무가 아니다).
|
|
114
|
+
*/
|
|
115
|
+
contributionEnabled?: boolean;
|
|
116
|
+
onChangeContributions?: (taskSeq: number, contributions: TaskBoxContribution[]) => void;
|
|
111
117
|
}
|
|
112
118
|
/**
|
|
113
119
|
* 업무 상세 본문 컴포넌트다.
|
package/dist/index.d.ts
CHANGED
|
@@ -94,6 +94,7 @@ export * from "./utils/taskStatus";
|
|
|
94
94
|
export * from "./utils/calendarTaskTime";
|
|
95
95
|
export * from "./utils/taskDone";
|
|
96
96
|
export * from "./utils/taskConfirm";
|
|
97
|
+
export * from "./utils/taskContribution";
|
|
97
98
|
export * from "./utils/taskVisibility";
|
|
98
99
|
export * from "./utils/noticeTargets";
|
|
99
100
|
export * from "./utils/groupTasks";
|