@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.
- package/README.md +2 -2
- package/browser/cjs/BQJKf40kttQWOzLw.cjs +20 -0
- package/browser/cjs/BTZ5uzK0wHzpiZGC.cjs +1 -0
- package/browser/cjs/B_D3JKseVvpRyX-E.cjs +1 -0
- package/browser/cjs/BeKpqOx8It0RD0Rf.cjs +2 -0
- package/browser/cjs/Bj-EvSYeDfqmU0V6.cjs +2 -0
- package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +1 -0
- package/browser/cjs/ByIEqNsvj52sihT9.cjs +5 -0
- package/browser/cjs/C3moehR3VOd0LnmM.cjs +1 -0
- package/browser/cjs/C97KHSuikAbr1qVM.cjs +1 -0
- package/browser/cjs/CJLwX_A3y3TQUmzj.cjs +1 -0
- package/browser/cjs/CPSc2VSYZeZ1B9mi.cjs +1 -0
- package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +1 -0
- package/browser/cjs/CZm1jVZaHQ246prW.cjs +1 -0
- package/browser/cjs/CdDYyAfccXme8w6m.cjs +1 -0
- package/browser/cjs/Cpr3LpTBt3SSArSw.cjs +7 -0
- package/browser/cjs/DBJLJGiCGXesx5n6.cjs +1 -0
- package/browser/cjs/DEaHGn2Rbgcj_fbR.cjs +11 -0
- package/browser/cjs/Djsiad0Qha1Y-YaS.cjs +1 -0
- package/browser/cjs/IASAYG6qgv7lJY7y.cjs +1 -0
- package/browser/cjs/KZvriGbhEOVkQD0b.cjs +1 -0
- package/browser/cjs/UnMhi28mbvLiOXQe.cjs +1 -0
- package/browser/cjs/Vbigo0kFP3PFfmeA.cjs +1 -0
- package/browser/cjs/iMWEL01eC83oU-YY.cjs +1 -0
- package/browser/cjs/index.cjs +2 -7
- package/browser/cjs/w2GjebPlOFv3pCbm.cjs +1 -0
- package/browser/cjs/zQsyZpeXAvcVXJMs.cjs +1 -0
- package/browser/esm/B-2XwThOta_tt8BT.mjs +612 -0
- package/browser/esm/B8qmg9lVcO1_FX1t.mjs +508 -0
- package/browser/esm/BBwrhUtlLbuFQ67J.mjs +5398 -0
- package/browser/esm/BkcTkK4tR4b-px3e.mjs +42 -0
- package/browser/esm/BvQKaacvx0Q4evfJ.mjs +99 -0
- package/browser/esm/C9GBv4ZkH2P6xOGI.mjs +2207 -0
- package/browser/esm/C9MY76RbJdvrNOgK.mjs +411 -0
- package/browser/esm/CCiAWSm5lQALhezl.mjs +82 -0
- package/browser/esm/CGcdue-1rj_uOLLO.mjs +47 -0
- package/browser/esm/CPR9Jpd8zfoZUwWE.mjs +113 -0
- package/browser/esm/CkocGozEYIwcmc-x.mjs +105 -0
- package/browser/esm/D3E3Pf2O3BHV0mYQ.mjs +52 -0
- package/browser/esm/DNv3-zAolc7Scol_.mjs +129 -0
- package/browser/esm/DRCKGFtIKBxmTaJW.mjs +191 -0
- package/browser/esm/Ddp-16AGwwlZkglN.mjs +219 -0
- package/browser/esm/Ft9o24lP0MNgSqIB.mjs +1376 -0
- package/browser/esm/IIP2sN_X3kztI92r.mjs +155 -0
- package/browser/esm/WSDlFfjApTM0cJ4V.mjs +468 -0
- package/browser/esm/dfnya7tN7P1UeVvc.mjs +516 -0
- package/browser/esm/dhuC1s94dyRTzxgk.mjs +8869 -0
- package/browser/esm/eL50tJKtsxKJk7-6.mjs +217 -0
- package/browser/esm/index.mjs +152 -91
- package/browser/esm/suPpQTgd0X3baAFS.mjs +20 -0
- package/browser/esm/zRDngVAuXekzPZuz.mjs +1150 -0
- package/licenses/dependencies.txt +133 -623
- package/node/esm/0FcokH6jWYoKKyvJ.mjs +155 -0
- package/node/esm/BUqFn97L8YiLtWbW.mjs +129 -0
- package/node/esm/CH7ZFM-RHFeeCuff.mjs +82 -0
- package/node/esm/CghsKfVdQBikiGJk.mjs +679 -0
- package/node/esm/Cv3xawSybVla_gE-.mjs +47 -0
- package/node/esm/CwSCTBxawz0-VqW9.mjs +99 -0
- package/node/esm/D70ZQyxt_JcDRn7d.mjs +516 -0
- package/node/esm/DJnr-2wytqQ57aiM.mjs +4543 -0
- package/node/esm/DMDanrARYHWYLx37.mjs +190 -0
- package/node/esm/DMtIfyV60BcLQkTD.mjs +470 -0
- package/node/esm/DNJmWZomszXCkDx7.mjs +106 -0
- package/node/esm/DNkUDrpOmhF_vVDS.mjs +509 -0
- package/node/esm/DZG5Pd01dM-dgS3n.mjs +113 -0
- package/node/esm/index.mjs +10594 -2831
- package/package.json +27 -27
- package/resources/contents.json +30 -0
- package/resources/locales/contents.json +44 -0
- package/resources/locales/de/groups.cmd.json +219 -0
- package/resources/locales/de/studio.cmd.json +159 -0
- package/resources/locales/de/ui.msg.json +507 -0
- package/resources/locales/en/groups.cmd.json +219 -0
- package/resources/locales/en/studio.cmd.json +159 -0
- package/resources/locales/en/ui.msg.json +508 -0
- package/types/index.d.ts +2 -1762
- package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +131 -0
- package/types/src/anchorItems/AnchorItemsDescriptor.d.ts.map +1 -0
- package/types/src/anchorItems/AnchorItemsPanel.d.ts +29 -0
- package/types/src/anchorItems/AnchorItemsPanel.d.ts.map +1 -0
- package/types/src/anchorItems/index.d.ts +3 -0
- package/types/src/anchorItems/index.d.ts.map +1 -0
- package/types/src/border/BorderPopupButton.d.ts +30 -0
- package/types/src/border/BorderPopupButton.d.ts.map +1 -0
- package/types/src/border/BorderStylePopupButton.d.ts +40 -0
- package/types/src/border/BorderStylePopupButton.d.ts.map +1 -0
- package/types/src/border/index.d.ts +3 -0
- package/types/src/border/index.d.ts.map +1 -0
- package/types/src/chart/command/InsertChartCommandButton.d.ts +10 -0
- package/types/src/chart/command/InsertChartCommandButton.d.ts.map +1 -0
- package/types/src/chart/command/index.d.ts +2 -0
- package/types/src/chart/command/index.d.ts.map +1 -0
- package/types/src/color/Alpha.d.ts +36 -0
- package/types/src/color/Alpha.d.ts.map +1 -0
- package/types/src/color/Checkboard.d.ts +11 -0
- package/types/src/color/Checkboard.d.ts.map +1 -0
- package/types/src/color/CheckboardUtils.d.ts +3 -0
- package/types/src/color/CheckboardUtils.d.ts.map +1 -0
- package/types/src/color/ColorButton.d.ts +21 -0
- package/types/src/color/ColorButton.d.ts.map +1 -0
- package/types/src/color/ColorButtonList.d.ts +17 -0
- package/types/src/color/ColorButtonList.d.ts.map +1 -0
- package/types/src/color/ColorPanel.d.ts +71 -0
- package/types/src/color/ColorPanel.d.ts.map +1 -0
- package/types/src/color/ColorPopupButton.d.ts +29 -0
- package/types/src/color/ColorPopupButton.d.ts.map +1 -0
- package/types/src/color/CustomColorPanel.d.ts +16 -0
- package/types/src/color/CustomColorPanel.d.ts.map +1 -0
- package/types/src/color/EditableInput.d.ts +22 -0
- package/types/src/color/EditableInput.d.ts.map +1 -0
- package/types/src/color/Hue.d.ts +29 -0
- package/types/src/color/Hue.d.ts.map +1 -0
- package/types/src/color/Saturation.d.ts +45 -0
- package/types/src/color/Saturation.d.ts.map +1 -0
- package/types/src/color/SketchFields.d.ts +9 -0
- package/types/src/color/SketchFields.d.ts.map +1 -0
- package/types/src/color/Swatch.d.ts +16 -0
- package/types/src/color/Swatch.d.ts.map +1 -0
- package/types/src/color/Types.d.ts +11 -0
- package/types/src/color/Types.d.ts.map +1 -0
- package/types/src/color/_Utils.d.ts +4 -0
- package/types/src/color/_Utils.d.ts.map +1 -0
- package/types/src/color/index.d.ts +7 -0
- package/types/src/color/index.d.ts.map +1 -0
- package/types/src/command/AccountingStyleCommandButton.d.ts +18 -0
- package/types/src/command/AccountingStyleCommandButton.d.ts.map +1 -0
- package/types/src/command/AppearanceCommandButton.d.ts +3 -0
- package/types/src/command/AppearanceCommandButton.d.ts.map +1 -0
- package/types/src/command/BorderCommandButton.d.ts +20 -0
- package/types/src/command/BorderCommandButton.d.ts.map +1 -0
- package/types/src/command/ColorCommandButton.d.ts +23 -0
- package/types/src/command/ColorCommandButton.d.ts.map +1 -0
- package/types/src/command/DocThemeCommandButton.d.ts +19 -0
- package/types/src/command/DocThemeCommandButton.d.ts.map +1 -0
- package/types/src/command/FileCommandButton.d.ts +8 -0
- package/types/src/command/FileCommandButton.d.ts.map +1 -0
- package/types/src/command/FontFamilyCommandButton.d.ts +9 -0
- package/types/src/command/FontFamilyCommandButton.d.ts.map +1 -0
- package/types/src/command/FontSizeCommandButton.d.ts +21 -0
- package/types/src/command/FontSizeCommandButton.d.ts.map +1 -0
- package/types/src/command/InsertFunctionCommandPopupButton.d.ts +9 -0
- package/types/src/command/InsertFunctionCommandPopupButton.d.ts.map +1 -0
- package/types/src/command/InsertFunctionSumCommandPopupButton.d.ts +8 -0
- package/types/src/command/InsertFunctionSumCommandPopupButton.d.ts.map +1 -0
- package/types/src/command/LanguageCommandButton.d.ts +19 -0
- package/types/src/command/LanguageCommandButton.d.ts.map +1 -0
- package/types/src/command/LocaleCommandButton.d.ts +17 -0
- package/types/src/command/LocaleCommandButton.d.ts.map +1 -0
- package/types/src/command/NumberFormatCommandButton.d.ts +6 -0
- package/types/src/command/NumberFormatCommandButton.d.ts.map +1 -0
- package/types/src/command/PasteCommandButton.d.ts +14 -0
- package/types/src/command/PasteCommandButton.d.ts.map +1 -0
- package/types/src/command/PresetCellStylesCommandButton.d.ts +11 -0
- package/types/src/command/PresetCellStylesCommandButton.d.ts.map +1 -0
- package/types/src/command/PresetTableStylesCommandButton.d.ts +12 -0
- package/types/src/command/PresetTableStylesCommandButton.d.ts.map +1 -0
- package/types/src/command/RegisterCatalog.d.ts +3 -0
- package/types/src/command/RegisterCatalog.d.ts.map +1 -0
- package/types/src/command/SheetCommandGroups.d.ts +10 -0
- package/types/src/command/SheetCommandGroups.d.ts.map +1 -0
- package/types/src/command/SheetZoomCommandButton.d.ts +9 -0
- package/types/src/command/SheetZoomCommandButton.d.ts.map +1 -0
- package/types/src/command/StudioCommandGroups.d.ts +11 -0
- package/types/src/command/StudioCommandGroups.d.ts.map +1 -0
- package/types/src/command/TextEffectsCommandButton.d.ts +6 -0
- package/types/src/command/TextEffectsCommandButton.d.ts.map +1 -0
- package/types/src/command/TextRotateGroupButton.d.ts +14 -0
- package/types/src/command/TextRotateGroupButton.d.ts.map +1 -0
- package/types/src/command/UndoRedoCommandButton.d.ts +14 -0
- package/types/src/command/UndoRedoCommandButton.d.ts.map +1 -0
- package/types/src/command/WalkingCopyCommandButton.d.ts +6 -0
- package/types/src/command/WalkingCopyCommandButton.d.ts.map +1 -0
- package/types/src/command/WorkbookCommandGroups.d.ts +11 -0
- package/types/src/command/WorkbookCommandGroups.d.ts.map +1 -0
- package/types/src/command/index.d.ts +23 -0
- package/types/src/command/index.d.ts.map +1 -0
- package/types/src/conditionalFormat/ColorScaleRulePanel.d.ts +18 -0
- package/types/src/conditionalFormat/ColorScaleRulePanel.d.ts.map +1 -0
- package/types/src/conditionalFormat/ConditionalFormatDetailsPanel.d.ts +23 -0
- package/types/src/conditionalFormat/ConditionalFormatDetailsPanel.d.ts.map +1 -0
- package/types/src/conditionalFormat/ConditionalFormatDetailsTaskPane.d.ts +4 -0
- package/types/src/conditionalFormat/ConditionalFormatDetailsTaskPane.d.ts.map +1 -0
- package/types/src/conditionalFormat/ConditionalFormatEditorPanel.d.ts +20 -0
- package/types/src/conditionalFormat/ConditionalFormatEditorPanel.d.ts.map +1 -0
- package/types/src/conditionalFormat/ConditionalFormatPlugin.d.ts +2 -0
- package/types/src/conditionalFormat/ConditionalFormatPlugin.d.ts.map +1 -0
- package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts +32 -0
- package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts.map +1 -0
- package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts +34 -0
- package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts.map +1 -0
- package/types/src/conditionalFormat/ConditionalFormatTitle.d.ts +10 -0
- package/types/src/conditionalFormat/ConditionalFormatTitle.d.ts.map +1 -0
- package/types/src/conditionalFormat/DataBarRulePanel.d.ts +23 -0
- package/types/src/conditionalFormat/DataBarRulePanel.d.ts.map +1 -0
- package/types/src/conditionalFormat/IconSetRulePanel.d.ts +23 -0
- package/types/src/conditionalFormat/IconSetRulePanel.d.ts.map +1 -0
- package/types/src/conditionalFormat/PresetChip.d.ts +17 -0
- package/types/src/conditionalFormat/PresetChip.d.ts.map +1 -0
- package/types/src/conditionalFormat/PresetScalesCommandButton.d.ts +20 -0
- package/types/src/conditionalFormat/PresetScalesCommandButton.d.ts.map +1 -0
- package/types/src/conditionalFormat/RulePreview.d.ts +23 -0
- package/types/src/conditionalFormat/RulePreview.d.ts.map +1 -0
- package/types/src/conditionalFormat/RuleSection.d.ts +20 -0
- package/types/src/conditionalFormat/RuleSection.d.ts.map +1 -0
- package/types/src/conditionalFormat/ScaleMiniGrid.d.ts +59 -0
- package/types/src/conditionalFormat/ScaleMiniGrid.d.ts.map +1 -0
- package/types/src/conditionalFormat/ScaleStopRow.d.ts +34 -0
- package/types/src/conditionalFormat/ScaleStopRow.d.ts.map +1 -0
- package/types/src/conditionalFormat/index.d.ts +3 -0
- package/types/src/conditionalFormat/index.d.ts.map +1 -0
- package/types/src/conditionalFormat/previewColor.d.ts +50 -0
- package/types/src/conditionalFormat/previewColor.d.ts.map +1 -0
- package/types/src/conditions/AverageOption.d.ts +25 -0
- package/types/src/conditions/AverageOption.d.ts.map +1 -0
- package/types/src/conditions/BetweenOption.d.ts +25 -0
- package/types/src/conditions/BetweenOption.d.ts.map +1 -0
- package/types/src/conditions/BooleanOption.d.ts +24 -0
- package/types/src/conditions/BooleanOption.d.ts.map +1 -0
- package/types/src/conditions/CombinatorOption.d.ts +41 -0
- package/types/src/conditions/CombinatorOption.d.ts.map +1 -0
- package/types/src/conditions/ConditionEditor.d.ts +57 -0
- package/types/src/conditions/ConditionEditor.d.ts.map +1 -0
- package/types/src/conditions/ConditionUtils.d.ts +83 -0
- package/types/src/conditions/ConditionUtils.d.ts.map +1 -0
- package/types/src/conditions/DateTimeOption.d.ts +43 -0
- package/types/src/conditions/DateTimeOption.d.ts.map +1 -0
- package/types/src/conditions/ExpressionOption.d.ts +26 -0
- package/types/src/conditions/ExpressionOption.d.ts.map +1 -0
- package/types/src/conditions/InSetOption.d.ts +37 -0
- package/types/src/conditions/InSetOption.d.ts.map +1 -0
- package/types/src/conditions/NumberOption.d.ts +24 -0
- package/types/src/conditions/NumberOption.d.ts.map +1 -0
- package/types/src/conditions/OperatorAndParamEditor.d.ts +55 -0
- package/types/src/conditions/OperatorAndParamEditor.d.ts.map +1 -0
- package/types/src/conditions/OperatorSelect.d.ts +35 -0
- package/types/src/conditions/OperatorSelect.d.ts.map +1 -0
- package/types/src/conditions/OperatorSelectPopupButton.d.ts +39 -0
- package/types/src/conditions/OperatorSelectPopupButton.d.ts.map +1 -0
- package/types/src/conditions/ScalarOption.d.ts +29 -0
- package/types/src/conditions/ScalarOption.d.ts.map +1 -0
- package/types/src/conditions/SelectorSelect.d.ts +43 -0
- package/types/src/conditions/SelectorSelect.d.ts.map +1 -0
- package/types/src/conditions/StringOption.d.ts +24 -0
- package/types/src/conditions/StringOption.d.ts.map +1 -0
- package/types/src/conditions/TimePeriodOption.d.ts +25 -0
- package/types/src/conditions/TimePeriodOption.d.ts.map +1 -0
- package/types/src/conditions/TopNOption.d.ts +25 -0
- package/types/src/conditions/TopNOption.d.ts.map +1 -0
- package/types/src/conditions/index.d.ts +13 -0
- package/types/src/conditions/index.d.ts.map +1 -0
- package/types/src/dataValidation/DataValidationDetailsPanel.d.ts +16 -0
- package/types/src/dataValidation/DataValidationDetailsPanel.d.ts.map +1 -0
- package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts +3 -0
- package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts.map +1 -0
- package/types/src/dataValidation/DataValidationEditorPanel.d.ts +12 -0
- package/types/src/dataValidation/DataValidationEditorPanel.d.ts.map +1 -0
- package/types/src/dataValidation/DataValidationPlugin.d.ts +2 -0
- package/types/src/dataValidation/DataValidationPlugin.d.ts.map +1 -0
- package/types/src/dataValidation/index.d.ts +2 -0
- package/types/src/dataValidation/index.d.ts.map +1 -0
- package/types/src/debug/DebugUtils.d.ts +4 -0
- package/types/src/debug/DebugUtils.d.ts.map +1 -0
- package/types/src/debug/index.d.ts +2 -0
- package/types/src/debug/index.d.ts.map +1 -0
- package/types/src/dialog/CommentsDialog.d.ts +11 -0
- package/types/src/dialog/CommentsDialog.d.ts.map +1 -0
- package/types/src/dialog/FindReplaceWindow.d.ts +13 -0
- package/types/src/dialog/FindReplaceWindow.d.ts.map +1 -0
- package/types/src/dialog/HyperlinkDialog.d.ts +28 -0
- package/types/src/dialog/HyperlinkDialog.d.ts.map +1 -0
- package/types/src/dialog/InsertFunctionDialog.d.ts +25 -0
- package/types/src/dialog/InsertFunctionDialog.d.ts.map +1 -0
- package/types/src/dialog/NamedReferenceDialog.d.ts +17 -0
- package/types/src/dialog/NamedReferenceDialog.d.ts.map +1 -0
- package/types/src/dialog/NumberFormatDialog.d.ts +12 -0
- package/types/src/dialog/NumberFormatDialog.d.ts.map +1 -0
- package/types/src/dialog/ResizeHeaderDialog.d.ts +15 -0
- package/types/src/dialog/ResizeHeaderDialog.d.ts.map +1 -0
- package/types/src/dialog/ShortcutKeysDialog.d.ts +9 -0
- package/types/src/dialog/ShortcutKeysDialog.d.ts.map +1 -0
- package/types/src/dialog/ShortcutKeysPanel.d.ts +28 -0
- package/types/src/dialog/ShortcutKeysPanel.d.ts.map +1 -0
- package/types/src/dialog/SortDialog.d.ts +9 -0
- package/types/src/dialog/SortDialog.d.ts.map +1 -0
- package/types/src/dialog/TableNewDialog.d.ts +14 -0
- package/types/src/dialog/TableNewDialog.d.ts.map +1 -0
- package/types/src/dialog/WorkbookStatisticsDialog.d.ts +13 -0
- package/types/src/dialog/WorkbookStatisticsDialog.d.ts.map +1 -0
- package/types/src/dialog/index.d.ts +10 -0
- package/types/src/dialog/index.d.ts.map +1 -0
- package/types/src/filter/ColumnMenu.d.ts +13 -0
- package/types/src/filter/ColumnMenu.d.ts.map +1 -0
- package/types/src/filter/FilterList.d.ts +28 -0
- package/types/src/filter/FilterList.d.ts.map +1 -0
- package/types/src/filter/index.d.ts +3 -0
- package/types/src/filter/index.d.ts.map +1 -0
- package/types/src/form/FormulaField.d.ts +221 -0
- package/types/src/form/FormulaField.d.ts.map +1 -0
- package/types/src/form/InputField.d.ts +89 -0
- package/types/src/form/InputField.d.ts.map +1 -0
- package/types/src/form/index.d.ts +3 -0
- package/types/src/form/index.d.ts.map +1 -0
- package/types/src/formulaBar/FormulaBar.d.ts +8 -0
- package/types/src/formulaBar/FormulaBar.d.ts.map +1 -0
- package/types/src/formulaBar/IFormulaBar.d.ts +51 -0
- package/types/src/formulaBar/IFormulaBar.d.ts.map +1 -0
- package/types/src/formulaBar/index.d.ts +3 -0
- package/types/src/formulaBar/index.d.ts.map +1 -0
- package/types/src/function/FunctionArgumentsPanel.d.ts +57 -0
- package/types/src/function/FunctionArgumentsPanel.d.ts.map +1 -0
- package/types/src/function/FunctionSearchPanel.d.ts +35 -0
- package/types/src/function/FunctionSearchPanel.d.ts.map +1 -0
- package/types/src/function/InsertFunctionWizard.d.ts +79 -0
- package/types/src/function/InsertFunctionWizard.d.ts.map +1 -0
- package/types/src/function/index.d.ts +4 -0
- package/types/src/function/index.d.ts.map +1 -0
- package/types/src/function/paneMetrics.d.ts +33 -0
- package/types/src/function/paneMetrics.d.ts.map +1 -0
- package/types/src/index.d.ts +21 -0
- package/types/src/index.d.ts.map +1 -0
- package/types/src/itemsPanel/EditorPanel.d.ts +21 -0
- package/types/src/itemsPanel/EditorPanel.d.ts.map +1 -0
- package/types/src/itemsPanel/ItemCard.d.ts +57 -0
- package/types/src/itemsPanel/ItemCard.d.ts.map +1 -0
- package/types/src/itemsPanel/ItemsDescriptor.d.ts +215 -0
- package/types/src/itemsPanel/ItemsDescriptor.d.ts.map +1 -0
- package/types/src/itemsPanel/ItemsPanel.d.ts +45 -0
- package/types/src/itemsPanel/ItemsPanel.d.ts.map +1 -0
- package/types/src/itemsPanel/SortableCards.d.ts +67 -0
- package/types/src/itemsPanel/SortableCards.d.ts.map +1 -0
- package/types/src/itemsPanel/index.d.ts +6 -0
- package/types/src/itemsPanel/index.d.ts.map +1 -0
- package/types/src/movable/MovableContextMenu.d.ts +13 -0
- package/types/src/movable/MovableContextMenu.d.ts.map +1 -0
- package/types/src/movable/index.d.ts +2 -0
- package/types/src/movable/index.d.ts.map +1 -0
- package/types/src/named/INamedCollectionEditor.d.ts +37 -0
- package/types/src/named/INamedCollectionEditor.d.ts.map +1 -0
- package/types/src/named/NamedCollectionEditor.d.ts +7 -0
- package/types/src/named/NamedCollectionEditor.d.ts.map +1 -0
- package/types/src/named/NamedDetailsPanel.d.ts +11 -0
- package/types/src/named/NamedDetailsPanel.d.ts.map +1 -0
- package/types/src/named/NamedDetailsTaskPane.d.ts +3 -0
- package/types/src/named/NamedDetailsTaskPane.d.ts.map +1 -0
- package/types/src/named/NamedDraft.d.ts +68 -0
- package/types/src/named/NamedDraft.d.ts.map +1 -0
- package/types/src/named/NamedEditorPanel.d.ts +19 -0
- package/types/src/named/NamedEditorPanel.d.ts.map +1 -0
- package/types/src/named/NamedPlugin.d.ts +2 -0
- package/types/src/named/NamedPlugin.d.ts.map +1 -0
- package/types/src/named/index.d.ts +8 -0
- package/types/src/named/index.d.ts.map +1 -0
- package/types/src/numberFormat/NumberFormatPanel.d.ts +29 -0
- package/types/src/numberFormat/NumberFormatPanel.d.ts.map +1 -0
- package/types/src/numberFormat/NumberFormatTaskPane.d.ts +12 -0
- package/types/src/numberFormat/NumberFormatTaskPane.d.ts.map +1 -0
- package/types/src/numberFormat/index.d.ts +8 -0
- package/types/src/numberFormat/index.d.ts.map +1 -0
- package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts +20 -0
- package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts.map +1 -0
- package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts +3 -0
- package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts.map +1 -0
- package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts +27 -0
- package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts.map +1 -0
- package/types/src/protectedRange/ProtectedRangePlugin.d.ts +2 -0
- package/types/src/protectedRange/ProtectedRangePlugin.d.ts.map +1 -0
- package/types/src/protectedRange/index.d.ts +2 -0
- package/types/src/protectedRange/index.d.ts.map +1 -0
- package/types/src/protection/WorkbookProtectionDialog.d.ts +23 -0
- package/types/src/protection/WorkbookProtectionDialog.d.ts.map +1 -0
- package/types/src/protection/WorkbookProtectionPanel.d.ts +51 -0
- package/types/src/protection/WorkbookProtectionPanel.d.ts.map +1 -0
- package/types/src/protection/index.d.ts +3 -0
- package/types/src/protection/index.d.ts.map +1 -0
- package/types/src/sheet/SheetTabMenu.d.ts +21 -0
- package/types/src/sheet/SheetTabMenu.d.ts.map +1 -0
- package/types/src/sheet/SheetsAllMenu.d.ts +16 -0
- package/types/src/sheet/SheetsAllMenu.d.ts.map +1 -0
- package/types/src/sheet/index.d.ts +3 -0
- package/types/src/sheet/index.d.ts.map +1 -0
- package/types/src/statusBar/NumberStats.d.ts +27 -0
- package/types/src/statusBar/NumberStats.d.ts.map +1 -0
- package/types/src/statusBar/SheetZoomScale.d.ts +11 -0
- package/types/src/statusBar/SheetZoomScale.d.ts.map +1 -0
- package/types/src/statusBar/StatusBar.d.ts +35 -0
- package/types/src/statusBar/StatusBar.d.ts.map +1 -0
- package/types/src/statusBar/index.d.ts +4 -0
- package/types/src/statusBar/index.d.ts.map +1 -0
- package/types/src/studio/CommandsWrapper.d.ts +36 -0
- package/types/src/studio/CommandsWrapper.d.ts.map +1 -0
- package/types/src/studio/DefaultLogo.d.ts +3 -0
- package/types/src/studio/DefaultLogo.d.ts.map +1 -0
- package/types/src/studio/EagerStudio.d.ts +5 -0
- package/types/src/studio/EagerStudio.d.ts.map +1 -0
- package/types/src/studio/Studio.d.ts +26 -0
- package/types/src/studio/Studio.d.ts.map +1 -0
- package/types/src/studio/StudioCommandProvider.d.ts +26 -0
- package/types/src/studio/StudioCommandProvider.d.ts.map +1 -0
- package/types/src/studio/StudioCommands.d.ts +115 -0
- package/types/src/studio/StudioCommands.d.ts.map +1 -0
- package/types/src/studio/StudioNotifierProvider.d.ts +10 -0
- package/types/src/studio/StudioNotifierProvider.d.ts.map +1 -0
- package/types/src/studio/StudioProps.d.ts +372 -0
- package/types/src/studio/StudioProps.d.ts.map +1 -0
- package/types/src/studio/StudioSplitPane.d.ts +60 -0
- package/types/src/studio/StudioSplitPane.d.ts.map +1 -0
- package/types/src/studio/StudioTaskPaneArea.d.ts +8 -0
- package/types/src/studio/StudioTaskPaneArea.d.ts.map +1 -0
- package/types/src/studio/StudioToolbar.d.ts +37 -0
- package/types/src/studio/StudioToolbar.d.ts.map +1 -0
- package/types/src/studio/index.d.ts +4 -0
- package/types/src/studio/index.d.ts.map +1 -0
- package/types/src/studio/useStudioApp.d.ts +51 -0
- package/types/src/studio/useStudioApp.d.ts.map +1 -0
- package/types/src/table/TableDetailsPanel.d.ts +17 -0
- package/types/src/table/TableDetailsPanel.d.ts.map +1 -0
- package/types/src/table/TableDetailsTaskPane.d.ts +3 -0
- package/types/src/table/TableDetailsTaskPane.d.ts.map +1 -0
- package/types/src/table/TablePlugin.d.ts +2 -0
- package/types/src/table/TablePlugin.d.ts.map +1 -0
- package/types/src/table/TableStyleCanvasPreview.d.ts +21 -0
- package/types/src/table/TableStyleCanvasPreview.d.ts.map +1 -0
- package/types/src/table/TableStyleOptionsPanel.d.ts +38 -0
- package/types/src/table/TableStyleOptionsPanel.d.ts.map +1 -0
- package/types/src/table/TableStylePreview.d.ts +43 -0
- package/types/src/table/TableStylePreview.d.ts.map +1 -0
- package/types/src/table/index.d.ts +7 -0
- package/types/src/table/index.d.ts.map +1 -0
- package/types/src/theme/ThemeSelectButton.d.ts +23 -0
- package/types/src/theme/ThemeSelectButton.d.ts.map +1 -0
- package/types/src/theme/ThemeSelectPanel.d.ts +17 -0
- package/types/src/theme/ThemeSelectPanel.d.ts.map +1 -0
- package/types/src/theme/ThemeSelectPopupButton.d.ts +24 -0
- package/types/src/theme/ThemeSelectPopupButton.d.ts.map +1 -0
- package/types/src/theme/ThemeUtils.d.ts +57 -0
- package/types/src/theme/ThemeUtils.d.ts.map +1 -0
- package/types/src/theme/index.d.ts +5 -0
- package/types/src/theme/index.d.ts.map +1 -0
- package/types/src/toast/ToastError.d.ts +10 -0
- package/types/src/toast/ToastError.d.ts.map +1 -0
- package/types/src/toast/index.d.ts +2 -0
- package/types/src/toast/index.d.ts.map +1 -0
- package/types/src/toolbar/WorkbookToolbars.d.ts +46 -0
- package/types/src/toolbar/WorkbookToolbars.d.ts.map +1 -0
- package/types/src/toolbar/index.d.ts +2 -0
- package/types/src/toolbar/index.d.ts.map +1 -0
- package/types/src/workbook/DefaultRenderers.d.ts +23 -0
- package/types/src/workbook/DefaultRenderers.d.ts.map +1 -0
- package/types/src/workbook/DocumentTitle.d.ts +69 -0
- package/types/src/workbook/DocumentTitle.d.ts.map +1 -0
- package/types/src/workbook/WorkbookContextMenu.d.ts +13 -0
- package/types/src/workbook/WorkbookContextMenu.d.ts.map +1 -0
- package/types/src/workbook/WorkbookElement.d.ts +12 -0
- package/types/src/workbook/WorkbookElement.d.ts.map +1 -0
- package/types/src/workbook/WorkbookStrip.d.ts +37 -0
- package/types/src/workbook/WorkbookStrip.d.ts.map +1 -0
- package/types/src/workbook/index.d.ts +7 -0
- package/types/src/workbook/index.d.ts.map +1 -0
- package/browser/cjs/7uRpnSJkNHg_E-KO.cjs +0 -6
- package/browser/cjs/B-O26BvbKDImp7pm.cjs +0 -20
- package/browser/cjs/B4j_sdzJNzq1ZPbT.cjs +0 -6
- package/browser/cjs/BWS4gFWp8lDPvR9C.cjs +0 -6
- package/browser/cjs/CmSwD6NZAHhOcRi3.cjs +0 -6
- package/browser/cjs/DHwhTAQeNs4slttB.cjs +0 -6
- package/browser/cjs/DMOT_ixtKqRvPULq.cjs +0 -6
- package/browser/cjs/DX5ji_lT0Qlqznv7.cjs +0 -42
- package/browser/cjs/DbqHWelIXc-F2a9N.cjs +0 -6
- package/browser/cjs/muTJOFrCXh156rjc.cjs +0 -6
- package/browser/cjs/rIy1Cx7HX-8zaQjY.cjs +0 -18
- package/browser/cjs/saPH3d5fE-ugXp6m.cjs +0 -7
- package/browser/esm/0D8VtNalLeBTB51a.mjs +0 -640
- package/browser/esm/BMo7K5LaD7zuDVg9.mjs +0 -2159
- package/browser/esm/BNmwaUWz2DJqWumP.mjs +0 -25
- package/browser/esm/Btt4G85L5v01eySb.mjs +0 -46
- package/browser/esm/C7jHdVMf6Yr4eH_B.mjs +0 -50
- package/browser/esm/CROTe62QHFVo8YMt.mjs +0 -155
- package/browser/esm/D5XNYGaC4Yw6vCRL.mjs +0 -54
- package/browser/esm/DUzVAMWTrS0u37LX.mjs +0 -2411
- package/browser/esm/DltuoFr9A-WJccbV.mjs +0 -26
- package/browser/esm/DtifaYF85GrfJ9_1.mjs +0 -50
- package/browser/esm/aUkJls9HzxnrZSof.mjs +0 -53
- package/browser/esm/mqkuG-TcLS4nn4x0.mjs +0 -4531
- package/node/assets/style.css +0 -1
- package/node/esm/BYjJIMFsheqJcsEI.mjs +0 -57
- package/node/esm/CACqTiBtxYlo1mu7.mjs +0 -26
- package/node/esm/CJU8jJhxtR3PEj2I.mjs +0 -52
- package/node/esm/CS0OWM24rZpAGRKU.mjs +0 -50
- package/node/esm/CdUceTAldsMTIFnD.mjs +0 -53
- package/node/esm/D6B7z_d11sd-U1fU.mjs +0 -46
- package/node/esm/DCngEQG4um0yTeoj.mjs +0 -91
- package/node/esm/DQnCFz2zJgMwLou_.mjs +0 -88
- package/node/esm/Do7ts-uMkQANfvhq.mjs +0 -156
- package/node/esm/oYh6joioOWhFd_R3.mjs +0 -25
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/command/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AAEzC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAE5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AAErC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAE3C,cAAc,sBAAsB,CAAC;AAErC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AAExC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAE1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAE3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IConditionalFormat } from '@sheetxl/sdk';
|
|
3
|
+
export interface ColorScaleRulePanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
scale: IConditionalFormat.ColorScale;
|
|
5
|
+
onScaleChange: (scale: IConditionalFormat.ColorScale) => void;
|
|
6
|
+
readOnly?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The Color Scale tab: Excel's twelve preset scales beside a 2/3-stop switch, over the per-stop
|
|
10
|
+
* `{ type, value, color }` rows.
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* Format on top, config under it — the same two boxes every tab in the editor has. Neither box is
|
|
14
|
+
* captioned: the tab is already named, the preview already paints it, and the chips already say
|
|
15
|
+
* what a gallery of color scales is.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ColorScaleRulePanel: React.NamedExoticComponent<ColorScaleRulePanelProps>;
|
|
18
|
+
//# sourceMappingURL=ColorScaleRulePanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorScaleRulePanel.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/ColorScaleRulePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAgClD,MAAM,WAAW,wBAAyB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACpF,KAAK,EAAE,kBAAkB,CAAC,UAAU,CAAC;IACrC,aAAa,EAAE,CAAC,KAAK,EAAE,kBAAkB,CAAC,UAAU,KAAK,IAAI,CAAC;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,sDA8F9B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IWorkbook, IConditionalFormat } from '@sheetxl/sdk';
|
|
3
|
+
import { ItemsPaneArgs } from '@sheetxl/react';
|
|
4
|
+
import { AnchorItemsDescriptor } from '../anchorItems';
|
|
5
|
+
/**
|
|
6
|
+
* Binds conditional formats to the generic {@link AnchorItemsPanel}.
|
|
7
|
+
*/
|
|
8
|
+
export declare const ConditionalFormatItemsDescriptor: AnchorItemsDescriptor<IConditionalFormat>;
|
|
9
|
+
export interface ConditionalFormatDetailsPanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
workbook: IWorkbook;
|
|
11
|
+
/**
|
|
12
|
+
* The task pane's activation argument. A `draft` in it opens the pane editing a new rule seeded
|
|
13
|
+
* from those properties — how the Home▸Conditional Formatting presets ("Greater Than…") hand
|
|
14
|
+
* their rule over without committing it.
|
|
15
|
+
*/
|
|
16
|
+
args?: ItemsPaneArgs<IConditionalFormat.Properties>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The conditional-formatting task pane: the generic anchored-items list driven by
|
|
20
|
+
* {@link ConditionalFormatItemsDescriptor}.
|
|
21
|
+
*/
|
|
22
|
+
export declare const ConditionalFormatDetailsPanel: React.NamedExoticComponent<ConditionalFormatDetailsPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
//# sourceMappingURL=ConditionalFormatDetailsPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionalFormatDetailsPanel.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/ConditionalFormatDetailsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAE,KAAK,SAAS,EAAe,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAIpF,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAElE,OAAO,EACa,KAAK,qBAAqB,EAC7C,MAAM,gBAAgB,CAAC;AA0CxB;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,qBAAqB,CAAC,kBAAkB,CAmEtF,CAAC;AAEF,MAAM,WAAW,kCAAmC,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC9F,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC;CACrD;AAED;;;GAGG;AACH,eAAO,MAAM,6BAA6B,sGAiBvC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IConditionalFormat } from '@sheetxl/sdk';
|
|
2
|
+
import { TaskPaneProps, ItemsPaneArgs } from '@sheetxl/react';
|
|
3
|
+
export declare const ConditionalFormatDetailsTaskPane: (props: TaskPaneProps<any, ItemsPaneArgs<IConditionalFormat.Properties>>) => import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=ConditionalFormatDetailsTaskPane.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionalFormatDetailsTaskPane.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/ConditionalFormatDetailsTaskPane.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAIxE,eAAO,MAAM,gCAAgC,GAC3C,OAAO,aAAa,CAAC,GAAG,EAAE,aAAa,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC,gCAkBxE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IConditionalFormat } from '@sheetxl/sdk';
|
|
2
|
+
export interface ConditionalFormatEditorPanelProps {
|
|
3
|
+
/**
|
|
4
|
+
* The conditional format to edit — the detached draft the items panel minted, edited in place.
|
|
5
|
+
*/
|
|
6
|
+
conditionalFormat: IConditionalFormat;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Editor panel for one conditional-format rule: a live preview chip and the "Apply to" range
|
|
10
|
+
* field, a
|
|
11
|
+
* four-tab strip selecting the rule *kind* (Excel's six new-rule categories land inside the
|
|
12
|
+
* Classic tab as operators), and the per-kind editor.
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* A rule carries either a `condition` + `style` or a `scale`, never both; switching tabs replaces
|
|
16
|
+
* one shape with the other on the draft, and the draft is temporary, so nothing is committed
|
|
17
|
+
* until Save.
|
|
18
|
+
*/
|
|
19
|
+
export declare const ConditionalFormatEditorPanel: import('react').NamedExoticComponent<ConditionalFormatEditorPanelProps>;
|
|
20
|
+
//# sourceMappingURL=ConditionalFormatEditorPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionalFormatEditorPanel.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/ConditionalFormatEditorPanel.tsx"],"names":[],"mappings":"AASA,OAAO,EACO,kBAAkB,EAC/B,MAAM,cAAc,CAAC;AAoCtB,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,iBAAiB,EAAE,kBAAkB,CAAC;CACvC;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B,yEA6JvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionalFormatPlugin.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/ConditionalFormatPlugin.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,uBAAuB,YAanC,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IConditionalFormat } from '@sheetxl/sdk';
|
|
3
|
+
export interface ConditionalFormatRangeFieldProps {
|
|
4
|
+
/**
|
|
5
|
+
* The rule to re-anchor. Written through on commit.
|
|
6
|
+
*/
|
|
7
|
+
conditionalFormat: IConditionalFormat;
|
|
8
|
+
/**
|
|
9
|
+
* Field label. Defaults to "Apply to"; `null` renders none, for a host that names it itself.
|
|
10
|
+
*/
|
|
11
|
+
label?: React.ReactNode | null;
|
|
12
|
+
/**
|
|
13
|
+
* Helper line below the field. Defaults to `null` (none) — a reserved line is left for the error message, which is the one thing a user can get wrong here.
|
|
14
|
+
*/
|
|
15
|
+
helperText?: React.ReactNode | null;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The rule's "Apply to" — the ranges it covers, as a reference field.
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* A rule is authored as several ranges as readily as one (`allowMulti`), but always on ONE sheet
|
|
22
|
+
* (`allowCrossSheet: false`) — a conditional format has no cross-sheet form on the wire.
|
|
23
|
+
*
|
|
24
|
+
* Commit-on-done: the write re-anchors the rule in the sheet's spatial index and lands one entry
|
|
25
|
+
* on the undo stack, so it is not something to do on every keystroke. `'done'` is also what gives
|
|
26
|
+
* the field its ✓/✗ pair and makes Enter the field's own commit point.
|
|
27
|
+
*
|
|
28
|
+
* The helper line is left RESERVED rather than collapsed: a typed address is the one thing here a
|
|
29
|
+
* user can get wrong, and a reserved line means the error appears without the panel jumping.
|
|
30
|
+
*/
|
|
31
|
+
export declare const ConditionalFormatRangeField: React.NamedExoticComponent<ConditionalFormatRangeFieldProps>;
|
|
32
|
+
//# sourceMappingURL=ConditionalFormatRangeField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionalFormatRangeField.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/ConditionalFormatRangeField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EACc,KAAK,kBAAkB,EAC3C,MAAM,cAAc,CAAC;AAQtB,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,iBAAiB,EAAE,kBAAkB,CAAC;IACtC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;CACrC;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,2BAA2B,8DAqDtC,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IStyle } from '@sheetxl/sdk';
|
|
3
|
+
export interface ConditionalFormatStylePickerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/**
|
|
5
|
+
* The rule's dxf. A differential format — only the properties the user touched are present.
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* Named `format` (not `style`) because this interface extends the DOM attributes, where `style`
|
|
9
|
+
* is already the CSS prop.
|
|
10
|
+
*/
|
|
11
|
+
format: IStyle.Properties | null;
|
|
12
|
+
/**
|
|
13
|
+
* Called with the replacement dxf; `null` clears every override.
|
|
14
|
+
*/
|
|
15
|
+
onFormatChange: (format: IStyle.Properties | null) => void;
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The format section of a rule: Excel's six canned presets — so a rule authored here and one
|
|
20
|
+
* authored in Excel start from the same palette — plus a seventh that clears, over a mini toolbar
|
|
21
|
+
* of B/I/U/S toggles, border, and fill and font color (the Home toolbar's order).
|
|
22
|
+
*
|
|
23
|
+
* Clearing is a chip rather than a toolbar button because "no format" is one of the choices on
|
|
24
|
+
* offer, not a separate verb — and as a toolbar `✕` it read as *close*.
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* Reads and writes {@link IStyle.Properties} directly. Border is in the model but not in this
|
|
28
|
+
* toolbar (beyond the red-border preset); a full border editor belongs to the format dialog.
|
|
29
|
+
*
|
|
30
|
+
* There is no `AaBbCc` swatch here: the panel header and every rule card already paint the rule,
|
|
31
|
+
* so a third preview of the same dxf is noise.
|
|
32
|
+
*/
|
|
33
|
+
export declare const ConditionalFormatStylePicker: React.NamedExoticComponent<ConditionalFormatStylePickerProps>;
|
|
34
|
+
//# sourceMappingURL=ConditionalFormatStylePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionalFormatStylePicker.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/ConditionalFormatStylePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAC2C,KAAK,MAAM,EAC5D,MAAM,cAAc,CAAC;AA6BtB,MAAM,WAAW,iCAAkC,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC7F;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC;IACjC;;OAEG;IACH,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAmBD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,4BAA4B,+DAuLvC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IConditionalFormat } from '@sheetxl/sdk';
|
|
2
|
+
/**
|
|
3
|
+
* What a rule is, in one line — the condition it tests, or the kind of scale it paints.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* Shared so the card's title and the editor's header say the SAME thing about the same rule:
|
|
7
|
+
* moving from the list into the editor should not restate a rule differently.
|
|
8
|
+
*/
|
|
9
|
+
export declare const conditionalFormatTitle: (item: IConditionalFormat, t: (key: string, options?: any) => string) => string;
|
|
10
|
+
//# sourceMappingURL=ConditionalFormatTitle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionalFormatTitle.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/ConditionalFormatTitle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEpE;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,GACjC,MAAM,kBAAkB,EACxB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,MAAM,KACxC,MAMF,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IConditionalFormat } from '@sheetxl/sdk';
|
|
3
|
+
export interface DataBarRulePanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
scale: IConditionalFormat.DataBar;
|
|
5
|
+
onScaleChange: (scale: IConditionalFormat.DataBar) => void;
|
|
6
|
+
readOnly?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The Data Bars tab: Excel's twelve preset bars, then show-bars-only and appearance — fill,
|
|
10
|
+
* border, negative fill, axis and direction — over the min/max bound rows. Every field is one
|
|
11
|
+
* already on {@link IConditionalFormat.DataBar}.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* Format on top, config under it — the same two boxes every tab in the editor has, which is why
|
|
15
|
+
* the bounds sit at the bottom rather than where Excel's dialog puts them.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* The x14 twin is the wire risk here: the legacy `dataBar` element and its x14 counterpart must
|
|
19
|
+
* stay married through a write, so anything exposed here is verified by the round-trip fixtures,
|
|
20
|
+
* not just against the SDK type.
|
|
21
|
+
*/
|
|
22
|
+
export declare const DataBarRulePanel: React.NamedExoticComponent<DataBarRulePanelProps>;
|
|
23
|
+
//# sourceMappingURL=DataBarRulePanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataBarRulePanel.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/DataBarRulePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAkClD,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACjF,KAAK,EAAE,kBAAkB,CAAC,OAAO,CAAC;IAClC,aAAa,EAAE,CAAC,KAAK,EAAE,kBAAkB,CAAC,OAAO,KAAK,IAAI,CAAC;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,mDAiN3B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IConditionalFormat } from '@sheetxl/sdk';
|
|
3
|
+
export interface IconSetRulePanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
scale: IConditionalFormat.IconSet;
|
|
5
|
+
onScaleChange: (scale: IConditionalFormat.IconSet) => void;
|
|
6
|
+
readOnly?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The Icon Sets tab: a set picker grouped the way Excel groups them, with show-icons-only and
|
|
10
|
+
* reverse, over the per-band threshold rows.
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* The picker offers exactly the sets `IStyle.IconSet` names, so a rule authored here always
|
|
14
|
+
* round-trips — including the three Excel 2010 sets that can only be written into the x14
|
|
15
|
+
* extension. A set name adopted from a file that is none of them is rendered read-only rather than
|
|
16
|
+
* silently rewritten.
|
|
17
|
+
*
|
|
18
|
+
* The picker labels each set with the glyphs it draws rather than its name — the name is what the
|
|
19
|
+
* tooltip is for. A set is chosen by how it looks, and the OOXML names ("3TrafficLights1") are not
|
|
20
|
+
* how anyone reads them.
|
|
21
|
+
*/
|
|
22
|
+
export declare const IconSetRulePanel: React.NamedExoticComponent<IconSetRulePanelProps>;
|
|
23
|
+
//# sourceMappingURL=IconSetRulePanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconSetRulePanel.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/IconSetRulePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,EAAe,kBAAkB,EAAU,MAAM,cAAc,CAAC;AA8DvE,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACjF,KAAK,EAAE,kBAAkB,CAAC,OAAO,CAAC;IAClC,aAAa,EAAE,CAAC,KAAK,EAAE,kBAAkB,CAAC,OAAO,KAAK,IAAI,CAAC;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,mDAiK3B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material';
|
|
3
|
+
/**
|
|
4
|
+
* One swatch in a preset strip.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* Every tab's gallery is the same control at the same size — a dxf, a color scale, a data bar, or
|
|
8
|
+
* the chip that clears — so the strips line up as the user moves between tabs. Callers paint the
|
|
9
|
+
* inside; this owns the footprint, the frame and the hover.
|
|
10
|
+
*/
|
|
11
|
+
export interface PresetChipProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
12
|
+
/** Hover text. A chip whose content already names it can omit this. */
|
|
13
|
+
title?: string;
|
|
14
|
+
sx?: SxProps<Theme>;
|
|
15
|
+
}
|
|
16
|
+
export declare const PresetChip: React.NamedExoticComponent<PresetChipProps>;
|
|
17
|
+
//# sourceMappingURL=PresetChip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PresetChip.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/PresetChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAO,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,eAAe,CAAC;AAI9D;;;;;;;GAOG;AACH,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACpF,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AAED,eAAO,MAAM,UAAU,6CAwCrB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
|
|
3
|
+
/** The galleries this button offers, keyed by the kind of scale its command writes. */
|
|
4
|
+
export type PresetScaleType = 'dataBar' | 'colorScale';
|
|
5
|
+
export interface PresetScalesCommandButtonProps extends CommandPopupButtonProps {
|
|
6
|
+
/** The command the gallery executes, with the picked preset as its payload. */
|
|
7
|
+
commandKey: string;
|
|
8
|
+
/** Which gallery to offer. */
|
|
9
|
+
scaleType: PresetScaleType;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* A preset scale command as a **gallery flyout** — Excel's Home ▸ Conditional Formatting ▸ Data Bars
|
|
13
|
+
* / Color Scales.
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* The command still writes its default when executed bare (a keystroke, the command palette), so
|
|
17
|
+
* this only adds a way to pick; it replaces no behavior.
|
|
18
|
+
*/
|
|
19
|
+
export declare const PresetScalesCommandButton: React.NamedExoticComponent<Omit<PresetScalesCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
20
|
+
//# sourceMappingURL=PresetScalesCommandButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PresetScalesCommandButton.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/PresetScalesCommandButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,oBAAoB,CAAC;AAQ5B,uFAAuF;AACvF,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,YAAY,CAAC;AA2HvD,MAAM,WAAW,8BAA+B,SAAQ,uBAAuB;IAC7E,+EAA+E;IAC/E,UAAU,EAAE,MAAM,CAAC;IAEnB,8BAA8B;IAC9B,SAAS,EAAE,eAAe,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,4GAuCnC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IConditionalFormat } from '@sheetxl/sdk';
|
|
3
|
+
export interface RulePreviewProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/**
|
|
5
|
+
* The rule to preview. Read, never mutated.
|
|
6
|
+
*/
|
|
7
|
+
conditionalFormat: IConditionalFormat;
|
|
8
|
+
/**
|
|
9
|
+
* Swatch height in px.
|
|
10
|
+
* @defaultValue 28
|
|
11
|
+
*/
|
|
12
|
+
size?: number;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The rendering preview of what a rule paints: an `Aa` chip for a dxf, a few cells of sheet for a
|
|
16
|
+
* color scale or data bar, colored bands for an icon set (until the icon pack lands).
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* With the grid not yet painting every rule type, this swatch — in the rule card and at the top of
|
|
20
|
+
* the editor — is the authoring feedback loop, not decoration.
|
|
21
|
+
*/
|
|
22
|
+
export declare const RulePreview: React.NamedExoticComponent<RulePreviewProps>;
|
|
23
|
+
//# sourceMappingURL=RulePreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RulePreview.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/RulePreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EACL,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAmCtB,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5E;;OAEG;IACH,iBAAiB,EAAE,kBAAkB,CAAC;IACtC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,8CA6HtB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material';
|
|
3
|
+
export interface RuleSectionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/**
|
|
5
|
+
* `'config'` for the half that decides *which cells* — tinted, the way the classic rule editor
|
|
6
|
+
* is. `'format'`, the default, is the half that decides *what they look like*.
|
|
7
|
+
*/
|
|
8
|
+
variant?: 'format' | 'config';
|
|
9
|
+
sx?: SxProps<Theme>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* One half of a rule tab.
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Every tab is the same two boxes in the same order: what the rule paints, then what it matches.
|
|
16
|
+
* The format box opens with a heading and whatever switch narrows its gallery; the config box
|
|
17
|
+
* carries no heading at all, because its rows already name themselves.
|
|
18
|
+
*/
|
|
19
|
+
export declare const RuleSection: React.NamedExoticComponent<RuleSectionProps>;
|
|
20
|
+
//# sourceMappingURL=RuleSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuleSection.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/RuleSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAO,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,eAAe,CAAC;AAE9D,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5E;;;OAGG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC9B,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,8CAqBtB,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IConditionalFormat, IWorkbook } from '@sheetxl/sdk';
|
|
3
|
+
/**
|
|
4
|
+
* The grid's own paper, gridline and bar colors — the tokens the sheet paints with, resolved from
|
|
5
|
+
* the grid surface this preview adopts rather than from the chrome around it.
|
|
6
|
+
*/
|
|
7
|
+
export declare const GRID_CELL_BACKGROUND = "var(--sxl-color-base-100, rgb(255, 255, 255))";
|
|
8
|
+
export declare const GRID_LINE_COLOR = "var(--sxl-color-base-300, rgb(224, 224, 224))";
|
|
9
|
+
export declare const GRID_ACCENT_COLOR = "var(--sxl-color-primary, rgb(33, 115, 70))";
|
|
10
|
+
export declare const GRID_TEXT_COLOR = "var(--sxl-color-base-content, rgba(0, 0, 0, 0.87))";
|
|
11
|
+
export declare const GRID_ERROR_COLOR = "var(--sxl-color-error, rgb(211, 47, 47))";
|
|
12
|
+
/**
|
|
13
|
+
* Rows the scale previews paint.
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* Five, because a color scale's authored stops then land on real rows — a 3-stop scale puts its
|
|
17
|
+
* minimum on row 1, its midpoint on row 3 and its maximum on row 5, with an interpolated row
|
|
18
|
+
* between each pair. Any even count would show the midpoint nowhere.
|
|
19
|
+
*/
|
|
20
|
+
export declare const SCALE_PREVIEW_ROWS = 5;
|
|
21
|
+
/**
|
|
22
|
+
* A color scale banded across the preview's rows, minimum on top — the order its stops are
|
|
23
|
+
* authored in.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
* With five rows a 3-stop scale lands its minimum, midpoint and maximum on rows 1, 3 and 5, and
|
|
27
|
+
* interpolates the two between.
|
|
28
|
+
*/
|
|
29
|
+
export declare const colorScaleRows: (stops: readonly IConditionalFormat.ColorScaleStop[], fallback: string, workbook?: IWorkbook | null) => React.ReactNode[];
|
|
30
|
+
/**
|
|
31
|
+
* A data bar drawn on each of the preview's rows, honoring the rule's fill, border, gradient and
|
|
32
|
+
* direction.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* The bar runs to the cell's own edge — a bar is drawn against the gridline in the sheet, and at
|
|
36
|
+
* preview scale even a pixel of inset costs more of the bar than it buys in breathing room.
|
|
37
|
+
*/
|
|
38
|
+
export declare const dataBarRows: (scale: IConditionalFormat.DataBar, color: string, borderColor?: string) => React.ReactNode[];
|
|
39
|
+
export interface ScaleMiniGridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
40
|
+
/**
|
|
41
|
+
* What each row paints in the wide middle column, top row first. One entry per row.
|
|
42
|
+
*/
|
|
43
|
+
rows: readonly React.ReactNode[];
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* A few cells of sheet with the rule painted into them — three columns, the middle one wide, and
|
|
47
|
+
* one row per sample.
|
|
48
|
+
*
|
|
49
|
+
* @remarks
|
|
50
|
+
* The narrow outer columns are the point: a scale rendered as a bare gradient bar reads as a
|
|
51
|
+
* legend, while the same colors banded across cells with untouched neighbors read as what the
|
|
52
|
+
* sheet will actually look like. It is also the truth — cells take discrete colors, not a
|
|
53
|
+
* continuous ramp.
|
|
54
|
+
*
|
|
55
|
+
* Frameless and unsized: it fills whatever it is dropped into, and the rows split that height
|
|
56
|
+
* evenly, so the caller sets one number — the preview's height — and the grid follows.
|
|
57
|
+
*/
|
|
58
|
+
export declare const ScaleMiniGrid: React.NamedExoticComponent<ScaleMiniGridProps>;
|
|
59
|
+
//# sourceMappingURL=ScaleMiniGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScaleMiniGrid.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/ScaleMiniGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAS,KAAK,kBAAkB,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAM9E;;;GAGG;AACH,eAAO,MAAM,oBAAoB,kDAAkD,CAAC;AACpF,eAAO,MAAM,eAAe,kDAAkD,CAAC;AAC/E,eAAO,MAAM,iBAAiB,+CAA+C,CAAC;AAC9E,eAAO,MAAM,eAAe,uDAAuD,CAAC;AACpF,eAAO,MAAM,gBAAgB,6CAA6C,CAAC;AAE3E;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,IAAI,CAAC;AA2CpC;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,GACzB,OAAO,SAAS,kBAAkB,CAAC,cAAc,EAAE,EACnD,UAAU,MAAM,EAChB,WAAU,SAAS,GAAG,IAAW,KAChC,KAAK,CAAC,SAAS,EAOd,CAAC;AAYL;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,GACtB,OAAO,kBAAkB,CAAC,OAAO,EACjC,OAAO,MAAM,EACb,cAAc,MAAM,KACnB,KAAK,CAAC,SAAS,EAuBjB,CAAC;AAEF,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC9E;;OAEG;IACH,IAAI,EAAE,SAAS,KAAK,CAAC,SAAS,EAAE,CAAC;CAClC;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,aAAa,gDA+CxB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IConditionalFormat } from '@sheetxl/sdk';
|
|
3
|
+
export interface ScaleStopRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/**
|
|
5
|
+
* A short leading label for the row — `Minimum`, `Midpoint`, `Icon 2`, …
|
|
6
|
+
*/
|
|
7
|
+
label: string;
|
|
8
|
+
stop: IConditionalFormat.Stop | IConditionalFormat.ColorScaleStop;
|
|
9
|
+
onStopChange: (stop: IConditionalFormat.Stop | IConditionalFormat.ColorScaleStop) => void;
|
|
10
|
+
/**
|
|
11
|
+
* The stop types this row may switch between, in menu order.
|
|
12
|
+
*/
|
|
13
|
+
allowedTypes: readonly IConditionalFormat.ColorStopType[];
|
|
14
|
+
/**
|
|
15
|
+
* Show the color well (color scales only).
|
|
16
|
+
*/
|
|
17
|
+
showColor?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Show the `>` / `>=` bound picker (icon sets; maps to {@link IConditionalFormat.Stop.exclusive}).
|
|
20
|
+
*/
|
|
21
|
+
showExclusive?: boolean;
|
|
22
|
+
readOnly?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* One threshold of a scale rule: `[label] [color?] [type] [value]`.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* The color well sits next to the label rather than at the end of the row because it is the one
|
|
29
|
+
* control here that is always live — the value field goes dead whenever the type is an extent the
|
|
30
|
+
* range decides (`Min`, `Max`, `Automatic`), and a row should not lead with a control that may be
|
|
31
|
+
* dead.
|
|
32
|
+
*/
|
|
33
|
+
export declare const ScaleStopRow: React.NamedExoticComponent<ScaleStopRowProps>;
|
|
34
|
+
//# sourceMappingURL=ScaleStopRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScaleStopRow.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/ScaleStopRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,kBAAkB,EAAe,MAAM,cAAc,CAAC;AA4B/D,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC7E;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,kBAAkB,CAAC,IAAI,GAAG,kBAAkB,CAAC,cAAc,CAAC;IAClE,YAAY,EAAE,CAAC,IAAI,EAAE,kBAAkB,CAAC,IAAI,GAAG,kBAAkB,CAAC,cAAc,KAAK,IAAI,CAAC;IAC1F;;OAEG;IACH,YAAY,EAAE,SAAS,kBAAkB,CAAC,aAAa,EAAE,CAAC;IAC1D;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,+CAuJvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { IColor, IWorkbook } from '@sheetxl/sdk';
|
|
2
|
+
import { ThemeMode } from '@sheetxl/utils-react';
|
|
3
|
+
import { ColorPanelProps } from '../color';
|
|
4
|
+
/**
|
|
5
|
+
* Resolves an authored rule color for on-screen preview.
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* A rule's colors are authored strings that may reference the workbook theme
|
|
9
|
+
* (`'accent1 eTint 0.4'`, `'dk1'`) or the legacy indexed palette — those only resolve against the
|
|
10
|
+
* workbook's own lookups, never as bare CSS.
|
|
11
|
+
*
|
|
12
|
+
* @returns `null` for unresolvable input, so callers keep their fallback.
|
|
13
|
+
*/
|
|
14
|
+
export declare const toPreviewColor: (color: IColor.Serializable | null | undefined, workbook: IWorkbook | null | undefined) => IColor | null;
|
|
15
|
+
/**
|
|
16
|
+
* The workbook-derived pieces every color control in the editor needs, live across a theme swap.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* A {@link Color} resolves its scheme reference when it is built, so every swatch here is a
|
|
20
|
+
* snapshot. Swapping the workbook theme mutates nothing on the rule, so the panels' own
|
|
21
|
+
* `onAnyChange` subscription never fires and those snapshots outlive a theme the grid has already
|
|
22
|
+
* repainted for — the `onThemeChange` subscription is what retires them.
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* The workbook and its `schemeLookup` are both identity-stable ACROSS a theme change — they read
|
|
26
|
+
* the new theme through, they are not replaced — so neither can carry the change into a
|
|
27
|
+
* `useMemo`/`useCallback`. `themeKey` is the dependency that moves; put it in the deps of anything
|
|
28
|
+
* that caches a resolved color.
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
* Every color in this editor previews the GRID, not the chrome around it, so the light/dark intent
|
|
32
|
+
* is the grid's own (`useGridColorScheme` — the app can be dark while *Enable Dark Grid* is off)
|
|
33
|
+
* and every picker adopts `data-sxl-theme-surface="grid"`. That is what `propsColorPanel` carries;
|
|
34
|
+
* spread it into a picker's `propsPanel` and pass `darkMode` to the button beside it.
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* `schemeLookup` rides along in `propsColorPanel`. Without one a `ColorPanel` falls back to the
|
|
38
|
+
* *default* Office palette, so its theme row offers colors this workbook does not have — and
|
|
39
|
+
* picking one stores a scheme reference that resolves to something else against the real theme.
|
|
40
|
+
*/
|
|
41
|
+
export declare const usePreviewColors: () => {
|
|
42
|
+
workbook: IWorkbook | null;
|
|
43
|
+
schemeLookup: IColor.SchemeLookup | undefined;
|
|
44
|
+
themeKey: number;
|
|
45
|
+
gridColorScheme: ThemeMode;
|
|
46
|
+
darkMode: boolean;
|
|
47
|
+
toColor: (color: IColor.Serializable | null | undefined) => IColor | null;
|
|
48
|
+
propsColorPanel: Partial<ColorPanelProps>;
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=previewColor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previewColor.d.ts","sourceRoot":"","sources":["../../../../src/conditionalFormat/previewColor.ts"],"names":[],"mappings":"AAEA,OAAO,EAAS,KAAK,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAElE,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIzE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,GACzB,OAAO,MAAM,CAAC,YAAY,GAAG,IAAI,GAAG,SAAS,EAC7C,UAAU,SAAS,GAAG,IAAI,GAAG,SAAS,KACrC,MAAM,GAAG,IAQX,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,gBAAgB,QAAO;IAClC,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC,YAAY,GAAG,SAAS,CAAC;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,SAAS,CAAC;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,YAAY,GAAG,IAAI,GAAG,SAAS,KAAK,MAAM,GAAG,IAAI,CAAC;IAC1E,eAAe,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CAmC3C,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BoxProps } from '@mui/material';
|
|
3
|
+
import { ICondition } from '@sheetxl/sdk';
|
|
4
|
+
export interface AverageOptionProps extends BoxProps {
|
|
5
|
+
/**
|
|
6
|
+
* The average option to edit.
|
|
7
|
+
*/
|
|
8
|
+
option: ICondition.AverageOption;
|
|
9
|
+
/**
|
|
10
|
+
* The callback function to handle changes in the average option.
|
|
11
|
+
*/
|
|
12
|
+
onOptionChange: (option: ICondition.AverageOption) => void;
|
|
13
|
+
/**
|
|
14
|
+
* If true, makes the editor read-only.
|
|
15
|
+
*/
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Component for editing average option (above/below average with optional standard deviations).
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* Allows filtering values above or below average, with optional standard deviation offset.
|
|
23
|
+
*/
|
|
24
|
+
export declare const AverageOption: React.NamedExoticComponent<AverageOptionProps>;
|
|
25
|
+
//# sourceMappingURL=AverageOption.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AverageOption.d.ts","sourceRoot":"","sources":["../../../../src/conditions/AverageOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAIpC,OAAO,EAC0C,KAAK,QAAQ,EAC7D,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK1C,MAAM,WAAW,kBAAmB,SAAQ,QAAQ;IAClD;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC,aAAa,CAAC;IAEjC;;OAEG;IACH,cAAc,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,aAAa,KAAK,IAAI,CAAC;IAC3D;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;GAKG;AACH,eAAO,MAAM,aAAa,gDA+ExB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BoxProps } from '@mui/material';
|
|
2
|
+
import { ICondition } from '@sheetxl/sdk';
|
|
3
|
+
export interface BetweenProps extends BoxProps {
|
|
4
|
+
/**
|
|
5
|
+
* The between option to edit.
|
|
6
|
+
*/
|
|
7
|
+
option: ICondition.BetweenOption;
|
|
8
|
+
/**
|
|
9
|
+
* The callback function to handle changes in the between option.
|
|
10
|
+
*/
|
|
11
|
+
onOptionChange: (option: ICondition.BetweenOption) => void;
|
|
12
|
+
/**
|
|
13
|
+
* If true, makes the editor read-only.
|
|
14
|
+
*/
|
|
15
|
+
readOnly?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Component for editing between option (between two values).
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* Each bound is a literal or a `=`-prefixed formula, independently — Excel's own between boxes —
|
|
22
|
+
* so both sides take the literal-or-formula field ({@link ScalarOption}).
|
|
23
|
+
*/
|
|
24
|
+
export declare const BetweenOption: import('react').NamedExoticComponent<BetweenProps>;
|
|
25
|
+
//# sourceMappingURL=BetweenOption.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BetweenOption.d.ts","sourceRoot":"","sources":["../../../../src/conditions/BetweenOption.tsx"],"names":[],"mappings":"AAEA,OAAO,EACA,KAAK,QAAQ,EACnB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAM/C,MAAM,WAAW,YAAa,SAAQ,QAAQ;IAC5C;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC,aAAa,CAAC;IAEjC;;OAEG;IACH,cAAc,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,aAAa,KAAK,IAAI,CAAC;IAC3D;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,oDAqCxB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface BooleanOptionProps {
|
|
2
|
+
/**
|
|
3
|
+
* The current boolean value. Defaults to `true` when null/undefined.
|
|
4
|
+
*/
|
|
5
|
+
option: boolean | null;
|
|
6
|
+
/**
|
|
7
|
+
* Called when the value changes.
|
|
8
|
+
*/
|
|
9
|
+
onOptionChange: (option: boolean) => void;
|
|
10
|
+
/**
|
|
11
|
+
* If true, makes the editor read-only.
|
|
12
|
+
*/
|
|
13
|
+
readOnly?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Compact True / False toggle for boolean condition params.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* Renders two exclusive toggle buttons labelled "True" and "False".
|
|
20
|
+
* This matches the convention used by Excel / Google Sheets data validation
|
|
21
|
+
* for boolean (logical) values.
|
|
22
|
+
*/
|
|
23
|
+
export declare const BooleanOption: import('react').NamedExoticComponent<BooleanOptionProps>;
|
|
24
|
+
//# sourceMappingURL=BooleanOption.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BooleanOption.d.ts","sourceRoot":"","sources":["../../../../src/conditions/BooleanOption.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,cAAc,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,0DAuBxB,CAAC"}
|