@sheetxl/studio-mui 0.7.28-beta.4 → 0.8.0-beta.10

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 (243) hide show
  1. package/browser/esm/{Drbpg4A9TaJUZd5A.mjs → 5cbK03T_Oh3tNdR7.mjs} +7 -5
  2. package/browser/esm/{GCJRjX28QYfxi-Lg.mjs → 9eKCkvqpMQwqcXiw.mjs} +1 -1
  3. package/browser/esm/B1Yp_uy1vFHcJB3U.mjs +13 -0
  4. package/browser/esm/Biy7bhzzzPb5sfRN.mjs +152 -0
  5. package/browser/esm/Blaj2R5hYxtLAW__.mjs +117 -0
  6. package/browser/esm/{CVxEcB8lAnOQ-oPh.mjs → ByeL_BZuJ2kl8gtf.mjs} +46 -47
  7. package/browser/esm/{BLjxQ1NUjmULb00s.mjs → C1Rp2hZrApo5MUc8.mjs} +2 -2
  8. package/browser/esm/{C7WFuxTBA8MWoOQj.mjs → CEvZe2cZK-voZTif.mjs} +5 -5
  9. package/browser/esm/{RbGJTMzxMTlkFlTq.mjs → CIu1bjPJe_x31Oww.mjs} +195 -174
  10. package/browser/esm/COv-m-c2byCgvU3M.mjs +14861 -0
  11. package/browser/esm/CjznclrKqJRi7u9O.mjs +77 -0
  12. package/browser/esm/{DoOWIBDSfgrvMmNO.mjs → CoSiOS-og0zFw4Ws.mjs} +587 -556
  13. package/browser/esm/{6GrWBX-cyxTRJerw.mjs → CtEFHbzYNvYjDYvi.mjs} +7 -7
  14. package/browser/esm/D6S8kVTzOjCn0-SK.mjs +627 -0
  15. package/browser/esm/{BVC0iuc28yuEcyua.mjs → D8al_cJ4U-NgzwoK.mjs} +1 -1
  16. package/browser/esm/DBtc4lku0uHVcqWn.mjs +71 -0
  17. package/browser/esm/{CDyYtk9WscSzj5I5.mjs → DHY19rkSiiRZxShC.mjs} +130 -103
  18. package/browser/esm/{DdbgnOWM0tle1jeT.mjs → DU3J8Gcf-WpBxNYg.mjs} +11 -10
  19. package/browser/esm/Die9NXVFveHvcCT-.mjs +4205 -0
  20. package/browser/esm/{CccE_2DTbTMNIfQM.mjs → DmCQbW4zwkT_Rq88.mjs} +1 -1
  21. package/browser/esm/IQLeaAbtGTipUsOD.mjs +516 -0
  22. package/browser/esm/{DhMl3LbgjdX8Nz7b.mjs → X1Db3b_7b_7OuCk6.mjs} +178 -129
  23. package/browser/esm/fb126BNj3F8URR19.mjs +225 -0
  24. package/browser/esm/index.mjs +418 -135
  25. package/browser/esm/sFOAxZpxXo-qvDSp.mjs +293 -0
  26. package/browser/esm/sam1KGQZ59B_fADz.mjs +1941 -0
  27. package/browser/esm/xKiLJKiLxto8SayF.mjs +256 -0
  28. package/browser/esm/yZxC4qUENOlMhVUH.mjs +68 -0
  29. package/licenses/dependencies.txt +58 -311
  30. package/node/esm/B8SQfjKjzYHLxzZR.mjs +632 -0
  31. package/node/esm/{CgA8rdWVZEpIUpsM.mjs → BYVLi0md4AYuDsB_.mjs} +1 -1
  32. package/node/esm/BYsG3KYVmxSe_CIQ.mjs +294 -0
  33. package/node/esm/BYwXhrEwkRAt9nJS.mjs +71 -0
  34. package/node/esm/B_jRGdwGFkudwmL-.mjs +68 -0
  35. package/node/esm/Bb1sLMqXWKjdve23.mjs +77 -0
  36. package/node/esm/{ELTc6e1FF88hBAev.mjs → BcwMb6CyVfvEwbHn.mjs} +69 -70
  37. package/node/esm/{DYlYrd0A73WoQQgM.mjs → CKu1AtRgyltyEdEN.mjs} +1 -1
  38. package/node/esm/Cmt8Wv806N7NmE4Y.mjs +3344 -0
  39. package/node/esm/{6PuhMTJrzLciGI0Z.mjs → D6oQL8knsPpgdXuk.mjs} +2 -2
  40. package/node/esm/{BxTFDoMd-nowfxfb.mjs → D9rzScOA9pEYFrtz.mjs} +1 -1
  41. package/node/esm/DNSjK5DAH3M14Qbc.mjs +521 -0
  42. package/node/esm/{C2HawKeialuFRR9r.mjs → DZzvTQxIKr9LbEsA.mjs} +1 -1
  43. package/node/esm/{uJOy7zjNtP0IqGoa.mjs → ETK6T6G0SIcFXDe5.mjs} +163 -135
  44. package/node/esm/ah3CUg4-VmNstGk_.mjs +256 -0
  45. package/node/esm/{DPhvWXmDun8bC0_v.mjs → ci8d-mF1H9wnYzix.mjs} +1 -1
  46. package/node/esm/cqzp431iNSLWictb.mjs +116 -0
  47. package/node/esm/index.mjs +14783 -6793
  48. package/package.json +15 -18
  49. package/resources/locales/de/groups.cmd.json +29 -16
  50. package/resources/locales/de/studio.cmd.json +18 -1
  51. package/resources/locales/de/ui.msg.json +350 -40
  52. package/resources/locales/en/groups.cmd.json +39 -17
  53. package/resources/locales/en/studio.cmd.json +18 -1
  54. package/resources/locales/en/ui.msg.json +306 -40
  55. package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +17 -1
  56. package/types/src/anchorItems/AnchorItemsPanel.d.ts +14 -0
  57. package/types/src/anchorItems/AnchoredRangeField.d.ts +40 -0
  58. package/types/src/anchorItems/index.d.ts +1 -0
  59. package/types/src/border/BorderPopupButton.d.ts +6 -6
  60. package/types/src/border/BorderStylePopupButton.d.ts +3 -3
  61. package/types/src/border/BorderTemplateIcon.d.ts +24 -0
  62. package/types/src/border/index.d.ts +1 -0
  63. package/types/src/color/ColorPanel.d.ts +8 -2
  64. package/types/src/color/ColorPopupButton.d.ts +2 -1
  65. package/types/src/command/NumberFormatQuickButtons.d.ts +32 -0
  66. package/types/src/command/PresetCellStylesCommandButton.d.ts +3 -3
  67. package/types/src/command/SheetZoomCommandButton.d.ts +4 -3
  68. package/types/src/comments/CommentCard.d.ts +41 -0
  69. package/types/src/comments/CommentsPlugin.d.ts +6 -0
  70. package/types/src/comments/CommentsTaskPane.d.ts +23 -0
  71. package/types/src/comments/index.d.ts +4 -0
  72. package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts +4 -4
  73. package/types/src/conditionalFormat/IconPickerPopupButton.d.ts +2 -2
  74. package/types/src/conditionalFormat/IconSetRulePanel.d.ts +1 -1
  75. package/types/src/conditions/BetweenOption.d.ts +6 -1
  76. package/types/src/conditions/CombinatorOption.d.ts +7 -0
  77. package/types/src/conditions/ConditionEditor.d.ts +61 -4
  78. package/types/src/conditions/ConditionUtils.d.ts +65 -6
  79. package/types/src/conditions/ExpressionOption.d.ts +12 -6
  80. package/types/src/conditions/MembershipOption.d.ts +67 -0
  81. package/types/src/conditions/OperatorAndParamEditor.d.ts +36 -1
  82. package/types/src/conditions/ScalarOption.d.ts +25 -6
  83. package/types/src/conditions/SelectorSelect.d.ts +16 -7
  84. package/types/src/conditions/index.d.ts +1 -1
  85. package/types/src/conditions/useFormulaOption.d.ts +54 -0
  86. package/types/src/dataValidation/DataValidationDetailsPanel.d.ts +7 -1
  87. package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts +3 -2
  88. package/types/src/dataValidation/DataValidationEditorPanel.d.ts +13 -2
  89. package/types/src/dataValidation/DataValidationIcon.d.ts +22 -0
  90. package/types/src/dataValidation/DataValidationTitle.d.ts +13 -0
  91. package/types/src/dialog/FillSeriesDialog.d.ts +16 -0
  92. package/types/src/dialog/OutlineSettingsDialog.d.ts +12 -0
  93. package/types/src/dialog/TableNewDialog.d.ts +1 -4
  94. package/types/src/dialog/_ShortcutSearch.d.ts +26 -0
  95. package/types/src/dialog/index.d.ts +0 -2
  96. package/types/src/externalLink/ExternalLinkCardBody.d.ts +9 -0
  97. package/types/src/externalLink/ExternalLinkChip.d.ts +18 -0
  98. package/types/src/externalLink/ExternalLinkLocation.d.ts +18 -0
  99. package/types/src/externalLink/ExternalLinkSettingsTab.d.ts +18 -0
  100. package/types/src/externalLink/ExternalLinksPanel.d.ts +11 -0
  101. package/types/src/externalLink/ExternalLinksPlugin.d.ts +5 -0
  102. package/types/src/externalLink/ExternalLinksTaskPane.d.ts +19 -0
  103. package/types/src/externalLink/index.d.ts +8 -0
  104. package/types/src/fill/GradientEditor.d.ts +41 -0
  105. package/types/src/fill/GradientStopsBar.d.ts +43 -0
  106. package/types/src/fill/PatternPopupButton.d.ts +26 -0
  107. package/types/src/fill/PatternSwatch.d.ts +53 -0
  108. package/types/src/fill/index.d.ts +5 -0
  109. package/types/src/filter/ColumnMenu.d.ts +31 -1
  110. package/types/src/filter/index.d.ts +0 -1
  111. package/types/src/form/FormulaField.d.ts +35 -6
  112. package/types/src/form/InputField.d.ts +35 -5
  113. package/types/src/format/AlignmentPanel.d.ts +13 -0
  114. package/types/src/format/BorderPanel.d.ts +22 -0
  115. package/types/src/format/BorderPreview.d.ts +94 -0
  116. package/types/src/format/FillPanel.d.ts +65 -0
  117. package/types/src/format/FontPanel.d.ts +12 -0
  118. package/types/src/format/FormatCellPreview.d.ts +35 -0
  119. package/types/src/format/FormatPanelParts.d.ts +85 -0
  120. package/types/src/format/FormatPlugin.d.ts +11 -0
  121. package/types/src/format/FormatTaskPane.d.ts +39 -0
  122. package/types/src/format/LinePanel.d.ts +53 -0
  123. package/types/src/format/LinePreviews.d.ts +71 -0
  124. package/types/src/format/NumberFormatOption.d.ts +43 -0
  125. package/types/src/{numberFormat → format}/NumberFormatPanel.d.ts +20 -0
  126. package/types/src/format/index.d.ts +14 -0
  127. package/types/src/format/useFormatSelection.d.ts +93 -0
  128. package/types/src/formulaBar/IFormulaBar.d.ts +11 -0
  129. package/types/src/formulaBar/MobileFormulaBar.d.ts +21 -0
  130. package/types/src/formulaBar/MobileInputToolbar.d.ts +37 -0
  131. package/types/src/formulaBar/index.d.ts +3 -0
  132. package/types/src/formulaBar/useFormulaBarSession.d.ts +65 -0
  133. package/types/src/index.d.ts +7 -1
  134. package/types/src/itemsPanel/EditorCommit.d.ts +32 -0
  135. package/types/src/itemsPanel/EditorPanel.d.ts +4 -1
  136. package/types/src/itemsPanel/ItemCard.d.ts +60 -8
  137. package/types/src/itemsPanel/ItemsDescriptor.d.ts +68 -19
  138. package/types/src/itemsPanel/ItemsPanel.d.ts +9 -0
  139. package/types/src/itemsPanel/ItemsSearchField.d.ts +17 -0
  140. package/types/src/itemsPanel/index.d.ts +2 -0
  141. package/types/src/named/NamedDetailsPanel.d.ts +9 -2
  142. package/types/src/named/NamedDetailsTaskPane.d.ts +3 -2
  143. package/types/src/named/NamedEditorPanel.d.ts +1 -1
  144. package/types/src/named/NamedExpressionField.d.ts +32 -0
  145. package/types/src/named/NamedKindChip.d.ts +38 -0
  146. package/types/src/picture/PicturePlugin.d.ts +6 -0
  147. package/types/src/picture/index.d.ts +2 -0
  148. package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts +6 -0
  149. package/types/src/protectedRange/ProtectedRangeDraft.d.ts +22 -0
  150. package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts +0 -14
  151. package/types/src/protectedRange/index.d.ts +2 -1
  152. package/types/src/protection/ManageProtectionTaskPane.d.ts +29 -0
  153. package/types/src/protection/PasswordDialog.d.ts +32 -0
  154. package/types/src/protection/PasswordField.d.ts +35 -0
  155. package/types/src/protection/ProtectedCellsPanel.d.ts +20 -0
  156. package/types/src/protection/ProtectionPlugin.d.ts +11 -0
  157. package/types/src/protection/SheetProtectionPanel.d.ts +35 -0
  158. package/types/src/protection/WorkbookProtectionPanel.d.ts +34 -15
  159. package/types/src/protection/WorkbookProtectionTab.d.ts +22 -0
  160. package/types/src/protection/index.d.ts +7 -1
  161. package/types/src/shape/InsertShapeCommandButton.d.ts +20 -0
  162. package/types/src/shape/ShapeFormatPanel.d.ts +11 -0
  163. package/types/src/shape/ShapePlugin.d.ts +6 -0
  164. package/types/src/shape/index.d.ts +3 -0
  165. package/types/src/slicer/PresetSlicerStylesCommandButton.d.ts +18 -0
  166. package/types/src/slicer/SlicerPlugin.d.ts +6 -0
  167. package/types/src/slicer/index.d.ts +3 -0
  168. package/types/src/statusBar/SheetZoomScale.d.ts +6 -0
  169. package/types/src/studio/CommandsWrapper.d.ts +5 -0
  170. package/types/src/studio/EagerStudio.d.ts +14 -1
  171. package/types/src/studio/StudioCommandProvider.d.ts +10 -0
  172. package/types/src/studio/StudioCommands.d.ts +40 -4
  173. package/types/src/studio/StudioProps.d.ts +64 -2
  174. package/types/src/studio/StudioSplitPane.d.ts +1 -1
  175. package/types/src/studio/formulaBarPlacement.d.ts +35 -0
  176. package/types/src/studio/splitStudioProps.d.ts +7 -0
  177. package/types/src/studio/useStudioApp.d.ts +31 -18
  178. package/types/src/template/TemplateCommands.d.ts +29 -0
  179. package/types/src/template/TemplateDialog.d.ts +19 -0
  180. package/types/src/template/TemplatePanel.d.ts +50 -0
  181. package/types/src/template/TemplateSearchField.d.ts +29 -0
  182. package/types/src/template/WelcomeDialog.d.ts +29 -0
  183. package/types/src/template/categoryColor.d.ts +8 -0
  184. package/types/src/template/index.d.ts +3 -0
  185. package/types/src/template/useTemplateCatalog.d.ts +71 -0
  186. package/types/src/toolbar/WorkbookToolbars.d.ts +1 -1
  187. package/types/src/workbook/DefaultRenderers.d.ts +15 -1
  188. package/types/src/workbook/FillMenu.d.ts +21 -0
  189. package/types/src/workbook/OutlineButtons.d.ts +11 -0
  190. package/types/src/workbook/WorkbookElement.d.ts +1 -1
  191. package/types/src/workbook/index.d.ts +1 -0
  192. package/browser/cjs/BQJKf40kttQWOzLw.cjs +0 -20
  193. package/browser/cjs/BTZ5uzK0wHzpiZGC.cjs +0 -1
  194. package/browser/cjs/B_D3JKseVvpRyX-E.cjs +0 -1
  195. package/browser/cjs/BeKpqOx8It0RD0Rf.cjs +0 -2
  196. package/browser/cjs/Bj-EvSYeDfqmU0V6.cjs +0 -2
  197. package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +0 -1
  198. package/browser/cjs/Bte6P3MhSjajJmmY.cjs +0 -7
  199. package/browser/cjs/C97KHSuikAbr1qVM.cjs +0 -1
  200. package/browser/cjs/CJLwX_A3y3TQUmzj.cjs +0 -1
  201. package/browser/cjs/CPSc2VSYZeZ1B9mi.cjs +0 -1
  202. package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +0 -1
  203. package/browser/cjs/CYxc8vnRi8dNpDPk.cjs +0 -1
  204. package/browser/cjs/CZm1jVZaHQ246prW.cjs +0 -1
  205. package/browser/cjs/CdDYyAfccXme8w6m.cjs +0 -1
  206. package/browser/cjs/Cm1APq2MraYNNhyI.cjs +0 -1
  207. package/browser/cjs/DO8V31Z1ewgMA1di.cjs +0 -5
  208. package/browser/cjs/Djsiad0Qha1Y-YaS.cjs +0 -1
  209. package/browser/cjs/IASAYG6qgv7lJY7y.cjs +0 -1
  210. package/browser/cjs/KZvriGbhEOVkQD0b.cjs +0 -1
  211. package/browser/cjs/UnMhi28mbvLiOXQe.cjs +0 -1
  212. package/browser/cjs/Vbigo0kFP3PFfmeA.cjs +0 -1
  213. package/browser/cjs/iMWEL01eC83oU-YY.cjs +0 -1
  214. package/browser/cjs/index.cjs +0 -2
  215. package/browser/cjs/w2GjebPlOFv3pCbm.cjs +0 -1
  216. package/browser/cjs/z0rB4fK6X1M6PpVD.cjs +0 -11
  217. package/browser/cjs/zQsyZpeXAvcVXJMs.cjs +0 -1
  218. package/browser/esm/6seXVm4fUaBp34tP.mjs +0 -217
  219. package/browser/esm/C1PiodbCgkhztxU5.mjs +0 -411
  220. package/browser/esm/C5XQW-A03GP8EZ3s.mjs +0 -52
  221. package/browser/esm/CZGRaL9mjYTo8fAd.mjs +0 -105
  222. package/browser/esm/DTWkitCkayiinpgU.mjs +0 -219
  223. package/browser/esm/DbHn3Fq4gYggsoXV.mjs +0 -5429
  224. package/browser/esm/DxBsD4nDbg_OWhYG.mjs +0 -47
  225. package/browser/esm/HZXAXZqrC43FBvGk.mjs +0 -82
  226. package/browser/esm/dgkVCh7lmm1Twqmo.mjs +0 -9257
  227. package/browser/esm/l5BsxVQszkPy_n34.mjs +0 -1150
  228. package/node/esm/-9Hcp_VKJtR9fWlC.mjs +0 -470
  229. package/node/esm/B-3Ypi8akR-GxIpw.mjs +0 -82
  230. package/node/esm/CbhFnQCOA5TjhFB1.mjs +0 -106
  231. package/node/esm/CxqL51jVpIL4ncWW.mjs +0 -47
  232. package/node/esm/D-x3LVzppkKf5be_.mjs +0 -4575
  233. package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts +0 -32
  234. package/types/src/conditions/DateTimeOption.d.ts +0 -43
  235. package/types/src/conditions/InSetOption.d.ts +0 -37
  236. package/types/src/dialog/CommentsDialog.d.ts +0 -11
  237. package/types/src/dialog/NumberFormatDialog.d.ts +0 -12
  238. package/types/src/filter/FilterList.d.ts +0 -28
  239. package/types/src/numberFormat/NumberFormatTaskPane.d.ts +0 -12
  240. package/types/src/numberFormat/index.d.ts +0 -8
  241. package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts +0 -3
  242. package/types/src/protectedRange/ProtectedRangePlugin.d.ts +0 -2
  243. package/types/src/protection/WorkbookProtectionDialog.d.ts +0 -23
