@rxap/material-table-system 12.4.1-next.1 → 12.5.2

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/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,23 @@
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
+ private _subscription?;
8
+ constructor(matPaginator: MatPaginator);
9
+ ngOnInit(): void;
10
+ ngOnDestroy(): void;
11
+ getKey(): string;
12
+ storeConfig(): void;
13
+ restoreConfig(): {
14
+ pageSize: number;
15
+ } | null;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<PersistentPaginatorDirective, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PersistentPaginatorDirective, "mat-paginator[rxapPersistent]", never, { "id": "id"; }, {}, never>;
18
+ }
19
+ export declare class PersistentPaginatorDirectiveModule {
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<PersistentPaginatorDirectiveModule, never>;
21
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PersistentPaginatorDirectiveModule, [typeof PersistentPaginatorDirective], never, [typeof PersistentPaginatorDirective]>;
22
+ static ɵinj: i0.ɵɵInjectorDeclaration<PersistentPaginatorDirectiveModule>;
23
+ }
@@ -23,6 +23,7 @@ export declare class TableRowActionDirective<Data extends Record<string, any>> {
23
23
  private readonly executingDirective?;
24
24
  private _currentStatus;
25
25
  private readonly actionMethodList;
26
+ private _actionDisabled;
26
27
  constructor(actionMethodList: Array<TableRowActionMethod<Data>> | TableRowActionMethod<Data>, cdr: ChangeDetectorRef, vcr: ViewContainerRef, tableDataSourceDirective: TableDataSourceDirective, snackBar: MatSnackBar, matButton: MatButton | null);
27
28
  onConfirmed(): Promise<void>;
28
29
  onClick($event: Event): Promise<void>;
@@ -40,7 +41,22 @@ export declare class TableRowActionDirective<Data extends Record<string, any>> {
40
41
  * @private
41
42
  */
42
43
  private findTypedActionMethod;
44
+ /**
45
+ * Disables the action. If the button is pressed the action is NOT executed
46
+ *
47
+ * Hint: the button is set to disabled = true to prevent any conflict with
48
+ * extern button enable features linke : rxapHasEnablePermission
49
+ * @protected
50
+ */
43
51
  protected setButtonDisabled(): void;
52
+ /**
53
+ * Enables the action. If the button is pressed the action is executed
54
+ *
55
+ * TODO : find a way to communicate the disabled state between the features
56
+ * Hint: the button is set to disabled = false to prevent any conflict with
57
+ * extern button enable features linke : rxapHasEnablePermission
58
+ * @protected
59
+ */
44
60
  protected setButtonEnabled(): void;
45
61
  private setStatus;
46
62
  static ɵfac: i0.ɵɵFactoryDeclaration<TableRowActionDirective<any>, [null, null, null, null, null, { optional: true; }]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxap/material-table-system",
3
- "version": "12.4.1-next.1",
3
+ "version": "12.5.2",
4
4
  "peerDependencies": {
5
5
  "@angular-devkit/schematics": "^12.2.9",
6
6
  "@angular/animations": "^12.0.1",
@@ -15,17 +15,17 @@
15
15
  "@angular/router": "^12.0.1",
16
16
  "@rxap/components": "^12.0.10",
17
17
  "@rxap/config": "^12.3.0",
18
- "@rxap/data-source": "^12.1.3",
18
+ "@rxap/data-source": "^12.1.4",
19
19
  "@rxap/definition": "^12.0.8",
20
- "@rxap/directives": "^12.2.0-next.0",
21
- "@rxap/forms": "^12.5.1",
20
+ "@rxap/directives": "^12.3.0",
21
+ "@rxap/forms": "^12.7.3",
22
22
  "@rxap/material-directives": "^12.0.7",
23
23
  "@rxap/mixin": "^12.0.7",
24
- "@rxap/open-api": "^12.1.1",
24
+ "@rxap/open-api": "^12.2.5",
25
25
  "@rxap/remote-method": "^12.0.9",
26
- "@rxap/services": "^12.0.8-next.0",
27
- "@rxap/utilities": "^12.2.2-next.0",
28
- "@rxap/window-system": "^12.0.10",
26
+ "@rxap/services": "^12.0.8",
27
+ "@rxap/utilities": "^12.2.2",
28
+ "@rxap/window-system": "^12.1.0",
29
29
  "@schematics/angular": "^12.2.9",
30
30
  "reflect-metadata": "^0.1.13",
31
31
  "rxjs": "^6.5.5"
@@ -73,7 +73,7 @@
73
73
  "save": "dependencies"
74
74
  },
75
75
  "dependencies": {
76
- "@rxap/schematics-utilities": "^12.6.1",
76
+ "@rxap/schematics-utilities": "^12.7.0",
77
77
  "tslib": "^2.2.0",
78
78
  "uuid": "8.3.2",
79
79
  "@rxap/validator": "0.0.2",