PageSourceSearch

https://portafolio-personal-264fb.firebaseapp.com/views-experiencia-experiencia-module-es2015.js

js portafolio-personal-264fb.firebaseapp.com collected 2026-10-03 08:13:47 UTC 13,289 bytes, 208 lines download raw bytes

1(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["views-experiencia-experiencia-module"],{
2
3/***/ "899g":
4/*!*********************************************************!*\
5  !*** ./src/app/views/experiencia/experiencia.module.ts ***!
6  \*********************************************************/
7/*! exports provided: ExperienciaModule */
8/***/ (function(module, __webpack_exports__, __webpack_require__) {
9
10"use strict";
11__webpack_require__.r(__webpack_exports__);
12/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExperienciaModule", function() { return ExperienciaModule; });
13/* harmony import */ var _experiencia_routing_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./experiencia-routing.module */ "fqvF");
14/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "ofXK");
15/* harmony import */ var _experiencia_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./experiencia.component */ "vi3f");
16/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ "fXoL");
17
18
19
20
21class ExperienciaModule {
22}
23ExperienciaModule.ɵfac = function ExperienciaModule_Factory(t) { return new (t || ExperienciaModule)(); };
24ExperienciaModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({ type: ExperienciaModule });
25ExperienciaModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({ imports: [[_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"], _experiencia_routing_module__WEBPACK_IMPORTED_MODULE_0__["ExperienciaRoutingModule"]]] });
26(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](ExperienciaModule, { declarations: [_experiencia_component__WEBPACK_IMPORTED_MODULE_2__["ExperienciaComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"], _experiencia_routing_module__WEBPACK_IMPORTED_MODULE_0__["ExperienciaRoutingModule"]] }); })();
27
28
29/***/ }),
30
31/***/ "fqvF":
32/*!*****************************************************************!*\
33  !*** ./src/app/views/experiencia/experiencia-routing.module.ts ***!
34  \*****************************************************************/
35/*! exports provided: ExperienciaRoutingModule */
36/***/ (function(module, __webpack_exports__, __webpack_require__) {
37
38"use strict";
39__webpack_require__.r(__webpack_exports__);
40/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExperienciaRoutingModule", function() { return ExperienciaRoutingModule; });
41/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/router */ "tyNb");
42/* harmony import */ var _experiencia_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./experiencia.component */ "vi3f");
43/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "fXoL");
44
45
46
47
48const routes = [
49    {
50        path: '',
51        component: _experiencia_component__WEBPACK_IMPORTED_MODULE_1__["ExperienciaComponent"],
52    },
53];
54class ExperienciaRoutingModule {
55}
56ExperienciaRoutingModule.ɵfac = function ExperienciaRoutingModule_Factory(t) { return new (t || ExperienciaRoutingModule)(); };
57ExperienciaRoutingModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineNgModule"]({ type: ExperienciaRoutingModule });
58ExperienciaRoutingModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjector"]({ imports: [[
59            _angular_router__WEBPACK_IMPORTED_MODULE_0__["RouterModule"].forChild(routes),
60        ], _angular_router__WEBPACK_IMPORTED_MODULE_0__["RouterModule"]] });
61(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵsetNgModuleScope"](ExperienciaRoutingModule, { imports: [_angular_router__WEBPACK_IMPORTED_MODULE_0__["RouterModule"]], exports: [_angular_router__WEBPACK_IMPORTED_MODULE_0__["RouterModule"]] }); })();
62
63
64/***/ }),
65
66/***/ "vi3f":
67/*!************************************************************!*\
68  !*** ./src/app/views/experiencia/experiencia.component.ts ***!
69  \************************************************************/
70/*! exports provided: ExperienciaComponent */
71/***/ (function(module, __webpack_exports__, __webpack_require__) {
72
73"use strict";
74__webpack_require__.r(__webpack_exports__);
75/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExperienciaComponent", function() { return ExperienciaComponent; });
76/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
77/* harmony import */ var src_app_core_services_experiencia_experiencia_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/core/services/experiencia/experiencia.service */ "xE2+");
78/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "tyNb");
79/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "ofXK");
80
81
82
83
84function ExperienciaComponent_div_2_img_12_Template(rf, ctx) { if (rf & 1) {
85    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "img", 12);
86} if (rf & 2) {
87    const tecnologia_r3 = ctx.$implicit;
88    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", tecnologia_r3.DES_NOMBRE, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
89} }
90function ExperienciaComponent_div_2_Template(rf, ctx) { if (rf & 1) {
91    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 3);
92    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 4);
93    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "img", 5);
94    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
95    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 6);
96    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "h5", 7);
97    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
98    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
99    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "p", 8);
100    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
101    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
102    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "p", 8);
103    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
104    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
105    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
106    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "div", 9);
107    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "div", 10);
108    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, ExperienciaComponent_div_2_img_12_Template, 1, 1, "img", 11);
109    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
110    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
111    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
112} if (rf & 2) {
113    const experiencia_r1 = ctx.$implicit;
114    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
115    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", experiencia_r1.DES_IMG, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"])("alt", experiencia_r1.DES_NOMBRE_EMPRESA + " imagen");
116    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
117    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"](" ", experiencia_r1.DES_NOMBRE_EMPRESA, " | ", experiencia_r1.FECHA_INICIO, "-", experiencia_r1.FECHA_FIN, " ");
118    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
119    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", experiencia_r1.DES_NOMBRE_PUESTO, " ");
120    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
121    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", experiencia_r1.DES_PUESTO, " ");
122    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
123    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", experiencia_r1.TECNOLOGIAS);
124} }
125class ExperienciaComponent {
126    constructor(experienciaService, actRoute) {
127        this.experienciaService = experienciaService;
128        this.actRoute = actRoute;
129    }
130    ngOnInit() {
131        this.actRoute.params.subscribe((params) => {
132            const tipoExperiencia = params['tipoExperiencia'];
133            this.getExperienciaByTipo(tipoExperiencia);
134        });
135    }
136    // use to obtain experience by tipe of experience
137    getExperienciaByTipo(tipoExperiencia) {
138        switch (tipoExperiencia) {
139            case 'formal':
140                this.getExperieciaFormal();
141                break;
142            case 'asesorias':
143                break;
144            default:
145                break;
146        }
147    }
148    getExperieciaFormal() {
149        this.experienciaService
150            .getExperiencia()
151            .subscribe((res) => {
152            this.experiencias = res;
153        });
154    }
155    getAsesorias() {
156        this.experienciaService.getAsesorias().subscribe((res) => {
157            this.experiencias = res;
158        });
159    }
160}
161ExperienciaComponent.ɵfac = function ExperienciaComponent_Factory(t) { return new (t || ExperienciaComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_core_services_experiencia_experiencia_service__WEBPACK_IMPORTED_MODULE_1__["ExperienciaService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"])); };
162ExperienciaComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ExperienciaComponent, selectors: [["app-experiencia"]], decls: 3, vars: 1, consts: [[1, "container-fluid"], [1, "row", "p-0", "justify-content-center"], ["class", "card col-11 col-md-5 col-lg-4 col-xl-3 m-1 p-0", "style", "width: auto", 4, "ngFor", "ngForOf"], [1, "card", "col
162-11", "col-md-5", "col-lg-4", "col-xl-3", "m-1", "p-0", 2, "width", "auto"], [1, "card-header", "d-flex", "justify-content-center"], [1, "card-img-top", "m-0", "p-3", 2, "width", "90%", 3, "src", "alt"], [1, "card-body"], [1, "card-title"], [1, "card-text"], [1, "card-footer", "m-0", "p-0"], [1, "row", "col-12", "m-0", "p-0"], ["class", "col-auto m-0 mt-1 mb-1", "style", "width: 73px; height: auto", 3, "src", 4, "ngFor", "ngForOf"], [1, "col-auto", "m-0", "mt-1", "mb-1", 2, "width", "73px", "height", "auto", 3, "src"]], template: function ExperienciaComponent_Template(rf, ctx) { if (rf & 1) {
163        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
164        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
165        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ExperienciaComponent_div_2_Template, 13, 8, "div", 2);
166        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
167        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
168    } if (rf & 2) {
169        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
170        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.experiencias);
171    } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJleHBlcmllbmNpYS5jb21wb25lbnQuc2NzcyJ9 */"] });
172
173
174/***/ }),
175
176/***/ "xE2+":
177/*!******************************************************************!*\
178  !*** ./src/app/core/services/experiencia/experiencia.service.ts ***!
179  \******************************************************************/
180/*! exports provided: ExperienciaService */
181/***/ (function(module, __webpack_exports__, __webpack_require__) {
182
183"use strict";
184__webpack_require__.r(__webpack_exports__);
185/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExperienciaService", function() { return ExperienciaService; });
186/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
187/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "tk/3");
188
189
190class ExperienciaService {
191    constructor(http) {
192        this.http = http;
193    }
194    getExperiencia() {
195        return this.http.get('../../../../assets/data/experiencia-formal.json');
196    }
197    getAsesorias() {
198        return this.http.get('../../../../assets/data/experiencia-asesorias.json');
199    }
200}
201ExperienciaService.ɵfac = function ExperienciaService_Factory(t) { return new (t || ExperienciaService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"])); };
202ExperienciaService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: ExperienciaService, factory: ExperienciaService.ɵfac, providedIn: 'root' });
203
204
205/***/ })
206
207}]);
208//# sourceMappingURL=views-experiencia-experiencia-module-es2015.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.