monkey-front-core 0.0.160 → 0.0.163

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.
@@ -17,4 +17,7 @@ export interface MonkeyEcxPaginationOptions {
17
17
  mainElement?: string;
18
18
  service: MonkeyEcxCommonsService;
19
19
  }
20
+ export interface MonkeyEcxPaginationv2Options {
21
+ service: MonkeyEcxCommonsService;
22
+ }
20
23
  export {};
@@ -7,6 +7,7 @@ import { MonkeyEcxRequestScheduleService } from '../schedules/monkeyecx-request-
7
7
  import { MonkeyEcxRequestQueueHandlingService } from '../request-queue/monkeyecx-request-queue-handling.service';
8
8
  import { MonkeyEcxFeatureToggleService } from '../config/monkeyecx-feature-toggle.service';
9
9
  import { MonkeyEcxService } from '../monkeyecx-service.service';
10
+ import { MonkeyEcxPaginationService } from '../pagination';
10
11
  export declare class MonkeyEcxCommonsService {
11
12
  monkeyecxService?: MonkeyEcxService | undefined;
12
13
  tokenStorage?: MonkeyEcxTokenStorageService | undefined;
@@ -65,6 +66,7 @@ export declare class MonkeyEcxCommonsService {
65
66
  private allowedSecurityAccessByCountry;
66
67
  private allowedSecurityAccess;
67
68
  private navigateToErrorPage;
69
+ private handlePaginationOptions;
68
70
  setPage(requestPaged: MonkeyEcxRequestPaged): this;
69
71
  nextPage(): boolean;
70
72
  getEmbeddedData(data: any, field: string): any[] | any;
@@ -90,11 +92,16 @@ export declare class MonkeyEcxCommonsService {
90
92
  };
91
93
  type: string;
92
94
  };
95
+ paginationOptions?: {
96
+ service: MonkeyEcxPaginationService;
97
+ callback: Function;
98
+ };
93
99
  }): void;
94
100
  getHTTPHeaderApplicationPDF(): Object;
95
101
  genericMethod(link: any, data?: any, callback?: Function): void;
96
102
  geti18n(translateService: TranslateService, keys: string | string[]): void;
97
103
  doPagination(): void;
104
+ doPaginationv2(type: string, callback: Function): void;
98
105
  setSearchByUrl(router: Router, url: string, search: any, extras?: any): void;
99
106
  saveState(state: MonkeyEcxSavedState): void;
100
107
  }
@@ -0,0 +1 @@
1
+ export * from './monkeyecx-pagination.service';
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class MonkeyEcxPaginationService {
3
+ private callback?;
4
+ constructor();
5
+ setCallback(callback: Function): void;
6
+ execute(type: string): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxPaginationService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxPaginationService>;
9
+ }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monkey-front-core",
3
- "version": "0.0.160",
3
+ "version": "0.0.163",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^13.1.1",
6
6
  "@angular/common": "^13.1.1",
@@ -12,13 +12,13 @@
12
12
  "@ngx-translate/http-loader": "^6.0.0",
13
13
  "launchdarkly-js-client-sdk": "2.19.2",
14
14
  "moment": "^2.29.2",
15
- "monkey-style-guide": "^2.0.133",
15
+ "monkey-style-guide": "^2.0.134",
16
16
  "ngx-cookie-service": "^13.1.1",
17
17
  "ngx-mask": "^12.0.0",
18
18
  "rxjs": "^6.6.3"
19
19
  },
20
20
  "dependencies": {
21
- "monkey-style-guide": "^2.0.133",
21
+ "monkey-style-guide": "^2.0.134",
22
22
  "tslib": "^2.3.0"
23
23
  },
24
24
  "module": "fesm2015/monkey-front-core.mjs",
Binary file