@angular/platform-browser 15.1.0-next.3 → 15.1.0
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/index.d.ts +1 -1
- package/esm2020/animations/src/animation_builder.mjs +3 -3
- package/esm2020/animations/src/animation_renderer.mjs +3 -3
- package/esm2020/animations/src/module.mjs +8 -8
- package/esm2020/animations/src/providers.mjs +3 -3
- package/esm2020/src/browser/meta.mjs +3 -3
- package/esm2020/src/browser/title.mjs +3 -3
- package/esm2020/src/browser/transfer_state.mjs +7 -7
- package/esm2020/src/browser/xhr.mjs +3 -3
- package/esm2020/src/browser.mjs +4 -4
- package/esm2020/src/dom/dom_renderer.mjs +3 -3
- package/esm2020/src/dom/events/dom_events.mjs +3 -3
- package/esm2020/src/dom/events/event_manager.mjs +3 -3
- package/esm2020/src/dom/events/hammer_gestures.mjs +10 -10
- package/esm2020/src/dom/events/key_events.mjs +3 -3
- package/esm2020/src/dom/shared_styles_host.mjs +6 -6
- package/esm2020/src/security/dom_sanitization_service.mjs +6 -6
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/browser.mjs +12 -5
- package/esm2020/testing/src/mock_platform_location_flag.mjs +17 -0
- package/fesm2015/animations.mjs +25 -64
- package/fesm2015/animations.mjs.map +1 -1
- package/fesm2015/platform-browser.mjs +63 -229
- package/fesm2015/platform-browser.mjs.map +1 -1
- package/fesm2015/testing.mjs +23 -36
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/animations.mjs +25 -64
- package/fesm2020/animations.mjs.map +1 -1
- package/fesm2020/platform-browser.mjs +63 -229
- package/fesm2020/platform-browser.mjs.map +1 -1
- package/fesm2020/testing.mjs +23 -36
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +4 -4
- package/testing/index.d.ts +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v15.1.0
|
2
|
+
* @license Angular v15.1.0
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -9,13 +9,6 @@ export { ɵgetDOM } from '@angular/common';
|
|
9
9
|
import * as i0 from '@angular/core';
|
10
10
|
import { InjectionToken, ApplicationInitStatus, APP_INITIALIZER, Injector, ɵglobal, Injectable, Inject, ViewEncapsulation, APP_ID, RendererStyleFlags2, ɵinternalCreateApplication, ErrorHandler, ɵsetDocument, PLATFORM_ID, PLATFORM_INITIALIZER, createPlatformFactory, platformCore, ɵTESTABILITY_GETTER, ɵTESTABILITY, Testability, NgZone, TestabilityRegistry, ɵINJECTOR_SCOPE, RendererFactory2, ApplicationModule, NgModule, Optional, SkipSelf, ɵɵinject, ApplicationRef, inject, ɵConsole, forwardRef, ɵXSS_SECURITY_URL, SecurityContext, ɵallowSanitizationBypassAndThrow, ɵunwrapSafeValue, ɵ_sanitizeUrl, ɵ_sanitizeHtml, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl, Version } from '@angular/core';
|
11
11
|
|
12
|
-
/**
|
13
|
-
* @license
|
14
|
-
* Copyright Google LLC All Rights Reserved.
|
15
|
-
*
|
16
|
-
* Use of this source code is governed by an MIT-style license that can be
|
17
|
-
* found in the LICENSE file at https://angular.io/license
|
18
|
-
*/
|
19
12
|
/**
|
20
13
|
* Provides DOM operations in any browser environment.
|
21
14
|
*
|
@@ -29,13 +22,6 @@ class GenericBrowserDomAdapter extends ɵDomAdapter {
|
|
29
22
|
}
|
30
23
|
}
|
31
24
|
|
32
|
-
/**
|
33
|
-
* @license
|
34
|
-
* Copyright Google LLC All Rights Reserved.
|
35
|
-
*
|
36
|
-
* Use of this source code is governed by an MIT-style license that can be
|
37
|
-
* found in the LICENSE file at https://angular.io/license
|
38
|
-
*/
|
39
25
|
/**
|
40
26
|
* A `DomAdapter` powered by full browser DOM APIs.
|
41
27
|
*
|
@@ -120,13 +106,6 @@ function relativePath(url) {
|
|
120
106
|
return pathName.charAt(0) === '/' ? pathName : `/${pathName}`;
|
121
107
|
}
|
122
108
|
|
123
|
-
/**
|
124
|
-
* @license
|
125
|
-
* Copyright Google LLC All Rights Reserved.
|
126
|
-
*
|
127
|
-
* Use of this source code is governed by an MIT-style license that can be
|
128
|
-
* found in the LICENSE file at https://angular.io/license
|
129
|
-
*/
|
130
109
|
/**
|
131
110
|
* An id that identifies a particular application being bootstrapped, that should
|
132
111
|
* match across the client/server boundary.
|
@@ -154,13 +133,6 @@ const SERVER_TRANSITION_PROVIDERS = [
|
|
154
133
|
},
|
155
134
|
];
|
156
135
|
|
157
|
-
/**
|
158
|
-
* @license
|
159
|
-
* Copyright Google LLC All Rights Reserved.
|
160
|
-
*
|
161
|
-
* Use of this source code is governed by an MIT-style license that can be
|
162
|
-
* found in the LICENSE file at https://angular.io/license
|
163
|
-
*/
|
164
136
|
class BrowserGetTestability {
|
165
137
|
addToWindow(registry) {
|
166
138
|
ɵglobal['getAngularTestability'] = (elem, findInAncestors = true) => {
|
@@ -218,19 +190,12 @@ class BrowserXhr {
|
|
218
190
|
return new XMLHttpRequest();
|
219
191
|
}
|
220
192
|
}
|
221
|
-
BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
222
|
-
BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
223
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
193
|
+
BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
194
|
+
BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BrowserXhr });
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BrowserXhr, decorators: [{
|
224
196
|
type: Injectable
|
225
197
|
}] });
|
226
198
|
|
227
|
-
/**
|
228
|
-
* @license
|
229
|
-
* Copyright Google LLC All Rights Reserved.
|
230
|
-
*
|
231
|
-
* Use of this source code is governed by an MIT-style license that can be
|
232
|
-
* found in the LICENSE file at https://angular.io/license
|
233
|
-
*/
|
234
199
|
/**
|
235
200
|
* The injection token for the event-manager plug-in service.
|
236
201
|
*
|
@@ -303,9 +268,9 @@ class EventManager {
|
|
303
268
|
throw new Error(`No event manager plugin found for event ${eventName}`);
|
304
269
|
}
|
305
270
|
}
|
306
|
-
EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
307
|
-
EventManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
271
|
+
EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
272
|
+
EventManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: EventManager });
|
273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: EventManager, decorators: [{
|
309
274
|
type: Injectable
|
310
275
|
}], ctorParameters: function () {
|
311
276
|
return [{ type: undefined, decorators: [{
|
@@ -326,13 +291,6 @@ class EventManagerPlugin {
|
|
326
291
|
}
|
327
292
|
}
|
328
293
|
|
329
|
-
/**
|
330
|
-
* @license
|
331
|
-
* Copyright Google LLC All Rights Reserved.
|
332
|
-
*
|
333
|
-
* Use of this source code is governed by an MIT-style license that can be
|
334
|
-
* found in the LICENSE file at https://angular.io/license
|
335
|
-
*/
|
336
294
|
class SharedStylesHost {
|
337
295
|
constructor() {
|
338
296
|
/** @internal */
|
@@ -353,9 +311,9 @@ class SharedStylesHost {
|
|
353
311
|
return Array.from(this._stylesSet);
|
354
312
|
}
|
355
313
|
}
|
356
|
-
SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
357
|
-
SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
314
|
+
SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
315
|
+
SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: SharedStylesHost });
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: SharedStylesHost, decorators: [{
|
359
317
|
type: Injectable
|
360
318
|
}] });
|
361
319
|
class DomSharedStylesHost extends SharedStylesHost {
|
@@ -394,9 +352,9 @@ class DomSharedStylesHost extends SharedStylesHost {
|
|
394
352
|
this._hostNodes.forEach(styleNodes => styleNodes.forEach(removeStyle));
|
395
353
|
}
|
396
354
|
}
|
397
|
-
DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
398
|
-
DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
355
|
+
DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
356
|
+
DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomSharedStylesHost });
|
357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomSharedStylesHost, decorators: [{
|
400
358
|
type: Injectable
|
401
359
|
}], ctorParameters: function () {
|
402
360
|
return [{ type: undefined, decorators: [{
|
@@ -408,13 +366,6 @@ function removeStyle(styleNode) {
|
|
408
366
|
ɵgetDOM().remove(styleNode);
|
409
367
|
}
|
410
368
|
|
411
|
-
/**
|
412
|
-
* @license
|
413
|
-
* Copyright Google LLC All Rights Reserved.
|
414
|
-
*
|
415
|
-
* Use of this source code is governed by an MIT-style license that can be
|
416
|
-
* found in the LICENSE file at https://angular.io/license
|
417
|
-
*/
|
418
369
|
const NAMESPACE_URIS = {
|
419
370
|
'svg': 'http://www.w3.org/2000/svg',
|
420
371
|
'xhtml': 'http://www.w3.org/1999/xhtml',
|
@@ -498,9 +449,9 @@ class DomRendererFactory2 {
|
|
498
449
|
begin() { }
|
499
450
|
end() { }
|
500
451
|
}
|
501
|
-
DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
502
|
-
DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
503
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
452
|
+
DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: DomSharedStylesHost }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
453
|
+
DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomRendererFactory2 });
|
454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomRendererFactory2, decorators: [{
|
504
455
|
type: Injectable
|
505
456
|
}], ctorParameters: function () {
|
506
457
|
return [{ type: EventManager }, { type: DomSharedStylesHost }, { type: undefined, decorators: [{
|
@@ -699,13 +650,6 @@ class ShadowDomRenderer extends DefaultDomRenderer2 {
|
|
699
650
|
}
|
700
651
|
}
|
701
652
|
|
702
|
-
/**
|
703
|
-
* @license
|
704
|
-
* Copyright Google LLC All Rights Reserved.
|
705
|
-
*
|
706
|
-
* Use of this source code is governed by an MIT-style license that can be
|
707
|
-
* found in the LICENSE file at https://angular.io/license
|
708
|
-
*/
|
709
653
|
class DomEventsPlugin extends EventManagerPlugin {
|
710
654
|
constructor(doc) {
|
711
655
|
super(doc);
|
@@ -723,9 +667,9 @@ class DomEventsPlugin extends EventManagerPlugin {
|
|
723
667
|
return target.removeEventListener(eventName, callback);
|
724
668
|
}
|
725
669
|
}
|
726
|
-
DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
727
|
-
DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
728
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
670
|
+
DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
671
|
+
DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomEventsPlugin });
|
672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomEventsPlugin, decorators: [{
|
729
673
|
type: Injectable
|
730
674
|
}], ctorParameters: function () {
|
731
675
|
return [{ type: undefined, decorators: [{
|
@@ -734,13 +678,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
734
678
|
}] }];
|
735
679
|
} });
|
736
680
|
|
737
|
-
/**
|
738
|
-
* @license
|
739
|
-
* Copyright Google LLC All Rights Reserved.
|
740
|
-
*
|
741
|
-
* Use of this source code is governed by an MIT-style license that can be
|
742
|
-
* found in the LICENSE file at https://angular.io/license
|
743
|
-
*/
|
744
681
|
/**
|
745
682
|
* Defines supported modifiers for key events.
|
746
683
|
*/
|
@@ -911,9 +848,9 @@ class KeyEventsPlugin extends EventManagerPlugin {
|
|
911
848
|
}
|
912
849
|
}
|
913
850
|
}
|
914
|
-
KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
915
|
-
KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
851
|
+
KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
852
|
+
KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: KeyEventsPlugin });
|
853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: KeyEventsPlugin, decorators: [{
|
917
854
|
type: Injectable
|
918
855
|
}], ctorParameters: function () {
|
919
856
|
return [{ type: undefined, decorators: [{
|
@@ -922,13 +859,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
922
859
|
}] }];
|
923
860
|
} });
|
924
861
|
|
925
|
-
/**
|
926
|
-
* @license
|
927
|
-
* Copyright Google LLC All Rights Reserved.
|
928
|
-
*
|
929
|
-
* Use of this source code is governed by an MIT-style license that can be
|
930
|
-
* found in the LICENSE file at https://angular.io/license
|
931
|
-
*/
|
932
862
|
const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
|
933
863
|
/**
|
934
864
|
* Bootstraps an instance of an Angular application and renders a standalone component as the
|
@@ -1135,13 +1065,13 @@ class BrowserModule {
|
|
1135
1065
|
};
|
1136
1066
|
}
|
1137
1067
|
}
|
1138
|
-
BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
1139
|
-
BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0
|
1140
|
-
BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0
|
1068
|
+
BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
1069
|
+
BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
|
1070
|
+
BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BrowserModule, providers: [
|
1141
1071
|
...BROWSER_MODULE_PROVIDERS,
|
1142
1072
|
...TESTABILITY_PROVIDERS
|
1143
1073
|
], imports: [CommonModule, ApplicationModule] });
|
1144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
1074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BrowserModule, decorators: [{
|
1145
1075
|
type: NgModule,
|
1146
1076
|
args: [{
|
1147
1077
|
providers: [
|
@@ -1161,13 +1091,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
1161
1091
|
}] }];
|
1162
1092
|
} });
|
1163
1093
|
|
1164
|
-
/**
|
1165
|
-
* @license
|
1166
|
-
* Copyright Google LLC All Rights Reserved.
|
1167
|
-
*
|
1168
|
-
* Use of this source code is governed by an MIT-style license that can be
|
1169
|
-
* found in the LICENSE file at https://angular.io/license
|
1170
|
-
*/
|
1171
1094
|
/**
|
1172
1095
|
* Factory to create a `Meta` service instance for the current DOM document.
|
1173
1096
|
*/
|
@@ -1324,9 +1247,9 @@ class Meta {
|
|
1324
1247
|
return META_KEYS_MAP[prop] || prop;
|
1325
1248
|
}
|
1326
1249
|
}
|
1327
|
-
Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
1328
|
-
Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
1329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
1250
|
+
Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1251
|
+
Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
|
1252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: Meta, decorators: [{
|
1330
1253
|
type: Injectable,
|
1331
1254
|
args: [{ providedIn: 'root', useFactory: createMeta, deps: [] }]
|
1332
1255
|
}], ctorParameters: function () {
|
@@ -1342,13 +1265,6 @@ const META_KEYS_MAP = {
|
|
1342
1265
|
httpEquiv: 'http-equiv'
|
1343
1266
|
};
|
1344
1267
|
|
1345
|
-
/**
|
1346
|
-
* @license
|
1347
|
-
* Copyright Google LLC All Rights Reserved.
|
1348
|
-
*
|
1349
|
-
* Use of this source code is governed by an MIT-style license that can be
|
1350
|
-
* found in the LICENSE file at https://angular.io/license
|
1351
|
-
*/
|
1352
1268
|
/**
|
1353
1269
|
* Factory to create Title service.
|
1354
1270
|
*/
|
@@ -1383,9 +1299,9 @@ class Title {
|
|
1383
1299
|
this._doc.title = newTitle || '';
|
1384
1300
|
}
|
1385
1301
|
}
|
1386
|
-
Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
1387
|
-
Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
1388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
1302
|
+
Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1303
|
+
Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
|
1304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: Title, decorators: [{
|
1389
1305
|
type: Injectable,
|
1390
1306
|
args: [{ providedIn: 'root', useFactory: createTitle, deps: [] }]
|
1391
1307
|
}], ctorParameters: function () {
|
@@ -1395,13 +1311,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
1395
1311
|
}] }];
|
1396
1312
|
} });
|
1397
1313
|
|
1398
|
-
/**
|
1399
|
-
* @license
|
1400
|
-
* Copyright Google LLC All Rights Reserved.
|
1401
|
-
*
|
1402
|
-
* Use of this source code is governed by an MIT-style license that can be
|
1403
|
-
* found in the LICENSE file at https://angular.io/license
|
1404
|
-
*/
|
1405
1314
|
const CAMEL_CASE_REGEXP = /([A-Z])/g;
|
1406
1315
|
const DASH_CASE_REGEXP = /-([a-z])/g;
|
1407
1316
|
function camelCaseToDashCase(input) {
|
@@ -1428,22 +1337,8 @@ function exportNgVar(name, value) {
|
|
1428
1337
|
}
|
1429
1338
|
}
|
1430
1339
|
|
1431
|
-
/**
|
1432
|
-
* @license
|
1433
|
-
* Copyright Google LLC All Rights Reserved.
|
1434
|
-
*
|
1435
|
-
* Use of this source code is governed by an MIT-style license that can be
|
1436
|
-
* found in the LICENSE file at https://angular.io/license
|
1437
|
-
*/
|
1438
1340
|
const win = typeof window !== 'undefined' && window || {};
|
1439
1341
|
|
1440
|
-
/**
|
1441
|
-
* @license
|
1442
|
-
* Copyright Google LLC All Rights Reserved.
|
1443
|
-
*
|
1444
|
-
* Use of this source code is governed by an MIT-style license that can be
|
1445
|
-
* found in the LICENSE file at https://angular.io/license
|
1446
|
-
*/
|
1447
1342
|
class ChangeDetectionPerfRecord {
|
1448
1343
|
constructor(msPerTick, numTicks) {
|
1449
1344
|
this.msPerTick = msPerTick;
|
@@ -1504,13 +1399,6 @@ function performanceNow() {
|
|
1504
1399
|
new Date().getTime();
|
1505
1400
|
}
|
1506
1401
|
|
1507
|
-
/**
|
1508
|
-
* @license
|
1509
|
-
* Copyright Google LLC All Rights Reserved.
|
1510
|
-
*
|
1511
|
-
* Use of this source code is governed by an MIT-style license that can be
|
1512
|
-
* found in the LICENSE file at https://angular.io/license
|
1513
|
-
*/
|
1514
1402
|
const PROFILER_GLOBAL_NAME = 'profiler';
|
1515
1403
|
/**
|
1516
1404
|
* Enabled Angular debug tools that are accessible via your browser's
|
@@ -1538,13 +1426,6 @@ function disableDebugTools() {
|
|
1538
1426
|
exportNgVar(PROFILER_GLOBAL_NAME, null);
|
1539
1427
|
}
|
1540
1428
|
|
1541
|
-
/**
|
1542
|
-
* @license
|
1543
|
-
* Copyright Google LLC All Rights Reserved.
|
1544
|
-
*
|
1545
|
-
* Use of this source code is governed by an MIT-style license that can be
|
1546
|
-
* found in the LICENSE file at https://angular.io/license
|
1547
|
-
*/
|
1548
1429
|
function escapeHtml(text) {
|
1549
1430
|
const escapedText = {
|
1550
1431
|
'&': '&a;',
|
@@ -1656,15 +1537,15 @@ class TransferState {
|
|
1656
1537
|
return JSON.stringify(this.store);
|
1657
1538
|
}
|
1658
1539
|
}
|
1659
|
-
TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
1660
|
-
TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
1540
|
+
TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1541
|
+
TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: TransferState, providedIn: 'root', useFactory: () => {
|
1661
1542
|
const doc = inject(DOCUMENT);
|
1662
1543
|
const appId = inject(APP_ID);
|
1663
1544
|
const state = new TransferState();
|
1664
1545
|
state.store = retrieveTransferredState(doc, appId);
|
1665
1546
|
return state;
|
1666
1547
|
} });
|
1667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
1548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: TransferState, decorators: [{
|
1668
1549
|
type: Injectable,
|
1669
1550
|
args: [{
|
1670
1551
|
providedIn: 'root',
|
@@ -1703,21 +1584,14 @@ function retrieveTransferredState(doc, appId) {
|
|
1703
1584
|
*/
|
1704
1585
|
class BrowserTransferStateModule {
|
1705
1586
|
}
|
1706
|
-
BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
1707
|
-
BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0
|
1708
|
-
BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0
|
1709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
1587
|
+
BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1588
|
+
BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: BrowserTransferStateModule });
|
1589
|
+
BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BrowserTransferStateModule });
|
1590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
|
1710
1591
|
type: NgModule,
|
1711
1592
|
args: [{}]
|
1712
1593
|
}] });
|
1713
1594
|
|
1714
|
-
/**
|
1715
|
-
* @license
|
1716
|
-
* Copyright Google LLC All Rights Reserved.
|
1717
|
-
*
|
1718
|
-
* Use of this source code is governed by an MIT-style license that can be
|
1719
|
-
* found in the LICENSE file at https://angular.io/license
|
1720
|
-
*/
|
1721
1595
|
/**
|
1722
1596
|
* Predicates for use with {@link DebugElement}'s query functions.
|
1723
1597
|
*
|
@@ -1771,13 +1645,6 @@ function elementMatches(n, selector) {
|
|
1771
1645
|
return false;
|
1772
1646
|
}
|
1773
1647
|
|
1774
|
-
/**
|
1775
|
-
* @license
|
1776
|
-
* Copyright Google LLC All Rights Reserved.
|
1777
|
-
*
|
1778
|
-
* Use of this source code is governed by an MIT-style license that can be
|
1779
|
-
* found in the LICENSE file at https://angular.io/license
|
1780
|
-
*/
|
1781
1648
|
/**
|
1782
1649
|
* Supported HammerJS recognizer event names.
|
1783
1650
|
*/
|
@@ -1880,9 +1747,9 @@ class HammerGestureConfig {
|
|
1880
1747
|
return mc;
|
1881
1748
|
}
|
1882
1749
|
}
|
1883
|
-
HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
1884
|
-
HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
1885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
1750
|
+
HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1751
|
+
HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HammerGestureConfig });
|
1752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HammerGestureConfig, decorators: [{
|
1886
1753
|
type: Injectable
|
1887
1754
|
}] });
|
1888
1755
|
/**
|
@@ -1978,9 +1845,9 @@ class HammerGesturesPlugin extends EventManagerPlugin {
|
|
1978
1845
|
return this._config.events.indexOf(eventName) > -1;
|
1979
1846
|
}
|
1980
1847
|
}
|
1981
|
-
HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
1982
|
-
HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
1983
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
1848
|
+
HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
1849
|
+
HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HammerGesturesPlugin });
|
1850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
|
1984
1851
|
type: Injectable
|
1985
1852
|
}], ctorParameters: function () {
|
1986
1853
|
return [{ type: undefined, decorators: [{
|
@@ -2009,9 +1876,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
2009
1876
|
*/
|
2010
1877
|
class HammerModule {
|
2011
1878
|
}
|
2012
|
-
HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
2013
|
-
HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0
|
2014
|
-
HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0
|
1879
|
+
HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1880
|
+
HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: HammerModule });
|
1881
|
+
HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HammerModule, providers: [
|
2015
1882
|
{
|
2016
1883
|
provide: EVENT_MANAGER_PLUGINS,
|
2017
1884
|
useClass: HammerGesturesPlugin,
|
@@ -2020,7 +1887,7 @@ HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2020
1887
|
},
|
2021
1888
|
{ provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
|
2022
1889
|
] });
|
2023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
1890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HammerModule, decorators: [{
|
2024
1891
|
type: NgModule,
|
2025
1892
|
args: [{
|
2026
1893
|
providers: [
|
@@ -2035,13 +1902,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
2035
1902
|
}]
|
2036
1903
|
}] });
|
2037
1904
|
|
2038
|
-
/**
|
2039
|
-
* @license
|
2040
|
-
* Copyright Google LLC All Rights Reserved.
|
2041
|
-
*
|
2042
|
-
* Use of this source code is governed by an MIT-style license that can be
|
2043
|
-
* found in the LICENSE file at https://angular.io/license
|
2044
|
-
*/
|
2045
1905
|
/**
|
2046
1906
|
* DomSanitizer helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing
|
2047
1907
|
* values to be safe to use in the different DOM contexts.
|
@@ -2075,9 +1935,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
2075
1935
|
*/
|
2076
1936
|
class DomSanitizer {
|
2077
1937
|
}
|
2078
|
-
DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
2079
|
-
DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
2080
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
1938
|
+
DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1939
|
+
DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
|
1940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomSanitizer, decorators: [{
|
2081
1941
|
type: Injectable,
|
2082
1942
|
args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
|
2083
1943
|
}] });
|
@@ -2140,9 +2000,9 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
2140
2000
|
return ɵbypassSanitizationTrustResourceUrl(value);
|
2141
2001
|
}
|
2142
2002
|
}
|
2143
|
-
DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0
|
2144
|
-
DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0
|
2145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0
|
2003
|
+
DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
2004
|
+
DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
|
2005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: DomSanitizerImpl, decorators: [{
|
2146
2006
|
type: Injectable,
|
2147
2007
|
args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]
|
2148
2008
|
}], ctorParameters: function () {
|
@@ -2153,49 +2013,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
2153
2013
|
} });
|
2154
2014
|
|
2155
2015
|
/**
|
2156
|
-
* @
|
2157
|
-
*
|
2158
|
-
*
|
2159
|
-
* Use of this source code is governed by an MIT-style license that can be
|
2160
|
-
* found in the LICENSE file at https://angular.io/license
|
2161
|
-
*/
|
2162
|
-
|
2163
|
-
/**
|
2164
|
-
* @license
|
2165
|
-
* Copyright Google LLC All Rights Reserved.
|
2166
|
-
*
|
2167
|
-
* Use of this source code is governed by an MIT-style license that can be
|
2168
|
-
* found in the LICENSE file at https://angular.io/license
|
2016
|
+
* @module
|
2017
|
+
* @description
|
2018
|
+
* Entry point for all public APIs of the platform-browser package.
|
2169
2019
|
*/
|
2170
2020
|
/**
|
2171
2021
|
* @publicApi
|
2172
2022
|
*/
|
2173
|
-
const VERSION = new Version('15.1.0
|
2023
|
+
const VERSION = new Version('15.1.0');
|
2174
2024
|
|
2175
2025
|
/**
|
2176
|
-
* @
|
2177
|
-
*
|
2178
|
-
*
|
2179
|
-
* Use of this source code is governed by an MIT-style license that can be
|
2180
|
-
* found in the LICENSE file at https://angular.io/license
|
2181
|
-
*/
|
2182
|
-
|
2183
|
-
/**
|
2184
|
-
* @license
|
2185
|
-
* Copyright Google LLC All Rights Reserved.
|
2186
|
-
*
|
2187
|
-
* Use of this source code is governed by an MIT-style license that can be
|
2188
|
-
* found in the LICENSE file at https://angular.io/license
|
2026
|
+
* @module
|
2027
|
+
* @description
|
2028
|
+
* Entry point for all public APIs of this package.
|
2189
2029
|
*/
|
2190
2030
|
// This file only reexports content of the `src` folder. Keep it that way.
|
2191
2031
|
|
2192
|
-
|
2193
|
-
* @license
|
2194
|
-
* Copyright Google LLC All Rights Reserved.
|
2195
|
-
*
|
2196
|
-
* Use of this source code is governed by an MIT-style license that can be
|
2197
|
-
* found in the LICENSE file at https://angular.io/license
|
2198
|
-
*/
|
2032
|
+
// This file is not used to build this module. It is only used during editing
|
2199
2033
|
|
2200
2034
|
/**
|
2201
2035
|
* Generated bundle index. Do not edit.
|