@sheetxl/studio-mui 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 (291) hide show
  1. package/browser/esm/0BWO0bLZ8Vm_dKd2.mjs +582 -0
  2. package/browser/esm/BAbq4-I5f5oUiNaF.mjs +141 -0
  3. package/browser/esm/BED6h6YAwCf1HEQJ.mjs +161 -0
  4. package/browser/esm/{DMLXV4EKl1NCp_jk.mjs → BXhNFzyEGokTF-BL.mjs} +2 -2
  5. package/browser/esm/BYE9gCDWKyx6mnVs.mjs +381 -0
  6. package/browser/esm/BjvD_4t2KGsZP5V8.mjs +71 -0
  7. package/browser/esm/{zWTZ8BvT4hjgC2ua.mjs → BknfGJouygmnpFIU.mjs} +13 -12
  8. package/browser/esm/{DNDrQKMTzKzNMjl-.mjs → BlE_8o8tO2AgAlaj.mjs} +19 -17
  9. package/browser/esm/BokqKEpU6TFgfRs6.mjs +252 -0
  10. package/browser/esm/{BoLxSRdEWt-Yg2RI.mjs → Brsh5yscJ_4uKFXp.mjs} +130 -103
  11. package/browser/esm/Bujtz_Guj88d03vI.mjs +831 -0
  12. package/browser/esm/Buqcl7J75MJrhpVE.mjs +1379 -0
  13. package/browser/esm/BvhYPwX3GrRaO9CM.mjs +319 -0
  14. package/browser/esm/C0wlMAIn9iREPK6w.mjs +87 -0
  15. package/browser/esm/C8JU4KsMasmLvojI.mjs +103 -0
  16. package/browser/esm/C9pIZVACtl9unFOp.mjs +77 -0
  17. package/browser/esm/CBD4RiRKbbZtSXV-.mjs +318 -0
  18. package/browser/esm/CEtXsBzEjEKk9GOj.mjs +117 -0
  19. package/browser/esm/{BZBJG2tDdD3-VujP.mjs → COlZu93LRwuBvjE-.mjs} +195 -174
  20. package/browser/esm/{Cj2pgCNqBCGl4rTX.mjs → CTjqDD-swFMZzI-Y.mjs} +587 -556
  21. package/browser/esm/CWkOgdL7mOKiTR62.mjs +975 -0
  22. package/browser/esm/ChSVxkPTIjgcC8PL.mjs +412 -0
  23. package/browser/esm/{Cd6n1XUgF0VItpkH.mjs → ClBvNPeNCAhuVWrG.mjs} +7 -5
  24. package/browser/esm/CyLn6zOOp_biA3xU.mjs +335 -0
  25. package/browser/esm/CynTY0oNtyJnoaBq.mjs +14 -0
  26. package/browser/esm/D3rRUK4dIM5gUSmj.mjs +256 -0
  27. package/browser/esm/D9ISy7VkaRRFJl46.mjs +515 -0
  28. package/browser/esm/DDc6rDuU9JAo1DH_.mjs +225 -0
  29. package/browser/esm/DDczwkXhz_MHub4z.mjs +197 -0
  30. package/browser/esm/{3ydDykDMtDYbfVVn.mjs → DEv4pIEgYr5C7etm.mjs} +178 -129
  31. package/browser/esm/DG21x7RKDpge6zAE.mjs +31 -0
  32. package/browser/esm/DJOOed_OtB-XT7f3.mjs +437 -0
  33. package/browser/esm/{Bz5LiUe3SZ8g42Ia.mjs → DKtJxrpN0axtuQ0l.mjs} +1 -1
  34. package/browser/esm/DRSCS6aLiYmPjUz1.mjs +1543 -0
  35. package/browser/esm/{ChwS_ougBsogOEsP.mjs → DTpRkgsTm_zYnWfW.mjs} +46 -47
  36. package/browser/esm/DV6i9RQZfJiKtEaJ.mjs +2552 -0
  37. package/browser/esm/DdcZrjMLWVukWcU5.mjs +7473 -0
  38. package/browser/esm/Di3BUxA0SqFWWgeg.mjs +94 -0
  39. package/browser/esm/DnGaP5F7mLwCGUYG.mjs +408 -0
  40. package/browser/esm/DpD4fg2WcyiKX_2K.mjs +414 -0
  41. package/browser/esm/{BUGepznywvV0tUjW.mjs → Ds3XRkne7HxcXD8J.mjs} +2 -2
  42. package/browser/esm/DsoNMWDwHZP8UXQd.mjs +293 -0
  43. package/browser/esm/G0Inqm6Eqw47dMpa.mjs +212 -0
  44. package/browser/esm/HViD4Wfoi0mmqk9w.mjs +13 -0
  45. package/browser/esm/LZoYSQAYV2wksnDv.mjs +386 -0
  46. package/browser/esm/{rU8xNPVQtDSnujM-.mjs → QgaAIDUMmBQBsXP9.mjs} +3 -3
  47. package/browser/esm/YThnrg3PadGs7B4j.mjs +627 -0
  48. package/browser/esm/index.mjs +1208 -67
  49. package/browser/esm/ttjcNHcFn8O6hfnd.mjs +1288 -0
  50. package/browser/esm/w_JrR69vEpvoyeMy.mjs +68 -0
  51. package/browser/esm/{CVfuCNRpODUw04IH.mjs → xFqkfN8QMCxvsetB.mjs} +1 -1
  52. package/browser/esm/zqilJefihVd7At2T.mjs +517 -0
  53. package/licenses/dependencies.txt +96 -349
  54. package/node/esm/1bf4gn-2vld4BZ9u.mjs +294 -0
  55. package/node/esm/{BhqI3pQFkV8K_612.mjs → 3WghtBXAvCDwcVrq.mjs} +1 -1
  56. package/node/esm/4HmLH0bPVJCZLgik.mjs +116 -0
  57. package/node/esm/{DM7K7-284z-PczVz.mjs → B0bdb_6p7fQI_ivo.mjs} +28 -28
  58. package/node/esm/BIMkjQUwG4Ih-6Sh.mjs +142 -0
  59. package/node/esm/BNg4QQY0WAPLE0q7.mjs +141 -0
  60. package/node/esm/BPzcW4BejRqso338.mjs +72 -0
  61. package/node/esm/BR45ogAR-hY2bE60.mjs +318 -0
  62. package/node/esm/BlN7G0DVC24zauig.mjs +197 -0
  63. package/node/esm/Bph-sR3l6AYWeuxK.mjs +256 -0
  64. package/node/esm/CPq-MIdEnc-53JpF.mjs +319 -0
  65. package/node/esm/CSAnTp5rwId0DUb8.mjs +380 -0
  66. package/node/esm/CWcv7UVXF8IUB0PC.mjs +1379 -0
  67. package/node/esm/{BA7VzUQ2sKRLTZ5c.mjs → CYIoK22I6Yvv12_x.mjs} +20 -20
  68. package/node/esm/CZyA9uD4SkTvqp_G.mjs +1283 -0
  69. package/node/esm/{CHi3AuWEwEPOg9IZ.mjs → CjC6s3RUJQNCF7mP.mjs} +1 -1
  70. package/node/esm/{DXZrzWee8K5FPOW1.mjs → CuMePia6i_8yfJ6S.mjs} +9 -9
  71. package/node/esm/CvRbu8JPxFarsSR-.mjs +412 -0
  72. package/node/esm/CyafafEgfmjLqE5O.mjs +521 -0
  73. package/node/esm/D-xqQ5qOSd6WrzwJ.mjs +94 -0
  74. package/node/esm/DLqBHdFp6wvm6EGs.mjs +212 -0
  75. package/node/esm/{BwZcoHDBmLPIVOT5.mjs → DMXLxp3T0E0SRTQc.mjs} +69 -70
  76. package/node/esm/{CUMKTjYv6VTkcWYi.mjs → DWqvf4H5F2wMnZ0L.mjs} +32 -30
  77. package/node/esm/DatM6eEYPpAtIMy-.mjs +405 -0
  78. package/node/esm/Db3dbaYLKUO66T9s.mjs +1689 -0
  79. package/node/esm/DdEzhVqYTrGODXrz.mjs +68 -0
  80. package/node/esm/DeZJlLk8WJ3BLtLs.mjs +975 -0
  81. package/node/esm/DfCuL8AUxMFoEG2s.mjs +519 -0
  82. package/node/esm/Do-zCKziWhoG5eAv.mjs +77 -0
  83. package/node/esm/DpJ2gmZJioCyq8La.mjs +632 -0
  84. package/node/esm/{Qpuqm6xBr_da38Ht.mjs → XEDcegsv5AGKBfu2.mjs} +165 -137
  85. package/node/esm/index.mjs +10124 -6751
  86. package/node/esm/yCUxQuqVuC4DHKPx.mjs +385 -0
  87. package/node/esm/zITjZ7R4raDqhP-n.mjs +515 -0
  88. package/package.json +15 -18
  89. package/resources/locales/de/groups.cmd.json +29 -16
  90. package/resources/locales/de/studio.cmd.json +18 -1
  91. package/resources/locales/de/ui.msg.json +447 -40
  92. package/resources/locales/en/groups.cmd.json +39 -17
  93. package/resources/locales/en/studio.cmd.json +18 -1
  94. package/resources/locales/en/ui.msg.json +403 -40
  95. package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +21 -5
  96. package/types/src/anchorItems/AnchorItemsPanel.d.ts +14 -0
  97. package/types/src/anchorItems/AnchoredRangeField.d.ts +40 -0
  98. package/types/src/anchorItems/index.d.ts +1 -0
  99. package/types/src/anomalies/AnomaliesPlugin.d.ts +5 -0
  100. package/types/src/anomalies/AnomaliesTaskPane.d.ts +17 -0
  101. package/types/src/anomalies/index.d.ts +3 -0
  102. package/types/src/border/BorderPopupButton.d.ts +6 -6
  103. package/types/src/border/BorderStylePopupButton.d.ts +3 -3
  104. package/types/src/border/BorderTemplateIcon.d.ts +29 -0
  105. package/types/src/border/index.d.ts +1 -0
  106. package/types/src/chart/ChartFormatPanel.d.ts +20 -0
  107. package/types/src/chart/ChartPlugin.d.ts +6 -0
  108. package/types/src/chart/index.d.ts +3 -0
  109. package/types/src/color/ColorPanel.d.ts +8 -2
  110. package/types/src/color/ColorPopupButton.d.ts +2 -1
  111. package/types/src/command/NumberFormatQuickButtons.d.ts +32 -0
  112. package/types/src/command/PresetCellStylesCommandButton.d.ts +3 -3
  113. package/types/src/command/SheetZoomCommandButton.d.ts +4 -3
  114. package/types/src/comments/CommentCard.d.ts +41 -0
  115. package/types/src/comments/CommentsPlugin.d.ts +6 -0
  116. package/types/src/comments/CommentsTaskPane.d.ts +23 -0
  117. package/types/src/comments/index.d.ts +4 -0
  118. package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts +4 -4
  119. package/types/src/conditionalFormat/IconPickerPopupButton.d.ts +2 -2
  120. package/types/src/conditionalFormat/IconSetRulePanel.d.ts +1 -1
  121. package/types/src/conditions/BetweenOption.d.ts +6 -1
  122. package/types/src/conditions/CombinatorOption.d.ts +7 -0
  123. package/types/src/conditions/ConditionEditor.d.ts +61 -4
  124. package/types/src/conditions/ConditionUtils.d.ts +65 -6
  125. package/types/src/conditions/ExpressionOption.d.ts +12 -6
  126. package/types/src/conditions/MembershipOption.d.ts +67 -0
  127. package/types/src/conditions/OperatorAndParamEditor.d.ts +36 -1
  128. package/types/src/conditions/ScalarOption.d.ts +25 -6
  129. package/types/src/conditions/SelectorSelect.d.ts +16 -7
  130. package/types/src/conditions/index.d.ts +1 -1
  131. package/types/src/conditions/useFormulaOption.d.ts +54 -0
  132. package/types/src/dataValidation/DataValidationDetailsPanel.d.ts +7 -1
  133. package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts +3 -2
  134. package/types/src/dataValidation/DataValidationEditorPanel.d.ts +13 -2
  135. package/types/src/dataValidation/DataValidationIcon.d.ts +22 -0
  136. package/types/src/dataValidation/DataValidationTitle.d.ts +13 -0
  137. package/types/src/dialog/FillSeriesDialog.d.ts +16 -0
  138. package/types/src/dialog/OutlineSettingsDialog.d.ts +12 -0
  139. package/types/src/dialog/TableNewDialog.d.ts +1 -4
  140. package/types/src/dialog/WorkbookStatisticsDialog.d.ts +1 -1
  141. package/types/src/dialog/_ShortcutSearch.d.ts +26 -0
  142. package/types/src/dialog/index.d.ts +0 -2
  143. package/types/src/externalLink/ExternalLinkCardBody.d.ts +9 -0
  144. package/types/src/externalLink/ExternalLinkChip.d.ts +18 -0
  145. package/types/src/externalLink/ExternalLinkLocation.d.ts +18 -0
  146. package/types/src/externalLink/ExternalLinkSettingsTab.d.ts +18 -0
  147. package/types/src/externalLink/ExternalLinksPanel.d.ts +11 -0
  148. package/types/src/externalLink/ExternalLinksPlugin.d.ts +5 -0
  149. package/types/src/externalLink/ExternalLinksTaskPane.d.ts +19 -0
  150. package/types/src/externalLink/index.d.ts +8 -0
  151. package/types/src/fill/GradientEditor.d.ts +41 -0
  152. package/types/src/fill/GradientStopsBar.d.ts +43 -0
  153. package/types/src/fill/PatternPopupButton.d.ts +26 -0
  154. package/types/src/fill/PatternSwatch.d.ts +53 -0
  155. package/types/src/fill/index.d.ts +5 -0
  156. package/types/src/filter/ColumnMenu.d.ts +31 -1
  157. package/types/src/filter/index.d.ts +0 -1
  158. package/types/src/form/FormulaField.d.ts +35 -6
  159. package/types/src/form/InputField.d.ts +35 -5
  160. package/types/src/format/AlignmentPanel.d.ts +13 -0
  161. package/types/src/format/BorderPanel.d.ts +22 -0
  162. package/types/src/format/BorderPreview.d.ts +101 -0
  163. package/types/src/format/FillPanel.d.ts +65 -0
  164. package/types/src/format/FontPanel.d.ts +12 -0
  165. package/types/src/format/FormatCellPreview.d.ts +35 -0
  166. package/types/src/format/FormatPanelParts.d.ts +85 -0
  167. package/types/src/format/FormatPlugin.d.ts +11 -0
  168. package/types/src/format/FormatTaskPane.d.ts +39 -0
  169. package/types/src/format/LinePanel.d.ts +53 -0
  170. package/types/src/format/LinePreviews.d.ts +71 -0
  171. package/types/src/format/NumberFormatOption.d.ts +43 -0
  172. package/types/src/{numberFormat → format}/NumberFormatPanel.d.ts +20 -0
  173. package/types/src/format/index.d.ts +14 -0
  174. package/types/src/format/useFormatSelection.d.ts +93 -0
  175. package/types/src/formulaBar/IFormulaBar.d.ts +11 -0
  176. package/types/src/formulaBar/MobileFormulaBar.d.ts +33 -0
  177. package/types/src/formulaBar/MobileInputToolbar.d.ts +43 -0
  178. package/types/src/formulaBar/index.d.ts +3 -0
  179. package/types/src/formulaBar/useFormulaBarSession.d.ts +68 -0
  180. package/types/src/index.d.ts +19 -4
  181. package/types/src/itemsPanel/EditorCommit.d.ts +32 -0
  182. package/types/src/itemsPanel/EditorPanel.d.ts +4 -1
  183. package/types/src/itemsPanel/ItemCard.d.ts +60 -8
  184. package/types/src/itemsPanel/ItemsDescriptor.d.ts +68 -19
  185. package/types/src/itemsPanel/ItemsPanel.d.ts +9 -0
  186. package/types/src/itemsPanel/ItemsSearchField.d.ts +17 -0
  187. package/types/src/itemsPanel/index.d.ts +2 -0
  188. package/types/src/named/NamedDetailsPanel.d.ts +9 -2
  189. package/types/src/named/NamedDetailsTaskPane.d.ts +3 -2
  190. package/types/src/named/NamedEditorPanel.d.ts +1 -1
  191. package/types/src/named/NamedExpressionField.d.ts +32 -0
  192. package/types/src/named/NamedKindChip.d.ts +38 -0
  193. package/types/src/picture/PicturePlugin.d.ts +6 -0
  194. package/types/src/picture/index.d.ts +2 -0
  195. package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts +6 -0
  196. package/types/src/protectedRange/ProtectedRangeDraft.d.ts +22 -0
  197. package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts +0 -14
  198. package/types/src/protectedRange/index.d.ts +2 -1
  199. package/types/src/protection/ManageProtectionTaskPane.d.ts +29 -0
  200. package/types/src/protection/PasswordDialog.d.ts +32 -0
  201. package/types/src/protection/PasswordField.d.ts +35 -0
  202. package/types/src/protection/ProtectedCellsPanel.d.ts +20 -0
  203. package/types/src/protection/ProtectionPlugin.d.ts +11 -0
  204. package/types/src/protection/WorkbookProtectionPanel.d.ts +34 -15
  205. package/types/src/protection/WorkbookProtectionTab.d.ts +22 -0
  206. package/types/src/protection/WorksheetProtectionPanel.d.ts +35 -0
  207. package/types/src/protection/index.d.ts +7 -1
  208. package/types/src/shape/InsertShapeCommandButton.d.ts +20 -0
  209. package/types/src/shape/ShapeFormatPanel.d.ts +11 -0
  210. package/types/src/shape/ShapePlugin.d.ts +6 -0
  211. package/types/src/shape/index.d.ts +3 -0
  212. package/types/src/slicer/PresetSlicerStylesCommandButton.d.ts +18 -0
  213. package/types/src/slicer/SlicerPlugin.d.ts +6 -0
  214. package/types/src/slicer/index.d.ts +3 -0
  215. package/types/src/statusBar/SheetZoomScale.d.ts +6 -0
  216. package/types/src/studio/CommandsWrapper.d.ts +5 -0
  217. package/types/src/studio/EagerStudio.d.ts +14 -1
  218. package/types/src/studio/StudioCommandProvider.d.ts +10 -0
  219. package/types/src/studio/StudioCommands.d.ts +40 -4
  220. package/types/src/studio/StudioProps.d.ts +64 -2
  221. package/types/src/studio/StudioSplitPane.d.ts +1 -1
  222. package/types/src/studio/formulaBarPlacement.d.ts +35 -0
  223. package/types/src/studio/splitStudioProps.d.ts +7 -0
  224. package/types/src/studio/useStudioApp.d.ts +31 -18
  225. package/types/src/template/TemplateCommands.d.ts +29 -0
  226. package/types/src/template/TemplateDialog.d.ts +19 -0
  227. package/types/src/template/TemplatePanel.d.ts +50 -0
  228. package/types/src/template/TemplateSearchField.d.ts +29 -0
  229. package/types/src/template/WelcomeDialog.d.ts +29 -0
  230. package/types/src/template/categoryColor.d.ts +8 -0
  231. package/types/src/template/index.d.ts +3 -0
  232. package/types/src/template/useTemplateCatalog.d.ts +71 -0
  233. package/types/src/toolbar/WorkbookToolbars.d.ts +1 -1
  234. package/types/src/workbook/DefaultRenderers.d.ts +16 -2
  235. package/types/src/workbook/FillMenu.d.ts +21 -0
  236. package/types/src/workbook/OutlineButtons.d.ts +11 -0
  237. package/types/src/workbook/WorkbookContextMenu.d.ts +4 -0
  238. package/types/src/workbook/WorkbookElement.d.ts +1 -1
  239. package/types/src/workbook/index.d.ts +1 -0
  240. package/browser/cjs/BQJKf40kttQWOzLw.cjs +0 -20
  241. package/browser/cjs/BTZ5uzK0wHzpiZGC.cjs +0 -1
  242. package/browser/cjs/B_D3JKseVvpRyX-E.cjs +0 -1
  243. package/browser/cjs/BeKpqOx8It0RD0Rf.cjs +0 -2
  244. package/browser/cjs/Bj-EvSYeDfqmU0V6.cjs +0 -2
  245. package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +0 -1
  246. package/browser/cjs/Bte6P3MhSjajJmmY.cjs +0 -7
  247. package/browser/cjs/C97KHSuikAbr1qVM.cjs +0 -1
  248. package/browser/cjs/CJLwX_A3y3TQUmzj.cjs +0 -1
  249. package/browser/cjs/CPSc2VSYZeZ1B9mi.cjs +0 -1
  250. package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +0 -1
  251. package/browser/cjs/CYxc8vnRi8dNpDPk.cjs +0 -1
  252. package/browser/cjs/CZm1jVZaHQ246prW.cjs +0 -1
  253. package/browser/cjs/CdDYyAfccXme8w6m.cjs +0 -1
  254. package/browser/cjs/Cm1APq2MraYNNhyI.cjs +0 -1
  255. package/browser/cjs/DO8V31Z1ewgMA1di.cjs +0 -5
  256. package/browser/cjs/Djsiad0Qha1Y-YaS.cjs +0 -1
  257. package/browser/cjs/IASAYG6qgv7lJY7y.cjs +0 -1
  258. package/browser/cjs/KZvriGbhEOVkQD0b.cjs +0 -1
  259. package/browser/cjs/UnMhi28mbvLiOXQe.cjs +0 -1
  260. package/browser/cjs/Vbigo0kFP3PFfmeA.cjs +0 -1
  261. package/browser/cjs/iMWEL01eC83oU-YY.cjs +0 -1
  262. package/browser/cjs/index.cjs +0 -2
  263. package/browser/cjs/w2GjebPlOFv3pCbm.cjs +0 -1
  264. package/browser/cjs/z0rB4fK6X1M6PpVD.cjs +0 -11
  265. package/browser/cjs/zQsyZpeXAvcVXJMs.cjs +0 -1
  266. package/browser/esm/BuY3uV47Bwbqpasq.mjs +0 -219
  267. package/browser/esm/CAs1MWvJTcRfJy26.mjs +0 -217
  268. package/browser/esm/CBU3LgLYmqtQjJbu.mjs +0 -1150
  269. package/browser/esm/CDU0rqpLNVtMLI-f.mjs +0 -52
  270. package/browser/esm/CVBub6pgTsJzCc5m.mjs +0 -5429
  271. package/browser/esm/C_XvSsQ9BVdHffCO.mjs +0 -47
  272. package/browser/esm/FT29q8yNwsEpVZjt.mjs +0 -9257
  273. package/browser/esm/Hb1rlHT4tE5hLcjM.mjs +0 -82
  274. package/browser/esm/UJOXCQv6KrG1gY3l.mjs +0 -105
  275. package/browser/esm/s46El7mT6oKLSnYB.mjs +0 -411
  276. package/node/esm/9FY82fj1R1c-AczW.mjs +0 -47
  277. package/node/esm/C-boHCnJditFzng3.mjs +0 -106
  278. package/node/esm/DxXM8qHi0Oz4Zovl.mjs +0 -4575
  279. package/node/esm/sQt2wWGTRLzqeJdG.mjs +0 -82
  280. package/node/esm/yCHAZKxJR7qY_ySy.mjs +0 -470
  281. package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts +0 -32
  282. package/types/src/conditions/DateTimeOption.d.ts +0 -43
  283. package/types/src/conditions/InSetOption.d.ts +0 -37
  284. package/types/src/dialog/CommentsDialog.d.ts +0 -11
  285. package/types/src/dialog/NumberFormatDialog.d.ts +0 -12
  286. package/types/src/filter/FilterList.d.ts +0 -28
  287. package/types/src/numberFormat/NumberFormatTaskPane.d.ts +0 -12
  288. package/types/src/numberFormat/index.d.ts +0 -8
  289. package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts +0 -3
  290. package/types/src/protectedRange/ProtectedRangePlugin.d.ts +0 -2
  291. package/types/src/protection/WorkbookProtectionDialog.d.ts +0 -23
