@limetech/lime-elements 39.33.0 → 39.33.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/CHANGELOG.md +14 -0
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +6 -0
- package/dist/cjs/limel-table.cjs.entry.js +22 -3
- package/dist/collection/components/table/table.js +22 -3
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +6 -0
- package/dist/esm/limel-prosemirror-adapter.entry.js +6 -0
- package/dist/esm/limel-table.entry.js +22 -3
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-54090121.entry.js → p-16254e4a.entry.js} +1 -1
- package/dist/lime-elements/{p-9f4f1854.entry.js → p-444e571b.entry.js} +1 -1
- package/dist/types/components/table/table.d.ts +15 -0
- package/package.json +1 -1
|
@@ -237,6 +237,21 @@ export declare class Table {
|
|
|
237
237
|
private formatRow;
|
|
238
238
|
private isActiveRow;
|
|
239
239
|
private calculatePageCount;
|
|
240
|
+
/**
|
|
241
|
+
* Whether any of `columns` shows an aggregation — either because the column
|
|
242
|
+
* carries its own `aggregator`, or because its field has a matching entry in
|
|
243
|
+
* `aggregates`.
|
|
244
|
+
*
|
|
245
|
+
* Deriving from `aggregates` (the source of truth) rather than only from the
|
|
246
|
+
* `aggregator` that `addColumnAggregator` mutates onto the column keeps this
|
|
247
|
+
* correct even when the table is re-fed equivalent columns and aggregates
|
|
248
|
+
* without that mutation being re-applied — e.g. when only the aggregate
|
|
249
|
+
* values change, `updateAggregates` recalculates without re-running
|
|
250
|
+
* `getColumnDefinitions`.
|
|
251
|
+
*
|
|
252
|
+
* @param columns - the column definitions to inspect.
|
|
253
|
+
* @returns whether at least one column shows an aggregation.
|
|
254
|
+
*/
|
|
240
255
|
private hasAggregation;
|
|
241
256
|
private readonly getColumnOptions;
|
|
242
257
|
private readonly getRowDragOptions;
|