@sheetxl/react 0.8.0-beta.1 → 0.8.0-beta.11

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 (359) hide show
  1. package/browser/esm/1-LEUre9ZLG0OYYB.mjs +197 -0
  2. package/browser/esm/94dxo1A-z8lgiiGw.mjs +128 -0
  3. package/browser/esm/B26QVfjer2oY2ewK.mjs +32 -0
  4. package/browser/esm/B93LSmhnvkxNXTq-.mjs +42 -0
  5. package/browser/esm/BQYS2Yf-EAV_tBLr.mjs +20 -0
  6. package/{node/esm/DAE_NG8D9uT50zUH.mjs → browser/esm/BegvsXeRs7e-9t8k.mjs} +3 -4
  7. package/browser/esm/Bl2BFCQ00fotauKB.mjs +36 -0
  8. package/browser/esm/Bos4Rkp8UTF7QXUB.mjs +31 -0
  9. package/browser/esm/C1pc9F4Rt2C5FKUo.mjs +45 -0
  10. package/browser/esm/CPnnESfZz2jjJd82.mjs +134 -0
  11. package/browser/esm/CRi6DQ3UXmPEv-w_.mjs +729 -0
  12. package/browser/esm/ClAtIfYbsUPA073B.mjs +2706 -0
  13. package/browser/esm/CzRIbc-Lk__VMLKM.mjs +60 -0
  14. package/browser/esm/D2u6THGErqw64KQI.mjs +63 -0
  15. package/browser/esm/DMdsMPT0fWBbTkNn.mjs +67 -0
  16. package/browser/esm/DS66lAIM-9M-YoZQ.mjs +315 -0
  17. package/browser/esm/DgL7Dy-Lqcr1TvW6.mjs +23528 -0
  18. package/browser/esm/Dnh1kpz3v1JKtRD_.mjs +79 -0
  19. package/browser/esm/cQ6xdPFkEcuDlNTN.mjs +75 -0
  20. package/browser/esm/chart.mjs +40 -0
  21. package/browser/esm/control.mjs +216 -0
  22. package/browser/esm/group.mjs +123 -0
  23. package/browser/esm/index.mjs +15460 -8762
  24. package/browser/esm/note.mjs +112 -0
  25. package/browser/esm/picture.mjs +86 -0
  26. package/browser/esm/shape.mjs +7 -0
  27. package/browser/esm/slicer.mjs +276 -0
  28. package/browser/esm/ugfE7YeZALQURDKF.mjs +241 -0
  29. package/licenses/dependencies.txt +319 -600
  30. package/node/esm/6zApGj9DozhFy-bx.mjs +35 -0
  31. package/node/esm/BMVK5plvmBOAIlxP.mjs +80 -0
  32. package/node/esm/BaRfst1euuhquupX.mjs +66 -0
  33. package/node/esm/Be9c1GwQkPo8Piuh.mjs +134 -0
  34. package/node/esm/BiaDWnN3tT7neoRL.mjs +68 -0
  35. package/node/esm/BlxXufqBBg1PtsXd.mjs +8 -0
  36. package/node/esm/C_SNx7TlFEcwbYjx.mjs +2706 -0
  37. package/node/esm/DJPgbB1X22YmhbaR.mjs +242 -0
  38. package/node/esm/DTMTIrYIK1eZswsM.mjs +37 -0
  39. package/node/esm/D_pCpfdQowV_4Aje.mjs +198 -0
  40. package/node/esm/DgGEHydEjD7nfsDB.mjs +76 -0
  41. package/node/esm/Dj5FM7_-YWhCtCCt.mjs +45 -0
  42. package/node/esm/DxQZmb-j4NLUO9Af.mjs +63 -0
  43. package/node/esm/JiQGhLkoL8CJpVvA.mjs +20 -0
  44. package/node/esm/b-XRVRI1fYQQMkTC.mjs +1664 -0
  45. package/node/esm/chart.mjs +40 -0
  46. package/node/esm/control.mjs +216 -0
  47. package/node/esm/gpD-9LDW92phhoma.mjs +32 -0
  48. package/node/esm/group.mjs +123 -0
  49. package/node/esm/index.mjs +15830 -8966
  50. package/node/esm/note.mjs +113 -0
  51. package/node/esm/picture.mjs +86 -0
  52. package/node/esm/shape.mjs +735 -0
  53. package/node/esm/sigD1UFqvPlWUw_9.mjs +128 -0
  54. package/node/esm/slicer.mjs +278 -0
  55. package/node/esm/umljAT66yb3_rURh.mjs +320 -0
  56. package/package.json +55 -14
  57. package/resources/contents.json +24 -0
  58. package/resources/locales/contents.json +56 -0
  59. package/resources/locales/de/chart.cmd.json +82 -0
  60. package/resources/locales/de/movable.cmd.json +154 -0
  61. package/resources/locales/de/picture.cmd.json +31 -0
  62. package/resources/locales/de/selection.cmd.json +8 -0
  63. package/resources/locales/de/shape.cmd.json +17 -0
  64. package/resources/locales/de/sheet.cmd.json +339 -21
  65. package/resources/locales/de/slicer.cmd.json +17 -0
  66. package/resources/locales/de/table.cmd.json +9 -1
  67. package/resources/locales/de/ui.msg.json +321 -3
  68. package/resources/locales/de/workbook.cmd.json +15 -6
  69. package/resources/locales/en/chart.cmd.json +82 -0
  70. package/resources/locales/en/movable.cmd.json +154 -0
  71. package/resources/locales/en/picture.cmd.json +31 -0
  72. package/resources/locales/en/selection.cmd.json +8 -0
  73. package/resources/locales/en/shape.cmd.json +17 -0
  74. package/resources/locales/en/sheet.cmd.json +353 -22
  75. package/resources/locales/en/slicer.cmd.json +17 -0
  76. package/resources/locales/en/table.cmd.json +9 -1
  77. package/resources/locales/en/ui.msg.json +321 -3
  78. package/resources/locales/en/workbook.cmd.json +16 -7
  79. package/types/chart.d.ts +2 -0
  80. package/types/control.d.ts +2 -0
  81. package/types/group.d.ts +2 -0
  82. package/types/note.d.ts +2 -0
  83. package/types/picture.d.ts +2 -0
  84. package/types/shape.d.ts +2 -0
  85. package/types/slicer.d.ts +2 -0
  86. package/types/src/annotation/RangeAnnotations.d.ts +119 -0
  87. package/types/src/annotation/index.d.ts +2 -0
  88. package/types/src/autoFill/AutoFillPresets.d.ts +14 -0
  89. package/types/src/autoFill/FillMenu.d.ts +36 -0
  90. package/types/src/autoFill/FillSeries.d.ts +38 -0
  91. package/types/src/autoFill/index.d.ts +4 -0
  92. package/types/src/border/StaticBorderRenderer.d.ts +19 -2
  93. package/types/src/border/useBorders.d.ts +81 -8
  94. package/types/src/cell/CornerTriangle.d.ts +6 -0
  95. package/types/src/cell/FormulaCellRenderer.d.ts +6 -3
  96. package/types/src/cell/OutlineButton.d.ts +123 -0
  97. package/types/src/cell/SheetCellRenderer.d.ts +2 -2
  98. package/types/src/cell/SheetHeaderRenderer.d.ts +5 -0
  99. package/types/src/cell/StaticCellRenderer.d.ts +57 -0
  100. package/types/src/cell/index.d.ts +2 -0
  101. package/types/src/cell/useFormulaViewAnchor.d.ts +3 -3
  102. package/types/src/chart/ChartCommands.d.ts +15 -0
  103. package/types/src/chart/ChartEditor.d.ts +10 -2
  104. package/types/src/chart/ChartElement.d.ts +111 -0
  105. package/types/src/chart/ChartKind.d.ts +7 -0
  106. package/types/src/chart/PresetChartTypeDescriptors.d.ts +3 -1
  107. package/types/src/chart/index.d.ts +2 -1
  108. package/types/src/chart/paint/_fills.d.ts +24 -0
  109. package/types/src/chart/paint/_graphics.d.ts +46 -0
  110. package/types/src/chart/paint/echarts.d.ts +30 -0
  111. package/types/src/chart/paint/index.d.ts +12 -0
  112. package/types/src/chart/paint/kinds/ChartPaintKind.d.ts +132 -0
  113. package/types/src/chart/paint/kinds/_Area.d.ts +3 -0
  114. package/types/src/chart/paint/kinds/_Bar.d.ts +3 -0
  115. package/types/src/chart/paint/kinds/_BoxWhisker.d.ts +3 -0
  116. package/types/src/chart/paint/kinds/_Bubble.d.ts +3 -0
  117. package/types/src/chart/paint/kinds/_Funnel.d.ts +3 -0
  118. package/types/src/chart/paint/kinds/_Histogram.d.ts +3 -0
  119. package/types/src/chart/paint/kinds/_Line.d.ts +10 -0
  120. package/types/src/chart/paint/kinds/_OfPie.d.ts +3 -0
  121. package/types/src/chart/paint/kinds/_Pie.d.ts +21 -0
  122. package/types/src/chart/paint/kinds/_Placeholder.d.ts +7 -0
  123. package/types/src/chart/paint/kinds/_Radar.d.ts +3 -0
  124. package/types/src/chart/paint/kinds/_Scatter.d.ts +3 -0
  125. package/types/src/chart/paint/kinds/_Sunburst.d.ts +3 -0
  126. package/types/src/chart/paint/kinds/_Surface.d.ts +3 -0
  127. package/types/src/chart/paint/kinds/_Treemap.d.ts +3 -0
  128. package/types/src/chart/paint/kinds/_Waterfall.d.ts +3 -0
  129. package/types/src/chart/paint/kinds/_builtIns.d.ts +12 -0
  130. package/types/src/chart/paint/toEChartsOption.d.ts +31 -0
  131. package/types/src/checklist/ValueChecklist.d.ts +112 -0
  132. package/types/src/checklist/index.d.ts +2 -0
  133. package/types/src/clipboard/ClipboardCommands.d.ts +3 -3
  134. package/types/src/clipboard/SheetClipboardLayer.d.ts +2 -2
  135. package/types/src/commands/ContextualToolbar.d.ts +19 -0
  136. package/types/src/commands/createTransactionalMiddleware.d.ts +4 -1
  137. package/types/src/commands/index.d.ts +1 -0
  138. package/types/src/comment/CommentCardRequest.d.ts +94 -0
  139. package/types/src/comment/CommentUtils.d.ts +43 -0
  140. package/types/src/comment/NoteEditor.d.ts +20 -0
  141. package/types/src/comment/index.d.ts +5 -0
  142. package/types/src/comment/useCommentThread.d.ts +37 -0
  143. package/types/src/comment/useSheetComments.d.ts +28 -0
  144. package/types/src/{sheet → conditionalFormat}/ConditionalFormatPresets.d.ts +6 -6
  145. package/types/src/conditionalFormat/index.d.ts +1 -0
  146. package/types/src/context/WorksheetContext.d.ts +18 -0
  147. package/types/src/context/index.d.ts +1 -1
  148. package/types/src/control/FormControlRenderers.d.ts +22 -0
  149. package/types/src/editor/EditorCommands.d.ts +3 -3
  150. package/types/src/editor/FunctionPreviewPanel.d.ts +15 -1
  151. package/types/src/editor/NamedItemLabel.d.ts +29 -0
  152. package/types/src/editor/NamedItemsPanel.d.ts +13 -2
  153. package/types/src/editor/SheetCellEditorLayer.d.ts +5 -9
  154. package/types/src/editor/SheetCellEditorStartLayer.d.ts +61 -0
  155. package/types/src/editor/SheetCellInput.d.ts +26 -2
  156. package/types/src/editor/SheetEditable.d.ts +14 -8
  157. package/types/src/editor/SheetReferenceLayer.d.ts +4 -4
  158. package/types/src/editor/VirtualKeyboardLayer.d.ts +49 -0
  159. package/types/src/editor/formulaAnchor.d.ts +12 -0
  160. package/types/src/editor/formulaCaret.d.ts +39 -10
  161. package/types/src/editor/formulaEval.d.ts +9 -5
  162. package/types/src/editor/formulaLint.d.ts +36 -0
  163. package/types/src/editor/formulaPresentation.d.ts +7 -0
  164. package/types/src/editor/formulaText.d.ts +17 -5
  165. package/types/src/editor/functionArgs.d.ts +20 -0
  166. package/types/src/editor/index.d.ts +5 -1
  167. package/types/src/editor/pickedReference.d.ts +76 -0
  168. package/types/src/editor/useEditRejectedNotice.d.ts +32 -0
  169. package/types/src/editor/useFormulaHints.d.ts +95 -5
  170. package/types/src/editor/useFormulaInput.d.ts +30 -4
  171. package/types/src/editor/useReferenceMode.d.ts +12 -0
  172. package/types/src/editor/validationAlert.d.ts +24 -0
  173. package/types/src/externalLink/ExternalLinksPaneArgs.d.ts +23 -0
  174. package/types/src/externalLink/index.d.ts +2 -0
  175. package/types/src/form/FormulaInput.d.ts +18 -2
  176. package/types/src/form/FormulaInputParts.d.ts +10 -1
  177. package/types/src/form/useEditCommit.d.ts +23 -3
  178. package/types/src/form/useInputField.d.ts +2 -3
  179. package/types/src/frame/CommandContext.d.ts +189 -7
  180. package/types/src/group/GroupEditor.d.ts +25 -0
  181. package/types/src/index.d.ts +14 -2
  182. package/types/src/io/WorkbookIO.d.ts +2 -0
  183. package/types/src/layer/BorderLayer.d.ts +2 -2
  184. package/types/src/layer/CellErrorLayer.d.ts +26 -9
  185. package/types/src/layer/CellFillLayer.d.ts +2 -2
  186. package/types/src/layer/CellInsertLayer.d.ts +71 -0
  187. package/types/src/layer/CircularIndicatorLayer.d.ts +2 -2
  188. package/types/src/layer/CommentCardLayer.d.ts +43 -0
  189. package/types/src/layer/CommentsLayer.d.ts +35 -0
  190. package/types/src/layer/ConditionalBarLayer.d.ts +2 -2
  191. package/types/src/layer/ConditionalIcons.d.ts +4 -4
  192. package/types/src/layer/ConditionalIconsLayer.d.ts +2 -2
  193. package/types/src/layer/ContextMenuLayer.d.ts +2 -2
  194. package/types/src/layer/FreezeDragLines.d.ts +17 -0
  195. package/types/src/layer/GridFreezeLayer.d.ts +11 -0
  196. package/types/src/layer/HeaderFreezeLayer.d.ts +12 -0
  197. package/types/src/layer/HeaderResizerLayer.d.ts +2 -1
  198. package/types/src/layer/HyperlinkLayer.d.ts +109 -0
  199. package/types/src/layer/MovableKindScope.d.ts +17 -0
  200. package/types/src/layer/ProtectionLayer.d.ts +52 -0
  201. package/types/src/layer/RangeAnnotationLayer.d.ts +71 -0
  202. package/types/src/layer/ResizeIndicator.d.ts +11 -10
  203. package/types/src/layer/ResizeTooltip.d.ts +13 -0
  204. package/types/src/layer/SheetBackgroundLayer.d.ts +3 -3
  205. package/types/src/layer/SheetCellLayer.d.ts +4 -4
  206. package/types/src/layer/SheetColumnButtonLayer.d.ts +2 -2
  207. package/types/src/layer/SheetGridLineLayer.d.ts +11 -13
  208. package/types/src/layer/SheetHeaderCellLayer.d.ts +10 -1
  209. package/types/src/layer/SheetLayers.d.ts +115 -0
  210. package/types/src/layer/SheetMovableLayer.d.ts +2 -2
  211. package/types/src/layer/SheetOutlineLayer.d.ts +40 -0
  212. package/types/src/layer/SheetTableCommandLayer.d.ts +2 -2
  213. package/types/src/layer/SpillLayer.d.ts +2 -2
  214. package/types/src/layer/TableLayer.d.ts +6 -5
  215. package/types/src/layer/TableToolbar.d.ts +42 -0
  216. package/types/src/layer/ValidationDropdownLayer.d.ts +17 -7
  217. package/types/src/layer/ValidationIndicatorLayer.d.ts +11 -5
  218. package/types/src/layer/ValidationPromptLayer.d.ts +65 -0
  219. package/types/src/layer/_tableColor.d.ts +4 -0
  220. package/types/src/layer/cellTip.d.ts +13 -0
  221. package/types/src/layer/freezeDragState.d.ts +21 -0
  222. package/types/src/layer/index.d.ts +14 -1
  223. package/types/src/layer/resizeIndicatorState.d.ts +3 -1
  224. package/types/src/layer/useFreezeDrag.d.ts +22 -0
  225. package/types/src/layer/useNormalBorderLines.d.ts +15 -0
  226. package/types/src/layer/useSheetFeatureRegions.d.ts +2 -2
  227. package/types/src/layer/useSheetVisibleCells.d.ts +2 -2
  228. package/types/src/layer/useSheetVisibleDecorations.d.ts +2 -2
  229. package/types/src/layer/useTableHeaderCells.d.ts +2 -2
  230. package/types/src/layer/useValidationPicker.d.ts +37 -37
  231. package/types/src/layer/useVisibleTables.d.ts +2 -2
  232. package/types/src/layer/validationMark.d.ts +63 -0
  233. package/types/src/listener/index.d.ts +5 -0
  234. package/types/src/listener/useCell.d.ts +29 -0
  235. package/types/src/listener/useCellRange.d.ts +23 -0
  236. package/types/src/listener/useCellValue.d.ts +26 -0
  237. package/types/src/listener/useModelListener.d.ts +8 -8
  238. package/types/src/listener/useRangeSnapshot.d.ts +35 -0
  239. package/types/src/listener/useTable.d.ts +26 -0
  240. package/types/src/movable/ConnectionSites.d.ts +18 -0
  241. package/types/src/movable/DefaultMovable.d.ts +8 -0
  242. package/types/src/movable/IMovableArea.d.ts +56 -0
  243. package/types/src/movable/MovableAdornment.d.ts +26 -0
  244. package/types/src/movable/MovableCommandGroups.d.ts +40 -0
  245. package/types/src/movable/MovableCommands.d.ts +8 -3
  246. package/types/src/movable/MovableControl.d.ts +78 -0
  247. package/types/src/movable/MovableEdit.d.ts +22 -0
  248. package/types/src/movable/MovableFrame.d.ts +16 -13
  249. package/types/src/movable/MovableLayer.d.ts +25 -7
  250. package/types/src/movable/MovableRenderers.d.ts +210 -0
  251. package/types/src/movable/PlaceholderFrames.d.ts +11 -0
  252. package/types/src/movable/RotateHandle.d.ts +37 -0
  253. package/types/src/movable/TextBox.d.ts +34 -0
  254. package/types/src/movable/connect.d.ts +16 -0
  255. package/types/src/movable/framePlacement.d.ts +72 -0
  256. package/types/src/movable/geometry.d.ts +61 -0
  257. package/types/src/movable/index.d.ts +11 -0
  258. package/types/src/movable/pressTarget.d.ts +20 -0
  259. package/types/src/picker/PickerPanel.d.ts +52 -0
  260. package/types/src/picker/cellPickerOpen.d.ts +6 -0
  261. package/types/src/picker/index.d.ts +4 -0
  262. package/types/src/picker/useCellPicker.d.ts +95 -0
  263. package/types/src/picture/PictureCommands.d.ts +12 -0
  264. package/types/src/picture/PictureKind.d.ts +7 -0
  265. package/types/src/picture/index.d.ts +0 -1
  266. package/types/src/protection/ProtectionPaneArgs.d.ts +31 -0
  267. package/types/src/protection/index.d.ts +3 -0
  268. package/types/src/protection/unlockProtectedRanges.d.ts +23 -0
  269. package/types/src/richText/RichTextEditor.d.ts +41 -0
  270. package/types/src/richText/index.d.ts +2 -0
  271. package/types/src/selection/SelectionCommands.d.ts +2 -2
  272. package/types/src/selection/SheetSelectionLayer.d.ts +16 -12
  273. package/types/src/shape/ConnectorControl.d.ts +46 -0
  274. package/types/src/shape/ShapeCommands.d.ts +11 -0
  275. package/types/src/shape/ShapeControl.d.ts +8 -0
  276. package/types/src/shape/ShapeEditor.d.ts +15 -2
  277. package/types/src/shape/ShapeGallery.d.ts +31 -0
  278. package/types/src/shape/ShapeHandles.d.ts +28 -0
  279. package/types/src/shape/ShapeKind.d.ts +7 -0
  280. package/types/src/shape/ShapeSVG.d.ts +22 -0
  281. package/types/src/shape/ShapeText.d.ts +17 -0
  282. package/types/src/shape/icons/ShapeIcons.d.ts +16 -0
  283. package/types/src/shape/icons/_ShapeIconPack.d.ts +4 -0
  284. package/types/src/shape/index.d.ts +3 -1
  285. package/types/src/shape/shapeFrame.d.ts +50 -0
  286. package/types/src/shape/shapeStyle.d.ts +82 -0
  287. package/types/src/sheet/ISheetHeaderElement.d.ts +1 -1
  288. package/types/src/sheet/{ISheetElement.d.ts → IWorksheetElement.d.ts} +107 -77
  289. package/types/src/sheet/OpaqueSheetElement.d.ts +21 -0
  290. package/types/src/sheet/SheetCommandProvider.d.ts +11 -6
  291. package/types/src/sheet/SheetCommands.d.ts +22 -7
  292. package/types/src/sheet/SheetKindIcon.d.ts +14 -0
  293. package/types/src/sheet/SheetOutlineElement.d.ts +70 -0
  294. package/types/src/sheet/SheetPanels.d.ts +11 -0
  295. package/types/src/sheet/SheetScrollbar.d.ts +4 -13
  296. package/types/src/sheet/TopLeftCorner.d.ts +2 -2
  297. package/types/src/sheet/WorksheetElement.d.ts +12 -0
  298. package/types/src/sheet/_freezeAt.d.ts +10 -0
  299. package/types/src/sheet/_useHeaderMetrics.d.ts +11 -0
  300. package/types/src/sheet/circularReferences.d.ts +12 -4
  301. package/types/src/sheet/index.d.ts +6 -3
  302. package/types/src/sheet/useCycleHighlight.d.ts +21 -0
  303. package/types/src/slicer/SlicerCommands.d.ts +10 -0
  304. package/types/src/slicer/SlicerEditor.d.ts +8 -2
  305. package/types/src/slicer/SlicerKind.d.ts +7 -0
  306. package/types/src/slicer/SlicerStylePreview.d.ts +18 -0
  307. package/types/src/slicer/index.d.ts +2 -1
  308. package/types/src/slicer/slicerStyles.d.ts +32 -0
  309. package/types/src/tabStrip/SheetTab.d.ts +1 -1
  310. package/types/src/tabStrip/TabStrip.d.ts +7 -0
  311. package/types/src/table/TableCommands.d.ts +2 -2
  312. package/types/src/taskPane/ITaskPane.d.ts +12 -1
  313. package/types/src/taskPane/MovablePane.d.ts +17 -0
  314. package/types/src/taskPane/TaskPaneArea.d.ts +7 -0
  315. package/types/src/taskPane/index.d.ts +1 -0
  316. package/types/src/theme/ThemeState.d.ts +14 -1
  317. package/types/src/theme/buildOOXMLThemeCSS.d.ts +2 -2
  318. package/types/src/theme/useGridColorScheme.d.ts +2 -2
  319. package/types/src/theme/useSystemColors.d.ts +2 -2
  320. package/types/src/workbook/DefaultMovableRenderers.d.ts +20 -0
  321. package/types/src/workbook/DefaultRenderers.d.ts +3 -2
  322. package/types/src/workbook/IWorkbookElement.d.ts +51 -5
  323. package/types/src/workbook/WorkbookCommands.d.ts +2 -4
  324. package/types/src/workbook/WorkbookStrip.d.ts +9 -0
  325. package/types/src/workbook/_followOrigin.d.ts +9 -0
  326. package/types/src/workbook/useWorkbookFormat.d.ts +3 -3
  327. package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +0 -1
  328. package/browser/cjs/Pl04-kDEQSO8_qFU.cjs +0 -156
  329. package/browser/cjs/index.cjs +0 -35
  330. package/browser/esm/SJMJzBwlXTJ9QIO5.mjs +0 -6286
  331. package/types/src/chart/templates/area-stacked-percent-template.json.d.ts +0 -10
  332. package/types/src/chart/templates/area-stacked-template.json.d.ts +0 -10
  333. package/types/src/chart/templates/area-template.json.d.ts +0 -9
  334. package/types/src/chart/templates/bar-stacked-percent-template.json.d.ts +0 -10
  335. package/types/src/chart/templates/bar-stacked-template.json.d.ts +0 -10
  336. package/types/src/chart/templates/bar-template.json.d.ts +0 -9
  337. package/types/src/chart/templates/column-stacked-percent-template.json.d.ts +0 -10
  338. package/types/src/chart/templates/column-stacked-template.json.d.ts +0 -10
  339. package/types/src/chart/templates/column-template.json.d.ts +0 -9
  340. package/types/src/chart/templates/line-markers-template.json.d.ts +0 -10
  341. package/types/src/chart/templates/line-stacked-markers-template.json.d.ts +0 -11
  342. package/types/src/chart/templates/line-stacked-percent-markers-template.json.d.ts +0 -11
  343. package/types/src/chart/templates/line-stacked-percent-template.json.d.ts +0 -10
  344. package/types/src/chart/templates/line-stacked-template.json.d.ts +0 -10
  345. package/types/src/chart/templates/line-template.json.d.ts +0 -9
  346. package/types/src/chart/templates/pie-doughnut-template.json.d.ts +0 -10
  347. package/types/src/chart/templates/pie-template.json.d.ts +0 -9
  348. package/types/src/chart/templates/scatter-lines-markers-smooth-template.json.d.ts +0 -10
  349. package/types/src/chart/templates/scatter-lines-markers-template.json.d.ts +0 -10
  350. package/types/src/chart/templates/scatter-lines-smooth-template.json.d.ts +0 -10
  351. package/types/src/chart/templates/scatter-lines-template.json.d.ts +0 -10
  352. package/types/src/chart/templates/scatter-markers-template.json.d.ts +0 -10
  353. package/types/src/context/SheetContext.d.ts +0 -18
  354. package/types/src/editor/useProtectedEditNotice.d.ts +0 -14
  355. package/types/src/layer/validationList.d.ts +0 -84
  356. package/types/src/list/SheetValueList.d.ts +0 -93
  357. package/types/src/list/index.d.ts +0 -2
  358. package/types/src/movable/MoveableBundle.d.ts +0 -4
  359. package/types/src/sheet/SheetElement.d.ts +0 -15
