@masterteam/data-table 0.0.5 → 0.0.7

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": "@masterteam/data-table",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "Masterteam entity-aware tables and portal renderer for the independent data grid.",
5
5
  "publishConfig": {
6
6
  "directory": "../../../dist/masterteam/data-table",
@@ -13,10 +13,10 @@
13
13
  "@angular/core": "^21.2.8",
14
14
  "@angular/forms": "^21.2.8",
15
15
  "@jsverse/transloco": "^8.3.0",
16
+ "@masterteam/data-grid": "^0.0.5",
16
17
  "primeng": "21.1.5",
17
- "@masterteam/components": "^0.0.335",
18
- "@masterteam/icons": "^0.0.17",
19
- "@masterteam/data-grid": "^0.0.4"
18
+ "@masterteam/components": "^0.0.338",
19
+ "@masterteam/icons": "^0.0.17"
20
20
  },
21
21
  "dependencies": {
22
22
  "tslib": "^2.8.1"
@@ -91,6 +91,11 @@ type MtTableTextKey = keyof typeof TEXT;
91
91
  declare class MtTableText {
92
92
  private readonly transloco;
93
93
  readonly language: Signal<string>;
94
+ /**
95
+ * Delivered on the microtask queue: a translation can load synchronously while a template
96
+ * renders (a `transloco` pipe asking for it, e.g. the standard grid's Export / Print
97
+ * buttons), and writing this signal during render throws NG0600.
98
+ */
94
99
  private readonly translationEvents;
95
100
  readonly gridLocale: Signal<Readonly<Record<string, string>>>;
96
101
  text(key: MtTableTextKey): string;
@@ -247,7 +252,6 @@ declare class MtStandardGridComponent<T extends object> {
247
252
  processCellCallback: (params: _masterteam_data_grid.MtExportCellParams<T>) => unknown;
248
253
  }>;
249
254
  protected readonly gridPageSize: _angular_core.Signal<number>;
250
- protected readonly gridStatusBar: _angular_core.Signal<MtStatusBarOptions>;
251
255
  protected readonly excelButton: _angular_core.Signal<boolean>;
252
256
  protected readonly printButton: _angular_core.Signal<boolean>;
253
257
  /** The page's row classes plus the pointer cursor on clickable rows. */
@@ -262,11 +266,15 @@ declare class MtStandardGridComponent<T extends object> {
262
266
  protected readonly chartTitle: _angular_core.Signal<string>;
263
267
  protected readonly csvAllowed: _angular_core.Signal<boolean>;
264
268
  protected readonly excelAllowed: _angular_core.Signal<boolean>;
269
+ protected readonly statusBar: MtStatusBarOptions;
265
270
  protected readonly pageSizes: readonly number[];
266
271
  protected readonly fit: {
267
272
  readonly type: "fitGridWidth";
268
273
  };
269
274
  private api;
275
+ private readonly grid;
276
+ /** The grid's api: from gridReady, else straight from the grid (a click can come first). */
277
+ private gridApi;
270
278
  private readonly identities;
271
279
  private nextIdentity;
272
280
  private identity;