@ehfuse/taskbox 0.11.12 → 0.11.14
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/index.esm.js +12 -12
- package/dist/index.esm.js.map +4 -4
- package/dist/index.js +32 -32
- package/dist/index.js.map +4 -4
- package/dist/types/provider.d.ts +5 -0
- package/dist/utils/taskVisibility.d.ts +4 -0
- package/package.json +1 -1
package/dist/types/provider.d.ts
CHANGED
|
@@ -46,6 +46,11 @@ export interface TaskboxSlots {
|
|
|
46
46
|
emojiPicker?: ComponentType<{
|
|
47
47
|
onPick: (emoji: string) => void;
|
|
48
48
|
}>;
|
|
49
|
+
/**
|
|
50
|
+
* 모바일 목록이 처음 읽는 동안의 스피너(0.11.13) — 미지정이면 회색 원형 스피너를 화면 가운데 띄운다.
|
|
51
|
+
* 호스트가 새로고침 때 띄워 둔 부트 스피너를 이어 쓰게 할 때 준다(스피너가 바뀌며 다시 도는 것처럼 보이지 않게).
|
|
52
|
+
*/
|
|
53
|
+
loadingSpinner?: ComponentType;
|
|
49
54
|
}
|
|
50
55
|
/** 업무 번역 요청 — 서버가 본문을 읽으므로 업무 seq 와 대상 언어만 보낸다. */
|
|
51
56
|
export interface TaskboxTranslateInput {
|
|
@@ -14,6 +14,10 @@ export declare function taskVisibilityOf(item: Pick<TaskBoxItem, "visibility" |
|
|
|
14
14
|
export declare function canViewTaskItem(item: TaskBoxItem, myAccountSeq: number, myGroupSeq?: number): boolean;
|
|
15
15
|
/** 소비처 피드의 글 · 투표인가 — 패키지 타입에는 없는 칸이라 있으면 본다(taskham is_post · is_poll). */
|
|
16
16
|
export declare function isFeedOnlyItem(item: TaskBoxItem): boolean;
|
|
17
|
+
/** 글 · 투표 줄의 사람 칸에 적을 이름 — 작성자다(글에는 책임자가 없다, 2026-10-29). 옛 글의 책임자 값은 작성자가 없을 때만 쓴다. */
|
|
18
|
+
export declare function feedAuthorName(item: TaskBoxItem): string;
|
|
19
|
+
/** 목록 · 카드의 책임자 칸에 적을 이름 — 글 · 투표면 작성자, 업무면 책임자. */
|
|
20
|
+
export declare function managerColumnName(item: TaskBoxItem): string;
|
|
17
21
|
/**
|
|
18
22
|
* 접수함(미배정 공개) 업무인지 판정한다 — AS isOpenPoolTask 와 같은 규칙이다.
|
|
19
23
|
* 공개 범위(부서/전체)가 열려 있고 담당자가 없으면 열람자 누구나 "가져가기" 할 수 있다.
|
package/package.json
CHANGED