@sheetxl/react 0.6.17 → 0.6.19
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/browser/cjs/{h8lPGgv9cVj8fFQP.cjs → CR-NCvvs9fGrPpo3.cjs} +1 -1
- package/browser/cjs/{CC5Mt9hnLmMA_80l.cjs → Dc7wlVYwIQGS2M3U.cjs} +1 -1
- package/browser/cjs/index.cjs +10 -10
- package/browser/cjs/{733mgpb8sZEz51Zu.cjs → uZorIwfVPOsnGRmK.cjs} +1 -1
- package/browser/esm/{CBTmZtSd4cl5RgQX.mjs → CLyGkzbKPN5SnksR.mjs} +1 -1
- package/browser/esm/{BrF3cWIyyBnGYHZJ.mjs → DRANb7mus_7OUudL.mjs} +1 -1
- package/browser/esm/{BJF9NFa3EZpBkX1a.mjs → K8x4JdifuZb36Uw8.mjs} +1 -1
- package/browser/esm/index.mjs +940 -940
- package/node/esm/{B5wXNt_H2jBDwij-.mjs → BiHcCoh_FGlIztuz.mjs} +1 -1
- package/node/esm/index.mjs +28 -28
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.19
|
|
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.6.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.19
|
|
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 Rt = (e2, t2, o2 = null) => {
|
|
|
2185
2185
|
Ce2.current = true;
|
|
2186
2186
|
const e3 = Q.lazy(async () => {
|
|
2187
2187
|
try {
|
|
2188
|
-
const e4 = await import("./
|
|
2188
|
+
const e4 = await import("./BiHcCoh_FGlIztuz.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;
|
|
@@ -3107,7 +3107,7 @@ const sn = (e2) => {
|
|
|
3107
3107
|
}, dn = () => {
|
|
3108
3108
|
const e2 = he(an), [t2] = oe(() => new y());
|
|
3109
3109
|
return te(() => e2 || t2, [e2]);
|
|
3110
|
-
}, cn = "_script-editor_iy654_5", gn =
|
|
3110
|
+
}, cn = "_script-editor_iy654_5", gn = { lightbulb: { enabled: false }, tabSize: 2, acceptSuggestionOnCommitCharacter: true, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: true, autoIndent: false, codeLens: true, colorDecorators: true, contextmenu: true, cursorBlinking: "blink", cursorSmoothCaretAnimation: false, cursorStyle: "line", disableLayerHinting: false, disableMonospaceOptimizations: false, dragAndDrop: true, glyphMargin: true, fixedOverflowWidgets: false, folding: true, foldingStrategy: "auto", fontLigatures: false, formatOnPaste: true, formatOnType: false, hideCursorInOverviewRuler: false, highlightActiveIndentGuide: true, links: true, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: false, multiCursorMergeOverlapping: true, multiCursorModifier: "alt", overviewRulerBorder: true, overviewRulerLanes: 2, quickSuggestions: true, quickSuggestionsDelay: 100, readOnly: false, renderControlCharacters: false, renderFinalNewline: true, renderIndentGuides: true, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: true, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: true, selectOnLineNumbers: true, selectionClipboard: true, selectionHighlight: true, showLightbulbIconMode: false, showFoldingControls: "mouseover", smoothScrolling: true, suggestOnTriggerCharacters: true, wordBasedSuggestions: true, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: true, wrappingIndent: "none" }, un = Q.lazy(() => import("@monaco-editor/react"));
|
|
3111
3111
|
let hn, mn, pn = ["define", "require"], fn = false;
|
|
3112
3112
|
const wn = async (e2, t2, o2) => {
|
|
3113
3113
|
const n2 = e2.getModel();
|
|
@@ -3293,28 +3293,7 @@ const bn = ee(ne((e2, t2) => {
|
|
|
3293
3293
|
const t3 = u2.current?.editor;
|
|
3294
3294
|
return !!t3 && (t3.focus(e3), true);
|
|
3295
3295
|
}, [x2]), U2 = le(null), _2 = S((e3, t3) => {
|
|
3296
|
-
u2.current = { monaco: t3, editor: e3 }, V2(true), (
|
|
3297
|
-
if (fn) return;
|
|
3298
|
-
const e4 = (e5, t5) => {
|
|
3299
|
-
try {
|
|
3300
|
-
if (void 0 === t5) try {
|
|
3301
|
-
delete globalThis[e5];
|
|
3302
|
-
} catch (t6) {
|
|
3303
|
-
try {
|
|
3304
|
-
globalThis[e5] = void 0;
|
|
3305
|
-
} catch (e6) {
|
|
3306
|
-
}
|
|
3307
|
-
}
|
|
3308
|
-
else globalThis[e5] = t5;
|
|
3309
|
-
} catch (e6) {
|
|
3310
|
-
}
|
|
3311
|
-
}, t4 = pn.length;
|
|
3312
|
-
for (let o4 = 0; o4 < t4; o4++) {
|
|
3313
|
-
const t5 = pn[o4];
|
|
3314
|
-
e4(t5, hn[t5]);
|
|
3315
|
-
}
|
|
3316
|
-
hn = void 0, fn = true;
|
|
3317
|
-
})(), O2("Loading Types");
|
|
3296
|
+
u2.current = { monaco: t3, editor: e3 }, V2(true), O2("Loading Types");
|
|
3318
3297
|
const o3 = C2.getScripts().getModules().getItems()[0]?.getSource() ?? "";
|
|
3319
3298
|
e3.setValue(o3), import("monaco-editor-auto-typings/custom-editor.js").then(async (o4) => {
|
|
3320
3299
|
O2("");
|
|
@@ -3328,7 +3307,28 @@ const bn = ee(ne((e2, t2) => {
|
|
|
3328
3307
|
} }).then((o5) => {
|
|
3329
3308
|
P2.current = o5;
|
|
3330
3309
|
const n4 = e3.getModel();
|
|
3331
|
-
B2(n4, t3, e3)
|
|
3310
|
+
B2(n4, t3, e3), (() => {
|
|
3311
|
+
if (fn) return;
|
|
3312
|
+
const e4 = (e5, t5) => {
|
|
3313
|
+
try {
|
|
3314
|
+
if (void 0 === t5) try {
|
|
3315
|
+
delete globalThis[e5];
|
|
3316
|
+
} catch (t6) {
|
|
3317
|
+
try {
|
|
3318
|
+
globalThis[e5] = void 0;
|
|
3319
|
+
} catch (e6) {
|
|
3320
|
+
}
|
|
3321
|
+
}
|
|
3322
|
+
else globalThis[e5] = t5;
|
|
3323
|
+
} catch (e6) {
|
|
3324
|
+
}
|
|
3325
|
+
}, t4 = pn.length;
|
|
3326
|
+
for (let o6 = 0; o6 < t4; o6++) {
|
|
3327
|
+
const t5 = pn[o6];
|
|
3328
|
+
e4(t5, hn[t5]);
|
|
3329
|
+
}
|
|
3330
|
+
hn = void 0, fn = true;
|
|
3331
|
+
})();
|
|
3332
3332
|
});
|
|
3333
3333
|
}), e3.addCommand("executeScript", function(e4, ...t4) {
|
|
3334
3334
|
t4?.[0] && E2({ functionName: t4?.[0] });
|
|
@@ -3388,7 +3388,7 @@ const bn = ee(ne((e2, t2) => {
|
|
|
3388
3388
|
}
|
|
3389
3389
|
}
|
|
3390
3390
|
const e3 = C2?.getScripts().getModules().getByName("scripts")?.getSource() ?? "";
|
|
3391
|
-
return Z("div", { style: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "row", position: "relative", boxSizing: "border-box" }, children: [G(de, { children: G(
|
|
3391
|
+
return Z("div", { style: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "row", position: "relative", boxSizing: "border-box" }, children: [G(de, { children: G(un, { theme: a2 ? "extended-dark" : "extended", options: { ...gn, fixedOverflowWidgets: true, readOnly: r2 }, language: "typescript", value: e3, onValidate: (e4) => {
|
|
3392
3392
|
let t3 = false;
|
|
3393
3393
|
const o3 = e4 ? e4.length : 0;
|
|
3394
3394
|
for (let n3 = 0; !t3 && n3 < o3; n3++) 8 === e4[n3].severity && (t3 = true);
|
|
@@ -3398,7 +3398,7 @@ const bn = ee(ne((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/types/scripting.d.ts");
|
|
3401
|
+
const e5 = await fetch("https://cdn.jsdelivr.net/npm/@sheetxl/sdk@0.6.19/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.6.
|
|
4
|
+
"version": "0.6.19",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"@dnd-kit/sortable": "^10.0.0",
|
|
38
38
|
"@dnd-kit/utilities": "^3.2.2",
|
|
39
39
|
"@monaco-editor/react": "^4.6.0",
|
|
40
|
-
"@sheetxl/grid-react": "^0.6.
|
|
41
|
-
"@sheetxl/sdk": "^0.6.
|
|
42
|
-
"@sheetxl/utils": "^0.6.
|
|
43
|
-
"@sheetxl/utils-react": "^0.6.
|
|
40
|
+
"@sheetxl/grid-react": "^0.6.19",
|
|
41
|
+
"@sheetxl/sdk": "^0.6.19",
|
|
42
|
+
"@sheetxl/utils": "^0.6.19",
|
|
43
|
+
"@sheetxl/utils-react": "^0.6.19",
|
|
44
44
|
"clsx": "^2.1.1",
|
|
45
45
|
"monaco-editor-auto-typings": "^0.4.6",
|
|
46
46
|
"react-merge-refs": "^3.0.2",
|