monkey-front-core 0.0.388 → 0.0.389

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.
@@ -7,12 +7,12 @@ import { CommonModule, formatNumber, CurrencyPipe } from '@angular/common';
7
7
  import * as i1$1 from '@ngx-translate/core';
8
8
  import { TranslateModule, TranslateService } from '@ngx-translate/core';
9
9
  import * as moment_ from 'moment';
10
- import * as i1$2 from 'ngx-cookie-service';
11
10
  import { map, catchError, filter, take, takeWhile, first, takeUntil, mergeMap, finalize } from 'rxjs/operators';
12
11
  import { throwError, BehaviorSubject, Subscription, interval, concat, of, Subject, from } from 'rxjs';
13
- import * as i1$3 from '@angular/common/http';
12
+ import * as i1$2 from '@angular/common/http';
14
13
  import { HttpParams, HttpErrorResponse, HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
15
14
  import * as i2$1 from '@angular/platform-browser';
15
+ import * as i1$3 from 'ngx-cookie-service';
16
16
  import * as i2$2 from '@angular/router';
17
17
  import { NavigationStart, NavigationEnd, NavigationError, NavigationCancel } from '@angular/router';
18
18
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
@@ -369,14 +369,14 @@ class MonkeyEcxUtils {
369
369
  }
370
370
  }
371
371
 
372
- const moment$5 = moment_;
372
+ const moment$6 = moment_;
373
373
  class MonkeyEcxFormatDateTimelapsePipe {
374
374
  transform(date, showTime = false, useUtc = true, format = '- HH:mm') {
375
375
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(date))
376
376
  return '';
377
- let stillUtc = moment$5.default.utc(date).toDate();
377
+ let stillUtc = moment$6.default.utc(date).toDate();
378
378
  if (!useUtc)
379
- stillUtc = moment$5.default(date).toDate();
379
+ stillUtc = moment$6.default(date).toDate();
380
380
  if (date.toString().indexOf(':') <= -1) {
381
381
  if (typeof date === 'string') {
382
382
  stillUtc = date;
@@ -385,7 +385,7 @@ class MonkeyEcxFormatDateTimelapsePipe {
385
385
  }
386
386
  const formatFrom = `YYYY/MM/DD${showTime ? ` ${format}` : ''}`;
387
387
  const formatTo = `DD/MM/YYYY${showTime ? ` ${format}` : ''}`;
388
- return `${moment$5.default(stillUtc, formatFrom).format(formatTo)}`;
388
+ return `${moment$6.default(stillUtc, formatFrom).format(formatTo)}`;
389
389
  }
390
390
  }
391
391
  MonkeyEcxFormatDateTimelapsePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDateTimelapsePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
@@ -420,6 +420,173 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
420
420
  type: Input
421
421
  }] } });
422
422
 
