@betteroffice/xlsx-react 0.3.0 → 0.5.0
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 +117 -366
- package/dist/chunk-2S2QUCJE.js +1 -0
- package/dist/chunk-OADYDRKQ.js +3 -0
- package/dist/index.d.ts +218 -27
- package/dist/index.js +1 -1
- package/package.json +8 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { XlsxEditRefusal, Selection, XlsxReadRequest, XlsxReadResult, XlsxFindRequest, XlsxFindResult, XlsxEditRequest, XlsxValidationResult, XlsxEditResult, CellRange, CellEdit, EditResult, ProposalEdit, Proposal, WorkbookHandle } from '@betteroffice/xlsx';
|
|
2
|
+
import { AsyncCollaborationReplica, CollaborationReplica, CollaborationAwareness } from '@betteroffice/xlsx/collaboration';
|
|
3
|
+
import { TranslationKey, Translations, TFunction } from '@betteroffice/xlsx-i18n';
|
|
1
4
|
import * as react from 'react';
|
|
2
5
|
import { CSSProperties, ReactNode, ComponentType } from 'react';
|
|
3
|
-
import { XlsxEditRefusal, Selection, XlsxReadRequest, XlsxReadResult, XlsxFindRequest, XlsxFindResult, XlsxEditRequest, XlsxValidationResult, XlsxEditResult, CellRange, WorkbookHandle } from '@betteroffice/xlsx';
|
|
4
|
-
import { CollaborationReplica, CollaborationAwareness } from '@betteroffice/xlsx/collaboration';
|
|
5
|
-
import { TranslationKey, Translations, TFunction } from '@betteroffice/xlsx-i18n';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* A value that survives `JSON.stringify` / `JSON.parse` unchanged.
|
|
@@ -261,7 +261,7 @@ interface XlsxCommandArgs {
|
|
|
261
261
|
print: null;
|
|
262
262
|
undo: null;
|
|
263
263
|
redo: null;
|
|
264
|
-
/** 1 is 100%; 0.
|
|
264
|
+
/** 1 is 100%; 0.1 to 5. */
|
|
265
265
|
zoom: {
|
|
266
266
|
scale: number;
|
|
267
267
|
};
|
|
@@ -444,6 +444,17 @@ interface XlsxCommandStore {
|
|
|
444
444
|
execute(id: XlsxPluginCommandId, args: null): Promise<XlsxPluginCommandResult>;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
+
/** Why work queued behind accepted input could not run. */
|
|
448
|
+
type XlsxCommandAdmissionCode = Extract<XlsxCommandFailureCode, 'input-failed' | 'document-replaced' | 'target-changed' | 'gesture-active' | 'editor-unavailable'>;
|
|
449
|
+
/**
|
|
450
|
+
* Raised when work queued behind accepted input cannot run: a command, or a version, read or
|
|
451
|
+
* edit-batch call of the editor API.
|
|
452
|
+
*/
|
|
453
|
+
declare class XlsxCommandAdmissionError extends Error {
|
|
454
|
+
readonly code: XlsxCommandAdmissionCode;
|
|
455
|
+
constructor(code: XlsxCommandAdmissionCode);
|
|
456
|
+
}
|
|
457
|
+
|
|
447
458
|
/**
|
|
448
459
|
* What the host lets one plugin do. Without a grant a plugin reads, validates and navigates only.
|
|
449
460
|
* Built-in commands need their id listed and, when they mutate, `document: 'write'`; edit
|
|
@@ -594,7 +605,7 @@ interface XlsxPluginNavigationOptions {
|
|
|
594
605
|
*/
|
|
595
606
|
interface XlsxPluginNavigation {
|
|
596
607
|
/**
|
|
597
|
-
* Activates the sheet, selects `selection` in its direction and reveals the
|
|
608
|
+
* Activates the sheet, selects `selection` in its direction and reveals its anchor (the active cell).
|
|
598
609
|
* Keyboard focus stays where it is unless `focus` is true.
|
|
599
610
|
*/
|
|
600
611
|
selectCells(target: {
|
|
@@ -753,6 +764,118 @@ interface XlsxEditorPluginProps {
|
|
|
753
764
|
onPluginError?(error: XlsxPluginError): void;
|
|
754
765
|
}
|
|
755
766
|
|
|
767
|
+
declare class WorkerInputNotReadyError extends Error {
|
|
768
|
+
constructor();
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
/** @experimental */
|
|
772
|
+
declare class XlsxPeerNotReadyError extends WorkerInputNotReadyError {
|
|
773
|
+
constructor();
|
|
774
|
+
}
|
|
775
|
+
/** @experimental */
|
|
776
|
+
declare class XlsxWorkerEditorCollaborationError extends Error {
|
|
777
|
+
readonly code = "collaboration-unavailable";
|
|
778
|
+
constructor();
|
|
779
|
+
}
|
|
780
|
+
/** @deprecated Removed in 0.6.0. Use XlsxAsyncEditorApi. */
|
|
781
|
+
interface XlsxWorkerEditorApi extends Omit<XlsxWorkerViewerApi, 'save' | 'selectCells'> {
|
|
782
|
+
readonly hydrated: boolean;
|
|
783
|
+
readonly failure: Error | null;
|
|
784
|
+
whenHydrated(): Promise<void>;
|
|
785
|
+
flush(): Promise<void>;
|
|
786
|
+
save(): Promise<Uint8Array | null>;
|
|
787
|
+
recoverySave(): Promise<{
|
|
788
|
+
bytes: Uint8Array;
|
|
789
|
+
recovery: true;
|
|
790
|
+
}>;
|
|
791
|
+
selectCells(sheet: number, selection: Selection): boolean;
|
|
792
|
+
cell(sheet: number, row: number, col: number): CellEdit | null;
|
|
793
|
+
cellAsync(sheet: number, row: number, col: number): Promise<CellEdit | null>;
|
|
794
|
+
rangeCells(sheet: number, range: string): CellEdit[][];
|
|
795
|
+
rangeCellsAsync(sheet: number, range: string): Promise<CellEdit[][] | null>;
|
|
796
|
+
readCellsSync(request: XlsxReadRequest): XlsxReadResult | null;
|
|
797
|
+
editCell(sheet: number, row: number, col: number, input: string): EditResult;
|
|
798
|
+
editCellAsync(sheet: number, row: number, col: number, input: string): Promise<EditResult | null>;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
declare class XlsxWorkerSessionFailedError extends Error {
|
|
802
|
+
readonly cause: unknown;
|
|
803
|
+
readonly code = "worker-session-failed";
|
|
804
|
+
constructor(cause: unknown);
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
declare class XlsxAsyncApiSyncAccessError extends Error {
|
|
808
|
+
readonly member: string;
|
|
809
|
+
readonly alternative: string;
|
|
810
|
+
readonly code = "sync-api-unavailable";
|
|
811
|
+
constructor(member: string, alternative: string);
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
interface XlsxProposalRequest {
|
|
815
|
+
agentId: string;
|
|
816
|
+
note?: string | null;
|
|
817
|
+
edits: ProposalEdit[];
|
|
818
|
+
}
|
|
819
|
+
type XlsxProposalResult = {
|
|
820
|
+
ok: true;
|
|
821
|
+
proposal: Proposal;
|
|
822
|
+
} | Extract<XlsxCommandResult, {
|
|
823
|
+
ok: false;
|
|
824
|
+
}>;
|
|
825
|
+
/**
|
|
826
|
+
* Host reads, edits and saves commit pending input first. Admission rejects with
|
|
827
|
+
* XlsxCommandAdmissionError for input-failed, document-replaced or editor-unavailable.
|
|
828
|
+
* Session failures reject with the session error.
|
|
829
|
+
* @experimental
|
|
830
|
+
*/
|
|
831
|
+
interface XlsxAsyncEditorApi {
|
|
832
|
+
readonly hydrated: boolean;
|
|
833
|
+
readonly failure: Error | null;
|
|
834
|
+
whenHydrated(): Promise<void>;
|
|
835
|
+
recoverySave(): Promise<{
|
|
836
|
+
bytes: Uint8Array;
|
|
837
|
+
recovery: true;
|
|
838
|
+
}>;
|
|
839
|
+
/** Commits pending input before reading the workbook version. */
|
|
840
|
+
version(): Promise<string>;
|
|
841
|
+
/** Reads cells after pending input commits. */
|
|
842
|
+
readCells(request: XlsxReadRequest): Promise<XlsxReadResult>;
|
|
843
|
+
/** Searches display text after pending input commits. */
|
|
844
|
+
findText(request: XlsxFindRequest): Promise<XlsxFindResult>;
|
|
845
|
+
/** Refuses with `read-only` while the editor is read-only. */
|
|
846
|
+
validateEdits(request: XlsxEditRequest): Promise<XlsxValidationResult>;
|
|
847
|
+
/** Applies against `expectVersion` after pending input commits; notifies once if applied. */
|
|
848
|
+
applyEdits(request: XlsxEditRequest): Promise<XlsxEditResult>;
|
|
849
|
+
/** Commits pending input, returns bytes and calls onSave without downloading. */
|
|
850
|
+
save(): Promise<Uint8Array>;
|
|
851
|
+
readonly commands: XlsxCommandStore;
|
|
852
|
+
readonly collaboration: AsyncCollaborationReplica | null;
|
|
853
|
+
/** Stages tracked cell edits after pending input drains; available on worker editors. */
|
|
854
|
+
proposeChanges?(request: XlsxProposalRequest): Promise<XlsxProposalResult>;
|
|
855
|
+
focus(): void;
|
|
856
|
+
renderPng(...args: Parameters<WorkbookHandle['renderPng']>): Promise<ReturnType<WorkbookHandle['renderPng']>>;
|
|
857
|
+
renderRangePng(...args: Parameters<WorkbookHandle['renderRangePng']>): Promise<ReturnType<WorkbookHandle['renderRangePng']>>;
|
|
858
|
+
exportStructured(...args: Parameters<WorkbookHandle['exportStructured']>): Promise<ReturnType<WorkbookHandle['exportStructured']>>;
|
|
859
|
+
exportMarkdown(...args: Parameters<WorkbookHandle['exportMarkdown']>): Promise<ReturnType<WorkbookHandle['exportMarkdown']>>;
|
|
860
|
+
printDisplayList(...args: Parameters<WorkbookHandle['printDisplayList']>): Promise<ReturnType<WorkbookHandle['printDisplayList']>>;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
declare const LEGACY_SYNC_API: "legacySyncApi";
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* `<XlsxEditor />` — the editor shell. A dpr-aware canvas paints the grid; DOM
|
|
867
|
+
* overlays (selection marquee, active-cell outline, in-cell editor) sit above it,
|
|
868
|
+
* positioned from the same display-list geometry the painter uses. A top bar
|
|
869
|
+
* holds the name box, formula bar, and save/undo/redo; an offscreen `role=grid`
|
|
870
|
+
* mirror serves screen readers. All compute lives in `@betteroffice/xlsx`; this
|
|
871
|
+
* layer is framework glue — keyboard/mouse wiring, focus flow, and DOM chrome.
|
|
872
|
+
*/
|
|
873
|
+
|
|
874
|
+
interface XlsxPointPosition {
|
|
875
|
+
sheet: number;
|
|
876
|
+
row: number;
|
|
877
|
+
col: number;
|
|
878
|
+
}
|
|
756
879
|
/**
|
|
757
880
|
* The imperative surface handed to {@link XlsxEditorProps.onReady}: the open
|
|
758
881
|
* workbook handle plus a `refreshProposals` to re-read the pending list after an
|
|
@@ -764,8 +887,12 @@ interface XlsxEditorPluginProps {
|
|
|
764
887
|
* with {@link XlsxCommandAdmissionError}: `input-failed` while a refused entry
|
|
765
888
|
* waits for correction or earlier input failed, `gesture-active` during a chart
|
|
766
889
|
* drag, and `document-replaced` when the workbook is replaced meanwhile.
|
|
890
|
+
* @deprecated Removed in 0.6.0. Use XlsxAsyncEditorApi.
|
|
767
891
|
*/
|
|
768
892
|
interface XlsxEditorApi {
|
|
893
|
+
flushPendingInput: () => Promise<void>;
|
|
894
|
+
/** Client coordinates; sheet, row and column are zero-based. */
|
|
895
|
+
getPositionAtPoint: (clientX: number, clientY: number) => XlsxPointPosition | null;
|
|
769
896
|
/**
|
|
770
897
|
* Closes the open cell entry and clears the selection. The entry is written
|
|
771
898
|
* at once, or queued behind input still waiting to be written. An entry the
|
|
@@ -811,6 +938,19 @@ interface XlsxEditorApi {
|
|
|
811
938
|
*/
|
|
812
939
|
applyEdits: (request: XlsxEditRequest) => Promise<XlsxEditResult>;
|
|
813
940
|
}
|
|
941
|
+
/** @deprecated Removed in 0.6.0. Use XlsxAsyncEditorApi. */
|
|
942
|
+
interface XlsxWorkerViewerApi extends Omit<XlsxEditorApi, 'handle' | 'save' | 'selectCells' | 'version' | 'readCells' | 'findText' | 'validateEdits' | 'applyEdits'> {
|
|
943
|
+
handle: null;
|
|
944
|
+
save: () => null;
|
|
945
|
+
selectCells: (sheet: number, selection: Selection) => false;
|
|
946
|
+
saveAsync: () => Promise<Uint8Array | null>;
|
|
947
|
+
selectCellsAsync: (sheet: number, selection: Selection) => Promise<boolean>;
|
|
948
|
+
version: () => Promise<string | null>;
|
|
949
|
+
readCells: (request: XlsxReadRequest) => Promise<XlsxReadResult | null>;
|
|
950
|
+
findText: (request: XlsxFindRequest) => Promise<XlsxFindResult | null>;
|
|
951
|
+
validateEdits: (request: XlsxEditRequest) => Promise<XlsxValidationResult | null>;
|
|
952
|
+
applyEdits: (request: XlsxEditRequest) => Promise<XlsxEditResult | null>;
|
|
953
|
+
}
|
|
814
954
|
/** Why a synchronous {@link XlsxEditorApi.save} did not return bytes. */
|
|
815
955
|
declare class XlsxSaveRefusedError extends Error {
|
|
816
956
|
readonly code: 'input-pending' | 'input-failed';
|
|
@@ -826,16 +966,34 @@ interface XlsxEditorCollaborationOptions {
|
|
|
826
966
|
/** Presence-capable provider connected to the editor-owned replica. */
|
|
827
967
|
provider?: CollaborationAwareness | null;
|
|
828
968
|
}
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
interface
|
|
969
|
+
interface XlsxDocumentChange {
|
|
970
|
+
version: string;
|
|
971
|
+
}
|
|
972
|
+
interface XlsxHostProps {
|
|
973
|
+
/** Receives the version after a committed edit changes the workbook. */
|
|
974
|
+
onDocumentChange?: (change: XlsxDocumentChange) => void;
|
|
975
|
+
/** Whether Save also downloads a copy. Defaults to true without onSave, false with it. */
|
|
976
|
+
downloadOnSave?: boolean;
|
|
977
|
+
/** Initial scale, clamped to the supported zoom range. Defaults to 1. */
|
|
978
|
+
initialZoom?: number;
|
|
979
|
+
/** Rendered while a supplied file is opening. */
|
|
980
|
+
loadingIndicator?: React.ReactNode;
|
|
981
|
+
/** Inline style overrides for the editor root. */
|
|
982
|
+
style?: React.CSSProperties;
|
|
983
|
+
}
|
|
984
|
+
/** Props for XlsxEditor. */
|
|
985
|
+
interface XlsxInThreadEditorProps extends XlsxEditorPluginProps, XlsxHostProps {
|
|
986
|
+
/** @deprecated False selects the in-thread engine. */
|
|
987
|
+
experimentalWorkerOpen?: false;
|
|
988
|
+
onError?: (error: Error) => void;
|
|
833
989
|
/** Raw .xlsx bytes to open. When omitted the shell paints a demo frame. */
|
|
834
|
-
file?: Uint8Array;
|
|
990
|
+
file?: Uint8Array | ArrayBuffer;
|
|
835
991
|
/** Download name for the save button; falls back to `workbook.xlsx`. */
|
|
836
992
|
fileName?: string;
|
|
837
|
-
/**
|
|
993
|
+
/** Receives saved workbook bytes. */
|
|
838
994
|
onSave?: (bytes: Uint8Array) => void;
|
|
995
|
+
/** Return true for built-in saving; false or void handles/cancels the request. */
|
|
996
|
+
onSaveRequest?: () => boolean | void | Promise<boolean | void>;
|
|
839
997
|
/** Called after a user edit changes the workbook. */
|
|
840
998
|
onChange?: () => void;
|
|
841
999
|
/** Open a network-ready Yrs replica and repaint when peer updates arrive. */
|
|
@@ -861,10 +1019,54 @@ interface XlsxEditorProps extends XlsxEditorPluginProps {
|
|
|
861
1019
|
/** `false` hides the toolbar region, whatever `toolbar` is. */
|
|
862
1020
|
showToolbar?: boolean;
|
|
863
1021
|
}
|
|
864
|
-
/**
|
|
865
|
-
|
|
866
|
-
*/
|
|
867
|
-
|
|
1022
|
+
/** @deprecated Removed in 0.6.0. Use XlsxAsyncEditorProps. */
|
|
1023
|
+
type XlsxWorkerViewerProps = Omit<XlsxInThreadEditorProps, 'onReady' | 'readOnly' | 'collaboration' | 'experimentalWorkerOpen' | keyof XlsxHostProps> & {
|
|
1024
|
+
/** @deprecated Removed in 0.6.0. Omit for the async editor. */
|
|
1025
|
+
[LEGACY_SYNC_API]: true;
|
|
1026
|
+
readOnly: true;
|
|
1027
|
+
collaboration?: undefined;
|
|
1028
|
+
/** Opens in the worker; without it the legacy runtime runs in-thread. */
|
|
1029
|
+
experimentalWorkerOpen: true;
|
|
1030
|
+
onReady?: (api: XlsxWorkerViewerApi) => void | (() => void);
|
|
1031
|
+
};
|
|
1032
|
+
/** @deprecated Removed in 0.6.0. Use XlsxAsyncEditorProps. */
|
|
1033
|
+
type XlsxWorkerEditorProps = Omit<XlsxWorkerViewerProps, 'onReady' | 'readOnly'> & {
|
|
1034
|
+
readOnly?: false;
|
|
1035
|
+
onReady?: (api: XlsxWorkerEditorApi) => void | (() => void);
|
|
1036
|
+
};
|
|
1037
|
+
type XlsxAsyncEditorProps = Omit<XlsxInThreadEditorProps, 'onReady' | 'experimentalWorkerOpen'> & {
|
|
1038
|
+
/** @deprecated Removed in 0.6.0. Omit for the async editor. */
|
|
1039
|
+
[LEGACY_SYNC_API]?: false;
|
|
1040
|
+
/** @deprecated False selects the in-thread engine. */
|
|
1041
|
+
experimentalWorkerOpen?: boolean;
|
|
1042
|
+
onReady?: (api: XlsxAsyncEditorApi) => void | (() => void);
|
|
1043
|
+
};
|
|
1044
|
+
/** @deprecated Removed in 0.6.0. Use XlsxAsyncEditorProps. */
|
|
1045
|
+
type XlsxLegacyEditorProps = Omit<XlsxInThreadEditorProps, keyof XlsxHostProps> & {
|
|
1046
|
+
/** @deprecated Removed in 0.6.0. Omit for the async editor. */
|
|
1047
|
+
[LEGACY_SYNC_API]: true;
|
|
1048
|
+
};
|
|
1049
|
+
type WorkerSessionProps = Omit<XlsxWorkerEditorProps, 'readOnly' | 'onReady'> & {
|
|
1050
|
+
readOnly?: boolean;
|
|
1051
|
+
onReady?: (api: XlsxWorkerEditorApi | XlsxWorkerViewerApi) => void | (() => void);
|
|
1052
|
+
};
|
|
1053
|
+
type GeneralEditorSessionProps = Omit<XlsxLegacyEditorProps, 'experimentalWorkerOpen' | 'onReady'> & {
|
|
1054
|
+
experimentalWorkerOpen?: boolean;
|
|
1055
|
+
onReady?: (api: XlsxEditorApi | XlsxWorkerEditorApi | XlsxWorkerViewerApi) => void | (() => void);
|
|
1056
|
+
};
|
|
1057
|
+
type XlsxEditorProps = XlsxAsyncEditorProps | GeneralEditorSessionProps;
|
|
1058
|
+
declare function XlsxEditor(props: XlsxAsyncEditorProps): React.JSX.Element;
|
|
1059
|
+
declare function XlsxEditor(props: XlsxLegacyEditorProps): React.JSX.Element;
|
|
1060
|
+
declare function XlsxEditor(props: XlsxWorkerViewerProps): React.JSX.Element;
|
|
1061
|
+
declare function XlsxEditor(props: XlsxWorkerEditorProps): React.JSX.Element;
|
|
1062
|
+
declare function XlsxEditor(props: WorkerSessionProps): React.JSX.Element;
|
|
1063
|
+
declare function XlsxEditor(props: XlsxEditorProps): React.JSX.Element;
|
|
1064
|
+
|
|
1065
|
+
declare class XlsxWorkerEditorChunkLoadError extends Error {
|
|
1066
|
+
readonly cause: unknown;
|
|
1067
|
+
readonly code = "chunk-load-failed";
|
|
1068
|
+
constructor(cause: unknown);
|
|
1069
|
+
}
|
|
868
1070
|
|
|
869
1071
|
interface EditorToolbarProps extends ToolbarProps {
|
|
870
1072
|
/**
|
|
@@ -962,17 +1164,6 @@ declare function useTranslation(): {
|
|
|
962
1164
|
t: TFunction;
|
|
963
1165
|
};
|
|
964
1166
|
|
|
965
|
-
/** Why work queued behind accepted input could not run. */
|
|
966
|
-
type XlsxCommandAdmissionCode = Extract<XlsxCommandFailureCode, 'input-failed' | 'document-replaced' | 'target-changed' | 'gesture-active' | 'editor-unavailable'>;
|
|
967
|
-
/**
|
|
968
|
-
* Raised when work queued behind accepted input cannot run: a command, or a version, read or
|
|
969
|
-
* edit-batch call of the editor API.
|
|
970
|
-
*/
|
|
971
|
-
declare class XlsxCommandAdmissionError extends Error {
|
|
972
|
-
readonly code: XlsxCommandAdmissionCode;
|
|
973
|
-
constructor(code: XlsxCommandAdmissionCode);
|
|
974
|
-
}
|
|
975
|
-
|
|
976
1167
|
/** @experimental */
|
|
977
1168
|
interface XlsxCommandProviderProps {
|
|
978
1169
|
/** An editor's `api.commands`; `null` until the editor is ready. */
|
|
@@ -1120,4 +1311,4 @@ declare function defineXlsxPlugin<S>(definition: XlsxPluginDefinition<S>): XlsxP
|
|
|
1120
1311
|
*/
|
|
1121
1312
|
declare function XlsxPluginToolbar(): React.ReactElement | null;
|
|
1122
1313
|
|
|
1123
|
-
export { type BorderPreset, type BorderStyle, type CommandReason, type CommandState, EditorToolbar, EditorToolbarContext, type EditorToolbarProps, type FormattingAction, type FormulaBarProps, type HorizontalAlignment, type JsonValue, LocaleProvider, type LocaleProviderProps, type MaybePromise, type MergeAction, type NumberFormat, type PluginCleanupReason, type PluginGrant, type PluginLoadReason, type SelectionFormatting, type SelectionShape, type TextWrapping, Toolbar, ToolbarButton, type ToolbarButtonProps, ToolbarCommand, type ToolbarCommandArgs, ToolbarCommandButton, type ToolbarCommandButtonProps, type ToolbarCommandProps, ToolbarCommandSelect, type ToolbarCommandSelectProps, ToolbarDropdown, type ToolbarDropdownProps, ToolbarGroup, ToolbarMenuItem, type ToolbarMenuItemProps, ToolbarMenuSeparator, type ToolbarMode, ToolbarOverflow, type ToolbarOverflowProps, type ToolbarProps, ToolbarSeparator, type VerticalAlignment, type XlsxBoundCommand, type XlsxBoundPluginCommand, type XlsxCommandAdmissionCode, XlsxCommandAdmissionError, type XlsxCommandArgs, type XlsxCommandDescriptor, type XlsxCommandDisabledCode, type XlsxCommandFailureCode, type XlsxCommandId, type XlsxCommandOption, XlsxCommandProvider, type XlsxCommandProviderProps, type XlsxCommandResult, type XlsxCommandShortcut, type XlsxCommandState, type XlsxCommandStatus, type XlsxCommandStore, type XlsxCommandValues, XlsxEditor, type XlsxEditorApi, type XlsxEditorCollaborationOptions, type XlsxEditorPluginProps, type XlsxEditorProps, type XlsxNumberFormatValue, type XlsxPlugin, type XlsxPluginCellPosition, type XlsxPluginCommand, type XlsxPluginCommandClient, type XlsxPluginCommandDescriptor, type XlsxPluginCommandId, type XlsxPluginCommandResult, type XlsxPluginCommandState, type XlsxPluginContext, type XlsxPluginDefinition, type XlsxPluginEditClient, type XlsxPluginError, type XlsxPluginErrorPhase, type XlsxPluginEvent, type XlsxPluginFailureCode, type XlsxPluginGeometry, type XlsxPluginGrant, type XlsxPluginLayout, type XlsxPluginNavigation, type XlsxPluginNavigationFailureCode, type XlsxPluginNavigationOptions, type XlsxPluginNavigationResult, type XlsxPluginPanel, type XlsxPluginReadClient, type XlsxPluginRect, type XlsxPluginRefusal, type XlsxPluginSelection, type XlsxPluginSnapshot, XlsxPluginToolbar, XlsxSaveRefusedError, type XlsxSelectCommandId, Toolbar as XlsxToolbar, defineXlsxPlugin, useEditorToolbar, useTranslation, useXlsxCommand, useXlsxCommandState, useXlsxCommands };
|
|
1314
|
+
export { type BorderPreset, type BorderStyle, type CommandReason, type CommandState, EditorToolbar, EditorToolbarContext, type EditorToolbarProps, type FormattingAction, type FormulaBarProps, type HorizontalAlignment, type JsonValue, LocaleProvider, type LocaleProviderProps, type MaybePromise, type MergeAction, type NumberFormat, type PluginCleanupReason, type PluginGrant, type PluginLoadReason, type SelectionFormatting, type SelectionShape, type TextWrapping, Toolbar, ToolbarButton, type ToolbarButtonProps, ToolbarCommand, type ToolbarCommandArgs, ToolbarCommandButton, type ToolbarCommandButtonProps, type ToolbarCommandProps, ToolbarCommandSelect, type ToolbarCommandSelectProps, ToolbarDropdown, type ToolbarDropdownProps, ToolbarGroup, ToolbarMenuItem, type ToolbarMenuItemProps, ToolbarMenuSeparator, type ToolbarMode, ToolbarOverflow, type ToolbarOverflowProps, type ToolbarProps, ToolbarSeparator, type VerticalAlignment, XlsxAsyncApiSyncAccessError, type XlsxAsyncEditorApi, type XlsxAsyncEditorProps, type XlsxBoundCommand, type XlsxBoundPluginCommand, type XlsxCommandAdmissionCode, XlsxCommandAdmissionError, type XlsxCommandArgs, type XlsxCommandDescriptor, type XlsxCommandDisabledCode, type XlsxCommandFailureCode, type XlsxCommandId, type XlsxCommandOption, XlsxCommandProvider, type XlsxCommandProviderProps, type XlsxCommandResult, type XlsxCommandShortcut, type XlsxCommandState, type XlsxCommandStatus, type XlsxCommandStore, type XlsxCommandValues, type XlsxDocumentChange, XlsxEditor, type XlsxEditorApi, type XlsxEditorCollaborationOptions, type XlsxEditorPluginProps, type XlsxEditorProps, type XlsxInThreadEditorProps, type XlsxLegacyEditorProps, type XlsxNumberFormatValue, XlsxPeerNotReadyError, type XlsxPlugin, type XlsxPluginCellPosition, type XlsxPluginCommand, type XlsxPluginCommandClient, type XlsxPluginCommandDescriptor, type XlsxPluginCommandId, type XlsxPluginCommandResult, type XlsxPluginCommandState, type XlsxPluginContext, type XlsxPluginDefinition, type XlsxPluginEditClient, type XlsxPluginError, type XlsxPluginErrorPhase, type XlsxPluginEvent, type XlsxPluginFailureCode, type XlsxPluginGeometry, type XlsxPluginGrant, type XlsxPluginLayout, type XlsxPluginNavigation, type XlsxPluginNavigationFailureCode, type XlsxPluginNavigationOptions, type XlsxPluginNavigationResult, type XlsxPluginPanel, type XlsxPluginReadClient, type XlsxPluginRect, type XlsxPluginRefusal, type XlsxPluginSelection, type XlsxPluginSnapshot, XlsxPluginToolbar, type XlsxPointPosition, type XlsxProposalRequest, type XlsxProposalResult, XlsxSaveRefusedError, type XlsxSelectCommandId, Toolbar as XlsxToolbar, type XlsxWorkerEditorApi, XlsxWorkerEditorChunkLoadError, XlsxWorkerEditorCollaborationError, type XlsxWorkerEditorProps, XlsxWorkerSessionFailedError, type XlsxWorkerViewerApi, type XlsxWorkerViewerProps, defineXlsxPlugin, useEditorToolbar, useTranslation, useXlsxCommand, useXlsxCommandState, useXlsxCommands };
|