@rxap/material-table-system 12.4.0 → 12.5.0
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/rxap-material-table-system.umd.js +82 -12
- package/bundles/rxap-material-table-system.umd.js.map +1 -1
- package/esm2015/index.js +1 -0
- package/esm2015/index.js.map +1 -1
- package/esm2015/lib/persistent-paginator.directive.js +60 -0
- package/esm2015/lib/persistent-paginator.directive.js.map +1 -0
- package/esm2015/lib/table-create-button/table-create-button.directive.js +8 -3
- package/esm2015/lib/table-create-button/table-create-button.directive.js.map +1 -1
- package/fesm2015/rxap-material-table-system.js +66 -4
- package/fesm2015/rxap-material-table-system.js.map +1 -1
- package/index.d.ts +1 -0
- package/lib/persistent-paginator.directive.d.ts +22 -0
- package/lib/table-create-button/table-create-button.directive.d.ts +4 -2
- package/package.json +13 -10
package/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from './lib/select-row/tokens';
|
|
|
17
17
|
export * from './lib/row-animation';
|
|
18
18
|
export * from './lib/table-data-source.directive';
|
|
19
19
|
export * from './lib/table-row-metadata';
|
|
20
|
+
export * from './lib/persistent-paginator.directive';
|
|
20
21
|
export * from './lib/table-filter/filter-header-row.directive';
|
|
21
22
|
export * from './lib/table-filter/table-filter.module';
|
|
22
23
|
export * from './lib/table-filter/table-filter.service';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PersistentPaginatorDirective implements OnInit, OnDestroy {
|
|
5
|
+
private readonly matPaginator;
|
|
6
|
+
id?: string;
|
|
7
|
+
constructor(matPaginator: MatPaginator);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
getKey(): string;
|
|
11
|
+
storeConfig(): void;
|
|
12
|
+
restoreConfig(): {
|
|
13
|
+
pageSize: number;
|
|
14
|
+
} | null;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PersistentPaginatorDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PersistentPaginatorDirective, "mat-paginator[rxapPersistent]", never, { "id": "id"; }, {}, never>;
|
|
17
|
+
}
|
|
18
|
+
export declare class PersistentPaginatorDirectiveModule {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PersistentPaginatorDirectiveModule, never>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PersistentPaginatorDirectiveModule, [typeof PersistentPaginatorDirective], never, [typeof PersistentPaginatorDirective]>;
|
|
21
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PersistentPaginatorDirectiveModule>;
|
|
22
|
+
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
1
|
+
import { ElementRef, OnInit, Renderer2, OnDestroy } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { TableDataSourceDirective } from '../table-data-source.directive';
|
|
4
4
|
import { Method } from '@rxap/utilities/rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TableCreateButtonDirective<Data extends Record<string, any>> implements OnInit {
|
|
6
|
+
export declare class TableCreateButtonDirective<Data extends Record<string, any>> implements OnInit, OnDestroy {
|
|
7
7
|
private readonly remoteMethod;
|
|
8
8
|
private readonly elementRef;
|
|
9
9
|
private readonly renderer;
|
|
10
10
|
dataSource: TableDataSourceDirective<Data>;
|
|
11
|
+
private _createObservable?;
|
|
11
12
|
constructor(remoteMethod: Method<any, Data | Observable<Data>>, elementRef: ElementRef, renderer: Renderer2);
|
|
12
13
|
ngOnInit(): void;
|
|
14
|
+
ngOnDestroy(): void;
|
|
13
15
|
onClick(): Promise<void>;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableCreateButtonDirective<any>, never>;
|
|
15
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCreateButtonDirective<any>, "button[rxapTableCreate]", never, { "dataSource": "rxapTableCreate"; }, {}, never>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxap/material-table-system",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.5.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
+
"@angular-devkit/schematics": "^12.2.9",
|
|
5
6
|
"@angular/animations": "^12.0.1",
|
|
6
7
|
"@angular/cdk": "^12.0.1",
|
|
7
8
|
"@angular/common": "^12.0.1",
|
|
@@ -14,17 +15,18 @@
|
|
|
14
15
|
"@angular/router": "^12.0.1",
|
|
15
16
|
"@rxap/components": "^12.0.10",
|
|
16
17
|
"@rxap/config": "^12.3.0",
|
|
17
|
-
"@rxap/data-source": "^12.1.
|
|
18
|
+
"@rxap/data-source": "^12.1.4",
|
|
18
19
|
"@rxap/definition": "^12.0.8",
|
|
19
|
-
"@rxap/directives": "^12.
|
|
20
|
-
"@rxap/forms": "^12.
|
|
20
|
+
"@rxap/directives": "^12.2.0",
|
|
21
|
+
"@rxap/forms": "^12.7.3",
|
|
21
22
|
"@rxap/material-directives": "^12.0.7",
|
|
22
23
|
"@rxap/mixin": "^12.0.7",
|
|
23
|
-
"@rxap/open-api": "^12.
|
|
24
|
+
"@rxap/open-api": "^12.2.3",
|
|
24
25
|
"@rxap/remote-method": "^12.0.9",
|
|
25
|
-
"@rxap/services": "^12.0.
|
|
26
|
-
"@rxap/utilities": "^12.2.
|
|
26
|
+
"@rxap/services": "^12.0.8",
|
|
27
|
+
"@rxap/utilities": "^12.2.2",
|
|
27
28
|
"@rxap/window-system": "^12.0.10",
|
|
29
|
+
"@schematics/angular": "^12.2.9",
|
|
28
30
|
"reflect-metadata": "^0.1.13",
|
|
29
31
|
"rxjs": "^6.5.5"
|
|
30
32
|
},
|
|
@@ -33,6 +35,7 @@
|
|
|
33
35
|
"migrations": "./migration.json",
|
|
34
36
|
"packageGroup": [
|
|
35
37
|
"@rxap/components",
|
|
38
|
+
"@rxap/config",
|
|
36
39
|
"@rxap/data-source",
|
|
37
40
|
"@rxap/definition",
|
|
38
41
|
"@rxap/directives",
|
|
@@ -70,14 +73,14 @@
|
|
|
70
73
|
"save": "dependencies"
|
|
71
74
|
},
|
|
72
75
|
"dependencies": {
|
|
73
|
-
"@rxap/schematics-utilities": "^12.
|
|
76
|
+
"@rxap/schematics-utilities": "^12.7.0",
|
|
74
77
|
"tslib": "^2.2.0",
|
|
75
78
|
"uuid": "8.3.2",
|
|
76
79
|
"@rxap/validator": "0.0.2",
|
|
77
80
|
"openapi-types": "9.0.0",
|
|
78
81
|
"ajv-oai": "^1.2.1",
|
|
79
|
-
"@rxap/schematics-open-api": "^12.0.
|
|
80
|
-
"@rxap/schematics-ts-morph": "^12.3.
|
|
82
|
+
"@rxap/schematics-open-api": "^12.0.9",
|
|
83
|
+
"@rxap/schematics-ts-morph": "^12.3.2"
|
|
81
84
|
},
|
|
82
85
|
"main": "bundles/rxap-material-table-system.umd.js",
|
|
83
86
|
"module": "fesm2015/rxap-material-table-system.js",
|