@sheetxl/studio-mui 0.7.22 → 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 +136 -626
- 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 -1761
- 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/BCSkf7oG5MtK-XGZ.cjs +0 -6
- package/browser/cjs/BOj9VP_ZCebWTfxc.cjs +0 -6
- package/browser/cjs/Biy5SuviR3Cz0S4F.cjs +0 -6
- package/browser/cjs/C1PlAY37pY831-YP.cjs +0 -18
- package/browser/cjs/Cc3dH2YOCi1SjPK4.cjs +0 -6
- package/browser/cjs/Ccx9l-If3BC4K6LY.cjs +0 -42
- package/browser/cjs/DR8b8OAx9_mnaJoN.cjs +0 -6
- package/browser/cjs/D_R6KuQiPoJdxVa_.cjs +0 -6
- package/browser/cjs/DkGstRdRpze8sHAr.cjs +0 -7
- package/browser/cjs/StW-maKM8OSYcle5.cjs +0 -6
- package/browser/cjs/kjlgjQkY0fb-Rc-P.cjs +0 -6
- package/browser/cjs/qoo14c2KOLE_IfIO.cjs +0 -20
- package/browser/esm/0OyyoHlgiaso9tYr.mjs +0 -50
- package/browser/esm/BE92YslAajVEiBuX.mjs +0 -25
- package/browser/esm/BJO2iGA4QZN4Tzfv.mjs +0 -2159
- package/browser/esm/BQGW_5yvCb0eTpib.mjs +0 -54
- package/browser/esm/BYAdBaegvg_SoS6K.mjs +0 -155
- package/browser/esm/BsxSk3HxwjxRtPtZ.mjs +0 -2411
- package/browser/esm/D-9Ar2kzfZAziktn.mjs +0 -26
- package/browser/esm/D4Z_3xY0vO_3FL6K.mjs +0 -640
- package/browser/esm/DB1mGkEgnMnMQ8CH.mjs +0 -4533
- package/browser/esm/HmzSBdi0ej5oeXZ1.mjs +0 -53
- package/browser/esm/ePSxe_g7wEvzmkJ7.mjs +0 -50
- package/browser/esm/pshi0IoaQJ-EyVt3.mjs +0 -46
- package/node/assets/style.css +0 -1
- package/node/esm/B67HtQl_OohbFhFm.mjs +0 -25
- package/node/esm/BD8iIgRl14sLSdN1.mjs +0 -88
- package/node/esm/BKeEywP27oPbnpFS.mjs +0 -156
- package/node/esm/BkQRle53yjTwYnC4.mjs +0 -91
- package/node/esm/Bl77xZWpq8Ix5EEF.mjs +0 -57
- package/node/esm/C1HBS_UNswHQvckQ.mjs +0 -52
- package/node/esm/C4wnaXAtg_BfPjQR.mjs +0 -50
- package/node/esm/Dhp7eefBNVIcSWf6.mjs +0 -26
- package/node/esm/bp_PxnEExWX_-i_8.mjs +0 -46
- package/node/esm/j5ssn9j67ROjzwGT.mjs +0 -53
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.22
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
8
|
-
import { memo as e, useMemo as i, useState as o, useCallback as a } from "react";
|
|
9
|
-
import { alpha as s, getOverlayAlpha as l } from "@mui/material/styles";
|
|
10
|
-
import { Box as r, FormControl as p, TextField as c, InputLabel as u, Select as d, Typography as m, MenuItem as f } from "@mui/material";
|
|
11
|
-
import { IRange as g } from "@sheetxl/sdk";
|
|
12
|
-
import { useCallbackRef as x, KeyCodes as h } from "@sheetxl/utils-react";
|
|
13
|
-
import { OptionsDialog as y } from "@sheetxl/utils-mui";
|
|
14
|
-
const C = ["Autofit", "Ok", "Cancel"], O = e((e2) => {
|
|
15
|
-
const { initialValue: O2, context: z, onOption: v, onValidateOption: w, onInput: P, onDone: b, options: k = C, defaultOption: T = k?.[1], cancelOption: U = "Cancel", sx: D, ...F } = e2, I = i(() => z?.().getOrientation() === g.Orientation.Column, [z]), [$, M] = o(O2), [V, j] = o(false), B = a(async (t2, n2) => true, []), L = i(() => {
|
|
16
|
-
if (!z().toUnits) return null;
|
|
17
|
-
let t2 = $?.size ?? 0, n2 = "Px";
|
|
18
|
-
return "Px" === $.unit ? (t2 = z().toUnits?.(t2), n2 = z().getUnitText()) : (t2 = z().toPixels?.(t2), n2 = "Px"), { size: t2, unit: n2 };
|
|
19
|
-
}, [$?.unit, $?.size]), N = x(async (t2) => {
|
|
20
|
-
const n2 = t2 === U;
|
|
21
|
-
n2 || P?.($, t2), v?.(t2, n2, t2 === T), b?.();
|
|
22
|
-
}, [$, P, b, v, U, T]), R = x(async (t2) => {
|
|
23
|
-
if (t2.keyCode === h.Enter) {
|
|
24
|
-
false !== await B?.($, null) && N(T);
|
|
25
|
-
}
|
|
26
|
-
}, [$, N]), S = x(async (t2) => {
|
|
27
|
-
let n2 = await Promise.resolve(w?.(t2));
|
|
28
|
-
try {
|
|
29
|
-
false !== n2 && (n2 = await Promise.resolve(B?.($, t2)) ?? true);
|
|
30
|
-
} catch (t3) {
|
|
31
|
-
}
|
|
32
|
-
return n2 ?? true;
|
|
33
|
-
}, [w]), W = x((t2) => {
|
|
34
|
-
const n2 = { ...$, size: Number(t2.target.value) };
|
|
35
|
-
M(n2), B?.(n2, null);
|
|
36
|
-
}, [$, w]), A = x((t2) => {
|
|
37
|
-
const n2 = t2.target.value, e3 = { ...$, unit: n2 };
|
|
38
|
-
M(e3);
|
|
39
|
-
}, [$]), E = i(() => {
|
|
40
|
-
const n2 = z().getUnitText(), e3 = (n3) => t(f, { value: n3, children: n3 }, n3), i2 = [];
|
|
41
|
-
return i2.push(e3("Px")), i2.push(e3(n2)), i2;
|
|
42
|
-
}, []);
|
|
43
|
-
return t(y, { title: "Resize " + (I ? "Columns" : "Rows"), options: k, onDone: b, onOption: (t2) => N(t2), onValidateOption: S, defaultOption: T, cancelOption: U, autoFocusSel: ".autoFocus", sx: { width: "380px", ...D }, ...F, children: n(r, { sx: { paddingTop: (t2) => t2.spacing(0), paddingBottom: (t2) => t2.spacing(1), display: "flex", flexDirection: "column" }, children: [n(r, { sx: { rowGap: (t2) => t2.spacing(1), display: "flex", flexDirection: "row", gap: (t2) => t2.spacing(0.5), alignItems: "end", justifyContent: "center" }, children: [t(p, { sx: { paddingTop: (t2) => t2.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(c, { label: "Size", onFocus: (t2) => {
|
|
44
|
-
V || t2.target?.select(), j(true);
|
|
45
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (t2) => t2.spacing(0.5) } }, slotProps: { inputLabel: { shrink: true }, htmlInput: { className: "autoFocus", spellCheck: false, autoComplete: "off", type: "number", inputMode: "numeric", pattern: "[0-9]*", sx: { paddingTop: (t2) => t2.spacing(1.25), paddingBottom: (t2) => t2.spacing(0.75), backgroundImage: `linear-gradient(${s("#fff", l(5))}, ${s("#fff", l(5))})` } } }, value: $.size, onChange: W, onKeyDown: R, onContextMenu: (t2) => {
|
|
46
|
-
t2.stopPropagation();
|
|
47
|
-
} }) }), n(p, { sx: { minWidth: 85 }, size: "small", children: [t(u, { children: "Unit" }), t(d, { value: $.unit, label: "Unit", onChange: A, sx: { backgroundImage: `linear-gradient(${s("#fff", l(5))}, ${s("#fff", l(5))})` }, children: E })] })] }), L && t(r, { children: n(m, { variant: "body2", component: "div", sx: { paddingLeft: (t2) => t2.spacing(2) }, children: [L.size, " ", L.unit] }) })] }) });
|
|
48
|
-
});
|
|
49
|
-
export {
|
|
50
|
-
O as ResizeHeaderDialog,
|
|
51
|
-
O as default
|
|
52
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.22
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
import { jsx as t, jsxs as e } from "react/jsx-runtime";
|
|
8
|
-
import { memo as n, useMemo as o, useState as a, useCallback as i } from "react";
|
|
9
|
-
import { alpha as l, getOverlayAlpha as s } from "@mui/material/styles";
|
|
10
|
-
import { Box as r, FormControl as p, TextField as d } from "@mui/material";
|
|
11
|
-
import { useCallbackRef as c } from "@sheetxl/utils-react";
|
|
12
|
-
import { OptionsDialog as u } from "@sheetxl/utils-mui";
|
|
13
|
-
const g = ["Ok", "Cancel"], m = n((n2) => {
|
|
14
|
-
const { initialValue: m2 = null, context: f, onInput: x, onOption: h, onValidateOption: T, onDone: y, options: k = g, defaultOption: C = k?.[0], cancelOption: O = "Cancel", sx: b, ...F } = n2, v = o(() => null !== (m2 ?? f?.()?.getHyperlink()), []), w = o(() => {
|
|
15
|
-
let t2 = null, e2 = null;
|
|
16
|
-
m2 && ("string" == typeof m2 ? e2 = m2 : t2 = m2);
|
|
17
|
-
const n3 = t2 ?? f?.()?.getHyperlink();
|
|
18
|
-
return { address: e2 ?? n3?.getAddress() ?? "", textToDisplay: n3?.getDisplayText() ?? "" };
|
|
19
|
-
}, [m2, f]), [D, I] = a(w.address), [P, H] = a(() => {
|
|
20
|
-
const t2 = f?.().toTextUnformatted() ?? w.displayText;
|
|
21
|
-
return t2 === w.address ? "" : t2;
|
|
22
|
-
}), [M, $] = a(false), B = i((t2) => {
|
|
23
|
-
H(t2.target.value);
|
|
24
|
-
}, []), L = i(async (t2, e2) => null, []), V = c(async (t2) => {
|
|
25
|
-
const e2 = "" === D ? null : { address: D }, n3 = t2 === O;
|
|
26
|
-
n3 || x?.({ address: e2?.address ?? null, displayText: P ?? null }), h?.(t2, n3, t2 === C), y?.();
|
|
27
|
-
}, [D, P, f, x, y, h, C, O]), W = c((t2) => {
|
|
28
|
-
I(t2.target.value), L(t2.target.value, null);
|
|
29
|
-
}, [T]), z = c(async (t2) => {
|
|
30
|
-
let e2 = await Promise.resolve(T?.(t2));
|
|
31
|
-
try {
|
|
32
|
-
false !== e2 && (e2 = await L(D, t2));
|
|
33
|
-
} catch (t3) {
|
|
34
|
-
}
|
|
35
|
-
return e2 ?? true;
|
|
36
|
-
}, [T]);
|
|
37
|
-
return t(u, { title: (v ? "Edit" : "Insert") + " Link", options: k, onDone: y, onOption: (t2) => V(t2), onValidateOption: z, defaultOption: C, cancelOption: O, autoFocusSel: ".autoFocus", sx: { width: "480px", ...b }, ...F, children: e(r, { sx: { paddingTop: (t2) => t2.spacing(1), paddingBottom: (t2) => t2.spacing(0), rowGap: (t2) => t2.spacing(1), display: "flex", flexDirection: "column" }, children: [t(p, { sx: { paddingTop: (t2) => t2.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(d, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (t2) => {
|
|
38
|
-
M || t2.target?.select(), $(true);
|
|
39
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (t2) => t2.spacing(0.5) } }, slotProps: { inputLabel: { shrink: true }, htmlInput: { className: "autoFocus", spellCheck: false, autoComplete: "off", sx: { paddingTop: (t2) => t2.spacing(1.25), paddingBottom: (t2) => t2.spacing(0.75), backgroundImage: `linear-gradient(${l("#fff", s(5))}, ${l("#fff", s(5))})` } } }, value: D, onChange: W, onContextMenu: (t2) => {
|
|
40
|
-
t2.stopPropagation();
|
|
41
|
-
} }) }), t(p, { sx: { paddingTop: (t2) => t2.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(d, { label: "Display Text", placeholder: D?.startsWith("#") ? D.substring(1) : D, onFocus: () => {
|
|
42
|
-
$(true);
|
|
43
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (t2) => t2.spacing(0.5) } }, slotProps: { inputLabel: { shrink: true }, htmlInput: { spellCheck: false, autoComplete: "off", sx: { paddingTop: (t2) => t2.spacing(1.25), paddingBottom: (t2) => t2.spacing(0.75), backgroundImage: `linear-gradient(${l("#fff", s(5))}, ${l("#fff", s(5))})` } } }, value: P, onChange: B, onContextMenu: (t2) => {
|
|
44
|
-
t2.stopPropagation();
|
|
45
|
-
} }) })] }) });
|
|
46
|
-
});
|
|
47
|
-
export {
|
|
48
|
-
m as HyperlinkDialog,
|
|
49
|
-
m as default
|
|
50
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.22
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
8
|
-
import { memo as t, useState as i } from "react";
|
|
9
|
-
import { Box as o, FormControlLabel as l, Checkbox as r } from "@mui/material";
|
|
10
|
-
import { Sort as a, IRange as s } from "@sheetxl/sdk";
|
|
11
|
-
import { useCallbackRef as c } from "@sheetxl/utils-react";
|
|
12
|
-
import { OptionsDialog as d } from "@sheetxl/utils-mui";
|
|
13
|
-
const m = t((t2) => {
|
|
14
|
-
const { initialValue: m2, context: u, onInput: p, onDone: h, ...v } = t2, C = u?.().range, O = u?.().cell.toString(), [f, H] = i(m2 ?? a.DefaultRangeOptions), b = c((e2) => {
|
|
15
|
-
let n2 = null;
|
|
16
|
-
"Sort" === e2 && (n2 = { ...m2, ...f }), p?.(n2), h?.(n2);
|
|
17
|
-
}, [f, h, p, m2]);
|
|
18
|
-
return e(d, { title: "Sort", options: ["Sort", "Cancel"], onDone: b, ...v, children: n(o, { sx: { display: "flex", flexDirection: "column" }, children: [e(l, { control: e(r, { checked: !f.reverse, onChange: () => H((e2) => ({ ...e2, reverse: !e2.reverse })) }), label: "Is Ascending", labelPlacement: "end" }), e(l, { control: e(r, { checked: f.hasHeader, onChange: () => H((e2) => ({ ...e2, hasHeader: !e2.hasHeader })) }), label: "Has Header", labelPlacement: "end" }), e(l, { control: e(r, { checked: f.collatorOptions?.sensitivity === a.CaseSensitiveOptions.sensitivity, onChange: () => H((e2) => ({ ...e2, collatorOptions: f.collatorOptions?.sensitivity === a.CaseSensitiveOptions.sensitivity ? a.CaseInsensitiveOptions : a.CaseSensitiveOptions })) }), label: "Case Sensitive", labelPlacement: "end" }), e(l, { control: e(r, { checked: f.orientation === s.Orientation.Row, onChange: () => H((e2) => {
|
|
19
|
-
const n2 = e2.orientation === s.Orientation.Row ? s.Orientation.Column : s.Orientation.Row;
|
|
20
|
-
return { ...C.getDefaultSortCriteria(n2, O).options, includeHidden: e2.includeHidden, reverse: e2.reverse, orientation: n2 };
|
|
21
|
-
}) }), label: "Row Sort", labelPlacement: "end" }), e(l, { control: e(r, { checked: f.includeHidden, onChange: () => H((e2) => ({ ...e2, includeHidden: !e2.includeHidden })) }), label: "Include Hidden", labelPlacement: "end" })] }) });
|
|
22
|
-
});
|
|
23
|
-
export {
|
|
24
|
-
m as SortDialog,
|
|
25
|
-
m as default
|
|
26
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.22
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
8
|
-
import { memo as a, useMemo as n, useState as l, useCallback as o } from "react";
|
|
9
|
-
import { Box as i } from "@mui/material";
|
|
10
|
-
import { useCallbackRef as r } from "@sheetxl/utils-react";
|
|
11
|
-
import { OptionsDialog as s } from "@sheetxl/utils-mui";
|
|
12
|
-
import { NamedInput as d, RangeInput as p } from "./index.mjs";
|
|
13
|
-
const m = ["Ok", "Cancel"], u = a((a2) => {
|
|
14
|
-
const { initialValue: u2 = null, context: c, onOption: g, onValidateOption: x, onDone: f, onInput: N, options: y = m, defaultOption: T = y?.[0], cancelOption: V = "Cancel", sx: h, ...O } = a2, v = n(() => c?.().getNames().findValidName("Range1"), []), C = n(() => {
|
|
15
|
-
if (!u2) return true;
|
|
16
|
-
}, []), [R, w] = l({ displayText: u2?.getName() ?? v, errorText: null }), [F, I] = l({ displayValue: u2?.getRanges() ?? c?.().selection() ?? null, errorText: null }), [D, j] = l(false), B = o(async (e2) => !R.errorText && !F.errorText, []), E = r((e2, t2, a3) => {
|
|
17
|
-
if (!t2) {
|
|
18
|
-
let e3 = null;
|
|
19
|
-
C ? e3 = c?.().getNames().addReference(R?.displayText, F?.displayValue, false) : ("reference" === u2.getType() && u2.doBatch(() => {
|
|
20
|
-
u2.setName(R?.displayText), u2.setReference(F?.displayValue);
|
|
21
|
-
}, `Edit Named '${R?.displayText}'`), e3 = u2), e3 && (e3.select(), N(e3));
|
|
22
|
-
}
|
|
23
|
-
g?.(e2, t2, a3), f?.();
|
|
24
|
-
}, [c, R, F, f, g, T, V, N]), L = r((e2) => {
|
|
25
|
-
let t2 = null;
|
|
26
|
-
try {
|
|
27
|
-
c?.().getNames().validateName(e2);
|
|
28
|
-
} catch (e3) {
|
|
29
|
-
t2 = e3.message;
|
|
30
|
-
}
|
|
31
|
-
w({ displayText: e2, errorText: t2 });
|
|
32
|
-
}, []), b = r((e2) => {
|
|
33
|
-
u2 && u2.getName().toLowerCase() === e2.toLowerCase() || c?.().getNames().validateName(e2);
|
|
34
|
-
}, [c, u2]), k = o((e2) => {
|
|
35
|
-
I({ displayValue: e2 ?? null, errorText: null });
|
|
36
|
-
}, []);
|
|
37
|
-
return e(s, { title: (C ? "Define" : "Edit") + " Range", options: y, onOption: E, onValidateOption: B, defaultOption: T, cancelOption: V, autoFocusSel: ".autoFocus", sx: { width: "460px", ...h }, ...O, children: t(i, { sx: { paddingTop: (e2) => e2.spacing(1), paddingBottom: (e2) => e2.spacing(0), rowGap: (e2) => e2.spacing(1), range: "flex", flexDirection: "column" }, children: [e(d, { formName: "name", defaultInput: v, value: R.displayText, onChangeInput: L, onValidate: b, onFocus: (e2) => {
|
|
38
|
-
D || e2.target?.select(), j(true);
|
|
39
|
-
} }), e(p, { formName: "range", value: F.displayValue, onChangeInput: k, resolvedAddress: c ? c().getNames().getRanges.bind(c().getNames()) : void 0, onFocus: (e2) => {
|
|
40
|
-
D || e2.target?.select(), j(true);
|
|
41
|
-
} })] }) });
|
|
42
|
-
});
|
|
43
|
-
export {
|
|
44
|
-
u as NamedReferenceDialog,
|
|
45
|
-
u as default
|
|
46
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.22
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
8
|
-
import { memo as n, useMemo as o, useState as e, useCallback as a } from "react";
|
|
9
|
-
import { alpha as i, getOverlayAlpha as l } from "@mui/material/styles";
|
|
10
|
-
import { Box as s, FormControl as r, TextField as c } from "@mui/material";
|
|
11
|
-
import { useCallbackRef as p } from "@sheetxl/utils-react";
|
|
12
|
-
import { OptionsDialog as m } from "@sheetxl/utils-mui";
|
|
13
|
-
const u = ["Ok", "Cancel"], d = n((n2) => {
|
|
14
|
-
const { initialValue: d2 = null, onInput: g, context: f, onOption: x, onValidateOption: h, onDone: C, options: O = u, defaultOption: y = O?.[0], cancelOption: w = "Cancel", sx: F, ...T } = n2, k = o(() => {
|
|
15
|
-
const t2 = d2 ?? f?.()?.getComments();
|
|
16
|
-
let n3 = "";
|
|
17
|
-
if (t2 && t2.content && t2.content.runs) {
|
|
18
|
-
const o2 = t2.content.runs;
|
|
19
|
-
for (let t3 = 0; t3 < o2.length; t3++) {
|
|
20
|
-
const e2 = o2[t3];
|
|
21
|
-
n3 += e2?.text;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
return n3;
|
|
25
|
-
}, []), [v, I] = e(k), [b, D] = e(false), P = a(async (t2, n3) => null, []), V = p(async (t2) => {
|
|
26
|
-
const n3 = "" === v ? [] : v.split("\n"), o2 = t2 === w;
|
|
27
|
-
if (!o2) {
|
|
28
|
-
const t3 = n3.length, o3 = new Array(t3);
|
|
29
|
-
for (let e3 = 0; e3 < t3; e3++) o3[e3] = { text: n3[e3] };
|
|
30
|
-
const e2 = { content: { runs: o3 } };
|
|
31
|
-
g?.(e2);
|
|
32
|
-
}
|
|
33
|
-
x?.(t2, o2, t2 === y), C?.();
|
|
34
|
-
}, [v, g, C, x, y, w]), B = p((t2) => {
|
|
35
|
-
I(t2.target.value), P(t2.target.value, null);
|
|
36
|
-
}, [h]), E = p(async (t2) => {
|
|
37
|
-
let n3 = await Promise.resolve(h?.(t2));
|
|
38
|
-
try {
|
|
39
|
-
false !== n3 && (n3 = await P(v, t2));
|
|
40
|
-
} catch (t3) {
|
|
41
|
-
}
|
|
42
|
-
return n3 ?? true;
|
|
43
|
-
}, [h, v]);
|
|
44
|
-
return t(m, { title: (k ? "Edit" : "Insert") + " Comments", options: O, onDone: C, onOption: (t2) => V(t2), onValidateOption: E, defaultOption: y, cancelOption: w, autoFocusSel: ".autoFocus", sx: { width: "480px", ...F }, ...T, children: t(s, { sx: { paddingTop: (t2) => t2.spacing(1), paddingBottom: (t2) => t2.spacing(0), rowGap: (t2) => t2.spacing(1), display: "flex", flexDirection: "column" }, children: t(r, { sx: { paddingTop: (t2) => t2.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(c, { label: "Comments", placeholder: "Enter a comment.", onFocus: (t2) => {
|
|
45
|
-
b || t2.target?.select(), D(true);
|
|
46
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (t2) => t2.spacing(0.5) } }, slotProps: { inputLabel: { shrink: true }, htmlInput: { className: "autoFocus", spellCheck: false, autoComplete: "off", sx: { paddingTop: (t2) => t2.spacing(1.25), paddingBottom: (t2) => t2.spacing(0.75), backgroundImage: `linear-gradient(${i("#fff", l(5))}, ${i("#fff", l(5))})` } } }, value: v, onChange: B, onContextMenu: (t2) => {
|
|
47
|
-
t2.stopPropagation();
|
|
48
|
-
} }) }) }) });
|
|
49
|
-
});
|
|
50
|
-
export {
|
|
51
|
-
d as CommentsDialog,
|
|
52
|
-
d as default
|
|
53
|
-
};
|