@angular/platform-browser 8.2.0 → 8.2.4
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/animations/animations.d.ts +1 -1
- package/animations.d.ts +1 -1
- package/bundles/platform-browser-animations.umd.js +121 -1
- package/bundles/platform-browser-animations.umd.js.map +1 -1
- package/bundles/platform-browser-animations.umd.min.js +1 -1
- package/bundles/platform-browser-animations.umd.min.js.map +1 -1
- package/bundles/platform-browser-testing.umd.js +249 -2
- package/bundles/platform-browser-testing.umd.js.map +1 -1
- package/bundles/platform-browser-testing.umd.min.js +2 -10
- package/bundles/platform-browser-testing.umd.min.js.map +1 -1
- package/bundles/platform-browser.umd.js +153 -5
- package/bundles/platform-browser.umd.js.map +1 -1
- package/bundles/platform-browser.umd.min.js +3 -11
- package/bundles/platform-browser.umd.min.js.map +1 -1
- package/esm2015/src/version.js +1 -1
- package/esm5/src/version.js +1 -1
- package/fesm2015/animations.js +109 -1
- package/fesm2015/animations.js.map +1 -1
- package/fesm2015/platform-browser.js +1244 -12
- package/fesm2015/platform-browser.js.map +1 -1
- package/fesm2015/testing.js +113 -4
- package/fesm2015/testing.js.map +1 -1
- package/fesm5/animations.js +1 -1
- package/fesm5/platform-browser.js +46 -7
- package/fesm5/platform-browser.js.map +1 -1
- package/fesm5/testing.js +87 -5
- package/fesm5/testing.js.map +1 -1
- package/package.json +3 -3
- package/platform-browser.d.ts +1 -1
- package/platform-browser.metadata.json +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
@@ -1,11 +1,11 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v8.2.
|
2
|
+
* @license Angular v8.2.4
|
3
3
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
6
6
|
|
7
|
-
import { ɵparseCookieValue, PlatformLocation, DOCUMENT, isPlatformServer,
|
8
|
-
import { ɵglobal, Injectable, Inject, InjectionToken, ApplicationInitStatus, APP_INITIALIZER, Injector, setTestabilityGetter,
|
7
|
+
import { ɵparseCookieValue, PlatformLocation, DOCUMENT, isPlatformServer, ɵPLATFORM_BROWSER_ID, CommonModule } from '@angular/common';
|
8
|
+
import { ɵglobal, Injectable, Inject, InjectionToken, ApplicationInitStatus, APP_INITIALIZER, Injector, setTestabilityGetter, ApplicationRef, NgZone, getDebugNode, NgProbeToken, Optional, ViewEncapsulation, APP_ID, RendererStyleFlags2, PLATFORM_ID, ɵConsole, SecurityContext, ɵ_sanitizeHtml, ɵ_sanitizeStyle, ɵ_sanitizeUrl, PLATFORM_INITIALIZER, Sanitizer, createPlatformFactory, platformCore, ErrorHandler, ɵAPP_ROOT, RendererFactory2, Testability, NgModule, ApplicationModule, SkipSelf, ɵɵinject, ɵɵdefineInjectable, Version } from '@angular/core';
|
9
9
|
|
10
10
|
/**
|
11
11
|
* @fileoverview added by tsickle
|
@@ -26,6 +26,13 @@ let _DOM = (/** @type {?} */ (null));
|
|
26
26
|
function getDOM() {
|
27
27
|
return _DOM;
|
28
28
|
}
|
29
|
+
/**
|
30
|
+
* @param {?} adapter
|
31
|
+
* @return {?}
|
32
|
+
*/
|
33
|
+
function setDOM(adapter) {
|
34
|
+
_DOM = adapter;
|
35
|
+
}
|
29
36
|
/**
|
30
37
|
* @param {?} adapter
|
31
38
|
* @return {?}
|
@@ -48,16 +55,770 @@ class DomAdapter {
|
|
48
55
|
this.resourceLoaderType = (/** @type {?} */ (null));
|
49
56
|
}
|
50
57
|
/**
|
51
|
-
* Maps attribute names to their corresponding property names for cases
|
52
|
-
* where attribute name doesn't match property name.
|
58
|
+
* Maps attribute names to their corresponding property names for cases
|
59
|
+
* where attribute name doesn't match property name.
|
60
|
+
* @return {?}
|
61
|
+
*/
|
62
|
+
get attrToPropMap() { return this._attrToPropMap; }
|
63
|
+
/**
|
64
|
+
* @param {?} value
|
65
|
+
* @return {?}
|
66
|
+
*/
|
67
|
+
set attrToPropMap(value) { this._attrToPropMap = value; }
|
68
|
+
}
|
69
|
+
if (false) {
|
70
|
+
/** @type {?} */
|
71
|
+
DomAdapter.prototype.resourceLoaderType;
|
72
|
+
/**
|
73
|
+
* \@internal
|
74
|
+
* @type {?}
|
75
|
+
*/
|
76
|
+
DomAdapter.prototype._attrToPropMap;
|
77
|
+
/**
|
78
|
+
* @abstract
|
79
|
+
* @param {?} element
|
80
|
+
* @param {?} name
|
81
|
+
* @return {?}
|
82
|
+
*/
|
83
|
+
DomAdapter.prototype.hasProperty = function (element, name) { };
|
84
|
+
/**
|
85
|
+
* @abstract
|
86
|
+
* @param {?} el
|
87
|
+
* @param {?} name
|
88
|
+
* @param {?} value
|
89
|
+
* @return {?}
|
90
|
+
*/
|
91
|
+
DomAdapter.prototype.setProperty = function (el, name, value) { };
|
92
|
+
/**
|
93
|
+
* @abstract
|
94
|
+
* @param {?} el
|
95
|
+
* @param {?} name
|
96
|
+
* @return {?}
|
97
|
+
*/
|
98
|
+
DomAdapter.prototype.getProperty = function (el, name) { };
|
99
|
+
/**
|
100
|
+
* @abstract
|
101
|
+
* @param {?} el
|
102
|
+
* @param {?} methodName
|
103
|
+
* @param {?} args
|
104
|
+
* @return {?}
|
105
|
+
*/
|
106
|
+
DomAdapter.prototype.invoke = function (el, methodName, args) { };
|
107
|
+
/**
|
108
|
+
* @abstract
|
109
|
+
* @param {?} error
|
110
|
+
* @return {?}
|
111
|
+
*/
|
112
|
+
DomAdapter.prototype.logError = function (error) { };
|
113
|
+
/**
|
114
|
+
* @abstract
|
115
|
+
* @param {?} error
|
116
|
+
* @return {?}
|
117
|
+
*/
|
118
|
+
DomAdapter.prototype.log = function (error) { };
|
119
|
+
/**
|
120
|
+
* @abstract
|
121
|
+
* @param {?} error
|
122
|
+
* @return {?}
|
123
|
+
*/
|
124
|
+
DomAdapter.prototype.logGroup = function (error) { };
|
125
|
+
/**
|
126
|
+
* @abstract
|
127
|
+
* @return {?}
|
128
|
+
*/
|
129
|
+
DomAdapter.prototype.logGroupEnd = function () { };
|
130
|
+
/**
|
131
|
+
* @abstract
|
132
|
+
* @param {?} nodeA
|
133
|
+
* @param {?} nodeB
|
134
|
+
* @return {?}
|
135
|
+
*/
|
136
|
+
DomAdapter.prototype.contains = function (nodeA, nodeB) { };
|
137
|
+
/**
|
138
|
+
* @abstract
|
139
|
+
* @param {?} templateHtml
|
140
|
+
* @return {?}
|
141
|
+
*/
|
142
|
+
DomAdapter.prototype.parse = function (templateHtml) { };
|
143
|
+
/**
|
144
|
+
* @abstract
|
145
|
+
* @param {?} el
|
146
|
+
* @param {?} selector
|
147
|
+
* @return {?}
|
148
|
+
*/
|
149
|
+
DomAdapter.prototype.querySelector = function (el, selector) { };
|
150
|
+
/**
|
151
|
+
* @abstract
|
152
|
+
* @param {?} el
|
153
|
+
* @param {?} selector
|
154
|
+
* @return {?}
|
155
|
+
*/
|
156
|
+
DomAdapter.prototype.querySelectorAll = function (el, selector) { };
|
157
|
+
/**
|
158
|
+
* @abstract
|
159
|
+
* @param {?} el
|
160
|
+
* @param {?} evt
|
161
|
+
* @param {?} listener
|
162
|
+
* @return {?}
|
163
|
+
*/
|
164
|
+
DomAdapter.prototype.on = function (el, evt, listener) { };
|
165
|
+
/**
|
166
|
+
* @abstract
|
167
|
+
* @param {?} el
|
168
|
+
* @param {?} evt
|
169
|
+
* @param {?} listener
|
170
|
+
* @return {?}
|
171
|
+
*/
|
172
|
+
DomAdapter.prototype.onAndCancel = function (el, evt, listener) { };
|
173
|
+
/**
|
174
|
+
* @abstract
|
175
|
+
* @param {?} el
|
176
|
+
* @param {?} evt
|
177
|
+
* @return {?}
|
178
|
+
*/
|
179
|
+
DomAdapter.prototype.dispatchEvent = function (el, evt) { };
|
180
|
+
/**
|
181
|
+
* @abstract
|
182
|
+
* @param {?} eventType
|
183
|
+
* @return {?}
|
184
|
+
*/
|
185
|
+
DomAdapter.prototype.createMouseEvent = function (eventType) { };
|
186
|
+
/**
|
187
|
+
* @abstract
|
188
|
+
* @param {?} eventType
|
189
|
+
* @return {?}
|
190
|
+
*/
|
191
|
+
DomAdapter.prototype.createEvent = function (eventType) { };
|
192
|
+
/**
|
193
|
+
* @abstract
|
194
|
+
* @param {?} evt
|
195
|
+
* @return {?}
|
196
|
+
*/
|
197
|
+
DomAdapter.prototype.preventDefault = function (evt) { };
|
198
|
+
/**
|
199
|
+
* @abstract
|
200
|
+
* @param {?} evt
|
201
|
+
* @return {?}
|
202
|
+
*/
|
203
|
+
DomAdapter.prototype.isPrevented = function (evt) { };
|
204
|
+
/**
|
205
|
+
* @abstract
|
206
|
+
* @param {?} el
|
207
|
+
* @return {?}
|
208
|
+
*/
|
209
|
+
DomAdapter.prototype.getInnerHTML = function (el) { };
|
210
|
+
/**
|
211
|
+
* Returns content if el is a <template> element, null otherwise.
|
212
|
+
* @abstract
|
213
|
+
* @param {?} el
|
214
|
+
* @return {?}
|
215
|
+
*/
|
216
|
+
DomAdapter.prototype.getTemplateContent = function (el) { };
|
217
|
+
/**
|
218
|
+
* @abstract
|
219
|
+
* @param {?} el
|
220
|
+
* @return {?}
|
221
|
+
*/
|
222
|
+
DomAdapter.prototype.getOuterHTML = function (el) { };
|
223
|
+
/**
|
224
|
+
* @abstract
|
225
|
+
* @param {?} node
|
226
|
+
* @return {?}
|
227
|
+
*/
|
228
|
+
DomAdapter.prototype.nodeName = function (node) { };
|
229
|
+
/**
|
230
|
+
* @abstract
|
231
|
+
* @param {?} node
|
232
|
+
* @return {?}
|
233
|
+
*/
|
234
|
+
DomAdapter.prototype.nodeValue = function (node) { };
|
235
|
+
/**
|
236
|
+
* @abstract
|
237
|
+
* @param {?} node
|
238
|
+
* @return {?}
|
239
|
+
*/
|
240
|
+
DomAdapter.prototype.type = function (node) { };
|
241
|
+
/**
|
242
|
+
* @abstract
|
243
|
+
* @param {?} node
|
244
|
+
* @return {?}
|
245
|
+
*/
|
246
|
+
DomAdapter.prototype.content = function (node) { };
|
247
|
+
/**
|
248
|
+
* @abstract
|
249
|
+
* @param {?} el
|
250
|
+
* @return {?}
|
251
|
+
*/
|
252
|
+
DomAdapter.prototype.firstChild = function (el) { };
|
253
|
+
/**
|
254
|
+
* @abstract
|
255
|
+
* @param {?} el
|
256
|
+
* @return {?}
|
257
|
+
*/
|
258
|
+
DomAdapter.prototype.nextSibling = function (el) { };
|
259
|
+
/**
|
260
|
+
* @abstract
|
261
|
+
* @param {?} el
|
262
|
+
* @return {?}
|
263
|
+
*/
|
264
|
+
DomAdapter.prototype.parentElement = function (el) { };
|
265
|
+
/**
|
266
|
+
* @abstract
|
267
|
+
* @param {?} el
|
268
|
+
* @return {?}
|
269
|
+
*/
|
270
|
+
DomAdapter.prototype.childNodes = function (el) { };
|
271
|
+
/**
|
272
|
+
* @abstract
|
273
|
+
* @param {?} el
|
274
|
+
* @return {?}
|
275
|
+
*/
|
276
|
+
DomAdapter.prototype.childNodesAsList = function (el) { };
|
277
|
+
/**
|
278
|
+
* @abstract
|
279
|
+
* @param {?} el
|
280
|
+
* @return {?}
|
281
|
+
*/
|
282
|
+
DomAdapter.prototype.clearNodes = function (el) { };
|
283
|
+
/**
|
284
|
+
* @abstract
|
285
|
+
* @param {?} el
|
286
|
+
* @param {?} node
|
287
|
+
* @return {?}
|
288
|
+
*/
|
289
|
+
DomAdapter.prototype.appendChild = function (el, node) { };
|
290
|
+
/**
|
291
|
+
* @abstract
|
292
|
+
* @param {?} el
|
293
|
+
* @param {?} node
|
294
|
+
* @return {?}
|
295
|
+
*/
|
296
|
+
DomAdapter.prototype.removeChild = function (el, node) { };
|
297
|
+
/**
|
298
|
+
* @abstract
|
299
|
+
* @param {?} el
|
300
|
+
* @param {?} newNode
|
301
|
+
* @param {?} oldNode
|
302
|
+
* @return {?}
|
303
|
+
*/
|
304
|
+
DomAdapter.prototype.replaceChild = function (el, newNode, oldNode) { };
|
305
|
+
/**
|
306
|
+
* @abstract
|
307
|
+
* @param {?} el
|
308
|
+
* @return {?}
|
309
|
+
*/
|
310
|
+
DomAdapter.prototype.remove = function (el) { };
|
311
|
+
/**
|
312
|
+
* @abstract
|
313
|
+
* @param {?} parent
|
314
|
+
* @param {?} ref
|
315
|
+
* @param {?} node
|
316
|
+
* @return {?}
|
317
|
+
*/
|
318
|
+
DomAdapter.prototype.insertBefore = function (parent, ref, node) { };
|
319
|
+
/**
|
320
|
+
* @abstract
|
321
|
+
* @param {?} parent
|
322
|
+
* @param {?} ref
|
323
|
+
* @param {?} nodes
|
324
|
+
* @return {?}
|
325
|
+
*/
|
326
|
+
DomAdapter.prototype.insertAllBefore = function (parent, ref, nodes) { };
|
327
|
+
/**
|
328
|
+
* @abstract
|
329
|
+
* @param {?} parent
|
330
|
+
* @param {?} el
|
331
|
+
* @param {?} node
|
332
|
+
* @return {?}
|
333
|
+
*/
|
334
|
+
DomAdapter.prototype.insertAfter = function (parent, el, node) { };
|
335
|
+
/**
|
336
|
+
* @abstract
|
337
|
+
* @param {?} el
|
338
|
+
* @param {?} value
|
339
|
+
* @return {?}
|
340
|
+
*/
|
341
|
+
DomAdapter.prototype.setInnerHTML = function (el, value) { };
|
342
|
+
/**
|
343
|
+
* @abstract
|
344
|
+
* @param {?} el
|
345
|
+
* @return {?}
|
346
|
+
*/
|
347
|
+
DomAdapter.prototype.getText = function (el) { };
|
348
|
+
/**
|
349
|
+
* @abstract
|
350
|
+
* @param {?} el
|
351
|
+
* @param {?} value
|
352
|
+
* @return {?}
|
353
|
+
*/
|
354
|
+
DomAdapter.prototype.setText = function (el, value) { };
|
355
|
+
/**
|
356
|
+
* @abstract
|
357
|
+
* @param {?} el
|
358
|
+
* @return {?}
|
359
|
+
*/
|
360
|
+
DomAdapter.prototype.getValue = function (el) { };
|
361
|
+
/**
|
362
|
+
* @abstract
|
363
|
+
* @param {?} el
|
364
|
+
* @param {?} value
|
365
|
+
* @return {?}
|
366
|
+
*/
|
367
|
+
DomAdapter.prototype.setValue = function (el, value) { };
|
368
|
+
/**
|
369
|
+
* @abstract
|
370
|
+
* @param {?} el
|
371
|
+
* @return {?}
|
372
|
+
*/
|
373
|
+
DomAdapter.prototype.getChecked = function (el) { };
|
374
|
+
/**
|
375
|
+
* @abstract
|
376
|
+
* @param {?} el
|
377
|
+
* @param {?} value
|
378
|
+
* @return {?}
|
379
|
+
*/
|
380
|
+
DomAdapter.prototype.setChecked = function (el, value) { };
|
381
|
+
/**
|
382
|
+
* @abstract
|
383
|
+
* @param {?} text
|
384
|
+
* @return {?}
|
385
|
+
*/
|
386
|
+
DomAdapter.prototype.createComment = function (text) { };
|
387
|
+
/**
|
388
|
+
* @abstract
|
389
|
+
* @param {?} html
|
390
|
+
* @return {?}
|
391
|
+
*/
|
392
|
+
DomAdapter.prototype.createTemplate = function (html) { };
|
393
|
+
/**
|
394
|
+
* @abstract
|
395
|
+
* @param {?} tagName
|
396
|
+
* @param {?=} doc
|
397
|
+
* @return {?}
|
398
|
+
*/
|
399
|
+
DomAdapter.prototype.createElement = function (tagName, doc) { };
|
400
|
+
/**
|
401
|
+
* @abstract
|
402
|
+
* @param {?} ns
|
403
|
+
* @param {?} tagName
|
404
|
+
* @param {?=} doc
|
405
|
+
* @return {?}
|
406
|
+
*/
|
407
|
+
DomAdapter.prototype.createElementNS = function (ns, tagName, doc) { };
|
408
|
+
/**
|
409
|
+
* @abstract
|
410
|
+
* @param {?} text
|
411
|
+
* @param {?=} doc
|
412
|
+
* @return {?}
|
413
|
+
*/
|
414
|
+
DomAdapter.prototype.createTextNode = function (text, doc) { };
|
415
|
+
/**
|
416
|
+
* @abstract
|
417
|
+
* @param {?} attrName
|
418
|
+
* @param {?} attrValue
|
419
|
+
* @param {?=} doc
|
420
|
+
* @return {?}
|
421
|
+
*/
|
422
|
+
DomAdapter.prototype.createScriptTag = function (attrName, attrValue, doc) { };
|
423
|
+
/**
|
424
|
+
* @abstract
|
425
|
+
* @param {?} css
|
426
|
+
* @param {?=} doc
|
427
|
+
* @return {?}
|
428
|
+
*/
|
429
|
+
DomAdapter.prototype.createStyleElement = function (css, doc) { };
|
430
|
+
/**
|
431
|
+
* @abstract
|
432
|
+
* @param {?} el
|
433
|
+
* @return {?}
|
434
|
+
*/
|
435
|
+
DomAdapter.prototype.createShadowRoot = function (el) { };
|
436
|
+
/**
|
437
|
+
* @abstract
|
438
|
+
* @param {?} el
|
439
|
+
* @return {?}
|
440
|
+
*/
|
441
|
+
DomAdapter.prototype.getShadowRoot = function (el) { };
|
442
|
+
/**
|
443
|
+
* @abstract
|
444
|
+
* @param {?} el
|
445
|
+
* @return {?}
|
446
|
+
*/
|
447
|
+
DomAdapter.prototype.getHost = function (el) { };
|
448
|
+
/**
|
449
|
+
* @abstract
|
450
|
+
* @param {?} el
|
451
|
+
* @return {?}
|
452
|
+
*/
|
453
|
+
DomAdapter.prototype.getDistributedNodes = function (el) { };
|
454
|
+
/**
|
455
|
+
* @abstract
|
456
|
+
* @param {?} node
|
457
|
+
* @return {?}
|
458
|
+
*/
|
459
|
+
DomAdapter.prototype.clone = function (node) { };
|
460
|
+
/**
|
461
|
+
* @abstract
|
462
|
+
* @param {?} element
|
463
|
+
* @param {?} name
|
464
|
+
* @return {?}
|
465
|
+
*/
|
466
|
+
DomAdapter.prototype.getElementsByClassName = function (element, name) { };
|
467
|
+
/**
|
468
|
+
* @abstract
|
469
|
+
* @param {?} element
|
470
|
+
* @param {?} name
|
471
|
+
* @return {?}
|
472
|
+
*/
|
473
|
+
DomAdapter.prototype.getElementsByTagName = function (element, name) { };
|
474
|
+
/**
|
475
|
+
* @abstract
|
476
|
+
* @param {?} element
|
477
|
+
* @return {?}
|
478
|
+
*/
|
479
|
+
DomAdapter.prototype.classList = function (element) { };
|
480
|
+
/**
|
481
|
+
* @abstract
|
482
|
+
* @param {?} element
|
483
|
+
* @param {?} className
|
484
|
+
* @return {?}
|
485
|
+
*/
|
486
|
+
DomAdapter.prototype.addClass = function (element, className) { };
|
487
|
+
/**
|
488
|
+
* @abstract
|
489
|
+
* @param {?} element
|
490
|
+
* @param {?} className
|
491
|
+
* @return {?}
|
492
|
+
*/
|
493
|
+
DomAdapter.prototype.removeClass = function (element, className) { };
|
494
|
+
/**
|
495
|
+
* @abstract
|
496
|
+
* @param {?} element
|
497
|
+
* @param {?} className
|
498
|
+
* @return {?}
|
499
|
+
*/
|
500
|
+
DomAdapter.prototype.hasClass = function (element, className) { };
|
501
|
+
/**
|
502
|
+
* @abstract
|
503
|
+
* @param {?} element
|
504
|
+
* @param {?} styleName
|
505
|
+
* @param {?} styleValue
|
506
|
+
* @return {?}
|
507
|
+
*/
|
508
|
+
DomAdapter.prototype.setStyle = function (element, styleName, styleValue) { };
|
509
|
+
/**
|
510
|
+
* @abstract
|
511
|
+
* @param {?} element
|
512
|
+
* @param {?} styleName
|
513
|
+
* @return {?}
|
514
|
+
*/
|
515
|
+
DomAdapter.prototype.removeStyle = function (element, styleName) { };
|
516
|
+
/**
|
517
|
+
* @abstract
|
518
|
+
* @param {?} element
|
519
|
+
* @param {?} styleName
|
520
|
+
* @return {?}
|
521
|
+
*/
|
522
|
+
DomAdapter.prototype.getStyle = function (element, styleName) { };
|
523
|
+
/**
|
524
|
+
* @abstract
|
525
|
+
* @param {?} element
|
526
|
+
* @param {?} styleName
|
527
|
+
* @param {?=} styleValue
|
528
|
+
* @return {?}
|
529
|
+
*/
|
530
|
+
DomAdapter.prototype.hasStyle = function (element, styleName, styleValue) { };
|
531
|
+
/**
|
532
|
+
* @abstract
|
533
|
+
* @param {?} element
|
534
|
+
* @return {?}
|
535
|
+
*/
|
536
|
+
DomAdapter.prototype.tagName = function (element) { };
|
537
|
+
/**
|
538
|
+
* @abstract
|
539
|
+
* @param {?} element
|
540
|
+
* @return {?}
|
541
|
+
*/
|
542
|
+
DomAdapter.prototype.attributeMap = function (element) { };
|
543
|
+
/**
|
544
|
+
* @abstract
|
545
|
+
* @param {?} element
|
546
|
+
* @param {?} attribute
|
547
|
+
* @return {?}
|
548
|
+
*/
|
549
|
+
DomAdapter.prototype.hasAttribute = function (element, attribute) { };
|
550
|
+
/**
|
551
|
+
* @abstract
|
552
|
+
* @param {?} element
|
553
|
+
* @param {?} ns
|
554
|
+
* @param {?} attribute
|
555
|
+
* @return {?}
|
556
|
+
*/
|
557
|
+
DomAdapter.prototype.hasAttributeNS = function (element, ns, attribute) { };
|
558
|
+
/**
|
559
|
+
* @abstract
|
560
|
+
* @param {?} element
|
561
|
+
* @param {?} attribute
|
562
|
+
* @return {?}
|
563
|
+
*/
|
564
|
+
DomAdapter.prototype.getAttribute = function (element, attribute) { };
|
565
|
+
/**
|
566
|
+
* @abstract
|
567
|
+
* @param {?} element
|
568
|
+
* @param {?} ns
|
569
|
+
* @param {?} attribute
|
570
|
+
* @return {?}
|
571
|
+
*/
|
572
|
+
DomAdapter.prototype.getAttributeNS = function (element, ns, attribute) { };
|
573
|
+
/**
|
574
|
+
* @abstract
|
575
|
+
* @param {?} element
|
576
|
+
* @param {?} name
|
577
|
+
* @param {?} value
|
578
|
+
* @return {?}
|
579
|
+
*/
|
580
|
+
DomAdapter.prototype.setAttribute = function (element, name, value) { };
|
581
|
+
/**
|
582
|
+
* @abstract
|
583
|
+
* @param {?} element
|
584
|
+
* @param {?} ns
|
585
|
+
* @param {?} name
|
586
|
+
* @param {?} value
|
587
|
+
* @return {?}
|
588
|
+
*/
|
589
|
+
DomAdapter.prototype.setAttributeNS = function (element, ns, name, value) { };
|
590
|
+
/**
|
591
|
+
* @abstract
|
592
|
+
* @param {?} element
|
593
|
+
* @param {?} attribute
|
594
|
+
* @return {?}
|
595
|
+
*/
|
596
|
+
DomAdapter.prototype.removeAttribute = function (element, attribute) { };
|
597
|
+
/**
|
598
|
+
* @abstract
|
599
|
+
* @param {?} element
|
600
|
+
* @param {?} ns
|
601
|
+
* @param {?} attribute
|
602
|
+
* @return {?}
|
603
|
+
*/
|
604
|
+
DomAdapter.prototype.removeAttributeNS = function (element, ns, attribute) { };
|
605
|
+
/**
|
606
|
+
* @abstract
|
607
|
+
* @param {?} el
|
608
|
+
* @return {?}
|
609
|
+
*/
|
610
|
+
DomAdapter.prototype.templateAwareRoot = function (el) { };
|
611
|
+
/**
|
612
|
+
* @abstract
|
613
|
+
* @return {?}
|
614
|
+
*/
|
615
|
+
DomAdapter.prototype.createHtmlDocument = function () { };
|
616
|
+
/**
|
617
|
+
* @abstract
|
618
|
+
* @return {?}
|
619
|
+
*/
|
620
|
+
DomAdapter.prototype.getDefaultDocument = function () { };
|
621
|
+
/**
|
622
|
+
* @abstract
|
623
|
+
* @param {?} el
|
624
|
+
* @return {?}
|
625
|
+
*/
|
626
|
+
DomAdapter.prototype.getBoundingClientRect = function (el) { };
|
627
|
+
/**
|
628
|
+
* @abstract
|
629
|
+
* @param {?} doc
|
630
|
+
* @return {?}
|
631
|
+
*/
|
632
|
+
DomAdapter.prototype.getTitle = function (doc) { };
|
633
|
+
/**
|
634
|
+
* @abstract
|
635
|
+
* @param {?} doc
|
636
|
+
* @param {?} newTitle
|
637
|
+
* @return {?}
|
638
|
+
*/
|
639
|
+
DomAdapter.prototype.setTitle = function (doc, newTitle) { };
|
640
|
+
/**
|
641
|
+
* @abstract
|
642
|
+
* @param {?} n
|
643
|
+
* @param {?} selector
|
644
|
+
* @return {?}
|
645
|
+
*/
|
646
|
+
DomAdapter.prototype.elementMatches = function (n, selector) { };
|
647
|
+
/**
|
648
|
+
* @abstract
|
649
|
+
* @param {?} el
|
650
|
+
* @return {?}
|
651
|
+
*/
|
652
|
+
DomAdapter.prototype.isTemplateElement = function (el) { };
|
653
|
+
/**
|
654
|
+
* @abstract
|
655
|
+
* @param {?} node
|
656
|
+
* @return {?}
|
657
|
+
*/
|
658
|
+
DomAdapter.prototype.isTextNode = function (node) { };
|
659
|
+
/**
|
660
|
+
* @abstract
|
661
|
+
* @param {?} node
|
662
|
+
* @return {?}
|
663
|
+
*/
|
664
|
+
DomAdapter.prototype.isCommentNode = function (node) { };
|
665
|
+
/**
|
666
|
+
* @abstract
|
667
|
+
* @param {?} node
|
668
|
+
* @return {?}
|
669
|
+
*/
|
670
|
+
DomAdapter.prototype.isElementNode = function (node) { };
|
671
|
+
/**
|
672
|
+
* @abstract
|
673
|
+
* @param {?} node
|
674
|
+
* @return {?}
|
675
|
+
*/
|
676
|
+
DomAdapter.prototype.hasShadowRoot = function (node) { };
|
677
|
+
/**
|
678
|
+
* @abstract
|
679
|
+
* @param {?} node
|
680
|
+
* @return {?}
|
681
|
+
*/
|
682
|
+
DomAdapter.prototype.isShadowRoot = function (node) { };
|
683
|
+
/**
|
684
|
+
* @abstract
|
685
|
+
* @param {?} node
|
686
|
+
* @return {?}
|
687
|
+
*/
|
688
|
+
DomAdapter.prototype.importIntoDoc = function (node) { };
|
689
|
+
/**
|
690
|
+
* @abstract
|
691
|
+
* @param {?} node
|
692
|
+
* @return {?}
|
693
|
+
*/
|
694
|
+
DomAdapter.prototype.adoptNode = function (node) { };
|
695
|
+
/**
|
696
|
+
* @abstract
|
697
|
+
* @param {?} element
|
698
|
+
* @return {?}
|
699
|
+
*/
|
700
|
+
DomAdapter.prototype.getHref = function (element) { };
|
701
|
+
/**
|
702
|
+
* @abstract
|
703
|
+
* @param {?} event
|
704
|
+
* @return {?}
|
705
|
+
*/
|
706
|
+
DomAdapter.prototype.getEventKey = function (event) { };
|
707
|
+
/**
|
708
|
+
* @abstract
|
709
|
+
* @param {?} element
|
710
|
+
* @param {?} baseUrl
|
711
|
+
* @param {?} href
|
712
|
+
* @return {?}
|
713
|
+
*/
|
714
|
+
DomAdapter.prototype.resolveAndSetHref = function (element, baseUrl, href) { };
|
715
|
+
/**
|
716
|
+
* @abstract
|
717
|
+
* @return {?}
|
718
|
+
*/
|
719
|
+
DomAdapter.prototype.supportsDOMEvents = function () { };
|
720
|
+
/**
|
721
|
+
* @abstract
|
722
|
+
* @return {?}
|
723
|
+
*/
|
724
|
+
DomAdapter.prototype.supportsNativeShadowDOM = function () { };
|
725
|
+
/**
|
726
|
+
* @abstract
|
727
|
+
* @param {?} doc
|
728
|
+
* @param {?} target
|
729
|
+
* @return {?}
|
730
|
+
*/
|
731
|
+
DomAdapter.prototype.getGlobalEventTarget = function (doc, target) { };
|
732
|
+
/**
|
733
|
+
* @abstract
|
734
|
+
* @return {?}
|
735
|
+
*/
|
736
|
+
DomAdapter.prototype.getHistory = function () { };
|
737
|
+
/**
|
738
|
+
* @abstract
|
739
|
+
* @return {?}
|
740
|
+
*/
|
741
|
+
DomAdapter.prototype.getLocation = function () { };
|
742
|
+
/**
|
743
|
+
* @abstract
|
744
|
+
* @param {?} doc
|
745
|
+
* @return {?}
|
746
|
+
*/
|
747
|
+
DomAdapter.prototype.getBaseHref = function (doc) { };
|
748
|
+
/**
|
749
|
+
* @abstract
|
750
|
+
* @return {?}
|
751
|
+
*/
|
752
|
+
DomAdapter.prototype.resetBaseElement = function () { };
|
753
|
+
/**
|
754
|
+
* @abstract
|
755
|
+
* @return {?}
|
756
|
+
*/
|
757
|
+
DomAdapter.prototype.getUserAgent = function () { };
|
758
|
+
/**
|
759
|
+
* @abstract
|
760
|
+
* @param {?} element
|
761
|
+
* @param {?} name
|
762
|
+
* @param {?} value
|
763
|
+
* @return {?}
|
764
|
+
*/
|
765
|
+
DomAdapter.prototype.setData = function (element, name, value) { };
|
766
|
+
/**
|
767
|
+
* @abstract
|
768
|
+
* @param {?} element
|
769
|
+
* @return {?}
|
770
|
+
*/
|
771
|
+
DomAdapter.prototype.getComputedStyle = function (element) { };
|
772
|
+
/**
|
773
|
+
* @abstract
|
774
|
+
* @param {?} element
|
775
|
+
* @param {?} name
|
776
|
+
* @return {?}
|
777
|
+
*/
|
778
|
+
DomAdapter.prototype.getData = function (element, name) { };
|
779
|
+
/**
|
780
|
+
* @abstract
|
781
|
+
* @return {?}
|
782
|
+
*/
|
783
|
+
DomAdapter.prototype.supportsWebAnimation = function () { };
|
784
|
+
/**
|
785
|
+
* @abstract
|
786
|
+
* @return {?}
|
787
|
+
*/
|
788
|
+
DomAdapter.prototype.performanceNow = function () { };
|
789
|
+
/**
|
790
|
+
* @abstract
|
791
|
+
* @return {?}
|
792
|
+
*/
|
793
|
+
DomAdapter.prototype.getAnimationPrefix = function () { };
|
794
|
+
/**
|
795
|
+
* @abstract
|
796
|
+
* @return {?}
|
797
|
+
*/
|
798
|
+
DomAdapter.prototype.getTransitionEnd = function () { };
|
799
|
+
/**
|
800
|
+
* @abstract
|
801
|
+
* @return {?}
|
802
|
+
*/
|
803
|
+
DomAdapter.prototype.supportsAnimation = function () { };
|
804
|
+
/**
|
805
|
+
* @abstract
|
53
806
|
* @return {?}
|
54
807
|
*/
|
55
|
-
|
808
|
+
DomAdapter.prototype.supportsCookies = function () { };
|
809
|
+
/**
|
810
|
+
* @abstract
|
811
|
+
* @param {?} name
|
812
|
+
* @return {?}
|
813
|
+
*/
|
814
|
+
DomAdapter.prototype.getCookie = function (name) { };
|
56
815
|
/**
|
816
|
+
* @abstract
|
817
|
+
* @param {?} name
|
57
818
|
* @param {?} value
|
58
819
|
* @return {?}
|
59
820
|
*/
|
60
|
-
|
821
|
+
DomAdapter.prototype.setCookie = function (name, value) { };
|
61
822
|
}
|
62
823
|
|
63
824
|
/**
|
@@ -153,6 +914,18 @@ class GenericBrowserDomAdapter extends DomAdapter {
|
|
153
914
|
return this._animationPrefix != null && this._transitionEnd != null;
|
154
915
|
}
|
155
916
|
}
|
917
|
+
if (false) {
|
918
|
+
/**
|
919
|
+
* @type {?}
|
920
|
+
* @private
|
921
|
+
*/
|
922
|
+
GenericBrowserDomAdapter.prototype._animationPrefix;
|
923
|
+
/**
|
924
|
+
* @type {?}
|
925
|
+
* @private
|
926
|
+
*/
|
927
|
+
GenericBrowserDomAdapter.prototype._transitionEnd;
|
928
|
+
}
|
156
929
|
|
157
930
|
/**
|
158
931
|
* @fileoverview added by tsickle
|
@@ -1230,6 +2003,20 @@ BrowserPlatformLocation.decorators = [
|
|
1230
2003
|
BrowserPlatformLocation.ctorParameters = () => [
|
1231
2004
|
{ type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
|
1232
2005
|
];
|
2006
|
+
if (false) {
|
2007
|
+
/** @type {?} */
|
2008
|
+
BrowserPlatformLocation.prototype.location;
|
2009
|
+
/**
|
2010
|
+
* @type {?}
|
2011
|
+
* @private
|
2012
|
+
*/
|
2013
|
+
BrowserPlatformLocation.prototype._history;
|
2014
|
+
/**
|
2015
|
+
* @type {?}
|
2016
|
+
* @private
|
2017
|
+
*/
|
2018
|
+
BrowserPlatformLocation.prototype._doc;
|
2019
|
+
}
|
1233
2020
|
|
1234
2021
|
/**
|
1235
2022
|
* @fileoverview added by tsickle
|
@@ -1386,6 +2173,32 @@ class BrowserGetTestability {
|
|
1386
2173
|
* @fileoverview added by tsickle
|
1387
2174
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1388
2175
|
*/
|
2176
|
+
/** @type {?} */
|
2177
|
+
const CAMEL_CASE_REGEXP = /([A-Z])/g;
|
2178
|
+
/** @type {?} */
|
2179
|
+
const DASH_CASE_REGEXP = /-([a-z])/g;
|
2180
|
+
/**
|
2181
|
+
* @param {?} input
|
2182
|
+
* @return {?}
|
2183
|
+
*/
|
2184
|
+
function camelCaseToDashCase(input) {
|
2185
|
+
return input.replace(CAMEL_CASE_REGEXP, (/**
|
2186
|
+
* @param {...?} m
|
2187
|
+
* @return {?}
|
2188
|
+
*/
|
2189
|
+
(...m) => '-' + m[1].toLowerCase()));
|
2190
|
+
}
|
2191
|
+
/**
|
2192
|
+
* @param {?} input
|
2193
|
+
* @return {?}
|
2194
|
+
*/
|
2195
|
+
function dashCaseToCamelCase(input) {
|
2196
|
+
return input.replace(DASH_CASE_REGEXP, (/**
|
2197
|
+
* @param {...?} m
|
2198
|
+
* @return {?}
|
2199
|
+
*/
|
2200
|
+
(...m) => m[1].toUpperCase()));
|
2201
|
+
}
|
1389
2202
|
/**
|
1390
2203
|
* Exports the value under a given `name` in the global property `ng`. For example `ng.probe` if
|
1391
2204
|
* `name` is `'probe'`.
|
@@ -1583,6 +2396,23 @@ EventManager.ctorParameters = () => [
|
|
1583
2396
|
{ type: Array, decorators: [{ type: Inject, args: [EVENT_MANAGER_PLUGINS,] }] },
|
1584
2397
|
{ type: NgZone }
|
1585
2398
|
];
|
2399
|
+
if (false) {
|
2400
|
+
/**
|
2401
|
+
* @type {?}
|
2402
|
+
* @private
|
2403
|
+
*/
|
2404
|
+
EventManager.prototype._plugins;
|
2405
|
+
/**
|
2406
|
+
* @type {?}
|
2407
|
+
* @private
|
2408
|
+
*/
|
2409
|
+
EventManager.prototype._eventNameToPlugin;
|
2410
|
+
/**
|
2411
|
+
* @type {?}
|
2412
|
+
* @private
|
2413
|
+
*/
|
2414
|
+
EventManager.prototype._zone;
|
2415
|
+
}
|
1586
2416
|
/**
|
1587
2417
|
* @abstract
|
1588
2418
|
*/
|
@@ -1608,6 +2438,29 @@ class EventManagerPlugin {
|
|
1608
2438
|
return this.addEventListener(target, eventName, handler);
|
1609
2439
|
}
|
1610
2440
|
}
|
2441
|
+
if (false) {
|
2442
|
+
/** @type {?} */
|
2443
|
+
EventManagerPlugin.prototype.manager;
|
2444
|
+
/**
|
2445
|
+
* @type {?}
|
2446
|
+
* @private
|
2447
|
+
*/
|
2448
|
+
EventManagerPlugin.prototype._doc;
|
2449
|
+
/**
|
2450
|
+
* @abstract
|
2451
|
+
* @param {?} eventName
|
2452
|
+
* @return {?}
|
2453
|
+
*/
|
2454
|
+
EventManagerPlugin.prototype.supports = function (eventName) { };
|
2455
|
+
/**
|
2456
|
+
* @abstract
|
2457
|
+
* @param {?} element
|
2458
|
+
* @param {?} eventName
|
2459
|
+
* @param {?} handler
|
2460
|
+
* @return {?}
|
2461
|
+
*/
|
2462
|
+
EventManagerPlugin.prototype.addEventListener = function (element, eventName, handler) { };
|
2463
|
+
}
|
1611
2464
|
|
1612
2465
|
/**
|
1613
2466
|
* @fileoverview added by tsickle
|
@@ -1652,6 +2505,14 @@ class SharedStylesHost {
|
|
1652
2505
|
SharedStylesHost.decorators = [
|
1653
2506
|
{ type: Injectable }
|
1654
2507
|
];
|
2508
|
+
if (false) {
|
2509
|
+
/**
|
2510
|
+
* \@internal
|
2511
|
+
* @type {?}
|
2512
|
+
* @protected
|
2513
|
+
*/
|
2514
|
+
SharedStylesHost.prototype._stylesSet;
|
2515
|
+
}
|
1655
2516
|
class DomSharedStylesHost extends SharedStylesHost {
|
1656
2517
|
/**
|
1657
2518
|
* @param {?} _doc
|
@@ -1721,6 +2582,23 @@ DomSharedStylesHost.decorators = [
|
|
1721
2582
|
DomSharedStylesHost.ctorParameters = () => [
|
1722
2583
|
{ type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
|
1723
2584
|
];
|
2585
|
+
if (false) {
|
2586
|
+
/**
|
2587
|
+
* @type {?}
|
2588
|
+
* @private
|
2589
|
+
*/
|
2590
|
+
DomSharedStylesHost.prototype._hostNodes;
|
2591
|
+
/**
|
2592
|
+
* @type {?}
|
2593
|
+
* @private
|
2594
|
+
*/
|
2595
|
+
DomSharedStylesHost.prototype._styleNodes;
|
2596
|
+
/**
|
2597
|
+
* @type {?}
|
2598
|
+
* @private
|
2599
|
+
*/
|
2600
|
+
DomSharedStylesHost.prototype._doc;
|
2601
|
+
}
|
1724
2602
|
|
1725
2603
|
/**
|
1726
2604
|
* @fileoverview added by tsickle
|
@@ -1860,6 +2738,33 @@ DomRendererFactory2.ctorParameters = () => [
|
|
1860
2738
|
{ type: DomSharedStylesHost },
|
1861
2739
|
{ type: String, decorators: [{ type: Inject, args: [APP_ID,] }] }
|
1862
2740
|
];
|
2741
|
+
if (false) {
|
2742
|
+
/**
|
2743
|
+
* @type {?}
|
2744
|
+
* @private
|
2745
|
+
*/
|
2746
|
+
DomRendererFactory2.prototype.rendererByCompId;
|
2747
|
+
/**
|
2748
|
+
* @type {?}
|
2749
|
+
* @private
|
2750
|
+
*/
|
2751
|
+
DomRendererFactory2.prototype.defaultRenderer;
|
2752
|
+
/**
|
2753
|
+
* @type {?}
|
2754
|
+
* @private
|
2755
|
+
*/
|
2756
|
+
DomRendererFactory2.prototype.eventManager;
|
2757
|
+
/**
|
2758
|
+
* @type {?}
|
2759
|
+
* @private
|
2760
|
+
*/
|
2761
|
+
DomRendererFactory2.prototype.sharedStylesHost;
|
2762
|
+
/**
|
2763
|
+
* @type {?}
|
2764
|
+
* @private
|
2765
|
+
*/
|
2766
|
+
DomRendererFactory2.prototype.appId;
|
2767
|
+
}
|
1863
2768
|
class DefaultDomRenderer2 {
|
1864
2769
|
/**
|
1865
2770
|
* @param {?} eventManager
|
@@ -2073,6 +2978,17 @@ class DefaultDomRenderer2 {
|
|
2073
2978
|
return (/** @type {?} */ ((/** @type {?} */ (this.eventManager.addEventListener(target, event, decoratePreventDefault(callback))))));
|
2074
2979
|
}
|
2075
2980
|
}
|
2981
|
+
if (false) {
|
2982
|
+
/** @type {?} */
|
2983
|
+
DefaultDomRenderer2.prototype.data;
|
2984
|
+
/** @type {?} */
|
2985
|
+
DefaultDomRenderer2.prototype.destroyNode;
|
2986
|
+
/**
|
2987
|
+
* @type {?}
|
2988
|
+
* @private
|
2989
|
+
*/
|
2990
|
+
DefaultDomRenderer2.prototype.eventManager;
|
2991
|
+
}
|
2076
2992
|
const ɵ0$2 = /**
|
2077
2993
|
* @return {?}
|
2078
2994
|
*/
|
@@ -2122,6 +3038,23 @@ class EmulatedEncapsulationDomRenderer2 extends DefaultDomRenderer2 {
|
|
2122
3038
|
return el;
|
2123
3039
|
}
|
2124
3040
|
}
|
3041
|
+
if (false) {
|
3042
|
+
/**
|
3043
|
+
* @type {?}
|
3044
|
+
* @private
|
3045
|
+
*/
|
3046
|
+
EmulatedEncapsulationDomRenderer2.prototype.contentAttr;
|
3047
|
+
/**
|
3048
|
+
* @type {?}
|
3049
|
+
* @private
|
3050
|
+
*/
|
3051
|
+
EmulatedEncapsulationDomRenderer2.prototype.hostAttr;
|
3052
|
+
/**
|
3053
|
+
* @type {?}
|
3054
|
+
* @private
|
3055
|
+
*/
|
3056
|
+
EmulatedEncapsulationDomRenderer2.prototype.component;
|
3057
|
+
}
|
2125
3058
|
class ShadowDomRenderer extends DefaultDomRenderer2 {
|
2126
3059
|
/**
|
2127
3060
|
* @param {?} eventManager
|
@@ -2193,6 +3126,28 @@ class ShadowDomRenderer extends DefaultDomRenderer2 {
|
|
2193
3126
|
return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(node)));
|
2194
3127
|
}
|
2195
3128
|
}
|
3129
|
+
if (false) {
|
3130
|
+
/**
|
3131
|
+
* @type {?}
|
3132
|
+
* @private
|
3133
|
+
*/
|
3134
|
+
ShadowDomRenderer.prototype.shadowRoot;
|
3135
|
+
/**
|
3136
|
+
* @type {?}
|
3137
|
+
* @private
|
3138
|
+
*/
|
3139
|
+
ShadowDomRenderer.prototype.sharedStylesHost;
|
3140
|
+
/**
|
3141
|
+
* @type {?}
|
3142
|
+
* @private
|
3143
|
+
*/
|
3144
|
+
ShadowDomRenderer.prototype.hostEl;
|
3145
|
+
/**
|
3146
|
+
* @type {?}
|
3147
|
+
* @private
|
3148
|
+
*/
|
3149
|
+
ShadowDomRenderer.prototype.component;
|
3150
|
+
}
|
2196
3151
|
|
2197
3152
|
/**
|
2198
3153
|
* @fileoverview added by tsickle
|
@@ -2265,6 +3220,17 @@ function (eventName) {
|
|
2265
3220
|
}
|
2266
3221
|
return blackListedMap.hasOwnProperty(eventName);
|
2267
3222
|
});
|
3223
|
+
const ɵ2 = isBlackListedEvent;
|
3224
|
+
/**
|
3225
|
+
* @record
|
3226
|
+
*/
|
3227
|
+
function TaskData() { }
|
3228
|
+
if (false) {
|
3229
|
+
/** @type {?} */
|
3230
|
+
TaskData.prototype.zone;
|
3231
|
+
/** @type {?} */
|
3232
|
+
TaskData.prototype.handler;
|
3233
|
+
}
|
2268
3234
|
// a global listener to handle all dom event,
|
2269
3235
|
// so we do not need to create a closure every time
|
2270
3236
|
/** @type {?} */
|
@@ -2321,6 +3287,7 @@ function (event) {
|
|
2321
3287
|
}
|
2322
3288
|
}
|
2323
3289
|
});
|
3290
|
+
const ɵ3 = globalListener;
|
2324
3291
|
class DomEventsPlugin extends EventManagerPlugin {
|
2325
3292
|
/**
|
2326
3293
|
* @param {?} doc
|
@@ -2379,6 +3346,21 @@ class DomEventsPlugin extends EventManagerPlugin {
|
|
2379
3346
|
* @return {?}
|
2380
3347
|
*/
|
2381
3348
|
addEventListener(element, eventName, handler) {
|
3349
|
+
/**
|
3350
|
+
* This code is about to add a listener to the DOM. If Zone.js is present, than
|
3351
|
+
* `addEventListener` has been patched. The patched code adds overhead in both
|
3352
|
+
* memory and speed (3x slower) than native. For this reason if we detect that
|
3353
|
+
* Zone.js is present we use a simple version of zone aware addEventListener instead.
|
3354
|
+
* The result is faster registration and the zone will be restored.
|
3355
|
+
* But ZoneSpec.onScheduleTask, ZoneSpec.onInvokeTask, ZoneSpec.onCancelTask
|
3356
|
+
* will not be invoked
|
3357
|
+
* We also do manual zone restoration in element.ts renderEventHandlerClosure method.
|
3358
|
+
*
|
3359
|
+
* NOTE: it is possible that the element is from different iframe, and so we
|
3360
|
+
* have to check before we execute the method.
|
3361
|
+
* @type {?}
|
3362
|
+
*/
|
3363
|
+
const self = this;
|
2382
3364
|
/** @type {?} */
|
2383
3365
|
const zoneJsLoaded = element[ADD_EVENT_LISTENER];
|
2384
3366
|
/** @type {?} */
|
@@ -2484,6 +3466,13 @@ DomEventsPlugin.ctorParameters = () => [
|
|
2484
3466
|
{ type: NgZone },
|
2485
3467
|
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [PLATFORM_ID,] }] }
|
2486
3468
|
];
|
3469
|
+
if (false) {
|
3470
|
+
/**
|
3471
|
+
* @type {?}
|
3472
|
+
* @private
|
3473
|
+
*/
|
3474
|
+
DomEventsPlugin.prototype.ngZone;
|
3475
|
+
}
|
2487
3476
|
|
2488
3477
|
/**
|
2489
3478
|
* @fileoverview added by tsickle
|
@@ -2545,6 +3534,28 @@ const HAMMER_GESTURE_CONFIG = new InjectionToken('HammerGestureConfig');
|
|
2545
3534
|
* @type {?}
|
2546
3535
|
*/
|
2547
3536
|
const HAMMER_LOADER = new InjectionToken('HammerLoader');
|
3537
|
+
/**
|
3538
|
+
* @record
|
3539
|
+
*/
|
3540
|
+
function HammerInstance() { }
|
3541
|
+
if (false) {
|
3542
|
+
/**
|
3543
|
+
* @param {?} eventName
|
3544
|
+
* @param {?=} callback
|
3545
|
+
* @return {?}
|
3546
|
+
*/
|
3547
|
+
HammerInstance.prototype.on = function (eventName, callback) { };
|
3548
|
+
/**
|
3549
|
+
* @param {?} eventName
|
3550
|
+
* @param {?=} callback
|
3551
|
+
* @return {?}
|
3552
|
+
*/
|
3553
|
+
HammerInstance.prototype.off = function (eventName, callback) { };
|
3554
|
+
/**
|
3555
|
+
* @return {?}
|
3556
|
+
*/
|
3557
|
+
HammerInstance.prototype.destroy = function () { };
|
3558
|
+
}
|
2548
3559
|
/**
|
2549
3560
|
* An injectable [HammerJS Manager](http://hammerjs.github.io/api/#hammer.manager)
|
2550
3561
|
* for gesture recognition. Configures specific event recognition.
|
@@ -2596,6 +3607,42 @@ class HammerGestureConfig {
|
|
2596
3607
|
HammerGestureConfig.decorators = [
|
2597
3608
|
{ type: Injectable }
|
2598
3609
|
];
|
3610
|
+
if (false) {
|
3611
|
+
/**
|
3612
|
+
* A set of supported event names for gestures to be used in Angular.
|
3613
|
+
* Angular supports all built-in recognizers, as listed in
|
3614
|
+
* [HammerJS documentation](http://hammerjs.github.io/).
|
3615
|
+
* @type {?}
|
3616
|
+
*/
|
3617
|
+
HammerGestureConfig.prototype.events;
|
3618
|
+
/**
|
3619
|
+
* Maps gesture event names to a set of configuration options
|
3620
|
+
* that specify overrides to the default values for specific properties.
|
3621
|
+
*
|
3622
|
+
* The key is a supported event name to be configured,
|
3623
|
+
* and the options object contains a set of properties, with override values
|
3624
|
+
* to be applied to the named recognizer event.
|
3625
|
+
* For example, to disable recognition of the rotate event, specify
|
3626
|
+
* `{"rotate": {"enable": false}}`.
|
3627
|
+
*
|
3628
|
+
* Properties that are not present take the HammerJS default values.
|
3629
|
+
* For information about which properties are supported for which events,
|
3630
|
+
* and their allowed and default values, see
|
3631
|
+
* [HammerJS documentation](http://hammerjs.github.io/).
|
3632
|
+
*
|
3633
|
+
* @type {?}
|
3634
|
+
*/
|
3635
|
+
HammerGestureConfig.prototype.overrides;
|
3636
|
+
/**
|
3637
|
+
* Properties whose default values can be overridden for a given event.
|
3638
|
+
* Different sets of properties apply to different events.
|
3639
|
+
* For information about which properties are supported for which events,
|
3640
|
+
* and their allowed and default values, see
|
3641
|
+
* [HammerJS documentation](http://hammerjs.github.io/).
|
3642
|
+
* @type {?}
|
3643
|
+
*/
|
3644
|
+
HammerGestureConfig.prototype.options;
|
3645
|
+
}
|
2599
3646
|
class HammerGesturesPlugin extends EventManagerPlugin {
|
2600
3647
|
/**
|
2601
3648
|
* @param {?} doc
|
@@ -2733,6 +3780,23 @@ HammerGesturesPlugin.ctorParameters = () => [
|
|
2733
3780
|
{ type: ɵConsole },
|
2734
3781
|
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [HAMMER_LOADER,] }] }
|
2735
3782
|
];
|
3783
|
+
if (false) {
|
3784
|
+
/**
|
3785
|
+
* @type {?}
|
3786
|
+
* @private
|
3787
|
+
*/
|
3788
|
+
HammerGesturesPlugin.prototype._config;
|
3789
|
+
/**
|
3790
|
+
* @type {?}
|
3791
|
+
* @private
|
3792
|
+
*/
|
3793
|
+
HammerGesturesPlugin.prototype.console;
|
3794
|
+
/**
|
3795
|
+
* @type {?}
|
3796
|
+
* @private
|
3797
|
+
*/
|
3798
|
+
HammerGesturesPlugin.prototype.loader;
|
3799
|
+
}
|
2736
3800
|
|
2737
3801
|
/**
|
2738
3802
|
* @fileoverview added by tsickle
|
@@ -2751,11 +3815,11 @@ const ɵ0$4 = /**
|
|
2751
3815
|
* @param {?} event
|
2752
3816
|
* @return {?}
|
2753
3817
|
*/
|
2754
|
-
(event) => event.ctrlKey, ɵ2 = /**
|
3818
|
+
(event) => event.ctrlKey, ɵ2$1 = /**
|
2755
3819
|
* @param {?} event
|
2756
3820
|
* @return {?}
|
2757
3821
|
*/
|
2758
|
-
(event) => event.metaKey, ɵ3 = /**
|
3822
|
+
(event) => event.metaKey, ɵ3$1 = /**
|
2759
3823
|
* @param {?} event
|
2760
3824
|
* @return {?}
|
2761
3825
|
*/
|
@@ -2767,8 +3831,8 @@ const ɵ0$4 = /**
|
|
2767
3831
|
const MODIFIER_KEY_GETTERS = {
|
2768
3832
|
'alt': (ɵ0$4),
|
2769
3833
|
'control': (ɵ1$1),
|
2770
|
-
'meta': (ɵ2),
|
2771
|
-
'shift': (ɵ3)
|
3834
|
+
'meta': (ɵ2$1),
|
3835
|
+
'shift': (ɵ3$1)
|
2772
3836
|
};
|
2773
3837
|
/**
|
2774
3838
|
* \@publicApi
|
@@ -2925,6 +3989,48 @@ KeyEventsPlugin.ctorParameters = () => [
|
|
2925
3989
|
* @fileoverview added by tsickle
|
2926
3990
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2927
3991
|
*/
|
3992
|
+
/**
|
3993
|
+
* Marker interface for a value that's safe to use in a particular context.
|
3994
|
+
*
|
3995
|
+
* \@publicApi
|
3996
|
+
* @record
|
3997
|
+
*/
|
3998
|
+
function SafeValue() { }
|
3999
|
+
/**
|
4000
|
+
* Marker interface for a value that's safe to use as HTML.
|
4001
|
+
*
|
4002
|
+
* \@publicApi
|
4003
|
+
* @record
|
4004
|
+
*/
|
4005
|
+
function SafeHtml() { }
|
4006
|
+
/**
|
4007
|
+
* Marker interface for a value that's safe to use as style (CSS).
|
4008
|
+
*
|
4009
|
+
* \@publicApi
|
4010
|
+
* @record
|
4011
|
+
*/
|
4012
|
+
function SafeStyle() { }
|
4013
|
+
/**
|
4014
|
+
* Marker interface for a value that's safe to use as JavaScript.
|
4015
|
+
*
|
4016
|
+
* \@publicApi
|
4017
|
+
* @record
|
4018
|
+
*/
|
4019
|
+
function SafeScript() { }
|
4020
|
+
/**
|
4021
|
+
* Marker interface for a value that's safe to use as a URL linking to a document.
|
4022
|
+
*
|
4023
|
+
* \@publicApi
|
4024
|
+
* @record
|
4025
|
+
*/
|
4026
|
+
function SafeUrl() { }
|
4027
|
+
/**
|
4028
|
+
* Marker interface for a value that's safe to use as a URL to load executable code from.
|
4029
|
+
*
|
4030
|
+
* \@publicApi
|
4031
|
+
* @record
|
4032
|
+
*/
|
4033
|
+
function SafeResourceUrl() { }
|
2928
4034
|
/**
|
2929
4035
|
* DomSanitizer helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing
|
2930
4036
|
* values to be safe to use in the different DOM contexts.
|
@@ -2959,6 +4065,75 @@ KeyEventsPlugin.ctorParameters = () => [
|
|
2959
4065
|
*/
|
2960
4066
|
class DomSanitizer {
|
2961
4067
|
}
|
4068
|
+
if (false) {
|
4069
|
+
/**
|
4070
|
+
* Sanitizes a value for use in the given SecurityContext.
|
4071
|
+
*
|
4072
|
+
* If value is trusted for the context, this method will unwrap the contained safe value and use
|
4073
|
+
* it directly. Otherwise, value will be sanitized to be safe in the given context, for example
|
4074
|
+
* by replacing URLs that have an unsafe protocol part (such as `javascript:`). The implementation
|
4075
|
+
* is responsible to make sure that the value can definitely be safely used in the given context.
|
4076
|
+
* @abstract
|
4077
|
+
* @param {?} context
|
4078
|
+
* @param {?} value
|
4079
|
+
* @return {?}
|
4080
|
+
*/
|
4081
|
+
DomSanitizer.prototype.sanitize = function (context, value) { };
|
4082
|
+
/**
|
4083
|
+
* Bypass security and trust the given value to be safe HTML. Only use this when the bound HTML
|
4084
|
+
* is unsafe (e.g. contains `<script>` tags) and the code should be executed. The sanitizer will
|
4085
|
+
* leave safe HTML intact, so in most situations this method should not be used.
|
4086
|
+
*
|
4087
|
+
* **WARNING:** calling this method with untrusted user data exposes your application to XSS
|
4088
|
+
* security risks!
|
4089
|
+
* @abstract
|
4090
|
+
* @param {?} value
|
4091
|
+
* @return {?}
|
4092
|
+
*/
|
4093
|
+
DomSanitizer.prototype.bypassSecurityTrustHtml = function (value) { };
|
4094
|
+
/**
|
4095
|
+
* Bypass security and trust the given value to be safe style value (CSS).
|
4096
|
+
*
|
4097
|
+
* **WARNING:** calling this method with untrusted user data exposes your application to XSS
|
4098
|
+
* security risks!
|
4099
|
+
* @abstract
|
4100
|
+
* @param {?} value
|
4101
|
+
* @return {?}
|
4102
|
+
*/
|
4103
|
+
DomSanitizer.prototype.bypassSecurityTrustStyle = function (value) { };
|
4104
|
+
/**
|
4105
|
+
* Bypass security and trust the given value to be safe JavaScript.
|
4106
|
+
*
|
4107
|
+
* **WARNING:** calling this method with untrusted user data exposes your application to XSS
|
4108
|
+
* security risks!
|
4109
|
+
* @abstract
|
4110
|
+
* @param {?} value
|
4111
|
+
* @return {?}
|
4112
|
+
*/
|
4113
|
+
DomSanitizer.prototype.bypassSecurityTrustScript = function (value) { };
|
4114
|
+
/**
|
4115
|
+
* Bypass security and trust the given value to be a safe style URL, i.e. a value that can be used
|
4116
|
+
* in hyperlinks or `<img src>`.
|
4117
|
+
*
|
4118
|
+
* **WARNING:** calling this method with untrusted user data exposes your application to XSS
|
4119
|
+
* security risks!
|
4120
|
+
* @abstract
|
4121
|
+
* @param {?} value
|
4122
|
+
* @return {?}
|
4123
|
+
*/
|
4124
|
+
DomSanitizer.prototype.bypassSecurityTrustUrl = function (value) { };
|
4125
|
+
/**
|
4126
|
+
* Bypass security and trust the given value to be a safe resource URL, i.e. a location that may
|
4127
|
+
* be used to load executable code from, like `<script src>`, or `<iframe src>`.
|
4128
|
+
*
|
4129
|
+
* **WARNING:** calling this method with untrusted user data exposes your application to XSS
|
4130
|
+
* security risks!
|
4131
|
+
* @abstract
|
4132
|
+
* @param {?} value
|
4133
|
+
* @return {?}
|
4134
|
+
*/
|
4135
|
+
DomSanitizer.prototype.bypassSecurityTrustResourceUrl = function (value) { };
|
4136
|
+
}
|
2962
4137
|
class DomSanitizerImpl extends DomSanitizer {
|
2963
4138
|
/**
|
2964
4139
|
* @param {?} _doc
|
@@ -3057,6 +4232,13 @@ DomSanitizerImpl.decorators = [
|
|
3057
4232
|
DomSanitizerImpl.ctorParameters = () => [
|
3058
4233
|
{ type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
|
3059
4234
|
];
|
4235
|
+
if (false) {
|
4236
|
+
/**
|
4237
|
+
* @type {?}
|
4238
|
+
* @private
|
4239
|
+
*/
|
4240
|
+
DomSanitizerImpl.prototype._doc;
|
4241
|
+
}
|
3060
4242
|
/**
|
3061
4243
|
* @abstract
|
3062
4244
|
*/
|
@@ -3076,6 +4258,15 @@ class SafeValueImpl {
|
|
3076
4258
|
` (see http://g.co/ng/security#xss)`;
|
3077
4259
|
}
|
3078
4260
|
}
|
4261
|
+
if (false) {
|
4262
|
+
/** @type {?} */
|
4263
|
+
SafeValueImpl.prototype.changingThisBreaksApplicationSecurity;
|
4264
|
+
/**
|
4265
|
+
* @abstract
|
4266
|
+
* @return {?}
|
4267
|
+
*/
|
4268
|
+
SafeValueImpl.prototype.getTypeName = function () { };
|
4269
|
+
}
|
3079
4270
|
class SafeHtmlImpl extends SafeValueImpl {
|
3080
4271
|
/**
|
3081
4272
|
* @return {?}
|
@@ -3406,6 +4597,18 @@ Meta.ctorParameters = () => [
|
|
3406
4597
|
{ type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
|
3407
4598
|
];
|
3408
4599
|
/** @nocollapse */ Meta.ngInjectableDef = ɵɵdefineInjectable({ factory: createMeta, token: Meta, providedIn: "root" });
|
4600
|
+
if (false) {
|
4601
|
+
/**
|
4602
|
+
* @type {?}
|
4603
|
+
* @private
|
4604
|
+
*/
|
4605
|
+
Meta.prototype._dom;
|
4606
|
+
/**
|
4607
|
+
* @type {?}
|
4608
|
+
* @private
|
4609
|
+
*/
|
4610
|
+
Meta.prototype._doc;
|
4611
|
+
}
|
3409
4612
|
|
3410
4613
|
/**
|
3411
4614
|
* @fileoverview added by tsickle
|
@@ -3455,6 +4658,13 @@ Title.ctorParameters = () => [
|
|
3455
4658
|
{ type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
|
3456
4659
|
];
|
3457
4660
|
/** @nocollapse */ Title.ngInjectableDef = ɵɵdefineInjectable({ factory: createTitle, token: Title, providedIn: "root" });
|
4661
|
+
if (false) {
|
4662
|
+
/**
|
4663
|
+
* @type {?}
|
4664
|
+
* @private
|
4665
|
+
*/
|
4666
|
+
Title.prototype._doc;
|
4667
|
+
}
|
3458
4668
|
|
3459
4669
|
/**
|
3460
4670
|
* @fileoverview added by tsickle
|
@@ -3484,6 +4694,12 @@ class ChangeDetectionPerfRecord {
|
|
3484
4694
|
this.numTicks = numTicks;
|
3485
4695
|
}
|
3486
4696
|
}
|
4697
|
+
if (false) {
|
4698
|
+
/** @type {?} */
|
4699
|
+
ChangeDetectionPerfRecord.prototype.msPerTick;
|
4700
|
+
/** @type {?} */
|
4701
|
+
ChangeDetectionPerfRecord.prototype.numTicks;
|
4702
|
+
}
|
3487
4703
|
/**
|
3488
4704
|
* Entry point for all Angular profiling-related debug tools. This object
|
3489
4705
|
* corresponds to the `ng.profiler` in the dev console.
|
@@ -3543,6 +4759,10 @@ class AngularProfiler {
|
|
3543
4759
|
return new ChangeDetectionPerfRecord(msPerTick, numTicks);
|
3544
4760
|
}
|
3545
4761
|
}
|
4762
|
+
if (false) {
|
4763
|
+
/** @type {?} */
|
4764
|
+
AngularProfiler.prototype.appRef;
|
4765
|
+
}
|
3546
4766
|
|
3547
4767
|
/**
|
3548
4768
|
* @fileoverview added by tsickle
|
@@ -3735,6 +4955,18 @@ class TransferState {
|
|
3735
4955
|
TransferState.decorators = [
|
3736
4956
|
{ type: Injectable }
|
3737
4957
|
];
|
4958
|
+
if (false) {
|
4959
|
+
/**
|
4960
|
+
* @type {?}
|
4961
|
+
* @private
|
4962
|
+
*/
|
4963
|
+
TransferState.prototype.store;
|
4964
|
+
/**
|
4965
|
+
* @type {?}
|
4966
|
+
* @private
|
4967
|
+
*/
|
4968
|
+
TransferState.prototype.onSerializeCallbacks;
|
4969
|
+
}
|
3738
4970
|
/**
|
3739
4971
|
* @param {?} doc
|
3740
4972
|
* @param {?} appId
|
@@ -3847,7 +5079,7 @@ class By {
|
|
3847
5079
|
* \@publicApi
|
3848
5080
|
* @type {?}
|
3849
5081
|
*/
|
3850
|
-
const VERSION = new Version('8.2.
|
5082
|
+
const VERSION = new Version('8.2.4');
|
3851
5083
|
|
3852
5084
|
/**
|
3853
5085
|
* @fileoverview added by tsickle
|