@sheetxl/studio-mui 0.7.28-beta.4 → 0.8.0-beta.10
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/{Drbpg4A9TaJUZd5A.mjs → 5cbK03T_Oh3tNdR7.mjs} +7 -5
- package/browser/esm/{GCJRjX28QYfxi-Lg.mjs → 9eKCkvqpMQwqcXiw.mjs} +1 -1
- package/browser/esm/B1Yp_uy1vFHcJB3U.mjs +13 -0
- package/browser/esm/Biy7bhzzzPb5sfRN.mjs +152 -0
- package/browser/esm/Blaj2R5hYxtLAW__.mjs +117 -0
- package/browser/esm/{CVxEcB8lAnOQ-oPh.mjs → ByeL_BZuJ2kl8gtf.mjs} +46 -47
- package/browser/esm/{BLjxQ1NUjmULb00s.mjs → C1Rp2hZrApo5MUc8.mjs} +2 -2
- package/browser/esm/{C7WFuxTBA8MWoOQj.mjs → CEvZe2cZK-voZTif.mjs} +5 -5
- package/browser/esm/{RbGJTMzxMTlkFlTq.mjs → CIu1bjPJe_x31Oww.mjs} +195 -174
- package/browser/esm/COv-m-c2byCgvU3M.mjs +14861 -0
- package/browser/esm/CjznclrKqJRi7u9O.mjs +77 -0
- package/browser/esm/{DoOWIBDSfgrvMmNO.mjs → CoSiOS-og0zFw4Ws.mjs} +587 -556
- package/browser/esm/{6GrWBX-cyxTRJerw.mjs → CtEFHbzYNvYjDYvi.mjs} +7 -7
- package/browser/esm/D6S8kVTzOjCn0-SK.mjs +627 -0
- package/browser/esm/{BVC0iuc28yuEcyua.mjs → D8al_cJ4U-NgzwoK.mjs} +1 -1
- package/browser/esm/DBtc4lku0uHVcqWn.mjs +71 -0
- package/browser/esm/{CDyYtk9WscSzj5I5.mjs → DHY19rkSiiRZxShC.mjs} +130 -103
- package/browser/esm/{DdbgnOWM0tle1jeT.mjs → DU3J8Gcf-WpBxNYg.mjs} +11 -10
- package/browser/esm/Die9NXVFveHvcCT-.mjs +4205 -0
- package/browser/esm/{CccE_2DTbTMNIfQM.mjs → DmCQbW4zwkT_Rq88.mjs} +1 -1
- package/browser/esm/IQLeaAbtGTipUsOD.mjs +516 -0
- package/browser/esm/{DhMl3LbgjdX8Nz7b.mjs → X1Db3b_7b_7OuCk6.mjs} +178 -129
- package/browser/esm/fb126BNj3F8URR19.mjs +225 -0
- package/browser/esm/index.mjs +418 -135
- package/browser/esm/sFOAxZpxXo-qvDSp.mjs +293 -0
- package/browser/esm/sam1KGQZ59B_fADz.mjs +1941 -0
- package/browser/esm/xKiLJKiLxto8SayF.mjs +256 -0
- package/browser/esm/yZxC4qUENOlMhVUH.mjs +68 -0
- package/licenses/dependencies.txt +58 -311
- package/node/esm/B8SQfjKjzYHLxzZR.mjs +632 -0
- package/node/esm/{CgA8rdWVZEpIUpsM.mjs → BYVLi0md4AYuDsB_.mjs} +1 -1
- package/node/esm/BYsG3KYVmxSe_CIQ.mjs +294 -0
- package/node/esm/BYwXhrEwkRAt9nJS.mjs +71 -0
- package/node/esm/B_jRGdwGFkudwmL-.mjs +68 -0
- package/node/esm/Bb1sLMqXWKjdve23.mjs +77 -0
- package/node/esm/{ELTc6e1FF88hBAev.mjs → BcwMb6CyVfvEwbHn.mjs} +69 -70
- package/node/esm/{DYlYrd0A73WoQQgM.mjs → CKu1AtRgyltyEdEN.mjs} +1 -1
- package/node/esm/Cmt8Wv806N7NmE4Y.mjs +3344 -0
- package/node/esm/{6PuhMTJrzLciGI0Z.mjs → D6oQL8knsPpgdXuk.mjs} +2 -2
- package/node/esm/{BxTFDoMd-nowfxfb.mjs → D9rzScOA9pEYFrtz.mjs} +1 -1
- package/node/esm/DNSjK5DAH3M14Qbc.mjs +521 -0
- package/node/esm/{C2HawKeialuFRR9r.mjs → DZzvTQxIKr9LbEsA.mjs} +1 -1
- package/node/esm/{uJOy7zjNtP0IqGoa.mjs → ETK6T6G0SIcFXDe5.mjs} +163 -135
- package/node/esm/ah3CUg4-VmNstGk_.mjs +256 -0
- package/node/esm/{DPhvWXmDun8bC0_v.mjs → ci8d-mF1H9wnYzix.mjs} +1 -1
- package/node/esm/cqzp431iNSLWictb.mjs +116 -0
- package/node/esm/index.mjs +14783 -6793
- 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 +350 -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 +306 -40
- package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +17 -1
- 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/border/BorderPopupButton.d.ts +6 -6
- package/types/src/border/BorderStylePopupButton.d.ts +3 -3
- package/types/src/border/BorderTemplateIcon.d.ts +24 -0
- package/types/src/border/index.d.ts +1 -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/_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 +94 -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 +21 -0
- package/types/src/formulaBar/MobileInputToolbar.d.ts +37 -0
- package/types/src/formulaBar/index.d.ts +3 -0
- package/types/src/formulaBar/useFormulaBarSession.d.ts +65 -0
- package/types/src/index.d.ts +7 -1
- 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/SheetProtectionPanel.d.ts +35 -0
- package/types/src/protection/WorkbookProtectionPanel.d.ts +34 -15
- package/types/src/protection/WorkbookProtectionTab.d.ts +22 -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 +15 -1
- package/types/src/workbook/FillMenu.d.ts +21 -0
- package/types/src/workbook/OutlineButtons.d.ts +11 -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/6seXVm4fUaBp34tP.mjs +0 -217
- package/browser/esm/C1PiodbCgkhztxU5.mjs +0 -411
- package/browser/esm/C5XQW-A03GP8EZ3s.mjs +0 -52
- package/browser/esm/CZGRaL9mjYTo8fAd.mjs +0 -105
- package/browser/esm/DTWkitCkayiinpgU.mjs +0 -219
- package/browser/esm/DbHn3Fq4gYggsoXV.mjs +0 -5429
- package/browser/esm/DxBsD4nDbg_OWhYG.mjs +0 -47
- package/browser/esm/HZXAXZqrC43FBvGk.mjs +0 -82
- package/browser/esm/dgkVCh7lmm1Twqmo.mjs +0 -9257
- package/browser/esm/l5BsxVQszkPy_n34.mjs +0 -1150
- package/node/esm/-9Hcp_VKJtR9fWlC.mjs +0 -470
- package/node/esm/B-3Ypi8akR-GxIpw.mjs +0 -82
- package/node/esm/CbhFnQCOA5TjhFB1.mjs +0 -106
- package/node/esm/CxqL51jVpIL4ncWW.mjs +0 -47
- package/node/esm/D-x3LVzppkKf5be_.mjs +0 -4575
- 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,104 +1,131 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.10
|
|
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
|
-
import {
|
|
7
|
+
import { D as e, E as t, O as r } from "./index.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
|
-
import { memo as d, useMemo as c, useRef as p, useState as
|
|
11
|
-
import { OptionsDialog as
|
|
12
|
-
import { jsx as
|
|
13
|
-
import { Box as
|
|
10
|
+
import { memo as d, useMemo as c, useRef as p, useState as h } from "react";
|
|
11
|
+
import { OptionsDialog as u, SimpleTooltip as x } from "@sheetxl/utils-mui";
|
|
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 S, InputLabel as C, MenuItem as w, Select as O, Typography as k } from "@mui/material";
|
|
14
14
|
var L = {
|
|
15
15
|
width: "64px",
|
|
16
16
|
flex: "0 0 auto"
|
|
17
17
|
}, D = {
|
|
18
18
|
flex: "1 1 0",
|
|
19
19
|
minWidth: "120px"
|
|
20
|
-
},
|
|
20
|
+
}, H = {
|
|
21
21
|
flex: "1 1 0",
|
|
22
22
|
minWidth: "140px"
|
|
23
|
-
},
|
|
23
|
+
}, R = {
|
|
24
24
|
width: "34px",
|
|
25
25
|
flex: "0 0 auto",
|
|
26
26
|
display: "flex",
|
|
27
27
|
justifyContent: "center"
|
|
28
|
-
},
|
|
28
|
+
}, I = {
|
|
29
29
|
minWidth: "112px",
|
|
30
30
|
flex: "0 0 auto",
|
|
31
31
|
display: "flex",
|
|
32
32
|
alignItems: "center",
|
|
33
33
|
justifyContent: "flex-end"
|
|
34
|
-
},
|
|
34
|
+
}, E = {
|
|
35
35
|
color: (e) => e.palette.text.secondary,
|
|
36
36
|
fontWeight: 500,
|
|
37
37
|
paddingLeft: "14px"
|
|
38
|
-
},
|
|
38
|
+
}, z = {
|
|
39
39
|
display: "flex",
|
|
40
40
|
alignItems: "center",
|
|
41
41
|
gap: (e) => e.spacing(1),
|
|
42
42
|
padding: (e) => e.spacing(.75, 1),
|
|
43
43
|
border: (e) => `1px solid ${e.palette.divider}`,
|
|
44
44
|
borderRadius: (e) => e.spacing(1.25)
|
|
45
|
-
},
|
|
45
|
+
}, N = (e) => {
|
|
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
|
-
},
|
|
50
|
-
const { initialValue: d, context:
|
|
49
|
+
}, F = 0, B = () => "level-" + F++, M = (e) => e?.sensitivity === i.CaseSensitiveOptions.sensitivity, T = d((n) => {
|
|
50
|
+
const { initialValue: d, context: F, onInput: T, 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
|
-
})), [q, J] =
|
|
53
|
+
})), [q, J] = h(() => {
|
|
54
54
|
const e = d?.sorts ?? [], t = [];
|
|
55
55
|
for (let r = 0; r < e.length; r++) t.push({
|
|
56
|
-
key:
|
|
56
|
+
key: B(),
|
|
57
57
|
index: e[r].index ?? r,
|
|
58
58
|
criteria: { ...e[r].criteria }
|
|
59
59
|
});
|
|
60
60
|
return 0 === t.length && t.push({
|
|
61
|
-
key:
|
|
61
|
+
key: B(),
|
|
62
62
|
index: 0,
|
|
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
|
+
r(X, !0, Z);
|
|
67
67
|
const _ = c(() => {
|
|
68
|
-
const e = [], t = [], r =
|
|
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 =
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
const o = V.getSheet(), n = r.coords, i = o.getRange(n).getUsedRange({ features: [] })?.getCoords();
|
|
74
|
+
if (!i) return {
|
|
75
|
+
labels: e,
|
|
76
|
+
offsets: t
|
|
77
|
+
};
|
|
78
|
+
const l = Q ? n.colStart : n.rowStart, s = Q ? i.colEnd : i.rowEnd, a = Q ? o.getRange(n).getColumnHeaders() : o.getRange(n).getRowHeaders(), d = !!G.includeHidden, c = (e) => {
|
|
79
|
+
if (!d && a.at(e - l).isHidden()) return !1;
|
|
80
|
+
const t = Q ? {
|
|
81
|
+
colStart: e,
|
|
82
|
+
colEnd: e,
|
|
83
|
+
rowStart: n.rowStart,
|
|
84
|
+
rowEnd: i.rowEnd
|
|
85
|
+
} : {
|
|
86
|
+
rowStart: e,
|
|
87
|
+
rowEnd: e,
|
|
88
|
+
colStart: n.colStart,
|
|
89
|
+
colEnd: i.colEnd
|
|
90
|
+
};
|
|
91
|
+
return !!o.getRange(t).forEach(() => ({ break: !0 }), { features: [] });
|
|
92
|
+
}, p = l + (r.options.sorts?.[0]?.index ?? 0), h = [];
|
|
93
|
+
let u = Math.min(p, s), x = u + 1, f = !0;
|
|
94
|
+
for (; h.length < 500;) {
|
|
95
|
+
const e = u >= l, t = x <= s;
|
|
96
|
+
if (!e && !t) break;
|
|
97
|
+
!e || !f && t ? (c(x) && (h.push(x), f = !0), x++) : (c(u) && (h.push(u), f = !1), u--);
|
|
98
|
+
}
|
|
99
|
+
h.sort((e, t) => e - t);
|
|
100
|
+
for (let o = 0; o < h.length; o++) {
|
|
101
|
+
const i = h[o] - l, s = G.hasHeader ? r.headers?.get(i) : void 0;
|
|
102
|
+
t.push(i), e.push(s || (Q ? A("sort.columnLabel", { name: N(n.colStart + i) }) : A("sort.rowLabel", { name: `${n.rowStart + i + 1}` })));
|
|
77
103
|
}
|
|
78
104
|
return {
|
|
79
105
|
labels: e,
|
|
80
106
|
offsets: t
|
|
81
107
|
};
|
|
82
108
|
}, [
|
|
109
|
+
V,
|
|
83
110
|
K,
|
|
84
|
-
U,
|
|
85
111
|
P,
|
|
86
112
|
Q,
|
|
87
113
|
G.hasHeader,
|
|
88
|
-
|
|
114
|
+
G.includeHidden,
|
|
115
|
+
A
|
|
89
116
|
]), ee = s((e) => {
|
|
90
117
|
const t = _.offsets.indexOf(e);
|
|
91
|
-
return -1 !== t ? _.labels[t] : Q ?
|
|
118
|
+
return -1 !== t ? _.labels[t] : Q ? A("sort.columnLabel", { name: N(e) }) : A("sort.rowLabel", { name: `${e + 1}` });
|
|
92
119
|
}, [
|
|
93
120
|
_,
|
|
94
121
|
Q,
|
|
95
|
-
|
|
122
|
+
A
|
|
96
123
|
]), te = c(() => {
|
|
97
124
|
const e = _.offsets.length;
|
|
98
|
-
if (e > 0 && q.length > e) return
|
|
125
|
+
if (e > 0 && q.length > e) return A("sort.tooManyLevels", { count: `${e}` });
|
|
99
126
|
const t = /* @__PURE__ */ new Set();
|
|
100
127
|
for (let e = 0; e < q.length; e++) {
|
|
101
|
-
if (t.has(q[e].index)) return
|
|
128
|
+
if (t.has(q[e].index)) return A("sort.duplicateField", { name: ee(q[e].index) });
|
|
102
129
|
t.add(q[e].index);
|
|
103
130
|
}
|
|
104
131
|
return null;
|
|
@@ -106,7 +133,7 @@ var L = {
|
|
|
106
133
|
q,
|
|
107
134
|
_,
|
|
108
135
|
ee,
|
|
109
|
-
|
|
136
|
+
A
|
|
110
137
|
]), re = s((e, t) => {
|
|
111
138
|
J((r) => r.map((r) => r.key === e ? {
|
|
112
139
|
...r,
|
|
@@ -135,24 +162,24 @@ var L = {
|
|
|
135
162
|
sorts: e
|
|
136
163
|
};
|
|
137
164
|
}
|
|
138
|
-
|
|
165
|
+
T?.(t), $?.(t);
|
|
139
166
|
}, [
|
|
140
167
|
q,
|
|
141
168
|
G,
|
|
142
|
-
|
|
143
|
-
|
|
169
|
+
$,
|
|
170
|
+
T,
|
|
144
171
|
d
|
|
145
172
|
]), ie = c(() => q.map((e) => e.key), [q]);
|
|
146
|
-
return
|
|
147
|
-
title:
|
|
173
|
+
return f(u, {
|
|
174
|
+
title: A("sort.title"),
|
|
148
175
|
options: [{
|
|
149
176
|
id: "Sort",
|
|
150
|
-
label: () =>
|
|
177
|
+
label: () => A("sort.action"),
|
|
151
178
|
disabled: () => null !== te
|
|
152
179
|
}, "Cancel"],
|
|
153
180
|
onDone: ne,
|
|
154
|
-
...
|
|
155
|
-
children:
|
|
181
|
+
...j,
|
|
182
|
+
children: m(g, {
|
|
156
183
|
sx: {
|
|
157
184
|
display: "flex",
|
|
158
185
|
flexDirection: "column",
|
|
@@ -160,51 +187,51 @@ var L = {
|
|
|
160
187
|
minWidth: "560px"
|
|
161
188
|
},
|
|
162
189
|
children: [
|
|
163
|
-
|
|
190
|
+
m(g, {
|
|
164
191
|
sx: {
|
|
165
192
|
display: "flex",
|
|
166
193
|
flexDirection: "column"
|
|
167
194
|
},
|
|
168
|
-
children: [
|
|
195
|
+
children: [f(g, {
|
|
169
196
|
sx: { padding: (e) => e.spacing(0, .5) },
|
|
170
|
-
children:
|
|
197
|
+
children: m(g, {
|
|
171
198
|
sx: {
|
|
172
|
-
...
|
|
199
|
+
...z,
|
|
173
200
|
borderColor: "transparent",
|
|
174
201
|
paddingTop: 0,
|
|
175
202
|
paddingBottom: 0
|
|
176
203
|
},
|
|
177
204
|
children: [
|
|
178
|
-
|
|
179
|
-
|
|
205
|
+
f(g, { sx: L }),
|
|
206
|
+
f(k, {
|
|
180
207
|
variant: "body2",
|
|
181
208
|
sx: {
|
|
182
209
|
...D,
|
|
183
|
-
...
|
|
210
|
+
...E
|
|
184
211
|
},
|
|
185
|
-
children:
|
|
212
|
+
children: A(Q ? "sort.column" : "sort.row")
|
|
186
213
|
}),
|
|
187
|
-
|
|
214
|
+
f(k, {
|
|
188
215
|
variant: "body2",
|
|
189
216
|
sx: {
|
|
190
|
-
...
|
|
191
|
-
...
|
|
217
|
+
...H,
|
|
218
|
+
...E
|
|
192
219
|
},
|
|
193
|
-
children:
|
|
220
|
+
children: A("sort.sortOn")
|
|
194
221
|
}),
|
|
195
|
-
|
|
222
|
+
f(k, {
|
|
196
223
|
variant: "body2",
|
|
197
224
|
sx: {
|
|
198
|
-
...
|
|
199
|
-
...
|
|
225
|
+
...R,
|
|
226
|
+
...E,
|
|
200
227
|
paddingLeft: 0
|
|
201
228
|
},
|
|
202
|
-
children:
|
|
229
|
+
children: A("sort.order")
|
|
203
230
|
}),
|
|
204
|
-
|
|
231
|
+
f(g, { sx: I })
|
|
205
232
|
]
|
|
206
233
|
})
|
|
207
|
-
}),
|
|
234
|
+
}), m(g, {
|
|
208
235
|
ref: X,
|
|
209
236
|
sx: {
|
|
210
237
|
display: "flex",
|
|
@@ -214,13 +241,14 @@ var L = {
|
|
|
214
241
|
maxHeight: "320px",
|
|
215
242
|
overflowY: "auto"
|
|
216
243
|
},
|
|
217
|
-
children: [
|
|
244
|
+
children: [f(e, {
|
|
218
245
|
ids: ie,
|
|
219
246
|
scrollRef: X,
|
|
220
247
|
onMove: (e, t) => oe(e, t, !0),
|
|
221
|
-
children: q.map((e, r) =>
|
|
248
|
+
children: q.map((e, r) => f(t, {
|
|
222
249
|
id: e.key,
|
|
223
|
-
|
|
250
|
+
disabled: q.length <= 1,
|
|
251
|
+
children: f(W, {
|
|
224
252
|
level: e,
|
|
225
253
|
position: r,
|
|
226
254
|
count: q.length,
|
|
@@ -234,7 +262,7 @@ var L = {
|
|
|
234
262
|
const o = [...t];
|
|
235
263
|
return o.splice(r + 1, 0, {
|
|
236
264
|
...e,
|
|
237
|
-
key:
|
|
265
|
+
key: B(),
|
|
238
266
|
criteria: { ...e.criteria }
|
|
239
267
|
}), o;
|
|
240
268
|
});
|
|
@@ -242,51 +270,51 @@ var L = {
|
|
|
242
270
|
onDelete: () => J((t) => t.filter((t) => t.key !== e.key))
|
|
243
271
|
})
|
|
244
272
|
}, e.key))
|
|
245
|
-
}),
|
|
273
|
+
}), m(g, {
|
|
246
274
|
sx: {
|
|
247
|
-
...
|
|
275
|
+
...z,
|
|
248
276
|
borderColor: "transparent",
|
|
249
277
|
flex: "0 0 auto",
|
|
250
278
|
paddingTop: 0,
|
|
251
279
|
paddingBottom: 0
|
|
252
280
|
},
|
|
253
|
-
children: [
|
|
281
|
+
children: [f(k, {
|
|
254
282
|
variant: "body2",
|
|
255
283
|
sx: {
|
|
256
284
|
...L,
|
|
257
285
|
color: (e) => e.palette.text.secondary
|
|
258
286
|
},
|
|
259
|
-
children:
|
|
260
|
-
}),
|
|
287
|
+
children: A("sort.thenBy")
|
|
288
|
+
}), f(x, {
|
|
261
289
|
disableInteractive: !0,
|
|
262
|
-
title:
|
|
263
|
-
children:
|
|
290
|
+
title: A("sort.addLevel"),
|
|
291
|
+
children: f(S, {
|
|
264
292
|
size: "small",
|
|
265
293
|
className: "sxl-sort-addLevel",
|
|
266
|
-
"aria-label":
|
|
294
|
+
"aria-label": A("sort.addLevel"),
|
|
267
295
|
onClick: () => {
|
|
268
296
|
J((e) => {
|
|
269
297
|
const t = new Set(e.map((e) => e.index)), r = _.offsets.find((e) => !t.has(e));
|
|
270
298
|
return [...e, {
|
|
271
|
-
key:
|
|
299
|
+
key: B(),
|
|
272
300
|
index: r ?? 0,
|
|
273
301
|
criteria: {}
|
|
274
302
|
}];
|
|
275
303
|
});
|
|
276
304
|
},
|
|
277
|
-
children:
|
|
305
|
+
children: f(l, { iconKey: "Insert" })
|
|
278
306
|
})
|
|
279
307
|
})]
|
|
280
308
|
})]
|
|
281
309
|
})]
|
|
282
310
|
}),
|
|
283
|
-
null !== te ?
|
|
311
|
+
null !== te ? f(k, {
|
|
284
312
|
variant: "body2",
|
|
285
313
|
className: "sxl-sort-refusal",
|
|
286
314
|
sx: { color: (e) => e.palette.error.main },
|
|
287
315
|
children: te
|
|
288
316
|
}) : null,
|
|
289
|
-
|
|
317
|
+
m(g, {
|
|
290
318
|
sx: {
|
|
291
319
|
display: "flex",
|
|
292
320
|
flexWrap: "wrap",
|
|
@@ -297,8 +325,8 @@ var L = {
|
|
|
297
325
|
paddingTop: (e) => e.spacing(1)
|
|
298
326
|
},
|
|
299
327
|
children: [
|
|
300
|
-
|
|
301
|
-
control:
|
|
328
|
+
f(y, {
|
|
329
|
+
control: f(v, {
|
|
302
330
|
size: "small",
|
|
303
331
|
checked: !!G.hasHeader,
|
|
304
332
|
onChange: () => Y((e) => ({
|
|
@@ -306,21 +334,21 @@ var L = {
|
|
|
306
334
|
hasHeader: !e.hasHeader
|
|
307
335
|
}))
|
|
308
336
|
}),
|
|
309
|
-
label:
|
|
337
|
+
label: A("sort.hasHeader")
|
|
310
338
|
}),
|
|
311
|
-
|
|
312
|
-
control:
|
|
339
|
+
f(y, {
|
|
340
|
+
control: f(v, {
|
|
313
341
|
size: "small",
|
|
314
|
-
checked:
|
|
342
|
+
checked: M(G.collatorOptions),
|
|
315
343
|
onChange: () => Y((e) => ({
|
|
316
344
|
...e,
|
|
317
|
-
collatorOptions:
|
|
345
|
+
collatorOptions: M(e.collatorOptions) ? i.CaseInsensitiveOptions : i.CaseSensitiveOptions
|
|
318
346
|
}))
|
|
319
347
|
}),
|
|
320
|
-
label:
|
|
348
|
+
label: A("sort.caseSensitive")
|
|
321
349
|
}),
|
|
322
|
-
|
|
323
|
-
control:
|
|
350
|
+
f(y, {
|
|
351
|
+
control: f(v, {
|
|
324
352
|
size: "small",
|
|
325
353
|
checked: !!G.includeHidden,
|
|
326
354
|
onChange: () => Y((e) => ({
|
|
@@ -328,19 +356,19 @@ var L = {
|
|
|
328
356
|
includeHidden: !e.includeHidden
|
|
329
357
|
}))
|
|
330
358
|
}),
|
|
331
|
-
label:
|
|
359
|
+
label: A("sort.includeHidden")
|
|
332
360
|
}),
|
|
333
|
-
|
|
361
|
+
m(b, {
|
|
334
362
|
size: "small",
|
|
335
363
|
sx: { minWidth: "180px" },
|
|
336
|
-
children: [
|
|
364
|
+
children: [f(C, {
|
|
337
365
|
id: "sxl-sort-orientation-label",
|
|
338
|
-
children:
|
|
339
|
-
}),
|
|
366
|
+
children: A("sort.orientation")
|
|
367
|
+
}), m(O, {
|
|
340
368
|
size: "small",
|
|
341
369
|
className: "sxl-sort-orientation",
|
|
342
370
|
labelId: "sxl-sort-orientation-label",
|
|
343
|
-
label:
|
|
371
|
+
label: A("sort.orientation"),
|
|
344
372
|
value: P,
|
|
345
373
|
onChange: (e) => {
|
|
346
374
|
const t = e.target.value;
|
|
@@ -349,12 +377,12 @@ var L = {
|
|
|
349
377
|
axis: t
|
|
350
378
|
}));
|
|
351
379
|
},
|
|
352
|
-
children: [
|
|
380
|
+
children: [f(w, {
|
|
353
381
|
value: o.Axis.Row,
|
|
354
|
-
children:
|
|
355
|
-
}),
|
|
382
|
+
children: A("sort.orientationTopToBottom")
|
|
383
|
+
}), f(w, {
|
|
356
384
|
value: o.Axis.Column,
|
|
357
|
-
children:
|
|
385
|
+
children: A("sort.orientationLeftToRight")
|
|
358
386
|
})]
|
|
359
387
|
})]
|
|
360
388
|
})
|
|
@@ -363,8 +391,8 @@ var L = {
|
|
|
363
391
|
]
|
|
364
392
|
})
|
|
365
393
|
});
|
|
366
|
-
}),
|
|
367
|
-
const { level: t, position: r, count: o, fields: i, labelForField: s, isRowSort: d, onChange: p, onMoveBy:
|
|
394
|
+
}), W = 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, C = !!t.criteria.reverse, E = c(() => {
|
|
368
396
|
const e = i.offsets.map((e, t) => ({
|
|
369
397
|
offset: e,
|
|
370
398
|
label: i.labels[t]
|
|
@@ -377,25 +405,25 @@ var L = {
|
|
|
377
405
|
i,
|
|
378
406
|
t.index,
|
|
379
407
|
s
|
|
380
|
-
]),
|
|
408
|
+
]), N = (e, t, r, o, n) => f(x, {
|
|
381
409
|
disableInteractive: !0,
|
|
382
410
|
title: e,
|
|
383
|
-
children:
|
|
411
|
+
children: f("div", { children: f(S, {
|
|
384
412
|
size: "small",
|
|
385
413
|
className: `sxl-sort-${t}`,
|
|
386
414
|
"aria-label": e,
|
|
387
415
|
disabled: o,
|
|
388
416
|
sx: { padding: "2px" },
|
|
389
417
|
onClick: n,
|
|
390
|
-
children:
|
|
418
|
+
children: f(l, {
|
|
391
419
|
style: { transform: "scale(0.85)" },
|
|
392
420
|
iconKey: r
|
|
393
421
|
})
|
|
394
422
|
}) })
|
|
395
423
|
});
|
|
396
|
-
return
|
|
424
|
+
return m(g, {
|
|
397
425
|
sx: {
|
|
398
|
-
...
|
|
426
|
+
...z,
|
|
399
427
|
"&:hover, &:focus-within": {
|
|
400
428
|
boxShadow: 1,
|
|
401
429
|
"& .sxl-sort-level-actions": {
|
|
@@ -405,29 +433,29 @@ var L = {
|
|
|
405
433
|
}
|
|
406
434
|
},
|
|
407
435
|
children: [
|
|
408
|
-
|
|
436
|
+
f(k, {
|
|
409
437
|
variant: "body2",
|
|
410
438
|
sx: L,
|
|
411
|
-
children:
|
|
439
|
+
children: b(0 === r ? "sort.sortBy" : "sort.thenBy")
|
|
412
440
|
}),
|
|
413
|
-
|
|
441
|
+
f(O, {
|
|
414
442
|
size: "small",
|
|
415
443
|
className: "sxl-sort-field",
|
|
416
444
|
value: t.index,
|
|
417
445
|
sx: D,
|
|
418
|
-
"aria-label":
|
|
446
|
+
"aria-label": b(d ? "sort.column" : "sort.row"),
|
|
419
447
|
onChange: (e) => p(t.key, { index: Number(e.target.value) }),
|
|
420
|
-
children:
|
|
448
|
+
children: E.map((e) => f(w, {
|
|
421
449
|
value: e.offset,
|
|
422
450
|
children: e.label
|
|
423
451
|
}, e.offset))
|
|
424
452
|
}),
|
|
425
|
-
|
|
453
|
+
m(O, {
|
|
426
454
|
size: "small",
|
|
427
455
|
className: "sxl-sort-on",
|
|
428
|
-
value:
|
|
429
|
-
sx:
|
|
430
|
-
"aria-label":
|
|
456
|
+
value: y,
|
|
457
|
+
sx: H,
|
|
458
|
+
"aria-label": b("sort.sortOn"),
|
|
431
459
|
onChange: (e) => {
|
|
432
460
|
p(t.key, { criteria: {
|
|
433
461
|
...t.criteria,
|
|
@@ -435,82 +463,82 @@ var L = {
|
|
|
435
463
|
} });
|
|
436
464
|
},
|
|
437
465
|
children: [
|
|
438
|
-
|
|
466
|
+
f(w, {
|
|
439
467
|
value: n.SortOn.Value,
|
|
440
|
-
children:
|
|
468
|
+
children: b("sort.sortOnValue")
|
|
441
469
|
}),
|
|
442
|
-
|
|
470
|
+
m(w, {
|
|
443
471
|
value: n.SortOn.FillColor,
|
|
444
472
|
disabled: !0,
|
|
445
|
-
children: [
|
|
473
|
+
children: [b("sort.sortOnFillColor"), f(k, {
|
|
446
474
|
variant: "caption",
|
|
447
475
|
sx: {
|
|
448
476
|
marginLeft: 1,
|
|
449
477
|
opacity: .7
|
|
450
478
|
},
|
|
451
|
-
children:
|
|
479
|
+
children: b("sort.notSupported")
|
|
452
480
|
})]
|
|
453
481
|
}),
|
|
454
|
-
|
|
482
|
+
m(w, {
|
|
455
483
|
value: n.SortOn.FontColor,
|
|
456
484
|
disabled: !0,
|
|
457
|
-
children: [
|
|
485
|
+
children: [b("sort.sortOnFontColor"), f(k, {
|
|
458
486
|
variant: "caption",
|
|
459
487
|
sx: {
|
|
460
488
|
marginLeft: 1,
|
|
461
489
|
opacity: .7
|
|
462
490
|
},
|
|
463
|
-
children:
|
|
491
|
+
children: b("sort.notSupported")
|
|
464
492
|
})]
|
|
465
493
|
}),
|
|
466
|
-
|
|
494
|
+
m(w, {
|
|
467
495
|
value: n.SortOn.Icon,
|
|
468
496
|
disabled: !0,
|
|
469
|
-
children: [
|
|
497
|
+
children: [b("sort.sortOnIcon"), f(k, {
|
|
470
498
|
variant: "caption",
|
|
471
499
|
sx: {
|
|
472
500
|
marginLeft: 1,
|
|
473
501
|
opacity: .7
|
|
474
502
|
},
|
|
475
|
-
children:
|
|
503
|
+
children: b("sort.notSupported")
|
|
476
504
|
})]
|
|
477
505
|
})
|
|
478
506
|
]
|
|
479
507
|
}),
|
|
480
|
-
|
|
481
|
-
sx:
|
|
482
|
-
children:
|
|
508
|
+
f(g, {
|
|
509
|
+
sx: R,
|
|
510
|
+
children: f(x, {
|
|
483
511
|
disableInteractive: !0,
|
|
484
|
-
title:
|
|
485
|
-
children:
|
|
512
|
+
title: b(C ? "sort.descending" : "sort.ascending"),
|
|
513
|
+
children: f(S, {
|
|
486
514
|
size: "small",
|
|
487
515
|
className: "sxl-sort-order",
|
|
488
|
-
"aria-label":
|
|
516
|
+
"aria-label": b(C ? "sort.descending" : "sort.ascending"),
|
|
489
517
|
onClick: () => p(t.key, { criteria: {
|
|
490
518
|
...t.criteria,
|
|
491
|
-
reverse: !
|
|
519
|
+
reverse: !C
|
|
492
520
|
} }),
|
|
493
|
-
children:
|
|
521
|
+
children: f(l, { iconKey: C ? "SortDecrease" : "SortIncrease" })
|
|
494
522
|
})
|
|
495
523
|
})
|
|
496
524
|
}),
|
|
497
|
-
|
|
525
|
+
m(g, {
|
|
498
526
|
className: "sxl-sort-level-actions",
|
|
499
527
|
sx: {
|
|
500
|
-
...
|
|
528
|
+
...I,
|
|
501
529
|
opacity: 0,
|
|
502
530
|
pointerEvents: "none",
|
|
503
531
|
transition: "opacity 0.2s ease"
|
|
504
532
|
},
|
|
505
533
|
children: [
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
534
|
+
o > 1 && N(b("sort.moveUp"), "moveUp", "CardMoveUp", 0 === r, () => h(-1)),
|
|
535
|
+
o > 1 && N(b("sort.moveDown"), "moveDown", "CardMoveDown", r === o - 1, () => h(1)),
|
|
536
|
+
N(b("sort.copyLevel"), "copyLevel", "CardDuplicate", !1, u),
|
|
537
|
+
N(b("sort.deleteLevel"), "deleteLevel", "Delete", o <= 1, v)
|
|
510
538
|
]
|
|
511
539
|
})
|
|
512
540
|
]
|
|
513
541
|
});
|
|
514
542
|
});
|
|
515
|
-
|
|
516
|
-
export {
|
|
543
|
+
W.displayName = "SortLevelCard";
|
|
544
|
+
export { T as SortDialog, T as default };
|