@3kles/kles-material-table-v2 22.1.1 → 22.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3kles/kles-material-table-v2",
3
- "version": "22.1.1",
3
+ "version": "22.1.2",
4
4
  "keywords": [
5
5
  "3KLES"
6
6
  ],
@@ -355,6 +355,9 @@ declare class KlesTableIntl {
355
355
  emptyStateDescription: string;
356
356
  emptyStateRefreshLabel: string;
357
357
  keyboardNavigationEntryLabel: string;
358
+ expandRowLabel: string;
359
+ collapseRowLabel: string;
360
+ moveRowLabel: string;
358
361
  static ɵfac: i0.ɵɵFactoryDeclaration<KlesTableIntl, never>;
359
362
  static ɵprov: i0.ɵɵInjectableDeclaration<KlesTableIntl>;
360
363
  }
@@ -487,6 +490,7 @@ interface ExtraRowConfig {
487
490
  mode?: ExtraRowMode;
488
491
  /** Controls whether the content uses the full table width or only the visible scroll viewport. Defaults to `table`. */
489
492
  width?: ExtraRowWidth;
493
+ /** Row eligibility; in expand mode it also controls whether the row can be unfolded. */
490
494
  when?: (index: number, rowData: FormGroup) => boolean;
491
495
  }
492
496
  interface ExtraRow {
@@ -1291,6 +1295,7 @@ declare class ExtraRowService {
1291
1295
  })[]>;
1292
1296
  constructor(_extraRowsConfig: WritableSignal<ExtraRowConfig[]>, expandedRowStore: ExpandedRowStore);
1293
1297
  extraFields(): IKlesFieldConfig[];
1298
+ canExpand(index: number, row: FormGroup): boolean;
1294
1299
  private createWhen;
1295
1300
  static ɵfac: i0.ɵɵFactoryDeclaration<ExtraRowService, never>;
1296
1301
  static ɵprov: i0.ɵɵInjectableDeclaration<ExtraRowService>;