@sheetxl/studio-mui 0.8.0-beta.11 → 0.8.0-beta.12
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/{DTpRkgsTm_zYnWfW.mjs → 0IBZhOJaVmzJxuTv.mjs} +1 -1
- package/browser/esm/{LZoYSQAYV2wksnDv.mjs → 2nRxqrNYbmEn8fS8.mjs} +5 -5
- package/browser/esm/{DDc6rDuU9JAo1DH_.mjs → 7fVZXXuonYb6Z7FU.mjs} +3 -3
- package/browser/esm/{DpD4fg2WcyiKX_2K.mjs → BAzhmMX4Fk_qnUTp.mjs} +5 -5
- package/browser/esm/{CBD4RiRKbbZtSXV-.mjs → BGL3x0W74D7qZXlf.mjs} +3 -3
- package/browser/esm/{D9ISy7VkaRRFJl46.mjs → BHGr2gsFofTdAFxq.mjs} +4 -4
- package/browser/esm/{BknfGJouygmnpFIU.mjs → BKhcJI-G15D3kGap.mjs} +2 -2
- package/browser/esm/{CyLn6zOOp_biA3xU.mjs → BNbub9weuqm3mcoF.mjs} +8 -8
- package/browser/esm/{CWkOgdL7mOKiTR62.mjs → BSv9MVJaz1DVEffm.mjs} +4 -4
- package/browser/esm/{BAbq4-I5f5oUiNaF.mjs → BWfLpYmd3cSgJ0C6.mjs} +4 -4
- package/browser/esm/{0BWO0bLZ8Vm_dKd2.mjs → BZqwbIE8qzjSOYcJ.mjs} +13 -13
- package/browser/esm/{ttjcNHcFn8O6hfnd.mjs → BZy9xUrYpAtnKeji.mjs} +11 -11
- package/browser/esm/{COlZu93LRwuBvjE-.mjs → BnkwC5rsg9LZyhoP.mjs} +2 -2
- package/browser/esm/{BvhYPwX3GrRaO9CM.mjs → BpJsBv413cNQpyg0.mjs} +3 -3
- package/browser/esm/{DDczwkXhz_MHub4z.mjs → BpVrgbVISiTDyFR3.mjs} +2 -2
- package/browser/esm/{DRSCS6aLiYmPjUz1.mjs → BsngRDhvVYGVBJeK.mjs} +365 -362
- package/browser/esm/{Ds3XRkne7HxcXD8J.mjs → C29TKq47CbXs652l.mjs} +2 -2
- package/browser/esm/{BXhNFzyEGokTF-BL.mjs → C8p2iMad_NNCwGI_.mjs} +2 -2
- package/browser/esm/{G0Inqm6Eqw47dMpa.mjs → CBzXksWnb-1gGEWZ.mjs} +1 -1
- package/browser/esm/{zqilJefihVd7At2T.mjs → CFIAWgpU3UyepLBn.mjs} +7 -7
- package/browser/esm/{DG21x7RKDpge6zAE.mjs → CJD4jF4m9cBGHzr_.mjs} +1 -1
- package/browser/esm/{C9pIZVACtl9unFOp.mjs → CMc7G7cevxzPGxr9.mjs} +2 -2
- package/browser/esm/{HViD4Wfoi0mmqk9w.mjs → CYtULLhY9M2m3DeH.mjs} +1 -1
- package/browser/esm/{Buqcl7J75MJrhpVE.mjs → CeF35ZeFP28Do5Zx.mjs} +8 -8
- package/browser/esm/{D3rRUK4dIM5gUSmj.mjs → CjYKDxU4EP2Kf_vo.mjs} +2 -2
- package/browser/esm/{BlE_8o8tO2AgAlaj.mjs → Cq82lvdjyBvlJ8xJ.mjs} +1 -1
- package/browser/esm/{DEv4pIEgYr5C7etm.mjs → CuRxFAO42JkQvMEx.mjs} +1 -1
- package/browser/esm/{C8JU4KsMasmLvojI.mjs → Cvk2yY90hpgXWMAt.mjs} +1 -1
- package/browser/esm/{CynTY0oNtyJnoaBq.mjs → D0slJycx3nq53qmf.mjs} +1 -1
- package/browser/esm/{DKtJxrpN0axtuQ0l.mjs → D2jzliMwAo2ENpfi.mjs} +1 -1
- package/browser/esm/{DdcZrjMLWVukWcU5.mjs → D5Fn0Hqllwv5HY6i.mjs} +768 -660
- package/browser/esm/{Bujtz_Guj88d03vI.mjs → D5N4nGaZsXtrHAOh.mjs} +6 -6
- package/browser/esm/{ChSVxkPTIjgcC8PL.mjs → D7AqPfyhMiuda5l5.mjs} +2 -2
- package/browser/esm/{BED6h6YAwCf1HEQJ.mjs → DHZA48ZMCETvHmeP.mjs} +1 -1
- package/browser/esm/{Di3BUxA0SqFWWgeg.mjs → DX2_vf7WX6uRLaOZ.mjs} +1 -1
- package/browser/esm/{DnGaP5F7mLwCGUYG.mjs → DaxpbAF1ShkT7hNU.mjs} +206 -124
- package/browser/esm/{YThnrg3PadGs7B4j.mjs → Db3oHfXiRtcH015t.mjs} +143 -137
- package/browser/esm/{C0wlMAIn9iREPK6w.mjs → Dt47Huh1l3C4_5_w.mjs} +1 -1
- package/browser/esm/{xFqkfN8QMCxvsetB.mjs → DtPt0phL7m56YfHZ.mjs} +1 -1
- package/browser/esm/{CTjqDD-swFMZzI-Y.mjs → DtTDaXmnWUoG4VBO.mjs} +2 -2
- package/browser/esm/{Brsh5yscJ_4uKFXp.mjs → DuuyN4-7K6_io2Py.mjs} +2 -2
- package/browser/esm/{w_JrR69vEpvoyeMy.mjs → NeGeLF3gbGMZyV6E.mjs} +1 -1
- package/browser/esm/{BokqKEpU6TFgfRs6.mjs → PY3Br5Bo_TxcCnCU.mjs} +2 -2
- package/browser/esm/{DV6i9RQZfJiKtEaJ.mjs → WIhvQtBkGiw-oFUs.mjs} +636 -622
- package/browser/esm/{DJOOed_OtB-XT7f3.mjs → WgIvwAENeO8LANax.mjs} +6 -6
- package/browser/esm/{BjvD_4t2KGsZP5V8.mjs → Yjq3p_7eVGFw2Jod.mjs} +3 -3
- package/browser/esm/index.mjs +290 -287
- package/browser/esm/{QgaAIDUMmBQBsXP9.mjs → jFRFCWlkD7Dsrhkh.mjs} +84 -84
- package/browser/esm/{BYE9gCDWKyx6mnVs.mjs → lKXEDVt2ow1NlWJj.mjs} +114 -103
- package/browser/esm/{CEtXsBzEjEKk9GOj.mjs → oC0OwOddhOD0OoCJ.mjs} +2 -2
- package/browser/esm/{DsoNMWDwHZP8UXQd.mjs → tIKqpsA0vNXH9EgU.mjs} +1 -1
- package/browser/esm/{ClBvNPeNCAhuVWrG.mjs → u84rSnESjxqB6gay.mjs} +1 -1
- package/node/esm/{DMXLxp3T0E0SRTQc.mjs → B8Ls4Eh1k8-Yiry_.mjs} +1 -1
- package/node/esm/{3WghtBXAvCDwcVrq.mjs → B9X3n8MglL4OitAV.mjs} +1 -1
- package/node/esm/{XEDcegsv5AGKBfu2.mjs → BBGoyqs2L_ccSH1e.mjs} +2 -2
- package/node/esm/{zITjZ7R4raDqhP-n.mjs → BLv99aovW4R3C5PE.mjs} +3 -3
- package/node/esm/{DfCuL8AUxMFoEG2s.mjs → BUGU_5lUtnCRlp3n.mjs} +36 -36
- package/node/esm/{BNg4QQY0WAPLE0q7.mjs → BalROFG_oa9PFs9Q.mjs} +3 -3
- package/node/esm/{Bph-sR3l6AYWeuxK.mjs → BqVxnA1mo52ubjdf.mjs} +2 -2
- package/node/esm/{CZyA9uD4SkTvqp_G.mjs → C3FCh9xju2SccUIE.mjs} +253 -253
- package/node/esm/{Do-zCKziWhoG5eAv.mjs → C4F6WY8M4nkLyxdb.mjs} +2 -2
- package/node/esm/{CSAnTp5rwId0DUb8.mjs → CKWeipCqqpLnLE5e.mjs} +127 -116
- package/node/esm/{DLqBHdFp6wvm6EGs.mjs → CTnVNfz4eqFnM92M.mjs} +1 -1
- package/node/esm/{BPzcW4BejRqso338.mjs → Cfi_ly8fBDZZdiZT.mjs} +3 -3
- package/node/esm/{Db3dbaYLKUO66T9s.mjs → CgKa6JuyJ1tTodev.mjs} +414 -400
- package/node/esm/{4HmLH0bPVJCZLgik.mjs → Cq53M7bAUSXMNq1f.mjs} +1 -1
- package/node/esm/{1bf4gn-2vld4BZ9u.mjs → Cr8AYWUoU-XVt0hu.mjs} +1 -1
- package/node/esm/CyuOE595I2e-U4cG.mjs +236 -0
- package/node/esm/{D-xqQ5qOSd6WrzwJ.mjs → D72CupF9mfy2D1Xa.mjs} +1 -1
- package/node/esm/{CyafafEgfmjLqE5O.mjs → DGDHFK8okuVbRCe5.mjs} +1 -1
- package/node/esm/{DpJ2gmZJioCyq8La.mjs → DJFkALt4XrwkMbnU.mjs} +166 -160
- package/node/esm/{CPq-MIdEnc-53JpF.mjs → DJpwI8PlKBI2rk0r.mjs} +2 -2
- package/node/esm/{DWqvf4H5F2wMnZ0L.mjs → DQaGPUYbgL4Y5YZW.mjs} +1 -1
- package/node/esm/{CYIoK22I6Yvv12_x.mjs → DsNYnq4NtYBxPmeA.mjs} +1 -1
- package/node/esm/{yCUxQuqVuC4DHKPx.mjs → DygDgOpa9sJ6YFVS.mjs} +1 -1
- package/node/esm/Dz0Hg87UcJ-awwiI.mjs +489 -0
- package/node/esm/{BIMkjQUwG4Ih-6Sh.mjs → M7YxvRPGCuxuk9aK.mjs} +1 -1
- package/node/esm/{CWcv7UVXF8IUB0PC.mjs → QNjtpX8rIpqGGLEJ.mjs} +15 -15
- package/node/esm/{DdEzhVqYTrGODXrz.mjs → ZzvsynJTCSuChYS-.mjs} +1 -1
- package/node/esm/{CjC6s3RUJQNCF7mP.mjs → di_8-pXh90j4BO4j.mjs} +1 -1
- package/node/esm/{CvRbu8JPxFarsSR-.mjs → dm8dmEaTIqfmgyeL.mjs} +5 -5
- package/node/esm/{CuMePia6i_8yfJ6S.mjs → fmya3XQnTGyQisvT.mjs} +9 -9
- package/node/esm/{BR45ogAR-hY2bE60.mjs → gPYAb_A0T5ZwcQ1E.mjs} +1 -1
- package/node/esm/index.mjs +2817 -2702
- package/node/esm/{DeZJlLk8WJ3BLtLs.mjs → wB8xMpyJ_NvE16yG.mjs} +3 -3
- package/node/esm/{BlN7G0DVC24zauig.mjs → zGAcd4Jr7wkvXDBS.mjs} +1 -1
- package/package.json +9 -9
- package/resources/locales/de/groups.cmd.json +4 -0
- package/resources/locales/de/ui.msg.json +3 -1
- package/resources/locales/en/groups.cmd.json +4 -0
- package/resources/locales/en/ui.msg.json +3 -1
- package/types/src/border/BorderPopupButton.d.ts +1 -1
- package/types/src/color/ColorPopupButton.d.ts +1 -1
- package/types/src/command/AccountingStyleCommandButton.d.ts +1 -1
- 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/index.d.ts +1 -0
- package/types/src/conditionalFormat/IconPickerPopupButton.d.ts +1 -1
- package/types/src/conditions/ConditionEditor.d.ts +1 -1
- package/types/src/conditions/OperatorAndParamEditor.d.ts +1 -1
- package/types/src/conditions/OperatorSelectPopupButton.d.ts +1 -1
- package/types/src/fill/PatternPopupButton.d.ts +1 -1
- package/types/src/formulaBar/IFormulaBar.d.ts +4 -2
- package/types/src/itemsPanel/ItemsPanel.d.ts +5 -0
- package/types/src/named/NamedDetailsPanel.d.ts +2 -2
- package/types/src/statusBar/PendingStatus.d.ts +19 -0
- package/types/src/statusBar/index.d.ts +1 -0
- package/types/src/studio/StudioProps.d.ts +10 -10
- package/types/src/template/TemplatePanel.d.ts +5 -1
- package/types/src/theme/ThemeSelectPopupButton.d.ts +1 -1
- package/types/src/toolbar/WorkbookToolbars.d.ts +1 -1
- package/types/src/workbook/DefaultRenderers.d.ts +30 -18
- 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/node/esm/B0bdb_6p7fQI_ivo.mjs +0 -236
- package/node/esm/DatM6eEYPpAtIMy-.mjs +0 -405
|
@@ -1,11 +1,11 @@
|
|
|
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.12
|
|
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 { PasswordField as e,
|
|
8
|
-
import { n as o, t as n } from "./
|
|
7
|
+
import { PasswordField as e, c as t } from "./index.mjs";
|
|
8
|
+
import { n as o, t as n } from "./BalROFG_oa9PFs9Q.mjs";
|
|
9
9
|
import { ICellRange as i } from "@sheetxl/sdk";
|
|
10
10
|
import { promptUnlockProtectedRanges as r, useModelListener as a, useModelSync as s } from "@sheetxl/react";
|
|
11
11
|
import { DynamicIcon as l, NotifierType as c, useNotifier as d, useTranslator as p } from "@sheetxl/utils-react";
|
|
@@ -1,5 +1,5 @@
|
|
|
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.12
|
|
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.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/studio-mui",
|
|
3
3
|
"description": "Studio - Spreadsheet UI built with SheetXL SDK using React & MUI.",
|
|
4
|
-
"version": "0.8.0-beta.
|
|
4
|
+
"version": "0.8.0-beta.12",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
52
52
|
"@dnd-kit/sortable": "^10.0.0",
|
|
53
53
|
"@dnd-kit/utilities": "^3.2.2",
|
|
54
|
-
"@sheetxl/grid-react": "^0.8.0-beta.
|
|
55
|
-
"@sheetxl/io": "^0.8.0-beta.
|
|
56
|
-
"@sheetxl/react": "^0.8.0-beta.
|
|
57
|
-
"@sheetxl/scripting-react": "^0.8.0-beta.
|
|
58
|
-
"@sheetxl/sdk": "^0.8.0-beta.
|
|
59
|
-
"@sheetxl/utils": "^0.8.0-beta.
|
|
60
|
-
"@sheetxl/utils-mui": "^0.8.0-beta.
|
|
61
|
-
"@sheetxl/utils-react": "^0.8.0-beta.
|
|
54
|
+
"@sheetxl/grid-react": "^0.8.0-beta.12",
|
|
55
|
+
"@sheetxl/io": "^0.8.0-beta.12",
|
|
56
|
+
"@sheetxl/react": "^0.8.0-beta.12",
|
|
57
|
+
"@sheetxl/scripting-react": "^0.8.0-beta.12",
|
|
58
|
+
"@sheetxl/sdk": "^0.8.0-beta.12",
|
|
59
|
+
"@sheetxl/utils": "^0.8.0-beta.12",
|
|
60
|
+
"@sheetxl/utils-mui": "^0.8.0-beta.12",
|
|
61
|
+
"@sheetxl/utils-react": "^0.8.0-beta.12",
|
|
62
62
|
"clsx": "^2.1.1",
|
|
63
63
|
"csstype": "^3.2.3",
|
|
64
64
|
"file-saver": "^2.0.5",
|
|
@@ -146,6 +146,10 @@
|
|
|
146
146
|
"label": "Schnellfunktion",
|
|
147
147
|
"description": "Weitere Funktionen."
|
|
148
148
|
},
|
|
149
|
+
"insertCellControlOptions": {
|
|
150
|
+
"description": "Ein Kontrollkästchen oder ein anderes registriertes Zellsteuerelement in die markierten Zellen einfügen.",
|
|
151
|
+
"icon": "CheckboxInsert"
|
|
152
|
+
},
|
|
149
153
|
"insertImageOptions": {
|
|
150
154
|
"description": "Ein Bild aus dem Web einfügen, um Ihre Daten zu ergänzen.",
|
|
151
155
|
"icon": "InsertImage"
|
|
@@ -653,15 +653,16 @@
|
|
|
653
653
|
"named.new": "Neuer Name",
|
|
654
654
|
"named.noMatches": "Keine passenden Namen.",
|
|
655
655
|
"named.none": "Keine Namen.",
|
|
656
|
+
"named.references": "{count, plural, =0{Nicht referenziert} one{# Verweis} other{# Verweise}}",
|
|
656
657
|
"named.refersTo": "Bezieht sich auf",
|
|
657
658
|
"named.refersToHelp": "Eine Bereichsadresse oder eine Formel, die mit = beginnt.",
|
|
659
|
+
"named.removeUnusedHidden": "{count, plural, one{# nicht verwendeten ausgeblendeten Namen löschen} other{# nicht verwendete ausgeblendete Namen löschen}}",
|
|
658
660
|
"named.save": "Speichern",
|
|
659
661
|
"named.scope": "Gültigkeitsbereich",
|
|
660
662
|
"named.scopeHelp": "Wo der Name verwendet werden kann.",
|
|
661
663
|
"named.scopeWorkbook": "Arbeitsmappe",
|
|
662
664
|
"named.scopedTo": "Gültigkeitsbereich: {scope}",
|
|
663
665
|
"named.search": "Namen suchen",
|
|
664
|
-
"named.showHidden": "Ausgeblendete anzeigen",
|
|
665
666
|
"namedInput.label": "Name",
|
|
666
667
|
"namedRange.titleDefine": "Bereich definieren",
|
|
667
668
|
"namedRange.titleEdit": "Bereich bearbeiten",
|
|
@@ -864,6 +865,7 @@
|
|
|
864
865
|
"statusBar.cancelMode": "Abbrechen",
|
|
865
866
|
"statusBar.circularReferences": "Zirkelbezüge",
|
|
866
867
|
"statusBar.doneMode": "Fertig",
|
|
868
|
+
"statusBar.pending": "{count, plural, one{Warte auf # Ergebnis. Klicken, um nicht mehr zu warten.} other{Warte auf # Ergebnisse. Klicken, um nicht mehr zu warten.}}",
|
|
867
869
|
"statusBar.point": "Zeigen",
|
|
868
870
|
"statusBar.ready": "Bereit",
|
|
869
871
|
"table.noneSelected": "Keine Tabelle ausgewählt",
|
|
@@ -149,6 +149,10 @@
|
|
|
149
149
|
"description": "More functions.",
|
|
150
150
|
"label": "Quick Function"
|
|
151
151
|
},
|
|
152
|
+
"insertCellControlOptions": {
|
|
153
|
+
"description": "Insert a checkbox, or another registered cell control, in the selected cells.",
|
|
154
|
+
"icon": "CheckboxInsert"
|
|
155
|
+
},
|
|
152
156
|
"insertImageOptions": {
|
|
153
157
|
"description": "Insert a picture from the web to complement your data.",
|
|
154
158
|
"icon": "InsertImage"
|
|
@@ -658,15 +658,16 @@
|
|
|
658
658
|
"named.new": "New Name",
|
|
659
659
|
"named.noMatches": "No names match.",
|
|
660
660
|
"named.none": "No Names.",
|
|
661
|
+
"named.references": "{count, plural, =0{Not referenced} one{# reference} other{# references}}",
|
|
661
662
|
"named.refersTo": "Refers To",
|
|
662
663
|
"named.refersToHelp": "A range address, or a formula beginning with =.",
|
|
664
|
+
"named.removeUnusedHidden": "{count, plural, one{Delete # unused hidden name} other{Delete # unused hidden names}}",
|
|
663
665
|
"named.save": "Save",
|
|
664
666
|
"named.scope": "Scope",
|
|
665
667
|
"named.scopedTo": "Scope: {scope}",
|
|
666
668
|
"named.scopeHelp": "Where the name can be used.",
|
|
667
669
|
"named.scopeWorkbook": "Workbook",
|
|
668
670
|
"named.search": "Search names",
|
|
669
|
-
"named.showHidden": "Show hidden",
|
|
670
671
|
"namedInput.label": "Name",
|
|
671
672
|
"namedRange.titleDefine": "Define Range",
|
|
672
673
|
"namedRange.titleEdit": "Edit Range",
|
|
@@ -869,6 +870,7 @@
|
|
|
869
870
|
"statusBar.cancelMode": "Cancel",
|
|
870
871
|
"statusBar.circularReferences": "Circular References",
|
|
871
872
|
"statusBar.doneMode": "Done",
|
|
873
|
+
"statusBar.pending": "{count, plural, one{Waiting for # result. Click to stop waiting.} other{Waiting for # results. Click to stop waiting.}}",
|
|
872
874
|
"statusBar.point": "Point",
|
|
873
875
|
"statusBar.ready": "Ready",
|
|
874
876
|
"table.noneSelected": "No table selected",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IColor, IBorders } from '@sheetxl/sdk';
|
|
3
3
|
import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
|
|
4
|
-
export interface BorderPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "
|
|
4
|
+
export interface BorderPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "renderPopupPanel"> {
|
|
5
5
|
selectedBorder: Partial<IBorders.Properties>;
|
|
6
6
|
/**
|
|
7
7
|
* Create a border.
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { IColor } from '@sheetxl/sdk';
|
|
3
3
|
import { PopupButtonType, ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
|
|
4
4
|
import { ColorPanelProps } from './ColorPanel';
|
|
5
|
-
export interface ColorPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "
|
|
5
|
+
export interface ColorPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "renderPopupPanel"> {
|
|
6
6
|
/** `null` means no color of its own — the AUTO swatch is the selected one. */
|
|
7
7
|
selectedColor: IColor | null;
|
|
8
8
|
onSelectColor?: (color: IColor | null, isCustom: boolean) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
|
|
3
|
-
export interface AccountingStyleCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, 'icon' | 'label' | '
|
|
3
|
+
export interface AccountingStyleCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, 'icon' | 'label' | 'renderPopupPanel'> {
|
|
4
4
|
/** The render surface, for scoped command chrome (label/description). */
|
|
5
5
|
groupKey?: string;
|
|
6
6
|
}
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { ITheme } from '@sheetxl/sdk';
|
|
3
3
|
import { CommandButtonType } from '@sheetxl/utils-react';
|
|
4
4
|
import { ThemeSelectPopupButtonProps } from '../theme';
|
|
5
|
-
export interface DocThemeCommandButtonProps extends Omit<ThemeSelectPopupButtonProps, "
|
|
5
|
+
export interface DocThemeCommandButtonProps extends Omit<ThemeSelectPopupButtonProps, "renderPopupPanel" | "variant" | "themes" | "icon" | "label"> {
|
|
6
6
|
commandKey: string;
|
|
7
7
|
icon?: React.ReactNode | ((command: any) => React.ReactNode);
|
|
8
8
|
label?: React.ReactNode | ((command: any) => React.ReactNode);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
|
|
3
|
-
export interface FontFamilyCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "label" | "
|
|
3
|
+
export interface FontFamilyCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "label" | "renderPopupPanel"> {
|
|
4
4
|
commandKey: string;
|
|
5
5
|
icon?: React.ReactNode | ((command: any) => React.ReactNode);
|
|
6
6
|
label?: React.ReactNode | ((command: any) => React.ReactNode);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
|
|
3
|
-
export interface FontSizeCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "label" | "
|
|
3
|
+
export interface FontSizeCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "label" | "renderPopupPanel"> {
|
|
4
4
|
commandKey?: string;
|
|
5
5
|
icon?: React.ReactNode | ((command: any) => React.ReactNode);
|
|
6
6
|
label?: React.ReactNode | ((command: any) => React.ReactNode);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CommandButtonProps } from '@sheetxl/utils-react';
|
|
3
|
+
/** The key the ribbon's insert-control entry is registered under. */
|
|
4
|
+
export declare const INSERT_CELL_CONTROL_OPTIONS_KEY = "insertCellControlOptions";
|
|
5
|
+
/**
|
|
6
|
+
* The Insert ribbon's cell control button. With only the built-in checkbox registered it is the
|
|
7
|
+
* plain `insertCheckbox` button, as it always was; once a host registers another control type that
|
|
8
|
+
* draws, it becomes a split button: the checkbox stays the quick action, and the dropdown lists
|
|
9
|
+
* every type, each running `insertCellControl` with the type as its argument, then the
|
|
10
|
+
* `formatCellControl` pane.
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* Registered as the `insertCellControlOptions` entry's `render`, so its label, icon and tooltip
|
|
14
|
+
* come from the catalog like any other ribbon control, and it follows the content registry live.
|
|
15
|
+
*/
|
|
16
|
+
export declare const InsertCellControlCommandButton: React.NamedExoticComponent<CommandButtonProps<any, any, void> & React.RefAttributes<HTMLElement>>;
|
|
17
|
+
//# sourceMappingURL=InsertCellControlCommandButton.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
|
|
3
|
-
export interface LanguageCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, 'icon' | 'label' | '
|
|
3
|
+
export interface LanguageCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, 'icon' | 'label' | 'renderPopupPanel'> {
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* The UI-language picker, backed by the studio `language` command (state = the active tag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
|
|
3
|
-
export interface LocaleCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, 'icon' | 'label' | '
|
|
3
|
+
export interface LocaleCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, 'icon' | 'label' | 'renderPopupPanel'> {
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* The workbook regional-format (locale) picker, backed by the workbook `locale` command.
|
|
@@ -21,4 +21,5 @@ export * from './StudioCommandGroups';
|
|
|
21
21
|
export * from './WalkingCopyCommandButton';
|
|
22
22
|
export * from './InsertFunctionSumCommandPopupButton';
|
|
23
23
|
export * from './InsertFunctionCommandPopupButton';
|
|
24
|
+
export * from './InsertCellControlCommandButton';
|
|
24
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,7 +7,7 @@ export type IconAddress = {
|
|
|
7
7
|
set: ICellStyle.IconSet;
|
|
8
8
|
id: number;
|
|
9
9
|
};
|
|
10
|
-
export interface IconPickerPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, 'icon' | '
|
|
10
|
+
export interface IconPickerPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, 'icon' | 'renderPopupPanel'> {
|
|
11
11
|
/** What the band draws now, or `null` for nothing. */
|
|
12
12
|
icon: ConditionalIconSpec | null;
|
|
13
13
|
/**
|
|
@@ -87,7 +87,7 @@ export interface ConditionEditorProps extends React.HTMLAttributes<HTMLDivElemen
|
|
|
87
87
|
* validation or format pane clears its rule (the X), a filter has nothing to clear and passes
|
|
88
88
|
* `null` for no button. See {@link RemoveButtonProps}. Nested rules keep their X.
|
|
89
89
|
*/
|
|
90
|
-
renderRemove?: ((props: RemoveButtonProps) => React.
|
|
90
|
+
renderRemove?: ((props: RemoveButtonProps) => React.ReactNode) | null;
|
|
91
91
|
/**
|
|
92
92
|
* The box's own styles. The editor draws no surface or padding of its own: a pane that wants
|
|
93
93
|
* it framed gives it the frame; a menu lays it against its own edges.
|
|
@@ -34,7 +34,7 @@ export interface OperatorAndParamEditorProps extends React.HTMLAttributes<HTMLDi
|
|
|
34
34
|
* or none: `null` draws no button, `undefined` the X. The renderer may answer `null` too, for
|
|
35
35
|
* one operator and not another.
|
|
36
36
|
*/
|
|
37
|
-
renderRemove?: ((props: RemoveButtonProps) => React.
|
|
37
|
+
renderRemove?: ((props: RemoveButtonProps) => React.ReactNode) | null;
|
|
38
38
|
/**
|
|
39
39
|
* All operators available at this level (leaf + combinator), already filtered by selector.
|
|
40
40
|
* Passed straight through to children — not re-filtered here.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ICondition } from '@sheetxl/sdk';
|
|
3
3
|
import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
|
|
4
|
-
export interface OperatorSelectPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "
|
|
4
|
+
export interface OperatorSelectPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "renderPopupPanel" | "onChange"> {
|
|
5
5
|
/**
|
|
6
6
|
* Current selected rule. Null represents "Any".
|
|
7
7
|
*/
|
|
@@ -7,7 +7,7 @@ import { ExhibitPopupButtonProps } from '@sheetxl/utils-mui';
|
|
|
7
7
|
* seeing `key → english`; a computed key would be invisible to it.
|
|
8
8
|
*/
|
|
9
9
|
export declare function patternLabel(t: TranslateFn, pattern: IFill.BuiltInSheetPattern): string;
|
|
10
|
-
export interface PatternPopupButtonProps extends Omit<ExhibitPopupButtonProps, 'icon' | '
|
|
10
|
+
export interface PatternPopupButtonProps extends Omit<ExhibitPopupButtonProps, 'icon' | 'renderPopupPanel'> {
|
|
11
11
|
/** The currently applied tile. */
|
|
12
12
|
selectedPattern: IFill.BuiltInSheetPattern;
|
|
13
13
|
/** The tile's mark color, so the gallery previews the pattern the user will actually get. */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IWorkbook } from '@sheetxl/sdk';
|
|
3
|
+
import { RenderSlotFn } from '@sheetxl/utils-react';
|
|
3
4
|
import { SheetEditable } from '@sheetxl/react';
|
|
4
5
|
import { NamedCollectionEditorProps, INamedCollectionEditorElement } from '../named';
|
|
5
6
|
/**
|
|
@@ -26,9 +27,10 @@ export interface FormulaBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
26
27
|
*/
|
|
27
28
|
propsNamedCollectionEditor?: NamedCollectionEditorProps;
|
|
28
29
|
/**
|
|
29
|
-
* Override the default NamedCollectionEditor
|
|
30
|
+
* Override the default NamedCollectionEditor. Pass `props.ref` on to the
|
|
31
|
+
* {@link INamedCollectionEditorElement}.
|
|
30
32
|
*/
|
|
31
|
-
renderNamedCollectionEditor?:
|
|
33
|
+
renderNamedCollectionEditor?: RenderSlotFn<NamedCollectionEditorProps>;
|
|
32
34
|
/**
|
|
33
35
|
* Disabled the ui.
|
|
34
36
|
*/
|
|
@@ -32,6 +32,11 @@ export interface ItemsPanelProps<T = any, D = T> extends React.HTMLAttributes<HT
|
|
|
32
32
|
* list is a state these controls can produce.
|
|
33
33
|
*/
|
|
34
34
|
listActions?: React.ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Rendered under the list, in every state including an empty one — an action on the collection
|
|
37
|
+
* as a whole rather than on any card (a cleanup of what the list does not show).
|
|
38
|
+
*/
|
|
39
|
+
footer?: React.ReactNode;
|
|
35
40
|
/**
|
|
36
41
|
* Enables drag reordering of the cards, and animates every reorder — dropped drags and the
|
|
37
42
|
* move up/down buttons alike.
|
|
@@ -11,8 +11,8 @@ export interface NamedDetailsPanelProps extends React.HTMLAttributes<HTMLDivElem
|
|
|
11
11
|
args?: ItemsPaneArgs<never, INamed>;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
* The managed-names task pane: every defined name in the workbook — across all scopes and
|
|
15
|
-
* type — with add/edit/delete
|
|
14
|
+
* The managed-names task pane: every visible defined name in the workbook — across all scopes and
|
|
15
|
+
* of every type — with add/edit/delete and search, and the removal of hidden names nothing reads.
|
|
16
16
|
*/
|
|
17
17
|
export declare const NamedDetailsPanel: React.NamedExoticComponent<NamedDetailsPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
//# sourceMappingURL=NamedDetailsPanel.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface PendingStatusProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* Debounce (ms) between a change and the re-read.
|
|
5
|
+
*
|
|
6
|
+
* @defaultValue 40
|
|
7
|
+
*/
|
|
8
|
+
debounceDelay?: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The status bar's async icon: shown while function results are awaited, saying how many in its
|
|
12
|
+
* tooltip. Pressing it cancels them (Excel's *Cancel Refresh*).
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Renders nothing when nothing is pending. Read on the calculation's
|
|
16
|
+
* `onPendingChange` and `onStatusChange`, debounced like the number stats.
|
|
17
|
+
*/
|
|
18
|
+
export declare const PendingStatus: React.MemoExoticComponent<(props: PendingStatusProps) => React.JSX.Element | null>;
|
|
19
|
+
//# sourceMappingURL=PendingStatus.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IWorkbook, IWorkbookIO } from '@sheetxl/sdk';
|
|
2
|
-
import { ErrorPanelProps, LoadingPanelProps } from '@sheetxl/utils-react';
|
|
2
|
+
import { ErrorPanelProps, LoadingPanelProps, RenderSlotFn } from '@sheetxl/utils-react';
|
|
3
3
|
import { SxProps } from '@mui/system';
|
|
4
4
|
import { Theme, ThemeOptions, PaperProps } from '@mui/material';
|
|
5
|
-
import { TaskPaneAreaProps,
|
|
5
|
+
import { TaskPaneAreaProps, IWorkbookElement, WorkbookElementProps, WorkbookLoadEvent, SheetEditable } from '@sheetxl/react';
|
|
6
6
|
import { ExplicitTokens } from '../theme/ThemeUtils';
|
|
7
7
|
import { DocumentTitleProps } from '../workbook';
|
|
8
8
|
import { WorkbookToolbarsProps } from '../toolbar';
|
|
@@ -59,7 +59,7 @@ export interface StudioProps extends Omit<PaperProps, 'autoFocus' | 'ref'> {
|
|
|
59
59
|
*
|
|
60
60
|
* @defaultValue StackTraceErrorPanel
|
|
61
61
|
*/
|
|
62
|
-
renderDocumentError?:
|
|
62
|
+
renderDocumentError?: RenderSlotFn<ErrorPanelProps> | null;
|
|
63
63
|
/**
|
|
64
64
|
* Customizations for the default loading panel shown while the {@link StudioProps.document} resolves
|
|
65
65
|
* (and the grid first paints). Use {@link StudioProps.renderDocumentLoading} to replace it entirely.
|
|
@@ -67,8 +67,9 @@ export interface StudioProps extends Omit<PaperProps, 'autoFocus' | 'ref'> {
|
|
|
67
67
|
propsDocumentLoading?: Partial<LoadingPanelProps>;
|
|
68
68
|
/**
|
|
69
69
|
* Replace the loading panel shown while the {@link StudioProps.document} resolves / the grid paints.
|
|
70
|
+
* `null` for none.
|
|
70
71
|
*/
|
|
71
|
-
renderDocumentLoading?:
|
|
72
|
+
renderDocumentLoading?: RenderSlotFn<LoadingPanelProps> | null;
|
|
72
73
|
/**
|
|
73
74
|
* Customizations forwarded to the underlying (chromeless) workbook grid.
|
|
74
75
|
*
|
|
@@ -88,12 +89,11 @@ export interface StudioProps extends Omit<PaperProps, 'autoFocus' | 'ref'> {
|
|
|
88
89
|
*/
|
|
89
90
|
propsTaskPaneArea?: Partial<TaskPaneAreaProps>;
|
|
90
91
|
/**
|
|
91
|
-
* Render
|
|
92
|
+
* Render the task pane area. Pass `props.ref` on to the {@link ITaskPaneAreaElement}.
|
|
92
93
|
*
|
|
93
94
|
* @param props The properties for the TaskPaneArea.
|
|
94
|
-
* @returns A React Element representing the TaskPaneArea.
|
|
95
95
|
*/
|
|
96
|
-
renderTaskPaneArea?:
|
|
96
|
+
renderTaskPaneArea?: RenderSlotFn<TaskPaneAreaProps>;
|
|
97
97
|
/**
|
|
98
98
|
* Allow for a side of the taskpane.
|
|
99
99
|
*
|
|
@@ -136,7 +136,7 @@ export interface StudioProps extends Omit<PaperProps, 'autoFocus' | 'ref'> {
|
|
|
136
136
|
/**
|
|
137
137
|
* Render a custom formula bar (replaces the default).
|
|
138
138
|
*/
|
|
139
|
-
renderFormulaBar?:
|
|
139
|
+
renderFormulaBar?: RenderSlotFn<FormulaBarProps> | null;
|
|
140
140
|
/**
|
|
141
141
|
* Where the formula bar sits: above the grid, or below it directly above the status bar, the way
|
|
142
142
|
* a phone spreadsheet lays it out.
|
|
@@ -181,7 +181,7 @@ export interface StudioProps extends Omit<PaperProps, 'autoFocus' | 'ref'> {
|
|
|
181
181
|
/**
|
|
182
182
|
* Render a custom status bar (replaces the default).
|
|
183
183
|
*/
|
|
184
|
-
renderStatusBar?:
|
|
184
|
+
renderStatusBar?: RenderSlotFn<StatusBarProps> | null;
|
|
185
185
|
/**
|
|
186
186
|
* Customizations for the toolbar.
|
|
187
187
|
*/
|
|
@@ -189,7 +189,7 @@ export interface StudioProps extends Omit<PaperProps, 'autoFocus' | 'ref'> {
|
|
|
189
189
|
/**
|
|
190
190
|
* Render a custom toolbar (replaces the default studio toolbar).
|
|
191
191
|
*/
|
|
192
|
-
renderToolbar?:
|
|
192
|
+
renderToolbar?: RenderSlotFn<WorkbookToolbarsProps> | null;
|
|
193
193
|
/**
|
|
194
194
|
* Slot rendered at the top-left of the toolbar (after the logo, before the title).
|
|
195
195
|
*
|
|
@@ -14,7 +14,7 @@ export interface TemplatePanelProps extends Omit<React.HTMLAttributes<HTMLDivEle
|
|
|
14
14
|
*/
|
|
15
15
|
groupBy?: (entry: TemplateEntry) => string;
|
|
16
16
|
/** Render a tile in place of the default one. */
|
|
17
|
-
renderTile?: (
|
|
17
|
+
renderTile?: (props: TemplateTileRenderProps) => React.ReactNode;
|
|
18
18
|
/**
|
|
19
19
|
* The smallest tile width, in pixels.
|
|
20
20
|
* @defaultValue 180
|
|
@@ -35,6 +35,10 @@ export interface TemplatePanelProps extends Omit<React.HTMLAttributes<HTMLDivEle
|
|
|
35
35
|
sx?: SxProps<Theme>;
|
|
36
36
|
}
|
|
37
37
|
/** What the panel hands a tile. */
|
|
38
|
+
/** What {@link TemplatePanelProps.renderTile} is handed. */
|
|
39
|
+
export interface TemplateTileRenderProps extends TemplateTileProps {
|
|
40
|
+
entry: TemplateEntry;
|
|
41
|
+
}
|
|
38
42
|
export interface TemplateTileProps {
|
|
39
43
|
category?: TemplateCategory;
|
|
40
44
|
onSelect: () => void;
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { IThemeCollection, ITheme } from '@sheetxl/sdk';
|
|
3
3
|
import { PopupButtonType, ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
|
|
4
4
|
import { ThemeSelectPanelProps } from './ThemeSelectPanel';
|
|
5
|
-
export interface ThemeSelectPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "
|
|
5
|
+
export interface ThemeSelectPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "renderPopupPanel"> {
|
|
6
6
|
themes: IThemeCollection;
|
|
7
7
|
selectedTheme?: ITheme;
|
|
8
8
|
onSelectTheme?: (docTheme: ITheme) => void;
|
|
@@ -41,6 +41,6 @@ export interface WorkbookToolbarsProps extends React.HTMLAttributes<HTMLDivEleme
|
|
|
41
41
|
*/
|
|
42
42
|
sx?: SxProps;
|
|
43
43
|
}
|
|
44
|
-
export declare const
|
|
44
|
+
export declare const defaultRenderToolbar: (props: WorkbookToolbarsProps) => React.ReactElement;
|
|
45
45
|
export declare const WorkbookToolbars: React.NamedExoticComponent<WorkbookToolbarsProps & React.RefAttributes<HTMLElement>>;
|
|
46
46
|
//# sourceMappingURL=WorkbookToolbars.d.ts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { WorksheetElementProps, SheetTabProps, CommentCardRenderProps, HyperlinkCardRenderProps, TableToolbarRenderProps, OutlineButtonProps, OutlineLevelButtonProps } from '@sheetxl/react';
|
|
3
|
+
import { TooltipRenderProps } from '@sheetxl/grid-react';
|
|
3
4
|
import { AnimatedLoadingPanelProps, StackTraceErrorPanelProps } from '@sheetxl/utils-mui';
|
|
4
5
|
import { FormulaBarProps } from '../formulaBar';
|
|
5
6
|
import { ColumnMenuProps } from '../filter';
|
|
@@ -9,29 +10,40 @@ import { SheetsAllMenuProps, SheetTabMenuProps } from '../sheet';
|
|
|
9
10
|
import { WorkbookStripProps } from './WorkbookStrip';
|
|
10
11
|
import { WorkbookContextMenuProps } from './WorkbookContextMenu';
|
|
11
12
|
import { FillMenuProps } from './FillMenu';
|
|
13
|
+
/**
|
|
14
|
+
* The bubble of the grid's tooltips (a resize readout, a drag's destination, a range tip) in MUI's
|
|
15
|
+
* `Tooltip` look, so they match the toolbar's.
|
|
16
|
+
*/
|
|
17
|
+
export declare const defaultRenderTooltip: (props: TooltipRenderProps) => React.ReactNode;
|
|
12
18
|
/** The card of a threaded comment as it floats beside its cell. */
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
|
|
19
|
+
export declare const defaultRenderCommentCard: (props: CommentCardRenderProps) => React.ReactElement;
|
|
20
|
+
export declare const defaultRenderHyperlinkCard: (props: HyperlinkCardRenderProps) => React.ReactElement;
|
|
21
|
+
/**
|
|
22
|
+
* The toolbar at a hovered table's corner: the toolbar's own table split button — the quick press edits
|
|
23
|
+
* the table, the dropdown is the style gallery. With a single button the paper hugs it (no padding), so
|
|
24
|
+
* it reads as one floating button rather than a button inside a toolbar.
|
|
25
|
+
*/
|
|
26
|
+
export declare const TableToolbar: React.FC<TableToolbarRenderProps>;
|
|
27
|
+
export declare const defaultRenderTableToolbar: (props: TableToolbarRenderProps) => React.ReactElement;
|
|
16
28
|
/** The collapse / expand button of a row or column group, in the outline gutter. */
|
|
17
|
-
export declare const
|
|
29
|
+
export declare const defaultRenderOutlineButton: (props: OutlineButtonProps) => React.ReactElement;
|
|
18
30
|
/** A level button `1`..`n` of the outline. */
|
|
19
|
-
export declare const
|
|
20
|
-
export declare const
|
|
21
|
-
export declare const
|
|
22
|
-
export declare const
|
|
23
|
-
export declare const
|
|
31
|
+
export declare const defaultRenderOutlineLevelButton: (props: OutlineLevelButtonProps) => React.ReactElement;
|
|
32
|
+
export declare const defaultRenderMovableMenu: (props: MovableContextMenuProps) => React.ReactElement;
|
|
33
|
+
export declare const defaultRenderFillMenu: (props: FillMenuProps) => React.ReactElement;
|
|
34
|
+
export declare const defaultRenderContextMenu: (props: WorkbookContextMenuProps) => React.ReactElement;
|
|
35
|
+
export declare const defaultRenderColumnMenu: (props: ColumnMenuProps) => React.ReactElement;
|
|
24
36
|
/**
|
|
25
37
|
* The formula bar for the studio's placement: the desktop bar above the grid, the mobile host when
|
|
26
38
|
* the bar sits at the bottom.
|
|
27
39
|
*/
|
|
28
|
-
export declare const
|
|
29
|
-
export declare const
|
|
30
|
-
export declare const
|
|
31
|
-
export declare const
|
|
32
|
-
export declare const
|
|
33
|
-
export declare const
|
|
34
|
-
export declare const
|
|
35
|
-
export declare const
|
|
36
|
-
export declare const
|
|
40
|
+
export declare const defaultRenderFormulaBar: (props: FormulaBarProps) => React.ReactElement;
|
|
41
|
+
export declare const defaultRenderWorkbookLoading: (props: AnimatedLoadingPanelProps) => React.ReactElement;
|
|
42
|
+
export declare const defaultRenderWorkbookError: (props: StackTraceErrorPanelProps) => React.ReactElement;
|
|
43
|
+
export declare const defaultRenderWorksheet: (props: WorksheetElementProps) => React.ReactElement;
|
|
44
|
+
export declare const defaultRenderStatusBar: (props: StatusBarProps) => React.ReactElement;
|
|
45
|
+
export declare const defaultRenderTabs: (props: WorkbookStripProps) => React.ReactElement;
|
|
46
|
+
export declare const defaultRenderSheetTabMenu: (props: SheetTabMenuProps) => React.ReactElement;
|
|
47
|
+
export declare const defaultRenderSheetsAll: (props: SheetsAllMenuProps) => React.ReactElement;
|
|
48
|
+
export declare const defaultRenderSheetTab: (props: SheetTabProps) => React.ReactElement;
|
|
37
49
|
//# sourceMappingURL=DefaultRenderers.d.ts.map
|
|
@@ -3,10 +3,11 @@ import { WorkbookElementProps, IWorkbookElement } from '@sheetxl/react';
|
|
|
3
3
|
* The MUI workbook element.
|
|
4
4
|
*
|
|
5
5
|
* A thin wrapper around the chromeless `WorkbookElement` from `@sheetxl/react`: it supplies the grid's
|
|
6
|
-
* own MUI popups (tabs, context/column/movable menus, comment cards, loading) via the render
|
|
7
|
-
*
|
|
8
|
-
* the
|
|
9
|
-
*
|
|
6
|
+
* own MUI popups (tabs, context/column/movable menus, comment cards, loading, tooltips) via the render
|
|
7
|
+
* slots. A slot left `undefined` gets the MUI default; `null` turns it off. Theming flows through the
|
|
8
|
+
* injected `--sxl-*` token matrix (from the studio root) — no theme bridge is needed here; the grid
|
|
9
|
+
* self-sources its light/dark scheme from the shared appearance preference. The surrounding chrome
|
|
10
|
+
* (toolbar, formula bar, status bar) is composed by the Studio layer, not here.
|
|
10
11
|
*/
|
|
11
12
|
export declare const WorkbookElement: import('react').NamedExoticComponent<Omit<WorkbookElementProps, "ref"> & import('react').RefAttributes<IWorkbookElement>>;
|
|
12
13
|
//# sourceMappingURL=WorkbookElement.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { RenderSlotFn } from '@sheetxl/utils-react';
|
|
2
3
|
import { WorkbookStripProps as ReactWorkbookStripProps, WorkbookStripRef, SheetTabProps } from '@sheetxl/react';
|
|
3
4
|
import { SheetsAllMenuProps, SheetTabMenuProps } from '../sheet';
|
|
4
5
|
/**
|
|
@@ -11,27 +12,27 @@ export interface WorkbookStripProps extends Omit<ReactWorkbookStripProps, 'rende
|
|
|
11
12
|
/**
|
|
12
13
|
* Allow for customizations on the per-tab context menu.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
+
propsSheetTabMenu?: Partial<SheetTabMenuProps>;
|
|
15
16
|
/**
|
|
16
|
-
* Render
|
|
17
|
+
* Render the per-tab context menu. `null` for none.
|
|
17
18
|
*/
|
|
18
|
-
|
|
19
|
+
renderSheetTabMenu?: RenderSlotFn<SheetTabMenuProps> | null;
|
|
19
20
|
/**
|
|
20
21
|
* Allow for customizations on the "all sheets" menu.
|
|
21
22
|
*/
|
|
22
23
|
propsSheetsAll?: SheetsAllMenuProps;
|
|
23
24
|
/**
|
|
24
|
-
* Render
|
|
25
|
+
* Render the "all sheets" menu.
|
|
25
26
|
*/
|
|
26
|
-
renderSheetsAll?:
|
|
27
|
+
renderSheetsAll?: RenderSlotFn<SheetsAllMenuProps>;
|
|
27
28
|
/**
|
|
28
29
|
* Allow for customizations on sheet tabs.
|
|
29
30
|
*/
|
|
30
31
|
propsSheetTab?: Partial<SheetTabProps>;
|
|
31
32
|
/**
|
|
32
|
-
* Render custom sheet tabs. Defaults to the MUI ripple tab ({@link
|
|
33
|
+
* Render custom sheet tabs. Defaults to the MUI ripple tab ({@link defaultRenderSheetTab}).
|
|
33
34
|
*/
|
|
34
|
-
renderSheetTab?:
|
|
35
|
+
renderSheetTab?: RenderSlotFn<SheetTabProps>;
|
|
35
36
|
}
|
|
36
37
|
export declare const WorkbookStrip: React.NamedExoticComponent<WorkbookStripProps & React.RefAttributes<WorkbookStripRef>>;
|
|
37
38
|
//# sourceMappingURL=WorkbookStrip.d.ts.map
|
|
@@ -4,5 +4,5 @@ export * from './DocumentTitle';
|
|
|
4
4
|
export * from './WorkbookContextMenu';
|
|
5
5
|
export * from './FillMenu';
|
|
6
6
|
export * from './WorkbookStrip';
|
|
7
|
-
export
|
|
7
|
+
export * from './DefaultRenderers';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|