@@ -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, ISheet } 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: ISheet) => 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
@@ -4,10 +4,7 @@ import { InputDialogProps } from '@sheetxl/utils-mui';
4
4
  export interface TableNewDialogProps extends InputDialogProps<CommandContext.NewTable, CommandContext.Table> {
5
5
  }
6
6
  /**
7
- * TODO - get cancel to actually work
8
- * TODO - get range to actually work
9
- * TODO - default has header
10
- * TODO - spacing is poor
7
+ * Used when creating a new table within the workbook.
11
8
  */
12
9
  export declare const TableNewDialog: React.NamedExoticComponent<TableNewDialogProps>;
13
10
  export default TableNewDialog;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Text search for the shortcut keys panel.
3
+ *
4
+ * Every word of the query must match a word of the row. A match is first looked for as a word
5
+ * prefix ("grou" finds "Group", "sum" finds "AutoSum"). Typo tolerance is only a fallback for a
6
+ * query that finds nothing that way: a fuzzy hit inside "Background" is noise when the query
7
+ * "group" already lists the grouping commands.
8
+ *
9
+ * A fuzzy match also has to account for the query word's last character. A transposed or doubled
10
+ * letter is a typo ("gropu" → "group"); a trailing character the word does not contain at all
11
+ * usually means a different word ("group2", "groun" for "ground"), so it does not match. Vowels
12
+ * are exempt because they are the letters most often fumbled ("groupe").
13
+ */
14
+ export interface ShortcutSearchFields {
15
+ label: string;
16
+ scope: string;
17
+ scopeLabel: string;
18
+ description: string;
19
+ }
20
+ /**
21
+ * Returns a search function over `items`. Results are ranked by where the words hit (label, then
22
+ * scope, then description) and otherwise keep the order of `items`. An empty query returns
23
+ * `items` unchanged.
24
+ */
25
+ export declare const createShortcutSearch: <T extends ShortcutSearchFields>(items: readonly T[]) => (query: string) => T[];
26
+ //# sourceMappingURL=_ShortcutSearch.d.ts.map
@@ -1,8 +1,6 @@
1
1
  export * from './FindReplaceWindow';
