@sheetxl/react 0.8.0-beta.24 → 0.8.0-beta.25

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.
Files changed (63) hide show
  1. package/browser/esm/{CmoM33qZfV9EioFC.mjs → 1D6OzzpwblKRdWpp.mjs} +1 -1
  2. package/browser/esm/{CXX4sovIFgAQsSxN.mjs → B1Mh7jnLdDLJ8Sbu.mjs} +1 -1
  3. package/browser/esm/{CaV--rSRIoGsErhZ.mjs → B5xlS-NH-I0ojDUL.mjs} +3 -3
  4. package/browser/esm/{B-rvtChAVnzrPJsd.mjs → BEK4faMDytVTvUDQ.mjs} +1 -1
  5. package/browser/esm/{Cgbmuy79jiY1HjS3.mjs → BebYKs4pZjoR0c-G.mjs} +1 -1
  6. package/browser/esm/{CfIPv0YuwhlpYzf2.mjs → Bgh_5UVfWBlRnyMJ.mjs} +6 -6
  7. package/browser/esm/{jmoe5Dbqx1WjBgUO.mjs → BiRwSIwKgCyzpPKl.mjs} +1 -1
  8. package/browser/esm/{CGazs9mfVVzc04Y7.mjs → BxvLQ7TseovEAEQ2.mjs} +5 -5
  9. package/browser/esm/{DHncl8rL4Tri3OBI.mjs → CFL62hRUU3c3h19g.mjs} +1 -1
  10. package/browser/esm/{W00O27emy3mpzSYw.mjs → CU5kNtBMkYQTB6Ou.mjs} +4 -4
  11. package/browser/esm/{BoljuF1xywgBQ3vp.mjs → CVZ1DhJlSINqiTms.mjs} +1 -1
  12. package/browser/esm/{dwz-qrgJG3GabtJ0.mjs → CaWOoS_fS1h9ncuL.mjs} +3 -3
  13. package/browser/esm/{UKEdlUOzahaOstGm.mjs → CmZBuNNcJfNXvtWt.mjs} +1 -1
  14. package/browser/esm/{plaFoOG2sGGR9984.mjs → D0yuUz06KAg8hj5n.mjs} +1 -1
  15. package/browser/esm/{6KeWPjMKNZY8i19M.mjs → DGqaTM3cm7sgOKxo.mjs} +2 -2
  16. package/browser/esm/{DQfqezyi9TgWoADc.mjs → D_Nyujo5EexX7Ik6.mjs} +1 -1
  17. package/browser/esm/{B0asaf6iVJnOyxYq.mjs → DmA3zHUkMLqVc53n.mjs} +1 -1
  18. package/browser/esm/{9t5N76NQ0awbiItG.mjs → DpxsvmUc72eJhaeA.mjs} +2 -2
  19. package/browser/esm/{Dw1dknWgStq1jnIp.mjs → DwBSdG92z7qNJoDF.mjs} +6 -6
  20. package/browser/esm/{ISe4yn20JJcyYnhz.mjs → OUpgfp6QUbCw2JjX.mjs} +2 -2
  21. package/browser/esm/{DK8YNIcwWG9l7BpT.mjs → QhqaS5eOwg1YW-ax.mjs} +3 -3
  22. package/browser/esm/{IF4tK8a7bQsrq8gd.mjs → Qu6b2fE5EuV8rFuH.mjs} +2 -2
  23. package/browser/esm/{By0ADE8R8h3hKM64.mjs → X8pCrVH9mOwzmhAT.mjs} +1 -1
  24. package/browser/esm/chart.mjs +3 -3
  25. package/browser/esm/control.mjs +2 -2
  26. package/browser/esm/{BwuvgXRS-KMp6XCe.mjs → eCXp5pevrfZeVNuS.mjs} +3 -3
  27. package/browser/esm/group.mjs +3 -3
  28. package/browser/esm/index.mjs +98 -90
  29. package/browser/esm/{BuDfdWztNZKCN_Ld.mjs → kElc5xgYrONCnc3w.mjs} +1 -1
  30. package/browser/esm/note.mjs +4 -4
  31. package/browser/esm/picture.mjs +2 -2
  32. package/browser/esm/shape.mjs +2 -2
  33. package/browser/esm/slicer.mjs +4 -4
  34. package/node/esm/{BlahUrDcsABBUCM0.mjs → 8dX5vLA0dfRWFigY.mjs} +1 -1
  35. package/node/esm/{Bub_Mjqm7gIOrcpM.mjs → BGfMqduMj7kHNqFg.mjs} +2 -2
  36. package/node/esm/{Bd_YMUKA8RxBL4G2.mjs → BTUPUAeTO_slGsmB.mjs} +4 -4
  37. package/node/esm/{fFLn4uIFYXSk57YZ.mjs → BU-41nrf91sbcnf0.mjs} +1 -1
  38. package/node/esm/{9vtv3spOcuota3Vb.mjs → BpVN99Qgh2H9lbdr.mjs} +1 -1
  39. package/node/esm/{DUzvBfMhVRALWCyY.mjs → BwwXJwaw7XTRLtn9.mjs} +1 -1
  40. package/node/esm/{CHPFQjpRp8efzowW.mjs → CG3mES3E-4oVlGPQ.mjs} +2 -2
  41. package/node/esm/{DHtgb2GVYcKg4gyl.mjs → CWaUtnvh3coqJWu6.mjs} +2 -2
  42. package/node/esm/{D1Kny6jQY-Z5cM3U.mjs → CYhOtY_qteB8hW0d.mjs} +1 -1
  43. package/node/esm/{xDrQGeYKZL5Q1dWB.mjs → C_HKnyZzG6TtasBb.mjs} +2 -2
  44. package/node/esm/{BYhlpUYwaNUr67Yi.mjs → C_y09rwADHr5kN9t.mjs} +1 -1
  45. package/node/esm/{D2CFdcWIygfybLGD.mjs → CqM5N55n5QSWlEnM.mjs} +1 -1
  46. package/node/esm/{DFc3ldcMwcvqOz8-.mjs → CwaFZna7L5Zw83V-.mjs} +5 -5
  47. package/node/esm/{CtBn6NAJs8ogJXEf.mjs → D-2zoB5MPYwtIAlQ.mjs} +1 -1
  48. package/node/esm/{BUiM5r_ksWRJMWPn.mjs → DJFeOYnJtTPSGy6E.mjs} +1 -1
  49. package/node/esm/{BgCEqNCStGMDZ1QF.mjs → DJkObRi01LRJravR.mjs} +1 -1
  50. package/node/esm/{B0EM467vxmzaUp9t.mjs → D_pCpZrBTiKFUsLL.mjs} +1 -1
  51. package/node/esm/{7HceIR_VkgIhKM8f.mjs → Dp4XRrrKNFPxPGPF.mjs} +1 -1
  52. package/node/esm/{CH0kTLjibrtP2Cbj.mjs → LRacHWC09830qZfm.mjs} +1 -1
  53. package/node/esm/{DXMUS-l19Pg6Apgt.mjs → SaZiz4Ixqhc-dM-f.mjs} +1 -1
  54. package/node/esm/chart.mjs +2 -2
  55. package/node/esm/control.mjs +2 -2
  56. package/node/esm/group.mjs +3 -3
  57. package/node/esm/index.mjs +98 -90
  58. package/node/esm/note.mjs +4 -4
  59. package/node/esm/picture.mjs +5 -5
  60. package/node/esm/shape.mjs +6 -6
  61. package/node/esm/slicer.mjs +4 -4
  62. package/node/esm/{BguHdiclysorJICc.mjs → uwZ4cOz3l7NtSjzd.mjs} +1 -1
  63. package/package.json +7 -7
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { n as e } from "./CH0kTLjibrtP2Cbj.mjs";
7
+ import { n as e } from "./LRacHWC09830qZfm.mjs";
8
8
  import { PictureEditor as t, n as a, r as o, t as n } from "./picture.mjs";
