@guajiritos/general-autocomplete 0.0.6 → 0.0.8
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/guajiritos-general-autocomplete.mjs +4 -4
- package/esm2020/lib/guachos-general-autocomplete.component.mjs +327 -309
- package/esm2020/lib/guachos-general-autocomplete.module.mjs +108 -108
- package/esm2020/public-api.mjs +7 -7
- package/esm2020/utils/constants/contacts.mjs +9 -9
- package/esm2020/utils/interfaces/interfaces.mjs +11 -11
- package/esm2020/utils/pipes/duration.pipe.mjs +17 -17
- package/esm2020/utils/pipes/humanize-duration.pipe.mjs +16 -16
- package/esm2020/utils/pipes/i18n-field.pipe.mjs +27 -27
- package/esm2020/utils/pipes/ida-return.pipe.mjs +22 -22
- package/esm2020/utils/pipes/resolve-property-path.pipe.mjs +79 -79
- package/esm2020/utils/pipes/show-roles.pipe.mjs +23 -23
- package/esm2020/utils/pipes/show-segments.pipe.mjs +23 -23
- package/esm2020/utils/pipes/show-transport-types.pipe.mjs +23 -23
- package/esm2020/utils/services/autocomplete.service.mjs +161 -161
- package/esm2020/utils/services/utils.service.mjs +47 -47
- package/fesm2015/guajiritos-general-autocomplete.mjs +802 -784
- package/fesm2015/guajiritos-general-autocomplete.mjs.map +1 -1
- package/fesm2020/guajiritos-general-autocomplete.mjs +798 -780
- package/fesm2020/guajiritos-general-autocomplete.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/guachos-general-autocomplete.component.d.ts +72 -72
- package/lib/guachos-general-autocomplete.module.d.ts +24 -24
- package/package.json +3 -2
- package/public-api.d.ts +4 -4
- package/utils/constants/contacts.d.ts +2 -2
- package/utils/interfaces/interfaces.d.ts +33 -33
- package/utils/pipes/duration.pipe.d.ts +8 -8
- package/utils/pipes/humanize-duration.pipe.d.ts +7 -7
- package/utils/pipes/i18n-field.pipe.d.ts +7 -7
- package/utils/pipes/ida-return.pipe.d.ts +8 -8
- package/utils/pipes/resolve-property-path.pipe.d.ts +24 -24
- package/utils/pipes/show-roles.pipe.d.ts +8 -8
- package/utils/pipes/show-segments.pipe.d.ts +8 -8
- package/utils/pipes/show-transport-types.pipe.d.ts +8 -8
- package/utils/services/autocomplete.service.d.ts +15 -15
- package/utils/services/utils.service.d.ts +25 -25
@@ -1,80 +1,80 @@
|
|
1
|
-
import { CurrencyPipe, UpperCasePipe } from '@angular/common';
|
2
|
-
import { Pipe } from '@angular/core';
|
3
|
-
import { DurationTimePipe } from './duration.pipe';
|
4
|
-
import { HumanizeDurationPipe } from './humanize-duration.pipe';
|
5
|
-
import { IdaReturnPipe } from './ida-return.pipe';
|
6
|
-
import { ShowRolesPipe } from './show-roles.pipe';
|
7
|
-
import { ShowSegmentsPipe } from './show-segments.pipe';
|
8
|
-
import { ShowTransportTypesPipe } from './show-transport-types.pipe';
|
9
|
-
import { CustomPipes } from "../interfaces/interfaces";
|
10
|
-
import { UtilsService } from '../services/utils.service';
|
11
|
-
import * as i0 from "@angular/core";
|
12
|
-
import * as i1 from "./show-segments.pipe";
|
13
|
-
import * as i2 from "./show-roles.pipe";
|
14
|
-
import * as i3 from "./show-transport-types.pipe";
|
15
|
-
import * as i4 from "./ida-return.pipe";
|
16
|
-
import * as i5 from "@angular/common";
|
17
|
-
import * as i6 from "./humanize-duration.pipe";
|
18
|
-
import * as i7 from "./duration.pipe";
|
19
|
-
export class ResolvePropertyPath {
|
20
|
-
constructor(_showSegmentPipe, _showRolesPipe, _showTransportTypesPipe, _idaReturnPipe, _currencyPipe, _humanizeDurationPipe, _upperCasePipe, _durationPipe) {
|
21
|
-
this._showSegmentPipe = _showSegmentPipe;
|
22
|
-
this._showRolesPipe = _showRolesPipe;
|
23
|
-
this._showTransportTypesPipe = _showTransportTypesPipe;
|
24
|
-
this._idaReturnPipe = _idaReturnPipe;
|
25
|
-
this._currencyPipe = _currencyPipe;
|
26
|
-
this._humanizeDurationPipe = _humanizeDurationPipe;
|
27
|
-
this._upperCasePipe = _upperCasePipe;
|
28
|
-
this._durationPipe = _durationPipe;
|
29
|
-
}
|
30
|
-
transform(obj, path) {
|
31
|
-
let result = '';
|
32
|
-
path?.forEach(item => {
|
33
|
-
if (item?.type === 'divider') {
|
34
|
-
result += item?.divider;
|
35
|
-
}
|
36
|
-
else {
|
37
|
-
if (item?.path) {
|
38
|
-
let value = UtilsService.resolvePropertyByPath(obj, item.path);
|
39
|
-
switch (item?.customPipe) {
|
40
|
-
case CustomPipes.SHOW_SEGMENTS:
|
41
|
-
value = this._showSegmentPipe.transform(value);
|
42
|
-
break;
|
43
|
-
case CustomPipes.DURATION_TIME:
|
44
|
-
value = this._durationPipe.transform(value);
|
45
|
-
break;
|
46
|
-
case CustomPipes.HUMANIZE_DURATION:
|
47
|
-
value = this._humanizeDurationPipe.transform(value);
|
48
|
-
break;
|
49
|
-
case CustomPipes.SHOW_TRANSPORT_TYPES:
|
50
|
-
value = this._showTransportTypesPipe.transform(value);
|
51
|
-
break;
|
52
|
-
case CustomPipes.SHOW_ROLES:
|
53
|
-
value = this._showRolesPipe.transform(value);
|
54
|
-
break;
|
55
|
-
case CustomPipes.IDA_RETURN:
|
56
|
-
value = this._idaReturnPipe.transform(value);
|
57
|
-
break;
|
58
|
-
case CustomPipes.CURRENCY:
|
59
|
-
value = this._currencyPipe.transform(value);
|
60
|
-
break;
|
61
|
-
case CustomPipes.UPPERCASE:
|
62
|
-
value = this._upperCasePipe.transform(value);
|
63
|
-
break;
|
64
|
-
default:
|
65
|
-
break;
|
66
|
-
}
|
67
|
-
result += value;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
});
|
71
|
-
return result;
|
72
|
-
}
|
73
|
-
}
|
74
|
-
ResolvePropertyPath.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
75
|
-
ResolvePropertyPath.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
77
|
-
type: Pipe,
|
78
|
-
args: [{ name: 'resolvePropertyPath' }]
|
79
|
-
}], ctorParameters: function () { return [{ type: i1.ShowSegmentsPipe }, { type: i2.ShowRolesPipe }, { type: i3.ShowTransportTypesPipe }, { type: i4.IdaReturnPipe }, { type: i5.CurrencyPipe }, { type: i6.HumanizeDurationPipe }, { type: i5.UpperCasePipe }, { type: i7.DurationTimePipe }]; } });
|
1
|
+
import { CurrencyPipe, UpperCasePipe } from '@angular/common';
|
2
|
+
import { Pipe } from '@angular/core';
|
3
|
+
import { DurationTimePipe } from './duration.pipe';
|
4
|
+
import { HumanizeDurationPipe } from './humanize-duration.pipe';
|
5
|
+
import { IdaReturnPipe } from './ida-return.pipe';
|
6
|
+
import { ShowRolesPipe } from './show-roles.pipe';
|
7
|
+
import { ShowSegmentsPipe } from './show-segments.pipe';
|
8
|
+
import { ShowTransportTypesPipe } from './show-transport-types.pipe';
|
9
|
+
import { CustomPipes } from "../interfaces/interfaces";
|
10
|
+
import { UtilsService } from '../services/utils.service';
|
11
|
+
import * as i0 from "@angular/core";
|
12
|
+
import * as i1 from "./show-segments.pipe";
|
13
|
+
import * as i2 from "./show-roles.pipe";
|
14
|
+
import * as i3 from "./show-transport-types.pipe";
|
15
|
+
import * as i4 from "./ida-return.pipe";
|
16
|
+
import * as i5 from "@angular/common";
|
17
|
+
import * as i6 from "./humanize-duration.pipe";
|
18
|
+
import * as i7 from "./duration.pipe";
|
19
|
+
export class ResolvePropertyPath {
|
20
|
+
constructor(_showSegmentPipe, _showRolesPipe, _showTransportTypesPipe, _idaReturnPipe, _currencyPipe, _humanizeDurationPipe, _upperCasePipe, _durationPipe) {
|
21
|
+
this._showSegmentPipe = _showSegmentPipe;
|
22
|
+
this._showRolesPipe = _showRolesPipe;
|
23
|
+
this._showTransportTypesPipe = _showTransportTypesPipe;
|
24
|
+
this._idaReturnPipe = _idaReturnPipe;
|
25
|
+
this._currencyPipe = _currencyPipe;
|
26
|
+
this._humanizeDurationPipe = _humanizeDurationPipe;
|
27
|
+
this._upperCasePipe = _upperCasePipe;
|
28
|
+
this._durationPipe = _durationPipe;
|
29
|
+
}
|
30
|
+
transform(obj, path) {
|
31
|
+
let result = '';
|
32
|
+
path?.forEach(item => {
|
33
|
+
if (item?.type === 'divider') {
|
34
|
+
result += item?.divider;
|
35
|
+
}
|
36
|
+
else {
|
37
|
+
if (item?.path) {
|
38
|
+
let value = UtilsService.resolvePropertyByPath(obj, item.path);
|
39
|
+
switch (item?.customPipe) {
|
40
|
+
case CustomPipes.SHOW_SEGMENTS:
|
41
|
+
value = this._showSegmentPipe.transform(value);
|
42
|
+
break;
|
43
|
+
case CustomPipes.DURATION_TIME:
|
44
|
+
value = this._durationPipe.transform(value);
|
45
|
+
break;
|
46
|
+
case CustomPipes.HUMANIZE_DURATION:
|
47
|
+
value = this._humanizeDurationPipe.transform(value);
|
48
|
+
break;
|
49
|
+
case CustomPipes.SHOW_TRANSPORT_TYPES:
|
50
|
+
value = this._showTransportTypesPipe.transform(value);
|
51
|
+
break;
|
52
|
+
case CustomPipes.SHOW_ROLES:
|
53
|
+
value = this._showRolesPipe.transform(value);
|
54
|
+
break;
|
55
|
+
case CustomPipes.IDA_RETURN:
|
56
|
+
value = this._idaReturnPipe.transform(value);
|
57
|
+
break;
|
58
|
+
case CustomPipes.CURRENCY:
|
59
|
+
value = this._currencyPipe.transform(value);
|
60
|
+
break;
|
61
|
+
case CustomPipes.UPPERCASE:
|
62
|
+
value = this._upperCasePipe.transform(value);
|
63
|
+
break;
|
64
|
+
default:
|
65
|
+
break;
|
66
|
+
}
|
67
|
+
result += value;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
});
|
71
|
+
return result;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
ResolvePropertyPath.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResolvePropertyPath, deps: [{ token: i1.ShowSegmentsPipe }, { token: i2.ShowRolesPipe }, { token: i3.ShowTransportTypesPipe }, { token: i4.IdaReturnPipe }, { token: i5.CurrencyPipe }, { token: i6.HumanizeDurationPipe }, { token: i5.UpperCasePipe }, { token: i7.DurationTimePipe }], target: i0.ɵɵFactoryTarget.Pipe });
|
75
|
+
ResolvePropertyPath.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: ResolvePropertyPath, name: "resolvePropertyPath" });
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResolvePropertyPath, decorators: [{
|
77
|
+
type: Pipe,
|
78
|
+
args: [{ name: 'resolvePropertyPath' }]
|
79
|
+
}], ctorParameters: function () { return [{ type: i1.ShowSegmentsPipe }, { type: i2.ShowRolesPipe }, { type: i3.ShowTransportTypesPipe }, { type: i4.IdaReturnPipe }, { type: i5.CurrencyPipe }, { type: i6.HumanizeDurationPipe }, { type: i5.UpperCasePipe }, { type: i7.DurationTimePipe }]; } });
|
80
80
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS1wcm9wZXJ0eS1wYXRoLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ndWFjaG9zLWdlbmVyYWwtYXV0b2NvbXBsZXRlL3NyYy91dGlscy9waXBlcy9yZXNvbHZlLXByb3BlcnR5LXBhdGgucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsWUFBWSxFQUFFLGFBQWEsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzVELE9BQU8sRUFBQyxJQUFJLEVBQWdCLE1BQU0sZUFBZSxDQUFDO0FBRWxELE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQ2pELE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUF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ZTogRHVyYXRpb25UaW1lUGlwZVxyXG4gICAgKSB7XHJcbiAgICB9XHJcblxyXG4gICAgdHJhbnNmb3JtKG9iajogYW55LCBwYXRoOiBEaXNwbGF5T3B0aW9uSXRlbVtdKTogc3RyaW5nIHtcclxuICAgICAgICBsZXQgcmVzdWx0OiBzdHJpbmcgPSAnJztcclxuXHJcbiAgICAgICAgcGF0aD8uZm9yRWFjaChpdGVtID0+IHtcclxuICAgICAgICAgICAgaWYgKGl0ZW0/LnR5cGUgPT09ICdkaXZpZGVyJykge1xyXG4gICAgICAgICAgICAgICAgcmVzdWx0ICs9IGl0ZW0/LmRpdmlkZXI7XHJcbiAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICBpZiAoaXRlbT8ucGF0aCkge1xyXG4gICAgICAgICAgICAgICAgICAgIGxldCB2YWx1ZSA9IFV0aWxzU2VydmljZS5yZXNvbHZlUHJvcGVydHlCeVBhdGgob2JqLCBpdGVtLnBhdGgpO1xyXG5cclxuICAgICAgICAgICAgICAgICAgICBzd2l0Y2ggKGl0ZW0/LmN1c3RvbVBpcGUpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgY2FzZSBDdXN0b21QaXBlcy5TSE9XX1NFR01FTlRTOlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWUgPSB0aGlzLl9zaG93U2VnbWVudFBpcGUudHJhbnNmb3JtKHZhbHVlKTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjYXNlIEN1c3RvbVBpcGVzLkRVUkFUSU9OX1RJTUU6XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZSA9IHRoaXMuX2R1cmF0aW9uUGlwZS50cmFuc2Zvcm0odmFsdWUpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgQ3VzdG9tUGlwZXMuSFVNQU5JWkVfRFVSQVRJT046XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZSA9IHRoaXMuX2h1bWFuaXplRHVyYXRpb25QaXBlLnRyYW5zZm9ybSh2YWx1ZSk7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgICAgICAgICAgICAgY2FzZSBDdXN0b21QaXBlcy5TSE9XX1RSQU5TUE9SVF9UWVBFUzpcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlID0gdGhpcy5fc2hvd1RyYW5zcG9ydFR5cGVzUGlwZS50cmFuc2Zvcm0odmFsdWUpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgQ3VzdG9tUGlwZXMuU0hPV19ST0xFUzpcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlID0gdGhpcy5fc2hvd1JvbGVzUGlwZS50cmFuc2Zvcm0odmFsdWUpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgQ3VzdG9tUGlwZXMuSURBX1JFVFVSTjpcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlID0gdGhpcy5faWRhUmV0dXJuUGlwZS50cmFuc2Zvcm0odmFsdWUpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgQ3VzdG9tUGlwZXMuQ1VSUkVOQ1k6XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZSA9IHRoaXMuX2N1cnJlbmN5UGlwZS50cmFuc2Zvcm0odmFsdWUpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgQ3VzdG9tUGlwZXMuVVBQRVJDQVNFOlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWUgPSB0aGlzLl91cHBlckNhc2VQaXBlLnRyYW5zZm9ybSh2YWx1ZSk7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgICAgICAgICAgICAgZGVmYXVsdDpcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICByZXN1bHQgKz0gdmFsdWU7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9KTtcclxuXHJcbiAgICAgICAgcmV0dXJuIHJlc3VsdDtcclxuICAgIH1cclxufVxyXG4iXX0=
|
@@ -1,24 +1,24 @@
|
|
1
|
-
import { Injectable, Pipe } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export class ShowRolesPipe {
|
4
|
-
transform(value) {
|
5
|
-
let result = '';
|
6
|
-
if (value?.length) {
|
7
|
-
value.forEach(item => {
|
8
|
-
result += item?.Rol?.name + ', ';
|
9
|
-
});
|
10
|
-
result = result.substring(0, result?.length - 2);
|
11
|
-
}
|
12
|
-
return result;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
ShowRolesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
16
|
-
ShowRolesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
17
|
-
ShowRolesPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
19
|
-
type: Injectable
|
20
|
-
}, {
|
21
|
-
type: Pipe,
|
22
|
-
args: [{ name: 'showSegments' }]
|
23
|
-
}] });
|
1
|
+
import { Injectable, Pipe } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class ShowRolesPipe {
|
4
|
+
transform(value) {
|
5
|
+
let result = '';
|
6
|
+
if (value?.length) {
|
7
|
+
value.forEach(item => {
|
8
|
+
result += item?.Rol?.name + ', ';
|
9
|
+
});
|
10
|
+
result = result.substring(0, result?.length - 2);
|
11
|
+
}
|
12
|
+
return result;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
ShowRolesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ShowRolesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
16
|
+
ShowRolesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: ShowRolesPipe, name: "showSegments" });
|
17
|
+
ShowRolesPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ShowRolesPipe });
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ShowRolesPipe, decorators: [{
|
19
|
+
type: Injectable
|
20
|
+
}, {
|
21
|
+
type: Pipe,
|
22
|
+
args: [{ name: 'showSegments' }]
|
23
|
+
}] });
|
24
24
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvdy1yb2xlcy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZ3VhY2hvcy1nZW5lcmFsLWF1dG9jb21wbGV0ZS9zcmMvdXRpbHMvcGlwZXMvc2hvdy1yb2xlcy5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUUsSUFBSSxFQUFnQixNQUFNLGVBQWUsQ0FBQz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HQgKz0gaXRlbT8uUm9sPy5uYW1lICsgJywgJztcclxuICAgICAgICAgICAgfSk7XHJcblxyXG4gICAgICAgICAgICByZXN1bHQgPSByZXN1bHQuc3Vic3RyaW5nKDAsIHJlc3VsdD8ubGVuZ3RoIC0gMik7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICByZXR1cm4gcmVzdWx0O1xyXG4gICAgfVxyXG59XHJcbiJdfQ==
|
@@ -1,24 +1,24 @@
|
|
1
|
-
import { Injectable, Pipe } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export class ShowSegmentsPipe {
|
4
|
-
transform(value) {
|
5
|
-
let result = '';
|
6
|
-
if (value?.length) {
|
7
|
-
value.forEach(item => {
|
8
|
-
result += item?.Segment?.PlaceOrigin?.alpha3 + '-' + item?.Segment?.PlaceDestination?.alpha3 + ', ';
|
9
|
-
});
|
10
|
-
result = result.substring(0, result?.length - 2);
|
11
|
-
}
|
12
|
-
return result;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
ShowSegmentsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
16
|
-
ShowSegmentsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
17
|
-
ShowSegmentsPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
19
|
-
type: Injectable
|
20
|
-
}, {
|
21
|
-
type: Pipe,
|
22
|
-
args: [{ name: 'showSegments' }]
|
23
|
-
}] });
|
1
|
+
import { Injectable, Pipe } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class ShowSegmentsPipe {
|
4
|
+
transform(value) {
|
5
|
+
let result = '';
|
6
|
+
if (value?.length) {
|
7
|
+
value.forEach(item => {
|
8
|
+
result += item?.Segment?.PlaceOrigin?.alpha3 + '-' + item?.Segment?.PlaceDestination?.alpha3 + ', ';
|
9
|
+
});
|
10
|
+
result = result.substring(0, result?.length - 2);
|
11
|
+
}
|
12
|
+
return result;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
ShowSegmentsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ShowSegmentsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
16
|
+
ShowSegmentsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: ShowSegmentsPipe, name: "showSegments" });
|
17
|
+
ShowSegmentsPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ShowSegmentsPipe });
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ShowSegmentsPipe, decorators: [{
|
19
|
+
type: Injectable
|
20
|
+
}, {
|
21
|
+
type: Pipe,
|
22
|
+
args: [{ name: 'showSegments' }]
|
23
|
+
}] });
|
24
24
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvdy1zZWdtZW50cy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZ3VhY2hvcy1nZW5lcmFsLWF1dG9jb21wbGV0ZS9zcmMvdXRpbHMvcGlwZXMvc2hvdy1zZWdtZW50cy5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUUsSUFBSSxFQUFnQixNQUFNLGVBQWUsQ0FBQzs7QUFJOUQsTUFBTSxPQUFPLGdCQUFnQjtJQUN6QixTQUFTLENBQUMsS0FBWTtRQUNsQixJQUFJLE1BQU0sR0FBRyxFQUFFLENBQUM7UUFFaEIsSUFBSSxLQUFLLE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W50Py5QbGFjZU9yaWdpbj8uYWxwaGEzICsgJy0nICsgaXRlbT8uU2VnbWVudD8uUGxhY2VEZXN0aW5hdGlvbj8uYWxwaGEzICsgJywgJztcclxuICAgICAgICAgICAgfSk7XHJcblxyXG4gICAgICAgICAgICByZXN1bHQgPSByZXN1bHQuc3Vic3RyaW5nKDAsIHJlc3VsdD8ubGVuZ3RoIC0gMik7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICByZXR1cm4gcmVzdWx0O1xyXG4gICAgfVxyXG59XHJcbiJdfQ==
|
@@ -1,24 +1,24 @@
|
|
1
|
-
import { Injectable, Pipe } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export class ShowTransportTypesPipe {
|
4
|
-
transform(value) {
|
5
|
-
let result = '';
|
6
|
-
if (value?.length) {
|
7
|
-
value.forEach(item => {
|
8
|
-
result += item?.TransportType?.name['es'] + ', ';
|
9
|
-
});
|
10
|
-
result = result.substring(0, result?.length - 2);
|
11
|
-
}
|
12
|
-
return result;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
ShowTransportTypesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
16
|
-
ShowTransportTypesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
17
|
-
ShowTransportTypesPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
19
|
-
type: Injectable
|
20
|
-
}, {
|
21
|
-
type: Pipe,
|
22
|
-
args: [{ name: 'showTransportTypes' }]
|
23
|
-
}] });
|
1
|
+
import { Injectable, Pipe } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class ShowTransportTypesPipe {
|
4
|
+
transform(value) {
|
5
|
+
let result = '';
|
6
|
+
if (value?.length) {
|
7
|
+
value.forEach(item => {
|
8
|
+
result += item?.TransportType?.name['es'] + ', ';
|
9
|
+
});
|
10
|
+
result = result.substring(0, result?.length - 2);
|
11
|
+
}
|
12
|
+
return result;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
ShowTransportTypesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ShowTransportTypesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
16
|
+
ShowTransportTypesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: ShowTransportTypesPipe, name: "showTransportTypes" });
|
17
|
+
ShowTransportTypesPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ShowTransportTypesPipe });
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ShowTransportTypesPipe, decorators: [{
|
19
|
+
type: Injectable
|
20
|
+
}, {
|
21
|
+
type: Pipe,
|
22
|
+
args: [{ name: 'showTransportTypes' }]
|
23
|
+
}] });
|
24
24
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvdy10cmFuc3BvcnQtdHlwZXMucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2d1YWNob3MtZ2VuZXJhbC1hdXRvY29tcGxldGUvc3JjL3V0aWxzL3BpcGVzL3Nob3ctdHJhbnNwb3J0LXR5cGVzLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFVBQVUsRUFBRSxJQUFJLEVBQWdCLE1BQU0sZUFBZSxDQUFDOztBQUk5RCxNQUFNLE9BQU8sc0JBQXNCO0lBQy9CLFNBQVMsQ0FBQyxLQUFZO1FBQ2xCLElBQUksTUFBTSxHQUFHLE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