ps-toolkit-ui 1.8.18 → 1.8.21

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.
@@ -131,7 +131,8 @@ export declare enum ResultStatusEnum {
131
131
  Unauthorized = 2,
132
132
  NotAccess = 3,
133
133
  NotRegistered = 4,
134
- ExpiredRegistered = 5
134
+ ExpiredRegistered = 5,
135
+ InvalidIp = 6
135
136
  }
136
137
  export declare enum PermissionTypeEnum {
137
138
  Form = -1,
@@ -217,6 +217,7 @@ export declare const strings: {
217
217
  FormBaseErrorExpired: string;
218
218
  FormBaseErrorNotRegistered: string;
219
219
  FormBaseErrorExpiredRegistered: string;
220
+ FormBaseErrorInvalidIp: string;
220
221
  ErrorUpload: string;
221
222
  FormBaseErrorInvalidParam: string;
222
223
  FormBaseErrorTimeOut: string;
@@ -1,9 +1,7 @@
1
1
  import { PsToolkitUiConfigService } from '../../services/config.service';
2
- import { ActivatedRoute } from '@angular/router';
3
2
  export declare class ErrorComponent {
4
3
  config: PsToolkitUiConfigService;
5
- private route;
6
- message: string;
4
+ error: string;
7
5
  l: (k: any, v?: any) => string;
8
- constructor(config: PsToolkitUiConfigService, route: ActivatedRoute);
6
+ constructor(config: PsToolkitUiConfigService);
9
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ps-toolkit-ui",
3
- "version": "1.8.18",
3
+ "version": "1.8.21",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^10.1.6",
6
6
  "@angular/core": "^10.1.6"