2
- export * from './NumberFormatDialog';
3
2
  export * from './SortDialog';
4
3
  export * from './HyperlinkDialog';
5
- export * from './CommentsDialog';
6
4
  export * from './NamedReferenceDialog';
7
5
  export * from './InsertFunctionDialog';
8
6
  export * from './ShortcutKeysPanel';
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { IExternalBook } from '@sheetxl/sdk';
3
+ import { ItemBodyProps } from '../itemsPanel';
4
+ /**
5
+ * What is known about one linked book beyond where it is: which of its sheets this workbook holds
6
+ * values for, and how many formulas would change if the link were broken.
7
+ */
8
+ export declare const ExternalLinkCardBody: React.FC<ItemBodyProps<IExternalBook>>;
9
+ //# sourceMappingURL=ExternalLinkCardBody.d.ts.map
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ export interface ExternalLinkChipProps extends React.HTMLAttributes<HTMLElement> {
3
+ /**
4
+ * Chip height in px.
5
+ * @defaultValue 28
6
+ */
7
+ size?: number;
8
+ }
9
+ /**
10
+ * The glyph that leads a linked book's card.
11
+ *
12
+ * @remarks
13
+ * One kind, so one glyph — a link has no `NamedKind` to distinguish. Drawn in the same chip at the
14
+ * same footprint as a name's and a conditional format's: the three sit in the same task pane, and a
15
+ * reader moving between them should find the leading visual in the same place at the same size.
16
+ */
17
+ export declare const ExternalLinkChip: React.NamedExoticComponent<ExternalLinkChipProps>;
18
+ //# sourceMappingURL=ExternalLinkChip.d.ts.map
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ import { IExternalBook } from '@sheetxl/sdk';
3
+ import { ItemBodyProps } from '../itemsPanel';
4
+ /**
5
+ * Where the linked file is — the card's bold label, under the icon and title.
6
+ *
7
+ * @remarks
8
+ * Elides in the MIDDLE rather than at the end: a path's two informative ends are the drive/host and
9
+ * the file name, and a tail ellipsis eats the half that says which file this is. Done by splitting
10
+ * at the last separator and letting only the head shrink, so it costs no measurement — the tail is
11
+ * `flex: 0 0 auto` and the head carries the ellipsis.
12
+ *
13
+ * Renders nothing when no source carries a directory. The title already says the file name, and
14
+ * repeating it as a path that is not one helps nobody (a book may record only a bare relative name
15
+ * — see {@link externalBookLocation}).
16
+ */
17
+ export declare const ExternalLinkLocation: React.FC<ItemBodyProps<IExternalBook>>;
18
+ //# sourceMappingURL=ExternalLinkLocation.d.ts.map
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ import { IWorkbook } from '@sheetxl/sdk';
3
+ export interface ExternalLinkSettingsTabProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ workbook: IWorkbook;
5
+ }
6
+ /**
7
+ * The **Settings** tab: what should happen to the cached values when this workbook is opened.
8
+ *
9
+ * @remarks
10
+ * Carried, not obeyed — SheetXL always reads the cache and never refreshes a link, so the setting
11
+ * is for the applications that do (DESIGN-EXTERNAL-LINKS phase E). It is still worth writing: a
12
+ * workbook that arrives with `never` must leave with it.
13
+ *
14
+ * A workbook whose source said nothing shows `userSet`, which is how Excel reads an absent
15
+ * attribute. Opening the tab writes nothing; only a click does.
16
+ */
17
+ export declare const ExternalLinkSettingsTab: React.NamedExoticComponent<ExternalLinkSettingsTabProps & React.RefAttributes<HTMLDivElement>>;
18
+ //# sourceMappingURL=ExternalLinkSettingsTab.d.ts.map
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { IWorkbook } from '@sheetxl/sdk';
3
+ export interface ExternalLinksPanelProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ workbook: IWorkbook;
5
+ }
6
+ /**
7
+ * The **Links** tab: every workbook this one links to, what of each is cached, and how many
8
+ * formulas cite it — with Break link per row, and Refresh all and Break all above them.
9
+ */
10
+ export declare const ExternalLinksPanel: React.NamedExoticComponent<ExternalLinksPanelProps & React.RefAttributes<HTMLDivElement>>;
11
+ //# sourceMappingURL=ExternalLinksPanel.d.ts.map
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Registers the **Workbook Links** pane, which `manageExternalLinks` opens.
3
+ */
4
+ export declare const ExternalLinksPlugin: () => void;
5
+ //# sourceMappingURL=ExternalLinksPlugin.d.ts.map
@@ -0,0 +1,19 @@
1
+ import { default as React } from 'react';
2
+ import { IWorkbook } from '@sheetxl/sdk';
3
+ import { TaskPaneProps, ExternalLinksPaneArgs } from '@sheetxl/react';
4
+ export interface ExternalLinksTaskPaneProps extends TaskPaneProps<IWorkbook, ExternalLinksPaneArgs> {
5
+ /** The tab shown when the pane opens with no `args`. @defaultValue `'links'` */
6
+ defaultTab?: ExternalLinksPaneArgs.Tab;
7
+ }
8
+ /**
9
+ * **Workbook Links** — every workbook this one links to, and what should happen to their cached
10
+ * values when it is opened, as two tabs of one pane.
11
+ *
12
+ * @remarks
13
+ * Same shape as Manage Protection, and for the same reason: the Links list is a full-height items
14
+ * panel with its own scroll, and stacking a settings block under it would put two scrolling
15
+ * regions in one column.
16
+ */
17
+ export declare const ExternalLinksTaskPane: React.MemoExoticComponent<(props: ExternalLinksTaskPaneProps) => React.JSX.Element | null>;
18
+ export default ExternalLinksTaskPane;
19
+ //# sourceMappingURL=ExternalLinksTaskPane.d.ts.map
@@ -0,0 +1,8 @@
1
+ export * from './ExternalLinkCardBody';
2
+ export * from './ExternalLinkChip';
3
+ export * from './ExternalLinkLocation';
4
+ export * from './ExternalLinkSettingsTab';
5
+ export * from './ExternalLinksPanel';
6
+ export * from './ExternalLinksTaskPane';
7
+ export * from './ExternalLinksPlugin';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,41 @@
1
+ import { default as React } from 'react';
2
+ import { IFill, IColor } from '@sheetxl/sdk';
3
+ import { GradientStopValue } from './GradientStopsBar';
4
+ export interface GradientValue {
5
+ gradientType: IFill.GradientType;
6
+ /**
7
+ * Degrees, `0…359`, as CSS measures them: 0 runs upward, 90 to the right, clockwise. Only
8
+ * meaningful for a linear gradient.
9
+ */
10
+ angle: number;
11
+ stops: GradientStopValue[];
12
+ }
13
+ export interface GradientEditorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
14
+ value: GradientValue;
15
+ onChange: (value: GradientValue) => void;
16
+ /** The fewest stops the editor will leave. See {@link GradientStopsBarProps.minStops}. */
17
+ minStops?: number;
18
+ /** The most stops the editor will author. See {@link GradientStopsBarProps.maxStops}. */
19
+ maxStops?: number;
20
+ /** Theme color resolution for the stop pickers. */
21
+ schemeLookup?: IColor.SchemeLookup;
22
+ recentColors?: readonly IColor[] | (() => readonly IColor[]);
23
+ darkMode?: boolean;
24
+ disabled?: boolean;
25
+ }
26
+ /**
27
+ * The gradient editor behind the Fill tab's Gradient mode: the style and angle, and the stops on
28
+ * a ramp (see {@link GradientStopsBar}).
29
+ *
30
+ * @remarks
31
+ * Excel's Fill Effects offers exactly two colors, six shading styles and three variants of each —
32
+ * a fixed menu because its dialog is all it offers; the file it writes takes any number of stops,
33
+ * and Excel draws them all. This authors the model directly instead: any number of stops at any
34
+ * offset, linear at any angle or radial. A shape's Format pane in Excel has the same ramp.
35
+ */
36
+ export declare const GradientEditor: React.MemoExoticComponent<(props: GradientEditorProps) => React.JSX.Element>;
37
+ /** Read the editor's shape out of a model gradient. */
38
+ export declare const toGradientValue: (fill: IFill.IGradient) => GradientValue;
39
+ /** What "switch this to a gradient" starts from — white to the first accent, left to right. */
40
+ export declare const DEFAULT_GRADIENT: GradientValue;
41
+ //# sourceMappingURL=GradientEditor.d.ts.map