@ehfuse/taskbox 0.5.136 → 0.5.138
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/dialogs/TaskActivityDialog.d.ts +19 -0
- package/dist/drawers/TaskDetailBody.d.ts +2 -5
- package/dist/drawers/TaskDetailDrawer.d.ts +1 -1
- package/dist/drawers/TaskDetailHeader.d.ts +5 -2
- package/dist/index.d.ts +2 -1
- 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/table/TableTaskRow.d.ts +59 -0
- package/dist/table/TaskBoxRow.d.ts +5 -3
- package/dist/views/TaskBoxTable.d.ts +7 -2
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 업무 활동로그(감사 이력) 다이얼로그다(mfd FormDialog) — 누가 언제 무엇을 바꿨는지 시간순으로 보여준다.
|
|
3
|
+
* 상세 드로어 헤더의 시계 아이콘으로 연다. 본문에 섹션으로 두면 늘 자리를 차지하는데,
|
|
4
|
+
* 실제로는 "무슨 일이 있었나" 를 확인할 때만 보는 화면이라 필요할 때 띄우는 편이 읽기 좋다.
|
|
5
|
+
* 열 때 소비처가 서버에서 읽어 온다(닫힌 업무마다 이력을 미리 당기지 않는다).
|
|
6
|
+
* 댓글은 여기 담지 않는다 — 댓글 섹션이 따로 있어 두 곳에 같은 글이 보이면 읽기 어렵다.
|
|
7
|
+
*/
|
|
8
|
+
import type { TaskActivityItem } from "../types";
|
|
9
|
+
/** 활동 다이얼로그 props 다. */
|
|
10
|
+
export interface TaskActivityDialogProps {
|
|
11
|
+
open: boolean;
|
|
12
|
+
taskSeq: number;
|
|
13
|
+
items?: TaskActivityItem[];
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
onLoad?: (taskSeq: number) => void;
|
|
16
|
+
onClose: () => void;
|
|
17
|
+
}
|
|
18
|
+
/** 업무 활동로그 다이얼로그 컴포넌트다. */
|
|
19
|
+
export declare function TaskActivityDialog({ open, taskSeq, items, loading, onLoad, onClose }: TaskActivityDialogProps): import("react").JSX.Element;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* 상태/목표/라벨/확인자 팝오버는 본문이 함께 소유한다(조립처가 본문만 담아도 수정 UI 가 완성된다).
|
|
5
5
|
* 댓글 입력(TaskCommentInput)은 포함하지 않는다 — 배치가 컨테이너마다 달라 소비처/드로어가 배치한다.
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { TaskBoxCommentReactionKind, TaskBoxCustomTab, TaskBoxDateField, TaskBoxItem, TaskBoxLabel, TaskBoxMemberField, TaskBoxPriority, TaskBoxRelationType, TaskBoxReminder, TaskBoxSprint, TaskBoxStatus, TaskBoxAttachment, TaskboxAttachmentRef, TaskboxEmployee } from "../types";
|
|
8
8
|
/** 상세 본문 props 다 — `TaskDetailDrawer` 와 공유한다(컨테이너/헤더/댓글 입력 관련 제외). */
|
|
9
9
|
export interface TaskDetailBodyProps {
|
|
10
10
|
task: TaskBoxItem;
|
|
@@ -63,9 +63,6 @@ export interface TaskDetailBodyProps {
|
|
|
63
63
|
employees?: TaskboxEmployee[];
|
|
64
64
|
onAckConfirm?: (taskSeq: number) => void;
|
|
65
65
|
onRequestConfirm?: (taskSeq: number) => void;
|
|
66
|
-
activityItems?: TaskActivityItem[];
|
|
67
|
-
activityLoading?: boolean;
|
|
68
|
-
onLoadActivity?: (taskSeq: number) => void;
|
|
69
66
|
onChangeBugField?: (taskSeq: number, field: "bug_repro" | "bug_device" | "bug_where" | "bug_version", value: string) => void;
|
|
70
67
|
onChangeResolution?: (taskSeq: number, resolution: TaskBoxItem["resolution"]) => void;
|
|
71
68
|
onClaimTask?: (taskSeq: number) => void;
|
|
@@ -77,4 +74,4 @@ export interface TaskDetailBodyProps {
|
|
|
77
74
|
onVerifyBug?: (taskSeq: number, approved: boolean) => void;
|
|
78
75
|
}
|
|
79
76
|
/** 업무 상세 본문 컴포넌트다. */
|
|
80
|
-
export declare function TaskDetailBody({ task, customTabs, statusOptions, avatarSrcByName, onChangeStatus, onChangeLabels, onAddLabelOption, onChangeProject, onAddProject, onChangeDate, onChangeReminder, onMemberEdit, onChangePriority, onChangeEstimatedTime, onChangeEventTime, onChangeEventPlace, onChangeEventAddress, onChangeNote, onChangeContent, onChangeContentHeight, onAddChecklistItem, onToggleChecklistItem, onRemoveChecklistItem, onUpdateChecklistItem, onConvertChecklistToTask, onOpenChecklistTask, onLinkChecklistTask, resolveChecklistTask, relatedTasksPool, onOpenRelatedTask, onLinkRelatedTask, onUnlinkRelatedTask, onCreateFollowUpTask, onAddAttachments, onRemoveAttachment, onPreview, onDownload, onUpdateComment, onRemoveComment, onToggleCommentReaction, currentUserName, myAccountSeq, noticeAdmin: _noticeAdmin, hideProject, hideLabel, showTitle, onChangeTitle, onToggleCompleted, onChangeIcon, onChangeIconColor, employees, onAckConfirm, onRequestConfirm,
|
|
77
|
+
export declare function TaskDetailBody({ task, customTabs, statusOptions, avatarSrcByName, onChangeStatus, onChangeLabels, onAddLabelOption, onChangeProject, onAddProject, onChangeDate, onChangeReminder, onMemberEdit, onChangePriority, onChangeEstimatedTime, onChangeEventTime, onChangeEventPlace, onChangeEventAddress, onChangeNote, onChangeContent, onChangeContentHeight, onAddChecklistItem, onToggleChecklistItem, onRemoveChecklistItem, onUpdateChecklistItem, onConvertChecklistToTask, onOpenChecklistTask, onLinkChecklistTask, resolveChecklistTask, relatedTasksPool, onOpenRelatedTask, onLinkRelatedTask, onUnlinkRelatedTask, onCreateFollowUpTask, onAddAttachments, onRemoveAttachment, onPreview, onDownload, onUpdateComment, onRemoveComment, onToggleCommentReaction, currentUserName, myAccountSeq, noticeAdmin: _noticeAdmin, hideProject, hideLabel, showTitle, onChangeTitle, onToggleCompleted, onChangeIcon, onChangeIconColor, employees, onAckConfirm, onRequestConfirm, onChangeBugField, sprints, sprintProject, hideSprint, onChangeSprint, onChangeStoryPoints, onChangeResolution, onClaimTask, onVerifyBug, }: TaskDetailBodyProps): import("react").JSX.Element;
|
|
@@ -25,6 +25,6 @@ export interface TaskDetailDrawerProps extends Omit<TaskDetailHeaderProps, "task
|
|
|
25
25
|
onSaveFields?: (taskSeq: number, fields: Partial<TaskBoxItem>) => void;
|
|
26
26
|
}
|
|
27
27
|
/** 업무 상세 드로어 컴포넌트다. */
|
|
28
|
-
export declare function TaskDetailDrawer({ open, task: taskProp, onClose, onAddComment, onSaveFields, myAccountSeq, onToggleCompleted, onChangeTitle, onChangeIcon, onChangeIconColor, ...bodyProps }: TaskDetailDrawerProps): import("react").JSX.Element | null;
|
|
28
|
+
export declare function TaskDetailDrawer({ open, task: taskProp, onClose, onAddComment, onSaveFields, myAccountSeq, onToggleCompleted, onChangeTitle, onChangeIcon, onChangeIconColor, activityItems, activityLoading, onLoadActivity, ...bodyProps }: TaskDetailDrawerProps): import("react").JSX.Element | null;
|
|
29
29
|
/** 댓글 작성일시 헬퍼를 외부(레이아웃)에서도 쓰도록 내보낸다. */
|
|
30
30
|
export { nowDateTimeString };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* `TaskDetailDrawer` 의 상단이며, 모바일에서는 소비처가 mfd(FormDialog) 등 임의 컨테이너 상단에 조립한다
|
|
4
4
|
* (모바일 컨테이너가 뒤로가기를 담당하면 `onClose` 를 생략해 닫기 X 를 숨긴다).
|
|
5
5
|
*/
|
|
6
|
-
import type { TaskBoxItem } from "../types";
|
|
6
|
+
import type { TaskActivityItem, TaskBoxItem } from "../types";
|
|
7
7
|
/** 상세 헤더 props 다. */
|
|
8
8
|
export interface TaskDetailHeaderProps {
|
|
9
9
|
task: TaskBoxItem;
|
|
@@ -13,7 +13,10 @@ export interface TaskDetailHeaderProps {
|
|
|
13
13
|
onChangeIcon: (taskSeq: number, icon: string) => void;
|
|
14
14
|
onChangeIconColor?: (taskSeq: number, iconColor: string) => void;
|
|
15
15
|
onClose?: () => void;
|
|
16
|
+
activityItems?: TaskActivityItem[];
|
|
17
|
+
activityLoading?: boolean;
|
|
18
|
+
onLoadActivity?: (taskSeq: number) => void;
|
|
16
19
|
appBarMode?: boolean;
|
|
17
20
|
}
|
|
18
21
|
/** 업무 상세 헤더 컴포넌트다. */
|
|
19
|
-
export declare function TaskDetailHeader({ task, myAccountSeq, onToggleCompleted, onChangeTitle, onChangeIcon, onChangeIconColor, onClose, appBarMode, }: TaskDetailHeaderProps): import("react").JSX.Element;
|
|
22
|
+
export declare function TaskDetailHeader({ task, myAccountSeq, onToggleCompleted, onChangeTitle, onChangeIcon, onChangeIconColor, onClose, appBarMode, activityItems, activityLoading, onLoadActivity, }: TaskDetailHeaderProps): import("react").JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from "./views/TaskBoxSprintSummary";
|
|
|
17
17
|
export * from "./views/TaskBoxMobileList";
|
|
18
18
|
export * from "./table/columns";
|
|
19
19
|
export { type TaskCompleteConfirmTarget } from "./table/TaskBoxRow";
|
|
20
|
+
export { type UseTaskItemHook } from "./table/TableTaskRow";
|
|
20
21
|
export * from "./board/TaskCardContent";
|
|
21
22
|
export * from "./board/SortableTaskCard";
|
|
22
23
|
export { type TaskBoxMobileCardProps } from "./board/TaskBoxMobileCard";
|
|
@@ -34,7 +35,6 @@ export * from "./sections/RelatedTasksSection";
|
|
|
34
35
|
export * from "./sections/TaskAttachmentsSection";
|
|
35
36
|
export * from "./sections/TaskAttachmentUploadProgress";
|
|
36
37
|
export * from "./sections/TaskCommentsSection";
|
|
37
|
-
export * from "./sections/TaskActivitySection";
|
|
38
38
|
export * from "./sections/TaskContentEditor";
|
|
39
39
|
export * from "./sections/TaskNoteField";
|
|
40
40
|
export * from "./sections/InlineTextValue";
|
|
@@ -45,6 +45,7 @@ export * from "./dialogs/SprintManageDialog";
|
|
|
45
45
|
export * from "./dialogs/CalendarImportDialog";
|
|
46
46
|
export * from "./dialogs/CalendarSubscribeDialog";
|
|
47
47
|
export * from "./dialogs/TaskLinkDialog";
|
|
48
|
+
export * from "./dialogs/TaskActivityDialog";
|
|
48
49
|
export * from "./dialogs/EmployeeSelectDialog";
|
|
49
50
|
export * from "./dialogs/SprintChartsDialog";
|
|
50
51
|
export * from "./charts/SprintVelocityChart";
|