423
+ /* eslint-disable max-len */
424
+ class MonkeyEcxHandlingService {
425
+ constructor() {
426
+ this.monkeyecxServiceCredentials = null;
427
+ this.monkeyecxRequestQueue = null;
428
+ this.monkeyecxRequestDownload = null;
429
+ this.monkeyecxRequestUpload = null;
430
+ }
431
+ clearAll() {
432
+ this.monkeyecxServiceCredentials = null;
433
+ this.monkeyecxRequestQueue = null;
434
+ this.monkeyecxRequestDownload = null;
435
+ this.monkeyecxRequestUpload = null;
436
+ }
437
+ setMonkeyEcxServiceCredentials(param) {
438
+ this.monkeyecxServiceCredentials = param;
439
+ }
440
+ getMonkeyEcxServiceCredentials() {
441
+ return this.monkeyecxServiceCredentials;
442
+ }
443
+ setMonkeyEcxRequestQueue(queue) {
444
+ this.monkeyecxRequestQueue = queue;
445
+ }
446
+ getMonkeyEcxRequestQueue() {
447
+ return this.monkeyecxRequestQueue;
448
+ }
449
+ setMonkeyEcxRequestDownload(download) {
450
+ this.monkeyecxRequestDownload = download;
451
+ }
452
+ getMonkeyEcxRequestDownload() {
453
+ return this.monkeyecxRequestDownload;
454
+ }
455
+ setMonkeyEcxRequestUpload(upload) {
456
+ this.monkeyecxRequestUpload = upload;
457
+ }
458
+ getMonkeyEcxRequestUpload() {
459
+ return this.monkeyecxRequestUpload;
460
+ }
461
+ }
462
+ MonkeyEcxHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
463
+ MonkeyEcxHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, providedIn: 'root' });
464
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, decorators: [{
465
+ type: Injectable,
466
+ args: [{
467
+ providedIn: 'root'
468
+ }]
469
+ }] });
470
+
471
+ class MonkeyEcxService {
472
+ constructor(http, monkeyecxHandlingService) {
473
+ this.http = http;
474
+ this.monkeyecxHandlingService = monkeyecxHandlingService;
475
+ // not to do
476
+ }
477
+ handlelize(params) {
478
+ if (!params) {
479
+ return params;
480
+ }
481
+ // eslint-disable-next-line no-restricted-syntax
482
+ for (const field of [
483
+ 'createdAt',
484
+ 'createUserId',
485
+ 'updatedAt',
486
+ 'lastUserId',
487
+ '_links',
488
+ 'governmentIdType',
489
+ 'governmentIdMask',
490
+ 'screenType',
491
+ 'screenTab',
492
+ ]) {
493
+ delete params[field];
494
+ }
495
+ return params;
496
+ }
497
+ get(url, options) {
498
+ return this.http.get(url, options);
499
+ }
500
+ post(url, params, options) {
501
+ return this.http.post(url, params, options);
502
+ }
503
+ put(url, params) {
504
+ return this.http.put(url, this.handlelize({
505
+ ...params,
506
+ }));
507
+ }
508
+ delete(url, params) {
509
+ return this.http.delete(url, params);
510
+ }
511
+ download(url, options, filename) {
512
+ this.http.get(url, options).subscribe((resp) => {
513
+ const { headers, body } = resp;
514
+ const contentType = headers.get('Content-Type');
515
+ const contentDisposition = headers.get('Content-Disposition');
516
+ if (contentDisposition) {
517
+ filename = contentDisposition
518
+ .split(';')[1]
519
+ .split('filename')[1]
520
+ .split('=')[1]
521
+ .trim()
522
+ .replace(new RegExp(/"/g), '');
523
+ }
524
+ const blob = new Blob([body], {
525
+ type: `${contentType}`,
526
+ });
527
+ return {
528
+ filename,
529
+ blob,
530
+ };
531
+ }, (err) => {
532
+ throwError(err);
533
+ });
534
+ }
535
+ downloadOb(url, options, filename) {
536
+ return this.http.get(url, options).pipe(map((resp) => {
537
+ const { headers, body } = resp;
538
+ const contentType = headers.get('Content-Type');
539
+ const contentDisposition = headers.get('Content-Disposition');
540
+ if (contentDisposition) {
541
+ filename = contentDisposition
542
+ .split(';')[1]
543
+ .split('filename')[1]
544
+ .split('=')[1]
545
+ .trim()
546
+ .replace(new RegExp(/"/g), '');
547
+ }
548
+ const blob = new Blob([body], {
549
+ type: `${contentType}`,
550
+ });
551
+ return {
552
+ filename,
553
+ blob,
554
+ };
555
+ }), catchError((err) => {
556
+ return throwError(err);
557
+ }));
558
+ }
559
+ }
560
+ MonkeyEcxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxService, deps: [{ token: i1$2.HttpClient }, { token: MonkeyEcxHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
561
+ MonkeyEcxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxService, providedIn: 'root' });
562
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxService, decorators: [{
563
+ type: Injectable,
564
+ args: [{
565
+ providedIn: 'root',
566
+ }]
567
+ }], ctorParameters: function () { return [{ type: i1$2.HttpClient }, { type: MonkeyEcxHandlingService }]; } });
568
+
569
+ class MonkeyEcxBlobSecurePipe {
570
+ constructor(monkeyecxService, sanitizer) {
571
+ this.monkeyecxService = monkeyecxService;
572
+ this.sanitizer = sanitizer;
573
+ // not to do
574
+ }
575
+ transform(url) {
576
+ return this.monkeyecxService.get(url, { responseType: 'blob' }).pipe(map((val) => {
577
+ return this.sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(val));
578
+ }));
579
+ }
580
+ }
581
+ MonkeyEcxBlobSecurePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, deps: [{ token: MonkeyEcxService }, { token: i2$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
582
+ MonkeyEcxBlobSecurePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, name: "monkeyecxBlobSecure" });
583
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, decorators: [{
584
+ type: Pipe,
585
+ args: [{
586
+ name: 'monkeyecxBlobSecure'
587
+ }]
588
+ }], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: i2$1.DomSanitizer }]; } });
589
+
423
590
  class MonkeyEcxDisplayFirstNamePipe {
424
591
  transform(name) {
425
592
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(name))
@@ -454,6 +621,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
454
621
  }]
