@sheetxl/studio-mui 0.8.0-beta.1 → 0.8.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/esm/0BWO0bLZ8Vm_dKd2.mjs +582 -0
- package/browser/esm/BAbq4-I5f5oUiNaF.mjs +141 -0
- package/browser/esm/BED6h6YAwCf1HEQJ.mjs +161 -0
- package/browser/esm/{DMLXV4EKl1NCp_jk.mjs → BXhNFzyEGokTF-BL.mjs} +2 -2
- package/browser/esm/BYE9gCDWKyx6mnVs.mjs +381 -0
- package/browser/esm/BjvD_4t2KGsZP5V8.mjs +71 -0
- package/browser/esm/{zWTZ8BvT4hjgC2ua.mjs → BknfGJouygmnpFIU.mjs} +13 -12
- package/browser/esm/{DNDrQKMTzKzNMjl-.mjs → BlE_8o8tO2AgAlaj.mjs} +19 -17
- package/browser/esm/BokqKEpU6TFgfRs6.mjs +252 -0
- package/browser/esm/{BoLxSRdEWt-Yg2RI.mjs → Brsh5yscJ_4uKFXp.mjs} +130 -103
- package/browser/esm/Bujtz_Guj88d03vI.mjs +831 -0
- package/browser/esm/Buqcl7J75MJrhpVE.mjs +1379 -0
- package/browser/esm/BvhYPwX3GrRaO9CM.mjs +319 -0
- package/browser/esm/C0wlMAIn9iREPK6w.mjs +87 -0
- package/browser/esm/C8JU4KsMasmLvojI.mjs +103 -0
- package/browser/esm/C9pIZVACtl9unFOp.mjs +77 -0
- package/browser/esm/CBD4RiRKbbZtSXV-.mjs +318 -0
- package/browser/esm/CEtXsBzEjEKk9GOj.mjs +117 -0
- package/browser/esm/{BZBJG2tDdD3-VujP.mjs → COlZu93LRwuBvjE-.mjs} +195 -174
- package/browser/esm/{Cj2pgCNqBCGl4rTX.mjs → CTjqDD-swFMZzI-Y.mjs} +587 -556
- package/browser/esm/CWkOgdL7mOKiTR62.mjs +975 -0
- package/browser/esm/ChSVxkPTIjgcC8PL.mjs +412 -0
- package/browser/esm/{Cd6n1XUgF0VItpkH.mjs → ClBvNPeNCAhuVWrG.mjs} +7 -5
- package/browser/esm/CyLn6zOOp_biA3xU.mjs +335 -0
- package/browser/esm/CynTY0oNtyJnoaBq.mjs +14 -0
- package/browser/esm/D3rRUK4dIM5gUSmj.mjs +256 -0
- package/browser/esm/D9ISy7VkaRRFJl46.mjs +515 -0
- package/browser/esm/DDc6rDuU9JAo1DH_.mjs +225 -0
- package/browser/esm/DDczwkXhz_MHub4z.mjs +197 -0
- package/browser/esm/{3ydDykDMtDYbfVVn.mjs → DEv4pIEgYr5C7etm.mjs} +178 -129
- package/browser/esm/DG21x7RKDpge6zAE.mjs +31 -0
- package/browser/esm/DJOOed_OtB-XT7f3.mjs +437 -0
- package/browser/esm/{Bz5LiUe3SZ8g42Ia.mjs → DKtJxrpN0axtuQ0l.mjs} +1 -1
- package/browser/esm/DRSCS6aLiYmPjUz1.mjs +1543 -0
- package/browser/esm/{ChwS_ougBsogOEsP.mjs → DTpRkgsTm_zYnWfW.mjs} +46 -47
- package/browser/esm/DV6i9RQZfJiKtEaJ.mjs +2552 -0
- package/browser/esm/DdcZrjMLWVukWcU5.mjs +7473 -0
- package/browser/esm/Di3BUxA0SqFWWgeg.mjs +94 -0
- package/browser/esm/DnGaP5F7mLwCGUYG.mjs +408 -0
- package/browser/esm/DpD4fg2WcyiKX_2K.mjs +414 -0
- package/browser/esm/{BUGepznywvV0tUjW.mjs → Ds3XRkne7HxcXD8J.mjs} +2 -2
- package/browser/esm/DsoNMWDwHZP8UXQd.mjs +293 -0
- package/browser/esm/G0Inqm6Eqw47dMpa.mjs +212 -0
- package/browser/esm/HViD4Wfoi0mmqk9w.mjs +13 -0
- package/browser/esm/LZoYSQAYV2wksnDv.mjs +386 -0
- package/browser/esm/{rU8xNPVQtDSnujM-.mjs → QgaAIDUMmBQBsXP9.mjs} +3 -3
- package/browser/esm/YThnrg3PadGs7B4j.mjs +627 -0
- package/browser/esm/index.mjs +1208 -67
- package/browser/esm/ttjcNHcFn8O6hfnd.mjs +1288 -0
- package/browser/esm/w_JrR69vEpvoyeMy.mjs +68 -0
- package/browser/esm/{CVfuCNRpODUw04IH.mjs → xFqkfN8QMCxvsetB.mjs} +1 -1
- package/browser/esm/zqilJefihVd7At2T.mjs +517 -0
- package/licenses/dependencies.txt +96 -349
- package/node/esm/1bf4gn-2vld4BZ9u.mjs +294 -0
- package/node/esm/{BhqI3pQFkV8K_612.mjs → 3WghtBXAvCDwcVrq.mjs} +1 -1
- package/node/esm/4HmLH0bPVJCZLgik.mjs +116 -0
- package/node/esm/{DM7K7-284z-PczVz.mjs → B0bdb_6p7fQI_ivo.mjs} +28 -28
- package/node/esm/BIMkjQUwG4Ih-6Sh.mjs +142 -0
- package/node/esm/BNg4QQY0WAPLE0q7.mjs +141 -0
- package/node/esm/BPzcW4BejRqso338.mjs +72 -0
- package/node/esm/BR45ogAR-hY2bE60.mjs +318 -0
- package/node/esm/BlN7G0DVC24zauig.mjs +197 -0
- package/node/esm/Bph-sR3l6AYWeuxK.mjs +256 -0
- package/node/esm/CPq-MIdEnc-53JpF.mjs +319 -0
- package/node/esm/CSAnTp5rwId0DUb8.mjs +380 -0
- package/node/esm/CWcv7UVXF8IUB0PC.mjs +1379 -0
- package/node/esm/{BA7VzUQ2sKRLTZ5c.mjs → CYIoK22I6Yvv12_x.mjs} +20 -20
- package/node/esm/CZyA9uD4SkTvqp_G.mjs +1283 -0
- package/node/esm/{CHi3AuWEwEPOg9IZ.mjs → CjC6s3RUJQNCF7mP.mjs} +1 -1
- package/node/esm/{DXZrzWee8K5FPOW1.mjs → CuMePia6i_8yfJ6S.mjs} +9 -9
- package/node/esm/CvRbu8JPxFarsSR-.mjs +412 -0
- package/node/esm/CyafafEgfmjLqE5O.mjs +521 -0
- package/node/esm/D-xqQ5qOSd6WrzwJ.mjs +94 -0
- package/node/esm/DLqBHdFp6wvm6EGs.mjs +212 -0
- package/node/esm/{BwZcoHDBmLPIVOT5.mjs → DMXLxp3T0E0SRTQc.mjs} +69 -70
- package/node/esm/{CUMKTjYv6VTkcWYi.mjs → DWqvf4H5F2wMnZ0L.mjs} +32 -30
- package/node/esm/DatM6eEYPpAtIMy-.mjs +405 -0
- package/node/esm/Db3dbaYLKUO66T9s.mjs +1689 -0
- package/node/esm/DdEzhVqYTrGODXrz.mjs +68 -0
- package/node/esm/DeZJlLk8WJ3BLtLs.mjs +975 -0
- package/node/esm/DfCuL8AUxMFoEG2s.mjs +519 -0
- package/node/esm/Do-zCKziWhoG5eAv.mjs +77 -0
- package/node/esm/DpJ2gmZJioCyq8La.mjs +632 -0
- package/node/esm/{Qpuqm6xBr_da38Ht.mjs → XEDcegsv5AGKBfu2.mjs} +165 -137
- package/node/esm/index.mjs +10124 -6751
- package/node/esm/yCUxQuqVuC4DHKPx.mjs +385 -0
- package/node/esm/zITjZ7R4raDqhP-n.mjs +515 -0
- package/package.json +15 -18
- package/resources/locales/de/groups.cmd.json +29 -16
- package/resources/locales/de/studio.cmd.json +18 -1
- package/resources/locales/de/ui.msg.json +447 -40
- package/resources/locales/en/groups.cmd.json +39 -17
- package/resources/locales/en/studio.cmd.json +18 -1
- package/resources/locales/en/ui.msg.json +403 -40
- package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +21 -5
- package/types/src/anchorItems/AnchorItemsPanel.d.ts +14 -0
- package/types/src/anchorItems/AnchoredRangeField.d.ts +40 -0
- package/types/src/anchorItems/index.d.ts +1 -0
- package/types/src/anomalies/AnomaliesPlugin.d.ts +5 -0
- package/types/src/anomalies/AnomaliesTaskPane.d.ts +17 -0
- package/types/src/anomalies/index.d.ts +3 -0
- package/types/src/border/BorderPopupButton.d.ts +6 -6
- package/types/src/border/BorderStylePopupButton.d.ts +3 -3
- package/types/src/border/BorderTemplateIcon.d.ts +29 -0
- package/types/src/border/index.d.ts +1 -0
- package/types/src/chart/ChartFormatPanel.d.ts +20 -0
- package/types/src/chart/ChartPlugin.d.ts +6 -0
- package/types/src/chart/index.d.ts +3 -0
- package/types/src/color/ColorPanel.d.ts +8 -2
- package/types/src/color/ColorPopupButton.d.ts +2 -1
- package/types/src/command/NumberFormatQuickButtons.d.ts +32 -0
- package/types/src/command/PresetCellStylesCommandButton.d.ts +3 -3
- package/types/src/command/SheetZoomCommandButton.d.ts +4 -3
- package/types/src/comments/CommentCard.d.ts +41 -0
- package/types/src/comments/CommentsPlugin.d.ts +6 -0
- package/types/src/comments/CommentsTaskPane.d.ts +23 -0
- package/types/src/comments/index.d.ts +4 -0
- package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts +4 -4
- package/types/src/conditionalFormat/IconPickerPopupButton.d.ts +2 -2
- package/types/src/conditionalFormat/IconSetRulePanel.d.ts +1 -1
- package/types/src/conditions/BetweenOption.d.ts +6 -1
- package/types/src/conditions/CombinatorOption.d.ts +7 -0
- package/types/src/conditions/ConditionEditor.d.ts +61 -4
- package/types/src/conditions/ConditionUtils.d.ts +65 -6
- package/types/src/conditions/ExpressionOption.d.ts +12 -6
- package/types/src/conditions/MembershipOption.d.ts +67 -0
- package/types/src/conditions/OperatorAndParamEditor.d.ts +36 -1
- package/types/src/conditions/ScalarOption.d.ts +25 -6
- package/types/src/conditions/SelectorSelect.d.ts +16 -7
- package/types/src/conditions/index.d.ts +1 -1
- package/types/src/conditions/useFormulaOption.d.ts +54 -0
- package/types/src/dataValidation/DataValidationDetailsPanel.d.ts +7 -1
- package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts +3 -2
- package/types/src/dataValidation/DataValidationEditorPanel.d.ts +13 -2
- package/types/src/dataValidation/DataValidationIcon.d.ts +22 -0
- package/types/src/dataValidation/DataValidationTitle.d.ts +13 -0
- package/types/src/dialog/FillSeriesDialog.d.ts +16 -0
- package/types/src/dialog/OutlineSettingsDialog.d.ts +12 -0
- package/types/src/dialog/TableNewDialog.d.ts +1 -4
- package/types/src/dialog/WorkbookStatisticsDialog.d.ts +1 -1
- package/types/src/dialog/_ShortcutSearch.d.ts +26 -0
- package/types/src/dialog/index.d.ts +0 -2
- package/types/src/externalLink/ExternalLinkCardBody.d.ts +9 -0
- package/types/src/externalLink/ExternalLinkChip.d.ts +18 -0
- package/types/src/externalLink/ExternalLinkLocation.d.ts +18 -0
- package/types/src/externalLink/ExternalLinkSettingsTab.d.ts +18 -0
- package/types/src/externalLink/ExternalLinksPanel.d.ts +11 -0
- package/types/src/externalLink/ExternalLinksPlugin.d.ts +5 -0
- package/types/src/externalLink/ExternalLinksTaskPane.d.ts +19 -0
- package/types/src/externalLink/index.d.ts +8 -0
- package/types/src/fill/GradientEditor.d.ts +41 -0
- package/types/src/fill/GradientStopsBar.d.ts +43 -0
- package/types/src/fill/PatternPopupButton.d.ts +26 -0
- package/types/src/fill/PatternSwatch.d.ts +53 -0
- package/types/src/fill/index.d.ts +5 -0
- package/types/src/filter/ColumnMenu.d.ts +31 -1
- package/types/src/filter/index.d.ts +0 -1
- package/types/src/form/FormulaField.d.ts +35 -6
- package/types/src/form/InputField.d.ts +35 -5
- package/types/src/format/AlignmentPanel.d.ts +13 -0
- package/types/src/format/BorderPanel.d.ts +22 -0
- package/types/src/format/BorderPreview.d.ts +101 -0
- package/types/src/format/FillPanel.d.ts +65 -0
- package/types/src/format/FontPanel.d.ts +12 -0
- package/types/src/format/FormatCellPreview.d.ts +35 -0
- package/types/src/format/FormatPanelParts.d.ts +85 -0
- package/types/src/format/FormatPlugin.d.ts +11 -0
- package/types/src/format/FormatTaskPane.d.ts +39 -0
- package/types/src/format/LinePanel.d.ts +53 -0
- package/types/src/format/LinePreviews.d.ts +71 -0
- package/types/src/format/NumberFormatOption.d.ts +43 -0
- package/types/src/{numberFormat → format}/NumberFormatPanel.d.ts +20 -0
- package/types/src/format/index.d.ts +14 -0
- package/types/src/format/useFormatSelection.d.ts +93 -0
- package/types/src/formulaBar/IFormulaBar.d.ts +11 -0
- package/types/src/formulaBar/MobileFormulaBar.d.ts +33 -0
- package/types/src/formulaBar/MobileInputToolbar.d.ts +43 -0
- package/types/src/formulaBar/index.d.ts +3 -0
- package/types/src/formulaBar/useFormulaBarSession.d.ts +68 -0
- package/types/src/index.d.ts +19 -4
- package/types/src/itemsPanel/EditorCommit.d.ts +32 -0
- package/types/src/itemsPanel/EditorPanel.d.ts +4 -1
- package/types/src/itemsPanel/ItemCard.d.ts +60 -8
- package/types/src/itemsPanel/ItemsDescriptor.d.ts +68 -19
- package/types/src/itemsPanel/ItemsPanel.d.ts +9 -0
- package/types/src/itemsPanel/ItemsSearchField.d.ts +17 -0
- package/types/src/itemsPanel/index.d.ts +2 -0
- package/types/src/named/NamedDetailsPanel.d.ts +9 -2
- package/types/src/named/NamedDetailsTaskPane.d.ts +3 -2
- package/types/src/named/NamedEditorPanel.d.ts +1 -1
- package/types/src/named/NamedExpressionField.d.ts +32 -0
- package/types/src/named/NamedKindChip.d.ts +38 -0
- package/types/src/picture/PicturePlugin.d.ts +6 -0
- package/types/src/picture/index.d.ts +2 -0
- package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts +6 -0
- package/types/src/protectedRange/ProtectedRangeDraft.d.ts +22 -0
- package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts +0 -14
- package/types/src/protectedRange/index.d.ts +2 -1
- package/types/src/protection/ManageProtectionTaskPane.d.ts +29 -0
- package/types/src/protection/PasswordDialog.d.ts +32 -0
- package/types/src/protection/PasswordField.d.ts +35 -0
- package/types/src/protection/ProtectedCellsPanel.d.ts +20 -0
- package/types/src/protection/ProtectionPlugin.d.ts +11 -0
- package/types/src/protection/WorkbookProtectionPanel.d.ts +34 -15
- package/types/src/protection/WorkbookProtectionTab.d.ts +22 -0
- package/types/src/protection/WorksheetProtectionPanel.d.ts +35 -0
- package/types/src/protection/index.d.ts +7 -1
- package/types/src/shape/InsertShapeCommandButton.d.ts +20 -0
- package/types/src/shape/ShapeFormatPanel.d.ts +11 -0
- package/types/src/shape/ShapePlugin.d.ts +6 -0
- package/types/src/shape/index.d.ts +3 -0
- package/types/src/slicer/PresetSlicerStylesCommandButton.d.ts +18 -0
- package/types/src/slicer/SlicerPlugin.d.ts +6 -0
- package/types/src/slicer/index.d.ts +3 -0
- package/types/src/statusBar/SheetZoomScale.d.ts +6 -0
- package/types/src/studio/CommandsWrapper.d.ts +5 -0
- package/types/src/studio/EagerStudio.d.ts +14 -1
- package/types/src/studio/StudioCommandProvider.d.ts +10 -0
- package/types/src/studio/StudioCommands.d.ts +40 -4
- package/types/src/studio/StudioProps.d.ts +64 -2
- package/types/src/studio/StudioSplitPane.d.ts +1 -1
- package/types/src/studio/formulaBarPlacement.d.ts +35 -0
- package/types/src/studio/splitStudioProps.d.ts +7 -0
- package/types/src/studio/useStudioApp.d.ts +31 -18
- package/types/src/template/TemplateCommands.d.ts +29 -0
- package/types/src/template/TemplateDialog.d.ts +19 -0
- package/types/src/template/TemplatePanel.d.ts +50 -0
- package/types/src/template/TemplateSearchField.d.ts +29 -0
- package/types/src/template/WelcomeDialog.d.ts +29 -0
- package/types/src/template/categoryColor.d.ts +8 -0
- package/types/src/template/index.d.ts +3 -0
- package/types/src/template/useTemplateCatalog.d.ts +71 -0
- package/types/src/toolbar/WorkbookToolbars.d.ts +1 -1
- package/types/src/workbook/DefaultRenderers.d.ts +16 -2
- package/types/src/workbook/FillMenu.d.ts +21 -0
- package/types/src/workbook/OutlineButtons.d.ts +11 -0
- package/types/src/workbook/WorkbookContextMenu.d.ts +4 -0
- package/types/src/workbook/WorkbookElement.d.ts +1 -1
- package/types/src/workbook/index.d.ts +1 -0
- package/browser/cjs/BQJKf40kttQWOzLw.cjs +0 -20
- package/browser/cjs/BTZ5uzK0wHzpiZGC.cjs +0 -1
- package/browser/cjs/B_D3JKseVvpRyX-E.cjs +0 -1
- package/browser/cjs/BeKpqOx8It0RD0Rf.cjs +0 -2
- package/browser/cjs/Bj-EvSYeDfqmU0V6.cjs +0 -2
- package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +0 -1
- package/browser/cjs/Bte6P3MhSjajJmmY.cjs +0 -7
- package/browser/cjs/C97KHSuikAbr1qVM.cjs +0 -1
- package/browser/cjs/CJLwX_A3y3TQUmzj.cjs +0 -1
- package/browser/cjs/CPSc2VSYZeZ1B9mi.cjs +0 -1
- package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +0 -1
- package/browser/cjs/CYxc8vnRi8dNpDPk.cjs +0 -1
- package/browser/cjs/CZm1jVZaHQ246prW.cjs +0 -1
- package/browser/cjs/CdDYyAfccXme8w6m.cjs +0 -1
- package/browser/cjs/Cm1APq2MraYNNhyI.cjs +0 -1
- package/browser/cjs/DO8V31Z1ewgMA1di.cjs +0 -5
- package/browser/cjs/Djsiad0Qha1Y-YaS.cjs +0 -1
- package/browser/cjs/IASAYG6qgv7lJY7y.cjs +0 -1
- package/browser/cjs/KZvriGbhEOVkQD0b.cjs +0 -1
- package/browser/cjs/UnMhi28mbvLiOXQe.cjs +0 -1
- package/browser/cjs/Vbigo0kFP3PFfmeA.cjs +0 -1
- package/browser/cjs/iMWEL01eC83oU-YY.cjs +0 -1
- package/browser/cjs/index.cjs +0 -2
- package/browser/cjs/w2GjebPlOFv3pCbm.cjs +0 -1
- package/browser/cjs/z0rB4fK6X1M6PpVD.cjs +0 -11
- package/browser/cjs/zQsyZpeXAvcVXJMs.cjs +0 -1
- package/browser/esm/BuY3uV47Bwbqpasq.mjs +0 -219
- package/browser/esm/CAs1MWvJTcRfJy26.mjs +0 -217
- package/browser/esm/CBU3LgLYmqtQjJbu.mjs +0 -1150
- package/browser/esm/CDU0rqpLNVtMLI-f.mjs +0 -52
- package/browser/esm/CVBub6pgTsJzCc5m.mjs +0 -5429
- package/browser/esm/C_XvSsQ9BVdHffCO.mjs +0 -47
- package/browser/esm/FT29q8yNwsEpVZjt.mjs +0 -9257
- package/browser/esm/Hb1rlHT4tE5hLcjM.mjs +0 -82
- package/browser/esm/UJOXCQv6KrG1gY3l.mjs +0 -105
- package/browser/esm/s46El7mT6oKLSnYB.mjs +0 -411
- package/node/esm/9FY82fj1R1c-AczW.mjs +0 -47
- package/node/esm/C-boHCnJditFzng3.mjs +0 -106
- package/node/esm/DxXM8qHi0Oz4Zovl.mjs +0 -4575
- package/node/esm/sQt2wWGTRLzqeJdG.mjs +0 -82
- package/node/esm/yCHAZKxJR7qY_ySy.mjs +0 -470
- package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts +0 -32
- package/types/src/conditions/DateTimeOption.d.ts +0 -43
- package/types/src/conditions/InSetOption.d.ts +0 -37
- package/types/src/dialog/CommentsDialog.d.ts +0 -11
- package/types/src/dialog/NumberFormatDialog.d.ts +0 -12
- package/types/src/filter/FilterList.d.ts +0 -28
- package/types/src/numberFormat/NumberFormatTaskPane.d.ts +0 -12
- package/types/src/numberFormat/index.d.ts +0 -8
- package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts +0 -3
- package/types/src/protectedRange/ProtectedRangePlugin.d.ts +0 -2
- package/types/src/protection/WorkbookProtectionDialog.d.ts +0 -23
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.11
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
7
|
import { ScalarType as t } from "@sheetxl/sdk";
|
|
8
|
-
import { useTranslator as
|
|
9
|
-
import { Fragment as
|
|
8
|
+
import { useTranslator as o } from "@sheetxl/utils-react";
|
|
9
|
+
import { Fragment as e, memo as r, useMemo as i } from "react";
|
|
10
10
|
import { OptionsDialog as a } from "@sheetxl/utils-mui";
|
|
11
11
|
import { jsx as l, jsxs as n } from "react/jsx-runtime";
|
|
12
12
|
import { Box as s, Typography as c } from "@mui/material";
|
|
@@ -17,54 +17,56 @@ var u = ["Ok"], g = [
|
|
|
17
17
|
t.Boolean,
|
|
18
18
|
t.Error
|
|
19
19
|
], p = r((r) => {
|
|
20
|
-
const { context: p, onDone: m, options: b = u, defaultOption: k = b?.[0], sx: S, ...x } = r, y =
|
|
21
|
-
const
|
|
22
|
-
if (!
|
|
23
|
-
const
|
|
24
|
-
const
|
|
20
|
+
const { context: p, onDone: m, options: b = u, defaultOption: k = b?.[0], sx: S, ...x } = r, y = o(), h = i(() => {
|
|
21
|
+
const o = p?.().getWorkbook();
|
|
22
|
+
if (!o) return null;
|
|
23
|
+
const e = (o) => {
|
|
24
|
+
const e = o.getTypedCounts(g);
|
|
25
25
|
return [
|
|
26
26
|
{
|
|
27
27
|
labelKey: d("workbookStatistics.cellsWithData"),
|
|
28
|
-
value:
|
|
28
|
+
value: o.getCount().toLocaleString()
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
labelKey: d("workbookStatistics.numbers"),
|
|
32
|
-
value: (
|
|
32
|
+
value: (e[t.Number] ?? 0).toLocaleString()
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
labelKey: d("workbookStatistics.text"),
|
|
36
|
-
value: (
|
|
36
|
+
value: (e[t.String] ?? 0).toLocaleString()
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
labelKey: d("workbookStatistics.booleans"),
|
|
40
|
-
value: (
|
|
40
|
+
value: (e[t.Boolean] ?? 0).toLocaleString()
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
labelKey: d("workbookStatistics.errors"),
|
|
44
|
-
value: (
|
|
44
|
+
value: (e[t.Error] ?? 0).toLocaleString()
|
|
45
45
|
}
|
|
46
46
|
];
|
|
47
|
-
}, r =
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
}, r = {
|
|
48
|
+
titleKey: d("workbookStatistics.workbook"),
|
|
49
|
+
subTitle: null,
|
|
50
|
+
rows: [{
|
|
51
|
+
labelKey: d("workbookStatistics.sheets"),
|
|
52
|
+
value: o.getWorksheets().getCount().toLocaleString()
|
|
53
|
+
}, ...e(o.getStats({ onError: "ignore" }))]
|
|
54
|
+
}, i = o.getSelectedWorksheet();
|
|
55
|
+
if (!i) return [r];
|
|
56
|
+
const a = i.getUsedRange()?.getCoords(), l = a ? i.getRange({
|
|
57
|
+
rowStart: a.rowEnd,
|
|
58
|
+
colStart: a.colEnd,
|
|
59
|
+
rowEnd: a.rowEnd,
|
|
60
|
+
colEnd: a.colEnd
|
|
52
61
|
}).getAddress() : "–";
|
|
53
62
|
return [{
|
|
54
63
|
titleKey: d("workbookStatistics.currentSheet"),
|
|
55
|
-
subTitle:
|
|
64
|
+
subTitle: i.getName(),
|
|
56
65
|
rows: [{
|
|
57
66
|
labelKey: d("workbookStatistics.endOfSheet"),
|
|
58
|
-
value:
|
|
59
|
-
}, ...
|
|
60
|
-
},
|
|
61
|
-
titleKey: d("workbookStatistics.workbook"),
|
|
62
|
-
subTitle: null,
|
|
63
|
-
rows: [{
|
|
64
|
-
labelKey: d("workbookStatistics.sheets"),
|
|
65
|
-
value: e.getSheets().getCount().toLocaleString()
|
|
66
|
-
}, ...o(e.getStats({ onError: "ignore" }))]
|
|
67
|
-
}];
|
|
67
|
+
value: l
|
|
68
|
+
}, ...e(i.getStats({ onError: "ignore" }))]
|
|
69
|
+
}, r];
|
|
68
70
|
}, [p]);
|
|
69
71
|
return l(a, {
|
|
70
72
|
title: y("workbookStatistics.title"),
|
|
@@ -107,7 +109,7 @@ var u = ["Ok"], g = [
|
|
|
107
109
|
columnGap: (t) => t.spacing(2),
|
|
108
110
|
rowGap: (t) => t.spacing(.25)
|
|
109
111
|
},
|
|
110
|
-
children: t.rows.map((t) => n(
|
|
112
|
+
children: t.rows.map((t) => n(e, { children: [l(c, {
|
|
111
113
|
variant: "body2",
|
|
112
114
|
component: "div",
|
|
113
115
|
color: "text.secondary",
|
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.11
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
import { t as e } from "./CSAnTp5rwId0DUb8.mjs";
|
|
8
|
+
import { FormulaField as a, InputField as n, PresetChip as t, f as r } from "./index.mjs";
|
|
9
|
+
import { useModelSync as o, useWorkbook as i } from "@sheetxl/react";
|
|
10
|
+
import { DynamicIcon as d, NotifierType as l, useCallbackRef as s, useNotifier as m, useTranslator as c } from "@sheetxl/utils-react";
|
|
11
|
+
import { forwardRef as g, memo as p, useCallback as h, useMemo as u, useState as x } from "react";
|
|
12
|
+
import { Fragment as f, jsx as b, jsxs as y } from "react/jsx-runtime";
|
|
13
|
+
import { Box as v, Checkbox as k, FormControlLabel as C, FormHelperText as w, MenuItem as N, Paper as R, TextField as T, Typography as S } from "@mui/material";
|
|
14
|
+
import { messageKey as E, t as I } from "@sheetxl/utils";
|
|
15
|
+
var H = (e) => "formula" === e.getType(), L = (e) => {
|
|
16
|
+
try {
|
|
17
|
+
return H(e) ? String(e.getValue() ?? "") : e.getRanges?.()?.toString() ?? "";
|
|
18
|
+
} catch (e) {
|
|
19
|
+
return "";
|
|
20
|
+
}
|
|
21
|
+
}, P = (e) => {
|
|
22
|
+
try {
|
|
23
|
+
return e.getRanges(e.getWorksheet().getSelectedRange()).getFixed(!0).toString();
|
|
24
|
+
} catch (e) {
|
|
25
|
+
return "";
|
|
26
|
+
}
|
|
27
|
+
}, W = (e, a) => a ? {
|
|
28
|
+
name: a.getName(),
|
|
29
|
+
expression: L(a),
|
|
30
|
+
scope: a.getScope(),
|
|
31
|
+
comment: a.getComment() ?? "",
|
|
32
|
+
hidden: a.isHidden(),
|
|
33
|
+
editable: H(a)
|
|
34
|
+
} : {
|
|
35
|
+
name: e.getNames().findValidName("Name"),
|
|
36
|
+
expression: P(e),
|
|
37
|
+
scope: null,
|
|
38
|
+
comment: "",
|
|
39
|
+
hidden: !1,
|
|
40
|
+
editable: !0
|
|
41
|
+
}, z = (e, a, n) => {
|
|
42
|
+
const t = a.name.trim(), r = a.expression.trim().replace(/^=\s*/, "").trim(), o = a.comment.trim(), i = a.scope || null;
|
|
43
|
+
if (!t) throw new Error(I("error.named.nameEmpty"));
|
|
44
|
+
if (!r) throw new Error(I("named.expressionRequired"));
|
|
45
|
+
if (null !== n) {
|
|
46
|
+
if (t.toLowerCase() !== n.getName().toLowerCase() && e.getNames().validateName(t, i ?? void 0), (n.getScope() ?? null) !== i) {
|
|
47
|
+
if (!a.editable || !n.delete) throw new Error(I("error.named.nameReadonly"));
|
|
48
|
+
const d = e.getTransactions().beginCommit({ description: I("op.updateNamed", { name: t }) });
|
|
49
|
+
try {
|
|
50
|
+
n.delete(), e.getCalculation().getNamedFormulas().add({
|
|
51
|
+
name: t,
|
|
52
|
+
expression: r,
|
|
53
|
+
scope: i,
|
|
54
|
+
comment: o || void 0,
|
|
55
|
+
hidden: a.hidden || void 0
|
|
56
|
+
}), d.commit();
|
|
57
|
+
} catch (e) {
|
|
58
|
+
throw d.rollback(), e;
|
|
59
|
+
}
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
n.doBatch(() => {
|
|
63
|
+
t !== n.getName() && n.setName(t), a.editable && r !== L(n) && n.setExpression(r), (n.getComment() ?? "") !== o && n.setComment(o || null), n.isHidden() !== a.hidden && n.setHidden?.(a.hidden);
|
|
64
|
+
}, { description: I("op.updateNamed", { name: t }) });
|
|
65
|
+
} else e.getCalculation().getNamedFormulas().add({
|
|
66
|
+
name: t,
|
|
67
|
+
expression: r,
|
|
68
|
+
scope: i,
|
|
69
|
+
comment: o || void 0,
|
|
70
|
+
hidden: a.hidden || void 0
|
|
71
|
+
});
|
|
72
|
+
}, A = {
|
|
73
|
+
table: "Table",
|
|
74
|
+
range: "NamedRange",
|
|
75
|
+
formula: "Function"
|
|
76
|
+
}, F = {
|
|
77
|
+
table: E("named.kindTable"),
|
|
78
|
+
range: E("named.kindRange"),
|
|
79
|
+
formula: E("named.kindFormula")
|
|
80
|
+
}, O = (e) => {
|
|
81
|
+
if (!H(e)) return "table";
|
|
82
|
+
try {
|
|
83
|
+
return e.getRanges?.() ? "range" : "formula";
|
|
84
|
+
} catch (e) {
|
|
85
|
+
return "formula";
|
|
86
|
+
}
|
|
87
|
+
}, j = p((e) => {
|
|
88
|
+
const { kind: a, size: n = 28, ...r } = e, o = c();
|
|
89
|
+
return b(t, {
|
|
90
|
+
className: "sxl-named-kind-chip",
|
|
91
|
+
title: o(F[a]),
|
|
92
|
+
sx: {
|
|
93
|
+
width: "auto",
|
|
94
|
+
minWidth: 1.7 * n + "px",
|
|
95
|
+
height: `${n}px`,
|
|
96
|
+
color: "table" === a ? "primary.main" : "text.secondary"
|
|
97
|
+
},
|
|
98
|
+
...r,
|
|
99
|
+
children: b(d, {
|
|
100
|
+
iconKey: A[a],
|
|
101
|
+
size: Math.round(.7 * n)
|
|
102
|
+
})
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
j.displayName = "NamedKindChip";
|
|
106
|
+
var q = "workbook", K = p((e) => {
|
|
107
|
+
const { draft: t, workbook: o } = e, i = c(), [d] = x(() => t.name), [l] = x(() => t.expression), [m, g] = x(null), [p, h] = x(() => t.scope), [f, E] = x(() => t.comment), [I, H] = x(() => t.hidden), [L, P] = x(() => t.editable ? ((e, a) => {
|
|
108
|
+
const n = a.trim().replace(/^=\s*/, "");
|
|
109
|
+
if (!n) return "formula";
|
|
110
|
+
try {
|
|
111
|
+
return e.createFormula(n, void 0, { target: "display" }).isReferenceOnly() ? "range" : "formula";
|
|
112
|
+
} catch (e) {
|
|
113
|
+
return "formula";
|
|
114
|
+
}
|
|
115
|
+
})(o, t.expression) : "table"), W = !t.editable, z = s((e) => {
|
|
116
|
+
e.trim().toLowerCase() !== d.toLowerCase() && o.getNames().validateName(e.trim(), p ?? void 0);
|
|
117
|
+
}, [
|
|
118
|
+
o,
|
|
119
|
+
d,
|
|
120
|
+
p
|
|
121
|
+
]), A = u(() => {
|
|
122
|
+
try {
|
|
123
|
+
return o.getWorksheets().getItems().map((e) => e.getName());
|
|
124
|
+
} catch (e) {
|
|
125
|
+
return [];
|
|
126
|
+
}
|
|
127
|
+
}, [o]);
|
|
128
|
+
return b(R, {
|
|
129
|
+
tabIndex: 0,
|
|
130
|
+
className: r["editor-panel"],
|
|
131
|
+
sx: {
|
|
132
|
+
gap: (e) => e.spacing(1),
|
|
133
|
+
paddingTop: (e) => e.spacing(1.25),
|
|
134
|
+
paddingBottom: (e) => e.spacing(2),
|
|
135
|
+
paddingLeft: (e) => e.spacing(1.5),
|
|
136
|
+
paddingRight: (e) => e.spacing(1.5),
|
|
137
|
+
border: (e) => `1px solid ${e.palette.divider}`,
|
|
138
|
+
borderRadius: (e) => e.spacing(1.25),
|
|
139
|
+
overflow: "auto"
|
|
140
|
+
},
|
|
141
|
+
children: y(v, {
|
|
142
|
+
sx: {
|
|
143
|
+
display: "flex",
|
|
144
|
+
flexDirection: "column",
|
|
145
|
+
gap: (e) => e.spacing(2),
|
|
146
|
+
margin: (e) => e.spacing(1.25)
|
|
147
|
+
},
|
|
148
|
+
children: [
|
|
149
|
+
y(v, { children: [y(v, {
|
|
150
|
+
sx: {
|
|
151
|
+
display: "flex",
|
|
152
|
+
alignItems: "flex-end",
|
|
153
|
+
gap: (e) => e.spacing(1.5)
|
|
154
|
+
},
|
|
155
|
+
children: [b(j, {
|
|
156
|
+
kind: L,
|
|
157
|
+
size: 48
|
|
158
|
+
}), b(n, {
|
|
159
|
+
label: i("named.name"),
|
|
160
|
+
sx: {
|
|
161
|
+
flex: "1 1 auto",
|
|
162
|
+
minWidth: 0
|
|
163
|
+
},
|
|
164
|
+
helperText: null,
|
|
165
|
+
showError: !1,
|
|
166
|
+
onChangeError: g,
|
|
167
|
+
disabled: W,
|
|
168
|
+
value: d,
|
|
169
|
+
onValidate: z,
|
|
170
|
+
onChangeText: (e) => {
|
|
171
|
+
t.name = e;
|
|
172
|
+
}
|
|
173
|
+
})]
|
|
174
|
+
}), b(w, {
|
|
175
|
+
error: !!m,
|
|
176
|
+
sx: {
|
|
177
|
+
marginTop: (e) => e.spacing(.5),
|
|
178
|
+
marginX: "14px"
|
|
179
|
+
},
|
|
180
|
+
children: m ? i(m) : " "
|
|
181
|
+
})] }),
|
|
182
|
+
b(a, {
|
|
183
|
+
label: i("named.refersTo"),
|
|
184
|
+
value: l,
|
|
185
|
+
workbook: o,
|
|
186
|
+
disabled: W,
|
|
187
|
+
helperText: i("named.refersToHelp"),
|
|
188
|
+
equals: "required",
|
|
189
|
+
pickAs: "absolute",
|
|
190
|
+
onChangeText: (e) => {
|
|
191
|
+
t.expression = e;
|
|
192
|
+
},
|
|
193
|
+
onChangeInput: (e) => {
|
|
194
|
+
e && P(e.isReferenceOnly() ? "range" : "formula");
|
|
195
|
+
}
|
|
196
|
+
}),
|
|
197
|
+
y(T, {
|
|
198
|
+
label: i("named.scope"),
|
|
199
|
+
size: "small",
|
|
200
|
+
fullWidth: !0,
|
|
201
|
+
select: !0,
|
|
202
|
+
disabled: W,
|
|
203
|
+
value: p ?? q,
|
|
204
|
+
helperText: i("named.scopeHelp"),
|
|
205
|
+
onChange: (e) => {
|
|
206
|
+
const a = e.target.value === q ? null : e.target.value;
|
|
207
|
+
h(a), t.scope = a;
|
|
208
|
+
},
|
|
209
|
+
children: [b(N, {
|
|
210
|
+
value: q,
|
|
211
|
+
children: i("named.scopeWorkbook")
|
|
212
|
+
}), A.map((e) => b(N, {
|
|
213
|
+
value: e,
|
|
214
|
+
children: e
|
|
215
|
+
}, e))]
|
|
216
|
+
}),
|
|
217
|
+
b(T, {
|
|
218
|
+
label: i("named.comment"),
|
|
219
|
+
size: "small",
|
|
220
|
+
fullWidth: !0,
|
|
221
|
+
multiline: !0,
|
|
222
|
+
minRows: 2,
|
|
223
|
+
maxRows: 4,
|
|
224
|
+
disabled: W,
|
|
225
|
+
value: f,
|
|
226
|
+
onChange: (e) => {
|
|
227
|
+
E(e.target.value), t.comment = e.target.value;
|
|
228
|
+
}
|
|
229
|
+
}),
|
|
230
|
+
b(C, {
|
|
231
|
+
control: b(k, {
|
|
232
|
+
size: "small",
|
|
233
|
+
disabled: W,
|
|
234
|
+
checked: I,
|
|
235
|
+
onChange: (e) => {
|
|
236
|
+
H(e.target.checked), t.hidden = e.target.checked;
|
|
237
|
+
}
|
|
238
|
+
}),
|
|
239
|
+
label: b(S, {
|
|
240
|
+
variant: "body2",
|
|
241
|
+
children: i("named.hidden")
|
|
242
|
+
})
|
|
243
|
+
}),
|
|
244
|
+
b(S, {
|
|
245
|
+
variant: "caption",
|
|
246
|
+
sx: {
|
|
247
|
+
color: "text.secondary",
|
|
248
|
+
marginTop: "-12px"
|
|
249
|
+
},
|
|
250
|
+
children: i("named.hiddenHelp")
|
|
251
|
+
}),
|
|
252
|
+
W ? b(S, {
|
|
253
|
+
variant: "caption",
|
|
254
|
+
sx: {
|
|
255
|
+
color: "text.secondary",
|
|
256
|
+
fontStyle: "italic"
|
|
257
|
+
},
|
|
258
|
+
children: i("named.derivedReadOnly")
|
|
259
|
+
}) : null
|
|
260
|
+
]
|
|
261
|
+
})
|
|
262
|
+
});
|
|
263
|
+
});
|
|
264
|
+
K.displayName = "NamedEditorPanel";
|
|
265
|
+
var M = p((e) => {
|
|
266
|
+
const { named: n, label: t, helperText: r } = e, d = c(), s = m(), g = i();
|
|
267
|
+
o(n, ["onAnyChange", "onRangesChange"]);
|
|
268
|
+
const p = H(n) && !n.isReadOnly() && (g?.getProtection().isStructureAllowed() ?? !0), u = h((e, a) => {
|
|
269
|
+
if ("accept" !== a.reason) return;
|
|
270
|
+
const t = e?.getExpression()?.trim();
|
|
271
|
+
if (t && t !== L(n)) try {
|
|
272
|
+
n.setExpression(t);
|
|
273
|
+
} catch (e) {
|
|
274
|
+
s.showMessage?.(e.message, { type: l.Error });
|
|
275
|
+
}
|
|
276
|
+
}, [n, s]);
|
|
277
|
+
return b(a, {
|
|
278
|
+
value: L(n),
|
|
279
|
+
equals: "required",
|
|
280
|
+
pickAs: "absolute",
|
|
281
|
+
changeOn: "done",
|
|
282
|
+
onDone: u,
|
|
283
|
+
label: void 0 === t ? d("named.refersTo") : t,
|
|
284
|
+
helperText: r,
|
|
285
|
+
disabled: !p
|
|
286
|
+
});
|
|
287
|
+
});
|
|
288
|
+
M.displayName = "NamedExpressionField";
|
|
289
|
+
var B = ({ item: e }) => {
|
|
290
|
+
const a = c(), n = e.getScope(), t = e.getComment(), r = [n ? a("named.scopedTo", { scope: n }) : a("named.scopeWorkbook")];
|
|
291
|
+
return e.isHidden() && r.push(a("named.hidden")), y(f, { children: [b(S, {
|
|
292
|
+
variant: "caption",
|
|
293
|
+
sx: { color: (e) => e.palette.text.secondary },
|
|
294
|
+
children: r.join(" · ")
|
|
295
|
+
}), t ? b(S, {
|
|
296
|
+
variant: "caption",
|
|
297
|
+
sx: {
|
|
298
|
+
color: (e) => e.palette.text.secondary,
|
|
299
|
+
fontStyle: "italic"
|
|
300
|
+
},
|
|
301
|
+
children: t
|
|
302
|
+
}) : null] });
|
|
303
|
+
}, D = p(g((a, n) => {
|
|
304
|
+
const { workbook: t, args: r, ...o } = a, i = c(), [d, l] = x(!1), s = u(() => ((e) => ({
|
|
305
|
+
key: "named",
|
|
306
|
+
messageKeys: {
|
|
307
|
+
none: E("named.none"),
|
|
308
|
+
addPrompt: E("named.addPrompt"),
|
|
309
|
+
heading: E("named.heading"),
|
|
310
|
+
insert: E("named.insert"),
|
|
311
|
+
new: E("named.new"),
|
|
312
|
+
edit: E("named.edit"),
|
|
313
|
+
delete: E("named.delete"),
|
|
314
|
+
cancel: E("named.cancel"),
|
|
315
|
+
save: E("named.save"),
|
|
316
|
+
search: E("named.search"),
|
|
317
|
+
clearSearch: E("named.clearSearch"),
|
|
318
|
+
noMatches: E("named.noMatches")
|
|
319
|
+
},
|
|
320
|
+
getItems: (a) => a.getNames().getItems({ includeHidden: e }),
|
|
321
|
+
subscribe: (e, a) => {
|
|
322
|
+
const n = e.getNames().addListeners({
|
|
323
|
+
onCollectionChange: () => a.onChange(),
|
|
324
|
+
onInvalidated: () => a.onChange()
|
|
325
|
+
}, { transactional: !1 }), t = e.addListeners({
|
|
326
|
+
onSheetsChange: () => a.onChange(),
|
|
327
|
+
onProtectionChange: () => a.onChange()
|
|
328
|
+
}, { transactional: !1 });
|
|
329
|
+
return () => {
|
|
330
|
+
n?.(), t?.();
|
|
331
|
+
};
|
|
332
|
+
},
|
|
333
|
+
isReadOnly: (e) => !e.getProtection().isStructureAllowed(),
|
|
334
|
+
isItemReadOnly: (e, a) => !a.getProtection().isStructureAllowed() || "table" === O(e) || e.isReadOnly(),
|
|
335
|
+
getItemKey: (e) => e.getId(),
|
|
336
|
+
subscribeItem: (e, a) => e.addListeners({
|
|
337
|
+
onAnyChange: () => a(),
|
|
338
|
+
onInvalidated: () => a()
|
|
339
|
+
}, { transactional: !1 }),
|
|
340
|
+
createDraft: W,
|
|
341
|
+
save: z,
|
|
342
|
+
delete: (e) => {
|
|
343
|
+
e.delete?.();
|
|
344
|
+
},
|
|
345
|
+
select: (e) => {
|
|
346
|
+
Promise.resolve(e.select()).catch(() => {});
|
|
347
|
+
},
|
|
348
|
+
getSearchText: (e, a) => [
|
|
349
|
+
e.getName(),
|
|
350
|
+
L(e),
|
|
351
|
+
e.getScope() ?? a("named.scopeWorkbook"),
|
|
352
|
+
e.getComment() ?? ""
|
|
353
|
+
].join("\n"),
|
|
354
|
+
getCardTitle: (e) => e.getName(),
|
|
355
|
+
CardMedia: ({ item: e }) => b(j, {
|
|
356
|
+
kind: O(e),
|
|
357
|
+
size: 32
|
|
358
|
+
}),
|
|
359
|
+
CardSubtitle: ({ item: e }) => b(M, {
|
|
360
|
+
named: e,
|
|
361
|
+
label: null,
|
|
362
|
+
helperText: null
|
|
363
|
+
}),
|
|
364
|
+
CardBody: B,
|
|
365
|
+
EditorBody: ({ draft: e, workbook: a }) => b(K, {
|
|
366
|
+
draft: e,
|
|
367
|
+
workbook: a
|
|
368
|
+
})
|
|
369
|
+
}))(d), [d]), m = u(() => b(C, {
|
|
370
|
+
sx: {
|
|
371
|
+
flex: "0 0 auto",
|
|
372
|
+
marginLeft: 0,
|
|
373
|
+
marginRight: 0,
|
|
374
|
+
whiteSpace: "nowrap"
|
|
375
|
+
},
|
|
376
|
+
control: b(k, {
|
|
377
|
+
size: "small",
|
|
378
|
+
checked: d,
|
|
379
|
+
onChange: (e) => l(e.target.checked)
|
|
380
|
+
}),
|
|
381
|
+
label: b(S, {
|
|
382
|
+
variant: "caption",
|
|
383
|
+
children: i("named.showHidden")
|
|
384
|
+
})
|
|
385
|
+
}), [d, i]);
|
|
386
|
+
return b(e, {
|
|
387
|
+
ref: n,
|
|
388
|
+
workbook: t,
|
|
389
|
+
descriptor: s,
|
|
390
|
+
args: r,
|
|
391
|
+
listActions: m,
|
|
392
|
+
...o
|
|
393
|
+
});
|
|
394
|
+
}));
|
|
395
|
+
D.displayName = "NamedDetailsPanel";
|
|
396
|
+
var V = (e) => {
|
|
397
|
+
const { model: a, entryKey: n, frame: t, args: r, ref: o, ...i } = e;
|
|
398
|
+
return b(D, {
|
|
399
|
+
ref: o,
|
|
400
|
+
workbook: a,
|
|
401
|
+
args: r,
|
|
402
|
+
...i
|
|
403
|
+
});
|
|
404
|
+
};
|
|
405
|
+
export { V as NamedDetailsTaskPane };
|