@ehfuse/taskbox 0.5.401 → 0.5.403

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.
@@ -1,12 +1,16 @@
1
1
  /**
2
- * 업무 내용 번역 다이얼로그 — 언어를 고르면 제목·본문을 AI 로 번역해 보여준다(Provider translateContent 주입 필수).
3
- * 결과는 (업무, 언어)별로 세션 캐시해 같은 조합은 다시 부르지 않는다. 저장은 하지 않는다.
2
+ * 업무 내용 번역 다이얼로그 — "원문" 칩으로 열리고, 언어 칩을 누르면 확인 팝퍼 뒤에 AI 번역을 시작한다
3
+ * (Provider translateContent 주입 필수). 서버가 언어별 결과를 업무에 저장하므로(translated_targets) 이미 번역된
4
+ * 언어는 확인 없이 바로 연다(비용 없음). 세션 캐시도 함께 둔다.
4
5
  */
5
6
  /** 번역 다이얼로그 props 다. */
6
7
  export interface TaskContentTranslateDialogProps {
7
8
  open: boolean;
8
9
  taskSeq: number;
10
+ title: string;
11
+ html: string;
12
+ translatedTargets?: string[];
9
13
  onClose: () => void;
10
14
  }
11
15
  /** 업무 내용 번역 다이얼로그 컴포넌트다. */
12
- export declare function TaskContentTranslateDialog({ open, taskSeq, onClose }: TaskContentTranslateDialogProps): import("react").JSX.Element;
16
+ export declare function TaskContentTranslateDialog({ open, taskSeq, title, html, translatedTargets, onClose, }: TaskContentTranslateDialogProps): import("react").JSX.Element;