@ehfuse/taskbox 0.5.209 → 0.5.210
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/charts/CumulativeFlowChart.d.ts +15 -0
- package/dist/charts/LeadTimeDistributionChart.d.ts +15 -0
- package/dist/dialogs/SprintChartsDialog.d.ts +3 -2
- package/dist/index.d.ts +3 -0
- 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/utils/taskFlowMetrics.d.ts +55 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 누적흐름도(CFD)다 — 최근 N일 동안 접수된 업무를 완료/진행/대기로 쌓아 보여준다(SVG 자체 렌더).
|
|
3
|
+
* 세로 두께가 진행 중(WIP), 완료선과 접수선의 가로 간격이 리드타임을 뜻한다.
|
|
4
|
+
* 상태 전이 스냅샷이 없어 작성/시작/완료 일시로 역산한다(utils/taskFlowMetrics 참조).
|
|
5
|
+
*/
|
|
6
|
+
import type { TaskBoxItem } from "../types";
|
|
7
|
+
/** 누적흐름도 props 다. */
|
|
8
|
+
export interface CumulativeFlowChartProps {
|
|
9
|
+
tasks: TaskBoxItem[];
|
|
10
|
+
todayStr: string;
|
|
11
|
+
days?: number;
|
|
12
|
+
height?: number;
|
|
13
|
+
}
|
|
14
|
+
/** 누적흐름도 컴포넌트다. */
|
|
15
|
+
export declare function CumulativeFlowChart({ tasks, todayStr, days, height }: CumulativeFlowChartProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 리드타임/사이클타임 분포 차트다 — 최근 N일에 완료된 업무를 소요일수 구간별 막대로 보여준다(div 막대).
|
|
3
|
+
* 리드타임=작성→완료(요청한 사람이 체감하는 시간), 사이클타임=시작→완료(실제 작업 시간)이며
|
|
4
|
+
* 시작일이 없는 업무는 사이클타임 표본에서 빠진다(utils/taskFlowMetrics 참조).
|
|
5
|
+
*/
|
|
6
|
+
import type { TaskBoxItem } from "../types";
|
|
7
|
+
/** 리드타임 분포 차트 props 다. */
|
|
8
|
+
export interface LeadTimeDistributionChartProps {
|
|
9
|
+
tasks: TaskBoxItem[];
|
|
10
|
+
todayStr: string;
|
|
11
|
+
days?: number;
|
|
12
|
+
height?: number;
|
|
13
|
+
}
|
|
14
|
+
/** 리드타임/사이클타임 분포 차트 컴포넌트다. */
|
|
15
|
+
export declare function LeadTimeDistributionChart({ tasks, todayStr, days, height, }: LeadTimeDistributionChartProps): import("react").JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* 업무 차트 다이얼로그다(mfd FormDialog) — 목표 단위 차트(벨로시티·번다운)와
|
|
3
|
+
* 흐름 차트(누적흐름도·리드타임/사이클타임 분포)를 한 화면에 세로로 쌓는다.
|
|
4
|
+
* 데이터 계산은 charts/ 컴포넌트가 하고, 여기는 목표·기간 선택과 배치만 맡는다.
|
|
4
5
|
*/
|
|
5
6
|
import type { TaskBoxItem, TaskBoxSprint } from "../types";
|
|
6
7
|
/** 목표 차트 다이얼로그 props 다. */
|
package/dist/index.d.ts
CHANGED
|
@@ -52,6 +52,8 @@ export * from "./dialogs/EmployeeSelectDialog";
|
|
|
52
52
|
export * from "./dialogs/SprintChartsDialog";
|
|
53
53
|
export * from "./charts/SprintVelocityChart";
|
|
54
54
|
export * from "./charts/SprintBurndownChart";
|
|
55
|
+
export * from "./charts/CumulativeFlowChart";
|
|
56
|
+
export * from "./charts/LeadTimeDistributionChart";
|
|
55
57
|
export * from "./atoms/TaskStatusChip";
|
|
56
58
|
export * from "./atoms/TaskPriorityChip";
|
|
57
59
|
export * from "./atoms/GoogleEventChip";
|
|
@@ -88,6 +90,7 @@ export * from "./utils/taskDates";
|
|
|
88
90
|
export * from "./utils/customTab";
|
|
89
91
|
export * from "./utils/bugOptions";
|
|
90
92
|
export * from "./utils/sprintLabel";
|
|
93
|
+
export * from "./utils/taskFlowMetrics";
|
|
91
94
|
export * from "./utils/taskShareText";
|
|
92
95
|
export * from "./utils/attachmentLimit";
|
|
93
96
|
export * from "./utils/drawerNarrow";
|