9
9
  import { jsx as s } from "react/jsx-runtime";
10
10
  import { DOMUtils as r, messageKey as c, t as i } from "@sheetxl/utils";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { n as e } from "./B0EM467vxmzaUp9t.mjs";
7
+ import { n as e } from "./D_pCpZrBTiKFUsLL.mjs";
8
8
  import { ChartEditor as t } from "./chart.mjs";
9
9
  import { jsx as a } from "react/jsx-runtime";
10
10
  import { messageKey as s, t as o } from "@sheetxl/utils";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t } from "./DUzvBfMhVRALWCyY.mjs";
8
- import { d as n } from "./Bd_YMUKA8RxBL4G2.mjs";
9
- import { t as e } from "./BguHdiclysorJICc.mjs";
10
- import { n as o } from "./B0EM467vxmzaUp9t.mjs";
7
+ import { t } from "./BwwXJwaw7XTRLtn9.mjs";
8
+ import { d as n } from "./BTUPUAeTO_slGsmB.mjs";
9
+ import { t as e } from "./uwZ4cOz3l7NtSjzd.mjs";
10
+ import { n as o } from "./D_pCpZrBTiKFUsLL.mjs";
11
11
  import { ShapeEditor as r } from "./shape.mjs";
12
12
  import { memo as a, useCallback as s, useReducer as i, useRef as c } from "react";
13
13
  import { jsx as l } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { i as e, n as t, t as r } from "./CHPFQjpRp8efzowW.mjs";
