@sheetxl/studio-mui 0.3.18 → 0.3.20
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/cjs/8yJKDn6FG4qXm6C_.cjs +6 -0
- package/browser/cjs/{CvVjY72BJUTQvkkP.cjs → B1jZEfhC-UDnqHyx.cjs} +2 -2
- package/browser/cjs/B6SNtC4e_WvQXSbH.cjs +87 -0
- package/browser/cjs/{BWJGFEIQCBdTEl6B.cjs → BDNJoQLDNwBKjkfN.cjs} +2 -2
- package/browser/cjs/{BLcValtf97N7iwR5.cjs → BNRt1gPcV30KL-_2.cjs} +1 -1
- package/browser/cjs/Br-k5vmbo_70osX8.cjs +12 -0
- package/browser/cjs/{C6UymVKpB0f_aOz4.cjs → BxHOEF80SAdnbAt9.cjs} +1 -1
- package/browser/cjs/{tzUSfMyL4rscAPOw.cjs → ByE3VEEpczj3xLVa.cjs} +1 -1
- package/browser/cjs/{BNyVm7np2bfgLvot.cjs → C70cMil2r-R9L7x8.cjs} +3 -3
- package/browser/cjs/{CJQdEaRRBvm3gCqh.cjs → CLx2YONMFeXbGBO3.cjs} +1 -1
- package/browser/cjs/{ckZ4F6Ezl3aCnh5Z.cjs → C_V7M1p_CSqFgZ5C.cjs} +3 -3
- package/browser/cjs/{BkCmVm6sA_avib9h.cjs → CaqQouPOAX3k7acG.cjs} +2 -2
- package/browser/cjs/{B5eQzk5WyXy8IAA8.cjs → ClDyjEAo5O3N7VH4.cjs} +4 -4
- package/browser/cjs/{CKF-dWfZku6ebHzj.cjs → Co714rETH_sBPMIE.cjs} +2 -2
- package/browser/cjs/{D6MmQYTV_-2r6TNA.cjs → D5lC4NJu4zIU1Zs7.cjs} +4 -4
- package/browser/cjs/{2OSBl2r7IttrCdtA.cjs → Dd3jhRCtgjzn-Q_j.cjs} +1 -1
- package/browser/cjs/{CYlWk3JZne2DVAvj.cjs → Dw-60Ix8trelSf49.cjs} +2 -2
- package/browser/cjs/{CMQnksVdFNTGCcuL.cjs → ERubX2VhTgExTjPs.cjs} +1 -1
- package/browser/cjs/{B1SUaFgnsimk42bG.cjs → HU2wyYTngkzRIfcp.cjs} +2 -2
- package/browser/cjs/{Dsf7iNkpZ-XRvkri.cjs → IJjqthMv8sYE3zk5.cjs} +2 -2
- package/browser/cjs/{Dt-_lF8cbqIQeFDT.cjs → Mkgw7-OjsOuATlTu.cjs} +2 -2
- package/browser/cjs/{CTVwwijxWyTj1-To.cjs → hNe2uQuNlEZUxHVc.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{BBB1d8xHkY7ltQWw.cjs → omB-b0WJWPLOvoDW.cjs} +2 -2
- package/browser/cjs/{DtfIBBSWwGnFn5da.cjs → r3IRuRCfr7z3EIua.cjs} +1 -1
- package/browser/cjs/y6pSQIuEtIXm0Nrb.cjs +6 -0
- package/browser/esm/{dyvLjt-D32wPaGoj.mjs → BAg5b-CxAJZIccnx.mjs} +2 -2
- package/browser/esm/{CvzuJmImMn0DC78K.mjs → BGDtHuaoSHSUbpFS.mjs} +40 -40
- package/browser/esm/{B9JJu0VnIIYWT5lt.mjs → BnJG8TC71fG1mf91.mjs} +3 -3
- package/browser/esm/{B-rFSfciMrAt40UW.mjs → BxSZJMB3FJ6E3VQm.mjs} +1 -1
- package/browser/esm/{COZ6r5iZ8TyK00AP.mjs → BzYtHnJ9YtmP06qB.mjs} +1 -1
- package/browser/esm/{DAABl4IjtZoiB_ZM.mjs → CACmHB-fbLy04wZd.mjs} +2 -2
- package/browser/esm/{DWhxo1LUgYMKPIl6.mjs → CBktOJulH0O7hLGQ.mjs} +8 -8
- package/browser/esm/{Bm90soyGjT9Iu1LC.mjs → CCTPmbQSUB0QnmRa.mjs} +2 -2
- package/browser/esm/{D85IfpCrfIBFDqe8.mjs → CMc3J0D7OFGYJ-c9.mjs} +2 -2
- package/browser/esm/CSA6yBKvhJGmIb1K.mjs +84 -0
- package/browser/esm/{DRnTwfoTxrtXBFC7.mjs → CYsNgnaP27Wh2Sp0.mjs} +1 -1
- package/browser/esm/{CvsYx4oxcqsUUtrr.mjs → ChqC2YqQOdxyO-yL.mjs} +1 -1
- package/browser/esm/{Cbz-BdHkkb_IX1IO.mjs → CwY4b2WKnvnRRk9n.mjs} +4 -4
- package/browser/esm/{DrGVTfUVlughL_d0.mjs → D1Upf6elHEvN6BvD.mjs} +1 -1
- package/browser/esm/DGQh7NK1O5vxTFbY.mjs +43 -0
- package/browser/esm/{BQQcYbNIADI7dSX4.mjs → DQZnd1NQGxJbVV61.mjs} +2 -2
- package/browser/esm/{DOtIN-2juYEPtB8A.mjs → DSyt7euUXqyQE6wJ.mjs} +4 -4
- package/browser/esm/{kag30q_f2OyzNEpu.mjs → Dnlx2SfcuqIfXAuA.mjs} +1 -1
- package/browser/esm/{B_GtXHanCbWYSw3u.mjs → DtrcnJnkGUDsjn70.mjs} +1 -1
- package/browser/esm/{D7VfJjp49e_MDYZN.mjs → Epq0t9gZ5n9jR9fk.mjs} +2 -2
- package/browser/esm/{qnS7YH5ry4bwFwmH.mjs → Ra0uzwzBLLZ-3x5M.mjs} +1 -1
- package/browser/esm/{CHo7Pe-qLRr6D7Zb.mjs → VA1ZILAJsv7M5eeq.mjs} +12 -12
- package/browser/esm/{BJiFVIVZgstircY0.mjs → WY7bB02qrit-yNWs.mjs} +9079 -8988
- package/browser/esm/index.mjs +16 -16
- package/browser/esm/{wk6kyK0HvQWZcF9v.mjs → jh3hpFpR0p1T4JLc.mjs} +7 -7
- package/browser/esm/{IW0FN0JJihUjmUhl.mjs → q1N22YChJlGT72Pc.mjs} +2 -2
- package/licenses/dependencies.txt +7 -7
- package/node/esm/{DyLBbEMRFc3oCumP.mjs → 7P6cCNWpeCh60raM.mjs} +2 -2
- package/node/esm/{DwU05hEZ7gmV6D81.mjs → 7pybVbMMrYvkgqo9.mjs} +2 -2
- package/node/esm/{BMwY3wpsb5LC-oha.mjs → B8JB14t2M1ROyBkd.mjs} +1 -1
- package/node/esm/{Bjq64rdekFLv2Pk6.mjs → BAETN9DFz0tUoXIp.mjs} +10 -10
- package/node/esm/{DOyVcSa6UGUQpjJ8.mjs → BN1OHyhHhXzVvWHA.mjs} +12 -12
- package/node/esm/BWAaL8-EYBs6vY6s.mjs +78 -0
- package/node/esm/{CN_9EpYFfSahI0tk.mjs → BhUbhNqcdaTWybXe.mjs} +27 -27
- package/node/esm/{Bt5SOQDsxPC-egr0.mjs → BjeTLq8pChIWnYWi.mjs} +5 -5
- package/node/esm/{hYDFyrnl76Q8TbVg.mjs → BkyFc92-aUY-wmW4.mjs} +4 -4
- package/node/esm/{CkG4RfZYIEpgMYHF.mjs → C0LHsgaW5_sBdiDi.mjs} +84 -84
- package/node/esm/{D37x0J7Pp7Ovk7U6.mjs → C6X-zKtwMSEFUmHG.mjs} +1 -1
- package/node/esm/{CVcSQEeEQOVzGI-N.mjs → CATzhyyc6fqHMLUL.mjs} +1 -1
- package/node/esm/{SDYCTfAbHCT1NUVT.mjs → CCNbV253HUVpRz3U.mjs} +7 -7
- package/node/esm/{BTyx75rKO81NBrpD.mjs → C__9KMBW0m5KFw3m.mjs} +2 -2
- package/node/esm/{DZTAP_s1UBqFpZWn.mjs → D6zrNfT4CrAssYik.mjs} +1 -1
- package/node/esm/{qTHmpgXiWFDs-DpN.mjs → DCjKIE1BmIXBswF0.mjs} +1 -1
- package/node/esm/{C-K5UNI5JYn9db2u.mjs → DCr306y2KVQnDJ7Q.mjs} +6 -6
- package/node/esm/{DCqwwPMoosi5CmNI.mjs → DNHrDFkT_y0MPSWZ.mjs} +27 -27
- package/node/esm/{BwhDUQgAy49WUvzS.mjs → DT7b6dvdVukPKg4l.mjs} +4 -4
- package/node/esm/{DET5hZx0KEr6Xvkf.mjs → DgTOFZPvhbvehrEy.mjs} +2 -2
- package/node/esm/{CfC4Y9itv3zxli6a.mjs → DtR80dy_xh4e2mfQ.mjs} +1 -1
- package/node/esm/{DNg39nLT0gHqmPlz.mjs → XxfPUjXZVLZfzpYZ.mjs} +1 -1
- package/node/esm/{BKWvOu_IeRMuC8Xk.mjs → gtQdInhawjIRtXyg.mjs} +2 -2
- package/node/esm/index.mjs +4000 -3897
- package/package.json +8 -8
- package/types/index.d.ts +50 -45
- package/browser/cjs/AQdyOmNsNjlI3zZX.cjs +0 -6
- package/browser/cjs/B50pi_DZlxL44FZa.cjs +0 -87
- package/browser/cjs/BpriOx_ASGcmQgAv.cjs +0 -6
- package/browser/cjs/Clxk_WuA_PRn6KW9.cjs +0 -12
- package/browser/esm/D5U2mNtg-sHAxwUo.mjs +0 -80
- package/browser/esm/DivcgoJCzXwVgCcg.mjs +0 -43
- package/node/esm/2eYi7rphLL5H13FB.mjs +0 -74
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.3.
|
|
4
|
+
"version": "0.3.20",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"charting"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@sheetxl/grid-react": "^0.3.
|
|
40
|
-
"@sheetxl/io": "^0.3.
|
|
41
|
-
"@sheetxl/react": "^0.3.
|
|
42
|
-
"@sheetxl/utils": "^0.3.
|
|
43
|
-
"@sheetxl/utils-mui": "^0.3.
|
|
44
|
-
"@sheetxl/utils-react": "^0.3.
|
|
39
|
+
"@sheetxl/grid-react": "^0.3.20",
|
|
40
|
+
"@sheetxl/io": "^0.3.20",
|
|
41
|
+
"@sheetxl/react": "^0.3.20",
|
|
42
|
+
"@sheetxl/utils": "^0.3.20",
|
|
43
|
+
"@sheetxl/utils-mui": "^0.3.20",
|
|
44
|
+
"@sheetxl/utils-react": "^0.3.20",
|
|
45
45
|
"clsx": "^2.1.1",
|
|
46
46
|
"csstype": "^3.1.3",
|
|
47
47
|
"file-saver": "^2.0.5",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"tinycolor2": "^1.6.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@sheetxl/sdk": "^0.3.
|
|
62
|
+
"@sheetxl/sdk": "^0.3.20",
|
|
63
63
|
"@emotion/cache": "^11.14.0",
|
|
64
64
|
"@emotion/react": "^11.14.0",
|
|
65
65
|
"@emotion/styled": "^11.14.0",
|
package/types/index.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ import { WorkbookHandle } from '@sheetxl/io';
|
|
|
57
57
|
import { WriteFormatType } from '@sheetxl/io';
|
|
58
58
|
import { WriteWorkbookOptions } from '@sheetxl/io';
|
|
59
59
|
|
|
60
|
-
export declare const AppearanceCommandButton: default_2.
|
|
60
|
+
export declare const AppearanceCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
61
61
|
|
|
62
62
|
export declare const AutoColorPosition: {
|
|
63
63
|
readonly Start: "start";
|
|
@@ -70,7 +70,7 @@ export declare type AutoColorPosition = typeof AutoColorPosition[keyof typeof Au
|
|
|
70
70
|
* Implement disabled
|
|
71
71
|
* Set command on selected
|
|
72
72
|
*/
|
|
73
|
-
export declare const BorderCommandButton: default_2.
|
|
73
|
+
export declare const BorderCommandButton: default_2.NamedExoticComponent<Omit<BorderCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
74
74
|
|
|
75
75
|
export declare interface BorderCommandButtonProps extends Partial<BorderPopupButtonProps> {
|
|
76
76
|
commands?: ICommands.IGroup;
|
|
@@ -91,7 +91,7 @@ export declare interface BorderCommandButtonProps extends Partial<BorderPopupBut
|
|
|
91
91
|
darkMode?: boolean;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
export declare const BorderPopupButton: default_2.
|
|
94
|
+
export declare const BorderPopupButton: default_2.NamedExoticComponent<Omit<BorderPopupButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
95
95
|
|
|
96
96
|
export declare interface BorderPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "createPopupPanel"> {
|
|
97
97
|
selectedBorder: Partial<IBorder.Properties>;
|
|
@@ -119,7 +119,7 @@ export declare interface BorderPopupButtonProps extends Omit<ExhibitPopupIconBut
|
|
|
119
119
|
onPreviewBorder?: (border: Partial<IBorder.Properties> | null) => void;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
export declare const BorderStyleButton: default_2.
|
|
122
|
+
export declare const BorderStyleButton: default_2.NamedExoticComponent<Omit<BorderStyleButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
123
123
|
|
|
124
124
|
export declare interface BorderStyleButtonProps extends ExhibitPopupButtonProps {
|
|
125
125
|
selectedStyle: IBorder.StrokeStyle;
|
|
@@ -146,7 +146,7 @@ export declare interface BorderStyleButtonProps extends ExhibitPopupButtonProps
|
|
|
146
146
|
darkMode?: boolean;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
export declare const ClearCommandButton: default_2.
|
|
149
|
+
export declare const ClearCommandButton: default_2.NamedExoticComponent<Omit<ClearCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
150
150
|
|
|
151
151
|
export declare interface ClearCommandButtonProps extends CommandPopupButtonProps {
|
|
152
152
|
}
|
|
@@ -183,7 +183,7 @@ export declare interface ColorButtonProps extends default_2.HTMLAttributes<HTMLE
|
|
|
183
183
|
darkMode?: boolean;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
export declare const ColorCommandButton: default_2.
|
|
186
|
+
export declare const ColorCommandButton: default_2.NamedExoticComponent<Omit<ColorCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
189
|
* Wraps ColorPopupButton with a command.
|
|
@@ -218,7 +218,7 @@ export declare interface ColorCommandButtonProps extends Omit<ColorPopupButtonPr
|
|
|
218
218
|
/**
|
|
219
219
|
* A color panel that has a list of presets and a way to make custom colors.
|
|
220
220
|
*/
|
|
221
|
-
export declare const ColorPanel: default_2.NamedExoticComponent<ColorPanelProps & default_2.RefAttributes<
|
|
221
|
+
export declare const ColorPanel: default_2.NamedExoticComponent<ColorPanelProps & default_2.RefAttributes<HTMLElement>>;
|
|
222
222
|
|
|
223
223
|
export declare interface ColorPanelProps extends default_2.HTMLAttributes<HTMLElement> {
|
|
224
224
|
width?: number;
|
|
@@ -283,7 +283,7 @@ export declare const ColorPanelType: {
|
|
|
283
283
|
|
|
284
284
|
export declare type ColorPanelType = typeof ColorPanelType[keyof typeof ColorPanelType];
|
|
285
285
|
|
|
286
|
-
export declare const ColorPopupButton: default_2.
|
|
286
|
+
export declare const ColorPopupButton: default_2.NamedExoticComponent<Omit<ColorPopupButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
287
287
|
|
|
288
288
|
export declare interface ColorPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "createPopupPanel"> {
|
|
289
289
|
selectedColor: IColor;
|
|
@@ -347,7 +347,7 @@ export declare interface CustomColorPanelProps extends default_2.HTMLAttributes<
|
|
|
347
347
|
|
|
348
348
|
export declare const defaultNewWorkbook: () => void;
|
|
349
349
|
|
|
350
|
-
export declare const DeleteCellsCommandButton: default_2.
|
|
350
|
+
export declare const DeleteCellsCommandButton: default_2.NamedExoticComponent<Omit<DeleteCellsCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
351
351
|
|
|
352
352
|
export declare interface DeleteCellsCommandButtonProps extends CommandPopupButtonProps {
|
|
353
353
|
disableSheet?: boolean;
|
|
@@ -362,7 +362,7 @@ export declare interface DeleteCellsCommandButtonProps extends CommandPopupButto
|
|
|
362
362
|
showQuickButton?: boolean;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
-
export declare const DocThemeCommandButton: default_2.
|
|
365
|
+
export declare const DocThemeCommandButton: default_2.NamedExoticComponent<Omit<DocThemeCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
366
366
|
|
|
367
367
|
export declare interface DocThemeCommandButtonProps extends Omit<ThemeSelectPopupButtonProps, "createPopupPanel" | "variant" | "themes" | "icon"> {
|
|
368
368
|
command: ICommand<ITheme, CommandContext.Theme>;
|
|
@@ -384,12 +384,12 @@ export declare interface DocThemeCommandButtonProps extends Omit<ThemeSelectPopu
|
|
|
384
384
|
darkMode?: boolean;
|
|
385
385
|
}
|
|
386
386
|
|
|
387
|
-
export declare const FillCommandButton: default_2.
|
|
387
|
+
export declare const FillCommandButton: default_2.NamedExoticComponent<Omit<FillCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
388
388
|
|
|
389
389
|
export declare interface FillCommandButtonProps extends CommandPopupButtonProps {
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
export declare const FilterColumnMenu: default_2.
|
|
392
|
+
export declare const FilterColumnMenu: default_2.NamedExoticComponent<FilterColumnMenuProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
393
393
|
|
|
394
394
|
export declare interface FilterColumnMenuProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
395
395
|
filter: IAutoFilter.IColumn;
|
|
@@ -407,7 +407,7 @@ export declare interface FilterColumnMenuProps extends default_2.HTMLAttributes<
|
|
|
407
407
|
*
|
|
408
408
|
* Popup menu on the Filter button. (should we merge this with the sort menu?)
|
|
409
409
|
*/
|
|
410
|
-
export declare const FilterCommandButton: default_2.
|
|
410
|
+
export declare const FilterCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
411
411
|
|
|
412
412
|
export declare interface FilterRefProps extends FiltersProps {
|
|
413
413
|
ref?: default_2.Ref<HTMLDivElement>;
|
|
@@ -429,12 +429,12 @@ export declare interface FiltersProps extends default_2.HTMLAttributes<HTMLDivEl
|
|
|
429
429
|
/**
|
|
430
430
|
* Menu for Find options
|
|
431
431
|
*/
|
|
432
|
-
export declare const FindCommandButton: default_2.
|
|
432
|
+
export declare const FindCommandButton: default_2.NamedExoticComponent<Omit<FindCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
433
433
|
|
|
434
434
|
export declare interface FindCommandButtonProps extends CommandPopupButtonProps {
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
-
export declare const FontFamilyCommandButton: default_2.
|
|
437
|
+
export declare const FontFamilyCommandButton: default_2.NamedExoticComponent<Omit<FontFamilyCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
438
438
|
|
|
439
439
|
export declare interface FontFamilyCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "createPopupPanel"> {
|
|
440
440
|
command: Command<string>;
|
|
@@ -451,7 +451,7 @@ export declare interface FontFamilyCommandButtonProps extends Omit<ExhibitPopupI
|
|
|
451
451
|
/**
|
|
452
452
|
* TODO - add divider and increase/decrease as quick buttons??
|
|
453
453
|
*/
|
|
454
|
-
export declare const FontSizeCommandButton: default_2.
|
|
454
|
+
export declare const FontSizeCommandButton: default_2.NamedExoticComponent<Omit<FontSizeCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
455
455
|
|
|
456
456
|
export declare interface FontSizeCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "createPopupPanel"> {
|
|
457
457
|
command?: Command<number>;
|
|
@@ -533,14 +533,14 @@ export declare interface FormulaBarProps extends default_2.HTMLAttributes<HTMLDi
|
|
|
533
533
|
/**
|
|
534
534
|
* Menu for freeze options
|
|
535
535
|
*/
|
|
536
|
-
export declare const FreezeCommandButton: default_2.
|
|
536
|
+
export declare const FreezeCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
537
537
|
|
|
538
|
-
export declare const HelpCommandButton: default_2.
|
|
538
|
+
export declare const HelpCommandButton: default_2.NamedExoticComponent<Omit<HelpCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
539
539
|
|
|
540
540
|
export declare interface HelpCommandButtonProps extends CommandPopupButtonProps {
|
|
541
541
|
}
|
|
542
542
|
|
|
543
|
-
export declare const HorizontalAlignCommandButton: default_2.
|
|
543
|
+
export declare const HorizontalAlignCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
544
544
|
|
|
545
545
|
export declare interface IFiltersElement extends HTMLDivElement, FiltersAttributes {
|
|
546
546
|
}
|
|
@@ -557,7 +557,7 @@ export declare interface IFormulaBarElement extends FormulaBarAttributes, HTMLEl
|
|
|
557
557
|
export declare interface INamedCollectionEditorElement extends NamedCollectionEditorAttributes, HTMLDivElement {
|
|
558
558
|
}
|
|
559
559
|
|
|
560
|
-
export declare const InsertCellsCommandButton: default_2.
|
|
560
|
+
export declare const InsertCellsCommandButton: default_2.NamedExoticComponent<Omit<InsertCellsCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
561
561
|
|
|
562
562
|
export declare interface InsertCellsCommandButtonProps extends CommandPopupButtonProps {
|
|
563
563
|
disableSheet?: boolean;
|
|
@@ -572,7 +572,7 @@ export declare interface InsertCellsCommandButtonProps extends CommandPopupButto
|
|
|
572
572
|
showQuickButton?: boolean;
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export declare const InsertImageCommandButton: default_2.
|
|
575
|
+
export declare const InsertImageCommandButton: default_2.NamedExoticComponent<Omit<InsertImageCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
576
576
|
|
|
577
577
|
export declare interface InsertImageCommandButtonProps extends CommandPopupButtonProps {
|
|
578
578
|
/**
|
|
@@ -589,7 +589,9 @@ export declare interface InsertImageCommandButtonProps extends CommandPopupButto
|
|
|
589
589
|
/**
|
|
590
590
|
* Menu for Inserting new Scripts
|
|
591
591
|
*/
|
|
592
|
-
export declare const InsertScriptCommandButton: default_2.FC<InsertScriptCommandButtonProps
|
|
592
|
+
export declare const InsertScriptCommandButton: default_2.FC<InsertScriptCommandButtonProps & {
|
|
593
|
+
ref?: any;
|
|
594
|
+
}>;
|
|
593
595
|
|
|
594
596
|
export declare interface InsertScriptCommandButtonProps extends CommandPopupButtonProps {
|
|
595
597
|
/**
|
|
@@ -623,7 +625,7 @@ export { LicenseManager }
|
|
|
623
625
|
/**
|
|
624
626
|
* Menu for merge options
|
|
625
627
|
*/
|
|
626
|
-
export declare const MergeCommandButton: default_2.
|
|
628
|
+
export declare const MergeCommandButton: default_2.NamedExoticComponent<Omit<MergeCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
627
629
|
|
|
628
630
|
export declare interface MergeCommandButtonProps extends CommandPopupButtonProps {
|
|
629
631
|
}
|
|
@@ -642,7 +644,7 @@ declare interface MovableContextMenuProps extends default_2.HTMLAttributes<HTMLD
|
|
|
642
644
|
/**
|
|
643
645
|
* Editor used for selecting, editing, or removing named ranges.
|
|
644
646
|
*/
|
|
645
|
-
export declare const NamedCollectionEditor: default_2.
|
|
647
|
+
export declare const NamedCollectionEditor: default_2.NamedExoticComponent<NamedCollectionEditorProps & default_2.RefAttributes<INamedCollectionEditorElement>>;
|
|
646
648
|
|
|
647
649
|
export declare interface NamedCollectionEditorAttributes {
|
|
648
650
|
}
|
|
@@ -718,7 +720,7 @@ export declare interface NamedInputProps extends FormControlProps {
|
|
|
718
720
|
formOptions?: RegisterOptions;
|
|
719
721
|
}
|
|
720
722
|
|
|
721
|
-
export declare const NumberFormatCommandButton: default_2.
|
|
723
|
+
export declare const NumberFormatCommandButton: default_2.NamedExoticComponent<Omit<NumberFormatCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
722
724
|
|
|
723
725
|
export declare interface NumberFormatCommandButtonProps extends CommandPopupButtonProps {
|
|
724
726
|
}
|
|
@@ -726,7 +728,7 @@ export declare interface NumberFormatCommandButtonProps extends CommandPopupButt
|
|
|
726
728
|
/**
|
|
727
729
|
* Menu for paste options
|
|
728
730
|
*/
|
|
729
|
-
export declare const PasteCommandButton: default_2.
|
|
731
|
+
export declare const PasteCommandButton: default_2.NamedExoticComponent<Omit<PasteCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
730
732
|
|
|
731
733
|
export declare interface PasteCommandButtonProps extends CommandPopupButtonProps {
|
|
732
734
|
command: Command<void>;
|
|
@@ -737,7 +739,7 @@ export declare interface PasteCommandButtonProps extends CommandPopupButtonProps
|
|
|
737
739
|
includePasteAllInPopup?: boolean;
|
|
738
740
|
}
|
|
739
741
|
|
|
740
|
-
export declare const PresetCellStylesCommandButton: default_2.
|
|
742
|
+
export declare const PresetCellStylesCommandButton: default_2.NamedExoticComponent<Omit<PresetCellStylesCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
741
743
|
|
|
742
744
|
export declare interface PresetCellStylesCommandButtonProps extends CommandPopupButtonProps {
|
|
743
745
|
command: ICommand<IStyle.INamed, CommandContext.NamedStyle>;
|
|
@@ -755,7 +757,7 @@ export declare interface PresetCellStylesCommandButtonProps extends CommandPopup
|
|
|
755
757
|
usePreviewIcon?: boolean;
|
|
756
758
|
}
|
|
757
759
|
|
|
758
|
-
export declare const PresetTableStylesCommandButton: default_2.
|
|
760
|
+
export declare const PresetTableStylesCommandButton: default_2.NamedExoticComponent<Omit<PresetTableStylesCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
759
761
|
|
|
760
762
|
export declare interface PresetTableStylesCommandButtonProps extends CommandPopupButtonProps {
|
|
761
763
|
command: ICommand<ITableStyle.StyleOptions, CommandContext.Table>;
|
|
@@ -776,7 +778,7 @@ export declare interface PresetTableStylesCommandButtonProps extends CommandPopu
|
|
|
776
778
|
/**
|
|
777
779
|
* Menu for quick formula sum
|
|
778
780
|
*/
|
|
779
|
-
export declare const QuickFormulaSumCommandPopupButton: default_2.
|
|
781
|
+
export declare const QuickFormulaSumCommandPopupButton: default_2.NamedExoticComponent<QuickFormulaSumCommandPopupButtonProps & default_2.RefAttributes<HTMLElement>>;
|
|
780
782
|
|
|
781
783
|
export declare interface QuickFormulaSumCommandPopupButtonProps extends CommandButtonOptions {
|
|
782
784
|
parentFloat: FloatReference;
|
|
@@ -831,12 +833,14 @@ export declare interface RequestTitleOptions extends FocusOptions {
|
|
|
831
833
|
/**
|
|
832
834
|
* Menu for Quick run of scripts.
|
|
833
835
|
*/
|
|
834
|
-
export declare const RunScriptCommandButton: default_2.FC<RunScriptCommandButtonProps
|
|
836
|
+
export declare const RunScriptCommandButton: default_2.FC<RunScriptCommandButtonProps & {
|
|
837
|
+
ref?: any;
|
|
838
|
+
}>;
|
|
835
839
|
|
|
836
840
|
export declare interface RunScriptCommandButtonProps extends CommandPopupButtonProps {
|
|
837
841
|
}
|
|
838
842
|
|
|
839
|
-
export declare const ScriptEditorToolbar: default_2.NamedExoticComponent<Omit<CommandToolbarProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
843
|
+
export declare const ScriptEditorToolbar: default_2.NamedExoticComponent<Omit<Omit<CommandToolbarProps, "createToolbarPalette">, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
840
844
|
|
|
841
845
|
/**
|
|
842
846
|
* This tracks the selection of the sheet and
|
|
@@ -888,7 +892,7 @@ export declare interface ScriptWorkspaceProps extends default_2.HTMLAttributes<H
|
|
|
888
892
|
scripts: IScript;
|
|
889
893
|
}
|
|
890
894
|
|
|
891
|
-
export declare const SheetsAllMenu: default_2.
|
|
895
|
+
export declare const SheetsAllMenu: default_2.NamedExoticComponent<SheetsAllMenuProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
892
896
|
|
|
893
897
|
export declare interface SheetsAllMenuProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
894
898
|
/**
|
|
@@ -960,7 +964,7 @@ export declare interface SheetZoomScaleProps extends BoxProps {
|
|
|
960
964
|
debounceDelay?: number;
|
|
961
965
|
}
|
|
962
966
|
|
|
963
|
-
export declare const SortFilterCommandButton: default_2.
|
|
967
|
+
export declare const SortFilterCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
964
968
|
|
|
965
969
|
declare type Source = 'prop' | 'class' | 'media';
|
|
966
970
|
|
|
@@ -1242,11 +1246,11 @@ export declare interface TableStylePreviewProps extends BoxProps {
|
|
|
1242
1246
|
/**
|
|
1243
1247
|
* Menu for text effects options
|
|
1244
1248
|
*/
|
|
1245
|
-
export declare const TextEffectsCommandButton: default_2.
|
|
1249
|
+
export declare const TextEffectsCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
1246
1250
|
|
|
1247
|
-
export declare const TextOverflowCommandButton: default_2.
|
|
1251
|
+
export declare const TextOverflowCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
1248
1252
|
|
|
1249
|
-
export declare const TextRotateCommandButton: default_2.
|
|
1253
|
+
export declare const TextRotateCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
1250
1254
|
|
|
1251
1255
|
export declare const ThemeMode: {
|
|
1252
1256
|
readonly Light: "light";
|
|
@@ -1351,7 +1355,9 @@ export declare interface ThemeSelectPanelProps extends default_2.HTMLAttributes<
|
|
|
1351
1355
|
darkMode?: boolean;
|
|
1352
1356
|
}
|
|
1353
1357
|
|
|
1354
|
-
export declare const ThemeSelectPopupButton: default_2.FC<ThemeSelectPopupButtonProps
|
|
1358
|
+
export declare const ThemeSelectPopupButton: default_2.FC<ThemeSelectPopupButtonProps & {
|
|
1359
|
+
ref?: any;
|
|
1360
|
+
}>;
|
|
1355
1361
|
|
|
1356
1362
|
export declare interface ThemeSelectPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "createPopupPanel"> {
|
|
1357
1363
|
themes: IThemeCollection;
|
|
@@ -1379,9 +1385,9 @@ export declare const toState: (data: ColorSpace | string, oldHue?: number) => {
|
|
|
1379
1385
|
/**
|
|
1380
1386
|
* Menu for underline options
|
|
1381
1387
|
*/
|
|
1382
|
-
export declare const UnderlineCommandButton: default_2.
|
|
1388
|
+
export declare const UnderlineCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
1383
1389
|
|
|
1384
|
-
export declare const UndoRedoCommandButton: default_2.
|
|
1390
|
+
export declare const UndoRedoCommandButton: default_2.NamedExoticComponent<Omit<UndoRedoCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
1385
1391
|
|
|
1386
1392
|
export declare interface UndoRedoCommandButtonProps extends CommandPopupButtonProps {
|
|
1387
1393
|
quickCommand?: string;
|
|
@@ -1440,17 +1446,17 @@ export declare interface useWorkbookCommandsOptions {
|
|
|
1440
1446
|
darkMode?: boolean;
|
|
1441
1447
|
}
|
|
1442
1448
|
|
|
1443
|
-
export declare const VerticalAlignCommandButton: default_2.
|
|
1449
|
+
export declare const VerticalAlignCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
1444
1450
|
|
|
1445
1451
|
/**
|
|
1446
1452
|
* Menu for gridline options
|
|
1447
1453
|
*/
|
|
1448
|
-
export declare const ViewGridLinesCommandButton: default_2.
|
|
1454
|
+
export declare const ViewGridLinesCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
1449
1455
|
|
|
1450
1456
|
/**
|
|
1451
1457
|
* Menu for heading options
|
|
1452
1458
|
*/
|
|
1453
|
-
export declare const ViewHeadingsCommandButton: default_2.
|
|
1459
|
+
export declare const ViewHeadingsCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
1454
1460
|
|
|
1455
1461
|
export declare const WalkingCopyCommandButton: default_2.FC<WalkingCopyCommandButtonProps>;
|
|
1456
1462
|
|
|
@@ -1484,7 +1490,7 @@ export declare interface WorkbookContextMenuProps extends default_2.HTMLAttribut
|
|
|
1484
1490
|
floatReference: FloatReference;
|
|
1485
1491
|
}
|
|
1486
1492
|
|
|
1487
|
-
export declare const WorkbookElement: default_2.
|
|
1493
|
+
export declare const WorkbookElement: default_2.NamedExoticComponent<Omit<WorkbookElementProps, "ref"> & default_2.RefAttributes<IWorkbookElement>>;
|
|
1488
1494
|
|
|
1489
1495
|
export declare interface WorkbookElementProps extends Omit<PaperProps, 'autoFocus'> {
|
|
1490
1496
|
/**
|
|
@@ -1681,7 +1687,6 @@ export declare type WorkbookRefAttribute = {
|
|
|
1681
1687
|
* For elements that also need the ref. Less common but some factory renderers
|
|
1682
1688
|
*/
|
|
1683
1689
|
export declare interface WorkbookRefProps extends WorkbookElementProps {
|
|
1684
|
-
ref?: default_2.Ref<HTMLDivElement>;
|
|
1685
1690
|
}
|
|
1686
1691
|
|
|
1687
1692
|
export declare const WorkbookStrip: default_2.NamedExoticComponent<WorkbookStripProps & default_2.RefAttributes<HTMLElement>>;
|
|
@@ -1837,7 +1842,7 @@ declare interface WorkbookToolbarsProps extends default_2.HTMLAttributes<HTMLDiv
|
|
|
1837
1842
|
sx?: SxProps;
|
|
1838
1843
|
}
|
|
1839
1844
|
|
|
1840
|
-
export declare const WorkbookViewCommandButton: default_2.
|
|
1845
|
+
export declare const WorkbookViewCommandButton: default_2.NamedExoticComponent<Omit<WorkbookViewCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
1841
1846
|
|
|
1842
1847
|
export declare interface WorkbookViewCommandButtonProps extends CommandPopupButtonProps {
|
|
1843
1848
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),a=require("react"),t=require("./B50pi_DZlxL44FZa.cjs"),p=require("@mui/material"),O=require("@mui/system"),N=["Input"],$=a.memo(a.forwardRef((T,z)=>{const{initialValue:w="",onOption:F,onValidateOption:l,onInputOption:u,onValidateInputOption:r,onDone:c,inputProps:d,inputLabel:I,inputType:S,inputPlaceHolder:P,options:g=N,autoFocusSel:b=".autoFocus",cancelOption:m,defaultOption:f=g?.[0],...v}=T,[C,j]=a.useState(!1),[n,q]=a.useState(w),[k,D]=a.useState(""),[V,B]=a.useState(!0),i=t.s0(async(e,o)=>{if(!r)return!0;const x=await r?.(e,o);D(x?.message??"");const y=x?.valid??!0;return B(y),y},[r]),h=t.s0(async e=>{u?.(n,e)},[n,u,c,F,m,f]),M=t.s0(async e=>{e.keyCode===t.Z0.Enter&&await i?.(n,null)},[n,h]),H=t.s0(e=>{q(e.target.value),i?.(e.target.value,null)},[l]),L=t.s0(async e=>{let o=await i(n,e);try{o!==!1&&(o=await i(n,e))}catch{}return o??!0},[n,l]);return s.jsx(t.D8,{options:g,onDone:c,onOption:(e,o)=>{o||h(e)},onValidateOption:L,cancelOption:m,defaultOption:f,autoFocusSel:b,...v,children:s.jsx(p.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0)},children:s.jsx(p.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:s.jsx(p.TextField,{onFocus:e=>{C||e.target?.select(),j(!0)},type:S,label:I,helperText:k||" ",sx:{width:"100%","& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5),color:V?void 0:"error.main"}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{placeholder:P,spellCheck:!1,autoComplete:"off",...d,className:t.A0("autoFocus",d?.className),sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${O.alpha("#fff",t.Ie(5))}, ${O.alpha("#fff",t.Ie(5))})`}}},value:n,onChange:H,onKeyDown:M,onContextMenu:e=>{e.stopPropagation()}})})})})}));exports.default=$;
|