@extend-ai/react-xlsx 0.20.0 → 0.20.2
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 +1 -0
- package/dist/{chart-renderer-AAVZ34BF.cjs → chart-renderer-3QDNTMRN.cjs} +526 -604
- package/dist/chart-renderer-3QDNTMRN.cjs.map +1 -0
- package/dist/{chart-renderer-RXO7WP4Q.js → chart-renderer-7DTEXXG6.js} +19 -97
- package/dist/chart-renderer-7DTEXXG6.js.map +1 -0
- package/dist/{chart-renderer-KGLAI4DN.js → chart-renderer-F355CYSE.js} +13 -92
- package/dist/chart-renderer-F355CYSE.js.map +1 -0
- package/dist/{chart-renderer-NM5UVCTO.cjs → chart-renderer-LGW4EH4M.cjs} +287 -366
- package/dist/chart-renderer-LGW4EH4M.cjs.map +1 -0
- package/dist/{chunk-WSQDFXDW.js → chunk-3LMOGW6A.js} +22 -6
- package/dist/chunk-3LMOGW6A.js.map +1 -0
- package/dist/chunk-A4S3AMON.js +108 -0
- package/dist/chunk-A4S3AMON.js.map +1 -0
- package/dist/{chunk-T5WZHPIN.cjs → chunk-AD4CGQN2.cjs} +2 -2
- package/dist/{chunk-T5WZHPIN.cjs.map → chunk-AD4CGQN2.cjs.map} +1 -1
- package/dist/chunk-AJT23BDP.js +111 -0
- package/dist/chunk-AJT23BDP.js.map +1 -0
- package/dist/{chunk-CJBI5F6V.cjs → chunk-AZWBTFJI.cjs} +12 -93
- package/dist/chunk-AZWBTFJI.cjs.map +1 -0
- package/dist/{chunk-6K3NSKDJ.cjs → chunk-D2UA4P6N.cjs} +15 -4
- package/dist/chunk-D2UA4P6N.cjs.map +1 -0
- package/dist/{chunk-QN3D3JS2.js → chunk-GXYDJPHM.js} +162 -40
- package/dist/chunk-GXYDJPHM.js.map +1 -0
- package/dist/chunk-IDNIGBUM.cjs +108 -0
- package/dist/chunk-IDNIGBUM.cjs.map +1 -0
- package/dist/{chunk-3JTCYAUX.js → chunk-IYGZTLDY.js} +14 -3
- package/dist/chunk-IYGZTLDY.js.map +1 -0
- package/dist/chunk-M55TBS4X.cjs +111 -0
- package/dist/chunk-M55TBS4X.cjs.map +1 -0
- package/dist/{chunk-MCFUTO4J.cjs → chunk-OCF75R75.cjs} +25 -9
- package/dist/chunk-OCF75R75.cjs.map +1 -0
- package/dist/{chunk-NBH72POD.js → chunk-PUI6QI4U.js} +11 -92
- package/dist/chunk-PUI6QI4U.js.map +1 -0
- package/dist/{chunk-2YBG7XQ3.cjs → chunk-ZJ76CZAL.cjs} +1683 -1561
- package/dist/chunk-ZJ76CZAL.cjs.map +1 -0
- package/dist/index.cjs +626 -529
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +124 -27
- package/dist/index.js.map +1 -1
- package/dist/{internal-DrXSHYJZ.d.cts → internal-BJsg5os3.d.cts} +13 -0
- package/dist/{internal-DrXSHYJZ.d.ts → internal-BJsg5os3.d.ts} +13 -0
- package/dist/internal.cjs +6 -5
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +4 -3
- package/dist/preact-LICENSE.txt +21 -0
- package/dist/region-map-geography-24TXETDP.cjs +184 -0
- package/dist/region-map-geography-24TXETDP.cjs.map +1 -0
- package/dist/region-map-geography-OR6DHAF7.js +182 -0
- package/dist/region-map-geography-OR6DHAF7.js.map +1 -0
- package/dist/shared-chart-3STFRVWT.js +215 -0
- package/dist/shared-chart-3STFRVWT.js.map +1 -0
- package/dist/shared-chart-BFQNYOIQ.js +221 -0
- package/dist/shared-chart-BFQNYOIQ.js.map +1 -0
- package/dist/shared-chart-DVC5S2P6.cjs +222 -0
- package/dist/shared-chart-DVC5S2P6.cjs.map +1 -0
- package/dist/shared-chart-MFQSQG4K.cjs +216 -0
- package/dist/shared-chart-MFQSQG4K.cjs.map +1 -0
- package/dist/{spreadsheet-font-assets-4AHYDTAQ.cjs → spreadsheet-font-assets-6FKCVICP.cjs} +2 -2
- package/dist/{spreadsheet-font-assets-4AHYDTAQ.cjs.map → spreadsheet-font-assets-6FKCVICP.cjs.map} +1 -1
- package/dist/{surface-regl-AY7JZVYY.cjs → surface-regl-BBJ6OIKK.cjs} +15 -13
- package/dist/surface-regl-BBJ6OIKK.cjs.map +1 -0
- package/dist/{surface-regl-TJUWTLAZ.js → surface-regl-R2N54JT2.js} +7 -5
- package/dist/{surface-regl-TJUWTLAZ.js.map → surface-regl-R2N54JT2.js.map} +1 -1
- package/dist/{surface-regl-5Z6IVOID.cjs → surface-regl-SUJ2TFZA.cjs} +2 -2
- package/dist/{surface-regl-5Z6IVOID.cjs.map → surface-regl-SUJ2TFZA.cjs.map} +1 -1
- package/dist/us-atlas-LICENSE.txt +13 -0
- package/dist/vanilla.cjs +6 -5
- package/dist/vanilla.cjs.map +1 -1
- package/dist/vanilla.d.cts +2 -2
- package/dist/vanilla.d.ts +2 -2
- package/dist/vanilla.js +4 -3
- package/dist/world-atlas-LICENSE.txt +13 -0
- package/dist/xlsx-worker.js +82 -1
- package/dist/xlsx-worker.js.map +1 -1
- package/package.json +7 -6
- package/dist/chart-renderer-AAVZ34BF.cjs.map +0 -1
- package/dist/chart-renderer-KGLAI4DN.js.map +0 -1
- package/dist/chart-renderer-NM5UVCTO.cjs.map +0 -1
- package/dist/chart-renderer-RXO7WP4Q.js.map +0 -1
- package/dist/chunk-2YBG7XQ3.cjs.map +0 -1
- package/dist/chunk-3JTCYAUX.js.map +0 -1
- package/dist/chunk-6K3NSKDJ.cjs.map +0 -1
- package/dist/chunk-CJBI5F6V.cjs.map +0 -1
- package/dist/chunk-MCFUTO4J.cjs.map +0 -1
- package/dist/chunk-NBH72POD.js.map +0 -1
- package/dist/chunk-QN3D3JS2.js.map +0 -1
- package/dist/chunk-WSQDFXDW.js.map +0 -1
- package/dist/region-map-geography-6TGXBY3V.cjs +0 -184
- package/dist/region-map-geography-6TGXBY3V.cjs.map +0 -1
- package/dist/region-map-geography-YD54DI3H.js +0 -182
- package/dist/region-map-geography-YD54DI3H.js.map +0 -1
- package/dist/surface-regl-AY7JZVYY.cjs.map +0 -1
|
@@ -781,7 +781,17 @@ interface XlsxChartWall {
|
|
|
781
781
|
lineColor?: string;
|
|
782
782
|
thickness?: number;
|
|
783
783
|
}
|
|
784
|
+
interface XlsxChartRenderSource {
|
|
785
|
+
kind: "bar" | "line";
|
|
786
|
+
xml: string;
|
|
787
|
+
themeColors?: Record<string, string>;
|
|
788
|
+
themeOverrideXml?: string;
|
|
789
|
+
styleXml?: string;
|
|
790
|
+
colorStyleXml?: string;
|
|
791
|
+
}
|
|
784
792
|
interface XlsxChart {
|
|
793
|
+
/** Original chart appearance used with the current workbook values during rendering. */
|
|
794
|
+
renderSource?: XlsxChartRenderSource;
|
|
785
795
|
anchor: XlsxImageAnchor;
|
|
786
796
|
autoTitleDeleted?: boolean;
|
|
787
797
|
axes: XlsxChartAxis[];
|
|
@@ -875,6 +885,8 @@ interface XlsxDrawingLayout {
|
|
|
875
885
|
}
|
|
876
886
|
type XlsxImageResizeHandlePosition = "n" | "s" | "e" | "w" | "ne" | "nw" | "se" | "sw";
|
|
877
887
|
interface UseXlsxViewerControllerOptions {
|
|
888
|
+
/** BCP 47 locale for numeric decimal and grouping separators. Defaults to en-US. */
|
|
889
|
+
locale?: string;
|
|
878
890
|
/**
|
|
879
891
|
* Allows row and column resizing even while editing is disabled by `readOnly`.
|
|
880
892
|
*
|
|
@@ -987,6 +999,7 @@ interface XlsxViewerController {
|
|
|
987
999
|
deferredLoadFileSize: number | null;
|
|
988
1000
|
defineNamedRange: (name: string, range?: XlsxCellRange | null) => void;
|
|
989
1001
|
displayFileName: string;
|
|
1002
|
+
locale: string;
|
|
990
1003
|
download: () => void;
|
|
991
1004
|
charts: XlsxChart[];
|
|
992
1005
|
chartsheets: XlsxChartsheet[];
|
|
@@ -781,7 +781,17 @@ interface XlsxChartWall {
|
|
|
781
781
|
lineColor?: string;
|
|
782
782
|
thickness?: number;
|
|
783
783
|
}
|
|
784
|
+
interface XlsxChartRenderSource {
|
|
785
|
+
kind: "bar" | "line";
|
|
786
|
+
xml: string;
|
|
787
|
+
themeColors?: Record<string, string>;
|
|
788
|
+
themeOverrideXml?: string;
|
|
789
|
+
styleXml?: string;
|
|
790
|
+
colorStyleXml?: string;
|
|
791
|
+
}
|
|
784
792
|
interface XlsxChart {
|
|
793
|
+
/** Original chart appearance used with the current workbook values during rendering. */
|
|
794
|
+
renderSource?: XlsxChartRenderSource;
|
|
785
795
|
anchor: XlsxImageAnchor;
|
|
786
796
|
autoTitleDeleted?: boolean;
|
|
787
797
|
axes: XlsxChartAxis[];
|
|
@@ -875,6 +885,8 @@ interface XlsxDrawingLayout {
|
|
|
875
885
|
}
|
|
876
886
|
type XlsxImageResizeHandlePosition = "n" | "s" | "e" | "w" | "ne" | "nw" | "se" | "sw";
|
|
877
887
|
interface UseXlsxViewerControllerOptions {
|
|
888
|
+
/** BCP 47 locale for numeric decimal and grouping separators. Defaults to en-US. */
|
|
889
|
+
locale?: string;
|
|
878
890
|
/**
|
|
879
891
|
* Allows row and column resizing even while editing is disabled by `readOnly`.
|
|
880
892
|
*
|
|
@@ -987,6 +999,7 @@ interface XlsxViewerController {
|
|
|
987
999
|
deferredLoadFileSize: number | null;
|
|
988
1000
|
defineNamedRange: (name: string, range?: XlsxCellRange | null) => void;
|
|
989
1001
|
displayFileName: string;
|
|
1002
|
+
locale: string;
|
|
990
1003
|
download: () => void;
|
|
991
1004
|
charts: XlsxChart[];
|
|
992
1005
|
chartsheets: XlsxChartsheet[];
|
package/dist/internal.cjs
CHANGED
|
@@ -7,10 +7,11 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
10
|
+
var _chunkZJ76CZALcjs = require('./chunk-ZJ76CZAL.cjs');
|
|
11
|
+
require('./chunk-OCF75R75.cjs');
|
|
12
|
+
require('./chunk-5ERNVHSO.cjs');
|
|
13
|
+
require('./chunk-AZWBTFJI.cjs');
|
|
14
|
+
require('./chunk-AD4CGQN2.cjs');
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
|
|
@@ -20,5 +21,5 @@ require('./chunk-T5WZHPIN.cjs');
|
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
|
|
23
|
-
exports.XlsxFileSizeLimitExceededError =
|
|
24
|
+
exports.XlsxFileSizeLimitExceededError = _chunkZJ76CZALcjs.XlsxFileSizeLimitExceededError; exports.__createContentNode = _chunkZJ76CZALcjs.__createContentNode; exports.__createContentRoot = _chunkZJ76CZALcjs.__createContentRoot; exports.__createControlledViewer = _chunkZJ76CZALcjs.__createControlledViewer; exports.canUseConfiguredWasmSourceInWorker = _chunkZJ76CZALcjs.canUseConfiguredWasmSourceInWorker; exports.formatBinaryBytes = _chunkZJ76CZALcjs.formatBinaryBytes; exports.getConfiguredWorkerWasmSource = _chunkZJ76CZALcjs.getConfiguredWorkerWasmSource; exports.getSheetsWasmModule = _chunkZJ76CZALcjs.getSheetsWasmModule;
|
|
24
25
|
//# sourceMappingURL=internal.cjs.map
|
package/dist/internal.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/react-xlsx/react-xlsx/packages/react-xlsx/dist/internal.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,qnBAAC","file":"/home/runner/work/react-xlsx/react-xlsx/packages/react-xlsx/dist/internal.cjs"}
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/react-xlsx/react-xlsx/packages/react-xlsx/dist/internal.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,qnBAAC","file":"/home/runner/work/react-xlsx/react-xlsx/packages/react-xlsx/dist/internal.cjs"}
|
package/dist/internal.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { aR as WorkerWasmSource, N as XlsxFileSizeLimitExceededError, aS as __createContentNode, aT as __createContentRoot, aU as __createControlledViewer, aV as canUseConfiguredWasmSourceInWorker, aW as formatBinaryBytes, aX as getConfiguredWorkerWasmSource, aY as getSheetsWasmModule } from './internal-
|
|
1
|
+
export { aR as WorkerWasmSource, N as XlsxFileSizeLimitExceededError, aS as __createContentNode, aT as __createContentRoot, aU as __createControlledViewer, aV as canUseConfiguredWasmSourceInWorker, aW as formatBinaryBytes, aX as getConfiguredWorkerWasmSource, aY as getSheetsWasmModule } from './internal-BJsg5os3.cjs';
|
|
2
2
|
import '@dukelib/sheets-wasm';
|
|
3
3
|
import 'csstype';
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { aR as WorkerWasmSource, N as XlsxFileSizeLimitExceededError, aS as __createContentNode, aT as __createContentRoot, aU as __createControlledViewer, aV as canUseConfiguredWasmSourceInWorker, aW as formatBinaryBytes, aX as getConfiguredWorkerWasmSource, aY as getSheetsWasmModule } from './internal-
|
|
1
|
+
export { aR as WorkerWasmSource, N as XlsxFileSizeLimitExceededError, aS as __createContentNode, aT as __createContentRoot, aU as __createControlledViewer, aV as canUseConfiguredWasmSourceInWorker, aW as formatBinaryBytes, aX as getConfiguredWorkerWasmSource, aY as getSheetsWasmModule } from './internal-BJsg5os3.js';
|
|
2
2
|
import '@dukelib/sheets-wasm';
|
|
3
3
|
import 'csstype';
|
package/dist/internal.js
CHANGED
|
@@ -7,9 +7,10 @@ import {
|
|
|
7
7
|
formatBinaryBytes,
|
|
8
8
|
getConfiguredWorkerWasmSource,
|
|
9
9
|
getSheetsWasmModule
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-GXYDJPHM.js";
|
|
11
|
+
import "./chunk-3LMOGW6A.js";
|
|
12
|
+
import "./chunk-VWGKYABF.js";
|
|
13
|
+
import "./chunk-PUI6QI4U.js";
|
|
13
14
|
export {
|
|
14
15
|
XlsxFileSizeLimitExceededError,
|
|
15
16
|
__createContentNode,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015-present Jason Miller
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|