7
+ import { i as e, n as t, t as r } from "./CG3mES3E-4oVlGPQ.mjs";
8
8
  import { forwardRef as o, memo as n, useCallback as l, useLayoutEffect as a, useRef as i } from "react";
9
9
  import { jsx as s } from "react/jsx-runtime";
10
10
  import { useImperativeElement as m } from "@sheetxl/utils-react";
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./DUzvBfMhVRALWCyY.mjs";
7
+ import { t as e } from "./BwwXJwaw7XTRLtn9.mjs";
8
8
  import { IFont as t } from "@sheetxl/sdk";
9
9
  import { memo as n, useEffect as r, useReducer as o, useRef as i } from "react";
10
10
  import { jsx as l, jsxs as d } from "react/jsx-runtime";
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./DUzvBfMhVRALWCyY.mjs";
8
- import { h as t, i as o, p as n } from "./Bd_YMUKA8RxBL4G2.mjs";
7
+ import { t as e } from "./BwwXJwaw7XTRLtn9.mjs";
8
+ import { h as t, i as o, p as n } from "./BTUPUAeTO_slGsmB.mjs";
9
9
  import { forwardRef as i, memo as r, useContext as s, useEffect as l, useReducer as a } from "react";
10
10
  import { jsx as d, jsxs as g } from "react/jsx-runtime";
11
11
  import { useSurfaceState as h } from "@sheetxl/grid-react";
@@ -1,22 +1,22 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { i as e, n as t, r as o } from "./7HceIR_VkgIhKM8f.mjs";
8
- import { n, t as r } from "./DUzvBfMhVRALWCyY.mjs";
9
- import { n as a, t as l } from "./D1Kny6jQY-Z5cM3U.mjs";
10
- import { a as s, i, n as c, o as d, r as u, s as g, t as h } from "./CHPFQjpRp8efzowW.mjs";
11
- import { n as p, t as m } from "./CH0kTLjibrtP2Cbj.mjs";
12
- import { _ as f, a as w, c as v, d as b, f as y, g as C, h as S, i as x, l as k, m as T, n as R, o as q, p as A, r as I, s as M, t as E, u as D, v as P } from "./Bd_YMUKA8RxBL4G2.mjs";
13
- import { t as F } from "./BguHdiclysorJICc.mjs";
14
- import { n as N, r as L, t as _ } from "./BlahUrDcsABBUCM0.mjs";
15
- import { n as z, t as B } from "./B0EM467vxmzaUp9t.mjs";
16
- import { i as O, n as H, r as V, t as $ } from "./9vtv3spOcuota3Vb.mjs";
17
- import { t as W } from "./fFLn4uIFYXSk57YZ.mjs";
18
- import { t as U } from "./DXMUS-l19Pg6Apgt.mjs";
19
- import { t as K } from "./BUiM5r_ksWRJMWPn.mjs";
7
+ import { i as e, n as t, r as o } from "./Dp4XRrrKNFPxPGPF.mjs";
8
+ import { n, t as r } from "./BwwXJwaw7XTRLtn9.mjs";
9
+ import { n as a, t as l } from "./CYhOtY_qteB8hW0d.mjs";
10
+ import { a as s, i, n as c, o as d, r as u, s as g, t as h } from "./CG3mES3E-4oVlGPQ.mjs";
11
+ import { n as p, t as m } from "./LRacHWC09830qZfm.mjs";
12
+ import { _ as f, a as w, c as v, d as b, f as y, g as C, h as S, i as x, l as k, m as T, n as R, o as q, p as A, r as I, s as M, t as E, u as D, v as P } from "./BTUPUAeTO_slGsmB.mjs";
13
+ import { t as F } from "./uwZ4cOz3l7NtSjzd.mjs";
14
+ import { n as N, r as L, t as _ } from "./8dX5vLA0dfRWFigY.mjs";
15
+ import { n as z, t as B } from "./D_pCpZrBTiKFUsLL.mjs";
16
+ import { i as O, n as H, r as V, t as $ } from "./BpVN99Qgh2H9lbdr.mjs";
17
+ import { t as W } from "./BU-41nrf91sbcnf0.mjs";
18
+ import { t as U } from "./SaZiz4Ixqhc-dM-f.mjs";
19
+ import { t as K } from "./DJFeOYnJtTPSGy6E.mjs";
20
20
  import { AddressUtils as G, AutoFill as j, CellControlRegistry as Z, CellImage as X, Color as Y, Condition as J, DateUtils as Q, ExternalRangeClipboardItem as ee, FontUtils as te, FormulaError as oe, Hyperlink as ne, IAnchored as re, IBorders as ae, ICalculation as le, ICell as se, ICellRange as ie, ICellStyle as ce, IColor as de, ICondition as ue, IConditionalFormat as ge, IDataValidation as he, IFill as pe, IFont as me, IFontCollection as fe, IFontStyle as we, IRange as ve, IShape as be, ISheet as ye, IStroke as Ce, ITextFrame as Se, IWorksheetView as xe, LicenseManager as ke, LicenseManager as Te, MovableContentRegistry as Re, NumberFormat as qe, PaintUtils as Ae, RangeClipboardItem as Ie, RichDataRegistry as Me, SYSTEM_COLOR_CSS_PREFIX as Ee, ScalarType as De, ShapeStyleUtils as Pe, TextRotation as Fe, TextStacked as Ne, ThemeCollection as Le, TransactionSaveStateManager as _e, TransactionUndoManager as ze, Workbook as Be, WorkbookIO as Oe, WorkbookOrigin as He, getLanguagePack as Ve, getLocaleProfile as $e, pivotBoxOf as We, pivotControlsIn as Ue, pivotFieldAt as Ke } from "@sheetxl/sdk";
