monkey-front-core 0.0.387 → 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';
@@ -373,14 +373,14 @@ class MonkeyEcxUtils {
373
373
  }
374
374
  }
375
375
 
376
- const moment$5 = moment_;
376
+ const moment$6 = moment_;
377
377
  class MonkeyEcxFormatDateTimelapsePipe {
378
378
  transform(date, showTime = false, useUtc = true, format = '- HH:mm') {
379
379
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(date))
380
380
  return '';
381
- let stillUtc = moment$5.default.utc(date).toDate();
381
+ let stillUtc = moment$6.default.utc(date).toDate();
382
382
  if (!useUtc)
383
- stillUtc = moment$5.default(date).toDate();
383
+ stillUtc = moment$6.default(date).toDate();
384
384
  if (date.toString().indexOf(':') <= -1) {
385
385
  if (typeof date === 'string') {
386
386
  stillUtc = date;
@@ -389,7 +389,7 @@ class MonkeyEcxFormatDateTimelapsePipe {
389
389
  }
390
390
  const formatFrom = `YYYY/MM/DD${showTime ? ` ${format}` : ''}`;
391
391
  const formatTo = `DD/MM/YYYY${showTime ? ` ${format}` : ''}`;
392
- return `${moment$5.default(stillUtc, formatFrom).format(formatTo)}`;
392
+ return `${moment$6.default(stillUtc, formatFrom).format(formatTo)}`;
393
393
  }
394
394
  }
395
395
  MonkeyEcxFormatDateTimelapsePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDateTimelapsePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
@@ -425,6 +425,171 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
425
425
  type: Input
426
426
  }] } });
427
427
 
