@extend-ai/react-xlsx 0.18.1 → 0.19.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 +154 -6
- package/dist/chart-renderer-3K2VKB5I.js +5042 -0
- package/dist/chart-renderer-3K2VKB5I.js.map +1 -0
- package/dist/{chart-renderer-ZUWRNNZT.cjs → chart-renderer-HVOEAQXK.cjs} +5 -5
- package/dist/{chart-renderer-ZUWRNNZT.cjs.map → chart-renderer-HVOEAQXK.cjs.map} +1 -1
- package/dist/chart-renderer-LHXMRBGR.cjs +5043 -0
- package/dist/chart-renderer-LHXMRBGR.cjs.map +1 -0
- package/dist/{chart-renderer-HQSQHDCB.js → chart-renderer-R2B4I2HL.js} +2 -2
- package/dist/chunk-3O2QY6LA.js +50 -0
- package/dist/{chunk-OZLJPZUX.js.map → chunk-3O2QY6LA.js.map} +1 -1
- package/dist/chunk-4VX5HTCF.cjs +50 -0
- package/dist/chunk-4VX5HTCF.cjs.map +1 -0
- package/dist/chunk-CJBI5F6V.cjs +816 -0
- package/dist/chunk-CJBI5F6V.cjs.map +1 -0
- package/dist/chunk-NBH72POD.js +816 -0
- package/dist/chunk-NBH72POD.js.map +1 -0
- package/dist/{chunk-OZLJPZUX.js → chunk-O7S3Y6II.js} +10 -6
- package/dist/chunk-O7S3Y6II.js.map +1 -0
- package/dist/{chunk-FO6MIHX4.cjs → chunk-T5WZHPIN.cjs} +2 -2
- package/dist/{chunk-FO6MIHX4.cjs.map → chunk-T5WZHPIN.cjs.map} +1 -1
- package/dist/chunk-TYJLNPNE.cjs +26972 -0
- package/dist/chunk-TYJLNPNE.cjs.map +1 -0
- package/dist/chunk-Y737JKUG.js +26969 -0
- package/dist/chunk-Y737JKUG.js.map +1 -0
- package/dist/{chunk-WFQGZI2Z.cjs → chunk-ZIO47YMT.cjs} +12 -8
- package/dist/chunk-ZIO47YMT.cjs.map +1 -0
- package/dist/index.cjs +588 -11267
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -14
- package/dist/index.d.ts +3 -14
- package/dist/index.js +474 -11153
- package/dist/index.js.map +1 -1
- package/dist/internal-DSz8QMhK.d.cts +1496 -0
- package/dist/internal-DSz8QMhK.d.ts +1496 -0
- package/dist/internal.cjs +24 -0
- package/dist/internal.cjs.map +1 -0
- package/dist/internal.d.cts +3 -0
- package/dist/internal.d.ts +3 -0
- package/dist/internal.js +23 -0
- package/dist/internal.js.map +1 -0
- package/dist/{region-map-geography-5E5SVPGS.cjs → region-map-geography-6TGXBY3V.cjs} +2 -2
- package/dist/{region-map-geography-5E5SVPGS.cjs.map → region-map-geography-6TGXBY3V.cjs.map} +1 -1
- package/dist/{spreadsheet-font-assets-7QMV43XD.cjs → spreadsheet-font-assets-4AHYDTAQ.cjs} +2 -2
- package/dist/{spreadsheet-font-assets-7QMV43XD.cjs.map → spreadsheet-font-assets-4AHYDTAQ.cjs.map} +1 -1
- package/dist/surface-regl-KW4JL325.js +723 -0
- package/dist/surface-regl-KW4JL325.js.map +1 -0
- package/dist/surface-regl-MAPCPD7W.cjs +724 -0
- package/dist/surface-regl-MAPCPD7W.cjs.map +1 -0
- package/dist/{surface-regl-WVLW3SEA.cjs → surface-regl-PWTZWQQS.cjs} +2 -2
- package/dist/{surface-regl-WVLW3SEA.cjs.map → surface-regl-PWTZWQQS.cjs.map} +1 -1
- package/dist/vanilla.cjs +20 -0
- package/dist/vanilla.cjs.map +1 -0
- package/dist/vanilla.d.cts +9 -0
- package/dist/vanilla.d.ts +9 -0
- package/dist/vanilla.js +19 -0
- package/dist/vanilla.js.map +1 -0
- package/dist/xlsx-worker.js +2888 -34
- package/dist/xlsx-worker.js.map +1 -1
- package/package.json +23 -3
- package/dist/chunk-WFQGZI2Z.cjs.map +0 -1
- /package/dist/{chart-renderer-HQSQHDCB.js.map → chart-renderer-R2B4I2HL.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import * as _dukelib_sheets_wasm from '@dukelib/sheets-wasm';
|
|
3
2
|
import { Workbook, Worksheet } from '@dukelib/sheets-wasm';
|
|
3
|
+
export { XlsxFileSizeLimitExceededError, XlsxWasmSource, initWasm, parseXlsxRange, setWasmSource } from '@extend-ai/react-xlsx/vanilla';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
interface XlsxThemePalette {
|
|
@@ -1742,19 +1742,9 @@ interface XlsxViewerProps extends UseXlsxViewerControllerOptions {
|
|
|
1742
1742
|
toolbar?: React.ReactNode | ((controller: XlsxViewerController) => React.ReactNode);
|
|
1743
1743
|
}
|
|
1744
1744
|
|
|
1745
|
-
declare class XlsxFileSizeLimitExceededError extends Error {
|
|
1746
|
-
fileSizeBytes: number;
|
|
1747
|
-
maxFileSizeBytes: number;
|
|
1748
|
-
constructor(fileSizeBytes: number, maxFileSizeBytes: number);
|
|
1749
|
-
}
|
|
1750
1745
|
declare function useXlsxViewerController(options: UseXlsxViewerControllerOptions): XlsxViewerController;
|
|
1751
1746
|
|
|
1752
|
-
|
|
1753
|
-
declare function parseXlsxRange(reference: string): XlsxParsedRange | null;
|
|
1754
|
-
|
|
1755
|
-
type XlsxWasmSource = string | URL | Request | Response | BufferSource | WebAssembly.Module;
|
|
1756
|
-
declare function setWasmSource(source: XlsxWasmSource): void;
|
|
1757
|
-
declare function initWasm(source?: XlsxWasmSource): Promise<typeof _dukelib_sheets_wasm>;
|
|
1747
|
+
declare function XlsxViewer(props: XlsxViewerProps): react_jsx_runtime.JSX.Element;
|
|
1758
1748
|
|
|
1759
1749
|
declare function XlsxViewerProvider({ children, controller, isDark, ...options }: XlsxViewerProviderProps): react_jsx_runtime.JSX.Element;
|
|
1760
1750
|
declare function useXlsxViewer(): XlsxViewerController;
|
|
@@ -1765,7 +1755,6 @@ declare function useXlsxViewerTables(): XlsxViewerTables;
|
|
|
1765
1755
|
declare function useXlsxViewerImages(): XlsxViewerImages;
|
|
1766
1756
|
declare function useXlsxViewerCharts(): XlsxViewerCharts;
|
|
1767
1757
|
declare function useXlsxViewerThumbnails(options?: UseXlsxViewerThumbnailsOptions): XlsxViewerThumbnails;
|
|
1768
|
-
declare function XlsxViewer(props: XlsxViewerProps): react_jsx_runtime.JSX.Element;
|
|
1769
1758
|
declare function DefaultXlsxToolbar(): react_jsx_runtime.JSX.Element;
|
|
1770
1759
|
|
|
1771
|
-
export { DefaultXlsxToolbar, type UseXlsxViewerControllerOptions, type UseXlsxViewerThumbnailsOptions, type XlsxActiveCellOverlayRenderProps, 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, type XlsxContextMenuAction, type XlsxContextMenuActionId, type XlsxContextMenuContext, type XlsxContextMenuRenderProps, type XlsxDrawingLayout,
|
|
1760
|
+
export { DefaultXlsxToolbar, type UseXlsxViewerControllerOptions, type UseXlsxViewerThumbnailsOptions, type XlsxActiveCellOverlayRenderProps, 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, type XlsxContextMenuAction, type XlsxContextMenuActionId, type XlsxContextMenuContext, type XlsxContextMenuRenderProps, type XlsxDrawingLayout, type XlsxFileTooLargeRenderProps, type XlsxFormControl, type XlsxFormControlActionEvent, type XlsxFormControlCaption, type XlsxFormControlCaptionInput, type XlsxFormControlCaptionRun, type XlsxFormControlChangeEvent, type XlsxFormControlInput, type XlsxFormControlKind, type XlsxFormControlKindInput, type XlsxFormControlPatch, type XlsxFormControlRenderProps, type XlsxFormControlSelectionMode, type XlsxFormControlState, type XlsxFormulaTarget, type XlsxHighlightRangeOptions, type XlsxImage, type XlsxImageAnchor, type XlsxImageRect, type XlsxImageRenderProps, type XlsxImageResizeHandlePosition, type XlsxImageSelectionRenderProps, type XlsxMergeMode, type XlsxParsedRange, type XlsxRangeHighlight, 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 XlsxWorkbookTab, useXlsxViewer, useXlsxViewerCharts, useXlsxViewerController, useXlsxViewerEditing, useXlsxViewerImages, useXlsxViewerSelection, useXlsxViewerTables, useXlsxViewerThumbnails, useXlsxViewerZoom };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import * as _dukelib_sheets_wasm from '@dukelib/sheets-wasm';
|
|
3
2
|
import { Workbook, Worksheet } from '@dukelib/sheets-wasm';
|
|
3
|
+
export { XlsxFileSizeLimitExceededError, XlsxWasmSource, initWasm, parseXlsxRange, setWasmSource } from '@extend-ai/react-xlsx/vanilla';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
interface XlsxThemePalette {
|
|
@@ -1742,19 +1742,9 @@ interface XlsxViewerProps extends UseXlsxViewerControllerOptions {
|
|
|
1742
1742
|
toolbar?: React.ReactNode | ((controller: XlsxViewerController) => React.ReactNode);
|
|
1743
1743
|
}
|
|
1744
1744
|
|
|
1745
|
-
declare class XlsxFileSizeLimitExceededError extends Error {
|
|
1746
|
-
fileSizeBytes: number;
|
|
1747
|
-
maxFileSizeBytes: number;
|
|
1748
|
-
constructor(fileSizeBytes: number, maxFileSizeBytes: number);
|
|
1749
|
-
}
|
|
1750
1745
|
declare function useXlsxViewerController(options: UseXlsxViewerControllerOptions): XlsxViewerController;
|
|
1751
1746
|
|
|
1752
|
-
|
|
1753
|
-
declare function parseXlsxRange(reference: string): XlsxParsedRange | null;
|
|
1754
|
-
|
|
1755
|
-
type XlsxWasmSource = string | URL | Request | Response | BufferSource | WebAssembly.Module;
|
|
1756
|
-
declare function setWasmSource(source: XlsxWasmSource): void;
|
|
1757
|
-
declare function initWasm(source?: XlsxWasmSource): Promise<typeof _dukelib_sheets_wasm>;
|
|
1747
|
+
declare function XlsxViewer(props: XlsxViewerProps): react_jsx_runtime.JSX.Element;
|
|
1758
1748
|
|
|
1759
1749
|
declare function XlsxViewerProvider({ children, controller, isDark, ...options }: XlsxViewerProviderProps): react_jsx_runtime.JSX.Element;
|
|
1760
1750
|
declare function useXlsxViewer(): XlsxViewerController;
|
|
@@ -1765,7 +1755,6 @@ declare function useXlsxViewerTables(): XlsxViewerTables;
|
|
|
1765
1755
|
declare function useXlsxViewerImages(): XlsxViewerImages;
|
|
1766
1756
|
declare function useXlsxViewerCharts(): XlsxViewerCharts;
|
|
1767
1757
|
declare function useXlsxViewerThumbnails(options?: UseXlsxViewerThumbnailsOptions): XlsxViewerThumbnails;
|
|
1768
|
-
declare function XlsxViewer(props: XlsxViewerProps): react_jsx_runtime.JSX.Element;
|
|
1769
1758
|
declare function DefaultXlsxToolbar(): react_jsx_runtime.JSX.Element;
|
|
1770
1759
|
|
|
1771
|
-
export { DefaultXlsxToolbar, type UseXlsxViewerControllerOptions, type UseXlsxViewerThumbnailsOptions, type XlsxActiveCellOverlayRenderProps, 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, type XlsxContextMenuAction, type XlsxContextMenuActionId, type XlsxContextMenuContext, type XlsxContextMenuRenderProps, type XlsxDrawingLayout,
|
|
1760
|
+
export { DefaultXlsxToolbar, type UseXlsxViewerControllerOptions, type UseXlsxViewerThumbnailsOptions, type XlsxActiveCellOverlayRenderProps, 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, type XlsxContextMenuAction, type XlsxContextMenuActionId, type XlsxContextMenuContext, type XlsxContextMenuRenderProps, type XlsxDrawingLayout, type XlsxFileTooLargeRenderProps, type XlsxFormControl, type XlsxFormControlActionEvent, type XlsxFormControlCaption, type XlsxFormControlCaptionInput, type XlsxFormControlCaptionRun, type XlsxFormControlChangeEvent, type XlsxFormControlInput, type XlsxFormControlKind, type XlsxFormControlKindInput, type XlsxFormControlPatch, type XlsxFormControlRenderProps, type XlsxFormControlSelectionMode, type XlsxFormControlState, type XlsxFormulaTarget, type XlsxHighlightRangeOptions, type XlsxImage, type XlsxImageAnchor, type XlsxImageRect, type XlsxImageRenderProps, type XlsxImageResizeHandlePosition, type XlsxImageSelectionRenderProps, type XlsxMergeMode, type XlsxParsedRange, type XlsxRangeHighlight, 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 XlsxWorkbookTab, useXlsxViewer, useXlsxViewerCharts, useXlsxViewerController, useXlsxViewerEditing, useXlsxViewerImages, useXlsxViewerSelection, useXlsxViewerTables, useXlsxViewerThumbnails, useXlsxViewerZoom };
|