@stemy/ngx-utils 11.1.0 → 11.2.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.
@@ -70,10 +70,10 @@ export interface IAclComponent {
70
70
  }
71
71
  export interface IRouteStateInfo {
72
72
  route: IRoute;
73
- component: any;
74
73
  guard: any;
75
74
  dirty: boolean;
76
75
  first: boolean;
76
+ component?: any;
77
77
  }
78
78
  export declare enum StorageMode {
79
79
  Local = 0,
@@ -1,5 +1,5 @@
1
1
  import { PipeTransform } from "@angular/core";
2
2
  export declare function defaultReducer(result: any): any;
3
3
  export declare class ReducePipe implements PipeTransform {
4
- transform(values: any[], source: any, reducer?: any, params?: any): any[];
4
+ transform(values: any[], source: any, reducer?: any, params?: any): any;
5
5
  }
@@ -1,12 +1,11 @@
1
1
  import { Injector } from "@angular/core";
2
2
  import { StateService } from "./state.service";
3
- import { IAuthService } from "../common-types";
3
+ import { IAuthService, IRouteStateInfo } from "../common-types";
4
4
  export declare class AclService {
5
5
  readonly injector: Injector;
6
6
  readonly state: StateService;
7
7
  readonly auth: IAuthService;
8
- private components;
9
- private static checkStateDirty;
8
+ protected components: IRouteStateInfo[];
10
9
  constructor(injector: Injector, state: StateService, auth: IAuthService);
11
- private getStateInfo;
10
+ protected getStateInfo(): IRouteStateInfo;
12
11
  }
@@ -34,7 +34,7 @@ export declare class BaseHttpService implements IHttpService {
34
34
  protected toastWarning(message: string, issueContext: IIssueContext, reason: any, options: IRequestOptions): void;
35
35
  protected toastError(message: string, issueContext: IIssueContext, reason: any, options: IRequestOptions): void;
36
36
  protected toPromise(url: string, options: IRequestOptions, listener?: ProgressListener): HttpPromise;
37
- protected pushFailedRequest(url: string, options: IRequestOptions, req: () => void): void;
37
+ protected pushFailedRequest(url: string, options: IRequestOptions, req: () => void): boolean;
38
38
  protected checkHeaders(headers: any): boolean;
39
39
  protected makeOptions(options?: IRequestOptions, method?: string, body?: any): IRequestOptions;
40
40
  protected makeHeaders(options: IRequestOptions): HttpHeaders;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stemy/ngx-utils",
3
- "version": "11.1.0",
3
+ "version": "11.2.2",
4
4
  "license": "MIT",
5
5
  "public": true,
6
6
  "repository": "https://github.com/stemyke/ngx-utils.git",