428
+ /* eslint-disable max-len */
429
+ class MonkeyEcxHandlingService {
430
+ constructor() {
431
+ this.monkeyecxServiceCredentials = null;
432
+ this.monkeyecxRequestQueue = null;
433
+ this.monkeyecxRequestDownload = null;
434
+ this.monkeyecxRequestUpload = null;
435
+ }
436
+ clearAll() {
437
+ this.monkeyecxServiceCredentials = null;
438
+ this.monkeyecxRequestQueue = null;
439
+ this.monkeyecxRequestDownload = null;
440
+ this.monkeyecxRequestUpload = null;
441
+ }
442
+ setMonkeyEcxServiceCredentials(param) {
443
+ this.monkeyecxServiceCredentials = param;
444
+ }
445
+ getMonkeyEcxServiceCredentials() {
446
+ return this.monkeyecxServiceCredentials;
447
+ }
448
+ setMonkeyEcxRequestQueue(queue) {
449
+ this.monkeyecxRequestQueue = queue;
450
+ }
451
+ getMonkeyEcxRequestQueue() {
452
+ return this.monkeyecxRequestQueue;
453
+ }
454
+ setMonkeyEcxRequestDownload(download) {
455
+ this.monkeyecxRequestDownload = download;
456
+ }
457
+ getMonkeyEcxRequestDownload() {
458
+ return this.monkeyecxRequestDownload;
459
+ }
460
+ setMonkeyEcxRequestUpload(upload) {
461
+ this.monkeyecxRequestUpload = upload;
462
+ }
463
+ getMonkeyEcxRequestUpload() {
464
+ return this.monkeyecxRequestUpload;
465
+ }
466
+ }
467
+ MonkeyEcxHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
468
+ MonkeyEcxHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, providedIn: 'root' });
469
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, decorators: [{
470
+ type: Injectable,
471
+ args: [{
472
+ providedIn: 'root'
473
+ }]
474
+ }] });
475
+
476
+ class MonkeyEcxService {
477
+ constructor(http, monkeyecxHandlingService) {
478
+ this.http = http;
479
+ this.monkeyecxHandlingService = monkeyecxHandlingService;
480
+ // not to do
481
+ }
482
+ handlelize(params) {
483
+ if (!params) {
484
+ return params;
485
+ }
486
+ // eslint-disable-next-line no-restricted-syntax
487
+ for (const field of [
488
+ 'createdAt',
489
+ 'createUserId',
490
+ 'updatedAt',
491
+ 'lastUserId',
492
+ '_links',
493
+ 'governmentIdType',
494
+ 'governmentIdMask',
495
+ 'screenType',
496
+ 'screenTab',
497
+ ]) {
498
+ delete params[field];
499
+ }
500
+ return params;
501
+ }
502
+ get(url, options) {
503
+ return this.http.get(url, options);
504
+ }
505
+ post(url, params, options) {
506
+ return this.http.post(url, params, options);
507
+ }
508
+ put(url, params) {
509
+ return this.http.put(url, this.handlelize(Object.assign({}, params)));
510
+ }
511
+ delete(url, params) {
512
+ return this.http.delete(url, params);
513
+ }
514
+ download(url, options, filename) {
515
+ this.http.get(url, options).subscribe((resp) => {
516
+ const { headers, body } = resp;
517
+ const contentType = headers.get('Content-Type');
518
+ const contentDisposition = headers.get('Content-Disposition');
519
+ if (contentDisposition) {
520
+ filename = contentDisposition
521
+ .split(';')[1]
522
+ .split('filename')[1]
523
+ .split('=')[1]
524
+ .trim()
525
+ .replace(new RegExp(/"/g), '');
526
+ }
527
+ const blob = new Blob([body], {
528
+ type: `${contentType}`,
529
+ });
530
+ return {
531
+ filename,
532
+ blob,
533
+ };
534
+ }, (err) => {
535
+ throwError(err);
536
+ });
537
+ }
538
+ downloadOb(url, options, filename) {
539
+ return this.http.get(url, options).pipe(map((resp) => {
540
+ const { headers, body } = resp;
541
+ const contentType = headers.get('Content-Type');
542
+ const contentDisposition = headers.get('Content-Disposition');
543
+ if (contentDisposition) {
544
+ filename = contentDisposition
545
+ .split(';')[1]
546
+ .split('filename')[1]
547
+ .split('=')[1]
548
+ .trim()
549
+ .replace(new RegExp(/"/g), '');
550
+ }
551
+ const blob = new Blob([body], {
552
+ type: `${contentType}`,
553
+ });
554
+ return {
555
+ filename,
556
+ blob,
557
+ };
558
+ }), catchError((err) => {
559
+ return throwError(err);
560
+ }));
561
+ }
562
+ }
563
+ 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 });
564
+ MonkeyEcxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxService, providedIn: 'root' });
565
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxService, decorators: [{
566
+ type: Injectable,
567
+ args: [{
568
+ providedIn: 'root',
569
+ }]
570
+ }], ctorParameters: function () { return [{ type: i1$2.HttpClient }, { type: MonkeyEcxHandlingService }]; } });
571
+
572
+ class MonkeyEcxBlobSecurePipe {
573
+ constructor(monkeyecxService, sanitizer) {
574
+ this.monkeyecxService = monkeyecxService;
575
+ this.sanitizer = sanitizer;
576
+ // not to do
577
+ }
578
+ transform(url) {
579
+ return this.monkeyecxService.get(url, { responseType: 'blob' }).pipe(map((val) => {
580
+ return this.sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(val));
581
+ }));
582
+ }
583
+ }
584
+ 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 });
585
+ MonkeyEcxBlobSecurePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, name: "monkeyecxBlobSecure" });
586
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, decorators: [{
587
+ type: Pipe,
588
+ args: [{
589
+ name: 'monkeyecxBlobSecure'
590
+ }]
591
+ }], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: i2$1.DomSanitizer }]; } });
592
+
428
593
  class MonkeyEcxDisplayFirstNamePipe {
429
594
  transform(name) {
430
595
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(name))
@@ -459,6 +624,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
459
624
  }]
460
625
  }] });
461
626
 
627
+ const moment$5 = moment_;
628
+ class MonkeyEcxDisplaySupportPhone {
629
+ constructor() {
630
+ // not to do
631
+ }
632
+ transform(phones) {
633
+ return phones.map((phone) => {
634
+ const isOnline = this.isPhoneOnline(phone);
635
+ return Object.assign(Object.assign({}, phone), { isOnline, color: isOnline ? '#00875A' : '#FA3838' });
636
+ });
637
+ }
638
+ isPhoneOnline(phone) {
639
+ const start = moment$5.default().startOf('day').add(phone === null || phone === void 0 ? void 0 : phone.startHour, 'hours').format('YYYY-MM-DD HH:mm');
640
+ const end = moment$5.default().startOf('day').add(phone === null || phone === void 0 ? void 0 : phone.endHour, 'hours').format('YYYY-MM-DD HH:mm');
641
+ return moment$5.default().isSameOrAfter(start) && moment$5.default().isSameOrBefore(end);
642
+ }
643
+ }
644
+ MonkeyEcxDisplaySupportPhone.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDisplaySupportPhone, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
645
+ MonkeyEcxDisplaySupportPhone.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDisplaySupportPhone, name: "monkeyecxDisplaySupportPhone" });
646
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDisplaySupportPhone, decorators: [{
647
+ type: Pipe,
648
+ args: [{
649
+ name: 'monkeyecxDisplaySupportPhone'
650
+ }]
651
+ }], ctorParameters: function () { return []; } });
652
+
462
653
  class MonkeyEcxFormatAddressPipe {
463
654
  transform({ zipCode, address, neighborhood, city, state, }) {
464
655
  return [address, neighborhood, zipCode, city, state]
@@ -533,14 +724,14 @@ class MonkeyEcxCookieStorageService {
533
724
  this.cookieService.delete(name, '/', handledDomain, true, 'None');
534
725
  }
535
726
  }
536
- 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 });
727
+ 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 });
537
728
  MonkeyEcxCookieStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, providedIn: 'root' });
