@ehfuse/taskbox 0.1.0
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/LICENSE +21 -0
- package/README.md +57 -0
- package/dist/TaskboxProvider.d.ts +19 -0
- package/dist/atoms/CommentBubbleIcon.d.ts +7 -0
- package/dist/atoms/ConfirmCountButton.d.ts +29 -0
- package/dist/atoms/DateRangeFilterPopover.d.ts +14 -0
- package/dist/atoms/DueDatePickerPopover.d.ts +48 -0
- package/dist/atoms/GoogleEventChip.d.ts +8 -0
- package/dist/atoms/GroupByMenuButton.d.ts +11 -0
- package/dist/atoms/IconPickerGrid.d.ts +7 -0
- package/dist/atoms/LabelFilterMenu.d.ts +16 -0
- package/dist/atoms/LabelSelectMenu.d.ts +15 -0
- package/dist/atoms/MemberFilterMenu.d.ts +20 -0
- package/dist/atoms/ReceiverAvatars.d.ts +14 -0
- package/dist/atoms/SprintFilterMenu.d.ts +18 -0
- package/dist/atoms/StatusSelectMenu.d.ts +16 -0
- package/dist/atoms/TaskAckListPopover.d.ts +16 -0
- package/dist/atoms/TaskBoxTabs.d.ts +28 -0
- package/dist/atoms/TaskContextMenu.d.ts +37 -0
- package/dist/atoms/TaskDateRangeFilter.d.ts +11 -0
- package/dist/atoms/TaskIconPickerPopover.d.ts +12 -0
- package/dist/atoms/TaskPriorityChip.d.ts +9 -0
- package/dist/atoms/TaskStatusChip.d.ts +25 -0
- package/dist/board/SortableTaskCard.d.ts +21 -0
- package/dist/board/TaskBoxMobileCard.d.ts +28 -0
- package/dist/board/TaskCardContent.d.ts +33 -0
- package/dist/charts/SprintBurndownChart.d.ts +16 -0
- package/dist/charts/SprintVelocityChart.d.ts +13 -0
- package/dist/configs/projectIcons.d.ts +23 -0
- package/dist/dialogs/AddLabelDialog.d.ts +8 -0
- package/dist/dialogs/AddTabDialog.d.ts +16 -0
- package/dist/dialogs/CalendarImportDialog.d.ts +16 -0
- package/dist/dialogs/CalendarSubscribeDialog.d.ts +17 -0
- package/dist/dialogs/SprintChartsDialog.d.ts +16 -0
- package/dist/dialogs/SprintManageDialog.d.ts +29 -0
- package/dist/dialogs/TaskLinkDialog.d.ts +16 -0
- package/dist/drawers/TaskCreateBody.d.ts +35 -0
- package/dist/drawers/TaskCreateDrawer.d.ts +14 -0
- package/dist/drawers/TaskDetailBody.d.ts +63 -0
- package/dist/drawers/TaskDetailDrawer.d.ts +22 -0
- package/dist/drawers/TaskDetailHeader.d.ts +18 -0
- package/dist/index.d.ts +86 -0
- package/dist/index.esm.js +14 -0
- package/dist/index.esm.js.map +7 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +7 -0
- package/dist/internal/AccountAvatar.d.ts +15 -0
- package/dist/internal/ConfirmActionPopper.d.ts +24 -0
- package/dist/internal/HighlightText.d.ts +17 -0
- package/dist/internal/MobileCardStack.d.ts +19 -0
- package/dist/internal/TrashIcon.d.ts +4 -0
- package/dist/internal/dateUtils.d.ts +5 -0
- package/dist/internal/filePreview.d.ts +3 -0
- package/dist/internal/formatUtils.d.ts +3 -0
- package/dist/internal/htmlToPlainText.d.ts +6 -0
- package/dist/internal/mfs.d.ts +12 -0
- package/dist/internal/strUtils.d.ts +8 -0
- package/dist/internal/useCenteredMenuProps.d.ts +8 -0
- package/dist/internal/useHolidays.d.ts +7 -0
- package/dist/internal/useIsMobile.d.ts +7 -0
- package/dist/sections/BugPropertiesGrid.d.ts +26 -0
- package/dist/sections/DrawerSection.d.ts +11 -0
- package/dist/sections/InlineAddressInput.d.ts +17 -0
- package/dist/sections/InlineTextValue.d.ts +14 -0
- package/dist/sections/PropertyRow.d.ts +13 -0
- package/dist/sections/RelatedTasksSection.d.ts +17 -0
- package/dist/sections/TaskAttachmentUploadProgress.d.ts +18 -0
- package/dist/sections/TaskAttachmentsSection.d.ts +19 -0
- package/dist/sections/TaskChecklistSection.d.ts +18 -0
- package/dist/sections/TaskCommentsSection.d.ts +29 -0
- package/dist/sections/TaskContentEditor.d.ts +17 -0
- package/dist/sections/TaskCorePropertiesGrid.d.ts +52 -0
- package/dist/sections/TaskNoteField.d.ts +10 -0
- package/dist/state/defaults.d.ts +7 -0
- package/dist/state/useTaskboxForm.d.ts +22 -0
- package/dist/state/useTaskboxUiState.d.ts +13 -0
- package/dist/table/TaskBoxRow.d.ts +58 -0
- package/dist/table/columns.d.ts +41 -0
- package/dist/types/calendar.d.ts +22 -0
- package/dist/types/employee.d.ts +14 -0
- package/dist/types/form.d.ts +35 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/item.d.ts +136 -0
- package/dist/types/provider.d.ts +44 -0
- package/dist/types/upload.d.ts +30 -0
- package/dist/types/view.d.ts +34 -0
- package/dist/utils/attachmentLimit.d.ts +14 -0
- package/dist/utils/bugOptions.d.ts +22 -0
- package/dist/utils/customTab.d.ts +9 -0
- package/dist/utils/dateRange.d.ts +13 -0
- package/dist/utils/drawerNarrow.d.ts +12 -0
- package/dist/utils/googleEvents.d.ts +4 -0
- package/dist/utils/groupTasks.d.ts +30 -0
- package/dist/utils/noticeTargets.d.ts +39 -0
- package/dist/utils/sprintLabel.d.ts +7 -0
- package/dist/utils/taskConfirm.d.ts +17 -0
- package/dist/utils/taskDates.d.ts +5 -0
- package/dist/utils/taskDone.d.ts +22 -0
- package/dist/utils/taskEffort.d.ts +13 -0
- package/dist/utils/taskRelations.d.ts +21 -0
- package/dist/utils/taskShareText.d.ts +14 -0
- package/dist/utils/taskStatus.d.ts +99 -0
- package/dist/utils/taskVisibility.d.ts +32 -0
- package/dist/views/TaskBoxColumnSummary.d.ts +22 -0
- package/dist/views/TaskBoxGroupBoard.d.ts +41 -0
- package/dist/views/TaskBoxMobileList.d.ts +28 -0
- package/dist/views/TaskBoxMonthAgenda.d.ts +16 -0
- package/dist/views/TaskBoxMonthCalendar.d.ts +20 -0
- package/dist/views/TaskBoxSprintSummary.d.ts +15 -0
- package/dist/views/TaskBoxTable.d.ts +64 -0
- package/dist/views/TaskBoxTimeline.d.ts +19 -0
- package/dist/views/TaskBoxView.d.ts +38 -0
- package/dist/views/TaskBoxWeekCalendar.d.ts +25 -0
- package/package.json +111 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 업무 상태(시스템 고정 택일)와 라벨(복수 태그) 유틸이다.
|
|
3
|
+
* 상태는 시작전/진행중/보류/확인대기/확인완료 고정이고, 확인 워크플로는 waiting/replied 상태로 판정한다
|
|
4
|
+
* (저장 키는 회신 시절 waiting/replied 를 유지한다).
|
|
5
|
+
* 라벨 사전(statusOptions 상태 슬라이스 — 역사적 이름)은 긴급/기획/보류 내장 + 커스텀 추가다.
|
|
6
|
+
*/
|
|
7
|
+
import type { TaskBoxItem, TaskBoxLabel, TaskBoxStatus } from "../types";
|
|
8
|
+
import { type EventTimeSource } from "./taskDone";
|
|
9
|
+
/** 시스템 고정 상태 사전이다(택일 — 표 상태 칸/드로어 상태 메뉴 공용). 생애주기 단계만 담는다(완료는 완료 체크가 별도 담당). */
|
|
10
|
+
export declare const TASK_STATUS_OPTIONS: (TaskBoxLabel & {
|
|
11
|
+
key: TaskBoxStatus;
|
|
12
|
+
})[];
|
|
13
|
+
/**
|
|
14
|
+
* 수동 선택 가능한 상태 사전이다(상태 칸/드로어 택일 메뉴 전용).
|
|
15
|
+
* 확인대기/확인완료는 확인 워크플로(확인요청/확인 버튼)가 전이시키는 상태라 수동 선택에서 제외한다
|
|
16
|
+
* — 수동으로 "확인완료"를 고르면 확인 기록(acks) 없이 상태만 바뀌어 "0/n 인데 확인완료" 가 된다.
|
|
17
|
+
*/
|
|
18
|
+
export declare const MANUAL_TASK_STATUS_OPTIONS: (TaskBoxLabel & {
|
|
19
|
+
key: TaskBoxStatus;
|
|
20
|
+
})[];
|
|
21
|
+
/** 상태 키의 사전 항목을 돌려준다(모르는 키는 시작전으로). */
|
|
22
|
+
export declare function getTaskStatusOption(status: string | undefined): TaskBoxLabel;
|
|
23
|
+
/**
|
|
24
|
+
* 완료된 업무의 표시 전용 상태다 — 저장 상태(status)는 그대로 두고 화면만 "완료" 로 보여준다.
|
|
25
|
+
* 저장값을 바꾸지 않으므로 완료를 해제하면 원래 상태(진행중 등)로 자연히 돌아온다.
|
|
26
|
+
*/
|
|
27
|
+
export declare const COMPLETED_STATUS_OPTION: TaskBoxLabel;
|
|
28
|
+
/**
|
|
29
|
+
* 표시용 상태 항목을 고른다 — 완료 체크된 일반 업무는 저장 상태와 무관하게 "완료" 를 보여준다.
|
|
30
|
+
* (공지는 게시 생애주기 상태를 그대로 쓴다 — 완료 체크가 곧 게시종료 상태로 저장된다.)
|
|
31
|
+
* 완료된 업무의 상태는 수정 불가로 잠근다(소비처가 이 판정과 함께 클릭을 막는다).
|
|
32
|
+
*/
|
|
33
|
+
export declare function getTaskDisplayStatusOption(task: Pick<TaskBoxItem, "status"> & Partial<Pick<TaskBoxItem, "completed" | "is_notice" | "is_bug" | "resolution">>): TaskBoxLabel;
|
|
34
|
+
/**
|
|
35
|
+
* 지난 일정의 표시 전용 상태다 — 일정은 생애주기가 없지만 시각이 지나면 "종료" 로 알려준다.
|
|
36
|
+
* ("완료 숨기기" 가 지난 일정을 숨기는 판정(isPastEvent)과 같은 기준이라, 왜 숨겨지는지 화면에서 읽힌다.)
|
|
37
|
+
*/
|
|
38
|
+
export declare const ENDED_EVENT_STATUS_OPTION: TaskBoxLabel;
|
|
39
|
+
/** 일정의 표시 상태를 고른다 — 지난 일정만 "종료", 진행 전/당일 일정은 표시 없음(null). */
|
|
40
|
+
export declare function getEventDisplayStatusOption(task: EventTimeSource): TaskBoxLabel | null;
|
|
41
|
+
/** 공지 전용 상태 사전이다(택일 — 게시 생애주기: 게시예정/게시중/게시종료). */
|
|
42
|
+
export declare const NOTICE_STATUS_OPTIONS: (TaskBoxLabel & {
|
|
43
|
+
key: TaskBoxStatus;
|
|
44
|
+
})[];
|
|
45
|
+
/** 공지 상태 키의 사전 항목을 돌려준다(모르는 키/일반 상태 잔재는 게시중으로). */
|
|
46
|
+
export declare function getNoticeStatusOption(status: string | undefined): TaskBoxLabel;
|
|
47
|
+
/**
|
|
48
|
+
* 칸반의 "완료" 컬럼 키다 — 상태가 아니라 완료 체크(completed)로 판정하는 가상 컬럼이다.
|
|
49
|
+
* 상태 사전 배열에 이 키를 끼워 넣으면 그 자리에 완료 컬럼이 놓인다(순서를 호출부가 정한다).
|
|
50
|
+
*/
|
|
51
|
+
export declare const KANBAN_CLOSED_COLUMN_KEY = "__closed__";
|
|
52
|
+
/**
|
|
53
|
+
* 오류 전용 상태 사전이다(택일 — 접수/확인중/진행중/보류).
|
|
54
|
+
* "완료" 는 상태가 아니라 완료 체크 축이라 여기에 넣지 않는다
|
|
55
|
+
* (한때 두었던 "수정완료" 상태는 완료와 의미가 겹쳐 폐지했다 — 완료로 옮기는 순간이 곧 신고자 검증 요청이다).
|
|
56
|
+
*/
|
|
57
|
+
export declare const BUG_STATUS_OPTIONS: (TaskBoxLabel & {
|
|
58
|
+
key: TaskBoxStatus;
|
|
59
|
+
})[];
|
|
60
|
+
/**
|
|
61
|
+
* 오류 칸반 컬럼 구성이다 — 접수 / 확인중 / 진행중 / **완료** / 보류.
|
|
62
|
+
* 완료는 상태가 아니라 완료 체크지만 실제 작업 흐름의 종착점이라 보류 앞에 끼워 넣는다.
|
|
63
|
+
*/
|
|
64
|
+
export declare const BUG_KANBAN_COLUMNS: (TaskBoxLabel & {
|
|
65
|
+
key: string;
|
|
66
|
+
})[];
|
|
67
|
+
/** 오류 상태 키의 사전 항목을 돌려준다(모르는 키는 접수로). */
|
|
68
|
+
export declare function getBugStatusOption(status: string | undefined): TaskBoxLabel;
|
|
69
|
+
/** 업무 유형에 맞는 상태 사전을 돌려준다(공지/오류/일반 — 상태 택일 메뉴·칸반 컬럼 공용). */
|
|
70
|
+
export declare function getStatusOptionsForTask(task: Pick<TaskBoxItem, "is_notice" | "is_bug">): (TaskBoxLabel & {
|
|
71
|
+
key: TaskBoxStatus;
|
|
72
|
+
})[];
|
|
73
|
+
/** 업무가 확인대기 상태인지 판정한다(정렬 우선순위 기준). */
|
|
74
|
+
export declare function isWaitingTask(task: Pick<TaskBoxItem, "status">): boolean;
|
|
75
|
+
/**
|
|
76
|
+
* 마감 미지정 업무의 정렬 순위를 구한다 — 마감기한순 정렬에서 마감 없는 꼬리 구간을
|
|
77
|
+
* "지금 움직이는 것부터"(진행중 > 확인중 > 시작전 …) 순으로 보여주기 위한 기준이다.
|
|
78
|
+
* 완료 체크된 업무는 저장 상태와 무관하게 맨 뒤로 보낸다.
|
|
79
|
+
*/
|
|
80
|
+
export declare function getNoDueStatusRank(task: Pick<TaskBoxItem, "status" | "completed">): number;
|
|
81
|
+
/**
|
|
82
|
+
* 업무의 상태+라벨을 칩 사전 항목 목록으로 변환한다 — 첫 항목이 항상 상태, 뒤가 라벨이다.
|
|
83
|
+
* (카드/캘린더가 대표색을 첫 항목에서 얻는 기존 시그니처를 유지한다.)
|
|
84
|
+
*/
|
|
85
|
+
export declare function resolveTaskStatusOptions(task: Pick<TaskBoxItem, "status" | "label_keys"> & Partial<EventTimeSource> & {
|
|
86
|
+
is_notice?: boolean;
|
|
87
|
+
is_event?: boolean;
|
|
88
|
+
is_bug?: boolean;
|
|
89
|
+
completed?: boolean;
|
|
90
|
+
resolution?: TaskBoxItem["resolution"];
|
|
91
|
+
}, labelOptions: TaskBoxLabel[]): TaskBoxLabel[];
|
|
92
|
+
/** 고른 대표색 하나로 라벨 칩 색 조합(연한 배경/글자/점)을 만든다 — 커스텀 라벨 추가용. */
|
|
93
|
+
export declare function buildStatusOptionColors(color: string): {
|
|
94
|
+
bg: string;
|
|
95
|
+
fg: string;
|
|
96
|
+
dot: string;
|
|
97
|
+
};
|
|
98
|
+
/** 라벨 키 목록에서 한 키를 토글한 새 목록을 만든다(라벨 다중선택 메뉴). */
|
|
99
|
+
export declare function toggleLabelKey(keys: string[], key: string): string[];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** 업무 가시성 판정 유틸이다 — 서버 bootstrap 필터(canViewTask)와 같은 규칙을 프런트에서 재현한다(realtime 수신 반영용). */
|
|
2
|
+
import type { TaskBoxItem } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* 내가 이 업무를 볼 수 있는지 판정한다.
|
|
5
|
+
* 일반 업무 = 관여자(작성자/책임자/참조자), 공지 = 작성자 + 대상자(대상 미지정이면 전 직원).
|
|
6
|
+
*/
|
|
7
|
+
export declare function canViewTaskItem(item: TaskBoxItem, myAccountSeq: number): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* 접수함(미배정 공개) 업무인지 판정한다 — AS isOpenPoolTask 와 같은 규칙이다.
|
|
10
|
+
* 담당자가 정해지거나 완료·보관되면 접수함에서 내려간다.
|
|
11
|
+
*/
|
|
12
|
+
export declare function isOpenPoolTaskItem(item: TaskBoxItem): boolean;
|
|
13
|
+
/** 내가 이 업무를 "가져가기" 할 수 있는지 판정한다(접수함 공개 + 내가 담당이 아님). */
|
|
14
|
+
export declare function canClaimTaskItem(item: TaskBoxItem, myAccountSeq: number): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* 내가 이 업무를 "맡기" 할 수 있는지 판정한다 — 작성자가 책임자를 비워 두고 참조자만 지정한 업무를,
|
|
17
|
+
* 참조자 본인이 맡겠다고 나서는 경우다(접수함 공개 건은 가져가기 버튼이 담당).
|
|
18
|
+
*/
|
|
19
|
+
export declare function canVolunteerTaskItem(item: TaskBoxItem, myAccountSeq: number): boolean;
|
|
20
|
+
/** 접수 상태의 미배정 오류인지 판정한다 — 관여자가 아니어도 책임자를 지정할 수 있다(서버 동일 예외). */
|
|
21
|
+
export declare function canAssignBugManager(item: TaskBoxItem): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* 내가 이 업무를 수정할 수 있는지 판정한다(AS canEditTask 동일 규칙 — 서버도 403).
|
|
24
|
+
* 공지 = 작성자만, 일반 업무 = 관여자(작성자/책임자/참조자).
|
|
25
|
+
* "모든 직원" 스위치로 열람한 남의 업무는 수정 UI 를 잠근다.
|
|
26
|
+
*/
|
|
27
|
+
export declare function canEditTaskItem(item: TaskBoxItem, myAccountSeq: number): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* 전체 업무 열람("모든 직원" 스위치)이 허용된 계정 seq 목록이다 — 코드샵 개발팀/고객지원팀.
|
|
30
|
+
* 이상지(119)·김영진(121)·남상윤(141)·신승용(143). AS bootstrap 도 같은 목록으로 게이트한다.
|
|
31
|
+
*/
|
|
32
|
+
export declare const ALL_TASK_VIEWER_ACCOUNT_SEQS: number[];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 공용 컬럼 요약 카드다 — 보드(프로젝트/칸반/목표) 컬럼과 주간 캘린더 날짜 컬럼의
|
|
3
|
+
* "헤더와 카드 사이" 요약 슬롯에 공통으로 넣는다.
|
|
4
|
+
* 진행 게이지(옵션) + 남은/지연 건수·남은 포인트·남은 공수 + D-day(옵션)로 구성된다.
|
|
5
|
+
*/
|
|
6
|
+
import type { TaskBoxItem } from "../types";
|
|
7
|
+
/** 종료일까지 남은 일수를 구한다(오늘=0, 지남=음수, 날짜 형식이 아니면 null). */
|
|
8
|
+
export declare function daysLeftUntil(endDate: string, todayStr: string): number | null;
|
|
9
|
+
/** 공용 컬럼 요약 카드 props 다. */
|
|
10
|
+
export interface TaskBoxColumnSummaryProps {
|
|
11
|
+
tasks: TaskBoxItem[];
|
|
12
|
+
todayStr: string;
|
|
13
|
+
showProgress?: boolean;
|
|
14
|
+
dday?: number | null;
|
|
15
|
+
workdaysLeft?: number | null;
|
|
16
|
+
showPoints?: boolean;
|
|
17
|
+
showHours?: boolean;
|
|
18
|
+
showOverdue?: boolean;
|
|
19
|
+
inline?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/** 공용 컬럼 요약 카드 컴포넌트다. */
|
|
22
|
+
export declare function TaskBoxColumnSummary({ tasks, todayStr, showProgress, dday, workdaysLeft, showPoints, showHours, showOverdue, inline, }: TaskBoxColumnSummaryProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 카드형 보드다(프로젝트별 컬럼).
|
|
3
|
+
* 프로젝트마다 세로 컬럼 박스를 하나씩 만들고 그 안에 할일 카드를 목록 스타일로 쌓는다.
|
|
4
|
+
* 카드를 다른 프로젝트 컬럼으로 드래그하면 그 프로젝트로 이동하고,
|
|
5
|
+
* 프로젝트 컬럼 헤더를 드래그하면 컬럼 순서가 바뀐다(기본 업무함은 맨 앞 고정).
|
|
6
|
+
* 헤더 오른쪽 ⋮ 메뉴로 새 업무 등록/이름 수정/삭제를 하고, 맨 끝 점선 박스로 프로젝트를 추가한다.
|
|
7
|
+
*/
|
|
8
|
+
import type { TaskBoxCustomTab, TaskBoxItem, TaskBoxLabel, TaskBoxReminder, TaskBoxSprint } from "../types";
|
|
9
|
+
export interface TaskBoxGroupBoardProps {
|
|
10
|
+
tasks: TaskBoxItem[];
|
|
11
|
+
statusOptions: TaskBoxLabel[];
|
|
12
|
+
customTabs: TaskBoxCustomTab[];
|
|
13
|
+
mode?: "active" | "archived";
|
|
14
|
+
onToggleCompleted: (taskSeq: number, completed: boolean) => void;
|
|
15
|
+
onRequestReply: (task: TaskBoxItem) => void;
|
|
16
|
+
onChangeDueDate: (taskSeq: number, date: string) => void;
|
|
17
|
+
onChangeReminder: (taskSeq: number, reminder: TaskBoxReminder) => void;
|
|
18
|
+
onMoveTask: (taskSeq: number, tabKey: string, orderedSeqs: number[]) => void;
|
|
19
|
+
columnAxis?: "project" | "status" | "sprint";
|
|
20
|
+
statusColumns?: (TaskBoxLabel & {
|
|
21
|
+
key: string;
|
|
22
|
+
})[];
|
|
23
|
+
onMoveTaskStatus?: (taskSeq: number, statusKey: string) => void;
|
|
24
|
+
sprintColumns?: TaskBoxSprint[];
|
|
25
|
+
onMoveTaskSprint?: (taskSeq: number, sprintSeq: number) => void;
|
|
26
|
+
onAddGroup: () => void;
|
|
27
|
+
onAddTask: (tabKey: string) => void;
|
|
28
|
+
canAdd?: boolean;
|
|
29
|
+
onRequestRename: (key: string, label: string, icon: string) => void;
|
|
30
|
+
onArchiveProject: (key: string, archived: boolean) => void;
|
|
31
|
+
onDeleteProject: (key: string) => void;
|
|
32
|
+
onReorderProjects: (orderedKeys: string[]) => void;
|
|
33
|
+
onOpenDetail: (task: TaskBoxItem) => void;
|
|
34
|
+
onTaskContextMenu: (task: TaskBoxItem, event: React.MouseEvent) => void;
|
|
35
|
+
renderColumnSummary?: (columnKey: string, columnTasks: TaskBoxItem[]) => React.ReactNode;
|
|
36
|
+
onEditSprint?: (sprintSeq: number) => void;
|
|
37
|
+
onChangeSprintStatus?: (sprintSeq: number, status: TaskBoxSprint["status"]) => void;
|
|
38
|
+
onRemoveSprint?: (sprintSeq: number) => void;
|
|
39
|
+
}
|
|
40
|
+
/** 카드형 보드 컴포넌트다. */
|
|
41
|
+
export declare function TaskBoxGroupBoard({ tasks, statusOptions, customTabs, mode, onToggleCompleted, onRequestReply, onChangeDueDate, onChangeReminder, onMoveTask, columnAxis, statusColumns, onMoveTaskStatus, sprintColumns, onMoveTaskSprint, onAddGroup, onAddTask, canAdd, onRequestRename, onArchiveProject, onDeleteProject, onReorderProjects, onOpenDetail, onTaskContextMenu, renderColumnSummary, onEditSprint, onChangeSprintStatus, onRemoveSprint, }: TaskBoxGroupBoardProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 업무함 모바일 전용 목록이다 — 로딩/빈 상태와 카드 스택 조립만 담당한다.
|
|
3
|
+
* 카드 1장의 내용은 TaskBoxMobileCard 가 그린다.
|
|
4
|
+
*/
|
|
5
|
+
import type { NoticeAckInfo } from "../utils/noticeTargets";
|
|
6
|
+
import type { TaskBoxCustomTab, TaskBoxItem, TaskBoxLabel } from "../types";
|
|
7
|
+
export interface TaskBoxMobileListProps {
|
|
8
|
+
tasks: TaskBoxItem[];
|
|
9
|
+
statusOptions: TaskBoxLabel[];
|
|
10
|
+
customTabs: TaskBoxCustomTab[];
|
|
11
|
+
loading: boolean;
|
|
12
|
+
searchText: string;
|
|
13
|
+
todayStr: string;
|
|
14
|
+
onToggleCompleted: (taskSeq: number, completed: boolean) => void;
|
|
15
|
+
onOpenDetail: (task: TaskBoxItem) => void;
|
|
16
|
+
onTaskContextMenu: (task: TaskBoxItem, event: React.MouseEvent) => void;
|
|
17
|
+
getTargetSummary?: (task: TaskBoxItem) => string;
|
|
18
|
+
getAckInfo?: (task: TaskBoxItem) => NoticeAckInfo;
|
|
19
|
+
getNoticeReadOnly?: (task: TaskBoxItem) => boolean;
|
|
20
|
+
isTaskUnread?: (task: TaskBoxItem) => boolean;
|
|
21
|
+
getCompleteLocked?: (task: TaskBoxItem) => boolean;
|
|
22
|
+
onAckConfirm?: (task: TaskBoxItem) => void;
|
|
23
|
+
onAckListClick?: (task: TaskBoxItem, anchorEl: HTMLElement) => void;
|
|
24
|
+
onEndReached?: () => void;
|
|
25
|
+
myAccountSeq?: number;
|
|
26
|
+
}
|
|
27
|
+
/** 업무함 모바일 카드 목록을 렌더링한다. */
|
|
28
|
+
export declare function TaskBoxMobileList({ tasks, statusOptions, customTabs, loading, searchText, todayStr, onToggleCompleted, onOpenDetail, onTaskContextMenu, getTargetSummary, getAckInfo, getNoticeReadOnly, isTaskUnread, getCompleteLocked, onAckConfirm, onAckListClick, onEndReached, myAccountSeq, }: TaskBoxMobileListProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 월간 아젠다 뷰다(작은 모바일 전용) — 7열 격자가 무의미한 폭에서 쓴다.
|
|
3
|
+
* 세로축에 그 달의 날짜(일자+요일)를 나열하고, 각 날짜 행에 업무 카드와 구글 일정을 흐르게 배치한다.
|
|
4
|
+
* 상단에서 월 단위로 이동하고(오늘 버튼 복귀), 이번 달이면 오늘 행으로 자동 스크롤한다.
|
|
5
|
+
*/
|
|
6
|
+
import type { TaskBoxGoogleEvent, TaskBoxItem, TaskBoxLabel } from "../types";
|
|
7
|
+
export interface TaskBoxMonthAgendaProps {
|
|
8
|
+
tasks: TaskBoxItem[];
|
|
9
|
+
googleEvents?: TaskBoxGoogleEvent[];
|
|
10
|
+
statusOptions: TaskBoxLabel[];
|
|
11
|
+
todayStr: string;
|
|
12
|
+
onOpenDetail: (task: TaskBoxItem) => void;
|
|
13
|
+
onAddSchedule?: (dueDate: string) => void;
|
|
14
|
+
}
|
|
15
|
+
/** 월간 아젠다 뷰 컴포넌트다. */
|
|
16
|
+
export declare function TaskBoxMonthAgenda({ tasks, googleEvents, statusOptions, todayStr, onOpenDetail, onAddSchedule, }: TaskBoxMonthAgendaProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 월간 캘린더 뷰다.
|
|
3
|
+
* 한 달을 일~토 7열 격자로 그리고 마감기한(due_date) 기준으로 업무를 칸 안에 쌓는다.
|
|
4
|
+
* 접기("+n") 없이 전부 보여주고 내용이 넘치면 캘린더 전체가 세로 스크롤된다. 칩을 다른 날짜 칸으로 끌면 마감일이 바뀐다.
|
|
5
|
+
* 상단에서 월 단위로 이동하고(오늘 버튼으로 이번 달 복귀), 연/월 제목을 누르면 달력 팝퍼로 이동한다.
|
|
6
|
+
*/
|
|
7
|
+
import type { TaskBoxGoogleEvent, TaskBoxItem, TaskBoxLabel } from "../types";
|
|
8
|
+
export interface TaskBoxMonthCalendarProps {
|
|
9
|
+
tasks: TaskBoxItem[];
|
|
10
|
+
googleEvents?: TaskBoxGoogleEvent[];
|
|
11
|
+
statusOptions: TaskBoxLabel[];
|
|
12
|
+
todayStr: string;
|
|
13
|
+
onMoveTask: (taskSeq: number, dueDate: string, orderedSeqs: number[]) => void;
|
|
14
|
+
onAddSchedule: (dueDate: string) => void;
|
|
15
|
+
canAdd?: boolean;
|
|
16
|
+
onOpenDetail: (task: TaskBoxItem) => void;
|
|
17
|
+
onTaskContextMenu: (task: TaskBoxItem, event: React.MouseEvent) => void;
|
|
18
|
+
}
|
|
19
|
+
/** 월간 캘린더 컴포넌트다. */
|
|
20
|
+
export declare function TaskBoxMonthCalendar({ tasks, googleEvents, statusOptions, todayStr, onMoveTask, onAddSchedule, canAdd, onOpenDetail, onTaskContextMenu, }: TaskBoxMonthCalendarProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 목표(스프린트) 컬럼 요약이다 — 공용 컬럼 요약 카드(TaskBoxColumnSummary)에
|
|
3
|
+
* 목표 종료일 기준 D-day 와 남은 근무일(주말·공휴일 제외)을 얹은 래퍼다
|
|
4
|
+
* (이름·상태는 컬럼 헤더가 이미 보여준다. 공휴일은 Provider `loadHolidays` 주입 기반).
|
|
5
|
+
*/
|
|
6
|
+
import type { TaskBoxItem, TaskBoxSprint } from "../types";
|
|
7
|
+
import { type TaskBoxColumnSummaryProps } from "./TaskBoxColumnSummary";
|
|
8
|
+
/** 목표 컬럼 요약 props 다 — 항목 표시여부(showPoints 등)는 공용 카드 옵션을 그대로 통과시킨다. */
|
|
9
|
+
export interface TaskBoxSprintColumnSummaryProps extends Pick<TaskBoxColumnSummaryProps, "showPoints" | "showHours" | "showOverdue"> {
|
|
10
|
+
sprint: TaskBoxSprint;
|
|
11
|
+
tasks: TaskBoxItem[];
|
|
12
|
+
todayStr: string;
|
|
13
|
+
}
|
|
14
|
+
/** 목표 컬럼 요약 컴포넌트다. */
|
|
15
|
+
export declare function TaskBoxSprintColumnSummary({ sprint, tasks, todayStr, ...showOptions }: TaskBoxSprintColumnSummaryProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 업무함 노션풍 표다.
|
|
3
|
+
* 헤더는 회색 아이콘+라벨의 그리드 행이고, 본문은 react-virtuoso 로 가상화한다.
|
|
4
|
+
* 그룹 모드에서는 가상화 항목이 "그룹 섹션(헤더+소속 행)"이고 접기/펼치기는 애니메이션 없이 즉시 전환한다.
|
|
5
|
+
* 스크롤은 OverlayScrollbar 를 Virtuoso 의 customScrollParent 로 연결해 오버레이 스크롤바로 표시한다.
|
|
6
|
+
* 시작일자/마감기한 칸은 달력 팝퍼, 프로젝트 칸은 선택 메뉴, 책임자/참조자 칸은 직원 선택 다이얼로그(부모)로 수정한다.
|
|
7
|
+
*/
|
|
8
|
+
import type { TaskBoxCustomTab, TaskBoxDateField, TaskBoxGroupBy, TaskBoxItem, TaskBoxLabel, TaskBoxMemberField, TaskBoxPriority, TaskBoxReminder, TaskBoxStatus } from "../types";
|
|
9
|
+
import type { NoticeAckInfo, NoticeTargetDisplay } from "../utils/noticeTargets";
|
|
10
|
+
import type { TaskConfirmInfo } from "../utils/taskConfirm";
|
|
11
|
+
import { type TaskBoxColumnOptions } from "../table/columns";
|
|
12
|
+
export interface TaskBoxTableProps {
|
|
13
|
+
tasks: TaskBoxItem[];
|
|
14
|
+
statusOptions: TaskBoxLabel[];
|
|
15
|
+
avatarSrcByName?: Map<string, string>;
|
|
16
|
+
searchText: string;
|
|
17
|
+
todayStr: string;
|
|
18
|
+
sortBy: string;
|
|
19
|
+
sortDirection: "asc" | "desc";
|
|
20
|
+
onSort: (columnId: string, direction: "asc" | "desc") => void;
|
|
21
|
+
onRequestReply: (task: TaskBoxItem) => void;
|
|
22
|
+
onToggleCompleted: (task: TaskBoxItem, completed: boolean) => void;
|
|
23
|
+
onChangeTaskDate: (taskSeq: number, field: TaskBoxDateField, date: string) => void;
|
|
24
|
+
onChangeTaskReminder: (taskSeq: number, reminder: TaskBoxReminder) => void;
|
|
25
|
+
groupBy: TaskBoxGroupBy;
|
|
26
|
+
collapsedGroupKeys: string[];
|
|
27
|
+
customTabs: TaskBoxCustomTab[];
|
|
28
|
+
onToggleGroup: (groupKey: string) => void;
|
|
29
|
+
renderGroupSummary?: (groupKey: string, groupTasks: TaskBoxItem[]) => React.ReactNode;
|
|
30
|
+
onChangeTaskProject: (taskSeq: number, tabKey: string) => void;
|
|
31
|
+
onAddProject?: (label: string, icon: string) => Promise<string> | string;
|
|
32
|
+
onChangeNote: (taskSeq: number, note: string) => void;
|
|
33
|
+
onMemberClick: (task: TaskBoxItem, field: TaskBoxMemberField) => void;
|
|
34
|
+
onClaimTask?: (taskSeq: number) => void;
|
|
35
|
+
onChangeTaskStatus: (taskSeq: number, status: TaskBoxStatus) => void;
|
|
36
|
+
onOpenDetail: (task: TaskBoxItem) => void;
|
|
37
|
+
onTaskContextMenu: (task: TaskBoxItem, event: React.MouseEvent) => void;
|
|
38
|
+
onMemberFilterClick: (field: TaskBoxMemberField, anchorEl: HTMLElement) => void;
|
|
39
|
+
activeMemberFilters?: TaskBoxMemberField[];
|
|
40
|
+
onStatusFilterClick: (anchorEl: HTMLElement) => void;
|
|
41
|
+
statusFilterActive?: boolean;
|
|
42
|
+
onAckFilterClick?: (anchorEl: HTMLElement) => void;
|
|
43
|
+
ackFilterActive?: boolean;
|
|
44
|
+
onProjectFilterClick?: (anchorEl: HTMLElement) => void;
|
|
45
|
+
projectFilterActive?: boolean;
|
|
46
|
+
onPriorityFilterClick?: (anchorEl: HTMLElement) => void;
|
|
47
|
+
priorityFilterActive?: boolean;
|
|
48
|
+
columns?: TaskBoxColumnOptions;
|
|
49
|
+
getConfirmInfo?: (task: TaskBoxItem) => TaskConfirmInfo;
|
|
50
|
+
onConfirmTask?: (task: TaskBoxItem) => void;
|
|
51
|
+
myAccountSeq?: number;
|
|
52
|
+
noticeAdmin?: boolean;
|
|
53
|
+
getTargetSummary?: (task: TaskBoxItem) => string;
|
|
54
|
+
getTargetDisplay?: (task: TaskBoxItem) => NoticeTargetDisplay;
|
|
55
|
+
onArchiveTask?: (task: TaskBoxItem) => void;
|
|
56
|
+
isTaskUnread?: (task: TaskBoxItem) => boolean;
|
|
57
|
+
getAckInfo?: (task: TaskBoxItem) => NoticeAckInfo;
|
|
58
|
+
onAckConfirm?: (task: TaskBoxItem) => void;
|
|
59
|
+
onAckListClick?: (task: TaskBoxItem, anchorEl: HTMLElement) => void;
|
|
60
|
+
onChangeTaskPriority?: (taskSeq: number, priority: TaskBoxPriority) => void;
|
|
61
|
+
onEndReached?: () => void;
|
|
62
|
+
}
|
|
63
|
+
/** 업무함 표 컴포넌트다(헤더 + 가상화 본문 + 인라인 수정 팝퍼/메뉴). */
|
|
64
|
+
export declare function TaskBoxTable({ tasks, statusOptions, avatarSrcByName, searchText, todayStr, sortBy, sortDirection, onSort, onRequestReply, onToggleCompleted, onChangeTaskDate, onChangeTaskReminder, groupBy, collapsedGroupKeys, customTabs, onToggleGroup, renderGroupSummary, onChangeTaskProject, onAddProject, onChangeNote, onMemberClick, onClaimTask, onChangeTaskStatus, onOpenDetail, onTaskContextMenu, onMemberFilterClick, activeMemberFilters, onStatusFilterClick, statusFilterActive, onAckFilterClick, ackFilterActive, onProjectFilterClick, projectFilterActive, onPriorityFilterClick, priorityFilterActive, columns, getConfirmInfo, onConfirmTask, myAccountSeq, noticeAdmin, getTargetSummary, getTargetDisplay, onArchiveTask, isTaskUnread, getAckInfo, onAckConfirm, onAckListClick, onChangeTaskPriority, onEndReached, }: TaskBoxTableProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 타임라인 뷰다(간트 스타일).
|
|
3
|
+
* x축은 날짜(가로 스크롤), y축은 업무 한 줄씩이며 시작일자~마감기한을 막대로 그린다.
|
|
4
|
+
* 넓은 내용은 paper 를 밀어내지 않고 내부 스크롤러에서만 가로 스크롤되며,
|
|
5
|
+
* 왼쪽 업무명 컬럼은 가로 스크롤에도 고정(sticky)되고 날짜 헤더는 세로 스크롤에 고정된다.
|
|
6
|
+
* 날짜 칸은 일자만 있는 칸은 고정 폭, 월이 바뀌는 "7/1" 칸만 살짝 넓다(막대 위치는 누적 오프셋으로 계산).
|
|
7
|
+
* 막대 색은 중요도(높음 빨강/중간 파랑/낮음 노랑)를 따르고, 완료 업무는 흐리게 표시한다.
|
|
8
|
+
*/
|
|
9
|
+
import type { TaskBoxItem } from "../types";
|
|
10
|
+
export interface TaskBoxTimelineProps {
|
|
11
|
+
tasks: TaskBoxItem[];
|
|
12
|
+
todayStr: string;
|
|
13
|
+
onOpenDetail: (task: TaskBoxItem) => void;
|
|
14
|
+
onToggleChecklist: (taskSeq: number, index: number, checked: boolean) => void;
|
|
15
|
+
onReorderTasks: (orderedSeqs: number[]) => void;
|
|
16
|
+
onTaskContextMenu: (task: TaskBoxItem, event: React.MouseEvent) => void;
|
|
17
|
+
}
|
|
18
|
+
/** 타임라인 뷰 컴포넌트다. */
|
|
19
|
+
export declare function TaskBoxTimeline({ tasks, todayStr, onOpenDetail, onToggleChecklist, onReorderTasks, onTaskContextMenu, }: TaskBoxTimelineProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 보기타입 스위처다 — `view` 값으로 8종 보기 컴포넌트(6종 + 모바일 아젠다 + 목표 보드)를 전환하는 편의 래퍼.
|
|
3
|
+
* 판별 유니온 props 라 각 보기의 props 를 타입 안전하게 그대로 받는다(래퍼는 선택 — 개별 컴포넌트 직접 사용 가능).
|
|
4
|
+
* 보드(card)·칸반(kanban)·목표(sprint)는 같은 TaskBoxGroupBoard 를 컬럼 축만 바꿔 재사용한다.
|
|
5
|
+
*/
|
|
6
|
+
import type { TaskBoxViewMode } from "../types";
|
|
7
|
+
import { type TaskBoxTableProps } from "./TaskBoxTable";
|
|
8
|
+
import { type TaskBoxGroupBoardProps } from "./TaskBoxGroupBoard";
|
|
9
|
+
import { type TaskBoxWeekCalendarProps } from "./TaskBoxWeekCalendar";
|
|
10
|
+
import { type TaskBoxMonthCalendarProps } from "./TaskBoxMonthCalendar";
|
|
11
|
+
import { type TaskBoxMonthAgendaProps } from "./TaskBoxMonthAgenda";
|
|
12
|
+
import { type TaskBoxTimelineProps } from "./TaskBoxTimeline";
|
|
13
|
+
/**
|
|
14
|
+
* 스위처가 받는 보기 종류다 — www 저장값 호환 타입(TaskBoxViewMode)에
|
|
15
|
+
* 모바일 아젠다("agenda")와 목표 보드("sprint")를 더한 확장.
|
|
16
|
+
* TaskBoxViewMode 자체는 www 저장/설정 호환을 위해 그대로 둔다.
|
|
17
|
+
*/
|
|
18
|
+
export type TaskBoxViewKind = TaskBoxViewMode | "agenda" | "sprint";
|
|
19
|
+
/** 보기별 props 판별 유니온이다 — `view` 로 갈라진다. */
|
|
20
|
+
export type TaskBoxViewProps = ({
|
|
21
|
+
view: "list";
|
|
22
|
+
} & TaskBoxTableProps) | ({
|
|
23
|
+
view: "card" | "kanban";
|
|
24
|
+
} & Omit<TaskBoxGroupBoardProps, "columnAxis">) | ({
|
|
25
|
+
view: "sprint";
|
|
26
|
+
} & Omit<TaskBoxGroupBoardProps, "columnAxis">) | ({
|
|
27
|
+
view: "calendar";
|
|
28
|
+
} & TaskBoxWeekCalendarProps) | ({
|
|
29
|
+
view: "month";
|
|
30
|
+
} & TaskBoxMonthCalendarProps) | ({
|
|
31
|
+
view: "agenda";
|
|
32
|
+
} & TaskBoxMonthAgendaProps) | ({
|
|
33
|
+
view: "timeline";
|
|
34
|
+
} & TaskBoxTimelineProps);
|
|
35
|
+
/** view 값으로 보기 컴포넌트를 전환해 렌더링한다. */
|
|
36
|
+
export declare function TaskBoxView(props: TaskBoxViewProps): import("react").JSX.Element;
|
|
37
|
+
/** 보기 모드 목록이다(셀렉터 구성용 — 라벨은 소비처가 붙인다). */
|
|
38
|
+
export declare const TASKBOX_VIEW_MODES: TaskBoxViewMode[];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 오늘의 할일 주간 캘린더다(노션 데드라인 보드 스타일).
|
|
3
|
+
* 일~토 7개 세로 컬럼에 마감기한(due_date) 기준으로 업무 카드를 배치하고,
|
|
4
|
+
* 상단에서 주 단위로 이동한다(오늘 버튼으로 이번 주 복귀).
|
|
5
|
+
* 카드를 드래그하면 같은 날 안에서 순서를 바꾸고, 다른 날짜 컬럼 위로 끌면
|
|
6
|
+
* 반투명 자리표시 카드가 들어갈 위치에 미리 보이며, 놓으면 그 자리에 들어가 마감일이 바뀐다.
|
|
7
|
+
* 완료 체크는 확인 팝퍼를 거쳐 보관/복원을 토글한다.
|
|
8
|
+
*/
|
|
9
|
+
import type { TaskBoxGoogleEvent, TaskBoxItem, TaskBoxLabel } from "../types";
|
|
10
|
+
export interface TaskBoxWeekCalendarProps {
|
|
11
|
+
tasks: TaskBoxItem[];
|
|
12
|
+
googleEvents?: TaskBoxGoogleEvent[];
|
|
13
|
+
statusOptions: TaskBoxLabel[];
|
|
14
|
+
todayStr: string;
|
|
15
|
+
onToggleCompleted: (taskSeq: number, completed: boolean) => void;
|
|
16
|
+
onMoveTask: (taskSeq: number, dueDate: string, orderedSeqs: number[]) => void;
|
|
17
|
+
onRequestReply: (task: TaskBoxItem) => void;
|
|
18
|
+
onAddSchedule: (dueDate: string) => void;
|
|
19
|
+
canAdd?: boolean;
|
|
20
|
+
onOpenDetail: (task: TaskBoxItem) => void;
|
|
21
|
+
onTaskContextMenu: (task: TaskBoxItem, event: React.MouseEvent) => void;
|
|
22
|
+
renderColumnSummary?: (dayKey: string, columnTasks: TaskBoxItem[]) => React.ReactNode;
|
|
23
|
+
}
|
|
24
|
+
/** 오늘의 할일 주간 캘린더 컴포넌트다. */
|
|
25
|
+
export declare function TaskBoxWeekCalendar({ tasks, googleEvents, statusOptions, todayStr, onToggleCompleted, onMoveTask, onRequestReply, onAddSchedule, canAdd, onOpenDetail, onTaskContextMenu, renderColumnSummary, }: TaskBoxWeekCalendarProps): import("react").JSX.Element;
|
package/package.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ehfuse/taskbox",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A React/MUI task inbox component with notices, per-user assignments, read tracking, and mobile card UI",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"module": "dist/index.esm.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.esm.js",
|
|
13
|
+
"require": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "restricted"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"README.md",
|
|
23
|
+
"LICENSE"
|
|
24
|
+
],
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "node build.mjs",
|
|
27
|
+
"type-check": "tsc --noEmit",
|
|
28
|
+
"prepublishOnly": "npm run build"
|
|
29
|
+
},
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "git+https://github.com/ehfuse/taskbox.git"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"react",
|
|
36
|
+
"task",
|
|
37
|
+
"taskbox",
|
|
38
|
+
"todo",
|
|
39
|
+
"kanban",
|
|
40
|
+
"calendar",
|
|
41
|
+
"timeline",
|
|
42
|
+
"gantt",
|
|
43
|
+
"notice",
|
|
44
|
+
"material-ui",
|
|
45
|
+
"mui",
|
|
46
|
+
"typescript"
|
|
47
|
+
],
|
|
48
|
+
"author": "김영진 <ehfuse@gmail.com>",
|
|
49
|
+
"license": "MIT",
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/ehfuse/taskbox/issues"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://github.com/ehfuse/taskbox#readme",
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@dnd-kit/core": ">=6.0.0",
|
|
56
|
+
"@dnd-kit/sortable": ">=8.0.0",
|
|
57
|
+
"@dnd-kit/utilities": ">=3.0.0",
|
|
58
|
+
"@ehfuse/alerts": ">=1.1.4",
|
|
59
|
+
"@ehfuse/editor": ">=1.1.0",
|
|
60
|
+
"@ehfuse/forma": ">=3.4.0",
|
|
61
|
+
"@ehfuse/mui-color-picker": ">=1.5.0",
|
|
62
|
+
"@ehfuse/mui-datetime-picker": ">=1.0.20",
|
|
63
|
+
"@ehfuse/mui-form-controls": ">=3.1.0",
|
|
64
|
+
"@ehfuse/mui-form-dialog": ">=1.7.51",
|
|
65
|
+
"@ehfuse/overlay-scrollbar": ">=1.7.0",
|
|
66
|
+
"@emotion/react": ">=11.0.0",
|
|
67
|
+
"@emotion/styled": ">=11.0.0",
|
|
68
|
+
"@mui/icons-material": ">=6.0.0",
|
|
69
|
+
"@mui/material": ">=6.0.0",
|
|
70
|
+
"react": ">=18.0.0",
|
|
71
|
+
"react-daum-postcode": ">=3.0.0",
|
|
72
|
+
"react-dom": ">=18.0.0",
|
|
73
|
+
"react-virtuoso": ">=4.0.0"
|
|
74
|
+
},
|
|
75
|
+
"peerDependenciesMeta": {
|
|
76
|
+
"react-daum-postcode": {
|
|
77
|
+
"optional": true
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"devDependencies": {
|
|
81
|
+
"@dnd-kit/core": "^6.3.1",
|
|
82
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
83
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
84
|
+
"@ehfuse/alerts": "^1.1.4",
|
|
85
|
+
"@ehfuse/editor": "^1.1.8",
|
|
86
|
+
"@ehfuse/forma": "^3.4.0",
|
|
87
|
+
"@ehfuse/mui-color-picker": "^1.5.4",
|
|
88
|
+
"@ehfuse/mui-datetime-picker": "^1.0.20",
|
|
89
|
+
"@ehfuse/mui-form-controls": "^3.1.62",
|
|
90
|
+
"@ehfuse/mui-form-dialog": "^1.7.51",
|
|
91
|
+
"@ehfuse/overlay-scrollbar": "^1.7.27",
|
|
92
|
+
"@emotion/react": "^11.14.0",
|
|
93
|
+
"@emotion/styled": "^11.14.1",
|
|
94
|
+
"@mui/icons-material": "^7.3.4",
|
|
95
|
+
"@mui/material": "^7.3.7",
|
|
96
|
+
"@types/node": "^24.6.1",
|
|
97
|
+
"@types/react": "^19.0.0",
|
|
98
|
+
"@types/react-dom": "^19.0.0",
|
|
99
|
+
"esbuild": "^0.27.0",
|
|
100
|
+
"esbuild-plugin-d.ts": "^1.3.1",
|
|
101
|
+
"react": "^19.2.4",
|
|
102
|
+
"react-daum-postcode": "^3.2.0",
|
|
103
|
+
"react-dom": "^19.2.4",
|
|
104
|
+
"react-virtuoso": "^4.14.1",
|
|
105
|
+
"tslib": "^2.8.1",
|
|
106
|
+
"typescript": "~5.9.3"
|
|
107
|
+
},
|
|
108
|
+
"engines": {
|
|
109
|
+
"node": ">=18.0.0"
|
|
110
|
+
}
|
|
111
|
+
}
|