@@ -1,5 +1,18 @@
1
1
  import { default as React } from 'react';
2
- import { ICondition } from '@sheetxl/sdk';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ import { ICondition, ICellRanges } from '@sheetxl/sdk';
4
+ import { RemoveButtonProps } from './OperatorAndParamEditor';
5
+ import { MembershipItemsProvider, MembershipOptionProps } from './MembershipOption';
6
+ /**
7
+ * The frame a host draws around a {@link ConditionEditor}: a rounded, faintly filled box the rule
8
+ * card sits in. The host adds its own padding (a pane's is wider than a menu's).
9
+ */
10
+ export declare const SxConditionEditorFrame: {
11
+ readonly backgroundColor: "action.hover";
12
+ readonly border: 1;
13
+ readonly borderColor: "divider";
14
+ readonly borderRadius: 1;
15
+ };
3
16
  export interface ConditionEditorProps extends React.HTMLAttributes<HTMLDivElement> {
4
17
  /**
5
18
  * The condition.
@@ -18,12 +31,19 @@ export interface ConditionEditorProps extends React.HTMLAttributes<HTMLDivElemen
18
31
  */
19
32
  selectorTitle?: string;
20
33
  /**
21
- * If 'true', shows the "Include Blanks".
34
+ * Whether the "Ignore Blank" checkbox is shown. It is the condition's `includeBlanks`: checked,
35
+ * a blank is never judged, under every host. A host whose list carries the `(Blank)` row may
36
+ * hide it.
22
37
  *
23
- * @remarks
24
- * @see {@link ICondition.isIncludeBlanks} for when this should be used.
38
+ * @defaultValue `true`
39
+ * @see {@link ICondition.isIncludeBlanks}
25
40
  */
26
41
  showIncludeBlanks?: boolean;
42
+ /**
43
+ * The host's own settings for the rule, shown on the Ignore Blank row after it: a validation's
44
+ * In-cell dropdown. Shown whether or not Ignore Blank is.
45
+ */
46
+ qualifiers?: React.ReactNode;
27
47
  /**
28
48
  * If true, makes the editor read-only.
29
49
  */
@@ -36,6 +56,43 @@ export interface ConditionEditorProps extends React.HTMLAttributes<HTMLDivElemen
36
56
  * The list of selectors to show. Defaults to all built-in selectors.
37
57
  */
38
58
  selectors?: ICondition.ISelector[];
59
+ /**
60
+ * The cells the condition covers, so a selector's default can fit them (a List seeded with the
61
+ * values already there). See {@link ICondition.ISelector.getDefaultCondition}.
62
+ */
63
+ ranges?: ICellRanges | null;
64
+ /**
65
+ * The items an `InSet` may be chosen from (a filter's column). With it `InSet` is offered and
66
+ * edited as a checklist of those items, whatever the selector.
67
+ */
68
+ getItems?: MembershipItemsProvider;
69
+ /** Passed to the `InSet` checklist. */
70
+ propsChecklist?: MembershipOptionProps['propsChecklist'];
71
+ /**
72
+ * Whether the type (selector) row is shown. A filter's column has one type, so its menu hides it.
73
+ *
74
+ * @defaultValue `true`
75
+ */
76
+ showSelector?: boolean;
77
+ /**
78
+ * The label of the root rule's operator select. "When" reads as a sentence under a selector
79
+ * row ("Allow … When …"); a host with no selector row may pass `''` for the bare select.
80
+ * Nested rules keep their own labels ("and", "or").
81
+ *
82
+ * @defaultValue "When"
83
+ */
84
+ operatorTitle?: string;
85
+ /**
86
+ * The button that takes the root rule out, in place of the X. What that means is the host's: a
87
+ * validation or format pane clears its rule (the X), a filter has nothing to clear and passes
88
+ * `null` for no button. See {@link RemoveButtonProps}. Nested rules keep their X.
89
+ */
90
+ renderRemove?: ((props: RemoveButtonProps) => React.ReactElement | null) | null;
91
+ /**
92
+ * The box's own styles. The editor draws no surface or padding of its own: a pane that wants
93
+ * it framed gives it the frame; a menu lays it against its own edges.
94
+ */
95
+ sx?: SxProps<Theme>;
39
96
  }
