@sheetxl/studio-mui 0.7.4 → 0.7.6
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/README.md +9 -5
- package/browser/cjs/{DwzNkpi_T8XJi3Cd.cjs → -u6vWH9DiYlO1rsa.cjs} +1 -1
- package/browser/cjs/1-LY_VyMGQ9MfeNB.cjs +20 -0
- package/browser/cjs/{B6o1iQp5wuulPhxo.cjs → 7MV1n9Y0yXU0hKpM.cjs} +1 -1
- package/browser/cjs/{BY3gQcuJkcK9yhlk.cjs → B8-dSgXI2XZKFvtp.cjs} +2 -2
- package/browser/cjs/BEmcHbiMOFhIa91S.cjs +6 -0
- package/browser/cjs/{CflDY3SthBCQg-9F.cjs → BdNRaXTgqRzPmg0L.cjs} +2 -2
- package/browser/cjs/{D5l5wPl8rDYzrVey.cjs → Ce6JLd3qejgMgM3r.cjs} +7 -7
- package/browser/cjs/{qd_yuub025U26HmN.cjs → D7AH724IJJvos02e.cjs} +1 -1
- package/browser/cjs/{yETr27p_AmaFufvo.cjs → DefYX_aeMZivbpEt.cjs} +2 -2
- package/browser/cjs/{HfdfBnRHde6LrsMc.cjs → KOj1qev47_vzzRFV.cjs} +1 -1
- package/browser/cjs/{BY1UZBLCxYes25sM.cjs → St8H4B5iT2fsqOb7.cjs} +1 -1
- package/browser/cjs/TS1uQTjkemJ22p1Y.cjs +6 -0
- package/browser/cjs/index.cjs +2 -2
- package/browser/esm/BNxVvFkY3b2mERJf.mjs +64 -0
- package/browser/esm/{BqypjhYAei9BoIkg.mjs → BnVbG5kg41edf8oz.mjs} +2 -2
- package/browser/esm/{DUTXM-jsPX1poBAb.mjs → CJsYe8TqU6tqj4UH.mjs} +55 -56
- package/browser/esm/{CwE4P36bJkqx4fG2.mjs → CKLhWrNo1E4r3pG7.mjs} +1 -1
- package/browser/esm/{DpeZ0TCk2XtCsW7D.mjs → DVSjscO7zuDsOD4v.mjs} +2 -2
- package/browser/esm/{CX5p76lvGB80Gn7j.mjs → DdLujAMc-Cefddif.mjs} +1 -1
- package/browser/esm/{BMrxZUxFZxs_TprK.mjs → Dg_NRblGOcetqhnC.mjs} +17 -18
- package/browser/esm/{C43cFXvNQttM0tuv.mjs → YfJJd16cfjuXpb8G.mjs} +1 -1
- package/browser/esm/beUKtp_qQMnuYcVk.mjs +4452 -0
- package/browser/esm/index.mjs +68 -71
- package/browser/esm/{C-TjWH0Ll_dg6TXG.mjs → miaBr4cu9WKLs8Is.mjs} +1 -1
- package/browser/esm/{UKbQrJIwqIMUQ4dz.mjs → nwvZlIH9rheqctQz.mjs} +1 -1
- package/browser/esm/{DDCO6hne0WaKAsyz.mjs → yQgfM4ehXrfnEoUK.mjs} +2 -2
- package/node/esm/{DmbC0_ocWCB60DUY.mjs → B9TRK2jd_Ki2RifT.mjs} +1 -1
- package/node/esm/{g5IsTuP_M7p1bN41.mjs → BTp8XtWh47Y1g1MM.mjs} +1 -1
- package/node/esm/BcB8nCbI5HW5jv5q.mjs +65 -0
- package/node/esm/C5WzmLTAphEQU3CU.mjs +155 -0
- package/node/esm/{C0x0sq_I7hdqCuBB.mjs → CN79Z_qqLiF3V5r0.mjs} +1 -1
- package/node/esm/{x7VDppl2hKDhIcfj.mjs → CNCYE_ff8SnJJMPN.mjs} +41 -42
- package/node/esm/{nZVauB5xkNLVTaod.mjs → COoX8Ir66wNuWJ_m.mjs} +1 -1
- package/node/esm/{VjNnErE5lO5hNix_.mjs → CxbA2L1Ap9NSJcxm.mjs} +1 -1
- package/node/esm/{CdEdm8ItFMvEzr0O.mjs → Dln5o1FP_HWPs0Uf.mjs} +1 -1
- package/node/esm/index.mjs +1405 -1452
- package/node/esm/{DhjwHPKOhF-WGawL.mjs → qpKmKMfv4DDofXKf.mjs} +1 -1
- package/package.json +21 -10
- package/types/index.d.ts +14 -92
- package/browser/cjs/BCNKSDS1DahImiBd.cjs +0 -20
- package/browser/cjs/BrJIDDxcCb7loSqZ.cjs +0 -6
- package/browser/cjs/hRcxITGib5rp_kTW.cjs +0 -6
- package/browser/esm/BXa5jJK06vkHLfz_.mjs +0 -64
- package/browser/esm/zTa4aYOOiAsmWpM1.mjs +0 -4489
- package/node/esm/DUoSsHJRuVxAeHW-.mjs +0 -156
- package/node/esm/DuFKPKejduTq6L6F.mjs +0 -65
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.6
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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.7.
|
|
4
|
+
"version": "0.7.6",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -20,13 +20,25 @@
|
|
|
20
20
|
"*.css",
|
|
21
21
|
"**/*.css"
|
|
22
22
|
],
|
|
23
|
+
"homepage": "https://sheetxl.com",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/sheetxl/sheetxl.git"
|
|
27
|
+
},
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/sheetxl/sheetxl/issues"
|
|
30
|
+
},
|
|
23
31
|
"keywords": [
|
|
24
32
|
"sheetxl",
|
|
25
33
|
"spreadsheet",
|
|
34
|
+
"javascript",
|
|
35
|
+
"typescript",
|
|
36
|
+
"data grid",
|
|
37
|
+
"excel",
|
|
38
|
+
"xlsx",
|
|
26
39
|
"utilities",
|
|
27
40
|
"sheets",
|
|
28
41
|
"grid",
|
|
29
|
-
"excel",
|
|
30
42
|
"react",
|
|
31
43
|
"material",
|
|
32
44
|
"material-ui",
|
|
@@ -36,13 +48,13 @@
|
|
|
36
48
|
"charting"
|
|
37
49
|
],
|
|
38
50
|
"dependencies": {
|
|
39
|
-
"@sheetxl/grid-react": "^0.7.
|
|
40
|
-
"@sheetxl/io": "^0.7.
|
|
41
|
-
"@sheetxl/react": "^0.7.
|
|
42
|
-
"@sheetxl/sdk": "^0.7.
|
|
43
|
-
"@sheetxl/utils": "^0.7.
|
|
44
|
-
"@sheetxl/utils-mui": "^0.7.
|
|
45
|
-
"@sheetxl/utils-react": "^0.7.
|
|
51
|
+
"@sheetxl/grid-react": "^0.7.6",
|
|
52
|
+
"@sheetxl/io": "^0.7.6",
|
|
53
|
+
"@sheetxl/react": "^0.7.6",
|
|
54
|
+
"@sheetxl/sdk": "^0.7.6",
|
|
55
|
+
"@sheetxl/utils": "^0.7.6",
|
|
56
|
+
"@sheetxl/utils-mui": "^0.7.6",
|
|
57
|
+
"@sheetxl/utils-react": "^0.7.6",
|
|
46
58
|
"clsx": "^2.1.1",
|
|
47
59
|
"csstype": "^3.1.3",
|
|
48
60
|
"file-saver": "^2.0.5",
|
|
@@ -63,7 +75,6 @@
|
|
|
63
75
|
"@emotion/cache": "^11.14.0",
|
|
64
76
|
"@emotion/react": "^11.14.0",
|
|
65
77
|
"@emotion/styled": "^11.14.0",
|
|
66
|
-
"@mui/icons-material": "^6.5.0",
|
|
67
78
|
"@mui/material": "^6.5.0",
|
|
68
79
|
"@mui/styled-engine": "^6.5.0",
|
|
69
80
|
"@mui/system": "^6.5.0",
|
package/types/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { BoxProps } from '@mui/material';
|
|
2
2
|
import { Command } from '@sheetxl/utils-react';
|
|
3
|
-
import { CommandButtonOptions } from '@sheetxl/utils-
|
|
4
|
-
import { CommandButtonProps } from '@sheetxl/utils-
|
|
3
|
+
import { CommandButtonOptions } from '@sheetxl/utils-react';
|
|
4
|
+
import { CommandButtonProps } from '@sheetxl/utils-react';
|
|
5
5
|
import { CommandButtonType } from '@sheetxl/utils-react';
|
|
6
6
|
import { CommandContext } from '@sheetxl/react';
|
|
7
7
|
import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
|
|
8
|
-
import { CommandToolbarProps } from '@sheetxl/utils-mui';
|
|
9
8
|
import { default as default_2 } from 'react';
|
|
9
|
+
import { DefaultTaskPaneRegistry } from '@sheetxl/react';
|
|
10
10
|
import { ErrorPanelProps } from '@sheetxl/utils-mui';
|
|
11
11
|
import { ExhibitIconButtonProps } from '@sheetxl/utils-mui';
|
|
12
12
|
import { ExhibitPopupButtonProps } from '@sheetxl/utils-mui';
|
|
@@ -25,7 +25,6 @@ import { ICommands } from '@sheetxl/utils-react';
|
|
|
25
25
|
import { IMovable } from '@sheetxl/sdk';
|
|
26
26
|
import { INamedCollection } from '@sheetxl/sdk';
|
|
27
27
|
import { IReactNotifier } from '@sheetxl/utils-react';
|
|
28
|
-
import { IScript } from '@sheetxl/sdk';
|
|
29
28
|
import { ISheet } from '@sheetxl/sdk';
|
|
30
29
|
import { ISheetElement } from '@sheetxl/react';
|
|
31
30
|
import { IStyle } from '@sheetxl/sdk';
|
|
@@ -43,7 +42,6 @@ import { PopupButtonType } from '@sheetxl/utils-mui';
|
|
|
43
42
|
import { ReadFormatType } from '@sheetxl/io';
|
|
44
43
|
import { ReadWorkbookOptions } from '@sheetxl/io';
|
|
45
44
|
import { RegisterOptions } from 'react-hook-form';
|
|
46
|
-
import { ScriptEditorProps } from '@sheetxl/react';
|
|
47
45
|
import { SheetProps } from '@sheetxl/react';
|
|
48
46
|
import { SvgIconProps } from '@mui/material';
|
|
49
47
|
import { SxProps } from '@mui/system';
|
|
@@ -346,6 +344,8 @@ export declare interface CustomColorPanelProps extends default_2.HTMLAttributes<
|
|
|
346
344
|
|
|
347
345
|
export declare const defaultNewWorkbook: () => void;
|
|
348
346
|
|
|
347
|
+
export { DefaultTaskPaneRegistry }
|
|
348
|
+
|
|
349
349
|
export declare const DeleteCellsCommandButton: default_2.NamedExoticComponent<Omit<DeleteCellsCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
350
350
|
|
|
351
351
|
export declare interface DeleteCellsCommandButtonProps extends CommandPopupButtonProps {
|
|
@@ -628,26 +628,6 @@ export declare interface InsertImageCommandButtonProps extends CommandPopupButto
|
|
|
628
628
|
showQuickButton?: boolean;
|
|
629
629
|
}
|
|
630
630
|
|
|
631
|
-
/**
|
|
632
|
-
* Menu for Inserting new Scripts
|
|
633
|
-
*/
|
|
634
|
-
export declare const InsertScriptCommandButton: default_2.FC<InsertScriptCommandButtonProps & {
|
|
635
|
-
ref?: any;
|
|
636
|
-
}>;
|
|
637
|
-
|
|
638
|
-
export declare interface InsertScriptCommandButtonProps extends CommandPopupButtonProps {
|
|
639
|
-
/**
|
|
640
|
-
* Path to fetch directory scripts from.
|
|
641
|
-
*/
|
|
642
|
-
scriptPath?: string;
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* Type returned via ref property
|
|
647
|
-
*/
|
|
648
|
-
export declare interface IScriptWorkspaceElement extends ScriptWorkspaceAttributes, HTMLElement {
|
|
649
|
-
}
|
|
650
|
-
|
|
651
631
|
/**
|
|
652
632
|
* Type returned via ref property
|
|
653
633
|
*/
|
|
@@ -862,68 +842,6 @@ export declare interface RequestTitleOptions extends FocusOptions {
|
|
|
862
842
|
requestReason?: string;
|
|
863
843
|
}
|
|
864
844
|
|
|
865
|
-
/**
|
|
866
|
-
* Menu for Quick run of scripts.
|
|
867
|
-
*/
|
|
868
|
-
export declare const RunScriptCommandButton: default_2.FC<RunScriptCommandButtonProps & {
|
|
869
|
-
ref?: any;
|
|
870
|
-
}>;
|
|
871
|
-
|
|
872
|
-
export declare interface RunScriptCommandButtonProps extends CommandPopupButtonProps {
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
export declare const ScriptEditorToolbar: default_2.NamedExoticComponent<Omit<Omit<CommandToolbarProps, "createToolbarPalette">, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* This tracks the selection of the sheet and
|
|
879
|
-
* updates the a named range editor and a sheet cell editor.
|
|
880
|
-
*/
|
|
881
|
-
export declare const ScriptWorkspace: default_2.FC<ScriptWorkspaceProps & ScriptWorkspaceAttribute>;
|
|
882
|
-
|
|
883
|
-
export declare type ScriptWorkspaceAttribute = {
|
|
884
|
-
ref?: default_2.Ref<IScriptWorkspaceElement>;
|
|
885
|
-
};
|
|
886
|
-
|
|
887
|
-
export declare interface ScriptWorkspaceAttributes {
|
|
888
|
-
isScriptWorkspaceElement: () => true;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
/**
|
|
892
|
-
* Move this to another project. Automation-Editor
|
|
893
|
-
*/
|
|
894
|
-
export declare interface ScriptWorkspaceProps extends default_2.HTMLAttributes<HTMLElement> {
|
|
895
|
-
/**
|
|
896
|
-
* MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
|
|
897
|
-
*/
|
|
898
|
-
sx?: SxProps<Theme>;
|
|
899
|
-
/**
|
|
900
|
-
* The commands to use for the toolbar.
|
|
901
|
-
*/
|
|
902
|
-
commands?: ICommands.IGroup;
|
|
903
|
-
/**
|
|
904
|
-
* If the values can be modified
|
|
905
|
-
*/
|
|
906
|
-
readOnly?: boolean;
|
|
907
|
-
/**
|
|
908
|
-
* Called when the user request a close.
|
|
909
|
-
*/
|
|
910
|
-
onClose?: () => void;
|
|
911
|
-
/**
|
|
912
|
-
* Allows for component to be autoFocused.
|
|
913
|
-
* @remarks
|
|
914
|
-
* If a string is provided this will be used as a querySelector to find the initial focusable component.
|
|
915
|
-
*/
|
|
916
|
-
autoFocusSel?: string;
|
|
917
|
-
/**
|
|
918
|
-
* Props to pass to the editor.
|
|
919
|
-
*/
|
|
920
|
-
editorProps?: ScriptEditorProps;
|
|
921
|
-
/**
|
|
922
|
-
* The script module to interact with.
|
|
923
|
-
*/
|
|
924
|
-
scripts: IScript;
|
|
925
|
-
}
|
|
926
|
-
|
|
927
845
|
/**
|
|
928
846
|
* By default we will print examples message if dev and eval only
|
|
929
847
|
*
|
|
@@ -1408,10 +1326,6 @@ export declare interface useWorkbookCommandsOptions {
|
|
|
1408
1326
|
target: ICommands.ITarget | (() => ICommands.ITarget);
|
|
1409
1327
|
commands: ICommands.IGroup;
|
|
1410
1328
|
onExecute?: () => void;
|
|
1411
|
-
/**
|
|
1412
|
-
* When the sidebar is being requested to be shown.
|
|
1413
|
-
*/
|
|
1414
|
-
onShowSidebar?: () => void;
|
|
1415
1329
|
/**
|
|
1416
1330
|
* Whether dark mode is enabled.
|
|
1417
1331
|
*/
|
|
@@ -1486,7 +1400,7 @@ export declare interface WorkbookElementProps extends Omit<PaperProps, 'autoFocu
|
|
|
1486
1400
|
* Callback for when the workbook is loaded. Useful for hiding/showing
|
|
1487
1401
|
* loading panels.
|
|
1488
1402
|
*/
|
|
1489
|
-
onElementLoad?: (event: WorkbookLoadEvent) => void
|
|
1403
|
+
onElementLoad?: (event: WorkbookLoadEvent) => void | Promise<void>;
|
|
1490
1404
|
/**
|
|
1491
1405
|
* MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
|
|
1492
1406
|
*/
|
|
@@ -1593,12 +1507,20 @@ export declare interface WorkbookElementProps extends Omit<PaperProps, 'autoFocu
|
|
|
1593
1507
|
* Allow for customizations on loading panel.
|
|
1594
1508
|
*/
|
|
1595
1509
|
sheetProps?: SheetProps;
|
|
1510
|
+
/**
|
|
1511
|
+
* Allows users to Wrap stage children in Top level Context
|
|
1512
|
+
*/
|
|
1513
|
+
sheetWrapper?: (children: default_2.ReactNode) => default_2.ReactElement;
|
|
1596
1514
|
/**
|
|
1597
1515
|
* Render custom ISheetElement.
|
|
1598
1516
|
* @param props
|
|
1599
1517
|
* @returns A React Element representing the Sheet.
|
|
1600
1518
|
*/
|
|
1601
1519
|
renderSheet?: (props: SheetProps) => default_2.ReactElement;
|
|
1520
|
+
/**
|
|
1521
|
+
* Optional sidebar element.
|
|
1522
|
+
*/
|
|
1523
|
+
sideBarElement?: default_2.ReactElement;
|
|
1602
1524
|
/**
|
|
1603
1525
|
* Show the horizontal scrollbar
|
|
1604
1526
|
*/
|