@betteroffice/xlsx 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSES/MIT-ruzstd.txt +21 -0
- package/LICENSES/MIT-twox-hash.txt +21 -0
- package/LICENSES/MIT-wuff.txt +20 -0
- package/README.md +45 -10
- package/dist/chunk-3HDY7PGX.js +1 -0
- package/dist/chunk-4YUSZI3G.js +2 -0
- package/dist/chunk-6OSHYRMV.js +1 -0
- package/dist/chunk-AZDGFDN2.js +1 -0
- package/dist/chunk-B5K4E4KI.js +1 -0
- package/dist/chunk-E4HKBJOP.js +7 -0
- package/dist/chunk-FEO7P5TH.js +1 -0
- package/dist/chunk-GHET7GIK.js +1 -0
- package/dist/chunk-JABP2QRG.js +1 -0
- package/dist/chunk-K2GIAESV.js +2 -0
- package/dist/chunk-KNQOCV7P.js +1 -0
- package/dist/chunk-OUNTNO7R.js +1 -0
- package/dist/chunk-QUHWI3QK.js +1 -0
- package/dist/chunk-S6UYP4BX.js +1 -0
- package/dist/chunk-T4GUPT57.js +1 -0
- package/dist/chunk-VJDPZ75R.js +1 -0
- package/dist/chunk-X5HR6GJB.js +4 -0
- package/dist/collaboration.js +1 -1
- package/dist/{editPeer-DN6JDr8Z.d.ts → editPeer-CVhOkqsr.d.ts} +732 -365
- package/dist/generated/preflight/xlsx_preflight_bg.wasm +0 -0
- package/dist/generated/xlsx_wasm_bg.wasm +0 -0
- package/dist/generated/xlsx_wasm_lean_bg.wasm +0 -0
- package/dist/headless.d.ts +8 -2
- package/dist/headless.js +1 -1
- package/dist/index.d.ts +27 -5
- package/dist/index.js +1 -4
- package/dist/sessionWorker.missing.d.ts +3 -0
- package/dist/sessionWorker.missing.js +1 -0
- package/dist/sessionWorker.node.d.ts +3 -0
- package/dist/sessionWorker.node.js +1 -0
- package/dist/{types-DdoEoFSX.d.ts → types-BXjmeL2E.d.ts} +71 -3
- package/dist/wasm-preflight.d.ts +26 -0
- package/dist/wasm-preflight.js +1 -0
- package/dist/worker.d.ts +3 -3
- package/dist/worker.js +1 -1
- package/dist/xlsxSessionWorker.mjs +7 -1
- package/dist/xlsxSessionWorker.node.mjs +1 -0
- package/dist/xlsxWorkerStart.d.ts +11 -0
- package/dist/xlsxWorkerStart.js +1 -0
- package/package.json +20 -6
- package/dist/chunk-DIDVDN7H.js +0 -1
- package/dist/chunk-HJJEOLPD.js +0 -1
- package/dist/chunk-JGTBRHCP.js +0 -1
- package/dist/chunk-K7TMSGNA.js +0 -1
- package/dist/chunk-SXM2HKJL.js +0 -4
- /package/dist/{xlsxSessionWorker.d.ts → xlsxSessionWorker.node.d.ts} +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/headless.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Selection, C as CellAddr,
|
|
2
|
-
export { b as ChartA11yAttrs, e as DrawCmd, F as FillRectCmd, G as GeometryPathCommand, L as LineCmd, P as PathCmd,
|
|
1
|
+
import { S as Selection, C as CellAddr, n as SelectionLimits, d as Direction, M as MoveOpts, a as CellRange, K as KeyInput, l as SelectionData, m as SelectionHidden, o as SelectionMerges, k as SelectionAction, f as GridMeta, R as Rect, c as ChartRegion, D as DisplayList, H as HyperlinkRegion } from './types-BXjmeL2E.js';
|
|
2
|
+
export { b as ChartA11yAttrs, e as DrawCmd, F as FillRectCmd, G as GeometryPathCommand, I as ImageCmd, g as ImageCrop, L as LineCmd, P as PathCmd, h as PathStroke, i as PatternFillCmd, j as PatternType, T as TextAlign, p as TextCmd } from './types-BXjmeL2E.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Pure viewport types shared by the accessibility grid and canvas painter.
|
|
@@ -239,6 +239,12 @@ interface A11yCell {
|
|
|
239
239
|
text: string;
|
|
240
240
|
selected: boolean;
|
|
241
241
|
label: string;
|
|
242
|
+
/**
|
|
243
|
+
* The cell's hyperlink as the mirror exposes it: a safe external URL, or
|
|
244
|
+
* `#Sheet!A1` for a place in the workbook. Absent when the cell has no link
|
|
245
|
+
* or its target is not one the editor follows.
|
|
246
|
+
*/
|
|
247
|
+
href?: string;
|
|
242
248
|
}
|
|
243
249
|
/**
|
|
244
250
|
* A column header: the letter (`"A"`) and its aria label (`"Column A"`).
|
package/dist/headless.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{w as buildA11yGrid,o as cellAtPoint,j as cellCount,p as cellRect,n as chartRegionAtPoint,e as clampScroll,k as extendTo,v as fromTsv,r as hyperlinkAtCell,l as moveFocus,h as normalizeRange,t as parseHyperlinkLocation,i as rangeContains,q as rangeRect,s as safeExternalHyperlink,g as selectionAt,m as selectionKeyReducer,u as toTsv,b as totalExtent,a as trackCount,f as uniformOffsets,d as visibleCells,c as visibleRange}from'./chunk-
|
|
1
|
+
export{w as buildA11yGrid,o as cellAtPoint,j as cellCount,p as cellRect,n as chartRegionAtPoint,e as clampScroll,k as extendTo,v as fromTsv,r as hyperlinkAtCell,l as moveFocus,h as normalizeRange,t as parseHyperlinkLocation,i as rangeContains,q as rangeRect,s as safeExternalHyperlink,g as selectionAt,m as selectionKeyReducer,u as toTsv,b as totalExtent,a as trackCount,f as uniformOffsets,d as visibleCells,c as visibleRange}from'./chunk-X5HR6GJB.js';import'./chunk-O2XFH626.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import { D as DisplayList } from './types-
|
|
3
|
-
export { C as CellAddr, a as CellRange, b as ChartA11yAttrs, c as ChartRegion, d as Direction, e as DrawCmd, F as FillRectCmd, G as GeometryPathCommand, f as GridMeta, H as HyperlinkRegion, K as KeyInput, L as LineCmd, M as MoveOpts, P as PathCmd,
|
|
1
|
+
export { ad as BorderPatch, ae as BorderPreset, af as BorderStyle, ag as CalculationStatus, ah as CapturedBorderEdge, ai as CapturedBorderStyle, aj as CapturedCellFormat, ak as CapturedColor, al as CapturedFill, am as CapturedFormat, an as CellEdit, ao as CellInputEdit, ap as CellPoint, aq as CellPosition, ar as ChartEdit, as as ChartInfo, at as ChartMutation, au as ChartResizeEdges, av as ChartSeriesInfo, aw as ChartSeriesName, ax as ConditionalFormatInfo, ay as ConditionalFormatOp, az as ConditionalFormatRuleInput, aA as DifferentialFormatInput, aB as DisplayListProfile, aC as DisplayTooLargeError, aD as EditProfile, aE as EditResult, aF as EditSuccess, aG as ExportCompletion, aH as ExportDiagnostic, aI as ExportSeverity, aJ as HistoryState, aK as HorizontalAlignment, aL as MarkdownAnchor, aM as MergedRange, aN as NumberFormat, aO as NumberFormatMutation, aP as OpenWorkbookOptions, O as OpenWorkbookSessionOptions, aQ as OperationFailure, aR as OperationRefusal, P as PngExportCode, f as PngExportError, aS as PrintMetrics, aT as ProfiledDisplayList, aU as ProfiledEditResult, aV as Proposal, aW as ProposalCell, aX as ProposalEdit, aY as RangeStylePatch, S as SaveResult, g as SaveWarning, h as SaveWarningCode, aZ as SelectionFormatting, a_ as SheetInfo, a$ as StaleProposalError, b0 as StaleProposalTarget, b1 as StyleProperty, b2 as TextWrapping, b3 as UnevaluatedCellStatus, b4 as ValidationSuccess, b5 as VerticalAlignment, b6 as Viewport, b7 as WasmInitInput, b8 as WasmInitOptions, b9 as WorkbookCalculationContext, j as WorkbookCellGeometry, k as WorkbookCellInputs, x as WorkbookEditPeerFailedError, z as WorkbookEditSession, B as WorkbookFrame, D as WorkbookFrameOptions, ba as WorkbookHandle, bb as WorkbookHyperlink, E as WorkbookInitialPaint, F as WorkbookInitialPaintRequest, G as WorkbookPeerHydrationError, H as WorkbookPngOptions, I as WorkbookPngUnavailableError, J as WorkbookRecoveryReplayError, K as WorkbookSession, L as WorkbookSessionEvents, M as WorkbookSessionMethods, N as WorkbookSessionOpenOptions, Q as WorkbookSessionOpenReply, R as WorkbookSessionRecovery, T as WorkbookSessionState, Z as WorkbookSheetSummary, _ as WorkbookSheetView, bc as WorkbookUpdateInfo, bd as WorkbookUpdateListener, be as WorkbookUpdateOrigin, bf as XlsxAnchor, bg as XlsxAutoFilterOp, bh as XlsxCellAddress, bi as XlsxCellGuard, bj as XlsxCellPosition, bk as XlsxCellRead, bl as XlsxCellValue, bm as XlsxDefinedName, bn as XlsxDefinedNameOp, bo as XlsxDefinedNamesRequest, bp as XlsxDefinedNamesResult, bq as XlsxEditCalculation, br as XlsxEditFailure, bs as XlsxEditFailureCode, bt as XlsxEditHistory, bu as XlsxEditOperation, bv as XlsxEditPreview, bw as XlsxEditReceipt, bx as XlsxEditRefusal, by as XlsxEditRequest, bz as XlsxEditResult, bA as XlsxEditSource, bB as XlsxEditStep, bC as XlsxErrorValue, bD as XlsxExportCell, bE as XlsxExportDefinedName, bF as XlsxExportDiagnostic, bG as XlsxExportDiagnosticCode, bH as XlsxExportFailure, bI as XlsxExportFailureCode, bJ as XlsxExportHyperlink, bK as XlsxExportMerge, bL as XlsxExportObject, bM as XlsxExportOptions, bN as XlsxExportResult, bO as XlsxExportScope, bP as XlsxExportSheet, bQ as XlsxExportTable, bR as XlsxExportValue, bS as XlsxFindMatch, bT as XlsxFindRequest, bU as XlsxFindResult, a1 as XlsxFontFace, bV as XlsxFormulaResult, bW as XlsxHeaderFooterPair, bX as XlsxHeaderFooterText, bY as XlsxMarkdownContent, bZ as XlsxMarkdownOptions, b_ as XlsxObjectKind, a2 as XlsxPngFont, a3 as XlsxPngOptions, a4 as XlsxPngTarget, b$ as XlsxRangeAddress, c0 as XlsxRangeRead, c1 as XlsxRangeTarget, c2 as XlsxReadCalculation, c3 as XlsxReadRequest, c4 as XlsxReadResult, c5 as XlsxReplaceStats, c6 as XlsxSheetEntry, c7 as XlsxSheetHeaderFooter, c8 as XlsxSheetIdentity, a6 as XlsxSheetRef, c9 as XlsxSheetVisibility, ca as XlsxSourcePart, cb as XlsxStructuredContent, cc as XlsxTextMatch, cd as XlsxTextSearchOptions, ce as XlsxUnevaluatedCell, cf as XlsxValidationResult, cg as XlsxWriteOptions, a8 as createWorkbookEditSession, ch as decodeFontFace, ci as exportXlsxMarkdown, cj as exportXlsxStructured, ck as getDisplayListCellLimit, cl as initWasm, cm as isPngExportAvailable, cn as isProposalsAvailable, co as isWasmAvailable, cp as openWorkbook, aa as openWorkbookSession, cq as renderXlsxMarkdown, cr as translateFormulasOn, cs as wasmVersion, ac as workbookSessionRecovery } from './editPeer-CVhOkqsr.js';
|
|
2
|
+
import { D as DisplayList } from './types-BXjmeL2E.js';
|
|
3
|
+
export { C as CellAddr, a as CellRange, b as ChartA11yAttrs, c as ChartRegion, d as Direction, e as DrawCmd, F as FillRectCmd, G as GeometryPathCommand, f as GridMeta, H as HyperlinkRegion, I as ImageCmd, g as ImageCrop, K as KeyInput, L as LineCmd, M as MoveOpts, P as PathCmd, h as PathStroke, i as PatternFillCmd, j as PatternType, R as Rect, S as Selection, k as SelectionAction, l as SelectionData, m as SelectionHidden, n as SelectionLimits, o as SelectionMerges, T as TextAlign, p as TextCmd, q as TextRun, r as TextWrap } from './types-BXjmeL2E.js';
|
|
4
4
|
export { A11yCell, A11yChart, A11yColumnHeader, A11yGrid, A11yRow, A11yStrings, CellInput, HyperlinkDestination, TrackOffsets, ViewportState, VisibleCells, VisibleRange, buildA11yGrid, cellAtPoint, cellCount, cellRect, chartRegionAtPoint, clampScroll, extendTo, fromTsv, hyperlinkAtCell, moveFocus, normalizeRange, parseHyperlinkLocation, rangeContains, rangeRect, safeExternalHyperlink, selectionAt, selectionKeyReducer, toTsv, totalExtent, trackCount, uniformOffsets, visibleCells, visibleRange } from './headless.js';
|
|
5
|
+
export { FontPreflight, FontPreflightFace, fontPreflight, preloadPreflightWasm } from './wasm-preflight.js';
|
|
5
6
|
import './asyncReplica-DuZEFXjI.js';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -13,6 +14,14 @@ import './asyncReplica-DuZEFXjI.js';
|
|
|
13
14
|
* no allocation of app state and no reads back from the canvas.
|
|
14
15
|
*/
|
|
15
16
|
|
|
17
|
+
type PictureSource = ImageBitmap | HTMLImageElement | HTMLCanvasElement | OffscreenCanvas;
|
|
18
|
+
interface PaintOptions {
|
|
19
|
+
/**
|
|
20
|
+
* The decoded image for an `image` command's `assetId`. Without one, or when
|
|
21
|
+
* it returns nothing, the picture is skipped.
|
|
22
|
+
*/
|
|
23
|
+
resolveImage?: (assetId: string) => PictureSource | null | undefined;
|
|
24
|
+
}
|
|
16
25
|
/**
|
|
17
26
|
* Paint a display list into a 2D context. `dpr` maps device-independent list
|
|
18
27
|
* coordinates onto the backing store, so callers size the canvas at
|
|
@@ -21,6 +30,19 @@ import './asyncReplica-DuZEFXjI.js';
|
|
|
21
30
|
declare function paintDisplayList(ctx: CanvasRenderingContext2D, dl: DisplayList, dpr: number, origin?: {
|
|
22
31
|
x: number;
|
|
23
32
|
y: number;
|
|
24
|
-
}): void;
|
|
33
|
+
}, options?: PaintOptions): void;
|
|
25
34
|
|
|
26
|
-
|
|
35
|
+
/** An installed font pack that cannot be used, so its faces are substituted. */
|
|
36
|
+
interface FontPackDiagnostic {
|
|
37
|
+
/** The add-on package: `@betteroffice/fonts-latin`, `-intl` or `-cjk`. */
|
|
38
|
+
pack: 'latin' | 'intl' | 'cjk';
|
|
39
|
+
/** `version-mismatch`: another release is installed; `missing-file`: files are absent; `invalid-manifest`: its manifest cannot be read. */
|
|
40
|
+
reason: 'version-mismatch' | 'missing-file' | 'invalid-manifest';
|
|
41
|
+
/** A sentence naming the package and what is wrong. */
|
|
42
|
+
detail: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** The installed font add-on packages that cannot be used, and why; their faces are substituted. */
|
|
46
|
+
declare function fontPackDiagnostics(): Promise<FontPackDiagnostic[]>;
|
|
47
|
+
|
|
48
|
+
export { DisplayList, type FontPackDiagnostic, type PaintOptions, type PictureSource, fontPackDiagnostics, paintDisplayList };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
export{w as buildA11yGrid,o as cellAtPoint,j as cellCount,p as cellRect,n as chartRegionAtPoint,e as clampScroll,k as extendTo,v as fromTsv,r as hyperlinkAtCell,l as moveFocus,h as normalizeRange,t as parseHyperlinkLocation,i as rangeContains,q as rangeRect,s as safeExternalHyperlink,g as selectionAt,m as selectionKeyReducer,u as toTsv,b as totalExtent,a as trackCount,f as uniformOffsets,d as visibleCells,c as visibleRange}from'./chunk-
|
|
2
|
-
`)?e.slice(0,e.endsWith(`\r
|
|
3
|
-
`)?-2:-1):e).split(`
|
|
4
|
-
`);return o.forEach((a,l)=>{We(a.endsWith("\r")?a.slice(0,-1):a,r,n,i),l<o.length-1&&(i[i.length-1]=i[i.length-1].replace(/ +$/,""));}),i}function We(e,t,n,r){if(n(e)<=t){r.push(e);return}let i=0,s=null;for(let[o,a]of Oe(e)){if(s!==null){if(n(e.slice(i,a))<=t){s=a;continue}r.push(e.slice(i,s)),i=o;}if(s=a,n(e.slice(i,a))<=t)continue;let l=i,u=Le(e.slice(l,a)).map(f=>l+f),p=0;for(let f=B(e,i,u,p,t,n);f!==null;)r.push(e.slice(i,u[f])),i=u[f],p=f+1,f=B(e,i,u,p,t,n);}r.push(e.slice(i));}function B(e,t,n,r,i,s){let o=r,a;for(let l=1;;l*=2){let u=Math.min(o+l,n.length-1);if(u===o)return null;if(s(e.slice(t,n[u]))>i){a=u;break}o=u;}for(;a-o>1;){let l=o+Math.floor((a-o)/2);s(e.slice(t,n[l]))>i?a=l:o=l;}return o}function Oe(e){let t=[],n=0;for(let r of e.split(" "))r.length>0&&t.push([n,n+r.length]),n+=r.length+1;return t}function _(e,t,n,r){let i=Math.max(n-1,0),s=r.valign==="top"?t:r.valign==="center"?t-i/2:t-i;return e+r.lineHeight*s}var He=96/72,U=1.2,$e=.8,G={left:"left",center:"center",right:"right"},Be={dashed:[4,2],dotted:[1,2],mediumDashed:[8,4],dashDot:[4,2,1,2],mediumDashDot:[8,4,2,4],dashDotDot:[4,2,1,2,1,2],mediumDashDotDot:[8,4,2,4,2,4],slantDashDot:[4,2,1,2]},z=new WeakMap;function Ve(e,t,n,r={x:0,y:0}){e.save(),e.setTransform(n,0,0,n,r.x,r.y),e.beginPath(),e.rect(0,0,t.width,t.height),e.clip(),e.clearRect(0,0,t.width,t.height);for(let i of t.commands)_e(e,i,n,r);e.restore();}function _e(e,t,n,r){switch(t.op){case "fillRect":v(e,t.clip,()=>{e.fillStyle=t.color,e.fillRect(t.x,t.y,t.w,t.h);});return;case "patternFill":v(e,t.clip,()=>Ge(e,t,n,r));return;case "line":v(e,t.clip,()=>Ue(e,t,n,r));return;case "path":v(e,t.clip,()=>ze(e,t));return;case "text":Ke(e,t);return}}function Ge(e,t,n,r){let i=z.get(e);i||(i=new Map,z.set(e,i));let s=`${t.pattern}/${t.fg}/${t.bg}/${n}`,o=i.get(s);if(!o){let u=typeof OffscreenCanvas>"u"?document.createElement("canvas"):new OffscreenCanvas(8,8);u.width=8,u.height=8;let p=u.getContext("2d"),f=p.createImageData(8,8),d=Number.parseInt(t.fg.slice(1),16),x=Number.parseInt(t.bg.slice(1),16),h=W[t.pattern];for(let g=0;g<8;g+=1)for(let b=0;b<8;b+=1){let m=h[g]&1<<b?d:x,y=(g*8+b)*4;f.data[y]=m>>16&255,f.data[y+1]=m>>8&255,f.data[y+2]=m&255,f.data[y+3]=255;}if(p.putImageData(f,0,0),o=e.createPattern(u,"repeat")??void 0,!o)return;i.size>=256&&i.clear(),i.set(s,o);}o.setTransform({a:1/n,b:0,c:0,d:1/n,e:(Math.round(t.originX*n+r.x)-r.x)/n,f:(Math.round(t.originY*n+r.y)-r.y)/n}),e.save(),e.imageSmoothingEnabled=false,e.fillStyle=o;let a=(Math.round(t.x*n+r.x)-r.x)/n,l=(Math.round(t.y*n+r.y)-r.y)/n;e.fillRect(a,l,(Math.round((t.x+t.w)*n+r.x)-r.x)/n-a,(Math.round((t.y+t.h)*n+r.y)-r.y)/n-l),e.restore();}function v(e,t,n){if(!t){n();return}e.save(),e.beginPath(),e.rect(t.x,t.y,t.w,t.h),e.clip(),n(),e.restore();}function ze(e,t){e.beginPath();for(let n of t.commands)switch(n.type){case "move":e.moveTo(n.x,n.y);break;case "line":e.lineTo(n.x,n.y);break;case "quad":e.quadraticCurveTo(n.cpx,n.cpy,n.x,n.y);break;case "cubic":e.bezierCurveTo(n.cp1x,n.cp1y,n.cp2x,n.cp2y,n.x,n.y);break;case "close":e.closePath();break}e.fillStyle=t.fill,e.fill(),t.stroke&&(e.strokeStyle=t.stroke.color,e.lineWidth=t.stroke.width,e.setLineDash([]),e.stroke());}function Ue(e,t,n,r){e.strokeStyle=t.color,e.save(),e.lineCap="butt";let{x1:i,y1:s,x2:o,y2:a}=t,l=Math.max(1,Math.round(t.width*n)),u=t.style==="double"&&t.rail===void 0;if(t.style&&!u&&(s===a?(s=a=(Math.floor(s*n+r.y)+l%2/2-r.y)/n,i=(Math.round(i*n+r.x)-r.x)/n,o=(Math.round(o*n+r.x)-r.x)/n):i===o&&(i=o=(Math.floor(i*n+r.x)+l%2/2-r.x)/n,s=(Math.round(s*n+r.y)-r.y)/n,a=(Math.round(a*n+r.y)-r.y)/n)),t.style==="double"){let f=t.rail===void 0?Math.max(t.width*.8,.8):(t.width-t.rail)/2,d=Math.abs(s-a)<=Math.abs(i-o),[x,h]=d?[0,f]:[f,0];e.lineWidth=t.rail??Math.max(t.width*.6,.5),e.setLineDash([]),R(e,i-x,s-h,o-x,a-h),R(e,i+x,s+h,o+x,a+h),e.restore();return}e.lineWidth=t.style?l/n:t.width;let p=t.style?.startsWith("medium")?t.width/2:t.width;e.setLineDash(t.style?Be[t.style].map(f=>f*p):[]),R(e,i,s,o,a),e.restore();}function R(e,t,n,r,i){e.beginPath(),e.moveTo(t,n),e.lineTo(r,i),e.stroke();}function Ke(e,t){if(e.save(),t.clip&&(e.beginPath(),e.rect(t.clip.x,t.clip.y,t.clip.w,t.clip.h),e.clip()),e.fillStyle=t.color,e.font=Je(t),e.textBaseline="alphabetic",t.stacked)Ze(e,t);else if(t.rotationDeg!==void 0&&t.rotationDeg!==null)je(e,t,t.rotationDeg);else if(t.numberFormat)P(e,t,t.numberFormat,A);else if(t.wrap){let n=t.wrap,r=t.align??"left";e.textAlign=G[r];let i=V(t.text,n.width,s=>e.measureText(s).width);i.forEach((s,o)=>{A(e,{...t,y:_(t.y,o,i.length,n)},s,t.x,r);});}else {let n=t.align??"left";e.textAlign=G[n],A(e,t,t.text,t.x,n);}e.restore();}function qe(e,t,n){let r=n*U,i=Math.abs(t)*Math.PI/180,s=Math.abs(Math.cos(i)),o=Math.abs(Math.sin(i)),a=Number.POSITIVE_INFINITY;return s>1e-6&&(a=Math.min(a,(e.w-r*o)/s)),o>1e-6&&(a=Math.min(a,(e.h-r*s)/o)),Number.isFinite(a)||(a=Math.max(e.w,e.h)),Math.max(0,a)}function Ye(e){let t=Intl.Segmenter;if(typeof t=="function")try{return [...new t(void 0,{granularity:"grapheme"}).segment(e)].map(n=>n.segment)}catch{return [...e]}return [...e]}function je(e,t,n){let r=t.rotationBox??t.clip??{x:t.x,y:t.y,w:0,h:0},i=S(t),s=[{text:t.text,offset:0}],o=e.measureText(t.text).width;if(t.numberFormat){let k=qe(r,n,i),T=[];if(P(e,{...t,numberFormat:void 0},{...t.numberFormat,left:0,width:k},(D,I,c,E,N)=>{let L=e.measureText(c).width,Y=N==="right"?E-L:N==="center"?E-L/2:E;T.push({text:c,x:Y});}),T.length>0){let D=Math.min(...T.map(c=>c.x)),I=Math.max(...T.map(c=>c.x+e.measureText(c.text).width));s=T.map(c=>({text:c.text,offset:c.x-D})),o=Math.max(0,I-D);}}let a=e.measureText(t.text),l=(n===90?a.fontBoundingBoxAscent:void 0)??(a.actualBoundingBoxAscent||i*.8),u=(n===90?a.fontBoundingBoxDescent:void 0)??(a.actualBoundingBoxDescent||i*.2),p=l+u,f=-n*Math.PI/180,d=Math.cos(f),x=Math.sin(f),h=Math.abs(o*d)+Math.abs(p*x),g=Math.abs(o*x)+Math.abs(p*d),b=t.align??"left",m=b==="center"?r.x+(r.w-h)/2:b==="right"?r.x+r.w-h:r.x,y=t.rotationValign??"bottom",C=y==="top"?r.y:y==="center"?r.y+(r.h-g)/2:r.y+r.h-g,K=m+h/2,q=C+g/2;e.save(),e.translate(K,q),e.rotate(f),t.highlight&&(e.fillStyle=t.highlight,e.fillRect(-o/2-2,-p/2-1,o+4,p+2),e.fillStyle=t.color),e.textBaseline="alphabetic";let M=(l-u)/2;if(t.numberFormat){e.textAlign="left";for(let k of s)e.fillText(k.text,-o/2+k.offset,M);}else e.textAlign="center",e.fillText(t.text,0,M);let F=Math.max(i*.05,.5);e.fillStyle=t.color,(t.underline||t.dashedUnderline)&&e.fillRect(-o/2,M+i*.1,o,F),t.strike&&e.fillRect(-o/2,M-i*.26,o,F),e.restore();}function Ze(e,t){let n=t.rotationBox??t.clip??{x:t.x,y:t.y,w:0,h:0},r=S(t),i=r*U,s=r*$e,o=Ye(t.text),a=o.length*i,l=t.rotationValign??"bottom",u=l==="top"?n.y:l==="center"?n.y+(n.h-a)/2:n.y+n.h-a,p=t.align??"left",f=t.clip??n,d=Math.max(0,Math.floor((f.y-u)/i)),x=Math.min(o.length-1,Math.ceil((f.y+f.h-u)/i)-1);e.textAlign="left",e.textBaseline="alphabetic";for(let h=d;h<=x;h+=1){let g=o[h],b=e.measureText(g).width,m=p==="center"?n.x+(n.w-b)/2:p==="right"?n.x+n.w-b:n.x;if(m+b<=f.x||m>=f.x+f.w)continue;let y=u+h*i+s;t.highlight&&(e.fillStyle=t.highlight,e.fillRect(m-2,y-s-1,b+4,i+2),e.fillStyle=t.color),e.fillText(g,m,y);let C=Math.max(r*.05,.5);e.fillStyle=t.color,t.underline&&e.fillRect(m,y+r*.1,b,C),t.strike&&e.fillRect(m,y-r*.26,b,C),t.dashedUnderline&&(e.save(),e.strokeStyle=t.color,e.lineWidth=C,e.setLineDash([3,2]),R(e,m,y+r*.1,m+b,y+r*.1),e.restore());}}function A(e,t,n,r,i){t.highlight&&et(e,t,n,r,i),e.fillStyle=t.color,e.fillText(n,r,t.y),(t.underline||t.strike||t.dashedUnderline)&&Qe(e,t,n,r,i);}function Je(e){let t=e.italic?"italic ":"",n=e.bold?"bold ":"",r=e.fontFamily?e.chart?e.fontFamily:`"${e.fontFamily.replace(/"/g,'\\"')}", sans-serif`:"sans-serif";return `${t}${n}${S(e)}px ${r}`}function S(e){return e.fontSize*He}function Qe(e,t,n,r,i){let s=e.measureText(n).width,o=i==="right"?r-s:i==="center"?r-s/2:r,a=S(t),l=Math.max(a*.05,.5);e.fillStyle=t.color,t.underline&&e.fillRect(o,t.y+a*.1,s,l),t.strike&&e.fillRect(o,t.y-a*.26,s,l),t.dashedUnderline&&(e.save(),e.strokeStyle=t.color,e.lineWidth=l,e.setLineDash([3,2]),R(e,o,t.y+a*.1,o+s,t.y+a*.1),e.restore());}function et(e,t,n,r,i){let s=e.measureText(n),o=s.width,a=i==="right"?r-o:i==="center"?r-o/2:r,l=S(t),u=s.actualBoundingBoxAscent||l*.8,p=s.actualBoundingBoxDescent||l*.2;e.fillStyle=t.highlight,e.fillRect(a-2,t.y-u-1,o+4,u+p+2);}export{Ve as paintDisplayList};
|
|
1
|
+
export{c as fontPreflight,b as preloadPreflightWasm}from'./chunk-KNQOCV7P.js';export{w as buildA11yGrid,o as cellAtPoint,j as cellCount,p as cellRect,n as chartRegionAtPoint,e as clampScroll,k as extendTo,v as fromTsv,r as hyperlinkAtCell,l as moveFocus,h as normalizeRange,t as parseHyperlinkLocation,i as rangeContains,q as rangeRect,s as safeExternalHyperlink,g as selectionAt,m as selectionKeyReducer,u as toTsv,b as totalExtent,a as trackCount,f as uniformOffsets,d as visibleCells,c as visibleRange}from'./chunk-X5HR6GJB.js';export{j as WorkbookEditPeerFailedError,b as WorkbookRecoveryReplayError,a as createWorkbookEditSession,e as openWorkbookSession,c as workbookSessionRecovery}from'./chunk-QUHWI3QK.js';export{w as WorkbookPeerHydrationError,m as WorkbookPngUnavailableError}from'./chunk-K2GIAESV.js';import {f}from'./chunk-E4HKBJOP.js';export{m as DisplayTooLargeError,a as PngExportError,l as StaleProposalError,k as decodeFontFace,E as exportXlsxMarkdown,D as exportXlsxStructured,q as getDisplayListCellLimit,o as initWasm,s as isPngExportAvailable,t as isProposalsAvailable,r as isWasmAvailable,u as openWorkbook,i as paintDisplayList,F as renderXlsxMarkdown,C as translateFormulasOn,G as wasmVersion}from'./chunk-E4HKBJOP.js';import'./chunk-VJDPZ75R.js';import'./chunk-S6UYP4BX.js';import'./chunk-GHET7GIK.js';import'./chunk-JABP2QRG.js';import'./chunk-OUNTNO7R.js';import'./chunk-O2XFH626.js';function U(){return f()}export{U as fontPackDiagnostics};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-OUNTNO7R.js';import'./chunk-O2XFH626.js';function e(){throw a("openWorkbook")}export{e as createSessionWorker};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-AZDGFDN2.js';import'./chunk-OUNTNO7R.js';import'./chunk-O2XFH626.js';function c(f,m,g){let{type:d,...k}=m,a$1=new(a(g)).Worker(f,k),t=new Map,s=false,o={onmessage:null,onerror:null,onmessageerror:null,postMessage(r,e){a$1.postMessage(r,e);},terminate(){s||(s=true,t.clear(),a$1.terminate());},addEventListener(r,e){if(!e)return;let n=t.get(r);n||t.set(r,n=new Set),n.add(e);},removeEventListener(r,e){e&&t.get(r)?.delete(e);}};for(let r of ["message","error","messageerror"])a$1.on(r,e=>{if(s)return;let n=r==="message"?{data:e}:{error:e,message:e instanceof Error?e.message:String(e)};for(let i of [...t.get(r)??[]])t.get(r)?.has(i)&&(typeof i=="function"?i.call(o,n):i.handleEvent(n));let u=o[`on${r}`];s||u?.call(o,n);});return o}function w(){return c(new URL("./xlsxSessionWorker.node.mjs",import.meta.url),{type:"module"},"openWorkbook")}export{w as createSessionWorker};
|
|
@@ -111,12 +111,37 @@ interface PathCmd {
|
|
|
111
111
|
/**
|
|
112
112
|
* Wrapped cell text: the painter breaks the run into lines no wider than
|
|
113
113
|
* `width` and steps their baselines by `lineHeight`, the block anchored by
|
|
114
|
-
* `valign` on the single-line baseline `y`.
|
|
114
|
+
* `valign` on the single-line baseline `y`. `maxLines` is the most lines the
|
|
115
|
+
* cell keeps, from its whole row or merged area: the painter paints at most
|
|
116
|
+
* that many and aligns them as a block of their own. A list without it paints
|
|
117
|
+
* every line.
|
|
115
118
|
*/
|
|
116
119
|
interface TextWrap {
|
|
117
120
|
width: number;
|
|
118
121
|
lineHeight: number;
|
|
119
122
|
valign: 'top' | 'center' | 'bottom';
|
|
123
|
+
maxLines?: number;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* A span of a text command's text in a font of its own. `start` and `end`
|
|
127
|
+
* count UTF-16 code units, half-open; the runs of a command are sorted and do
|
|
128
|
+
* not overlap. A property left out takes the command's own, and text no run
|
|
129
|
+
* covers paints in the command's font.
|
|
130
|
+
*/
|
|
131
|
+
interface TextRun {
|
|
132
|
+
start: number;
|
|
133
|
+
end: number;
|
|
134
|
+
fontFamily?: string;
|
|
135
|
+
/** Font size in points. */
|
|
136
|
+
fontSize?: number;
|
|
137
|
+
bold?: boolean;
|
|
138
|
+
italic?: boolean;
|
|
139
|
+
underline?: boolean;
|
|
140
|
+
underlineStyle?: 'single' | 'double' | 'singleAccounting' | 'doubleAccounting';
|
|
141
|
+
strike?: boolean;
|
|
142
|
+
/** resolved font color (`#rrggbb`). */
|
|
143
|
+
color?: string;
|
|
144
|
+
baseline?: 'superscript' | 'subscript';
|
|
120
145
|
}
|
|
121
146
|
/**
|
|
122
147
|
* Paint a text run clipped to the cell box: `clip` is the cell rect and
|
|
@@ -141,6 +166,8 @@ interface TextCmd {
|
|
|
141
166
|
bold?: boolean;
|
|
142
167
|
italic?: boolean;
|
|
143
168
|
underline?: boolean;
|
|
169
|
+
/** The kind of `underline` when it is not single. */
|
|
170
|
+
underlineStyle?: 'double' | 'singleAccounting' | 'doubleAccounting';
|
|
144
171
|
strike?: boolean;
|
|
145
172
|
highlight?: string;
|
|
146
173
|
dashedUnderline?: boolean;
|
|
@@ -158,6 +185,8 @@ interface TextCmd {
|
|
|
158
185
|
rotationValign?: 'top' | 'center' | 'bottom';
|
|
159
186
|
stacked?: boolean;
|
|
160
187
|
wrap?: TextWrap;
|
|
188
|
+
/** Spans of `text` in fonts of their own; absent when the cell has no source runs, does not paint its stored text as it is, or its row has no room for the runs' layout. */
|
|
189
|
+
runs?: TextRun[];
|
|
161
190
|
}
|
|
162
191
|
interface NumberFormatLayout {
|
|
163
192
|
left: number;
|
|
@@ -170,10 +199,32 @@ interface NumberFormatLayout {
|
|
|
170
199
|
general?: number;
|
|
171
200
|
overflow?: boolean;
|
|
172
201
|
}
|
|
202
|
+
/** Fractions of an image discarded from each edge; absent edges are `0`. */
|
|
203
|
+
interface ImageCrop {
|
|
204
|
+
left?: number;
|
|
205
|
+
top?: number;
|
|
206
|
+
right?: number;
|
|
207
|
+
bottom?: number;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* A worksheet picture: the image part `assetId` names, its `crop` discarded and
|
|
211
|
+
* the rest stretched over the rect. The host supplies the image, for example
|
|
212
|
+
* from `XlsxDocument.mediaBytes(assetId)`.
|
|
213
|
+
*/
|
|
214
|
+
interface ImageCmd {
|
|
215
|
+
op: 'image';
|
|
216
|
+
x: number;
|
|
217
|
+
y: number;
|
|
218
|
+
w: number;
|
|
219
|
+
h: number;
|
|
220
|
+
assetId: string;
|
|
221
|
+
crop?: ImageCrop;
|
|
222
|
+
clip?: Rect;
|
|
223
|
+
}
|
|
173
224
|
/**
|
|
174
225
|
* One draw command; discriminated on `op`.
|
|
175
226
|
*/
|
|
176
|
-
type DrawCmd = FillRectCmd | PatternFillCmd | LineCmd | PathCmd | TextCmd;
|
|
227
|
+
type DrawCmd = FillRectCmd | PatternFillCmd | LineCmd | PathCmd | TextCmd | ImageCmd;
|
|
177
228
|
/**
|
|
178
229
|
* Grid metadata for the frame: which sheet cells the visible tracks map to and
|
|
179
230
|
* their viewport-local pixel boundaries. `rowOffsets[i]`/`colOffsets[i]` is the
|
|
@@ -188,12 +239,25 @@ type DrawCmd = FillRectCmd | PatternFillCmd | LineCmd | PathCmd | TextCmd;
|
|
|
188
239
|
interface GridMeta {
|
|
189
240
|
startRow: number;
|
|
190
241
|
startCol: number;
|
|
242
|
+
/** Leading tracks pinned by a frozen pane; absent when nothing is frozen. */
|
|
243
|
+
frozenRows?: number;
|
|
244
|
+
frozenCols?: number;
|
|
245
|
+
/** Viewport-pixel freeze line on each axis; absent when there is no split. */
|
|
246
|
+
dividerX?: number;
|
|
247
|
+
dividerY?: number;
|
|
191
248
|
hiddenRowSpans?: [number, number][];
|
|
192
249
|
hiddenColSpans?: [number, number][];
|
|
193
250
|
rowIndices?: number[];
|
|
194
251
|
colIndices?: number[];
|
|
195
252
|
rowOffsets: number[];
|
|
196
253
|
colOffsets: number[];
|
|
254
|
+
/**
|
|
255
|
+
* Full track sizes parallel to `rowOffsets`/`colOffsets`: the sheet-px extent
|
|
256
|
+
* of each visible track, independent of scroll and of a frozen pane clipping
|
|
257
|
+
* its leading edge. Absent on lists that predate the field.
|
|
258
|
+
*/
|
|
259
|
+
rowSizes?: number[];
|
|
260
|
+
colSizes?: number[];
|
|
197
261
|
}
|
|
198
262
|
interface HyperlinkRegion {
|
|
199
263
|
top: number;
|
|
@@ -230,6 +294,8 @@ interface ChartRegion {
|
|
|
230
294
|
clip: Rect;
|
|
231
295
|
/** whether the anchor can be repinned; an absolute one cannot. */
|
|
232
296
|
movable: boolean;
|
|
297
|
+
/** whether the anchor can be resized. A two-cell anchor writes both corners back, so it can. */
|
|
298
|
+
resizable: boolean;
|
|
233
299
|
}
|
|
234
300
|
/** Former name of {@link ChartRegion}, when it carried the label alone. */
|
|
235
301
|
type ChartA11yAttrs = ChartRegion;
|
|
@@ -247,6 +313,8 @@ interface DisplayList {
|
|
|
247
313
|
charts?: ChartRegion[];
|
|
248
314
|
/** The cell budget omitted the bottom of this viewport. */
|
|
249
315
|
truncated?: boolean;
|
|
316
|
+
/** Visible cells whose conditional formats this frame left undecided; until a later frame of the same view decides them, each paints its result from before the last direct edit of one cell or recalculation, or no conditional format. */
|
|
317
|
+
conditionalPending?: number;
|
|
250
318
|
}
|
|
251
319
|
|
|
252
320
|
/**
|
|
@@ -347,4 +415,4 @@ interface SelectionMerges {
|
|
|
347
415
|
mergeAt(row: number, col: number): CellRange | null;
|
|
348
416
|
}
|
|
349
417
|
|
|
350
|
-
export type { CellAddr as C, DisplayList as D, FillRectCmd as F, GeometryPathCommand as G, HyperlinkRegion as H, KeyInput as K, LineCmd as L, MoveOpts as M, PathCmd as P, Rect as R, Selection as S, TextAlign as T, CellRange as a, ChartA11yAttrs as b, ChartRegion as c, Direction as d, DrawCmd as e, GridMeta as f,
|
|
418
|
+
export type { CellAddr as C, DisplayList as D, FillRectCmd as F, GeometryPathCommand as G, HyperlinkRegion as H, ImageCmd as I, KeyInput as K, LineCmd as L, MoveOpts as M, PathCmd as P, Rect as R, Selection as S, TextAlign as T, CellRange as a, ChartA11yAttrs as b, ChartRegion as c, Direction as d, DrawCmd as e, GridMeta as f, ImageCrop as g, PathStroke as h, PatternFillCmd as i, PatternType as j, SelectionAction as k, SelectionData as l, SelectionHidden as m, SelectionLimits as n, SelectionMerges as o, TextCmd as p, TextRun as q, TextWrap as r };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type PreflightWasmInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
2
|
+
/** @experimental */
|
|
3
|
+
interface FontPreflightFace {
|
|
4
|
+
family: string;
|
|
5
|
+
bold: boolean;
|
|
6
|
+
italic: boolean;
|
|
7
|
+
scripts: string[];
|
|
8
|
+
}
|
|
9
|
+
/** @experimental */
|
|
10
|
+
interface FontPreflight {
|
|
11
|
+
faces: FontPreflightFace[];
|
|
12
|
+
/** False when some font rules could not be resolved. */
|
|
13
|
+
complete: boolean;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare const preflightWasmState: {
|
|
17
|
+
status(): "idle" | "loading" | "ready";
|
|
18
|
+
memory(): WebAssembly.Memory | undefined;
|
|
19
|
+
preload(input?: PreflightWasmInput): Promise<void>;
|
|
20
|
+
};
|
|
21
|
+
/** @experimental Load the font preflight wasm on demand. Idempotent. */
|
|
22
|
+
declare function preloadPreflightWasm(input?: PreflightWasmInput): Promise<void>;
|
|
23
|
+
/** @experimental Font faces for the active sheet's A1:T50 region, without opening the engine. */
|
|
24
|
+
declare function fontPreflight(bytes: Uint8Array): Promise<FontPreflight>;
|
|
25
|
+
|
|
26
|
+
export { type FontPreflight, type FontPreflightFace, fontPreflight, preflightWasmState, preloadPreflightWasm };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{c as fontPreflight,a as preflightWasmState,b as preloadPreflightWasm}from'./chunk-KNQOCV7P.js';import'./chunk-S6UYP4BX.js';import'./chunk-O2XFH626.js';
|
package/dist/worker.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import './types-
|
|
1
|
+
import { W as WorkbookReplayReply, a as WorkbookEditPeer, b as WorkbookReplayMethod, c as WorkbookReplayOp } from './editPeer-CVhOkqsr.js';
|
|
2
|
+
export { C as CommandBasis, d as CommandIdentity, e as CommandStatus, O as OpenWorkbookSessionOptions, P as PngExportCode, f as PngExportError, S as SaveResult, g as SaveWarning, h as SaveWarningCode, i as WorkbookAck, j as WorkbookCellGeometry, k as WorkbookCellInputs, l as WorkbookCommand, m as WorkbookCommandContext, n as WorkbookCommandFrame, o as WorkbookCommandFrameRequest, p as WorkbookCommandKind, q as WorkbookCommandPayload, r as WorkbookCommandSelection, s as WorkbookCommandTicket, t as WorkbookEchoHooks, u as WorkbookEditConnection, v as WorkbookEditFrame, w as WorkbookEditPayload, x as WorkbookEditPeerFailedError, y as WorkbookEditPeerOptions, z as WorkbookEditSession, A as WorkbookEditState, B as WorkbookFrame, D as WorkbookFrameOptions, E as WorkbookInitialPaint, F as WorkbookInitialPaintRequest, G as WorkbookPeerHydrationError, H as WorkbookPngOptions, I as WorkbookPngUnavailableError, J as WorkbookRecoveryReplayError, K as WorkbookSession, L as WorkbookSessionEvents, M as WorkbookSessionMethods, N as WorkbookSessionOpenOptions, Q as WorkbookSessionOpenReply, R as WorkbookSessionRecovery, T as WorkbookSessionState, U as WorkbookSharedAck, V as WorkbookSharedCommand, X as WorkbookSharedOutcome, Y as WorkbookSharedWireAck, Z as WorkbookSheetSummary, _ as WorkbookSheetView, $ as WorkbookSubmitOptions, a0 as WorkbookTicketOutcome, a1 as XlsxFontFace, a2 as XlsxPngFont, a3 as XlsxPngOptions, a4 as XlsxPngTarget, a5 as XlsxRangeAddress, a6 as XlsxSheetRef, a7 as createWorkbookEditPeer, a8 as createWorkbookEditSession, a9 as hydratePeer, aa as openWorkbookSession, ab as workbookSessionInternals, ac as workbookSessionRecovery } from './editPeer-CVhOkqsr.js';
|
|
3
|
+
import './types-BXjmeL2E.js';
|
|
4
4
|
import './asyncReplica-DuZEFXjI.js';
|
|
5
5
|
|
|
6
6
|
/** @internal */
|
package/dist/worker.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{j as WorkbookEditPeerFailedError,f as WorkbookRecoveryRefusal,b as WorkbookRecoveryReplayError,k as createWorkbookEditPeer,a as createWorkbookEditSession,i as createWorkbookRecoveryMutators,g as failWorkbookEditPeer,d as hydratePeer,e as openWorkbookSession,h as workbookEditPeerOperations,c as workbookSessionRecovery}from'./chunk-
|
|
1
|
+
export{j as WorkbookEditPeerFailedError,f as WorkbookRecoveryRefusal,b as WorkbookRecoveryReplayError,k as createWorkbookEditPeer,a as createWorkbookEditSession,i as createWorkbookRecoveryMutators,g as failWorkbookEditPeer,d as hydratePeer,e as openWorkbookSession,h as workbookEditPeerOperations,c as workbookSessionRecovery}from'./chunk-QUHWI3QK.js';export{w as WorkbookPeerHydrationError,m as WorkbookPngUnavailableError,K as localNowSerial,s as workbookSessionInternals}from'./chunk-K2GIAESV.js';export{a as PngExportError}from'./chunk-E4HKBJOP.js';import'./chunk-VJDPZ75R.js';import'./chunk-S6UYP4BX.js';import'./chunk-GHET7GIK.js';import'./chunk-JABP2QRG.js';import'./chunk-OUNTNO7R.js';import'./chunk-O2XFH626.js';
|