455
622
  }] });
456
623
 
624
+ const moment$5 = moment_;
625
+ class MonkeyEcxDisplaySupportPhone {
626
+ constructor() {
627
+ // not to do
628
+ }
629
+ transform(phones) {
630
+ return phones.map((phone) => {
631
+ const isOnline = this.isPhoneOnline(phone);
632
+ return {
633
+ ...phone,
634
+ isOnline,
635
+ color: isOnline ? '#00875A' : '#FA3838'
636
+ };
637
+ });
638
+ }
639
+ isPhoneOnline(phone) {
640
+ const start = moment$5.default().startOf('day').add(phone?.startHour, 'hours').format('YYYY-MM-DD HH:mm');
641
+ const end = moment$5.default().startOf('day').add(phone?.endHour, 'hours').format('YYYY-MM-DD HH:mm');
642
+ return moment$5.default().isSameOrAfter(start) && moment$5.default().isSameOrBefore(end);
643
+ }
644
+ }
645
+ MonkeyEcxDisplaySupportPhone.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDisplaySupportPhone, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
646
+ MonkeyEcxDisplaySupportPhone.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDisplaySupportPhone, name: "monkeyecxDisplaySupportPhone" });
647
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDisplaySupportPhone, decorators: [{
648
+ type: Pipe,
649
+ args: [{
650
+ name: 'monkeyecxDisplaySupportPhone'
651
+ }]
652
+ }], ctorParameters: function () { return []; } });
653
+
457
654
  class MonkeyEcxFormatAddressPipe {
458
655
  transform({ zipCode, address, neighborhood, city, state, }) {
459
656
  return [address, neighborhood, zipCode, city, state]
@@ -528,14 +725,14 @@ class MonkeyEcxCookieStorageService {
528
725
  this.cookieService.delete(name, '/', handledDomain, true, 'None');
529
726
  }
530
727
  }
531
- MonkeyEcxCookieStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, deps: [{ token: i1$2.CookieService }], target: i0.ɵɵFactoryTarget.Injectable });
728
+ MonkeyEcxCookieStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, deps: [{ token: i1$3.CookieService }], target: i0.ɵɵFactoryTarget.Injectable });
532
729
  MonkeyEcxCookieStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, providedIn: 'root' });
533
730
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, decorators: [{
534
731
  type: Injectable,
535
732
  args: [{
536
733
  providedIn: 'root'
537
734
  }]
538
- }], ctorParameters: function () { return [{ type: i1$2.CookieService }]; } });
735
+ }], ctorParameters: function () { return [{ type: i1$3.CookieService }]; } });
539
736
 
540
737
  class MonkeyEcxFormatCurrencyPipe {
541
738
  constructor(injector, currencyPipe) {
@@ -1128,22 +1325,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1128
1325
  }]
1129
1326
  }] });
1130
1327
 
1131
- class MonkeyEcxFormatDocumentTypePipe {
1132
- transform(document, country) {
1133
- if (!MonkeyEcxUtils.persistNullEmptyUndefined(document))
1134
- return '';
1135
- return MonkeyEcxUtils.getDocumentType(document, country);
1136
- }
1137
- }
1138
- MonkeyEcxFormatDocumentTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1139
- MonkeyEcxFormatDocumentTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, name: "monkeyecxFormatDocumentType" });
1140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, decorators: [{
1141
- type: Pipe,
1142
- args: [{
1143
- name: 'monkeyecxFormatDocumentType'
1144
- }]
1145
- }] });
1146
-
1147
1328
  class MonkeyEcxFormatNumberPipe {
1148
1329
  transform(number) {
1149
1330
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(number))
@@ -1237,6 +1418,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1237
1418
  }]
