@universis/ngx-tables 0.7.4 → 0.7.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/bundles/universis-ngx-tables.umd.js +112 -14
- package/bundles/universis-ngx-tables.umd.js.map +1 -1
- package/bundles/universis-ngx-tables.umd.min.js +1 -1
- package/bundles/universis-ngx-tables.umd.min.js.map +1 -1
- package/esm2015/lib/components/advanced-table/advanced-table.component.js +13 -2
- package/esm2015/lib/directives/advance-search-state.directive.js +29 -9
- package/esm2015/lib/directives/advanced-search-router-state.directive.js +63 -0
- package/esm2015/lib/tables.module.js +6 -3
- package/esm2015/universis-ngx-tables.js +2 -1
- package/esm5/lib/components/advanced-table/advanced-table.component.js +13 -2
- package/esm5/lib/directives/advance-search-state.directive.js +29 -9
- package/esm5/lib/directives/advanced-search-router-state.directive.js +71 -0
- package/esm5/lib/tables.module.js +6 -3
- package/esm5/universis-ngx-tables.js +2 -1
- package/fesm2015/universis-ngx-tables.js +121 -32
- package/fesm2015/universis-ngx-tables.js.map +1 -1
- package/fesm5/universis-ngx-tables.js +127 -32
- package/fesm5/universis-ngx-tables.js.map +1 -1
- package/lib/directives/advance-search-state.directive.d.ts +8 -4
- package/lib/directives/advanced-search-router-state.directive.d.ts +16 -0
- package/package.json +1 -1
- package/universis-ngx-tables.d.ts +1 -0
- package/universis-ngx-tables.metadata.json +1 -1
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
3
|
import { AdvancedTableSearchComponent } from '../components/advanced-table/advanced-table-search.component';
|
|
4
4
|
import { NgxTablesState } from '../reducers';
|
|
5
5
|
export declare class AdvancedTableSearchComponentNotNull extends Error {
|
|
6
6
|
constructor();
|
|
7
7
|
}
|
|
8
|
-
export declare class AdvancedSearchState implements OnInit {
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
export declare class AdvancedSearchState implements OnInit, OnDestroy {
|
|
9
|
+
protected search: AdvancedTableSearchComponent;
|
|
10
|
+
protected store: Store<NgxTablesState>;
|
|
11
11
|
searchState: string;
|
|
12
|
+
private filterChangeSubscription;
|
|
13
|
+
private tableInitSubscription;
|
|
12
14
|
constructor(search: AdvancedTableSearchComponent, store: Store<NgxTablesState>);
|
|
13
15
|
ngOnInit(): void;
|
|
16
|
+
protected applyTableState(): void;
|
|
14
17
|
onTableInit(): void;
|
|
15
18
|
private onSearchFilter;
|
|
19
|
+
ngOnDestroy(): void;
|
|
16
20
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { Router } from "@angular/router";
|
|
3
|
+
import { Store } from "@ngrx/store";
|
|
4
|
+
import { AdvancedTableSearchComponent } from "../components/advanced-table/advanced-table-search.component";
|
|
5
|
+
import { NgxTablesState } from "../reducers";
|
|
6
|
+
import { AdvancedSearchState } from "./advance-search-state.directive";
|
|
7
|
+
export declare class AdvancedSearchRouterState extends AdvancedSearchState implements OnDestroy, OnInit {
|
|
8
|
+
protected search: AdvancedTableSearchComponent;
|
|
9
|
+
protected store: Store<NgxTablesState>;
|
|
10
|
+
private readonly _router;
|
|
11
|
+
private _routerSubscription;
|
|
12
|
+
private _enteringState;
|
|
13
|
+
private _applyState;
|
|
14
|
+
constructor(search: AdvancedTableSearchComponent, store: Store<NgxTablesState>, _router: Router);
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -4,4 +4,5 @@
|
|
|
4
4
|
export * from './public_api';
|
|
5
5
|
export { AdvancedSearchState as ɵa } from './lib/directives/advance-search-state.directive';
|
|
6
6
|
export { AdvancedTableState as ɵc } from './lib/directives/advance-table-state.directive';
|
|
7
|
+
export { AdvancedSearchRouterState as ɵd } from './lib/directives/advanced-search-router-state.directive';
|
|
7
8
|
export { NgxTablesState as ɵb } from './lib/reducers';
|