@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
+ /**
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.11
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { n as e, t } from "./DJPgbB1X22YmhbaR.mjs";
8
+ import { forwardRef as r, memo as o, useCallback as n, useLayoutEffect as l, useRef as a } from "react";
9
+ import { jsx as i } from "react/jsx-runtime";
10
+ import { useImperativeElement as s } from "@sheetxl/utils-react";
11
+ import { useMergeRefs as m } from "react-merge-refs";
12
+ var c = o(r((e, r) => {
13
+ const { children: o, disabled: c, style: g, chart: p, zoom: h = 1, isDragging: d, movable: u, onHide: f, onShow: x, onDragZone: E, adornmentHost: v, flip: b, gesture: y, ...w } = e, S = s(r, () => ({ isChartEditor: () => !0 }), []), A = a(null), C = m([S, A]), D = u?.getRange()?.getWorksheet()?.getView()?.getChartElementSelection() ?? null;
14
+ l(() => {
15
+ E?.((e) => {
16
+ const t = "touches" in e ? e.touches[0] : e;
17
+ if (!t) return !0;
18
+ const r = A.current?.getElementAt(t.clientX, t.clientY) ?? null;
19
+ return !r || "chartArea" === r.getElementType();
20
+ });
21
+ }, [E]);
22
+ const j = n((e) => {
23
+ !c && e.element && "chartArea" !== e.element.getElementType() && (e.event.stopPropagation(), u && !u.isSelected() && u.select());
24
+ }, [u, c]);
25
+ if (!p.isDeleted()) return i(t, {
26
+ ...w,
27
+ chart: p,
28
+ zoom: h,
29
+ selection: c ? null : D,
30
+ onElementPress: j,
31
+ style: {
32
+ ...g,
33
+ filter: c ? "blur(1px)" : void 0,
34
+ boxShadow: d ? "1px 1px 2px var(--sxl-color-shadow, rgba(0,0,0,.15))" : void 0
35
+ },
36
+ ref: C
37
+ });
38
+ }));
39
+ c.displayName = "ChartEditor";
40
+ export { c as ChartEditor, t as ChartElement, e as nextSelected };
@@ -0,0 +1,216 @@
1
+ /**
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.11
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { t as e } from "./Dj5FM7_-YWhCtCCt.mjs";
8
+ import { memo as t, useEffect as n, useReducer as r, useRef as o } from "react";
9
+ import { jsx as i, jsxs as l } from "react/jsx-runtime";
10
+ var d = (e) => {
11
+ const t = e.getFont();
12
+ if (!t) return {};
13
+ const n = {};
14
+ return t.name && (n.fontFamily = t.name), void 0 !== t.size && (n.fontSize = `${t.size}pt`), t.bold && (n.fontWeight = "bold"), t.italic && (n.fontStyle = "italic"), t.color && (n.color = t.color), n;
15
+ }, a = {
16
+ pointerEvents: "none",
17
+ width: "100%",
18
+ height: "100%",
19
+ boxSizing: "border-box",
20
+ margin: 0
21
+ }, s = {
22
+ ...a,
23
+ display: "flex",
24
+ alignItems: "center",
25
+ gap: "0.35em",
26
+ padding: "0 2px",
27
+ overflow: "hidden",
28
+ whiteSpace: "nowrap"
29
+ }, c = (o, l) => {
30
+ const d = t((t) => {
31
+ const { children: l, disabled: d, style: s, movable: c, zoom: g = 1, isDragging: h, onHide: p, onShow: u, onDragZone: x, adornmentHost: m, flip: y, ...f } = t, b = c.getContent(), [, v] = r((e) => e + 1, 0);
32
+ e(b, { onAnyChange() {
33
+ v();
34
+ } });
35
+ const w = b, C = b, I = w.getLinkedCell?.() ?? null;
36
+ n(() => {
37
+ if (I) return w.getLinkedRange?.()?.addListener(() => v(), { ignoreAddressChanges: !0 });
38
+ }, [b, I]);
39
+ const R = C.getListFillRange?.() ?? null;
40
+ if (n(() => {
41
+ if (R) return C.getListSourceRange?.()?.addListener(() => v(), { ignoreAddressChanges: !0 });
42
+ }, [b, R]), b.isDeleted()) return null;
43
+ const S = c.getBounds();
44
+ return i("div", {
45
+ className: "form-control-renderer",
46
+ ...f,
47
+ style: {
48
+ width: "100%",
49
+ height: "100%",
50
+ zoom: g,
51
+ position: "relative",
52
+ boxShadow: h ? "1px 1px 2px var(--sxl-color-shadow, rgba(0,0,0,.15))" : void 0,
53
+ overflow: "hidden",
54
+ ...s
55
+ },
56
+ children: i("div", {
57
+ inert: !0,
58
+ style: a,
59
+ children: i(o, {
60
+ control: b,
61
+ width: S?.width ?? 0,
62
+ height: S?.height ?? 0
63
+ })
64
+ })
65
+ });
66
+ });
67
+ return d.displayName = l, d;
68
+ }, g = c(({ control: e }) => i("button", {
69
+ type: "button",
70
+ tabIndex: -1,
71
+ style: {
72
+ ...a,
73
+ ...d(e)
74
+ },
75
+ children: e.getCaption() ?? ""
76
+ }), "ButtonRenderer"), h = c(({ control: e }) => {
77
+ const t = o(null), r = e.isMixed();
78
+ return n(() => {
79
+ t.current && (t.current.indeterminate = r);
80
+ }, [r]), l("label", {
81
+ style: {
82
+ ...s,
83
+ ...d(e)
84
+ },
85
+ children: [i("input", {
86
+ ref: t,
87
+ type: "checkbox",
88
+ checked: e.isChecked(),
89
+ readOnly: !0
90
+ }), i("span", { children: e.getCaption() ?? "" })]
91
+ });
92
+ }, "CheckBoxRenderer"), p = c(({ control: e }) => l("label", {
93
+ style: {
94
+ ...s,
95
+ ...d(e)
96
+ },
97
+ children: [i("input", {
98
+ type: "radio",
99
+ checked: e.isChecked(),
100
+ readOnly: !0
101
+ }), i("span", { children: e.getCaption() ?? "" })]
102
+ }), "OptionButtonRenderer"), u = c(({ control: e }) => {
103
+ const t = e.isHorizontal();
104
+ return i("input", {
105
+ type: "range",
106
+ tabIndex: -1,
107
+ readOnly: !0,
108
+ min: e.getMin() ?? 0,
109
+ max: e.getMax() ?? 100,
110
+ step: e.getIncrement() ?? 1,
111
+ value: e.getValue() ?? e.getMin() ?? 0,
112
+ style: {
113
+ ...a,
114
+ writingMode: t ? void 0 : "vertical-lr"
115
+ }
116
+ });
117
+ }, "ScrollBarRenderer"), x = (e) => {
118
+ const t = {
119
+ up: "2,7 5,4 8,7",
120
+ down: "2,3 5,6 8,3",
121
+ left: "7,2 4,5 7,8",
122
+ right: "3,2 6,5 3,8"
123
+ }[e.direction];
124
+ return i("svg", {
125
+ viewBox: "0 0 10 10",
126
+ style: {
127
+ width: "100%",
128
+ height: "100%",
129
+ maxWidth: 10,
130
+ maxHeight: 10
131
+ },
132
+ children: i("polyline", {
133
+ points: t,
134
+ fill: "none",
135
+ stroke: "currentColor",
136
+ strokeWidth: 1.5
137
+ })
138
+ });
139
+ }, m = {
140
+ flex: "1 1 0",
141
+ minWidth: 0,
142
+ minHeight: 0,
143
+ margin: 0,
144
+ padding: 0,
145
+ display: "flex",
146
+ alignItems: "center",
147
+ justifyContent: "center"
148
+ }, y = c(({ width: e, height: t }) => {
149
+ const n = ((e, t, n) => e > 0 && t > 0 ? e > t : n)(e, t, !1);
150
+ return l("div", {
151
+ style: {
152
+ ...a,
153
+ display: "flex",
154
+ flexDirection: n ? "row" : "column"
155
+ },
156
+ children: [i("button", {
157
+ type: "button",
158
+ tabIndex: -1,
159
+ style: m,
160
+ children: i(x, { direction: n ? "left" : "up" })
161
+ }), i("button", {
162
+ type: "button",
163
+ tabIndex: -1,
164
+ style: m,
165
+ children: i(x, { direction: n ? "right" : "down" })
166
+ })]
167
+ });
168
+ }, "SpinnerRenderer"), f = (e) => e.getListItems().map((e, t) => i("option", {
169
+ value: t,
170
+ children: e
171
+ }, t)), b = c(({ control: e }) => l("select", {
172
+ tabIndex: -1,
173
+ value: e.getSelectedIndex() ?? -1,
174
+ style: a,
175
+ onChange: () => {},
176
+ children: [null === e.getSelectedIndex() ? i("option", { value: -1 }) : null, f(e)]
177
+ }), "DropDownRenderer"), v = c(({ control: e }) => i("select", {
178
+ tabIndex: -1,
179
+ size: Math.max(2, e.getListItems().length),
180
+ value: e.getSelectedIndex() ?? void 0,
181
+ style: a,
182
+ onChange: () => {},
183
+ children: f(e)
184
+ }), "ListBoxRenderer"), w = c(({ control: e }) => i("fieldset", {
185
+ style: {
186
+ ...a,
187
+ padding: 0,
188
+ ...d(e)
189
+ },
190
+ children: i("legend", {
191
+ style: {
192
+ marginLeft: "6px",
193
+ padding: "0 2px"
194
+ },
195
+ children: e.getCaption() ?? ""
196
+ })
197
+ }), "GroupBoxRenderer"), C = c(({ control: e }) => i("span", {
198
+ style: {
199
+ ...s,
200
+ ...d(e)
201
+ },
202
+ children: e.getCaption() ?? ""
203
+ }), "LabelRenderer"), I = c(({ control: e }) => i("div", {
204
+ style: {
205
+ ...a,
206
+ border: "var(--sxl-color-neutral, grey) solid 1px",
207
+ backgroundColor: "var(--sxl-color-base-100, white)",
208
+ display: "flex",
209
+ alignItems: "center",
210
+ justifyContent: "center",
211
+ overflow: "hidden",
212
+ whiteSpace: "nowrap"
213
+ },
214
+ children: e.getName?.() ?? e.getTypeDescription()
215
+ }), "UnmodeledControlRenderer");
216
+ export { g as ButtonRenderer, h as CheckBoxRenderer, b as DropDownRenderer, w as GroupBoxRenderer, C as LabelRenderer, v as ListBoxRenderer, p as OptionButtonRenderer, u as ScrollBarRenderer, y as SpinnerRenderer, I as UnmodeledControlRenderer };
@@ -0,0 +1,32 @@
1
+ /**
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.11
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { SlicerEditor as e } from "./slicer.mjs";
8
+ import { jsx as t } from "react/jsx-runtime";
9
+ import { messageKey as r } from "@sheetxl/utils";
10
+ var s = {
11
+ renderer: (r) => t(e, {
12
+ ...r,
13
+ slicer: r.movable.getContent()
14
+ }),
15
+ commands: (e, t) => {
16
+ const { sheet: s, movable: o } = t, n = o.getContent(), a = () => ({
17
+ slicer: () => n,
18
+ styles: () => s.getStyles()
19
+ }), l = () => {
20
+ e.updateCommand("formatSlicerStyle", {
21
+ callback: (e) => {
22
+ e && n.setStyle(e);
23
+ },
24
+ state: n.getStyle(),
25
+ context: a,
26
+ disabledReasons: n.isReadOnly() ? [r("reason.sheetProtected")] : []
27
+ });
28
+ };
29
+ return l(), n.addListeners({ onAnyChange: l });
30
+ }
31
+ };
32
+ export { s as SlicerKind };
@@ -0,0 +1,123 @@
1
+ /**
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.11
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { t as e } from "./Dj5FM7_-YWhCtCCt.mjs";
8
+ import { h as t, i as o, p as n } from "./umljAT66yb3_rURh.mjs";
9
+ import { forwardRef as i, memo as r, useContext as s, useEffect as l, useReducer as a } from "react";
10
+ import { jsx as d, jsxs as g } from "react/jsx-runtime";
11
+ import { useSurfaceState as h } from "@sheetxl/grid-react";
12
+ var p = r(i((i, r) => {
13
+ const { children: p, disabled: m, style: c, container: u, movable: v, zoom: f = 1, isDragging: y, onHide: b, onShow: w, onDragZone: x, adornmentHost: C, flip: E, gesture: $, ...I } = i, [, j] = a((e) => e + 1, 0);
14
+ e(v ?? null, {
15
+ onBoundsChange: j,
16
+ onSelectionChange: j,
17
+ onAnyChange: j
18
+ });
19
+ const B = v?.getMovables() ?? null;
20
+ e(B, { onCollectionChange: j });
21
+ const [N] = h("movable-drag", null), z = s(n), D = B?.getItems({ ignoreHidden: !0 }) ?? [];
22
+ l(() => {
23
+ const e = D.map((e) => e.addListeners({
24
+ onBoundsChange: j,
25
+ onAnyChange: j,
26
+ onSelectionChange: j
27
+ }));
28
+ return () => {
29
+ for (const t of e) t();
30
+ };
31
+ }, [D.map((e) => e.getId()).join("|")]);
32
+ const H = v?.getBounds();
33
+ if (u.isDeleted() || !v || !H) return null;
34
+ const S = "none" === c?.pointerEvents, k = !S && !m && v.isSelected(), A = N?.[v.getId()] ?? null, F = A?.bounds ?? H, O = v.getFlip(), R = E ?? A?.flip ?? O, G = (H.width > 0 ? F.width / H.width : 1) * (R.horizontal !== O.horizontal ? -1 : 1), L = (H.height > 0 ? F.height / H.height : 1) * (R.vertical !== O.vertical ? -1 : 1), M = v.getRotation() || 0, T = [
35
+ `translate(${F.width * f / 2}px, ${F.height * f / 2}px)`,
36
+ 1 !== G || 1 !== L ? `scale(${G}, ${L})` : "",
37
+ M ? `rotate(${-M}deg)` : "",
38
+ `translate(${-(H.x + H.width / 2) * f}px, ${-(H.y + H.height / 2) * f}px)`
39
+ ].filter(Boolean).join(" ");
40
+ return g("div", {
41
+ className: "group-editor",
42
+ ...I,
43
+ ref: r,
44
+ style: {
45
+ width: "100%",
46
+ height: "100%",
47
+ position: "relative",
48
+ overflow: "visible",
49
+ ...c,
50
+ pointerEvents: "none"
51
+ },
52
+ children: [d("div", {
53
+ className: "group-canvas",
54
+ style: {
55
+ position: "absolute",
56
+ left: 0,
57
+ top: 0,
58
+ transformOrigin: "0 0",
59
+ transform: T,
60
+ pointerEvents: "none"
61
+ },
62
+ children: D.map((e) => {
63
+ const n = o(e.getContent().getType()), i = N?.[e.getId()] ?? null, r = i?.bounds ?? e.getBounds();
64
+ if (!r || !n) return null;
65
+ const s = i?.rotation ?? (e.getRotation() || 0);
66
+ return d("div", {
67
+ className: "group-member",
68
+ [t]: e.getId(),
69
+ style: {
70
+ position: "absolute",
71
+ left: r.x * f,
72
+ top: r.y * f,
73
+ width: r.width * f,
74
+ height: r.height * f,
75
+ transform: s ? `rotate(${s}deg)` : void 0,
76
+ transformOrigin: "center",
77
+ opacity: i ? .7 : void 0,
78
+ pointerEvents: "none"
79
+ },
80
+ children: d(n, {
81
+ movable: e,
82
+ zoom: f,
83
+ flip: i?.flip ?? e.getFlip(),
84
+ disabled: m,
85
+ isDragging: y || !!i,
86
+ adornmentHost: z.get(e) ?? null,
87
+ style: {
88
+ position: "relative",
89
+ left: 0,
90
+ top: 0,
91
+ width: "100%",
92
+ height: "100%",
93
+ pointerEvents: S ? "none" : "auto"
94
+ }
95
+ })
96
+ }, e.getId());
97
+ })
98
+ }), k ? d("svg", {
99
+ className: "group-edge",
100
+ width: "100%",
101
+ height: "100%",
102
+ style: {
103
+ position: "absolute",
104
+ left: 0,
105
+ top: 0,
106
+ overflow: "visible",
107
+ pointerEvents: "none"
108
+ },
109
+ children: d("rect", {
110
+ x: 0,
111
+ y: 0,
112
+ width: "100%",
113
+ height: "100%",
114
+ fill: "none",
115
+ stroke: "transparent",
116
+ pointerEvents: "stroke",
117
+ style: { strokeWidth: "var(--sxl-handle-hit, 11px)" }
118
+ })
119
+ }) : null]
120
+ });
121
+ }));
122
+ p.displayName = "GroupEditor";
123
+ export { p as GroupEditor };