40
97
  /**
41
98
  * Reusable condition editor with a type selector (single) and a recursive operator+param editor.
@@ -16,6 +16,9 @@ export declare const transferInputKey: (from: object, to: object) => void;
16
16
  * Internal data shape for a single child inside a combinator (AND/OR/NOT).
17
17
  */
18
18
  export interface CombinatorInput {
19
+ /** The child's own selector, when it reads the value differently from its parent (a file's
20
+ * `notEqual` is `not(Display + equalTo)`). Absent, the parent's selector reads for it. */
21
+ selector?: string | null;
19
22
  operator: string;
20
23
  param: any;
21
24
  }
@@ -24,6 +27,28 @@ export interface CombinatorInput {
24
27
  * predicate. A caller that does want them (AutoFilter) passes its own `exclude`.
25
28
  */
26
29
  export declare const DEFAULT_EXCLUDED_OPERATORS: readonly string[];
30
+ /**
31
+ * Marks `operator` to be listed first among its kind: a host's own name for the test its users
32
+ * reach for (a filter's "Values").
33
+ */
34
+ export declare const pinFirst: <T extends ICondition.IOperator>(operator: T) => T;
35
+ /**
36
+ * Marks `operator` to be listed under `title`, a section ahead of Basic in the order the
37
+ * operators are given: a host's own grouping of the tests its users look for first (a filter
38
+ * column's Number / Text / Date Filters, in Excel's order).
39
+ */
40
+ export declare const groupFirst: <T extends ICondition.IOperator>(operator: T, title: string) => T;
41
+ /**
42
+ * Orders operators by title in `language`, the pinned ones first, then the grouped ones in the
43
+ * order given (a stable sort keeps it), then the rest.
44
+ */
45
+ export declare const compareOperators: (language?: string) => (a: ICondition.IOperator, b: ICondition.IOperator) => number;
46
+ /**
47
+ * Whether `operator` can be asked about `selector`'s reading: it takes the selector's type, or
48
+ * any type, or tests the cell rather than the reading (`blank`, which is settled before any
49
+ * selector). No selector reads for every operator.
50
+ */
51
+ export declare const operatorReadsUnder: (selector: ICondition.ISelector | null, operator: ICondition.IOperator) => boolean;
27
52
  /**
28
53
  * Filters operators by selector type.
29
54
  *
@@ -47,11 +72,12 @@ exclude?: readonly string[]) => ICondition.IOperator[];
47
72
  * (it would freeze at mount-time language), so the subscription is threaded in.
48
73
  *
49
74
  * @remarks
50
- * Both sections are sorted alphabetically **in the active language** — operator titles are localized,
51
- * so the collation has to follow the UI language rather than the host default.
52
- * If only one section has operators the header and divider for the empty section are omitted.
53
- * Works with both MUI `Select` (which accepts `ListSubheader` children natively)
54
- * and custom popup panels.
75
+ * A host's own sections ({@link groupFirst}) come first, in the order the operators are given.
76
+ * Both of the sections after them are sorted alphabetically **in the active language** — operator
77
+ * titles are localized, so the collation has to follow the UI language rather than the host
78
+ * default. If only one section has operators the header and divider for the empty section are
79
+ * omitted. Works with both MUI `Select` (which accepts `ListSubheader` children natively) and
80
+ * custom popup panels.
55
81
  */
56
82
  export declare const buildOperatorMenuItems: (operators: ICondition.IOperator[], renderItem: (operator: ICondition.IOperator) => React.ReactNode, t: TranslateFn, language?: string) => React.ReactNode[];
57
83
  /**
@@ -66,8 +92,41 @@ export declare const buildOperatorMenuItems: (operators: ICondition.IOperator[],
66
92
  *
67
93
  * @param newOperator The operator being added/switched to.
68
94
  * @param operators The full list of available operators at this level (used to find the first leaf).
95
+ * @param context What the condition will apply to, for a leaf operator that fits its default
96
+ * to it (a list starts from the values already in the cells).
97
+ */
98
+ export declare const buildDefaultParam: (newOperator: ICondition.IOperator, operators: ICondition.IOperator[], selector?: ICondition.ISelector | null, context?: ICondition.DefaultConditionContext) => any;
99
+ /**
100
+ * An operator and its param, as the editor holds them.
101
+ */
102
+ export interface OperatorParam {
103
+ operator: string;
104
+ param: any;
105
+ }
106
+ export interface SelectorChange {
107
+ /** The selector being left. */
108
+ from: ICondition.ISelector | null;
109
+ /** The selector chosen. */
110
+ to: ICondition.ISelector | null;
111
+ /** What the condition holds now. */
112
+ current: OperatorParam | null;
113
+ /** What this edit last held under `to`, if it was visited before. */
114
+ remembered?: OperatorParam | null;
115
+ /** Every operator on offer, before filtering by selector. */
116
+ operators: ICondition.IOperator[];
117
+ /** Passed to {@link ICondition.ISelector.getDefaultCondition}. */
118
+ context?: ICondition.DefaultConditionContext;
119
+ }
120
+ /**
121
+ * The operator and param a condition holds once its selector changes.
122
+ *
123
+ * @remarks
124
+ * In order: what this edit last held under the new selector (so switching away and back loses
125
+ * nothing); else the current operator when it still applies (its param rebuilt if the value type
126
+ * changed); else the new selector's default. Only a selector with no default and no applicable
127
+ * operator yields `null`, the empty "add condition" state.
69
128
  */
70
- export declare const buildDefaultParam: (newOperator: ICondition.IOperator, operators: ICondition.IOperator[], selector?: ICondition.ISelector | null) => any;
129
+ export declare const resolveSelectorChange: (change: SelectorChange) => OperatorParam | null;
71
130
  export declare const SxListSubheader: {
72
131
  userSelect: string;
73
132
  lineHeight: string;
@@ -1,13 +1,14 @@
1
+ import { ICalculation } from '@sheetxl/sdk';
1
2
  import { FormulaFieldProps } from '../form';
2
3
  export interface ExpressionOptionProps extends Omit<FormulaFieldProps, 'value' | 'onChange'> {
3
4
  /**
4
- * The option to edit — the formula text, persisted as authored.
5
+ * The option to edit — the formula, or its text.
5
6
  */
6
- option: string;
7
+ option: ICalculation.IFormula | string;
7
8
  /**
8
9
  * The callback function to handle changes in the option.
9
10
  */
10
- onOptionChange: (option: string) => void;
11
+ onOptionChange: (option: ICalculation.IFormula | string) => void;
11
12
  /**
12
13
  * If true, makes the editor read-only.
13
14
  */
@@ -18,9 +19,14 @@ export interface ExpressionOptionProps extends Omit<FormulaFieldProps, 'value' |
18
19
  * (reference picking, token coloring, error line), not a text box.
19
20
  *
20
21
  * @remarks
21
- * Persists the authored TEXT rather than a parsed value: an expression param is stored as a
22
- * string on the condition, and an in-progress (momentarily invalid) formula must not cost the
23
- * user their keystrokes.
22
+ * The `=` is required, as in Excel's own Formula box. Text without one is not a literal here (an
23
+ * expression has no literal reading) and is refused rather than promoted, so the one rule holds
24
+ * under every operator: `=` means formula, and a Formula condition is nothing but one. The param
25
+ * carries no `=` on the wire; the field shows it and takes it.
26
+ *
27
+ * What is typed goes out as a formula compiled in the editing locale, so the condition stores it
28
+ * canonical. An in-progress (momentarily invalid) formula still carries the user's keystrokes.
29
+ * Text with no `=` reaches nothing, and holds the editor's Save back with its error showing.
24
30
  */
25
31
  export declare const ExpressionOption: import('react').NamedExoticComponent<ExpressionOptionProps>;
26
32
  //# sourceMappingURL=ExpressionOption.d.ts.map
@@ -0,0 +1,67 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ import { ICondition, IFilter } from '@sheetxl/sdk';
4
+ import { ValueChecklistProps } from '@sheetxl/react';
5
+ /**
6
+ * Reads a population a set may be chosen from, as {@link IFilter.getItems} does: under the
7
+ * Display selector by the text the cells show, under none by value.
8
+ */
9
+ export type MembershipItemsProvider = (options: {
10
+ selector: string | null;
11
+ }) => Promise<IFilter.Items>;
12
+ export interface MembershipOptionProps {
13
+ /** The set: `items`, `source`, `additions`, `subtractions` and `dateGroups`. */
14
+ option: ICondition.InSetOption | null;
15
+ /** Receives the set as edited. A host that gives `getItems` also receives it once they load. */
16
+ onOptionChange: (option: ICondition.InSetOption) => void;
17
+ /**
18
+ * The condition's selector: how the members read the cell. Display reads the text a cell
19
+ * shows, which is what a spreadsheet's list holds; none reads the value.
20
+ */
21
+ selector?: ICondition.ISelector | null;
22
+ /**
23
+ * Receives the reading the author chooses with "By value": the Display selector's name, or
24
+ * `null` for the value. The set is re-read under it; the checks carry over.
25
+ */
26
+ onSelectorChange?: (selector: string | null) => void;
27
+ /**
28
+ * The population the set is a snapshot of (a filter's column). With it the members are that
29
+ * population's values, each checked or not; without it the author builds the set in one field:
30
+ * a typed list, or a source.
31
+ */
32
+ getItems?: MembershipItemsProvider;
33
+ /**
34
+ * The condition's Ignore Blank. On, a blank is never judged, so the (Blank) row has nothing
35
+ * to say and is not listed; the set's `blank` is kept as it was for when the flag is cleared.
36
+ */
37
+ ignoreBlank?: boolean;
38
+ /** If true, makes the editor read-only. */
39
+ readOnly?: boolean;
40
+ sx?: SxProps<Theme>;
41
+ /**
42
+ * What the host passes to the list: its rows' look, or (a test) its scroll state. An authored
43
+ * set's preview takes `itemHeight` and `viewport` of these.
44
+ */
45
+ propsChecklist?: Partial<Pick<ValueChecklistProps, 'itemHeight' | 'renderItem' | 'renderCheckbox' | 'viewport' | 'onApply' | 'onClose'>> & {
46
+ /**
47
+ * Whether every value of the population is checked (`values`), and whether its blank is
48
+ * (`blanks`: true too when it has none). A filter with nothing left out has nothing to say,
49
+ * which is its host's to act on.
50
+ */
51
+ onWholeChange?: (values: boolean, blanks: boolean) => void;
52
+ };
53
+ }
54
+ /**
55
+ * The editor of a set, the `InSet` operator's param, under every host (DESIGN-CONDITIONS §2.5).
56
+ *
57
+ * @remarks
58
+ * What a host can do with a set is its capabilities. A filter gives {@link MembershipOptionProps.getItems}:
59
+ * the set is a snapshot of its column, the members are listed with checkboxes, and a checkbox takes
60
+ * a member out, since there the author chooses from the column. A validation or a format gives
61
+ * none: the author builds the set in one field, a typed list or a `=`source, over a read-only
62
+ * preview of what the cell will be offered.
63
+ *
64
+ * Whether blanks pass is not the set's to say. It is the condition's, and its editor asks it.
65
+ */
66
+ export declare const MembershipOption: React.NamedExoticComponent<MembershipOptionProps>;
67
+ //# sourceMappingURL=MembershipOption.d.ts.map
@@ -1,5 +1,14 @@
1
1
  import { default as React } from 'react';
2
2
  import { ICondition } from '@sheetxl/sdk';
3
+ import { MembershipItemsProvider, MembershipOptionProps } from './MembershipOption';
4
+ /** What a {@link OperatorAndParamEditorProps.renderRemove} renderer is given. */
5
+ export interface RemoveButtonProps {
6
+ /** Takes the rule out. */
7
+ onClick: () => void;
8
+ /** The name of the operator the rule holds. */
9
+ operator: string | null;
10
+ readOnly?: boolean;
11
+ }
3
12
  export interface OperatorAndParamEditorProps extends React.HTMLAttributes<HTMLDivElement> {
4
13
  /**
5
14
  * The current operator+param pair being edited.
@@ -19,6 +28,13 @@ export interface OperatorAndParamEditorProps extends React.HTMLAttributes<HTMLDi
19
28
  * Called when the X (remove) button is clicked.
20
29
  */
21
30
  onRemove: () => void;
31
+ /**
32
+ * The button that takes the rule out, in place of the X. What taking a rule out means is the
33
+ * host's (a validation clears it, a filter has nothing to clear), so the host draws the button,
34
+ * or none: `null` draws no button, `undefined` the X. The renderer may answer `null` too, for
35
+ * one operator and not another.
36
+ */
37
+ renderRemove?: ((props: RemoveButtonProps) => React.ReactElement | null) | null;
22
38
  /**
23
39
  * All operators available at this level (leaf + combinator), already filtered by selector.
24
40
  * Passed straight through to children — not re-filtered here.
@@ -28,10 +44,29 @@ export interface OperatorAndParamEditorProps extends React.HTMLAttributes<HTMLDi
28
44
  * The current selector (passed through to param editors and children).
29
45
  */
30
46
  selector: ICondition.ISelector | null;
47
+ /**
48
+ * Called when the param's editor chooses a reading of its own (the checklist's "By value":
49
+ * Display or none), by selector name. The operator and param stay as they are.
50
+ */
51
+ onSelectorChange?: (selector: string | null) => void;
52
+ /**
53
+ * The population an `InSet` is a snapshot of (a filter's column). With it the set's members
54
+ * are that population's values; without it the author builds the set (a data validation).
55
+ */
56
+ getItems?: MembershipItemsProvider;
57
+ /** Passed to the `InSet` editor. */
58
+ propsChecklist?: MembershipOptionProps['propsChecklist'];
59
+ /** The root condition's Ignore Blank: an `InSet` editor then lists no (Blank) row. */
60
+ ignoreBlank?: boolean;
31
61
  /**
32
62
  * Optional title for the operator select input.
33
63
  */
34
64
  operatorTitle?: string;
65
+ /**
66
+ * The operator is settled by the host's selector row (Formula under Allow), so no select is
67
+ * drawn and the param editor takes the row. Nested rules are unaffected.
68
+ */
69
+ operatorFixed?: boolean;
35
70
  /**
36
71
  * If true, makes the editor read-only.
37
72
  */
@@ -47,7 +82,7 @@ export interface OperatorAndParamEditorProps extends React.HTMLAttributes<HTMLDi
47
82
  * @remarks
48
83
  * - If the operator is a combinator (and/or/not), renders CombinatorOption for the body.
49
84
  * - Otherwise renders the appropriate leaf param editor.
50
- * - Always shows an X (remove) button in the top-right.
85
+ * - Shows the remove button in the top-right: the X, or what `renderRemove` draws.
51
86
  * - The operator can be changed via the OperatorSelect at the top-left.
52
87
  * - Operators and selector are passed straight through to children without re-filtering.
53
88
  */
@@ -1,14 +1,27 @@
1
- import { Scalar } from '@sheetxl/sdk';
1
+ import { Scalar, ICalculation } from '@sheetxl/sdk';
2
2
  import { FormulaFieldProps } from '../form';
3
+ /**
4
+ * What a typed literal is, for an operand that is a date or a time.
5
+ */
6
+ export type ScalarOptionLiteral = 'date' | 'time' | 'dateTime';
3
7
  export interface ScalarOptionProps extends Omit<FormulaFieldProps, 'value' | 'onChange'> {
4
8
  /**
5
- * The option to edit — a literal (number, text, boolean), or a `=`-prefixed formula.
9
+ * The option to edit — a literal (number, text, boolean), or a formula.
6
10
  */
7
- option: Scalar;
11
+ option: Scalar | ICalculation.IFormula;
8
12
  /**
9
13
  * The callback function to handle changes in the option.
10
14
  */
11
- onOptionChange: (option: Scalar) => void;
15
+ onOptionChange: (option: Scalar | ICalculation.IFormula) => void;
16
+ /**
17
+ * How a typed literal is read. Omitted, numeric text is a number and anything else is text.
18
+ *
19
+ * @remarks
20
+ * A date or time literal is typed as it is into a cell (`9/23/95`, `14:30`), held as its serial,
21
+ * and shown back as a date or time. Text that is neither is held as typed and outlined as an
22
+ * error, which also holds back the editor's Save.
23
+ */
24
+ literal?: ScalarOptionLiteral;
12
25
  /**
13
26
  * If true, makes the editor read-only.
14
27
  */
@@ -21,9 +34,15 @@ export interface ScalarOptionProps extends Omit<FormulaFieldProps, 'value' | 'on
21
34
  * restating it would let the two disagree.
22
35
  *
23
36
  * @remarks
24
- * An imported operand like `=$A$1` arrives as a string param; a number input rendered it blank
25
- * and destroyed it on the first keystroke. Here it reads back exactly as stored, with the formula
37
+ * An imported operand like `=$A$1` arrives as a formula param; a number input rendered it blank
38
+ * and destroyed it on the first keystroke. Here it reads back as a formula, with the formula
26
39
  * editor's reference picking and token coloring once the `=` is typed.
40
+ *
41
+ * The operand is LIVE: each text that makes a valid operand reaches the condition as it is typed,
42
+ * and the field keeps the text as typed until the edit ends (`9` is not re-imaged as a date under
43
+ * the caret). Text that makes no operand is held back — a formula that does not parse, or `9/` on
44
+ * its way to a date. A literal the operand's type cannot hold is outlined once the edit ends
45
+ * (Enter, Tab, a blur, the editor's Save), and holds the save back.
27
46
  */
28
47
  export declare const ScalarOption: import('react').NamedExoticComponent<ScalarOptionProps>;
29
48
  //# sourceMappingURL=ScalarOption.d.ts.map
@@ -10,9 +10,20 @@ export interface SelectorSelectProps extends Omit<FormControlProps, 'onChange' |
10
10
  */
11
11
  value: ICondition.ISelector | null;
12
12
  /**
13
- * Callback fired when the type changes.
13
+ * Callback fired when the type changes. An extra row chosen comes as `extra`, with no selector.
14
14
  */
15
- onChange: (selector: ICondition.ISelector | null) => void;
15
+ onChange: (selector: ICondition.ISelector | null, extra?: string) => void;
16
+ /**
17
+ * Rows after the selectors that are not selectors: the host's own entries, named by value.
18
+ * A Formula rule is one (DESIGN-CONDITIONS §2.5): the formula stands in for the cell's value,
19
+ * which is a reading, so it is listed where the readings are.
20
+ */
21
+ extras?: readonly {
22
+ value: string;
23
+ title: string;
24
+ }[];
25
+ /** The extra row currently chosen, by value; `value` is then ignored. */
26
+ extraValue?: string | null;
16
27
  /**
17
28
  * Optional title for the select input. If not provided.
18
29
  *
@@ -33,11 +44,9 @@ export interface SelectorSelectProps extends Omit<FormControlProps, 'onChange' |
33
44
  readOnly?: boolean;
34
45
  }
35
46
  /**
36
- * Select component for choosing a scalar type (Number, Text, Boolean, Date, etc.).
37
- *
38
- * @remarks
39
- * Uses InteropScalarType for both input and output. Renders with user-friendly
40
- * labels (i18n-ready).
47
+ * Select component for choosing a selector (Number, Text, Date, Display, etc.): how the
48
+ * condition reads a value. The rows are selectors and nothing else; a test that looks like a
49
+ * type to an Excel user ("List") is an operator under Any.
41
50
  */
42
51
  export declare const SelectorSelect: import('react').NamedExoticComponent<SelectorSelectProps>;
43
52
  //# sourceMappingURL=SelectorSelect.d.ts.map
@@ -1,12 +1,12 @@
1
1
  export * from './StringOption';
2
2
  export * from './NumberOption';
3
3
  export * from './ScalarOption';
4
- export * from './InSetOption';
5
4
  export * from './AverageOption';
6
5
  export * from './TimePeriodOption';
7
6
  export * from './TopNOption';
8
7
  export * from './BetweenOption';
9
8
  export * from './ExpressionOption';
9
+ export * from './MembershipOption';
10
10
  export * from './SelectorSelect';
11
11
  export * from './OperatorSelect';
12
12
  export * from './ConditionEditor';
@@ -0,0 +1,54 @@
1
+ import { IRange, ICalculation, ICellRanges, IDataValidation, IWorksheet } from '@sheetxl/sdk';
2
+ /**
3
+ * The rule being edited, as the fields inside its editor need it. A conditional format or a data
4
+ * validation satisfies this as it is.
5
+ *
6
+ * @remarks
7
+ * A rule stores its formulas as they read at its anchor, the top-left of its ranges, but a user
8
+ * types and reads them as they read at the ACTIVE cell, as in Excel's CF and DV dialogs. Without
9
+ * a frame (no provider) the fields read and write the stored text unchanged.
10
+ */
11
+ export interface FormulaFrame {
12
+ /** The cells the rule covers, read at each conversion so an edited range is honored. */
13
+ getRanges(): ICellRanges;
14
+ /** The items the rule lists at a cell, for a rule that offers a list (a data validation). */
15
+ getListItemsAt?(rowIndex: number, columnIndex: number): Promise<readonly IDataValidation.ListItem[]>;
16
+ }
17
+ /** See {@link FormulaFrame}. */
18
+ export declare const FormulaFrameContext: import('react').Context<FormulaFrame | null>;
19
+ /** The cell a rule's formulas are typed and shown at. */
20
+ export declare const activeCellOf: (sheet: IWorksheet) => IRange.CellCoords;
21
+ /**
22
+ * Converts between a condition's formula param and the text a field edits.
23
+ */
24
+ export interface FormulaOptionText {
25
+ /**
26
+ * The formula as the field shows it, without a leading `=`.
27
+ */
28
+ display(formula: ICalculation.IFormula): string;
29
+ /**
30
+ * What was typed, as the param: a formula compiled in the editing locale, or the text itself when
31
+ * there is no sheet to compile against.
32
+ */
33
+ compile(text: string): ICalculation.IFormula | string;
34
+ /**
35
+ * The field's home: the rule's sheet at the active cell, the frame {@link display} and
36
+ * {@link compile} read in. A pick on that sheet writes bare, one elsewhere qualified.
37
+ */
38
+ home: Partial<IRange.CellCoords> | undefined;
39
+ }
40
+ /**
41
+ * The field side of a condition's formula param.
42
+ *
43
+ * @remarks
44
+ * Typed text is compiled by the editing compiler, so the condition stores it canonical whatever
45
+ * language and separators it was typed in, and it is shown back in the editing form. While the user
46
+ * types, the field keeps their own text for as long as the param still means the same formula —
47
+ * re-imaging it on every keystroke would reformat it under the caret.
48
+ *
49
+ * Inside a {@link FormulaFrameContext}, relative references are typed and shown as they read at the
50
+ * active cell and stored as they read at the rule's anchor. A reference that would land above or
51
+ * left of the anchor cannot be stored, and becomes `#REF!`.
52
+ */
53
+ export declare const useFormulaOption: () => FormulaOptionText;
54
+ //# sourceMappingURL=useFormulaOption.d.ts.map
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { IWorkbook, IDataValidation } from '@sheetxl/sdk';
2
+ import { IDataValidation, IWorkbook } from '@sheetxl/sdk';
3
+ import { ItemsPaneArgs } from '@sheetxl/react';
3
4
  import { AnchorItemsDescriptor } from '../anchorItems';
4
5
  /**
5
6
  * Binds data validations to the generic {@link AnchorItemsPanel}.
@@ -7,6 +8,11 @@ import { AnchorItemsDescriptor } from '../anchorItems';
7
8
  export declare const DataValidationItemsDescriptor: AnchorItemsDescriptor<IDataValidation>;
8
9
  export interface DataValidationDetailsPanelProps extends React.HTMLAttributes<HTMLDivElement> {
9
10
  workbook: IWorkbook;
11
+ /**
12
+ * The task pane's activation argument. A `draft` in it opens the pane editing a new validation
13
+ * seeded from those properties, as the Data ▸ Data Validation presets do.
14
+ */
15
+ args?: ItemsPaneArgs<IDataValidation.Properties>;
10
16
  }
11
17
  /**
12
18
  * The data-validation task pane: the generic anchored-items list driven by
@@ -1,3 +1,4 @@
1
- import { TaskPaneProps } from '@sheetxl/react';
2
- export declare const DataValidationDetailsTaskPane: (props: TaskPaneProps) => import("react").JSX.Element;
1
+ import { IDataValidation } from '@sheetxl/sdk';
2
+ import { TaskPaneProps, ItemsPaneArgs } from '@sheetxl/react';
3
+ export declare const DataValidationDetailsTaskPane: (props: TaskPaneProps<any, ItemsPaneArgs<IDataValidation.Properties>>) => import("react").JSX.Element;
3
4
  //# sourceMappingURL=DataValidationDetailsTaskPane.d.ts.map
@@ -1,4 +1,7 @@
1
+ import { default as React } from 'react';
1
2
  import { IDataValidation } from '@sheetxl/sdk';
3
+ /** The icon of each alert style, on the editor's style menu and the card's badge alike. */
4
+ export declare const ALERT_STYLE_ICONS: Record<IDataValidation.AlertStyle, string>;
2
5
  export interface DataValidationEditorPanelProps {
3
6
  /**
4
7
  * The data validation to edit
@@ -6,7 +9,15 @@ export interface DataValidationEditorPanelProps {
6
9
  dataValidation: IDataValidation;
7
10
  }
8
11
  /**
9
- * Editor panel component for configuring data validation rule settings.
12
+ * Editor for one data validation: the card's header, then two tabs (DESIGN-DV §3.5). The Rule
13
+ * tab is the rule: the condition, through the editor conditional formats and filters use; for a
14
+ * rule that offers a list, its in-cell dropdown; and the error alert, which is what the rule
15
+ * does when an entry fails. The Prompt tab is the input message, which is not part of the rule
16
+ * at all (a note shown on selection, with or without a condition), so it does not sit among the
17
+ * rule's parts (Michael, 2026-10-14; Excel's third tab is this one).
18
+ *
19
+ * @remarks
20
+ * A later shape makes the prompt a card of its own, beside the validation rather than inside it.
10
21
  */
11
- export declare const DataValidationEditorPanel: import('react').NamedExoticComponent<DataValidationEditorPanelProps>;
22
+ export declare const DataValidationEditorPanel: React.NamedExoticComponent<DataValidationEditorPanelProps>;
12
23
  //# sourceMappingURL=DataValidationEditorPanel.d.ts.map
@@ -0,0 +1,22 @@
1
+ import { IDataValidation } from '@sheetxl/sdk';
2
+ /**
3
+ * The glyph a validation's Allow type is shown with: "Any value", each selector, "List" or "Custom".
4
+ */
5
+ export declare const dataValidationIconKey: (item: IDataValidation) => string;
6
+ export interface DataValidationIconProps {
7
+ dataValidation: IDataValidation;
8
+ /**
9
+ * Chip height in px, as `RulePreview`'s.
10
+ * @defaultValue 28
11
+ */
12
+ size?: number;
13
+ }
14
+ /**
15
+ * The leading glyph of a validation's card and editor header.
16
+ *
17
+ * @remarks
18
+ * Drawn in the same chip, at the same footprint, as a conditional format's `RulePreview`, so the
19
+ * two panes' cards and headers line up. A glyph is chrome, not a cell, so the chip is not `sheet`.
20
+ */
21
+ export declare const DataValidationIcon: import('react').NamedExoticComponent<DataValidationIconProps>;
22
+ //# sourceMappingURL=DataValidationIcon.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { IDataValidation } from '@sheetxl/sdk';
2
+ /**
3
+ * What a validation checks, in one line: "Whole Number: Between 1 and 10", "List: Yes, No, Maybe
4
+ * +2", "List from $A$1:$A$5", "Custom: =ISNUMBER(A1)", or "Any value" for a prompt-only rule.
5
+ *
6
+ * @remarks
7
+ * Shared so the card's title and the editor's header say the same thing about the same rule. Every
8
+ * comparison is the condition's own description, as a conditional format's title is; only the
9
+ * shapes a condition cannot describe well (a list source, a custom formula, no condition) are
10
+ * spelled here.
11
+ */
12
+ export declare const dataValidationTitle: (item: IDataValidation, t: (key: string, options?: any) => string) => string;
13
+ //# sourceMappingURL=DataValidationTitle.d.ts.map
@@ -0,0 +1,16 @@
1
+ import { default as React } from 'react';
2
+ import { CommandContext } from '@sheetxl/react';
3
+ import { InputDialogProps } from '@sheetxl/utils-mui';
4
+ export interface FillSeriesDialogProps extends InputDialogProps<CommandContext.FillSeriesOptions, CommandContext.FillSeries> {
5
+ }
6
+ /**
7
+ * Excel's `Series…` — the fill types, the step and stop values, and which way the series runs.
8
+ *
9
+ * @remarks
10
+ * Two things Excel leaves you to guess at are shown here instead: WHICH cells the series is read
11
+ * from (its dialog always seeds from the first cell and never says so; ours takes the leading
12
+ * contentful run, so it matters more), and what the current settings would actually produce.
13
+ */
14
+ export declare const FillSeriesDialog: React.NamedExoticComponent<FillSeriesDialogProps>;
15
+ export default FillSeriesDialog;
16
+ //# sourceMappingURL=FillSeriesDialog.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ import { CommandContext } from '@sheetxl/react';
3
+ import { InputDialogProps } from '@sheetxl/utils-mui';
4
+ export interface OutlineSettingsDialogProps extends InputDialogProps<CommandContext.OutlineSettings> {
5
+ }
6
+ /**
7
+ * Excel's Data → Outline settings: where summary rows and columns sit, and whether the automatic
8
+ * outline styles apply. The `outlineSettings` command opens it and commits its `onInput`.
9
+ */
10
+ export declare const OutlineSettingsDialog: React.NamedExoticComponent<OutlineSettingsDialogProps>;
11
+ export default OutlineSettingsDialog;
12
+ //# sourceMappingURL=OutlineSettingsDialog.d.ts.map