@ehfuse/taskbox 0.5.284 → 0.5.286
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/atoms/DueDatePickerPopover.d.ts +8 -3
- package/dist/atoms/TaskContextMenu.d.ts +1 -1
- package/dist/drawers/TaskDetailBody.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +31 -31
- package/dist/index.esm.js.map +4 -4
- package/dist/index.js +32 -32
- package/dist/index.js.map +4 -4
- package/dist/sections/TaskCorePropertiesGrid.d.ts +2 -2
- package/dist/types/form.d.ts +1 -1
- package/dist/types/item.d.ts +2 -1
- package/dist/utils/taskReminder.d.ts +26 -0
- package/dist/views/TaskBoxCompactTable.d.ts +1 -1
- package/dist/views/TaskBoxGroupBoard.d.ts +1 -1
- package/dist/views/TaskBoxTable.d.ts +1 -1
- package/package.json +1 -1
|
@@ -34,17 +34,22 @@ export declare function getReminderOptions(hasTime: boolean): {
|
|
|
34
34
|
}[];
|
|
35
35
|
/** 사전알림 값의 표시 라벨을 돌려준다(선택지에서 뺀 레거시 "당일" 도 표시는 유지한다). */
|
|
36
36
|
export declare function getReminderLabel(reminder: TaskBoxReminder): string;
|
|
37
|
+
/**
|
|
38
|
+
* 고른 사전알림들을 한 줄로 적는다("1일 전, 1주일 전").
|
|
39
|
+
* 셋을 넘으면 뒤를 "외 n" 으로 줄인다 — 줄이 길어지면 정작 마감일시가 안 읽힌다.
|
|
40
|
+
*/
|
|
41
|
+
export declare function getRemindersLabel(reminders: TaskBoxReminder[]): string;
|
|
37
42
|
export interface DueDatePickerPopoverProps {
|
|
38
43
|
anchorEl: HTMLElement | null;
|
|
39
44
|
open: boolean;
|
|
40
45
|
date: string;
|
|
41
|
-
|
|
46
|
+
reminders: TaskBoxReminder[];
|
|
42
47
|
hideReminder?: boolean;
|
|
43
48
|
showTime?: boolean;
|
|
44
49
|
centered?: boolean;
|
|
45
50
|
onClose: () => void;
|
|
46
51
|
onDateChange: (value: string) => void;
|
|
47
|
-
onReminderChange: (
|
|
52
|
+
onReminderChange: (reminders: TaskBoxReminder[]) => void;
|
|
48
53
|
}
|
|
49
54
|
/** 마감일시 달력 + 사전알림 팝오버 컴포넌트다. */
|
|
50
|
-
export declare function DueDatePickerPopover({ anchorEl, open, date,
|
|
55
|
+
export declare function DueDatePickerPopover({ anchorEl, open, date, reminders, hideReminder, showTime, centered, onClose, onDateChange, onReminderChange, }: DueDatePickerPopoverProps): import("react").JSX.Element;
|
|
@@ -23,7 +23,7 @@ export interface TaskContextMenuProps {
|
|
|
23
23
|
onToggleCompleted: (taskSeq: number, completed: boolean) => void;
|
|
24
24
|
onRequestConfirm?: (task: TaskBoxItem) => void;
|
|
25
25
|
onChangeDueDate: (taskSeq: number, ymd: string) => void;
|
|
26
|
-
onChangeReminder?: (taskSeq: number,
|
|
26
|
+
onChangeReminder?: (taskSeq: number, reminders: TaskBoxReminder[]) => void;
|
|
27
27
|
onMemberEdit?: (task: TaskBoxItem, field: TaskBoxMemberField) => void;
|
|
28
28
|
onMoveProject: (taskSeq: number, tabKey: string) => void;
|
|
29
29
|
onDuplicate?: (taskSeq: number) => void;
|
|
@@ -20,7 +20,7 @@ export interface TaskDetailBodyProps {
|
|
|
20
20
|
onChangeProject: (taskSeq: number, tabKey: string) => void;
|
|
21
21
|
onAddProject?: (label: string, icon: string, useSprints: boolean) => Promise<string | void> | string | void;
|
|
22
22
|
onChangeDate: (taskSeq: number, field: TaskBoxDateField, date: string) => void;
|
|
23
|
-
onChangeReminder: (taskSeq: number,
|
|
23
|
+
onChangeReminder: (taskSeq: number, reminders: TaskBoxReminder[]) => void;
|
|
24
24
|
onMemberEdit: (task: TaskBoxItem, field: TaskBoxMemberField, stage: ((fields: Partial<TaskBoxItem>) => void) | null) => void;
|
|
25
25
|
onChangePriority: (taskSeq: number, priority: TaskBoxPriority) => void;
|
|
26
26
|
onChangeVisibility?: (taskSeq: number, visibility: TaskBoxVisibility, visibilityGroupSeq: number) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from "./table/columns";
|
|
|
20
20
|
export { type TaskCompleteConfirmTarget } from "./table/TaskBoxRow";
|
|
21
21
|
export { type UseTaskItemHook } from "./table/TableTaskRow";
|
|
22
22
|
export * from "./utils/taskRepeat";
|
|
23
|
+
export * from "./utils/taskReminder";
|
|
23
24
|
export * from "./utils/taskTemplate";
|
|
24
25
|
export * from "./board/TaskCardContent";
|
|
25
26
|
export * from "./board/SortableTaskCard";
|