@@ -0,0 +1,40 @@
1
+ import { default as React } from 'react';
2
+ import { IRange, IWorksheet } from '@sheetxl/sdk';
3
+ import { LayerProps } from '@sheetxl/grid-react';
4
+ import { OutlineButtonProps } from '../cell/OutlineButton';
5
+ export interface SheetOutlineLayerProps extends LayerProps {
6
+ /** The sheet whose outline is drawn. */
7
+ sheet: IWorksheet;
8
+ /** Rows or columns. */
9
+ axis: IRange.Axis;
10
+ /** The lanes across the gutter: one per level, plus one. */
11
+ lanes: number;
12
+ /** Renders a group's collapse / expand button. Defaults to `OutlineButton`. */
13
+ renderButton?: (props: OutlineButtonProps) => React.ReactNode;
14
+ /**
15
+ * The space around the buttons, in pixels: between neighbors, before the first and after the last.
16
+ *
17
+ * @defaultValue 1
18
+ */
19
+ laneGap?: number;
20
+ /**
21
+ * Space between a bracket's end and its button, in pixels.
22
+ *
23
+ * @defaultValue 0
24
+ */
25
+ bracketGap?: number;
26
+ }
27
+ /**
28
+ * The outline gutter's layer: for each group in view, a bracket beside its details and a button on
29
+ * its summary that collapses or expands it; and beside each detail header a dot, as Excel draws.
30
+ *
31
+ * @remarks
32
+ * Lane `level - 1` holds the groups of that level, outermost nearest the sheet edge. Groups come from
33
+ * {@link IOutline.getGroups} limited to the pane's visible span, so the work is per group in view. A
34
+ * collapsed group draws only its button. The dots are the gutter's cells: a {@link CellTileDiv} in
35
+ * this layer renders one per header the tiling engine finds in view, and a header at level `n` gets
36
+ * its dot in lane `n`, the lane after its deepest bracket, so a dot never sits on a line.
37
+ * Re-renders on scroll (the pane context) and on `onOutlineChange`.
38
+ */
39
+ export declare const SheetOutlineLayer: React.MemoExoticComponent<(props: SheetOutlineLayerProps) => React.JSX.Element>;
40
+ //# sourceMappingURL=SheetOutlineLayer.d.ts.map
@@ -1,8 +1,8 @@
1
1
  import { ReactElement } from 'react';
