From 899588bdf30c00d2fd19cd459767b7ca34083672 Mon Sep 17 00:00:00 2001 From: isamu Date: Wed, 21 Oct 2026 16:02:54 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20split=20View.vue=20=E2=80=94=20mini?= =?UTF-8?q?=20editor,=20table=20rendering,=20editor=20selection,=20Excel?= =?UTF-8?q?=20download?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit useMiniEditor.ts holds the mini editor's state, opening, saving, closing and arrow-key moves; useRenderedTable.ts the active sheet calculated and rendered as HTML; editorSelection.ts selecting a cell's JSON in the editor; excelDownload.ts the .xlsx download; sheetRows.ts the rows the editors read. Code moved as it was, with the View's refs passed in. Co-Authored-By: Claude Opus 5.5 --- src/vue/View.vue | 340 +++--------------------------------- src/vue/editorSelection.ts | 30 ++++ src/vue/excelDownload.ts | 29 +++ src/vue/sheetRows.ts | 35 ++++ src/vue/useMiniEditor.ts | 199 +++++++++++++++++++++ src/vue/useRenderedTable.ts | 82 +++++++++ 6 files changed, 399 insertions(+), 316 deletions(-) create mode 100644 src/vue/editorSelection.ts create mode 100644 src/vue/excelDownload.ts create mode 100644 src/vue/sheetRows.ts create mode 100644 src/vue/useMiniEditor.ts create mode 100644 src/vue/useRenderedTable.ts diff --git a/src/vue/View.vue b/src/vue/View.vue index fcea231..fafc2e4 100644 --- a/src/vue/View.vue +++ b/src/vue/View.vue @@ -105,22 +105,11 @@