1238
1419
  }] });
1239
1420
 
1421
+ class MonkeyEcxFormatDocumentTypePipe {
1422
+ transform(document, country) {
1423
+ if (!MonkeyEcxUtils.persistNullEmptyUndefined(document))
1424
+ return '';
1425
+ return MonkeyEcxUtils.getDocumentType(document, country);
1426
+ }
1427
+ }
1428
+ MonkeyEcxFormatDocumentTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1429
+ MonkeyEcxFormatDocumentTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, name: "monkeyecxFormatDocumentType" });
1430
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, decorators: [{
1431
+ type: Pipe,
1432
+ args: [{
1433
+ name: 'monkeyecxFormatDocumentType'
1434
+ }]
1435
+ }] });
1436
+
1240
1437
  class MonkeyEcxFormatValue {
1241
1438
  transform(number) {
1242
1439
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(number))
@@ -1304,178 +1501,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1304
1501
  }]
1305
1502
  }] });
1306
1503
 
1307
- /* eslint-disable max-len */
1308
- class MonkeyEcxHandlingService {
1309
- constructor() {
1310
- this.monkeyecxServiceCredentials = null;
1311
- this.monkeyecxRequestQueue = null;
1312
- this.monkeyecxRequestDownload = null;
1313
- this.monkeyecxRequestUpload = null;
1314
- }
1315
- clearAll() {
1316
- this.monkeyecxServiceCredentials = null;
1317
- this.monkeyecxRequestQueue = null;
1318
- this.monkeyecxRequestDownload = null;
1319
- this.monkeyecxRequestUpload = null;
1320
- }
1321
- setMonkeyEcxServiceCredentials(param) {
1322
- this.monkeyecxServiceCredentials = param;
1323
- }
1324
- getMonkeyEcxServiceCredentials() {
1325
- return this.monkeyecxServiceCredentials;
1326
- }
1327
- setMonkeyEcxRequestQueue(queue) {
1328
- this.monkeyecxRequestQueue = queue;
1329
- }
1330
- getMonkeyEcxRequestQueue() {
1331
- return this.monkeyecxRequestQueue;
1332
- }
1333
- setMonkeyEcxRequestDownload(download) {
1334
- this.monkeyecxRequestDownload = download;
1335
- }
1336
- getMonkeyEcxRequestDownload() {
1337
- return this.monkeyecxRequestDownload;
1338
- }
1339
- setMonkeyEcxRequestUpload(upload) {
1340
- this.monkeyecxRequestUpload = upload;
1341
- }
1342
- getMonkeyEcxRequestUpload() {
1343
- return this.monkeyecxRequestUpload;
1344
- }
1345
- }
1346
- MonkeyEcxHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1347
- MonkeyEcxHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, providedIn: 'root' });
1348
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, decorators: [{
1349
- type: Injectable,
1350
- args: [{
1351
- providedIn: 'root'
1352
- }]
1353
- }] });
1354
-
1355
- class MonkeyEcxService {
1356
- constructor(http, monkeyecxHandlingService) {
1357
- this.http = http;
1358
- this.monkeyecxHandlingService = monkeyecxHandlingService;
1359
- // not to do
1360
- }
1361
- handlelize(params) {
1362
- if (!params) {
1363
- return params;
1364
- }
1365
- // eslint-disable-next-line no-restricted-syntax
1366
- for (const field of [
1367
- 'createdAt',
1368
- 'createUserId',
1369
- 'updatedAt',
1370
- 'lastUserId',
1371
- '_links',
1372
- 'governmentIdType',
1373
- 'governmentIdMask',
1374
- 'screenType',
1375
- 'screenTab',
1376
- ]) {
1377
- delete params[field];
1378
- }
1379
- return params;
1380
- }
1381
- get(url, options) {
1382
- return this.http.get(url, options);
1383
- }
1384
- post(url, params, options) {
1385
- return this.http.post(url, params, options);
1386
- }
1387
- put(url, params) {
1388
- return this.http.put(url, this.handlelize({
1389
- ...params,
1390
- }));
1391
- }
1392
- delete(url, params) {
1393
- return this.http.delete(url, params);
1394
- }
1395
- download(url, options, filename) {
1396
- this.http.get(url, options).subscribe((resp) => {
1397
- const { headers, body } = resp;
1398
- const contentType = headers.get('Content-Type');
1399
- const contentDisposition = headers.get('Content-Disposition');
1400
- if (contentDisposition) {
1401
- filename = contentDisposition
1402
- .split(';')[1]
1403
- .split('filename')[1]
1404
- .split('=')[1]
1405
- .trim()
1406
- .replace(new RegExp(/"/g), '');
1407
- }
1408
- const blob = new Blob([body], {
1409
- type: `${contentType}`,
1410
- });
1411
- return {
1412
- filename,
1413
- blob,
1414
- };
1415
- }, (err) => {
1416
- throwError(err);
1417
- });
1418
- }
1419
- downloadOb(url, options, filename) {
1420
- return this.http.get(url, options).pipe(map((resp) => {
1421
- const { headers, body } = resp;
1422
- const contentType = headers.get('Content-Type');
1423
- const contentDisposition = headers.get('Content-Disposition');
1424
- if (contentDisposition) {
1425
- filename = contentDisposition
1426
- .split(';')[1]
1427
- .split('filename')[1]
1428
- .split('=')[1]
1429
- .trim()
1430
- .replace(new RegExp(/"/g), '');
1431
- }
1432
- const blob = new Blob([body], {
1433
- type: `${contentType}`,
1434
- });
1435
- return {
1436
- filename,
1437
- blob,
1438
- };
1439
- }), catchError((err) => {
1440
- return throwError(err);
1441
- }));
1442
- }
1443
- }
1444
- MonkeyEcxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxService, deps: [{ token: i1$3.HttpClient }, { token: MonkeyEcxHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
1445
- MonkeyEcxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxService, providedIn: 'root' });
1446
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxService, decorators: [{
1447
- type: Injectable,
1448
- args: [{
1449
- providedIn: 'root',
1450
- }]
1451
- }], ctorParameters: function () { return [{ type: i1$3.HttpClient }, { type: MonkeyEcxHandlingService }]; } });
1452
-
1453
- class MonkeyEcxBlobSecurePipe {
1454
- constructor(monkeyecxService, sanitizer) {
1455
- this.monkeyecxService = monkeyecxService;
1456
- this.sanitizer = sanitizer;
1457
- // not to do
1458
- }
1459
- transform(url) {
1460
- return this.monkeyecxService.get(url, { responseType: 'blob' }).pipe(map((val) => {
1461
- return this.sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(val));
1462
- }));
1463
- }
1464
- }
1465
- MonkeyEcxBlobSecurePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, deps: [{ token: MonkeyEcxService }, { token: i2$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
1466
- MonkeyEcxBlobSecurePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, name: "monkeyecxBlobSecure" });
1467
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, decorators: [{
1468
- type: Pipe,
1469
- args: [{
1470
- name: 'monkeyecxBlobSecure'
1471
- }]
1472
- }], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: i2$1.DomSanitizer }]; } });
1473
-
1474
1504
  class MonkeyEcxPipesModule {
1475
1505
  }
