@sheetxl/utils-mui 0.3.19 → 0.3.20

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.
@@ -0,0 +1,6 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.3.20
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),n=require("react"),t=require("./CBk8IY9Y52CQCmc2.cjs"),s=require("@mui/material"),T=require("@mui/system"),N=["Input"],$=n.memo(n.forwardRef((y,v)=>{const{initialValue:w="",onOption:F,onValidateOption:u,onInputOption:c,onValidateInputOption:r,onDone:d,inputProps:g,inputLabel:S,inputType:P,inputPlaceHolder:b,options:f=N,autoFocusSel:C=".autoFocus",cancelOption:h,defaultOption:m=f?.[0],...I}=y,[j,q]=n.useState(!1),[a,k]=n.useState(w),[D,V]=n.useState(""),[B,M]=n.useState(!0),i=t.T(async(e,o)=>{if(!r)return!0;const p=await r?.(e,o);V(p?.message??"");const O=p?.valid??!0;return M(O),O},[r]),x=t.T(async e=>{c?.(a,e)},[a,c,d,F,h,m]),A=t.T(async e=>{e.keyCode===t.eo.Enter&&await i?.(a,null)},[a,x]),H=t.T(e=>{k(e.target.value),i?.(e.target.value,null)},[u]),L=t.T(async e=>{let o=await i(a,e);try{o!==!1&&(o=await i(a,e))}catch{}return o??!0},[a,u]);return l.jsx(t.OptionsDialog,{options:f,onDone:d,onOption:(e,o)=>{o||x(e)},onValidateOption:L,cancelOption:h,defaultOption:m,autoFocusSel:C,ref:v,...I,children:l.jsx(s.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0)},children:l.jsx(s.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:l.jsx(s.TextField,{onFocus:e=>{j||e.target?.select(),q(!0)},type:P,label:S,helperText:D||" ",sx:{width:"100%","& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5),color:B?void 0:"error.main"}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{placeholder:b,spellCheck:!1,autoComplete:"off",...g,className:t.clsx("autoFocus",g?.className),sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${T.alpha("#fff",t.getOverlayAlpha(5))}, ${T.alpha("#fff",t.getOverlayAlpha(5))})`}}},value:a,onChange:H,onKeyDown:A,onContextMenu:e=>{e.stopPropagation()}})})})})}));exports.default=$;
@@ -1,7 +1,7 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._traverse-ellipsis_14l1h_1{display:inline-block;position:relative}._traverse-ellipsis_14l1h_1 div{position:absolute;border-radius:50%}._traverse-ellipsis_14l1h_1 div:nth-child(1){left:0;animation:_traverse-ellipsis1_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(2){left:0;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(3){left:24px;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(4){left:48px;animation:_traverse-ellipsis3_14l1h_1 .6s infinite}@keyframes _traverse-ellipsis1_14l1h_1{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes _traverse-ellipsis3_14l1h_1{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes _traverse-ellipsis2_14l1h_1{0%{transform:translate(0)}to{transform:translate(24px)}}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
2
  "use strict";/**
3
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.3.19
3
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.3.20
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
7
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./D00MDFEA0j2VYoct.cjs");exports.AnimatedBouncingEllipsisIcon=o.AnimatedBouncingEllipsisIcon,exports.AnimatedCircleIcon=o.AnimatedCircleIcon,exports.AnimatedClockIcon=o.AnimatedClockIcon,exports.AnimatedFadingEllipsisIcon=o.AnimatedFadingEllipsisIcon,exports.AnimatedOrbitIcon=o.AnimatedOrbitIcon,exports.AnimatedTraversingEllipsisIcon=o.AnimatedTraversingEllipsisIcon,exports.BLANK_ICON=o.BLANK_ICON,exports.BlankIcon=o.BlankIcon,exports.BorderAllIcon=o.BorderAllIcon,exports.BorderBottomIcon=o.BorderBottomIcon,exports.BorderHorizontalIcon=o.BorderHorizontalIcon,exports.BorderInnerIcon=o.BorderInnerIcon,exports.BorderLeftIcon=o.BorderLeftIcon,exports.BorderNoneIcon=o.BorderNoneIcon,exports.BorderOuterIcon=o.BorderOuterIcon,exports.BorderRightIcon=o.BorderRightIcon,exports.BorderTopIcon=o.BorderTopIcon,exports.BorderVerticalIcon=o.BorderVerticalIcon,exports.CalculateIcon=o.CalculateIcon,exports.CellSelectionEditIcon=o.CellSelectionEditIcon,exports.CellSelectionIcon=o.CellSelectionIcon,exports.CellSelectionInsertIcon=o.CellSelectionInsertIcon,exports.CellSelectionRemoveIcon=o.CellSelectionRemoveIcon,exports.CheckIcon=o.CheckIcon,exports.CheckSuccessIcon=o.CheckSuccessIcon,exports.ChipStrip=o.ChipStrip,exports.ClearAllIcon=o.ClearAllIcon,exports.ClearContentsIcon=o.ClearContentsIcon,exports.ClearFormatsIcon=o.ClearFormatsIcon,exports.CloseErrorIcon=o.CloseErrorIcon,exports.ClosingReason=o.ClosingReason,exports.CodeIcon=o.CodeIcon,exports.ColorizedCircleIcon=o.ColorizedCircleIcon,exports.ColorizedFillIcon=o.ColorizedFillIcon,exports.ColorizedStrokeIcon=o.ColorizedStrokeIcon,exports.ColorizedTextIcon=o.ColorizedTextIcon,exports.ColumnsResizeAutoIcon=o.ColumnsResizeAutoIcon,exports.ColumnsResizeIcon=o.ColumnsResizeIcon,exports.CommaIcon=o.CommaIcon,exports.CommandButton=o.CommandButton,exports.CommandPopupButton=o.CommandPopupButton,exports.CommandToolbar=o.CommandToolbar,exports.CommandTooltip=o.CommandTooltip,exports.ContextMenu=o.ContextMenu,exports.CopyIcon=o.CopyIcon,exports.CurrencyDollarIcon=o.CurrencyDollarIcon,exports.CutIcon=o.CutIcon,exports.DecreaseDecimalIcon=o.DecreaseDecimalIcon,exports.DecreaseDecimalIcon2=o.DecreaseDecimalIcon2,exports.DiscordIcon=o.DiscordIcon,exports.DocumentationIcon=o.DocumentationIcon,exports.DrawAlignBottomIcon=o.DrawAlignBottomIcon,exports.DrawAlignCenterIcon=o.DrawAlignCenterIcon,exports.DrawAlignDistributeHorzIcon=o.DrawAlignDistributeHorzIcon,exports.DrawAlignDistributeVertIcon=o.DrawAlignDistributeVertIcon,exports.DrawAlignLeftIcon=o.DrawAlignLeftIcon,exports.DrawAlignMiddleIcon=o.DrawAlignMiddleIcon,exports.DrawAlignRightIcon=o.DrawAlignRightIcon,exports.DrawAlignTopIcon=o.DrawAlignTopIcon,exports.DrawAspectIcon=o.DrawAspectIcon,exports.DrawFlipHorzIcon=o.DrawFlipHorzIcon,exports.DrawFlipVertIcon=o.DrawFlipVertIcon,exports.DrawGroupIcon=o.DrawGroupIcon,exports.DrawMoveBackwardIcon=o.DrawMoveBackwardIcon,exports.DrawMoveForwardIcon=o.DrawMoveForwardIcon,exports.DrawResizeIcon=o.DrawResizeIcon,exports.DrawSwapHorzIcon=o.DrawSwapHorzIcon,exports.DrawSwapVertIcon=o.DrawSwapVertIcon,exports.DrawToBackIcon=o.DrawToBackIcon,exports.DrawToFrontIcon=o.DrawToFrontIcon,exports.DrawUngroupIcon=o.DrawUngroupIcon,exports.ErrorAlertIcon=o.ErrorAlertIcon,exports.ErrorPanel=o.ErrorPanel,exports.ExhibitDivider=o.ExhibitDivider,exports.ExhibitFloatPanel=o.ExhibitFloatPanel,exports.ExhibitIconButton=o.ExhibitIconButton,exports.ExhibitMenuHeader=o.ExhibitMenuHeader,exports.ExhibitMenuItem=o.ExhibitMenuItem,exports.ExhibitOptionButton=o.ExhibitOptionButton,exports.ExhibitPopper=o.ExhibitPopper,exports.ExhibitPopupIconButton=o.ExhibitPopupIconButton,exports.ExhibitPopupMenuItem=o.ExhibitPopupMenuItem,exports.ExhibitTooltip=o.ExhibitTooltip,exports.FileDownloadAsCSVIcon=o.FileDownloadAsCSVIcon,exports.FileDownloadAsExcelIcon=o.FileDownloadAsExcelIcon,exports.FileDownloadAsSheetIcon=o.FileDownloadAsSheetIcon,exports.FileNewIcon=o.FileNewIcon,exports.FileOpenIcon=o.FileOpenIcon,exports.FillDownIcon=o.FillDownIcon,exports.FilterClearIcon=o.FilterClearIcon,exports.FilterReapplyIcon=o.FilterReapplyIcon,exports.FilterToggleIcon=o.FilterToggleIcon,exports.FindCaseSensitiveIcon=o.FindCaseSensitiveIcon,exports.FindIcon=o.FindIcon,exports.FindOptionsIcon=o.FindOptionsIcon,exports.FindRegExIcon=o.FindRegExIcon,exports.FindReplaceAllIcon=o.FindReplaceAllIcon,exports.FindReplaceIcon=o.FindReplaceIcon,exports.FindReplaceToggleIcon=o.FindReplaceToggleIcon,exports.FindWholeWordIcon=o.FindWholeWordIcon,exports.FormatIndentDecreaseIcon=o.FormatIndentDecreaseIcon,exports.FormatIndentIncreaseIcon=o.FormatIndentIncreaseIcon,exports.FormatPaintIcon=o.FormatPaintIcon,exports.FormulaGroupIcon=o.FormulaGroupIcon,exports.FreezeBothIcon=o.FreezeBothIcon,exports.FreezeColumnsIcon=o.FreezeColumnsIcon,exports.FreezeIcon=o.FreezeIcon,exports.FreezeRowsIcon=o.FreezeRowsIcon,exports.FullScreenIcon=o.FullScreenIcon,exports.FullScreenOffIcon=o.FullScreenOffIcon,exports.FunctionIcon=o.FunctionIcon,exports.FunctionSumIcon=o.FunctionSumIcon,exports.FunctionThinIcon=o.FunctionThinIcon,exports.GithubIcon=o.GithubIcon,exports.GotoIcon=o.GotoIcon,exports.HelpIcon=o.HelpIcon,exports.HideColumnIcon=o.HideColumnIcon,exports.HideRowIcon=o.HideRowIcon,exports.IncreaseDecimalIcon=o.IncreaseDecimalIcon,exports.IncreaseDecimalIcon2=o.IncreaseDecimalIcon2,exports.InputCommandButton=o.InputCommandButton,exports.InsertCells=o.InsertCells,exports.InsertColumn2Icon=o.InsertColumn2Icon,exports.InsertColumnIcon=o.InsertColumnIcon,exports.InsertCommentIcon=o.InsertCommentIcon,exports.InsertHyperlinkIcon=o.InsertHyperlinkIcon,exports.InsertImageIcon=o.InsertImageIcon,exports.InsertRowIcon=o.InsertRowIcon,exports.InsertTableIcon=o.InsertTableIcon,exports.InternalWindow=o.InternalWindow,exports.LabelIcon=o.LabelIcon,exports.LoadingPanel=o.LoadingPanel,exports.MergeAllIcon=o.MergeAllIcon,exports.MergeHIcon=o.MergeHIcon,exports.MergeHorizontalIcon=o.MergeHorizontalIcon,exports.MergeUnMergeIcon=o.MergeUnMergeIcon,exports.MergeVerticalIcon=o.MergeVerticalIcon,exports.ModalProvider=o.ModalProvider,exports.NestingPopupButton=o.NestingPopupButton,exports.NewPresetStylesIcon=o.NewPresetStylesIcon,exports.OptionsDialog=o.OptionsDialog,exports.PasteFormatsIcon=o.PasteFormatsIcon,exports.PasteFormulasIcon=o.PasteFormulasIcon,exports.PasteIcon=o.PasteIcon,exports.PasteLinksIcon=o.PasteLinksIcon,exports.PasteTransposeIcon=o.PasteTransposeIcon,exports.PasteValuesIcon=o.PasteValuesIcon,exports.PercentIcon=o.PercentIcon,exports.PopupAutoFocus=o.PopupAutoFocus,exports.PopupButtonType=o.PopupButtonType,exports.PresetStylesIcon=o.PresetStylesIcon,exports.RedoIcon=o.RedoIcon,exports.RemoveCellsIcon=o.RemoveCellsIcon,exports.RemoveColumn2Icon=o.RemoveColumn2Icon,exports.RemoveColumnIcon=o.RemoveColumnIcon,exports.RemoveRowIcon=o.RemoveRowIcon,exports.RowResizeIcon=o.RowResizeIcon,exports.RowsResizeAutoIcon=o.RowsResizeAutoIcon,exports.ScriptFormulaIcon=o.ScriptFormulaIcon,exports.ScriptMacroIcon=o.ScriptMacroIcon,exports.ScriptNewIcon=o.ScriptNewIcon,exports.ScriptRunIcon=o.ScriptRunIcon,exports.ScriptSaveIcon=o.ScriptSaveIcon,exports.SelectAreaModeIcon=o.SelectAreaModeIcon,exports.SelectRangeModeIcon=o.SelectRangeModeIcon,exports.SelectedIcon=o.SelectedIcon,exports.ShowColumnIcon=o.ShowColumnIcon,exports.ShowRowIcon=o.ShowRowIcon,exports.SimpleCommandPopupButton=o.SimpleCommandPopupButton,exports.SimpleTooltip=o.SimpleTooltip,exports.SortAlphaCustomIcon=o.SortAlphaCustomIcon,exports.SortAlphaDecreaseIcon=o.SortAlphaDecreaseIcon,exports.SortAlphaIncreaseIcon=o.SortAlphaIncreaseIcon,exports.SortCustomIcon=o.SortCustomIcon,exports.SortDecreaseIcon=o.SortDecreaseIcon,exports.SortIncreaseIcon=o.SortIncreaseIcon,exports.StackTrace=o.StackTrace,exports.SystemDefaultDarkMode=o.SystemDefaultDarkMode,exports.SystemDefaultLightMode=o.SystemDefaultLightMode,exports.TableIcon=o.TableIcon,exports.TableInsertIcon=o.TableInsertIcon,exports.TableRemoveIcon=o.TableRemoveIcon,exports.TerminalIcon=o.TerminalIcon,exports.TextBoldIcon=o.TextBoldIcon,exports.TextHorizontalClipIcon=o.TextHorizontalClipIcon,exports.TextHorizontalOverflowIcon=o.TextHorizontalOverflowIcon,exports.TextHorizontalShrinkIcon=o.TextHorizontalShrinkIcon,exports.TextHorizontalWrapIcon=o.TextHorizontalWrapIcon,exports.TextItalicIcon=o.TextItalicIcon,exports.TextRotation0Icon=o.TextRotation0Icon,exports.TextRotation2702Icon=o.TextRotation2702Icon,exports.TextRotation270Icon=o.TextRotation270Icon,exports.TextRotation315Icon=o.TextRotation315Icon,exports.TextRotation45Icon=o.TextRotation45Icon,exports.TextRotation90Icon=o.TextRotation90Icon,exports.TextRotationCustomIcon=o.TextRotationCustomIcon,exports.TextRotationVerticalIcon=o.TextRotationVerticalIcon,exports.TextSizeDecreaseIcon=o.TextSizeDecreaseIcon,exports.TextSizeIncreaseIcon=o.TextSizeIncreaseIcon,exports.TextStrikeIcon=o.TextStrikeIcon,exports.TextSubscriptIcon=o.TextSubscriptIcon,exports.TextSuperscriptIcon=o.TextSuperscriptIcon,exports.TextUnderlineAccountingDoubleIcon=o.TextUnderlineAccountingDoubleIcon,exports.TextUnderlineAccountingIcon=o.TextUnderlineAccountingIcon,exports.TextUnderlineDoubleIcon=o.TextUnderlineDoubleIcon,exports.TextUnderlineIcon=o.TextUnderlineIcon,exports.TextVerticalBottomIcon=o.TextVerticalBottomIcon,exports.TextVerticalCenterIcon=o.TextVerticalCenterIcon,exports.TextVerticalTopIcon=o.TextVerticalTopIcon,exports.Theme1Icon=o.Theme1Icon,exports.Theme2Icon=o.Theme2Icon,exports.ThemedIcon=o.ThemedIcon,exports.TicketIcon=o.TicketIcon,exports.UndoIcon=o.UndoIcon,exports.VisibilityOffIcon=o.VisibilityOffIcon,exports.WalkingCopyIcon=o.WalkingCopyIcon,exports.createDownArrow=o.createDownArrow,exports.createExhibitTheme=o.createExhibitTheme,exports.createScrollButton=o.createScrollButton,exports.createScrollEdgeButton=o.createScrollEdgeButton,exports.createScrollEndButton=o.createScrollEndButton,exports.createScrollStartButton=o.createScrollStartButton,exports.createStrokeShadowFilter=o.createStrokeShadowFilter,exports.defaultCreatePopupPanel=o.defaultCreatePopupPanel,exports.elevateColor=o.elevateColor,exports.getModalConfig=o.getModalConfig,exports.hexToRGB=o.hexToRGB,exports.overlayAlpha=o.overlayAlpha,exports.scrollbarTheming=o.scrollbarTheming,exports.setModalConfig=o.setModalConfig,exports.strokeShadowFilter=o.strokeShadowFilter,exports.themeIcon=o.themeIcon,exports.toShortcutElements=o.toShortcutElements,exports.useFloatStack=o.useFloatStack,exports.useInputDialog=o.useInputDialog,exports.useLazyWindow=o.useLazyWindow,exports.useModal=o.useModal,exports.useOptionsDialog=o.useOptionsDialog,exports.wrapErrorAsComponent=o.wrapErrorAsComponent;
7
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./CBk8IY9Y52CQCmc2.cjs");exports.AnimatedBouncingEllipsisIcon=o.AnimatedBouncingEllipsisIcon,exports.AnimatedCircleIcon=o.AnimatedCircleIcon,exports.AnimatedClockIcon=o.AnimatedClockIcon,exports.AnimatedFadingEllipsisIcon=o.AnimatedFadingEllipsisIcon,exports.AnimatedOrbitIcon=o.AnimatedOrbitIcon,exports.AnimatedTraversingEllipsisIcon=o.AnimatedTraversingEllipsisIcon,exports.BLANK_ICON=o.BLANK_ICON,exports.BlankIcon=o.BlankIcon,exports.BorderAllIcon=o.BorderAllIcon,exports.BorderBottomIcon=o.BorderBottomIcon,exports.BorderHorizontalIcon=o.BorderHorizontalIcon,exports.BorderInnerIcon=o.BorderInnerIcon,exports.BorderLeftIcon=o.BorderLeftIcon,exports.BorderNoneIcon=o.BorderNoneIcon,exports.BorderOuterIcon=o.BorderOuterIcon,exports.BorderRightIcon=o.BorderRightIcon,exports.BorderTopIcon=o.BorderTopIcon,exports.BorderVerticalIcon=o.BorderVerticalIcon,exports.CalculateIcon=o.CalculateIcon,exports.CellSelectionEditIcon=o.CellSelectionEditIcon,exports.CellSelectionIcon=o.CellSelectionIcon,exports.CellSelectionInsertIcon=o.CellSelectionInsertIcon,exports.CellSelectionRemoveIcon=o.CellSelectionRemoveIcon,exports.CheckIcon=o.CheckIcon,exports.CheckSuccessIcon=o.CheckSuccessIcon,exports.ChipStrip=o.ChipStrip,exports.ClearAllIcon=o.ClearAllIcon,exports.ClearContentsIcon=o.ClearContentsIcon,exports.ClearFormatsIcon=o.ClearFormatsIcon,exports.CloseErrorIcon=o.CloseErrorIcon,exports.ClosingReason=o.ClosingReason,exports.CodeIcon=o.CodeIcon,exports.ColorizedCircleIcon=o.ColorizedCircleIcon,exports.ColorizedFillIcon=o.ColorizedFillIcon,exports.ColorizedStrokeIcon=o.ColorizedStrokeIcon,exports.ColorizedTextIcon=o.ColorizedTextIcon,exports.ColumnsResizeAutoIcon=o.ColumnsResizeAutoIcon,exports.ColumnsResizeIcon=o.ColumnsResizeIcon,exports.CommaIcon=o.CommaIcon,exports.CommandButton=o.CommandButton,exports.CommandPopupButton=o.CommandPopupButton,exports.CommandToolbar=o.CommandToolbar,exports.CommandTooltip=o.CommandTooltip,exports.ContextMenu=o.ContextMenu,exports.CopyIcon=o.CopyIcon,exports.CurrencyDollarIcon=o.CurrencyDollarIcon,exports.CutIcon=o.CutIcon,exports.DecreaseDecimalIcon=o.DecreaseDecimalIcon,exports.DecreaseDecimalIcon2=o.DecreaseDecimalIcon2,exports.DiscordIcon=o.DiscordIcon,exports.DocumentationIcon=o.DocumentationIcon,exports.DrawAlignBottomIcon=o.DrawAlignBottomIcon,exports.DrawAlignCenterIcon=o.DrawAlignCenterIcon,exports.DrawAlignDistributeHorzIcon=o.DrawAlignDistributeHorzIcon,exports.DrawAlignDistributeVertIcon=o.DrawAlignDistributeVertIcon,exports.DrawAlignLeftIcon=o.DrawAlignLeftIcon,exports.DrawAlignMiddleIcon=o.DrawAlignMiddleIcon,exports.DrawAlignRightIcon=o.DrawAlignRightIcon,exports.DrawAlignTopIcon=o.DrawAlignTopIcon,exports.DrawAspectIcon=o.DrawAspectIcon,exports.DrawFlipHorzIcon=o.DrawFlipHorzIcon,exports.DrawFlipVertIcon=o.DrawFlipVertIcon,exports.DrawGroupIcon=o.DrawGroupIcon,exports.DrawMoveBackwardIcon=o.DrawMoveBackwardIcon,exports.DrawMoveForwardIcon=o.DrawMoveForwardIcon,exports.DrawResizeIcon=o.DrawResizeIcon,exports.DrawSwapHorzIcon=o.DrawSwapHorzIcon,exports.DrawSwapVertIcon=o.DrawSwapVertIcon,exports.DrawToBackIcon=o.DrawToBackIcon,exports.DrawToFrontIcon=o.DrawToFrontIcon,exports.DrawUngroupIcon=o.DrawUngroupIcon,exports.ErrorAlertIcon=o.ErrorAlertIcon,exports.ErrorPanel=o.ErrorPanel,exports.ExhibitDivider=o.ExhibitDivider,exports.ExhibitFloatPanel=o.ExhibitFloatPanel,exports.ExhibitIconButton=o.ExhibitIconButton,exports.ExhibitMenuHeader=o.ExhibitMenuHeader,exports.ExhibitMenuItem=o.ExhibitMenuItem,exports.ExhibitOptionButton=o.ExhibitOptionButton,exports.ExhibitPopper=o.ExhibitPopper,exports.ExhibitPopupIconButton=o.ExhibitPopupIconButton,exports.ExhibitPopupMenuItem=o.ExhibitPopupMenuItem,exports.ExhibitTooltip=o.ExhibitTooltip,exports.FileDownloadAsCSVIcon=o.FileDownloadAsCSVIcon,exports.FileDownloadAsExcelIcon=o.FileDownloadAsExcelIcon,exports.FileDownloadAsSheetIcon=o.FileDownloadAsSheetIcon,exports.FileNewIcon=o.FileNewIcon,exports.FileOpenIcon=o.FileOpenIcon,exports.FillDownIcon=o.FillDownIcon,exports.FilterClearIcon=o.FilterClearIcon,exports.FilterReapplyIcon=o.FilterReapplyIcon,exports.FilterToggleIcon=o.FilterToggleIcon,exports.FindCaseSensitiveIcon=o.FindCaseSensitiveIcon,exports.FindIcon=o.FindIcon,exports.FindOptionsIcon=o.FindOptionsIcon,exports.FindRegExIcon=o.FindRegExIcon,exports.FindReplaceAllIcon=o.FindReplaceAllIcon,exports.FindReplaceIcon=o.FindReplaceIcon,exports.FindReplaceToggleIcon=o.FindReplaceToggleIcon,exports.FindWholeWordIcon=o.FindWholeWordIcon,exports.FormatIndentDecreaseIcon=o.FormatIndentDecreaseIcon,exports.FormatIndentIncreaseIcon=o.FormatIndentIncreaseIcon,exports.FormatPaintIcon=o.FormatPaintIcon,exports.FormulaGroupIcon=o.FormulaGroupIcon,exports.FreezeBothIcon=o.FreezeBothIcon,exports.FreezeColumnsIcon=o.FreezeColumnsIcon,exports.FreezeIcon=o.FreezeIcon,exports.FreezeRowsIcon=o.FreezeRowsIcon,exports.FullScreenIcon=o.FullScreenIcon,exports.FullScreenOffIcon=o.FullScreenOffIcon,exports.FunctionIcon=o.FunctionIcon,exports.FunctionSumIcon=o.FunctionSumIcon,exports.FunctionThinIcon=o.FunctionThinIcon,exports.GithubIcon=o.GithubIcon,exports.GotoIcon=o.GotoIcon,exports.HelpIcon=o.HelpIcon,exports.HideColumnIcon=o.HideColumnIcon,exports.HideRowIcon=o.HideRowIcon,exports.IncreaseDecimalIcon=o.IncreaseDecimalIcon,exports.IncreaseDecimalIcon2=o.IncreaseDecimalIcon2,exports.InputCommandButton=o.InputCommandButton,exports.InsertCells=o.InsertCells,exports.InsertColumn2Icon=o.InsertColumn2Icon,exports.InsertColumnIcon=o.InsertColumnIcon,exports.InsertCommentIcon=o.InsertCommentIcon,exports.InsertHyperlinkIcon=o.InsertHyperlinkIcon,exports.InsertImageIcon=o.InsertImageIcon,exports.InsertRowIcon=o.InsertRowIcon,exports.InsertTableIcon=o.InsertTableIcon,exports.InternalWindow=o.InternalWindow,exports.LabelIcon=o.LabelIcon,exports.LoadingPanel=o.LoadingPanel,exports.MergeAllIcon=o.MergeAllIcon,exports.MergeHIcon=o.MergeHIcon,exports.MergeHorizontalIcon=o.MergeHorizontalIcon,exports.MergeUnMergeIcon=o.MergeUnMergeIcon,exports.MergeVerticalIcon=o.MergeVerticalIcon,exports.ModalProvider=o.ModalProvider,exports.NestingPopupButton=o.NestingPopupButton,exports.NewPresetStylesIcon=o.NewPresetStylesIcon,exports.OptionsDialog=o.OptionsDialog,exports.PasteFormatsIcon=o.PasteFormatsIcon,exports.PasteFormulasIcon=o.PasteFormulasIcon,exports.PasteIcon=o.PasteIcon,exports.PasteLinksIcon=o.PasteLinksIcon,exports.PasteTransposeIcon=o.PasteTransposeIcon,exports.PasteValuesIcon=o.PasteValuesIcon,exports.PercentIcon=o.PercentIcon,exports.PopupAutoFocus=o.PopupAutoFocus,exports.PopupButtonType=o.PopupButtonType,exports.PresetStylesIcon=o.PresetStylesIcon,exports.RedoIcon=o.RedoIcon,exports.RemoveCellsIcon=o.RemoveCellsIcon,exports.RemoveColumn2Icon=o.RemoveColumn2Icon,exports.RemoveColumnIcon=o.RemoveColumnIcon,exports.RemoveRowIcon=o.RemoveRowIcon,exports.RowResizeIcon=o.RowResizeIcon,exports.RowsResizeAutoIcon=o.RowsResizeAutoIcon,exports.ScriptFormulaIcon=o.ScriptFormulaIcon,exports.ScriptMacroIcon=o.ScriptMacroIcon,exports.ScriptNewIcon=o.ScriptNewIcon,exports.ScriptRunIcon=o.ScriptRunIcon,exports.ScriptSaveIcon=o.ScriptSaveIcon,exports.SelectAreaModeIcon=o.SelectAreaModeIcon,exports.SelectRangeModeIcon=o.SelectRangeModeIcon,exports.SelectedIcon=o.SelectedIcon,exports.ShowColumnIcon=o.ShowColumnIcon,exports.ShowRowIcon=o.ShowRowIcon,exports.SimpleCommandPopupButton=o.SimpleCommandPopupButton,exports.SimpleTooltip=o.SimpleTooltip,exports.SortAlphaCustomIcon=o.SortAlphaCustomIcon,exports.SortAlphaDecreaseIcon=o.SortAlphaDecreaseIcon,exports.SortAlphaIncreaseIcon=o.SortAlphaIncreaseIcon,exports.SortCustomIcon=o.SortCustomIcon,exports.SortDecreaseIcon=o.SortDecreaseIcon,exports.SortIncreaseIcon=o.SortIncreaseIcon,exports.StackTrace=o.StackTrace,exports.SystemDefaultDarkMode=o.SystemDefaultDarkMode,exports.SystemDefaultLightMode=o.SystemDefaultLightMode,exports.TableIcon=o.TableIcon,exports.TableInsertIcon=o.TableInsertIcon,exports.TableRemoveIcon=o.TableRemoveIcon,exports.TerminalIcon=o.TerminalIcon,exports.TextBoldIcon=o.TextBoldIcon,exports.TextHorizontalClipIcon=o.TextHorizontalClipIcon,exports.TextHorizontalOverflowIcon=o.TextHorizontalOverflowIcon,exports.TextHorizontalShrinkIcon=o.TextHorizontalShrinkIcon,exports.TextHorizontalWrapIcon=o.TextHorizontalWrapIcon,exports.TextItalicIcon=o.TextItalicIcon,exports.TextRotation0Icon=o.TextRotation0Icon,exports.TextRotation2702Icon=o.TextRotation2702Icon,exports.TextRotation270Icon=o.TextRotation270Icon,exports.TextRotation315Icon=o.TextRotation315Icon,exports.TextRotation45Icon=o.TextRotation45Icon,exports.TextRotation90Icon=o.TextRotation90Icon,exports.TextRotationCustomIcon=o.TextRotationCustomIcon,exports.TextRotationVerticalIcon=o.TextRotationVerticalIcon,exports.TextSizeDecreaseIcon=o.TextSizeDecreaseIcon,exports.TextSizeIncreaseIcon=o.TextSizeIncreaseIcon,exports.TextStrikeIcon=o.TextStrikeIcon,exports.TextSubscriptIcon=o.TextSubscriptIcon,exports.TextSuperscriptIcon=o.TextSuperscriptIcon,exports.TextUnderlineAccountingDoubleIcon=o.TextUnderlineAccountingDoubleIcon,exports.TextUnderlineAccountingIcon=o.TextUnderlineAccountingIcon,exports.TextUnderlineDoubleIcon=o.TextUnderlineDoubleIcon,exports.TextUnderlineIcon=o.TextUnderlineIcon,exports.TextVerticalBottomIcon=o.TextVerticalBottomIcon,exports.TextVerticalCenterIcon=o.TextVerticalCenterIcon,exports.TextVerticalTopIcon=o.TextVerticalTopIcon,exports.Theme1Icon=o.Theme1Icon,exports.Theme2Icon=o.Theme2Icon,exports.ThemedIcon=o.ThemedIcon,exports.TicketIcon=o.TicketIcon,exports.UndoIcon=o.UndoIcon,exports.VisibilityOffIcon=o.VisibilityOffIcon,exports.WalkingCopyIcon=o.WalkingCopyIcon,exports.createDownArrow=o.createDownArrow,exports.createExhibitTheme=o.createExhibitTheme,exports.createScrollButton=o.createScrollButton,exports.createScrollEdgeButton=o.createScrollEdgeButton,exports.createScrollEndButton=o.createScrollEndButton,exports.createScrollStartButton=o.createScrollStartButton,exports.createStrokeShadowFilter=o.createStrokeShadowFilter,exports.defaultCreatePopupPanel=o.defaultCreatePopupPanel,exports.elevateColor=o.elevateColor,exports.getModalConfig=o.getModalConfig,exports.hexToRGB=o.hexToRGB,exports.overlayAlpha=o.overlayAlpha,exports.scrollbarTheming=o.scrollbarTheming,exports.setModalConfig=o.setModalConfig,exports.strokeShadowFilter=o.strokeShadowFilter,exports.themeIcon=o.themeIcon,exports.toShortcutElements=o.toShortcutElements,exports.useFloatStack=o.useFloatStack,exports.useInputDialog=o.useInputDialog,exports.useLazyWindow=o.useLazyWindow,exports.useModal=o.useModal,exports.useOptionsDialog=o.useOptionsDialog,exports.wrapErrorAsComponent=o.wrapErrorAsComponent;
@@ -1,7 +1,7 @@
1
1
  import * as w2 from "react";
2
2
  import i0, { memo as d0, forwardRef as m0, useCallback as y0, useRef as c0, useEffect as f0, useLayoutEffect as e2, useImperativeHandle as A8, useReducer as N8, useMemo as r0, useState as a0, version as P8, createElement as M4, createContext as z4, Suspense as V4, Fragment as H4, useContext as L4 } from "react";
3
3
  import { jsx as l, jsxs as L, Fragment as Q0 } from "react/jsx-runtime";
4
- import { unstable_createGetCssVar as k4, createSpacing as E4, useTheme as T4, alpha as M0, darken as O4, lighten as D4 } from "@mui/system";
4
+ import { unstable_createGetCssVar as k4, createSpacing as E4, useTheme as T4, alpha as z0, darken as O4, lighten as D4 } from "@mui/system";
5
5
  import { SvgIcon as T, Box as o0, IconButton as k1, Divider as Z8, Typography as j0, Paper as H2, Chip as A4, Popper as N4, Grow as P4, Tooltip as Z4, ListItemIcon as R4, MenuItem as R8, Fade as I4, Backdrop as F4, DialogTitle as $4, DialogContent as j4, DialogActions as B4, Button as W4, Input as U4, Toolbar as Y4 } from "@mui/material";
6
6
  import { createRoot as q4 } from "react-dom/client";
7
7
  import I8, { unstable_batchedUpdates as X4, createPortal as G4 } from "react-dom";
@@ -9,7 +9,7 @@ import K4, { ThemeContext as Q4, internal_serializeStyles as N1, internal_mutate
9
9
  import { ArrowLeft as e9, ArrowRight as F8, ContentCopy as t9, BugReport as n9, Error as r9, ArrowDropDown as o9, Close as i9 } from "@mui/icons-material";
10
10
  import { deepmerge as $8 } from "@mui/utils";
11
11
  /**
12
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.3.19
12
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.3.20
13
13
  *
14
14
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
15
15
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -201,7 +201,7 @@ const y9 = Object.freeze([]), b9 = Object.freeze({}), Q5 = (e) => e, j2 = () =>
201
201
  function G8() {
202
202
  return typeof process < "u" && process.release?.name === "node" || (typeof process < "u" && process.browser, !1);
203
203
  }
204
- const r6 = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeElement || e?.contains(document.activeElement)), _0 = Object.freeze(Object.defineProperty({ __proto__: null, EmptyArray: y9, EmptyObject: b9, OSType: F0, arrayMove: function(e, t, n) {
204
+ const r6 = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeElement || e?.contains(document.activeElement)), M0 = Object.freeze(Object.defineProperty({ __proto__: null, EmptyArray: y9, EmptyObject: b9, OSType: F0, arrayMove: function(e, t, n) {
205
205
  const r = e.slice();
206
206
  return r.splice(n < 0 ? r.length + n : n, 0, r.splice(t, 1)[0]), r;
207
207
  }, asNumber: (e) => {
@@ -1241,10 +1241,10 @@ function p7(e, t) {
1241
1241
  const n = m5(e.theme);
1242
1242
  return Object.keys(e).map((r) => se(e, t, r, n)).reduce(v2, {});
1243
1243
  }
1244
- function V0(e) {
1244
+ function H0(e) {
1245
1245
  return p7(e, u7);
1246
1246
  }
1247
- function H0(e) {
1247
+ function L0(e) {
1248
1248
  return p7(e, h7);
1249
1249
  }
1250
1250
  function ce(e = null) {
@@ -1271,7 +1271,7 @@ function f7(e, t) {
1271
1271
  }
1272
1272
  return n;
1273
1273
  }
1274
- V0.propTypes = {}, V0.filterProps = u7, H0.propTypes = {}, H0.filterProps = h7;
1274
+ H0.propTypes = {}, H0.filterProps = u7, L0.propTypes = {}, L0.filterProps = h7;
1275
1275
  const de = { borderRadius: 4 };
1276
1276
  function p3(...e) {
1277
1277
  const t = e.reduce((r, o) => (o.filterProps.forEach((i) => {
@@ -1339,7 +1339,7 @@ v5.filterProps = ["maxWidth"];
1339
1339
  const _e = E0({ prop: "minWidth", transform: X0 }), Me = E0({ prop: "height", transform: X0 }), ze = E0({ prop: "maxHeight", transform: X0 }), Ve = E0({ prop: "minHeight", transform: X0 });
1340
1340
  E0({ prop: "size", cssProperty: "width", transform: X0 }), E0({ prop: "size", cssProperty: "height", transform: X0 });
1341
1341
  p3(Se, v5, _e, Me, ze, Ve, E0({ prop: "boxSizing" }));
1342
- const f3 = { border: { themeKey: "borders", transform: e1 }, borderTop: { themeKey: "borders", transform: e1 }, borderRight: { themeKey: "borders", transform: e1 }, borderBottom: { themeKey: "borders", transform: e1 }, borderLeft: { themeKey: "borders", transform: e1 }, borderColor: { themeKey: "palette" }, borderTopColor: { themeKey: "palette" }, borderRightColor: { themeKey: "palette" }, borderBottomColor: { themeKey: "palette" }, borderLeftColor: { themeKey: "palette" }, outline: { themeKey: "borders", transform: e1 }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", style: B2 }, color: { themeKey: "palette", transform: Y1 }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: Y1 }, backgroundColor: { themeKey: "palette", transform: Y1 }, p: { style: H0 }, pt: { style: H0 }, pr: { style: H0 }, pb: { style: H0 }, pl: { style: H0 }, px: { style: H0 }, py: { style: H0 }, padding: { style: H0 }, paddingTop: { style: H0 }, paddingRight: { style: H0 }, paddingBottom: { style: H0 }, paddingLeft: { style: H0 }, paddingX: { style: H0 }, paddingY: { style: H0 }, paddingInline: { style: H0 }, paddingInlineStart: { style: H0 }, paddingInlineEnd: { style: H0 }, paddingBlock: { style: H0 }, paddingBlockStart: { style: H0 }, paddingBlockEnd: { style: H0 }, m: { style: V0 }, mt: { style: V0 }, mr: { style: V0 }, mb: { style: V0 }, ml: { style: V0 }, mx: { style: V0 }, my: { style: V0 }, margin: { style: V0 }, marginTop: { style: V0 }, marginRight: { style: V0 }, marginBottom: { style: V0 }, marginLeft: { style: V0 }, marginX: { style: V0 }, marginY: { style: V0 }, marginInline: { style: V0 }, marginInlineStart: { style: V0 }, marginInlineEnd: { style: V0 }, marginBlock: { style: V0 }, marginBlockStart: { style: V0 }, marginBlockEnd: { style: V0 }, displayPrint: { cssProperty: !1, transform: (e) => ({ "@media print": { display: e } }) }, display: {}, overflow: {}, textOverflow: {}, visibility: {}, whiteSpace: {}, flexBasis: {}, flexDirection: {}, flexWrap: {}, justifyContent: {}, alignItems: {}, alignContent: {}, order: {}, flex: {}, flexGrow: {}, flexShrink: {}, alignSelf: {}, justifyItems: {}, justifySelf: {}, gap: { style: J2 }, rowGap: { style: t3 }, columnGap: { style: e3 }, gridColumn: {}, gridRow: {}, gridAutoFlow: {}, gridAutoColumns: {}, gridAutoRows: {}, gridTemplateColumns: {}, gridTemplateRows: {}, gridTemplateAreas: {}, gridArea: {}, position: {}, zIndex: { themeKey: "zIndex" }, top: {}, right: {}, bottom: {}, left: {}, boxShadow: { themeKey: "shadows" }, width: { transform: X0 }, maxWidth: { style: v5 }, minWidth: { transform: X0 }, height: { transform: X0 }, maxHeight: { transform: X0 }, minHeight: { transform: X0 }, boxSizing: {}, font: { themeKey: "font" }, fontFamily: { themeKey: "typography" }, fontSize: { themeKey: "typography" }, fontStyle: { themeKey: "typography" }, fontWeight: { themeKey: "typography" }, letterSpacing: {}, textTransform: {}, lineHeight: {}, textAlign: {}, typography: { cssProperty: !1, themeKey: "typography" } }, X1 = /* @__PURE__ */ function() {
1342
+ const f3 = { border: { themeKey: "borders", transform: e1 }, borderTop: { themeKey: "borders", transform: e1 }, borderRight: { themeKey: "borders", transform: e1 }, borderBottom: { themeKey: "borders", transform: e1 }, borderLeft: { themeKey: "borders", transform: e1 }, borderColor: { themeKey: "palette" }, borderTopColor: { themeKey: "palette" }, borderRightColor: { themeKey: "palette" }, borderBottomColor: { themeKey: "palette" }, borderLeftColor: { themeKey: "palette" }, outline: { themeKey: "borders", transform: e1 }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", style: B2 }, color: { themeKey: "palette", transform: Y1 }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: Y1 }, backgroundColor: { themeKey: "palette", transform: Y1 }, p: { style: L0 }, pt: { style: L0 }, pr: { style: L0 }, pb: { style: L0 }, pl: { style: L0 }, px: { style: L0 }, py: { style: L0 }, padding: { style: L0 }, paddingTop: { style: L0 }, paddingRight: { style: L0 }, paddingBottom: { style: L0 }, paddingLeft: { style: L0 }, paddingX: { style: L0 }, paddingY: { style: L0 }, paddingInline: { style: L0 }, paddingInlineStart: { style: L0 }, paddingInlineEnd: { style: L0 }, paddingBlock: { style: L0 }, paddingBlockStart: { style: L0 }, paddingBlockEnd: { style: L0 }, m: { style: H0 }, mt: { style: H0 }, mr: { style: H0 }, mb: { style: H0 }, ml: { style: H0 }, mx: { style: H0 }, my: { style: H0 }, margin: { style: H0 }, marginTop: { style: H0 }, marginRight: { style: H0 }, marginBottom: { style: H0 }, marginLeft: { style: H0 }, marginX: { style: H0 }, marginY: { style: H0 }, marginInline: { style: H0 }, marginInlineStart: { style: H0 }, marginInlineEnd: { style: H0 }, marginBlock: { style: H0 }, marginBlockStart: { style: H0 }, marginBlockEnd: { style: H0 }, displayPrint: { cssProperty: !1, transform: (e) => ({ "@media print": { display: e } }) }, display: {}, overflow: {}, textOverflow: {}, visibility: {}, whiteSpace: {}, flexBasis: {}, flexDirection: {}, flexWrap: {}, justifyContent: {}, alignItems: {}, alignContent: {}, order: {}, flex: {}, flexGrow: {}, flexShrink: {}, alignSelf: {}, justifyItems: {}, justifySelf: {}, gap: { style: J2 }, rowGap: { style: t3 }, columnGap: { style: e3 }, gridColumn: {}, gridRow: {}, gridAutoFlow: {}, gridAutoColumns: {}, gridAutoRows: {}, gridTemplateColumns: {}, gridTemplateRows: {}, gridTemplateAreas: {}, gridArea: {}, position: {}, zIndex: { themeKey: "zIndex" }, top: {}, right: {}, bottom: {}, left: {}, boxShadow: { themeKey: "shadows" }, width: { transform: X0 }, maxWidth: { style: v5 }, minWidth: { transform: X0 }, height: { transform: X0 }, maxHeight: { transform: X0 }, minHeight: { transform: X0 }, boxSizing: {}, font: { themeKey: "font" }, fontFamily: { themeKey: "typography" }, fontSize: { themeKey: "typography" }, fontStyle: { themeKey: "typography" }, fontWeight: { themeKey: "typography" }, letterSpacing: {}, textTransform: {}, lineHeight: {}, textAlign: {}, typography: { cssProperty: !1, themeKey: "typography" } }, X1 = /* @__PURE__ */ function() {
1343
1343
  function e(t, n, r, o) {
1344
1344
  const i = { [t]: n, theme: r }, a = o[t];
1345
1345
  if (!a) return { [t]: n };
@@ -2116,7 +2116,7 @@ const yt = Object.freeze(Object.defineProperty({ __proto__: null, EmptyCssProper
2116
2116
  n = !0, e.stopPropagation();
2117
2117
  }, isPropagationStopped: () => n, persist: () => {
2118
2118
  }, timeStamp: e.timeStamp, type: e.type };
2119
- }, detectIt: Q3, focusableNodeNames: gt, toPrettyKeyCode: (e) => e === "BracketLeft" ? "[" : e === "BracketRight" ? "]" : _0.camelToPrettyCase(e) }, Symbol.toStringTag, { value: "Module" })), bt = [];
2119
+ }, detectIt: Q3, focusableNodeNames: gt, toPrettyKeyCode: (e) => e === "BracketLeft" ? "[" : e === "BracketRight" ? "]" : M0.camelToPrettyCase(e) }, Symbol.toStringTag, { value: "Module" })), bt = [];
2120
2120
  function v3(e, t, n = bt) {
2121
2121
  const r = c0(null);
2122
2122
  return A8(e, () => {
@@ -2318,38 +2318,38 @@ d0(m0((e, t) => {
2318
2318
  const B = r0(() => i0.isValidElement(r) && i0.isValidElement(n), [r, n]), M = r0(() => {
2319
2319
  let p0 = null;
2320
2320
  i && (i === "before" ? p0 = 0 : i === "after" && (p0 = 1));
2321
- const z0 = p0 === null;
2322
- return { fixedPaneOffset: p0, isPercent: z0, minBefore: w1(s, z0), maxBefore: w1(d, z0), minAfter: w1(u, z0), maxAfter: w1(m, z0) };
2321
+ const V0 = p0 === null;
2322
+ return { fixedPaneOffset: p0, isPercent: V0, minBefore: w1(s, V0), maxBefore: w1(d, V0), minAfter: w1(u, V0), maxAfter: w1(m, V0) };
2323
2323
  }, [s, d, u, m]), C = s0(c, [c]), [h, _] = a0(() => w1(a, i === null));
2324
2324
  f0(() => {
2325
2325
  _(w1(a, i === null));
2326
2326
  }, [a, i]);
2327
- const [A, { width: E, height: D }] = F1(), [I, { width: W, height: t0 }] = F1(), Y = o === "row" ? W : t0, X = o === "row" ? E : D, J = r0(() => ((p0, z0, q0, R0) => {
2327
+ const [A, { width: E, height: D }] = F1(), [I, { width: W, height: t0 }] = F1(), Y = o === "row" ? W : t0, X = o === "row" ? E : D, J = r0(() => ((p0, V0, q0, R0) => {
2328
2328
  const p1 = [null, null], i1 = [null, null];
2329
- if (p0 || (p0 = { percent: R0.fixedPaneOffset === null ? 50 : null, pixels: R0.fixedPaneOffset === null ? null : 0 }), z0 === 0) return p0?.pixels != null ? R0.fixedPaneOffset !== 1 ? (p1[0] = p0?.pixels, i1[1] = 100) : (p1[1] = p0?.pixels - q0, i1[0] = 100) : p0?.percent != null && (R0.fixedPaneOffset !== 1 ? (i1[0] = p0?.percent, i1[1] = 100 - p0?.percent) : (i1[1] = p0?.percent, i1[0] = 100 - p0?.percent)), { percents: i1, pixels: p1, minBefore: Z2(R0.minBefore, !0), maxBefore: Z2(R0.maxBefore, !0), minAfter: Z2(R0.minAfter), maxAfter: Z2(R0.maxAfter) };
2330
- let b1 = T1(p0, z0, R0.fixedPaneOffset !== 1), J0 = z0 - q0, F5 = T1(R0.minBefore, J0, !0) ?? 0, S4 = T1(R0.maxBefore, J0, !0) ?? J0, O2 = 0, S3 = 0, $5 = 0, j5 = J0;
2331
- O2 = (T1(R0.maxAfter, z0, !1) ?? q0) - q0, S3 = T1(R0.minAfter, z0, !1) ?? z0, $5 = Math.max(F5, O2), j5 = Math.min(S4, S3), b1 = Math.max($5, Math.min(b1, j5)), S3 = Math.min(J0 - b1, T1(R0.maxAfter, J0 - b1, !0) ?? J0), O2 = Math.min(J0 - b1, T1(R0.minAfter, J0 - b1, !0) ?? J0), p1[0] = b1, p1[1] = J0 - p1[0];
2329
+ if (p0 || (p0 = { percent: R0.fixedPaneOffset === null ? 50 : null, pixels: R0.fixedPaneOffset === null ? null : 0 }), V0 === 0) return p0?.pixels != null ? R0.fixedPaneOffset !== 1 ? (p1[0] = p0?.pixels, i1[1] = 100) : (p1[1] = p0?.pixels - q0, i1[0] = 100) : p0?.percent != null && (R0.fixedPaneOffset !== 1 ? (i1[0] = p0?.percent, i1[1] = 100 - p0?.percent) : (i1[1] = p0?.percent, i1[0] = 100 - p0?.percent)), { percents: i1, pixels: p1, minBefore: Z2(R0.minBefore, !0), maxBefore: Z2(R0.maxBefore, !0), minAfter: Z2(R0.minAfter), maxAfter: Z2(R0.maxAfter) };
2330
+ let b1 = T1(p0, V0, R0.fixedPaneOffset !== 1), J0 = V0 - q0, F5 = T1(R0.minBefore, J0, !0) ?? 0, S4 = T1(R0.maxBefore, J0, !0) ?? J0, O2 = 0, S3 = 0, $5 = 0, j5 = J0;
2331
+ O2 = (T1(R0.maxAfter, V0, !1) ?? q0) - q0, S3 = T1(R0.minAfter, V0, !1) ?? V0, $5 = Math.max(F5, O2), j5 = Math.min(S4, S3), b1 = Math.max($5, Math.min(b1, j5)), S3 = Math.min(J0 - b1, T1(R0.maxAfter, J0 - b1, !0) ?? J0), O2 = Math.min(J0 - b1, T1(R0.minAfter, J0 - b1, !0) ?? J0), p1[0] = b1, p1[1] = J0 - p1[0];
2332
2332
  const _4 = Math.max(0, Math.min(100, b1 / J0 * 100));
2333
2333
  return i1[0] = _4, i1[1] = 100 - i1[0], { percents: i1, pixels: p1, minBefore: `${F5}px`, minAfter: `${O2}px`, maxBefore: `${p1[0]}px`, maxAfter: `${p1[1]}px` };
2334
- })(h, X, Y, M), [M, h, X, Y, o]), [e0, Q] = a0(!1), l0 = s0(y, [y]), h0 = s0(x, [x]), S = s0(b, [b]), w = c0(null), O = c0(null), N = c0(null), { style: F, className: R, ...$ } = H, U = { minWidth: 0, minHeight: 0, maxWidth: "100%", maxHeight: "100%", display: "flex", overflow: "hidden", ...F }, { className: G, style: n0, ...u0 } = k, { className: b0, style: L0, ...U0 } = Z, j = { flex: "1 1 100%", width: "100%", ...v, flexDirection: o, display: "flex" }, { className: q, style: v0, onPointerDown: l1, ...Y0 } = V, E2 = s0((p0) => {
2335
- const z0 = w1(p0, i === null);
2336
- _(z0);
2334
+ })(h, X, Y, M), [M, h, X, Y, o]), [e0, Q] = a0(!1), l0 = s0(y, [y]), h0 = s0(x, [x]), S = s0(b, [b]), w = c0(null), O = c0(null), N = c0(null), { style: F, className: R, ...$ } = H, U = { minWidth: 0, minHeight: 0, maxWidth: "100%", maxHeight: "100%", display: "flex", overflow: "hidden", ...F }, { className: G, style: n0, ...u0 } = k, { className: b0, style: _0, ...U0 } = Z, j = { flex: "1 1 100%", width: "100%", ...v, flexDirection: o, display: "flex" }, { className: q, style: v0, onPointerDown: l1, ...Y0 } = V, E2 = s0((p0) => {
2335
+ const V0 = w1(p0, i === null);
2336
+ _(V0);
2337
2337
  }, [i]), h1 = s0((p0) => {
2338
2338
  if (f || !e0) return;
2339
- const z0 = I5.current?.getBoundingClientRect();
2339
+ const V0 = I5.current?.getBoundingClientRect();
2340
2340
  let q0 = 0;
2341
- q0 = o === "row" ? (p0.clientX ?? p0.touches?.[0]?.clientX) - z0.x : (p0.clientY ?? p0.touches?.[0]?.clientY) - z0.y, q0 = Math.max(0, Math.min(X, q0)), M.fixedPaneOffset === 1 && (q0 = X - q0), a && h.pixels === q0 || _({ pixels: q0, percent: null }), h0?.(q0), p0.stopPropagation(), p0.preventDefault();
2341
+ q0 = o === "row" ? (p0.clientX ?? p0.touches?.[0]?.clientX) - V0.x : (p0.clientY ?? p0.touches?.[0]?.clientY) - V0.y, q0 = Math.max(0, Math.min(X, q0)), M.fixedPaneOffset === 1 && (q0 = X - q0), a && h.pixels === q0 || _({ pixels: q0, percent: null }), h0?.(q0), p0.stopPropagation(), p0.preventDefault();
2342
2342
  }, [M, o, f, e0, h, X]), R5 = s0((p0) => {
2343
2343
  if (document.removeEventListener("pointermove", h1), document.removeEventListener("touchmove", h1), document.removeEventListener("pointerup", R5), e0 && (Q(!1), h)) {
2344
2344
  if (S(h.pixels), !w1(a, i === null) || h.pixels !== a) {
2345
- const z0 = { ...h };
2346
- z0.percent === null && (z0.percent = z0.pixels / X * 100), C(z0);
2345
+ const V0 = { ...h };
2346
+ V0.percent === null && (V0.percent = V0.pixels / X * 100), C(V0);
2347
2347
  }
2348
2348
  p0.stopPropagation(), p0.preventDefault();
2349
2349
  }
2350
2350
  }, [h, e0, a, i, X]), g4 = s0((p0) => {
2351
2351
  l1?.(p0), p0.defaultPrevented || f || e0 || (Q(!0), l0(), document.addEventListener("pointermove", h1, { passive: !1 }), document.addEventListener("touchmove", h1, { passive: !1 }), document.addEventListener("pointerup", R5, { passive: !1 }));
2352
- }, [l1]), I5 = v3(t, () => ({ setPosition: E2, isSplitPane: () => !0 }), []), y4 = r0(() => B ? z?.({ key: "resizer", ref: n3([I, O]), className: W1("resizer", q), onPointerDownCapture: g4, style: { cursor: f ? void 0 : o === "row" ? "ew-resize" : "ns-resize", minWidth: o === "row" ? "2px" : void 0, minHeight: o !== "row" ? "2px" : void 0, boxSizing: "border-box", pointerEvents: "all", zIndex: 1, ...v0 }, splitDirection: o, disabled: f, ...Y0 }) : null, [B, q, Y0, o, v0, f]), T2 = o === "row" ? "Width" : "Height", b4 = { ...U, ...n0, flex: M.fixedPaneOffset === 0 && J?.pixels[0] !== null ? `0 0 ${Math.round(J?.pixels[0])}px` : `1 1 ${Math.round(J?.percents[0] ?? 100)}%`, [`min${T2}`]: J?.minBefore, [`max${T2}`]: r ? J?.maxBefore : "100%" }, x4 = { ...U, ...L0, flex: M.fixedPaneOffset === 1 && J?.pixels[1] !== null ? `0 0 ${Math.round(J?.pixels[1])}px` : `1 1 ${Math.round(J?.percents[1] ?? 100)}%`, [`min${T2}`]: J?.minAfter, [`max${T2}`]: n ? J?.maxAfter : "100%" }, w4 = r0(() => n ? l("div", { ref: w, className: W1("before", R, G), style: b4, ...$, ...u0, children: n }, "before") : null, [n, H, k, M, J]), C4 = r0(() => r ? l("div", { ref: N, className: W1("after", R, b0), style: x4, ...$, ...U0, children: r }, "after") : null, [r, H, Z, M, J]);
2352
+ }, [l1]), I5 = v3(t, () => ({ setPosition: E2, isSplitPane: () => !0 }), []), y4 = r0(() => B ? z?.({ key: "resizer", ref: n3([I, O]), className: W1("resizer", q), onPointerDownCapture: g4, style: { cursor: f ? void 0 : o === "row" ? "ew-resize" : "ns-resize", minWidth: o === "row" ? "2px" : void 0, minHeight: o !== "row" ? "2px" : void 0, boxSizing: "border-box", pointerEvents: "all", zIndex: 1, ...v0 }, splitDirection: o, disabled: f, ...Y0 }) : null, [B, q, Y0, o, v0, f]), T2 = o === "row" ? "Width" : "Height", b4 = { ...U, ...n0, flex: M.fixedPaneOffset === 0 && J?.pixels[0] !== null ? `0 0 ${Math.round(J?.pixels[0])}px` : `1 1 ${Math.round(J?.percents[0] ?? 100)}%`, [`min${T2}`]: J?.minBefore, [`max${T2}`]: r ? J?.maxBefore : "100%" }, x4 = { ...U, ..._0, flex: M.fixedPaneOffset === 1 && J?.pixels[1] !== null ? `0 0 ${Math.round(J?.pixels[1])}px` : `1 1 ${Math.round(J?.percents[1] ?? 100)}%`, [`min${T2}`]: J?.minAfter, [`max${T2}`]: n ? J?.maxAfter : "100%" }, w4 = r0(() => n ? l("div", { ref: w, className: W1("before", R, G), style: b4, ...$, ...u0, children: n }, "before") : null, [n, H, k, M, J]), C4 = r0(() => r ? l("div", { ref: N, className: W1("after", R, b0), style: x4, ...$, ...U0, children: r }, "after") : null, [r, H, Z, M, J]);
2353
2353
  return L("div", { ref: n3([A, I5]), className: W1("splitPane", o === "row" ? "vertical" : "horizontal", { dragging: e0 }, g), style: j, children: [w4, y4, C4] });
2354
2354
  }));
2355
2355
  const Et = ({ initValue: e, useHookBody: t, applyStateChange: n }) => {
@@ -2414,7 +2414,7 @@ function _5(e, t = null) {
2414
2414
  n.current?.onError?.(d, u, m);
2415
2415
  } });
2416
2416
  const s = /* @__PURE__ */ new Set();
2417
- for (let d = 0; d < i.length; d++) s.add(i[d]?.addPropertyListener(_0.debounce(a, 0), !0)), t && s.add(i[d]?.addExecuteListener(c));
2417
+ for (let d = 0; d < i.length; d++) s.add(i[d]?.addPropertyListener(M0.debounce(a, 0), !0)), t && s.add(i[d]?.addExecuteListener(c));
2418
2418
  return () => {
2419
2419
  s.forEach((d) => {
2420
2420
  d?.();
@@ -2425,7 +2425,7 @@ function _5(e, t = null) {
2425
2425
  M7(null, () => {
2426
2426
  const [e, t] = a0(null);
2427
2427
  return e;
2428
- }), _0.getOS() === _0.OSType.MacOS || (_0.getOS(), _0.OSType.IOS), _0.getOS() === _0.OSType.MacOS || (_0.getOS(), _0.OSType.IOS);
2428
+ }), M0.getOS() === M0.OSType.MacOS || (M0.getOS(), M0.OSType.IOS), M0.getOS() === M0.OSType.MacOS || (M0.getOS(), M0.OSType.IOS);
2429
2429
  const R2 = (e, t) => {
2430
2430
  const n = [];
2431
2431
  if (t) for (let r = 0; r < t.length; r++) {
@@ -2556,7 +2556,7 @@ const B6 = V7 && window.ResizeObserver !== void 0 ? function() {
2556
2556
  }), Ft = l(It, {}), $t = d0(m0((e, t) => {
2557
2557
  const { sx: n, style: r, onMount: o, onUnmount: i, transitionDelay: a = "1200ms", panel: c = !1, transparentBackground: s = !0, icon: d = Ft, label: u, ...m } = e, p = r0(() => typeof u == "string" ? l(j0, { variant: "caption", component: "div", sx: { fontSize: "0.875rem", lineHeight: 1.43, letterSpacing: "0.01071em" }, children: u }) : u, [u]), g = c0(null), v = r0(() => {
2558
2558
  let x = L(o0, { sx: { display: "flex", flexDirection: "column", alignItems: "center", rowGap: "8px" }, children: [p, d] });
2559
- return c === !0 && (x = l(H2, { elevation: 0, sx: { display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center", alignSelf: "center", marginBottom: "5%", backgroundColor: (b) => b.palette.info.light, color: (b) => b.palette.info.contrastText, paddingLeft: (b) => b.spacing(2), paddingRight: (b) => b.spacing(2), paddingTop: (b) => b.spacing(2), paddingBottom: (b) => b.spacing(1), rowGap: (b) => b.spacing(1), borderRadius: (b) => `${b.shape.borderRadius}px`, boxShadow: (b) => b.shadows[2], "& .primary": { background: (b) => `${M0(b.palette.info.contrastText, 0.9)} !important`, boxShadow: (b) => `0 0 0 1px ${b.palette.mode === "dark" ? b.palette.text.secondary : b.palette.divider}`, boxSizing: "content-box", border: "solid transparent" }, zIndex: 1 }, children: x })), l(o0, { ref: z5([g, t]), className: "animatable", sx: { cursor: "wait", boxSizing: "border-box", alignItems: "center", justifyContent: "center", display: "flex", flexDirection: "column", willChange: "opacity", opacity: s ? 1e-3 : 1, transitionProperty: "opacity", transitionDelay: a, transitionDuration: "320ms", transitionTimingFunction: "ease-in", overflow: "hidden", outline: "none", width: "100%", height: "100%", zIndex: 99999, "&.animating": { opacity: 1 }, "&.animating-exit": { opacity: 0, transition: "opacity 210ms" }, ...n, ...r }, ...m, children: L(o0, { className: "center", sx: { display: "flex", flex: "1 1 100%", height: "100%", width: "100%", alignItems: "center", justifyContent: "center", boxSizing: "border-box", position: "relative" }, children: [l(o0, { className: "backdrop", sx: { opacity: (b) => s ? 1.5 * b.palette.action.disabledOpacity : void 0, background: (b) => s ? void 0 : b.palette.background.paper, backdropFilter: "blur(4px)", borderRadius: (b) => `${b.shape.borderRadius}px`, zIndex: -1, position: "absolute", width: "100%", height: "100%", boxSizing: "border-box" } }), x] }) });
2559
+ return c === !0 && (x = l(H2, { elevation: 0, sx: { display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center", alignSelf: "center", marginBottom: "5%", backgroundColor: (b) => b.palette.info.light, color: (b) => b.palette.info.contrastText, paddingLeft: (b) => b.spacing(2), paddingRight: (b) => b.spacing(2), paddingTop: (b) => b.spacing(2), paddingBottom: (b) => b.spacing(1), rowGap: (b) => b.spacing(1), borderRadius: (b) => `${b.shape.borderRadius}px`, boxShadow: (b) => b.shadows[2], "& .primary": { background: (b) => `${z0(b.palette.info.contrastText, 0.9)} !important`, boxShadow: (b) => `0 0 0 1px ${b.palette.mode === "dark" ? b.palette.text.secondary : b.palette.divider}`, boxSizing: "content-box", border: "solid transparent" }, zIndex: 1 }, children: x })), l(o0, { ref: z5([g, t]), className: "animatable", sx: { cursor: "wait", boxSizing: "border-box", alignItems: "center", justifyContent: "center", display: "flex", flexDirection: "column", willChange: "opacity", opacity: s ? 1e-3 : 1, transitionProperty: "opacity", transitionDelay: a, transitionDuration: "320ms", transitionTimingFunction: "ease-in", overflow: "hidden", outline: "none", width: "100%", height: "100%", zIndex: 99999, "&.animating": { opacity: 1 }, "&.animating-exit": { opacity: 0, transition: "opacity 210ms" }, ...n, ...r }, ...m, children: L(o0, { className: "center", sx: { display: "flex", flex: "1 1 100%", height: "100%", width: "100%", alignItems: "center", justifyContent: "center", boxSizing: "border-box", position: "relative" }, children: [l(o0, { className: "backdrop", sx: { opacity: (b) => s ? 1.5 * b.palette.action.disabledOpacity : void 0, background: (b) => s ? void 0 : b.palette.background.paper, backdropFilter: "blur(4px)", borderRadius: (b) => `${b.shape.borderRadius}px`, zIndex: -1, position: "absolute", width: "100%", height: "100%", boxSizing: "border-box" } }), x] }) });
2560
2560
  }, [n, c]), f = c0(!1), y = c0(!1);
2561
2561
  return H7(() => {
2562
2562
  if (g.current && !f.current && !y.current) {
@@ -2893,7 +2893,7 @@ const Ka = { Popup: "popup", Anchor: "anchor" }, Qa = { ByPopup: "popupDone", Ca
2893
2893
  let t = 0;
2894
2894
  return t = e < 1 ? 5.11916 * e ** 2 : 4.5 * Math.log(e + 1) + 2, (t / 100).toFixed(2);
2895
2895
  }, el = (e, t) => {
2896
- let n = X3({ palette: { mode: e ? "dark" : "light" } }), r = { typography: {}, palette: { mode: e ? "dark" : "light", text: { secondary: e ? n.palette.text.secondary : M0(n.palette.text.secondary, 0.75), icon: e ? M0(n.palette.text.secondary, 0.7) : M0(n.palette.text.primary, 0.75) } }, components: { MuiDialogTitle: { styleOverrides: { root: { fontWeight: "normal" } } }, MuiSelect: { styleOverrides: { iconOutlined: { top: "unset" } } }, MuiListItemIcon: { styleOverrides: { root: { minWidth: "0px !important", overflow: "hidden", marginLeft: "0px", marginRight: "6px", padding: "1px 1px", border: "solid transparent 1px" } } }, MuiMenuItem: { styleOverrides: { root: { paddingTop: "2px", paddingBottom: "2px", marginLeft: "4px", marginRight: "4px", paddingLeft: "6px", paddingRight: "18px", borderRadius: "4px", fontSize: "0.875em", "@media (pointer: coarse)": { fontSize: "1em" }, "&.Mui-selected": {} } } }, MuiDivider: { styleOverrides: { root: { marginTop: "4px !important", marginBottom: "4px !important", marginLeft: "0px", marginRight: "0px" } } }, MuiPopper: { styleOverrides: { root: { "& .menu": { marginTop: "4px", marginBottom: "4px", borderRadius: "4px" } } } }, SmartInputField: { styleOverrides: { automatic: { transition: "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms", color: function() {
2896
+ let n = X3({ palette: { mode: e ? "dark" : "light" } }), r = { typography: {}, palette: { mode: e ? "dark" : "light", text: { secondary: e ? n.palette.text.secondary : z0(n.palette.text.secondary, 0.75), icon: e ? z0(n.palette.text.secondary, 0.7) : z0(n.palette.text.primary, 0.75) } }, components: { MuiDialogTitle: { styleOverrides: { root: { fontWeight: "normal" } } }, MuiSelect: { styleOverrides: { iconOutlined: { top: "unset" } } }, MuiListItemIcon: { styleOverrides: { root: { minWidth: "0px !important", overflow: "hidden", marginLeft: "0px", marginRight: "6px", padding: "1px 1px", border: "solid transparent 1px" } } }, MuiMenuItem: { styleOverrides: { root: { paddingTop: "2px", paddingBottom: "2px", marginLeft: "4px", marginRight: "4px", paddingLeft: "6px", paddingRight: "18px", borderRadius: "4px", fontSize: "0.875em", "@media (pointer: coarse)": { fontSize: "1em" }, "&.Mui-selected": {} } } }, MuiDivider: { styleOverrides: { root: { marginTop: "4px !important", marginBottom: "4px !important", marginLeft: "0px", marginRight: "0px" } } }, MuiPopper: { styleOverrides: { root: { "& .menu": { marginTop: "4px", marginBottom: "4px", borderRadius: "4px" } } } }, SmartInputField: { styleOverrides: { automatic: { transition: "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms", color: function() {
2897
2897
  return n.palette.text.secondary;
2898
2898
  } }, dirty: { fontStyle: "italic", color: function() {
2899
2899
  return n.palette.text.secondary;
@@ -2902,8 +2902,8 @@ const Ka = { Popup: "popup", Anchor: "anchor" }, Qa = { ByPopup: "popupDone", Ca
2902
2902
  };
2903
2903
  function R7(e, t) {
2904
2904
  t = $8({ track: Q6(e.palette.background.paper, 0.05, e?.palette.mode), thumb: Q6(e.palette.background.paper, 0.3, e?.palette.mode), active: e.palette.primary.main, corner: e.palette.background.paper, outline: !1 }, t || {});
2905
- const n = { "&::-webkit-scrollbar, & *::-webkit-scrollbar": { backgroundColor: M0(t.track, 0.2), width: "13px", height: "13px" }, "&::-webkit-scrollbar-button": { display: "none" }, "& .scrollbar-button": { fill: t.thumb, backgroundColor: "transparent", transition: "fill opacity 260ms ease", width: "13px", height: "13px" }, "& .scrollbar-button:hover:not([disabled])": { fill: t.active }, "& .scrollbar-button:disabled": { opacity: 0.8 }, "&::-webkit-scrollbar-track, & *::-webkit-scrollbar-track": {}, "&::-webkit-scrollbar-track-piece, & *::-webkit-scrollbar-track-piece": {}, "&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb": { borderRadius: 8, backgroundColor: t.thumb, minHeight: "24px", minWidth: "24px", border: `2px solid ${t.track}` }, "&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus": { backgroundColor: t.active, border: t.outline ? t.outline : void 0 }, "&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active": { backgroundColor: t.active, border: t.outline ? t.outline : void 0 }, "&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover": { backgroundColor: t.active, border: t.outline ? t.outline : void 0 }, "&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner": { backgroundColor: t.corner || t.thumb } };
2906
- return _0.getOS() === _0.OSType.Firefox && (n["* .pseudo-scrollbar"] = { scrollbarColor: `${t.thumb} transparent` }, n["* .pseudo-scrollbar:hover:not([disabled])"] = { scrollbarColor: `${t.active} transparent` }), n;
2905
+ const n = { "&::-webkit-scrollbar, & *::-webkit-scrollbar": { backgroundColor: z0(t.track, 0.2), width: "13px", height: "13px" }, "&::-webkit-scrollbar-button": { display: "none" }, "& .scrollbar-button": { fill: t.thumb, backgroundColor: "transparent", transition: "fill opacity 260ms ease", width: "13px", height: "13px" }, "& .scrollbar-button:hover:not([disabled])": { fill: t.active }, "& .scrollbar-button:disabled": { opacity: 0.8 }, "&::-webkit-scrollbar-track, & *::-webkit-scrollbar-track": {}, "&::-webkit-scrollbar-track-piece, & *::-webkit-scrollbar-track-piece": {}, "&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb": { borderRadius: 8, backgroundColor: t.thumb, minHeight: "24px", minWidth: "24px", border: `2px solid ${t.track}` }, "&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus": { backgroundColor: t.active, border: t.outline ? t.outline : void 0 }, "&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active": { backgroundColor: t.active, border: t.outline ? t.outline : void 0 }, "&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover": { backgroundColor: t.active, border: t.outline ? t.outline : void 0 }, "&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner": { backgroundColor: t.corner || t.thumb } };
2906
+ return M0.getOS() === M0.OSType.Firefox && (n["* .pseudo-scrollbar"] = { scrollbarColor: `${t.thumb} transparent` }, n["* .pseudo-scrollbar:hover:not([disabled])"] = { scrollbarColor: `${t.active} transparent` }), n;
2907
2907
  }
2908
2908
  const I7 = d0(m0((e, t) => {
2909
2909
  const { open: n, anchorEl: r, anchorPosition: o, label: i, floatReference: a, createPopupPanel: c = L5, popperProps: s, onMount: d, onClosing: u, onClose: m, onOpening: p, onOpen: g, children: v, sx: f, ...y } = e, x = s0(u, [u]), b = s0(m, [m]), V = s0(p, [p]), H = s0(g, [g]), [k, Z] = a0(), z = c0(null), B = s0((C, h) => {
@@ -2919,7 +2919,7 @@ const _1 = /* @__PURE__ */ new Map();
2919
2919
  let Z3 = null;
2920
2920
  const M1 = /* @__PURE__ */ new Map();
2921
2921
  let v1 = null;
2922
- const R3 = (e = null, t, n, r) => (v1 && (v1.fn.clear(), v1 = null), e === 0 ? t : (e === null && (e = 120), v1 = { fn: _0.debounce(() => t(), e), setReferences: n, isClose: r }, v1.fn)), F7 = (e, t) => {
2922
+ const R3 = (e = null, t, n, r) => (v1 && (v1.fn.clear(), v1 = null), e === 0 ? t : (e === null && (e = 120), v1 = { fn: M0.debounce(() => t(), e), setReferences: n, isClose: r }, v1.fn)), F7 = (e, t) => {
2923
2923
  if (t === null) return;
2924
2924
  e.add(t);
2925
2925
  const n = _1.get(t.key);
@@ -3048,8 +3048,8 @@ const R3 = (e = null, t, n, r) => (v1 && (v1.fn.clear(), v1 = null), e === 0 ? t
3048
3048
  t2.displayName = "SimpleTooltip";
3049
3049
  const a2 = d0((e) => {
3050
3050
  const { modifier: t, sx: n, ...r } = e;
3051
- return l(o0, { sx: { marginLeft: "1px", marginRight: "1px", borderRadius: "4px", borderStyle: "solid", borderTopWidth: "1px", borderLeftWidth: "1px", borderRightWidth: "1px", borderBottomWidth: "2px", borderTopColor: (o) => M0(o.palette.background.paper, o.palette.action.disabledOpacity), borderLeftColor: (o) => M0(o.palette.background.paper, o.palette.action.disabledOpacity), borderRightColor: (o) => M0(o.palette.background.paper, o.palette.action.disabledOpacity), borderBottomColor: (o) => M0(o.palette.background.paper, 1 - o.palette.action.disabledOpacity), backgroundColor: (o) => M0(o.palette.action.hover, o.palette.action.disabledOpacity), paddingLeft: "4px", paddingRight: "4px", minHeight: "1.6em", display: "flex", justifyContent: "center", alignItems: "center", boxSizing: "content-box", overflow: "hidden", ...n }, ...r, children: l(o0, { sx: { display: "flex", alignItems: "center", justifyContent: "center", textAlign: "center", "& *": { fontWeight: "500" } }, children: t }) });
3052
- }), ln = _0.getOS() === _0.OSType.MacOS || _0.getOS() === _0.OSType.IOS ? "Cmd" : "Ctrl", $7 = (e, t = !1, n = null) => {
3051
+ return l(o0, { sx: { marginLeft: "1px", marginRight: "1px", borderRadius: "4px", borderStyle: "solid", borderTopWidth: "1px", borderLeftWidth: "1px", borderRightWidth: "1px", borderBottomWidth: "2px", borderTopColor: (o) => z0(o.palette.background.paper, o.palette.action.disabledOpacity), borderLeftColor: (o) => z0(o.palette.background.paper, o.palette.action.disabledOpacity), borderRightColor: (o) => z0(o.palette.background.paper, o.palette.action.disabledOpacity), borderBottomColor: (o) => z0(o.palette.background.paper, 1 - o.palette.action.disabledOpacity), backgroundColor: (o) => z0(o.palette.action.hover, o.palette.action.disabledOpacity), paddingLeft: "4px", paddingRight: "4px", minHeight: "1.6em", display: "flex", justifyContent: "center", alignItems: "center", boxSizing: "content-box", overflow: "hidden", ...n }, ...r, children: l(o0, { sx: { display: "flex", alignItems: "center", justifyContent: "center", textAlign: "center", "& *": { fontWeight: "500" } }, children: t }) });
3052
+ }), ln = M0.getOS() === M0.OSType.MacOS || M0.getOS() === M0.OSType.IOS ? "Cmd" : "Ctrl", $7 = (e, t = !1, n = null) => {
3053
3053
  if (Array.isArray(e)) {
3054
3054
  let i = [], a = e;
3055
3055
  for (let c = 0; c < a.length; c++) i.push($7(a[c], t, n ?? "" + c));
@@ -3065,9 +3065,9 @@ const a2 = d0((e) => {
3065
3065
  let v = null;
3066
3066
  return o && (v = $7(o, s)), l(t2, { slotProps: { popper: { sx: { "& .MuiTooltip-tooltip": { marginTop: "0px !important" }, ...p }, modifiers: [{ name: "offset", options: { offset: [0, 14] } }] } }, className: "tooltip-wrapper", tabIndex: -1, title: !n && r ? L(o0, { sx: { maxWidth: `${c}px` }, ref: t, children: [L(o0, { sx: { display: "flex", flexDirection: "row", marginBottom: a ? "4px" : "0px" }, children: [l(j0, { variant: "subtitle1", component: "div", flex: "1 1 100%", children: r }), i ? l(k7, { chips: i }) : null, v ? l(o0, { sx: { marginLeft: "8px" } }, "leadingSpace") : l(Q0, {}), v] }), a ? l(j0, { variant: "caption", sx: { whiteSpace: "pre-line", lineHeight: "1.4" }, children: a }) : l(Q0, {})] }) : "", enterDelay: 260, enterNextDelay: 130, leaveDelay: 230, disableInteractive: !0, ...g, children: l("div", { style: { display: "flex", alignItems: "stretch", justifyContent: "stretch" }, children: d }) });
3067
3067
  })), b3 = l(n7, {}), sn = x5(l(s5, {})), x3 = d0(m0((e, t) => {
3068
- const { dense: n = !0, outlined: r = !1, disableHover: o = !1, parentFloat: i, selected: a, icon: c, tooltipProps: s, children: d, primary: u, sx: m, className: p, onFocus: g, onBlur: v, ...f } = e, [y, x] = a0(!1), b = { marginRight: "0px", padding: n ? "2px" : "7px", borderRadius: (z) => `${z.shape.borderRadius}px`, color: (z) => u ? void 0 : z.palette.text.icon ?? z.palette.action.active, border: (z) => `solid ${r ? z.palette.divider : "transparent"} 1px`, "& .MuiTouchRipple-child": { borderRadius: (z) => `${z.shape.borderRadius}px !important` }, "&.Mui-selected": { backgroundColor: (z) => M0(z.palette.text.primary, z.palette.action.selectedOpacity), border: (z) => `solid ${r ? z.palette.text?.primary : z.palette.divider} 1px` }, "&.Mui-disabled": { border: (z) => `solid ${r ? z.palette.divider : "transparent"} 1px` }, "&.Mui-disabled path.styled": { filter: "grayscale(65%)", opacity: ".8" }, "&.Mui-focusVisible": { outline: "solid transparent 1px", border: "1px solid transparent" }, ...m }, V = { "&:hover:not(.Mui-disabled, [disabled])": { color: (z) => z.palette.text.primary, border: (z) => `solid ${r ? z.palette.text?.primary : z.palette.divider} 1px`, "&.Mui-selected": { backgroundColor: (z) => M0(z.palette.text.primary, z.palette.action.selectedOpacity + z.palette.action.hoverOpacity) }, "> .outline-hover": { outline: (z) => `solid ${r ? z.palette.text?.primary : z.palette.divider} 1px` }, backgroundColor: null }, "&.Mui-focusVisible": { outline: (z) => `solid ${z.palette.primary.main} 1px`, border: (z) => `1px solid ${z.palette?.primary?.main}`, zIndex: 1 } };
3068
+ const { dense: n = !0, outlined: r = !1, disableHover: o = !1, parentFloat: i, selected: a, icon: c, tooltipProps: s, children: d, primary: u, sx: m, className: p, onFocus: g, onBlur: v, ...f } = e, [y, x] = a0(!1), b = { marginRight: "0px", padding: n ? "2px" : "7px", borderRadius: (z) => `${z.shape.borderRadius}px`, color: (z) => u ? void 0 : z.palette.text.icon ?? z.palette.action.active, border: (z) => `solid ${r ? z.palette.divider : "transparent"} 1px`, "& .MuiTouchRipple-child": { borderRadius: (z) => `${z.shape.borderRadius}px !important` }, "&.Mui-selected": { backgroundColor: (z) => z0(z.palette.text.primary, z.palette.action.selectedOpacity), border: (z) => `solid ${r ? z.palette.text?.primary : z.palette.divider} 1px` }, "&.Mui-disabled": { border: (z) => `solid ${r ? z.palette.divider : "transparent"} 1px` }, "&.Mui-disabled path.styled": { filter: "grayscale(65%)", opacity: ".8" }, "&.Mui-focusVisible": { outline: "solid transparent 1px", border: "1px solid transparent" }, ...m }, V = { "&:hover:not(.Mui-disabled, [disabled])": { color: (z) => z.palette.text.primary, border: (z) => `solid ${r ? z.palette.text?.primary : z.palette.divider} 1px`, "&.Mui-selected": { backgroundColor: (z) => z0(z.palette.text.primary, z.palette.action.selectedOpacity + z.palette.action.hoverOpacity) }, "> .outline-hover": { outline: (z) => `solid ${r ? z.palette.text?.primary : z.palette.divider} 1px` }, backgroundColor: null }, "&.Mui-focusVisible": { outline: (z) => `solid ${z.palette.primary.main} 1px`, border: (z) => `1px solid ${z.palette?.primary?.main}`, zIndex: 1 } };
3069
3069
  let H = b;
3070
- o || (H = _0.mergeContentful(b, V));
3070
+ o || (H = M0.mergeContentful(b, V));
3071
3071
  const k = r0(() => {
3072
3072
  let z = typeof c == "function" ? c() : c;
3073
3073
  return z === null ? z : z || (a === void 0 ? b3 : sn);
@@ -3078,8 +3078,8 @@ const a2 = d0((e) => {
3078
3078
  x(!1), v?.(z);
3079
3079
  }, size: "small", TouchRippleProps: { center: !1 }, sx: H, edge: "end", ...f, children: [k, d] });
3080
3080
  if (s) if (s.simple && s.label && !s.disabled) {
3081
- const { label: z, description: B, maxWidth: M, shortcut: C, useModifierSymbols: h, componentDisabled: _, simple: A, chips: E, ...D } = s;
3082
- Z = l(t2, { disableInteractive: !0, title: z ?? "", ...D, children: l(o0, { sx: { display: "flex" }, children: Z }) });
3081
+ const { label: z, description: B, maxWidth: M, shortcut: C, useModifierSymbols: h, componentDisabled: _, simple: A, chips: E, ref: D, ...I } = s;
3082
+ Z = l(t2, { disableInteractive: !0, title: z ?? "", ...I, children: l(o0, { sx: { display: "flex" }, children: Z }) });
3083
3083
  } else Z = l(n2, { children: Z, ...s });
3084
3084
  return Z;
3085
3085
  })), cn = (e) => e.icon, z2 = d0(m0((e, t) => {
@@ -3103,10 +3103,10 @@ const a2 = d0((e) => {
3103
3103
  const { children: n, sx: r, primary: o = !1, variant: i = "subtitle1", ...a } = e;
3104
3104
  return l(Q0, { children: l(j0, { ref: t, variant: i, component: "div", sx: { userSelect: "none", fontWeight: "500", paddingLeft: "8px", paddingTop: i === "subtitle1" ? "2px" : void 0, paddingBottom: i === "subtitle1" ? "2px" : void 0, color: (c) => o ? void 0 : c.palette.text.secondary, ...r }, ...a, children: n }) });
3105
3105
  })), k5 = d0(m0((e, t) => {
3106
- const { dense: n = !0, outlined: r = !1, label: o, selected: i = !1, onQuickClick: a, parentFloat: c, createPopupPanel: s, popupProps: d, onPopupOpen: u, onPopupClose: m, quickButtonProps: p, createQuickButton: g, tooltip: v = "", createTooltip: f, icon: y, disabled: x, buttonProps: b = _0.EmptyObject, disableHover: V, touchRippleRef: H, primary: k, children: Z, sx: z, className: B, ...M } = e, C = b5(), h = r0(() => {
3107
- const n0 = (u0, b0, L0, U0 = L0) => {
3106
+ const { dense: n = !0, outlined: r = !1, label: o, selected: i = !1, onQuickClick: a, parentFloat: c, createPopupPanel: s, popupProps: d, onPopupOpen: u, onPopupClose: m, quickButtonProps: p, createQuickButton: g, tooltip: v = "", createTooltip: f, icon: y, disabled: x, buttonProps: b = M0.EmptyObject, disableHover: V, touchRippleRef: H, primary: k, children: Z, sx: z, className: B, ...M } = e, C = b5(), h = r0(() => {
3107
+ const n0 = (u0, b0, _0, U0 = _0) => {
3108
3108
  const j = typeof r == "boolean" ? null : r[u0];
3109
- return typeof j == "function" ? j(b0) : j || (r ? L0 : U0);
3109
+ return typeof j == "function" ? j(b0) : j || (r ? _0 : U0);
3110
3110
  };
3111
3111
  return { outline: { color: (u0) => n0("color", u0, u0.palette.divider, "transparent"), hoverColor: (u0) => n0("hoverColor", u0, u0.palette.text?.primary, u0.palette.divider), focusColor: (u0) => n0("focusColor", u0, u0.palette?.primary?.main) }, active: C.palette.mode === "dark" ? C.palette.text.secondary : C.palette.text.primary, text: C.palette.text.icon ?? C.palette.action.active };
3112
3112
  }, [r, C]), [_, A] = a0(!1), [E, D] = a0(!1), [I, W] = a0(!1), t0 = c0(null), Y = c0(null), X = y3({ anchor: t0.current, label: o, createPopupPanel: s, parentFloat: c, popperProps: d?.popperProps, onClose: () => {
@@ -3118,14 +3118,14 @@ const a2 = d0((e) => {
3118
3118
  }, [a, X]), e0 = s0(() => {
3119
3119
  _ ? X.reference.close(0) : X.reference.open(0);
3120
3120
  }, [_, X, c, o]), Q = r0(() => {
3121
- const n0 = { "&.bordered": { borderWidth: "1px", borderRadius: "0px", borderTopStyle: "solid", borderBottomStyle: "solid", borderColor: (q) => h.outline.color(q), "&.Mui-focusVisible": { border: (q) => `1px solid ${h.outline.focusColor(q)} !important` }, "&:hover:not(.Mui-disabled, [disabled])": { borderColor: () => V ? "transparent" : void 0, backgroundColor: () => V ? "transparent" : void 0 }, "&.Mui-hovered:not(.Mui-disabled, [disabled])": { borderColor: (q) => h.outline.hoverColor(q) }, "&.Mui-selected:not(.Mui-disabled, [disabled])": { borderColor: (q) => h.outline.hoverColor(q) }, "&.left": { borderTopLeftRadius: (q) => `${q.shape.borderRadius}px`, borderBottomLeftRadius: (q) => `${q.shape.borderRadius}px`, borderLeftStyle: "solid" }, "&.hard-right": { borderRightStyle: "solid", borderRightWidth: "1px", borderRightColor: (q) => h.outline.color(q) }, "&.right": { borderTopRightRadius: (q) => `${q.shape.borderRadius}px`, borderBottomRightRadius: (q) => `${q.shape.borderRadius}px`, borderRightStyle: "solid" }, "&.divider": { borderLeftWidth: "0px !important" } }, "& .MuiTouchRipple-child": { borderRadius: (q) => `${q.shape.borderRadius}px !important` } }, u0 = { "&.Mui-selected": { backgroundColor: (q) => M0(q.palette.primary.main, q.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: (q) => M0(q.palette.primary.main, q.palette.action.selectedOpacity + q.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: (q) => M0(q.palette.primary.main, q.palette.action.selectedOpacity) } } } }, b0 = { maxHeight: "100%", "&.Mui-selected": { backgroundColor: (q) => M0(q.palette.text.icon ?? q.palette.action.active, q.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: (q) => M0(q.palette.text.icon ?? q.palette.action.active, q.palette.action.selectedOpacity + q.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: (q) => M0(q.palette.text.icon ?? q.palette.action.active, q.palette.action.selectedOpacity) } } }, "&:hover:not(.Mui-disabled, [disabled])": { color: (q) => q.palette.text.primary }, backgroundColor: () => V ? "transparent" : void 0, color: (q) => q.palette.text.icon, "&.Mui-disabled path.styled": { filter: "grayscale(65%)", opacity: ".8" }, padding: () => n ? "2px 3px" : "7px", marginRight: "0" }, L0 = _0.mergeContentful(b0, n0), U0 = _0.mergeContentful(L0, u0), j = _0.mergeContentful(b0, n0);
3122
- return { quickButtonStyling: L0, openQuickButtonStyling: U0, compoundStyling: j, openCompoundStyling: _0.mergeContentful(j, u0) };
3121
+ const n0 = { "&.bordered": { borderWidth: "1px", borderRadius: "0px", borderTopStyle: "solid", borderBottomStyle: "solid", borderColor: (q) => h.outline.color(q), "&.Mui-focusVisible": { border: (q) => `1px solid ${h.outline.focusColor(q)} !important` }, "&:hover:not(.Mui-disabled, [disabled])": { borderColor: () => V ? "transparent" : void 0, backgroundColor: () => V ? "transparent" : void 0 }, "&.Mui-hovered:not(.Mui-disabled, [disabled])": { borderColor: (q) => h.outline.hoverColor(q) }, "&.Mui-selected:not(.Mui-disabled, [disabled])": { borderColor: (q) => h.outline.hoverColor(q) }, "&.left": { borderTopLeftRadius: (q) => `${q.shape.borderRadius}px`, borderBottomLeftRadius: (q) => `${q.shape.borderRadius}px`, borderLeftStyle: "solid" }, "&.hard-right": { borderRightStyle: "solid", borderRightWidth: "1px", borderRightColor: (q) => h.outline.color(q) }, "&.right": { borderTopRightRadius: (q) => `${q.shape.borderRadius}px`, borderBottomRightRadius: (q) => `${q.shape.borderRadius}px`, borderRightStyle: "solid" }, "&.divider": { borderLeftWidth: "0px !important" } }, "& .MuiTouchRipple-child": { borderRadius: (q) => `${q.shape.borderRadius}px !important` } }, u0 = { "&.Mui-selected": { backgroundColor: (q) => z0(q.palette.primary.main, q.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: (q) => z0(q.palette.primary.main, q.palette.action.selectedOpacity + q.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: (q) => z0(q.palette.primary.main, q.palette.action.selectedOpacity) } } } }, b0 = { maxHeight: "100%", "&.Mui-selected": { backgroundColor: (q) => z0(q.palette.text.icon ?? q.palette.action.active, q.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: (q) => z0(q.palette.text.icon ?? q.palette.action.active, q.palette.action.selectedOpacity + q.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: (q) => z0(q.palette.text.icon ?? q.palette.action.active, q.palette.action.selectedOpacity) } } }, "&:hover:not(.Mui-disabled, [disabled])": { color: (q) => q.palette.text.primary }, backgroundColor: () => V ? "transparent" : void 0, color: (q) => q.palette.text.icon, "&.Mui-disabled path.styled": { filter: "grayscale(65%)", opacity: ".8" }, padding: () => n ? "2px 3px" : "7px", marginRight: "0" }, _0 = M0.mergeContentful(b0, n0), U0 = M0.mergeContentful(_0, u0), j = M0.mergeContentful(b0, n0);
3122
+ return { quickButtonStyling: _0, openQuickButtonStyling: U0, compoundStyling: j, openCompoundStyling: M0.mergeContentful(j, u0) };
3123
3123
  }, [h, V]), l0 = s0((n0) => {
3124
- const { children: u0, ...b0 } = n0;
3125
- return l(t2, { ...b0, disableInteractive: !0, children: u0 });
3124
+ const { children: u0, ref: b0, ..._0 } = n0;
3125
+ return l(t2, { ref: b0, ..._0, disableInteractive: !0, children: u0 });
3126
3126
  }, []), h0 = a || g, S = h0 && (p?.tooltip || p?.createTooltip), w = (n0) => {
3127
- const { tooltip: u0, createTooltip: b0, sx: L0, ...U0 } = n0;
3128
- let j = l(k1, { sx: { ...L0 }, component: "div", ...U0 });
3127
+ const { tooltip: u0, createTooltip: b0, sx: _0, ...U0 } = n0;
3128
+ let j = l(k1, { sx: { ..._0 }, component: "div", ...U0 });
3129
3129
  return S && (j = (b0 ?? l0)({ title: _ ? "" : u0 ?? v, children: l("div", { children: j }) }, _)), j;
3130
3130
  }, O = { onKeyDown: (n0) => {
3131
3131
  n0.keyCode === Z0.Space ? e0() : n0.keyCode === Z0.F4 || n0.keyCode === Z0.Down ? X.reference.open(0) : n0.keyCode === Z0.Up && X.reference.close(0);
@@ -3136,12 +3136,12 @@ const a2 = d0((e) => {
3136
3136
  let n0 = _ ? Q.openQuickButtonStyling : Q.quickButtonStyling;
3137
3137
  const u0 = (g || w)({ tabIndex: -1, disabled: x, size: "small", edge: "end", onMouseEnter: () => {
3138
3138
  X.reference.parent.closeChild();
3139
- }, onMouseDown: (L0) => {
3140
- L0.button === 0 && (L0.preventDefault(), J(L0));
3139
+ }, onMouseDown: (_0) => {
3140
+ _0.button === 0 && (_0.preventDefault(), J(_0));
3141
3141
  }, touchRippleRef: H, children: F, ...p, className: A0({ "Mui-focusVisible": E || _, "Mui-selected": i, "Mui-hovered": I || _, "Mui-disabled": x, bordered: !0, left: !0, "hard-right": !0 }, p?.className), sx: { ...Q.quickButtonStyling, height: "100%", ...p?.sx } });
3142
3142
  let b0 = K6(!0, n, _);
3143
- S && (b0 = (f ?? l0)({ title: _ ? "" : v, children: b0 }, _)), N = L(Q0, { children: [u0, l(k1, { ref: Y, component: "div", className: A0({ "Mui-selected": _, "Mui-hovered": I || _, "Mui-disabled": x, "Mui-focusVisible": E || _, bordered: !0, right: !0, divider: !0 }), sx: { paddingLeft: (n ? 0 : 2) + "px", paddingRight: (n ? 0 : 2) + "px", width: () => "1em", ...Q.quickButtonStyling, ...n0 }, TouchRippleProps: { center: !1 }, tabIndex: -1, disabled: x, size: "small", edge: "end", onMouseDown: (L0) => {
3144
- L0.button === 0 && (L0.preventDefault(), e0());
3143
+ S && (b0 = (f ?? l0)({ title: _ ? "" : v, children: b0 }, _)), N = L(Q0, { children: [u0, l(k1, { ref: Y, component: "div", className: A0({ "Mui-selected": _, "Mui-hovered": I || _, "Mui-disabled": x, "Mui-focusVisible": E || _, bordered: !0, right: !0, divider: !0 }), sx: { paddingLeft: (n ? 0 : 2) + "px", paddingRight: (n ? 0 : 2) + "px", width: () => "1em", ...Q.quickButtonStyling, ...n0 }, TouchRippleProps: { center: !1 }, tabIndex: -1, disabled: x, size: "small", edge: "end", onMouseDown: (_0) => {
3144
+ _0.button === 0 && (_0.preventDefault(), e0());
3145
3145
  }, children: b0 })] });
3146
3146
  } else {
3147
3147
  let n0 = _ ? Q.openCompoundStyling : Q.compoundStyling;
@@ -3166,8 +3166,8 @@ const dn = {}, j7 = d0(m0((e, t) => {
3166
3166
  } }), W = s0((S) => {
3167
3167
  S.button === 0 && (o?.(S), I.reference.close(0));
3168
3168
  }, [o]), t0 = l(F8, { sx: { transform: () => void 0 } }), Y = { "&.Mui-selected": { color: (S) => S.palette.text.primary, "& svg * ": { color: (S) => S.palette.text.primary } } }, X = y0((S) => {
3169
- const { children: w, ...O } = S;
3170
- return l(t2, { ...O, disableInteractive: !0, children: w });
3169
+ const { children: w, ref: O, ...N } = S;
3170
+ return l(t2, { ref: O, ...N, disableInteractive: !0, children: w });
3171
3171
  }, []), J = o || m, e0 = (S) => {
3172
3172
  const { tooltip: w, createTooltip: O, ...N } = S;
3173
3173
  return l(z2, { icon: v, className: A0({ "Mui-hovered": M }), sx: { flex: "1 1 100%", ...Y }, ...N, children: r });
@@ -3210,7 +3210,7 @@ const dn = {}, j7 = d0(m0((e, t) => {
3210
3210
  }, ...s }) });
3211
3211
  })), un = d0(m0((e, t) => {
3212
3212
  const { children: n, selected: r = !0, outlined: o = !0, sx: i, ...a } = e, c = { display: "flex", border: (d) => r ? `solid ${o ? d.palette.divider : "transparent"} 1px` : "solid transparent 1px", borderRadius: (d) => `${d.shape.borderRadius}px`, backgroundColor: (d) => {
3213
- if (r) return M0(d.palette.text.icon ?? d.palette.action.active, d.palette.action.selectedOpacity);
3213
+ if (r) return z0(d.palette.text.icon ?? d.palette.action.active, d.palette.action.selectedOpacity);
3214
3214
  } };
3215
3215
  let s = n;
3216
3216
  return s === null && (s = l(n7, {})), s || (s = l(s5, {})), s = x5(s), l(o0, { ref: t, sx: { ...c, ...i }, ...a, children: s });
@@ -4389,11 +4389,11 @@ const In = r7(Rn), g8 = { x: 0, y: 0 }, Fn = d0(m0((e, t) => {
4389
4389
  }, [t0]);
4390
4390
  const b0 = l(Nn, { focusTrapOptions: { escapeDeactivates: !1, allowOutsideClick: !0, initialFocus: !1 }, ref: A, active: t0, children: l(f, { in: I, timeout: x, role: "presentation", ...u0, children: l(o0, { className: "MuiDialog-container", ref: Q, tabIndex: 0, sx: { outline: "none", position: "relative" }, onKeyDown: (j) => {
4391
4391
  j.which === Z0.Escape && (w(), X.current?.start(j, { center: !1 }), setTimeout(() => X.current?.stop(j), 180)), j.stopPropagation();
4392
- }, children: L(Fn, { className: A0({ "Mui-focusVisible": O }, B), sx: { "& *": (j) => R7(j), pointerEvents: "auto", userSelect: "none", "&:hover:not([disabled]):not(.Mui-focusVisible)": { outline: (j) => `solid ${M0(j.palette.text?.primary, 0.2)} 1px` }, "&.Mui-focusVisible": { outline: (j) => `solid ${M0(j.palette.text?.primary, 0.2)} 1px` }, position: "absolute", maxWidth: "100%", ...z }, defaultPosition: E, ref: S, titleSize: h0, rootSize: e0, PaperComponent: H, ..._, ...k, children: [o ? l($4, { className: A0({ "Mui-selected": O }, "draggable-title"), sx: { cursor: "move", display: "flex", color: (j) => j.palette.text.secondary, boxSizing: "border-box", padding: "0 0", transitionProperty: "opacity", transitionDuration: (j) => `${j.transitions.duration.shortest}ms`, opacity: 0.7, "&.Mui-selected": { opacity: 1, transitionDuration: (j) => j.transitions.duration.shortest / 2 + "ms" }, backgroundColor: (j) => M0(j.palette.action.hover, 0.03) }, ref: l0, children: L(o0, { sx: { display: "flex", flex: "1 1 10%", flexDirection: "row", alignItems: "center", marginTop: (j) => j.spacing(1), marginLeft: (j) => j.spacing(1), marginRight: (j) => j.spacing(1) }, children: [l(o0, { sx: { flex: "1 1 100%", paddingLeft: (j) => j.spacing(1) }, children: o }), l(n2, { label: "Close", children: l(k1, { "aria-label": "close", sx: { color: (j) => j.palette.text.icon ?? j.palette.action.active }, touchRippleRef: X, onPointerDown: (j) => {
4392
+ }, children: L(Fn, { className: A0({ "Mui-focusVisible": O }, B), sx: { "& *": (j) => R7(j), pointerEvents: "auto", userSelect: "none", "&:hover:not([disabled]):not(.Mui-focusVisible)": { outline: (j) => `solid ${z0(j.palette.text?.primary, 0.2)} 1px` }, "&.Mui-focusVisible": { outline: (j) => `solid ${z0(j.palette.text?.primary, 0.2)} 1px` }, position: "absolute", maxWidth: "100%", ...z }, defaultPosition: E, ref: S, titleSize: h0, rootSize: e0, PaperComponent: H, ..._, ...k, children: [o ? l($4, { className: A0({ "Mui-selected": O }, "draggable-title"), sx: { cursor: "move", display: "flex", color: (j) => j.palette.text.secondary, boxSizing: "border-box", padding: "0 0", transitionProperty: "opacity", transitionDuration: (j) => `${j.transitions.duration.shortest}ms`, opacity: 0.7, "&.Mui-selected": { opacity: 1, transitionDuration: (j) => j.transitions.duration.shortest / 2 + "ms" }, backgroundColor: (j) => z0(j.palette.action.hover, 0.03) }, ref: l0, children: L(o0, { sx: { display: "flex", flex: "1 1 10%", flexDirection: "row", alignItems: "center", marginTop: (j) => j.spacing(1), marginLeft: (j) => j.spacing(1), marginRight: (j) => j.spacing(1) }, children: [l(o0, { sx: { flex: "1 1 100%", paddingLeft: (j) => j.spacing(1) }, children: o }), l(n2, { label: "Close", children: l(k1, { "aria-label": "close", sx: { color: (j) => j.palette.text.icon ?? j.palette.action.active }, touchRippleRef: X, onPointerDown: (j) => {
4393
4393
  X.current?.start(j, { center: !1 }), j.stopPropagation(), j.preventDefault();
4394
4394
  }, onPointerUp: w, children: l(i9, {}) }) })] }) }) : null, v] }) }) }) });
4395
- let L0 = null;
4396
- h && (L0 = l(b, { ...V, open: I, onMouseDown: (j) => {
4395
+ let _0 = null;
4396
+ h && (_0 = l(b, { ...V, open: I, onMouseDown: (j) => {
4397
4397
  w(), V?.onMouseDown?.(j);
4398
4398
  }, onClick: (j) => {
4399
4399
  Z?.(j), V?.onClick?.(j);
@@ -4409,7 +4409,7 @@ const In = r7(Rn), g8 = { x: 0, y: 0 }, Fn = d0(m0((e, t) => {
4409
4409
  }, 100), A.current?.focusTrap?.unpause(), N(!0), Q.current?.contains(j.target) && j.target !== Q.current && R(j.target), j.relatedTarget && !$ && U(j.relatedTarget);
4410
4410
  }, onBlur: (j) => {
4411
4411
  n0?.current?.contains(j.relatedTarget) || (U(null), A.current?.focusTrap?.pause(), N(!1));
4412
- }, children: [L0, b0] }), U0(), i + "");
4412
+ }, children: [_0, b0] }), U0(), i + "");
4413
4413
  });
4414
4414
  var r1 = typeof window < "u" ? window : { screen: {}, navigator: {} }, J1 = (r1.matchMedia || function() {
4415
4415
  return { matches: !1 };
@@ -4724,10 +4724,10 @@ function dr(e = {}) {
4724
4724
  }, $ = H8(t.mode), U = H8(t.reValidateMode);
4725
4725
  if (F) {
4726
4726
  let G, n0;
4727
- const u0 = w.type ? V8(F._f) : ((v0) => T0(v0) && v0.target ? b2(v0.target) ? v0.target.checked : v0.target.value : v0)(S), b0 = S.type === Xn || S.type === Gn, L0 = !((v0) => v0.mount && (v0.required || v0.min || v0.max || v0.maxLength || v0.minLength || v0.pattern || v0.validate))(F._f) && !t.resolver && !K(n.errors, O) && !F._f.deps || ((v0, l1, Y0, E2, h1) => !h1.isOnAll && (!Y0 && h1.isOnTouch ? !(l1 || v0) : (Y0 ? E2.isOnBlur : h1.isOnBlur) ? !v0 : !(Y0 ? E2.isOnChange : h1.isOnChange) || v0))(b0, K(n.touchedFields, O), n.isSubmitted, U, $), U0 = k8(O, s, b0);
4727
+ const u0 = w.type ? V8(F._f) : ((v0) => T0(v0) && v0.target ? b2(v0.target) ? v0.target.checked : v0.target.value : v0)(S), b0 = S.type === Xn || S.type === Gn, _0 = !((v0) => v0.mount && (v0.required || v0.min || v0.max || v0.maxLength || v0.minLength || v0.pattern || v0.validate))(F._f) && !t.resolver && !K(n.errors, O) && !F._f.deps || ((v0, l1, Y0, E2, h1) => !h1.isOnAll && (!Y0 && h1.isOnTouch ? !(l1 || v0) : (Y0 ? E2.isOnBlur : h1.isOnBlur) ? !v0 : !(Y0 ? E2.isOnChange : h1.isOnChange) || v0))(b0, K(n.touchedFields, O), n.isSubmitted, U, $), U0 = k8(O, s, b0);
4728
4728
  C0(a, O, u0), b0 ? (F._f.onBlur && F._f.onBlur(S), o && o(0)) : F._f.onChange && F._f.onChange(S);
4729
4729
  const j = x(O, u0, b0), q = !B0(j) || U0;
4730
- if (!b0 && p.state.next({ name: O, type: S.type, values: N0(a) }), L0) return (u.isValid || m.isValid) && (t.mode === "onBlur" ? b0 && v() : b0 || v()), q && p.state.next({ name: O, ...U0 ? {} : j });
4730
+ if (!b0 && p.state.next({ name: O, type: S.type, values: N0(a) }), _0) return (u.isValid || m.isValid) && (t.mode === "onBlur" ? b0 && v() : b0 || v()), q && p.state.next({ name: O, ...U0 ? {} : j });
4731
4731
  if (!b0 && U0 && p.state.next({ ...n }), t.resolver) {
4732
4732
  const { errors: v0 } = await V([O]);
4733
4733
  if (R(u0), N) {
@@ -4983,7 +4983,7 @@ const hr = ["Ok", "Cancel"], D8 = (e) => {
4983
4983
  h && (_.current?.start(C, { center: !1 }), setTimeout(() => {
4984
4984
  _.current?.stop(C), A && H(h);
4985
4985
  }, 180));
4986
- }, children: L(o0, { sx: { display: "flex", flexDirection: "column", whiteSpace: "pre-wrap", rowGap: (C) => C.spacing(n || t ? 1.5 : 0) }, children: [L(o0, { sx: { display: "flex", flexDirection: "column" }, children: [n, t] }), p] }) }), l(B4, { sx: { paddingTop: (C) => C.spacing(1), paddingBottom: (C) => C.spacing(1), paddingLeft: (C) => C.spacing(1), paddingRight: (C) => C.spacing(1), backgroundColor: (C) => M0(C.palette.action.hover, 0.03) }, children: M })] }) }) });
4986
+ }, children: L(o0, { sx: { display: "flex", flexDirection: "column", whiteSpace: "pre-wrap", rowGap: (C) => C.spacing(n || t ? 1.5 : 0) }, children: [L(o0, { sx: { display: "flex", flexDirection: "column" }, children: [n, t] }), p] }) }), l(B4, { sx: { paddingTop: (C) => C.spacing(1), paddingBottom: (C) => C.spacing(1), paddingLeft: (C) => C.spacing(1), paddingRight: (C) => C.spacing(1), backgroundColor: (C) => z0(C.palette.action.hover, 0.03) }, children: M })] }) }) });
4987
4987
  }, pr = Object.freeze(Object.defineProperty({ __proto__: null, OptionsDialog: D8, default: D8 }, Symbol.toStringTag, { value: "Module" })), fr = i0.lazy(() => Promise.resolve().then(() => pr)), ll = () => {
4988
4988
  const { showModal: e } = E5();
4989
4989
  return (t) => new Promise((n) => {
@@ -4993,7 +4993,7 @@ const hr = ["Ok", "Cancel"], D8 = (e) => {
4993
4993
  t?.onDone?.(), r.hide();
4994
4994
  } });
4995
4995
  });
4996
- }, mr = i0.lazy(() => import("./7Q5jZB1_JWkS9RVu.mjs")), sl = () => {
4996
+ }, mr = i0.lazy(() => import("./DGqU642drAN15oYP.mjs")), sl = () => {
4997
4997
  const { showModal: e } = E5();
4998
4998
  return (t) => {
4999
4999
  const { defaultOption: n = t.options?.[0], cancelOption: r = "Cancel", ...o } = t;
@@ -0,0 +1,43 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { memo as z, forwardRef as E, useState as p } from "react";
3
+ import { T as n, e as K, O as R, c as W, g as O } from "./ClXdj59xxWWzzJPi.mjs";
4
+ import { Box as q, FormControl as A, TextField as G } from "@mui/material";
5
+ import { alpha as y } from "@mui/system";
6
+ /**
7
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.3.20
8
+ *
9
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
+ * License: The license can be found at https://www.sheetxl.com/license.
11
+ */
12
+ const J = ["Input"], _ = z(E((T, w) => {
13
+ const { initialValue: F = "", onOption: C, onValidateOption: l, onInputOption: c, onValidateInputOption: s, onDone: u, inputProps: d, inputLabel: I, inputType: P, inputPlaceHolder: v, options: m = J, autoFocusSel: b = ".autoFocus", cancelOption: g, defaultOption: f = m?.[0], ...k } = T, [V, B] = p(!1), [a, D] = p(F), [S, H] = p(""), [L, M] = p(!0), e = n(async (o, t) => {
14
+ if (!s) return !0;
15
+ const r = await s?.(o, t);
16
+ H(r?.message ?? "");
17
+ const x = r?.valid ?? !0;
18
+ return M(x), x;
19
+ }, [s]), h = n(async (o) => {
20
+ c?.(a, o);
21
+ }, [a, c, u, C, g, f]), N = n(async (o) => {
22
+ o.keyCode === K.Enter && await e?.(a, null);
23
+ }, [a, h]), $ = n((o) => {
24
+ D(o.target.value), e?.(o.target.value, null);
25
+ }, [l]), j = n(async (o) => {
26
+ let t = await e(a, o);
27
+ try {
28
+ t !== !1 && (t = await e(a, o));
29
+ } catch {
30
+ }
31
+ return t ?? !0;
32
+ }, [a, l]);
33
+ return i(R, { options: m, onDone: u, onOption: (o, t) => {
34
+ t || h(o);
35
+ }, onValidateOption: j, cancelOption: g, defaultOption: f, autoFocusSel: b, ref: w, ...k, children: i(q, { sx: { paddingTop: (o) => o.spacing(1), paddingBottom: (o) => o.spacing(0) }, children: i(A, { sx: { paddingTop: (o) => o.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i(G, { onFocus: (o) => {
36
+ V || o.target?.select(), B(!0);
37
+ }, type: P, label: I, helperText: S || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (o) => o.spacing(0.5), color: L ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder: v, spellCheck: !1, autoComplete: "off", ...d, className: W("autoFocus", d?.className), sx: { paddingTop: (o) => o.spacing(1.25), paddingBottom: (o) => o.spacing(0.75), backgroundImage: `linear-gradient(${y("#fff", O(5))}, ${y("#fff", O(5))})` } } }, value: a, onChange: $, onKeyDown: N, onContextMenu: (o) => {
38
+ o.stopPropagation();
39
+ } }) }) }) });
40
+ }));
41
+ export {
42
+ _ as default
43
+ };
@@ -1,7 +1,7 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._traverse-ellipsis_14l1h_1{display:inline-block;position:relative}._traverse-ellipsis_14l1h_1 div{position:absolute;border-radius:50%}._traverse-ellipsis_14l1h_1 div:nth-child(1){left:0;animation:_traverse-ellipsis1_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(2){left:0;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(3){left:24px;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(4){left:48px;animation:_traverse-ellipsis3_14l1h_1 .6s infinite}@keyframes _traverse-ellipsis1_14l1h_1{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes _traverse-ellipsis3_14l1h_1{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes _traverse-ellipsis2_14l1h_1{0%{transform:translate(0)}to{transform:translate(24px)}}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
- import { C as e, y as n, A as s, z as c, D as t, F as r, B as I, P as l, be as i, bm as b, bg as u, bf as d, bj as m, bn as p, bi as C, bl as S, bk as T, bh as D, cA as w, bU as F, bS as x, bT as g, bV as h, Q as R, bR as A, J as B, _ as z, Z as E, $ as P, bQ as M, cM as k, cm as v, a3 as H, a0 as f, a1 as y, a2 as V, bX as O, bW as L, ag as N, cS as U, cU as W, cX as G, cV as K, K as j, ao as q, am as J, an as Q, ak as X, al as Y, bF as _, bE as Z, cd as $, c9 as aa, ce as oa, cf as ea, c8 as na, cc as sa, ca, cb as ta, c6 as ra, cg as Ia, ch as la, ck as ia, c5 as ba, c4 as ua, c7 as da, ci as ma, cj as pa, c2 as Ca, c3 as Sa, cl as Ta, c1 as Da, H as wa, x as Fa, cR as xa, E as ga, b as ha, a as Ra, h as Aa, cK as Ba, d as za, f as Ea, i as Pa, by as Ma, bx as ka, bw as va, bu as Ha, bv as fa, aA as ya, ae as Va, af as Oa, ad as La, bK as Na, bH as Ua, bJ as Wa, bO as Ga, bN as Ka, bM as ja, bI as qa, bL as Ja, aO as Qa, aN as Xa, aP as Ya, cB as _a, ac as Za, ab as $a, a9 as ao, aa as oo, bq as eo, br as no, cs as so, cu as co, ct as to, bG as ro, bP as Io, bC as lo, ax as io, az as bo, ai as uo, aj as mo, cT as po, aB as Co, aD as So, aC as To, aG as Do, aF as wo, aH as Fo, aE as xo, aI as go, cE as ho, cW as Ro, L as Ao, a5 as Bo, a4 as zo, a6 as Eo, a8 as Po, a7 as Mo, cC as ko, N as vo, bp as Ho, O as fo, as as yo, at as Vo, aq as Oo, av as Lo, au as No, ar as Uo, ah as Wo, cL as Go, cN as Ko, bo as jo, cr as qo, aJ as Jo, aL as Qo, aK as Xo, aM as Yo, bY as _o, bZ as Zo, cz as $o, cy as ae, cw as oe, cv as ee, cx as ne, co as se, cp as ce, S as te, aw as re, ay as Ie, cY as le, M as ie, aS as be, aR as ue, aQ as de, aV as me, aT as pe, aU as Ce, I as Se, bz as Te, bA as De, b_ as we, b$ as Fe, c0 as xe, cn as ge, Y as he, V as Re, R as Ae, W as Be, U as ze, X as Ee, b3 as Pe, b7 as Me, b6 as ke, b8 as ve, b4 as He, b5 as fe, ba as ye, b9 as Ve, aX as Oe, aW as Le, aY as Ne, a_ as Ue, aZ as We, b2 as Ge, b1 as Ke, b0 as je, a$ as qe, bd as Je, bc as Qe, bb as Xe, bs as Ye, bt as _e, q as Ze, bD as $e, cq as an, bB as on, ap as en, cP as nn, l as sn, u as cn, r as tn, w as rn, v as In, n as ln, cO as bn, k as un, cH as dn, j as mn, o as pn, s as Cn, cI as Sn, m as Tn, p as Dn, t as wn, cQ as Fn, cG as xn, cD as gn, cJ as hn, cF as Rn, G as An } from "./D9uFu257zqcKAqgF.mjs";
2
+ import { C as e, y as n, A as s, z as c, D as t, F as r, B as I, P as l, be as i, bm as b, bg as u, bf as d, bj as m, bn as p, bi as C, bl as S, bk as T, bh as D, cA as w, bU as F, bS as x, bT as g, bV as h, Q as R, bR as A, J as B, _ as z, Z as E, $ as P, bQ as M, cM as k, cm as v, a3 as H, a0 as f, a1 as y, a2 as V, bX as O, bW as L, ag as N, cS as U, cU as W, cX as G, cV as K, K as j, ao as q, am as J, an as Q, ak as X, al as Y, bF as _, bE as Z, cd as $, c9 as aa, ce as oa, cf as ea, c8 as na, cc as sa, ca, cb as ta, c6 as ra, cg as Ia, ch as la, ck as ia, c5 as ba, c4 as ua, c7 as da, ci as ma, cj as pa, c2 as Ca, c3 as Sa, cl as Ta, c1 as Da, H as wa, x as Fa, cR as xa, E as ga, b as ha, a as Ra, h as Aa, cK as Ba, d as za, f as Ea, i as Pa, by as Ma, bx as ka, bw as va, bu as Ha, bv as fa, aA as ya, ae as Va, af as Oa, ad as La, bK as Na, bH as Ua, bJ as Wa, bO as Ga, bN as Ka, bM as ja, bI as qa, bL as Ja, aO as Qa, aN as Xa, aP as Ya, cB as _a, ac as Za, ab as $a, a9 as ao, aa as oo, bq as eo, br as no, cs as so, cu as co, ct as to, bG as ro, bP as Io, bC as lo, ax as io, az as bo, ai as uo, aj as mo, cT as po, aB as Co, aD as So, aC as To, aG as Do, aF as wo, aH as Fo, aE as xo, aI as go, cE as ho, cW as Ro, L as Ao, a5 as Bo, a4 as zo, a6 as Eo, a8 as Po, a7 as Mo, cC as ko, N as vo, bp as Ho, O as fo, as as yo, at as Vo, aq as Oo, av as Lo, au as No, ar as Uo, ah as Wo, cL as Go, cN as Ko, bo as jo, cr as qo, aJ as Jo, aL as Qo, aK as Xo, aM as Yo, bY as _o, bZ as Zo, cz as $o, cy as ae, cw as oe, cv as ee, cx as ne, co as se, cp as ce, S as te, aw as re, ay as Ie, cY as le, M as ie, aS as be, aR as ue, aQ as de, aV as me, aT as pe, aU as Ce, I as Se, bz as Te, bA as De, b_ as we, b$ as Fe, c0 as xe, cn as ge, Y as he, V as Re, R as Ae, W as Be, U as ze, X as Ee, b3 as Pe, b7 as Me, b6 as ke, b8 as ve, b4 as He, b5 as fe, ba as ye, b9 as Ve, aX as Oe, aW as Le, aY as Ne, a_ as Ue, aZ as We, b2 as Ge, b1 as Ke, b0 as je, a$ as qe, bd as Je, bc as Qe, bb as Xe, bs as Ye, bt as _e, q as Ze, bD as $e, cq as an, bB as on, ap as en, cP as nn, l as sn, u as cn, r as tn, w as rn, v as In, n as ln, cO as bn, k as un, cH as dn, j as mn, o as pn, s as Cn, cI as Sn, m as Tn, p as Dn, t as wn, cQ as Fn, cG as xn, cD as gn, cJ as hn, cF as Rn, G as An } from "./ClXdj59xxWWzzJPi.mjs";
3
3
  /**
4
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.3.19
4
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.3.20
5
5
  *
6
6
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
7
7
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -21,7 +21,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
21
21
  ---
22
22
 
23
23
  Name: @sheetxl/utils
24
- Version: 0.3.19
24
+ Version: 0.3.20
25
25
  License: SEE LICENSE IN <LICENSE>
26
26
  Private: false
27
27
  Description: Utils - Utilities used by most SheetXL components.
@@ -216,7 +216,7 @@ SOFTWARE.
216
216
  ---
217
217
 
218
218
  Name: @sheetxl/utils-react
219
- Version: 0.3.19
219
+ Version: 0.3.20
220
220
  License: SEE LICENSE IN <LICENSE>
221
221
  Private: false
222
222
  Description: Utils React - Utilities for React capabilities needed for all SheetXL components.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.3.19
2
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.3.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -33,7 +33,7 @@ const m = ["Input"], g = o(n((o2, n2) => {
33
33
  }, [D, h]);
34
34
  return t(d, { options: P, onDone: O, onOption: (t2, o3) => {
35
35
  o3 || $(t2);
36
- }, onValidateOption: K, cancelOption: C, defaultOption: b, autoFocusSel: v, ...k, children: t(r, { sx: { paddingTop: (t2) => t2.spacing(1), paddingBottom: (t2) => t2.spacing(0) }, children: t(l, { sx: { paddingTop: (t2) => t2.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(s, { onFocus: (t2) => {
36
+ }, onValidateOption: K, cancelOption: C, defaultOption: b, autoFocusSel: v, ref: n2, ...k, children: t(r, { sx: { paddingTop: (t2) => t2.spacing(1), paddingBottom: (t2) => t2.spacing(0) }, children: t(l, { sx: { paddingTop: (t2) => t2.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(s, { onFocus: (t2) => {
37
37
  V || t2.target?.select(), j(true);
38
38
  }, type: F, label: T, helperText: H || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t2) => t2.spacing(0.5), color: M ? void 0 : "error.main" } }, InputLabelProps: { shrink: true }, InputProps: { inputProps: { placeholder: I, spellCheck: false, autoComplete: "off", ...w, className: e("autoFocus", w?.className), sx: { paddingTop: (t2) => t2.spacing(1.25), paddingBottom: (t2) => t2.spacing(0.75), backgroundImage: `linear-gradient(${i("#fff", p(5))}, ${i("#fff", p(5))})` } } }, value: D, onChange: E, onKeyDown: z, onContextMenu: (t2) => {
39
39
  t2.stopPropagation();