- spreadsheet_types.ts · spreadsheet_view_types.ts — 문서 · 칸 · 서식 · 수식 나무 · 값 · 명령 · 계산 엔진 · 화면 문맥 계약 - 머리 주석에 파일 · 주인(A~F) · 예산 줄 수 · 크기 예산(gzip 54 KB) · 규칙(외부 라이브러리 0 · M02 만 늦게 불러옴) - A · B 엔진 · C 격자 · D 진입 · E 도구 공개 함수 머리(빈 몸) - spreadsheet_sample.json — basis/<열 id>.json 한 벌 견본(병합 · 서식 · 다른 시트 참조 · 숨김 · 계산값) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0168FQuoV7vDh5nhnSowW5cp
18 lines
812 B
TypeScript
18 lines
812 B
TypeScript
/* =============================================================================
|
|
* spreadsheet_menu.ts (주인 E)
|
|
* 우클릭 메뉴 — 칸 · 행 머리 · 열 머리마다: 잘라내기 · 복사 · (붙여넣기 = 「Ctrl+V 를 쓸 것」 안내) ·
|
|
* 행열 넣기 · 지우기 · 숨기기 · 보이기 · 내용 지우기 · 서식 지우기 · 병합 · 풀기.
|
|
* 0 계약 머리 — 몸은 E 가 채움.
|
|
* ========================================================================== */
|
|
|
|
import type { PartHandle, SpreadsheetContext } from "./spreadsheet_view_types";
|
|
|
|
const todo = (): never => {
|
|
throw new Error("spreadsheet_menu: 아직 없음(E)");
|
|
};
|
|
|
|
/** `ctx.root` 의 contextmenu 를 받음(root null) */
|
|
export function attachMenu(_ctx: SpreadsheetContext): PartHandle {
|
|
return todo();
|
|
}
|