538
729
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, decorators: [{
539
730
  type: Injectable,
540
731
  args: [{
541
732
  providedIn: 'root'
542
733
  }]
543
- }], ctorParameters: function () { return [{ type: i1$2.CookieService }]; } });
734
+ }], ctorParameters: function () { return [{ type: i1$3.CookieService }]; } });
544
735
 
545
736
  class MonkeyEcxFormatCurrencyPipe {
546
737
  constructor(injector, currencyPipe) {
@@ -1138,22 +1329,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1138
1329
  }]
1139
1330
  }] });
1140
1331
 
1141
- class MonkeyEcxFormatDocumentTypePipe {
1142
- transform(document, country) {
1143
- if (!MonkeyEcxUtils.persistNullEmptyUndefined(document))
1144
- return '';
1145
- return MonkeyEcxUtils.getDocumentType(document, country);
1146
- }
1147
- }
1148
- MonkeyEcxFormatDocumentTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1149
- MonkeyEcxFormatDocumentTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, name: "monkeyecxFormatDocumentType" });
1150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, decorators: [{
1151
- type: Pipe,
1152
- args: [{
1153
- name: 'monkeyecxFormatDocumentType'
1154
- }]
1155
- }] });
1156
-
1157
1332
  class MonkeyEcxFormatNumberPipe {
1158
1333
  transform(number) {
1159
1334
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(number))
@@ -1247,6 +1422,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1247
1422
  }]
1248
1423
  }] });
1249
1424
 
1425
+ class MonkeyEcxFormatDocumentTypePipe {
1426
+ transform(document, country) {
1427
+ if (!MonkeyEcxUtils.persistNullEmptyUndefined(document))
1428
+ return '';
1429
+ return MonkeyEcxUtils.getDocumentType(document, country);
1430
+ }
1431
+ }
1432
+ MonkeyEcxFormatDocumentTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1433
+ MonkeyEcxFormatDocumentTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, name: "monkeyecxFormatDocumentType" });
1434
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, decorators: [{
1435
+ type: Pipe,
1436
+ args: [{
1437
+ name: 'monkeyecxFormatDocumentType'
1438
+ }]
1439
+ }] });
1440
+
1250
1441
  class MonkeyEcxFormatValue {
1251
1442
  transform(number) {
1252
1443
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(number))
@@ -1314,176 +1505,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1314
1505
  }]
1315
1506
  }] });
1316
1507
 
