@extend-ai/react-xlsx 0.12.2 → 0.13.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 +11 -4
- package/dist/duke_sheets_wasm_bg.wasm +0 -0
- package/dist/index.cjs +1194 -415
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +55 -1
- package/dist/index.d.ts +55 -1
- package/dist/index.js +1194 -415
- package/dist/index.js.map +1 -1
- package/dist/xlsx-worker.js +133 -133
- package/dist/xlsx-worker.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -549,6 +549,35 @@ interface XlsxChartSeries {
|
|
|
549
549
|
values: Array<number | null>;
|
|
550
550
|
valuesRef?: XlsxChartReference | null;
|
|
551
551
|
}
|
|
552
|
+
type XlsxChartElementSelection = {
|
|
553
|
+
kind: "chart";
|
|
554
|
+
chartId: string;
|
|
555
|
+
} | {
|
|
556
|
+
kind: "series";
|
|
557
|
+
chartId: string;
|
|
558
|
+
seriesId: string;
|
|
559
|
+
seriesIndex: number;
|
|
560
|
+
} | {
|
|
561
|
+
kind: "point";
|
|
562
|
+
chartId: string;
|
|
563
|
+
seriesId: string;
|
|
564
|
+
seriesIndex: number;
|
|
565
|
+
pointIndex: number;
|
|
566
|
+
} | {
|
|
567
|
+
kind: "legendEntry";
|
|
568
|
+
chartId: string;
|
|
569
|
+
seriesId: string;
|
|
570
|
+
seriesIndex: number;
|
|
571
|
+
};
|
|
572
|
+
type XlsxFormulaTarget = {
|
|
573
|
+
kind: "cell";
|
|
574
|
+
cell: XlsxCellAddress | null;
|
|
575
|
+
} | {
|
|
576
|
+
kind: "chartSeries";
|
|
577
|
+
chartId: string;
|
|
578
|
+
seriesId: string;
|
|
579
|
+
seriesIndex: number;
|
|
580
|
+
} | null;
|
|
552
581
|
interface XlsxChartTypeGroup {
|
|
553
582
|
axisIds?: number[];
|
|
554
583
|
chartType: string;
|
|
@@ -819,8 +848,10 @@ interface XlsxViewerController {
|
|
|
819
848
|
file?: ArrayBuffer;
|
|
820
849
|
fillSelection: (targetRange: XlsxCellRange) => void;
|
|
821
850
|
clearSelectedChart: () => void;
|
|
851
|
+
clearSelectedChartElement: () => void;
|
|
822
852
|
clearSelectedImage: () => void;
|
|
823
853
|
getChartById: (id: string) => XlsxChart | null;
|
|
854
|
+
getChartSeriesFormula: (chartId: string, seriesIndex: number) => string;
|
|
824
855
|
getChartsheetById: (id: string) => XlsxChartsheet | null;
|
|
825
856
|
formControls: XlsxFormControl[];
|
|
826
857
|
getSheetCharts: (sheetIndex?: number) => XlsxChart[];
|
|
@@ -909,14 +940,20 @@ interface XlsxViewerController {
|
|
|
909
940
|
extend?: boolean;
|
|
910
941
|
}) => void;
|
|
911
942
|
selectChart: (id: string | null) => void;
|
|
943
|
+
selectChartElement: (selection: XlsxChartElementSelection | null) => void;
|
|
912
944
|
selectRange: (range: XlsxCellRange) => void;
|
|
913
945
|
selection: XlsxCellRange | null;
|
|
914
946
|
setActiveSheetIndex: (index: number) => void;
|
|
915
947
|
setActiveTabIndex: (index: number) => void;
|
|
916
948
|
selectedChart: XlsxChart | null;
|
|
949
|
+
selectedChartElement: XlsxChartElementSelection | null;
|
|
950
|
+
selectedChartFormula: string | null;
|
|
917
951
|
selectedChartId: string | null;
|
|
952
|
+
selectedCellFormula: string;
|
|
953
|
+
selectedFormulaTarget: XlsxFormulaTarget;
|
|
918
954
|
selectedImage: XlsxImage | null;
|
|
919
955
|
selectedImageId: string | null;
|
|
956
|
+
setSelectedFormula: (formula: string) => boolean;
|
|
920
957
|
setSelectedCellFormula: (formula: string) => void;
|
|
921
958
|
/**
|
|
922
959
|
* Applies persisted Excel style properties to the active cell.
|
|
@@ -933,6 +970,7 @@ interface XlsxViewerController {
|
|
|
933
970
|
src?: string;
|
|
934
971
|
sortState: XlsxTableSortState | null;
|
|
935
972
|
sortTable: (tableName: string, columnIndex: number, direction: XlsxTableSortDirection) => void;
|
|
973
|
+
setChartSeriesFormula: (chartId: string, seriesIndex: number, formula: string) => boolean;
|
|
936
974
|
selectImage: (id: string | null) => void;
|
|
937
975
|
setChartRect: (id: string, rect: XlsxImageRect) => void;
|
|
938
976
|
setImageRect: (id: string, rect: XlsxImageRect) => void;
|
|
@@ -990,7 +1028,10 @@ interface XlsxViewerEditing {
|
|
|
990
1028
|
removeActiveSheet: () => void;
|
|
991
1029
|
readOnly: boolean;
|
|
992
1030
|
redo: () => void;
|
|
1031
|
+
selectedCellFormula: string;
|
|
1032
|
+
selectedChartFormula: string | null;
|
|
993
1033
|
selectedFormula: string;
|
|
1034
|
+
selectedFormulaTarget: XlsxFormulaTarget;
|
|
994
1035
|
selectedValue: string;
|
|
995
1036
|
/**
|
|
996
1037
|
* Sets the formula for a cell in the active worksheet.
|
|
@@ -1023,6 +1064,7 @@ interface XlsxViewerEditing {
|
|
|
1023
1064
|
* @param style Partial Excel style patch to apply to the target range.
|
|
1024
1065
|
*/
|
|
1025
1066
|
setRangeStyle: (range: XlsxCellRange, style: XlsxCellStyleInput) => void;
|
|
1067
|
+
setSelectedFormula: (formula: string) => boolean;
|
|
1026
1068
|
setSelectedCellFormula: (formula: string) => void;
|
|
1027
1069
|
/**
|
|
1028
1070
|
* Applies persisted Excel style properties to the active cell.
|
|
@@ -1042,8 +1084,10 @@ interface XlsxViewerTables {
|
|
|
1042
1084
|
interface XlsxViewerImages {
|
|
1043
1085
|
charts: XlsxChart[];
|
|
1044
1086
|
clearSelectedChart: () => void;
|
|
1087
|
+
clearSelectedChartElement: () => void;
|
|
1045
1088
|
clearSelectedImage: () => void;
|
|
1046
1089
|
getChartById: (id: string) => XlsxChart | null;
|
|
1090
|
+
getChartSeriesFormula: (chartId: string, seriesIndex: number) => string;
|
|
1047
1091
|
getSheetCharts: (sheetIndex?: number) => XlsxChart[];
|
|
1048
1092
|
getImageById: (id: string) => XlsxImage | null;
|
|
1049
1093
|
getSheetImages: (sheetIndex?: number) => XlsxImage[];
|
|
@@ -1055,11 +1099,15 @@ interface XlsxViewerImages {
|
|
|
1055
1099
|
resizeChartBy: (id: string, handle: XlsxImageResizeHandlePosition, deltaX: number, deltaY: number) => void;
|
|
1056
1100
|
resizeImageBy: (id: string, handle: XlsxImageResizeHandlePosition, deltaX: number, deltaY: number) => void;
|
|
1057
1101
|
selectedChart: XlsxChart | null;
|
|
1102
|
+
selectedChartElement: XlsxChartElementSelection | null;
|
|
1103
|
+
selectedChartFormula: string | null;
|
|
1058
1104
|
selectedChartId: string | null;
|
|
1059
1105
|
selectedImage: XlsxImage | null;
|
|
1060
1106
|
selectedImageId: string | null;
|
|
1061
1107
|
selectChart: (id: string | null) => void;
|
|
1108
|
+
selectChartElement: (selection: XlsxChartElementSelection | null) => void;
|
|
1062
1109
|
selectImage: (id: string | null) => void;
|
|
1110
|
+
setChartSeriesFormula: (chartId: string, seriesIndex: number, formula: string) => boolean;
|
|
1063
1111
|
setChartRect: (id: string, rect: XlsxImageRect) => void;
|
|
1064
1112
|
setImageRect: (id: string, rect: XlsxImageRect) => void;
|
|
1065
1113
|
updateChart: (id: string, patch: Partial<XlsxChart>) => void;
|
|
@@ -1070,7 +1118,9 @@ interface XlsxViewerCharts {
|
|
|
1070
1118
|
charts: XlsxChart[];
|
|
1071
1119
|
chartsheets: XlsxChartsheet[];
|
|
1072
1120
|
clearSelectedChart: () => void;
|
|
1121
|
+
clearSelectedChartElement: () => void;
|
|
1073
1122
|
getChartById: (id: string) => XlsxChart | null;
|
|
1123
|
+
getChartSeriesFormula: (chartId: string, seriesIndex: number) => string;
|
|
1074
1124
|
getChartsheetById: (id: string) => XlsxChartsheet | null;
|
|
1075
1125
|
getSheetCharts: (sheetIndex?: number) => XlsxChart[];
|
|
1076
1126
|
isChartsLoading: boolean;
|
|
@@ -1079,7 +1129,11 @@ interface XlsxViewerCharts {
|
|
|
1079
1129
|
resizeChartBy: (id: string, handle: XlsxImageResizeHandlePosition, deltaX: number, deltaY: number) => void;
|
|
1080
1130
|
selectChart: (id: string | null) => void;
|
|
1081
1131
|
selectedChart: XlsxChart | null;
|
|
1132
|
+
selectedChartElement: XlsxChartElementSelection | null;
|
|
1133
|
+
selectedChartFormula: string | null;
|
|
1082
1134
|
selectedChartId: string | null;
|
|
1135
|
+
selectChartElement: (selection: XlsxChartElementSelection | null) => void;
|
|
1136
|
+
setChartSeriesFormula: (chartId: string, seriesIndex: number, formula: string) => boolean;
|
|
1083
1137
|
setActiveTabIndex: (index: number) => void;
|
|
1084
1138
|
setChartRect: (id: string, rect: XlsxImageRect) => void;
|
|
1085
1139
|
tabs: XlsxWorkbookTab[];
|
|
@@ -1374,4 +1428,4 @@ declare function useXlsxViewerThumbnails(options?: UseXlsxViewerThumbnailsOption
|
|
|
1374
1428
|
declare function XlsxViewer(props: XlsxViewerProps): react_jsx_runtime.JSX.Element;
|
|
1375
1429
|
declare function DefaultXlsxToolbar(): react_jsx_runtime.JSX.Element;
|
|
1376
1430
|
|
|
1377
|
-
export { DefaultXlsxToolbar, type UseXlsxViewerControllerOptions, type UseXlsxViewerThumbnailsOptions, type XlsxCellAddress, type XlsxCellAlignmentInput, type XlsxCellBorderEdgeInput, type XlsxCellBorderStyleInput, type XlsxCellFillStyleInput, type XlsxCellFontStyleInput, type XlsxCellGradientStopInput, type XlsxCellNumberFormatInput, type XlsxCellProtectionInput, type XlsxCellRange, type XlsxCellStyleColorInput, type XlsxCellStyleContext, type XlsxCellStyleInput, type XlsxChart, type XlsxChartAxis, type XlsxChartDataLabels, type XlsxChartLoadingRenderProps, type XlsxChartReference, type XlsxChartSeries, type XlsxChartsheet, XlsxFileSizeLimitExceededError, type XlsxFileTooLargeRenderProps, type XlsxImage, type XlsxImageAnchor, type XlsxImageRect, type XlsxImageRenderProps, type XlsxImageResizeHandlePosition, type XlsxImageSelectionRenderProps, type XlsxScrollerRenderProps, type XlsxShape, type XlsxShapeFill, type XlsxShapeParagraph, type XlsxShapeStroke, type XlsxShapeTextBox, type XlsxShapeTextRun, type XlsxSheetData, type XlsxSheetThumbnail, type XlsxSheetThumbnailResolution, type XlsxSheetVisibility, type XlsxTable, type XlsxTableColumn, type XlsxTableHeaderMenuRenderProps, type XlsxTableSortDirection, type XlsxTableSortState, type XlsxThemePalette, XlsxViewer, type XlsxViewerCharts, type XlsxViewerController, type XlsxViewerEditing, type XlsxViewerImages, type XlsxViewerProps, XlsxViewerProvider, type XlsxViewerProviderProps, type XlsxViewerSelection, type XlsxViewerTables, type XlsxViewerThumbnails, type XlsxViewerZoom, type XlsxWasmSource, type XlsxWorkbookTab, initWasm, setWasmSource, useXlsxViewer, useXlsxViewerCharts, useXlsxViewerController, useXlsxViewerEditing, useXlsxViewerImages, useXlsxViewerSelection, useXlsxViewerTables, useXlsxViewerThumbnails, useXlsxViewerZoom };
|
|
1431
|
+
export { DefaultXlsxToolbar, type UseXlsxViewerControllerOptions, type UseXlsxViewerThumbnailsOptions, type XlsxCellAddress, type XlsxCellAlignmentInput, type XlsxCellBorderEdgeInput, type XlsxCellBorderStyleInput, type XlsxCellFillStyleInput, type XlsxCellFontStyleInput, type XlsxCellGradientStopInput, type XlsxCellNumberFormatInput, type XlsxCellProtectionInput, type XlsxCellRange, type XlsxCellStyleColorInput, type XlsxCellStyleContext, type XlsxCellStyleInput, type XlsxChart, type XlsxChartAxis, type XlsxChartDataLabels, type XlsxChartElementSelection, type XlsxChartLoadingRenderProps, type XlsxChartReference, type XlsxChartSeries, type XlsxChartsheet, XlsxFileSizeLimitExceededError, type XlsxFileTooLargeRenderProps, type XlsxFormulaTarget, type XlsxImage, type XlsxImageAnchor, type XlsxImageRect, type XlsxImageRenderProps, type XlsxImageResizeHandlePosition, type XlsxImageSelectionRenderProps, type XlsxScrollerRenderProps, type XlsxShape, type XlsxShapeFill, type XlsxShapeParagraph, type XlsxShapeStroke, type XlsxShapeTextBox, type XlsxShapeTextRun, type XlsxSheetData, type XlsxSheetThumbnail, type XlsxSheetThumbnailResolution, type XlsxSheetVisibility, type XlsxTable, type XlsxTableColumn, type XlsxTableHeaderMenuRenderProps, type XlsxTableSortDirection, type XlsxTableSortState, type XlsxThemePalette, XlsxViewer, type XlsxViewerCharts, type XlsxViewerController, type XlsxViewerEditing, type XlsxViewerImages, type XlsxViewerProps, XlsxViewerProvider, type XlsxViewerProviderProps, type XlsxViewerSelection, type XlsxViewerTables, type XlsxViewerThumbnails, type XlsxViewerZoom, type XlsxWasmSource, type XlsxWorkbookTab, initWasm, setWasmSource, useXlsxViewer, useXlsxViewerCharts, useXlsxViewerController, useXlsxViewerEditing, useXlsxViewerImages, useXlsxViewerSelection, useXlsxViewerTables, useXlsxViewerThumbnails, useXlsxViewerZoom };
|
package/dist/index.d.ts
CHANGED
|
@@ -549,6 +549,35 @@ interface XlsxChartSeries {
|
|
|
549
549
|
values: Array<number | null>;
|
|
550
550
|
valuesRef?: XlsxChartReference | null;
|
|
551
551
|
}
|
|
552
|
+
type XlsxChartElementSelection = {
|
|
553
|
+
kind: "chart";
|
|
554
|
+
chartId: string;
|
|
555
|
+
} | {
|
|
556
|
+
kind: "series";
|
|
557
|
+
chartId: string;
|
|
558
|
+
seriesId: string;
|
|
559
|
+
seriesIndex: number;
|
|
560
|
+
} | {
|
|
561
|
+
kind: "point";
|
|
562
|
+
chartId: string;
|
|
563
|
+
seriesId: string;
|
|
564
|
+
seriesIndex: number;
|
|
565
|
+
pointIndex: number;
|
|
566
|
+
} | {
|
|
567
|
+
kind: "legendEntry";
|
|
568
|
+
chartId: string;
|
|
569
|
+
seriesId: string;
|
|
570
|
+
seriesIndex: number;
|
|
571
|
+
};
|
|
572
|
+
type XlsxFormulaTarget = {
|
|
573
|
+
kind: "cell";
|
|
574
|
+
cell: XlsxCellAddress | null;
|
|
575
|
+
} | {
|
|
576
|
+
kind: "chartSeries";
|
|
577
|
+
chartId: string;
|
|
578
|
+
seriesId: string;
|
|
579
|
+
seriesIndex: number;
|
|
580
|
+
} | null;
|
|
552
581
|
interface XlsxChartTypeGroup {
|
|
553
582
|
axisIds?: number[];
|
|
554
583
|
chartType: string;
|
|
@@ -819,8 +848,10 @@ interface XlsxViewerController {
|
|
|
819
848
|
file?: ArrayBuffer;
|
|
820
849
|
fillSelection: (targetRange: XlsxCellRange) => void;
|
|
821
850
|
clearSelectedChart: () => void;
|
|
851
|
+
clearSelectedChartElement: () => void;
|
|
822
852
|
clearSelectedImage: () => void;
|
|
823
853
|
getChartById: (id: string) => XlsxChart | null;
|
|
854
|
+
getChartSeriesFormula: (chartId: string, seriesIndex: number) => string;
|
|
824
855
|
getChartsheetById: (id: string) => XlsxChartsheet | null;
|
|
825
856
|
formControls: XlsxFormControl[];
|
|
826
857
|
getSheetCharts: (sheetIndex?: number) => XlsxChart[];
|
|
@@ -909,14 +940,20 @@ interface XlsxViewerController {
|
|
|
909
940
|
extend?: boolean;
|
|
910
941
|
}) => void;
|
|
911
942
|
selectChart: (id: string | null) => void;
|
|
943
|
+
selectChartElement: (selection: XlsxChartElementSelection | null) => void;
|
|
912
944
|
selectRange: (range: XlsxCellRange) => void;
|
|
913
945
|
selection: XlsxCellRange | null;
|
|
914
946
|
setActiveSheetIndex: (index: number) => void;
|
|
915
947
|
setActiveTabIndex: (index: number) => void;
|
|
916
948
|
selectedChart: XlsxChart | null;
|
|
949
|
+
selectedChartElement: XlsxChartElementSelection | null;
|
|
950
|
+
selectedChartFormula: string | null;
|
|
917
951
|
selectedChartId: string | null;
|
|
952
|
+
selectedCellFormula: string;
|
|
953
|
+
selectedFormulaTarget: XlsxFormulaTarget;
|
|
918
954
|
selectedImage: XlsxImage | null;
|
|
919
955
|
selectedImageId: string | null;
|
|
956
|
+
setSelectedFormula: (formula: string) => boolean;
|
|
920
957
|
setSelectedCellFormula: (formula: string) => void;
|
|
921
958
|
/**
|
|
922
959
|
* Applies persisted Excel style properties to the active cell.
|
|
@@ -933,6 +970,7 @@ interface XlsxViewerController {
|
|
|
933
970
|
src?: string;
|
|
934
971
|
sortState: XlsxTableSortState | null;
|
|
935
972
|
sortTable: (tableName: string, columnIndex: number, direction: XlsxTableSortDirection) => void;
|
|
973
|
+
setChartSeriesFormula: (chartId: string, seriesIndex: number, formula: string) => boolean;
|
|
936
974
|
selectImage: (id: string | null) => void;
|
|
937
975
|
setChartRect: (id: string, rect: XlsxImageRect) => void;
|
|
938
976
|
setImageRect: (id: string, rect: XlsxImageRect) => void;
|
|
@@ -990,7 +1028,10 @@ interface XlsxViewerEditing {
|
|
|
990
1028
|
removeActiveSheet: () => void;
|
|
991
1029
|
readOnly: boolean;
|
|
992
1030
|
redo: () => void;
|
|
1031
|
+
selectedCellFormula: string;
|
|
1032
|
+
selectedChartFormula: string | null;
|
|
993
1033
|
selectedFormula: string;
|
|
1034
|
+
selectedFormulaTarget: XlsxFormulaTarget;
|
|
994
1035
|
selectedValue: string;
|
|
995
1036
|
/**
|
|
996
1037
|
* Sets the formula for a cell in the active worksheet.
|
|
@@ -1023,6 +1064,7 @@ interface XlsxViewerEditing {
|
|
|
1023
1064
|
* @param style Partial Excel style patch to apply to the target range.
|
|
1024
1065
|
*/
|
|
1025
1066
|
setRangeStyle: (range: XlsxCellRange, style: XlsxCellStyleInput) => void;
|
|
1067
|
+
setSelectedFormula: (formula: string) => boolean;
|
|
1026
1068
|
setSelectedCellFormula: (formula: string) => void;
|
|
1027
1069
|
/**
|
|
1028
1070
|
* Applies persisted Excel style properties to the active cell.
|
|
@@ -1042,8 +1084,10 @@ interface XlsxViewerTables {
|
|
|
1042
1084
|
interface XlsxViewerImages {
|
|
1043
1085
|
charts: XlsxChart[];
|
|
1044
1086
|
clearSelectedChart: () => void;
|
|
1087
|
+
clearSelectedChartElement: () => void;
|
|
1045
1088
|
clearSelectedImage: () => void;
|
|
1046
1089
|
getChartById: (id: string) => XlsxChart | null;
|
|
1090
|
+
getChartSeriesFormula: (chartId: string, seriesIndex: number) => string;
|
|
1047
1091
|
getSheetCharts: (sheetIndex?: number) => XlsxChart[];
|
|
1048
1092
|
getImageById: (id: string) => XlsxImage | null;
|
|
1049
1093
|
getSheetImages: (sheetIndex?: number) => XlsxImage[];
|
|
@@ -1055,11 +1099,15 @@ interface XlsxViewerImages {
|
|
|
1055
1099
|
resizeChartBy: (id: string, handle: XlsxImageResizeHandlePosition, deltaX: number, deltaY: number) => void;
|
|
1056
1100
|
resizeImageBy: (id: string, handle: XlsxImageResizeHandlePosition, deltaX: number, deltaY: number) => void;
|
|
1057
1101
|
selectedChart: XlsxChart | null;
|
|
1102
|
+
selectedChartElement: XlsxChartElementSelection | null;
|
|
1103
|
+
selectedChartFormula: string | null;
|
|
1058
1104
|
selectedChartId: string | null;
|
|
1059
1105
|
selectedImage: XlsxImage | null;
|
|
1060
1106
|
selectedImageId: string | null;
|
|
1061
1107
|
selectChart: (id: string | null) => void;
|
|
1108
|
+
selectChartElement: (selection: XlsxChartElementSelection | null) => void;
|
|
1062
1109
|
selectImage: (id: string | null) => void;
|
|
1110
|
+
setChartSeriesFormula: (chartId: string, seriesIndex: number, formula: string) => boolean;
|
|
1063
1111
|
setChartRect: (id: string, rect: XlsxImageRect) => void;
|
|
1064
1112
|
setImageRect: (id: string, rect: XlsxImageRect) => void;
|
|
1065
1113
|
updateChart: (id: string, patch: Partial<XlsxChart>) => void;
|
|
@@ -1070,7 +1118,9 @@ interface XlsxViewerCharts {
|
|
|
1070
1118
|
charts: XlsxChart[];
|
|
1071
1119
|
chartsheets: XlsxChartsheet[];
|
|
1072
1120
|
clearSelectedChart: () => void;
|
|
1121
|
+
clearSelectedChartElement: () => void;
|
|
1073
1122
|
getChartById: (id: string) => XlsxChart | null;
|
|
1123
|
+
getChartSeriesFormula: (chartId: string, seriesIndex: number) => string;
|
|
1074
1124
|
getChartsheetById: (id: string) => XlsxChartsheet | null;
|
|
1075
1125
|
getSheetCharts: (sheetIndex?: number) => XlsxChart[];
|
|
1076
1126
|
isChartsLoading: boolean;
|
|
@@ -1079,7 +1129,11 @@ interface XlsxViewerCharts {
|
|
|
1079
1129
|
resizeChartBy: (id: string, handle: XlsxImageResizeHandlePosition, deltaX: number, deltaY: number) => void;
|
|
1080
1130
|
selectChart: (id: string | null) => void;
|
|
1081
1131
|
selectedChart: XlsxChart | null;
|
|
1132
|
+
selectedChartElement: XlsxChartElementSelection | null;
|
|
1133
|
+
selectedChartFormula: string | null;
|
|
1082
1134
|
selectedChartId: string | null;
|
|
1135
|
+
selectChartElement: (selection: XlsxChartElementSelection | null) => void;
|
|
1136
|
+
setChartSeriesFormula: (chartId: string, seriesIndex: number, formula: string) => boolean;
|
|
1083
1137
|
setActiveTabIndex: (index: number) => void;
|
|
1084
1138
|
setChartRect: (id: string, rect: XlsxImageRect) => void;
|
|
1085
1139
|
tabs: XlsxWorkbookTab[];
|
|
@@ -1374,4 +1428,4 @@ declare function useXlsxViewerThumbnails(options?: UseXlsxViewerThumbnailsOption
|
|
|
1374
1428
|
declare function XlsxViewer(props: XlsxViewerProps): react_jsx_runtime.JSX.Element;
|
|
1375
1429
|
declare function DefaultXlsxToolbar(): react_jsx_runtime.JSX.Element;
|
|
1376
1430
|
|
|
1377
|
-
export { DefaultXlsxToolbar, type UseXlsxViewerControllerOptions, type UseXlsxViewerThumbnailsOptions, type XlsxCellAddress, type XlsxCellAlignmentInput, type XlsxCellBorderEdgeInput, type XlsxCellBorderStyleInput, type XlsxCellFillStyleInput, type XlsxCellFontStyleInput, type XlsxCellGradientStopInput, type XlsxCellNumberFormatInput, type XlsxCellProtectionInput, type XlsxCellRange, type XlsxCellStyleColorInput, type XlsxCellStyleContext, type XlsxCellStyleInput, type XlsxChart, type XlsxChartAxis, type XlsxChartDataLabels, type XlsxChartLoadingRenderProps, type XlsxChartReference, type XlsxChartSeries, type XlsxChartsheet, XlsxFileSizeLimitExceededError, type XlsxFileTooLargeRenderProps, type XlsxImage, type XlsxImageAnchor, type XlsxImageRect, type XlsxImageRenderProps, type XlsxImageResizeHandlePosition, type XlsxImageSelectionRenderProps, type XlsxScrollerRenderProps, type XlsxShape, type XlsxShapeFill, type XlsxShapeParagraph, type XlsxShapeStroke, type XlsxShapeTextBox, type XlsxShapeTextRun, type XlsxSheetData, type XlsxSheetThumbnail, type XlsxSheetThumbnailResolution, type XlsxSheetVisibility, type XlsxTable, type XlsxTableColumn, type XlsxTableHeaderMenuRenderProps, type XlsxTableSortDirection, type XlsxTableSortState, type XlsxThemePalette, XlsxViewer, type XlsxViewerCharts, type XlsxViewerController, type XlsxViewerEditing, type XlsxViewerImages, type XlsxViewerProps, XlsxViewerProvider, type XlsxViewerProviderProps, type XlsxViewerSelection, type XlsxViewerTables, type XlsxViewerThumbnails, type XlsxViewerZoom, type XlsxWasmSource, type XlsxWorkbookTab, initWasm, setWasmSource, useXlsxViewer, useXlsxViewerCharts, useXlsxViewerController, useXlsxViewerEditing, useXlsxViewerImages, useXlsxViewerSelection, useXlsxViewerTables, useXlsxViewerThumbnails, useXlsxViewerZoom };
|
|
1431
|
+
export { DefaultXlsxToolbar, type UseXlsxViewerControllerOptions, type UseXlsxViewerThumbnailsOptions, type XlsxCellAddress, type XlsxCellAlignmentInput, type XlsxCellBorderEdgeInput, type XlsxCellBorderStyleInput, type XlsxCellFillStyleInput, type XlsxCellFontStyleInput, type XlsxCellGradientStopInput, type XlsxCellNumberFormatInput, type XlsxCellProtectionInput, type XlsxCellRange, type XlsxCellStyleColorInput, type XlsxCellStyleContext, type XlsxCellStyleInput, type XlsxChart, type XlsxChartAxis, type XlsxChartDataLabels, type XlsxChartElementSelection, type XlsxChartLoadingRenderProps, type XlsxChartReference, type XlsxChartSeries, type XlsxChartsheet, XlsxFileSizeLimitExceededError, type XlsxFileTooLargeRenderProps, type XlsxFormulaTarget, type XlsxImage, type XlsxImageAnchor, type XlsxImageRect, type XlsxImageRenderProps, type XlsxImageResizeHandlePosition, type XlsxImageSelectionRenderProps, type XlsxScrollerRenderProps, type XlsxShape, type XlsxShapeFill, type XlsxShapeParagraph, type XlsxShapeStroke, type XlsxShapeTextBox, type XlsxShapeTextRun, type XlsxSheetData, type XlsxSheetThumbnail, type XlsxSheetThumbnailResolution, type XlsxSheetVisibility, type XlsxTable, type XlsxTableColumn, type XlsxTableHeaderMenuRenderProps, type XlsxTableSortDirection, type XlsxTableSortState, type XlsxThemePalette, XlsxViewer, type XlsxViewerCharts, type XlsxViewerController, type XlsxViewerEditing, type XlsxViewerImages, type XlsxViewerProps, XlsxViewerProvider, type XlsxViewerProviderProps, type XlsxViewerSelection, type XlsxViewerTables, type XlsxViewerThumbnails, type XlsxViewerZoom, type XlsxWasmSource, type XlsxWorkbookTab, initWasm, setWasmSource, useXlsxViewer, useXlsxViewerCharts, useXlsxViewerController, useXlsxViewerEditing, useXlsxViewerImages, useXlsxViewerSelection, useXlsxViewerTables, useXlsxViewerThumbnails, useXlsxViewerZoom };
|