monkey-front-core 0.0.95 → 0.0.96

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.
@@ -18,6 +18,8 @@ export * from './monkeyecx-request-in-progress';
18
18
  export * from './monkeyecx-request-paged';
19
19
  export * from './monkeyecx-response-links';
20
20
  export * from './monkeyecx-response-paged';
21
+ export * from './monkeyecx-saved-state';
22
+ export * from './monkeyecx-scroll-options';
21
23
  export * from './monkeyecx-service-credentials';
22
24
  export * from './monkeyecx-support-options';
23
25
  export * from './monkeyecx-token-credentials';
@@ -0,0 +1,5 @@
1
+ export interface MonkeyEcxSavedState {
2
+ scrollElementId?: string;
3
+ page?: any;
4
+ _links?: any;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { MonkeyEcxCommonsService } from '../services/commons/monkeyecx-commons.service';
2
+ export interface MonkeyEcxScrollOptions {
3
+ service?: MonkeyEcxCommonsService;
4
+ elementId?: string;
5
+ }
@@ -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 { MonkeyEcxSavedState } from '../../interfaces';
10
11
  export declare class MonkeyEcxCommonsService {
11
12
  monkeyecxService?: MonkeyEcxService | undefined;
12
13
  tokenStorage?: MonkeyEcxTokenStorageService | undefined;
@@ -24,6 +25,7 @@ export declare class MonkeyEcxCommonsService {
24
25
  } | undefined;
25
26
  private flagValidator;
26
27
  __data: any | any[];
28
+ __savedState: MonkeyEcxSavedState | null;
27
29
  __params: any | any[];
28
30
  __error: MonkeyEcxErrorResponse | null;
29
31
  __handledError: MonkeyEcxHandledErrorResponse | null;
@@ -84,4 +86,5 @@ export declare class MonkeyEcxCommonsService {
84
86
  geti18n(translateService: TranslateService, keys: string | string[]): void;
85
87
  doPagination(): void;
86
88
  setSearchByUrl(router: Router, url: string, search: any, extras?: any): void;
89
+ saveState(state: MonkeyEcxSavedState): void;
87
90
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monkey-front-core",
3
- "version": "0.0.95",
3
+ "version": "0.0.96",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.1.1",
6
6
  "@angular/core": "^13.1.1",
Binary file