1317
- /* eslint-disable max-len */
1318
- class MonkeyEcxHandlingService {
1319
- constructor() {
1320
- this.monkeyecxServiceCredentials = null;
1321
- this.monkeyecxRequestQueue = null;
1322
- this.monkeyecxRequestDownload = null;
1323
- this.monkeyecxRequestUpload = null;
1324
- }
1325
- clearAll() {
1326
- this.monkeyecxServiceCredentials = null;
1327
- this.monkeyecxRequestQueue = null;
1328
- this.monkeyecxRequestDownload = null;
1329
- this.monkeyecxRequestUpload = null;
1330
- }
1331
- setMonkeyEcxServiceCredentials(param) {
1332
- this.monkeyecxServiceCredentials = param;
1333
- }
1334
- getMonkeyEcxServiceCredentials() {
1335
- return this.monkeyecxServiceCredentials;
1336
- }
1337
- setMonkeyEcxRequestQueue(queue) {
1338
- this.monkeyecxRequestQueue = queue;
1339
- }
1340
- getMonkeyEcxRequestQueue() {
1341
- return this.monkeyecxRequestQueue;
1342
- }
1343
- setMonkeyEcxRequestDownload(download) {
1344
- this.monkeyecxRequestDownload = download;
1345
- }
1346
- getMonkeyEcxRequestDownload() {
1347
- return this.monkeyecxRequestDownload;
1348
- }
1349
- setMonkeyEcxRequestUpload(upload) {
1350
- this.monkeyecxRequestUpload = upload;
1351
- }
1352
- getMonkeyEcxRequestUpload() {
1353
- return this.monkeyecxRequestUpload;
1354
- }
1355
- }
1356
- MonkeyEcxHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1357
- MonkeyEcxHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, providedIn: 'root' });
1358
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, decorators: [{
1359
- type: Injectable,
1360
- args: [{
1361
- providedIn: 'root'
1362
- }]
1363
- }] });
1364
-
1365
- class MonkeyEcxService {
1366
- constructor(http, monkeyecxHandlingService) {
1367
- this.http = http;
1368
- this.monkeyecxHandlingService = monkeyecxHandlingService;
1369
- // not to do
1370
- }
1371
- handlelize(params) {
1372
- if (!params) {
1373
- return params;
1374
- }
1375
- // eslint-disable-next-line no-restricted-syntax
1376
- for (const field of [
1377
- 'createdAt',
1378
- 'createUserId',
1379
- 'updatedAt',
1380
- 'lastUserId',
1381
- '_links',
1382
- 'governmentIdType',
1383
- 'governmentIdMask',
1384
- 'screenType',
1385
- 'screenTab',
1386
- ]) {
1387
- delete params[field];
1388
- }
1389
- return params;
1390
- }
1391
- get(url, options) {
1392
- return this.http.get(url, options);
1393
- }
1394
- post(url, params, options) {
1395
- return this.http.post(url, params, options);
1396
- }
1397
- put(url, params) {
1398
- return this.http.put(url, this.handlelize(Object.assign({}, params)));
1399
- }
1400
- delete(url, params) {
1401
- return this.http.delete(url, params);
1402
- }
1403
- download(url, options, filename) {
1404
- this.http.get(url, options).subscribe((resp) => {
1405
- const { headers, body } = resp;
1406
- const contentType = headers.get('Content-Type');
1407
- const contentDisposition = headers.get('Content-Disposition');
1408
- if (contentDisposition) {
1409
- filename = contentDisposition
1410
- .split(';')[1]
1411
- .split('filename')[1]
1412
- .split('=')[1]
1413
- .trim()
1414
- .replace(new RegExp(/"/g), '');
1415
- }
1416
- const blob = new Blob([body], {
1417
- type: `${contentType}`,
1418
- });
1419
- return {
1420
- filename,
1421
- blob,
1422
- };
1423
- }, (err) => {
1424
- throwError(err);
1425
- });
1426
- }
1427
- downloadOb(url, options, filename) {
1428
- return this.http.get(url, options).pipe(map((resp) => {
1429
- const { headers, body } = resp;
1430
- const contentType = headers.get('Content-Type');
1431
- const contentDisposition = headers.get('Content-Disposition');
1432
- if (contentDisposition) {
1433
- filename = contentDisposition
1434
- .split(';')[1]
1435
- .split('filename')[1]
1436
- .split('=')[1]
1437
- .trim()
1438
- .replace(new RegExp(/"/g), '');
1439
- }
1440
- const blob = new Blob([body], {
1441
- type: `${contentType}`,
1442
- });
1443
- return {
1444
- filename,
1445
- blob,
1446
- };
1447
- }), catchError((err) => {
1448
- return throwError(err);
1449
- }));
1450
- }
1451
- }
1452
- 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 });
1453
- MonkeyEcxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxService, providedIn: 'root' });
1454
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxService, decorators: [{
1455
- type: Injectable,
1456
- args: [{
1457
- providedIn: 'root',
1458
- }]
1459
- }], ctorParameters: function () { return [{ type: i1$3.HttpClient }, { type: MonkeyEcxHandlingService }]; } });
1460
-
1461
- class MonkeyEcxBlobSecurePipe {
1462
- constructor(monkeyecxService, sanitizer) {
1463
- this.monkeyecxService = monkeyecxService;
1464
- this.sanitizer = sanitizer;
1465
- // not to do
1466
- }
1467
- transform(url) {
1468
- return this.monkeyecxService.get(url, { responseType: 'blob' }).pipe(map((val) => {
1469
- return this.sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(val));
1470
- }));
1471
- }
1472
- }
1473
- 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 });
1474
- MonkeyEcxBlobSecurePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, name: "monkeyecxBlobSecure" });
1475
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, decorators: [{
1476
- type: Pipe,
1477
- args: [{
1478
- name: 'monkeyecxBlobSecure'
1479
- }]
1480
- }], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: i2$1.DomSanitizer }]; } });
1481
-
1482
1508
  class MonkeyEcxPipesModule {
1483
1509
  }
