@truenas/ui-components 0.7.11 → 0.7.12

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": "@truenas/ui-components",
3
- "version": "0.7.11",
3
+ "version": "0.7.12",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org",
6
6
  "access": "public"
@@ -10346,6 +10346,13 @@ declare class TnTableComponent<T = unknown> implements OnInit {
10346
10346
  * the next reconcile.
10347
10347
  */
10348
10348
  clearSelection(): void;
10349
+ /**
10350
+ * Drops the selection state and tells nobody. Only teardown wants this: by the time
10351
+ * the `onDestroy` hook runs, `selectionChange` is an `OutputRef` Angular has already
10352
+ * destroyed, and emitting on it warns NG0953 in dev mode. Every live path wants
10353
+ * {@link clearSelection}, because a consumer mirroring the selection has to hear it.
10354
+ */
10355
+ private resetSelectionState;
10349
10356
  /** Re-applies the retained selection to the rows currently on screen. */
10350
10357
  private syncSelectionToData;
10351
10358
  /** What `selectionChange` carries: the whole selection when keyed, the page's otherwise. */