@sheetxl/react 0.7.27 → 0.7.28-beta.1

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 (257) hide show
  1. package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +1 -0
  2. package/browser/cjs/Pl04-kDEQSO8_qFU.cjs +156 -0
  3. package/browser/cjs/index.cjs +24 -24
  4. package/browser/esm/D_suN0U6XvrHxTak.mjs +6286 -0
  5. package/browser/esm/index.mjs +19258 -4911
  6. package/licenses/dependencies.txt +42 -214
  7. package/node/esm/CH084kteEgVy0a8H.mjs +9 -0
  8. package/node/esm/index.mjs +17035 -3691
  9. package/package.json +10 -11
  10. package/resources/contents.json +60 -0
  11. package/resources/locales/contents.json +114 -0
  12. package/resources/locales/de/clipboard.cmd.json +36 -0
  13. package/resources/locales/de/editor.cmd.json +128 -0
  14. package/resources/locales/de/movable.cmd.json +123 -0
  15. package/resources/locales/de/selection.cmd.json +373 -0
  16. package/resources/locales/de/sheet.cmd.json +1563 -0
  17. package/resources/locales/de/table.cmd.json +83 -0
  18. package/resources/locales/de/ui.msg.json +166 -0
  19. package/resources/locales/de/workbook.cmd.json +282 -0
  20. package/resources/locales/en/clipboard.cmd.json +36 -0
  21. package/resources/locales/en/editor.cmd.json +128 -0
  22. package/resources/locales/en/movable.cmd.json +123 -0
  23. package/resources/locales/en/selection.cmd.json +373 -0
  24. package/resources/locales/en/sheet.cmd.json +1563 -0
  25. package/resources/locales/en/table.cmd.json +83 -0
  26. package/resources/locales/en/ui.msg.json +166 -0
  27. package/resources/locales/en/workbook.cmd.json +282 -0
  28. package/types/index.d.ts +2 -1767
  29. package/types/src/border/StaticBorderRenderer.d.ts +32 -0
  30. package/types/src/border/StyledStrokePath.d.ts +14 -0
  31. package/types/src/border/index.d.ts +4 -0
  32. package/types/src/border/useBorders.d.ts +87 -0
  33. package/types/src/cell/ColumnButton.d.ts +45 -0
  34. package/types/src/cell/CornerTriangle.d.ts +27 -0
  35. package/types/src/cell/FormulaCellRenderer.d.ts +34 -0
  36. package/types/src/cell/SheetCellRenderer.d.ts +52 -0
  37. package/types/src/cell/SheetHeaderRenderer.d.ts +37 -0
  38. package/types/src/cell/index.d.ts +7 -0
  39. package/types/src/cell/useFormulaViewAnchor.d.ts +42 -0
  40. package/types/src/chart/ChartEditor.d.ts +17 -0
  41. package/types/src/chart/PresetChartTypeDescriptors.d.ts +35 -0
  42. package/types/src/chart/index.d.ts +3 -0
  43. package/types/src/chart/templates/area-stacked-percent-template.json.d.ts +10 -0
  44. package/types/src/chart/templates/area-stacked-template.json.d.ts +10 -0
  45. package/types/src/chart/templates/area-template.json.d.ts +9 -0
  46. package/types/src/chart/templates/bar-stacked-percent-template.json.d.ts +10 -0
  47. package/types/src/chart/templates/bar-stacked-template.json.d.ts +10 -0
  48. package/types/src/chart/templates/bar-template.json.d.ts +9 -0
  49. package/types/src/chart/templates/column-stacked-percent-template.json.d.ts +10 -0
  50. package/types/src/chart/templates/column-stacked-template.json.d.ts +10 -0
  51. package/types/src/chart/templates/column-template.json.d.ts +9 -0
  52. package/types/src/chart/templates/line-markers-template.json.d.ts +10 -0
  53. package/types/src/chart/templates/line-stacked-markers-template.json.d.ts +11 -0
  54. package/types/src/chart/templates/line-stacked-percent-markers-template.json.d.ts +11 -0
  55. package/types/src/chart/templates/line-stacked-percent-template.json.d.ts +10 -0
  56. package/types/src/chart/templates/line-stacked-template.json.d.ts +10 -0
  57. package/types/src/chart/templates/line-template.json.d.ts +9 -0
  58. package/types/src/chart/templates/pie-doughnut-template.json.d.ts +10 -0
  59. package/types/src/chart/templates/pie-template.json.d.ts +9 -0
  60. package/types/src/chart/templates/scatter-lines-markers-smooth-template.json.d.ts +10 -0
  61. package/types/src/chart/templates/scatter-lines-markers-template.json.d.ts +10 -0
  62. package/types/src/chart/templates/scatter-lines-smooth-template.json.d.ts +10 -0
  63. package/types/src/chart/templates/scatter-lines-template.json.d.ts +10 -0
  64. package/types/src/chart/templates/scatter-markers-template.json.d.ts +10 -0
  65. package/types/src/clipboard/ClipboardCommands.d.ts +68 -0
  66. package/types/src/clipboard/SheetClipboardLayer.d.ts +22 -0
  67. package/types/src/clipboard/index.d.ts +3 -0
  68. package/types/src/commands/Catalog.d.ts +8 -0
  69. package/types/src/commands/CommandRootProvider.d.ts +36 -0
  70. package/types/src/commands/InputClipboardCommands.d.ts +41 -0
  71. package/types/src/commands/InputClipboardInjector.d.ts +16 -0
  72. package/types/src/commands/MainFocusContext.d.ts +13 -0
  73. package/types/src/commands/PaneScopeProvider.d.ts +40 -0
  74. package/types/src/commands/createTransactionalMiddleware.d.ts +49 -0
  75. package/types/src/commands/index.d.ts +7 -0
  76. package/types/src/context/SheetContext.d.ts +18 -0
  77. package/types/src/context/WorkbookContext.d.ts +20 -0
  78. package/types/src/context/index.d.ts +3 -0
  79. package/types/src/editableLabel/EditableLabel.d.ts +28 -0
  80. package/types/src/editableLabel/index.d.ts +2 -0
  81. package/types/src/editor/EditorCommands.d.ts +98 -0
  82. package/types/src/editor/FunctionPreviewPanel.d.ts +166 -0
  83. package/types/src/editor/NamedHintPanel.d.ts +38 -0
  84. package/types/src/editor/NamedItemsPanel.d.ts +59 -0
  85. package/types/src/editor/SheetCellEditorLayer.d.ts +40 -0
  86. package/types/src/editor/SheetCellInput.d.ts +99 -0
  87. package/types/src/editor/SheetEditable.d.ts +53 -0
  88. package/types/src/editor/SheetReferenceHeaderLayer.d.ts +46 -0
  89. package/types/src/editor/SheetReferenceLayer.d.ts +55 -0
  90. package/types/src/editor/formulaCaret.d.ts +84 -0
  91. package/types/src/editor/formulaEval.d.ts +202 -0
  92. package/types/src/editor/formulaPresentation.d.ts +136 -0
  93. package/types/src/editor/formulaText.d.ts +80 -0
  94. package/types/src/editor/functionArgs.d.ts +111 -0
  95. package/types/src/editor/functionHint.d.ts +37 -0
  96. package/types/src/editor/index.d.ts +18 -0
  97. package/types/src/editor/referencePointNav.d.ts +39 -0
  98. package/types/src/editor/useFormulaHints.d.ts +126 -0
  99. package/types/src/editor/useFormulaInput.d.ts +326 -0
  100. package/types/src/editor/useProtectedEditNotice.d.ts +14 -0
  101. package/types/src/editor/useReferenceMode.d.ts +177 -0
  102. package/types/src/form/FormulaInput.d.ts +86 -0
  103. package/types/src/form/FormulaInputParts.d.ts +94 -0
  104. package/types/src/form/index.d.ts +5 -0
  105. package/types/src/form/useEditCommit.d.ts +174 -0
  106. package/types/src/form/useInputField.d.ts +86 -0
  107. package/types/src/frame/CommandContext.d.ts +179 -0
  108. package/types/src/frame/IFrame.d.ts +17 -0
  109. package/types/src/frame/index.d.ts +3 -0
  110. package/types/src/icons/LogoNoPaddingIcon.d.ts +3 -0
  111. package/types/src/icons/LogoTextNoPaddingIcon.d.ts +4 -0
  112. package/types/src/icons/WaterMark.d.ts +12 -0
  113. package/types/src/icons/chart/ChartAreaIcon.d.ts +5 -0
  114. package/types/src/icons/chart/ChartAreaStackedIcon.d.ts +5 -0
  115. package/types/src/icons/chart/ChartAreaStackedPercentIcon.d.ts +5 -0
  116. package/types/src/icons/chart/ChartBarIcon.d.ts +5 -0
  117. package/types/src/icons/chart/ChartBarStackedIcon.d.ts +5 -0
  118. package/types/src/icons/chart/ChartBarStackedPercentIcon.d.ts +5 -0
  119. package/types/src/icons/chart/ChartBubble3DIcon.d.ts +5 -0
  120. package/types/src/icons/chart/ChartBubbleIcon.d.ts +5 -0
  121. package/types/src/icons/chart/ChartColumnIcon.d.ts +5 -0
  122. package/types/src/icons/chart/ChartColumnStackedIcon.d.ts +5 -0
  123. package/types/src/icons/chart/ChartColumnStackedPercentIcon.d.ts +5 -0
  124. package/types/src/icons/chart/ChartLineIcon.d.ts +5 -0
  125. package/types/src/icons/chart/ChartLineMarkersIcon.d.ts +5 -0
  126. package/types/src/icons/chart/ChartLineStackedIcon.d.ts +5 -0
  127. package/types/src/icons/chart/ChartLineStackedMarkersIcon.d.ts +5 -0
  128. package/types/src/icons/chart/ChartLineStackedPercentIcon.d.ts +5 -0
  129. package/types/src/icons/chart/ChartLineStackedPercentMarkersIcon.d.ts +5 -0
  130. package/types/src/icons/chart/ChartPieDoughnutIcon.d.ts +5 -0
  131. package/types/src/icons/chart/ChartPieIcon.d.ts +5 -0
  132. package/types/src/icons/chart/ChartScatterLinesIcon.d.ts +5 -0
  133. package/types/src/icons/chart/ChartScatterLinesMarkersIcon.d.ts +5 -0
  134. package/types/src/icons/chart/ChartScatterLinesMarkersSmoothIcon.d.ts +5 -0
  135. package/types/src/icons/chart/ChartScatterLinesSmoothIcon.d.ts +5 -0
  136. package/types/src/icons/chart/ChartScatterMarkersIcon.d.ts +5 -0
  137. package/types/src/icons/chart/ChartWaterfallIcon.d.ts +5 -0
  138. package/types/src/icons/chart/ThemedChartIcon.d.ts +20 -0
  139. package/types/src/icons/chart/index.d.ts +50 -0
  140. package/types/src/icons/index.d.ts +4 -0
  141. package/types/src/index.d.ts +27 -0
  142. package/types/src/io/WorkbookIO.d.ts +50 -0
  143. package/types/src/io/index.d.ts +2 -0
  144. package/types/src/layer/BorderLayer.d.ts +14 -0
  145. package/types/src/layer/CellErrorLayer.d.ts +49 -0
  146. package/types/src/layer/CellFillLayer.d.ts +15 -0
  147. package/types/src/layer/ConditionalBarLayer.d.ts +41 -0
  148. package/types/src/layer/ConditionalIcons.d.ts +34 -0
  149. package/types/src/layer/ConditionalIconsLayer.d.ts +31 -0
  150. package/types/src/layer/ContextMenuLayer.d.ts +27 -0
  151. package/types/src/layer/HeaderResizerLayer.d.ts +28 -0
  152. package/types/src/layer/HeaderSelectionLayer.d.ts +89 -0
  153. package/types/src/layer/ResizeIndicator.d.ts +19 -0
  154. package/types/src/layer/SheetBackgroundLayer.d.ts +22 -0
  155. package/types/src/layer/SheetCellLayer.d.ts +49 -0
  156. package/types/src/layer/SheetColumnButtonLayer.d.ts +23 -0
  157. package/types/src/layer/SheetGridLineLayer.d.ts +22 -0
  158. package/types/src/layer/SheetHeaderCellLayer.d.ts +30 -0
  159. package/types/src/layer/SheetMovableLayer.d.ts +26 -0
  160. package/types/src/layer/SheetTableCommandLayer.d.ts +16 -0
  161. package/types/src/layer/SpillLayer.d.ts +22 -0
  162. package/types/src/layer/TableLayer.d.ts +22 -0
  163. package/types/src/layer/ValidationIndicatorLayer.d.ts +41 -0
  164. package/types/src/layer/index.d.ts +25 -0
  165. package/types/src/layer/resizeIndicatorState.d.ts +26 -0
  166. package/types/src/layer/useSheetFeatureRegions.d.ts +21 -0
  167. package/types/src/layer/useSheetVisibleCells.d.ts +60 -0
  168. package/types/src/layer/useSheetVisibleDecorations.d.ts +42 -0
  169. package/types/src/layer/useTableHeaderCells.d.ts +22 -0
  170. package/types/src/layer/useVisibleTables.d.ts +27 -0
  171. package/types/src/listener/index.d.ts +3 -0
  172. package/types/src/listener/useModelListener.d.ts +67 -0
  173. package/types/src/listener/useRangeListener.d.ts +15 -0
  174. package/types/src/movable/EmptyFrame.d.ts +16 -0
  175. package/types/src/movable/IMovableArea.d.ts +34 -0
  176. package/types/src/movable/MovableCommands.d.ts +22 -0
  177. package/types/src/movable/MovableFrame.d.ts +48 -0
  178. package/types/src/movable/MovableLayer.d.ts +77 -0
  179. package/types/src/movable/MoveableBundle.d.ts +4 -0
  180. package/types/src/movable/index.d.ts +4 -0
  181. package/types/src/picture/IPictureEditor.d.ts +39 -0
  182. package/types/src/picture/PictureEditor.d.ts +4 -0
  183. package/types/src/picture/index.d.ts +3 -0
  184. package/types/src/selection/SelectionCommands.d.ts +23 -0
  185. package/types/src/selection/SheetSelection.d.ts +53 -0
  186. package/types/src/selection/SheetSelectionLayer.d.ts +30 -0
  187. package/types/src/selection/index.d.ts +4 -0
  188. package/types/src/shape/ShapeEditor.d.ts +16 -0
  189. package/types/src/shape/index.d.ts +2 -0
  190. package/types/src/sheet/ConditionalFormatPresets.d.ts +56 -0
  191. package/types/src/sheet/ISheetElement.d.ts +233 -0
  192. package/types/src/sheet/ISheetHeaderElement.d.ts +138 -0
  193. package/types/src/sheet/NotImplemented.d.ts +3 -0
  194. package/types/src/sheet/SheetCommandProvider.d.ts +57 -0
  195. package/types/src/sheet/SheetCommands.d.ts +75 -0
  196. package/types/src/sheet/SheetElement.d.ts +15 -0
  197. package/types/src/sheet/SheetHeaderElement.d.ts +4 -0
  198. package/types/src/sheet/SheetScrollbar.d.ts +28 -0
  199. package/types/src/sheet/TopLeftCorner.d.ts +17 -0
  200. package/types/src/sheet/index.d.ts +7 -0
  201. package/types/src/slicer/SlicerEditor.d.ts +16 -0
  202. package/types/src/slicer/index.d.ts +2 -0
  203. package/types/src/tabStrip/SheetTab.d.ts +41 -0
  204. package/types/src/tabStrip/Sortable.d.ts +66 -0
  205. package/types/src/tabStrip/Tab.d.ts +19 -0
  206. package/types/src/tabStrip/TabStrip.d.ts +41 -0
  207. package/types/src/tabStrip/TabStripItem.d.ts +36 -0
  208. package/types/src/tabStrip/TabStripRow.d.ts +9 -0
  209. package/types/src/tabStrip/index.d.ts +7 -0
  210. package/types/src/table/TableCommands.d.ts +16 -0
  211. package/types/src/taskPane/ITaskPane.d.ts +72 -0
  212. package/types/src/taskPane/TaskPaneArea.d.ts +144 -0
  213. package/types/src/taskPane/TaskPaneFrame.d.ts +48 -0
  214. package/types/src/taskPane/TaskPaneRegistry.d.ts +108 -0
  215. package/types/src/taskPane/TaskPaneStrip.d.ts +33 -0
  216. package/types/src/taskPane/TaskPaneTitle.d.ts +24 -0
  217. package/types/src/taskPane/index.d.ts +7 -0
  218. package/types/src/taskPane/useTaskPane.d.ts +29 -0
  219. package/types/src/theme/DocThemesContext.d.ts +3 -0
  220. package/types/src/theme/DocThemesProvider.d.ts +15 -0
  221. package/types/src/theme/ThemeState.d.ts +19 -0
  222. package/types/src/theme/buildDocThemeCSS.d.ts +16 -0
  223. package/types/src/theme/buildOOXMLThemeCSS.d.ts +13 -0
  224. package/types/src/theme/createCSSSystemLookup.d.ts +51 -0
  225. package/types/src/theme/index.d.ts +11 -0
  226. package/types/src/theme/useAppColorScheme.d.ts +15 -0
  227. package/types/src/theme/useDocThemes.d.ts +3 -0
  228. package/types/src/theme/useGridColorScheme.d.ts +20 -0
  229. package/types/src/theme/useSystemColors.d.ts +44 -0
  230. package/types/src/undo/UndoCommands.d.ts +28 -0
  231. package/types/src/undo/UndoManagerContext.d.ts +14 -0
  232. package/types/src/undo/index.d.ts +3 -0
  233. package/types/src/workbook/DefaultRenderers.d.ts +14 -0
  234. package/types/src/workbook/GlobalWorkbookElement.d.ts +10 -0
  235. package/types/src/workbook/IWorkbookElement.d.ts +178 -0
  236. package/types/src/workbook/WindowChrome.d.ts +61 -0
  237. package/types/src/workbook/WorkbookCommandContributor.d.ts +24 -0
  238. package/types/src/workbook/WorkbookCommands.d.ts +97 -0
  239. package/types/src/workbook/WorkbookElement.d.ts +9 -0
  240. package/types/src/workbook/WorkbookStrip.d.ts +73 -0
  241. package/types/src/workbook/index.d.ts +17 -0
  242. package/types/src/workbook/resolveWorkbookInput.d.ts +27 -0
  243. package/types/src/workbook/useResolvedWorkbook.d.ts +31 -0
  244. package/types/src/workbook/useWindowChrome.d.ts +24 -0
  245. package/types/src/workbook/useWorkbookApp.d.ts +47 -0
  246. package/types/src/workbook/useWorkbookEncrypted.d.ts +15 -0
  247. package/types/src/workbook/useWorkbookFormat.d.ts +18 -0
  248. package/types/src/workbook/useWorkbookName.d.ts +13 -0
  249. package/types/src/workbook/useWorkbookSaveState.d.ts +29 -0
  250. package/browser/cjs/DNki9dGbSn_gUfd3.cjs +0 -7
  251. package/browser/cjs/Da611GSWMp5ncOGO.cjs +0 -16
  252. package/browser/cjs/F8ZECny0CwW2OV5X.cjs +0 -161
  253. package/browser/esm/BYGSBjns_83FWXAx.mjs +0 -3905
  254. package/browser/esm/CmObbQiLq9AAM7-q.mjs +0 -394
  255. package/browser/esm/Daa2g2QALCIHFgqP.mjs +0 -1377
  256. package/node/assets/style.css +0 -1
  257. package/node/esm/Bu9xI_rgkuupQ2AO.mjs +0 -11
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export interface WatermarkProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ colorLicensee?: string;
5
+ colorError?: string;
6
+ colorCredits?: string;
7
+ credits?: string;
8
+ feature?: string;
9
+ }
10
+ /** @internal */
11
+ export declare const Watermark: React.MemoExoticComponent<(props: WatermarkProps) => React.JSX.Element | null>;
12
+ //# sourceMappingURL=WaterMark.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartAreaIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartAreaIcon;
5
+ //# sourceMappingURL=ChartAreaIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartAreaStackedIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartAreaStackedIcon;
5
+ //# sourceMappingURL=ChartAreaStackedIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartAreaStackedPercentIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartAreaStackedPercentIcon;
5
+ //# sourceMappingURL=ChartAreaStackedPercentIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartBarIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartBarIcon;
5
+ //# sourceMappingURL=ChartBarIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartBarStackedIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartBarStackedIcon;
5
+ //# sourceMappingURL=ChartBarStackedIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartBarStackedPercentIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartBarStackedPercentIcon;
5
+ //# sourceMappingURL=ChartBarStackedPercentIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartBubble3DIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartBubble3DIcon;
5
+ //# sourceMappingURL=ChartBubble3DIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartBubbleIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartBubbleIcon;
5
+ //# sourceMappingURL=ChartBubbleIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartColumnIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartColumnIcon;
5
+ //# sourceMappingURL=ChartColumnIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartColumnStackedIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartColumnStackedIcon;
5
+ //# sourceMappingURL=ChartColumnStackedIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartColumnStackedPercentIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartColumnStackedPercentIcon;
5
+ //# sourceMappingURL=ChartColumnStackedPercentIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartLineIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartLineIcon;
5
+ //# sourceMappingURL=ChartLineIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartLineMarkersIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartLineMarkersIcon;
5
+ //# sourceMappingURL=ChartLineMarkersIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartLineStackedIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartLineStackedIcon;
5
+ //# sourceMappingURL=ChartLineStackedIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartLineStackedMarkersIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartLineStackedMarkersIcon;
5
+ //# sourceMappingURL=ChartLineStackedMarkersIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartLineStackedPercentIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartLineStackedPercentIcon;
5
+ //# sourceMappingURL=ChartLineStackedPercentIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartLineStackedPercentMarkersIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartLineStackedPercentMarkersIcon;
5
+ //# sourceMappingURL=ChartLineStackedPercentMarkersIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartPieDoughnutIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartPieDoughnutIcon;
5
+ //# sourceMappingURL=ChartPieDoughnutIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartPieIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartPieIcon;
5
+ //# sourceMappingURL=ChartPieIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartScatterLinesIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartScatterLinesIcon;
5
+ //# sourceMappingURL=ChartScatterLinesIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartScatterLinesMarkersIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartScatterLinesMarkersIcon;
5
+ //# sourceMappingURL=ChartScatterLinesMarkersIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartScatterLinesMarkersSmoothIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartScatterLinesMarkersSmoothIcon;
5
+ //# sourceMappingURL=ChartScatterLinesMarkersSmoothIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartScatterLinesSmoothIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartScatterLinesSmoothIcon;
5
+ //# sourceMappingURL=ChartScatterLinesSmoothIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartScatterMarkersIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartScatterMarkersIcon;
5
+ //# sourceMappingURL=ChartScatterMarkersIcon.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ /** @internal */
3
+ export declare const ChartWaterfallIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChartWaterfallIcon;
5
+ //# sourceMappingURL=ChartWaterfallIcon.d.ts.map
@@ -0,0 +1,20 @@
1
+ import { default as React } from 'react';
2
+ export interface ThemedChartIconProps extends React.HTMLAttributes<HTMLSpanElement> {
3
+ /**
4
+ * Sizing step for the icon box.
5
+ * @defaultValue 'medium'
6
+ */
7
+ size?: 'small' | 'medium' | 'large';
8
+ }
9
+ /**
10
+ * Sizing + theming wrapper for the office-derived `Chart*Icon` SVGs.
11
+ *
12
+ * Provides the icon box (via cssvars) and maps the icons' semantic path classes
13
+ * (`high_contrast`, `info_tint`, ...) onto the `--sxl-color-*` theme tokens (see
14
+ * `ChartIcon.module.css`). This is the token-based replacement for the former
15
+ * MUI-palette `ThemedIcon`; being self-scoped it themes correctly inside portaled
16
+ * floats. The `icon` class is kept for host styling (e.g. disabled grayscale).
17
+ */
18
+ export declare const ThemedChartIcon: React.MemoExoticComponent<(props: ThemedChartIconProps) => React.JSX.Element>;
19
+ export default ThemedChartIcon;
20
+ //# sourceMappingURL=ThemedChartIcon.d.ts.map
@@ -0,0 +1,50 @@
1
+ import { default as ChartColumnIcon } from './ChartColumnIcon';
2
+ import { default as ChartColumnStackedIcon } from './ChartColumnStackedIcon';
3
+ import { default as ChartColumnStackedPercentIcon } from './ChartColumnStackedPercentIcon';
4
+ import { default as ChartLineIcon } from './ChartLineIcon';
5
+ import { default as ChartLineStackedIcon } from './ChartLineStackedIcon';
6
+ import { default as ChartLineStackedPercentIcon } from './ChartLineStackedPercentIcon';
7
+ import { default as ChartLineMarkersIcon } from './ChartLineMarkersIcon';
8
+ import { default as ChartLineStackedMarkersIcon } from './ChartLineStackedMarkersIcon';
9
+ import { default as ChartLineStackedPercentMarkersIcon } from './ChartLineStackedPercentMarkersIcon';
10
+ import { default as ChartPieIcon } from './ChartPieIcon';
11
+ import { default as ChartPieDoughnutIcon } from './ChartPieDoughnutIcon';
12
+ import { default as ChartBarIcon } from './ChartBarIcon';
13
+ import { default as ChartBarStackedIcon } from './ChartBarStackedIcon';
14
+ import { default as ChartBarStackedPercentIcon } from './ChartBarStackedPercentIcon';
15
+ import { default as ChartAreaIcon } from './ChartAreaIcon';
16
+ import { default as ChartAreaStackedIcon } from './ChartAreaStackedIcon';
17
+ import { default as ChartAreaStackedPercentIcon } from './ChartAreaStackedPercentIcon';
18
+ import { default as ChartScatterMarkersIcon } from './ChartScatterMarkersIcon';
19
+ import { default as ChartScatterLinesMarkersSmoothIcon } from './ChartScatterLinesMarkersSmoothIcon';
20
+ import { default as ChartScatterLinesSmoothIcon } from './ChartScatterLinesSmoothIcon';
21
+ import { default as ChartScatterLinesMarkersIcon } from './ChartScatterLinesMarkersIcon';
22
+ import { default as ChartScatterLinesIcon } from './ChartScatterLinesIcon';
23
+ import { default as ChartBubbleIcon } from './ChartBubbleIcon';
24
+ import { default as ChartBubble3DIcon } from './ChartBubble3DIcon';
25
+ export { ThemedChartIcon, type ThemedChartIconProps } from './ThemedChartIcon';
26
+ export { ChartColumnIcon };
27
+ export { ChartColumnStackedIcon };
28
+ export { ChartColumnStackedPercentIcon };
29
+ export { ChartLineIcon };
30
+ export { ChartLineStackedIcon };
31
+ export { ChartLineStackedPercentIcon };
32
+ export { ChartLineMarkersIcon };
33
+ export { ChartLineStackedMarkersIcon };
34
+ export { ChartLineStackedPercentMarkersIcon };
35
+ export { ChartPieIcon };
36
+ export { ChartPieDoughnutIcon };
37
+ export { ChartBarIcon };
38
+ export { ChartBarStackedIcon };
39
+ export { ChartBarStackedPercentIcon };
40
+ export { ChartAreaIcon };
41
+ export { ChartAreaStackedIcon };
42
+ export { ChartAreaStackedPercentIcon };
43
+ export { ChartScatterMarkersIcon };
44
+ export { ChartScatterLinesMarkersSmoothIcon };
45
+ export { ChartScatterLinesSmoothIcon };
46
+ export { ChartScatterLinesMarkersIcon };
47
+ export { ChartScatterLinesIcon };
48
+ export { ChartBubbleIcon };
49
+ export { ChartBubble3DIcon };
50
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ export * from './LogoNoPaddingIcon';
2
+ export * from './LogoTextNoPaddingIcon';
3
+ export * from './chart';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,27 @@
1
+ export { LicenseManager, type LicenseDetails } from '@sheetxl/sdk';
2
+ export * from './context';
3
+ export * from './cell';
4
+ export * from './editor';
5
+ export * from './selection';
6
+ export * from './border';
7
+ export * from './sheet';
8
+ export * from './picture';
9
+ export * from './shape';
10
+ export * from './chart';
11
+ export * from './slicer';
12
+ export * from './movable';
13
+ export * from './form';
14
+ export * from './editableLabel';
15
+ export * from './tabStrip';
16
+ export * from './icons';
17
+ export * from './layer/ConditionalIcons';
18
+ export * from './clipboard';
19
+ export * from './commands';
20
+ export * from './undo';
21
+ export * from './listener';
22
+ export * from './theme';
23
+ export * from './frame';
24
+ export * from './taskPane';
25
+ export * from './workbook';
26
+ export * from './io';
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,50 @@
1
+ import { IWorkbook, IWorkbookIO, IListener, ITransaction } from '@sheetxl/sdk';
2
+ /**
3
+ * Wraps the IO WorkbookIO class to provide lazy import and adds support for IReactNotifier
4
+ * notification to the read method.
5
+ *
6
+ * @see
7
+ * `@sheetxl/io/IWorkbookIO`
8
+ * @internal
9
+ */
10
+ export declare class _WorkbookIO implements IWorkbookIO {
11
+ protected _loadedIO: IWorkbookIO | null;
12
+ protected _loadPromise: Promise<IWorkbookIO> | null;
13
+ protected _backingStore: IWorkbookIO.IBackingStore | null;
14
+ protected _listeners: Set<IWorkbookIO.Listeners>;
15
+ protected _lazyDefaultStore: IWorkbookIO.IBackingStore;
16
+ protected _loadIO(): Promise<IWorkbookIO>;
17
+ /** @inheritdoc IWorkbookIO.getReadFormats */
18
+ getReadFormats(options?: IWorkbookIO.GetFormatsOptions): Promise<IWorkbookIO.FormatType[]>;
19
+ /** @inheritdoc IWorkbookIO.getWriteFormats */
20
+ getWriteFormats(options?: IWorkbookIO.GetFormatsOptions): Promise<IWorkbookIO.FormatType[]>;
21
+ /** @inheritdoc IWorkbookIO.install */
22
+ install(plugin: IWorkbookIO.Plugin): Promise<void>;
23
+ /** @inheritdoc IWorkbookIO.getOrigin */
24
+ getOrigin(pathOrUrl: string): IWorkbookIO.Origin;
25
+ /** @inheritdoc IWorkbookIO.read */
26
+ read<T extends IWorkbookIO.ReadOptions = IWorkbookIO.ReadOptions>(sourceOrOptions?: string | IWorkbookIO.Origin | T): Promise<IWorkbook | null>;
27
+ /** @inheritdoc IWorkbookIO.writeArrayBuffer */
28
+ writeArrayBuffer<T extends IWorkbookIO.WriteOptions = IWorkbookIO.WriteOptions>(workbook: IWorkbook, options?: T): Promise<ArrayBufferLike>;
29
+ /** @inheritdoc IWorkbookIO.write */
30
+ write<T extends IWorkbookIO.WriteOptions = IWorkbookIO.WriteOptions>(workbook: IWorkbook, target?: string | IWorkbookIO.Origin | T, options?: T): Promise<IWorkbookIO.Origin | null>;
31
+ /** @inheritdoc IWorkbookIO.writeAs */
32
+ writeAs<T extends IWorkbookIO.WriteAsOptions = IWorkbookIO.WriteAsOptions>(workbook: IWorkbook, target: string | IWorkbookIO.Origin, options?: T): Promise<IWorkbookIO.Origin | null>;
33
+ /** @inheritdoc IWorkbookIO.getBackingStore */
34
+ getBackingStore(): IWorkbookIO.IBackingStore;
35
+ /** @inheritdoc IWorkbookIO.setBackingStore */
36
+ setBackingStore(store: IWorkbookIO.IBackingStore | null): void;
37
+ /** @inheritdoc IWorkbookIO.canWrite */
38
+ canWrite(): boolean;
39
+ /** @inheritdoc IWorkbookIO.canRead */
40
+ canRead(): boolean;
41
+ /** @inheritdoc IWorkbookIO.addListeners */
42
+ addListeners(listeners: IWorkbookIO.Listeners, _options?: IListener.Options): IListener.Remove;
43
+ /** @inheritdoc IWorkbookIO.addCommitListener */
44
+ addCommitListener(listener: ITransaction.ICommitSource.IListeners): IListener.Remove;
45
+ }
46
+ /**
47
+ * A Singleton instance that lazy wraps '@sheetxl/io/WorkbookIO'.
48
+ */
49
+ export declare const WorkbookIO: _WorkbookIO;
50
+ //# sourceMappingURL=WorkbookIO.d.ts.map
@@ -0,0 +1,2 @@
1
+ export * from './WorkbookIO';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { IRange, ISheet, ICell } from '@sheetxl/sdk';
2
+ import { LayerProps, IGridPane } from '@sheetxl/grid-react';
3
+ export interface BorderLayerProps extends LayerProps {
4
+ /** Class for the borders host box (devtools identification). */
5
+ className?: string;
6
+ sheet: ISheet;
7
+ getVisibleCells: (pane: IGridPane) => {
8
+ cell: ICell.Coords;
9
+ value?: ICell;
10
+ range?: IRange.Coords;
11
+ }[];
12
+ }
13
+ export declare const BorderLayer: import('react').NamedExoticComponent<BorderLayerProps & import('react').RefAttributes<HTMLDivElement>>;
14
+ //# sourceMappingURL=BorderLayer.d.ts.map
@@ -0,0 +1,49 @@
1
+ import { default as React } from 'react';
2
+ import { RangeCoords } from '@sheetxl/utils';
3
+ import { ISheet } from '@sheetxl/sdk';
4
+ import { StickyState, GridPlacement, LayerProps } from '@sheetxl/grid-react';
5
+ /** The kind of annotation a cell carries (drives the default tip styling). */
6
+ export type CellErrorKind = 'error' | 'warning';
7
+ /** The active hovered annotation passed to a custom {@link CellErrorLayerProps.renderTip}. */
8
+ export interface CellErrorTip {
9
+ /** The hovered cell as a range (the tip's anchor). */
10
+ range: RangeCoords;
11
+ /** `getErrors()` (preferred) or `getWarnings()` joined by newline. */
12
+ message: string;
13
+ /** Which list the message came from. */
14
+ kind: CellErrorKind;
15
+ /** The resolved sticky state (e.g. `state.scrollIntoView()` to reveal the cell). */
16
+ state: StickyState;
17
+ }
18
+ /**
19
+ * Props for {@link CellErrorLayer}.
20
+ */
21
+ export interface CellErrorLayerProps extends Omit<LayerProps, 'children'> {
22
+ /** Class forwarded to the inner layer's host box (devtools identification). */
23
+ className?: string;
24
+ /** The sheet whose cells are probed for `getErrors()` / `getWarnings()`. */
25
+ sheet: ISheet;
26
+ /** Which side of the cell the tip attaches to. @defaultValue `{ side: 'r', align: 'start' }` */
27
+ placement?: GridPlacement;
28
+ /** Gap (px) between the cell edge and the tip. @defaultValue 6 */
29
+ offset?: number;
30
+ /** Offset (px) along the cell edge — only applies to `start` / `end` align (inset from the corner). @defaultValue 2 */
31
+ alignOffset?: number;
32
+ /** Dwell (ms) before the tip shows. @defaultValue 300 */
33
+ openDelay?: number;
34
+ /** Grace (ms) before the tip hides (bridges the gap to the tip). @defaultValue 150 */
35
+ closeDelay?: number;
36
+ /**
37
+ * Optional custom tip renderer. Spread `tipProps` (from context via `useSticky`, or reuse the
38
+ * default) onto the returned element to keep the tip open while hovered. Omit for the default pill.
39
+ */
40
+ renderTip?: (tip: CellErrorTip) => React.ReactNode;
41
+ }
42
+ /**
43
+ * A grid layer that shows a **hover tooltip on cells carrying errors / warnings**. A thin
44
+ * {@link HoverTipLayer} whose probe asks the sheet (`sheet.getCell(coords).getErrors()` /
45
+ * `.getWarnings()`) and anchors on the cell's own range; the tip stays open while hovered. `getComments()`
46
+ * is not yet wired (unimplemented in the model).
47
+ */
48
+ export declare const CellErrorLayer: React.MemoExoticComponent<(props: CellErrorLayerProps) => React.JSX.Element>;
49
+ //# sourceMappingURL=CellErrorLayer.d.ts.map
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ import { IRange, ISheet, ICell } from '@sheetxl/sdk';
3
+ import { IGridPane, LayerProps } from '@sheetxl/grid-react';
4
+ export interface CellFillLayerProps extends LayerProps {
5
+ /** Style for the fills host box. */
6
+ style?: React.CSSProperties;
7
+ sheet: ISheet;
8
+ getVisibleCells: (pane: IGridPane) => {
9
+ cell: ICell.Coords;
10
+ value?: ICell;
11
+ range?: IRange.Coords;
12
+ }[];
13
+ }
14
+ export declare const CellFillLayer: React.NamedExoticComponent<CellFillLayerProps & React.RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=CellFillLayer.d.ts.map
@@ -0,0 +1,41 @@
1
+ import { default as React } from 'react';
2
+ import { ISheet } from '@sheetxl/sdk';
3
+ import { LayerProps } from '@sheetxl/grid-react';
4
+ export interface ConditionalBarLayerProps extends LayerProps {
5
+ /** Class for the layer (devtools identification). */
6
+ className?: string;
7
+ /** Style for the bars host box. */
8
+ style?: React.CSSProperties;
9
+ /** The sheet whose conditional data bars are drawn. */
10
+ sheet: ISheet;
11
+ /**
12
+ * Margin (px, unzoomed) between the cell's edges and the bar, on ALL FOUR sides.
13
+ *
14
+ * @remarks
15
+ * An even margin in pixels, not a fraction of the cell: Excel insets its bars by a hair whatever
16
+ * the row height is, so a tall row gets a tall bar rather than a fat margin.
17
+ *
18
+ * @defaultValue 1
19
+ */
20
+ margin?: number;
21
+ }
22
+ /**
23
+ * The sheet's **conditional data bars** — the in-cell bars a `dataBar` rule draws.
24
+ *
25
+ * @remarks
26
+ * A self-contained grid layer, and a peer of the fills rather than of the cells: a bar paints
27
+ * BEHIND the cell's text (Excel writes the value over its bar), so this mounts between
28
+ * `CellFillLayer` and `SheetCellLayer`. It is a passive decoration end to end — `pointer-events`
29
+ * are off, so clicking a barred cell selects it exactly as clicking an empty one does.
30
+ *
31
+ * It mounts only when a bar is actually in view. {@link useSheetVisibleDecorations} answers that
32
+ * from the SDK's spatial index before touching a cell, so a sheet with no conditional formatting
33
+ * pays a single lookup per frame and renders nothing.
34
+ *
35
+ * Every number it draws with is resolved by the model
36
+ * (`ICell.getConditionalDecorations`): the value already sits on its track and zero already
37
+ * sits at the axis. The range-wide domain those come from — min, max, percentile across every
38
+ * range the rule covers — is not this layer's business and is never recomputed here.
39
+ */
40
+ export declare const ConditionalBarLayer: React.MemoExoticComponent<(props: ConditionalBarLayerProps) => React.JSX.Element | null>;
41
+ //# sourceMappingURL=ConditionalBarLayer.d.ts.map
@@ -0,0 +1,34 @@
1
+ import { IStyle } from '@sheetxl/sdk';
2
+ /**
3
+ * One icon of a conditional-format icon set: which shape to draw and what to tint it.
4
+ */
5
+ export interface ConditionalIconSpec {
6
+ /**
7
+ * A glyph in the `cf` icon pack, namespaced — hand it straight to `DynamicIcon`'s `iconKey`.
8
+ */
9
+ iconKey: string;
10
+ /**
11
+ * A CSS color for the whole glyph.
12
+ *
13
+ * @remarks
14
+ * The `cf` pack's shapes are monochrome and paint `currentColor`, so tinting is just setting
15
+ * `color` on the wrapper — no per-set sprite, and one shape serves every set that uses it.
16
+ */
17
+ color: string;
18
+ }
19
+ /**
20
+ * Returns the icon a band of a built-in set draws, or `null` if the band is out of range.
21
+ *
22
+ * @param set The set to read.
23
+ * @param index The band, `0` being the lowest.
24
+ *
25
+ * @remarks
26
+ * `set` is asked per cell rather than per rule because a rule may borrow each band's icon from a
27
+ * different set — see `IConditionalFormat.IconSetDecoration`.
28
+ */
29
+ export declare const getConditionalIcon: (set: IStyle.IconSet, index: number) => ConditionalIconSpec | null;
30
+ /**
31
+ * Returns every icon of a built-in set, band 0 first — for a picker previewing the set.
32
+ */
33
+ export declare const getConditionalIconSet: (set: IStyle.IconSet) => readonly ConditionalIconSpec[];
34
+ //# sourceMappingURL=ConditionalIcons.d.ts.map
@@ -0,0 +1,31 @@
1
+ import { default as React } from 'react';
2
+ import { ISheet } from '@sheetxl/sdk';
3
+ import { LayerProps } from '@sheetxl/grid-react';
4
+ export interface ConditionalIconsLayerProps extends LayerProps {
5
+ /** Class for the layer (devtools identification). */
6
+ className?: string;
7
+ /** Style for the icons host box. */
8
+ style?: React.CSSProperties;
9
+ /** The sheet whose conditional icon sets are drawn. */
10
+ sheet: ISheet;
11
+ }
12
+ /**
13
+ * The sheet's **conditional icons** — the in-cell marks an `iconSet` rule draws.
14
+ *
15
+ * @remarks
16
+ * A self-contained grid layer above the cells, so an icon is never occluded by text that overflows
17
+ * onto it. It does not have to fight that text for the space either: the gutter it draws in is
18
+ * already reserved by {@link ICell.getInsets}, which every text measurement in the SDK reads — so
19
+ * wrapping, best-fit width and the editor's caret all start after the icon without this layer
20
+ * telling them to.
21
+ *
22
+ * It mounts only when an icon is actually in view; see {@link useSheetVisibleDecorations} for how
23
+ * that is answered without touching a cell.
24
+ *
25
+ * Which glyph a band draws is a lookup, not a sprite: the model reports the band and the set, and
26
+ * `getConditionalIcon` maps that onto a shape from the `cf` icon pack plus a tint. The shapes are
27
+ * monochrome and paint `currentColor`, which is why a set and its gray twin cost one shape between
28
+ * them — and why a rule that borrows a band's icon from another set needs nothing new at all.
29
+ */
30
+ export declare const ConditionalIconsLayer: React.MemoExoticComponent<(props: ConditionalIconsLayerProps) => React.JSX.Element | null>;
31
+ //# sourceMappingURL=ConditionalIconsLayer.d.ts.map
@@ -0,0 +1,27 @@
1
+ import { default as React } from 'react';
2
+ import { ISheet } from '@sheetxl/sdk';
3
+ import { LayerProps } from '@sheetxl/grid-react';
4
+ import { SheetLocation } from '../sheet';
5
+ export interface ContextMenuLayerProps extends LayerProps {
6
+ /** The sheet — the keyboard path anchors the menu to its selected cell (`getSelection().getCoords().cell`). */
7
+ sheet: ISheet;
8
+ /**
9
+ * Returns the coordinates of the cell where the context menu was requested.
10
+ */
11
+ onSheetContextMenu: (location: SheetLocation) => void;
12
+ }
13
+ /**
14
+ * Opens the sheet context menu. Two input paths, cleanly split by mechanism:
15
+ * - **pointer** — a native `contextmenu` DOM event (right-click) hits this layer's tap; the menu opens
16
+ * at the pointer via `getCellFromPointer`.
17
+ * - **keyboard** — `Shift+F10` / the `ContextMenu` (Menu) key resolve the `openContextMenu` command
18
+ * through the pane's command-layer stack (the grid resolver dispatches it, which `preventDefault`s the
19
+ * keydown → the browser never fires its own `contextmenu`, so no double-open). Its callback anchors the
20
+ * menu to the **selected cell** (not the pointer) — that's the keyboard-vs-mouse difference.
21
+ *
22
+ * The command is contributed only when a per-pane command chain is present (the body panes provide one, so
23
+ * `CommandScopeProvider` joins it; the header mount has none and stays pointer-only — headers aren't a
24
+ * keyboard context-menu target).
25
+ */
26
+ export declare const ContextMenuLayer: React.NamedExoticComponent<ContextMenuLayerProps & React.RefAttributes<HTMLDivElement>>;
27
+ //# sourceMappingURL=ContextMenuLayer.d.ts.map
@@ -0,0 +1,28 @@
1
+ import { default as React } from 'react';
2
+ import { ISheetHeader } from '@sheetxl/sdk';
3
+ export interface HeaderResizerLayerProps {
4
+ sheetHeader: ISheetHeader;
5
+ isColumn: boolean;
6
+ oppositeSize?: number;
7
+ onResizeHeadersStart?: (index: number, prevSize: number, description: string) => void;
8
+ /**
9
+ * Called during resize of a header.
10
+ * If there is a negative newSize then these headers will have been hidden
11
+ * This is for the specific header being resized.
12
+ * Note - Other headers may also have been resized if hiding
13
+ */
14
+ onResizeHeaders?: (index: number, newSize: number, prevSize: number) => void;
15
+ /**
16
+ * Called after resize of a header.
17
+ * If there is a positive newSize and a single selection then those
18
+ * headers will also have been resized.
19
+ *
20
+ * Note - Other colHeaderRuns may also have been resized if expanding
21
+ * Note - If this was autoFit then newSize and prevSize will be null.
22
+ */
23
+ onResizeHeadersEnd?: (index: number, newSize: number, description: string) => void;
24
+ onResizeHeadersDown?: (index: number, size: number) => void;
25
+ onResizeHeadersUp?: (index: number) => void;
26
+ }
27
+ export declare const HeaderResizerLayer: React.NamedExoticComponent<HeaderResizerLayerProps & React.RefAttributes<HTMLDivElement>>;
28
+ //# sourceMappingURL=HeaderResizerLayer.d.ts.map