1484
1510
  MonkeyEcxPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1485
- MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, declarations: [MonkeyEcxDisplayFirstNamePipe,
1511
+ MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, declarations: [MonkeyEcxBlobSecurePipe,
1512
+ MonkeyEcxDisplayFirstNamePipe,
1486
1513
  MonkeyEcxDisplayInitialsPipe,
1514
+ MonkeyEcxDisplaySupportPhone,
1487
1515
  MonkeyEcxFormatAddressPipe,
1488
1516
  MonkeyEcxFormatBeaufityJSONPipe,
1489
1517
  MonkeyEcxFormatCurrencyPipe,
@@ -1499,9 +1527,10 @@ MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ve
1499
1527
  MonkeyEcxFormatValue,
1500
1528
  MonkeyEcxFormatZipCodePipe,
1501
1529
  MonkeyEcxTextTruncatePipe,
1502
- MonkeyEcxTruncateQtdPipe,
1503
- MonkeyEcxBlobSecurePipe], exports: [MonkeyEcxDisplayFirstNamePipe,
1530
+ MonkeyEcxTruncateQtdPipe], exports: [MonkeyEcxBlobSecurePipe,
1531
+ MonkeyEcxDisplayFirstNamePipe,
1504
1532
  MonkeyEcxDisplayInitialsPipe,
1533
+ MonkeyEcxDisplaySupportPhone,
1505
1534
  MonkeyEcxFormatAddressPipe,
1506
1535
  MonkeyEcxFormatBeaufityJSONPipe,
1507
1536
  MonkeyEcxFormatCurrencyPipe,
@@ -1517,15 +1546,16 @@ MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ve
1517
1546
  MonkeyEcxFormatValue,
1518
1547
  MonkeyEcxFormatZipCodePipe,
1519
1548
  MonkeyEcxTextTruncatePipe,
1520
- MonkeyEcxTruncateQtdPipe,
1521
- MonkeyEcxBlobSecurePipe] });
1549
+ MonkeyEcxTruncateQtdPipe] });
1522
1550
  MonkeyEcxPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, providers: [CurrencyPipe] });
1523
1551
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, decorators: [{
1524
1552
  type: NgModule,
1525
1553
  args: [{
1526
1554
  declarations: [
1555
+ MonkeyEcxBlobSecurePipe,
1527
1556
  MonkeyEcxDisplayFirstNamePipe,
1528
1557
  MonkeyEcxDisplayInitialsPipe,
1558
+ MonkeyEcxDisplaySupportPhone,
1529
1559
  MonkeyEcxFormatAddressPipe,
1530
1560
  MonkeyEcxFormatBeaufityJSONPipe,
1531
1561
  MonkeyEcxFormatCurrencyPipe,
@@ -1541,12 +1571,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1541
1571
  MonkeyEcxFormatValue,
1542
1572
  MonkeyEcxFormatZipCodePipe,
1543
1573
  MonkeyEcxTextTruncatePipe,
1544
- MonkeyEcxTruncateQtdPipe,
1545
- MonkeyEcxBlobSecurePipe
1574
+ MonkeyEcxTruncateQtdPipe
1546
1575
  ],
1547
1576
  exports: [
1577
+ MonkeyEcxBlobSecurePipe,
1548
1578
  MonkeyEcxDisplayFirstNamePipe,
1549
1579
  MonkeyEcxDisplayInitialsPipe,
1580
+ MonkeyEcxDisplaySupportPhone,
1550
1581
  MonkeyEcxFormatAddressPipe,
1551
1582
  MonkeyEcxFormatBeaufityJSONPipe,
1552
1583
  MonkeyEcxFormatCurrencyPipe,
@@ -1562,8 +1593,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1562
1593
  MonkeyEcxFormatValue,
1563
1594
  MonkeyEcxFormatZipCodePipe,
1564
1595
  MonkeyEcxTextTruncatePipe,
1565
- MonkeyEcxTruncateQtdPipe,
1566
- MonkeyEcxBlobSecurePipe
1596
+ MonkeyEcxTruncateQtdPipe
1567
1597
  ],
1568
1598
  providers: [CurrencyPipe]
1569
1599
  }]
@@ -5694,5 +5724,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
5694
5724
  * Generated bundle index. Do not edit.
5695
5725
  */
5696
5726
 
5697
- 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 };
5727
+ 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 };
5698
5728
  //# sourceMappingURL=monkey-front-core.mjs.map