@canvas-components/react-xlsx-table 0.1.14 → 0.1.16
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/dist/index.d.cts +3 -4
- package/dist/index.d.ts +3 -4
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { XlsxCommandId, WorkBook, XlsxDocumentStamp, XlsxSelectionState, XlsxCommandState, XlsxCellStyle, XlsxCellType, XlsxTableExportFormat, XlsxCellBorderPreset, XlsxCellBorderLine, XlsxTableOptions, XlsxFeatureOptions, XlsxCleaningWorkerFactory, XlsxTable, XlsxTableExportOptions, XlsxFormulaDependencyDebugSnapshot, XlsxNamedRange, XlsxFormulaBarState, CreateSheetOptions, DuplicateSheetOptions, XlsxRemoteSelection, XlsxFrozenPane, XlsxSortDirection, XlsxHeaderActionType, XlsxFilterOptionItem, XlsxFilterValue, XlsxFilterOptionValue, XlsxFilterCondition, XlsxFilterConditionRelation, XlsxEditorRequest, XlsxContextMenuRequest, WorkSheet } from '@canvas-components/xlsx-table';
|
|
1
|
+
import { XlsxCommandId, WorkBook, XlsxDocumentStamp, XlsxSelectionState, XlsxContextMenuRequest, XlsxCommandState, XlsxCellStyle, XlsxCellType, XlsxTableExportFormat, XlsxCellBorderPreset, XlsxCellBorderLine, XlsxTableOptions, XlsxFeatureOptions, XlsxCleaningWorkerFactory, XlsxTable, XlsxTableExportOptions, XlsxFormulaDependencyDebugSnapshot, XlsxNamedRange, XlsxFormulaBarState, CreateSheetOptions, DuplicateSheetOptions, XlsxRemoteSelection, XlsxFrozenPane, XlsxSortDirection, XlsxHeaderActionType, XlsxFilterOptionItem, XlsxFilterValue, XlsxFilterOptionValue, XlsxFilterCondition, XlsxFilterConditionRelation, XlsxEditorRequest, WorkSheet } from '@canvas-components/xlsx-table';
|
|
3
2
|
export { CellObject, CreateSheetOptions, WorkBook, WorkSheet, XlsxCellAddress, XlsxCellRange, XlsxCleaningPlan, XlsxCleaningRequest, XlsxCleaningWorkerFactory, XlsxCommandDefinition, XlsxCommandId, XlsxCommandState, XlsxEditorRequest, XlsxFeatureOptions, XlsxFormulaBarState, XlsxFormulaDependencyDebugSnapshot, XlsxNamedRange, XlsxPrintOptions, XlsxPrintPlan, XlsxRemoteSelection, XlsxSearchQuery, XlsxSearchSnapshot, XlsxSelectionState, XlsxTableExportFormat, XlsxTableExportOptions, XlsxTableOptions, XlsxTableTheme } from '@canvas-components/xlsx-table';
|
|
4
3
|
import * as react from 'react';
|
|
5
4
|
import { CSSProperties, ForwardedRef } from 'react';
|
|
@@ -14,7 +13,7 @@ interface XlsxHostCommandContext {
|
|
|
14
13
|
isCurrent(): boolean;
|
|
15
14
|
invocation?: {
|
|
16
15
|
source: "context-menu";
|
|
17
|
-
target:
|
|
16
|
+
target: XlsxContextMenuRequest["target"];
|
|
18
17
|
};
|
|
19
18
|
}
|
|
20
19
|
type XlsxCommandHandler = (context: XlsxHostCommandContext) => void | Promise<void>;
|
|
@@ -164,7 +163,7 @@ interface ReactXlsxTableRef {
|
|
|
164
163
|
autoFitRows: XlsxTable["autoFitRows"];
|
|
165
164
|
autoFitColumns: XlsxTable["autoFitColumns"];
|
|
166
165
|
executeCommand(action: string): Promise<boolean>;
|
|
167
|
-
getCommandState(action: string):
|
|
166
|
+
getCommandState(action: string): XlsxCommandState;
|
|
168
167
|
adjustSelectionDecimals: XlsxTable["adjustSelectionDecimals"];
|
|
169
168
|
search: XlsxTable["search"];
|
|
170
169
|
navigateSearchMatch: XlsxTable["navigateSearchMatch"];
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { XlsxCommandId, WorkBook, XlsxDocumentStamp, XlsxSelectionState, XlsxCommandState, XlsxCellStyle, XlsxCellType, XlsxTableExportFormat, XlsxCellBorderPreset, XlsxCellBorderLine, XlsxTableOptions, XlsxFeatureOptions, XlsxCleaningWorkerFactory, XlsxTable, XlsxTableExportOptions, XlsxFormulaDependencyDebugSnapshot, XlsxNamedRange, XlsxFormulaBarState, CreateSheetOptions, DuplicateSheetOptions, XlsxRemoteSelection, XlsxFrozenPane, XlsxSortDirection, XlsxHeaderActionType, XlsxFilterOptionItem, XlsxFilterValue, XlsxFilterOptionValue, XlsxFilterCondition, XlsxFilterConditionRelation, XlsxEditorRequest, XlsxContextMenuRequest, WorkSheet } from '@canvas-components/xlsx-table';
|
|
1
|
+
import { XlsxCommandId, WorkBook, XlsxDocumentStamp, XlsxSelectionState, XlsxContextMenuRequest, XlsxCommandState, XlsxCellStyle, XlsxCellType, XlsxTableExportFormat, XlsxCellBorderPreset, XlsxCellBorderLine, XlsxTableOptions, XlsxFeatureOptions, XlsxCleaningWorkerFactory, XlsxTable, XlsxTableExportOptions, XlsxFormulaDependencyDebugSnapshot, XlsxNamedRange, XlsxFormulaBarState, CreateSheetOptions, DuplicateSheetOptions, XlsxRemoteSelection, XlsxFrozenPane, XlsxSortDirection, XlsxHeaderActionType, XlsxFilterOptionItem, XlsxFilterValue, XlsxFilterOptionValue, XlsxFilterCondition, XlsxFilterConditionRelation, XlsxEditorRequest, WorkSheet } from '@canvas-components/xlsx-table';
|
|
3
2
|
export { CellObject, CreateSheetOptions, WorkBook, WorkSheet, XlsxCellAddress, XlsxCellRange, XlsxCleaningPlan, XlsxCleaningRequest, XlsxCleaningWorkerFactory, XlsxCommandDefinition, XlsxCommandId, XlsxCommandState, XlsxEditorRequest, XlsxFeatureOptions, XlsxFormulaBarState, XlsxFormulaDependencyDebugSnapshot, XlsxNamedRange, XlsxPrintOptions, XlsxPrintPlan, XlsxRemoteSelection, XlsxSearchQuery, XlsxSearchSnapshot, XlsxSelectionState, XlsxTableExportFormat, XlsxTableExportOptions, XlsxTableOptions, XlsxTableTheme } from '@canvas-components/xlsx-table';
|
|
4
3
|
import * as react from 'react';
|
|
5
4
|
import { CSSProperties, ForwardedRef } from 'react';
|
|
@@ -14,7 +13,7 @@ interface XlsxHostCommandContext {
|
|
|
14
13
|
isCurrent(): boolean;
|
|
15
14
|
invocation?: {
|
|
16
15
|
source: "context-menu";
|
|
17
|
-
target:
|
|
16
|
+
target: XlsxContextMenuRequest["target"];
|
|
18
17
|
};
|
|
19
18
|
}
|
|
20
19
|
type XlsxCommandHandler = (context: XlsxHostCommandContext) => void | Promise<void>;
|
|
@@ -164,7 +163,7 @@ interface ReactXlsxTableRef {
|
|
|
164
163
|
autoFitRows: XlsxTable["autoFitRows"];
|
|
165
164
|
autoFitColumns: XlsxTable["autoFitColumns"];
|
|
166
165
|
executeCommand(action: string): Promise<boolean>;
|
|
167
|
-
getCommandState(action: string):
|
|
166
|
+
getCommandState(action: string): XlsxCommandState;
|
|
168
167
|
adjustSelectionDecimals: XlsxTable["adjustSelectionDecimals"];
|
|
169
168
|
search: XlsxTable["search"];
|
|
170
169
|
navigateSearchMatch: XlsxTable["navigateSearchMatch"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canvas-components/react-xlsx-table",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "React adapter for the canvas xlsx-table core.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"pnpm": ">=9.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@canvas-components/react-components": "0.3.
|
|
32
|
-
"@canvas-components/xlsx-table": "0.1.
|
|
31
|
+
"@canvas-components/react-components": "0.3.33",
|
|
32
|
+
"@canvas-components/xlsx-table": "0.1.7"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"react": ">=16.8.0",
|