21
21
  import Ge, { Children as je, Fragment as Ze, Suspense as Xe, cloneElement as Ye, createContext as Je, createElement as Qe, createRef as et, forwardRef as tt, isValidElement as ot, lazy as nt, memo as rt, useCallback as at, useContext as lt, useEffect as st, useId as it, useImperativeHandle as ct, useLayoutEffect as dt, useMemo as ut, useReducer as gt, useRef as ht, useState as pt, useSyncExternalStore as mt } from "react";
22
22
  import { Fragment as ft, jsx as wt, jsxs as vt } from "react/jsx-runtime";
@@ -6568,13 +6568,18 @@ var Ic = {
6568
6568
  }, [i]), B = In(() => {
6569
6569
  N.current = null, i.setMode(null);
6570
6570
  }, [i]), O = (t, o, n) => {
6571
- const r = e.getRange(t).getMerges(), a = (kt.isSingleCell(t) || 1 === r.length && kt.isEqualRanges(r[0], t) ? e.getRange({
6572
- rowIndex: o.rowStart,
6573
- colIndex: o.colStart
6574
- }).getMerges().find((e) => !kt.isRangeWithinRange(e, t)) : void 0) ?? o;
6571
+ let r = o;
6572
+ if (!n) {
6573
+ const n = e.getRange(t).getMerges();
6574
+ (kt.isSingleCell(t) || 1 === n.length && kt.isEqualRanges(n[0], t)) && (r = e.getRange({
6575
+ rowIndex: o.rowStart,
6576
+ colIndex: o.colStart
6577
+ }).getMerges().find((e) => !kt.isRangeWithinRange(e, t)) ?? o);
6578
+ }
6579
+ const a = e.getRange(r).getMerges().some((e) => !(kt.isRangeWithinRange(e, r) || n && kt.isRangeWithinRange(e, t)));
6575
6580
  return {
6576
- to: a,
6577
- refused: e.getRange(a).getMerges().some((e) => !kt.isRangeWithinRange(e, a) && (!n || kt.isRangeWithinRange(e, t)))
6581
+ to: r,
6582
+ refused: a
6578
6583
  };
6579
6584
  }, H = In((t, o) => o.insert ? !e.getRange(o.to).canInsertFrom(t, {
6580
6585
  isCut: !o.copy,
@@ -7169,19 +7174,28 @@ var Hc = [], Vc = Object.freeze([]), $c = (e) => {
7169
7174
  const f = kt.mergeRangeCoordValues(h, 2, (e, t) => {
7170
7175
  const o = e[0].value, n = e[1].value;
7171
7176
  if (o.isEqual(n)) return t;
7172
- }), w = [], v = f.length;
7177
+ }), w = [], v = f.length, b = Qo.getDevicePixelRatio(), y = i.getBoundsFromRange({
7178
+ rowStart: 0,
7179
+ colStart: 0,
7180
+ rowEnd: 0,
7181
+ colEnd: 0
7182
+ }), C = Qo.snapDeviceEdge(y.x, b), S = Qo.snapDeviceEdge(y.y, b);
7173
7183
  for (let e = 0; e < v; e++) {
7174
7184
  const t = f[e], o = t.value, n = o.getType() === pe.Type.Pattern ? o.toCSSMask("adaptive") : null;
7175
7185
  let r, a = null;
7176
- if (n) r = n.base, a = wt("div", {
7177
- className: "sxl-cell-fill-marks",
7178
- style: {
7179
- position: "absolute",
7180
- inset: 0,
7181
- ...n.marks
7182
- }
7183
- });
7184
- else {
7186
+ if (n) {
7187
+ r = n.base;
7188
+ const e = i.getBoundsFromRange(t), o = C - Qo.snapDeviceEdge(e.x, b), l = S - Qo.snapDeviceEdge(e.y, b);
7189
+ a = wt("div", {
7190
+ className: "sxl-cell-fill-marks",
7191
+ style: {
7192
+ position: "absolute",
7193
+ inset: 0,
7194
+ ...n.marks,
7195
+ maskPosition: `${o}px ${l}px`
7196
+ }
7197
+ });
7198
+ } else {
7185
7199
  const e = i.getBoundsFromRange(t);
7186
7200
  r = o.toCSS("adaptive", e);
7187
7201
  }
@@ -16413,7 +16427,7 @@ var lf = {
16413
16427
  [Se.VerticalAlignment.Bottom]: "center bottom",
16414
16428
  [Se.VerticalAlignment.Justify]: "center",
16415
16429
  [Se.VerticalAlignment.Distributed]: "center"
16416
- }, cf = Lt("sparkline:paint", () => import("./BgCEqNCStGMDZ1QF.mjs"));
16430
+ }, cf = Lt("sparkline:paint", () => import("./DJkObRi01LRJravR.mjs"));
16417
16431
  var df = (e) => !e.axis && 0 === e.columns.length && 0 === e.markers.length && !e.line?.runs.some((e) => e.length > 1), uf = new class {
16418
16432
  constructor(e, t) {
16419
16433
  this._pictures = /* @__PURE__ */ new Map(), this._queue = [], this._scheduled = !1, this._paint = e, this._maxEntries = Math.max(1, t?.maxEntries ?? 2e3), this._budgetMs = Math.max(1, t?.budgetMs ?? 8);
@@ -22721,8 +22735,8 @@ var xy = rt(tt((e, t) => {
22721
22735
  };
22722
22736
  return {
22723
22737
  getGridSurface: () => ge.current,
22724
- getRowHeaderElement: () => so.current,
22725
- getColumnHeaderElement: () => co.current,
22738
+ getRowHeaderElement: () => ro.current,
22739
+ getColumnHeaderElement: () => so.current,
22726
22740
  focus: (n) => {
22727
22741
  const r = rt.getSession(), a = r?.getCoords().scope;
22728
22742
  (!r || a && a !== o.getName()) && (o?.getView().getMovableSelection().isEmpty() ?? 1 ? e(n) : t());
@@ -22822,14 +22836,8 @@ var xy = rt(tt((e, t) => {
22822
22836
  o,
22823
22837
  pe.isShowZeros(),
22824
22838
  pe.isShowFormulas()
22825
- ]), Qt = ut(() => vo(), []), eo = Oo(Qt, nv(ve.Axis.Column), !1), to = Oo(Qt, nv(ve.Axis.Row), !1), oo = ut(() => ({
22826
- ...Rn("app", te),
22827
- propsPath: Ly
22828
- }), [te]), no = ut(() => ({
22829
- ...Rn("app", te),
22830
- propsPath: _y
22831
- }), [te]), ro = eo ? no : oo, ao = to ? no : oo, so = ht(null), io = ut(() => wt(Hv, {
22832
- ref: so,
22839
+ ]), Qt = ut(() => vo(), []), eo = Oo(Qt, nv(ve.Axis.Column), !1), to = Oo(Qt, nv(ve.Axis.Row), !1), oo = eo ? _y : Ly, no = to ? _y : Ly, ro = ht(null), ao = ut(() => wt(Hv, {
22840
+ ref: ro,
22833
22841
  tabIndex: -1,
22834
22842
  freezeStart: Dt?.[bt.Top],
22835
22843
  oppositeSize: Ie,
@@ -22860,8 +22868,8 @@ var xy = rt(tt((e, t) => {
22860
22868
  b,
22861
22869
  de,
22862
22870
  te
22863
- ]), co = ht(null), uo = ut(() => wt(Hv, {
22864
- ref: co,
22871
+ ]), so = ht(null), io = ut(() => wt(Hv, {
22872
+ ref: so,
22865
22873
  tabIndex: -1,
22866
22874
  freezeStart: Dt?.[bt.Left],
22867
22875
  oppositeSize: Me,
@@ -22890,7 +22898,7 @@ var xy = rt(tt((e, t) => {
22890
22898
  w,
22891
22899
  de,
22892
22900
  te
22893
- ]), go = bw(), mo = kw(o, "cells", go), fo = ut(() => {
22901
+ ]), co = bw(), uo = kw(o, "cells", co), go = ut(() => {
22894
22902
  const e = o.getId();
22895
22903
  return [
22896
22904
  wt(yc, {
@@ -23018,7 +23026,7 @@ var xy = rt(tt((e, t) => {
23018
23026
  wt(tv, { sheet: o }, `resize-indicator-[${e}]`),
23019
23027
  wt(hv, { sheet: o }, `freeze-grip-[${e}]`),
23020
23028
  R,
23021
- ...mo,
23029
+ ...uo,
23022
23030
  wt(Sy, {}, `range-tooltips-[${e}]`)
23023
23031
  ];
23024
23032
  }, [
@@ -23036,7 +23044,7 @@ var xy = rt(tt((e, t) => {
23036
23044
  p,
23037
23045
  m,
23038
23046
  R,
23039
- mo,
23047
+ uo,
23040
23048
  rt,
23041
23049
  C,
23042
23050
  S,
@@ -23047,16 +23055,16 @@ var xy = rt(tt((e, t) => {
23047
23055
  Yt,
23048
23056
  $,
23049
23057
  Ft
23050
- ]), wo = at((e, t) => wt(Yh, {
23058
+ ]), mo = at((e, t) => wt(Yh, {
23051
23059
  pane: e,
23052
23060
  children: t
23053
- }), []), [bo, yo] = pt(!1), Co = ut(() => {
23061
+ }), []), [fo, wo] = pt(!1), bo = ut(() => {
23054
23062
  const e = o.getStyles().getNormal(), t = e.getFont(), n = e.getFill();
23055
23063
  return wt(uw, {
23056
23064
  value: "cells",
23057
23065
  children: wt(Gt, {
23058
23066
  className: "sheetxl-sheet-primary",
23059
- wrapPane: wo,
23067
+ wrapPane: mo,
23060
23068
  style: {
23061
23069
  ...qy,
23062
23070
  cursor: Ot ?? Bt ?? "cell",
@@ -23068,12 +23076,12 @@ var xy = rt(tt((e, t) => {
23068
23076
  ref: he,
23069
23077
  ...V,
23070
23078
  onFirstRender: (e) => {
23071
- yo(!0), V?.onFirstRender?.(e);
23079
+ wo(!0), V?.onFirstRender?.(e);
23072
23080
  },
23073
23081
  freezeLeft: Dt?.[bt.Left],
23074
- propsFreezeLeft: ro,
23082
+ propsFreezeLeft: oo,
23075
23083
  freezeTop: Dt?.[bt.Top],
23076
- propsFreezeTop: ao,
23084
+ propsFreezeTop: no,
23077
23085
  columnCount: Se.width,
23078
23086
  rowCount: Se.height,
23079
23087
  metrics: Qe,
@@ -23081,7 +23089,7 @@ var xy = rt(tt((e, t) => {
23081
23089
  hiddenRowsAt: Kt,
23082
23090
  hiddenColumnsAt: jt,
23083
23091
  viewport: qt,
23084
- children: fo
23092
+ children: go
23085
23093
  }, "grid-main")
23086
23094
  });
23087
23095
  }, [
@@ -23092,9 +23100,9 @@ var xy = rt(tt((e, t) => {
23092
23100
  Ze,
23093
23101
  Xe,
23094
23102
  K,
23095
- fo,
23096
- ro,
23097
- ao
23103
+ go,
23104
+ oo,
23105
+ no
23098
23106
  ]);
23099
23107
  st(() => {
23100
23108
  Y.current || Zt.current.clear();
@@ -23105,7 +23113,7 @@ var xy = rt(tt((e, t) => {
23105
23113
  Ze,
23106
23114
  Xe,
23107
23115
  Ot,
23108
- fo,
23116
+ go,
23109
23117
  Bt
23110
23118
  ]), st(() => {
23111
23119
  Y.current || G();
@@ -23118,15 +23126,15 @@ var xy = rt(tt((e, t) => {
23118
23126
  Ze,
23119
23127
  Xe,
23120
23128
  Ot,
23121
- fo,
23129
+ go,
23122
23130
  Bt
23123
23131
  ]);
23124
- let So = Ry;
23125
- y || (So = {
23126
- ...So,
23132
+ let yo = Ry;
23133
+ y || (yo = {
23134
+ ...yo,
23127
23135
  ...a
23128
23136
  });
23129
- const xo = ee ? "dark" : "light", ko = In((e) => {
23137
+ const Co = ee ? "dark" : "light", So = In((e) => {
23130
23138
  const { style: t, ...n } = e;
23131
23139
  return wt(zv, {
23132
23140
  ...n,
@@ -23137,7 +23145,7 @@ var xy = rt(tt((e, t) => {
23137
23145
  },
23138
23146
  sheet: o
23139
23147
  });
23140
- }, [o]), To = ut(() => {
23148
+ }, [o]), xo = ut(() => {
23141
23149
  const { renderButton: e, renderLevelButton: t, laneSize: n, laneGap: r, bracketGap: a, style: l, ...s } = L ?? {}, i = (e, t) => ({
23142
23150
  ...l,
23143
23151
  gridColumn: e,
@@ -23205,8 +23213,8 @@ var xy = rt(tt((e, t) => {
23205
23213
  L,
23206
23214
  Ce,
23207
23215
  ye
23208
- ]), Ro = vt("div", {
23209
- ...Rn("grid", xo),
23216
+ ]), ko = vt("div", {
23217
+ ...Rn("grid", Co),
23210
23218
  style: {
23211
23219
  gridColumn: "3 / 4",
23212
23220
  gridRow: "3 / 4",
@@ -23215,7 +23223,7 @@ var xy = rt(tt((e, t) => {
23215
23223
  },
23216
23224
  ref: Z,
23217
23225
  children: [
23218
- Co,
23226
+ bo,
23219
23227
  $t,
23220
23228
  wt(bv, {
23221
23229
  style: {
@@ -23227,12 +23235,12 @@ var xy = rt(tt((e, t) => {
23227
23235
  colorCredits: "var(--sxl-color-base-content)"
23228
23236
  })
23229
23237
  ]
23230
- }), qo = er([Ht, ce]);
23231
- let Ao = vt("div", {
23238
+ }), To = er([Ht, ce]);
23239
+ let Ro = vt("div", {
23232
23240
  className: ne,
23233
- style: So,
23241
+ style: yo,
23234
23242
  onTouchStart: () => {
23235
- Eo();
23243
+ Io();
23236
23244
  },
23237
23245
  onFocus: (e) => {
23238
23246
  e.currentTarget.contains(e.relatedTarget) || (tt(!0), O?.(e));
@@ -23240,7 +23248,7 @@ var xy = rt(tt((e, t) => {
23240
23248
  onBlur: (e) => {
23241
23249
  e.currentTarget.contains(e.relatedTarget) || (tt(!1), H?.(e));
23242
23250
  },
23243
- ref: qo,
23251
+ ref: To,
23244
23252
  ...U,
23245
23253
  children: [
23246
23254
  wt(Ia, {
@@ -23251,7 +23259,7 @@ var xy = rt(tt((e, t) => {
23251
23259
  wt("div", {
23252
23260
  className: Jn(n, "sheetxl-sheet", yy),
23253
23261
  ref: c,
23254
- ...Rn("grid", xo),
23262
+ ...Rn("grid", Co),
23255
23263
  style: {
23256
23264
  position: "absolute",
23257
23265
  width: "100%",
@@ -23264,21 +23272,21 @@ var xy = rt(tt((e, t) => {
23264
23272
  children: wt(ho, {
23265
23273
  store: Qt,
23266
23274
  children: vt(yw, {
23267
- value: go,
23275
+ value: co,
23268
23276
  children: [
23269
23277
  W,
23270
- To,
23278
+ xo,
23271
23279
  Wt,
23272
- uo,
23273
23280
  io,
23274
- Ro
23281
+ ao,
23282
+ ko
23275
23283
  ]
23276
23284
  })
23277
23285
  })
23278
23286
  })
23279
23287
  ]
23280
23288
  });
23281
- y && (Ao = wt(on, {
23289
+ y && (Ro = wt(on, {
23282
23290
  style: {
23283
23291
  flex: "1 1 100%",
23284
23292
  width: "100%",
@@ -23292,22 +23300,22 @@ var xy = rt(tt((e, t) => {
23292
23300
  viewport: qt,
23293
23301
  disableTouch: zt,
23294
23302
  zoomable: !0,
23295
- renderScrollbarHorizontal: ko,
23296
- renderScrollbarVertical: ko,
23303
+ renderScrollbarHorizontal: So,
23304
+ renderScrollbarVertical: So,
23297
23305
  ...x,
23298
- children: Ao
23306
+ children: Ro
23299
23307
  })), st(() => {
23300
23308
  Y.current = null, Zt.current.clear(), G?.(), et && Ht.current?.focus();
23301
23309
  }, [o]);
23302
- const [Io, Mo] = pt(!1), Eo = In(() => {
23303
- Io || Mo(!0);
23304
- }, [Io]);
23310
+ const [qo, Ao] = pt(!1), Io = In(() => {
23311
+ qo || Ao(!0);
23312
+ }, [qo]);
23305
23313
  return st(() => {
23306
- if (bo) return "function" == typeof z && z(), "touch" === Qo.detectIt().primaryInput && Eo(), () => {};
23314
+ if (fo) return "function" == typeof z && z(), "touch" === Qo.detectIt().primaryInput && Io(), () => {};
23307
23315
  }, [
23308
23316
  z,
23309
- bo,
23310
- Io
23317
+ fo,
23318
+ qo
23311
23319
  ]), wt(py, {
23312
23320
  sheet: o,
23313
23321
  editable: B,
@@ -23323,7 +23331,7 @@ var xy = rt(tt((e, t) => {
23323
23331
  sheet: o,
23324
23332
  children: wt(Yo, {
23325
23333
  scope: o.getWorkbook(),
23326
- children: Ao
23334
+ children: Ro
23327
23335
  })
23328
23336
  }) })
23329
23337
  })
@@ -23400,10 +23408,10 @@ var Ry = Object.freeze({
23400
23408
  includeMergeOverflow: !0,
23401
23409
  reuseContext: !0,
23402
23410
  features: Kc
23403
- }, My = 20, Ey = 40, Dy = 100, Py = 4, Fy = 18, Ny = "solid var(--sxl-color-base-border, light-dark(rgba(0, 0, 0, 0.26), rgba(255, 255, 255, 0.3))) 1px", Ly = { stroke: "var(--sxl-color-base-border, grey)" }, _y = {
23411
+ }, My = 20, Ey = 40, Dy = 100, Py = 4, Fy = 18, Ny = "solid var(--sxl-color-base-border, light-dark(rgba(0, 0, 0, 0.26), rgba(255, 255, 255, 0.3))) 1px", Ly = { propsPath: { stroke: "var(--sxl-color-base-border, grey)" } }, _y = { propsPath: {
23404
23412
  stroke: "var(--sxl-color-primary)",
23405
23413
  strokeWidth: "2px"
23406
- }, zy = {
23414
+ } }, zy = {
23407
23415
  pointerEvents: "none",
23408
23416
  borderTop: Ny,
23409
23417
  borderLeft: Ny,
@@ -24898,7 +24906,7 @@ var aS = [
24898
24906
  });
24899
24907
  lS.displayName = "SlicerStylePreview";
24900
24908
  var sS = "shape";
24901
- $o.register(sS, () => import("./BYhlpUYwaNUr67Yi.mjs"));
24909
+ $o.register(sS, () => import("./C_y09rwADHr5kN9t.mjs"));
24902
24910
  var iS = (e) => `${sS}:${e}`, cS = (e) => vt("svg", {
24903
24911
  viewBox: "0,0,2048,2048",
24904
24912
  ...e,
package/node/esm/note.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./DUzvBfMhVRALWCyY.mjs";
8
- import { t as o } from "./BlahUrDcsABBUCM0.mjs";
9
- import { t } from "./BUiM5r_ksWRJMWPn.mjs";
7
+ import { t as e } from "./BwwXJwaw7XTRLtn9.mjs";
8
+ import { t as o } from "./8dX5vLA0dfRWFigY.mjs";
9
+ import { t } from "./DJFeOYnJtTPSGy6E.mjs";
10
10
  import { Color as r, IColor as n, IFont as i, IFontStyle as l, IStroke as a } from "@sheetxl/sdk";
11
11
  import { forwardRef as s, memo as d, useReducer as c } from "react";
12
12
  import { jsx as g } from "react/jsx-runtime";
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t } from "./DUzvBfMhVRALWCyY.mjs";
8
- import { n as e } from "./D1Kny6jQY-Z5cM3U.mjs";
9
- import { t as o } from "./CH0kTLjibrtP2Cbj.mjs";
10
- import { i as r, r as i, t as n } from "./CtBn6NAJs8ogJXEf.mjs";
7
+ import { t } from "./BwwXJwaw7XTRLtn9.mjs";
8
+ import { n as e } from "./CYhOtY_qteB8hW0d.mjs";
9
+ import { t as o } from "./LRacHWC09830qZfm.mjs";
10
+ import { i as r, r as i, t as n } from "./D-2zoB5MPYwtIAlQ.mjs";
11
11
  import { forwardRef as l, memo as s, useCallback as a, useEffect as h, useId as c, useMemo as d, useReducer as u, useRef as p, useState as g } from "react";
12
12
  import { jsx as f, jsxs as m } from "react/jsx-runtime";
13
13
  import { useSurfaceStateSetter as v } from "@sheetxl/grid-react";
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.24
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.25
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./DUzvBfMhVRALWCyY.mjs";
8
- import { n as t } from "./D1Kny6jQY-Z5cM3U.mjs";
9
- import { t as n } from "./BlahUrDcsABBUCM0.mjs";
10
- import { t as o } from "./fFLn4uIFYXSk57YZ.mjs";
11
- import { i as r, n as s, r as i, t as l } from "./CtBn6NAJs8ogJXEf.mjs";
7
+ import { t as e } from "./BwwXJwaw7XTRLtn9.mjs";
8
+ import { n as t } from "./CYhOtY_qteB8hW0d.mjs";
9
+ import { t as n } from "./8dX5vLA0dfRWFigY.mjs";
10
+ import { t as o } from "./BU-41nrf91sbcnf0.mjs";
11
+ import { i as r, n as s, r as i, t as l } from "./D-2zoB5MPYwtIAlQ.mjs";
12
12
  import { forwardRef as a, memo as c, useCallback as p, useEffect as d, useMemo as h, useReducer as u, useRef as m, useState as g } from "react";
13
13
  import { jsx as f, jsxs as y } from "react/jsx-runtime";
14
14
  import { messageKey as v } from "@sheetxl/utils";