1476
1506
  MonkeyEcxPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1477
- MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, declarations: [MonkeyEcxDisplayFirstNamePipe,
1507
+ MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, declarations: [MonkeyEcxBlobSecurePipe,
1508
+ MonkeyEcxDisplayFirstNamePipe,
1478
1509
  MonkeyEcxDisplayInitialsPipe,
1510
+ MonkeyEcxDisplaySupportPhone,
1479
1511
  MonkeyEcxFormatAddressPipe,
1480
1512
  MonkeyEcxFormatBeaufityJSONPipe,
1481
1513
  MonkeyEcxFormatCurrencyPipe,
@@ -1491,9 +1523,10 @@ MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ve
1491
1523
  MonkeyEcxFormatValue,
1492
1524
  MonkeyEcxFormatZipCodePipe,
1493
1525
  MonkeyEcxTextTruncatePipe,
1494
- MonkeyEcxTruncateQtdPipe,
1495
- MonkeyEcxBlobSecurePipe], exports: [MonkeyEcxDisplayFirstNamePipe,
1526
+ MonkeyEcxTruncateQtdPipe], exports: [MonkeyEcxBlobSecurePipe,
1527
+ MonkeyEcxDisplayFirstNamePipe,
1496
1528
  MonkeyEcxDisplayInitialsPipe,
1529
+ MonkeyEcxDisplaySupportPhone,
1497
1530
  MonkeyEcxFormatAddressPipe,
1498
1531
  MonkeyEcxFormatBeaufityJSONPipe,
1499
1532
  MonkeyEcxFormatCurrencyPipe,
@@ -1509,15 +1542,16 @@ MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ve
1509
1542
  MonkeyEcxFormatValue,
1510
1543
  MonkeyEcxFormatZipCodePipe,
1511
1544
  MonkeyEcxTextTruncatePipe,
1512
- MonkeyEcxTruncateQtdPipe,
1513
- MonkeyEcxBlobSecurePipe] });
1545
+ MonkeyEcxTruncateQtdPipe] });
1514
1546
  MonkeyEcxPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, providers: [CurrencyPipe] });
