@sheetxl/studio-mui 0.7.21 → 0.7.23-beta.2

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 (493) hide show
  1. package/README.md +2 -2
  2. package/browser/cjs/BQJKf40kttQWOzLw.cjs +20 -0
  3. package/browser/cjs/BTZ5uzK0wHzpiZGC.cjs +1 -0
  4. package/browser/cjs/B_D3JKseVvpRyX-E.cjs +1 -0
  5. package/browser/cjs/BeKpqOx8It0RD0Rf.cjs +2 -0
  6. package/browser/cjs/Bj-EvSYeDfqmU0V6.cjs +2 -0
  7. package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +1 -0
  8. package/browser/cjs/ByIEqNsvj52sihT9.cjs +5 -0
  9. package/browser/cjs/C3moehR3VOd0LnmM.cjs +1 -0
  10. package/browser/cjs/C97KHSuikAbr1qVM.cjs +1 -0
  11. package/browser/cjs/CJLwX_A3y3TQUmzj.cjs +1 -0
  12. package/browser/cjs/CPSc2VSYZeZ1B9mi.cjs +1 -0
  13. package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +1 -0
  14. package/browser/cjs/CZm1jVZaHQ246prW.cjs +1 -0
  15. package/browser/cjs/CdDYyAfccXme8w6m.cjs +1 -0
  16. package/browser/cjs/Cpr3LpTBt3SSArSw.cjs +7 -0
  17. package/browser/cjs/DBJLJGiCGXesx5n6.cjs +1 -0
  18. package/browser/cjs/DEaHGn2Rbgcj_fbR.cjs +11 -0
  19. package/browser/cjs/Djsiad0Qha1Y-YaS.cjs +1 -0
  20. package/browser/cjs/IASAYG6qgv7lJY7y.cjs +1 -0
  21. package/browser/cjs/KZvriGbhEOVkQD0b.cjs +1 -0
  22. package/browser/cjs/UnMhi28mbvLiOXQe.cjs +1 -0
  23. package/browser/cjs/Vbigo0kFP3PFfmeA.cjs +1 -0
  24. package/browser/cjs/iMWEL01eC83oU-YY.cjs +1 -0
  25. package/browser/cjs/index.cjs +2 -7
  26. package/browser/cjs/w2GjebPlOFv3pCbm.cjs +1 -0
  27. package/browser/cjs/zQsyZpeXAvcVXJMs.cjs +1 -0
  28. package/browser/esm/B-2XwThOta_tt8BT.mjs +612 -0
  29. package/browser/esm/B8qmg9lVcO1_FX1t.mjs +508 -0
  30. package/browser/esm/BBwrhUtlLbuFQ67J.mjs +5398 -0
  31. package/browser/esm/BkcTkK4tR4b-px3e.mjs +42 -0
  32. package/browser/esm/BvQKaacvx0Q4evfJ.mjs +99 -0
  33. package/browser/esm/C9GBv4ZkH2P6xOGI.mjs +2207 -0
  34. package/browser/esm/C9MY76RbJdvrNOgK.mjs +411 -0
  35. package/browser/esm/CCiAWSm5lQALhezl.mjs +82 -0
  36. package/browser/esm/CGcdue-1rj_uOLLO.mjs +47 -0
  37. package/browser/esm/CPR9Jpd8zfoZUwWE.mjs +113 -0
  38. package/browser/esm/CkocGozEYIwcmc-x.mjs +105 -0
  39. package/browser/esm/D3E3Pf2O3BHV0mYQ.mjs +52 -0
  40. package/browser/esm/DNv3-zAolc7Scol_.mjs +129 -0
  41. package/browser/esm/DRCKGFtIKBxmTaJW.mjs +191 -0
  42. package/browser/esm/Ddp-16AGwwlZkglN.mjs +219 -0
  43. package/browser/esm/Ft9o24lP0MNgSqIB.mjs +1376 -0
  44. package/browser/esm/IIP2sN_X3kztI92r.mjs +155 -0
  45. package/browser/esm/WSDlFfjApTM0cJ4V.mjs +468 -0
  46. package/browser/esm/dfnya7tN7P1UeVvc.mjs +516 -0
  47. package/browser/esm/dhuC1s94dyRTzxgk.mjs +8869 -0
  48. package/browser/esm/eL50tJKtsxKJk7-6.mjs +217 -0
  49. package/browser/esm/index.mjs +152 -91
  50. package/browser/esm/suPpQTgd0X3baAFS.mjs +20 -0
  51. package/browser/esm/zRDngVAuXekzPZuz.mjs +1150 -0
  52. package/licenses/dependencies.txt +133 -623
  53. package/node/esm/0FcokH6jWYoKKyvJ.mjs +155 -0
  54. package/node/esm/BUqFn97L8YiLtWbW.mjs +129 -0
  55. package/node/esm/CH7ZFM-RHFeeCuff.mjs +82 -0
  56. package/node/esm/CghsKfVdQBikiGJk.mjs +679 -0
  57. package/node/esm/Cv3xawSybVla_gE-.mjs +47 -0
  58. package/node/esm/CwSCTBxawz0-VqW9.mjs +99 -0
  59. package/node/esm/D70ZQyxt_JcDRn7d.mjs +516 -0
  60. package/node/esm/DJnr-2wytqQ57aiM.mjs +4543 -0
  61. package/node/esm/DMDanrARYHWYLx37.mjs +190 -0
  62. package/node/esm/DMtIfyV60BcLQkTD.mjs +470 -0
  63. package/node/esm/DNJmWZomszXCkDx7.mjs +106 -0
  64. package/node/esm/DNkUDrpOmhF_vVDS.mjs +509 -0
  65. package/node/esm/DZG5Pd01dM-dgS3n.mjs +113 -0
  66. package/node/esm/index.mjs +10594 -2831
  67. package/package.json +27 -27
  68. package/resources/contents.json +30 -0
  69. package/resources/locales/contents.json +44 -0
  70. package/resources/locales/de/groups.cmd.json +219 -0
  71. package/resources/locales/de/studio.cmd.json +159 -0
  72. package/resources/locales/de/ui.msg.json +507 -0
  73. package/resources/locales/en/groups.cmd.json +219 -0
  74. package/resources/locales/en/studio.cmd.json +159 -0
  75. package/resources/locales/en/ui.msg.json +508 -0
  76. package/types/index.d.ts +2 -1762
  77. package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +131 -0
  78. package/types/src/anchorItems/AnchorItemsDescriptor.d.ts.map +1 -0
  79. package/types/src/anchorItems/AnchorItemsPanel.d.ts +29 -0
  80. package/types/src/anchorItems/AnchorItemsPanel.d.ts.map +1 -0
  81. package/types/src/anchorItems/index.d.ts +3 -0
  82. package/types/src/anchorItems/index.d.ts.map +1 -0
  83. package/types/src/border/BorderPopupButton.d.ts +30 -0
  84. package/types/src/border/BorderPopupButton.d.ts.map +1 -0
  85. package/types/src/border/BorderStylePopupButton.d.ts +40 -0
  86. package/types/src/border/BorderStylePopupButton.d.ts.map +1 -0
  87. package/types/src/border/index.d.ts +3 -0
  88. package/types/src/border/index.d.ts.map +1 -0
  89. package/types/src/chart/command/InsertChartCommandButton.d.ts +10 -0
  90. package/types/src/chart/command/InsertChartCommandButton.d.ts.map +1 -0
  91. package/types/src/chart/command/index.d.ts +2 -0
  92. package/types/src/chart/command/index.d.ts.map +1 -0
  93. package/types/src/color/Alpha.d.ts +36 -0
  94. package/types/src/color/Alpha.d.ts.map +1 -0
  95. package/types/src/color/Checkboard.d.ts +11 -0
  96. package/types/src/color/Checkboard.d.ts.map +1 -0
  97. package/types/src/color/CheckboardUtils.d.ts +3 -0
  98. package/types/src/color/CheckboardUtils.d.ts.map +1 -0
  99. package/types/src/color/ColorButton.d.ts +21 -0
  100. package/types/src/color/ColorButton.d.ts.map +1 -0
  101. package/types/src/color/ColorButtonList.d.ts +17 -0
  102. package/types/src/color/ColorButtonList.d.ts.map +1 -0
  103. package/types/src/color/ColorPanel.d.ts +71 -0
  104. package/types/src/color/ColorPanel.d.ts.map +1 -0
  105. package/types/src/color/ColorPopupButton.d.ts +29 -0
  106. package/types/src/color/ColorPopupButton.d.ts.map +1 -0
  107. package/types/src/color/CustomColorPanel.d.ts +16 -0
  108. package/types/src/color/CustomColorPanel.d.ts.map +1 -0
  109. package/types/src/color/EditableInput.d.ts +22 -0
  110. package/types/src/color/EditableInput.d.ts.map +1 -0
  111. package/types/src/color/Hue.d.ts +29 -0
  112. package/types/src/color/Hue.d.ts.map +1 -0
  113. package/types/src/color/Saturation.d.ts +45 -0
  114. package/types/src/color/Saturation.d.ts.map +1 -0
  115. package/types/src/color/SketchFields.d.ts +9 -0
  116. package/types/src/color/SketchFields.d.ts.map +1 -0
  117. package/types/src/color/Swatch.d.ts +16 -0
  118. package/types/src/color/Swatch.d.ts.map +1 -0
  119. package/types/src/color/Types.d.ts +11 -0
  120. package/types/src/color/Types.d.ts.map +1 -0
  121. package/types/src/color/_Utils.d.ts +4 -0
  122. package/types/src/color/_Utils.d.ts.map +1 -0
  123. package/types/src/color/index.d.ts +7 -0
  124. package/types/src/color/index.d.ts.map +1 -0
  125. package/types/src/command/AccountingStyleCommandButton.d.ts +18 -0
  126. package/types/src/command/AccountingStyleCommandButton.d.ts.map +1 -0
  127. package/types/src/command/AppearanceCommandButton.d.ts +3 -0
  128. package/types/src/command/AppearanceCommandButton.d.ts.map +1 -0
  129. package/types/src/command/BorderCommandButton.d.ts +20 -0
  130. package/types/src/command/BorderCommandButton.d.ts.map +1 -0
  131. package/types/src/command/ColorCommandButton.d.ts +23 -0
  132. package/types/src/command/ColorCommandButton.d.ts.map +1 -0
  133. package/types/src/command/DocThemeCommandButton.d.ts +19 -0
  134. package/types/src/command/DocThemeCommandButton.d.ts.map +1 -0
  135. package/types/src/command/FileCommandButton.d.ts +8 -0
  136. package/types/src/command/FileCommandButton.d.ts.map +1 -0
  137. package/types/src/command/FontFamilyCommandButton.d.ts +9 -0
  138. package/types/src/command/FontFamilyCommandButton.d.ts.map +1 -0
  139. package/types/src/command/FontSizeCommandButton.d.ts +21 -0
  140. package/types/src/command/FontSizeCommandButton.d.ts.map +1 -0
  141. package/types/src/command/InsertFunctionCommandPopupButton.d.ts +9 -0
  142. package/types/src/command/InsertFunctionCommandPopupButton.d.ts.map +1 -0
  143. package/types/src/command/InsertFunctionSumCommandPopupButton.d.ts +8 -0
  144. package/types/src/command/InsertFunctionSumCommandPopupButton.d.ts.map +1 -0
  145. package/types/src/command/LanguageCommandButton.d.ts +19 -0
  146. package/types/src/command/LanguageCommandButton.d.ts.map +1 -0
  147. package/types/src/command/LocaleCommandButton.d.ts +17 -0
  148. package/types/src/command/LocaleCommandButton.d.ts.map +1 -0
  149. package/types/src/command/NumberFormatCommandButton.d.ts +6 -0
  150. package/types/src/command/NumberFormatCommandButton.d.ts.map +1 -0
  151. package/types/src/command/PasteCommandButton.d.ts +14 -0
  152. package/types/src/command/PasteCommandButton.d.ts.map +1 -0
  153. package/types/src/command/PresetCellStylesCommandButton.d.ts +11 -0
  154. package/types/src/command/PresetCellStylesCommandButton.d.ts.map +1 -0
  155. package/types/src/command/PresetTableStylesCommandButton.d.ts +12 -0
  156. package/types/src/command/PresetTableStylesCommandButton.d.ts.map +1 -0
  157. package/types/src/command/RegisterCatalog.d.ts +3 -0
  158. package/types/src/command/RegisterCatalog.d.ts.map +1 -0
  159. package/types/src/command/SheetCommandGroups.d.ts +10 -0
  160. package/types/src/command/SheetCommandGroups.d.ts.map +1 -0
  161. package/types/src/command/SheetZoomCommandButton.d.ts +9 -0
  162. package/types/src/command/SheetZoomCommandButton.d.ts.map +1 -0
  163. package/types/src/command/StudioCommandGroups.d.ts +11 -0
  164. package/types/src/command/StudioCommandGroups.d.ts.map +1 -0
  165. package/types/src/command/TextEffectsCommandButton.d.ts +6 -0
  166. package/types/src/command/TextEffectsCommandButton.d.ts.map +1 -0
  167. package/types/src/command/TextRotateGroupButton.d.ts +14 -0
  168. package/types/src/command/TextRotateGroupButton.d.ts.map +1 -0
  169. package/types/src/command/UndoRedoCommandButton.d.ts +14 -0
  170. package/types/src/command/UndoRedoCommandButton.d.ts.map +1 -0
  171. package/types/src/command/WalkingCopyCommandButton.d.ts +6 -0
  172. package/types/src/command/WalkingCopyCommandButton.d.ts.map +1 -0
  173. package/types/src/command/WorkbookCommandGroups.d.ts +11 -0
  174. package/types/src/command/WorkbookCommandGroups.d.ts.map +1 -0
  175. package/types/src/command/index.d.ts +23 -0
  176. package/types/src/command/index.d.ts.map +1 -0
  177. package/types/src/conditionalFormat/ColorScaleRulePanel.d.ts +18 -0
  178. package/types/src/conditionalFormat/ColorScaleRulePanel.d.ts.map +1 -0
  179. package/types/src/conditionalFormat/ConditionalFormatDetailsPanel.d.ts +23 -0
  180. package/types/src/conditionalFormat/ConditionalFormatDetailsPanel.d.ts.map +1 -0
  181. package/types/src/conditionalFormat/ConditionalFormatDetailsTaskPane.d.ts +4 -0
  182. package/types/src/conditionalFormat/ConditionalFormatDetailsTaskPane.d.ts.map +1 -0
  183. package/types/src/conditionalFormat/ConditionalFormatEditorPanel.d.ts +20 -0
  184. package/types/src/conditionalFormat/ConditionalFormatEditorPanel.d.ts.map +1 -0
  185. package/types/src/conditionalFormat/ConditionalFormatPlugin.d.ts +2 -0
  186. package/types/src/conditionalFormat/ConditionalFormatPlugin.d.ts.map +1 -0
  187. package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts +32 -0
  188. package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts.map +1 -0
  189. package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts +34 -0
  190. package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts.map +1 -0
  191. package/types/src/conditionalFormat/ConditionalFormatTitle.d.ts +10 -0
  192. package/types/src/conditionalFormat/ConditionalFormatTitle.d.ts.map +1 -0
  193. package/types/src/conditionalFormat/DataBarRulePanel.d.ts +23 -0
  194. package/types/src/conditionalFormat/DataBarRulePanel.d.ts.map +1 -0
  195. package/types/src/conditionalFormat/IconSetRulePanel.d.ts +23 -0
  196. package/types/src/conditionalFormat/IconSetRulePanel.d.ts.map +1 -0
  197. package/types/src/conditionalFormat/PresetChip.d.ts +17 -0
  198. package/types/src/conditionalFormat/PresetChip.d.ts.map +1 -0
  199. package/types/src/conditionalFormat/PresetScalesCommandButton.d.ts +20 -0
  200. package/types/src/conditionalFormat/PresetScalesCommandButton.d.ts.map +1 -0
  201. package/types/src/conditionalFormat/RulePreview.d.ts +23 -0
  202. package/types/src/conditionalFormat/RulePreview.d.ts.map +1 -0
  203. package/types/src/conditionalFormat/RuleSection.d.ts +20 -0
  204. package/types/src/conditionalFormat/RuleSection.d.ts.map +1 -0
  205. package/types/src/conditionalFormat/ScaleMiniGrid.d.ts +59 -0
  206. package/types/src/conditionalFormat/ScaleMiniGrid.d.ts.map +1 -0
  207. package/types/src/conditionalFormat/ScaleStopRow.d.ts +34 -0
  208. package/types/src/conditionalFormat/ScaleStopRow.d.ts.map +1 -0
  209. package/types/src/conditionalFormat/index.d.ts +3 -0
  210. package/types/src/conditionalFormat/index.d.ts.map +1 -0
  211. package/types/src/conditionalFormat/previewColor.d.ts +50 -0
  212. package/types/src/conditionalFormat/previewColor.d.ts.map +1 -0
  213. package/types/src/conditions/AverageOption.d.ts +25 -0
  214. package/types/src/conditions/AverageOption.d.ts.map +1 -0
  215. package/types/src/conditions/BetweenOption.d.ts +25 -0
  216. package/types/src/conditions/BetweenOption.d.ts.map +1 -0
  217. package/types/src/conditions/BooleanOption.d.ts +24 -0
  218. package/types/src/conditions/BooleanOption.d.ts.map +1 -0
  219. package/types/src/conditions/CombinatorOption.d.ts +41 -0
  220. package/types/src/conditions/CombinatorOption.d.ts.map +1 -0
  221. package/types/src/conditions/ConditionEditor.d.ts +57 -0
  222. package/types/src/conditions/ConditionEditor.d.ts.map +1 -0
  223. package/types/src/conditions/ConditionUtils.d.ts +83 -0
  224. package/types/src/conditions/ConditionUtils.d.ts.map +1 -0
  225. package/types/src/conditions/DateTimeOption.d.ts +43 -0
  226. package/types/src/conditions/DateTimeOption.d.ts.map +1 -0
  227. package/types/src/conditions/ExpressionOption.d.ts +26 -0
  228. package/types/src/conditions/ExpressionOption.d.ts.map +1 -0
  229. package/types/src/conditions/InSetOption.d.ts +37 -0
  230. package/types/src/conditions/InSetOption.d.ts.map +1 -0
  231. package/types/src/conditions/NumberOption.d.ts +24 -0
  232. package/types/src/conditions/NumberOption.d.ts.map +1 -0
  233. package/types/src/conditions/OperatorAndParamEditor.d.ts +55 -0
  234. package/types/src/conditions/OperatorAndParamEditor.d.ts.map +1 -0
  235. package/types/src/conditions/OperatorSelect.d.ts +35 -0
  236. package/types/src/conditions/OperatorSelect.d.ts.map +1 -0
  237. package/types/src/conditions/OperatorSelectPopupButton.d.ts +39 -0
  238. package/types/src/conditions/OperatorSelectPopupButton.d.ts.map +1 -0
  239. package/types/src/conditions/ScalarOption.d.ts +29 -0
  240. package/types/src/conditions/ScalarOption.d.ts.map +1 -0
  241. package/types/src/conditions/SelectorSelect.d.ts +43 -0
  242. package/types/src/conditions/SelectorSelect.d.ts.map +1 -0
  243. package/types/src/conditions/StringOption.d.ts +24 -0
  244. package/types/src/conditions/StringOption.d.ts.map +1 -0
  245. package/types/src/conditions/TimePeriodOption.d.ts +25 -0
  246. package/types/src/conditions/TimePeriodOption.d.ts.map +1 -0
  247. package/types/src/conditions/TopNOption.d.ts +25 -0
  248. package/types/src/conditions/TopNOption.d.ts.map +1 -0
  249. package/types/src/conditions/index.d.ts +13 -0
  250. package/types/src/conditions/index.d.ts.map +1 -0
  251. package/types/src/dataValidation/DataValidationDetailsPanel.d.ts +16 -0
  252. package/types/src/dataValidation/DataValidationDetailsPanel.d.ts.map +1 -0
  253. package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts +3 -0
  254. package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts.map +1 -0
  255. package/types/src/dataValidation/DataValidationEditorPanel.d.ts +12 -0
  256. package/types/src/dataValidation/DataValidationEditorPanel.d.ts.map +1 -0
  257. package/types/src/dataValidation/DataValidationPlugin.d.ts +2 -0
  258. package/types/src/dataValidation/DataValidationPlugin.d.ts.map +1 -0
  259. package/types/src/dataValidation/index.d.ts +2 -0
  260. package/types/src/dataValidation/index.d.ts.map +1 -0
  261. package/types/src/debug/DebugUtils.d.ts +4 -0
  262. package/types/src/debug/DebugUtils.d.ts.map +1 -0
  263. package/types/src/debug/index.d.ts +2 -0
  264. package/types/src/debug/index.d.ts.map +1 -0
  265. package/types/src/dialog/CommentsDialog.d.ts +11 -0
  266. package/types/src/dialog/CommentsDialog.d.ts.map +1 -0
  267. package/types/src/dialog/FindReplaceWindow.d.ts +13 -0
  268. package/types/src/dialog/FindReplaceWindow.d.ts.map +1 -0
  269. package/types/src/dialog/HyperlinkDialog.d.ts +28 -0
  270. package/types/src/dialog/HyperlinkDialog.d.ts.map +1 -0
  271. package/types/src/dialog/InsertFunctionDialog.d.ts +25 -0
  272. package/types/src/dialog/InsertFunctionDialog.d.ts.map +1 -0
  273. package/types/src/dialog/NamedReferenceDialog.d.ts +17 -0
  274. package/types/src/dialog/NamedReferenceDialog.d.ts.map +1 -0
  275. package/types/src/dialog/NumberFormatDialog.d.ts +12 -0
  276. package/types/src/dialog/NumberFormatDialog.d.ts.map +1 -0
  277. package/types/src/dialog/ResizeHeaderDialog.d.ts +15 -0
  278. package/types/src/dialog/ResizeHeaderDialog.d.ts.map +1 -0
  279. package/types/src/dialog/ShortcutKeysDialog.d.ts +9 -0
  280. package/types/src/dialog/ShortcutKeysDialog.d.ts.map +1 -0
  281. package/types/src/dialog/ShortcutKeysPanel.d.ts +28 -0
  282. package/types/src/dialog/ShortcutKeysPanel.d.ts.map +1 -0
  283. package/types/src/dialog/SortDialog.d.ts +9 -0
  284. package/types/src/dialog/SortDialog.d.ts.map +1 -0
  285. package/types/src/dialog/TableNewDialog.d.ts +14 -0
  286. package/types/src/dialog/TableNewDialog.d.ts.map +1 -0
  287. package/types/src/dialog/WorkbookStatisticsDialog.d.ts +13 -0
  288. package/types/src/dialog/WorkbookStatisticsDialog.d.ts.map +1 -0
  289. package/types/src/dialog/index.d.ts +10 -0
  290. package/types/src/dialog/index.d.ts.map +1 -0
  291. package/types/src/filter/ColumnMenu.d.ts +13 -0
  292. package/types/src/filter/ColumnMenu.d.ts.map +1 -0
  293. package/types/src/filter/FilterList.d.ts +28 -0
  294. package/types/src/filter/FilterList.d.ts.map +1 -0
  295. package/types/src/filter/index.d.ts +3 -0
  296. package/types/src/filter/index.d.ts.map +1 -0
  297. package/types/src/form/FormulaField.d.ts +221 -0
  298. package/types/src/form/FormulaField.d.ts.map +1 -0
  299. package/types/src/form/InputField.d.ts +89 -0
  300. package/types/src/form/InputField.d.ts.map +1 -0
  301. package/types/src/form/index.d.ts +3 -0
  302. package/types/src/form/index.d.ts.map +1 -0
  303. package/types/src/formulaBar/FormulaBar.d.ts +8 -0
  304. package/types/src/formulaBar/FormulaBar.d.ts.map +1 -0
  305. package/types/src/formulaBar/IFormulaBar.d.ts +51 -0
  306. package/types/src/formulaBar/IFormulaBar.d.ts.map +1 -0
  307. package/types/src/formulaBar/index.d.ts +3 -0
  308. package/types/src/formulaBar/index.d.ts.map +1 -0
  309. package/types/src/function/FunctionArgumentsPanel.d.ts +57 -0
  310. package/types/src/function/FunctionArgumentsPanel.d.ts.map +1 -0
  311. package/types/src/function/FunctionSearchPanel.d.ts +35 -0
  312. package/types/src/function/FunctionSearchPanel.d.ts.map +1 -0
  313. package/types/src/function/InsertFunctionWizard.d.ts +79 -0
  314. package/types/src/function/InsertFunctionWizard.d.ts.map +1 -0
  315. package/types/src/function/index.d.ts +4 -0
  316. package/types/src/function/index.d.ts.map +1 -0
  317. package/types/src/function/paneMetrics.d.ts +33 -0
  318. package/types/src/function/paneMetrics.d.ts.map +1 -0
  319. package/types/src/index.d.ts +21 -0
  320. package/types/src/index.d.ts.map +1 -0
  321. package/types/src/itemsPanel/EditorPanel.d.ts +21 -0
  322. package/types/src/itemsPanel/EditorPanel.d.ts.map +1 -0
  323. package/types/src/itemsPanel/ItemCard.d.ts +57 -0
  324. package/types/src/itemsPanel/ItemCard.d.ts.map +1 -0
  325. package/types/src/itemsPanel/ItemsDescriptor.d.ts +215 -0
  326. package/types/src/itemsPanel/ItemsDescriptor.d.ts.map +1 -0
  327. package/types/src/itemsPanel/ItemsPanel.d.ts +45 -0
  328. package/types/src/itemsPanel/ItemsPanel.d.ts.map +1 -0
  329. package/types/src/itemsPanel/SortableCards.d.ts +67 -0
  330. package/types/src/itemsPanel/SortableCards.d.ts.map +1 -0
  331. package/types/src/itemsPanel/index.d.ts +6 -0
  332. package/types/src/itemsPanel/index.d.ts.map +1 -0
  333. package/types/src/movable/MovableContextMenu.d.ts +13 -0
  334. package/types/src/movable/MovableContextMenu.d.ts.map +1 -0
  335. package/types/src/movable/index.d.ts +2 -0
  336. package/types/src/movable/index.d.ts.map +1 -0
  337. package/types/src/named/INamedCollectionEditor.d.ts +37 -0
  338. package/types/src/named/INamedCollectionEditor.d.ts.map +1 -0
  339. package/types/src/named/NamedCollectionEditor.d.ts +7 -0
  340. package/types/src/named/NamedCollectionEditor.d.ts.map +1 -0
  341. package/types/src/named/NamedDetailsPanel.d.ts +11 -0
  342. package/types/src/named/NamedDetailsPanel.d.ts.map +1 -0
  343. package/types/src/named/NamedDetailsTaskPane.d.ts +3 -0
  344. package/types/src/named/NamedDetailsTaskPane.d.ts.map +1 -0
  345. package/types/src/named/NamedDraft.d.ts +68 -0
  346. package/types/src/named/NamedDraft.d.ts.map +1 -0
  347. package/types/src/named/NamedEditorPanel.d.ts +19 -0
  348. package/types/src/named/NamedEditorPanel.d.ts.map +1 -0
  349. package/types/src/named/NamedPlugin.d.ts +2 -0
  350. package/types/src/named/NamedPlugin.d.ts.map +1 -0
  351. package/types/src/named/index.d.ts +8 -0
  352. package/types/src/named/index.d.ts.map +1 -0
  353. package/types/src/numberFormat/NumberFormatPanel.d.ts +29 -0
  354. package/types/src/numberFormat/NumberFormatPanel.d.ts.map +1 -0
  355. package/types/src/numberFormat/NumberFormatTaskPane.d.ts +12 -0
  356. package/types/src/numberFormat/NumberFormatTaskPane.d.ts.map +1 -0
  357. package/types/src/numberFormat/index.d.ts +8 -0
  358. package/types/src/numberFormat/index.d.ts.map +1 -0
  359. package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts +20 -0
  360. package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts.map +1 -0
  361. package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts +3 -0
  362. package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts.map +1 -0
  363. package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts +27 -0
  364. package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts.map +1 -0
  365. package/types/src/protectedRange/ProtectedRangePlugin.d.ts +2 -0
  366. package/types/src/protectedRange/ProtectedRangePlugin.d.ts.map +1 -0
  367. package/types/src/protectedRange/index.d.ts +2 -0
  368. package/types/src/protectedRange/index.d.ts.map +1 -0
  369. package/types/src/protection/WorkbookProtectionDialog.d.ts +23 -0
  370. package/types/src/protection/WorkbookProtectionDialog.d.ts.map +1 -0
  371. package/types/src/protection/WorkbookProtectionPanel.d.ts +51 -0
  372. package/types/src/protection/WorkbookProtectionPanel.d.ts.map +1 -0
  373. package/types/src/protection/index.d.ts +3 -0
  374. package/types/src/protection/index.d.ts.map +1 -0
  375. package/types/src/sheet/SheetTabMenu.d.ts +21 -0
  376. package/types/src/sheet/SheetTabMenu.d.ts.map +1 -0
  377. package/types/src/sheet/SheetsAllMenu.d.ts +16 -0
  378. package/types/src/sheet/SheetsAllMenu.d.ts.map +1 -0
  379. package/types/src/sheet/index.d.ts +3 -0
  380. package/types/src/sheet/index.d.ts.map +1 -0
  381. package/types/src/statusBar/NumberStats.d.ts +27 -0
  382. package/types/src/statusBar/NumberStats.d.ts.map +1 -0
  383. package/types/src/statusBar/SheetZoomScale.d.ts +11 -0
  384. package/types/src/statusBar/SheetZoomScale.d.ts.map +1 -0
  385. package/types/src/statusBar/StatusBar.d.ts +35 -0
  386. package/types/src/statusBar/StatusBar.d.ts.map +1 -0
  387. package/types/src/statusBar/index.d.ts +4 -0
  388. package/types/src/statusBar/index.d.ts.map +1 -0
  389. package/types/src/studio/CommandsWrapper.d.ts +36 -0
  390. package/types/src/studio/CommandsWrapper.d.ts.map +1 -0
  391. package/types/src/studio/DefaultLogo.d.ts +3 -0
  392. package/types/src/studio/DefaultLogo.d.ts.map +1 -0
  393. package/types/src/studio/EagerStudio.d.ts +5 -0
  394. package/types/src/studio/EagerStudio.d.ts.map +1 -0
  395. package/types/src/studio/Studio.d.ts +26 -0
  396. package/types/src/studio/Studio.d.ts.map +1 -0
  397. package/types/src/studio/StudioCommandProvider.d.ts +26 -0
  398. package/types/src/studio/StudioCommandProvider.d.ts.map +1 -0
  399. package/types/src/studio/StudioCommands.d.ts +115 -0
  400. package/types/src/studio/StudioCommands.d.ts.map +1 -0
  401. package/types/src/studio/StudioNotifierProvider.d.ts +10 -0
  402. package/types/src/studio/StudioNotifierProvider.d.ts.map +1 -0
  403. package/types/src/studio/StudioProps.d.ts +372 -0
  404. package/types/src/studio/StudioProps.d.ts.map +1 -0
  405. package/types/src/studio/StudioSplitPane.d.ts +60 -0
  406. package/types/src/studio/StudioSplitPane.d.ts.map +1 -0
  407. package/types/src/studio/StudioTaskPaneArea.d.ts +8 -0
  408. package/types/src/studio/StudioTaskPaneArea.d.ts.map +1 -0
  409. package/types/src/studio/StudioToolbar.d.ts +37 -0
  410. package/types/src/studio/StudioToolbar.d.ts.map +1 -0
  411. package/types/src/studio/index.d.ts +4 -0
  412. package/types/src/studio/index.d.ts.map +1 -0
  413. package/types/src/studio/useStudioApp.d.ts +51 -0
  414. package/types/src/studio/useStudioApp.d.ts.map +1 -0
  415. package/types/src/table/TableDetailsPanel.d.ts +17 -0
  416. package/types/src/table/TableDetailsPanel.d.ts.map +1 -0
  417. package/types/src/table/TableDetailsTaskPane.d.ts +3 -0
  418. package/types/src/table/TableDetailsTaskPane.d.ts.map +1 -0
  419. package/types/src/table/TablePlugin.d.ts +2 -0
  420. package/types/src/table/TablePlugin.d.ts.map +1 -0
  421. package/types/src/table/TableStyleCanvasPreview.d.ts +21 -0
  422. package/types/src/table/TableStyleCanvasPreview.d.ts.map +1 -0
  423. package/types/src/table/TableStyleOptionsPanel.d.ts +38 -0
  424. package/types/src/table/TableStyleOptionsPanel.d.ts.map +1 -0
  425. package/types/src/table/TableStylePreview.d.ts +43 -0
  426. package/types/src/table/TableStylePreview.d.ts.map +1 -0
  427. package/types/src/table/index.d.ts +7 -0
  428. package/types/src/table/index.d.ts.map +1 -0
  429. package/types/src/theme/ThemeSelectButton.d.ts +23 -0
  430. package/types/src/theme/ThemeSelectButton.d.ts.map +1 -0
  431. package/types/src/theme/ThemeSelectPanel.d.ts +17 -0
  432. package/types/src/theme/ThemeSelectPanel.d.ts.map +1 -0
  433. package/types/src/theme/ThemeSelectPopupButton.d.ts +24 -0
  434. package/types/src/theme/ThemeSelectPopupButton.d.ts.map +1 -0
  435. package/types/src/theme/ThemeUtils.d.ts +57 -0
  436. package/types/src/theme/ThemeUtils.d.ts.map +1 -0
  437. package/types/src/theme/index.d.ts +5 -0
  438. package/types/src/theme/index.d.ts.map +1 -0
  439. package/types/src/toast/ToastError.d.ts +10 -0
  440. package/types/src/toast/ToastError.d.ts.map +1 -0
  441. package/types/src/toast/index.d.ts +2 -0
  442. package/types/src/toast/index.d.ts.map +1 -0
  443. package/types/src/toolbar/WorkbookToolbars.d.ts +46 -0
  444. package/types/src/toolbar/WorkbookToolbars.d.ts.map +1 -0
  445. package/types/src/toolbar/index.d.ts +2 -0
  446. package/types/src/toolbar/index.d.ts.map +1 -0
  447. package/types/src/workbook/DefaultRenderers.d.ts +23 -0
  448. package/types/src/workbook/DefaultRenderers.d.ts.map +1 -0
  449. package/types/src/workbook/DocumentTitle.d.ts +69 -0
  450. package/types/src/workbook/DocumentTitle.d.ts.map +1 -0
  451. package/types/src/workbook/WorkbookContextMenu.d.ts +13 -0
  452. package/types/src/workbook/WorkbookContextMenu.d.ts.map +1 -0
  453. package/types/src/workbook/WorkbookElement.d.ts +12 -0
  454. package/types/src/workbook/WorkbookElement.d.ts.map +1 -0
  455. package/types/src/workbook/WorkbookStrip.d.ts +37 -0
  456. package/types/src/workbook/WorkbookStrip.d.ts.map +1 -0
  457. package/types/src/workbook/index.d.ts +7 -0
  458. package/types/src/workbook/index.d.ts.map +1 -0
  459. package/browser/cjs/7uRpnSJkNHg_E-KO.cjs +0 -6
  460. package/browser/cjs/B-O26BvbKDImp7pm.cjs +0 -20
  461. package/browser/cjs/B4j_sdzJNzq1ZPbT.cjs +0 -6
  462. package/browser/cjs/BWS4gFWp8lDPvR9C.cjs +0 -6
  463. package/browser/cjs/CmSwD6NZAHhOcRi3.cjs +0 -6
  464. package/browser/cjs/DHwhTAQeNs4slttB.cjs +0 -6
  465. package/browser/cjs/DMOT_ixtKqRvPULq.cjs +0 -6
  466. package/browser/cjs/DX5ji_lT0Qlqznv7.cjs +0 -42
  467. package/browser/cjs/DbqHWelIXc-F2a9N.cjs +0 -6
  468. package/browser/cjs/muTJOFrCXh156rjc.cjs +0 -6
  469. package/browser/cjs/rIy1Cx7HX-8zaQjY.cjs +0 -18
  470. package/browser/cjs/saPH3d5fE-ugXp6m.cjs +0 -7
  471. package/browser/esm/0D8VtNalLeBTB51a.mjs +0 -640
  472. package/browser/esm/BMo7K5LaD7zuDVg9.mjs +0 -2159
  473. package/browser/esm/BNmwaUWz2DJqWumP.mjs +0 -25
  474. package/browser/esm/Btt4G85L5v01eySb.mjs +0 -46
  475. package/browser/esm/C7jHdVMf6Yr4eH_B.mjs +0 -50
  476. package/browser/esm/CROTe62QHFVo8YMt.mjs +0 -155
  477. package/browser/esm/D5XNYGaC4Yw6vCRL.mjs +0 -54
  478. package/browser/esm/DUzVAMWTrS0u37LX.mjs +0 -2411
  479. package/browser/esm/DltuoFr9A-WJccbV.mjs +0 -26
  480. package/browser/esm/DtifaYF85GrfJ9_1.mjs +0 -50
  481. package/browser/esm/aUkJls9HzxnrZSof.mjs +0 -53
  482. package/browser/esm/mqkuG-TcLS4nn4x0.mjs +0 -4531
  483. package/node/assets/style.css +0 -1
  484. package/node/esm/BYjJIMFsheqJcsEI.mjs +0 -57
  485. package/node/esm/CACqTiBtxYlo1mu7.mjs +0 -26
  486. package/node/esm/CJU8jJhxtR3PEj2I.mjs +0 -52
  487. package/node/esm/CS0OWM24rZpAGRKU.mjs +0 -50
  488. package/node/esm/CdUceTAldsMTIFnD.mjs +0 -53
  489. package/node/esm/D6B7z_d11sd-U1fU.mjs +0 -46
  490. package/node/esm/DCngEQG4um0yTeoj.mjs +0 -91
  491. package/node/esm/DQnCFz2zJgMwLou_.mjs +0 -88
  492. package/node/esm/Do7ts-uMkQANfvhq.mjs +0 -156
  493. package/node/esm/oYh6joioOWhFd_R3.mjs +0 -25
