@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
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.23-beta.2
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
import { IRange as e } from "@sheetxl/sdk";
|
|
8
|
+
import { KeyCodes as t, useCallbackRef as i, useTranslator as n } from "@sheetxl/utils-react";
|
|
9
|
+
import { memo as o, useCallback as a, useMemo as s, useState as r } from "react";
|
|
10
|
+
import { OptionsDialog as l } from "@sheetxl/utils-mui";
|
|
11
|
+
import { jsx as p, jsxs as u } from "react/jsx-runtime";
|
|
12
|
+
import { Box as c, FormControl as d, InputLabel as m, MenuItem as x, Select as g, TextField as h, Typography as f } from "@mui/material";
|
|
13
|
+
var z = [
|
|
14
|
+
"Autofit",
|
|
15
|
+
"Ok",
|
|
16
|
+
"Cancel"
|
|
17
|
+
], y = o((o) => {
|
|
18
|
+
const { initialValue: y, context: C, onOption: v, onValidateOption: w, onInput: O, onDone: P, options: b = z, defaultOption: H = b?.[1], cancelOption: T = "Cancel", sx: k, ...A } = o, D = n(), F = s(() => C?.().getAxis() === e.Axis.Column, [C]), [U, I] = r(y ?? { size: 0 }), [M, V] = r(!1), j = a(async (e, t) => !0, []), B = s(() => {
|
|
19
|
+
const e = C?.();
|
|
20
|
+
if (!e?.toUnits) return null;
|
|
21
|
+
let t = U?.size ?? 0, i = "Px";
|
|
22
|
+
return "Px" === U.unit ? (t = e.toUnits?.(t) ?? t, i = e.getUnitText()) : (t = e.toPixels?.(t) ?? t, i = "Px"), {
|
|
23
|
+
size: t,
|
|
24
|
+
unit: i
|
|
25
|
+
};
|
|
26
|
+
}, [U?.unit, U?.size]), L = i(async (e) => {
|
|
27
|
+
const t = e === T;
|
|
28
|
+
t || O?.(U, e), v?.(e, t, e === H), P?.();
|
|
29
|
+
}, [
|
|
30
|
+
U,
|
|
31
|
+
O,
|
|
32
|
+
P,
|
|
33
|
+
v,
|
|
34
|
+
T,
|
|
35
|
+
H
|
|
36
|
+
]), N = i(async (e) => {
|
|
37
|
+
e.keyCode === t.Enter && !1 !== await j?.(U) && L(H);
|
|
38
|
+
}, [U, L]), W = i(async (e) => {
|
|
39
|
+
let t = await Promise.resolve(w?.(e));
|
|
40
|
+
try {
|
|
41
|
+
!1 !== t && (t = await Promise.resolve(j?.(U, e)) ?? !0);
|
|
42
|
+
} catch (e) {}
|
|
43
|
+
return t ?? !0;
|
|
44
|
+
}, [w]), E = i((e) => {
|
|
45
|
+
const t = {
|
|
46
|
+
...U,
|
|
47
|
+
size: Number(e.target.value)
|
|
48
|
+
};
|
|
49
|
+
I(t), j?.(t);
|
|
50
|
+
}, [U, w]), G = i((e) => {
|
|
51
|
+
const t = e.target.value, i = {
|
|
52
|
+
...U,
|
|
53
|
+
unit: t
|
|
54
|
+
};
|
|
55
|
+
I(i);
|
|
56
|
+
}, [U]), K = s(() => {
|
|
57
|
+
const e = C?.().getUnitText() ?? "", t = (e) => p(x, {
|
|
58
|
+
value: e,
|
|
59
|
+
children: e
|
|
60
|
+
}, e), i = [];
|
|
61
|
+
return i.push(t("Px")), i.push(t(e)), i;
|
|
62
|
+
}, []), R = s(() => b.map((e) => "Autofit" === e ? {
|
|
63
|
+
id: "Autofit",
|
|
64
|
+
label: () => D("resizeHeader.autofit")
|
|
65
|
+
} : e), [b, D]);
|
|
66
|
+
return p(l, {
|
|
67
|
+
title: D(F ? "resizeHeader.titleColumns" : "resizeHeader.titleRows"),
|
|
68
|
+
options: R,
|
|
69
|
+
onDone: P,
|
|
70
|
+
onOption: (e) => L(e),
|
|
71
|
+
onValidateOption: W,
|
|
72
|
+
defaultOption: H,
|
|
73
|
+
cancelOption: T,
|
|
74
|
+
autoFocusSel: ".autoFocus",
|
|
75
|
+
sx: {
|
|
76
|
+
width: "380px",
|
|
77
|
+
...k
|
|
78
|
+
},
|
|
79
|
+
...A,
|
|
80
|
+
children: u(c, {
|
|
81
|
+
sx: {
|
|
82
|
+
paddingTop: (e) => e.spacing(0),
|
|
83
|
+
paddingBottom: (e) => e.spacing(1),
|
|
84
|
+
display: "flex",
|
|
85
|
+
flexDirection: "column"
|
|
86
|
+
},
|
|
87
|
+
children: [u(c, {
|
|
88
|
+
sx: {
|
|
89
|
+
rowGap: (e) => e.spacing(1),
|
|
90
|
+
display: "flex",
|
|
91
|
+
flexDirection: "row",
|
|
92
|
+
gap: (e) => e.spacing(.5),
|
|
93
|
+
alignItems: "end",
|
|
94
|
+
justifyContent: "center"
|
|
95
|
+
},
|
|
96
|
+
children: [p(d, {
|
|
97
|
+
sx: {
|
|
98
|
+
paddingTop: (e) => e.spacing(1.5),
|
|
99
|
+
minWidth: 135,
|
|
100
|
+
width: "100%"
|
|
101
|
+
},
|
|
102
|
+
size: "small",
|
|
103
|
+
children: p(h, {
|
|
104
|
+
label: D("resizeHeader.size"),
|
|
105
|
+
onFocus: (e) => {
|
|
106
|
+
M || e.target?.select(), V(!0);
|
|
107
|
+
},
|
|
108
|
+
sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(.5) } },
|
|
109
|
+
slotProps: {
|
|
110
|
+
inputLabel: { shrink: !0 },
|
|
111
|
+
htmlInput: {
|
|
112
|
+
className: "autoFocus",
|
|
113
|
+
spellCheck: !1,
|
|
114
|
+
autoComplete: "off",
|
|
115
|
+
type: "number",
|
|
116
|
+
inputMode: "numeric",
|
|
117
|
+
min: 0,
|
|
118
|
+
pattern: "[0-9]*",
|
|
119
|
+
sx: {
|
|
120
|
+
paddingTop: (e) => e.spacing(1.25),
|
|
121
|
+
paddingBottom: (e) => e.spacing(.75)
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
value: U.size,
|
|
126
|
+
onChange: E,
|
|
127
|
+
onKeyDown: N,
|
|
128
|
+
onContextMenu: (e) => {
|
|
129
|
+
e.stopPropagation();
|
|
130
|
+
}
|
|
131
|
+
})
|
|
132
|
+
}), u(d, {
|
|
133
|
+
sx: { minWidth: 85 },
|
|
134
|
+
size: "small",
|
|
135
|
+
children: [p(m, { children: D("resizeHeader.unit") }), p(g, {
|
|
136
|
+
value: U.unit,
|
|
137
|
+
label: D("resizeHeader.unit"),
|
|
138
|
+
onChange: G,
|
|
139
|
+
children: K
|
|
140
|
+
})]
|
|
141
|
+
})]
|
|
142
|
+
}), B && p(c, { children: u(f, {
|
|
143
|
+
variant: "body2",
|
|
144
|
+
component: "div",
|
|
145
|
+
sx: { paddingLeft: (e) => e.spacing(2) },
|
|
146
|
+
children: [
|
|
147
|
+
B.size,
|
|
148
|
+
" ",
|
|
149
|
+
B.unit
|
|
150
|
+
]
|
|
151
|
+
}) })]
|
|
152
|
+
})
|
|
153
|
+
});
|
|
154
|
+
});
|
|
155
|
+
export { y as ResizeHeaderDialog, y as default };
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.23-beta.2
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
import { ScalarType as t } from "@sheetxl/sdk";
|
|
8
|
+
import { useTranslator as e } from "@sheetxl/utils-react";
|
|
9
|
+
import { Fragment as o, memo as r, useMemo as i } from "react";
|
|
10
|
+
import { OptionsDialog as a } from "@sheetxl/utils-mui";
|
|
11
|
+
import { jsx as l, jsxs as n } from "react/jsx-runtime";
|
|
12
|
+
import { Box as s, Typography as c } from "@mui/material";
|
|
13
|
+
import { messageKey as d } from "@sheetxl/utils";
|
|
14
|
+
var u = ["Ok"], g = [
|
|
15
|
+
t.Number,
|
|
16
|
+
t.String,
|
|
17
|
+
t.Boolean,
|
|
18
|
+
t.Error
|
|
19
|
+
], p = r((r) => {
|
|
20
|
+
const { context: p, onDone: m, options: b = u, defaultOption: k = b?.[0], sx: S, ...x } = r, y = e(), h = i(() => {
|
|
21
|
+
const e = p?.().getWorkbook();
|
|
22
|
+
if (!e) return null;
|
|
23
|
+
const o = (e) => {
|
|
24
|
+
const o = e.getTypedCounts(g);
|
|
25
|
+
return [
|
|
26
|
+
{
|
|
27
|
+
labelKey: d("workbookStatistics.cellsWithData"),
|
|
28
|
+
value: e.getCount().toLocaleString()
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
labelKey: d("workbookStatistics.numbers"),
|
|
32
|
+
value: (o[t.Number] ?? 0).toLocaleString()
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
labelKey: d("workbookStatistics.text"),
|
|
36
|
+
value: (o[t.String] ?? 0).toLocaleString()
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
labelKey: d("workbookStatistics.booleans"),
|
|
40
|
+
value: (o[t.Boolean] ?? 0).toLocaleString()
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
labelKey: d("workbookStatistics.errors"),
|
|
44
|
+
value: (o[t.Error] ?? 0).toLocaleString()
|
|
45
|
+
}
|
|
46
|
+
];
|
|
47
|
+
}, r = e.getSelectedSheet(), i = r.getUsedRange()?.getCoords(), a = i ? r.getRange({
|
|
48
|
+
rowStart: i.rowEnd,
|
|
49
|
+
colStart: i.colEnd,
|
|
50
|
+
rowEnd: i.rowEnd,
|
|
51
|
+
colEnd: i.colEnd
|
|
52
|
+
}).getAddress() : "–";
|
|
53
|
+
return [{
|
|
54
|
+
titleKey: d("workbookStatistics.currentSheet"),
|
|
55
|
+
subTitle: r.getName(),
|
|
56
|
+
rows: [{
|
|
57
|
+
labelKey: d("workbookStatistics.endOfSheet"),
|
|
58
|
+
value: a
|
|
59
|
+
}, ...o(r.getStats({ onError: "ignore" }))]
|
|
60
|
+
}, {
|
|
61
|
+
titleKey: d("workbookStatistics.workbook"),
|
|
62
|
+
subTitle: null,
|
|
63
|
+
rows: [{
|
|
64
|
+
labelKey: d("workbookStatistics.sheets"),
|
|
65
|
+
value: e.getSheets().getCount().toLocaleString()
|
|
66
|
+
}, ...o(e.getStats({ onError: "ignore" }))]
|
|
67
|
+
}];
|
|
68
|
+
}, [p]);
|
|
69
|
+
return l(a, {
|
|
70
|
+
title: y("workbookStatistics.title"),
|
|
71
|
+
options: b,
|
|
72
|
+
defaultOption: k,
|
|
73
|
+
onDone: m,
|
|
74
|
+
sx: {
|
|
75
|
+
width: "340px",
|
|
76
|
+
...S
|
|
77
|
+
},
|
|
78
|
+
...x,
|
|
79
|
+
children: l(s, {
|
|
80
|
+
sx: {
|
|
81
|
+
display: "flex",
|
|
82
|
+
flexDirection: "column",
|
|
83
|
+
rowGap: (t) => t.spacing(2),
|
|
84
|
+
paddingBottom: (t) => t.spacing(1)
|
|
85
|
+
},
|
|
86
|
+
children: h?.map((t) => n(s, { children: [n(c, {
|
|
87
|
+
variant: "subtitle2",
|
|
88
|
+
component: "div",
|
|
89
|
+
sx: {
|
|
90
|
+
display: "flex",
|
|
91
|
+
alignItems: "baseline",
|
|
92
|
+
gap: (t) => t.spacing(.75),
|
|
93
|
+
borderBottom: (t) => `1px solid ${t.palette.divider}`,
|
|
94
|
+
paddingBottom: (t) => t.spacing(.5),
|
|
95
|
+
marginBottom: (t) => t.spacing(.5)
|
|
96
|
+
},
|
|
97
|
+
children: [y(t.titleKey), t.subTitle ? l(c, {
|
|
98
|
+
variant: "caption",
|
|
99
|
+
component: "span",
|
|
100
|
+
color: "text.secondary",
|
|
101
|
+
children: t.subTitle
|
|
102
|
+
}) : null]
|
|
103
|
+
}), l(s, {
|
|
104
|
+
sx: {
|
|
105
|
+
display: "grid",
|
|
106
|
+
gridTemplateColumns: "1fr auto",
|
|
107
|
+
columnGap: (t) => t.spacing(2),
|
|
108
|
+
rowGap: (t) => t.spacing(.25)
|
|
109
|
+
},
|
|
110
|
+
children: t.rows.map((t) => n(o, { children: [l(c, {
|
|
111
|
+
variant: "body2",
|
|
112
|
+
component: "div",
|
|
113
|
+
color: "text.secondary",
|
|
114
|
+
children: y(t.labelKey)
|
|
115
|
+
}), l(c, {
|
|
116
|
+
variant: "body2",
|
|
117
|
+
component: "div",
|
|
118
|
+
sx: {
|
|
119
|
+
textAlign: "right",
|
|
120
|
+
fontVariantNumeric: "tabular-nums"
|
|
121
|
+
},
|
|
122
|
+
children: t.value
|
|
123
|
+
})] }, t.labelKey))
|
|
124
|
+
})] }, t.titleKey))
|
|
125
|
+
})
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
p.displayName = "WorkbookStatisticsDialog";
|
|
129
|
+
export { p as WorkbookStatisticsDialog, p as default };
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.23-beta.2
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
import { FormulaField as e } from "./index.mjs";
|
|
8
|
+
import { useReferenceMode as t } from "@sheetxl/react";
|
|
9
|
+
import { useCallbackRef as o, useTranslator as n } from "@sheetxl/utils-react";
|
|
10
|
+
import { memo as a, useCallback as l, useMemo as i, useState as r } from "react";
|
|
11
|
+
import { OptionsDialog as s } from "@sheetxl/utils-mui";
|
|
12
|
+
import { jsx as c, jsxs as p } from "react/jsx-runtime";
|
|
13
|
+
import { Box as m, Checkbox as u, FormControlLabel as d } from "@mui/material";
|
|
14
|
+
var g = ["Ok", "Cancel"], f = a((a) => {
|
|
15
|
+
const { onInput: f, onOption: h, onValidateOption: x, onDone: O, options: w = g, defaultOption: b = w?.[0], cancelOption: C = "Cancel", sx: N, initialValue: v, context: F, ...D } = a, H = n(), [I, M] = r(!1), [S, V] = r(() => v?.hasHeader ?? !1), [j, k] = r(() => v?.ranges ?? null), y = i(() => {
|
|
16
|
+
const e = v?.ranges?.getSheet?.()?.getName();
|
|
17
|
+
return e ? { scope: e } : void 0;
|
|
18
|
+
}, [v]), B = "point" === t().getMode()?.mode, G = o((e) => {
|
|
19
|
+
const t = j ? {
|
|
20
|
+
...v,
|
|
21
|
+
hasHeader: S,
|
|
22
|
+
ranges: j
|
|
23
|
+
} : null, o = e === C || !e;
|
|
24
|
+
f?.(!o && t ? t : void 0), h?.(e ?? C, o, e === b), O?.({
|
|
25
|
+
option: e,
|
|
26
|
+
tableOptions: t
|
|
27
|
+
});
|
|
28
|
+
}, [
|
|
29
|
+
O,
|
|
30
|
+
h,
|
|
31
|
+
b,
|
|
32
|
+
C,
|
|
33
|
+
S,
|
|
34
|
+
j,
|
|
35
|
+
v
|
|
36
|
+
]), P = l(async (e, t) => !0, []);
|
|
37
|
+
return c(s, {
|
|
38
|
+
title: H("tableNew.title"),
|
|
39
|
+
options: w,
|
|
40
|
+
onDone: G,
|
|
41
|
+
onValidateOption: P,
|
|
42
|
+
defaultOption: b,
|
|
43
|
+
cancelOption: C,
|
|
44
|
+
autoFocusSel: ".autoFocus",
|
|
45
|
+
suspendModal: B,
|
|
46
|
+
sx: {
|
|
47
|
+
width: "360px",
|
|
48
|
+
...N
|
|
49
|
+
},
|
|
50
|
+
...D,
|
|
51
|
+
children: p(m, {
|
|
52
|
+
sx: {
|
|
53
|
+
paddingTop: (e) => e.spacing(1),
|
|
54
|
+
paddingBottom: (e) => e.spacing(0),
|
|
55
|
+
rowGap: (e) => e.spacing(1),
|
|
56
|
+
display: "flex",
|
|
57
|
+
flexDirection: "column"
|
|
58
|
+
},
|
|
59
|
+
children: [c(e, {
|
|
60
|
+
grammar: "reference",
|
|
61
|
+
classNameInput: "autoFocus",
|
|
62
|
+
formName: "range",
|
|
63
|
+
value: j,
|
|
64
|
+
allowMulti: !1,
|
|
65
|
+
allowCrossSheet: !1,
|
|
66
|
+
home: y,
|
|
67
|
+
onChangeInput: (e) => k(e?.getReferences() ?? null),
|
|
68
|
+
onFocus: (e) => {
|
|
69
|
+
I || e.target?.select(), M(!0);
|
|
70
|
+
}
|
|
71
|
+
}), c(d, {
|
|
72
|
+
control: c(u, {
|
|
73
|
+
checked: S,
|
|
74
|
+
onChange: () => V(!S)
|
|
75
|
+
}),
|
|
76
|
+
label: H("tableNew.hasHeaders"),
|
|
77
|
+
labelPlacement: "end"
|
|
78
|
+
})]
|
|
79
|
+
})
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
export { f as TableNewDialog, f as default };
|