@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,217 @@
|
|
|
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 { t as e } from "./suPpQTgd0X3baAFS.mjs";
|
|
8
|
+
import { useFormulaInput as t, useFormulaInputParts as ee } from "@sheetxl/react";
|
|
9
|
+
import { DynamicIcon as n, useTranslator as te } from "@sheetxl/utils-react";
|
|
10
|
+
import r, { forwardRef as i, memo as a, useEffect as o, useId as ne, useImperativeHandle as re, useMemo as s, useRef as c } from "react";
|
|
11
|
+
import { ExhibitIconButton as l } from "@sheetxl/utils-mui";
|
|
12
|
+
import { Fragment as ie, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
13
|
+
import { Box as ae, FormControl as oe, InputAdornment as se, TextField as ce } from "@mui/material";
|
|
14
|
+
var f = typeof window < "u" && window.HTMLElement !== void 0 && typeof document < "u";
|
|
15
|
+
r.createContext(null).displayName = "HookFormControlContext", f ? r.useLayoutEffect : r.useEffect;
|
|
16
|
+
var p = r.createContext(null);
|
|
17
|
+
p.displayName = "HookFormContext";
|
|
18
|
+
var m = () => r.useContext(p), h = (e) => {
|
|
19
|
+
e.button === 0 && e.preventDefault();
|
|
20
|
+
}, g = "20px", _ = "4px", v = `calc(${g} + ${_})`, y = a(i((r, i) => {
|
|
21
|
+
let { grammar: a = "formula", formName: f, formOptions: p, disabled: v, className: y, sx: b, onKeyDown: x, onFocus: S, value: le, onChangeInput: ue, onChangeText: de, onDone: C, changeOn: fe, apiRef: pe, workbook: w, home: T, equals: E, pickAs: D, allowMulti: O, allowCrossSheet: k, label: A, labelPlacement: j = "floating", placeholder: M, helperText: N, showError: P = !0, onChangeError: F, hideAdornment: I, classNameInput: L, id: R, ...z } = r, B = te(), V = j === "above", me = ne(), H = R ?? me, U = a === "formula", W = A === void 0 ? B(U ? "formulaInput.label" : "rangeInput.label") : A, he = M ?? B(U ? "formulaInput.placeholder" : "rangeInput.placeholder"), G = m(), K = f && G ? G.register(f, p) : null, q = t({
|
|
22
|
+
value: le,
|
|
23
|
+
onChange: ue,
|
|
24
|
+
onChangeText: de,
|
|
25
|
+
onDone: C,
|
|
26
|
+
changeOn: fe,
|
|
27
|
+
workbook: w,
|
|
28
|
+
home: T,
|
|
29
|
+
equals: E,
|
|
30
|
+
pickAs: D,
|
|
31
|
+
allowMulti: O,
|
|
32
|
+
allowCrossSheet: k,
|
|
33
|
+
disabled: v
|
|
34
|
+
}, a);
|
|
35
|
+
re(pe, () => q, [q]);
|
|
36
|
+
let J = ee({
|
|
37
|
+
api: q,
|
|
38
|
+
grammar: a,
|
|
39
|
+
disabled: v,
|
|
40
|
+
workbook: w,
|
|
41
|
+
home: T
|
|
42
|
+
}), Y = !!q.error && !J.inputExpected, ge = P && Y ? B(q.error) : N === void 0 ? " " : N, X = c(G);
|
|
43
|
+
X.current = G;
|
|
44
|
+
let Z = c(F);
|
|
45
|
+
Z.current = F;
|
|
46
|
+
let Q = c(null);
|
|
47
|
+
o(() => {
|
|
48
|
+
if (q.error === Q.current || (Q.current = q.error, Z.current?.(q.error), !f)) return;
|
|
49
|
+
let e = X.current;
|
|
50
|
+
e && (q.error ? e.setError(f, { message: q.error }) : e.clearErrors(f));
|
|
51
|
+
}, [q.error, f]);
|
|
52
|
+
let $ = !!C, _e = s(() => I ? void 0 : u(se, {
|
|
53
|
+
tabIndex: -1,
|
|
54
|
+
onMouseDown: h,
|
|
55
|
+
sx: {
|
|
56
|
+
display: "flex",
|
|
57
|
+
position: "relative",
|
|
58
|
+
flex: "0"
|
|
59
|
+
},
|
|
60
|
+
position: "end",
|
|
61
|
+
children: q.engaged && $ ? d(ie, { children: [u(l, {
|
|
62
|
+
dense: !0,
|
|
63
|
+
outlined: !1,
|
|
64
|
+
color: "primary",
|
|
65
|
+
"aria-label": "commit-reference",
|
|
66
|
+
icon: u(n, { iconKey: "CheckSuccess" }),
|
|
67
|
+
propsTooltip: {
|
|
68
|
+
label: B("referenceInput.commit"),
|
|
69
|
+
simple: !0
|
|
70
|
+
},
|
|
71
|
+
disabled: !!q.error,
|
|
72
|
+
tabIndex: -1,
|
|
73
|
+
onMouseDown: h,
|
|
74
|
+
onClick: () => {
|
|
75
|
+
q.commit();
|
|
76
|
+
}
|
|
77
|
+
}), u(l, {
|
|
78
|
+
dense: !0,
|
|
79
|
+
outlined: !1,
|
|
80
|
+
color: "warning",
|
|
81
|
+
"aria-label": "cancel-reference",
|
|
82
|
+
icon: u(n, { iconKey: "CloseError" }),
|
|
83
|
+
propsTooltip: {
|
|
84
|
+
label: B("referenceInput.cancel"),
|
|
85
|
+
simple: !0
|
|
86
|
+
},
|
|
87
|
+
tabIndex: -1,
|
|
88
|
+
onMouseDown: h,
|
|
89
|
+
onClick: () => {
|
|
90
|
+
q.cancel();
|
|
91
|
+
}
|
|
92
|
+
})] }) : u(l, {
|
|
93
|
+
dense: !0,
|
|
94
|
+
outlined: !1,
|
|
95
|
+
disabled: v || !q.canSelectCurrent,
|
|
96
|
+
sx: { "&.Mui-disabled": { opacity: .35 } },
|
|
97
|
+
"aria-label": "select-current-range",
|
|
98
|
+
icon: u(n, { iconKey: "SelectRangeMode" }),
|
|
99
|
+
propsTooltip: {
|
|
100
|
+
label: B("referenceInput.selectCurrent"),
|
|
101
|
+
simple: !0
|
|
102
|
+
},
|
|
103
|
+
tabIndex: -1,
|
|
104
|
+
onMouseDown: h,
|
|
105
|
+
onClick: () => {
|
|
106
|
+
q.engaged || q.togglePoint(), q.selectCurrent();
|
|
107
|
+
}
|
|
108
|
+
})
|
|
109
|
+
}), [
|
|
110
|
+
I,
|
|
111
|
+
v,
|
|
112
|
+
$,
|
|
113
|
+
q.engaged,
|
|
114
|
+
q.canSelectCurrent,
|
|
115
|
+
q.togglePoint,
|
|
116
|
+
q.selectCurrent,
|
|
117
|
+
q.commit,
|
|
118
|
+
q.cancel,
|
|
119
|
+
!!q.error
|
|
120
|
+
]);
|
|
121
|
+
return d(oe, {
|
|
122
|
+
sx: {
|
|
123
|
+
minWidth: 135,
|
|
124
|
+
width: "100%",
|
|
125
|
+
...b
|
|
126
|
+
},
|
|
127
|
+
size: "small",
|
|
128
|
+
ref: (e) => {
|
|
129
|
+
J.containerRef.current = e, typeof i == "function" ? i(e) : i && (i.current = e);
|
|
130
|
+
},
|
|
131
|
+
className: e("sxl-formula-field", y),
|
|
132
|
+
"data-grammar": a,
|
|
133
|
+
...z,
|
|
134
|
+
children: [
|
|
135
|
+
V ? u(ae, {
|
|
136
|
+
component: "label",
|
|
137
|
+
htmlFor: H,
|
|
138
|
+
sx: {
|
|
139
|
+
lineHeight: g,
|
|
140
|
+
marginBottom: _,
|
|
141
|
+
paddingLeft: "14px",
|
|
142
|
+
display: "flex",
|
|
143
|
+
alignItems: "center",
|
|
144
|
+
gap: "4px",
|
|
145
|
+
overflow: "hidden",
|
|
146
|
+
whiteSpace: "nowrap",
|
|
147
|
+
fontSize: "0.8rem",
|
|
148
|
+
color: v ? "text.disabled" : "text.primary"
|
|
149
|
+
},
|
|
150
|
+
children: W
|
|
151
|
+
}) : null,
|
|
152
|
+
u(ce, {
|
|
153
|
+
id: H,
|
|
154
|
+
label: V ? void 0 : W,
|
|
155
|
+
placeholder: he,
|
|
156
|
+
disabled: v,
|
|
157
|
+
error: Y,
|
|
158
|
+
helperText: ge,
|
|
159
|
+
sx: { "& .MuiFormHelperText-root": {
|
|
160
|
+
marginTop: _,
|
|
161
|
+
...V ? { lineHeight: g } : null
|
|
162
|
+
} },
|
|
163
|
+
slotProps: {
|
|
164
|
+
input: { endAdornment: _e },
|
|
165
|
+
inputLabel: { shrink: !0 },
|
|
166
|
+
htmlInput: {
|
|
167
|
+
className: L,
|
|
168
|
+
spellCheck: !1,
|
|
169
|
+
autoComplete: "off",
|
|
170
|
+
readOnly: v || q.inputProps.readOnly,
|
|
171
|
+
name: f,
|
|
172
|
+
sx: {
|
|
173
|
+
paddingTop: (e) => e.spacing(V || W == null ? 1 : 1.25),
|
|
174
|
+
paddingBottom: (e) => e.spacing(V || W == null ? 1 : .75),
|
|
175
|
+
...J.overlayActive ? {
|
|
176
|
+
color: "transparent",
|
|
177
|
+
caretColor: (e) => e.palette.text.primary
|
|
178
|
+
} : null
|
|
179
|
+
},
|
|
180
|
+
onSelect: (e) => {
|
|
181
|
+
q.inputProps.onSelect(e), J.inputHandlers.onSelect(e);
|
|
182
|
+
},
|
|
183
|
+
onScroll: J.inputHandlers.onScroll,
|
|
184
|
+
onMouseMove: J.inputHandlers.onMouseMove,
|
|
185
|
+
onMouseLeave: J.inputHandlers.onMouseLeave
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
value: q.inputProps.value,
|
|
189
|
+
inputRef: (e) => {
|
|
190
|
+
J.inputElRef.current = e, q.inputProps.ref(e), K?.ref && K.ref(e);
|
|
191
|
+
},
|
|
192
|
+
onChange: (e) => {
|
|
193
|
+
q.inputProps.onChange(e), J.inputHandlers.onSelect(e), K?.onChange(e);
|
|
194
|
+
},
|
|
195
|
+
onKeyDown: (e) => {
|
|
196
|
+
J.handleKeyDown(e) || (q.inputProps.onKeyDown(e), e.defaultPrevented || x?.(e));
|
|
197
|
+
},
|
|
198
|
+
onPointerDown: J.inputHandlers.onPointerDown,
|
|
199
|
+
onMouseDown: q.inputProps.onMouseDown,
|
|
200
|
+
onFocus: (e) => {
|
|
201
|
+
q.inputProps.onFocus(e), S?.(e);
|
|
202
|
+
},
|
|
203
|
+
onBlur: (e) => {
|
|
204
|
+
q.inputProps.onBlur(e), K?.onBlur(e);
|
|
205
|
+
},
|
|
206
|
+
onContextMenu: (e) => {
|
|
207
|
+
e.stopPropagation();
|
|
208
|
+
}
|
|
209
|
+
}),
|
|
210
|
+
J.overlayElement,
|
|
211
|
+
J.tipElement,
|
|
212
|
+
J.hintElement
|
|
213
|
+
]
|
|
214
|
+
});
|
|
215
|
+
}));
|
|
216
|
+
y.displayName = "FormulaField";
|
|
217
|
+
export { y as n, m as r, v as t };
|
package/browser/esm/index.mjs
CHANGED
|
@@ -1,92 +1,153 @@
|
|
|
1
|
-
(function(){
|
|
2
|
-
import { LicenseManager as t } from "@sheetxl/sdk";
|
|
3
|
-
import { DefaultTaskPaneRegistry as n, useModelListener as s, useRangeListener as m } from "@sheetxl/react";
|
|
4
|
-
import { E as u, Z as r, B as d, O as C, X as B, n as i, o as p, m as S, k, a0 as P, a1 as T, t as b, $ as F, Y as c, a2 as g, D as y, as as I, l as h, aa as f, s as W, ab as x, h as M, v as w, i as L, a8 as A, F as D, G as E, H as O, L as R, K as v, I as V, M as z, a9 as H, N, j as U, P as G, z as j, A as q, R as Z, ai as J, aj as K, a7 as Q, ak as X, q as Y, a6 as _, S as $, Q as aa, af as oa, ag as ta, ah as ea, ad as na, ae as sa, ac as ma, w as la, T as ua, f as ra, a3 as da, a4 as Ca, a5 as Ba, x as ia, U as pa, V as Sa, p as ka, y as Pa, J as Ta, ao as ba, am as Fa, au as ca, ap as ga, an as ya, W as Ia, at as ha, ar as fa, S as Wa, al as xa, aq as Ma } from "./mqkuG-TcLS4nn4x0.mjs";
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`._sheetxl-reset_11z3j_1{margin:0;padding:0;line-height:1;display:block}._sheetxl-reset_11z3j_1 table,._sheetxl-reset_11z3j_1 thead,._sheetxl-reset_11z3j_1 tbody,._sheetxl-reset_11z3j_1 tfoot,._sheetxl-reset_11z3j_1 tr,._sheetxl-reset_11z3j_1 th,._sheetxl-reset_11z3j_1 td{border-collapse:inherit;border-spacing:0;border:none;border-color:inherit;width:auto;height:auto;vertical-align:inherit;text-align:left;font-weight:inherit;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0;margin:0;padding:0;display:block}._sheetxl-reset_11z3j_1 th,._sheetxl-reset_11z3j_1 td{display:inline}html{color:initial}._table-style-options-container_1kfn2_1{container-type:inline-size}._table-style-options_1kfn2_1{user-select:none;grid-template-columns:1fr;display:grid;@container (width>600px){grid-template-rows:repeat(3,auto);grid-auto-columns:1fr;grid-auto-flow:column;gap:2px}}._range-row_akhf4_1{flex-direction:column;flex:100%;align-items:center;width:100%;display:flex;@container (width>600px){flex-direction:row;justify-content:space-between;gap:12px}}._action-row_akhf4_15{flex-direction:column;align-items:start;gap:4px;width:100%;display:flex;@container (width>600px){flex-direction:row;justify-content:space-evenly;align-items:center}}._details-panel_mdq6z_1{box-sizing:border-box;background:0 0;flex-direction:column;flex:auto;align-items:stretch;width:100%;height:100%;display:flex;overflow:hidden}._editor_mdq6z_13{flex-direction:column;height:100%;display:flex}._editor-panel_mdq6z_19{flex-direction:column;display:flex}._editor-buttons_mdq6z_24{justify-content:flex-end;display:flex}._card_mdq6z_29{flex-direction:column;display:flex}._stats-items_151a8_1{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:2px;min-width:0;max-height:1rem;display:flex;overflow:hidden}._stats-item_151a8_1{flex-shrink:0}._stats-item-label_151a8_15{user-select:none;white-space:nowrap;cursor:pointer;border-radius:2px;align-items:center;gap:4px;padding:0 4px;transition:background-color .2s;display:flex}._stats-item-label_151a8_15:hover{background-color:#0000000a}._stats-item-label_151a8_15:active{background-color:#00000014}._formula-bar_uer84_1{flex-direction:row;flex:100%;align-items:start;display:flex}._card_h0jnt_7{width:100%}._actionRoot_h0jnt_11{justify-content:space-between;padding:8px 8px 8px 16px}._icons_h0jnt_16{align-items:center;margin-left:auto;display:flex}._expand_h0jnt_22{color:var(--sxl-color-error-content);padding:8px;transition:all .2s ease-in-out;transform:rotate(0)}._expandOpen_h0jnt_29{transform:rotate(180deg)}._stackTraceContainer_h0jnt_33{padding:16px}._paper_h0jnt_37{background-color:#fff;padding:16px}._checkIcon_h0jnt_42{padding-right:4px;font-size:20px}._button_h0jnt_47{text-transform:none;padding:0}._styled-resizer_fdl5y_3{background-color:var(--sxl-color-neutral,grey)}._styled-resizer_fdl5y_3:hover,.splitPane.dragging ._styled-resizer_fdl5y_3{background-color:var(--sxl-color-primary,blue)}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
|
|
5
2
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
};
|
|
3
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.23-beta.2
|
|
4
|
+
*
|
|
5
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
6
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
+
*/
|
|
8
|
+
import { r as e, t } from "./Ddp-16AGwwlZkglN.mjs";
|
|
9
|
+
import { A as n, At as r, B as i, Bt as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, F as f, Ft as p, G as m, H as h, I as g, It as _, L as v, Lt as y, M as b, Mt as x, N as S, Nt as C, O as w, Ot as T, P as E, Pt as D, R as O, Rt as ee, S as te, St as ne, T as re, Tt as ie, U as ae, V as oe, Vt as se, W as k, _ as A, _t as j, a as M, at as N, b as P, bt as F, c as I, ct as L, dt as R, ft as z, g as B, gt as V, ht as H, i as U, it as W, j as G, jt as K, k as ce, kt as le, l as ue, lt as de, m as fe, mt as pe, n as me, o as he, ot as ge, pt as _e, r as ve, s as ye, st as be, t as xe, u as Se, ut as Ce, v as we, vt as Te, w as Ee, wt as De, x as Oe, xt as ke, y as Ae, yt as je, z as Me, zt as Ne } from "./dhuC1s94dyRTzxgk.mjs";
|
|
10
|
+
import { t as Pe } from "./suPpQTgd0X3baAFS.mjs";
|
|
11
|
+
import { t as Fe } from "./C9MY76RbJdvrNOgK.mjs";
|
|
12
|
+
import { n as Ie, r as Le, t as Re } from "./eL50tJKtsxKJk7-6.mjs";
|
|
13
|
+
import { a as ze, i as Be, n as Ve, o as He, r as Ue, t as We } from "./B-2XwThOta_tt8BT.mjs";
|
|
14
|
+
import { useInputField as Ge } from "@sheetxl/react";
|
|
15
|
+
import { DynamicIcon as q, useTranslator as Ke } from "@sheetxl/utils-react";
|
|
16
|
+
import { forwardRef as J, memo as qe, useEffect as Je, useImperativeHandle as Ye, useMemo as Xe, useRef as Y } from "react";
|
|
17
|
+
import { ExhibitIconButton as X } from "@sheetxl/utils-mui";
|
|
18
|
+
import { jsx as Z, jsxs as Ze } from "react/jsx-runtime";
|
|
19
|
+
import { FormControl as Qe, InputAdornment as $e, TextField as et } from "@mui/material";
|
|
20
|
+
var Q = (e) => {
|
|
21
|
+
e.button === 0 && e.preventDefault();
|
|
22
|
+
}, $ = qe(J((e, t) => {
|
|
23
|
+
let { disabled: n, className: r, sx: i, defaultInput: a, value: o, formName: s, formOptions: c, onChangeInput: l, onChangeText: u, onDone: d, changeOn: f, onValidate: p, apiRef: m, label: h, hideAdornment: g, onKeyDown: _, onFocus: v, ...y } = e, b = Ke(), x = h ?? b("namedInput.label"), S = Le(), C = s && S ? S.register(s, c) : null, w = Ge({
|
|
24
|
+
value: o ?? "",
|
|
25
|
+
onChange: l,
|
|
26
|
+
onChangeText: u,
|
|
27
|
+
onDone: d,
|
|
28
|
+
changeOn: f,
|
|
29
|
+
onValidate: p,
|
|
30
|
+
disabled: n
|
|
31
|
+
});
|
|
32
|
+
Ye(m, () => w, [w]);
|
|
33
|
+
let T = Y(S);
|
|
34
|
+
T.current = S;
|
|
35
|
+
let E = Y(null);
|
|
36
|
+
Je(() => {
|
|
37
|
+
if (!s || w.error === E.current) return;
|
|
38
|
+
E.current = w.error;
|
|
39
|
+
let e = T.current;
|
|
40
|
+
e && (w.error ? e.setError(s, { message: b(w.error) }) : e.clearErrors(s));
|
|
41
|
+
}, [w.error, s]);
|
|
42
|
+
let D = !!d, O = Xe(() => {
|
|
43
|
+
if (!g && D) return Ze($e, {
|
|
44
|
+
tabIndex: -1,
|
|
45
|
+
onMouseDown: Q,
|
|
46
|
+
"aria-hidden": !w.engaged,
|
|
47
|
+
sx: {
|
|
48
|
+
display: "flex",
|
|
49
|
+
position: "relative",
|
|
50
|
+
flex: "0",
|
|
51
|
+
...w.engaged ? null : {
|
|
52
|
+
visibility: "hidden",
|
|
53
|
+
pointerEvents: "none"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
position: "end",
|
|
57
|
+
children: [Z(X, {
|
|
58
|
+
dense: !0,
|
|
59
|
+
outlined: !1,
|
|
60
|
+
color: "primary",
|
|
61
|
+
"aria-label": "commit-input",
|
|
62
|
+
icon: Z(q, { iconKey: "CheckSuccess" }),
|
|
63
|
+
propsTooltip: {
|
|
64
|
+
label: b("referenceInput.commit"),
|
|
65
|
+
simple: !0
|
|
66
|
+
},
|
|
67
|
+
disabled: !!w.error,
|
|
68
|
+
tabIndex: -1,
|
|
69
|
+
onMouseDown: Q,
|
|
70
|
+
onClick: () => {
|
|
71
|
+
w.commit();
|
|
72
|
+
}
|
|
73
|
+
}), Z(X, {
|
|
74
|
+
dense: !0,
|
|
75
|
+
outlined: !1,
|
|
76
|
+
color: "warning",
|
|
77
|
+
"aria-label": "cancel-input",
|
|
78
|
+
icon: Z(q, { iconKey: "CloseError" }),
|
|
79
|
+
propsTooltip: {
|
|
80
|
+
label: b("referenceInput.cancel"),
|
|
81
|
+
simple: !0
|
|
82
|
+
},
|
|
83
|
+
tabIndex: -1,
|
|
84
|
+
onMouseDown: Q,
|
|
85
|
+
onClick: () => {
|
|
86
|
+
w.cancel();
|
|
87
|
+
}
|
|
88
|
+
})]
|
|
89
|
+
});
|
|
90
|
+
}, [
|
|
91
|
+
g,
|
|
92
|
+
D,
|
|
93
|
+
w.engaged,
|
|
94
|
+
w.commit,
|
|
95
|
+
w.cancel,
|
|
96
|
+
!!w.error
|
|
97
|
+
]);
|
|
98
|
+
return Z(Qe, {
|
|
99
|
+
sx: {
|
|
100
|
+
minWidth: 135,
|
|
101
|
+
width: "100%",
|
|
102
|
+
...i
|
|
103
|
+
},
|
|
104
|
+
size: "small",
|
|
105
|
+
ref: t,
|
|
106
|
+
className: Pe("sxl-input-field", r),
|
|
107
|
+
...y,
|
|
108
|
+
children: Z(et, {
|
|
109
|
+
label: x,
|
|
110
|
+
placeholder: a,
|
|
111
|
+
disabled: n,
|
|
112
|
+
error: !!w.error,
|
|
113
|
+
helperText: w.error ? b(w.error) : " ",
|
|
114
|
+
sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(.5) } },
|
|
115
|
+
slotProps: {
|
|
116
|
+
input: { endAdornment: O },
|
|
117
|
+
inputLabel: { shrink: !0 },
|
|
118
|
+
htmlInput: {
|
|
119
|
+
className: "autoFocus",
|
|
120
|
+
name: s,
|
|
121
|
+
spellCheck: !1,
|
|
122
|
+
autoComplete: "off",
|
|
123
|
+
readOnly: n,
|
|
124
|
+
sx: {
|
|
125
|
+
paddingTop: (e) => e.spacing(1.25),
|
|
126
|
+
paddingBottom: (e) => e.spacing(.75)
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
value: w.inputProps.value,
|
|
131
|
+
inputRef: (e) => {
|
|
132
|
+
w.inputProps.ref(e), C?.ref && C.ref(e);
|
|
133
|
+
},
|
|
134
|
+
onChange: (e) => {
|
|
135
|
+
w.inputProps.onChange(e), C?.onChange(e);
|
|
136
|
+
},
|
|
137
|
+
onKeyDown: (e) => {
|
|
138
|
+
w.inputProps.onKeyDown(e), e.defaultPrevented || _?.(e);
|
|
139
|
+
},
|
|
140
|
+
onFocus: (e) => {
|
|
141
|
+
w.inputProps.onFocus(e), v?.(e);
|
|
142
|
+
},
|
|
143
|
+
onBlur: (e) => {
|
|
144
|
+
w.inputProps.onBlur(e), C?.onBlur(e);
|
|
145
|
+
},
|
|
146
|
+
onContextMenu: (e) => {
|
|
147
|
+
e.stopPropagation();
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
});
|
|
151
|
+
}));
|
|
152
|
+
$.displayName = "InputField";
|
|
153
|
+
export { N as AppearanceCommandButton, y as AutoColorPosition, le as BorderCommandButton, r as BorderPopupButton, K as BorderStylePopupButton, _ as ColorButton, p as ColorButtonList, ie as ColorCommandButton, D as ColorPanel, ee as ColorPanelType, C as ColorPopupButton, te as ColumnMenu, xe as DefaultTaskPaneRegistry, O as DefaultWorkbookToolbars, be as DocThemeCommandButton, ue as DocumentTitle, Re as FORMULA_FIELD_ABOVE_LABEL_HEIGHT, ge as FileCommandButton, o as FilterList, De as FontFamilyCommandButton, T as FontSizeCommandButton, Ee as FormulaBar, Ie as FormulaField, ze as FunctionArgumentsPanel, He as FunctionSearchPanel, We as INSERT_FUNCTION_PAGE_CLASS, $ as InputField, k as InsertFunctionCommandPopupButton, Ve as InsertFunctionOption, oe as InsertFunctionSumCommandPopupButton, Ue as InsertFunctionWizard, me as LicenseManager, ce as NAMED_TYPE_FORMULA, E as NamedCollectionEditor, c as NamedDetailsPanel, u as NamedDetailsTaskPane, w as NamedEditorPanel, re as NamedPlugin, l as NumberFormatCommandButton, Fe as NumberFormatPanel, Oe as NumberFormatTaskPane, g as NumberStats, ne as PasteCommandButton, ke as PresetCellStylesCommandButton, pe as PresetTableStylesCommandButton, Ae as SheetTabMenu, Ne as SheetZoomCommandButton, v as SheetZoomScale, we as SheetsAllMenu, f as StatusBar, ye as Studio, x as StyledStrokeIcon, j as TableDetailsPanel, V as TableDetailsTaskPane, H as TablePlugin, je as TableStyleCanvasPreview, Te as TableStyleOptionsPanel, F as TableStylePreview, s as TextEffectsCommandButton, a as TextRotateGroupButton, _e as ThemeSelectButton, z as ThemeSelectPanel, R as ThemeSelectPopupButton, d as UndoRedoCommandButton, W as WalkingCopyCommandButton, B as WorkbookContextMenu, Se as WorkbookElement, ve as WorkbookIO, t as WorkbookProtectionDialog, e as WorkbookProtectionPanel, A as WorkbookStrip, Me as WorkbookToolbars, n as createNamedDraft, L as createStudioThemeCSS, de as createThemeFromMUITheme, G as expressionOf, b as isEditableNamed, Be as optionsForPage, P as registerNumberFormatTaskPane, m as registerSheetCommandGroups, se as registerStudioCommandCatalogs, h as registerStudioCommandGroups, ae as registerWorkbookCommandGroups, fe as renderWorkbookSheetTab, i as renderWorkbookToolbars, S as saveNamedDraft, I as setPrintExamplesOnLoad, Ce as tokensToMuiOptions, U as useModelListener, M as useRangeListener, he as useStudioApp };
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
function e(t) {
|
|
8
|
+
var n, r, i = "";
|
|
9
|
+
if (typeof t == "string" || typeof t == "number") i += t;
|
|
10
|
+
else if (typeof t == "object") if (Array.isArray(t)) {
|
|
11
|
+
var a = t.length;
|
|
12
|
+
for (n = 0; n < a; n++) t[n] && (r = e(t[n])) && (i && (i += " "), i += r);
|
|
13
|
+
} else for (r in t) t[r] && (i && (i += " "), i += r);
|
|
14
|
+
return i;
|
|
15
|
+
}
|
|
16
|
+
function t() {
|
|
17
|
+
for (var t, n, r = 0, i = "", a = arguments.length; r < a; r++) (t = arguments[r]) && (n = e(t)) && (i && (i += " "), i += n);
|
|
18
|
+
return i;
|
|
19
|
+
}
|
|
20
|
+
export { t };
|