2
- import { ISheet } from '@sheetxl/sdk';
2
+ import { IWorksheet } from '@sheetxl/sdk';
3
3
  import { LayerProps } from '@sheetxl/grid-react';
4
4
  export interface SheetTableCommandLayerProps extends LayerProps {
5
- sheet: ISheet;
5
+ sheet: IWorksheet;
6
6
  }
7
7
  /**
8
8
  * **Command-only layer for the `table` scope** — no visuals (the visual chrome lives in {@link TableLayer});
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { ISheet } from '@sheetxl/sdk';
2
+ import { IWorksheet } from '@sheetxl/sdk';
3
3
  import { LayerProps } from '@sheetxl/grid-react';
4
4
  export interface SpillLayerProps extends LayerProps {
5
5
  /** Style for the outline box. */
@@ -7,7 +7,7 @@ export interface SpillLayerProps extends LayerProps {
7
7
  /**
8
8
  * The sheet.
9
9
  */
10
- sheet: ISheet;
10
+ sheet: IWorksheet;
11
11
  /**
12
12
  * The animation time in milliseconds.
13
13
  *
@@ -1,16 +1,17 @@
1
1
  import { default as React } from 'react';
2
- import { ISheet, ITable } from '@sheetxl/sdk';
2
+ import { IWorksheet } from '@sheetxl/sdk';
3
3
  import { LayerProps } from '@sheetxl/grid-react';
4
+ import { TableToolbarRenderProps } from './TableToolbar';
4
5
  export interface TableLayerProps extends LayerProps {
5
6
  /**
6
7
  * The sheet.
7
8
  */
8
- sheet: ISheet;
9
+ sheet: IWorksheet;
9
10
  /**
10
- * Invoked by the hover toolbar's **edit** button. Wire it to the `editTable` command; if omitted the
11
- * button falls back to selecting the table.
11
+ * The toolbar that floats at a hovered table's top-right corner.
12
+ * @defaultValue a plain split button: edit the table · a menu of the table commands
12
13
  */
13
- onEditTable?: (table: ITable) => Promise<void>;
14
+ renderToolbar?: (props: TableToolbarRenderProps) => React.ReactNode;
14
15
  }