1515
1547
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, decorators: [{
1516
1548
  type: NgModule,
1517
1549
  args: [{
1518
1550
  declarations: [
1551
+ MonkeyEcxBlobSecurePipe,
1519
1552
  MonkeyEcxDisplayFirstNamePipe,
1520
1553
  MonkeyEcxDisplayInitialsPipe,
1554
+ MonkeyEcxDisplaySupportPhone,
1521
1555
  MonkeyEcxFormatAddressPipe,
1522
1556
  MonkeyEcxFormatBeaufityJSONPipe,
1523
1557
  MonkeyEcxFormatCurrencyPipe,
@@ -1533,12 +1567,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1533
1567
  MonkeyEcxFormatValue,
1534
1568
  MonkeyEcxFormatZipCodePipe,
1535
1569
  MonkeyEcxTextTruncatePipe,
1536
- MonkeyEcxTruncateQtdPipe,
1537
- MonkeyEcxBlobSecurePipe
1570
+ MonkeyEcxTruncateQtdPipe
1538
1571
  ],
1539
1572
  exports: [
1573
+ MonkeyEcxBlobSecurePipe,
1540
1574
  MonkeyEcxDisplayFirstNamePipe,
1541
1575
  MonkeyEcxDisplayInitialsPipe,
1576
+ MonkeyEcxDisplaySupportPhone,
1542
1577
  MonkeyEcxFormatAddressPipe,
1543
1578
  MonkeyEcxFormatBeaufityJSONPipe,
1544
1579
  MonkeyEcxFormatCurrencyPipe,
@@ -1554,8 +1589,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1554
1589
  MonkeyEcxFormatValue,
1555
1590
  MonkeyEcxFormatZipCodePipe,
1556
1591
  MonkeyEcxTextTruncatePipe,
1557
- MonkeyEcxTruncateQtdPipe,
1558
- MonkeyEcxBlobSecurePipe
1592
+ MonkeyEcxTruncateQtdPipe
1559
1593
  ],
1560
1594
  providers: [CurrencyPipe]
1561
1595
  }]
@@ -5763,5 +5797,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
5763
5797
  * Generated bundle index. Do not edit.
5764
5798
  */
5765
5799
 
5766
- export { AlertsComponent, AlertsModule, ClosedToMaintenanceComponent, ClosedToMaintenanceModule, CurrencyConfigComponent, CurrencyConfigModule, decoratorsUtils as DecoratorsUtils, Link, MonkeyEcxAlertsService, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardByRole, MonkeyEcxAuthGuardCompany, MonkeyEcxAuthGuardLogin, MonkeyEcxAuthenticationService, MonkeyEcxBlobSecurePipe, MonkeyEcxCommonsService, MonkeyEcxConfigModule, MonkeyEcxConfigService, MonkeyEcxCookieStorageService, MonkeyEcxCoreCharts, MonkeyEcxCoreClearDecorators, MonkeyEcxCoreLog, MonkeyEcxCoreService, MonkeyEcxCoreServiceConstructor, MonkeyEcxCoreServicePaged, MonkeyEcxCoreServiceQueue, MonkeyEcxCurrencyConfigService, MonkeyEcxDirectivesModule, MonkeyEcxDiscoveryParamsService, MonkeyEcxDisplayFirstNamePipe, MonkeyEcxDisplayInitialsPipe, MonkeyEcxDragDropDirective, MonkeyEcxErrorConfigService, MonkeyEcxErrorHandlingModule, MonkeyEcxErrorHandlingService, MonkeyEcxFeatureByProgramDirective, MonkeyEcxFeatureDirective, MonkeyEcxFeatureToggleService, MonkeyEcxFormatAddressPipe, MonkeyEcxFormatBeaufityJSONPipe, MonkeyEcxFormatCurrency, MonkeyEcxFormatCurrencyPipe, MonkeyEcxFormatDateGroupPipe, MonkeyEcxFormatDateTimelapsePipe, MonkeyEcxFormatDateUnixTimelapsePipe, MonkeyEcxFormatDocumentPipe, MonkeyEcxFormatDocumentTypePipe, MonkeyEcxFormatNumberPipe, MonkeyEcxFormatPhonePipe, MonkeyEcxFormatSizePipe, MonkeyEcxFormatTaxPipe, MonkeyEcxFormatUpper, MonkeyEcxFormatValue, MonkeyEcxFormatZipCodePipe, MonkeyEcxHandlingService, MonkeyEcxHttpConfigErrorInterceptor, MonkeyEcxHttpConfigHeaderInterceptor, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxHttpConfigLoadingInProgressInterceptor, MonkeyEcxHttpConfigQueueInterceptor, MonkeyEcxHttpErrorHandlingService, MonkeyEcxLoggedHandlingService, MonkeyEcxLogsConfigService, MonkeyEcxMaintenanceConfigService, MonkeyEcxModel, MonkeyEcxOnlyAlphaNumericDirective, MonkeyEcxOnlyNumbersDirective, MonkeyEcxOthersErrorsHandlingService, MonkeyEcxPaginationService, MonkeyEcxPipesModule, MonkeyEcxPopoverDirective, MonkeyEcxPopoverOptionsDirective, MonkeyEcxProgressBarComponent, MonkeyEcxProgressBarModule, MonkeyEcxProgressBarService, MonkeyEcxRequestDownloadHandlingService, MonkeyEcxRequestDownloadedHandlingService, MonkeyEcxRequestPagedHandling, MonkeyEcxRequestQueueHandlingService, MonkeyEcxRequestQueueModalHandlingService, MonkeyEcxRequestScheduleService, MonkeyEcxSecurityConsoleConfigService, MonkeyEcxSecurityDirective, MonkeyEcxService, MonkeyEcxServiceDownload, MonkeyEcxServiceUpload, MonkeyEcxServiceWorkerConfigService, MonkeyEcxSpecificationSearch, MonkeyEcxTextTruncatePipe, MonkeyEcxTokenStorageService, MonkeyEcxTooltipDirective, MonkeyEcxTruncateQtdPipe, MonkeyEcxUtils, MonkeyEcxi18nConfigService, MonkeyFrontCoreModule, OpSearch, POPOVER_OPTIONS, statics as Statics, validateUtils as ValidateUtils, Validators, VersionChangedComponent, VersionChangedModule, comboValidator, dateRangeValidator, dateStartEndValidator, dateValidator, documentValidator, emailValidator, passwordConfirmValidator, registerValidator, index as store, trueValidator, urlValidator, valueGreaterThanZero, zipCodeValidator };
5800
+ export { AlertsComponent, AlertsModule, ClosedToMaintenanceComponent, ClosedToMaintenanceModule, CurrencyConfigComponent, CurrencyConfigModule, decoratorsUtils as DecoratorsUtils, Link, MonkeyEcxAlertsService, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardByRole, MonkeyEcxAuthGuardCompany, MonkeyEcxAuthGuardLogin, MonkeyEcxAuthenticationService, MonkeyEcxBlobSecurePipe, MonkeyEcxCommonsService, MonkeyEcxConfigModule, MonkeyEcxConfigService, MonkeyEcxCookieStorageService, MonkeyEcxCoreCharts, MonkeyEcxCoreClearDecorators, MonkeyEcxCoreLog, MonkeyEcxCoreService, MonkeyEcxCoreServiceConstructor, MonkeyEcxCoreServicePaged, MonkeyEcxCoreServiceQueue, MonkeyEcxCurrencyConfigService, MonkeyEcxDirectivesModule, MonkeyEcxDiscoveryParamsService, MonkeyEcxDisplayFirstNamePipe, MonkeyEcxDisplayInitialsPipe, MonkeyEcxDisplaySupportPhone, MonkeyEcxDragDropDirective, MonkeyEcxErrorConfigService, MonkeyEcxErrorHandlingModule, MonkeyEcxErrorHandlingService, MonkeyEcxFeatureByProgramDirective, MonkeyEcxFeatureDirective, MonkeyEcxFeatureToggleService, MonkeyEcxFormatAddressPipe, MonkeyEcxFormatBeaufityJSONPipe, MonkeyEcxFormatCurrency, MonkeyEcxFormatCurrencyPipe, MonkeyEcxFormatDateGroupPipe, MonkeyEcxFormatDateTimelapsePipe, MonkeyEcxFormatDateUnixTimelapsePipe, MonkeyEcxFormatDocumentPipe, MonkeyEcxFormatDocumentTypePipe, MonkeyEcxFormatNumberPipe, MonkeyEcxFormatPhonePipe, MonkeyEcxFormatSizePipe, MonkeyEcxFormatTaxPipe, MonkeyEcxFormatUpper, MonkeyEcxFormatValue, MonkeyEcxFormatZipCodePipe, MonkeyEcxHandlingService, MonkeyEcxHttpConfigErrorInterceptor, MonkeyEcxHttpConfigHeaderInterceptor, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxHttpConfigLoadingInProgressInterceptor, MonkeyEcxHttpConfigQueueInterceptor, MonkeyEcxHttpErrorHandlingService, MonkeyEcxLoggedHandlingService, MonkeyEcxLogsConfigService, MonkeyEcxMaintenanceConfigService, MonkeyEcxModel, MonkeyEcxOnlyAlphaNumericDirective, MonkeyEcxOnlyNumbersDirective, MonkeyEcxOthersErrorsHandlingService, MonkeyEcxPaginationService, MonkeyEcxPipesModule, MonkeyEcxPopoverDirective, MonkeyEcxPopoverOptionsDirective, MonkeyEcxProgressBarComponent, MonkeyEcxProgressBarModule, MonkeyEcxProgressBarService, MonkeyEcxRequestDownloadHandlingService, MonkeyEcxRequestDownloadedHandlingService, MonkeyEcxRequestPagedHandling, MonkeyEcxRequestQueueHandlingService, MonkeyEcxRequestQueueModalHandlingService, MonkeyEcxRequestScheduleService, MonkeyEcxSecurityConsoleConfigService, MonkeyEcxSecurityDirective, MonkeyEcxService, MonkeyEcxServiceDownload, MonkeyEcxServiceUpload, MonkeyEcxServiceWorkerConfigService, MonkeyEcxSpecificationSearch, MonkeyEcxTextTruncatePipe, MonkeyEcxTokenStorageService, MonkeyEcxTooltipDirective, MonkeyEcxTruncateQtdPipe, MonkeyEcxUtils, MonkeyEcxi18nConfigService, MonkeyFrontCoreModule, OpSearch, POPOVER_OPTIONS, statics as Statics, validateUtils as ValidateUtils, Validators, VersionChangedComponent, VersionChangedModule, comboValidator, dateRangeValidator, dateStartEndValidator, dateValidator, documentValidator, emailValidator, passwordConfirmValidator, registerValidator, index as store, trueValidator, urlValidator, valueGreaterThanZero, zipCodeValidator };
5767
5801
  //# sourceMappingURL=monkey-front-core.mjs.map