@universis/ngx-tables 0.8.1 → 0.8.3

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.
@@ -1,9 +1,20 @@
1
1
  import { ActivatedRoute, Router } from '@angular/router';
2
2
  import { AdvancedTableComponent } from './components/advanced-table/advanced-table.component';
3
+ import { BehaviorSubject, Observable } from 'rxjs';
3
4
  export declare class ActivatedTableService {
4
5
  private _router;
5
6
  private _activatedRoute;
6
7
  private _activeTable;
8
+ /**
9
+ * Get the last table that was set as active
10
+ * Note: Emitted value may be null (e.g. reset on route changes)
11
+ */
12
+ readonly lastActiveTable: BehaviorSubject<AdvancedTableComponent | null>;
13
+ /**
14
+ * Omit the last emitted value to observe only new active table changes
15
+ * Note: Emitted value may be null (e.g. reset on route changes)
16
+ */
17
+ readonly nextActiveTable: Observable<AdvancedTableComponent | null>;
7
18
  constructor(_router: Router, _activatedRoute: ActivatedRoute);
8
19
  activeTable: AdvancedTableComponent;
9
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@universis/ngx-tables",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "dependencies": {
5
5
  "datatables": "^1.10.18",
6
6
  "datatables.net": "1.10.24",