@kanunilabs/pivotgrid 1.6.9 → 1.6.10
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.cjs +2 -3
- package/dist/index.d.cts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +2 -3
- package/dist/pivotgrid.umd.js +9 -9
- package/dist/styles.css +56 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as _kanunilabs_pivotgrid_core from '@kanunilabs/pivotgrid-core';
|
|
1
2
|
import { PivotField, PivotCell, PivotEngineResult, PivotControllerOptions, PivotLayoutState, PivotTheme, PivotDensity, PivotColumnWidthDefaults, PivotLocale, PivotDictionary, PivotStateStoringConfig, PivotToolbarConfig, PivotController, PivotRowTransaction, PivotTransactionResult } from '@kanunilabs/pivotgrid-core';
|
|
2
|
-
export { ExportFormat, ExportOptions, FilterCondition, FilterGroup, FilterOperator, PivotArea, PivotController, PivotControllerOptions, PivotControllerState, PivotDictionary, PivotEngineResult, PivotField, PivotGroupInterval, PivotLabelFilter, PivotLayoutState, PivotLocale, PivotPrefilter, PivotRowKey, PivotRowKeyResolver, PivotRowTransaction, PivotStateStoringConfig, PivotSummaryDisplayMode, PivotSummaryType, PivotTheme, PivotToolbarConfig, PivotTransactionResult, PivotValueFilter, defaultPivotLayout, getAdvancedExporter, registerAdvancedExporter } from '@kanunilabs/pivotgrid-core';
|
|
3
|
+
export { ExportFormat, ExportOptions, FilterCondition, FilterGroup, FilterOperator, PivotArea, PivotController, PivotControllerOptions, PivotControllerState, PivotDictionary, PivotEngineResult, PivotField, PivotGroupInterval, PivotLabelFilter, PivotLayoutState, PivotLocale, PivotPrefilter, PivotRowKey, PivotRowKeyResolver, PivotRowTransaction, PivotStateStoringConfig, PivotSummaryDisplayMode, PivotSummaryType, PivotTheme, PivotToolbarConfig, PivotTransactionResult, PivotValueFilter, PivotVirtualizationOptions, defaultPivotLayout, getAdvancedExporter, registerAdvancedExporter } from '@kanunilabs/pivotgrid-core';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* A themed portal host: carries the grid root's classes, inline theme vars,
|
|
@@ -270,6 +271,18 @@ interface PivotGridVanillaConfig<TRow = unknown> {
|
|
|
270
271
|
onGlobalContextMenu?: (x: number, y: number) => void;
|
|
271
272
|
/** Per-cell hook before a data/header cell hits the DOM — mutate `cellConfig`. */
|
|
272
273
|
onCellPrepared?: (e: VanillaCellPreparedEvent) => void;
|
|
274
|
+
/**
|
|
275
|
+
* Ctrl/Cmd+C copied the selected cells (B.99): the tab-separated `text`, the same cells as an `html` table, and the
|
|
276
|
+
* size. The copy goes through the browser's own copy event, so it works on a plain-HTTP page too.
|
|
277
|
+
*/
|
|
278
|
+
onCopy?: (event: _kanunilabs_pivotgrid_core.PivotCopyInfo) => void;
|
|
279
|
+
/**
|
|
280
|
+
* A Ctrl/Cmd+C did not reach the clipboard (B.99): `reason` is `'insecure-context'`, `'permission-denied'`,
|
|
281
|
+
* `'empty-selection'` (the focus was in the grid with nothing selected) or `'unsupported'`. The grid shows nothing.
|
|
282
|
+
*/
|
|
283
|
+
onCopyError?: (error: _kanunilabs_pivotgrid_core.PivotCopyError, info: {
|
|
284
|
+
reason: _kanunilabs_pivotgrid_core.PivotCopyErrorReason;
|
|
285
|
+
}) => void;
|
|
273
286
|
/**
|
|
274
287
|
* Extra items appended to a field's context menu (the React
|
|
275
288
|
* `customContextMenuItems` prop). The React `icon` is a ReactNode; here it
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as _kanunilabs_pivotgrid_core from '@kanunilabs/pivotgrid-core';
|
|
1
2
|
import { PivotField, PivotCell, PivotEngineResult, PivotControllerOptions, PivotLayoutState, PivotTheme, PivotDensity, PivotColumnWidthDefaults, PivotLocale, PivotDictionary, PivotStateStoringConfig, PivotToolbarConfig, PivotController, PivotRowTransaction, PivotTransactionResult } from '@kanunilabs/pivotgrid-core';
|
|
2
|
-
export { ExportFormat, ExportOptions, FilterCondition, FilterGroup, FilterOperator, PivotArea, PivotController, PivotControllerOptions, PivotControllerState, PivotDictionary, PivotEngineResult, PivotField, PivotGroupInterval, PivotLabelFilter, PivotLayoutState, PivotLocale, PivotPrefilter, PivotRowKey, PivotRowKeyResolver, PivotRowTransaction, PivotStateStoringConfig, PivotSummaryDisplayMode, PivotSummaryType, PivotTheme, PivotToolbarConfig, PivotTransactionResult, PivotValueFilter, defaultPivotLayout, getAdvancedExporter, registerAdvancedExporter } from '@kanunilabs/pivotgrid-core';
|
|
3
|
+
export { ExportFormat, ExportOptions, FilterCondition, FilterGroup, FilterOperator, PivotArea, PivotController, PivotControllerOptions, PivotControllerState, PivotDictionary, PivotEngineResult, PivotField, PivotGroupInterval, PivotLabelFilter, PivotLayoutState, PivotLocale, PivotPrefilter, PivotRowKey, PivotRowKeyResolver, PivotRowTransaction, PivotStateStoringConfig, PivotSummaryDisplayMode, PivotSummaryType, PivotTheme, PivotToolbarConfig, PivotTransactionResult, PivotValueFilter, PivotVirtualizationOptions, defaultPivotLayout, getAdvancedExporter, registerAdvancedExporter } from '@kanunilabs/pivotgrid-core';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* A themed portal host: carries the grid root's classes, inline theme vars,
|
|
@@ -270,6 +271,18 @@ interface PivotGridVanillaConfig<TRow = unknown> {
|
|
|
270
271
|
onGlobalContextMenu?: (x: number, y: number) => void;
|
|
271
272
|
/** Per-cell hook before a data/header cell hits the DOM — mutate `cellConfig`. */
|
|
272
273
|
onCellPrepared?: (e: VanillaCellPreparedEvent) => void;
|
|
274
|
+
/**
|
|
275
|
+
* Ctrl/Cmd+C copied the selected cells (B.99): the tab-separated `text`, the same cells as an `html` table, and the
|
|
276
|
+
* size. The copy goes through the browser's own copy event, so it works on a plain-HTTP page too.
|
|
277
|
+
*/
|
|
278
|
+
onCopy?: (event: _kanunilabs_pivotgrid_core.PivotCopyInfo) => void;
|
|
279
|
+
/**
|
|
280
|
+
* A Ctrl/Cmd+C did not reach the clipboard (B.99): `reason` is `'insecure-context'`, `'permission-denied'`,
|
|
281
|
+
* `'empty-selection'` (the focus was in the grid with nothing selected) or `'unsupported'`. The grid shows nothing.
|
|
282
|
+
*/
|
|
283
|
+
onCopyError?: (error: _kanunilabs_pivotgrid_core.PivotCopyError, info: {
|
|
284
|
+
reason: _kanunilabs_pivotgrid_core.PivotCopyErrorReason;
|
|
285
|
+
}) => void;
|
|
273
286
|
/**
|
|
274
287
|
* Extra items appended to a field's context menu (the React
|
|
275
288
|
* `customContextMenuItems` prop). The React `icon` is a ReactNode; here it
|