monkey-front-core 0.0.144 → 0.0.147

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 {
@@ -3423,8 +3417,6 @@ class MonkeyEcxErrorHandlingService {
3423
3417
  const handlingService = injector.get(MonkeyEcxHandlingService);
3424
3418
  const httpErrorHandlingService = injector.get(MonkeyEcxHttpErrorHandlingService);
3425
3419
  const othersErrorsHandlingService = injector.get(MonkeyEcxOthersErrorsHandlingService);
3426
- console.log('error');
3427
- console.log(error);
3428
3420
  if (error instanceof HttpErrorResponse) {
3429
3421
  const sCredentials = handlingService?.getMonkeyEcxServiceCredentials() || {};
3430
3422
  if (MonkeyEcxUtils.persistNullEmptyUndefined(type) && type === 'refresh_token') {
@@ -3442,9 +3434,7 @@ MonkeyEcxErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.
3442
3434
  MonkeyEcxErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, providedIn: 'root' });
3443
3435
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, decorators: [{
3444
3436
  type: Injectable,
3445
- args: [{
3446
- providedIn: 'root',
3447
- }]
3437
+ args: [{ providedIn: 'root' }]
3448
3438
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
3449
3439
 
3450
3440
  class MonkeyEcxErrorHandlingModule {
@@ -4246,6 +4236,7 @@ var OpSearch;
4246
4236
  OpSearch["GT"] = ">:value";
4247
4237
  OpSearch["LT"] = "<:value";
4248
4238
  OpSearch["EQUAL"] = "::value";
4239
+ OpSearch["IN"] = " IN :value";
4249
4240
  })(OpSearch || (OpSearch = {}));
4250
4241
  class MonkeyEcxSpecificationSearch {
4251
4242
  constructor() {
@@ -4310,19 +4301,15 @@ class MonkeyEcxSpecificationSearch {
4310
4301
  throw new Error(`MonkeyEcxSpecificationSearch Error ${e}`);
4311
4302
  }
4312
4303
  }
4313
- buildMoreThanOne(field, op = OpSearch.EQUAL) {
4314
- let self = this;
4304
+ buildMoreThanOne(field, op = OpSearch.EQUAL, addSingleQuotes = false) {
4305
+ const self = this;
4315
4306
  try {
4316
4307
  if (!self[field])
4317
4308
  return [];
4318
4309
  const filters = self[field]?.split(',')?.map((filter) => {
4319
4310
  if (!filter)
4320
4311
  return null;
4321
- return {
4322
- [field]: {
4323
- [op]: `${filter}`
4324
- }
4325
- };
4312
+ return { [field]: { [op]: addSingleQuotes ? `'${filter}'` : `${filter}` } };
4326
4313
  }).filter((val) => { return val; });
4327
4314
  return filters || [];
4328
4315
  }