@kanunilabs/pivotgrid 1.6.1 → 1.6.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/dist/index.cjs +3 -3
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +3 -3
- package/dist/pivotgrid.umd.js +11 -11
- package/dist/styles.css +59 -15
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -189,7 +189,7 @@ interface PivotGridVanillaConfig<TRow = unknown> {
|
|
|
189
189
|
striped?: boolean;
|
|
190
190
|
/**
|
|
191
191
|
* Row rhythm: `'compact'` (24px rows, one size smaller type), `'normal'`
|
|
192
|
-
* (28px, the default)
|
|
192
|
+
* (28px, the default), `'comfortable'` (36px) or `'touch'` (45px rows and headers, every target 44px, for a touch screen). Change it later with
|
|
193
193
|
* `setDensity`.
|
|
194
194
|
*/
|
|
195
195
|
density?: PivotDensity;
|
|
@@ -269,6 +269,8 @@ interface PivotGridVanillaConfig<TRow = unknown> {
|
|
|
269
269
|
onBeforePivotCalculate?: () => void;
|
|
270
270
|
onAfterPivotCalculate?: PivotControllerOptions<TRow>['onAfterPivotCalculate'];
|
|
271
271
|
onExporting?: PivotControllerOptions<TRow>['onExporting'];
|
|
272
|
+
/** Before a styled Excel export gives way to the plain .xls one; `false` cancels (B.23). */
|
|
273
|
+
onLargeExport?: PivotControllerOptions<TRow>['onLargeExport'];
|
|
272
274
|
onError?: (error: Error) => void;
|
|
273
275
|
onChartStateLoaded?: PivotControllerOptions<TRow>['onChartStateLoaded'];
|
|
274
276
|
}
|
|
@@ -297,6 +299,11 @@ interface PivotGridApi<TRow = unknown> {
|
|
|
297
299
|
setLocale(locale: PivotLocale, dictionary?: Partial<PivotDictionary>, rtl?: boolean): void;
|
|
298
300
|
/** Switch the row rhythm (`compact` / `normal` / `comfortable`) and repaint. */
|
|
299
301
|
setDensity(density: PivotDensity | undefined): void;
|
|
302
|
+
/** Open or close the field chooser from the app (B.28). */
|
|
303
|
+
openFieldChooser(): void;
|
|
304
|
+
closeFieldChooser(): void;
|
|
305
|
+
/** Every field's filter off in one change; the prefilter stays (B.28). */
|
|
306
|
+
clearAllFilters(): void;
|
|
300
307
|
/** Quick search over the row members; `''` clears it. See `PivotController.setSearchText`. */
|
|
301
308
|
setSearchText(text: string): void;
|
|
302
309
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -189,7 +189,7 @@ interface PivotGridVanillaConfig<TRow = unknown> {
|
|
|
189
189
|
striped?: boolean;
|
|
190
190
|
/**
|
|
191
191
|
* Row rhythm: `'compact'` (24px rows, one size smaller type), `'normal'`
|
|
192
|
-
* (28px, the default)
|
|
192
|
+
* (28px, the default), `'comfortable'` (36px) or `'touch'` (45px rows and headers, every target 44px, for a touch screen). Change it later with
|
|
193
193
|
* `setDensity`.
|
|
194
194
|
*/
|
|
195
195
|
density?: PivotDensity;
|
|
@@ -269,6 +269,8 @@ interface PivotGridVanillaConfig<TRow = unknown> {
|
|
|
269
269
|
onBeforePivotCalculate?: () => void;
|
|
270
270
|
onAfterPivotCalculate?: PivotControllerOptions<TRow>['onAfterPivotCalculate'];
|
|
271
271
|
onExporting?: PivotControllerOptions<TRow>['onExporting'];
|
|
272
|
+
/** Before a styled Excel export gives way to the plain .xls one; `false` cancels (B.23). */
|
|
273
|
+
onLargeExport?: PivotControllerOptions<TRow>['onLargeExport'];
|
|
272
274
|
onError?: (error: Error) => void;
|
|
273
275
|
onChartStateLoaded?: PivotControllerOptions<TRow>['onChartStateLoaded'];
|
|
274
276
|
}
|
|
@@ -297,6 +299,11 @@ interface PivotGridApi<TRow = unknown> {
|
|
|
297
299
|
setLocale(locale: PivotLocale, dictionary?: Partial<PivotDictionary>, rtl?: boolean): void;
|
|
298
300
|
/** Switch the row rhythm (`compact` / `normal` / `comfortable`) and repaint. */
|
|
299
301
|
setDensity(density: PivotDensity | undefined): void;
|
|
302
|
+
/** Open or close the field chooser from the app (B.28). */
|
|
303
|
+
openFieldChooser(): void;
|
|
304
|
+
closeFieldChooser(): void;
|
|
305
|
+
/** Every field's filter off in one change; the prefilter stays (B.28). */
|
|
306
|
+
clearAllFilters(): void;
|
|
300
307
|
/** Quick search over the row members; `''` clears it. See `PivotController.setSearchText`. */
|
|
301
308
|
setSearchText(text: string): void;
|
|
302
309
|
}
|