From 0113deb0a4f4e5bf3f1b35f9148c2765e812bbe1 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 12 May 2026 08:17:40 -0400 Subject: [PATCH 1/7] Build spreadsheet platform foundation --- backend/api/routes/tasks.py | 168 +- .../fixtures/workbooks/manifest.json | 57 +- .../workbooks/object_fidelity_matrix.xlsx | Bin 0 -> 9355 bytes backend/excel/workbook_worker.py | 7 +- backend/main.py | 7 + backend/services/workbook_jobs.py | 3 + backend/tests/test_spreadsheet_routes.py | 266 + docs/PROGRAM_COMPLETION_ROADMAP.md | 1010 ++++ docs/STACK_CAPABILITY_MATRIX.md | 21 +- docs/WINDOWS_EXCEL_MANUAL_SMOKE.md | 112 + plugin/eslint.config.mjs | 5 + plugin/package-lock.json | 4758 +++++++++++++++-- plugin/package.json | 4 + plugin/src/spreadsheet/a1.ts | 125 + plugin/src/spreadsheet/api-client.ts | 89 + plugin/src/spreadsheet/app.tsx | 1300 +++++ plugin/src/spreadsheet/calc-client.ts | 34 + plugin/src/spreadsheet/calc-worker.ts | 92 + plugin/src/spreadsheet/excel-sync.ts | 578 ++ plugin/src/spreadsheet/spreadsheet.css | 586 ++ plugin/src/spreadsheet/spreadsheet.html | 12 + plugin/src/spreadsheet/storage.ts | 129 + plugin/src/spreadsheet/sync-replay.ts | 156 + plugin/src/spreadsheet/univer-host.tsx | 248 + plugin/src/spreadsheet/workbook-model.ts | 1395 +++++ plugin/src/spreadsheet/workbook-platform.ts | 349 ++ plugin/src/taskpane/api-client.ts | 2 +- plugin/src/taskpane/api-types.ts | 47 + plugin/test/spreadsheet-model.test.ts | 275 + plugin/test/spreadsheet-storage.test.ts | 166 + plugin/test/spreadsheet-sync-replay.test.ts | 128 + plugin/test/spreadsheet-ui.test.tsx | 139 + plugin/vite.config.js | 1 + scripts/verify-spreadsheet-phase1.ps1 | 28 + workbook-worker/package-lock.json | 11 + workbook-worker/package.json | 2 + .../scripts/generate-workbook-fixtures.mjs | 63 +- workbook-worker/src/cli.mjs | 2286 +++++++- workbook-worker/test/cli.test.mjs | 233 + 39 files changed, 14281 insertions(+), 611 deletions(-) create mode 100644 backend/benchmarks/fixtures/workbooks/object_fidelity_matrix.xlsx create mode 100644 backend/tests/test_spreadsheet_routes.py create mode 100644 docs/PROGRAM_COMPLETION_ROADMAP.md create mode 100644 docs/WINDOWS_EXCEL_MANUAL_SMOKE.md create mode 100644 plugin/src/spreadsheet/a1.ts create mode 100644 plugin/src/spreadsheet/api-client.ts create mode 100644 plugin/src/spreadsheet/app.tsx create mode 100644 plugin/src/spreadsheet/calc-client.ts create mode 100644 plugin/src/spreadsheet/calc-worker.ts create mode 100644 plugin/src/spreadsheet/excel-sync.ts create mode 100644 plugin/src/spreadsheet/spreadsheet.css create mode 100644 plugin/src/spreadsheet/spreadsheet.html create mode 100644 plugin/src/spreadsheet/storage.ts create mode 100644 plugin/src/spreadsheet/sync-replay.ts create mode 100644 plugin/src/spreadsheet/univer-host.tsx create mode 100644 plugin/src/spreadsheet/workbook-model.ts create mode 100644 plugin/src/spreadsheet/workbook-platform.ts create mode 100644 plugin/test/spreadsheet-model.test.ts create mode 100644 plugin/test/spreadsheet-storage.test.ts create mode 100644 plugin/test/spreadsheet-sync-replay.test.ts create mode 100644 plugin/test/spreadsheet-ui.test.tsx create mode 100644 scripts/verify-spreadsheet-phase1.ps1 diff --git a/backend/api/routes/tasks.py b/backend/api/routes/tasks.py index 1c4349a..5d94742 100644 --- a/backend/api/routes/tasks.py +++ b/backend/api/routes/tasks.py @@ -13,7 +13,7 @@ import structlog from fastapi import APIRouter, HTTPException, WebSocket, WebSocketDisconnect -from pydantic import BaseModel, Field +from pydantic import AliasChoices, BaseModel, ConfigDict, Field from backend.agents.pipeline import run_pipeline, classify_complexity from backend.excel.diff_engine import get_diff_engine @@ -257,10 +257,86 @@ class WorkbookDiffRequest(BaseModel): class WorkbookJobRequest(BaseModel): - command: str = Field(..., pattern="^(ingest|export|diff|formula-analyze|semantic-map|export-qa|semantic-map-v2|formula-graph|source-extract|simulate-operations|openxml-qa|export-template|roundtrip-qa|truth-model-v4|formula-graph-v4|simulate-operations-v5|source-evidence-v2|openxml-deep-qa|fixture-generate|workbook-diff-v2|truth-model-v5|formula-graph-v5|simulate-operations-v6|source-evidence-v3|openxml-deep-qa-v2|workbook-diff-v3|fixture-validate)$") + command: str = Field(..., pattern="^(ingest|open-workbook-v1|export|export-workbook-v1|diff|formula-analyze|semantic-map|export-qa|semantic-map-v2|formula-graph|source-extract|simulate-operations|openxml-qa|export-template|roundtrip-qa|roundtrip-qa-v2|truth-model-v4|formula-graph-v4|simulate-operations-v5|source-evidence-v2|openxml-deep-qa|fixture-generate|workbook-diff-v2|truth-model-v5|formula-graph-v5|simulate-operations-v6|source-evidence-v3|openxml-deep-qa-v2|workbook-diff-v3|fixture-validate)$") payload: dict = Field(default_factory=dict) +class SpreadsheetOpenRequest(BaseModel): + model_config = ConfigDict(populate_by_name=True) + + filename: str = "workbook.xlsx" + content_base64: str = Field(validation_alias=AliasChoices("content_base64", "contentBase64")) + title: Optional[str] = None + workbook_id: Optional[str] = Field(default=None, validation_alias=AliasChoices("workbook_id", "workbookId")) + + +class SpreadsheetExportRequest(BaseModel): + model_config = ConfigDict(populate_by_name=True) + + session: dict = Field(default_factory=dict) + title: Optional[str] = None + filename: str = "finance-ai-workbook.xlsx" + fidelityMode: Optional[str] = Field(default=None, validation_alias=AliasChoices("fidelityMode", "fidelity_mode")) + allowRegeneratedFallback: bool = Field(default=False, validation_alias=AliasChoices("allowRegeneratedFallback", "allow_regenerated_fallback")) + preferOriginal: Optional[bool] = Field(default=None, validation_alias=AliasChoices("preferOriginal", "prefer_original")) + + +class SpreadsheetRoundtripQaRequest(BaseModel): + model_config = ConfigDict(populate_by_name=True) + + session: dict = Field(default_factory=dict) + filename: str = "workbook.xlsx" + title: Optional[str] = None + content_base64: Optional[str] = Field(default=None, validation_alias=AliasChoices("content_base64", "contentBase64")) + fidelityMode: Optional[str] = Field(default=None, validation_alias=AliasChoices("fidelityMode", "fidelity_mode")) + allowRegeneratedFallback: bool = Field(default=False, validation_alias=AliasChoices("allowRegeneratedFallback", "allow_regenerated_fallback")) + + +class SpreadsheetOpenResponse(BaseModel): + model_config = ConfigDict(populate_by_name=True, extra="allow") + + schema_version: Optional[str] = Field(default=None, alias="schemaVersion") + workbook_id: Optional[str] = Field(default=None, alias="workbookId") + revision: Optional[int] = None + filename: Optional[str] = None + title: Optional[str] = None + active_sheet_id: Optional[str] = Field(default=None, alias="activeSheetId") + sheets: list[dict[str, Any]] = Field(default_factory=list) + unsupported_features: list[dict[str, Any]] = Field(default_factory=list, alias="unsupportedFeatures") + fidelity_report: Optional[dict[str, Any]] = Field(default=None, alias="fidelityReport") + + +class SpreadsheetRoundtripQaResponse(BaseModel): + model_config = ConfigDict(populate_by_name=True, extra="allow") + + schema_version: Optional[str] = Field(default=None, alias="schemaVersion") + status: Optional[str] = None + warnings: list[str] = Field(default_factory=list) + blockers: list[str] = Field(default_factory=list) + fidelity: dict[str, Any] = Field(default_factory=dict) + package_integrity: Optional[dict[str, Any]] = Field(default=None, alias="packageIntegrity") + trust_report: Optional[dict[str, Any]] = Field(default=None, alias="trustReport") + + +SPREADSHEET_EXPORT_RESPONSES = { + 200: { + "description": "XLSX/XLSM workbook bytes exported from a browser workbook session.", + "content": { + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": { + "schema": {"type": "string", "format": "binary"} + } + }, + "headers": { + "Content-Disposition": {"description": "Workbook attachment filename.", "schema": {"type": "string"}}, + "X-Spreadsheet-Engine": {"description": "Workbook worker/export engine identifier.", "schema": {"type": "string"}}, + "X-Spreadsheet-Fidelity-Mode": {"description": "Export fidelity mode used by the worker.", "schema": {"type": "string"}}, + "X-Spreadsheet-Fidelity-Status": {"description": "Preservation/QA status reported by the worker.", "schema": {"type": "string"}}, + "X-Spreadsheet-Unsupported-Preserved": {"description": "Whether unsupported OOXML package parts were preserved.", "schema": {"type": "string"}}, + }, + } +} + + # ── POST /tasks/plan ──────────────────────────────────────────────────── @router.post("/tasks/plan", response_model=OperationPlan) @@ -1581,6 +1657,94 @@ async def get_workbook_job(run_id: str): return job.to_dict(include_result=True) +@router.post("/spreadsheet/open", response_model=SpreadsheetOpenResponse) +async def open_spreadsheet_workbook(request: SpreadsheetOpenRequest): + """Open workbook bytes as the browser spreadsheet engine session model.""" + from backend.excel.workbook_worker import run_worker + + try: + worker = run_worker( + "open-workbook-v1", + { + "filename": request.filename, + "content_base64": request.content_base64, + "title": request.title, + "workbook_id": request.workbook_id, + }, + ) + except Exception as exc: + raise HTTPException(status_code=400, detail=f"Spreadsheet open failed: {exc}") from exc + if not worker.ok: + raise HTTPException(status_code=400, detail=worker.error or "Spreadsheet open failed") + return worker.result + + +@router.post("/spreadsheet/export", responses=SPREADSHEET_EXPORT_RESPONSES) +async def export_spreadsheet_workbook(request: SpreadsheetExportRequest): + """Export a browser spreadsheet engine session as XLSX bytes.""" + from fastapi.responses import Response + + from backend.excel.workbook_worker import run_worker + + try: + worker = run_worker( + "export-workbook-v1", + { + "session": request.session, + "title": request.title, + "filename": request.filename, + "fidelityMode": request.fidelityMode, + "allowRegeneratedFallback": request.allowRegeneratedFallback, + "preferOriginal": request.preferOriginal, + }, + ) + except Exception as exc: + raise HTTPException(status_code=400, detail=f"Spreadsheet export failed: {exc}") from exc + if not worker.ok: + raise HTTPException(status_code=400, detail=worker.error or "Spreadsheet export failed") + content_base64 = str((worker.result or {}).get("content_base64") or "") + try: + content = base64.b64decode(content_base64, validate=True) + except Exception as exc: + raise HTTPException(status_code=500, detail="Spreadsheet export returned invalid workbook bytes") from exc + filename = request.filename or "finance-ai-workbook.xlsx" + return Response( + content=content, + media_type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + headers={ + "Content-Disposition": f'attachment; filename="{filename}"', + "X-Spreadsheet-Engine": str((worker.result or {}).get("engine") or "spreadsheet-session-export-v1"), + "X-Spreadsheet-Fidelity-Mode": str(((worker.result or {}).get("fidelity") or {}).get("mode") or ""), + "X-Spreadsheet-Fidelity-Status": str(((((worker.result or {}).get("fidelity") or {}).get("report") or {}).get("status")) or ""), + "X-Spreadsheet-Unsupported-Preserved": str(((worker.result or {}).get("fidelity") or {}).get("unsupportedObjectsPreserved") or False).lower(), + }, + ) + + +@router.post("/spreadsheet/roundtrip-qa", response_model=SpreadsheetRoundtripQaResponse) +async def spreadsheet_roundtrip_qa(request: SpreadsheetRoundtripQaRequest): + """Compare browser spreadsheet session fidelity after export and reopen.""" + from backend.excel.workbook_worker import run_worker + + try: + worker = run_worker( + "roundtrip-qa-v2", + { + "session": request.session, + "filename": request.filename, + "title": request.title, + "content_base64": request.content_base64, + "fidelityMode": request.fidelityMode, + "allowRegeneratedFallback": request.allowRegeneratedFallback, + }, + ) + except Exception as exc: + raise HTTPException(status_code=400, detail=f"Spreadsheet roundtrip QA failed: {exc}") from exc + if not worker.ok: + raise HTTPException(status_code=400, detail=worker.error or "Spreadsheet roundtrip QA failed") + return worker.result + + # ── POST /tasks/ask ───────────────────────────────────────────────────── @router.post("/tasks/ask", response_model=AskResponse) diff --git a/backend/benchmarks/fixtures/workbooks/manifest.json b/backend/benchmarks/fixtures/workbooks/manifest.json index 1e11aa4..dde7115 100644 --- a/backend/benchmarks/fixtures/workbooks/manifest.json +++ b/backend/benchmarks/fixtures/workbooks/manifest.json @@ -772,7 +772,17 @@ "expectRollback": true, "expectedObjects": { "charts": [], - "tables": [], + "tables": [ + { + "name": "ChartSource", + "sheet": "Model", + "range": "A1:B4", + "headers": [ + "Month", + "Revenue" + ] + } + ], "pivots": [], "comments": [] } @@ -892,6 +902,51 @@ "pivots": [], "comments": [] } + }, + { + "fixtureId": "object_fidelity_matrix", + "filename": "object_fidelity_matrix.xlsx", + "name": "Object Fidelity Matrix", + "category": "object_fidelity", + "activeSheet": "Objects", + "selectedRange": "Objects!B2", + "operations": [ + { + "type": "write_cell", + "sheet": "Objects", + "range": "B2", + "value": 125 + } + ], + "expectedTerms": [ + "Object Fidelity" + ], + "expectedDirtyRanges": [ + "B2" + ], + "expectRollback": true, + "expectedObjects": { + "charts": [], + "tables": [ + { + "name": "ObjectTable", + "sheet": "Objects", + "range": "A1:C4", + "headers": [ + "Metric", + "Value", + "Status" + ] + } + ], + "pivots": [], + "comments": [ + { + "sheet": "Objects", + "range": "B2" + } + ] + } } ] } diff --git a/backend/benchmarks/fixtures/workbooks/object_fidelity_matrix.xlsx b/backend/benchmarks/fixtures/workbooks/object_fidelity_matrix.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..872e538ce23c78aede665d2c5709743053c15714 GIT binary patch literal 9355 zcmai41y~hI(>_XfcS|GE-QC?GB^;!?8>G9Dl$MqT>5xt-2@#NPknaB=*XzCbec!*& z1Dpru-PxU)oqcx(1!*vFSO5S34H)MsdFj(~K5g{`0N95B0MJ0c)fTq4asXO6=&88c z0PS_?Tr4e0Rfgm`8Q@!v&{fNnQzO8HOy&{cBN;*t0VK9x%uG?cW)|j_^XL3WO#-H* zOQ&wVEZCEWk!s|e7Aq<#UdLGsqB4vX^_SS6esq&1()1I=Ca-3Vt|BE)9ofq-&H8pE_!cD^d3gOy|$7^vc1wfITwWMFQ`4qNdlEjsB zbbTrqDuUM43J$L{4QAbeTr`ts0p~=ToR`|jKb%!V4N+XB?OZj0;;60-=1eZ`Fu~7= z+QS8nRrT=An)^1p-jr3PRqS&*OGOpb_=LF>VjM0cAp;m>v-GaFli5r;UN;)yJb`^} zVszKMd{1}rX4iKypUFlM2j)QHyY0kO%YQ^CoDe^7V1Q&lh-A_5#*yw2<`KLDtr76b4l;-oipeGyK6TCbMut?Xu&+5v6GNgG(k)~1=DC>P3oAJA%b#GliF zSsw|P7OK1Zh@TSRN9wEzV|dLpM#(z4v$dW1D{E`>`{VJ;&}N+s$RhhUuoY)oPFhmbG4|BHFSXCW{HtqaEF?|X zEpN_L@g(q}v!LF6Dw$61k=PzO;|P|QnSlC`Nh5{4AzR+OkM6-Tcl8?i)2ucxcoZxJ z+4O|-HakAcI)R-hS&S?Xwawt6s1y^TxU6XK#*r-ESOMq2L|?&>t}~T7@PcgoE7%sC zd_@)P*svOL3iWsICgHhLNWC|l;TsoH{$v?}gY>xRTt*P$Iz~j%UzXLSyY0Vq*-T=<}{=}2?lK@Jv>3|n5P z&}BUBZ&Y=a-&2lSkLPS&OcoDgGeZMl36=)m+AX@K7}HWVkV~ui zP{z=!vcPlWk z`Jru9q*-khBEb~~dE}){m18FMssn>GTw!mOPc^$>&?u4xJE!jmr>fGxr)q$e_%X|R z%a=2NDN8t~k-n;UC^cXAiX>60un2;tN#R0-i# zhFQWuu|)gCw=ihWI+l@1g%I>AAS%c`61#h^Bi|?6*0AbJ$9udEn0p5!R+?78qlsW; zJyOVdyXdxCtwV)g<*(B5weJL>Dyyw1ET$xU5hAq;18uR=)T2^1*M^PqfcTqSa=yYE zv~#1AHBEri0@ZrJ05c`tS>swo-!ptChU^5$7VpVGeJnL7|3)7hBIM&+_RMBD6C$UB z5eOGnX3F+>Y$jZqk7E6bJ`8*8hFaV>zGx zd?%H~bLrdqlK|eRgXcUQkh)jF;u_2cQRlKLjOj=CvwBOTR*Q~N9M#)0QG;>D68k&> z!|GHHxGqWJ=v?};V#~GcknL#d5PLvL8mNsjMEBp;vCZha{;^|ZGwhmm6@8p}C&+cNW3h~S)DMkRl+6z3?)Xx*-4 z(<;+ia?P z#=59r%^F6aw_onTf=)~Bz^!UzDL>+6uz|UE=M{bn@!xX?`XBk=Kc!=3(!+zcq+p~ge))L@+NYv36irw;Y*aJtm&@WLps3aPirE$zSc&*GR(d! zH(Zbpto_{N3cK0?3(USNs%K(EQelyBh1J${&7?CgDJx`juNykom2X0>;Gc0_=)bUj z-)PQ-;o(?4dLic(Hf}lbeW6kQmoXnW0KB+H<^aef^dKsS{9qbGYfDQIk+c7qR7Il% z`p>5H$%v`Hp=8LrJjB8&0nVm9I6)akO zW=$6}Ed>c3#27hDK7PcgkxUI92!3NBICi7yk5J>Q@zMUOLulIABKcUQAMqGmt$z5c zuzS+=N!P6Ay3%ZbAqB^ZHJi?r%JHFcEVlxC1Jsvvy@Ni7>4-ukPM!7sc&*a@t-}k< ztoxf^K&>uDlUhM{7eVXrbjX%r8)Lt00P6NY#Al3AehB8`q_8_PIxT`m?q3`K^CpLX z*tn6MfwQUA>&N%cr$zg08&Kp_f&&0}k0hNeEkqtrjC7#S5z0E&bHwPND@b5xQqsbC zQ;XfH#&K($FZabbVSdrGz)vh~H9qxn-Zym9lBtC$#$DLMH(X~nRrPx{&(h1~{HRUY zWT{c|A?b$lbNQ3%;^3sxUI#Kmh{Ze5<2RRmqZPt#>Bi8Jbe=*lv+_5#$_84tx6jI( zjf%df&o5^5T z6O@!;6xaB#>|Lu@n-GM!B@7}%U6kL>w@7rZ^d<)}2~Mp7J(ju2VDKJlnh#6pZ( zNyvS!zF)E^xU!CSF1@?RufdBr27CF&X|~;ezy^nE(VtpRM3)Q|;jW0eG|ph?{ZVIV z)5je|P9Z7y1UzN%_8x5lIMuM0dPM_lzNP6{>td*qn(*8fKP0e8EWJ#$)?8~VeM8jn~6wK0~DQ3pZmlY0aiX2OeTq>f6^9I6Dr+ zht-lY1-^(mmDC3xJtrV6ru8vEOX*M?H}>iF{7UHVnX#)sT678aE2JOJGWY!Fm_bm0 z0zqf_uf%9?Vqga}Qg*PrkL!Dq1RVWI>>(GqZ(n#d^GWH2K=MgLo7!LS$gL@i+^+vA=*;O<^>L=X=$x z1I2?wdiQ~L?L+Z+d@b`&+DD|VmxvYm5g(o^)lXri#n26KFT%Oc^1eGos@Y=gM)j{Q{`9(f;rF6O&C_-(>kOYE!(|IvDo!E;mCBz5xA(%37@vow+>2J!Iv93 zWi28oa$`IzfGmLrvuMvt#cfWAkMw#jv@NKX^@P~`lM6=^nwnXUd&fjklt9U`_bd0D z(c0K!F+AC;$gX77@ztrUkwVy(Ba3xPsPkdHwo)}huqhS^24BZgjF(3E^RP(tT+VC$ zDIT$o&PI7J8>C9t1|?HFZl|vyMYq$^s-%LZdT-7K@Q@taiNwY)UcB}vlRXdlPz9;M~@&dZWRhT^e2ygv99C0q+IYuH4zcziAhJ*E)daL$Z z-cXBiI)2IXSoBWs=I_^()&&^52(&s8)^AS~J^ZA^Qz>x909dn7Tj}%om8VqnxjcKv zXP81?B56-B#2sB=mHrnq`0I7%U;?xR{{4u1I44f23=1TnM==i3L+Ro^Qhtj4{Qffl zb~RV70CQ5GnFik!EyoF%s9K9-QK{uGD`5i9q7Zj=xT9(xL*5q{b- z$Uxf{b2{&eb%x7=V6?SdeJY4L)hvx-UV)gC;dQcRAT5$7e$27S5b-Fsni}8shWDD$(Fgx8Bs{nAVx5F zYiA~Rh=@zAdYbt3idtd@DPVtzGCsNq3gy7hhcF&trG9q^;C%yB0Wxqs`&MI+)s9~ zyl>7Y{1;GNa+iZx$WZ6W#Z97u7T-xi;Dj(M1wP3qheZUK37x7c2z^U`Wen~l$r*?Q zUJXb3V{JvT@7s-l3_2@`HIxC&$4<^|JA>0rr);@1Q`8HL%PtY9Jp&IDl?82$)myT_ zulZtG%|7um^T6_hX-X7DD%Tz)XvRZAC9TkXL`R4ukCIX0(1y1uV9dFsK;!vr657!T z6VehlY9VeUg(T)2KTA7}K%oGAV{|DE>J;`vk)=@!R>Wk)<~OSPEDqi@UzHZ~{6x=S zmJ9Y#s3UUSUuiL2um!RKhkXdx5C#;oHhfXspzO

n;T8+YBsfQ^kA{Z#4)7x?fcf zB+MY{mL(g(!};ZGC3p*ja2ZxCy!XcUVI)?4}9z+}G*Qk|)FoMx`H!)@t!RN%qmF8zUp54id}C5#;?4oIC7l?ZzKixv^a zBpYBw5k{`MA?)o4Mf!IpIF}Nq`lMlY>AJ5%N?gZ4NgZaC%7*^6nxo>9_tOcEQ|Ykj z!=_x8ylo2F(3E=S6JKx(A)-a!qR?xG%Sg0n?7OdSv3hPk-9Z^|S~G9Hxc$DJ_Bk;u z%zX&ic}~HdRtq~jC$eUb1t0Ds$DW2EM_{`l_8XaG7OKJP0>h6qM~(rrI>%nk&o;MM z-_KrDW@t#%L;#~vU+;&~yFD9<2^^R5vs28#ZX7MDWtlso>pDvmZy!RnKE37E~y za#DgVu~}8VrYiX%xRbt*$J7fKIvi;1%`;VSP!PU~u^j|qa2PfwI<^AyzCKl=MJPMM z3S1$k!Q^_ylx%UrrSo}8m3tddW>J?C3MMf$$o@M;gUjP9lX!VL>{tnP`5z~lh6%-1 zqRS1GHq0d%Xwg@8DWjx9UusFrY50?RA3VX2)7o!}8k(#buFb1Go)?}|nHsU~Giz+j zuU1_0>U15Dt8I$tu{ja!gW3V8)XQ*FB3%#~LDEE`Lff54aX+7WWd~kc=g5y{aJO4g ztdjtP<>fZ{eW4`uu25Ulm{W#f4I(9C@5jl~w!gql-Fvn4up{&vajt z^++x1-i8t8Hk6W|t+oE*9uGH)kQH-d80d+>0lHNX9=M0SgDZ%8+*7W+cpd9h2K2!F zv*)x6%3v_GAworY)Jl1lDHAfYrC<~lTT#7iI+dn(o;?Cj3&z=M*r(S|4()ZlE1GyE zeKV3PUKYcPvy+I)U^J|ly<7S)$Me>}h(MJbL#qP*U2<1lv9t8{upciWwmmd-zw!Cv zS6jj07l<-S?m1C1?Gkwrxrjnll&2=xFG}B$L4uM|7c)97S`3NYbxygG%X{W`o$=Cr|DSH6d5 z6!zNe1aw22L-ZLu$2}B(E;58KN)O|#a*)2HOJ*66U(vQI^irp*9z#uf+NLMGpF}{% z+nvu32SPoki^cV>_ZyyDiQ-g>R7q^E^KMTs9Bkbr?p->)Y18uSacYu~aRT$7XnTXDkV zCf|CCvImGA7l&R;8lP8r<7JCy>I?-eZy^QxYG!onk`U_AS1kZJMsiqWDaMy3O_*-5 zsD@k1D_E&sR)$V>Sblhevv>7Qqt6^iud3zX^=?B+%iU)p>-futofST6;nyy$~wya$?=C{FnJ79a6=3j9iMKvcb z369QMJ0VygHIFQ_Tt|x-M9X(jz0G&P92}EGU6Dk$9^1U+>x=U}TS;h5j22O}=F{Y$ zOI{3(*tHI#!AJG?)&&2U2EKWBQM~XgYX4-+_jJj~+EBsH+U7A~u4v@o@ByF9=1-% zswOsA7m4lX!@I!5Z^s_T)iXiy?am{_k<+t3;vnlm#ovN6psW=IW(5uCc2w&_w zmaSB)n1dnEDVLXJlBoR1$=XA{OfPK{8!K8C4GQ!e?7fxM=Ej_GlH2PGtw zfBMVN+79^BVM+s_<_>bx5k|~@VVoKeJ&`vxlfoJP<-JBo#IUyl~!QLvBc!;VhJ+Zm>v}6+AWaBgrW> zun-q#(tzdDnk_Bn0&AyM$rQ+Wze$z{^}By|{tSmpHd6 z$<8a~%iH7gu^L?I`N&W(YP)vkJ)bPwE~PCtoOwQxFowCBS5{~*RuStE?cB&L!W3RX zh$azsAYbgRv)k;9lR{SjM$)UX6Tie!hLqrIPHq*$UhWsAToGc}YO3DRW!XXVZF6q~-jK8sKAre{PF5$ZBe$J{8&Sx!YH zs^obOE=>V_lv(={-==|ct|9DwM)j@?oB5~ONWLU~VkL`K0ikA9#ifAEh?ovf0}3Ks z_-zgo0nKRHG<(NxcTpr{6W8p8)BNW4w>NV-8PsGjWe{uT4O0us83-A({W_OFuoR@9 zJVgim_ZBzERsR_Oq2c{|fh9D3!?*{WJ^=pn0w4D_e*pmi0+3peo(I@JBl`bc?|lpK zVce_d0~K09^ZctJ_-pA8DeiGg@D~~YF#7}hyRiSiEOuWBdKmXBa09g(|Gk3$Y>UT@ zgaVo`(5SxUz-1YAmTyl?=}BbO!~Lt$K|BoiW~n4`(0f6t@puZk6#bJ zCqTe@u-V^liQmvajrH#(cjEkmsr`mMXnaiRerw$NC+shR_Za<{VEjg>fchhU)5BkM m<1zg4_4gajP4IKO|4bbU(hxs0Cl&w;5D)rSqb0(7@&5x97;m%y literal 0 HcmV?d00001 diff --git a/backend/excel/workbook_worker.py b/backend/excel/workbook_worker.py index 832a340..25d0672 100644 --- a/backend/excel/workbook_worker.py +++ b/backend/excel/workbook_worker.py @@ -29,7 +29,9 @@ WORKER_COMMANDS = { "ingest", + "open-workbook-v1", "export", + "export-workbook-v1", "diff", "formula-analyze", "semantic-map", @@ -41,6 +43,7 @@ "openxml-qa", "export-template", "roundtrip-qa", + "roundtrip-qa-v2", "truth-model-v4", "formula-graph-v4", "simulate-operations-v5", @@ -82,7 +85,7 @@ def run_worker(command: str, payload: dict[str, Any]) -> WorkerResult: encoded_payload = json.dumps(payload) env = None - if command in {"formula-analyze", "formula-graph", "formula-graph-v4", "formula-graph-v5", "semantic-map-v2", "truth-model-v4", "truth-model-v5", "simulate-operations", "simulate-operations-v5", "simulate-operations-v6", "roundtrip-qa"}: + if command in {"formula-analyze", "formula-graph", "formula-graph-v4", "formula-graph-v5", "semantic-map-v2", "truth-model-v4", "truth-model-v5", "simulate-operations", "simulate-operations-v5", "simulate-operations-v6", "roundtrip-qa", "roundtrip-qa-v2"}: import os env = os.environ.copy() @@ -143,7 +146,7 @@ def _validate_payload(command: str, payload: dict[str, Any]) -> None: suffix = Path(filename).suffix.lower() if suffix and suffix not in WORKBOOK_WORKER_ALLOWED_EXTENSIONS: raise WorkbookWorkerUnavailable(f"Workbook worker file extension is not allowed: {suffix}") - if command in {"ingest", "semantic-map", "semantic-map-v2", "truth-model-v4", "truth-model-v5", "openxml-qa", "openxml-deep-qa", "openxml-deep-qa-v2", "roundtrip-qa"}: + if command in {"ingest", "open-workbook-v1", "semantic-map", "semantic-map-v2", "truth-model-v4", "truth-model-v5", "openxml-qa", "openxml-deep-qa", "openxml-deep-qa-v2", "roundtrip-qa", "roundtrip-qa-v2"}: content = str(payload.get("content_base64") or payload.get("contentBase64") or "") if content and len(content.encode("ascii", errors="ignore")) > WORKBOOK_WORKER_MAX_PAYLOAD_BYTES: raise WorkbookWorkerUnavailable("Workbook worker file content exceeds configured safety limit") diff --git a/backend/main.py b/backend/main.py index f5f66c1..a80a1fb 100644 --- a/backend/main.py +++ b/backend/main.py @@ -145,6 +145,13 @@ async def request_metrics_middleware(request: Request, call_next): allow_credentials=True, allow_methods=["*"], allow_headers=["*"], + expose_headers=[ + "Content-Disposition", + "X-Spreadsheet-Engine", + "X-Spreadsheet-Fidelity-Mode", + "X-Spreadsheet-Fidelity-Status", + "X-Spreadsheet-Unsupported-Preserved", + ], ) # ── Mount Routers ──────────────────────────────────────────────────────── diff --git a/backend/services/workbook_jobs.py b/backend/services/workbook_jobs.py index edc2a4f..b659f92 100644 --- a/backend/services/workbook_jobs.py +++ b/backend/services/workbook_jobs.py @@ -17,7 +17,9 @@ WorkbookJobCommand = Literal[ "ingest", + "open-workbook-v1", "export", + "export-workbook-v1", "diff", "formula-analyze", "semantic-map", @@ -29,6 +31,7 @@ "openxml-qa", "export-template", "roundtrip-qa", + "roundtrip-qa-v2", "truth-model-v4", "formula-graph-v4", "simulate-operations-v5", diff --git a/backend/tests/test_spreadsheet_routes.py b/backend/tests/test_spreadsheet_routes.py new file mode 100644 index 0000000..bf101c3 --- /dev/null +++ b/backend/tests/test_spreadsheet_routes.py @@ -0,0 +1,266 @@ +"""Route-level tests for the local-first browser spreadsheet APIs.""" + +from __future__ import annotations + +from fastapi.testclient import TestClient + +from backend.config import API_KEY +from backend.excel.workbook_worker import WorkerResult +from backend.main import app + + +def _headers() -> dict[str, str]: + return {"X-API-Key": API_KEY} + + +def test_spreadsheet_open_forwards_alias_fields_to_worker(monkeypatch): + calls: list[tuple[str, dict]] = [] + + def fake_run_worker(command: str, payload: dict) -> WorkerResult: + calls.append((command, payload)) + return WorkerResult(ok=True, result={"schemaVersion": "2026-05-workbook-session-v1", "workbookId": "wb_test"}) + + monkeypatch.setattr("backend.excel.workbook_worker.run_worker", fake_run_worker) + + response = TestClient(app).post( + "/api/v1/spreadsheet/open", + headers=_headers(), + json={"filename": "model.xlsx", "contentBase64": "UEsDBAo=", "title": "Model", "workbookId": "wb_in"}, + ) + + assert response.status_code == 200 + assert response.json()["workbookId"] == "wb_test" + assert calls == [ + ( + "open-workbook-v1", + { + "filename": "model.xlsx", + "content_base64": "UEsDBAo=", + "title": "Model", + "workbook_id": "wb_in", + }, + ) + ] + + +def test_spreadsheet_open_worker_error_returns_400(monkeypatch): + monkeypatch.setattr( + "backend.excel.workbook_worker.run_worker", + lambda command, payload: WorkerResult(ok=False, error="bad workbook"), + ) + + response = TestClient(app).post( + "/api/v1/spreadsheet/open", + headers=_headers(), + json={"filename": "bad.xlsx", "content_base64": "UEsDBAo="}, + ) + + assert response.status_code == 400 + assert "bad workbook" in response.json()["detail"] + + +def test_spreadsheet_open_worker_exception_returns_400(monkeypatch): + def fake_run_worker(command: str, payload: dict) -> WorkerResult: + raise RuntimeError("worker disabled") + + monkeypatch.setattr("backend.excel.workbook_worker.run_worker", fake_run_worker) + + response = TestClient(app).post( + "/api/v1/spreadsheet/open", + headers=_headers(), + json={"filename": "bad.xlsx", "content_base64": "UEsDBAo="}, + ) + + assert response.status_code == 400 + assert "worker disabled" in response.json()["detail"] + + +def test_spreadsheet_export_returns_xlsx_response_headers_and_forwards_policy(monkeypatch): + calls: list[tuple[str, dict]] = [] + + def fake_run_worker(command: str, payload: dict) -> WorkerResult: + calls.append((command, payload)) + return WorkerResult( + ok=True, + result={ + "engine": "spreadsheet-session-export-v1", + "content_base64": "VGVzdCB3b3JrYm9vaw==", + "fidelity": { + "mode": "preserve_ooxml", + "unsupportedObjectsPreserved": True, + "report": {"status": "passed"}, + }, + }, + ) + + monkeypatch.setattr("backend.excel.workbook_worker.run_worker", fake_run_worker) + + response = TestClient(app).post( + "/api/v1/spreadsheet/export", + headers=_headers(), + json={ + "session": {"workbookId": "wb_test"}, + "filename": "exported.xlsx", + "fidelity_mode": "preserve_ooxml", + "allow_regenerated_fallback": True, + "prefer_original": False, + }, + ) + + assert response.status_code == 200 + assert response.content == b"Test workbook" + assert response.headers["content-type"].startswith("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") + assert response.headers["content-disposition"] == 'attachment; filename="exported.xlsx"' + assert response.headers["x-spreadsheet-engine"] == "spreadsheet-session-export-v1" + assert response.headers["x-spreadsheet-fidelity-mode"] == "preserve_ooxml" + assert response.headers["x-spreadsheet-fidelity-status"] == "passed" + assert response.headers["x-spreadsheet-unsupported-preserved"] == "true" + assert calls[0][0] == "export-workbook-v1" + assert calls[0][1]["fidelityMode"] == "preserve_ooxml" + assert calls[0][1]["allowRegeneratedFallback"] is True + assert calls[0][1]["preferOriginal"] is False + + +def test_spreadsheet_export_invalid_worker_base64_returns_500(monkeypatch): + monkeypatch.setattr( + "backend.excel.workbook_worker.run_worker", + lambda command, payload: WorkerResult(ok=True, result={"content_base64": "not-base64!"}), + ) + + response = TestClient(app).post( + "/api/v1/spreadsheet/export", + headers=_headers(), + json={"session": {"workbookId": "wb_test"}}, + ) + + assert response.status_code == 500 + assert "invalid workbook bytes" in response.json()["detail"] + + +def test_spreadsheet_export_accepts_camel_case_policy_aliases(monkeypatch): + calls: list[tuple[str, dict]] = [] + + def fake_run_worker(command: str, payload: dict) -> WorkerResult: + calls.append((command, payload)) + return WorkerResult(ok=True, result={"content_base64": "VGVzdA==", "fidelity": {"report": {"status": "passed"}}}) + + monkeypatch.setattr("backend.excel.workbook_worker.run_worker", fake_run_worker) + + response = TestClient(app).post( + "/api/v1/spreadsheet/export", + headers=_headers(), + json={ + "session": {"workbookId": "wb_test"}, + "fidelityMode": "preserve_ooxml", + "allowRegeneratedFallback": True, + "preferOriginal": True, + }, + ) + + assert response.status_code == 200 + assert calls[0][1]["fidelityMode"] == "preserve_ooxml" + assert calls[0][1]["allowRegeneratedFallback"] is True + assert calls[0][1]["preferOriginal"] is True + + +def test_spreadsheet_export_worker_error_returns_400(monkeypatch): + monkeypatch.setattr( + "backend.excel.workbook_worker.run_worker", + lambda command, payload: WorkerResult(ok=False, error="export blocked"), + ) + + response = TestClient(app).post( + "/api/v1/spreadsheet/export", + headers=_headers(), + json={"session": {"workbookId": "wb_test"}}, + ) + + assert response.status_code == 400 + assert "export blocked" in response.json()["detail"] + + +def test_spreadsheet_roundtrip_qa_returns_worker_result_and_accepts_aliases(monkeypatch): + calls: list[tuple[str, dict]] = [] + + def fake_run_worker(command: str, payload: dict) -> WorkerResult: + calls.append((command, payload)) + return WorkerResult(ok=True, result={"schemaVersion": "2026-05-spreadsheet-roundtrip-qa-v2", "status": "passed"}) + + monkeypatch.setattr("backend.excel.workbook_worker.run_worker", fake_run_worker) + + response = TestClient(app).post( + "/api/v1/spreadsheet/roundtrip-qa", + headers=_headers(), + json={ + "filename": "roundtrip.xlsx", + "contentBase64": "UEsDBAo=", + "fidelity_mode": "preserve_ooxml", + "allow_regenerated_fallback": False, + }, + ) + + assert response.status_code == 200 + assert response.json()["status"] == "passed" + assert calls == [ + ( + "roundtrip-qa-v2", + { + "session": {}, + "filename": "roundtrip.xlsx", + "title": None, + "content_base64": "UEsDBAo=", + "fidelityMode": "preserve_ooxml", + "allowRegeneratedFallback": False, + }, + ) + ] + + +def test_spreadsheet_roundtrip_qa_worker_failure_paths(monkeypatch): + monkeypatch.setattr( + "backend.excel.workbook_worker.run_worker", + lambda command, payload: WorkerResult(ok=False, error="qa blocked"), + ) + response = TestClient(app).post( + "/api/v1/spreadsheet/roundtrip-qa", + headers=_headers(), + json={"session": {"workbookId": "wb_test"}}, + ) + assert response.status_code == 400 + assert "qa blocked" in response.json()["detail"] + + def fake_raise(command: str, payload: dict) -> WorkerResult: + raise RuntimeError("worker unavailable") + + monkeypatch.setattr("backend.excel.workbook_worker.run_worker", fake_raise) + response = TestClient(app).post( + "/api/v1/spreadsheet/roundtrip-qa", + headers=_headers(), + json={"session": {"workbookId": "wb_test"}}, + ) + assert response.status_code == 400 + assert "worker unavailable" in response.json()["detail"] + + +def test_spreadsheet_openapi_documents_response_contracts_and_export_headers(): + schema = TestClient(app).get("/openapi.json").json() + paths = schema["paths"] + + open_200 = paths["/api/v1/spreadsheet/open"]["post"]["responses"]["200"]["content"]["application/json"]["schema"] + qa_200 = paths["/api/v1/spreadsheet/roundtrip-qa"]["post"]["responses"]["200"]["content"]["application/json"]["schema"] + export_200 = paths["/api/v1/spreadsheet/export"]["post"]["responses"]["200"] + export_request_ref = paths["/api/v1/spreadsheet/export"]["post"]["requestBody"]["content"]["application/json"]["schema"]["$ref"] + export_request_name = export_request_ref.rsplit("/", 1)[-1] + export_props = schema["components"]["schemas"][export_request_name]["properties"] + + assert open_200 != {} + assert qa_200 != {} + assert open_200["$ref"].endswith("/SpreadsheetOpenResponse") + assert qa_200["$ref"].endswith("/SpreadsheetRoundtripQaResponse") + assert set(export_200["headers"]) >= { + "Content-Disposition", + "X-Spreadsheet-Fidelity-Mode", + "X-Spreadsheet-Fidelity-Status", + "X-Spreadsheet-Unsupported-Preserved", + } + assert {"fidelityMode", "allowRegeneratedFallback", "preferOriginal"} <= set(export_props) diff --git a/docs/PROGRAM_COMPLETION_ROADMAP.md b/docs/PROGRAM_COMPLETION_ROADMAP.md new file mode 100644 index 0000000..35712ff --- /dev/null +++ b/docs/PROGRAM_COMPLETION_ROADMAP.md @@ -0,0 +1,1010 @@ +# Program Completion Roadmap + +Last updated: 2026-05-12 + +This roadmap defines the path from the current local-first Excel AI workbook +platform to a completion-grade product. Completion here does not mean another +demo milestone. It means the program can be used for serious workbook work with +trustworthy open, edit, AI plan, sync, export, audit, rollback, security, and +release operations. + +The program has two product surfaces: + +- A browser spreadsheet platform: Shortcut-like, full-page, grid-dominant, + local-first, AI-assisted, and able to open, edit, export, and QA Excel files. +- An Excel-native add-in surface: Office.js-driven, host-aware, workbook-safe, + and able to apply approved AI/manual operations inside real Excel. + +The product should eventually feel like one coherent platform, not a loose +collection of backend planning APIs, taskpane controls, worker commands, and a +separate spreadsheet page. + +## Research Inputs + +### Local Implementation Snapshot + +The current repo already contains a wide V2.0 foundation: + +- `docs/STACK_CAPABILITY_MATRIX.md` documents the V1 through V2 spreadsheet + platform, V7 accuracy surfaces, worker commands, readiness gates, and known + gaps. +- `plugin/src/spreadsheet/` contains the Shortcut-like spreadsheet page, + `WorkbookSessionV1`, `WorkbookPatchV1`, IndexedDB storage, Excel sync queue, + formula parity, object inspector, trust report, and Univer host adapter. +- `workbook-worker/src/cli.mjs` contains workbook commands including + `open-workbook-v1`, `export-workbook-v1`, and `roundtrip-qa-v2`. +- `backend/api/routes/tasks.py` exposes stateless spreadsheet open, export, and + roundtrip QA routes under `/api/v1/spreadsheet/*`. +- `plugin/test/spreadsheet-model.test.ts` covers patch application, sync + mapping, queue idempotency, formula trace, trust reports, and migration. +- `workbook-worker/test/cli.test.mjs` covers worker open/export/reopen, + object patching, opaque OOXML part preservation, macro blob preservation, and + fixture roundtrip checks. +- `scripts/verify-full-stack.ps1`, `scripts/verify-local-accuracy.ps1`, and + `scripts/verify-v7-default-prep.ps1` provide the start of a release gate. + +### External Reference Constraints + +The roadmap is shaped by current primary sources: + +- Microsoft Excel JavaScript API events are session-bound, can be triggered by + user actions, add-in code, or VBA, and can be temporarily disabled during + batch operations: + https://learn.microsoft.com/en-us/office/dev/add-ins/excel/excel-add-ins-events +- Excel JavaScript API support must be checked through requirement sets at + runtime or through manifest requirements: + https://learn.microsoft.com/javascript/api/requirement-sets/excel/excel-api-requirement-sets +- Shared runtime can coordinate taskpane, ribbon, and custom functions, but it + has client support limits and supports only one task pane: + https://learn.microsoft.com/en-us/office/dev/add-ins/develop/configure-your-add-in-to-use-a-shared-runtime +- Microsoft macro security guidance reinforces that VBA execution must remain + trusted-host delegated, never browser-side: + https://learn.microsoft.com/microsoft-365-apps/security/internet-macros-blocked +- Univer Sheets core provides spreadsheet UI, formula, rendering, ribbon, sheet + bar, and status bar building blocks, but it is not the export fidelity source + of truth: + https://docs.univer.ai/guides/sheets/features/core +- HyperFormula requires an explicit GPLv3 or proprietary license posture before + commercial release: + https://hyperformula.handsontable.com/docs/guide/licensing.html +- Open XML spreadsheet work requires package, part, relationship, and content + type discipline: + https://learn.microsoft.com/office/open-xml/spreadsheet/overview +- Shortcut's public product positioning emphasizes Excel parity, formula-driven + outputs, auditability, restore/undo, native Excel integration, large files, + macros, keyboard shortcuts, enterprise controls, and speed: + https://shortcut.ai/ +- Shortcut's current changelog shows an active bar around team administration, + Excel add-in recovery, calculation modes, macro warnings, checkpoints, + review panels, formula tracing, pivot support, comments, large files, APIs, + file attachments, data connections, and workspace controls: + https://shortcut.ai/changelog +- Microsoft Marketplace describes Shortcut as an Excel add-in for natural + language workflows, PDF import, financial models, dataset cleaning, + dashboards, and Excel-compatible edits: + https://marketplace.microsoft.com/en-us/product/office/WA200009152 + +## Completion Definition + +The program is complete when a serious analyst can: + +1. Open normal and complex `.xlsx` or `.xlsm` files without silent loss. +2. Edit cells, formulas, styles, workbook objects, sheets, comments, tables, + validations, named ranges, charts metadata, and protections through the web + editor or Excel add-in. +3. Ask AI to inspect, plan, build, repair, transform, audit, and explain + workbook work using the same operation rails as manual edits. +4. Preview every material AI/manual change before it mutates the workbook. +5. Recalculate in-browser with clear formula parity warnings, and use Excel as + a host parity oracle when linked. +6. Sync local browser edits into Excel through Office.js with durable queueing, + idempotency, drift detection, and reconciliation. +7. Export a workbook that reopens in Excel with supported edits preserved and + unsupported parts explicitly preserved or blocked. +8. See trust reports that combine formula parity, OOXML fidelity, source + evidence, sync state, unsupported features, and rollback availability. +9. Undo or restore from checkpoints after destructive or AI-generated changes. +10. Work with large workbooks without the UI freezing or pretending it has + analyzed more than it has. +11. Operate inside clear privacy, security, licensing, and enterprise controls. +12. Pass deterministic, fixture, Office mock, browser visual, dependency, + manual Windows Excel, and release packaging gates. + +## Non-Negotiable Guardrails + +- Office.js remains the only live Excel mutation path. +- Browser standalone mode remains local-first; no durable backend workbook + document storage is introduced unless a future enterprise mode explicitly + adds it with a separate data-governance design. +- `WorkbookPatchV1` remains the canonical edit contract for manual edits, + AI edits, sync replay, undo/redo, and export QA. +- Existing public endpoints remain backward compatible: + `/api/v1/tasks/plan/v2`, `/api/v1/tasks/plan/v3`, + `/api/v1/tasks/apply`, `/api/v1/tasks/apply/result`, + `/api/v1/workbooks/map`, `/api/v1/formulas/analyze`, + `/api/v1/spreadsheet/open`, `/api/v1/spreadsheet/export`, and + `/api/v1/spreadsheet/roundtrip-qa`. +- HyperFormula is the browser calculation engine, but Excel parity must be + reported honestly when formulas exceed browser support. +- VBA is preserved and warned. Browser JavaScript never executes VBA. +- Unsupported workbook parts are preserved or explicitly blocked. Silent loss is + a release-blocking bug. +- V7/accuracy behavior remains opt-in until readiness gates prove it can become + the default in a separate small change. +- Security, dependency advisories, licensing, privacy posture, and manual smoke + evidence are release blockers, not polish items. + +## Current Truth, Not Marketing Truth + +### What Is Real Today + +- Browser session, patch, sync, trust, formula parity, and storage types exist. +- The spreadsheet page is grid-dominant and has a real right-side AI/trust pane. +- AI preview can become browser patches before apply. +- Excel sync queue and Office operation mapping exist for common patch types. +- IndexedDB stores sessions, sync queues, and sync journals. +- Worker open/export/roundtrip commands exist. +- OOXML preserve mode patches many worksheet-level and object-level constructs. +- Generated workbook fixtures exist and are wired into worker roundtrip tests. +- V7 backend artifacts, readiness reports, replay evaluation, golden cases, + operation registry, and taskpane workbench hooks exist behind flags. + +### Where The Program Can Fool Us + +- Worker roundtrip QA mostly proves the same worker can reopen the export. It + does not yet prove Excel Desktop opens, recalculates, renders, refreshes, and + saves the workbook cleanly. +- Some generated fixture names imply charts, pivots, images, or macro coverage + that is not yet equivalent to real Excel-authored OOXML. +- Preserve mode still has conditional paths and regenerated fallback behavior + that can hide package-level fidelity gaps. +- SheetJS remains the only parser abstraction implementation and carries known + dependency risk. It is isolated, but not replaced or independently compared. +- Excel live sync has a queue and mapper, but needs much deeper Office host + evidence, reload behavior, and conflict tests before production use. +- Formula trace and parity are useful but still heuristic for structured + references, dynamic arrays, external links, volatile functions, and modern + Excel behavior. +- The UI has useful panels, but many object editors are inspection-first rather + than full editing workflows. +- Backend route tests for `/spreadsheet/*` need to catch worker unavailability, + malformed payloads, fidelity headers, and additive request fields. +- Enterprise and team capabilities exist in pieces, but they are not yet tied + into a full product operating model for this spreadsheet platform. + +## Target Architecture + +### Client Platform + +- React/Vite taskpane and standalone spreadsheet surfaces. +- Univer as the spreadsheet UI and interaction layer. +- `WorkbookSessionV1` plus additive V2/V3 platform state as local workbook + state. +- `WorkbookPatchV1` as the single edit operation format. +- IndexedDB for sessions, queue, journal, QA artifacts, checkpoints, and local + restore points. +- Web Worker calculation service using HyperFormula. +- AI pane, formula trace, object inspector, sync journal, trust panel, export + panel, source evidence, rollback, and audit surfaces. + +### Excel Host Layer + +- Existing `plugin/src/taskpane/excel-adapter.ts` as the only live mutation + path. +- Runtime host capability checks using Excel requirement sets. +- Event subscriptions for workbook, worksheet, selection, changed, calculated, + table, chart, comment, and sheet events where supported. +- Shared runtime evaluation for ribbon/taskpane/custom functions coordination, + with fallback behavior when unsupported. +- Ordered sync queue with idempotency, retry, pause, reconcile, and rollback + metadata. + +### Backend + +- FastAPI for planning, validation, operation registry, source evidence, + benchmarks, readiness, audit, local agent runs, and stateless workbook APIs. +- No durable backend workbook bytes in the core local-first product. +- Typed artifact storage for audits, plans, readiness, replays, citations, and + non-sensitive metadata. +- Existing taskpane planning/apply APIs remain compatible while V7/V8 accuracy + routes mature behind flags. + +### Workbook Worker + +- Node worker boundary for SheetJS/ExcelJS/HyperFormula/JSZip/XML work. +- Open workbook -> session. +- Session -> preserved OOXML export. +- Roundtrip QA, OpenXML package QA, diff, formula graph, simulation, source + evidence, fixture validation, and large workbook analysis. +- Parser abstraction with a second parser/comparator path before GA. +- Strict payload size, extension, signature, and ZIP/OOXML safety checks. + +### Trust Plane + +- Workbook trust report aggregates: + - formula parity + - OOXML package and object fidelity + - source evidence + - operation simulation + - sync conflicts + - rollback/checkpoint availability + - unsupported features + - dependency and security posture + - manual Excel smoke status +- Primary export and live apply are blocked when trust blockers exist. + +## Program Workstreams + +### 1. Spreadsheet Editor Completion + +Build the browser editor into a serious workbook surface. + +Scope: + +- Complete direct grid editing, selection behavior, formula bar, keyboard + navigation, fill/copy/paste, range selection, formula entry, undo/redo, and + sheet tab workflows. +- Expand ribbon actions for Home, Insert, Page Layout, Formulas, Data, Review, + AI, and Settings. +- Make object inspector editors real for tables, comments, notes, validations, + conditional formats, named ranges, protection, freeze panes, charts metadata, + image metadata, and pivot metadata. +- Add dense but calm Shortcut-like visual polish: familiar Excel affordances, + no marketing layout, no empty command-room feel, grid as the primary object. +- Add accessibility and keyboard support: focus traps, aria labels, high + contrast, tab order, screen-reader names, and no clipped controls. +- Add large workbook UX: staged load, lazy panels, recalculation state, visible + analysis scope, warnings before expensive operations, and resumable work. + +Exit gates: + +- A user can complete common analyst workflows without touching dev tools. +- Playwright visual smoke passes desktop and laptop viewports with no clipped + file bar, ribbon, formula bar, status bar, right pane, or grid. +- Keyboard smoke passes enter, tab, shift-tab, escape, ctrl/cmd-Z, ctrl/cmd-Y, + ctrl/cmd-C/V, formula bar focus, sheet switching, and selection commands. + +### 2. Workbook State And Patch Platform + +Make local state durable, migratable, auditable, and boringly reliable. + +Scope: + +- Freeze `WorkbookSessionV1` and `WorkbookPatchV1` with additive-only changes. +- Add schema snapshots and migration tests for every saved IndexedDB version. +- Store operation history, inverse patches, checkpoints, and object edit + history consistently. +- Add range-aware dirty tracking, dependency impact, object impact, and trust + impact to patch application. +- Add conflict-safe patch replay and idempotent queue replay after reload. +- Add compaction for large histories without losing rollback checkpoints. + +Exit gates: + +- Old sessions open without data loss. +- Every supported patch produces an inverse or an explicit rollback warning. +- Reloading mid-sync does not lose queued writes, journal entries, or trust + status. + +### 3. Excel Live Sync GA + +Turn the V1.8/V2.0 sync foundation into production behavior. + +Scope: + +- Persist queue, journal, idempotency keys, retries, and apply outcomes. +- Replace coarse host fingerprint drift with range/object-aware summaries when + host snapshots provide enough data. +- Expand Office operation mapping for all supported patch types. +- Gate mappings on host capability and Excel requirement-set checks. +- Add host event subscriptions for changed, selection, calculated, sheet/table + additions, comment changes, and activation where supported. +- Add "Reload From Excel" as a real host-snapshot import path. +- Add "Keep Browser", "Reload From Excel", and "Stay Paused" reconciliation + flows with clear consequences. +- Add rollback-aware failure reporting from `applyOperationsAtomic`. +- Preserve Excel calculation mode and avoid interfering with native history. + +Exit gates: + +- Office mock tests cover success, host unavailable, protected sheets, partial + failure, rollback warning, external host drift, duplicate replay prevention, + reload from Excel, comments, tables, validations, formats, protection, and + unsupported object warnings. +- Windows Excel smoke captures link, edit, sync, external edit, reconcile, + reload, protected failure, pause/resume, export, reopen, and save. +- No parallel Excel writes. + +### 4. OOXML Fidelity And Export GA + +Make open -> edit -> export -> reopen trustworthy. + +Scope: + +- Make preserve-OOXML the default for any edited original workbook. +- Preserve all untouched parts, relationships, content types, workbook metadata, + custom XML, media, drawings, chart parts, pivot parts, VBA, slicers, themes, + styles, shared strings, calc chain, workbook views, print settings, page + layout, hyperlinks, defined names, and external links where safe. +- Patch supported XML parts with parser/DOM APIs, not string edits. +- Expand object editing for comments/notes, threaded comments where possible, + tables, validations, conditional formats, protections, dimensions, freeze + panes, sheet/workbook names, sheet visibility, defined names, chart metadata, + and image metadata. +- Create blockers for unsupported structural rewrites rather than falling back + silently. +- Add package-level validation for `[Content_Types].xml`, `.rels`, orphan + targets, missing overrides/defaults, duplicate IDs, broken refs, missing + package parts, and invalid ZIP/OOXML signatures. +- Add an independent comparison path so QA is not only "worker reopens its own + output." + +Exit gates: + +- Common edited `.xlsx` fixtures pass without regenerated fallback. +- `.xlsm` fixtures preserve VBA package parts and never execute macros. +- Chart, pivot, image, drawing, slicer, custom XML, and external-link packages + are preserved or explicitly blocked. +- Excel Desktop opens, recalculates, saves, and reopens exported workbooks in + the manual smoke set. + +### 5. Formula And Calculation Parity + +Make formula behavior transparent enough for analyst trust. + +Scope: + +- Deepen HyperFormula integration for named ranges, cross-sheet references, + structured references where possible, array formulas, spills, volatile + functions, iterative/circular refs, external links, and unsupported functions. +- Track source formula, displayed value, calculated value, Excel host value, + stale/dirty state, precedents, dependents, output impact, and errors. +- Add Formula Parity Report V2 with severity, materiality, affected outputs, + recommended Excel verification, and AI-safe alternatives. +- Add formula trace UI that navigates to precedents/dependents and named ranges. +- Add formula repair suggestions that generate `WorkbookPatchV1` only. +- Keep modern Excel gaps explicit. Do not fake dynamic array or external-link + parity. + +Exit gates: + +- Formula-heavy goldens report clean where supported and explain every gap + where unsupported. +- Displayed calculated values update without overwriting source formulas. +- Risky formula edits cannot be applied without formula impact evidence. + +### 6. AI Analyst Engine + +Make AI edits platform-native, evidence-backed, and reversible. + +Scope: + +- Move all manual and AI mutations through `WorkbookPatchV1`. +- Upgrade plan preview with affected ranges, objects, formula impact, source + evidence, sync impact, export impact, rollback status, and checkpoints. +- Require simulation for risky writes before apply. +- Use V7 truth model, formula graph, operation simulation, source evidence, + registry coverage, and repair candidates as the default candidate path only + after readiness gates pass. +- Add workflow templates for DCF, LBO, merger model, operating model, comps, + trading comps, sensitivity tables, debt schedules, monthly FP&A reporting, + KPI dashboards, budget variance, cohort analysis, and data cleanup. +- Add model style systems: banking formatting, color conventions, assumptions, + outputs, checks, scenario tables, sources, comments, and audit sheets. +- Add AI modes: Ask, Audit, Build, Edit, Explain, Repair, Reconcile, Source, + Format, and Compare. +- Add user controls for effort, speed, model/provider, data-use policy, and + auto-plan behavior. + +Exit gates: + +- AI preview never silently drops unsupported operations. +- AI apply can be undone or restored from a checkpoint. +- Benchmark cases prove formula-driven outputs, not hard-coded hidden answers. +- Source-backed tasks cite evidence and expose stale or missing source facts. + +### 7. Source Evidence And Data Integrations + +Move from "spreadsheet editing" to "trusted workbook intelligence." + +Scope: + +- Strengthen document upload, extraction, citation, and source-to-cell mapping. +- Add SEC/EDGAR workflows, filings refresh, PDF table extraction QA, source + refresh plans, stale source detection, and transformation metadata. +- Add connectors in phases: local files, web uploads, SEC, CSV/Parquet, database + OAuth, cloud drives, CRM/ERP exports, and eventually Google Sheets if product + strategy calls for it. +- Track each data transformation as an auditable artifact. +- Add source evidence cards directly in the spreadsheet right pane and taskpane. +- Support private, gitignored fixture sets for customer-like source documents. + +Exit gates: + +- A source-backed model can show exactly which document, page, table, row, and + transformation populated key cells. +- Refreshing source data produces a preview and diff before workbook mutation. +- Source evidence gaps are visible and block high-risk AI-generated outputs. + +### 8. Trust, Audit, Rollback, And Governance + +Make trust a product layer, not a log afterthought. + +Scope: + +- Unify `WorkbookTrustReportV2` with source evidence, simulation, formula + parity, sync, OOXML, rollback, security, dependency, and manual smoke status. +- Add checkpoint policy by operation type and risk level. +- Add full audit export for agent runs and workbook edits. +- Add explainable rollback snapshots for ranges, formulas, formats, comments, + tables, named ranges, sheets, and object metadata where possible. +- Add tamper-evident local audit hashes for sensitive workflows. +- Add review workflows: approve, reject, edit plan, require checkpoint, require + source, require Excel parity, and export blocked. +- Add admin policy controls for AI modes, providers, source retention, external + sending, BYOK, macros, export fallback, and private fixtures. + +Exit gates: + +- Every high-risk operation has approval, simulation, checkpoint, and audit + evidence before apply. +- Audit export can reconstruct who/what/when/why/where for AI and manual edits. +- Rollback status is honest: available, partial, manual, or unavailable. + +### 9. Enterprise, Security, Privacy, And Compliance + +Prepare the program for serious institutional users. + +Scope: + +- Define product data classes: workbook bytes, workbook metadata, prompts, + source docs, extracted facts, logs, telemetry, audit artifacts, and replay + hashes. +- Add privacy controls for local-only, no-training, zero-retention provider + routing, BYOK, and custom OpenAI-compatible endpoints. +- Harden API keys, teams, roles, MFA state, scoped permissions, and admin + audit logs. +- Add SSO/SAML/OIDC plan if enterprise distribution is required. +- Add encryption posture for local and backend artifacts. +- Add dependency risk policy, SBOM, license review, and package update cadence. +- Resolve HyperFormula commercial/GPL posture before commercial shipping. +- Add security tests for malformed workbooks, ZIP bombs, path traversal, + formula injection, CSV injection, macro handling, prompt injection in source + documents, and untrusted external links. + +Exit gates: + +- Security and dependency gates pass without expired allowlists. +- Legal/license review has explicit decisions for HyperFormula, SheetJS, + ExcelJS, Univer, and all copied reference patterns. +- Enterprise policy settings are enforceable and test-covered. + +### 10. Performance, Scale, And Reliability + +Make the platform fast enough for real workbooks and long-running AI flows. + +Scope: + +- Define workbook size tiers and behavior: + - small: instant full analysis + - medium: staged analysis + - large: visible scoped analysis and lazy expansion + - very large: explicit user-selected ranges, background jobs, and host-only + verification where necessary +- Move expensive operations off the UI thread. +- Add worker cancellation, progress, timeout, and resumability. +- Add streaming or chunked paths where needed for ingestion, formula analysis, + QA, and source extraction. +- Add memory budgets and crash recovery for browser and worker. +- Add observability for latency, queue time, apply failures, QA duration, + recalc time, fixture drift, export blockers, and user-visible errors. +- Add offline/reconnect behavior for local-first sessions. + +Exit gates: + +- Large workbook operations show progress and remain cancellable. +- No major UI action blocks interaction for unacceptable periods. +- Reliability metrics are visible in local and CI evidence. + +### 11. Test, Benchmark, And Release Evidence + +Turn "it works on this demo" into durable proof. + +Scope: + +- Contract tests for every public API shape and generated TypeScript client. +- Unit tests for patch/inverse, A1 parsing, object mutation, sync mapping, + storage migration, formula parity, trust reports, and source evidence. +- Worker tests for workbook open/export/QA, package integrity, real OOXML + fixtures, parser comparison, malformed payloads, and dependency isolation. +- Backend tests for `/spreadsheet/*`, task planning, apply gates, readiness, + replay, golden cases, source evidence, audit, and enterprise controls. +- Office mock tests for every supported host operation family. +- Browser tests for editor UX, object inspector, formula trace, sync UI, trust + UI, AI preview/apply/undo, blocked export, fallback export, large workbook + states, and accessibility. +- Playwright visual smoke for the Shortcut-like layout. +- Windows Excel manual smoke, then automated host smoke where feasible. +- Private fixture harness with hand-labeled expected truth, formulas, objects, + source evidence, and export outcomes. + +Exit gates: + +- `scripts/verify-full-stack.ps1` passes. +- `plugin npm run verify` passes. +- `workbook-worker npm test` passes. +- Backend tests pass. +- Dependency risk check passes or has non-expired explicit mitigation. +- Manual Windows Excel smoke evidence is captured for the release candidate. + +## Completion Phases + +### Phase 0: Program Control Plane + +Goal: make the roadmap executable and measurable. + +Deliverables: + +- Program owner map for frontend, Office host, backend, worker, AI, security, + QA, and release. +- Release gate checklist encoded in docs and scripts. +- Backlog labels for phase, workstream, risk, dependency, and acceptance gate. +- Updated capability matrix that distinguishes "foundation", "beta", "GA", + and "deferred". +- Decision records for local-first storage, no backend workbook bytes, macro + execution, HyperFormula license, SheetJS risk, and V7 default policy. + +Exit gate: + +- The team can tell what blocks GA without reading source code. + +### Phase 1: V2 Foundation Hardening + +Goal: make the current V2.0 work credible. + +Deliverables: + +- Backend route tests for `/api/v1/spreadsheet/open`, `/export`, and + `/roundtrip-qa`. +- Type and OpenAPI snapshots for spreadsheet request/response additions. +- IndexedDB migration tests and queue replay tests. +- Worker unavailability tests and user-facing error states. +- Current fixture inventory audit: which fixtures contain real charts, pivots, + images, macros, comments, tables, validations, and protections. +- Manual smoke checklist template. + +Evidence artifacts: + +- `backend/tests/test_spreadsheet_routes.py` for `/api/v1/spreadsheet/*` + success, headers, policy forwarding, and worker failure paths. +- `python scripts/generate_openapi_types.py --check` result for additive route + schema drift. +- `workbook-worker` fixture validation output proving manifest expected objects + match actual OOXML package contents. +- `workbook-worker` package integrity output for preserved exports and + roundtrip QA. +- `plugin/test/spreadsheet-storage.test.ts`, + `plugin/test/spreadsheet-sync-replay.test.ts`, and + `plugin/test/spreadsheet-ui.test.tsx` for IndexedDB migration, durable sync + replay, trust panel, sync panel, formula trace, and object inspector evidence. +- `scripts/verify-spreadsheet-phase1.ps1` as the repeatable automated + evidence runner for this phase. +- `docs/WINDOWS_EXCEL_MANUAL_SMOKE.md` as the required manual evidence template + for Excel Desktop behavior. + +Phase 1 exit-gate checklist: + +| Gate | Status | Evidence | +| --- | --- | --- | +| Spreadsheet route tests | Implemented | `backend/tests/test_spreadsheet_routes.py` | +| OpenAPI/type drift check | Implemented | `python scripts/generate_openapi_types.py --check`; response models and export headers are documented | +| IndexedDB migration and replay tests | Implemented | `plugin/test/spreadsheet-storage.test.ts`; `plugin/test/spreadsheet-sync-replay.test.ts` | +| Spreadsheet trust UI tests | Implemented | `plugin/test/spreadsheet-ui.test.tsx` | +| Fixture inventory audit | Required | `fixture-validate` with workbook bytes | +| Worker package integrity QA | Required | `roundtrip-qa-v2.packageIntegrity` | +| Worker unavailable/error coverage | Required | Route tests and worker safety tests | +| Windows Excel smoke template | Required | `docs/WINDOWS_EXCEL_MANUAL_SMOKE.md` | +| Windows Excel smoke execution | Blocked until manual run | Attach evidence in the smoke checklist | + +Exit gate: + +- No current V2 foundation behavior is undocumented or untested at its public + boundary. + +### Phase 2: Spreadsheet Editor Beta + +Goal: ship a usable browser spreadsheet editor to internal testers. + +Deliverables: + +- Solid direct edit, formula bar, formatting, rows/columns, sheets, comments, + validations, tables, freeze panes, undo/redo, copy/paste, keyboard navigation, + and selection stats. +- Right-pane formula trace, object inspector, sync journal, trust report, AI + preview, and export fidelity panels. +- Large workbook loading/recalc/sync/export states. +- Visual and accessibility smoke. + +Exit gate: + +- Internal users can open a workbook, make common edits, run QA, export, and + understand every warning without developer help. + +### Phase 3: OOXML Fidelity Beta + +Goal: make exports safe enough for real fixture testing. + +Deliverables: + +- Preserve mode default for edited originals. +- Full package inventory diff and validation. +- Real Excel-authored object fixtures. +- Chart, pivot, image, macro, custom XML, external link, very hidden sheet, + protected workbook, and large workbook goldens. +- Explicit export blockers and regenerated fallback language. + +Exit gate: + +- No unsupported package part disappears silently in the public fixture matrix. + +### Phase 4: Excel Live Sync Beta + +Goal: make browser-to-Excel sync usable for controlled testers. + +Deliverables: + +- Durable queue and journal replay after reload. +- Host event subscriptions and drift detection. +- Capability-gated Office operation mapping. +- Reload from Excel. +- Reconcile UI. +- Office mock matrix. +- Windows Excel manual smoke. + +Exit gate: + +- A linked Excel user can recover from reload, drift, protected sheet failure, + and partial apply failure without losing browser state. + +### Phase 5: Formula Parity And Model Trust + +Goal: make calculations and formula risk visible enough for analyst workflows. + +Deliverables: + +- Formula Parity Report V2. +- Trace UI with navigation. +- Formula impact report in AI previews and manual risky edits. +- Modern Excel gap taxonomy. +- Formula repair suggestions through patches. +- Formula-heavy goldens. + +Exit gate: + +- The product can tell users when browser calculation is trustworthy, advisory, + or blocked. + +### Phase 6: AI Analyst Workflows Beta + +Goal: make AI useful beyond simple patch demos. + +Deliverables: + +- AI modes: Ask, Audit, Build, Edit, Explain, Repair, Source, Reconcile, + Format, Compare. +- Workflow templates for finance and business analysis. +- Source-backed plan previews. +- Checkpoint and simulation requirements for risky plans. +- Review panel and action history that non-developers can understand. +- Benchmark harness for formula-driven financial model outputs. + +Exit gate: + +- AI can complete representative financial modeling and data-cleaning cases + with evidence, preview, rollback, and measurable accuracy. + +### Phase 7: Source Evidence And Integrations + +Goal: make workbook outputs traceable to real sources. + +Deliverables: + +- Source extraction QA. +- Source-to-cell and cell-to-source graph. +- Citation cards in taskpane and spreadsheet pane. +- SEC/EDGAR refresh workflow. +- Database/file connector design and first safe connector path. +- Stale source and refresh diff UI. + +Exit gate: + +- Source-backed workbook cells can be audited back to documents and refreshed + with previewed diffs. + +### Phase 8: Enterprise And Security Readiness + +Goal: make the platform fit for controlled external beta. + +Deliverables: + +- Admin policy controls. +- Team roles and permission enforcement. +- Provider/data-use policy controls. +- Dependency/license review. +- Security tests for workbook and source-document attack paths. +- Audit exports and tamper-evident local evidence. +- Privacy documentation and data flow diagrams. + +Exit gate: + +- The product has a credible answer for security review, procurement review, + and enterprise pilot constraints. + +### Phase 9: Performance And Reliability RC + +Goal: prove the product can survive real workbooks and real usage. + +Deliverables: + +- Size-tier behavior. +- Background worker cancellation and progress. +- Memory and latency budgets. +- Error recovery for reloads, offline, host disconnect, worker crash, failed + export, and interrupted AI runs. +- Observability dashboards or local reports. +- Regression suite on fixture and private workbook sets. + +Exit gate: + +- Release candidate runs full gates repeatedly without drift, flaky failures, or + severe performance regressions. + +### Phase 10: GA Release + +Goal: ship a completion-grade local-first workbook platform. + +Deliverables: + +- Final compatibility matrix. +- Release notes and migration notes. +- User docs for browser editor, Excel add-in, AI workflows, trust reports, + export fidelity, sync, rollback, source evidence, and enterprise controls. +- Support runbooks for sync failures, export blockers, worker failures, + corrupted workbooks, unsupported formulas, and macro warnings. +- GA smoke evidence bundle. +- Rollback plan for disabling V7 default, sync features, worker preserve export, + and high-risk AI operations. + +Exit gate: + +- Product, engineering, QA, security, and release owners sign off on all gates. + +### Phase 11: Post-GA Expansion + +Goal: broaden reach without destabilizing the core. + +Candidate scopes: + +- Google Sheets parity if strategy requires it. +- Automated Excel host smoke on Windows CI or dedicated lab machines. +- Multi-workbook projects and workspace-level source libraries. +- Collaboration, sharing, and cloud document storage as a separately governed + product line. +- Deeper chart editing, pivot refresh/recalculation, slicers, Power Query, + Power Pivot, and external data connections. +- Desktop helper for trusted local workflows. +- Public API and SDK. +- Skill marketplace and custom workflow builder. + +## Priority Backlog + +### P0: Completion Blockers + +- Backend route coverage for spreadsheet APIs. +- Real Excel-authored fixture expansion. +- Excel Desktop smoke evidence. +- Preserve-mode default and no silent regenerated fallback. +- Package integrity validation. +- Queue replay after reload. +- Host drift reconciliation. +- Formula parity severity model. +- AI plan preview with trust impact. +- Dependency/license decisions. +- Security tests for malformed files and macro handling. + +### P1: Beta Quality + +- Direct grid editing polish. +- Keyboard and clipboard basics. +- Object inspector editing. +- Formula trace navigation. +- Sync journal drawer. +- Trust report panel UX. +- Source evidence cards. +- More Office host capability mocks. +- Large workbook progress/cancel states. +- User docs and smoke runbooks. + +### P2: Competitive Parity + +- Financial model templates and style systems. +- Audit mode. +- Restore/checkpoint branching. +- Workspace/session history. +- Team admin controls. +- Provider/model/effort controls. +- Data connections and OAuth. +- File attachment reuse. +- API keys and automation API. +- File size warnings and large-file AI limits. + +### P3: Differentiators + +- Deterministic finance invariant engine. +- Human-readable model quality score. +- Source refresh impact simulation. +- Local-first trust bundle export. +- Private benchmark harness. +- Analyst workflow macros that produce safe patch sequences. + +## Fixture Strategy + +Public fixtures should cover: + +- Simple workbook. +- Formula-heavy workbook. +- Cross-sheet formulas. +- Named ranges. +- Structured references. +- Dynamic arrays and unsupported formula gaps. +- Comments and notes. +- Threaded comments where feasible. +- Tables. +- Data validations. +- Conditional formats. +- Styles, themes, fills, fonts, borders, number formats. +- Merges. +- Freeze panes. +- Row/column dimensions. +- Sheet visibility and very hidden sheets. +- Sheet/workbook protection. +- Charts with same-sheet and cross-sheet source ranges. +- Images and drawing anchors. +- Pivots and pivot caches. +- Slicers. +- External links. +- Hyperlinks. +- Macros with real `vbaProject.bin`. +- Custom XML. +- Large workbooks. +- Corrupt or malformed package edge cases. + +Private fixtures should cover: + +- Real analyst workbooks with permission. +- Customer-like financial models. +- Dense formatting and banker-style outputs. +- Messy data cleanup cases. +- Source-backed models from PDFs and filings. +- Workbooks known to break Excel add-ins or export paths. + +Fixture acceptance rule: + +- A fixture name must not imply an object is tested unless the OOXML package + actually contains that object and QA asserts it. + +## Verification Matrix + +Automated release-candidate gates: + +- `scripts/verify-full-stack.ps1` +- `scripts/verify-local-accuracy.ps1` +- `scripts/verify-v7-default-prep.ps1` +- `python -m pytest backend/tests -q` +- `python -m pytest backend/tests/contract -q` +- `npm test` in `workbook-worker` +- `npm run verify` in `plugin` +- `npm run test:office-mock` in `plugin` +- fixture open -> patch -> export -> reopen -> QA +- package integrity QA over generated and private fixture sets +- Playwright visual and interaction smoke for the spreadsheet editor +- dependency and license review +- Docker build and worker smoke + +Manual release-candidate gates: + +- Windows Excel manual smoke using `docs/WINDOWS_EXCEL_MANUAL_SMOKE.md`. +- Evidence links or notes for every Pass, Pass with Warning, Blocked, Fail, or + Not Covered row. + +Windows Excel manual smoke must include: + +- Sideload add-in. +- Link active workbook. +- Edit value, formula, format, comment, table, validation, sheet, and name. +- Sync browser edits to Excel. +- Edit Excel externally and detect drift. +- Keep Browser reconciliation. +- Reload From Excel reconciliation. +- Protected sheet failure. +- Pause/resume. +- Export preserved workbook. +- Reopen export in Excel. +- Save from Excel and reopen again. +- Macro workbook warning and preservation. +- Chart/pivot/image preservation warnings. + +## Release Metrics + +Minimum metrics to track: + +- Open success rate by fixture type. +- Export success rate by fidelity mode. +- Excel Desktop smoke pass rate. +- Missing package part count. +- Formula parity issue count and severity. +- AI plan unsupported operation count. +- Rollback availability rate. +- Sync queue failure rate. +- Host drift detection rate. +- Average open, recalc, QA, export, and sync duration. +- Large workbook memory ceiling. +- Dependency risk status. +- V7 readiness status and replay drift. + +## Strategic Product Bar + +The competitive bar is not just "can edit spreadsheets." Shortcut publicly +markets Excel parity, native add-in workflows, formula-driven outputs, audit and +restore, file fidelity, macros/large files/keyboard shortcuts through the +plugin, team controls, and fast complex work. To compete, this program needs: + +- Excel-native reliability, not just a browser grid. +- Trust and audit as first-class UI. +- Formula-driven AI outputs with source evidence. +- Compatibility proof through real workbooks. +- Strong enterprise/privacy posture. +- Smooth workflows for finance users, not generic spreadsheet demos. +- Fast local-first behavior with clear limits. + +The differentiator should be the trust architecture: every AI edit is a typed +patch, every risky patch is simulated, every output is traceable, every export +has fidelity evidence, and every host write has a recoverable journal. + +## Decisions Required Before GA + +1. HyperFormula license: GPL-compatible open source use or proprietary license. +2. SheetJS risk: keep isolated with accepted risk, add comparison parser, or + replace parser before GA. +3. V7 default: stay opt-in until readiness is fully green. +4. Shared runtime: adopt for add-in coordination where supported or keep + isolated runtimes with degraded behaviors. +5. Cloud storage: keep strictly local-first for GA or design a separate + enterprise document-storage product. +6. Macro workflow: preservation/warn only for GA, or trusted desktop runner as + a separate explicitly opted-in feature. +7. Google Sheets: defer until Excel parity and local-first trust are complete. +8. Chart and pivot scope: metadata edit/preserve for GA, full render/recalc + post-GA unless proven earlier. + +## Near-Term Next Implementation Slice + +The next engineering slice should be Phase 1, not another broad feature pass. + +Build: + +- Backend route tests for `/spreadsheet/open`, `/spreadsheet/export`, and + `/spreadsheet/roundtrip-qa`. +- Fixture inventory validator that proves manifest claims match real OOXML + package contents. +- Worker package integrity QA for content types, relationships, orphan targets, + and missing parts. +- Export behavior change so preserved OOXML is the default for edited original + workbooks, with regenerated fallback requiring explicit user intent. +- Windows Excel smoke checklist file under docs. +- Capability matrix update to distinguish foundation vs beta vs GA for the + spreadsheet platform. + +This slice turns the current foundation into evidence. It is less glamorous +than another panel, but it is the thing that lets the next phases compound +without building confidence on sand. diff --git a/docs/STACK_CAPABILITY_MATRIX.md b/docs/STACK_CAPABILITY_MATRIX.md index 2afb60e..ba4fe53 100644 --- a/docs/STACK_CAPABILITY_MATRIX.md +++ b/docs/STACK_CAPABILITY_MATRIX.md @@ -3,6 +3,13 @@ This matrix freezes the public compatibility surface while the V7 accuracy kernel is built behind flags. +Status vocabulary: + +- Foundation: implemented, but not yet externally proven. +- Beta: covered by automated tests plus captured manual smoke evidence. +- GA: covered by automated gates, Windows Excel evidence, and release-owner signoff. +- Deferred/Gated: intentionally blocked or future scope. + ## Compatibility Surface | Surface | Status | Notes | @@ -18,6 +25,13 @@ kernel is built behind flags. | Capability | Status | Endpoint / Module | | --- | --- | --- | +| Spreadsheet editor V2.0 local-first platform | Foundation, Phase 1 hardening active | Browser sessions now carry additive `WorkbookPlatformStateV2`, formula parity, trust-report, sync-journal, object-history, export-trust, manual-smoke, and large-workbook state; the editor persists sync queues/journals in IndexedDB, durable-replays Excel sync queues with terminal failure guards, stores QA/export artifacts in platform state, exposes tested Formula Trace/Object Inspector/Sync/Trust panels, adds V2 object patch variants, blocks unsafe primary export from trust blockers, and keeps all workbook bytes local/stateless. Fixture inventory validation and Windows Excel smoke evidence remain the active proof gaps. | +| Spreadsheet editor V1.8 Excel live sync | Foundation, manual smoke required | Browser spreadsheet sessions now carry additive `ExcelLinkStateV1` metadata, map `WorkbookPatchV1` edits onto the existing Office.js adapter, queue local-first edits for ordered Excel writes, pause on host drift or apply failure, and surface link status, queue depth, conflicts, and reconcile actions in the spreadsheet ribbon/status bar/right pane without adding backend live document storage. | +| Spreadsheet editor V1.7 object fidelity | Foundation, Excel Desktop evidence required | OOXML-preserving export now patches browser-authored notes/comments, tables, validations, conditional formats, sheet protection, freeze panes, dimensions, and workbook defined names while keeping opaque chart/drawing/media/pivot/macro/custom XML parts preserved; the browser fidelity panel shows object-level patched/blocked/lost status. | +| Spreadsheet editor V1.6 fidelity | Foundation, package QA hardening active | Browser export now exposes preserved-vs-regenerated fidelity state, blocks unsafe primary exports, offers an explicit regenerated-copy fallback, and shows roundtrip QA/package preservation status in the spreadsheet pane. | +| Spreadsheet editor V1.5 usability | Foundation | The Shortcut-like spreadsheet surface now routes formula-bar edits, direct Univer grid edits, Home/Insert/Data/Review ribbon actions, row/column/sheet operations, formatting, comments, validations, tables, undo/redo, selection stats, and AI plan application through the additive `WorkbookPatchV1` layer. | +| Shortcut-like spreadsheet engine V1 | Foundation | `plugin/src/spreadsheet/spreadsheet.html` adds a full-page browser spreadsheet editor with Univer UI, local `WorkbookSessionV1` state, patch/undo/redo, IndexedDB persistence, HyperFormula browser recalculation, AI plan preview/apply-to-grid, and stateless backend routes `POST /api/v1/spreadsheet/open`, `/export`, and `/roundtrip-qa`. | +| Spreadsheet worker session commands | Foundation, package QA hardening active | Worker commands `open-workbook-v1`, `export-workbook-v1`, and `roundtrip-qa-v2` convert XLSX/XLSM/CSV payloads into the browser session model, patch common object XML in preserved XLSX/XLSM exports when original bytes are available, keep opaque OOXML package parts intact, support explicit regenerated fallback, and report structured round-trip fidelity gaps without server-side document storage. | | WorkbookTruthModelV5 | Added behind flag | `POST /api/v1/workbooks/truth-model/v5` builds typed semantic target decisions, analyst-memory hooks, model taxonomy, source-evidence weighting, V2 finance invariant reports, and V7 accuracy reports. | | FormulaGraphArtifactV5 | Added behind flag | `POST /api/v1/formulas/graph/v5` keeps HyperFormula primary and marks Univer/Python fallbacks as explicit confidence gaps, with structured references, calc-chain hints, material formula failures, and formula graph quality metadata. | | OperationSimulationV6 | Added behind flag | `POST /api/v1/operations/simulate/v6` is the V7 non-read pre-apply gate with V3 diff previews, execution groups, rollback requirements, checkpoint reasons, finance impact, repair candidates, and silent fallback blocking. | @@ -30,7 +44,7 @@ kernel is built behind flags. | OperationRegistryV3 | Added | `GET /api/v1/operations/registry/v3` exposes checkpoint policy, generated frontend handler keys, simulation support, rollback strategy, V7 readiness metadata, `applyReady`, `safeGated`, host requirements, and readiness reasons. Screenshot and sparkline operations are V7-ready with host fallback behavior; pivots remain safely gated. | | HostCapabilityMatrixV2 | Added | `GET /api/v1/capabilities/office/v2` exposes V7 host capability metadata and registry-backed operation coverage. | | V7 worker commands | Added | Worker now accepts `truth-model-v5`, `formula-graph-v5`, `simulate-operations-v6`, `source-evidence-v3`, `openxml-deep-qa-v2`, `workbook-diff-v3`, and `fixture-validate`. | -| Workbook fixture gate V3 | Expanded | `GET /api/v1/benchmarks/workbook-fixtures/v3` reports 30 generated `.xlsx/.xlsm` fixtures and V7 rollout thresholds. | +| Workbook fixture gate V3 | Expanded | `GET /api/v1/benchmarks/workbook-fixtures/v3` reports 30+ generated `.xlsx/.xlsm` fixtures, including an object-fidelity workbook with notes, tables, validations, conditional formats, protection, freeze panes, and named ranges, plus V7 rollout thresholds. Fixture inventory validation is becoming the source of truth for manifest-to-OOXML object claims. | | Taskpane V7 workbench | Added behind flag | The Settings drawer now provides a local persisted `V7 local accuracy mode` opt-in. When enabled, truth, formula graph, simulation, source-evidence, capabilities, and agent-run calls route to V7 surfaces; when disabled, planning stays on the shipped V2 path. The command palette exposes read-only Understand, Trace, Simulate, Repair, and Audit panels plus readiness history, replay baselines, golden cases, execution-group, retry, rollback, and audit-export commands without making V7 default. | | Local accuracy and readiness gates | Added | `.\scripts\verify-full-stack.ps1`, `python -m backend.benchmarks.local_accuracy`, `python -m backend.benchmarks.local_replay --evaluate`, `python -m backend.benchmarks.v7_readiness`, `python -m backend.benchmarks.v7_golden_cases`, `.\scripts\verify-local-accuracy.ps1`, `.\scripts\verify-v7-default-prep.ps1`, `npm run test:office-mock`, and `npm run test:taskpane` cover deterministic benchmarks, workbook-aware fixtures, anonymized replay artifacts, V7 review contracts, default-prep readiness, frontend workbench hooks, and behavioral Office adapter coverage. | @@ -72,7 +86,10 @@ kernel is built behind flags. | True atomic Office.js rollback | Partial | Range snapshots exist; object rollback remains manual unless host APIs can snapshot reliably. | | Postgres parity | Partial | Generic JSONB artifact coverage exists for flagship artifacts; production schema hardening and migrations for typed relational reporting remain future work. | | Frontend Office.js tests | Active | `npm run test:office-mock` now guards protected-sheet preflight, write rollback snapshots, dirty-range reporting, screenshot and sparkline unsupported-host fallbacks, and V7 opt-in/readiness/replay workbench hooks; next step is broader host-behavior mocks for partial failures, tables, charts, comments, and richer supported-host paths. | -| Workbook-aware benchmark fixtures | Active | Real generated fixtures now cover 30 V7 scenarios; next expansion is externally sourced golden workbooks and gitignored private fixtures with hand-labeled truth models, expected formula graphs, simulation gates, rollback expectations, repair outcomes, and expected audit exports. | +| Spreadsheet Excel live sync smoke | Active | V1.8 has host-mock coverage for patch mapping, queue state, persisted replay, conflict detection, force replay, terminal failed-item guards, and apply-failure pause; next step is a Windows Excel manual smoke covering link, edit, sync, external host edit, reconcile, protected sheet failure, pause/resume, and standalone export. | +| Local-first workbook platform | Active | V2.0 adds persisted sync journals, formula parity, object inspection, trust reports, QA/export artifacts, IndexedDB migration coverage, and tested right-pane trust surfaces; next step is Windows Excel manual smoke evidence capture and deeper host/object mocks. | +| Phase 1 evidence bundle | Active | `.\scripts\verify-spreadsheet-phase1.ps1` now runs backend route/OpenAPI checks, plugin verify with IndexedDB/sync/UI tests, worker OOXML tests, and workbook fixture benchmarks; Windows Excel smoke evidence in `docs/WINDOWS_EXCEL_MANUAL_SMOKE.md` remains manual before spreadsheet platform status can move from Foundation to Beta. | +| Workbook-aware benchmark fixtures | Active | Real generated fixtures now cover 30+ V7 scenarios; next expansion is externally sourced golden workbooks and gitignored private fixtures with hand-labeled truth models, expected formula graphs, simulation gates, rollback expectations, repair outcomes, and expected audit exports. | | V7 default switch | Deliberately deferred | V7 can only become default-ready when readiness is `ready`, replay drift is stable, golden cases pass, and backend, worker, plugin, replay, formula, dependency-risk, and manual smoke gates pass. The shipped default remains v2, and any default switch must be a separate small change with rollback instructions. | | Pivot mutations | Gated | Keep explicit warnings until host support is proven. | | SheetJS advisories | Tracked risk | Worker now enforces payload size, extension allowlists, and OOXML/ZIP signature checks for `.xlsx/.xlsm/.xlsb`; keep isolation. | diff --git a/docs/WINDOWS_EXCEL_MANUAL_SMOKE.md b/docs/WINDOWS_EXCEL_MANUAL_SMOKE.md new file mode 100644 index 0000000..f11cf28 --- /dev/null +++ b/docs/WINDOWS_EXCEL_MANUAL_SMOKE.md @@ -0,0 +1,112 @@ +# Windows Excel Manual Smoke Checklist + +This checklist captures manual Excel Desktop evidence for spreadsheet platform +releases. Use it for Phase 1 evidence and expand it for later live-sync release +candidates. + +## Run Metadata + +| Field | Value | +| --- | --- | +| Date | | +| Tester | | +| Git commit | | +| Windows version | | +| Excel version/build | | +| Add-in manifest | | +| Backend command | | +| Plugin command | | +| Worker command | | +| Test fixture set | | +| Overall result | Pass / Fail / Blocked | + +## Status Model + +- Pass: behavior works and evidence is attached. +- Pass with Warning: user-visible warning is correct and no silent loss occurs. +- Blocked: product blocks the action intentionally. +- Fail: behavior is wrong, silent, corrupting, or undocumented. +- Not Covered: not part of this smoke pass. + +## Automated Preflight + +| Gate | Command | Result | Evidence / Notes | +| --- | --- | --- | --- | +| Full stack | `.\scripts\verify-full-stack.ps1` | | | +| OpenAPI types | `python scripts\generate_openapi_types.py --check` | | | +| Plugin verify | `Push-Location plugin; npm run verify; Pop-Location` | | | +| Worker tests | `Push-Location workbook-worker; npm test; Pop-Location` | | | +| Dependency risk | `python scripts\check_dependency_risks.py` | | | +| Known skipped gates | | | | + +## Fixture Matrix + +| Fixture | Contains | Open | Link | Edit | Sync | Export | Reopen | Save/Reopen | Result | Evidence | +| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | +| Simple `.xlsx` | Values/formulas/styles | | | | | | | | | | +| Object fidelity `.xlsx` | Table/comment/validation/CF/protection/name | | | | | | | | | | +| Macro `.xlsm` | VBA project | | | | | | | | | | +| Chart workbook | Chart package parts | | | | | | | | | | +| Pivot workbook | Pivot package parts | | | | | | | | | | +| Image/drawing workbook | Drawing/media parts | | | | | | | | | | +| Protected workbook | Sheet/workbook protection | | | | | | | | | | +| Large workbook | Large row/cell count | | | | | | | | | | + +## Sideload And Link + +| Step | Expected Result | Status | Evidence / Notes | +| --- | --- | --- | --- | +| Run `npm run sideload` from `plugin` | Add-in sideloads without certificate or manifest error | | | +| Open a normal `.xlsx` in Excel Desktop | Workbook opens without repair dialog | | | +| Open the taskpane | Taskpane loads and can reach backend | | | +| Link active workbook | Link mode shows `linked`, queue depth is 0, no initial conflict | | | +| Check host | Workbook identity/fingerprint remains stable | | | + +## Browser Edit To Excel Sync + +| Patch Type | Action | Expected Result | Status | Evidence / Notes | +| --- | --- | --- | --- | --- | +| Value | Edit one value in browser grid | Excel receives value after sync | | | +| Formula | Edit one formula in browser grid/formula bar | Excel receives formula and recalculates | | | +| Format | Apply bold/fill/number format | Excel receives visible format where supported | | | +| Comment/note | Add or edit comment | Excel receives comment, or visible warning explains unsupported path | | | +| Table | Create/update table metadata | Excel receives table change, or visible warning explains unsupported path | | | +| Validation | Add validation | Excel receives validation, or visible warning explains unsupported path | | | +| Sheet/name | Rename sheet or named range | Excel receives change where supported | | | + +## Host Drift And Reconcile + +| Step | Expected Result | Status | Evidence / Notes | +| --- | --- | --- | --- | +| Make an external Excel edit | Browser detects host drift before overwrite | | | +| Choose Keep Browser | Queued browser edits replay to Excel and journal records outcome | | | +| Repeat drift | Conflict appears again with range/object summary | | | +| Choose Reload From Excel | Browser session reloads from host snapshot and clears queue | | | +| Choose Stay Paused | Queue remains untouched and sync stays paused | | | + +## Failure And Recovery + +| Step | Expected Result | Status | Evidence / Notes | +| --- | --- | --- | --- | +| Attempt write to protected sheet | Sync pauses with protected-sheet failure | | | +| Review apply result | Rollback/apply details are visible | | | +| Resume after unprotecting or changing target | Queue can complete or remain safely paused | | | +| Reload browser/taskpane mid-queue | Queue and journal survive reload, or row is marked Not Covered for Phase 1 | | | + +## Export Fidelity + +| Step | Expected Result | Status | Evidence / Notes | +| --- | --- | --- | --- | +| Export preserved workbook | Primary export uses preserved OOXML when original bytes exist | | | +| Check headers where visible | `X-Spreadsheet-Fidelity-Mode`, `X-Spreadsheet-Fidelity-Status`, and `X-Spreadsheet-Unsupported-Preserved` are correct | | | +| Reopen export in Excel Desktop | No repair dialog, missing sheets, or obvious corruption | | | +| Save from Excel | Save completes without repair prompts | | | +| Reopen saved copy | Workbook still opens cleanly | | | +| Macro workbook export | VBA is preserved, macro execution remains blocked/warned in browser | | | +| Chart/pivot/image workbook export | Objects are preserved or warnings/blockers are explicit | | | + +## Blockers And Follow-Up + +| ID | Severity | Area | Description | Owner | Target Fix | +| --- | --- | --- | --- | --- | --- | +| | | | | | | diff --git a/plugin/eslint.config.mjs b/plugin/eslint.config.mjs index 3f2dc0f..795eca2 100644 --- a/plugin/eslint.config.mjs +++ b/plugin/eslint.config.mjs @@ -18,9 +18,14 @@ export default tseslint.config( crypto: "readonly", document: "readonly", fetch: "readonly", + btoa: "readonly", + indexedDB: "readonly", localStorage: "readonly", setTimeout: "readonly", + self: "readonly", window: "readonly", + URL: "readonly", + Worker: "readonly", }, }, }, diff --git a/plugin/package-lock.json b/plugin/package-lock.json index 001c064..55059e6 100644 --- a/plugin/package-lock.json +++ b/plugin/package-lock.json @@ -10,6 +10,9 @@ "dependencies": { "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", + "@univerjs/preset-sheets-core": "^0.22.0", + "@univerjs/presets": "^0.22.0", + "hyperformula": "^3.2.0", "lucide-react": "^1.14.0", "react": "^19.2.5", "react-dom": "^19.2.5" @@ -18,9 +21,11 @@ "@eslint/js": "^10.0.1", "@testing-library/dom": "^10.4.1", "@testing-library/react": "^16.3.2", + "@types/office-js": "^1.0.483", "@vitejs/plugin-basic-ssl": "^2.3.0", "esbuild": "^0.28.0", "eslint": "^10.3.0", + "fake-indexeddb": "^6.2.5", "jsdom": "^29.1.1", "typescript": "^5.6.3", "typescript-eslint": "^8.59.1", @@ -108,7 +113,6 @@ "version": "7.29.2", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz", "integrity": "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==", - "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -889,6 +893,81 @@ } } }, + "node_modules/@flatten-js/interval-tree": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@flatten-js/interval-tree/-/interval-tree-1.1.3.tgz", + "integrity": "sha512-xhFWUBoHJFF77cJO1D6REjdgJEMRf2Y2Z+eKEPav8evGKcLSnj1ud5pLXQSbGuxF3VSvT1rWhMfVpXEKJLTL+A==", + "license": "MIT" + }, + "node_modules/@floating-ui/core": { + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.5.tgz", + "integrity": "sha512-1Ih4WTWyw0+lKyFMcBHGbb5U5FtuHJuujoyyr5zTaWS5EYMeT6Jb2AuDeftsCsEuchO+mM2ij5+q9crhydzLhQ==", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.11" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.6.tgz", + "integrity": "sha512-9gZSAI5XM36880PPMm//9dfiEngYoC6Am2izES1FF406YFsjvyBMmeJ2g4SAju3xWwtuynNRFL2s9hgxpLI5SQ==", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.7.5", + "@floating-ui/utils": "^0.2.11" + } + }, + "node_modules/@floating-ui/react-dom": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.8.tgz", + "integrity": "sha512-cC52bHwM/n/CxS87FH0yWdngEZrjdtLW/qVruo68qg+prK7ZQ4YGdut2GyDVpoGeAYe/h899rVeOVm6Oi40k2A==", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.7.6" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.11", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.11.tgz", + "integrity": "sha512-RiB/yIh78pcIxl6lLMG0CgBXAZ2Y0eVHqMPYugu+9U0AeT6YBeiJpf7lbdJNIugFP5SIjwNRgo4DhR1Qxi26Gg==", + "license": "MIT" + }, + "node_modules/@grpc/grpc-js": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.14.3.tgz", + "integrity": "sha512-Iq8QQQ/7X3Sac15oB6p0FmUg/klxQvXLeileoqrTRGJYLV+/9tubbr9ipz0GKHjmXVsgFPo/+W+2cA8eNcR+XA==", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.8.0", + "@js-sdsl/ordered-map": "^4.4.2" + }, + "engines": { + "node": ">=12.10.0" + } + }, + "node_modules/@grpc/proto-loader": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.8.1.tgz", + "integrity": "sha512-wtF6h+DY6M3YaDBPAmvuuA6jV8Sif9MjtOI5euKFWRgCDl5PeDpPsHR9u2l6St5ceY8AZgoNDww5+HvEsXFsGg==", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.5.5", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/@humanfs/core": { "version": "0.19.2", "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", @@ -962,6 +1041,16 @@ "dev": true, "license": "MIT" }, + "node_modules/@js-sdsl/ordered-map": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@js-sdsl/ordered-map/-/ordered-map-4.4.2.tgz", + "integrity": "sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, "node_modules/@napi-rs/wasm-runtime": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.4.tgz", @@ -981,325 +1070,460 @@ "@emnapi/runtime": "^1.7.1" } }, - "node_modules/@oxc-project/types": { - "version": "0.127.0", - "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.127.0.tgz", - "integrity": "sha512-aIYXQBo4lCbO4z0R3FHeucQHpF46l2LbMdxRvqvuRuW2OxdnSkcng5B8+K12spgLDj93rtN3+J2Vac/TIO+ciQ==", - "dev": true, + "node_modules/@noble/ciphers": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-2.2.0.tgz", + "integrity": "sha512-Z6pjIZ/8IJcCGzb2S/0Px5J81yij85xASuk1teLNeg75bfT07MV3a/O2Mtn1I2se43k3lkVEcFaR10N4cgQcZA==", "license": "MIT", + "engines": { + "node": ">= 20.19.0" + }, "funding": { - "url": "https://github.com/sponsors/Boshen" + "url": "https://paulmillr.com/funding/" } }, - "node_modules/@rolldown/binding-android-arm64": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-rc.17.tgz", - "integrity": "sha512-s70pVGhw4zqGeFnXWvAzJDlvxhlRollagdCCKRgOsgUOH3N1l0LIxf83AtGzmb5SiVM4Hjl5HyarMRfdfj3DaQ==", - "cpu": [ - "arm64" - ], - "dev": true, + "node_modules/@noble/ed25519": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-3.1.0.tgz", + "integrity": "sha512-pfcObRY3CtvwfaG9Mt5XqZdKmAQppl37tHUeuBhDUbiwJBCVY4/A4lbMvb1xKhMDx96AqAqZpMWuBX1HulhX4g==", "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": "^20.19.0 || >=22.12.0" + "funding": { + "url": "https://paulmillr.com/funding/" } }, - "node_modules/@rolldown/binding-darwin-arm64": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-rc.17.tgz", - "integrity": "sha512-4ksWc9n0mhlZpZ9PMZgTGjeOPRu8MB1Z3Tz0Mo02eWfWCHMW1zN82Qz/pL/rC+yQa+8ZnutMF0JjJe7PjwasYw==", - "cpu": [ - "arm64" - ], - "dev": true, + "node_modules/@noble/hashes": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-2.2.0.tgz", + "integrity": "sha512-IYqDGiTXab6FniAgnSdZwgWbomxpy9FtYvLKs7wCUs2a8RkITG+DFGO1DM9cr+E3/RgADRpFjrKVaJ1z6sjtEg==", "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], "engines": { - "node": "^20.19.0 || >=22.12.0" + "node": ">= 20.19.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" } }, - "node_modules/@rolldown/binding-darwin-x64": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-rc.17.tgz", - "integrity": "sha512-SUSDOI6WwUVNcWxd02QEBjLdY1VPHvlEkw6T/8nYG322iYWCTxRb1vzk4E+mWWYehTp7ERibq54LSJGjmouOsw==", - "cpu": [ - "x64" - ], + "node_modules/@oxc-project/types": { + "version": "0.127.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.127.0.tgz", + "integrity": "sha512-aIYXQBo4lCbO4z0R3FHeucQHpF46l2LbMdxRvqvuRuW2OxdnSkcng5B8+K12spgLDj93rtN3+J2Vac/TIO+ciQ==", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^20.19.0 || >=22.12.0" + "funding": { + "url": "https://github.com/sponsors/Boshen" } }, - "node_modules/@rolldown/binding-freebsd-x64": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-rc.17.tgz", - "integrity": "sha512-hwnz3nw9dbJ05EDO/PvcjaaewqqDy7Y1rn1UO81l8iIK1GjenME75dl16ajbvSSMfv66WXSRCYKIqfgq2KCfxw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": "^20.19.0 || >=22.12.0" + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.5.tgz", + "integrity": "sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" } }, - "node_modules/@rolldown/binding-linux-arm-gnueabihf": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-rc.17.tgz", - "integrity": "sha512-IS+W7epTcwANmFSQFrS1SivEXHtl1JtuQA9wlxrZTcNi6mx+FDOYrakGevvvTwgj2JvWiK8B29/qD9BELZPyXQ==", - "cpu": [ - "arm" - ], - "dev": true, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.1.tgz", + "integrity": "sha512-mnzgDV26ueAvk7rsbt9L7bE0SuAoqyuys/sMMrmVcN5x9VsxpcG3rqAUSgDyLp0UZlmNfIbQ4fHfCtreVBk8Ew==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.1.tgz", + "integrity": "sha512-oOAWABowe8EAbMyWKM0tYDKi8Yaox52D+HWZhAIJqQXbqe0xI/GV7FhLWqlEKreMkfDjshR5FKgi3mnle0h6Eg==", + "license": "BSD-3-Clause" + }, + "node_modules/@radix-ui/primitive": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.3.tgz", + "integrity": "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==", + "license": "MIT" + }, + "node_modules/@radix-ui/react-arrow": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.7.tgz", + "integrity": "sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": "^20.19.0 || >=22.12.0" + "dependencies": { + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } } }, - "node_modules/@rolldown/binding-linux-arm64-gnu": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-rc.17.tgz", - "integrity": "sha512-e6usGaHKW5BMNZOymS1UcEYGowQMWcgZ71Z17Sl/h2+ZziNJ1a9n3Zvcz6LdRyIW5572wBCTH/Z+bKuZouGk9Q==", - "cpu": [ - "arm64" - ], - "dev": true, + "node_modules/@radix-ui/react-collection": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.7.tgz", + "integrity": "sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": "^20.19.0 || >=22.12.0" + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } } }, - "node_modules/@rolldown/binding-linux-arm64-musl": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-rc.17.tgz", - "integrity": "sha512-b/CgbwAJpmrRLp02RPfhbudf5tZnN9nsPWK82znefso832etkem8H7FSZwxrOI9djcdTP7U6YfNhbRnh7djErg==", - "cpu": [ - "arm64" - ], - "dev": true, + "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": "^20.19.0 || >=22.12.0" + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, - "node_modules/@rolldown/binding-linux-ppc64-gnu": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.0-rc.17.tgz", - "integrity": "sha512-4EII1iNGRUN5WwGbF/kOh/EIkoDN9HsupgLQoXfY+D1oyJm7/F4t5PYU5n8SWZgG0FEwakyM8pGgwcBYruGTlA==", - "cpu": [ - "ppc64" - ], - "dev": true, + "node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz", + "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": "^20.19.0 || >=22.12.0" + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, - "node_modules/@rolldown/binding-linux-s390x-gnu": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.0-rc.17.tgz", - "integrity": "sha512-AH8oq3XqQo4IibpVXvPeLDI5pzkpYn0WiZAfT05kFzoJ6tQNzwRdDYQ45M8I/gslbodRZwW8uxLhbSBbkv96rA==", - "cpu": [ - "s390x" - ], - "dev": true, + "node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": "^20.19.0 || >=22.12.0" + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, - "node_modules/@rolldown/binding-linux-x64-gnu": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-rc.17.tgz", - "integrity": "sha512-cLnjV3xfo7KslbU41Z7z8BH/E1y5mzUYzAqih1d1MDaIGZRCMqTijqLv76/P7fyHuvUcfGsIpqCdddbxLLK9rA==", - "cpu": [ - "x64" - ], - "dev": true, + "node_modules/@radix-ui/react-dialog": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.15.tgz", + "integrity": "sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": "^20.19.0 || >=22.12.0" + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-focus-guards": "1.1.3", + "@radix-ui/react-focus-scope": "1.1.7", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } } }, - "node_modules/@rolldown/binding-linux-x64-musl": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-rc.17.tgz", - "integrity": "sha512-0phclDw1spsL7dUB37sIARuis2tAgomCJXAHZlpt8PXZ4Ba0dRP1e+66lsRqrfhISeN9bEGNjQs+T/Fbd7oYGw==", - "cpu": [ - "x64" - ], - "dev": true, + "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": "^20.19.0 || >=22.12.0" + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, - "node_modules/@rolldown/binding-openharmony-arm64": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0-rc.17.tgz", - "integrity": "sha512-0ag/hEgXOwgw4t8QyQvUCxvEg+V0KBcA6YuOx9g0r02MprutRF5dyljgm3EmR02O292UX7UeS6HzWHAl6KgyhA==", - "cpu": [ - "arm64" - ], - "dev": true, + "node_modules/@radix-ui/react-direction": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.1.tgz", + "integrity": "sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==", "license": "MIT", - "optional": true, - "os": [ - "openharmony" - ], - "engines": { - "node": "^20.19.0 || >=22.12.0" + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, - "node_modules/@rolldown/binding-wasm32-wasi": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-rc.17.tgz", - "integrity": "sha512-LEXei6vo0E5wTGwpkJ4KoT3OZJRnglwldt5ziLzOlc6qqb55z4tWNq2A+PFqCJuvWWdP53CVhG1Z9NtToDPJrA==", - "cpu": [ - "wasm32" - ], - "dev": true, + "node_modules/@radix-ui/react-dismissable-layer": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.11.tgz", + "integrity": "sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==", "license": "MIT", - "optional": true, "dependencies": { - "@emnapi/core": "1.10.0", - "@emnapi/runtime": "1.10.0", - "@napi-rs/wasm-runtime": "^1.1.4" + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-escape-keydown": "1.1.1" }, - "engines": { - "node": "^20.19.0 || >=22.12.0" + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } } }, - "node_modules/@rolldown/binding-win32-arm64-msvc": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-rc.17.tgz", - "integrity": "sha512-gUmyzBl3SPMa6hrqFUth9sVfcLBlYsbMzBx5PlexMroZStgzGqlZ26pYG89rBb45Mnia+oil6YAIFeEWGWhoZA==", - "cpu": [ - "arm64" - ], - "dev": true, + "node_modules/@radix-ui/react-dropdown-menu": { + "version": "2.1.16", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dropdown-menu/-/react-dropdown-menu-2.1.16.tgz", + "integrity": "sha512-1PLGQEynI/3OX/ftV54COn+3Sud/Mn8vALg2rWnBLnRaGtJDduNW/22XjlGgPdpcIbiQxjKtb7BkcjP00nqfJw==", "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": "^20.19.0 || >=22.12.0" + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-menu": "2.1.16", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } } }, - "node_modules/@rolldown/binding-win32-x64-msvc": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-rc.17.tgz", - "integrity": "sha512-3hkiolcUAvPB9FLb3UZdfjVVNWherN1f/skkGWJP/fgSQhYUZpSIRr0/I8ZK9TkF3F7kxvJAk0+IcKvPHk9qQg==", - "cpu": [ - "x64" - ], - "dev": true, + "node_modules/@radix-ui/react-focus-guards": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.3.tgz", + "integrity": "sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==", "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": "^20.19.0 || >=22.12.0" + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, - "node_modules/@rolldown/pluginutils": { - "version": "1.0.0-rc.17", - "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.17.tgz", - "integrity": "sha512-n8iosDOt6Ig1UhJ2AYqoIhHWh/isz0xpicHTzpKBeotdVsTEcxsSA/i3EVM7gQAj0rU27OLAxCjzlj15IWY7bg==", - "dev": true, - "license": "MIT" - }, - "node_modules/@standard-schema/spec": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", - "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", - "dev": true, - "license": "MIT" + "node_modules/@radix-ui/react-focus-scope": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.7.tgz", + "integrity": "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } }, - "node_modules/@testing-library/dom": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.1.tgz", - "integrity": "sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==", - "dev": true, + "node_modules/@radix-ui/react-hover-card": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-hover-card/-/react-hover-card-1.1.15.tgz", + "integrity": "sha512-qgTkjNT1CfKMoP0rcasmlH2r1DAiYicWsDsufxl940sT2wHNEWWv6FMWIQXWhVdmC1d/HYfbhQx60KYyAtKxjg==", "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.10.4", - "@babel/runtime": "^7.12.5", - "@types/aria-query": "^5.0.1", - "aria-query": "5.3.0", - "dom-accessibility-api": "^0.5.9", - "lz-string": "^1.5.0", - "picocolors": "1.1.1", - "pretty-format": "^27.0.2" + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-popper": "1.2.8", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2" }, - "engines": { - "node": ">=18" + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } } }, - "node_modules/@testing-library/react": { - "version": "16.3.2", - "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.3.2.tgz", - "integrity": "sha512-XU5/SytQM+ykqMnAnvB2umaJNIOsLF3PVv//1Ew4CTcpz0/BRyy/af40qqrt7SjKpDdT1saBMc42CUok5gaw+g==", - "dev": true, + "node_modules/@radix-ui/react-id": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.1.tgz", + "integrity": "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.12.5" + "@radix-ui/react-use-layout-effect": "1.1.1" }, - "engines": { - "node": ">=18" + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-menu": { + "version": "2.1.16", + "resolved": "https://registry.npmjs.org/@radix-ui/react-menu/-/react-menu-2.1.16.tgz", + "integrity": "sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-focus-guards": "1.1.3", + "@radix-ui/react-focus-scope": "1.1.7", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-popper": "1.2.8", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-roving-focus": "1.1.11", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" }, "peerDependencies": { - "@testing-library/dom": "^10.0.0", - "@types/react": "^18.0.0 || ^19.0.0", - "@types/react-dom": "^18.0.0 || ^19.0.0", - "react": "^18.0.0 || ^19.0.0", - "react-dom": "^18.0.0 || ^19.0.0" + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -1310,309 +1534,3189 @@ } } }, - "node_modules/@tybys/wasm-util": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz", - "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==", - "dev": true, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", "license": "MIT", - "optional": true, "dependencies": { - "tslib": "^2.4.0" + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, - "node_modules/@types/aria-query": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", - "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==", - "dev": true, - "license": "MIT" + "node_modules/@radix-ui/react-popover": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.1.15.tgz", + "integrity": "sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-focus-guards": "1.1.3", + "@radix-ui/react-focus-scope": "1.1.7", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-popper": "1.2.8", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } }, - "node_modules/@types/chai": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz", - "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==", - "dev": true, + "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", "license": "MIT", "dependencies": { - "@types/deep-eql": "*", - "assertion-error": "^2.0.1" + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, - "node_modules/@types/deep-eql": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz", - "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==", - "dev": true, - "license": "MIT" + "node_modules/@radix-ui/react-popper": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.2.8.tgz", + "integrity": "sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==", + "license": "MIT", + "dependencies": { + "@floating-ui/react-dom": "^2.0.0", + "@radix-ui/react-arrow": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-layout-effect": "1.1.1", + "@radix-ui/react-use-rect": "1.1.1", + "@radix-ui/react-use-size": "1.1.1", + "@radix-ui/rect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } }, - "node_modules/@types/esrecurse": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", - "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", - "dev": true, - "license": "MIT" + "node_modules/@radix-ui/react-portal": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.9.tgz", + "integrity": "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } }, - "node_modules/@types/estree": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", - "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", - "dev": true, - "license": "MIT" + "node_modules/@radix-ui/react-presence": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.5.tgz", + "integrity": "sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "dev": true, - "license": "MIT" + "node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } }, - "node_modules/@types/react": { - "version": "19.2.14", - "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz", - "integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==", + "node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", "license": "MIT", "dependencies": { - "csstype": "^3.2.2" + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, - "node_modules/@types/react-dom": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz", - "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==", + "node_modules/@radix-ui/react-roving-focus": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.11.tgz", + "integrity": "sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==", "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, "peerDependencies": { - "@types/react": "^19.2.0" + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } } }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.59.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.59.1.tgz", - "integrity": "sha512-BOziFIfE+6osHO9FoJG4zjoHUcvI7fTNBSpdAwrNH0/TLvzjsk2oo8XSSOT2HhqUyhZPfHv4UOffoJ9oEEQ7Ag==", - "dev": true, + "node_modules/@radix-ui/react-separator": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.8.tgz", + "integrity": "sha512-sDvqVY4itsKwwSMEe0jtKgfTh+72Sy3gPmQpjqcQneqQ4PFmr/1I0YA+2/puilhggCe2gJcx5EBAYFkWkdpa5g==", "license": "MIT", "dependencies": { - "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.59.1", - "@typescript-eslint/type-utils": "8.59.1", - "@typescript-eslint/utils": "8.59.1", - "@typescript-eslint/visitor-keys": "8.59.1", - "ignore": "^7.0.5", - "natural-compare": "^1.4.0", - "ts-api-utils": "^2.5.0" + "@radix-ui/react-primitive": "2.1.4" }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz", + "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.4" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.59.1", - "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", - "typescript": ">=4.8.4 <6.1.0" + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } } }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", - "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", - "dev": true, + "node_modules/@radix-ui/react-slot": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.4.tgz", + "integrity": "sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==", "license": "MIT", - "engines": { - "node": ">= 4" + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, - "node_modules/@typescript-eslint/parser": { - "version": "8.59.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.59.1.tgz", - "integrity": "sha512-HDQH9O/47Dxi1ceDhBXdaldtf/WV9yRYMjbjCuNk3qnaTD564qwv61Y7+gTxwxRKzSrgO5uhtw584igXVuuZkA==", - "dev": true, + "node_modules/@radix-ui/react-use-callback-ref": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.1.tgz", + "integrity": "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-controllable-state": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.2.tgz", + "integrity": "sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==", "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.59.1", - "@typescript-eslint/types": "8.59.1", - "@typescript-eslint/typescript-estree": "8.59.1", - "@typescript-eslint/visitor-keys": "8.59.1", - "debug": "^4.4.3" + "@radix-ui/react-use-effect-event": "0.0.2", + "@radix-ui/react-use-layout-effect": "1.1.1" }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-effect-event": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.2.tgz", + "integrity": "sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", - "typescript": ">=4.8.4 <6.1.0" + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, - "node_modules/@typescript-eslint/project-service": { - "version": "8.59.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.59.1.tgz", - "integrity": "sha512-+MuHQlHiEr00Of/IQbE/MmEoi44znZHbR/Pz7Opq4HryUOlRi+/44dro9Ycy8Fyo+/024IWtw8m4JUMCGTYxDg==", - "dev": true, + "node_modules/@radix-ui/react-use-escape-keydown": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.1.tgz", + "integrity": "sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==", "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.59.1", - "@typescript-eslint/types": "^8.59.1", - "debug": "^4.4.3" + "@radix-ui/react-use-callback-ref": "1.1.1" }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-layout-effect": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz", + "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-rect": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.1.1.tgz", + "integrity": "sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==", + "license": "MIT", + "dependencies": { + "@radix-ui/rect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-size": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.1.tgz", + "integrity": "sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/rect": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.1.tgz", + "integrity": "sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==", + "license": "MIT" + }, + "node_modules/@rolldown/binding-android-arm64": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-rc.17.tgz", + "integrity": "sha512-s70pVGhw4zqGeFnXWvAzJDlvxhlRollagdCCKRgOsgUOH3N1l0LIxf83AtGzmb5SiVM4Hjl5HyarMRfdfj3DaQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-arm64": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-rc.17.tgz", + "integrity": "sha512-4ksWc9n0mhlZpZ9PMZgTGjeOPRu8MB1Z3Tz0Mo02eWfWCHMW1zN82Qz/pL/rC+yQa+8ZnutMF0JjJe7PjwasYw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-x64": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-rc.17.tgz", + "integrity": "sha512-SUSDOI6WwUVNcWxd02QEBjLdY1VPHvlEkw6T/8nYG322iYWCTxRb1vzk4E+mWWYehTp7ERibq54LSJGjmouOsw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-freebsd-x64": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-rc.17.tgz", + "integrity": "sha512-hwnz3nw9dbJ05EDO/PvcjaaewqqDy7Y1rn1UO81l8iIK1GjenME75dl16ajbvSSMfv66WXSRCYKIqfgq2KCfxw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm-gnueabihf": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-rc.17.tgz", + "integrity": "sha512-IS+W7epTcwANmFSQFrS1SivEXHtl1JtuQA9wlxrZTcNi6mx+FDOYrakGevvvTwgj2JvWiK8B29/qD9BELZPyXQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-gnu": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-rc.17.tgz", + "integrity": "sha512-e6usGaHKW5BMNZOymS1UcEYGowQMWcgZ71Z17Sl/h2+ZziNJ1a9n3Zvcz6LdRyIW5572wBCTH/Z+bKuZouGk9Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-musl": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-rc.17.tgz", + "integrity": "sha512-b/CgbwAJpmrRLp02RPfhbudf5tZnN9nsPWK82znefso832etkem8H7FSZwxrOI9djcdTP7U6YfNhbRnh7djErg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-ppc64-gnu": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.0-rc.17.tgz", + "integrity": "sha512-4EII1iNGRUN5WwGbF/kOh/EIkoDN9HsupgLQoXfY+D1oyJm7/F4t5PYU5n8SWZgG0FEwakyM8pGgwcBYruGTlA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-s390x-gnu": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.0-rc.17.tgz", + "integrity": "sha512-AH8oq3XqQo4IibpVXvPeLDI5pzkpYn0WiZAfT05kFzoJ6tQNzwRdDYQ45M8I/gslbodRZwW8uxLhbSBbkv96rA==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-gnu": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-rc.17.tgz", + "integrity": "sha512-cLnjV3xfo7KslbU41Z7z8BH/E1y5mzUYzAqih1d1MDaIGZRCMqTijqLv76/P7fyHuvUcfGsIpqCdddbxLLK9rA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-musl": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-rc.17.tgz", + "integrity": "sha512-0phclDw1spsL7dUB37sIARuis2tAgomCJXAHZlpt8PXZ4Ba0dRP1e+66lsRqrfhISeN9bEGNjQs+T/Fbd7oYGw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-openharmony-arm64": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0-rc.17.tgz", + "integrity": "sha512-0ag/hEgXOwgw4t8QyQvUCxvEg+V0KBcA6YuOx9g0r02MprutRF5dyljgm3EmR02O292UX7UeS6HzWHAl6KgyhA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-wasm32-wasi": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-rc.17.tgz", + "integrity": "sha512-LEXei6vo0E5wTGwpkJ4KoT3OZJRnglwldt5ziLzOlc6qqb55z4tWNq2A+PFqCJuvWWdP53CVhG1Z9NtToDPJrA==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "1.10.0", + "@emnapi/runtime": "1.10.0", + "@napi-rs/wasm-runtime": "^1.1.4" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-arm64-msvc": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-rc.17.tgz", + "integrity": "sha512-gUmyzBl3SPMa6hrqFUth9sVfcLBlYsbMzBx5PlexMroZStgzGqlZ26pYG89rBb45Mnia+oil6YAIFeEWGWhoZA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-x64-msvc": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-rc.17.tgz", + "integrity": "sha512-3hkiolcUAvPB9FLb3UZdfjVVNWherN1f/skkGWJP/fgSQhYUZpSIRr0/I8ZK9TkF3F7kxvJAk0+IcKvPHk9qQg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.0-rc.17", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.17.tgz", + "integrity": "sha512-n8iosDOt6Ig1UhJ2AYqoIhHWh/isz0xpicHTzpKBeotdVsTEcxsSA/i3EVM7gQAj0rU27OLAxCjzlj15IWY7bg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@testing-library/dom": { + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.1.tgz", + "integrity": "sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.10.4", + "@babel/runtime": "^7.12.5", + "@types/aria-query": "^5.0.1", + "aria-query": "5.3.0", + "dom-accessibility-api": "^0.5.9", + "lz-string": "^1.5.0", + "picocolors": "1.1.1", + "pretty-format": "^27.0.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@testing-library/react": { + "version": "16.3.2", + "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.3.2.tgz", + "integrity": "sha512-XU5/SytQM+ykqMnAnvB2umaJNIOsLF3PVv//1Ew4CTcpz0/BRyy/af40qqrt7SjKpDdT1saBMc42CUok5gaw+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.12.5" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@testing-library/dom": "^10.0.0", + "@types/react": "^18.0.0 || ^19.0.0", + "@types/react-dom": "^18.0.0 || ^19.0.0", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@tybys/wasm-util": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz", + "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@types/aria-query": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", + "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/chai": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz", + "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/deep-eql": "*", + "assertion-error": "^2.0.1" + } + }, + "node_modules/@types/deep-eql": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz", + "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/esrecurse": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", + "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "25.7.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.7.0.tgz", + "integrity": "sha512-z+pdZyxE+RTQE9AcboAZCb4otwcrvgHD+GlBpPgn0emDVt0ohrTMhAwlr2Wd9nZ+nihhYFxO2pThz3C5qSu2Eg==", + "license": "MIT", + "dependencies": { + "undici-types": "~7.21.0" + } + }, + "node_modules/@types/office-js": { + "version": "1.0.589", + "resolved": "https://registry.npmjs.org/@types/office-js/-/office-js-1.0.589.tgz", + "integrity": "sha512-VN0DL4Px93PsHpwwRjygfvcvrSAGLnvGIrxo1kYaa9YY2qpSgJfQy3jyfqWSJ4LmOP6TMGjil+ZeAbmLFnR4nw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/react": { + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz", + "integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==", + "license": "MIT", + "dependencies": { + "csstype": "^3.2.2" + } + }, + "node_modules/@types/react-dom": { + "version": "19.2.3", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz", + "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==", + "license": "MIT", + "peerDependencies": { + "@types/react": "^19.2.0" + } + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.59.1.tgz", + "integrity": "sha512-BOziFIfE+6osHO9FoJG4zjoHUcvI7fTNBSpdAwrNH0/TLvzjsk2oo8XSSOT2HhqUyhZPfHv4UOffoJ9oEEQ7Ag==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.12.2", + "@typescript-eslint/scope-manager": "8.59.1", + "@typescript-eslint/type-utils": "8.59.1", + "@typescript-eslint/utils": "8.59.1", + "@typescript-eslint/visitor-keys": "8.59.1", + "ignore": "^7.0.5", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.59.1", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.59.1.tgz", + "integrity": "sha512-HDQH9O/47Dxi1ceDhBXdaldtf/WV9yRYMjbjCuNk3qnaTD564qwv61Y7+gTxwxRKzSrgO5uhtw584igXVuuZkA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/scope-manager": "8.59.1", + "@typescript-eslint/types": "8.59.1", + "@typescript-eslint/typescript-estree": "8.59.1", + "@typescript-eslint/visitor-keys": "8.59.1", + "debug": "^4.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/project-service": { + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.59.1.tgz", + "integrity": "sha512-+MuHQlHiEr00Of/IQbE/MmEoi44znZHbR/Pz7Opq4HryUOlRi+/44dro9Ycy8Fyo+/024IWtw8m4JUMCGTYxDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/tsconfig-utils": "^8.59.1", + "@typescript-eslint/types": "^8.59.1", + "debug": "^4.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.59.1.tgz", + "integrity": "sha512-LwuHQI4pDOYVKvmH2dkaJo6YZCSgouVgnS/z7yBPKBMvgtBvyLqiLy9Z6b7+m/TRcX1NFYUqZetI5Y+aT4GEfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.59.1", + "@typescript-eslint/visitor-keys": "8.59.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.1.tgz", + "integrity": "sha512-/0nEyPbX7gRsk0Uwfe4ALwwgxuA66d/l2mhRDNlAvaj4U3juhUtJNq0DsY8M2AYwwb9rEq2hrC3IcIcEt++iJA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.59.1.tgz", + "integrity": "sha512-klWPBR2ciQHS3f++ug/mVnWKPjBUo7icEL3FAO1lhAR1Z1i5NQYZ1EannMSRYcq5qCv5wNALlXr6fksRHyYl7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.59.1", + "@typescript-eslint/typescript-estree": "8.59.1", + "@typescript-eslint/utils": "8.59.1", + "debug": "^4.4.3", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.1.tgz", + "integrity": "sha512-ZDCjgccSdYPw5Bxh+my4Z0lJU96ZDN7jbBzvmEn0FZx3RtU1C7VWl6NbDx94bwY3V5YsgwRzJPOgeY2Q/nLG8A==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.1.tgz", + "integrity": "sha512-OUd+vJS05sSkOip+BkZ/2NS8RMxrAAJemsC6vU3kmfLyeaJT0TftHkV9mcx2107MmsBVXXexhVu4F0TZXyMl4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/project-service": "8.59.1", + "@typescript-eslint/tsconfig-utils": "8.59.1", + "@typescript-eslint/types": "8.59.1", + "@typescript-eslint/visitor-keys": "8.59.1", + "debug": "^4.4.3", + "minimatch": "^10.2.2", + "semver": "^7.7.3", + "tinyglobby": "^0.2.15", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.59.1.tgz", + "integrity": "sha512-3pIeoXhCeYH9FSCBI8P3iNwJlGuzPlYKkTlen2O9T1DSeeg8UG8jstq6BLk+Mda0qup7mgk4z4XL4OzRaxZ8LA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.9.1", + "@typescript-eslint/scope-manager": "8.59.1", + "@typescript-eslint/types": "8.59.1", + "@typescript-eslint/typescript-estree": "8.59.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.1.tgz", + "integrity": "sha512-LdDNl6C5iJExcM0Yh0PwAIBb9PrSiCsWamF/JyEZawm3kFDnRoaq3LGE4bpyRao/fWeGKKyw7icx0YxrLFC5Cg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.59.1", + "eslint-visitor-keys": "^5.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@univerjs-pro/collaboration": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/collaboration/-/collaboration-0.22.0.tgz", + "integrity": "sha512-dnT6gUtjJiVjXbR56yDyqGdEuk63ELEiGz0c3IJu4pUZYRxt4QDXEpY+fm9xsupR5HllyeHDNdIbeLZhP6wOrg==", + "dependencies": { + "@univerjs-pro/license": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/data-validation": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/protocol": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-conditional-formatting": "0.22.0", + "@univerjs/sheets-drawing": "0.22.0", + "@univerjs/sheets-filter": "0.22.0", + "@univerjs/sheets-hyper-link": "0.22.0", + "@univerjs/thread-comment": "0.22.0", + "uuid": "^13.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs-pro/collaboration-client": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/collaboration-client/-/collaboration-client-0.22.0.tgz", + "integrity": "sha512-6fYjSpyZeWt9astrcQVzl3PmFW0ljthEHzSpmHW5kPQ7Xg6agQUxHAdcqdpR9W3IDZBB5aFBkU3hiPlHQh4TjA==", + "dependencies": { + "@noble/ciphers": "^2.2.0", + "@univerjs-pro/collaboration": "0.22.0", + "@univerjs-pro/license": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/network": "0.22.0", + "@univerjs/protocol": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/telemetry": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/collaboration-client-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/collaboration-client-ui/-/collaboration-client-ui-0.22.0.tgz", + "integrity": "sha512-062KnujuzSlazz3lX+vKxkYOheJQtaS1ce7dNQ+xqlUgkJ6lkh8xVNooG0WQvCjVbQr4bVT6rdZcWM/umn2FYw==", + "dependencies": { + "@univerjs-pro/collaboration": "0.22.0", + "@univerjs-pro/collaboration-client": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/network": "0.22.0", + "@univerjs/protocol": "0.22.0", + "@univerjs/rpc": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/docs-exchange-client": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/docs-exchange-client/-/docs-exchange-client-0.22.0.tgz", + "integrity": "sha512-dRBcrdJcUgnCfysi5iUfioOvgOhY82yXLXvG8X4QECeI/u+t1G2dEd7vP0dYMSJsvZqGa+sACmEONgfisWV7HA==", + "dependencies": { + "@univerjs-pro/exchange-client": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs-pro/docs-print": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/docs-print/-/docs-print-0.22.0.tgz", + "integrity": "sha512-Etw3nk/rBNKNSJh3HsR1c2pYxNUAbsT6xtYYIEwVISEhTN4EE/he9ZIMB3iSSTmEPmvIyxHSv/UKg7WloDkkdw==", + "dependencies": { + "@univerjs-pro/license": "0.22.0", + "@univerjs-pro/print": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/network": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs-pro/edit-history-loader": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/edit-history-loader/-/edit-history-loader-0.22.0.tgz", + "integrity": "sha512-yg60f+S/MB6CBzUGALYS4zcty3fcRysbHCCq1j5AUSlfanLk4zhyU+jlvNAZXdZzgwcfc/dBbS0klpYtvoimsQ==", + "dependencies": { + "@univerjs-pro/collaboration": "0.22.0", + "@univerjs-pro/collaboration-client": "0.22.0", + "@univerjs-pro/collaboration-client-ui": "0.22.0", + "@univerjs-pro/edit-history-viewer": "0.22.0", + "@univerjs-pro/license": "0.22.0", + "@univerjs-pro/sheets-chart": "0.22.0", + "@univerjs-pro/sheets-chart-ui": "0.22.0", + "@univerjs-pro/sheets-pivot": "0.22.0", + "@univerjs-pro/sheets-shape": "0.22.0", + "@univerjs-pro/sheets-shape-ui": "0.22.0", + "@univerjs-pro/sheets-sparkline": "0.22.0", + "@univerjs-pro/sheets-sparkline-ui": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/data-validation": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/drawing-ui": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/network": "0.22.0", + "@univerjs/rpc": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-conditional-formatting": "0.22.0", + "@univerjs/sheets-conditional-formatting-ui": "0.22.0", + "@univerjs/sheets-data-validation": "0.22.0", + "@univerjs/sheets-data-validation-ui": "0.22.0", + "@univerjs/sheets-drawing": "0.22.0", + "@univerjs/sheets-drawing-ui": "0.22.0", + "@univerjs/sheets-filter": "0.22.0", + "@univerjs/sheets-filter-ui": "0.22.0", + "@univerjs/sheets-formula": "0.22.0", + "@univerjs/sheets-formula-ui": "0.22.0", + "@univerjs/sheets-hyper-link": "0.22.0", + "@univerjs/sheets-hyper-link-ui": "0.22.0", + "@univerjs/sheets-numfmt": "0.22.0", + "@univerjs/sheets-table": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/edit-history-viewer": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/edit-history-viewer/-/edit-history-viewer-0.22.0.tgz", + "integrity": "sha512-LufbzUiqFDEgpoNLOXj9bY/2Y8ypQGDcs24lf2IS0jlWVVSRjmHQ5hcmfHqDCt1AlVZ+NpQTdVvhiRgIKoI1vQ==", + "dependencies": { + "@univerjs-pro/collaboration": "0.22.0", + "@univerjs-pro/collaboration-client": "0.22.0", + "@univerjs-pro/collaboration-client-ui": "0.22.0", + "@univerjs-pro/sheets-chart": "0.22.0", + "@univerjs-pro/sheets-pivot": "0.22.0", + "@univerjs-pro/sheets-shape": "0.22.0", + "@univerjs-pro/sheets-sparkline": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/data-validation": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/network": "0.22.0", + "@univerjs/protocol": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-conditional-formatting": "0.22.0", + "@univerjs/sheets-data-validation": "0.22.0", + "@univerjs/sheets-drawing": "0.22.0", + "@univerjs/sheets-filter": "0.22.0", + "@univerjs/sheets-table": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/engine-chart": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/engine-chart/-/engine-chart-0.22.0.tgz", + "integrity": "sha512-FNRU/zB3jdcfxp5KwlSc9Pe8ZlT1r+/fl14niqH+LMcd6HTYvj3jo/Sj1mHuw6DVrnj+XNFdYnWn5qaJ8g236A==", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/engine-render": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/engine-formula": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/engine-formula/-/engine-formula-0.22.0.tgz", + "integrity": "sha512-EDGyA5HraOSNutfHlNfenVG/dgEBV6rGM1cnqvzrCKYRpdX9r442Z5G4iDqL2g/6Ntg/vWSzcifrCH3wiX6Fcw==", + "dependencies": { + "@univerjs-pro/license": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/engine-formula": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs-pro/engine-pivot": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/engine-pivot/-/engine-pivot-0.22.0.tgz", + "integrity": "sha512-k2HSm1L3ZXtBrvX6OZpu5m4Usl+qyImBu0NjUtszFkFX6igjeoCOzPxwKNtRxVOYgjNOCmTtAzGlkudy/CIv4Q==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs-pro/engine-shape": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/engine-shape/-/engine-shape-0.22.0.tgz", + "integrity": "sha512-yZjOmVTbwU/UNhPPZtn+cIuNNSJ68YQifJDp3m8ZW3oB5gsBtQ32oPavNvaro0nQa0AsRYP4CT6iZewC8YPbZw==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs-pro/exchange-client": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/exchange-client/-/exchange-client-0.22.0.tgz", + "integrity": "sha512-lrTD39uGW05W0i1KT2DhcTvLiQ4T8BKuq4sEzVkjR8P93prVPb9IjXQCjMfkqUWGuA5i1/B8GEiTY/i1Uj821A==", + "dependencies": { + "@univerjs-pro/collaboration": "0.22.0", + "@univerjs-pro/license": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/network": "0.22.0", + "@univerjs/protocol": "0.22.0", + "@univerjs/ui": "0.22.0", + "fflate": "^0.4.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/license": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/license/-/license-0.22.0.tgz", + "integrity": "sha512-bhJO5Wyt7DgGd8OLZR4e/VG4ULummKMnM/UwvncN0j2Fh1lSSXFXNDHPz2ufzSqwOABzRzmkIriTBfK4UIAZig==", + "dependencies": { + "@noble/ed25519": "3.1.0", + "@noble/hashes": "2.2.0", + "@univerjs/core": "0.22.0", + "@univerjs/engine-render": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/print": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/print/-/print-0.22.0.tgz", + "integrity": "sha512-epUTIuM7ofR65NQn/uuDxyuj2ONPcMlQMg8A1T8ZKDYXsp2G8HhLtdKta9yTNs8NEDd/cPcCHTCZu5mj19M9WA==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs-pro/sheets-chart": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/sheets-chart/-/sheets-chart-0.22.0.tgz", + "integrity": "sha512-1UXPhYz/mat9aJb0xNpnfvP5tUZxtRVK+3Oo961nvj6UYqGFYQBubzUOIUhmN4mDtIaWu+0Rk88C5IPfWUck1g==", + "dependencies": { + "@univerjs-pro/engine-chart": "0.22.0", + "@univerjs-pro/license": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-drawing": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/sheets-chart-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/sheets-chart-ui/-/sheets-chart-ui-0.22.0.tgz", + "integrity": "sha512-jSkRY8X7Pi/fRk/NlsCKBgOj4PiwXCGfdL/4p1HP4WopK50feNNlEflcspww350XiM0HuK5gr9Nh6K7/G3PwcA==", + "dependencies": { + "@univerjs-pro/engine-chart": "0.22.0", + "@univerjs-pro/sheets-chart": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-drawing": "0.22.0", + "@univerjs/sheets-drawing-ui": "0.22.0", + "@univerjs/sheets-formula-ui": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/sheets-exchange-client": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/sheets-exchange-client/-/sheets-exchange-client-0.22.0.tgz", + "integrity": "sha512-prmm0Th/mL+JWYU1jajneMcx65Z92MKvnzcBUYWE2Nd++tfyKLnWCmg389H9s20+fdkGRy1BHLvg/g08pJwDQg==", + "dependencies": { + "@univerjs-pro/exchange-client": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs-pro/sheets-pivot": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/sheets-pivot/-/sheets-pivot-0.22.0.tgz", + "integrity": "sha512-fiBpIXchQZJ6ubXuyiRCTOpK+K7ZviczZccWVG+qEXwENdlykAaikifXSmqR3gyVP2W1yVS1zt+O8fLbnibzUA==", + "dependencies": { + "@univerjs-pro/engine-pivot": "0.22.0", + "@univerjs-pro/license": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/rpc": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-filter": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/sheets-pivot-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/sheets-pivot-ui/-/sheets-pivot-ui-0.22.0.tgz", + "integrity": "sha512-k3ozUYdimQhwJWC0GWVqnPksR/xO8vd1rf/uc9i1KOHDAWhQm6BBbvmy4GP0bP38Zg+pVUIYRHy6HOoRb0BRhw==", + "dependencies": { + "@univerjs-pro/engine-pivot": "0.22.0", + "@univerjs-pro/sheets-pivot": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-formula-ui": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/sheets-print": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/sheets-print/-/sheets-print-0.22.0.tgz", + "integrity": "sha512-2+02OKukBz6Q/uR4tbOlfXEh/aNAuONq7//TawuyYs9lrPqy3OSalhZ0+DTkE106T+5oJpnYcUap8tiCweuRBA==", + "dependencies": { + "@univerjs-pro/collaboration-client": "0.22.0", + "@univerjs-pro/license": "0.22.0", + "@univerjs-pro/print": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/network": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/sheets-shape": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/sheets-shape/-/sheets-shape-0.22.0.tgz", + "integrity": "sha512-zbxhfOGDeBqKuHbExP4EjAfVo4iO0FYoJ9++5gMt0CZmkuLUtwFc18Wb1XBRCJOl4P7iFbh9cqKfmRpzP8VG5A==", + "dependencies": { + "@univerjs-pro/engine-shape": "0.22.0", + "@univerjs-pro/license": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-drawing": "0.22.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=8.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs-pro/sheets-shape-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/sheets-shape-ui/-/sheets-shape-ui-0.22.0.tgz", + "integrity": "sha512-GgBQ+Fb+erfCSwXN3iyTO+Js1WJ8FA3gBS22uGSSiNP8V7jsYs3dE4nsM/THxcEJ3AgCaK7BoMFS5pVu934tmg==", + "dependencies": { + "@univerjs-pro/engine-shape": "0.22.0", + "@univerjs-pro/sheets-shape": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/drawing-ui": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-drawing": "0.22.0", + "@univerjs/sheets-drawing-ui": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=8.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/sheets-sparkline": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/sheets-sparkline/-/sheets-sparkline-0.22.0.tgz", + "integrity": "sha512-AOA4jHWkhQ71AHW35owcgCeHd9lvGIp+NZ2hVjxGX5TkM21+jnDhGNiWlw5SasF1zmwo7I3IFSD9QONqkRc8eQ==", + "dependencies": { + "@univerjs-pro/license": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/sheets": "0.22.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=8.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/sheets-sparkline-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/sheets-sparkline-ui/-/sheets-sparkline-ui-0.22.0.tgz", + "integrity": "sha512-YWlCghj8qZEJZ0yLq8fSPPwgh/J0i2gdlMvpsJ6OZ3XtgfAM7siG+5rsUWio9hDbCe9HlOoye6Qzrh8h8SW7vQ==", + "dependencies": { + "@univerjs-pro/sheets-sparkline": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-formula-ui": "0.22.0", + "@univerjs/sheets-graphics": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=8.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs-pro/thread-comment-datasource": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs-pro/thread-comment-datasource/-/thread-comment-datasource-0.22.0.tgz", + "integrity": "sha512-N7iNnj9DEUKuGMowI6O6snVDClLtmxxe6a4KzlQ1+RC7ufaEz20JUkJqOdfJLDVn0ZqGBb1ka74e6/mfiVqpcA==", + "dependencies": { + "@univerjs-pro/collaboration-client": "0.22.0", + "@univerjs-pro/license": "0.22.0", + "@univerjs/core": "0.22.0", + "@univerjs/network": "0.22.0", + "@univerjs/protocol": "0.22.0", + "@univerjs/thread-comment": "0.22.0", + "@univerjs/thread-comment-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/core": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/core/-/core-0.22.0.tgz", + "integrity": "sha512-NOMhsDpTApI9v7ttz3GqMpLswsNQ2O2QTJZoIRgROK9Usn6qUbvFDTu4W6GDiZd/wIYaci8M09wlLLU9eBpiTg==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/protocol": "0.22.0", + "@univerjs/themes": "0.22.0", + "@wendellhu/redi": "1.1.1", + "async-lock": "^1.4.1", + "fast-diff": "1.3.0", + "kdbush": "^4.0.2", + "lodash-es": "^4.18.1", + "nanoid": "5.1.11", + "numfmt": "3.2.6", + "ot-json1": "^1.0.2", + "rbush": "^4.0.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/core/node_modules/nanoid": { + "version": "5.1.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.11.tgz", + "integrity": "sha512-v+KEsUv2ps74PaSKv0gHTxTCgMXOIfBEbaqa6w6ISIGC7ZsvHN4N9oJ8d4cmf0n5oTzQz2SLmThbQWhjd/8eKg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.js" + }, + "engines": { + "node": "^18 || >=20" + } + }, + "node_modules/@univerjs/data-validation": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/data-validation/-/data-validation-0.22.0.tgz", + "integrity": "sha512-alovgDaJF+ctAEQYmCN4rPj5xqDyifg57MB9vsBQ5a8oRy3t+v0T9+MMi30Ii5npwmE4K/wZNHCfeXZF6R270g==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/design": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/design/-/design-0.22.0.tgz", + "integrity": "sha512-x/WHMlKl7u5IiVu7Y4GSDONk1knPhJ/j56xIwgGy93ehYsX/6M3g5dZv/uWAVgNlvnq+sOXBrj4z4OZPzuydEw==", + "license": "Apache-2.0", + "dependencies": { + "@radix-ui/react-dialog": "^1.1.15", + "@radix-ui/react-dropdown-menu": "^2.1.16", + "@radix-ui/react-hover-card": "^1.1.15", + "@radix-ui/react-popover": "^1.1.15", + "@radix-ui/react-separator": "^1.1.8", + "@radix-ui/react-slot": "^1.2.4", + "@univerjs/icons": "^1.1.1", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", + "react-transition-group": "^4.4.5", + "sonner": "^2.0.7", + "tailwind-merge": "2.6.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + } + }, + "node_modules/@univerjs/docs": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/docs/-/docs-0.22.0.tgz", + "integrity": "sha512-+7QVkdbP4zg4CljkZ3XrMsB0g0Id4zrXiu4qlJtrFO0mx9OvY/Fiy67D0q6oQHkdqmScE8OZ9gMJ1gR+qqhBkg==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/engine-render": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/docs-drawing": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/docs-drawing/-/docs-drawing-0.22.0.tgz", + "integrity": "sha512-/HeYE/CpfjFfcvFzDWNWnbzZRmuptb/k3bXyE3A3GDY0i9C4x2/hu0ip1A64MVq6RnGZZxKnZ+wQHPaRGRDOqw==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/drawing": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs/docs-drawing-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/docs-drawing-ui/-/docs-drawing-ui-0.22.0.tgz", + "integrity": "sha512-LMR2dilz2Td6awmm2qq4BIZqHQDLP9HDQYdzDB3xpubJw8VisQlHI/+cj4Y3qo7EoB1ENBwr6fbC4LCpU9SGdQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/docs-drawing": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/drawing-ui": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/docs-hyper-link": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/docs-hyper-link/-/docs-hyper-link-0.22.0.tgz", + "integrity": "sha512-3UMGhqkZtoOLUlSISodxRZn77F5QBygt/6v/TTIQ1tA9HGfRoGXBQOHiWgvBWKeP/qFmF4/936GEbCVPCgwAyQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs/docs-hyper-link-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/docs-hyper-link-ui/-/docs-hyper-link-ui-0.22.0.tgz", + "integrity": "sha512-Y+F0I0KFFhU1N+YzOFIorro9m7SObJEUyOdWoPU1iaqe+Wwp7cDDGyhkqRFjvRgfXbowIMcCJ/It2nzCV4Spww==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/docs-hyper-link": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/docs-thread-comment-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/docs-thread-comment-ui/-/docs-thread-comment-ui-0.22.0.tgz", + "integrity": "sha512-Mv0AqCXqaC9RE3Cx6pgaremqWfD7pZqBN0npvjogklQgTtMUxzAUHzFLgSmR1GHzPkHfwFb8FP7YGj+hv+ygSA==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/thread-comment": "0.22.0", + "@univerjs/thread-comment-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/docs-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/docs-ui/-/docs-ui-0.22.0.tgz", + "integrity": "sha512-aov59Z4RbnBccHICZJ4eounwY+OtoFIY020d5l+pl01PfDKT5uxwN+m1meIpX+tEB+Q4snHbjcfphuEGM9WxTA==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/drawing": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/drawing/-/drawing-0.22.0.tgz", + "integrity": "sha512-2vxQWl64fVdFFtmkD5XUVZusXH8zEKdapvQNJB5fmYTynwa76cpatrE7qAYv0okJPwRYJLeodNM5gMPCb5Purw==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "ot-json1": "^1.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/drawing-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/drawing-ui/-/drawing-ui-0.22.0.tgz", + "integrity": "sha512-XzgE80yUOV1fEOtXbfkg1CushqwSymgLT11V+1BUpfjTWDoojyGJ5aB8gU0GuKCsx0aTKw/zDIQb2GP67qPKuQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/engine-formula": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/engine-formula/-/engine-formula-0.22.0.tgz", + "integrity": "sha512-KynFqDBXvUbAvyrgDXj3jgs9U8+qTM8orIQtKcZ/t1PzvVmIe7VwvXERYSFOd+qBIug+ffGBl8tkG0L0se/VXw==", + "license": "Apache-2.0", + "dependencies": { + "@flatten-js/interval-tree": "1.1.3", + "@univerjs/core": "0.22.0", + "@univerjs/rpc": "0.22.0", + "decimal.js": "^10.6.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/engine-render": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/engine-render/-/engine-render-0.22.0.tgz", + "integrity": "sha512-7SWUI6cxnR5bLx6xdDrKoHi6ieDkmruBXl0/mkR6kXIs7dK4iNlS9J4/Juqc7J15t0dHqC2xbeAEFKs5t00tTg==", + "license": "Apache-2.0", + "dependencies": { + "@floating-ui/dom": "^1.7.4", + "@floating-ui/utils": "^0.2.10", + "@univerjs/core": "0.22.0", + "cjk-regex": "^3.4.0", + "franc-min": "^6.2.0", + "opentype.js": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/find-replace": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/find-replace/-/find-replace-0.22.0.tgz", + "integrity": "sha512-kWCzSyLMt983lr7eoYBsQ2JLTK71MhQdNKSBsVEck44jbbS14Qq7OrSMe2Ln74Ce9a9xVkpXZa5FAJ1SWvmIZw==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/icons": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@univerjs/icons/-/icons-1.1.1.tgz", + "integrity": "sha512-3agWxYwNEyfpiCerajLZvZWfa+Fsx2LhGY9EeacSiPk+32BX9NwmCa9uTpDVe0F94iEO+fGfkTB8pCeIFU4l8w==", + "license": "MIT", + "peerDependencies": { + "react": "*", + "react-dom": "*" + } + }, + "node_modules/@univerjs/network": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/network/-/network-0.22.0.tgz", + "integrity": "sha512-gKrhJNpsvQJp7BvU8nDjCVcO9XcLdf7HzAG4AGxi74yMzS+3M0oJrn7mKDs5eqeSPBh4uCtmFpj5r2UKm50lKw==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-docs-advanced": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-docs-advanced/-/preset-docs-advanced-0.22.0.tgz", + "integrity": "sha512-/qe4toRZpde2TKgRhiWp26S/VyB3ZbQAwKbQkIBNHHP4YNQm02TMhvGREPMNO0NrVqslf8FIlP29+wCWGiAncA==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs-pro/docs-exchange-client": "0.22.0", + "@univerjs-pro/docs-print": "0.22.0", + "@univerjs-pro/exchange-client": "0.22.0", + "@univerjs-pro/license": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-docs-collaboration": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-docs-collaboration/-/preset-docs-collaboration-0.22.0.tgz", + "integrity": "sha512-CkHWbuYFpKC0vEj6plNCvDwvqrisTcv4kbTXIyEQgDYMjUlKlojyqJDLnBncMzH/u8T4u0uzNS7z4Bzey21dHg==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs-pro/collaboration": "0.22.0", + "@univerjs-pro/collaboration-client": "0.22.0", + "@univerjs-pro/collaboration-client-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-docs-core": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-docs-core/-/preset-docs-core-0.22.0.tgz", + "integrity": "sha512-KXjSX5Z8/krxlV7eDzAaeJ+6JxQqdchOPrvNOdK8qei5UtZ0Me3hwMfeptLeWXJkP+q9RqnRtKO4q7A8XLMnFA==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/design": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/network": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-docs-drawing": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-docs-drawing/-/preset-docs-drawing-0.22.0.tgz", + "integrity": "sha512-JzK2WibQeMLniKVz9wAzcyrQIbYQ94f9eB5e0hmO3XF6z7xJv9rhZ7E5wj83J0v18yF+0axMWmapHaPjSK4H4A==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/docs-drawing": "0.22.0", + "@univerjs/docs-drawing-ui": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/drawing-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-docs-hyper-link": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-docs-hyper-link/-/preset-docs-hyper-link-0.22.0.tgz", + "integrity": "sha512-UwhNbfeNYyL4zpv7FdoTx2xQR9D+twqwYUg9VwTkQIndmNskaVouLRUGl5eosleLJyDUSAKONjO+g0rUUUuG2g==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/docs-hyper-link": "0.22.0", + "@univerjs/docs-hyper-link-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-docs-node-core": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-docs-node-core/-/preset-docs-node-core-0.22.0.tgz", + "integrity": "sha512-ZpITttNiTOT6sZjwSVVum0RfbJMI5M4Jhqorm6WYPA4szliwOAu+lqQlQS8vUt8nQ+DOFVAjBvuUdXlrvibnLA==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/docs": "0.22.0", + "@univerjs/docs-drawing": "0.22.0", + "@univerjs/docs-hyper-link": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/rpc-node": "0.22.0", + "@univerjs/thread-comment": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-docs-thread-comment": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-docs-thread-comment/-/preset-docs-thread-comment-0.22.0.tgz", + "integrity": "sha512-uDRPUcNxUhMKxFAGG0X4CEnZmGnVVg608T559qKHvoIVXVL2Xg4X7ytQpTcP+au/NOH2NMJnpD3Cc2BRtetg3g==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/docs-thread-comment-ui": "0.22.0", + "@univerjs/thread-comment": "0.22.0", + "@univerjs/thread-comment-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-advanced": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-advanced/-/preset-sheets-advanced-0.22.0.tgz", + "integrity": "sha512-PyNKVB5AEWxU5dv7/1Sz64skJMeHl25OziYiX2Fdu1bNVR3J8tjek1Xcr0zn2FJ5xxUY93Ws8DGdjo2teR5mlQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs-pro/engine-chart": "0.22.0", + "@univerjs-pro/engine-formula": "0.22.0", + "@univerjs-pro/engine-shape": "0.22.0", + "@univerjs-pro/exchange-client": "0.22.0", + "@univerjs-pro/license": "0.22.0", + "@univerjs-pro/sheets-chart": "0.22.0", + "@univerjs-pro/sheets-chart-ui": "0.22.0", + "@univerjs-pro/sheets-exchange-client": "0.22.0", + "@univerjs-pro/sheets-pivot": "0.22.0", + "@univerjs-pro/sheets-pivot-ui": "0.22.0", + "@univerjs-pro/sheets-print": "0.22.0", + "@univerjs-pro/sheets-shape": "0.22.0", + "@univerjs-pro/sheets-shape-ui": "0.22.0", + "@univerjs-pro/sheets-sparkline": "0.22.0", + "@univerjs-pro/sheets-sparkline-ui": "0.22.0", + "@univerjs/sheets-graphics": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-collaboration": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-collaboration/-/preset-sheets-collaboration-0.22.0.tgz", + "integrity": "sha512-j9xtJOaE/Z9AR9d1LyqBTaJ5G0A2+osDYyBMynVQZBiA3SC9xCBhZ54l5I0EJ+iP5CHrufbaCbF+gNDqfKwHIQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs-pro/collaboration": "0.22.0", + "@univerjs-pro/collaboration-client": "0.22.0", + "@univerjs-pro/collaboration-client-ui": "0.22.0", + "@univerjs-pro/edit-history-loader": "0.22.0", + "@univerjs-pro/edit-history-viewer": "0.22.0", + "@univerjs-pro/thread-comment-datasource": "0.22.0", + "@univerjs/preset-sheets-advanced": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-conditional-formatting": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-conditional-formatting/-/preset-sheets-conditional-formatting-0.22.0.tgz", + "integrity": "sha512-gJePlMzNwGaST1poJumWTPhO/UqGmscvRyujcu4C/ggT2+k8JmZdEcYDVfwOxa/9FJn42HrS9GMcdm0FTcPuIA==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/sheets-conditional-formatting": "0.22.0", + "@univerjs/sheets-conditional-formatting-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-core": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-core/-/preset-sheets-core-0.22.0.tgz", + "integrity": "sha512-yPckCouOIrsax04+L2xgAHO6FNlFSwge8LiGEBzsyz4qlizfuV/4dZFZnszx/BhG8qn+Wo9rhAwja5BWoFpd8Q==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/design": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/network": "0.22.0", + "@univerjs/rpc": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-formula": "0.22.0", + "@univerjs/sheets-formula-ui": "0.22.0", + "@univerjs/sheets-numfmt": "0.22.0", + "@univerjs/sheets-numfmt-ui": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-data-validation": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-data-validation/-/preset-sheets-data-validation-0.22.0.tgz", + "integrity": "sha512-2J1yJbddi8vB/mceO8Ps9/EK7ilhjwhdkew+oPezzNGWkGfCLak71hE689g4RaHZ6vxxKRpeporQxmdkhizq+w==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/data-validation": "0.22.0", + "@univerjs/sheets-data-validation": "0.22.0", + "@univerjs/sheets-data-validation-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-drawing": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-drawing/-/preset-sheets-drawing-0.22.0.tgz", + "integrity": "sha512-+hMViYFCrafv6EOWzqZNg8TPKOaYE7C/L2zlhJ5l1SPgNpZxbwwqQD+Fbn5QlKQVoyhg+V9AWahNM3TS1DaIaw==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/docs-drawing": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/drawing-ui": "0.22.0", + "@univerjs/sheets-drawing": "0.22.0", + "@univerjs/sheets-drawing-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-filter": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-filter/-/preset-sheets-filter-0.22.0.tgz", + "integrity": "sha512-IA75wnplT33qJNKV9r4mb4SWQrPwYHznpIlOyIH6SfcQINX9sP23CWe6ubCYLbPCYTajXffQdakNfYmFBzUqdw==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/sheets-filter": "0.22.0", + "@univerjs/sheets-filter-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-find-replace": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-find-replace/-/preset-sheets-find-replace-0.22.0.tgz", + "integrity": "sha512-vAegADl2di3SD2p5JJHlpHP4rqN6Nmgvdj5TvVtA35a4XMEtKKExSsrAl5na1SX+XSCiq4f6ONwjywO+VigQlQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/find-replace": "0.22.0", + "@univerjs/sheets-find-replace": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-hyper-link": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-hyper-link/-/preset-sheets-hyper-link-0.22.0.tgz", + "integrity": "sha512-zMvO0UgMiWdQjuZquCeClGOUktMe5a1zvvftzPY5p6fJR/eQqez8TtzXg7hbW+7ektX/QrlI82BbG04+td0GHg==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/sheets-hyper-link": "0.22.0", + "@univerjs/sheets-hyper-link-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-node-core": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-node-core/-/preset-sheets-node-core-0.22.0.tgz", + "integrity": "sha512-0gkJ3J79lP9UW8SdgS2Q/+1tN5PesBnK8O1m8Q2Z4soMTMUB5xC41MbqGIX+ii9EOzGrsYiBt8BT76htgoGwVA==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/docs": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/rpc-node": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-data-validation": "0.22.0", + "@univerjs/sheets-drawing": "0.22.0", + "@univerjs/sheets-filter": "0.22.0", + "@univerjs/sheets-formula": "0.22.0", + "@univerjs/sheets-hyper-link": "0.22.0", + "@univerjs/sheets-numfmt": "0.22.0", + "@univerjs/sheets-sort": "0.22.0", + "@univerjs/sheets-thread-comment": "0.22.0", + "@univerjs/thread-comment": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-note": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-note/-/preset-sheets-note-0.22.0.tgz", + "integrity": "sha512-xLTaTdrWvegPMxfpAHbXCTiMHwugL4nE4H6TkZnyg+Cc82/C/BrcfP6RrMEaaO+MkIO0aSzsJgUyo/EEUYgjng==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/sheets-note": "0.22.0", + "@univerjs/sheets-note-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-sort": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-sort/-/preset-sheets-sort-0.22.0.tgz", + "integrity": "sha512-pmwtAO0L4VPXrd6PbI06mqPLiVUjgtUKVkvgUH141KNnZBL20SH1raLPWAXipzQm61TdSPz3g7LgtHE0BpgdKg==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/sheets-sort": "0.22.0", + "@univerjs/sheets-sort-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-table": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-table/-/preset-sheets-table-0.22.0.tgz", + "integrity": "sha512-JWvsmMK0ZdJSCxMk0JbAwUkqNPq0EwkY+/fzHLXywd1x9jMHr6LcXqd7BBu8KX8saUKbh1j99bvRvjP0MDywSQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/sheets-table": "0.22.0", + "@univerjs/sheets-table-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/preset-sheets-thread-comment": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/preset-sheets-thread-comment/-/preset-sheets-thread-comment-0.22.0.tgz", + "integrity": "sha512-CAtjpcil4VKMZRIRHL1L0OOMxFUjCOPkWbku7iFnjJjBXfd0uskhcVlphzmf7V/xKEkGN5uWyG7G8nxSDQmyVA==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/sheets-thread-comment": "0.22.0", + "@univerjs/sheets-thread-comment-ui": "0.22.0", + "@univerjs/thread-comment": "0.22.0", + "@univerjs/thread-comment-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/presets": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/presets/-/presets-0.22.0.tgz", + "integrity": "sha512-R00Qu2uGeRZPERWFdO2OyktX/qqkYwGGHFIeQnTMl5W+X+4u0i/TxdzJQiHJvSuhfCDUi2qFfhSFRGp6dSypMQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/preset-docs-advanced": "0.22.0", + "@univerjs/preset-docs-collaboration": "0.22.0", + "@univerjs/preset-docs-core": "0.22.0", + "@univerjs/preset-docs-drawing": "0.22.0", + "@univerjs/preset-docs-hyper-link": "0.22.0", + "@univerjs/preset-docs-node-core": "0.22.0", + "@univerjs/preset-docs-thread-comment": "0.22.0", + "@univerjs/preset-sheets-advanced": "0.22.0", + "@univerjs/preset-sheets-collaboration": "0.22.0", + "@univerjs/preset-sheets-conditional-formatting": "0.22.0", + "@univerjs/preset-sheets-core": "0.22.0", + "@univerjs/preset-sheets-data-validation": "0.22.0", + "@univerjs/preset-sheets-drawing": "0.22.0", + "@univerjs/preset-sheets-filter": "0.22.0", + "@univerjs/preset-sheets-find-replace": "0.22.0", + "@univerjs/preset-sheets-hyper-link": "0.22.0", + "@univerjs/preset-sheets-node-core": "0.22.0", + "@univerjs/preset-sheets-note": "0.22.0", + "@univerjs/preset-sheets-sort": "0.22.0", + "@univerjs/preset-sheets-table": "0.22.0", + "@univerjs/preset-sheets-thread-comment": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/protocol": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/protocol/-/protocol-0.22.0.tgz", + "integrity": "sha512-IwQUdbX4fCRW+lu1aoaFI6lKm0JLjVBXVQQav+wFD04KON21thsrx8UFy85xjQqIs7BN+KP3SWPmC68WWgWwcA==", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "^1.14.3" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs/rpc": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/rpc/-/rpc-0.22.0.tgz", + "integrity": "sha512-f1OT1m8Gje8+cAkF9IBJfRbnY+c+Xdyhzx536MjNKVbfL2Kwd6WfZQiOOVFfBEk3BBQAG8aMG72uHmw4IpM0lA==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/rpc-node": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/rpc-node/-/rpc-node-0.22.0.tgz", + "integrity": "sha512-Au4vc5VBtIAuzPOxa5Bj+fSeX61jo7ep40I5Z7CtTJ8zlB6DnNhnnjs5VnCpZdNZJQj8rp1k0w0Rkqthw8OWoQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/rpc": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets/-/sheets-0.22.0.tgz", + "integrity": "sha512-/XdSZ9JObC571IoOrIwxgZxEAnX3aWFCD6vs7RuS+FHQlzYUdx4Ucbt5ye7iNY/XBkp/0xYD6Xfs6+kCACM9Hg==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/protocol": "0.22.0", + "@univerjs/rpc": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-conditional-formatting": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-conditional-formatting/-/sheets-conditional-formatting-0.22.0.tgz", + "integrity": "sha512-Ztk9ZGTuUThyFDQinBThpomtXPEPmPIf1MfFtdKEgKjVGPkhSYIGV9qC4hcZmz2LpjygMfAgYS9wSAwXQjjELw==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/sheets": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-conditional-formatting-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-conditional-formatting-ui/-/sheets-conditional-formatting-ui-0.22.0.tgz", + "integrity": "sha512-UpkXIhAT8elwp70RIL+JjhFyPKDtrhCucRgMmaZxYfnCMArQ9d0XTIV1+P75I/yY/1dZpQXL8Y7ZmImTPNwyow==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-conditional-formatting": "0.22.0", + "@univerjs/sheets-formula": "0.22.0", + "@univerjs/sheets-formula-ui": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-data-validation": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-data-validation/-/sheets-data-validation-0.22.0.tgz", + "integrity": "sha512-7bdYG5cWWRrUjChRhjl7kau0AmfeGIbQ1eKm9CICxlXEPIlh5gWzEPfQc3rqA7PcvArvOdk+oZo3hclReFIX1g==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/data-validation": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/protocol": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-formula": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-data-validation-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-data-validation-ui/-/sheets-data-validation-ui-0.22.0.tgz", + "integrity": "sha512-2qDErzTGHitrc2tHbkVCZHXQ21pPxehv1ICPNDwgeJXTsSyUXVF0yUbgK7OeCrwtx627chKR89knILyop7QK7g==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/data-validation": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-data-validation": "0.22.0", + "@univerjs/sheets-formula-ui": "0.22.0", + "@univerjs/sheets-numfmt": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-drawing": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-drawing/-/sheets-drawing-0.22.0.tgz", + "integrity": "sha512-tNr/pLdix0q6m2bQlkEpcCc1MHFWx6/W42Ie9jGIWdCV8+q4VjvHSvwVydz73+vFYHkBR7WmKf5CT4lKUq+rtA==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/sheets": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs/sheets-drawing-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-drawing-ui/-/sheets-drawing-ui-0.22.0.tgz", + "integrity": "sha512-1muP930rNtBieGGhGzkpdGndFqxYqlxoQoXpdA9fdzcyqBZXUGD6vM9L46ZJ1vAH75Vc2YjU/GNo7u1Su6fgYg==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/docs-drawing": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/drawing": "0.22.0", + "@univerjs/drawing-ui": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-drawing": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-filter": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-filter/-/sheets-filter-0.22.0.tgz", + "integrity": "sha512-78dWRm2vJvs6jpAo+ToKipnV0I3mtR6KApyXEvEQDpA2+ZUB8xqk9EwN80AicA3b77ib4ZEL1K7E0X90h3F61g==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/rpc": "0.22.0", + "@univerjs/sheets": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-filter-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-filter-ui/-/sheets-filter-ui-0.22.0.tgz", + "integrity": "sha512-s+nThNn039/1+04vmqamRUUP70i9ZToGzm8WdGWGUBykRYf5mEgT6KzIk7FCJowuH5Avugc1rEgv9sjHTjkLUQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/rpc": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-filter": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-find-replace": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-find-replace/-/sheets-find-replace-0.22.0.tgz", + "integrity": "sha512-XW46o90vjsdjlCibFIwELEK6PXRHUB63doEBjPHZYw0UniLajtK3RhLy6k8YBFQZLBvN6F2Dr2/VXSaTMd6sAA==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/find-replace": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-formula": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-formula/-/sheets-formula-0.22.0.tgz", + "integrity": "sha512-+8BbjvX1GbLtXno8Ur1bwFbOK99S5YYl3h3v1drE+FPIXoFFJpW1GwnaH13y3mzxdwFrg4SwRB9MjqEkwbTyBQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/rpc": "0.22.0", + "@univerjs/sheets": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-formula-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-formula-ui/-/sheets-formula-ui-0.22.0.tgz", + "integrity": "sha512-9vTz/fQL6q3x1Why7fWGVef0WdQZlGam+RnY9WNlRrM0+e2J/M1aLuRmKYR+dTUTK6p/8oQgFibWc5yEvV4qKA==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-formula": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-graphics": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-graphics/-/sheets-graphics-0.22.0.tgz", + "integrity": "sha512-7TX99vFpO7S0mutXH7eFpZCv6ZMHWSHBli3LXZIjmArqDmIdwljPEwAerlDFCoNVkHyxwDqm6pzP44nbgpDZeQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/sheets-ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs/sheets-hyper-link": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-hyper-link/-/sheets-hyper-link-0.22.0.tgz", + "integrity": "sha512-pvaAWhK0UxkLzDmVY0XPWkXK0B4PkUBV5VlcQ+z//J1vOW6kQayA74afpDykIKYlC8jmmGShAlVV0ogY0Qz42A==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/sheets": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-hyper-link-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-hyper-link-ui/-/sheets-hyper-link-ui-0.22.0.tgz", + "integrity": "sha512-sicRL7Mrjy/+dYtThzhv4eRSu/EJNy71ogSTMA/5M1TWnEKXfd45gA6wYXEudOYFmP7Sl0jskeYhJUt0y+QLQg==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-data-validation": "0.22.0", + "@univerjs/sheets-formula-ui": "0.22.0", + "@univerjs/sheets-hyper-link": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-note": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-note/-/sheets-note-0.22.0.tgz", + "integrity": "sha512-lVkuTSnWlTDrF4mYjxqPdMSSvEStvL94T/whM1rLSRCzBMSoS5EkbN2uCvnHZ3uMqbfw/J0YFeYGEyZSly6iVg==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/sheets": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-note-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-note-ui/-/sheets-note-ui-0.22.0.tgz", + "integrity": "sha512-7kiXlvV0JkC0kJ3GpF/0bCC4OxFEdiPEGpJvy6tUCycOibjK5YJNSsB2UUkMnWeU2dIzuORVQ7J9zMTmX7Urmg==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-note": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-numfmt": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-numfmt/-/sheets-numfmt-0.22.0.tgz", + "integrity": "sha512-yMtyQxWE/7uSxZ4GS7t743j4veqSfxxfgS2ovFYkf4NWc4epQKgRa5+YI2EnNkQMn1QzRz7IWDJbUeLhjIXFcw==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/sheets": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-numfmt-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-numfmt-ui/-/sheets-numfmt-ui-0.22.0.tgz", + "integrity": "sha512-to/a8LNaUceLNPKqRwJfR6ugYINyvRsLVhQBWC4OtChNyGkkp8O+z8ujayl4WnlJKXM3PQJeQBbZ3PEgzaWyRg==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-numfmt": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-sort": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-sort/-/sheets-sort-0.22.0.tgz", + "integrity": "sha512-m3NGC0VnGMRFSXgmNTh0HHVGk5JuzLulexAfGXKPg4GCtKEi6U+pvBrRfCTYYNIEELTnI2sT2T7XWVMASRsalw==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/sheets": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs/sheets-sort-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-sort-ui/-/sheets-sort-ui-0.22.0.tgz", + "integrity": "sha512-bNoNiXy7iYcpwYnMrGvT2+cFC47lJqjq1Wds/X2zuRNy42+1qeQmlxYdBfqxhtWUM9lJXtNyAVHfxqQSROSZ/A==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-sort": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" + } + }, + "node_modules/@univerjs/sheets-table": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-table/-/sheets-table-0.22.0.tgz", + "integrity": "sha512-31cKB48LLcdWVPAZ4BwraCJnoLlS8pDYSJbrs5cfODw8JGt+1JnFdr1f6Hyifeub5Cusk67BQFd1CvVAj2f0hQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/sheets": "0.22.0" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "url": "https://opencollective.com/univer" }, "peerDependencies": { - "typescript": ">=4.8.4 <6.1.0" + "rxjs": ">=7.0.0" } }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "8.59.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.59.1.tgz", - "integrity": "sha512-LwuHQI4pDOYVKvmH2dkaJo6YZCSgouVgnS/z7yBPKBMvgtBvyLqiLy9Z6b7+m/TRcX1NFYUqZetI5Y+aT4GEfg==", - "dev": true, - "license": "MIT", + "node_modules/@univerjs/sheets-table-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-table-ui/-/sheets-table-ui-0.22.0.tgz", + "integrity": "sha512-6bA/i385OLC5/ObWam4e+Msrpnm7wJcS+nEhU3TKRs8yQN8PBe3WKlF2bq1j2jxNmgYAdMEsJso09+qQ7Jy6Jw==", + "license": "Apache-2.0", "dependencies": { - "@typescript-eslint/types": "8.59.1", - "@typescript-eslint/visitor-keys": "8.59.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-formula-ui": "0.22.0", + "@univerjs/sheets-sort": "0.22.0", + "@univerjs/sheets-table": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/ui": "0.22.0" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" } }, - "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.59.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.1.tgz", - "integrity": "sha512-/0nEyPbX7gRsk0Uwfe4ALwwgxuA66d/l2mhRDNlAvaj4U3juhUtJNq0DsY8M2AYwwb9rEq2hrC3IcIcEt++iJA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node_modules/@univerjs/sheets-thread-comment": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-thread-comment/-/sheets-thread-comment-0.22.0.tgz", + "integrity": "sha512-x7QJuIR7OBpF8+4uBBfvjUCkh/vSnddzi2OY/CgvOAW/3/8Qj9+QmJkt05uM4ytjcs7NEQqsSd+uDBD6nZO6YQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/thread-comment": "0.22.0" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "url": "https://opencollective.com/univer" }, "peerDependencies": { - "typescript": ">=4.8.4 <6.1.0" + "rxjs": ">=7.0.0" } }, - "node_modules/@typescript-eslint/type-utils": { - "version": "8.59.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.59.1.tgz", - "integrity": "sha512-klWPBR2ciQHS3f++ug/mVnWKPjBUo7icEL3FAO1lhAR1Z1i5NQYZ1EannMSRYcq5qCv5wNALlXr6fksRHyYl7w==", - "dev": true, - "license": "MIT", + "node_modules/@univerjs/sheets-thread-comment-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-thread-comment-ui/-/sheets-thread-comment-ui-0.22.0.tgz", + "integrity": "sha512-fZ3GyUVNqgg2U57eEriP2nDoWF2P3lV3pXg9WU9NgQ4c5ib9EhiCUB14SSAD/F/qCvI96zqqh/cKNpIcGm0mdQ==", + "license": "Apache-2.0", "dependencies": { - "@typescript-eslint/types": "8.59.1", - "@typescript-eslint/typescript-estree": "8.59.1", - "@typescript-eslint/utils": "8.59.1", - "debug": "^4.4.3", - "ts-api-utils": "^2.5.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "@univerjs/core": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/sheets": "0.22.0", + "@univerjs/sheets-thread-comment": "0.22.0", + "@univerjs/sheets-ui": "0.22.0", + "@univerjs/thread-comment": "0.22.0", + "@univerjs/thread-comment-ui": "0.22.0", + "@univerjs/ui": "0.22.0" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "url": "https://opencollective.com/univer" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", - "typescript": ">=4.8.4 <6.1.0" + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" } }, - "node_modules/@typescript-eslint/types": { - "version": "8.59.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.1.tgz", - "integrity": "sha512-ZDCjgccSdYPw5Bxh+my4Z0lJU96ZDN7jbBzvmEn0FZx3RtU1C7VWl6NbDx94bwY3V5YsgwRzJPOgeY2Q/nLG8A==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node_modules/@univerjs/sheets-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/sheets-ui/-/sheets-ui-0.22.0.tgz", + "integrity": "sha512-hcUgBP74p6lFzEZg+FQZ53HTegumqIa+PyyYpuLAKqyb9KI0a4b0NIEJjc9Yi8B/BGCHOURlXJxcl6Ux7UlHzQ==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/docs": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/engine-formula": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/protocol": "0.22.0", + "@univerjs/sheets": "0.22.0", + "@univerjs/telemetry": "0.22.0", + "@univerjs/ui": "0.22.0" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" } }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.59.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.1.tgz", - "integrity": "sha512-OUd+vJS05sSkOip+BkZ/2NS8RMxrAAJemsC6vU3kmfLyeaJT0TftHkV9mcx2107MmsBVXXexhVu4F0TZXyMl4g==", - "dev": true, - "license": "MIT", + "node_modules/@univerjs/telemetry": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/telemetry/-/telemetry-0.22.0.tgz", + "integrity": "sha512-7+ZEHNunmM/eXCgI+2jOuIbPCja2WVGoS3I/ClJstmPUV/BN6VtoFwcxi9Mul1/n+yK1tEGar6+MpJkf/pOgfA==", "dependencies": { - "@typescript-eslint/project-service": "8.59.1", - "@typescript-eslint/tsconfig-utils": "8.59.1", - "@typescript-eslint/types": "8.59.1", - "@typescript-eslint/visitor-keys": "8.59.1", - "debug": "^4.4.3", - "minimatch": "^10.2.2", - "semver": "^7.7.3", - "tinyglobby": "^0.2.15", - "ts-api-utils": "^2.5.0" + "@univerjs/core": "0.22.0" }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs/themes": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/themes/-/themes-0.22.0.tgz", + "integrity": "sha512-y4HgkvIOxc1TTMaggdJqfmB6VzPYSj83ONoH8hbXx19qUVZKMd6lszE2q4A0dI0HyGT9gEzew91GveSKglINng==", + "license": "Apache-2.0", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/univer" + } + }, + "node_modules/@univerjs/thread-comment": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/thread-comment/-/thread-comment-0.22.0.tgz", + "integrity": "sha512-taHANj9lUqaX7CVMt5/cVuI8q41m1Q8ApeKM/VDsw+8/ELWg5Esqjl8SAfDJS9VfylozCXXVO8hyzIKZ/RFNdg==", + "license": "Apache-2.0", + "dependencies": { + "@univerjs/core": "0.22.0" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "url": "https://opencollective.com/univer" }, "peerDependencies": { - "typescript": ">=4.8.4 <6.1.0" + "rxjs": ">=7.0.0" } }, - "node_modules/@typescript-eslint/utils": { - "version": "8.59.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.59.1.tgz", - "integrity": "sha512-3pIeoXhCeYH9FSCBI8P3iNwJlGuzPlYKkTlen2O9T1DSeeg8UG8jstq6BLk+Mda0qup7mgk4z4XL4OzRaxZ8LA==", - "dev": true, - "license": "MIT", + "node_modules/@univerjs/thread-comment-ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/thread-comment-ui/-/thread-comment-ui-0.22.0.tgz", + "integrity": "sha512-JHPkLn3NQ1EEw74wCrT9P5MZ9FZjdIsISI0LQW+CQguNm4CjR5lIizac9iZSr4Ff2MpRvSYkWUsX0pkmLkBUEw==", + "license": "Apache-2.0", "dependencies": { - "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.59.1", - "@typescript-eslint/types": "8.59.1", - "@typescript-eslint/typescript-estree": "8.59.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/docs-ui": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@univerjs/thread-comment": "0.22.0", + "@univerjs/ui": "0.22.0" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "url": "https://opencollective.com/univer" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", - "typescript": ">=4.8.4 <6.1.0" + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" } }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.59.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.1.tgz", - "integrity": "sha512-LdDNl6C5iJExcM0Yh0PwAIBb9PrSiCsWamF/JyEZawm3kFDnRoaq3LGE4bpyRao/fWeGKKyw7icx0YxrLFC5Cg==", - "dev": true, - "license": "MIT", + "node_modules/@univerjs/ui": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@univerjs/ui/-/ui-0.22.0.tgz", + "integrity": "sha512-lTCRwRuOtRvXsSISM5nzFPW4Or5UkuY2jN5jteOrhCST/0d6YoKcuXilA/dVTyrfLqOVnm07MJtKuse2q8BS6Q==", + "license": "Apache-2.0", "dependencies": { - "@typescript-eslint/types": "8.59.1", - "eslint-visitor-keys": "^5.0.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "@univerjs/core": "0.22.0", + "@univerjs/design": "0.22.0", + "@univerjs/engine-render": "0.22.0", + "@univerjs/icons": "^1.1.1", + "@wendellhu/redi": "1.1.1", + "localforage": "^1.10.0" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "url": "https://opencollective.com/univer" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "rxjs": ">=7.0.0" } }, "node_modules/@vitejs/plugin-basic-ssl": { @@ -1741,6 +4845,20 @@ "url": "https://opencollective.com/vitest" } }, + "node_modules/@wendellhu/redi": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@wendellhu/redi/-/redi-1.1.1.tgz", + "integrity": "sha512-y2fuAgHJ2n8sI8Pe/1QtAuPQ6ZbZ9/Dn3uVQI8cctVqLZzp/0OpLM7DSMOU6vmGYXNsIQwsquR91WcxZ4jrRvA==", + "license": "MIT", + "peerDependencies": { + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + } + } + }, "node_modules/acorn": { "version": "8.16.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz", @@ -1785,7 +4903,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -1804,6 +4921,18 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/aria-hidden": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz", + "integrity": "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/aria-query": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", @@ -1824,6 +4953,12 @@ "node": ">=12" } }, + "node_modules/async-lock": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.4.1.tgz", + "integrity": "sha512-Az2ZTpuytrtqENulXwO3GGv1Bztugx6TT37NIo7imr/Qo0gsYiGtSdBa2B6fsXhTpVZDNfu1Qn3pk531e3q+nQ==", + "license": "MIT" + }, "node_modules/balanced-match": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", @@ -1867,6 +5002,91 @@ "node": ">=18" } }, + "node_modules/chevrotain": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/chevrotain/-/chevrotain-6.5.0.tgz", + "integrity": "sha512-BwqQ/AgmKJ8jcMEjaSnfMybnKMgGTrtDKowfTP3pX4jwVy0kNjRsT/AP6h+wC3+3NC+X8X15VWBnTCQlX+wQFg==", + "license": "Apache-2.0", + "dependencies": { + "regexp-to-ast": "0.4.0" + } + }, + "node_modules/cjk-regex": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/cjk-regex/-/cjk-regex-3.4.0.tgz", + "integrity": "sha512-m+gbmlIP6gAG7tDvo2kpeSPAz/uh5wY5/zx10ymjdpbbiTHNTNoYnP2lCiyqtmbLxwhEdq8/lsVbsy4GTc9oUw==", + "license": "MIT", + "dependencies": { + "regexp-util": "^2.0.3", + "unicode-regex": "^4.2.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/class-variance-authority": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.7.1.tgz", + "integrity": "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==", + "license": "Apache-2.0", + "dependencies": { + "clsx": "^2.1.1" + }, + "funding": { + "url": "https://polar.sh/cva" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/collapse-white-space": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-2.1.0.tgz", + "integrity": "sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, "node_modules/convert-source-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", @@ -1945,7 +5165,6 @@ "version": "10.6.0", "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz", "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==", - "dev": true, "license": "MIT" }, "node_modules/deep-is": { @@ -1975,6 +5194,12 @@ "node": ">=8" } }, + "node_modules/detect-node-es": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz", + "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==", + "license": "MIT" + }, "node_modules/dom-accessibility-api": { "version": "0.5.16", "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz", @@ -1982,6 +5207,22 @@ "dev": true, "license": "MIT" }, + "node_modules/dom-helpers": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz", + "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.8.7", + "csstype": "^3.0.2" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, "node_modules/entities": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/entities/-/entities-8.0.0.tgz", @@ -2044,6 +5285,15 @@ "@esbuild/win32-x64": "0.28.0" } }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -2229,6 +5479,16 @@ "node": ">=12.0.0" } }, + "node_modules/fake-indexeddb": { + "version": "6.2.5", + "resolved": "https://registry.npmjs.org/fake-indexeddb/-/fake-indexeddb-6.2.5.tgz", + "integrity": "sha512-CGnyrvbhPlWYMngksqrSSUT1BAVP49dZocrHuK0SvtR0D5TMs5wP0o3j7jexDJW01KSadjBp1M/71o/KR3nD1w==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18" + } + }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -2236,6 +5496,12 @@ "dev": true, "license": "MIT" }, + "node_modules/fast-diff": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "license": "Apache-2.0" + }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", @@ -2268,6 +5534,12 @@ } } }, + "node_modules/fflate": { + "version": "0.4.8", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.4.8.tgz", + "integrity": "sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA==", + "license": "MIT" + }, "node_modules/file-entry-cache": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", @@ -2319,6 +5591,19 @@ "dev": true, "license": "ISC" }, + "node_modules/franc-min": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/franc-min/-/franc-min-6.2.0.tgz", + "integrity": "sha512-1uDIEUSlUZgvJa2AKYR/dmJC66v/PvGQ9mWfI9nOr/kPpMFyvswK0gPXOwpYJYiYD008PpHLkGfG58SPjQJFxw==", + "license": "MIT", + "dependencies": { + "trigram-utils": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -2334,6 +5619,24 @@ "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-nonce": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz", + "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -2360,6 +5663,16 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" } }, + "node_modules/hyperformula": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/hyperformula/-/hyperformula-3.2.0.tgz", + "integrity": "sha512-2vzQKKVMDPLsubZJb0JJWT/DhrkgIjsWj40Z9BIUVT6Jkl/YM5VtkLOP3agCieqW9HuqnXlWc+Vi+7XzQuC1Nw==", + "license": "GPL-3.0-only", + "dependencies": { + "chevrotain": "^6.5.0", + "tiny-emitter": "^2.1.0" + } + }, "node_modules/ignore": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", @@ -2370,6 +5683,12 @@ "node": ">= 4" } }, + "node_modules/immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==", + "license": "MIT" + }, "node_modules/imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", @@ -2390,6 +5709,15 @@ "node": ">=0.10.0" } }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -2421,7 +5749,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true, "license": "MIT" }, "node_modules/jsdom": { @@ -2486,6 +5813,12 @@ "dev": true, "license": "MIT" }, + "node_modules/kdbush": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-4.0.2.tgz", + "integrity": "sha512-WbCVYJ27Sz8zi9Q7Q0xHC+05iwkm3Znipc2XTlrnJbsHMYktW4hPhXUE8Ys1engBrvffoSCqbil1JQAa7clRpA==", + "license": "ISC" + }, "node_modules/keyv": { "version": "4.5.4", "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", @@ -2510,6 +5843,15 @@ "node": ">= 0.8.0" } }, + "node_modules/lie": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz", + "integrity": "sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==", + "license": "MIT", + "dependencies": { + "immediate": "~3.0.5" + } + }, "node_modules/lightningcss": { "version": "1.32.0", "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", @@ -2771,6 +6113,15 @@ "url": "https://opencollective.com/parcel" } }, + "node_modules/localforage": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/localforage/-/localforage-1.10.0.tgz", + "integrity": "sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==", + "license": "Apache-2.0", + "dependencies": { + "lie": "3.1.1" + } + }, "node_modules/locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", @@ -2787,6 +6138,36 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/lodash-es": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.18.1.tgz", + "integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==", + "license": "MIT" + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", + "license": "MIT" + }, + "node_modules/long": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz", + "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==", + "license": "Apache-2.0" + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "license": "MIT", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, "node_modules/lru-cache": { "version": "11.3.5", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.3.5.tgz", @@ -2856,6 +6237,16 @@ "dev": true, "license": "MIT" }, + "node_modules/n-gram": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/n-gram/-/n-gram-2.0.2.tgz", + "integrity": "sha512-S24aGsn+HLBxUGVAUFOwGpKs7LBcG4RudKU//eWzt/mQ97/NMKQxDWHyHx63UNWk/OOdihgmzoETn1tf5nQDzQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/nanoid": { "version": "3.3.12", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz", @@ -2882,6 +6273,21 @@ "dev": true, "license": "MIT" }, + "node_modules/numfmt": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/numfmt/-/numfmt-3.2.6.tgz", + "integrity": "sha512-MXc2KP3j+2usdHTY5/ENUc2S+3BRF/cJqnR6RHeq6LBqKoIZOAQ62DQw974nnaZOencbfkmkTPyTmMnlkCpjzg==", + "license": "MIT" + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/obug": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/obug/-/obug-2.1.1.tgz", @@ -2893,6 +6299,15 @@ ], "license": "MIT" }, + "node_modules/opentype.js": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/opentype.js/-/opentype.js-2.0.0.tgz", + "integrity": "sha512-kCyjv6xdDY1W/jLWZ/L3QhhTlKUqDZMQ5+Jdlw12b3dXkKNpYBqqlMMj0YDQPShWFTMwgZI1hG14kN3XUDSg/A==", + "license": "MIT", + "bin": { + "ot": "bin/ot" + } + }, "node_modules/optionator": { "version": "0.9.4", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", @@ -2911,6 +6326,24 @@ "node": ">= 0.8.0" } }, + "node_modules/ot-json1": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/ot-json1/-/ot-json1-1.0.2.tgz", + "integrity": "sha512-IhxkqVWQqlkWULoi/Q2AdzKk0N5vQRbUMUwubFXFCPcY4TsOZjmp2YKrk0/z1TeiECPadWEK060sdFdQ3Grokg==", + "license": "ISC", + "dependencies": { + "ot-text-unicode": "4" + } + }, + "node_modules/ot-text-unicode": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/ot-text-unicode/-/ot-text-unicode-4.0.0.tgz", + "integrity": "sha512-W7ZLU8QXesY2wagYFv47zErXud3E93FGImmSGJsQnBzE+idcPPyo2u2KMilIrTwBh4pbCizy71qRjmmV6aDhcQ==", + "license": "ISC", + "dependencies": { + "unicount": "1.1" + } + }, "node_modules/p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", @@ -3057,6 +6490,47 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "license": "MIT" + }, + "node_modules/protobufjs": { + "version": "7.5.7", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.5.7.tgz", + "integrity": "sha512-NGnrxS/nLKUo5nkbVQxlC71sB4hdfImdYIbFeSCidxtwATx0AHRPcANSLd0q5Bb2BkoSWo2iisQhGg5/r+ihbA==", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.5", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.1", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.1", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", @@ -3067,6 +6541,21 @@ "node": ">=6" } }, + "node_modules/quickselect": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-3.0.0.tgz", + "integrity": "sha512-XdjUArbK4Bm5fLLvlm5KpTFOiOThgfWWI4axAZDWg4E/0mKdZyI9tNEfds27qCi1ze/vwTR16kvmmGhRra3c2g==", + "license": "ISC" + }, + "node_modules/rbush": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/rbush/-/rbush-4.0.1.tgz", + "integrity": "sha512-IP0UpfeWQujYC8Jg162rMNc01Rf0gWMMAb2Uxus/Q0qOFw4lCcq6ZnQEZwUoJqWyUGJ9th7JjwI4yIWo+uvoAQ==", + "license": "MIT", + "dependencies": { + "quickselect": "^3.0.0" + } + }, "node_modules/react": { "version": "19.2.5", "resolved": "https://registry.npmjs.org/react/-/react-19.2.5.tgz", @@ -3095,6 +6584,115 @@ "dev": true, "license": "MIT" }, + "node_modules/react-remove-scroll": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.2.tgz", + "integrity": "sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==", + "license": "MIT", + "dependencies": { + "react-remove-scroll-bar": "^2.3.7", + "react-style-singleton": "^2.2.3", + "tslib": "^2.1.0", + "use-callback-ref": "^1.3.3", + "use-sidecar": "^1.1.3" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-remove-scroll-bar": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz", + "integrity": "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==", + "license": "MIT", + "dependencies": { + "react-style-singleton": "^2.2.2", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-style-singleton": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz", + "integrity": "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==", + "license": "MIT", + "dependencies": { + "get-nonce": "^1.0.0", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-transition-group": { + "version": "4.4.5", + "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", + "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/runtime": "^7.5.5", + "dom-helpers": "^5.0.1", + "loose-envify": "^1.4.0", + "prop-types": "^15.6.2" + }, + "peerDependencies": { + "react": ">=16.6.0", + "react-dom": ">=16.6.0" + } + }, + "node_modules/regexp-to-ast": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/regexp-to-ast/-/regexp-to-ast-0.4.0.tgz", + "integrity": "sha512-4qf/7IsIKfSNHQXSwial1IFmfM1Cc/whNBQqRwe0V2stPe7KmN1U0tWQiIx6JiirgSrisjE0eECdNf7Tav1Ntw==", + "license": "MIT" + }, + "node_modules/regexp-util": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/regexp-util/-/regexp-util-2.0.3.tgz", + "integrity": "sha512-GP6h9OgJmhAZpb3dbNbXTfRWVnGcoMhWRZv/HxgM4/qCVqs1P9ukQdYxaUhjWBSAs9oJ/uPXUUvGT1VMe0Bs0Q==", + "license": "MIT", + "engines": { + "node": ">=16" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/require-from-string": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", @@ -3139,6 +6737,16 @@ "@rolldown/binding-win32-x64-msvc": "1.0.0-rc.17" } }, + "node_modules/rxjs": { + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "license": "Apache-2.0", + "peer": true, + "dependencies": { + "tslib": "^2.1.0" + } + }, "node_modules/saxes": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz", @@ -3201,6 +6809,16 @@ "dev": true, "license": "ISC" }, + "node_modules/sonner": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/sonner/-/sonner-2.0.7.tgz", + "integrity": "sha512-W6ZN4p58k8aDKA4XPcx2hpIQXBRAgyiWVkYhT7CvK6D3iAu7xjvVyhQHg2/iaKJZ1XVJ4r7XuwGL+WGEK37i9w==", + "license": "MIT", + "peerDependencies": { + "react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc" + } + }, "node_modules/source-map-js": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", @@ -3225,6 +6843,32 @@ "dev": true, "license": "MIT" }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", @@ -3232,6 +6876,22 @@ "dev": true, "license": "MIT" }, + "node_modules/tailwind-merge": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.6.0.tgz", + "integrity": "sha512-P+Vu1qXfzediirmHOC3xKGAYeZtPcV9g76X+xg2FD4tYgR71ewMA35Y3sCz3zhiN/dwefRpJX0yBcgwi1fXNQA==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/dcastil" + } + }, + "node_modules/tiny-emitter": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz", + "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==", + "license": "MIT" + }, "node_modules/tinybench": { "version": "2.9.0", "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz", @@ -3322,6 +6982,20 @@ "node": ">=20" } }, + "node_modules/trigram-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/trigram-utils/-/trigram-utils-2.0.1.tgz", + "integrity": "sha512-nfWIXHEaB+HdyslAfMxSqWKDdmqY9I32jS7GnqpdWQnLH89r6A5sdk3fDVYqGAZ0CrT8ovAFSAo6HRiWcWNIGQ==", + "license": "MIT", + "dependencies": { + "collapse-white-space": "^2.0.0", + "n-gram": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/ts-api-utils": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", @@ -3339,9 +7013,7 @@ "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, - "license": "0BSD", - "optional": true + "license": "0BSD" }, "node_modules/type-check": { "version": "0.4.0", @@ -3404,6 +7076,30 @@ "node": ">=20.18.1" } }, + "node_modules/undici-types": { + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.21.0.tgz", + "integrity": "sha512-w9IMgQrz4O0YN1LtB7K5P63vhlIOvC7opSmouCJ+ZywlPAlO9gIkJ+otk6LvGpAs2wg4econaCz3TvQ9xPoyuQ==", + "license": "MIT" + }, + "node_modules/unicode-regex": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/unicode-regex/-/unicode-regex-4.2.0.tgz", + "integrity": "sha512-fEYz7CCnvHDAdrb8OYAP7qlQCWzXBO5cHXQ3XI+HoZaBpiAwyC6b2nixMGl91yrDYEIRm7NDskgTvnLZ7mqrKQ==", + "license": "MIT", + "dependencies": { + "regexp-util": "^2.0.3" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/unicount": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/unicount/-/unicount-1.1.0.tgz", + "integrity": "sha512-RlwWt1ywVW4WErPGAVHw/rIuJ2+MxvTME0siJ6lk9zBhpDfExDbspe6SRlWT3qU6AucNjotPl9qAJRVjP7guCQ==", + "license": "ISC" + }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -3414,6 +7110,62 @@ "punycode": "^2.1.0" } }, + "node_modules/use-callback-ref": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz", + "integrity": "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/use-sidecar": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz", + "integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==", + "license": "MIT", + "dependencies": { + "detect-node-es": "^1.1.0", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/uuid": { + "version": "13.0.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-13.0.2.tgz", + "integrity": "sha512-vzi9uRZ926x4XV73S/4qQaTwPXM2JBj6/6lI/byHH1jOpCzb0zDbfytgA9LcN/hzb2l7WQSQnxITOVx5un/wGw==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist-node/bin/uuid" + } + }, "node_modules/vite": { "version": "8.0.10", "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.10.tgz", @@ -3673,6 +7425,38 @@ "node": ">=0.10.0" } }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, "node_modules/xml-name-validator": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz", @@ -3690,6 +7474,42 @@ "dev": true, "license": "MIT" }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", diff --git a/plugin/package.json b/plugin/package.json index e5e2133..f3f323e 100644 --- a/plugin/package.json +++ b/plugin/package.json @@ -26,6 +26,7 @@ "@vitejs/plugin-basic-ssl": "^2.3.0", "esbuild": "^0.28.0", "eslint": "^10.3.0", + "fake-indexeddb": "^6.2.5", "jsdom": "^29.1.1", "typescript": "^5.6.3", "typescript-eslint": "^8.59.1", @@ -35,6 +36,9 @@ "dependencies": { "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", + "@univerjs/preset-sheets-core": "^0.22.0", + "@univerjs/presets": "^0.22.0", + "hyperformula": "^3.2.0", "lucide-react": "^1.14.0", "react": "^19.2.5", "react-dom": "^19.2.5" diff --git a/plugin/src/spreadsheet/a1.ts b/plugin/src/spreadsheet/a1.ts new file mode 100644 index 0000000..6abb58f --- /dev/null +++ b/plugin/src/spreadsheet/a1.ts @@ -0,0 +1,125 @@ +export interface CellAddress { + row: number; + col: number; +} + +export interface CellRange { + sheetName?: string; + start: CellAddress; + end: CellAddress; +} + +const DEFAULT_MAX_ROWS = 1_048_576; +const DEFAULT_MAX_COLUMNS = 16_384; + +export function columnToNumber(column: string): number { + const clean = column.replace(/\$/g, "").trim(); + if (!/^[A-Z]+$/i.test(clean)) return 0; + return [...clean.toUpperCase()].reduce((total, char) => total * 26 + char.charCodeAt(0) - 64, 0); +} + +export function numberToColumn(input: number): string { + let value = Math.max(1, Math.floor(input)); + let column = ""; + while (value > 0) { + const mod = (value - 1) % 26; + column = String.fromCharCode(65 + mod) + column; + value = Math.floor((value - mod) / 26); + } + return column; +} + +export function parseCellAddress(address: string): CellAddress | null { + const { range } = splitSheetReference(address); + const match = /^\$?([A-Z]{1,4})\$?(\d{1,7})$/i.exec(range.trim()); + if (!match) return null; + return { col: columnToNumber(match[1]), row: Number(match[2]) }; +} + +export function encodeCellAddress(cell: CellAddress): string { + return `${numberToColumn(cell.col)}${cell.row}`; +} + +export function parseRangeAddress(range: string): CellRange | null { + const qualified = splitSheetReference(range); + const clean = qualified.range.replace(/\$/g, "").trim(); + if (!clean) return null; + const [startText, endText = startText] = clean.split(":"); + const start = parseRangeEndpoint(startText, "start"); + const end = parseRangeEndpoint(endText, "end"); + if (!start || !end) return null; + return { + sheetName: qualified.sheetName, + start: { row: Math.min(start.row, end.row), col: Math.min(start.col, end.col) }, + end: { row: Math.max(start.row, end.row), col: Math.max(start.col, end.col) }, + }; +} + +export function encodeRangeAddress(range: CellRange): string { + const encoded = range.start.row === range.end.row && range.start.col === range.end.col + ? encodeCellAddress(range.start) + : `${encodeCellAddress(range.start)}:${encodeCellAddress(range.end)}`; + return range.sheetName ? `${quoteSheetName(range.sheetName)}!${encoded}` : encoded; +} + +export function normalizeCellAddress(address: string): string | null { + const parsed = parseCellAddress(address); + return parsed ? encodeCellAddress(parsed) : null; +} + +export function normalizeRangeAddress(range: string): string | null { + const parsed = parseRangeAddress(range); + return parsed ? encodeRangeAddress(parsed) : null; +} + +export function expandRangeAddress(range: string, limit = 10_000): string[] { + const parsed = parseRangeAddress(range); + if (!parsed) return []; + const cells: string[] = []; + for (let row = parsed.start.row; row <= parsed.end.row; row += 1) { + for (let col = parsed.start.col; col <= parsed.end.col; col += 1) { + cells.push(encodeCellAddress({ row, col })); + if (cells.length >= limit) return cells; + } + } + return cells; +} + +export function splitSheetReference(reference: string): { sheetName?: string; range: string } { + const text = reference.trim(); + let quote = false; + for (let index = text.length - 1; index >= 0; index -= 1) { + const char = text[index]; + if (char === "'") quote = !quote; + if (char === "!" && !quote) { + return { + sheetName: unquoteSheetName(text.slice(0, index)), + range: text.slice(index + 1), + }; + } + } + return { range: text }; +} + +function parseRangeEndpoint(text: string, side: "start" | "end"): CellAddress | null { + const trimmed = text.trim(); + const cell = parseCellAddress(trimmed); + if (cell) return cell; + if (/^\d{1,7}$/.test(trimmed)) { + return { row: Number(trimmed), col: side === "start" ? 1 : DEFAULT_MAX_COLUMNS }; + } + if (/^[A-Z]{1,4}$/i.test(trimmed)) { + return { row: side === "start" ? 1 : DEFAULT_MAX_ROWS, col: columnToNumber(trimmed) }; + } + return null; +} + +function quoteSheetName(sheetName: string): string { + return /^[A-Za-z_][\w.]*$/.test(sheetName) ? sheetName : `'${sheetName.replace(/'/g, "''")}'`; +} + +function unquoteSheetName(sheetName: string): string { + const clean = sheetName.trim(); + if (clean.startsWith("'") && clean.endsWith("'")) return clean.slice(1, -1).replace(/''/g, "'"); + return clean; +} diff --git a/plugin/src/spreadsheet/api-client.ts b/plugin/src/spreadsheet/api-client.ts new file mode 100644 index 0000000..be92be2 --- /dev/null +++ b/plugin/src/spreadsheet/api-client.ts @@ -0,0 +1,89 @@ +import { API_BASE, API_KEY } from "../taskpane/state"; +import type { WorkbookSessionV1 } from "./workbook-model"; + +export interface SpreadsheetExportOptions { + fidelityMode?: "preserve_ooxml" | "regenerate"; + allowRegeneratedFallback?: boolean; +} + +export interface SpreadsheetExportResult { + blob: Blob; + fidelityMode: string; + fidelityStatus: string; + unsupportedObjectsPreserved: boolean; +} + +function headers(extra: HeadersInit = {}): HeadersInit { + return { + ...(API_KEY ? { "X-API-Key": API_KEY } : {}), + ...extra, + }; +} + +export async function openWorkbookFile(file: File): Promise { + const contentBase64 = await fileToBase64(file); + const response = await fetch(`${API_BASE}/api/v1/spreadsheet/open`, { + method: "POST", + headers: headers({ "Content-Type": "application/json" }), + body: JSON.stringify({ + filename: file.name, + title: file.name, + content_base64: contentBase64, + }), + }); + const data = await response.json().catch(() => ({})); + if (!response.ok) throw new Error(data.detail || `HTTP ${response.status}`); + return data as WorkbookSessionV1; +} + +export async function exportWorkbookSession(session: WorkbookSessionV1, options: SpreadsheetExportOptions = {}): Promise { + const response = await fetch(`${API_BASE}/api/v1/spreadsheet/export`, { + method: "POST", + headers: headers({ "Content-Type": "application/json" }), + body: JSON.stringify({ + session, + title: session.title || session.filename, + filename: session.filename || "finance-ai-workbook.xlsx", + fidelityMode: options.fidelityMode, + allowRegeneratedFallback: options.allowRegeneratedFallback === true, + }), + }); + if (!response.ok) { + const data = await response.json().catch(() => ({})); + throw new Error(data.detail || `HTTP ${response.status}`); + } + return { + blob: await response.blob(), + fidelityMode: response.headers.get("X-Spreadsheet-Fidelity-Mode") || "", + fidelityStatus: response.headers.get("X-Spreadsheet-Fidelity-Status") || "", + unsupportedObjectsPreserved: response.headers.get("X-Spreadsheet-Unsupported-Preserved") === "true", + }; +} + +export async function runRoundtripQa(session: WorkbookSessionV1, options: SpreadsheetExportOptions = {}): Promise> { + const response = await fetch(`${API_BASE}/api/v1/spreadsheet/roundtrip-qa`, { + method: "POST", + headers: headers({ "Content-Type": "application/json" }), + body: JSON.stringify({ + session, + filename: session.filename, + title: session.title || session.filename, + fidelityMode: options.fidelityMode, + allowRegeneratedFallback: options.allowRegeneratedFallback === true, + }), + }); + const data = await response.json().catch(() => ({})); + if (!response.ok) throw new Error(data.detail || `HTTP ${response.status}`); + return data as Record; +} + +export async function fileToBase64(file: File): Promise { + const buffer = await file.arrayBuffer(); + let binary = ""; + const bytes = new Uint8Array(buffer); + const chunkSize = 0x8000; + for (let index = 0; index < bytes.length; index += chunkSize) { + binary += String.fromCharCode(...bytes.subarray(index, index + chunkSize)); + } + return btoa(binary); +} diff --git a/plugin/src/spreadsheet/app.tsx b/plugin/src/spreadsheet/app.tsx new file mode 100644 index 0000000..dff062f --- /dev/null +++ b/plugin/src/spreadsheet/app.tsx @@ -0,0 +1,1300 @@ +import React, { ChangeEvent, FormEvent, useEffect, useMemo, useRef, useState } from "react"; +import { createRoot } from "react-dom/client"; +import type { WorkbookContext } from "../taskpane/types"; +import { + Bold, + Bot, + Columns3, + Copy, + Download, + Eraser, + FilePlus2, + FolderOpen, + Italic, + ListChecks, + Link2, + MessageSquarePlus, + PaintBucket, + PauseCircle, + Play, + Plus, + RefreshCw, + RotateCcw, + Rows3, + Save, + ShieldCheck, + Snowflake, + Sparkles, + Table2, + Trash2, + Type, + Underline, +} from "lucide-react"; + +import { createPlan } from "../taskpane/api-client"; +import { normalizeRangeAddress, numberToColumn, parseCellAddress } from "./a1"; +import { exportWorkbookSession, openWorkbookFile, runRoundtripQa, type SpreadsheetExportResult } from "./api-client"; +import { recalculateWorkbook, type CalculationResult } from "./calc-client"; +import { + detectHostDrift, + errorLinkState, + filterUnappliedQueue, + hasExcelHost, + linkedStateFromHost, + officeExcelSyncService, + pauseLinkForConflicts, + queueItemFromPatch, + readExcelHostSnapshot, + updateLinkQueueDepth, + type ExcelSyncQueueItemV1, +} from "./excel-sync"; +import { hydratePlatformState, loadWorkbookSyncJournal, loadWorkbookSyncQueue, saveWorkbookPersistenceBundle, saveWorkbookSession, saveWorkbookSyncJournal, saveWorkbookSyncQueue } from "./storage"; +import { replayExcelSyncQueue } from "./sync-replay"; +import { UniverHost } from "./univer-host"; +import { + appendSyncJournal, + appendPlatformArtifact, + affectedRangesForPatch, + buildFormulaParityReport, + buildWorkbookTrustReport, + formulaTraceForSelection, + journalEntryForQueueItem, + updatePlatformReports, +} from "./workbook-platform"; +import { + activeSheet, + applyWorkbookPatch, + createEmptyWorkbookSession, + createDefaultExcelLinkState, + createDefaultWorkbookPlatformState, + getCell, + makePatch, + normalizeWorkbookSession, + selectionStats, + workbookContextFromSession, + type ExcelLinkStateV1, + type SyncJournalEntryV1, + type WorkbookPatchV1, + type WorkbookSessionV1, +} from "./workbook-model"; +import "./spreadsheet.css"; + +type AiPlan = Record | null; + +export function SpreadsheetApp() { + const [session, setSessionState] = useState(() => normalizeWorkbookSession(createEmptyWorkbookSession())); + const sessionRef = useRef(session); + const [selectedRange, setSelectedRange] = useState("A1"); + const [selectedSheetId, setSelectedSheetId] = useState(session.activeSheetId); + const [formulaValue, setFormulaValue] = useState(""); + const [undoStack, setUndoStack] = useState([]); + const [redoStack, setRedoStack] = useState([]); + const [status, setStatus] = useState("Ready"); + const [aiPrompt, setAiPrompt] = useState(""); + const [aiPlan, setAiPlan] = useState(null); + const [unsupportedAiOps, setUnsupportedAiOps] = useState([]); + const [qa, setQa] = useState | null>(null); + const [lastExport, setLastExport] = useState(null); + const [exportBlocked, setExportBlocked] = useState(false); + const [aiPaneOpen, setAiPaneOpen] = useState(true); + const [activeRibbonTab, setActiveRibbonTab] = useState("Home"); + const [syncQueue, setSyncQueueState] = useState([]); + const [syncJournal, setSyncJournal] = useState([]); + const syncQueueRef = useRef([]); + const syncJournalRef = useRef([]); + const syncingRef = useRef(false); + + const sheet = activeSheet(session); + const selectedAddress = useMemo(() => selectedRange.split(":", 1)[0].toUpperCase(), [selectedRange]); + const selectedCell = useMemo(() => getCell(session, selectedSheetId, selectedAddress), [selectedAddress, selectedSheetId, session]); + const stats = useMemo(() => selectionStats(session, selectedSheetId, selectedRange), [selectedRange, selectedSheetId, session]); + const formulaParity = useMemo(() => buildFormulaParityReport(session), [session]); + const trustReport = useMemo(() => buildWorkbookTrustReport(session, syncQueue, qa, lastExport as any), [lastExport, qa, session, syncQueue]); + const formulaTrace = useMemo(() => formulaTraceForSelection(session, selectedSheetId, selectedAddress), [selectedAddress, selectedSheetId, session]); + + function setSession(next: WorkbookSessionV1) { + const normalized = updatePlatformReports(normalizeWorkbookSession(next), syncQueueRef.current, qa, lastExport as any); + sessionRef.current = normalized; + setSessionState(normalized); + } + + function setExcelLink(nextLink: ExcelLinkStateV1, baseSession = sessionRef.current) { + setSession({ + ...baseSession, + excelLink: nextLink, + excelParity: nextLink.excelParity, + }); + } + + function replaceSyncQueue(nextQueue: ExcelSyncQueueItemV1[], baseSession = sessionRef.current, warnings: string[] = []) { + syncQueueRef.current = nextQueue; + setSyncQueueState(nextQueue); + void saveWorkbookSyncQueue(baseSession.workbookId, nextQueue).catch(() => undefined); + setExcelLink(updateLinkQueueDepth(baseSession.excelLink, nextQueue.length, warnings), baseSession); + } + + function recordSyncJournal(entry: SyncJournalEntryV1, baseSession = sessionRef.current) { + const nextPlatform = appendSyncJournal(baseSession.platformState, entry); + const nextJournal = nextPlatform.syncJournal; + syncJournalRef.current = nextJournal; + setSyncJournal(nextJournal); + void saveWorkbookSyncJournal(baseSession.workbookId, nextJournal).catch(() => undefined); + setSession({ ...baseSession, platformState: nextPlatform }); + } + + useEffect(() => { + setSelectedSheetId(session.activeSheetId); + }, [session.activeSheetId]); + + useEffect(() => { + setFormulaValue(selectedCell.formula || String(selectedCell.value ?? "")); + }, [selectedCell.formula, selectedCell.value]); + + useEffect(() => { + let cancelled = false; + const workbookId = session.workbookId; + Promise.all([ + loadWorkbookSyncQueue(workbookId).catch(() => []), + loadWorkbookSyncJournal(workbookId).catch(() => []), + ]).then(([queue, journal]) => { + if (cancelled || sessionRef.current.workbookId !== workbookId) return; + const pending = filterUnappliedQueue(queue); + syncQueueRef.current = pending; + syncJournalRef.current = journal; + setSyncQueueState(pending); + setSyncJournal(journal); + setSession(hydratePlatformState(sessionRef.current, pending, journal)); + }).catch(() => undefined); + return () => { + cancelled = true; + }; + }, [session.workbookId]); + + useEffect(() => { + void saveWorkbookSession(session).catch(() => undefined); + }, [session]); + + async function openFile(event: ChangeEvent) { + const file = event.target.files?.[0]; + if (!file) return; + setStatus(`Opening ${file.name}...`); + try { + const opened = normalizeWorkbookSession(await openWorkbookFile(file)); + setSession(opened); + setUndoStack([]); + setRedoStack([]); + replaceSyncQueue([], opened); + syncJournalRef.current = []; + setSyncJournal([]); + void saveWorkbookSyncJournal(opened.workbookId, []).catch(() => undefined); + setSelectedRange("A1"); + setSelectedSheetId(opened.activeSheetId); + setStatus(`Opened ${file.name}`); + void recalc(opened); + } catch (error) { + setStatus(errorMessage(error)); + } finally { + event.target.value = ""; + } + } + + async function exportFile(allowRegeneratedFallback = false) { + const report = buildWorkbookTrustReport(sessionRef.current, syncQueueRef.current, qa, lastExport as any); + if (!allowRegeneratedFallback && report.exportBlocked) { + setExportBlocked(true); + setSession({ ...sessionRef.current, platformState: { ...createDefaultWorkbookPlatformState(sessionRef.current.platformState), trustReport: report, exportTrustState: { lastStatus: report.status, lastCheckedAt: report.generatedAt, blockers: report.blockers, warnings: report.warnings } } }); + setStatus(`Export blocked: ${report.blockers[0] || "trust checks require review"}`); + return; + } + setStatus(allowRegeneratedFallback ? "Exporting regenerated workbook copy..." : "Exporting preserved workbook..."); + try { + const result = await exportWorkbookSession(sessionRef.current, { + fidelityMode: allowRegeneratedFallback ? "regenerate" : "preserve_ooxml", + allowRegeneratedFallback, + }); + setLastExport(result); + setExportBlocked(false); + setSession(appendPlatformArtifact(sessionRef.current, "export", { + fidelityMode: result.fidelityMode, + fidelityStatus: result.fidelityStatus, + unsupportedObjectsPreserved: result.unsupportedObjectsPreserved, + }, syncQueueRef.current, qa, result as any)); + const url = URL.createObjectURL(result.blob); + const anchor = document.createElement("a"); + anchor.href = url; + anchor.download = sessionRef.current.filename || "finance-ai-workbook.xlsx"; + anchor.click(); + URL.revokeObjectURL(url); + setStatus(`Exported workbook (${result.fidelityMode || "standard"}, ${result.fidelityStatus || "unchecked"})`); + } catch (error) { + setExportBlocked(true); + setStatus(errorMessage(error)); + } + } + + function newFile() { + const next = createEmptyWorkbookSession(); + setSession(next); + setUndoStack([]); + setRedoStack([]); + replaceSyncQueue([], next); + setSyncJournal([]); + void saveWorkbookSyncJournal(next.workbookId, []).catch(() => undefined); + setSelectedRange("A1"); + setSelectedSheetId(next.activeSheetId); + setAiPlan(null); + setUnsupportedAiOps([]); + setQa(null); + setStatus("Created new workbook"); + } + + function commitPatch(patch: WorkbookPatchV1, pushUndo = true) { + const before = sessionRef.current; + const result = applyWorkbookPatch(before, patch); + setSession(result.session); + if (pushUndo && result.inversePatch.operations.length) { + setUndoStack((current) => [result.inversePatch, ...current].slice(0, 100)); + setRedoStack([]); + } + queueExcelSyncForPatch(patch, before, result.session); + setStatus(result.warnings.length ? result.warnings.join("; ") : patch.summary); + void recalc(result.session); + } + + function queueExcelSyncForPatch(patch: WorkbookPatchV1, before: WorkbookSessionV1, after: WorkbookSessionV1) { + if (before.excelLink.mode === "not_linked" || patch.source === "excel_sync") return; + const queuedItem = queueItemFromPatch(patch, before, after.revision); + if (!queuedItem) return; + const nextQueue = [...syncQueueRef.current, queuedItem]; + replaceSyncQueue(nextQueue, after, queuedItem.warnings); + recordSyncJournal(journalEntryForQueueItem(after.workbookId, queuedItem, "queued", queuedItem.warnings.length ? "warning" : "pending", queuedItem.warnings[0]), after); + if (after.excelLink.mode === "linked") void flushSyncQueue(nextQueue); + } + + function handleSelectionChange(range: string, sheetId: string) { + const normalized = normalizeRangeAddress(range) || "A1"; + setSelectedRange(normalized); + setSelectedSheetId(sheetId); + if (sessionRef.current.activeSheetId !== sheetId) { + commitPatch(makePatch("univer", "Activate sheet", [{ type: "set_active_sheet", sheetId }]), false); + } + } + + function commitFormulaBar(event?: FormEvent) { + event?.preventDefault(); + const address = selectedAddress.toUpperCase(); + const targetSheetId = selectedSheetId || sheet.sheetId; + const patch = makePatch("user", `Edit ${sheetName(targetSheetId)}!${address}`, [ + formulaValue.trim().startsWith("=") + ? { type: "set_cell", sheetId: targetSheetId, address, formula: formulaValue.trim() } + : { type: "set_cell", sheetId: targetSheetId, address, value: coerceCellValue(formulaValue) }, + ]); + commitPatch(patch); + } + + function undo() { + const patch = undoStack[0]; + if (!patch) return; + const before = sessionRef.current; + const result = applyWorkbookPatch(before, patch); + setSession(result.session); + setUndoStack((current) => current.slice(1)); + setRedoStack((current) => [result.inversePatch, ...current]); + queueExcelSyncForPatch(patch, before, result.session); + setStatus(patch.summary); + void recalc(result.session); + } + + function redo() { + const patch = redoStack[0]; + if (!patch) return; + const before = sessionRef.current; + const result = applyWorkbookPatch(before, patch); + setSession(result.session); + setRedoStack((current) => current.slice(1)); + setUndoStack((current) => [result.inversePatch, ...current]); + queueExcelSyncForPatch(patch, before, result.session); + setStatus(patch.summary); + void recalc(result.session); + } + + function seedModel() { + commitPatch(makePatch("system", "Seed finance model starter", [ + { type: "set_cell", sheetId: sheet.sheetId, address: "A1", value: "Metric", style: { bl: 1, bold: true } }, + { type: "set_cell", sheetId: sheet.sheetId, address: "B1", value: "Value", style: { bl: 1, bold: true } }, + { type: "set_cell", sheetId: sheet.sheetId, address: "A2", value: "Revenue" }, + { type: "set_cell", sheetId: sheet.sheetId, address: "B2", value: 100, numberFormat: "$#,##0" }, + { type: "set_cell", sheetId: sheet.sheetId, address: "A3", value: "Margin" }, + { type: "set_cell", sheetId: sheet.sheetId, address: "B3", value: 0.25, numberFormat: "0.0%" }, + { type: "set_cell", sheetId: sheet.sheetId, address: "A4", value: "EBITDA" }, + { type: "set_cell", sheetId: sheet.sheetId, address: "B4", formula: "=B2*B3", numberFormat: "$#,##0" }, + ])); + } + + async function recalc(target = sessionRef.current) { + try { + const fingerprint = target.fingerprint; + const result = await recalculateWorkbook(target); + setSessionState((current) => { + if (current.fingerprint !== fingerprint) return current; + const next = applyCalculation(current, result); + sessionRef.current = next; + return next; + }); + } catch (error) { + setStatus(`Calculation warning: ${errorMessage(error)}`); + } + } + + async function previewAiPlan(event: FormEvent) { + event.preventDefault(); + if (!aiPrompt.trim()) return; + setStatus("Planning workbook edit..."); + setAiPlan(null); + setUnsupportedAiOps([]); + try { + const plan = await createPlan({ + prompt: aiPrompt.trim(), + context: workbookContextFromSession(sessionRef.current, selectedRange) as any, + provider: "auto", + sessionId: sessionRef.current.workbookId.slice(0, 12), + accuracyMode: "balanced", + }); + const preview = patchFromAiPlan(plan as Record, selectedSheetId); + setAiPlan({ ...(plan as Record), browserPatchPreview: preview.patch.operations }); + setUnsupportedAiOps(preview.unsupported); + setStatus("AI plan ready"); + } catch (error) { + setStatus(errorMessage(error)); + } + } + + function applyAiPlan() { + if (!aiPlan) return; + const { patch, unsupported } = patchFromAiPlan(aiPlan, selectedSheetId); + setUnsupportedAiOps(unsupported); + if (!patch.operations.length) { + setStatus("No browser-editable operations found in AI plan"); + return; + } + commitPatch(patch); + } + + async function checkRoundtrip() { + setStatus("Running roundtrip QA..."); + try { + const result = await runRoundtripQa(sessionRef.current); + setQa(result); + setSession(appendPlatformArtifact(sessionRef.current, "roundtrip_qa", result, syncQueueRef.current, result, lastExport as any)); + setStatus(`Roundtrip QA: ${String(result.status || "complete")}`); + } catch (error) { + setStatus(errorMessage(error)); + } + } + + async function linkToExcel() { + if (!hasExcelHost()) { + const message = "Excel host is not available in this browser tab."; + setExcelLink(errorLinkState(sessionRef.current.excelLink, message, syncQueueRef.current.length)); + setStatus(message); + return; + } + setStatus("Linking to Excel host..."); + try { + const snapshot = await readExcelHostSnapshot(); + if (!snapshot) throw new Error("Excel host context is unavailable."); + const link = linkedStateFromHost(snapshot, sessionRef.current.revision, syncQueueRef.current.length); + setExcelLink(link); + setStatus("Excel host linked"); + if (syncQueueRef.current.length) void flushSyncQueue(syncQueueRef.current); + } catch (error) { + const message = errorMessage(error); + setExcelLink(errorLinkState(sessionRef.current.excelLink, message, syncQueueRef.current.length)); + setStatus(message); + } + } + + async function checkExcelHost() { + setStatus("Checking Excel host..."); + try { + const snapshot = await readExcelHostSnapshot(); + if (!snapshot) throw new Error("Excel host context is unavailable."); + const conflicts = detectHostDrift(sessionRef.current.excelLink, snapshot.fingerprint, syncQueueRef.current); + if (conflicts.length) { + setExcelLink(pauseLinkForConflicts(sessionRef.current.excelLink, conflicts, syncQueueRef.current.length)); + setStatus(conflicts[0].message); + return; + } + setExcelLink(linkedStateFromHost(snapshot, sessionRef.current.revision, syncQueueRef.current.length)); + setStatus("Excel host is in sync"); + } catch (error) { + const message = errorMessage(error); + setExcelLink(errorLinkState(sessionRef.current.excelLink, message, syncQueueRef.current.length)); + setStatus(message); + } + } + + function pauseSync() { + const link = pauseLinkForConflicts(sessionRef.current.excelLink, [{ + kind: "host_drift", + message: "Excel sync paused by user.", + }], syncQueueRef.current.length); + setExcelLink(link); + setStatus("Excel sync paused"); + } + + async function resumeSync() { + try { + if (!hasExcelHost()) { + const message = "Excel host is not available in this browser tab."; + setExcelLink(errorLinkState(sessionRef.current.excelLink, message, syncQueueRef.current.length)); + setStatus(message); + return; + } + const snapshot = await readExcelHostSnapshot(); + if (!snapshot) { + const message = "Excel host context is unavailable."; + setExcelLink(errorLinkState(sessionRef.current.excelLink, message, syncQueueRef.current.length)); + setStatus(message); + return; + } + setExcelLink(linkedStateFromHost(snapshot, sessionRef.current.revision, syncQueueRef.current.length)); + setStatus("Excel sync resumed"); + if (syncQueueRef.current.length) void flushSyncQueue(syncQueueRef.current); + } catch (error) { + const message = errorMessage(error); + setExcelLink(errorLinkState(sessionRef.current.excelLink, message, syncQueueRef.current.length)); + setStatus(message); + } + } + + async function keepBrowserAndReplay() { + setStatus("Replaying browser edits to Excel..."); + const snapshot = await readExcelHostSnapshot(); + if (!snapshot) { + const message = "Excel host context is unavailable."; + setExcelLink(errorLinkState(sessionRef.current.excelLink, message, syncQueueRef.current.length)); + setStatus(message); + return; + } + setExcelLink(linkedStateFromHost(snapshot, sessionRef.current.revision, syncQueueRef.current.length)); + await flushSyncQueue(syncQueueRef.current, true); + } + + async function reloadFromExcel() { + setStatus("Reloading browser session from Excel snapshot..."); + try { + const snapshot = await readExcelHostSnapshot(); + if (!snapshot) throw new Error("Excel host context is unavailable."); + const reloaded = sessionFromHostSnapshot(snapshot.context, sessionRef.current); + syncQueueRef.current = []; + setSyncQueueState([]); + const linked = linkedStateFromHost(snapshot, reloaded.revision, 0); + setSession({ ...reloaded, excelLink: linked, excelParity: linked.excelParity }); + setUndoStack([]); + setRedoStack([]); + setStatus("Reloaded browser session from Excel"); + } catch (error) { + const message = errorMessage(error); + setExcelLink(errorLinkState(sessionRef.current.excelLink, message, syncQueueRef.current.length)); + setStatus(message); + } + } + + function stayPaused() { + const conflicts = sessionRef.current.excelLink.conflicts.length + ? sessionRef.current.excelLink.conflicts + : [{ kind: "host_drift" as const, message: "Excel sync remains paused." }]; + const link = pauseLinkForConflicts(createDefaultExcelLinkState(sessionRef.current.excelLink), conflicts, syncQueueRef.current.length); + setExcelLink(link); + setStatus("Excel sync remains paused"); + } + + async function flushSyncQueue(queueOverride = syncQueueRef.current, force = false) { + if (syncingRef.current) return; + if (!queueOverride.length) { + replaceSyncQueue([], sessionRef.current); + return; + } + if (!force && sessionRef.current.excelLink.mode !== "linked") return; + syncingRef.current = true; + const pending = filterUnappliedQueue(queueOverride); + setStatus(`Syncing ${pending.length} batch${pending.length === 1 ? "" : "es"} to Excel...`); + try { + const result = await replayExcelSyncQueue({ + workbookId: sessionRef.current.workbookId, + queue: pending, + link: sessionRef.current.excelLink, + service: officeExcelSyncService, + force, + }); + const nextJournal = mergeSyncJournal(result.journal, syncJournalRef.current); + syncQueueRef.current = result.queue; + syncJournalRef.current = nextJournal; + setSyncQueueState(result.queue); + setSyncJournal(nextJournal); + const nextPlatform = createDefaultWorkbookPlatformState(sessionRef.current.platformState); + setSession({ + ...sessionRef.current, + excelLink: result.link, + excelParity: result.link.excelParity, + platformState: { ...nextPlatform, syncJournal: nextJournal }, + }); + void saveWorkbookPersistenceBundle(sessionRef.current, result.queue, nextJournal).catch(() => undefined); + setStatus(result.statusMessage); + } catch (error) { + const message = errorMessage(error); + setExcelLink(errorLinkState(sessionRef.current.excelLink, message, pending.length)); + setStatus(message); + } finally { + syncingRef.current = false; + } + } + + function formatSelection(style: Record, summary: string) { + commitPatch(makePatch("user", summary, [{ type: "set_range_style", sheetId: selectedSheetId, range: selectedRange, style }])); + } + + function setNumberFormat(numberFormat: string) { + commitPatch(makePatch("user", `Format ${selectedRange}`, [{ type: "set_number_format", sheetId: selectedSheetId, range: selectedRange, numberFormat }])); + } + + function clearSelection(mode: "contents" | "formats" | "all") { + commitPatch(makePatch("user", `Clear ${mode} in ${selectedRange}`, [{ type: "clear_range", sheetId: selectedSheetId, range: selectedRange, mode }])); + } + + function insertRows() { + const row = parseCellAddress(selectedAddress)?.row || 1; + commitPatch(makePatch("user", `Insert row ${row}`, [{ type: "insert_rows", sheetId: selectedSheetId, startIndex: row, count: 1 }])); + } + + function deleteRows() { + const row = parseCellAddress(selectedAddress)?.row || 1; + commitPatch(makePatch("user", `Delete row ${row}`, [{ type: "delete_rows", sheetId: selectedSheetId, startIndex: row, count: 1 }])); + } + + function insertColumns() { + const col = parseCellAddress(selectedAddress)?.col || 1; + commitPatch(makePatch("user", `Insert column ${numberToColumn(col)}`, [{ type: "insert_columns", sheetId: selectedSheetId, startIndex: col, count: 1 }])); + } + + function deleteColumns() { + const col = parseCellAddress(selectedAddress)?.col || 1; + commitPatch(makePatch("user", `Delete column ${numberToColumn(col)}`, [{ type: "delete_columns", sheetId: selectedSheetId, startIndex: col, count: 1 }])); + } + + function addSheet() { + commitPatch(makePatch("user", "Add sheet", [{ type: "add_sheet", name: `Sheet${sessionRef.current.sheets.length + 1}` }])); + } + + function duplicateSheet() { + commitPatch(makePatch("user", `Duplicate ${sheet.name}`, [{ type: "duplicate_sheet", sheetId: sheet.sheetId }])); + } + + function deleteSheet() { + commitPatch(makePatch("user", `Delete ${sheet.name}`, [{ type: "delete_sheet", sheetId: sheet.sheetId }])); + } + + function freezePanes() { + const parsed = parseCellAddress(selectedAddress) || { row: 1, col: 1 }; + commitPatch(makePatch("user", `Freeze panes at ${selectedAddress}`, [{ type: "freeze_panes", sheetId: selectedSheetId, rowCount: parsed.row - 1, columnCount: parsed.col - 1 }])); + } + + function addComment() { + const text = window.prompt("Comment text", ""); + if (!text) return; + commitPatch(makePatch("user", `Comment ${selectedAddress}`, [{ type: "add_comment", sheetId: selectedSheetId, address: selectedAddress, text, author: "You" }])); + } + + function addValidation() { + const values = window.prompt("Allowed values, comma separated", "Yes,No"); + if (!values) return; + commitPatch(makePatch("user", `Validate ${selectedRange}`, [{ + type: "add_data_validation", + sheetId: selectedSheetId, + range: selectedRange, + rule: { type: "list", allowBlank: true, formulae: [`"${values}"`] }, + }])); + } + + function addTable() { + const name = window.prompt("Table name", `Table${(session.tables || []).length + 1}`); + if (name === null) return; + commitPatch(makePatch("user", `Create table ${selectedRange}`, [{ type: "add_table", sheetId: selectedSheetId, range: selectedRange, name: name || undefined }])); + } + + function sheetName(sheetId: string) { + return sessionRef.current.sheets.find((item) => item.sheetId === sheetId)?.name || "Sheet"; + } + + return ( +

+ void exportFile()} + onFallbackExport={() => void exportFile(true)} + onQa={() => void checkRoundtrip()} + exportBlocked={exportBlocked} + /> + void recalc()} + aiPaneOpen={aiPaneOpen} + setAiPaneOpen={setAiPaneOpen} + formatSelection={formatSelection} + setNumberFormat={setNumberFormat} + clearSelection={clearSelection} + insertRows={insertRows} + deleteRows={deleteRows} + insertColumns={insertColumns} + deleteColumns={deleteColumns} + addSheet={addSheet} + duplicateSheet={duplicateSheet} + deleteSheet={deleteSheet} + freezePanes={freezePanes} + addComment={addComment} + addValidation={addValidation} + addTable={addTable} + excelLink={session.excelLink} + syncQueue={syncQueue} + onLinkExcel={() => void linkToExcel()} + onSyncNow={() => void flushSyncQueue()} + onPauseSync={pauseSync} + onResumeSync={() => void resumeSync()} + onCheckHost={() => void checkExcelHost()} + /> +
+ setSelectedRange((normalizeRangeAddress(event.target.value) || event.target.value).toUpperCase())} /> + + setFormulaValue(event.target.value)} /> + {sheetName(selectedSheetId)} +
+
+
+ +
+ {aiPaneOpen ? ( +