15
16
  /**
16
17
  * Is the outline, resizer, and row selection.
@@ -0,0 +1,42 @@
1
+ import { default as React } from 'react';
2
+ import { IWorksheet, ITable } from '@sheetxl/sdk';
3
+ import { HoverTipProps, StickyState } from '@sheetxl/grid-react';
4
+ /** What the table toolbar is handed. */
5
+ export interface TableToolbarRenderProps {
6
+ sheet: IWorksheet;
7
+ /** The hovered table. A press anywhere on the toolbar makes it the current table first, so the table commands act on it. */
8
+ table: ITable;
9
+ /** The table's theme color, for chrome that wears it. */
10
+ color: string;
11
+ /** Spread onto the toolbar root: it takes the pointer, and hovering it keeps the toolbar up. */
12
+ floatProps: HoverTipProps;
13
+ /**
14
+ * Keep the toolbar up while something it opened has the pointer — its dropdown. Call `true` when the
15
+ * dropdown opens and `false` when it closes.
16
+ */
17
+ setHeld: (held: boolean) => void;
18
+ state: StickyState;
19
+ }
20
+ /** What {@link TableLayer} hands its toolbar float. */
21
+ export interface TableToolbarFloatProps {
22
+ sheet: IWorksheet;
23
+ /** The table under the pointer, as the table layer's hover found it. */
24
+ hovered: ITable | null;
25
+ renderToolbar?: (props: TableToolbarRenderProps) => React.ReactNode;
26
+ }
27
+ /**
28
+ * The **table toolbar** — hover a table and its commands float at its top-right corner: a quick action
29
+ * (edit the table) and a dropdown of the rest. A {@link VirtualRangeFloat} inside the table layer, fed
30
+ * the table the layer's own hover found: opened by hover but not a tooltip (it outlives a tip opening
31
+ * beside it and a press on its own buttons), `clamp`ed so it stays on screen while the table's top is
32
+ * scrolled away. What it draws is the host's (`renderToolbar`); its commands resolve from the pane like
33
+ * any other.
34
+ *
35
+ * @remarks
36
+ * The table commands act on the table under the active cell, so a press on the toolbar first makes the
37
+ * hovered table that one (selecting it when the active cell is outside it). The dropdown opens in the
38
+ * float stack, so it closes under a context menu like any popup; while it is open the toolbar is held
39
+ * up (`setHeld`), as the pointer is on the dropdown, not the toolbar.
40
+ */
41
+ export declare const TableToolbarFloat: React.FC<TableToolbarFloatProps>;
42
+ //# sourceMappingURL=TableToolbar.d.ts.map
@@ -1,11 +1,16 @@
1
1
  import { default as React } from 'react';
