monkey-front-core 0.0.145 → 0.0.146

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.
@@ -3193,9 +3193,7 @@ MonkeyEcxAuthenticationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12
3193
3193
  MonkeyEcxAuthenticationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthenticationService, providedIn: 'root' });
3194
3194
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthenticationService, decorators: [{
3195
3195
  type: Injectable,
3196
- args: [{
3197
- providedIn: 'root'
3198
- }]
3196
+ args: [{ providedIn: 'root' }]
3199
3197
  }], ctorParameters: function () { return []; } });
3200
3198
 
3201
3199
  class MonkeyEcxAuthGuardCompany {
@@ -3217,9 +3215,7 @@ MonkeyEcxAuthGuardCompany.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0"
3217
3215
  MonkeyEcxAuthGuardCompany.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardCompany, providedIn: 'root' });
3218
3216
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardCompany, decorators: [{
3219
3217
  type: Injectable,
3220
- args: [{
3221
- providedIn: 'root'
3222
- }]
3218
+ args: [{ providedIn: 'root' }]
3223
3219
  }], ctorParameters: function () { return [{ type: MonkeyEcxAuthenticationService }]; } });
3224
3220
 
3225
3221
  class MonkeyEcxAuthGuardLogin {
@@ -3243,9 +3239,7 @@ MonkeyEcxAuthGuardLogin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
3243
3239
  MonkeyEcxAuthGuardLogin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardLogin, providedIn: 'root' });
3244
3240
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardLogin, decorators: [{
3245
3241
  type: Injectable,
3246
- args: [{
3247
- providedIn: 'root'
3248
- }]
3242
+ args: [{ providedIn: 'root' }]
3249
3243
  }], ctorParameters: function () { return [{ type: MonkeyEcxAuthenticationService }]; } });
3250
3244
 
3251
3245
  class MonkeyEcxAuthGuard {
@@ -3440,9 +3434,7 @@ MonkeyEcxErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.
3440
3434
  MonkeyEcxErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, providedIn: 'root' });
3441
3435
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, decorators: [{
3442
3436
  type: Injectable,
3443
- args: [{
3444
- providedIn: 'root'
3445
- }]
3437
+ args: [{ providedIn: 'root' }]
3446
3438
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
3447
3439
 
3448
3440
  class MonkeyEcxErrorHandlingModule {
@@ -4244,6 +4236,7 @@ var OpSearch;
4244
4236
  OpSearch["GT"] = ">:value";
4245
4237
  OpSearch["LT"] = "<:value";
4246
4238
  OpSearch["EQUAL"] = "::value";
4239
+ OpSearch["IN"] = " IN :value";
4247
4240
  })(OpSearch || (OpSearch = {}));
4248
4241
  class MonkeyEcxSpecificationSearch {
4249
4242
  constructor() {
@@ -4309,18 +4302,14 @@ class MonkeyEcxSpecificationSearch {
4309
4302
  }
4310
4303
  }
4311
4304
  buildMoreThanOne(field, op = OpSearch.EQUAL) {
4312
- let self = this;
4305
+ const self = this;
4313
4306
  try {
4314
4307
  if (!self[field])
4315
4308
  return [];
4316
4309
  const filters = self[field]?.split(',')?.map((filter) => {
4317
4310
  if (!filter)
4318
4311
  return null;
4319
- return {
4320
- [field]: {
4321
- [op]: `${filter}`
4322
- }
4323
- };
4312
+ return { [field]: { [op]: `${filter}` } };
4324
4313
  }).filter((val) => { return val; });
4325
4314
  return filters || [];
4326
4315
  }