@sheetxl/studio-mui 0.8.0-beta.9 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +17 -7
- package/browser/esm/{DT71hr6qq9QMKf7Q.mjs → -xbfcBB_r6yovwt0.mjs} +2 -2
- package/browser/esm/0Ui7wtwIglVNcnjK.mjs +975 -0
- package/browser/esm/0pDgMMkwtzP7yApV.mjs +294 -0
- package/browser/esm/3F82kokAv56WeIOp.mjs +94 -0
- package/browser/esm/B7rXnRqYPMeFo7lF.mjs +415 -0
- package/browser/esm/BDXrBgqLv2G_aBxW.mjs +8 -0
- package/browser/esm/{a5G-3nVFn86pvt8H.mjs → BEvHafOOTIvsHfzb.mjs} +82 -94
- package/browser/esm/{BscaD3SzYM6ysjgy.mjs → BF7tsgFfA5kiGqvA.mjs} +5 -5
- package/browser/esm/BGxILWytBh1gGIqX.mjs +1281 -0
- package/browser/esm/BMtcK4QQebSd-gg_.mjs +14 -0
- package/browser/esm/{DpdMtsE7oOAIJqFo.mjs → BN-SV9n15bsIT7UF.mjs} +14 -13
- package/browser/esm/BPw9ZOfyIYNPmxbo.mjs +252 -0
- package/browser/esm/Be-rw5ILGyBK1k5g.mjs +633 -0
- package/browser/esm/Bezw0tyQZcU_2PRi.mjs +242 -0
- package/browser/esm/BjHVW5_EgY2JEOYR.mjs +106 -0
- package/browser/esm/BsQHoNsrcsZZeolo.mjs +103 -0
- package/browser/esm/BtbpQMP61r1e5s6G.mjs +516 -0
- package/browser/esm/BvCt1gSMp3TNaras.mjs +424 -0
- package/browser/esm/By-REgl0FtVnNxzf.mjs +831 -0
- package/browser/esm/{DiKCs9R7e4MgyayQ.mjs → BzPrRiCDzZQnKqH4.mjs} +4 -4
- package/browser/esm/C2NKkLNVwF6qUNv1.mjs +94 -0
- package/browser/esm/C5Y1q7udZf2PwslP.mjs +973 -0
- package/browser/esm/CEbCLniKqzKNP6MP.mjs +392 -0
- package/browser/esm/CFz8KVBAQoF-AJHf.mjs +414 -0
- package/browser/esm/CKVZ-Qa6AcojcV6x.mjs +119 -0
- package/browser/esm/CPawgAiTfoCklxuh.mjs +267 -0
- package/browser/esm/CQyLZmquw7Cn-0Yv.mjs +14 -0
- package/browser/esm/{ipftNUxAU0HR-0YP.mjs → CS7kr0WaYPFpIH95.mjs} +3 -3
- package/browser/esm/CT8hUU9KN4TmEBld.mjs +8547 -0
- package/browser/esm/CX2LPfZw79Z0uRhG.mjs +386 -0
- package/browser/esm/CXViQNtqX1jITZyu.mjs +197 -0
- package/browser/esm/CbNQrqPTogPk-TRE.mjs +1550 -0
- package/browser/esm/{BdkeyaHAtiNa6jqW.mjs → CdeLvf6DfzWVbVw5.mjs} +33 -31
- package/browser/esm/{CawSvjLj4-2Qqyef.mjs → ChytgpwnPlu_VG4E.mjs} +2 -2
- package/browser/esm/CmAMY8rXqmvbCx1E.mjs +360 -0
- package/browser/esm/{BNYKPFICOYt2VRsP.mjs → CukQww6Fo8MyF56L.mjs} +2 -2
- package/browser/esm/Cupln-3vYNmxrrM2.mjs +13 -0
- package/browser/esm/Cy6Q7KGXWYIosYTX.mjs +31 -0
- package/browser/esm/{ffz9LGAgGiWQQav9.mjs → D4IXtjIE97zSR0kY.mjs} +156 -109
- package/browser/esm/D5IXaQlvCuPu8zeG.mjs +72 -0
- package/browser/esm/{CHLqCxo3afOV1Otw.mjs → D6Rur-jnQXX3jzQH.mjs} +4 -4
- package/browser/esm/D8sXey2okO2icU8d.mjs +2692 -0
- package/browser/esm/DE7H4jbuXYB08_dQ.mjs +225 -0
- package/browser/esm/DaISN0TvyxafPIve.mjs +490 -0
- package/browser/esm/{80XYmJwiiFLBmpH2.mjs → DpwtflGvQFbBSLdo.mjs} +47 -48
- package/browser/esm/DrdNTvMdXdsemC4B.mjs +225 -0
- package/browser/esm/DsxPHa5JNx8ovALW.mjs +442 -0
- package/browser/esm/DvJk84TQ-8JsgXcp.mjs +235 -0
- package/browser/esm/Dw9nScfNdZ0Cjwne.mjs +87 -0
- package/browser/esm/{BXQPMQyxdiYwawjE.mjs → PvQUVsO3tH532wV8.mjs} +20 -18
- package/browser/esm/RrujsbEgx2HUeD4s.mjs +161 -0
- package/browser/esm/S2tFDJI2wIBAgQaA.mjs +335 -0
- package/browser/esm/{Cykd-NaZAtHJlQmQ.mjs → STe4CGP-g8tCf7c5.mjs} +2 -2
- package/browser/esm/SgyjQbszb0ptsRk8.mjs +517 -0
- package/browser/esm/d1P5kwJg3I0rdzn5.mjs +318 -0
- package/browser/esm/hfHpykzxUMe5LvVF.mjs +141 -0
- package/browser/esm/{BIZX_0jxF9Fmaxuy.mjs → hjbPNszp95-0VCIw.mjs} +8 -6
- package/browser/esm/index.mjs +1910 -289
- package/browser/esm/sxqx9rjKZcYNC4Hx.mjs +77 -0
- package/browser/esm/{C--IZ8To0PhVLhoX.mjs → voMEQNZgdyO6soYo.mjs} +4 -4
- package/licenses/dependencies.txt +106 -359
- package/node/esm/{C5g2gBoUk3-cn94h.mjs → 1PN4BMQucW63NWcA.mjs} +2 -2
- package/node/esm/{BHuZQ-LJ2GgDLYSz.mjs → 4FcYpbmSwjqrMhol.mjs} +190 -141
- package/node/esm/{9k03YHFiw-wlUS8d.mjs → 6e2HZudCTjTzf6ih.mjs} +2 -2
- package/node/esm/{D4KDk-w7Khu7LrSi.mjs → B1MFTyLMh_SZnQbk.mjs} +70 -71
- package/node/esm/B2WLecbdSqMD1YVq.mjs +519 -0
- package/node/esm/BImYtxlBDnxbuYJQ.mjs +94 -0
- package/node/esm/{CNkqJbFlITxBA0t4.mjs → BQ_0nUqKSPxxzxTT.mjs} +29 -29
- package/node/esm/{Defb5qpSal98J5ay.mjs → BSJerjorDJ4w9N6r.mjs} +2 -2
- package/node/esm/{Dyd7va4aqC1jIzAk.mjs → C0KFwVu86wTgTd54.mjs} +21 -21
- package/node/esm/C0kd2sPUnsgdGUtj.mjs +197 -0
- package/node/esm/C4UnectGYMh-7x7y.mjs +267 -0
- package/node/esm/C5pD4ZSa_HiL9qxk.mjs +14 -0
- package/node/esm/C9W1LtNkMMtOs7Qg.mjs +73 -0
- package/node/esm/CAFHLlFMItMl9TpP.mjs +412 -0
- package/node/esm/CW3fvozHERUfT6Bc.mjs +294 -0
- package/node/esm/CWTDdTicFuH60csl.mjs +972 -0
- package/node/esm/ChO1UxVGRIBuNPOZ.mjs +489 -0
- package/node/esm/{BkoorcOtOEh_Y7ck.mjs → CkIf9KMnQ26-zlEa.mjs} +33 -31
- package/node/esm/CsI3f2TN7jrLwudM.mjs +106 -0
- package/node/esm/CvM_8IuzxswqHgRo.mjs +224 -0
- package/node/esm/D7iklNCWLGeAIvrP.mjs +142 -0
- package/node/esm/D9Inb0eBSow2sR6u.mjs +319 -0
- package/node/esm/DKpUHQxiykyKEuyT.mjs +638 -0
- package/node/esm/DL4-uvtWGuGAfnne.mjs +391 -0
- package/node/esm/{CTtj1NR0IrcN8PTy.mjs → DP_w1SJKb-yFCvb7.mjs} +10 -10
- package/node/esm/DR7dWTccTfAqn8m8.mjs +516 -0
- package/node/esm/DXRJq0Bn7sDr_vXm.mjs +242 -0
- package/node/esm/DZ57bmwliKKBEzB7.mjs +1276 -0
- package/node/esm/Df5VcbKeW9cXY1Lw.mjs +141 -0
- package/node/esm/{b05_u9WnJaVGO0nq.mjs → DxWAgNvtIylA_ta_.mjs} +2 -2
- package/node/esm/GsWeMsCRXwvvpe2Z.mjs +77 -0
- package/node/esm/ONS9B46FEPFzjQsi.mjs +425 -0
- package/node/esm/QfWVpAmFeAecSa0o.mjs +385 -0
- package/node/esm/{BiHw3x2LPWT-kK8G.mjs → RgfhTFBh6fACzrx4.mjs} +84 -96
- package/node/esm/UCHoCHXSYWtQeJ-9.mjs +118 -0
- package/node/esm/index.mjs +9717 -8954
- package/node/esm/mmKhNlIs2nFTMbl5.mjs +94 -0
- package/node/esm/stC67-iHu8jB-gTl.mjs +1831 -0
- package/node/esm/{DHHgNbakbpNnu0oW.mjs → uFGXjoHpIjHX5bT8.mjs} +23 -23
- package/node/esm/z_MOgf-yg9GWQtPj.mjs +975 -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 +59 -10
- package/resources/locales/de/ui.msg.json +267 -14
- package/resources/locales/de/workbookAnomalies.cmd.json +14 -0
- package/resources/locales/en/groups.cmd.json +63 -11
- package/resources/locales/en/ui.msg.json +272 -14
- package/resources/locales/en/workbookAnomalies.cmd.json +14 -0
- package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +4 -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 +2 -2
- package/types/src/comments/CommentsPlugin.d.ts +1 -1
- 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/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 +5 -4
- 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/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/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 +4 -4
- package/types/src/form/InputField.d.ts +5 -5
- package/types/src/format/BorderPreview.d.ts +11 -4
- 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 +6 -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 -6
- package/types/src/itemsPanel/ItemCard.d.ts +50 -7
- 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 +1 -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 +2 -1
- 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/StudioProps.d.ts +62 -27
- package/types/src/studio/formulaBarPlacement.d.ts +35 -0
- package/types/src/studio/useStudioApp.d.ts +25 -24
- 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 +2 -0
- package/types/src/theme/ThemeSelectPopupButton.d.ts +1 -1
- package/types/src/theme/ThemeUtils.d.ts +8 -27
- package/types/src/toolbar/WorkbookToolbars.d.ts +2 -2
- package/types/src/workbook/DefaultRenderers.d.ts +42 -18
- 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/2tG9HJLr-WjsOCP3.cjs +0 -1
- package/browser/cjs/3RXtLkq7wTAV6y_e.cjs +0 -1
- package/browser/cjs/3k_KqDFr-AybPztc.cjs +0 -5
- package/browser/cjs/4_Zy3pR6YXkzISoK.cjs +0 -1
- package/browser/cjs/BD50lsTki7wvzb5g.cjs +0 -1
- package/browser/cjs/BJ-wdkCaXqJaejKf.cjs +0 -1
- package/browser/cjs/BQJKf40kttQWOzLw.cjs +0 -20
- package/browser/cjs/BTZ5uzK0wHzpiZGC.cjs +0 -1
- package/browser/cjs/Bc-YisjBtD56vBAW.cjs +0 -1
- package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +0 -1
- package/browser/cjs/BpG4iwTKbAnpi0wM.cjs +0 -1
- package/browser/cjs/ByIUHPOa02D7XbdC.cjs +0 -1
- package/browser/cjs/C97KHSuikAbr1qVM.cjs +0 -1
- package/browser/cjs/CMfoKJ3ehdXuld_7.cjs +0 -14
- package/browser/cjs/CPSc2VSYZeZ1B9mi.cjs +0 -1
- package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +0 -1
- package/browser/cjs/CdDYyAfccXme8w6m.cjs +0 -1
- package/browser/cjs/CkroJ2FmfFvk6Eyv.cjs +0 -1
- package/browser/cjs/CzJvR12QCQb-0Rtn.cjs +0 -1
- package/browser/cjs/D-Yo5aV9STT5KH4G.cjs +0 -1
- package/browser/cjs/DwkiLFWUtLC8ZcIQ.cjs +0 -1
- package/browser/cjs/HuPFsmz7kyZVo3c7.cjs +0 -1
- package/browser/cjs/KZvriGbhEOVkQD0b.cjs +0 -1
- package/browser/cjs/M0_dvdYwhikqP9kg.cjs +0 -2
- package/browser/cjs/g1WhGOz5epV7Hqsg.cjs +0 -8
- package/browser/cjs/iMWEL01eC83oU-YY.cjs +0 -1
- package/browser/cjs/index.cjs +0 -2
- package/browser/esm/BoLRDhnoO3gvviYD.mjs +0 -13811
- package/browser/esm/CH-Y2-p8GRvCHvd4.mjs +0 -52
- package/browser/esm/CUhtBLyaGSkcKB_1.mjs +0 -236
- package/browser/esm/D-Kit71xiitqCWVY.mjs +0 -5356
- package/browser/esm/DkUDZxFxx9n2Cked.mjs +0 -223
- package/browser/esm/F6kkwcBr0l-496tC.mjs +0 -152
- package/browser/esm/Q8r5yuh8Yx2ROnhC.mjs +0 -115
- package/browser/esm/iRFlbG6hQyKLVagS.mjs +0 -411
- package/browser/esm/lftI5b4ZCHVYc6OZ.mjs +0 -1150
- package/node/esm/BTZGnNrgV1na62gd.mjs +0 -415
- package/node/esm/Be0G9parvc2CTpFQ.mjs +0 -4504
- package/node/esm/CTJqjeq3smY8jw5J.mjs +0 -236
- package/node/esm/DbLFR_dnQQmZC_jm.mjs +0 -115
- package/types/src/conditions/DateTimeOption.d.ts +0 -43
- package/types/src/conditions/ListSourceOption.d.ts +0 -31
- package/types/src/filter/FilterList.d.ts +0 -32
- package/types/src/shape/InsertShapeCommandButton.d.ts +0 -10
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.2
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: MIT
|
|
6
|
+
*/
|
|
7
|
+
import { t as e } from "./RrujsbEgx2HUeD4s.mjs";
|
|
8
|
+
import { t } from "./CEbCLniKqzKNP6MP.mjs";
|
|
9
|
+
import { externalBookFileName as n, externalBookLocation as r } from "@sheetxl/sdk";
|
|
10
|
+
import { DynamicIcon as i, NotifierType as a, useNotifier as o, useTranslator as s } from "@sheetxl/utils-react";
|
|
11
|
+
import { forwardRef as c, memo as l, useMemo as u, useReducer as d, useState as f } from "react";
|
|
12
|
+
import { SimpleTooltip as p } from "@sheetxl/utils-mui";
|
|
13
|
+
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
14
|
+
import { Box as g, Button as _, FormControl as v, FormControlLabel as y, FormLabel as b, Radio as x, RadioGroup as S, Tab as C, Tabs as w, Typography as T } from "@mui/material";
|
|
15
|
+
import { messageKey as E } from "@sheetxl/utils";
|
|
16
|
+
var D = ({ item: e }) => {
|
|
17
|
+
let t = s(), n = e.getSheetNames(), r = [], i = !1;
|
|
18
|
+
for (let t = 0; t < n.length; t++) {
|
|
19
|
+
let a = e.getSheetData(t);
|
|
20
|
+
a && (r.push(n[t]), a.refreshError && (i = !0));
|
|
21
|
+
}
|
|
22
|
+
return h(g, {
|
|
23
|
+
sx: {
|
|
24
|
+
display: "flex",
|
|
25
|
+
flexDirection: "column",
|
|
26
|
+
gap: (e) => e.spacing(.5)
|
|
27
|
+
},
|
|
28
|
+
children: [
|
|
29
|
+
m(T, {
|
|
30
|
+
variant: "caption",
|
|
31
|
+
sx: { color: "text.secondary" },
|
|
32
|
+
children: r.length > 0 ? t("externalLink.cached", { sheets: r.join(", ") }) : t("externalLink.cachedNone")
|
|
33
|
+
}),
|
|
34
|
+
i ? m(T, {
|
|
35
|
+
variant: "caption",
|
|
36
|
+
sx: { color: "error.main" },
|
|
37
|
+
children: t("externalLink.refreshError")
|
|
38
|
+
}) : null,
|
|
39
|
+
m(T, {
|
|
40
|
+
variant: "caption",
|
|
41
|
+
sx: { color: "text.secondary" },
|
|
42
|
+
children: t("externalLink.dependents", { count: e.getDependents().length })
|
|
43
|
+
})
|
|
44
|
+
]
|
|
45
|
+
});
|
|
46
|
+
}, O = l((t) => {
|
|
47
|
+
let { size: n = 28, ...r } = t, a = s();
|
|
48
|
+
return m(e, {
|
|
49
|
+
className: "sxl-external-link-chip",
|
|
50
|
+
title: a("externalLink.linkedWorkbook"),
|
|
51
|
+
sx: {
|
|
52
|
+
width: "auto",
|
|
53
|
+
minWidth: 1.7 * n + "px",
|
|
54
|
+
height: `${n}px`,
|
|
55
|
+
color: "text.secondary"
|
|
56
|
+
},
|
|
57
|
+
...r,
|
|
58
|
+
children: m(i, {
|
|
59
|
+
iconKey: "ExternalLinked",
|
|
60
|
+
size: Math.round(.7 * n)
|
|
61
|
+
})
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
O.displayName = "ExternalLinkChip";
|
|
65
|
+
var k = ({ item: e }) => {
|
|
66
|
+
let t = r(e);
|
|
67
|
+
if (!t) return null;
|
|
68
|
+
let n = Math.max(t.lastIndexOf("/"), t.lastIndexOf("\\")), i = n === -1 ? "" : t.substring(0, n + 1), a = n === -1 ? t : t.substring(n + 1);
|
|
69
|
+
return m(p, {
|
|
70
|
+
title: t,
|
|
71
|
+
children: h(g, {
|
|
72
|
+
className: "sxl-external-link-location",
|
|
73
|
+
sx: {
|
|
74
|
+
display: "flex",
|
|
75
|
+
alignItems: "baseline",
|
|
76
|
+
minWidth: 0,
|
|
77
|
+
typography: "subtitle2",
|
|
78
|
+
fontWeight: 600
|
|
79
|
+
},
|
|
80
|
+
children: [i ? m(T, {
|
|
81
|
+
variant: "subtitle2",
|
|
82
|
+
sx: {
|
|
83
|
+
fontWeight: 600,
|
|
84
|
+
minWidth: 0,
|
|
85
|
+
overflow: "hidden",
|
|
86
|
+
textOverflow: "ellipsis",
|
|
87
|
+
whiteSpace: "nowrap"
|
|
88
|
+
},
|
|
89
|
+
children: i
|
|
90
|
+
}) : null, m(T, {
|
|
91
|
+
variant: "subtitle2",
|
|
92
|
+
sx: {
|
|
93
|
+
fontWeight: 600,
|
|
94
|
+
flex: "0 0 auto",
|
|
95
|
+
whiteSpace: "nowrap"
|
|
96
|
+
},
|
|
97
|
+
children: a
|
|
98
|
+
})]
|
|
99
|
+
})
|
|
100
|
+
});
|
|
101
|
+
}, A = l(c((e, r) => {
|
|
102
|
+
let { workbook: i, ...c } = e, l = s(), d = o(), f = u(() => ({
|
|
103
|
+
key: "external-link",
|
|
104
|
+
messageKeys: {
|
|
105
|
+
none: E("externalLink.none"),
|
|
106
|
+
delete: E("externalLink.breakLink"),
|
|
107
|
+
search: E("externalLink.search"),
|
|
108
|
+
clearSearch: E("externalLink.clearSearch"),
|
|
109
|
+
noMatches: E("externalLink.noMatches")
|
|
110
|
+
},
|
|
111
|
+
getItems: (e) => e.getExternalBooks().getItems(),
|
|
112
|
+
subscribe: (e, t) => {
|
|
113
|
+
let n = e.getExternalBooks().addListeners({ onCollectionChange: () => t.onChange() }, { transactional: !1 }), r = e.getCalculation().addListeners({ onComplete: () => t.onChange() }, { transactional: !1 }), i = e.addListeners({ onProtectionChange: () => t.onChange() }, { transactional: !1 });
|
|
114
|
+
return () => {
|
|
115
|
+
n?.(), r?.(), i?.();
|
|
116
|
+
};
|
|
117
|
+
},
|
|
118
|
+
isReadOnly: (e) => !e.getProtection().isStructureAllowed(),
|
|
119
|
+
getItemKey: (e) => e.getId(),
|
|
120
|
+
delete: (e, t) => {
|
|
121
|
+
e.breakLink();
|
|
122
|
+
},
|
|
123
|
+
getSearchText: (e) => [
|
|
124
|
+
n(e),
|
|
125
|
+
e.getDisplayName(),
|
|
126
|
+
...e.getSheetNames(),
|
|
127
|
+
...e.getSources().map((e) => e.target)
|
|
128
|
+
].join("\n"),
|
|
129
|
+
CardMedia: () => m(O, { size: 32 }),
|
|
130
|
+
getCardTitle: (e) => n(e),
|
|
131
|
+
CardSubtitle: k,
|
|
132
|
+
CardBody: (e) => m(D, { ...e })
|
|
133
|
+
}), []), p = !i.getProtection().isStructureAllowed(), v = i.getExternalBooks().getCount() > 0, y = u(() => {
|
|
134
|
+
let e = {
|
|
135
|
+
flex: "0 0 auto",
|
|
136
|
+
textTransform: "none",
|
|
137
|
+
whiteSpace: "nowrap"
|
|
138
|
+
};
|
|
139
|
+
return h(g, {
|
|
140
|
+
sx: {
|
|
141
|
+
display: "flex",
|
|
142
|
+
gap: .5,
|
|
143
|
+
flex: "0 0 auto"
|
|
144
|
+
},
|
|
145
|
+
children: [m(_, {
|
|
146
|
+
size: "small",
|
|
147
|
+
disabled: p || !v,
|
|
148
|
+
sx: e,
|
|
149
|
+
onClick: () => {
|
|
150
|
+
i.getExternalBooks().refreshAll().then((e) => {
|
|
151
|
+
let t = {
|
|
152
|
+
refreshed: 0,
|
|
153
|
+
failed: 0,
|
|
154
|
+
unavailable: 0
|
|
155
|
+
};
|
|
156
|
+
for (let n of e) t[n.status]++;
|
|
157
|
+
t.refreshed === 0 && t.failed === 0 ? d.showMessage?.(l("externalLink.refreshUnavailable"), { type: a.Warning }) : d.showMessage?.(l("externalLink.refreshSummary", t), { type: t.failed ? a.Warning : a.Info });
|
|
158
|
+
}, (e) => {
|
|
159
|
+
d.showMessage?.(e.message, { type: a.Error });
|
|
160
|
+
});
|
|
161
|
+
},
|
|
162
|
+
children: l("externalLink.refreshAll")
|
|
163
|
+
}), m(_, {
|
|
164
|
+
size: "small",
|
|
165
|
+
disabled: p || !v,
|
|
166
|
+
sx: e,
|
|
167
|
+
onClick: () => {
|
|
168
|
+
try {
|
|
169
|
+
i.getExternalBooks().breakAll();
|
|
170
|
+
} catch (e) {
|
|
171
|
+
d.showMessage?.(e.message, { type: a.Error });
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
children: l("externalLink.breakAll")
|
|
175
|
+
})]
|
|
176
|
+
});
|
|
177
|
+
}, [
|
|
178
|
+
i,
|
|
179
|
+
p,
|
|
180
|
+
v,
|
|
181
|
+
d,
|
|
182
|
+
l
|
|
183
|
+
]);
|
|
184
|
+
return m(t, {
|
|
185
|
+
ref: r,
|
|
186
|
+
workbook: i,
|
|
187
|
+
descriptor: f,
|
|
188
|
+
headerActions: y,
|
|
189
|
+
...c
|
|
190
|
+
});
|
|
191
|
+
}));
|
|
192
|
+
A.displayName = "ExternalLinksPanel";
|
|
193
|
+
var j = [
|
|
194
|
+
"userSet",
|
|
195
|
+
"always",
|
|
196
|
+
"never"
|
|
197
|
+
], M = {
|
|
198
|
+
userSet: E("externalLink.updateLinks.userSet"),
|
|
199
|
+
always: E("externalLink.updateLinks.always"),
|
|
200
|
+
never: E("externalLink.updateLinks.never")
|
|
201
|
+
}, N = l(c((e, t) => {
|
|
202
|
+
let { workbook: n, ...r } = e, i = s(), [a, o] = d((e) => e + 1, 0), c = n.getUpdateLinks() ?? "userSet", l = !n.getProtection().isStructureAllowed();
|
|
203
|
+
return h(g, {
|
|
204
|
+
ref: t,
|
|
205
|
+
...r,
|
|
206
|
+
sx: {
|
|
207
|
+
display: "flex",
|
|
208
|
+
flexDirection: "column",
|
|
209
|
+
boxSizing: "border-box",
|
|
210
|
+
gap: (e) => e.spacing(1.5),
|
|
211
|
+
padding: (e) => e.spacing(1.5),
|
|
212
|
+
overflowX: "hidden",
|
|
213
|
+
overflowY: "auto"
|
|
214
|
+
},
|
|
215
|
+
children: [h(v, {
|
|
216
|
+
disabled: l,
|
|
217
|
+
children: [m(b, {
|
|
218
|
+
sx: { typography: "body2" },
|
|
219
|
+
children: i("externalLink.updateLinks.label")
|
|
220
|
+
}), m(S, {
|
|
221
|
+
value: c,
|
|
222
|
+
onChange: (e, t) => {
|
|
223
|
+
n.setUpdateLinks(t), o();
|
|
224
|
+
},
|
|
225
|
+
children: j.map((e) => m(y, {
|
|
226
|
+
value: e,
|
|
227
|
+
control: m(x, { size: "small" }),
|
|
228
|
+
label: m(T, {
|
|
229
|
+
variant: "body2",
|
|
230
|
+
children: i(M[e])
|
|
231
|
+
})
|
|
232
|
+
}, e))
|
|
233
|
+
})]
|
|
234
|
+
}), m(T, {
|
|
235
|
+
variant: "caption",
|
|
236
|
+
sx: { color: "text.secondary" },
|
|
237
|
+
children: i("externalLink.updateLinks.note")
|
|
238
|
+
})]
|
|
239
|
+
});
|
|
240
|
+
}));
|
|
241
|
+
N.displayName = "ExternalLinkSettingsTab";
|
|
242
|
+
var P = {
|
|
243
|
+
links: E("externalLink.tab.links"),
|
|
244
|
+
settings: E("externalLink.tab.settings")
|
|
245
|
+
}, F = Object.keys(P), I = (e) => F.includes(e) ? e : null, L = l((e) => {
|
|
246
|
+
let { model: t, args: n, defaultTab: r = "links", entryKey: i, frame: a, ref: o, ...c } = e, l = s(), [u, d] = f(() => I(n?.tab) ?? r), [p, _] = f(n);
|
|
247
|
+
if (n !== p) {
|
|
248
|
+
_(n);
|
|
249
|
+
let e = I(n?.tab);
|
|
250
|
+
e && d(e);
|
|
251
|
+
}
|
|
252
|
+
return t ? h(g, {
|
|
253
|
+
ref: o,
|
|
254
|
+
...c,
|
|
255
|
+
sx: {
|
|
256
|
+
display: "flex",
|
|
257
|
+
flexDirection: "column",
|
|
258
|
+
width: "100%",
|
|
259
|
+
minWidth: 0,
|
|
260
|
+
flex: "1 1 auto",
|
|
261
|
+
height: "100%",
|
|
262
|
+
minHeight: 0,
|
|
263
|
+
overflowX: "hidden"
|
|
264
|
+
},
|
|
265
|
+
children: [m(w, {
|
|
266
|
+
value: u,
|
|
267
|
+
onChange: (e, t) => d(t),
|
|
268
|
+
variant: "fullWidth",
|
|
269
|
+
sx: {
|
|
270
|
+
width: "100%",
|
|
271
|
+
flex: "0 0 auto",
|
|
272
|
+
minHeight: "36px",
|
|
273
|
+
borderBottom: 1,
|
|
274
|
+
borderColor: "divider",
|
|
275
|
+
"& .MuiTab-root": {
|
|
276
|
+
minHeight: "36px",
|
|
277
|
+
textTransform: "none",
|
|
278
|
+
pt: .5,
|
|
279
|
+
pb: .5,
|
|
280
|
+
px: .5,
|
|
281
|
+
minWidth: 0
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
children: F.map((e) => m(C, {
|
|
285
|
+
value: e,
|
|
286
|
+
label: l(P[e])
|
|
287
|
+
}, e))
|
|
288
|
+
}), h(g, {
|
|
289
|
+
sx: {
|
|
290
|
+
flex: "1 1 auto",
|
|
291
|
+
minHeight: 0,
|
|
292
|
+
minWidth: 0,
|
|
293
|
+
width: "100%",
|
|
294
|
+
display: "flex",
|
|
295
|
+
flexDirection: "column"
|
|
296
|
+
},
|
|
297
|
+
children: [u === "links" ? m(A, {
|
|
298
|
+
workbook: t,
|
|
299
|
+
style: {
|
|
300
|
+
flex: "1 1 auto",
|
|
301
|
+
minHeight: 0,
|
|
302
|
+
minWidth: 0,
|
|
303
|
+
width: "100%"
|
|
304
|
+
}
|
|
305
|
+
}) : null, u === "settings" ? m(N, {
|
|
306
|
+
workbook: t,
|
|
307
|
+
style: {
|
|
308
|
+
flex: "1 1 auto",
|
|
309
|
+
minHeight: 0,
|
|
310
|
+
minWidth: 0,
|
|
311
|
+
width: "100%"
|
|
312
|
+
}
|
|
313
|
+
}) : null]
|
|
314
|
+
})]
|
|
315
|
+
}) : null;
|
|
316
|
+
});
|
|
317
|
+
L.displayName = "ExternalLinksTaskPane";
|
|
318
|
+
export { L as ExternalLinksTaskPane, L as default };
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.2
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: MIT
|
|
6
|
+
*/
|
|
7
|
+
import { n as e } from "./DrdNTvMdXdsemC4B.mjs";
|
|
8
|
+
import { n as t } from "./BMtcK4QQebSd-gg_.mjs";
|
|
9
|
+
import { t as n } from "./CEbCLniKqzKNP6MP.mjs";
|
|
10
|
+
import { useModelSync as r } from "@sheetxl/react";
|
|
11
|
+
import { NotifierType as i, useNotifier as a } from "@sheetxl/utils-react";
|
|
12
|
+
import { forwardRef as o, memo as s, useCallback as c, useMemo as l, useRef as u } from "react";
|
|
13
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
14
|
+
var f = (e) => {
|
|
15
|
+
let t = (t) => e.getCollection(t.getWorksheet());
|
|
16
|
+
return {
|
|
17
|
+
key: e.key,
|
|
18
|
+
messageKeys: e.messageKeys,
|
|
19
|
+
getItems: (t) => ((t) => {
|
|
20
|
+
let n = t.getSelectedWorksheet();
|
|
21
|
+
return n ? e.getCollection(n) : null;
|
|
22
|
+
})(t)?.getItems() ?? [],
|
|
23
|
+
subscribe: (t, n) => {
|
|
24
|
+
let r = null, i = () => {
|
|
25
|
+
r?.();
|
|
26
|
+
let i = {
|
|
27
|
+
onProtectionChange: () => n.onChange(),
|
|
28
|
+
onInvalidated: () => n.onInvalidated()
|
|
29
|
+
};
|
|
30
|
+
for (let t of e.changeEvents) i[t] = () => n.onChange();
|
|
31
|
+
r = t.getSelectedWorksheet()?.addListeners(i, { transactional: !1 }) ?? null;
|
|
32
|
+
};
|
|
33
|
+
i();
|
|
34
|
+
let a = t.addListeners({ onSelectedSheetChange: () => {
|
|
35
|
+
i(), n.onChange();
|
|
36
|
+
} }, { transactional: !1 });
|
|
37
|
+
return () => {
|
|
38
|
+
r?.(), a?.();
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
isReadOnly: (t) => {
|
|
42
|
+
let n = t.getSelectedWorksheet();
|
|
43
|
+
return !n || (e.isReadOnly?.(n) ?? !n.getProtection().isObjectsAllowed());
|
|
44
|
+
},
|
|
45
|
+
isItemReadOnly: (t, n) => {
|
|
46
|
+
let r = n.getSelectedWorksheet();
|
|
47
|
+
return !r || (e.isReadOnly?.(r) ?? !r.getProtection().isObjectsAllowed()) || t.isProtected();
|
|
48
|
+
},
|
|
49
|
+
subscribeItem: (e, t) => e.addListeners({
|
|
50
|
+
onInvalidated: () => t(),
|
|
51
|
+
onProtectedChange: () => t()
|
|
52
|
+
}, { transactional: !1 }),
|
|
53
|
+
createDraft: (n, r) => {
|
|
54
|
+
let i = t(n).createItem(r);
|
|
55
|
+
return r || e.applyNewDefaults?.(i), i;
|
|
56
|
+
},
|
|
57
|
+
createSeededDraft: e.applySeed ? (n, r) => {
|
|
58
|
+
let i = t(n).createItem();
|
|
59
|
+
return e.applyNewDefaults?.(i), e.applySeed(i, r), i;
|
|
60
|
+
} : void 0,
|
|
61
|
+
beforeSave: e.beforeSave,
|
|
62
|
+
validate: e.validate,
|
|
63
|
+
save: (n, r, i) => {
|
|
64
|
+
if (i === null) t(n).add(r, { replaceExisting: !0 });
|
|
65
|
+
else {
|
|
66
|
+
e.applyUpdate(i, r);
|
|
67
|
+
let t = r.getRanges();
|
|
68
|
+
t.isInvalid() || t.toString() === i.getRanges().toString() || i.setRanges(t);
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
delete: (e) => e.delete(),
|
|
72
|
+
duplicate: (e, n) => {
|
|
73
|
+
let r = t(n);
|
|
74
|
+
r.add(r.createItem(e), { index: e.getIndex() });
|
|
75
|
+
},
|
|
76
|
+
moveBy: e.reorderable ?? 1 ? (e, t) => {
|
|
77
|
+
e.setIndex(e.getIndex() + t);
|
|
78
|
+
} : void 0,
|
|
79
|
+
getCardTitle: e.getCardTitle,
|
|
80
|
+
getCardSubtitle: (e) => e.getRanges().toString(),
|
|
81
|
+
CardSubtitle: e.CardSubtitle,
|
|
82
|
+
CardMedia: e.CardMedia,
|
|
83
|
+
CardBody: e.CardBody,
|
|
84
|
+
EditorBody: ({ draft: t }) => {
|
|
85
|
+
let n = e.EditorBody;
|
|
86
|
+
return d(n, { item: t });
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
}, p = s(o((e, t) => {
|
|
90
|
+
let { workbook: r, descriptor: i, args: a, dragReorder: o, ...s } = e, c = l(() => f(i), [i]);
|
|
91
|
+
return d(n, {
|
|
92
|
+
ref: t,
|
|
93
|
+
workbook: r,
|
|
94
|
+
descriptor: c,
|
|
95
|
+
args: a,
|
|
96
|
+
dragReorder: o,
|
|
97
|
+
...s
|
|
98
|
+
});
|
|
99
|
+
}));
|
|
100
|
+
p.displayName = "AnchorItemsPanel";
|
|
101
|
+
var m = s((n) => {
|
|
102
|
+
let { item: o, label: s, helperText: f } = n, p = a();
|
|
103
|
+
r(o, ["onAnchorCoordsChange", "onAnyChange"]);
|
|
104
|
+
let m = o.getRanges(), h = l(() => {
|
|
105
|
+
if (m.isInvalid()) return;
|
|
106
|
+
let e = m.at(0).getCoords();
|
|
107
|
+
return {
|
|
108
|
+
rowIndex: e.rowStart,
|
|
109
|
+
colIndex: e.colStart,
|
|
110
|
+
scope: m.at(0).getWorksheet().getName()
|
|
111
|
+
};
|
|
112
|
+
}, [m]), g = u(!1), _ = c((e) => {
|
|
113
|
+
g.current = !1;
|
|
114
|
+
let t = e?.getReferences();
|
|
115
|
+
if (t && !t.isInvalid()) try {
|
|
116
|
+
o.setRanges(t);
|
|
117
|
+
} catch (e) {
|
|
118
|
+
g.current = !0, p.showMessage?.(e.message, { type: i.Error });
|
|
119
|
+
}
|
|
120
|
+
}, [o, p]), v = u(null);
|
|
121
|
+
return t(() => {
|
|
122
|
+
let e = v.current;
|
|
123
|
+
return !e || !e.dirty || !e.error && (e.commit(), !g.current);
|
|
124
|
+
}), d(e, {
|
|
125
|
+
grammar: "reference",
|
|
126
|
+
value: m,
|
|
127
|
+
allowMulti: !0,
|
|
128
|
+
allowCrossSheet: !1,
|
|
129
|
+
required: !0,
|
|
130
|
+
home: h,
|
|
131
|
+
pickAs: "absolute",
|
|
132
|
+
changeOn: "done",
|
|
133
|
+
onDone: _,
|
|
134
|
+
apiRef: v,
|
|
135
|
+
label: s,
|
|
136
|
+
helperText: f,
|
|
137
|
+
disabled: o.isProtected()
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
m.displayName = "AnchoredRangeField";
|
|
141
|
+
export { p as n, m as t };
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. -
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v1.0.2
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
function e(t) {
|
|
8
8
|
var n, r, i = "";
|
|
9
9
|
if (typeof t == "string" || typeof t == "number") i += t;
|
|
10
|
-
else if (typeof t == "object")
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
else if (typeof t == "object") {
|
|
11
|
+
if (Array.isArray(t)) {
|
|
12
|
+
var a = t.length;
|
|
13
|
+
for (n = 0; n < a; n++) t[n] && (r = e(t[n])) && (i && (i += " "), i += r);
|
|
14
|
+
} else for (r in t) t[r] && (i && (i += " "), i += r);
|
|
15
|
+
}
|
|
14
16
|
return i;
|
|
15
17
|
}
|
|
16
18
|
function t() {
|