-
Notifications
You must be signed in to change notification settings - Fork 0
/
src_app_speakers_speakers_module_ts.js
276 lines (234 loc) · 15.1 KB
/
src_app_speakers_speakers_module_ts.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
"use strict";
(self["webpackChunkladybird"] = self["webpackChunkladybird"] || []).push([["src_app_speakers_speakers_module_ts"],{
/***/ 7552:
/*!*********************************************************!*\
!*** ./src/app/speakers/resolvers/speakers.resolver.ts ***!
\*********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ speakersDataResolver: () => (/* binding */ speakersDataResolver)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _assets_json_allSessionizeData_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../assets/json/allSessionizeData.json */ 5669);
function speakersDataResolver(route) {
const transferState = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TransferState);
const key = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.makeStateKey)("speakers");
const storedData = transferState.get(key, null);
if (storedData) {
return storedData;
} else {
const response = new Promise(resolve => resolve(_assets_json_allSessionizeData_json__WEBPACK_IMPORTED_MODULE_0__));
return response.then(data => {
transferState.set(key, data);
return data;
});
}
}
/***/ }),
/***/ 1679:
/*!******************************************************!*\
!*** ./src/app/speakers/routing/speakers.routing.ts ***!
\******************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ SpeakersRoutingModule: () => (/* binding */ SpeakersRoutingModule)
/* harmony export */ });
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 7947);
/* harmony import */ var _views_speakers_speakers_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../views/speakers/speakers.component */ 1585);
/* harmony import */ var _views_speakers_container_speakers_container_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../views/speakers-container/speakers-container.component */ 475);
/* harmony import */ var _resolvers_speakers_resolver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../resolvers/speakers.resolver */ 7552);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 1699);
const routes = [{
path: '',
component: _views_speakers_container_speakers_container_component__WEBPACK_IMPORTED_MODULE_1__.SpeakersContainerComponent,
children: [{
path: '',
pathMatch: 'full',
component: _views_speakers_speakers_component__WEBPACK_IMPORTED_MODULE_0__.SpeakersComponent,
resolve: {
speakers: _resolvers_speakers_resolver__WEBPACK_IMPORTED_MODULE_2__.speakersDataResolver
}
}]
}];
class SpeakersRoutingModule {
static #_ = this.ɵfac = function SpeakersRoutingModule_Factory(t) {
return new (t || SpeakersRoutingModule)();
};
static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({
type: SpeakersRoutingModule
});
static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({
imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule.forChild(routes), _angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule]
});
}
(function () {
(typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](SpeakersRoutingModule, {
imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule],
exports: [_angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule]
});
})();
/***/ }),
/***/ 2574:
/*!*********************************************!*\
!*** ./src/app/speakers/speakers.module.ts ***!
\*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ SpeakersModule: () => (/* binding */ SpeakersModule)
/* harmony export */ });
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var _routing_speakers_routing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./routing/speakers.routing */ 1679);
/* harmony import */ var _views_speakers_speakers_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./views/speakers/speakers.component */ 1585);
/* harmony import */ var _app_layout_layout_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @app/layout/layout.module */ 4470);
/* harmony import */ var _app_shared_shared_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @app/shared/shared.module */ 6208);
/* harmony import */ var _views_speakers_container_speakers_container_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./views/speakers-container/speakers-container.component */ 475);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 1699);
class SpeakersModule {
static #_ = this.ɵfac = function SpeakersModule_Factory(t) {
return new (t || SpeakersModule)();
};
static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineNgModule"]({
type: SpeakersModule
});
static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjector"]({
imports: [_routing_speakers_routing__WEBPACK_IMPORTED_MODULE_0__.SpeakersRoutingModule, _app_layout_layout_module__WEBPACK_IMPORTED_MODULE_2__.LayoutModule, _angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule, _app_shared_shared_module__WEBPACK_IMPORTED_MODULE_3__.SharedModule]
});
}
(function () {
(typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵsetNgModuleScope"](SpeakersModule, {
declarations: [_views_speakers_speakers_component__WEBPACK_IMPORTED_MODULE_1__.SpeakersComponent, _views_speakers_container_speakers_container_component__WEBPACK_IMPORTED_MODULE_4__.SpeakersContainerComponent],
imports: [_routing_speakers_routing__WEBPACK_IMPORTED_MODULE_0__.SpeakersRoutingModule, _app_layout_layout_module__WEBPACK_IMPORTED_MODULE_2__.LayoutModule, _angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule, _app_shared_shared_module__WEBPACK_IMPORTED_MODULE_3__.SharedModule]
});
})();
/***/ }),
/***/ 475:
/*!***********************************************************************************!*\
!*** ./src/app/speakers/views/speakers-container/speakers-container.component.ts ***!
\***********************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ SpeakersContainerComponent: () => (/* binding */ SpeakersContainerComponent)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ 7947);
class SpeakersContainerComponent {
constructor() {}
static #_ = this.ɵfac = function SpeakersContainerComponent_Factory(t) {
return new (t || SpeakersContainerComponent)();
};
static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
type: SpeakersContainerComponent,
selectors: [["app-speakers-container"]],
decls: 1,
vars: 0,
template: function SpeakersContainerComponent_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "router-outlet");
}
},
dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_1__.RouterOutlet],
encapsulation: 2
});
}
/***/ }),
/***/ 1585:
/*!***************************************************************!*\
!*** ./src/app/speakers/views/speakers/speakers.component.ts ***!
\***************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ SpeakersComponent: () => (/* binding */ SpeakersComponent)
/* harmony export */ });
/* harmony import */ var _home_runner_work_WebSite_WebSite_browser_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ 7947);
/* harmony import */ var _layout_components_speaker_speaker_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../layout/components/speaker/speaker.component */ 379);
/* harmony import */ var _layout_components_shell_shell_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../layout/components/shell/shell.component */ 1279);
/* harmony import */ var _layout_components_header_header_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../layout/components/header/header.component */ 8246);
/* harmony import */ var _layout_components_footer_footer_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../layout/components/footer/footer.component */ 7114);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 6575);
function SpeakersComponent_ng_template_6_ng_container_1_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementContainerStart"](0);
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](1, "li", 6);
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](2, "app-speaker", 7);
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementContainerEnd"]();
}
if (rf & 2) {
const speaker_r4 = ctx.$implicit;
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("speaker", speaker_r4);
}
}
function SpeakersComponent_ng_template_6_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "ul");
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](1, SpeakersComponent_ng_template_6_ng_container_1_Template, 3, 1, "ng-container", 5);
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
}
if (rf & 2) {
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngForOf", ctx_r0.speakers);
}
}
function SpeakersComponent_ng_template_7_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "p", 8);
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](1, " No Speakers found. ");
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
}
}
class SpeakersComponent {
constructor(activatedRoute) {
this.activatedRoute = activatedRoute;
this.speakers = [];
}
ngOnInit() {
var _this = this;
return (0,_home_runner_work_WebSite_WebSite_browser_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
const allSessionizeData = yield _this.activatedRoute.snapshot.data["speakers"];
_this.speakers = allSessionizeData.speakers;
})();
}
static #_ = this.ɵfac = function SpeakersComponent_Factory(t) {
return new (t || SpeakersComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_6__.ActivatedRoute));
};
static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({
type: SpeakersComponent,
selectors: [["app-speakers"]],
decls: 10,
vars: 2,
consts: [["pageTitle", "Speakers"], [1, "max-w-640", "mx-auto", "mb-60", "prose"], [1, "max-w-1024", "mx-auto"], [3, "ngIf", "ngIfElse"], ["noSpeakers", ""], [4, "ngFor", "ngForOf"], [1, "mb-60"], [3, "speaker"], [1, "text-center"]],
template: function SpeakersComponent_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "router-outlet")(1, "app-header");
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](2, "app-shell", 0)(3, "div", 1);
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](4, "p");
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](5, "div", 2);
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](6, SpeakersComponent_ng_template_6_Template, 2, 1, "ng-template", 3);
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](7, SpeakersComponent_ng_template_7_Template, 2, 0, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplateRefExtractor"]);
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](9, "app-footer");
}
if (rf & 2) {
const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵreference"](8);
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](6);
_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.speakers.length > 0)("ngIfElse", _r1);
}
},
dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_6__.RouterOutlet, _layout_components_speaker_speaker_component__WEBPACK_IMPORTED_MODULE_1__.SpeakerComponent, _layout_components_shell_shell_component__WEBPACK_IMPORTED_MODULE_2__.ShellComponent, _layout_components_header_header_component__WEBPACK_IMPORTED_MODULE_3__.HeaderComponent, _layout_components_footer_footer_component__WEBPACK_IMPORTED_MODULE_4__.FooterComponent, _angular_common__WEBPACK_IMPORTED_MODULE_7__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf],
encapsulation: 2
});
}
/***/ })
}]);
//# sourceMappingURL=src_app_speakers_speakers_module_ts.js.map