monkey-front-core 0.0.350 → 0.0.352

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.
@@ -4117,22 +4117,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
4117
4117
  args: [{ providedIn: 'root' }]
4118
4118
  }], ctorParameters: function () { return [{ type: MonkeyEcxAuthenticationService }]; } });
4119
4119
 
4120
- class MonkeyEcxAuthGuardByRole {
4120
+ let MonkeyEcxAuthGuardByRole = class MonkeyEcxAuthGuardByRole {
4121
4121
  constructor() {
4122
4122
  // not to do
4123
4123
  }
4124
4124
  static forRoles(roles, companyType, byExclusion) {
4125
- return 'oi';
4125
+ class RoleCheck {
4126
+ async canActivate() {
4127
+ return true;
4128
+ }
4129
+ }
4130
+ RoleCheck.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RoleCheck, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4131
+ RoleCheck.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RoleCheck, providedIn: 'root' });
4132
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RoleCheck, decorators: [{
4133
+ type: Injectable,
4134
+ args: [{
4135
+ providedIn: 'root'
4136
+ }]
4137
+ }] });
4138
+ return RoleCheck;
4126
4139
  }
4127
- }
4128
- MonkeyEcxAuthGuardByRole.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardByRole, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4129
- MonkeyEcxAuthGuardByRole.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardByRole, providedIn: 'root' });
4130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardByRole, decorators: [{
4131
- type: Injectable,
4132
- args: [{
4133
- providedIn: 'root'
4134
- }]
4135
- }], ctorParameters: function () { return []; } });
4140
+ };
4141
+ MonkeyEcxAuthGuardByRole = __decorate([
4142
+ Injectable({
4143
+ providedIn: 'root'
4144
+ })
4145
+ ], MonkeyEcxAuthGuardByRole);
4136
4146
 
4137
4147
  class MonkeyEcxAuthGuard {
4138
4148
  constructor(monkeyecxAuthenticationService) {