@sheetxl/react 0.7.17 → 0.7.18
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/{i0k8zvJbIBMgaJYz.cjs → B2Z-q6uB4OUVlmep.cjs} +1 -1
- package/browser/cjs/{D6qYJvKLWYvX5sRZ.cjs → CnBeXdarKrxsJUKt.cjs} +1 -1
- package/browser/cjs/{B6a66zmwCW4-eGDt.cjs → DiWAG5uhebJvyb8d.cjs} +1 -1
- package/browser/cjs/index.cjs +5 -5
- package/browser/esm/{C7_G_J7Udg3rnAvi.mjs → BAdN58KAg_CuIzVN.mjs} +1 -1
- package/browser/esm/{KVlxPuUTtpuhwoz1.mjs → CJrYeLtySgb_1xPA.mjs} +1 -1
- package/browser/esm/{gvTLMpS3g_4xl65x.mjs → CpXsA-dagERdgPQ2.mjs} +1 -1
- package/browser/esm/index.mjs +6 -6
- package/node/esm/{D6cQU9kdJEKxqrvE.mjs → NImE75OO6ooqUwou.mjs} +1 -1
- package/node/esm/index.mjs +4 -4
- package/package.json +5 -5
|
@@ -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.18
|
|
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,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.18
|
|
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.18
|
|
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 Qe, { memo as ht, useMemo as we, useState as ve, forwardRef as yt, useRef
|
|
|
9
9
|
import { STANDARD_KEY_CHARS as yl, useSelection as ri, useHeaderSelection as bl, HeaderRenderer as Cl, Grid as ii, HeaderDivider as ql, SELECTION_CLIP_INSETS as Ko, defaultSelectionRenderer as Sl, useKeyboardEditorOverlay as xl, Selection as li, SVGLine as lo } from "@sheetxl/grid-react";
|
|
10
10
|
import { unstable_batchedUpdates as Ln, createPortal as ai } 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.18
|
|
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.
|
|
@@ -899,7 +899,7 @@ function jl(e) {
|
|
|
899
899
|
be(() => {
|
|
900
900
|
k.current = t, ge();
|
|
901
901
|
}, [t]);
|
|
902
|
-
const B = ee(() => t.
|
|
902
|
+
const B = ee(() => t.getSelectedCell(), [t]), E = ee(async (s, p, q = null, a = !1, y = !0) => {
|
|
903
903
|
const T = s?.label?.(), re = async () => {
|
|
904
904
|
const ae = await Promise.resolve(y && l.showBusy(T ?? "Busy..."));
|
|
905
905
|
try {
|
|
@@ -2368,7 +2368,7 @@ The content is not applied.`, icon: "PasteFormats" }), new Z("pasteFormulas", h,
|
|
|
2368
2368
|
_e.current = !0;
|
|
2369
2369
|
const Q = Qe.lazy(async () => {
|
|
2370
2370
|
try {
|
|
2371
|
-
const Ie = await import("./
|
|
2371
|
+
const Ie = await import("./BAdN58KAg_CuIzVN.mjs");
|
|
2372
2372
|
return _e.current = !1, g.current = !0, D([...h]), Ie;
|
|
2373
2373
|
} catch (Ie) {
|
|
2374
2374
|
return console.warn(Ie), He.current?.(!1), null;
|
|
@@ -4597,8 +4597,8 @@ const Nc = (e) => {
|
|
|
4597
4597
|
}, Lc = () => {
|
|
4598
4598
|
const e = en(ur), [t] = ve(() => new il());
|
|
4599
4599
|
return we(() => e || t, [e]);
|
|
4600
|
-
}, _s = "_script-editor_iy654_5", Gs = { 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" }, Zs = Qe.lazy(() => import("./
|
|
4601
|
-
let Fn, Nn, an = ["define", "require"], Kr = !1, mo = "@0.7.
|
|
4600
|
+
}, _s = "_script-editor_iy654_5", Gs = { 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" }, Zs = Qe.lazy(() => import("./CJrYeLtySgb_1xPA.mjs"));
|
|
4601
|
+
let Fn, Nn, an = ["define", "require"], Kr = !1, mo = "@0.7.18";
|
|
4602
4602
|
mo !== "@local" && mo !== "@0.0.0" || (mo = "");
|
|
4603
4603
|
const js = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${mo}/types/scripting.d.ts`, Yr = async (e, t, n) => {
|
|
4604
4604
|
const r = e.getModel();
|
|
@@ -4795,7 +4795,7 @@ const Pc = ht(yt((e, t) => {
|
|
|
4795
4795
|
}, [D]), Oe = ke(null), $e = ee((K, G) => {
|
|
4796
4796
|
d.current = { monaco: G, editor: K }, E(!0), X("Loading Types");
|
|
4797
4797
|
const de = h?.getScripts().getModules().getItems()[0]?.getSource() ?? "";
|
|
4798
|
-
K.setValue(de), import("./
|
|
4798
|
+
K.setValue(de), import("./CpXsA-dagERdgPQ2.mjs").then((ye) => ye.c).then(async (ye) => {
|
|
4799
4799
|
X(""), ye.AutoTypings.create(K, { shareCache: !0, dontAdaptEditorOptions: !0, monaco: G, onUpdate: (H, J) => {
|
|
4800
4800
|
if (H.type === "LookedUpPackage" && H.success !== void 0) {
|
|
4801
4801
|
const ce = G.languages.typescript.typescriptDefaults.getDiagnosticsOptions();
|
|
@@ -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.18
|
|
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.18
|
|
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.
|
|
@@ -873,7 +873,7 @@ function Ht(e2) {
|
|
|
873
873
|
ce(() => {
|
|
874
874
|
F2.current = r2, te2();
|
|
875
875
|
}, [r2]);
|
|
876
|
-
const le2 = k(() => r2.
|
|
876
|
+
const le2 = k(() => r2.getSelectedCell(), [r2]), re2 = k(async (e3, t2, o2 = null, n2 = false, l2 = true) => {
|
|
877
877
|
const a2 = e3?.label?.(), s2 = async () => {
|
|
878
878
|
const e4 = await Promise.resolve(l2 && y2.showBusy(a2 ?? "Busy..."));
|
|
879
879
|
try {
|
|
@@ -2355,7 +2355,7 @@ const Vt = (e2, t2, o2 = null) => {
|
|
|
2355
2355
|
Ce2.current = true;
|
|
2356
2356
|
const e3 = le.lazy(async () => {
|
|
2357
2357
|
try {
|
|
2358
|
-
const e4 = await import("./
|
|
2358
|
+
const e4 = await import("./NImE75OO6ooqUwou.mjs");
|
|
2359
2359
|
return Ce2.current = false, be2.current = true, S2([...b2]), e4;
|
|
2360
2360
|
} catch (e4) {
|
|
2361
2361
|
return console.warn(e4), _2.current?.(false), null;
|
|
@@ -3278,7 +3278,7 @@ const qn = (e2) => {
|
|
|
3278
3278
|
return ie(() => e2 || t2, [e2]);
|
|
3279
3279
|
}, Cn = "_script-editor_iy654_5", bn = { 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" }, Sn = le.lazy(() => import("@monaco-editor/react"));
|
|
3280
3280
|
let xn, kn, Tn = ["define", "require"], Rn = false;
|
|
3281
|
-
let Mn = "@0.7.
|
|
3281
|
+
let Mn = "@0.7.18";
|
|
3282
3282
|
"@local" !== Mn && "@0.0.0" !== Mn || (Mn = "");
|
|
3283
3283
|
const An = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${Mn}/types/scripting.d.ts`, zn = async (e2, t2, o2) => {
|
|
3284
3284
|
const n2 = e2.getModel();
|
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.18",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"@dnd-kit/sortable": "^10.0.0",
|
|
50
50
|
"@dnd-kit/utilities": "^3.2.2",
|
|
51
51
|
"@monaco-editor/react": "^4.6.0",
|
|
52
|
-
"@sheetxl/grid-react": "^0.7.
|
|
53
|
-
"@sheetxl/sdk": "^0.7.
|
|
54
|
-
"@sheetxl/utils": "^0.7.
|
|
55
|
-
"@sheetxl/utils-react": "^0.7.
|
|
52
|
+
"@sheetxl/grid-react": "^0.7.18",
|
|
53
|
+
"@sheetxl/sdk": "^0.7.18",
|
|
54
|
+
"@sheetxl/utils": "^0.7.18",
|
|
55
|
+
"@sheetxl/utils-react": "^0.7.18",
|
|
56
56
|
"clsx": "^2.1.1",
|
|
57
57
|
"monaco-editor-auto-typings": "^0.4.6",
|
|
58
58
|
"react-merge-refs": "^3.0.2",
|