@@ -0,0 +1,21 @@
1
+ export { LicenseManager, type LicenseDetails } from '@sheetxl/sdk';
2
+ export { useModelListener, useRangeListener, DefaultTaskPaneRegistry, WorkbookIO } from '@sheetxl/react';
3
+ export * from './command';
4
+ export * from './form';
5
+ export * from './function';
6
+ export * from './border';
7
+ export * from './color';
8
+ export * from './theme';
9
+ export * from './toolbar';
10
+ export * from './statusBar';
11
+ export * from './formulaBar';
12
+ export * from './named';
13
+ export * from './filter';
14
+ export * from './table';
15
+ export * from './numberFormat';
16
+ export * from './protection';
17
+ export * from './sheet';
18
+ export * from './workbook';
19
+ export * from './theme';
20
+ export * from './studio';
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnE,OAAO,EACL,gBAAgB,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,UAAU,EACxE,MAAM,gBAAgB,CAAC;AAExB,cAAc,WAAW,CAAC;AAE1B,cAAc,QAAQ,CAAC;AAKvB,cAAc,YAAY,CAAC;AAE3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AAExB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAE7B,cAAc,SAAS,CAAC;AAExB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAE7B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAE3B,cAAc,SAAS,CAAC;AAExB,cAAc,UAAU,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { default as React } from 'react';
2
+ import { ItemMessageKeys } from './ItemsDescriptor';
3
+ export interface EditorProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ /**
5
+ * The feature's catalog keys for the cancel/save labels.
6
+ */
7
+ messageKeys: Pick<ItemMessageKeys, 'cancel' | 'save'>;
8
+ /**
9
+ * Called when save is requested
10
+ */
11
+ onSave: () => void;
12
+ /**
13
+ * Called when cancel is requested
14
+ */
15
+ onCancel: () => void;
16
+ }
17
+ /**
18
+ * Save/cancel shell wrapped around a feature editor.
19
+ */
20
+ export declare const EditorPanel: React.NamedExoticComponent<EditorProps>;
21
+ //# sourceMappingURL=EditorPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorPanel.d.ts","sourceRoot":"","sources":["../../../../src/itemsPanel/EditorPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIzD,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACvE;;OAEG;IACH,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,MAAM,CAAC,CAAC;IACtD;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,yCA0DtB,CAAC"}
@@ -0,0 +1,57 @@
1
+ import { default as React } from 'react';
2
+ import { ItemBodyProps, ItemMessageKeys } from './ItemsDescriptor';
3
+ export interface ItemCardProps<T = any> extends React.HTMLAttributes<HTMLDivElement> {
4
+ item: T;
5
+ /**
6
+ * The feature's catalog keys for the action tooltips.
7
+ */
8
+ messageKeys: Pick<ItemMessageKeys, 'moveUp' | 'moveDown' | 'edit' | 'duplicate' | 'delete'>;
9
+ /**
10
+ * The one-line header.
11
+ */
12
+ title: string;
13
+ /**
14
+ * The emphasized line below the header. `null` renders nothing.
15
+ */
16
+ subtitle?: string | null;
17
+ /**
18
+ * Hides every action affordance.
19
+ */
20
+ readOnly?: boolean;
21
+ canMoveUp?: boolean;
22
+ canMoveDown?: boolean;
23
+ onEdit: () => void;
24
+ /**
25
+ * Omit to hide the move affordances (unordered list).
26
+ */
27
+ onMoveBy?: (delta: number) => void;
28
+ /**
29
+ * Omit to hide the duplicate affordance.
30
+ */
31
+ onDuplicate?: () => void;
32
+ onDelete: () => void;
33
+ /**
34
+ * Subscribes to the item's own events to re-render this card.
35
+ */
36
+ subscribeItem?: (item: T, onChange: () => void) => () => void;
37
+ /**
38
+ * Leading visual at the card's top-left, before the title.
39
+ */
40
+ Media?: React.ComponentType<ItemBodyProps<T>>;
41
+ /**
42
+ * Feature content below the subtitle.
43
+ */
44
+ Body?: React.ComponentType<ItemBodyProps<T>>;
45
+ /**
46
+ * Renders the subtitle line instead of {@link subtitle}, for a feature whose subtitle is a
47
+ * control rather than a string — a range the card lets you edit in place.
48
+ */
49
+ Subtitle?: React.ComponentType<ItemBodyProps<T>>;
50
+ }
51
+ /**
52
+ * Card chrome for one listed item: hover/focus action row (move/edit/duplicate/delete), title,
53
+ * subtitle (a string, or a feature's own control via {@link ItemCardProps.Subtitle}), and an
54
+ * optional feature body.
55
+ */
56
+ export declare const ItemCard: React.MemoExoticComponent<(<T = any>(props: ItemCardProps<T>) => React.JSX.Element)>;
57
+ //# sourceMappingURL=ItemCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemCard.d.ts","sourceRoot":"","sources":["../../../../src/itemsPanel/ItemCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAI7E,MAAM,WAAW,aAAa,CAAC,CAAC,GAAC,GAAG,CAAE,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF,IAAI,EAAE,CAAC,CAAC;IACR;;OAEG;IACH,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC,CAAC;IAC5F;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;IAC9D;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9C;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;CAClD;AAED;;;;GAIG;AACH,eAAO,MAAM,QAAQ,8BAAS,CAAC,eAAc,aAAa,CAAC,CAAC,CAAC,wBAkQ3D,CAAC"}
@@ -0,0 +1,215 @@
1
+ import { default as React } from 'react';
2
+ import { IWorkbook } from '@sheetxl/sdk';
3
+ /**
4
+ * How an {@link ItemsPanel} is told that what it is showing has changed.
5
+ */
6
+ export interface ItemsSubscriber {
7
+ /**
8
+ * The list changed — items added, removed, reordered, renamed, or otherwise re-rendered.
9
+ */
10
+ onChange(): void;
11
+ /**
12
+ * The underlying model was restored beneath the panel (undo/redo).
13
+ *
14
+ * @remarks
15
+ * Closes any open editor as well as re-reading the list: a draft taken from state that has since
16
+ * been rolled back would be saved back over the restored model.
17
+ */
18
+ onInvalidated(): void;
19
+ }
20
+ /**
21
+ * Props for the per-feature card body.
22
+ */
23
+ export interface ItemBodyProps<T> {
24
+ item: T;
25
+ }
26
+ /**
27
+ * Props for the per-feature editor body.
28
+ */
29
+ export interface ItemEditorProps<D> {
30
+ /**
31
+ * The editor's working value — see {@link ItemsDescriptor.createDraft}.
32
+ */
33
+ draft: D;
34
+ /**
35
+ * The workbook the draft will be saved into.
36
+ *
37
+ * @remarks
38
+ * An editor commonly needs more than the draft to render its fields — the sheet list behind a
39
+ * scope picker, say. The panel already holds it, so it is passed rather than re-resolved.
40
+ */
41
+ workbook: IWorkbook;
42
+ }
43
+ /**
44
+ * The catalog keys the generic panel, card and editor render for one feature.
45
+ *
46
+ * @remarks
47
+ * Each feature declares these literally — `messageKey('dataValidation.moveUp')` — rather than the
48
+ * generic components building `` `${ns}.moveUp` `` at render. Extraction only sees literal keys, so a
49
+ * composed key is invisible to it and the next `pnpm i18n:extract` would drop the string from the
50
+ * English catalog while it is still in use.
51
+ */
52
+ export interface ItemMessageKeys {
53
+ /** Empty-list text when nothing can be added (read-only). */
54
+ none: string;
55
+ /** Empty-list text inviting the first item. */
56
+ addPrompt: string;
57
+ /** List header. */
58
+ heading: string;
59
+ /** Tooltip on the header's add affordance. */
60
+ insert: string;
61
+ /** Label of the empty-list add button. */
62
+ new: string;
63
+ /** Card action tooltips. */
64
+ edit: string;
65
+ delete: string;
66
+ /** Card duplicate tooltip. Required when the feature supplies {@link ItemsDescriptor.duplicate}. */
67
+ duplicate?: string;
68
+ /** Editor buttons. */
69
+ cancel: string;
70
+ save: string;
71
+ /** Card reorder tooltips. Required when the feature supplies {@link ItemsDescriptor.moveBy}. */
72
+ moveUp?: string;
73
+ moveDown?: string;
74
+ }
75
+ /**
76
+ * Describes one listable feature to the generic {@link ItemsPanel}: where its items come from,
77
+ * what signals change, and the feature-specific card and editor content.
78
+ *
79
+ * @typeParam T - The listed item.
80
+ * @typeParam D - The editor's working value. Often `T` itself (a detached model the feature can
81
+ * mutate freely), but it does not have to be — see {@link createDraft}.
82
+ *
83
+ * @remarks
84
+ * Deliberately says nothing about *how* items are stored. Anchored collections (data validations,
85
+ * conditional formats, protected ranges) reach it through an adapter over `AnchorItemsDescriptor`;
86
+ * defined names bind to it directly. Neither shape is privileged here.
87
+ */
88
+ export interface ItemsDescriptor<T = any, D = T> {
89
+ /**
90
+ * Class-name slug, e.g. `'data-validation'`. Rendered as `sxl-<key>-details` on the panel.
91
+ */
92
+ key: string;
93
+ /**
94
+ * The catalog keys the generic components render, e.g. `messageKey('dataValidation.moveUp')`.
95
+ */
96
+ messageKeys: ItemMessageKeys;
97
+ /**
98
+ * The items to list, in display order.
99
+ */
100
+ getItems(workbook: IWorkbook): readonly T[];
101
+ /**
102
+ * Subscribes to everything that can change {@link getItems} or the read-only state.
103
+ *
104
+ * @returns An unsubscribe callback.
105
+ *
106
+ * @remarks
107
+ * Implementations must pass `{ transactional: false }` to `addListeners`. A UI subscription left
108
+ * transactional lands in the bucket that is only visited inside a commit — and is reverted by an
109
+ * undo, leaving the panel permanently silent.
110
+ */
111
+ subscribe(workbook: IWorkbook, subscriber: ItemsSubscriber): () => void;
112
+ /**
113
+ * Whether the list as a whole cannot be modified — hides add, and every card's actions.
114
+ */
115
+ isReadOnly(workbook: IWorkbook): boolean;
116
+ /**
117
+ * Per-item override of {@link isReadOnly}, for a list that mixes editable and derived items.
118
+ *
119
+ * @defaultValue The list-level {@link isReadOnly}.
120
+ */
121
+ isItemReadOnly?(item: T, workbook: IWorkbook): boolean;
122
+ /**
123
+ * A stable React key for an item.
124
+ *
125
+ * @defaultValue An identity key held against the item object, so reorders animate correctly.
126
+ */
127
+ getItemKey?(item: T): string;
128
+ /**
129
+ * Subscribes to one item's own events, to re-render just its card.
130
+ *
131
+ * @returns An unsubscribe callback.
132
+ */
133
+ subscribeItem?(item: T, onChange: () => void): () => void;
134
+ /**
135
+ * Creates the editor's working value.
136
+ *
137
+ * @param template The item being edited or duplicated; absent when adding.
138
+ *
139
+ * @remarks
140
+ * What a "draft" is belongs to the feature. An anchored collection mints a detached model via
141
+ * `createItem` and edits that. A collection with no such notion — defined names are
142
+ * aggregated from registries that own them, so there is nothing to detach — returns a plain
143
+ * object instead, and {@link save} applies it. The panel only ever hands it back.
144
+ */
145
+ createDraft(workbook: IWorkbook, template?: T): D;
146
+ /**
147
+ * Creates a draft from an ACTIVATION seed — the `draft` of the task pane's `ItemsPaneArgs`, put
148
+ * there by whatever opened the pane (a conditional-format preset command, say). The panel opens
149
+ * straight into the editor on what this returns, exactly as if the user had pressed add.
150
+ *
151
+ * @returns The seeded draft, or `null` to ignore a seed this feature does not recognize.
152
+ *
153
+ * @remarks
154
+ * The seed is the feature's PROPERTIES, not a model object: the caller is a command that knows
155
+ * the shape but holds none of the panel's models, and nothing is committed until save.
156
+ *
157
+ * Omit to opt out — a pane with nothing to seed ignores the argument.
158
+ */
159
+ createSeededDraft?(workbook: IWorkbook, seed: any): D | null;
160
+ /**
161
+ * Flushes editor state that could not be written to the draft synchronously, before
162
+ * {@link save} reads it (hashing a password, say).
163
+ */
164
+ beforeSave?(draft: D): Promise<void> | void;
165
+ /**
166
+ * Persists the draft.
167
+ *
168
+ * @param target The item being edited, or `null` when adding.
169
+ *
170
+ * @remarks
171
+ * The single write point, so the feature — not the panel — decides how the change is committed.
172
+ * Whatever spans more than one model write belongs in one transaction here, or undo unwinds a
173
+ * single edit a field at a time.
174
+ */
175
+ save(workbook: IWorkbook, draft: D, target: T | null): Promise<void> | void;
176
+ /**
177
+ * Removes an item.
178
+ */
179
+ delete(item: T, workbook: IWorkbook): void;
180
+ /**
181
+ * Copies an item. Omit to hide the duplicate affordance.
182
+ */
183
+ duplicate?(item: T, workbook: IWorkbook): void;
184
+ /**
185
+ * Moves an item by `delta` positions. Omit for an unordered list (defined names) to hide the
186
+ * move affordances.
187
+ */
188
+ moveBy?(item: T, delta: number, workbook: IWorkbook): void;
189
+ /**
190
+ * The one-line card header.
191
+ */
192
+ getCardTitle(item: T, t: (key: string, options?: any) => string): string;
193
+ /**
194
+ * The emphasized line below the header — the ranges, the expression. `null` renders nothing.
195
+ */
196
+ getCardSubtitle?(item: T, t: (key: string, options?: any) => string): string | null;
197
+ /**
198
+ * Leading visual at the card's top-left, before the title — a preview swatch, an icon.
199
+ */
200
+ CardMedia?: React.ComponentType<ItemBodyProps<T>>;
201
+ /**
202
+ * Card content below the subtitle.
203
+ */
204
+ CardBody?: React.ComponentType<ItemBodyProps<T>>;
205
+ /**
206
+ * Renders the subtitle line instead of {@link getCardSubtitle}, for a feature whose subtitle is
207
+ * a control rather than a string.
208
+ */
209
+ CardSubtitle?: React.ComponentType<ItemBodyProps<T>>;
210
+ /**
211
+ * The feature editor, rendered inside the save/cancel shell.
212
+ */
213
+ EditorBody: React.ComponentType<ItemEditorProps<D>>;
214
+ }
215
+ //# sourceMappingURL=ItemsDescriptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemsDescriptor.d.ts","sourceRoot":"","sources":["../../../../src/itemsPanel/ItemsDescriptor.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,45 @@
1
+ import { default as React } from 'react';
2
+ import { IWorkbook } from '@sheetxl/sdk';
3
+ import { ItemsPaneArgs } from '@sheetxl/react';
4
+ import { ItemsDescriptor } from './ItemsDescriptor';
5
+ export interface ItemsPanelProps<T = any, D = T> extends React.HTMLAttributes<HTMLDivElement> {
6
+ workbook: IWorkbook;
7
+ descriptor: ItemsDescriptor<T, D>;
8
+ /**
9
+ * The task pane's activation argument. A `draft` in it opens the panel editing a new item seeded
10
+ * from it (via {@link ItemsDescriptor.createSeededDraft}) instead of on the list; an `insert`
11
+ * opens the same editor on an unseeded one.
12
+ *
13
+ * @remarks
14
+ * One activation's worth, so it is consumed on ARRIVAL, not on presence: the panel acts when the
15
+ * value changes identity and never again, or every re-render would reopen the editor.
16
+ */
17
+ args?: ItemsPaneArgs;
18
+ /**
19
+ * Rendered in the list header, left of the insert button — filters, view toggles.
20
+ *
21
+ * @remarks
22
+ * A prop rather than part of the descriptor: these controls own view state that also feeds
23
+ * `descriptor.getItems`, so the feature panel holds both and rebuilds the descriptor.
24
+ */
25
+ headerActions?: React.ReactNode;
26
+ /**
27
+ * Enables drag reordering of the cards, and animates every reorder — dropped drags and the
28
+ * move up/down buttons alike.
29
+ *
30
+ * Only meaningful for an ordered list: without {@link ItemsDescriptor.moveBy} (or when the list
31
+ * is read-only) the flag is inert.
32
+ *
33
+ * @defaultValue false
34
+ */
35
+ dragReorder?: boolean;
36
+ }
37
+ /**
38
+ * Generic task-pane panel for a listable collection: a card list with add/edit/delete (and
39
+ * optionally duplicate/reorder), plus an in-place editor over a draft with save/cancel.
40
+ *
41
+ * Everything feature-specific — where items come from, what a draft is, how a save is committed,
42
+ * the card and editor content — comes from an {@link ItemsDescriptor}.
43
+ */
44
+ export declare const ItemsPanel: React.NamedExoticComponent<ItemsPanelProps<any, any> & React.RefAttributes<HTMLDivElement>>;
45
+ //# sourceMappingURL=ItemsPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemsPanel.d.ts","sourceRoot":"","sources":["../../../../src/itemsPanel/ItemsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAQpD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,MAAM,WAAW,eAAe,CAAC,CAAC,GAAC,GAAG,EAAE,CAAC,GAAC,CAAC,CAAE,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACvF,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAClC;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAoBD;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,6FA0WpB,CAAC"}
@@ -0,0 +1,67 @@
1
+ import { default as React } from 'react';
2
+ export interface SortableCardsProps {
3
+ /**
4
+ * The card ids, in display order. Must match the `id` each {@link SortableCard} was given.
5
+ */
6
+ ids: string[];
7
+ /**
8
+ * Called on drop with the display indices. The model write; the list re-renders from it.
9
+ */
10
+ onMove: (indexFrom: number, indexTo: number) => void;
11
+ /**
12
+ * The scrollable list container, to scope auto-scroll — dnd-kit otherwise offers the document
13
+ * scrolling element as a scroll target and will scroll the page on drag.
14
+ */
15
+ scrollRef: React.RefObject<HTMLElement | null>;
16
+ children: React.ReactNode;
17
+ }
18
+ /**
19
+ * Drag-reorder context for an {@link ItemsPanel} card list.
20
+ *
21
+ * @remarks
22
+ * Deliberately leaner than the TabStrip `Sortable`: a vertical list dragging inside its own
23
+ * scroll container needs no `DragOverlay` — the card never leaves its `@scope` root, so none of
24
+ * the portal/theme-scope carrying applies. The drag is restricted to the vertical axis and the
25
+ * list bounds instead.
26
+ */
27
+ export declare const SortableCards: React.MemoExoticComponent<(props: SortableCardsProps) => React.JSX.Element>;
28
+ /**
29
+ * FLIP-animates the cards through non-drag layout changes: the move up/down buttons, and the
30
+ * shifts around an add or delete.
31
+ *
32
+ * @param container The list container the card wrappers live in.
33
+ * @param enabled Off = no tracking at all (the `dragReorder` flag).
34
+ * @param skipNext Set before a model write to hand that one layout change to dnd-kit instead —
35
+ * a drop is animated by `useSortable` itself (`wasDragging`), and a second animation on top of
36
+ * it would fight it.
37
+ *
38
+ * @remarks
39
+ * dnd-kit's own layout-change animation (`animateLayoutChanges: () => true`) is NOT used for
40
+ * this, deliberately: it sets the inverted transform in a layout effect and clears it in a
41
+ * passive effect, assuming the browser paints in between. A reorder here produces more than one
42
+ * change event, and the follow-up render flushes those effects before paint — both transform
43
+ * states then collapse into a single style pass and no animation plays (intermittently, since it
44
+ * is a race). This version is immune: it writes both states imperatively with a forced style
45
+ * flush between them, so the browser is guaranteed to see the offset start position.
46
+ *
47
+ * Positions are read via `offsetTop`, which ignores transforms — re-running mid-animation (or
48
+ * mid-drag, where dnd-kit is transforming the cards) sees the stable layout and does nothing.
49
+ */
50
+ export declare function useReorderFlip(container: React.RefObject<HTMLElement | null>, enabled: boolean, skipNext: React.RefObject<boolean>): void;
51
+ export interface SortableCardProps {
52
+ /**
53
+ * Stable id, the same one used as the React key.
54
+ */
55
+ id: string;
56
+ /**
57
+ * Read-only card — listed and displaced by drags, but not draggable itself.
58
+ */
59
+ disabled?: boolean;
60
+ children: React.ReactNode;
61
+ }
62
+ /**
63
+ * Sortable wrapper around one {@link ItemCard}. The card itself stays drag-unaware; this wrapper
64
+ * owns the dnd-kit node ref, transform and activation listeners.
65
+ */
66
+ export declare const SortableCard: React.MemoExoticComponent<(props: SortableCardProps) => React.JSX.Element>;
67
+ //# sourceMappingURL=SortableCards.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableCards.d.ts","sourceRoot":"","sources":["../../../../src/itemsPanel/SortableCards.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,GAAG,EAAE,MAAM,EAAE,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD;;;OAGG;IACH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC/C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAqBD;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,oCAAgB,kBAAkB,uBAkD1D,CAAC;AAOH;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,cAAc,CAC5B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EAC9C,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,GACjC,IAAI,CA4CN;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAOD;;;GAGG;AACH,eAAO,MAAM,YAAY,oCAAgB,iBAAiB,uBAqDxD,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './ItemsDescriptor';
2
+ export * from './ItemsPanel';
3
+ export * from './ItemCard';
4
+ export * from './EditorPanel';
5
+ export * from './SortableCards';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/itemsPanel/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { IMovable } from '@sheetxl/sdk';
3
+ import { FloatReference } from '@sheetxl/utils-react';
4
+ export interface MovableContextMenuProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ movable: IMovable;
6
+ disabled?: boolean;
7
+ floatReference: FloatReference;
8
+ }
9
+ /**
10
+ * Context menu for a movable elements.
11
+ */
12
+ export declare const MovableContextMenu: React.NamedExoticComponent<MovableContextMenuProps & React.RefAttributes<HTMLDivElement>>;
13
+ //# sourceMappingURL=MovableContextMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MovableContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/movable/MovableContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAA+C,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAMxG,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAEnF,OAAO,EAAE,QAAQ,CAAC;IAElB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,cAAc,EAAE,cAAc,CAAC;CAChC;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,2FA+C5B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './MovableContextMenu';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/movable/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,37 @@
1
+ import { default as React } from 'react';
2
+ import { INamedCollection, IWorkbook } from '@sheetxl/sdk';
3
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
4
+ import { FloatReference } from '@sheetxl/utils-react';
5
+ export interface NamedCollectionEditorAttributes {
6
+ }
7
+ /**
8
+ * Type returned via ref property
9
+ */
10
+ export interface INamedCollectionEditorElement extends NamedCollectionEditorAttributes, HTMLDivElement {
11
+ }
12
+ export interface NamedCollectionEditorProps extends React.HTMLAttributes<HTMLDivElement> {
13
+ /**
14
+ * The named ranges
15
+ */
16
+ names: INamedCollection;
17
+ /**
18
+ * The workbook
19
+ */
20
+ workbook: IWorkbook;
21
+ /**
22
+ * Returns focus to primary.
23
+ *
24
+ * @remarks
25
+ * Removes the FloatReference is used.
26
+ */
27
+ restoreFocus?: (options?: FocusOptions) => void;
28
+ disabled?: boolean;
29
+ readonly?: boolean;
30
+ parentFloat?: FloatReference;
31
+ propsCommandPopupButton?: CommandPopupButtonProps;
32
+ /**
33
+ * Reference to the underlying element
34
+ */
35
+ ref?: React.Ref<INamedCollectionEditorElement>;
36
+ }
37
+ //# sourceMappingURL=INamedCollectionEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"INamedCollectionEditor.d.ts","sourceRoot":"","sources":["../../../../src/named/INamedCollectionEditor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAErE,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG3D,MAAM,WAAW,+BAA+B;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,+BAA+B,EAAE,cAAc;CAAG;AAEzG,MAAM,WAAW,0BAA2B,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACtF;;OAEG;IACH,KAAK,EAAE,gBAAgB,CAAC;IACxB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,YAAY,KAAK,IAAI,CAAC;IAEhD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,WAAW,CAAC,EAAE,cAAc,CAAC;IAE7B,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;IAElD;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;CAChD"}
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { NamedCollectionEditorProps, INamedCollectionEditorElement } from './INamedCollectionEditor';
3
+ /**
4
+ * Editor used for selecting, editing, or removing named ranges.
5
+ */
6
+ export declare const NamedCollectionEditor: React.NamedExoticComponent<Omit<NamedCollectionEditorProps, "ref"> & React.RefAttributes<INamedCollectionEditorElement>>;
7
+ //# sourceMappingURL=NamedCollectionEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NamedCollectionEditor.d.ts","sourceRoot":"","sources":["../../../../src/named/NamedCollectionEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwC/B,OAAO,EACL,KAAK,0BAA0B,EAAE,KAAK,6BAA6B,EACpE,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,eAAO,MAAM,qBAAqB,0HAslB/B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { IWorkbook } from '@sheetxl/sdk';
3
+ export interface NamedDetailsPanelProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ workbook: IWorkbook;
5
+ }
6
+ /**
7
+ * The managed-names task pane: every defined name in the workbook — across all scopes and of every
8
+ * type — with add/edit/delete and a hidden-names toggle.
9
+ */
10
+ export declare const NamedDetailsPanel: React.NamedExoticComponent<NamedDetailsPanelProps & React.RefAttributes<HTMLDivElement>>;
11
+ //# sourceMappingURL=NamedDetailsPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NamedDetailsPanel.d.ts","sourceRoot":"","sources":["../../../../src/named/NamedDetailsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,cAAc,CAAC;AAgIlF,MAAM,WAAW,sBAAuB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAClF,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,0FAmC3B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TaskPaneProps } from '@sheetxl/react';
2
+ export declare const NamedDetailsTaskPane: (props: TaskPaneProps) => import("react").JSX.Element;
3
+ //# sourceMappingURL=NamedDetailsTaskPane.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NamedDetailsTaskPane.d.ts","sourceRoot":"","sources":["../../../../src/named/NamedDetailsTaskPane.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAIpD,eAAO,MAAM,oBAAoB,GAAI,OAAO,aAAa,gCAexD,CAAC"}
@@ -0,0 +1,68 @@
1
+ import { IWorkbook, INamed } from '@sheetxl/sdk';
2
+ /**
3
+ * The `INamed.getType()` of the defined names the calculation engine owns.
4
+ *
5
+ * @remarks
6
+ * Everything calc owns is a `'formula'` — a name that "is a range" is just one whose expression is
7
+ * a pure reference. There is no separate reference type.
8
+ */
9
+ export declare const NAMED_TYPE_FORMULA = "formula";
10
+ /**
11
+ * Whether a name can be redefined through this pane.
12
+ *
13
+ * @remarks
14
+ * Only names the calculation engine owns. The others are *derived* — a table's `INamed` reports the
15
+ * table's name and range, and nothing else names it. Editing one here would not do what it looks
16
+ * like: `NamedTable` overrides `getName()` to delegate to the table but inherits `AbstractNamed`'s
17
+ * `setName`, which writes to the wrapper's own state — so a "rename" would be written, be undoable,
18
+ * and change nothing the user can see. Renaming a table belongs to the table.
19
+ */
20
+ export declare const isEditableNamed: (item: INamed) => boolean;
21
+ /**
22
+ * The editor's working value for one name.
23
+ *
24
+ * @remarks
25
+ * A plain object rather than a detached model, because there is no model to detach. An
26
+ * `INamedCollection` is a pure aggregator over the registries that own the items, so it has no
27
+ * `createItem` and nothing that could hold an uncommitted edit. {@link saveNamedDraft} is
28
+ * what turns this back into model writes.
29
+ */
30
+ export interface NamedDraft {
31
+ name: string;
32
+ /**
33
+ * The "refers to" expression, with or without a leading `=` — the editor authors it WITH one (it is
34
+ * a formula field), and {@link saveNamedDraft} normalizes it off before the model sees it.
35
+ */
36
+ expression: string;
37
+ /** The sheet name this is scoped to, or `null` for workbook (global) scope. */
38
+ scope: string | null;
39
+ comment: string;
40
+ hidden: boolean;
41
+ /** {@link isEditableNamed} for the item this was taken from; `true` when adding. */
42
+ readonly editable: boolean;
43
+ }
44
+ /**
45
+ * The "refers to" text for a name.
46
+ */
47
+ export declare const expressionOf: (item: INamed) => string;
48
+ /**
49
+ * Builds the editor's working value — from an existing name, or seeded for a new one.
50
+ */
51
+ export declare const createNamedDraft: (workbook: IWorkbook, template?: INamed) => NamedDraft;
52
+ /**
53
+ * Applies a draft: defines a new name, or writes the changed fields of an existing one.
54
+ *
55
+ * @param target The name being edited, or `null` when adding.
56
+ * @throws `Error` if the name is invalid or already taken — the panel surfaces it and keeps the
57
+ * editor open.
58
+ *
59
+ * @remarks
60
+ * Every edit is ONE undo entry. Each setter opens its own commit, so a rename plus a redefinition
61
+ * would otherwise unwind a field at a time — and `setName` re-keys the item in the collection, so a
62
+ * half-undone edit leaves the map keyed on something the item no longer carries.
63
+ *
64
+ * Changing the SCOPE is not a field write at all but a delete plus a define, for the reason given
65
+ * at that branch; it is wrapped in its own commit to keep the same one-entry guarantee.
66
+ */
67
+ export declare const saveNamedDraft: (workbook: IWorkbook, draft: NamedDraft, target: INamed | null) => void;
68
+ //# sourceMappingURL=NamedDraft.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NamedDraft.d.ts","sourceRoot":"","sources":["../../../../src/named/NamedDraft.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,MAAM,EAAqB,MAAM,cAAc,CAAC;AAE9E;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,YAAY,CAAC;AAE5C;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,OAAgD,CAAC;AAEhG;;;;;;;;GAQG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,oFAAoF;IACpF,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,KAAG,MAW3C,CAAC;AAmBF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,UAAU,SAAS,EAAE,WAAW,MAAM,KAAG,UAmBzE,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc,GACzB,UAAU,SAAS,EACnB,OAAO,UAAU,EACjB,QAAQ,MAAM,GAAG,IAAI,KACpB,IA4EF,CAAC"}