@ehfuse/taskbox 0.5.119 → 0.5.121

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.
@@ -0,0 +1,15 @@
1
+ /**
2
+ * 상세 드로어의 활동로그(감사 이력) 섹션이다 — 누가 언제 무엇을 바꿨는지 시간순으로 보여준다.
3
+ * 기본은 접힌 채이고, 펼칠 때 소비처가 서버에서 읽어 온다(닫힌 업무마다 이력을 미리 당기지 않는다).
4
+ * 댓글은 여기 담지 않는다 — 댓글 섹션이 따로 있어 두 곳에 같은 글이 보이면 읽기 어렵다.
5
+ */
6
+ import type { TaskActivityItem } from "../types";
7
+ /** 활동 섹션 props 다. */
8
+ export interface TaskActivitySectionProps {
9
+ taskSeq: number;
10
+ items?: TaskActivityItem[];
11
+ loading?: boolean;
12
+ onExpand?: (taskSeq: number) => void;
13
+ }
14
+ /** 업무 활동로그 섹션 컴포넌트다. */
15
+ export declare function TaskActivitySection({ taskSeq, items, loading, onExpand }: TaskActivitySectionProps): import("react").JSX.Element;
@@ -0,0 +1,15 @@
1
+ /** 업무 활동로그(감사 이력) 타입이다 — 상세 드로어 "활동" 섹션이 그린다. */
2
+ /** 활동 종류다 — field=필드 변경, 나머지는 생애주기 사건이다. */
3
+ export type TaskActivityKind = "field" | "created" | "completed" | "uncompleted" | "confirm_requested" | "acked" | "claimed" | "bug_verified" | "bug_reopened";
4
+ /** 활동로그 1건이다(서버가 표시값까지 만들어 내려준다 — 프런트는 문구만 조립한다). */
5
+ export interface TaskActivityItem {
6
+ seq: number;
7
+ kind: TaskActivityKind | string;
8
+ field?: string;
9
+ field_label?: string;
10
+ old_value?: string;
11
+ new_value?: string;
12
+ actor_account_seq?: number;
13
+ actor_name?: string;
14
+ acted_time?: string;
15
+ }
@@ -1,5 +1,6 @@
1
1
  /** 타입 export 배럴이다. */
2
2
  export * from "./item";
3
+ export * from "./activity";
3
4
  export * from "./form";
4
5
  export * from "./view";
5
6
  export * from "./calendar";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ehfuse/taskbox",
3
- "version": "0.5.119",
3
+ "version": "0.5.121",
4
4
  "description": "A React/MUI task inbox component with notices, per-user assignments, read tracking, and mobile card UI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",