@sheetxl/studio-mui 0.8.0-beta.2 → 0.8.0-beta.21
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/LICENSE.md +17 -7
- package/browser/esm/{xGJU5xUJx3HF317Q.mjs → -z5Wfuc02L-6kq1M.mjs} +14 -13
- package/browser/esm/0NmmzX7YcGCZAfjR.mjs +392 -0
- package/browser/esm/{BlZiWp3SB3wH5O38.mjs → 19wMLMJtWK0oeEVt.mjs} +4 -4
- package/browser/esm/3FkSn_nCNgxZsgIL.mjs +335 -0
- package/browser/esm/4V2MEotoMq61137z.mjs +412 -0
- package/browser/esm/ATq4TDNCeji9EzyV.mjs +141 -0
- package/browser/esm/B5WTcQ5DGtwQ0jkI.mjs +442 -0
- package/browser/esm/BB_QvUAlMtL59z9o.mjs +294 -0
- package/browser/esm/BCBAzHaXN9AV8sab.mjs +2699 -0
- package/browser/esm/BEf9LRQrSZ8r-xAT.mjs +8547 -0
- package/browser/esm/BRnkoDWmbvG8C1_N.mjs +68 -0
- package/browser/esm/{Dv3hSCyjvwo6GcH1.mjs → BTmU9XLPvYrHSqNS.mjs} +4 -4
- package/browser/esm/BbJU08YmJt-_qBF6.mjs +94 -0
- package/browser/esm/Bi0lTIkuP-DeqJcH.mjs +516 -0
- package/browser/esm/BloQOjPg78u-EF02.mjs +1288 -0
- package/browser/esm/BqbKAlU_mHU6NhT9.mjs +13 -0
- package/browser/esm/BseH-4GXYtDqvoqT.mjs +77 -0
- package/browser/esm/Bv82Dlpi9aSgFTW7.mjs +103 -0
- package/browser/esm/{C5-J1xiO3O1-qaaP.mjs → BzqmYkLttNHqg63Q.mjs} +83 -95
- package/browser/esm/C1XWND0Zi7LMcsm_.mjs +633 -0
- package/browser/esm/C2RXFrmqZeD3QqPh.mjs +975 -0
- package/browser/esm/CFBHs4m2-BlqZkEr.mjs +267 -0
- package/browser/esm/CL-QL6Z7zajam81k.mjs +225 -0
- package/browser/esm/CNcmM3o7opgAuBgV.mjs +14 -0
- package/browser/esm/{B1YOQZHyO_dmHUN4.mjs → COetbYqMtkntH82m.mjs} +2 -2
- package/browser/esm/{_v6Wbw_y3QgJy3qY.mjs → CQUfTuoSCwqQ0IMS.mjs} +2 -2
- package/browser/esm/CS3J1M5x0VrJ3ndM.mjs +973 -0
- package/browser/esm/CSc97nFWptJgbzHm.mjs +360 -0
- package/browser/esm/CTBTpY09hkS1rzas.mjs +517 -0
- package/browser/esm/{CppDmJ4ckCH3alQf.mjs → C_Gs7_-MyIUFd3GO.mjs} +156 -109
- package/browser/esm/{DSGFnb1gYyL22p0t.mjs → CgaSjzrOnWuwOhIc.mjs} +20 -18
- package/browser/esm/CmFDMGxQc2IWNQrh.mjs +831 -0
- package/browser/esm/Cn9HHObOgyeO5n59.mjs +252 -0
- package/browser/esm/D56YnBeIxJlew7m_.mjs +235 -0
- package/browser/esm/D6K4M0lTty-YfNwL.mjs +318 -0
- package/browser/esm/DBiaGhkvzLnkUxgI.mjs +197 -0
- package/browser/esm/{CNLLwRPWnd4PJgPO.mjs → DDraGX98UQjilEmH.mjs} +5 -5
- package/browser/esm/DI2OTnABUBEmEaqR.mjs +424 -0
- package/browser/esm/DP7rdmsD5vllWV3a.mjs +14 -0
- package/browser/esm/DR9p8nTF7Ac49NOk.mjs +161 -0
- package/browser/esm/Dhw4RvCFZ7-lER3m.mjs +31 -0
- package/browser/esm/{DE7MVTTfExTzvyMW.mjs → DlXxfHGCzQyswKls.mjs} +33 -31
- package/browser/esm/DqZOeLxpTB81KRea.mjs +8 -0
- package/browser/esm/{Bo74PCF42KVYJF0j.mjs → Drf5SnYtXPKJrneG.mjs} +4 -4
- package/browser/esm/DsJPi1PsaB1T96tB.mjs +106 -0
- package/browser/esm/Dtnkv-g21i8s_DmS.mjs +87 -0
- package/browser/esm/DypNzviXLejO7EFy.mjs +94 -0
- package/browser/esm/JbP9J8Lps9opfBEE.mjs +1550 -0
- package/browser/esm/{D7fA9EyCNSzQMgxg.mjs → MvwrF55lxVF8jCRR.mjs} +2 -2
- package/browser/esm/R475WpaxeXiWizBi.mjs +225 -0
- package/browser/esm/XHu8ZHNIkE6wwhdW.mjs +119 -0
- package/browser/esm/{C2Eke_9Dj_m6mtMj.mjs → XpFIJoW5f7WrDl7A.mjs} +47 -48
- package/browser/esm/_ufgBrmZqc27mJTC.mjs +242 -0
- package/browser/esm/iOjNj5iTG7nRxxjs.mjs +386 -0
- package/browser/esm/{DIGlcemS7napWyKW.mjs → iXPWuBCZoCbVaYmX.mjs} +8 -6
- package/browser/esm/index.mjs +1908 -289
- package/browser/esm/n8uT2YLiULcikick.mjs +414 -0
- package/browser/esm/oFMJAOPBUVDkFSdk.mjs +72 -0
- package/browser/esm/pCVoTlBjzq5Y0YwO.mjs +490 -0
- package/browser/esm/{iM5uEM9H4e8HGt5y.mjs → prIPxnV06vnSprPI.mjs} +3 -3
- package/licenses/dependencies.txt +113 -366
- package/node/esm/4dZy4IT0suoxZvbK.mjs +294 -0
- package/node/esm/{DVaQ6xIbKQgBk0uw.mjs → 66U7xo0GBu80pE9I.mjs} +70 -71
- package/node/esm/9Kq__XyQDKWxOU37.mjs +224 -0
- package/node/esm/{DvMAUBSQsZmIsRxi.mjs → B5izshUZ2MRDNb5s.mjs} +2 -2
- package/node/esm/{DAji2BXelmIUxioS.mjs → BCUH7DA5M8FLcqxw.mjs} +23 -23
- package/node/esm/BORgnY9dptVfd8wC.mjs +267 -0
- package/node/esm/BUqtenzZROfaeBgh.mjs +516 -0
- package/node/esm/{BJi0FlhIqCMEwROu.mjs → BYf9hvHJuKJNqqZO.mjs} +190 -141
- package/node/esm/B_07uId4kB51FCtK.mjs +972 -0
- package/node/esm/Bb5tJ1TuwZePhOI_.mjs +94 -0
- package/node/esm/BePpjuTMltMTtgmp.mjs +73 -0
- package/node/esm/Bsug_5tyxbKlPnjZ.mjs +425 -0
- package/node/esm/{CCWQ116Z67Kz78Uo.mjs → Bv3K0CqiXzYTm7CK.mjs} +33 -31
- package/node/esm/C75b6boqKp33EdpB.mjs +77 -0
- package/node/esm/CAr94CzmtttReoYz.mjs +975 -0
- package/node/esm/{DN-bhyNbuBbNB0Ky.mjs → CEQmZUAgMA3rIxe_.mjs} +3 -3
- package/node/esm/CRkzp1_dyeM1KUud.mjs +94 -0
- package/node/esm/{cJDXopFIX6f3_oi3.mjs → CaMuiNImC2zQQykf.mjs} +2 -2
- package/node/esm/CiIW_yB_qnJV5RUA.mjs +1283 -0
- package/node/esm/{C0M1VbsIRuRauUI-.mjs → CnPQj9mRZUhQycvE.mjs} +85 -97
- package/node/esm/Cv-r7t8eamR5ZFiz.mjs +197 -0
- package/node/esm/CyOrPZTUqjp45ABy.mjs +106 -0
- package/node/esm/D4ZsBsKhm6gdi5wO.mjs +519 -0
- package/node/esm/DB0nWZ9I881Gdoeo.mjs +142 -0
- package/node/esm/DJi__4aWX4wwGjnt.mjs +385 -0
- package/node/esm/DMqVb7WqCzqQX3wx.mjs +141 -0
- package/node/esm/D_3Mcts9e87EORIi.mjs +1838 -0
- package/node/esm/{BMoRatciTqOi1HkT.mjs → DoRaGvL9s79NZAYU.mjs} +21 -21
- package/node/esm/DpHH7fvV8jCBbKt5.mjs +412 -0
- package/node/esm/DxoOobdO06D16DYc.mjs +118 -0
- package/node/esm/{BoDCV8cDmFVAYtaW.mjs → Dz9GxMRQzPtOpqNo.mjs} +2 -2
- package/node/esm/Iji4gCNbD66TvfOS.mjs +391 -0
- package/node/esm/RqUCi1IOUIuPSFCu.mjs +14 -0
- package/node/esm/S1sK514tY4D0vLiA.mjs +638 -0
- package/node/esm/SNaalbjzQGIMnqPC.mjs +319 -0
- package/node/esm/{DVshSSmP5QZU7GoY.mjs → b32Mry1LI41o7I1O.mjs} +29 -29
- package/node/esm/b_lG4702kLpmFvGb.mjs +489 -0
- package/node/esm/cQkfTTXKtrzzwTj_.mjs +242 -0
- package/node/esm/index.mjs +10368 -8704
- package/node/esm/sKtXhZg7VoFWiL32.mjs +68 -0
- package/package.json +16 -19
- package/resources/contents.json +6 -0
- package/resources/locales/contents.json +14 -0
- package/resources/locales/de/groups.cmd.json +61 -10
- package/resources/locales/de/ui.msg.json +293 -17
- package/resources/locales/de/workbookAnomalies.cmd.json +14 -0
- package/resources/locales/en/groups.cmd.json +71 -11
- package/resources/locales/en/ui.msg.json +298 -17
- package/resources/locales/en/workbookAnomalies.cmd.json +14 -0
- package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +10 -4
- package/types/src/anomalies/AnomaliesCommands.d.ts +8 -0
- package/types/src/anomalies/AnomaliesMessages.d.ts +30 -0
- package/types/src/anomalies/AnomaliesPlugin.d.ts +12 -0
- package/types/src/anomalies/AnomaliesTaskPane.d.ts +17 -0
- package/types/src/anomalies/_source.d.ts +7 -0
- package/types/src/anomalies/index.d.ts +3 -0
- package/types/src/border/BorderPopupButton.d.ts +1 -1
- package/types/src/border/BorderTemplateIcon.d.ts +6 -1
- 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/ColorPopupButton.d.ts +1 -1
- package/types/src/command/AccountingStyleCommandButton.d.ts +1 -1
- package/types/src/command/ColorCommandButton.d.ts +5 -0
- package/types/src/command/DocThemeCommandButton.d.ts +1 -1
- package/types/src/command/FontFamilyCommandButton.d.ts +1 -1
- package/types/src/command/FontSizeCommandButton.d.ts +1 -1
- package/types/src/command/InsertCellControlCommandButton.d.ts +17 -0
- package/types/src/command/LanguageCommandButton.d.ts +1 -1
- package/types/src/command/LocaleCommandButton.d.ts +1 -1
- package/types/src/command/PresetCellStylesCommandButton.d.ts +3 -3
- package/types/src/command/PresetPivotStylesCommandButton.d.ts +17 -0
- package/types/src/command/SheetZoomCommandButton.d.ts +4 -3
- package/types/src/command/index.d.ts +2 -0
- 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/ConditionalFormatPlugin.d.ts +1 -1
- package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts +4 -4
- package/types/src/conditionalFormat/IconPickerPopupButton.d.ts +3 -3
- package/types/src/conditionalFormat/IconSetRulePanel.d.ts +1 -1
- package/types/src/conditions/BetweenOption.d.ts +5 -0
- package/types/src/conditions/CombinatorOption.d.ts +7 -0
- package/types/src/conditions/ConditionEditor.d.ts +55 -3
- package/types/src/conditions/ConditionUtils.d.ts +34 -6
- package/types/src/conditions/ExpressionOption.d.ts +6 -0
- package/types/src/conditions/MembershipOption.d.ts +67 -0
- package/types/src/conditions/OperatorAndParamEditor.d.ts +36 -1
- package/types/src/conditions/OperatorSelectPopupButton.d.ts +1 -1
- package/types/src/conditions/ScalarOption.d.ts +19 -0
- 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 +2 -2
- package/types/src/dataValidation/DataValidationEditorPanel.d.ts +9 -5
- package/types/src/dataValidation/DataValidationIcon.d.ts +1 -1
- package/types/src/dataValidation/DataValidationPlugin.d.ts +1 -1
- package/types/src/dialog/HyperlinkDialog.d.ts +15 -0
- package/types/src/dialog/OutlineSettingsDialog.d.ts +12 -0
- package/types/src/dialog/PivotTableNewDialog.d.ts +11 -0
- package/types/src/dialog/SparklineEditDialog.d.ts +10 -0
- package/types/src/dialog/SparklineNewDialog.d.ts +23 -0
- 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 -1
- package/types/src/externalLink/ExternalLinkSettingsTab.d.ts +1 -1
- package/types/src/externalLink/ExternalLinksPlugin.d.ts +1 -1
- package/types/src/fill/GradientEditor.d.ts +15 -13
- package/types/src/fill/GradientStopsBar.d.ts +43 -0
- package/types/src/fill/PatternPopupButton.d.ts +1 -1
- package/types/src/fill/index.d.ts +1 -0
- package/types/src/filter/ColumnMenu.d.ts +31 -1
- package/types/src/filter/PivotMenu.d.ts +31 -0
- package/types/src/filter/index.d.ts +1 -1
- package/types/src/form/FormulaField.d.ts +10 -4
- package/types/src/form/InputField.d.ts +5 -5
- package/types/src/format/AlignmentPanel.d.ts +1 -2
- package/types/src/format/BorderPreview.d.ts +33 -16
- package/types/src/format/FillPanel.d.ts +42 -2
- package/types/src/format/FormatPanelParts.d.ts +3 -1
- package/types/src/format/FormatPlugin.d.ts +1 -6
- package/types/src/format/LinePanel.d.ts +53 -0
- package/types/src/format/LinePreviews.d.ts +71 -0
- package/types/src/format/index.d.ts +1 -0
- package/types/src/format/useFormatSelection.d.ts +7 -6
- package/types/src/formulaBar/IFormulaBar.d.ts +32 -3
- package/types/src/formulaBar/MobileFormulaBar.d.ts +42 -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 -5
- package/types/src/itemsPanel/EditorCommit.d.ts +32 -0
- package/types/src/itemsPanel/EditorPanel.d.ts +1 -2
- package/types/src/itemsPanel/ItemCard.d.ts +50 -7
- package/types/src/itemsPanel/ItemsDescriptor.d.ts +13 -0
- package/types/src/itemsPanel/ItemsPanel.d.ts +5 -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 +2 -2
- package/types/src/named/NamedPlugin.d.ts +1 -1
- package/types/src/picture/PicturePlugin.d.ts +6 -0
- package/types/src/picture/index.d.ts +2 -0
- package/types/src/pivot/PivotChipMenu.d.ts +10 -0
- package/types/src/pivot/PivotPlugin.d.ts +3 -0
- package/types/src/pivot/PivotStyleCanvasPreview.d.ts +23 -0
- package/types/src/pivot/PivotTableHeader.d.ts +12 -0
- package/types/src/pivot/PivotValueSettingsDialog.d.ts +15 -0
- package/types/src/pivot/_pivotSource.d.ts +7 -0
- package/types/src/presence/PresenceOverlay.d.ts +14 -0
- package/types/src/presence/PresencePlugin.d.ts +31 -0
- package/types/src/presence/PresenceStrip.d.ts +22 -0
- package/types/src/presence/PresenceTaskPane.d.ts +13 -0
- package/types/src/presence/Timeline.d.ts +29 -0
- package/types/src/presence/index.d.ts +5 -0
- package/types/src/protection/ProtectedCellsPanel.d.ts +3 -3
- package/types/src/protection/ProtectionPlugin.d.ts +1 -1
- package/types/src/protection/{SheetProtectionPanel.d.ts → WorksheetProtectionPanel.d.ts} +6 -6
- package/types/src/protection/index.d.ts +1 -1
- package/types/src/shape/ShapeFormatPanel.d.ts +11 -0
- package/types/src/shape/ShapeGalleryCommandButton.d.ts +18 -0
- package/types/src/shape/ShapePlugin.d.ts +8 -0
- package/types/src/shape/index.d.ts +3 -0
- package/types/src/slicer/InsertSlicerCommandButton.d.ts +13 -0
- package/types/src/slicer/PresetSlicerStylesCommandButton.d.ts +12 -0
- package/types/src/slicer/SlicerPlugin.d.ts +6 -0
- package/types/src/slicer/index.d.ts +3 -0
- package/types/src/statusBar/PendingStatus.d.ts +19 -0
- package/types/src/statusBar/SheetZoomScale.d.ts +6 -0
- package/types/src/statusBar/index.d.ts +1 -0
- package/types/src/studio/CommandsWrapper.d.ts +2 -0
- package/types/src/studio/StudioCommandProvider.d.ts +7 -0
- package/types/src/studio/StudioCommands.d.ts +2 -2
- package/types/src/studio/StudioProps.d.ts +50 -22
- package/types/src/studio/StudioSplitPane.d.ts +1 -1
- package/types/src/studio/formulaBarPlacement.d.ts +35 -0
- package/types/src/studio/useStudioApp.d.ts +27 -26
- package/types/src/table/TablePlugin.d.ts +1 -1
- package/types/src/table/_drawStyleSwatch.d.ts +25 -0
- package/types/src/template/TemplateDialog.d.ts +1 -1
- package/types/src/template/TemplatePanel.d.ts +5 -1
- package/types/src/template/TemplateSearchField.d.ts +17 -1
- package/types/src/template/categoryColor.d.ts +8 -0
- package/types/src/template/useTemplateCatalog.d.ts +7 -5
- package/types/src/theme/ThemeSelectPopupButton.d.ts +1 -1
- package/types/src/toolbar/WorkbookToolbars.d.ts +2 -2
- package/types/src/workbook/DefaultRenderers.d.ts +45 -15
- 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 +5 -4
- package/types/src/workbook/WorkbookStrip.d.ts +8 -7
- package/types/src/workbook/index.d.ts +1 -1
- package/browser/cjs/3k_KqDFr-AybPztc.cjs +0 -5
- package/browser/cjs/3uprnzi2l0iT17Dg.cjs +0 -1
- package/browser/cjs/B9GcCj7sj8XdjPZF.cjs +0 -1
- package/browser/cjs/BGvoJjUs21bbuE1i.cjs +0 -1
- package/browser/cjs/BHb7TnK1NmimV4OX.cjs +0 -1
- package/browser/cjs/BJ-wdkCaXqJaejKf.cjs +0 -1
- package/browser/cjs/BNqyPYRxYISp-uEg.cjs +0 -1
- package/browser/cjs/BQJKf40kttQWOzLw.cjs +0 -20
- package/browser/cjs/BTZ5uzK0wHzpiZGC.cjs +0 -1
- package/browser/cjs/BXkdjAb4jpTr412c.cjs +0 -1
- package/browser/cjs/Bc-YisjBtD56vBAW.cjs +0 -1
- package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +0 -1
- package/browser/cjs/C97KHSuikAbr1qVM.cjs +0 -1
- package/browser/cjs/CPSc2VSYZeZ1B9mi.cjs +0 -1
- package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +0 -1
- package/browser/cjs/CdDYyAfccXme8w6m.cjs +0 -1
- package/browser/cjs/CuqM721PsKey3yMP.cjs +0 -1
- package/browser/cjs/Cy_XmYq6BsWmCXkk.cjs +0 -3
- package/browser/cjs/D948H7ell-f87BX3.cjs +0 -1
- package/browser/cjs/Dy6O3OWbDBKIj_Ak.cjs +0 -8
- package/browser/cjs/KZvriGbhEOVkQD0b.cjs +0 -1
- package/browser/cjs/M0_dvdYwhikqP9kg.cjs +0 -2
- package/browser/cjs/QI6GKw7uo1f8gY8C.cjs +0 -1
- package/browser/cjs/eCw4rAEIYE3BftpG.cjs +0 -1
- package/browser/cjs/iMWEL01eC83oU-YY.cjs +0 -1
- package/browser/cjs/index.cjs +0 -2
- package/browser/cjs/rCZbExyf1Q3aHloQ.cjs +0 -13
- package/browser/esm/894KM-_Oc5cB6ExA.mjs +0 -97
- package/browser/esm/BQSamOMBAoFdQdJe.mjs +0 -12903
- package/browser/esm/CIbDvsCeLOFHzzId.mjs +0 -152
- package/browser/esm/CyHNVjgkMYZYlJpY.mjs +0 -5315
- package/browser/esm/D8VPmFDvXDE778_x.mjs +0 -222
- package/browser/esm/DEEnXLhYlUARg6MU.mjs +0 -410
- package/browser/esm/DN4cwAPYCrtR4gS9.mjs +0 -236
- package/browser/esm/DlEshYp6NPfHxFvI.mjs +0 -115
- package/browser/esm/GmQ9XFFY3hi1L_Ej.mjs +0 -1150
- package/browser/esm/z3zkU7Jf3WJ2_Z_P.mjs +0 -52
- package/node/esm/BI8XFczUY--Db2n3.mjs +0 -98
- package/node/esm/BgxeTfCn3jZHGwd7.mjs +0 -414
- package/node/esm/C_oV7ldFStOF_fAd.mjs +0 -115
- package/node/esm/Dbv0IltYad9SQrj3.mjs +0 -236
- package/node/esm/OmUP1AfaJcOxWQAg.mjs +0 -4462
- package/types/src/conditions/DateTimeOption.d.ts +0 -43
- package/types/src/conditions/ListSourceOption.d.ts +0 -31
- package/types/src/dialog/CommentsDialog.d.ts +0 -11
- package/types/src/filter/FilterList.d.ts +0 -31
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.21
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: MIT
|
|
6
|
+
*/
|
|
7
|
+
import { t as e } from "./Iji4gCNbD66TvfOS.mjs";
|
|
8
|
+
import { PresetChip as t } from "./index.mjs";
|
|
9
|
+
import { externalBookFileName as n, externalBookLocation as r } from "@sheetxl/sdk";
|
|
10
|
+
import { DynamicIcon as a, NotifierType as i, useNotifier as l, useTranslator as s } from "@sheetxl/utils-react";
|
|
11
|
+
import { forwardRef as o, memo as d, useMemo as c, useReducer as h, useState as x } from "react";
|
|
12
|
+
import { SimpleTooltip as m } from "@sheetxl/utils-mui";
|
|
13
|
+
import { jsx as u, jsxs as g } from "react/jsx-runtime";
|
|
14
|
+
import { Box as p, Button as k, FormControl as f, FormControlLabel as b, FormLabel as y, Radio as L, RadioGroup as w, Tab as v, Tabs as S, Typography as C } from "@mui/material";
|
|
15
|
+
import { messageKey as W } from "@sheetxl/utils";
|
|
16
|
+
var E = ({ item: e }) => {
|
|
17
|
+
const t = s(), n = e.getSheetNames(), r = [];
|
|
18
|
+
let a = !1;
|
|
19
|
+
for (let t = 0; t < n.length; t++) {
|
|
20
|
+
const i = e.getSheetData(t);
|
|
21
|
+
i && (r.push(n[t]), i.refreshError && (a = !0));
|
|
22
|
+
}
|
|
23
|
+
return g(p, {
|
|
24
|
+
sx: {
|
|
25
|
+
display: "flex",
|
|
26
|
+
flexDirection: "column",
|
|
27
|
+
gap: (e) => e.spacing(.5)
|
|
28
|
+
},
|
|
29
|
+
children: [
|
|
30
|
+
u(C, {
|
|
31
|
+
variant: "caption",
|
|
32
|
+
sx: { color: "text.secondary" },
|
|
33
|
+
children: r.length > 0 ? t("externalLink.cached", { sheets: r.join(", ") }) : t("externalLink.cachedNone")
|
|
34
|
+
}),
|
|
35
|
+
a ? u(C, {
|
|
36
|
+
variant: "caption",
|
|
37
|
+
sx: { color: "error.main" },
|
|
38
|
+
children: t("externalLink.refreshError")
|
|
39
|
+
}) : null,
|
|
40
|
+
u(C, {
|
|
41
|
+
variant: "caption",
|
|
42
|
+
sx: { color: "text.secondary" },
|
|
43
|
+
children: t("externalLink.dependents", { count: e.getDependents().length })
|
|
44
|
+
})
|
|
45
|
+
]
|
|
46
|
+
});
|
|
47
|
+
}, M = d((e) => {
|
|
48
|
+
const { size: n = 28, ...r } = e, i = s();
|
|
49
|
+
return u(t, {
|
|
50
|
+
className: "sxl-external-link-chip",
|
|
51
|
+
title: i("externalLink.linkedWorkbook"),
|
|
52
|
+
sx: {
|
|
53
|
+
width: "auto",
|
|
54
|
+
minWidth: 1.7 * n + "px",
|
|
55
|
+
height: `${n}px`,
|
|
56
|
+
color: "text.secondary"
|
|
57
|
+
},
|
|
58
|
+
...r,
|
|
59
|
+
children: u(a, {
|
|
60
|
+
iconKey: "ExternalLinked",
|
|
61
|
+
size: Math.round(.7 * n)
|
|
62
|
+
})
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
M.displayName = "ExternalLinkChip";
|
|
66
|
+
var N = ({ item: e }) => {
|
|
67
|
+
const t = r(e);
|
|
68
|
+
if (!t) return null;
|
|
69
|
+
const n = Math.max(t.lastIndexOf("/"), t.lastIndexOf("\\")), a = -1 === n ? "" : t.substring(0, n + 1), i = -1 === n ? t : t.substring(n + 1);
|
|
70
|
+
return u(m, {
|
|
71
|
+
title: t,
|
|
72
|
+
children: g(p, {
|
|
73
|
+
className: "sxl-external-link-location",
|
|
74
|
+
sx: {
|
|
75
|
+
display: "flex",
|
|
76
|
+
alignItems: "baseline",
|
|
77
|
+
minWidth: 0,
|
|
78
|
+
typography: "subtitle2",
|
|
79
|
+
fontWeight: 600
|
|
80
|
+
},
|
|
81
|
+
children: [a ? u(C, {
|
|
82
|
+
variant: "subtitle2",
|
|
83
|
+
sx: {
|
|
84
|
+
fontWeight: 600,
|
|
85
|
+
minWidth: 0,
|
|
86
|
+
overflow: "hidden",
|
|
87
|
+
textOverflow: "ellipsis",
|
|
88
|
+
whiteSpace: "nowrap"
|
|
89
|
+
},
|
|
90
|
+
children: a
|
|
91
|
+
}) : null, u(C, {
|
|
92
|
+
variant: "subtitle2",
|
|
93
|
+
sx: {
|
|
94
|
+
fontWeight: 600,
|
|
95
|
+
flex: "0 0 auto",
|
|
96
|
+
whiteSpace: "nowrap"
|
|
97
|
+
},
|
|
98
|
+
children: i
|
|
99
|
+
})]
|
|
100
|
+
})
|
|
101
|
+
});
|
|
102
|
+
}, A = d(o((t, r) => {
|
|
103
|
+
const { workbook: a, ...o } = t, d = s(), h = l(), x = c(() => ({
|
|
104
|
+
key: "external-link",
|
|
105
|
+
messageKeys: {
|
|
106
|
+
none: W("externalLink.none"),
|
|
107
|
+
delete: W("externalLink.breakLink"),
|
|
108
|
+
search: W("externalLink.search"),
|
|
109
|
+
clearSearch: W("externalLink.clearSearch"),
|
|
110
|
+
noMatches: W("externalLink.noMatches")
|
|
111
|
+
},
|
|
112
|
+
getItems: (e) => e.getExternalBooks().getItems(),
|
|
113
|
+
subscribe: (e, t) => {
|
|
114
|
+
const n = e.getExternalBooks().addListeners({ onCollectionChange: () => t.onChange() }, { transactional: !1 }), r = e.getCalculation().addListeners({ onComplete: () => t.onChange() }, { transactional: !1 }), a = e.addListeners({ onProtectionChange: () => t.onChange() }, { transactional: !1 });
|
|
115
|
+
return () => {
|
|
116
|
+
n?.(), r?.(), a?.();
|
|
117
|
+
};
|
|
118
|
+
},
|
|
119
|
+
isReadOnly: (e) => !e.getProtection().isStructureAllowed(),
|
|
120
|
+
getItemKey: (e) => e.getId(),
|
|
121
|
+
delete: (e, t) => {
|
|
122
|
+
e.breakLink();
|
|
123
|
+
},
|
|
124
|
+
getSearchText: (e) => [
|
|
125
|
+
n(e),
|
|
126
|
+
e.getDisplayName(),
|
|
127
|
+
...e.getSheetNames(),
|
|
128
|
+
...e.getSources().map((e) => e.target)
|
|
129
|
+
].join("\n"),
|
|
130
|
+
CardMedia: () => u(M, { size: 32 }),
|
|
131
|
+
getCardTitle: (e) => n(e),
|
|
132
|
+
CardSubtitle: N,
|
|
133
|
+
CardBody: (e) => u(E, { ...e })
|
|
134
|
+
}), []), m = !a.getProtection().isStructureAllowed(), f = a.getExternalBooks().getCount() > 0, b = c(() => {
|
|
135
|
+
const e = {
|
|
136
|
+
flex: "0 0 auto",
|
|
137
|
+
textTransform: "none",
|
|
138
|
+
whiteSpace: "nowrap"
|
|
139
|
+
};
|
|
140
|
+
return g(p, {
|
|
141
|
+
sx: {
|
|
142
|
+
display: "flex",
|
|
143
|
+
gap: .5,
|
|
144
|
+
flex: "0 0 auto"
|
|
145
|
+
},
|
|
146
|
+
children: [u(k, {
|
|
147
|
+
size: "small",
|
|
148
|
+
disabled: m || !f,
|
|
149
|
+
sx: e,
|
|
150
|
+
onClick: () => {
|
|
151
|
+
a.getExternalBooks().refreshAll().then((e) => {
|
|
152
|
+
const t = {
|
|
153
|
+
refreshed: 0,
|
|
154
|
+
failed: 0,
|
|
155
|
+
unavailable: 0
|
|
156
|
+
};
|
|
157
|
+
for (const n of e) t[n.status]++;
|
|
158
|
+
0 === t.refreshed && 0 === t.failed ? h.showMessage?.(d("externalLink.refreshUnavailable"), { type: i.Warning }) : h.showMessage?.(d("externalLink.refreshSummary", t), { type: t.failed ? i.Warning : i.Info });
|
|
159
|
+
}, (e) => {
|
|
160
|
+
h.showMessage?.(e.message, { type: i.Error });
|
|
161
|
+
});
|
|
162
|
+
},
|
|
163
|
+
children: d("externalLink.refreshAll")
|
|
164
|
+
}), u(k, {
|
|
165
|
+
size: "small",
|
|
166
|
+
disabled: m || !f,
|
|
167
|
+
sx: e,
|
|
168
|
+
onClick: () => {
|
|
169
|
+
try {
|
|
170
|
+
a.getExternalBooks().breakAll();
|
|
171
|
+
} catch (e) {
|
|
172
|
+
h.showMessage?.(e.message, { type: i.Error });
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
children: d("externalLink.breakAll")
|
|
176
|
+
})]
|
|
177
|
+
});
|
|
178
|
+
}, [
|
|
179
|
+
a,
|
|
180
|
+
m,
|
|
181
|
+
f,
|
|
182
|
+
h,
|
|
183
|
+
d
|
|
184
|
+
]);
|
|
185
|
+
return u(e, {
|
|
186
|
+
ref: r,
|
|
187
|
+
workbook: a,
|
|
188
|
+
descriptor: x,
|
|
189
|
+
headerActions: b,
|
|
190
|
+
...o
|
|
191
|
+
});
|
|
192
|
+
}));
|
|
193
|
+
A.displayName = "ExternalLinksPanel";
|
|
194
|
+
var I = [
|
|
195
|
+
"userSet",
|
|
196
|
+
"always",
|
|
197
|
+
"never"
|
|
198
|
+
], T = {
|
|
199
|
+
userSet: W("externalLink.updateLinks.userSet"),
|
|
200
|
+
always: W("externalLink.updateLinks.always"),
|
|
201
|
+
never: W("externalLink.updateLinks.never")
|
|
202
|
+
}, z = d(o((e, t) => {
|
|
203
|
+
const { workbook: n, ...r } = e, a = s(), [i, l] = h((e) => e + 1, 0), o = n.getUpdateLinks() ?? "userSet", d = !n.getProtection().isStructureAllowed();
|
|
204
|
+
return g(p, {
|
|
205
|
+
ref: t,
|
|
206
|
+
...r,
|
|
207
|
+
sx: {
|
|
208
|
+
display: "flex",
|
|
209
|
+
flexDirection: "column",
|
|
210
|
+
boxSizing: "border-box",
|
|
211
|
+
gap: (e) => e.spacing(1.5),
|
|
212
|
+
padding: (e) => e.spacing(1.5),
|
|
213
|
+
overflowX: "hidden",
|
|
214
|
+
overflowY: "auto"
|
|
215
|
+
},
|
|
216
|
+
children: [g(f, {
|
|
217
|
+
disabled: d,
|
|
218
|
+
children: [u(y, {
|
|
219
|
+
sx: { typography: "body2" },
|
|
220
|
+
children: a("externalLink.updateLinks.label")
|
|
221
|
+
}), u(w, {
|
|
222
|
+
value: o,
|
|
223
|
+
onChange: (e, t) => {
|
|
224
|
+
n.setUpdateLinks(t), l();
|
|
225
|
+
},
|
|
226
|
+
children: I.map((e) => u(b, {
|
|
227
|
+
value: e,
|
|
228
|
+
control: u(L, { size: "small" }),
|
|
229
|
+
label: u(C, {
|
|
230
|
+
variant: "body2",
|
|
231
|
+
children: a(T[e])
|
|
232
|
+
})
|
|
233
|
+
}, e))
|
|
234
|
+
})]
|
|
235
|
+
}), u(C, {
|
|
236
|
+
variant: "caption",
|
|
237
|
+
sx: { color: "text.secondary" },
|
|
238
|
+
children: a("externalLink.updateLinks.note")
|
|
239
|
+
})]
|
|
240
|
+
});
|
|
241
|
+
}));
|
|
242
|
+
z.displayName = "ExternalLinkSettingsTab";
|
|
243
|
+
var B = {
|
|
244
|
+
links: W("externalLink.tab.links"),
|
|
245
|
+
settings: W("externalLink.tab.settings")
|
|
246
|
+
}, D = Object.keys(B), j = (e) => D.includes(e) ? e : null, H = d((e) => {
|
|
247
|
+
const { model: t, args: n, defaultTab: r = "links", entryKey: a, frame: i, ref: l, ...o } = e, d = s(), [c, h] = x(() => j(n?.tab) ?? r), [m, k] = x(n);
|
|
248
|
+
if (n !== m) {
|
|
249
|
+
k(n);
|
|
250
|
+
const e = j(n?.tab);
|
|
251
|
+
e && h(e);
|
|
252
|
+
}
|
|
253
|
+
return t ? g(p, {
|
|
254
|
+
ref: l,
|
|
255
|
+
...o,
|
|
256
|
+
sx: {
|
|
257
|
+
display: "flex",
|
|
258
|
+
flexDirection: "column",
|
|
259
|
+
width: "100%",
|
|
260
|
+
minWidth: 0,
|
|
261
|
+
flex: "1 1 auto",
|
|
262
|
+
height: "100%",
|
|
263
|
+
minHeight: 0,
|
|
264
|
+
overflowX: "hidden"
|
|
265
|
+
},
|
|
266
|
+
children: [u(S, {
|
|
267
|
+
value: c,
|
|
268
|
+
onChange: (e, t) => h(t),
|
|
269
|
+
variant: "fullWidth",
|
|
270
|
+
sx: {
|
|
271
|
+
width: "100%",
|
|
272
|
+
flex: "0 0 auto",
|
|
273
|
+
minHeight: "36px",
|
|
274
|
+
borderBottom: 1,
|
|
275
|
+
borderColor: "divider",
|
|
276
|
+
"& .MuiTab-root": {
|
|
277
|
+
minHeight: "36px",
|
|
278
|
+
textTransform: "none",
|
|
279
|
+
pt: .5,
|
|
280
|
+
pb: .5,
|
|
281
|
+
px: .5,
|
|
282
|
+
minWidth: 0
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
children: D.map((e) => u(v, {
|
|
286
|
+
value: e,
|
|
287
|
+
label: d(B[e])
|
|
288
|
+
}, e))
|
|
289
|
+
}), g(p, {
|
|
290
|
+
sx: {
|
|
291
|
+
flex: "1 1 auto",
|
|
292
|
+
minHeight: 0,
|
|
293
|
+
minWidth: 0,
|
|
294
|
+
width: "100%",
|
|
295
|
+
display: "flex",
|
|
296
|
+
flexDirection: "column"
|
|
297
|
+
},
|
|
298
|
+
children: ["links" === c ? u(A, {
|
|
299
|
+
workbook: t,
|
|
300
|
+
style: {
|
|
301
|
+
flex: "1 1 auto",
|
|
302
|
+
minHeight: 0,
|
|
303
|
+
minWidth: 0,
|
|
304
|
+
width: "100%"
|
|
305
|
+
}
|
|
306
|
+
}) : null, "settings" === c ? u(z, {
|
|
307
|
+
workbook: t,
|
|
308
|
+
style: {
|
|
309
|
+
flex: "1 1 auto",
|
|
310
|
+
minHeight: 0,
|
|
311
|
+
minWidth: 0,
|
|
312
|
+
width: "100%"
|
|
313
|
+
}
|
|
314
|
+
}) : null]
|
|
315
|
+
})]
|
|
316
|
+
}) : null;
|
|
317
|
+
});
|
|
318
|
+
H.displayName = "ExternalLinksTaskPane";
|
|
319
|
+
export { H as ExternalLinksTaskPane, H as default };
|
|
@@ -1,16 +1,16 @@
|
|
|
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.21
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import {
|
|
7
|
+
import { n as e, r as t, t as r } from "./DB0nWZ9I881Gdoeo.mjs";
|
|
8
8
|
import { IRange as o, ISort as n, Sort as i } from "@sheetxl/sdk";
|
|
9
9
|
import { DynamicIcon as l, useCallbackRef as s, useTranslator as a } from "@sheetxl/utils-react";
|
|
10
10
|
import { memo as d, useMemo as c, useRef as p, useState as h } from "react";
|
|
11
11
|
import { OptionsDialog as u, SimpleTooltip as x } from "@sheetxl/utils-mui";
|
|
12
12
|
import { jsx as f, jsxs as m } from "react/jsx-runtime";
|
|
13
|
-
import { Box as g, Checkbox as v, FormControl as b, FormControlLabel as y, IconButton as
|
|
13
|
+
import { Box as g, Checkbox as v, FormControl as b, FormControlLabel as y, IconButton as C, InputLabel as S, MenuItem as w, Select as k, Typography as O } from "@mui/material";
|
|
14
14
|
var L = {
|
|
15
15
|
width: "64px",
|
|
16
16
|
flex: "0 0 auto"
|
|
@@ -46,8 +46,8 @@ var L = {
|
|
|
46
46
|
let t = e, r = "";
|
|
47
47
|
for (; t >= 0;) r = String.fromCharCode(65 + t % 26) + r, t = Math.floor(t / 26) - 1;
|
|
48
48
|
return r;
|
|
49
|
-
}, F = 0, B = () => "level-" + F++, M = (e) => e?.sensitivity === i.CaseSensitiveOptions.sensitivity,
|
|
50
|
-
const { initialValue: d, context: F, onInput:
|
|
49
|
+
}, F = 0, B = () => "level-" + F++, M = (e) => e?.sensitivity === i.CaseSensitiveOptions.sensitivity, W = d((n) => {
|
|
50
|
+
const { initialValue: d, context: F, onInput: W, onDone: $, ...j } = n, A = a(), U = p(F?.()), V = U.current?.range, K = U.current?.cell, [G, Y] = h(() => ({
|
|
51
51
|
...i.DefaultRangeOptions,
|
|
52
52
|
...d
|
|
53
53
|
})), [q, J] = h(() => {
|
|
@@ -63,14 +63,14 @@ var L = {
|
|
|
63
63
|
criteria: {}
|
|
64
64
|
}), t;
|
|
65
65
|
}), P = G.axis ?? o.Axis.Row, Q = P === o.Axis.Row, X = p(null), Z = p(!1);
|
|
66
|
-
|
|
66
|
+
t(X, !0, Z);
|
|
67
67
|
const _ = c(() => {
|
|
68
68
|
const e = [], t = [], r = V?.getDefaultSortCriteria(P, K);
|
|
69
69
|
if (!r) return {
|
|
70
70
|
labels: e,
|
|
71
71
|
offsets: t
|
|
72
72
|
};
|
|
73
|
-
const o = V.
|
|
73
|
+
const o = V.getWorksheet(), n = r.coords, i = o.getRange(n).getUsedRange({ features: [] })?.getCoords();
|
|
74
74
|
if (!i) return {
|
|
75
75
|
labels: e,
|
|
76
76
|
offsets: t
|
|
@@ -162,12 +162,12 @@ var L = {
|
|
|
162
162
|
sorts: e
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
|
-
|
|
165
|
+
W?.(t), $?.(t);
|
|
166
166
|
}, [
|
|
167
167
|
q,
|
|
168
168
|
G,
|
|
169
169
|
$,
|
|
170
|
-
|
|
170
|
+
W,
|
|
171
171
|
d
|
|
172
172
|
]), ie = c(() => q.map((e) => e.key), [q]);
|
|
173
173
|
return f(u, {
|
|
@@ -245,22 +245,22 @@ var L = {
|
|
|
245
245
|
ids: ie,
|
|
246
246
|
scrollRef: X,
|
|
247
247
|
onMove: (e, t) => oe(e, t, !0),
|
|
248
|
-
children: q.map((e,
|
|
248
|
+
children: q.map((e, t) => f(r, {
|
|
249
249
|
id: e.key,
|
|
250
250
|
disabled: q.length <= 1,
|
|
251
|
-
children: f(
|
|
251
|
+
children: f(T, {
|
|
252
252
|
level: e,
|
|
253
|
-
position:
|
|
253
|
+
position: t,
|
|
254
254
|
count: q.length,
|
|
255
255
|
fields: _,
|
|
256
256
|
labelForField: ee,
|
|
257
257
|
isRowSort: Q,
|
|
258
258
|
onChange: re,
|
|
259
|
-
onMoveBy: (e) => oe(
|
|
259
|
+
onMoveBy: (e) => oe(t, t + e, !1),
|
|
260
260
|
onDuplicate: () => {
|
|
261
|
-
J((
|
|
262
|
-
const o = [...
|
|
263
|
-
return o.splice(
|
|
261
|
+
J((r) => {
|
|
262
|
+
const o = [...r];
|
|
263
|
+
return o.splice(t + 1, 0, {
|
|
264
264
|
...e,
|
|
265
265
|
key: B(),
|
|
266
266
|
criteria: { ...e.criteria }
|
|
@@ -288,7 +288,7 @@ var L = {
|
|
|
288
288
|
}), f(x, {
|
|
289
289
|
disableInteractive: !0,
|
|
290
290
|
title: A("sort.addLevel"),
|
|
291
|
-
children: f(
|
|
291
|
+
children: f(C, {
|
|
292
292
|
size: "small",
|
|
293
293
|
className: "sxl-sort-addLevel",
|
|
294
294
|
"aria-label": A("sort.addLevel"),
|
|
@@ -361,7 +361,7 @@ var L = {
|
|
|
361
361
|
m(b, {
|
|
362
362
|
size: "small",
|
|
363
363
|
sx: { minWidth: "180px" },
|
|
364
|
-
children: [f(
|
|
364
|
+
children: [f(S, {
|
|
365
365
|
id: "sxl-sort-orientation-label",
|
|
366
366
|
children: A("sort.orientation")
|
|
367
367
|
}), m(k, {
|
|
@@ -391,8 +391,8 @@ var L = {
|
|
|
391
391
|
]
|
|
392
392
|
})
|
|
393
393
|
});
|
|
394
|
-
}),
|
|
395
|
-
const { level: t, position: r, count: o, fields: i, labelForField: s, isRowSort: d, onChange: p, onMoveBy: h, onDuplicate: u, onDelete: v } = e, b = a(), y = t.criteria.sortOn ?? n.SortOn.Value,
|
|
394
|
+
}), T = d((e) => {
|
|
395
|
+
const { level: t, position: r, count: o, fields: i, labelForField: s, isRowSort: d, onChange: p, onMoveBy: h, onDuplicate: u, onDelete: v } = e, b = a(), y = t.criteria.sortOn ?? n.SortOn.Value, S = !!t.criteria.reverse, E = c(() => {
|
|
396
396
|
const e = i.offsets.map((e, t) => ({
|
|
397
397
|
offset: e,
|
|
398
398
|
label: i.labels[t]
|
|
@@ -408,7 +408,7 @@ var L = {
|
|
|
408
408
|
]), N = (e, t, r, o, n) => f(x, {
|
|
409
409
|
disableInteractive: !0,
|
|
410
410
|
title: e,
|
|
411
|
-
children: f("div", { children: f(
|
|
411
|
+
children: f("div", { children: f(C, {
|
|
412
412
|
size: "small",
|
|
413
413
|
className: `sxl-sort-${t}`,
|
|
414
414
|
"aria-label": e,
|
|
@@ -509,16 +509,16 @@ var L = {
|
|
|
509
509
|
sx: R,
|
|
510
510
|
children: f(x, {
|
|
511
511
|
disableInteractive: !0,
|
|
512
|
-
title: b(
|
|
513
|
-
children: f(
|
|
512
|
+
title: b(S ? "sort.descending" : "sort.ascending"),
|
|
513
|
+
children: f(C, {
|
|
514
514
|
size: "small",
|
|
515
515
|
className: "sxl-sort-order",
|
|
516
|
-
"aria-label": b(
|
|
516
|
+
"aria-label": b(S ? "sort.descending" : "sort.ascending"),
|
|
517
517
|
onClick: () => p(t.key, { criteria: {
|
|
518
518
|
...t.criteria,
|
|
519
|
-
reverse: !
|
|
519
|
+
reverse: !S
|
|
520
520
|
} }),
|
|
521
|
-
children: f(l, { iconKey:
|
|
521
|
+
children: f(l, { iconKey: S ? "SortDecrease" : "SortIncrease" })
|
|
522
522
|
})
|
|
523
523
|
})
|
|
524
524
|
}),
|
|
@@ -540,5 +540,5 @@ var L = {
|
|
|
540
540
|
]
|
|
541
541
|
});
|
|
542
542
|
});
|
|
543
|
-
|
|
544
|
-
export {
|
|
543
|
+
T.displayName = "SortLevelCard";
|
|
544
|
+
export { W as SortDialog, W as default };
|