monkey-front-core 0.0.227 → 0.0.230
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.
- package/esm2020/lib/core/pipes/index.mjs +2 -1
- package/esm2020/lib/core/pipes/monkeyecx-display-initials.mjs +21 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-type-document.mjs +3 -3
- package/esm2020/lib/core/pipes/monkeyecx-pipes.module.mjs +32 -27
- package/fesm2015/monkey-front-core.mjs +269 -247
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +269 -247
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/pipes/index.d.ts +1 -0
- package/lib/core/pipes/monkeyecx-display-initials.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-format-type-document.d.ts +1 -1
- package/lib/core/pipes/monkeyecx-pipes.module.d.ts +18 -17
- package/monkey-front-core-0.0.230.tgz +0 -0
- package/package.json +3 -3
- package/monkey-front-core-0.0.227.tgz +0 -0
|
@@ -314,6 +314,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
314
314
|
}]
|
|
315
315
|
}] });
|
|
316
316
|
|
|
317
|
+
class MonkeyEcxDisplayInitialsPipe {
|
|
318
|
+
transform(name) {
|
|
319
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(name))
|
|
320
|
+
return '';
|
|
321
|
+
const first = MonkeyEcxUtils.cutFirstLastName(name, 'first');
|
|
322
|
+
const second = MonkeyEcxUtils.cutFirstLastName(name, 'last');
|
|
323
|
+
return `${first === null || first === void 0 ? void 0 : first.charAt(0)} ${second === null || second === void 0 ? void 0 : second.charAt(0)}`;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
MonkeyEcxDisplayInitialsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDisplayInitialsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
327
|
+
MonkeyEcxDisplayInitialsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDisplayInitialsPipe, name: "monkeyecxDisplayInitials" });
|
|
328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDisplayInitialsPipe, decorators: [{
|
|
329
|
+
type: Pipe,
|
|
330
|
+
args: [{
|
|
331
|
+
name: 'monkeyecxDisplayInitials'
|
|
332
|
+
}]
|
|
333
|
+
}] });
|
|
334
|
+
|
|
317
335
|
class MonkeyEcxFormatAddressPipe {
|
|
318
336
|
transform({ zipCode, address, neighborhood, city, state, }) {
|
|
319
337
|
return [address, neighborhood, zipCode, city, state]
|
|
@@ -332,6 +350,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
332
350
|
}]
|
|
333
351
|
}] });
|
|
334
352
|
|
|
353
|
+
class MonkeyEcxFormatBeaufityJSONPipe {
|
|
354
|
+
constructor() {
|
|
355
|
+
// not to do
|
|
356
|
+
}
|
|
357
|
+
transform(value) {
|
|
358
|
+
const jsonLine = /^( *)("[\w]+": )?("[^"]*"|[\w.+-]*)?([,[{])?$/gm;
|
|
359
|
+
const replacer = (match, pIndent, pKey, pVal, pEnd) => {
|
|
360
|
+
const key = '<span class="json-key" style="color: brown">';
|
|
361
|
+
const val = '<span class="json-value" style="color: navy">';
|
|
362
|
+
const str = '<span class="json-string" style="color: olive">';
|
|
363
|
+
let r = pIndent || '';
|
|
364
|
+
if (pKey) {
|
|
365
|
+
r = `${r + key + pKey.replace(/[": ]/g, '')}</span>: `;
|
|
366
|
+
}
|
|
367
|
+
if (pVal) {
|
|
368
|
+
r = `${r + (pVal[0] === '"' ? str : val) + pVal}</span>`;
|
|
369
|
+
}
|
|
370
|
+
return r + (pEnd || '');
|
|
371
|
+
};
|
|
372
|
+
return JSON.stringify(value, null, 3)
|
|
373
|
+
.replace(/&/g, '&')
|
|
374
|
+
.replace(/\\"/g, '"')
|
|
375
|
+
.replace(/</g, '<')
|
|
376
|
+
.replace(/>/g, '>')
|
|
377
|
+
.replace(jsonLine, replacer);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
MonkeyEcxFormatBeaufityJSONPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatBeaufityJSONPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
381
|
+
MonkeyEcxFormatBeaufityJSONPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatBeaufityJSONPipe, name: "monkeyecxFormatBeautifyJSON" });
|
|
382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatBeaufityJSONPipe, decorators: [{
|
|
383
|
+
type: Pipe,
|
|
384
|
+
args: [{
|
|
385
|
+
name: 'monkeyecxFormatBeautifyJSON'
|
|
386
|
+
}]
|
|
387
|
+
}], ctorParameters: function () { return []; } });
|
|
388
|
+
|
|
335
389
|
class MonkeyEcxCookieStorageService {
|
|
336
390
|
constructor(cookieService) {
|
|
337
391
|
this.cookieService = cookieService;
|
|
@@ -384,178 +438,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
384
438
|
}]
|
|
385
439
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i2.CurrencyPipe }]; } });
|
|
386
440
|
|
|
387
|
-
class MonkeyEcxFormatDocumentPipe {
|
|
388
|
-
transform(document, withType) {
|
|
389
|
-
if (!MonkeyEcxUtils.persistNullEmptyUndefined(document))
|
|
390
|
-
return '';
|
|
391
|
-
return MonkeyEcxUtils.formatDocumentWithMask(document, withType);
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
MonkeyEcxFormatDocumentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
395
|
-
MonkeyEcxFormatDocumentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, name: "monkeyecxFormatDocument" });
|
|
396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, decorators: [{
|
|
397
|
-
type: Pipe,
|
|
398
|
-
args: [{
|
|
399
|
-
name: 'monkeyecxFormatDocument'
|
|
400
|
-
}]
|
|
401
|
-
}] });
|
|
402
|
-
|
|
403
|
-
class MonkeyEcxFormatNumberPipe {
|
|
404
|
-
transform(number) {
|
|
405
|
-
if (!MonkeyEcxUtils.persistNullEmptyUndefined(number))
|
|
406
|
-
return '';
|
|
407
|
-
return formatNumber(Number(number), 'ptbr');
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
MonkeyEcxFormatNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
411
|
-
MonkeyEcxFormatNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatNumberPipe, name: "monkeyecxFormatNumber" });
|
|
412
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatNumberPipe, decorators: [{
|
|
413
|
-
type: Pipe,
|
|
414
|
-
args: [{
|
|
415
|
-
name: 'monkeyecxFormatNumber'
|
|
416
|
-
}]
|
|
417
|
-
}] });
|
|
418
|
-
|
|
419
|
-
class MonkeyEcxFormatPhonePipe {
|
|
420
|
-
transform(phone) {
|
|
421
|
-
if (phone) {
|
|
422
|
-
const value = `${phone || ''}`.replace(/\D/g, '');
|
|
423
|
-
let formated = '';
|
|
424
|
-
if (value.length > 12) {
|
|
425
|
-
formated = value.replace(/(\d{2})?(\d{2})?(\d{5})?(\d{4})/, '+$1 ($2) $3-$4');
|
|
426
|
-
}
|
|
427
|
-
else if (value.length > 11) {
|
|
428
|
-
formated = value.replace(/(\d{2})?(\d{2})?(\d{4})?(\d{4})/, '+$1 ($2) $3-$4');
|
|
429
|
-
}
|
|
430
|
-
else if (value.length > 10) {
|
|
431
|
-
formated = value.replace(/(\d{2})?(\d{5})?(\d{4})/, '($1) $2-$3');
|
|
432
|
-
}
|
|
433
|
-
else if (value.length > 9) {
|
|
434
|
-
formated = value.replace(/(\d{2})?(\d{4})?(\d{4})/, '($1) $2-$3');
|
|
435
|
-
}
|
|
436
|
-
else if (value.length > 5) {
|
|
437
|
-
formated = value.replace(/^(\d{2})?(\d{4})?(\d{0,4})/, '($1) $2-$3');
|
|
438
|
-
}
|
|
439
|
-
else if (value.length > 1) {
|
|
440
|
-
formated = value.replace(/^(\d{2})?(\d{0,5})/, '($1) $2');
|
|
441
|
-
}
|
|
442
|
-
else if (phone !== '') {
|
|
443
|
-
formated = value.replace(/^(\d*)/, '($1');
|
|
444
|
-
}
|
|
445
|
-
return formated;
|
|
446
|
-
}
|
|
447
|
-
return '';
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
MonkeyEcxFormatPhonePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatPhonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
451
|
-
MonkeyEcxFormatPhonePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatPhonePipe, name: "monkeyecxFormatPhone" });
|
|
452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatPhonePipe, decorators: [{
|
|
453
|
-
type: Pipe,
|
|
454
|
-
args: [{
|
|
455
|
-
name: 'monkeyecxFormatPhone'
|
|
456
|
-
}]
|
|
457
|
-
}] });
|
|
458
|
-
|
|
459
|
-
class MonkeyEcxFormatSizePipe {
|
|
460
|
-
transform(size) {
|
|
461
|
-
if (!size)
|
|
462
|
-
return '0 B';
|
|
463
|
-
const sizeNum = Number(size);
|
|
464
|
-
return MonkeyEcxUtils.formatFileSize(sizeNum);
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
MonkeyEcxFormatSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
468
|
-
MonkeyEcxFormatSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatSizePipe, name: "monkeyecxFormatSize" });
|
|
469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatSizePipe, decorators: [{
|
|
470
|
-
type: Pipe,
|
|
471
|
-
args: [{
|
|
472
|
-
name: 'monkeyecxFormatSize'
|
|
473
|
-
}]
|
|
474
|
-
}] });
|
|
475
|
-
|
|
476
|
-
class MonkeyEcxFormatDocumentTypePipe {
|
|
477
|
-
transform(document) {
|
|
478
|
-
if (!MonkeyEcxUtils.persistNullEmptyUndefined(document))
|
|
479
|
-
return '';
|
|
480
|
-
return MonkeyEcxUtils.getDocumentType(document);
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
MonkeyEcxFormatDocumentTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
484
|
-
MonkeyEcxFormatDocumentTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, name: "monkeyecxFormatDocumentType" });
|
|
485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, decorators: [{
|
|
486
|
-
type: Pipe,
|
|
487
|
-
args: [{
|
|
488
|
-
name: 'monkeyecxFormatDocumentType'
|
|
489
|
-
}]
|
|
490
|
-
}] });
|
|
491
|
-
|
|
492
|
-
class MonkeyEcxFormatValue {
|
|
493
|
-
transform(number) {
|
|
494
|
-
if (!MonkeyEcxUtils.persistNullEmptyUndefined(number))
|
|
495
|
-
return '';
|
|
496
|
-
return number;
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
MonkeyEcxFormatValue.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatValue, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
500
|
-
MonkeyEcxFormatValue.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatValue, name: "monkeyecxFormatValue" });
|
|
501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatValue, decorators: [{
|
|
502
|
-
type: Pipe,
|
|
503
|
-
args: [{
|
|
504
|
-
name: 'monkeyecxFormatValue'
|
|
505
|
-
}]
|
|
506
|
-
}] });
|
|
507
|
-
|
|
508
|
-
class MonkeyEcxFormatZipCodePipe {
|
|
509
|
-
transform(zipCode) {
|
|
510
|
-
if (!MonkeyEcxUtils.persistNullEmptyUndefined(zipCode))
|
|
511
|
-
return '';
|
|
512
|
-
return MonkeyEcxUtils.formatZipCode(zipCode);
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
MonkeyEcxFormatZipCodePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
516
|
-
MonkeyEcxFormatZipCodePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, name: "monkeyecxFormatZipCode" });
|
|
517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, decorators: [{
|
|
518
|
-
type: Pipe,
|
|
519
|
-
args: [{
|
|
520
|
-
name: 'monkeyecxFormatZipCode'
|
|
521
|
-
}]
|
|
522
|
-
}] });
|
|
523
|
-
|
|
524
|
-
class MonkeyEcxTextTruncatePipe {
|
|
525
|
-
transform(text, maxLength = 25) {
|
|
526
|
-
const midChar = '...';
|
|
527
|
-
if (!text)
|
|
528
|
-
return midChar;
|
|
529
|
-
if (text && text.length <= maxLength)
|
|
530
|
-
return text;
|
|
531
|
-
const left = Math.ceil(maxLength / 2);
|
|
532
|
-
const right = text.length - left + 1;
|
|
533
|
-
return `${text.substr(0, left)} ${midChar} ${text.substring(right)}`;
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
MonkeyEcxTextTruncatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTextTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
537
|
-
MonkeyEcxTextTruncatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTextTruncatePipe, name: "monkeyecxTextTruncate" });
|
|
538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTextTruncatePipe, decorators: [{
|
|
539
|
-
type: Pipe,
|
|
540
|
-
args: [{
|
|
541
|
-
name: 'monkeyecxTextTruncate'
|
|
542
|
-
}]
|
|
543
|
-
}] });
|
|
544
|
-
|
|
545
|
-
class MonkeyEcxTruncateQtdPipe {
|
|
546
|
-
transform(number, threshold) {
|
|
547
|
-
return `${number > threshold ? `${threshold}+` : number}`;
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
MonkeyEcxTruncateQtdPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
551
|
-
MonkeyEcxTruncateQtdPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, name: "monkeyecxTruncateQtd" });
|
|
552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, decorators: [{
|
|
553
|
-
type: Pipe,
|
|
554
|
-
args: [{
|
|
555
|
-
name: 'monkeyecxTruncateQtd'
|
|
556
|
-
}]
|
|
557
|
-
}] });
|
|
558
|
-
|
|
559
441
|
const moment$3 = moment_;
|
|
560
442
|
class MonkeyEcxFormatDateGroupPipe {
|
|
561
443
|
constructor(injector) {
|
|
@@ -1123,6 +1005,143 @@ class Validators {
|
|
|
1123
1005
|
|
|
1124
1006
|
/* eslint-disable object-curly-newline */
|
|
1125
1007
|
|
|
1008
|
+
const moment = moment_;
|
|
1009
|
+
class MonkeyEcxFormatDateUnixTimelapsePipe {
|
|
1010
|
+
transform(date, showTime = false, useUtc = true, format = '- HH:mm') {
|
|
1011
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(date))
|
|
1012
|
+
return '';
|
|
1013
|
+
let stillUtc = moment.default.utc(date).toDate();
|
|
1014
|
+
if (!useUtc)
|
|
1015
|
+
stillUtc = moment.default(date).toDate();
|
|
1016
|
+
if (moment.default
|
|
1017
|
+
.utc(date)
|
|
1018
|
+
.toDate()
|
|
1019
|
+
.toLocaleString()
|
|
1020
|
+
.indexOf(':') <= -1) {
|
|
1021
|
+
if (typeof date === 'string') {
|
|
1022
|
+
stillUtc = date;
|
|
1023
|
+
showTime = false;
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
const formatFrom = `YYYY/MM/DD${showTime ? ` ${format}` : ''}`;
|
|
1027
|
+
const formatTo = `DD/MM/YYYY${showTime ? ` ${format}` : ''}`;
|
|
1028
|
+
return `${moment.default(stillUtc, formatFrom).format(formatTo)}`;
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
MonkeyEcxFormatDateUnixTimelapsePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDateUnixTimelapsePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1032
|
+
MonkeyEcxFormatDateUnixTimelapsePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDateUnixTimelapsePipe, name: "monkeyecxFormatDateUnixTimelapse" });
|
|
1033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDateUnixTimelapsePipe, decorators: [{
|
|
1034
|
+
type: Pipe,
|
|
1035
|
+
args: [{
|
|
1036
|
+
name: 'monkeyecxFormatDateUnixTimelapse'
|
|
1037
|
+
}]
|
|
1038
|
+
}] });
|
|
1039
|
+
|
|
1040
|
+
class MonkeyEcxFormatDocumentPipe {
|
|
1041
|
+
transform(document, withType) {
|
|
1042
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(document))
|
|
1043
|
+
return '';
|
|
1044
|
+
return MonkeyEcxUtils.formatDocumentWithMask(document, withType);
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
MonkeyEcxFormatDocumentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1048
|
+
MonkeyEcxFormatDocumentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, name: "monkeyecxFormatDocument" });
|
|
1049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, decorators: [{
|
|
1050
|
+
type: Pipe,
|
|
1051
|
+
args: [{
|
|
1052
|
+
name: 'monkeyecxFormatDocument'
|
|
1053
|
+
}]
|
|
1054
|
+
}] });
|
|
1055
|
+
|
|
1056
|
+
class MonkeyEcxFormatDocumentTypePipe {
|
|
1057
|
+
transform(document, country) {
|
|
1058
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(document))
|
|
1059
|
+
return '';
|
|
1060
|
+
return MonkeyEcxUtils.getDocumentType(document, country);
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
MonkeyEcxFormatDocumentTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1064
|
+
MonkeyEcxFormatDocumentTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, name: "monkeyecxFormatDocumentType" });
|
|
1065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, decorators: [{
|
|
1066
|
+
type: Pipe,
|
|
1067
|
+
args: [{
|
|
1068
|
+
name: 'monkeyecxFormatDocumentType'
|
|
1069
|
+
}]
|
|
1070
|
+
}] });
|
|
1071
|
+
|
|
1072
|
+
class MonkeyEcxFormatNumberPipe {
|
|
1073
|
+
transform(number) {
|
|
1074
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(number))
|
|
1075
|
+
return '';
|
|
1076
|
+
return formatNumber(Number(number), 'ptbr');
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
MonkeyEcxFormatNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1080
|
+
MonkeyEcxFormatNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatNumberPipe, name: "monkeyecxFormatNumber" });
|
|
1081
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatNumberPipe, decorators: [{
|
|
1082
|
+
type: Pipe,
|
|
1083
|
+
args: [{
|
|
1084
|
+
name: 'monkeyecxFormatNumber'
|
|
1085
|
+
}]
|
|
1086
|
+
}] });
|
|
1087
|
+
|
|
1088
|
+
class MonkeyEcxFormatPhonePipe {
|
|
1089
|
+
transform(phone) {
|
|
1090
|
+
if (phone) {
|
|
1091
|
+
const value = `${phone || ''}`.replace(/\D/g, '');
|
|
1092
|
+
let formated = '';
|
|
1093
|
+
if (value.length > 12) {
|
|
1094
|
+
formated = value.replace(/(\d{2})?(\d{2})?(\d{5})?(\d{4})/, '+$1 ($2) $3-$4');
|
|
1095
|
+
}
|
|
1096
|
+
else if (value.length > 11) {
|
|
1097
|
+
formated = value.replace(/(\d{2})?(\d{2})?(\d{4})?(\d{4})/, '+$1 ($2) $3-$4');
|
|
1098
|
+
}
|
|
1099
|
+
else if (value.length > 10) {
|
|
1100
|
+
formated = value.replace(/(\d{2})?(\d{5})?(\d{4})/, '($1) $2-$3');
|
|
1101
|
+
}
|
|
1102
|
+
else if (value.length > 9) {
|
|
1103
|
+
formated = value.replace(/(\d{2})?(\d{4})?(\d{4})/, '($1) $2-$3');
|
|
1104
|
+
}
|
|
1105
|
+
else if (value.length > 5) {
|
|
1106
|
+
formated = value.replace(/^(\d{2})?(\d{4})?(\d{0,4})/, '($1) $2-$3');
|
|
1107
|
+
}
|
|
1108
|
+
else if (value.length > 1) {
|
|
1109
|
+
formated = value.replace(/^(\d{2})?(\d{0,5})/, '($1) $2');
|
|
1110
|
+
}
|
|
1111
|
+
else if (phone !== '') {
|
|
1112
|
+
formated = value.replace(/^(\d*)/, '($1');
|
|
1113
|
+
}
|
|
1114
|
+
return formated;
|
|
1115
|
+
}
|
|
1116
|
+
return '';
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
MonkeyEcxFormatPhonePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatPhonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1120
|
+
MonkeyEcxFormatPhonePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatPhonePipe, name: "monkeyecxFormatPhone" });
|
|
1121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatPhonePipe, decorators: [{
|
|
1122
|
+
type: Pipe,
|
|
1123
|
+
args: [{
|
|
1124
|
+
name: 'monkeyecxFormatPhone'
|
|
1125
|
+
}]
|
|
1126
|
+
}] });
|
|
1127
|
+
|
|
1128
|
+
class MonkeyEcxFormatSizePipe {
|
|
1129
|
+
transform(size) {
|
|
1130
|
+
if (!size)
|
|
1131
|
+
return '0 B';
|
|
1132
|
+
const sizeNum = Number(size);
|
|
1133
|
+
return MonkeyEcxUtils.formatFileSize(sizeNum);
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
MonkeyEcxFormatSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1137
|
+
MonkeyEcxFormatSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatSizePipe, name: "monkeyecxFormatSize" });
|
|
1138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatSizePipe, decorators: [{
|
|
1139
|
+
type: Pipe,
|
|
1140
|
+
args: [{
|
|
1141
|
+
name: 'monkeyecxFormatSize'
|
|
1142
|
+
}]
|
|
1143
|
+
}] });
|
|
1144
|
+
|
|
1126
1145
|
class MonkeyEcxFormatTaxPipe {
|
|
1127
1146
|
transform(tax, decimalDigits = 7) {
|
|
1128
1147
|
if (!MonkeyEcxUtils.persistNullEmptyUndefined(tax))
|
|
@@ -1143,71 +1162,70 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1143
1162
|
}]
|
|
1144
1163
|
}] });
|
|
1145
1164
|
|
|
1146
|
-
class
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
const jsonLine = /^( *)("[\w]+": )?("[^"]*"|[\w.+-]*)?([,[{])?$/gm;
|
|
1152
|
-
const replacer = (match, pIndent, pKey, pVal, pEnd) => {
|
|
1153
|
-
const key = '<span class="json-key" style="color: brown">';
|
|
1154
|
-
const val = '<span class="json-value" style="color: navy">';
|
|
1155
|
-
const str = '<span class="json-string" style="color: olive">';
|
|
1156
|
-
let r = pIndent || '';
|
|
1157
|
-
if (pKey) {
|
|
1158
|
-
r = `${r + key + pKey.replace(/[": ]/g, '')}</span>: `;
|
|
1159
|
-
}
|
|
1160
|
-
if (pVal) {
|
|
1161
|
-
r = `${r + (pVal[0] === '"' ? str : val) + pVal}</span>`;
|
|
1162
|
-
}
|
|
1163
|
-
return r + (pEnd || '');
|
|
1164
|
-
};
|
|
1165
|
-
return JSON.stringify(value, null, 3)
|
|
1166
|
-
.replace(/&/g, '&')
|
|
1167
|
-
.replace(/\\"/g, '"')
|
|
1168
|
-
.replace(/</g, '<')
|
|
1169
|
-
.replace(/>/g, '>')
|
|
1170
|
-
.replace(jsonLine, replacer);
|
|
1165
|
+
class MonkeyEcxFormatValue {
|
|
1166
|
+
transform(number) {
|
|
1167
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(number))
|
|
1168
|
+
return '';
|
|
1169
|
+
return number;
|
|
1171
1170
|
}
|
|
1172
1171
|
}
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type:
|
|
1172
|
+
MonkeyEcxFormatValue.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatValue, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1173
|
+
MonkeyEcxFormatValue.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatValue, name: "monkeyecxFormatValue" });
|
|
1174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatValue, decorators: [{
|
|
1176
1175
|
type: Pipe,
|
|
1177
1176
|
args: [{
|
|
1178
|
-
name: '
|
|
1177
|
+
name: 'monkeyecxFormatValue'
|
|
1179
1178
|
}]
|
|
1180
|
-
}]
|
|
1179
|
+
}] });
|
|
1181
1180
|
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
if (!MonkeyEcxUtils.persistNullEmptyUndefined(date))
|
|
1181
|
+
class MonkeyEcxFormatZipCodePipe {
|
|
1182
|
+
transform(zipCode) {
|
|
1183
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(zipCode))
|
|
1186
1184
|
return '';
|
|
1187
|
-
|
|
1188
|
-
if (!useUtc)
|
|
1189
|
-
stillUtc = moment.default(date).toDate();
|
|
1190
|
-
if (moment.default
|
|
1191
|
-
.utc(date)
|
|
1192
|
-
.toDate()
|
|
1193
|
-
.toLocaleString()
|
|
1194
|
-
.indexOf(':') <= -1) {
|
|
1195
|
-
if (typeof date === 'string') {
|
|
1196
|
-
stillUtc = date;
|
|
1197
|
-
showTime = false;
|
|
1198
|
-
}
|
|
1199
|
-
}
|
|
1200
|
-
const formatFrom = `YYYY/MM/DD${showTime ? ` ${format}` : ''}`;
|
|
1201
|
-
const formatTo = `DD/MM/YYYY${showTime ? ` ${format}` : ''}`;
|
|
1202
|
-
return `${moment.default(stillUtc, formatFrom).format(formatTo)}`;
|
|
1185
|
+
return MonkeyEcxUtils.formatZipCode(zipCode);
|
|
1203
1186
|
}
|
|
1204
1187
|
}
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type:
|
|
1188
|
+
MonkeyEcxFormatZipCodePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1189
|
+
MonkeyEcxFormatZipCodePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, name: "monkeyecxFormatZipCode" });
|
|
1190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, decorators: [{
|
|
1208
1191
|
type: Pipe,
|
|
1209
1192
|
args: [{
|
|
1210
|
-
name: '
|
|
1193
|
+
name: 'monkeyecxFormatZipCode'
|
|
1194
|
+
}]
|
|
1195
|
+
}] });
|
|
1196
|
+
|
|
1197
|
+
class MonkeyEcxTextTruncatePipe {
|
|
1198
|
+
transform(text, maxLength = 25) {
|
|
1199
|
+
const midChar = '...';
|
|
1200
|
+
if (!text)
|
|
1201
|
+
return midChar;
|
|
1202
|
+
if (text && text.length <= maxLength)
|
|
1203
|
+
return text;
|
|
1204
|
+
const left = Math.ceil(maxLength / 2);
|
|
1205
|
+
const right = text.length - left + 1;
|
|
1206
|
+
return `${text.substr(0, left)} ${midChar} ${text.substring(right)}`;
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
MonkeyEcxTextTruncatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTextTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1210
|
+
MonkeyEcxTextTruncatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTextTruncatePipe, name: "monkeyecxTextTruncate" });
|
|
1211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTextTruncatePipe, decorators: [{
|
|
1212
|
+
type: Pipe,
|
|
1213
|
+
args: [{
|
|
1214
|
+
name: 'monkeyecxTextTruncate'
|
|
1215
|
+
}]
|
|
1216
|
+
}] });
|
|
1217
|
+
|
|
1218
|
+
class MonkeyEcxTruncateQtdPipe {
|
|
1219
|
+
transform(number, threshold) {
|
|
1220
|
+
return `${number > threshold ? `${threshold}+` : number}`;
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
MonkeyEcxTruncateQtdPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1224
|
+
MonkeyEcxTruncateQtdPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, name: "monkeyecxTruncateQtd" });
|
|
1225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, decorators: [{
|
|
1226
|
+
type: Pipe,
|
|
1227
|
+
args: [{
|
|
1228
|
+
name: 'monkeyecxTruncateQtd'
|
|
1211
1229
|
}]
|
|
1212
1230
|
}] });
|
|
1213
1231
|
|
|
@@ -1215,79 +1233,83 @@ class MonkeyEcxPipesModule {
|
|
|
1215
1233
|
}
|
|
1216
1234
|
MonkeyEcxPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1217
1235
|
MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, declarations: [MonkeyEcxDisplayFirstNamePipe,
|
|
1236
|
+
MonkeyEcxDisplayInitialsPipe,
|
|
1218
1237
|
MonkeyEcxFormatAddressPipe,
|
|
1238
|
+
MonkeyEcxFormatBeaufityJSONPipe,
|
|
1219
1239
|
MonkeyEcxFormatCurrencyPipe,
|
|
1220
|
-
MonkeyEcxFormatDateTimelapsePipe,
|
|
1221
1240
|
MonkeyEcxFormatDateGroupPipe,
|
|
1241
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
1242
|
+
MonkeyEcxFormatDateUnixTimelapsePipe,
|
|
1222
1243
|
MonkeyEcxFormatDocumentPipe,
|
|
1244
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
1223
1245
|
MonkeyEcxFormatNumberPipe,
|
|
1224
1246
|
MonkeyEcxFormatPhonePipe,
|
|
1225
1247
|
MonkeyEcxFormatSizePipe,
|
|
1226
1248
|
MonkeyEcxFormatTaxPipe,
|
|
1227
|
-
MonkeyEcxFormatDocumentTypePipe,
|
|
1228
1249
|
MonkeyEcxFormatValue,
|
|
1229
1250
|
MonkeyEcxFormatZipCodePipe,
|
|
1230
1251
|
MonkeyEcxTextTruncatePipe,
|
|
1231
|
-
MonkeyEcxTruncateQtdPipe,
|
|
1232
|
-
|
|
1233
|
-
MonkeyEcxFormatDateUnixTimelapsePipe], exports: [MonkeyEcxDisplayFirstNamePipe,
|
|
1252
|
+
MonkeyEcxTruncateQtdPipe], exports: [MonkeyEcxDisplayFirstNamePipe,
|
|
1253
|
+
MonkeyEcxDisplayInitialsPipe,
|
|
1234
1254
|
MonkeyEcxFormatAddressPipe,
|
|
1255
|
+
MonkeyEcxFormatBeaufityJSONPipe,
|
|
1235
1256
|
MonkeyEcxFormatCurrencyPipe,
|
|
1236
|
-
MonkeyEcxFormatDateTimelapsePipe,
|
|
1237
1257
|
MonkeyEcxFormatDateGroupPipe,
|
|
1258
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
1259
|
+
MonkeyEcxFormatDateUnixTimelapsePipe,
|
|
1238
1260
|
MonkeyEcxFormatDocumentPipe,
|
|
1261
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
1239
1262
|
MonkeyEcxFormatNumberPipe,
|
|
1240
1263
|
MonkeyEcxFormatPhonePipe,
|
|
1241
1264
|
MonkeyEcxFormatSizePipe,
|
|
1242
1265
|
MonkeyEcxFormatTaxPipe,
|
|
1243
|
-
MonkeyEcxFormatDocumentTypePipe,
|
|
1244
1266
|
MonkeyEcxFormatValue,
|
|
1245
1267
|
MonkeyEcxFormatZipCodePipe,
|
|
1246
1268
|
MonkeyEcxTextTruncatePipe,
|
|
1247
|
-
MonkeyEcxTruncateQtdPipe
|
|
1248
|
-
MonkeyEcxFormatBeaufityJSONPipe,
|
|
1249
|
-
MonkeyEcxFormatDateUnixTimelapsePipe] });
|
|
1269
|
+
MonkeyEcxTruncateQtdPipe] });
|
|
1250
1270
|
MonkeyEcxPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, providers: [CurrencyPipe] });
|
|
1251
1271
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, decorators: [{
|
|
1252
1272
|
type: NgModule,
|
|
1253
1273
|
args: [{
|
|
1254
1274
|
declarations: [
|
|
1255
1275
|
MonkeyEcxDisplayFirstNamePipe,
|
|
1276
|
+
MonkeyEcxDisplayInitialsPipe,
|
|
1256
1277
|
MonkeyEcxFormatAddressPipe,
|
|
1278
|
+
MonkeyEcxFormatBeaufityJSONPipe,
|
|
1257
1279
|
MonkeyEcxFormatCurrencyPipe,
|
|
1258
|
-
MonkeyEcxFormatDateTimelapsePipe,
|
|
1259
1280
|
MonkeyEcxFormatDateGroupPipe,
|
|
1281
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
1282
|
+
MonkeyEcxFormatDateUnixTimelapsePipe,
|
|
1260
1283
|
MonkeyEcxFormatDocumentPipe,
|
|
1284
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
1261
1285
|
MonkeyEcxFormatNumberPipe,
|
|
1262
1286
|
MonkeyEcxFormatPhonePipe,
|
|
1263
1287
|
MonkeyEcxFormatSizePipe,
|
|
1264
1288
|
MonkeyEcxFormatTaxPipe,
|
|
1265
|
-
MonkeyEcxFormatDocumentTypePipe,
|
|
1266
1289
|
MonkeyEcxFormatValue,
|
|
1267
1290
|
MonkeyEcxFormatZipCodePipe,
|
|
1268
1291
|
MonkeyEcxTextTruncatePipe,
|
|
1269
|
-
MonkeyEcxTruncateQtdPipe
|
|
1270
|
-
MonkeyEcxFormatBeaufityJSONPipe,
|
|
1271
|
-
MonkeyEcxFormatDateUnixTimelapsePipe
|
|
1292
|
+
MonkeyEcxTruncateQtdPipe
|
|
1272
1293
|
],
|
|
1273
1294
|
exports: [
|
|
1274
1295
|
MonkeyEcxDisplayFirstNamePipe,
|
|
1296
|
+
MonkeyEcxDisplayInitialsPipe,
|
|
1275
1297
|
MonkeyEcxFormatAddressPipe,
|
|
1298
|
+
MonkeyEcxFormatBeaufityJSONPipe,
|
|
1276
1299
|
MonkeyEcxFormatCurrencyPipe,
|
|
1277
|
-
MonkeyEcxFormatDateTimelapsePipe,
|
|
1278
1300
|
MonkeyEcxFormatDateGroupPipe,
|
|
1301
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
1302
|
+
MonkeyEcxFormatDateUnixTimelapsePipe,
|
|
1279
1303
|
MonkeyEcxFormatDocumentPipe,
|
|
1304
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
1280
1305
|
MonkeyEcxFormatNumberPipe,
|
|
1281
1306
|
MonkeyEcxFormatPhonePipe,
|
|
1282
1307
|
MonkeyEcxFormatSizePipe,
|
|
1283
1308
|
MonkeyEcxFormatTaxPipe,
|
|
1284
|
-
MonkeyEcxFormatDocumentTypePipe,
|
|
1285
1309
|
MonkeyEcxFormatValue,
|
|
1286
1310
|
MonkeyEcxFormatZipCodePipe,
|
|
1287
1311
|
MonkeyEcxTextTruncatePipe,
|
|
1288
|
-
MonkeyEcxTruncateQtdPipe
|
|
1289
|
-
MonkeyEcxFormatBeaufityJSONPipe,
|
|
1290
|
-
MonkeyEcxFormatDateUnixTimelapsePipe
|
|
1312
|
+
MonkeyEcxTruncateQtdPipe
|
|
1291
1313
|
],
|
|
1292
1314
|
providers: [CurrencyPipe]
|
|
1293
1315
|
}]
|
|
@@ -5012,5 +5034,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
5012
5034
|
* Generated bundle index. Do not edit.
|
|
5013
5035
|
*/
|
|
5014
5036
|
|
|
5015
|
-
export { ClosedToMaintenanceComponent, ClosedToMaintenanceModule, decoratorsUtils as DecoratorsUtils, Link, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardCompany, MonkeyEcxAuthGuardLogin, MonkeyEcxAuthenticationService, MonkeyEcxCommonsService, MonkeyEcxConfigModule, MonkeyEcxConfigService, MonkeyEcxCookieStorageService, MonkeyEcxCoreCharts, MonkeyEcxCoreClearDecorators, MonkeyEcxCoreLog, MonkeyEcxCoreService, MonkeyEcxCoreServiceConstructor, MonkeyEcxCoreServicePaged, MonkeyEcxCoreServiceQueue, MonkeyEcxDirectivesModule, MonkeyEcxDiscoveryParamsService, MonkeyEcxDisplayFirstNamePipe, 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, trueValidator, urlValidator, valueGreaterThanZero, zipCodeValidator };
|
|
5037
|
+
export { ClosedToMaintenanceComponent, ClosedToMaintenanceModule, decoratorsUtils as DecoratorsUtils, Link, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardCompany, MonkeyEcxAuthGuardLogin, MonkeyEcxAuthenticationService, MonkeyEcxCommonsService, MonkeyEcxConfigModule, MonkeyEcxConfigService, MonkeyEcxCookieStorageService, MonkeyEcxCoreCharts, MonkeyEcxCoreClearDecorators, MonkeyEcxCoreLog, MonkeyEcxCoreService, MonkeyEcxCoreServiceConstructor, MonkeyEcxCoreServicePaged, MonkeyEcxCoreServiceQueue, 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, trueValidator, urlValidator, valueGreaterThanZero, zipCodeValidator };
|
|
5016
5038
|
//# sourceMappingURL=monkey-front-core.mjs.map
|