@sheetxl/react 0.7.4 → 0.7.5
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/README.md +9 -5
- package/browser/cjs/{BOiKu7fplmXOBUig.cjs → BsJnIwNed3pBcnMi.cjs} +1 -1
- package/browser/cjs/{DbXdgK9pTSUI1I-u.cjs → CE955M-HEnxcgkwj.cjs} +1 -1
- package/browser/cjs/index.cjs +4 -4
- package/browser/cjs/{BqAdbrtwf1TyCjaL.cjs → qFryYDUi48aWqUKG.cjs} +1 -1
- package/browser/esm/{Cj77ZdDJ78dbANk8.mjs → B2CNLYOjgaXVEinf.mjs} +1 -1
- package/browser/esm/{CQ3njLLH96oQhgkg.mjs → DXwau-epcLLreIMI.mjs} +1 -1
- package/browser/esm/index.mjs +5 -5
- package/browser/esm/{GqiiUXmtw04mWSQo.mjs → pTOYBvu1_hOPN1vg.mjs} +1 -1
- package/node/esm/{CxgBVPOpunQ-h0kT.mjs → CrjRKu-E7AruHAfn.mjs} +1 -1
- package/node/esm/index.mjs +3 -3
- package/package.json +18 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as On from "react";
|
|
2
2
|
import { forwardRef as ua, useRef as ca, useImperativeHandle as la, useEffect as fa, createElement as yr } from "react";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.
|
|
4
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.5
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
package/browser/esm/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import nt, { memo as vt, useMemo as Se, useState as me, forwardRef as yt, useRef
|
|
|
9
9
|
import { STANDARD_KEY_CHARS as qi, useSelection as dl, useHeaderSelection as Ci, HeaderRenderer as Si, Grid as cl, HeaderDivider as xi, SELECTION_CLIP_INSETS as Zo, defaultSelectionRenderer as ki, useKeyboardEditorOverlay as Ri, Selection as ul, SVGLine as so } from "@sheetxl/grid-react";
|
|
10
10
|
import { unstable_batchedUpdates as Hn, createPortal as gl } from "react-dom";
|
|
11
11
|
/**
|
|
12
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.
|
|
12
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.5
|
|
13
13
|
*
|
|
14
14
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
15
15
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -2358,7 +2358,7 @@ The content is not applied.` }), new X("pasteFormulas", c, { label: "Paste Formu
|
|
|
2358
2358
|
Le.current = !0;
|
|
2359
2359
|
const ne = nt.lazy(async () => {
|
|
2360
2360
|
try {
|
|
2361
|
-
const Ae = await import("./
|
|
2361
|
+
const Ae = await import("./B2CNLYOjgaXVEinf.mjs");
|
|
2362
2362
|
return Le.current = !1, lt.current = !0, b([...c]), Ae;
|
|
2363
2363
|
} catch (Ae) {
|
|
2364
2364
|
return console.warn(Ae), Je.current?.(!1), null;
|
|
@@ -4588,7 +4588,7 @@ const Id = (e) => {
|
|
|
4588
4588
|
}, zd = () => {
|
|
4589
4589
|
const e = Jt(cr), [t] = me(() => new ai());
|
|
4590
4590
|
return Se(() => e || t, [e]);
|
|
4591
|
-
}, Ws = "_script-editor_iy654_5", $s = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" }, Us = nt.lazy(() => import("./
|
|
4591
|
+
}, Ws = "_script-editor_iy654_5", $s = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" }, Us = nt.lazy(() => import("./pTOYBvu1_hOPN1vg.mjs"));
|
|
4592
4592
|
let Bn, Vn, tn = ["define", "require"], el = !1;
|
|
4593
4593
|
const tl = async (e, t, n) => {
|
|
4594
4594
|
const r = e.getModel();
|
|
@@ -4779,7 +4779,7 @@ const Fd = vt(yt((e, t) => {
|
|
|
4779
4779
|
}, [b]), ae = Re(null), Ie = le((oe, Q) => {
|
|
4780
4780
|
d.current = { monaco: Q, editor: oe }, B(!0), ue("Loading Types");
|
|
4781
4781
|
const fe = c.getScripts().getModules().getItems()[0]?.getSource() ?? "";
|
|
4782
|
-
oe.setValue(fe), import("./
|
|
4782
|
+
oe.setValue(fe), import("./DXwau-epcLLreIMI.mjs").then((Z) => Z.c).then(async (Z) => {
|
|
4783
4783
|
ue(""), Z.AutoTypings.create(oe, { shareCache: !0, dontAdaptEditorOptions: !0, monaco: Q, onUpdate: ($, re) => {
|
|
4784
4784
|
if ($.type === "LookedUpPackage" && $.success !== void 0) {
|
|
4785
4785
|
const pe = Q.languages.typescript.typescriptDefaults.getDiagnosticsOptions();
|
|
@@ -4879,7 +4879,7 @@ const Fd = vt(yt((e, t) => {
|
|
|
4879
4879
|
Q.languages.typescript.typescriptDefaults.setDiagnosticsOptions({ noSemanticValidation: !1, noSyntaxValidation: !1, diagnosticCodesToIgnore: [2307] }), Q.languages.json.jsonDefaults.setDiagnosticsOptions({ validate: !0 }), Q.editor.defineTheme("extended", { base: "vs", inherit: !0, rules: [], colors: {} }), Q.editor.defineTheme("extended-dark", { base: "vs-dark", inherit: !0, rules: [], colors: {} }), (async () => {
|
|
4880
4880
|
let fe = !1, Pe = !1;
|
|
4881
4881
|
try {
|
|
4882
|
-
const Z = await (async () => await (await fetch("https://cdn.jsdelivr.net/npm/@sheetxl/sdk@0.7.
|
|
4882
|
+
const Z = await (async () => await (await fetch("https://cdn.jsdelivr.net/npm/@sheetxl/sdk@0.7.5/types/scripting.d.ts")).text())(), $ = Q.Uri.parse('inmemory://model/"sheetxl-models".d.ts');
|
|
4883
4883
|
let re = Q.editor.getModel($);
|
|
4884
4884
|
re ? Pe = !0 : re = Q.editor.createModel(Z, "typescript", $), Q.editor.setModelMarkers(re, "default", []), fe = !0;
|
|
4885
4885
|
} catch (Z) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import x, { memo as ce, useState as q, useRef as h, useCallback as ie, useEffect as M } from "react";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.
|
|
3
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.5
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
package/node/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -2185,7 +2185,7 @@ const Mt = (e2, t2, o2 = null) => {
|
|
|
2185
2185
|
Ce2.current = true;
|
|
2186
2186
|
const e3 = ee.lazy(async () => {
|
|
2187
2187
|
try {
|
|
2188
|
-
const e4 = await import("./
|
|
2188
|
+
const e4 = await import("./CrjRKu-E7AruHAfn.mjs");
|
|
2189
2189
|
return Ce2.current = false, be2.current = true, R2([...k2]), e4;
|
|
2190
2190
|
} catch (e4) {
|
|
2191
2191
|
return console.warn(e4), _2.current?.(false), null;
|
|
@@ -3398,7 +3398,7 @@ const Sn = te(le((e2, t2) => {
|
|
|
3398
3398
|
let t3 = false, o3 = false;
|
|
3399
3399
|
try {
|
|
3400
3400
|
const n3 = await (async () => {
|
|
3401
|
-
const e5 = await fetch("https://cdn.jsdelivr.net/npm/@sheetxl/sdk@0.7.
|
|
3401
|
+
const e5 = await fetch("https://cdn.jsdelivr.net/npm/@sheetxl/sdk@0.7.5/types/scripting.d.ts");
|
|
3402
3402
|
return await e5.text();
|
|
3403
3403
|
})(), l3 = e4.Uri.parse('inmemory://model/"sheetxl-models".d.ts');
|
|
3404
3404
|
let r3 = e4.editor.getModel(l3);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/react",
|
|
3
3
|
"description": "React - React components needed to build advanced grid and spreadsheet UIs.",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.5",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -20,13 +20,25 @@
|
|
|
20
20
|
"*.css",
|
|
21
21
|
"**/*.css"
|
|
22
22
|
],
|
|
23
|
+
"homepage": "https://sheetxl.com",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/sheetxl/sheetxl.git"
|
|
27
|
+
},
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/sheetxl/sheetxl/issues"
|
|
30
|
+
},
|
|
23
31
|
"keywords": [
|
|
24
32
|
"sheetxl",
|
|
25
33
|
"spreadsheet",
|
|
34
|
+
"javascript",
|
|
35
|
+
"typescript",
|
|
36
|
+
"data grid",
|
|
37
|
+
"excel",
|
|
38
|
+
"xlsx",
|
|
26
39
|
"react",
|
|
27
40
|
"office",
|
|
28
41
|
"grid",
|
|
29
|
-
"excel",
|
|
30
42
|
"utilities",
|
|
31
43
|
"automation",
|
|
32
44
|
"charting"
|
|
@@ -37,10 +49,10 @@
|
|
|
37
49
|
"@dnd-kit/sortable": "^10.0.0",
|
|
38
50
|
"@dnd-kit/utilities": "^3.2.2",
|
|
39
51
|
"@monaco-editor/react": "^4.6.0",
|
|
40
|
-
"@sheetxl/grid-react": "^0.7.
|
|
41
|
-
"@sheetxl/sdk": "^0.7.
|
|
42
|
-
"@sheetxl/utils": "^0.7.
|
|
43
|
-
"@sheetxl/utils-react": "^0.7.
|
|
52
|
+
"@sheetxl/grid-react": "^0.7.5",
|
|
53
|
+
"@sheetxl/sdk": "^0.7.5",
|
|
54
|
+
"@sheetxl/utils": "^0.7.5",
|
|
55
|
+
"@sheetxl/utils-react": "^0.7.5",
|
|
44
56
|
"clsx": "^2.1.1",
|
|
45
57
|
"monaco-editor-auto-typings": "^0.4.6",
|
|
46
58
|
"react-merge-refs": "^3.0.2",
|