2
2
  import { CellCoords } from '@sheetxl/utils';
3
- import { ISheet, IDataValidation, IRange } from '@sheetxl/sdk';
4
- import { LayerProps } from '@sheetxl/grid-react';
5
- /** What the probe hands the button: the validation to open, and the cell it belongs to. */
3
+ import { IWorksheet, IDataValidation, IRange } from '@sheetxl/sdk';
4
+ import { IEditable, LayerProps } from '@sheetxl/grid-react';
5
+ /** What the probe hands the button: the validations to offer, and the cell they belong to. */
6
6
  export interface ValidationDropdown {
7
- /** The list validation the button opens a picker for. */
7
+ /** The list validation the button opens a picker for: the first covering one, by priority. */
8
8
  dataValidation: IDataValidation;
9
+ /**
10
+ * Every list validation covering the cell, in priority order. The picker offers the first one's
11
+ * items, intersected with the others' when there are several.
12
+ */
13
+ dataValidations: readonly IDataValidation[];
9
14
  /** The cell holding it — the anchor cell when the validation sits on a merge. */
10
15
  cell: CellCoords;
11
16
  /** The merge that cell anchors, when it anchors one. */
@@ -17,7 +22,12 @@ export interface ValidationDropdownLayerProps extends Omit<LayerProps, 'children
17
22
  /** Style for the floated button container. */
18
23
  style?: React.CSSProperties;
19
24
  /** The sheet whose selection is followed. */
20
- sheet: ISheet;
25
+ sheet: IWorksheet;
26
+ /**
27
+ * The editable a pick is entered through — the sheet's shared one, so a pick is a typed entry:
28
+ * coerced, formatted and checked as one. Without it the button opens nothing.
29
+ */
30
+ editable: IEditable<any, string, any> | null;
21
31
  /** Width (px, unzoomed) of the button. @defaultValue 17 */
22
32
  dropdownWidth?: number;
23
33
  /**
@@ -44,8 +54,8 @@ export interface ValidationDropdownLayerProps extends Omit<LayerProps, 'children
44
54
  * and nothing else.
45
55
  *
46
56
  * On a **merge** the affordance belongs to the merge, not to its anchor corner cell: the button hugs
47
- * the MERGE's right edge, but keeps the ANCHOR ROW's height pinned to the top — stretching it to fit
48
- * would turn a tall merge into a full-height bar.
57
+ * the MERGE's right edge, centered on it. It is a fixed square whatever the row or merge height —
58
+ * stretching it to fit would turn a tall merge into a full-height bar.
49
59
  */
50
60
  export declare const ValidationDropdownLayer: React.MemoExoticComponent<(props: ValidationDropdownLayerProps) => React.JSX.Element>;
51
61
  //# sourceMappingURL=ValidationDropdownLayer.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { ISheet } from '@sheetxl/sdk';
2
+ import { IWorksheet } from '@sheetxl/sdk';
3
3
  import { LayerProps } from '@sheetxl/grid-react';
4
4
  export interface ValidationIndicatorLayerProps extends LayerProps {
5
5
  /** Class for the layer (devtools identification). */
@@ -7,17 +7,23 @@ export interface ValidationIndicatorLayerProps extends LayerProps {
7
7
  /** Style for the indicators host box. */
8
8
  style?: React.CSSProperties;
9
9
  /** The sheet whose data validations are indicated. */
10
- sheet: ISheet;
10
+ sheet: IWorksheet;
11
11
  /** Size (px, unzoomed) of the invalid-value corner mark. @defaultValue 7 */
12
12
  markSize?: number;
13
13
  }
14
14
  /**
15
- * The sheet's **invalid-value marks** — the corner mark on every in-view cell holding a value its
16
- * validation rule rejects.
15
+ * The sheet's **invalid-value marks** — the corner mark on every in-view cell its validation rule
16
+ * rejects, shown while the view's Show Invalid is on. An empty cell is rejected by a rule with Ignore
17
+ * blank off, as Excel circles it.
17
18
  *
18
19
  * @remarks
20
+ * The mark sits in the bottom-right corner, beside the list dropdown, and is colored by how the
21
+ * value fails (`resolveValidationMark`): the alert style of the rule that answers for the cell, or
22
+ * neutral when no failing rule raises an alert. `CellErrorLayer` explains it on hover.
23
+ *
19
24
  * A layer of its own rather than part of the cell renderer, so the cells layer never probes the
20
- * validation model and a sheet with no validations costs one index lookup per frame.
25
+ * validation model and a sheet with no validations costs one index lookup per frame. A cell is marked
26
+ * when any rule covering it flags it, not only the primary one.
21
27
  *
22
28
  * The mark is a property of a cell's VALUE, so it belongs wherever one is in view and is drawn as
23
29
  * {@link CellTileDiv} snapshots that survive scroll — nothing here depends on the selection, which is
@@ -0,0 +1,65 @@
1
+ import { default as React } from 'react';
2
+ import { CellCoords, RangeCoords } from '@sheetxl/utils';
3
+ import { IDataValidation, IWorksheet } from '@sheetxl/sdk';
4
+ import { IEditable, LayerProps } from '@sheetxl/grid-react';
5
+ import { ValidationAlert } from '../editor/validationAlert';
6
+ /** The prompt a cell shows: the rule's title and message, and the range it hangs under. */
7
+ export interface ValidationPrompt {
8
+ /** The cell, or the merge it anchors. */
9
+ range: RangeCoords;
10
+ /** The rule's prompt title; may be empty. */
11
+ title: string;
12
+ /** The rule's prompt message; may be empty. */
13
+ message: string;
14
+ /** The rule the prompt belongs to. */
15
+ dataValidation: IDataValidation;
16
+ }
17
+ /**
18
+ * The input prompt for the cell at `coords`: from the first covering rule, by priority, that shows
19
+ * a prompt and has a title or a message to show. `null` when none does, or when the sheet disables
20
+ * prompts.
21
+ */
22
+ export declare const findValidationPrompt: (sheet: IWorksheet, coords: CellCoords) => ValidationPrompt | null;
23
+ export interface ValidationPromptLayerProps extends Omit<LayerProps, 'children'> {
24
+ /** Class for the floated container. */
25
+ className?: string;
26
+ /** Style for the floated container. */
27
+ style?: React.CSSProperties;
28
+ /** The sheet whose selection is followed, and whose entries are checked. */
29
+ sheet: IWorksheet;
30
+ /**
31
+ * The editable entries are typed through. It tells an alert on an open edit, which stays while
32
+ * the edit does, from one left behind, which the next key or press clears.
33
+ */
34
+ editable?: IEditable<any, string, any> | null;
35
+ /** Gap (px) between the cell and the float, below it and past its right edge. @defaultValue 6 */
36
+ offset?: number;
37
+ /**
38
+ * Render the prompt yourself. Spread `floatProps` on the returned element. Omit for the default
39
+ * box: the title in bold over the message.
40
+ */
41
+ renderPrompt?: (prompt: ValidationPrompt, floatProps: React.HTMLAttributes<HTMLElement>) => React.ReactNode;
42
+ /**
43
+ * Render the alert yourself. Spread `floatProps` on the returned element. Omit for the default
44
+ * card: the rule's alert title and message, and what to do next.
45
+ */
46
+ renderAlert?: (alert: ValidationAlert, floatProps: React.HTMLAttributes<HTMLElement>) => React.ReactNode;
47
+ }
48
+ /**
49
+ * The **input prompt** of a data validation, and the **alert** an entry raised in its place — one
50
+ * {@link RangeFloatLayer} at the cell-tip placement the error tips use: under the active cell (or
51
+ * its merge), starting just past its right edge.
52
+ *
53
+ * @remarks
54
+ * At rest the float follows the selection and shows the title and message of the first covering
55
+ * rule that has a prompt to show ({@link findValidationPrompt}). It stays while the cell is being
56
+ * edited, as Excel's does, and steps aside while the list picker is open, since the picker drops
57
+ * under the same edge.
58
+ *
59
+ * An alert the entry check raised (`ValidationAlert`) takes the float over: Excel's alert dialog in
60
+ * tip form. A Stop keeps the edit open and the tip with it; a Warning's tip asks for Enter again; an
61
+ * Information entry is written and its tip stays until the next key or press. The prompt returns
62
+ * when the alert clears.
63
+ */
64
+ export declare const ValidationPromptLayer: React.MemoExoticComponent<(props: ValidationPromptLayerProps) => React.JSX.Element>;
65
+ //# sourceMappingURL=ValidationPromptLayer.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { IWorksheet, ITable } from '@sheetxl/sdk';
2
+ /** The table's theme color (header fill / whole-table top border) as CSS; grey when the style has none. */
3
+ export declare const tableLabelColor: (table: ITable, sheet: IWorksheet) => string;
4
+ //# sourceMappingURL=_tableColor.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { RangeCoords } from '@sheetxl/utils';
2
+ import { GridPlacement, IGridPane } from '@sheetxl/grid-react';
3
+ /**
4
+ * Where a cell's tips hang: the input prompt, and the hover tip on an error, a warning or a failed
5
+ * validation alike. Below the cell, starting just past its right edge (under a dropdown button), so
6
+ * the cell and the one below it stay in view. Flip and shift apply as to any grid float.
7
+ */
8
+ export declare const CELL_TIP_PLACEMENT: GridPlacement;
9
+ /** Gap (px) between a cell and its tip, below it and past its right edge alike. */
10
+ export declare const CELL_TIP_GAP = 6;
11
+ /** The align offset that starts a tip `gap` past the right edge of `range`. */
12
+ export declare const cellTipAlignOffset: (pane: IGridPane, range: RangeCoords, gap?: number) => number;
13
+ //# sourceMappingURL=cellTip.d.ts.map
@@ -0,0 +1,21 @@
1
+ import { IRange } from '@sheetxl/sdk';
2
+ import { FreezeDragPosition } from '@sheetxl/grid-react';
3
+ /**
4
+ * The transient state of an in-progress freeze drag, published by the producer
5
+ * (the freeze grips, through {@link useFreezeDrag}) and read by {@link FreezeDragLines} in both the
6
+ * header and the main grid.
7
+ *
8
+ * It rides `useSurfaceState` under {@link freezeDragKey}. `null` means no freeze drag is active for that
9
+ * axis.
10
+ */
11
+ export type FreezeDragState = FreezeDragPosition;
12
+ /**
13
+ * The `useSurfaceState` key for the freeze drag, namespaced by axis.
14
+ */
15
+ export declare const freezeDragKey: (axis: IRange.Axis) => string;
16
+ /**
17
+ * The `useSurfaceState` key for whether an axis's freeze grip is active (hovered or dragging) — the sheet
18
+ * highlights its freeze line while it is. A boolean; `false` when never written.
19
+ */
20
+ export declare const freezeActiveKey: (axis: IRange.Axis) => string;
21
+ //# sourceMappingURL=freezeDragState.d.ts.map
@@ -4,14 +4,17 @@ export * from './useSheetFeatureRegions';
4
4
  export * from './useSheetVisibleDecorations';
5
5
  export * from './CellFillLayer';
6
6
  export * from './CellErrorLayer';
7
+ export * from './HyperlinkLayer';
7
8
  export * from './BorderLayer';
8
9
  export * from './SheetCellLayer';
9
10
  export * from './SheetColumnButtonLayer';
10
11
  export * from './SheetGridLineLayer';
11
12
  export * from './SheetBackgroundLayer';
12
13
  export * from './SheetHeaderCellLayer';
14
+ export * from './SheetOutlineLayer';
13
15
  export * from './SheetMovableLayer';
14
16
  export * from './TableLayer';
17
+ export * from './TableToolbar';
15
18
  export * from './SheetTableCommandLayer';
16
19
  export * from './SpillLayer';
17
20
  export * from './ConditionalIcons';
@@ -19,11 +22,21 @@ export * from './ConditionalBarLayer';
19
22
  export * from './ConditionalIconsLayer';
20
23
  export * from './ValidationIndicatorLayer';
21
24
  export * from './ValidationDropdownLayer';
25
+ export * from './ValidationPromptLayer';
22
26
  export * from './useValidationPicker';
23
- export * from './validationList';
24
27
  export * from './CircularIndicatorLayer';
28
+ export * from './CommentsLayer';
29
+ export * from './CommentCardLayer';
30
+ export * from './RangeAnnotationLayer';
31
+ export * from './SheetLayers';
32
+ export * from './CellInsertLayer';
33
+ export * from './ProtectionLayer';
25
34
  export * from './HeaderSelectionLayer';
26
35
  export * from './HeaderResizerLayer';
27
36
  export * from './ResizeIndicator';
37
+ export * from './HeaderFreezeLayer';
38
+ export * from './GridFreezeLayer';
39
+ export * from './FreezeDragLines';
40
+ export * from './freezeDragState';
28
41
  export * from './ContextMenuLayer';
29
42
  //# sourceMappingURL=index.d.ts.map
@@ -12,7 +12,9 @@ export interface ResizeIndicatorState {
12
12
  /** The index of the header (column or row) being resized. */
13
13
  index: number;
14
14
  /**
15
- * Live size (px) of the header during the gesture — `prevSize` at start, the dragged size while moving.
15
+ * Live size of the header during the gesture, in on-screen (zoomed) pixels — `prevSize` at start, the
16
+ * dragged size while moving. The model has not announced the new size yet, so the overlay draws the
17
+ * header's far edge from this rather than from the grid's metrics.
16
18
  * `0` ⇒ the header is (being) hidden (draw a single collapsed line, tooltip reads "Hidden").
17
19
  * `null` ⇒ draw the guide-lines only, with no size tooltip (e.g. a press-and-hold before any drag).
18
20
  */
@@ -0,0 +1,22 @@
1
+ import { IWorksheet, IRange } from '@sheetxl/sdk';
2
+ import { FreezeDragPosition } from '@sheetxl/grid-react';
3
+ export interface FreezeDrag {
4
+ disabled: boolean;
5
+ /** Whether a grip on this axis (header or body) is hovered or dragging. */
6
+ isActive: boolean;
7
+ onFreezeDragStart: (position: FreezeDragPosition) => void;
8
+ onFreezeDrag: (position: FreezeDragPosition) => void;
9
+ onFreezeDragEnd: (position: FreezeDragPosition) => void;
10
+ onFreezeDragCancel: () => void;
11
+ onActiveChange: (active: boolean) => void;
12
+ }
13
+ /**
14
+ * Wires a freeze grip on one axis to the sheet: publishes the drag for {@link FreezeDragLines}, commits the
15
+ * drop through `freezePanesAt`, and works out whether a drag is allowed right now.
16
+ *
17
+ * @remarks
18
+ * The drag is allowed only when the scrolling area starts exactly at the freeze — otherwise the frozen
19
+ * and scrolling areas are not contiguous and a drop could not land where it was let go.
20
+ */
21
+ export declare const useFreezeDrag: (sheet: IWorksheet, axis: IRange.Axis) => FreezeDrag;
22
+ //# sourceMappingURL=useFreezeDrag.d.ts.map
@@ -0,0 +1,15 @@
1
+ import { IWorksheet } from '@sheetxl/sdk';
2
+ import { BorderNormalLine } from '../border';
3
+ /**
4
+ * The Normal style's border as one line per axis — a border on every cell, blank ones included.
5
+ *
6
+ * @remarks
7
+ * A boundary is the trailing edge of one cell and the leading edge of the next; the Normal style's
8
+ * two edges meet there and the one Excel draws wins. `null` on an axis with no Normal border.
9
+ * Identity is stable while the resolved style is. The caller re-renders on `onStyleChange`.
10
+ */
11
+ export declare const useNormalBorderLines: (sheet: IWorksheet) => {
12
+ rows: BorderNormalLine | null;
13
+ columns: BorderNormalLine | null;
14
+ };
15
+ //# sourceMappingURL=useNormalBorderLines.d.ts.map
@@ -1,4 +1,4 @@
1
- import { ICellRange, ICellRegion, IRange, ISheet } from '@sheetxl/sdk';
1
+ import { ICellRange, ICellRegion, IRange, IWorksheet } from '@sheetxl/sdk';
2
2
  import { IGridPane } from '@sheetxl/grid-react';
3
3
  export interface SheetFeatureRegions {
4
4
  /** The viewport's regions for the feature — engine-merged blocks, ready to place. */
@@ -17,5 +17,5 @@ export interface SheetFeatureRegions {
17
17
  * {@link useSheetVisibleCells}'s shape — per-pane, cached by range key, token-invalidated — so
18
18
  * layers can swap sources without changing their contract.
19
19
  */
20
- export declare const useSheetFeatureRegions: (sheet: ISheet, feature: ICellRange.Feature) => SheetFeatureRegions;
20
+ export declare const useSheetFeatureRegions: (sheet: IWorksheet, feature: ICellRange.Feature) => SheetFeatureRegions;
21
21
  //# sourceMappingURL=useSheetFeatureRegions.d.ts.map
@@ -1,4 +1,4 @@
1
- import { ISheet, ICell, IRange } from '@sheetxl/sdk';
1
+ import { IWorksheet, ICell, IRange } from '@sheetxl/sdk';
2
2
  import { IGridPane } from '@sheetxl/grid-react';
3
3
  export type SheetVisibleCell = {
4
4
  cell: ICell.Coords;
@@ -56,5 +56,5 @@ export interface SheetVisibleCells {
56
56
  * layer(s) that asked, never the grid above them. Used by {@link SheetCellLayer} and
57
57
  * {@link SheetGridLineLayer}.
58
58
  */
59
- export declare const useSheetVisibleCells: (sheet: ISheet, options?: SheetVisibleCellsOptions) => SheetVisibleCells;
59
+ export declare const useSheetVisibleCells: (sheet: IWorksheet, options?: SheetVisibleCellsOptions) => SheetVisibleCells;
60
60
  //# sourceMappingURL=useSheetVisibleCells.d.ts.map
@@ -1,4 +1,4 @@
1
- import { ISheet, ICell, IRange, IConditionalFormat } from '@sheetxl/sdk';
1
+ import { IWorksheet, ICell, IRange, IConditionalFormat } from '@sheetxl/sdk';
2
2
  import { IGridPane } from '@sheetxl/grid-react';
3
3
  /** One visible cell a conditional-format rule DRAWS in. */
4
4
  export interface SheetDecoratedCell {
@@ -38,5 +38,5 @@ export interface SheetVisibleDecorations {
38
38
  * (`onConditionalFormatsChange`), or a value moves within a rule's range — which can restripe every
39
39
  * cell the rule covers, not just the edited one, because the domain is range-wide.
40
40
  */
41
- export declare const useSheetVisibleDecorations: (sheet: ISheet, kind: SheetDecorationKind) => SheetVisibleDecorations;
41
+ export declare const useSheetVisibleDecorations: (sheet: IWorksheet, kind: SheetDecorationKind) => SheetVisibleDecorations;
42
42
  //# sourceMappingURL=useSheetVisibleDecorations.d.ts.map
@@ -1,4 +1,4 @@
1
- import { ISheet } from '@sheetxl/sdk';
1
+ import { IWorksheet } from '@sheetxl/sdk';
2
2
  import { SheetVisibleCells } from './useSheetVisibleCells';
3
3
  /**
4
4
  * The "which cells host a column (filter/sort) button" source for a single pane, plus
@@ -18,5 +18,5 @@ import { SheetVisibleCells } from './useSheetVisibleCells';
18
18
  * table add/remove/auto-table/layout/undo (sheet events) and hidden-button / show-headers / column
19
19
  * add-remove / resize (which fire `onAnyChange` on the TABLE, so we subscribe to each table too).
20
20
  */
21
- export declare const useTableHeaderCells: (sheet: ISheet) => SheetVisibleCells;
21
+ export declare const useTableHeaderCells: (sheet: IWorksheet) => SheetVisibleCells;
22
22
  //# sourceMappingURL=useTableHeaderCells.d.ts.map
@@ -1,54 +1,54 @@
1
- import { default as React } from 'react';
2
1
  import { CellCoords } from '@sheetxl/utils';
3
- import { ISheet, IDataValidation } from '@sheetxl/sdk';
2
+ import { IWorksheet, IDataValidation } from '@sheetxl/sdk';
3
+ import { GridAnchor, IEditable } from '@sheetxl/grid-react';
4
+ import { CellPicker } from '../picker';
4
5
  /**
5
- * What the picker needs. Deliberately only an anchor + a validation + where to write: the picker does
6
- * **not** care who opened it, so the Excel-mode float button and the Sheets-mode in-cell triangle open
7
- * the identical component.
6
+ * What the list-validation picker needs: the rules covering the cell, and the generic picker's
7
+ * anchor and entry (see `CellPickerOptions`).
8
8
  */
9
9
  export interface ValidationPickerOptions {
10
10
  /** The sheet the chosen value is written to. */
11
- sheet: ISheet;
12
- /** The validation whose list is offered (`null` closes / offers nothing). */
13
- dataValidation: IDataValidation | null;
14
- /** The cell that receives the chosen value. */
15
- cell: CellCoords | null;
11
+ sheet: IWorksheet;
16
12
  /**
17
- * What the menu drops under — the **cell / merge** rect, not the button. Excel anchors the list to
18
- * the cell, and it is what both modes can supply (the Sheets-mode triangle has no float to anchor
19
- * to). A Floating UI virtual element; `StickyState.reference` is one.
13
+ * The editable the pick is entered through — the same path as typing the item's text, so the value
14
+ * coerces and formats as a typed one does. `null` offers nothing.
20
15
  */
21
- anchor: unknown;
16
+ editable: IEditable<any, string, any> | null;
22
17
  /**
23
- * The anchored cell / merge width (px). Excel makes the list **at least** as wide as the cell — a
24
- * floor, not a cap: a long value still widens it past the column.
18
+ * The list validations covering the cell, in priority order. The first one's items are offered;
19
+ * with several, only the items every rule lists, since every covering rule applies to the entry.
25
20
  */
21
+ dataValidations: readonly IDataValidation[];
22
+ /** The cell that receives the chosen value. */
23
+ cell: CellCoords | null;
24
+ /** See `CellPickerOptions.anchor`. */
25
+ anchor: GridAnchor | null;
26
+ /** See `CellPickerOptions.minWidth`. */
26
27
  minWidth?: number;
27
28
  }
28
- /** The picker, ready to drop into JSX and drive. */
29
- export interface ValidationPicker {
30
- /** Render this. */
31
- component: React.ReactNode;
32
- /** Open the menu. */
33
- open: () => void;
34
- /** Close it. */
35
- close: () => void;
36
- /** Whether it is currently open (reactive). */
37
- isOpen: boolean;
38
- }
39
29
  /**
40
- * The **list-validation picker** — a `FloatPopper` menu (through the shared float stack, so it gets
41
- * the portal, stacking, light-dismiss and Escape every other popup in the app has) anchored to the
42
- * cell it edits.
30
+ * The items several list rules agree on: the first rule's, kept where every other rule lists an item
31
+ * with the same text.
43
32
  *
44
33
  * @remarks
45
- * The split is deliberate: `RangeFloatLayer` places the *button* against the grid (pane ownership,
46
- * freeze, boundary fit); the float stack owns the *menu*. Neither does the other's job.
34
+ * Every covering rule applies to an entry, so a pick outside the intersection is refused on entry;
35
+ * offering the union would offer values the other rule then rejects. Items are matched by their text
36
+ * because that is what a pick enters: a literal list's `2` and a reference list's cell holding 2 both
37
+ * read `2`, and entering it satisfies either.
38
+ */
39
+ export declare const intersectListItems: (lists: readonly (readonly IDataValidation.ListItem[])[]) => readonly IDataValidation.ListItem[];
40
+ /**
41
+ * The items the picker offers at `cell` under `rules` (list validations in priority order): the first
42
+ * rule's list, intersected with the others' ({@link intersectListItems}).
43
+ */
44
+ export declare const resolveListPickerItems: (rules: readonly IDataValidation[], cell: CellCoords) => Promise<readonly IDataValidation.ListItem[]>;
45
+ /**
46
+ * The **list-validation picker**: the generic cell picker (`useCellPicker`) over the covering list
47
+ * rules' items ({@link resolveListPickerItems}), a pick entered through the editable as typed text.
47
48
  *
48
- * The offered values come from {@link resolveListRange} as a RANGE of real cells, and are drawn by
49
- * `SheetValueList` — so a date reads as a date and a currency as currency, because the rows are
50
- * cells. A reference-backed source is not resolvable yet; the menu shows clearly-marked placeholders
51
- * in that case and refuses to write one back.
49
+ * @remarks
50
+ * No search field: a validation list is a short set of choices, and narrowing it belongs to the cell
51
+ * editor's typing (DESIGN-DV §3.7).
52
52
  */
53
- export declare const useValidationPicker: (options: ValidationPickerOptions) => ValidationPicker;
53
+ export declare const useValidationPicker: (options: ValidationPickerOptions) => CellPicker;
54
54
  //# sourceMappingURL=useValidationPicker.d.ts.map
@@ -1,4 +1,4 @@
1
- import { ISheet, ITable } from '@sheetxl/sdk';
1
+ import { IWorksheet, ITable } from '@sheetxl/sdk';
2
2
  export interface VisibleTables {
3
3
  /** The tables intersecting this pane's visible range (empty array — stable identity — when none). */
4
4
  visibleTables: readonly ITable[];
@@ -23,5 +23,5 @@ export interface VisibleTables {
23
23
  * PLUS each visible table's `onAnyChange` — table mutations (hidden-button toggle, show-headers, column
24
24
  * add/remove, resize) fire on the TABLE, not the sheet.
25
25
  */
26
- export declare const useVisibleTables: (sheet: ISheet) => VisibleTables;
26
+ export declare const useVisibleTables: (sheet: IWorksheet) => VisibleTables;
27
27
  //# sourceMappingURL=useVisibleTables.d.ts.map